Log recording method and device

The invention provides a log recording method and device. The log recording method and device are used for improving log recording efficiency. The method specifically comprises the steps that one or more pieces of service data are obtained, and the generation time corresponding to each piece of serv...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: FAN ZHIJIA, LIU SHAOHUA, MU SHUAI, JI BO
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention provides a log recording method and device. The log recording method and device are used for improving log recording efficiency. The method specifically comprises the steps that one or more pieces of service data are obtained, and the generation time corresponding to each piece of service data is within a preset first time range; on the basis of similarities and differences of quintuple information carried by the one or more pieces of service data, first merging processing is carried out on the one or more pieces of service data, and at least one corresponding first merging log is obtained; wherein each first merging log carries a first field, and the first field is used for indicating the number of the business data merged to the corresponding first merging log in the first time range; the service type of each first merging log is one of the service types of the service data merged to the corresponding first merging log; and storing the at least one first merging log in a database. 本申请提供一种日志记录方