Data synchronization method of main application server, storage medium and electronic equipment
The invention discloses a data synchronization method of a main application server. The method comprises the following steps: analyzing an instruction sent by external equipment and obtaining a plurality of types of instruction data; each type of instruction data is to be synchronized to a target; g...
Gespeichert in:
Hauptverfasser: | , , , , , , |
---|---|
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 discloses a data synchronization method of a main application server. The method comprises the following steps: analyzing an instruction sent by external equipment and obtaining a plurality of types of instruction data; each type of instruction data is to be synchronized to a target; generating a plurality of log files according to each target; each log file comprises a generation timestamp of the file and a host name of a target; generating an index file according to all the log files corresponding to the same target; each index file comprises a host name of a target, current write file information and current synchronization information; obtaining a to-be-written log file according to the host name of the target and the current write file information so as to write corresponding instruction data into the to-be-written log file; obtaining a to-be-synchronized log file according to the host name of the target and the current synchronization information to read instruction data written in the to- |
---|