High-reliability file synchronization method based on log change

A file synchronization and log file technology, applied in hardware monitoring, instrumentation, computing, etc., can solve problems such as data file corruption and data inconsistency, and achieve the effect of solving file inconsistency, reducing impact, and reducing network load
CN102968486AActive Publication Date: 2013-03-13NARI TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
NARI TECH CO LTD
Publication Date
2013-03-13

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a high-reliability file synchronization method based on log changes. The method comprises the steps of: judging whether a file requested to be operated is locked after a customer request is received by a file server, and waiting for unlocking to perform relevant operations if the file is locked; recording the operational type and the operational file of every modification through the file server in a log format; performing real-time scanning of the log file through the file server, and synchronizing all files to other nodes when the number of operational logs reaches the threshold value; and when the number of operational logs is smaller than the threshold value, sequentially processing every log file according to a sequence of generation time of the log files. For every log file, additional files are synchronized to other nodes according to contents of the operational log, and the operational log is deleted if synchronization is successful; and otherwise, the operational log is maintained. The target node is locked when files are synchronized, and the problem of file inconsistency caused by sudden switching of a host and a spare unit during file synchronization can be solved effectively.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to a highly reliable file synchronization method based on a change log, which belongs to the field of power grid dispatching automation. Background technique

[0002] In today's power grid dispatching automation system, there are multiple applications. Each application is a combination of a data entity and a set of service programs that process this data entity. For example, the composition of SCADA applications includes: SCADA real-time library, data Service process, operation service process, remote signal telemetry and working condition processing service process, etc. In order to ensure the reliability of the system, each application runs on a different node. Generally, there is one host among the nodes, and the rest are (hot) standby machines. When an abnormality occurs in the application program of the host node, a master-standby switchover will occur, and one node in the standby machine will switch to the master according ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More