Time sequence processing method and device
The invention relates to a time sequence processing method and device. The method mainly comprises the following steps: establishing a current table and a historical table in a database; querying a record from the current table or cache according to the object ID of to-be-processed data, and determi...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention relates to a time sequence processing method and device. The method mainly comprises the following steps: establishing a current table and a historical table in a database; querying a record from the current table or cache according to the object ID of to-be-processed data, and determining the insertion position of the to-be-processed data according to the existence of the record, the redundant ID of the to-be-processed data and the updating time of the record; and grouping the data recorded in the history table according to object IDs and sorting the data according to updating time, and performing merging or updating processing by judging whether the redundant IDs recorded before and after are consistent or not. According to the method, the processing chains can be mutually decoupled, the throughput is improved, the time delay is reduced, all components in mass data processing can be mutually independent, data can still be concurrently processed even if network delay fluctuates, and each record |
---|