Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data synchronizing method and apparatus

A data synchronization and data technology, applied in the field of communication, can solve problems such as complex implementation, error-prone, and complex processing, and achieve an easy-to-implement effect

Active Publication Date: 2008-10-15
北京紫光通信科技集团有限公司
View PDF0 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] However, the above-mentioned data synchronization method combined with the sending confirmation mechanism and the timeout retransmission mechanism requires the main control board to maintain an independent timer and receiving status for each service board, and the processing is more complicated, especially in subcards with multiple service boards When the configuration changes at the same time, the main control board must be able to recognize that the received synchronization confirmation message corresponds to the change in the configuration information of the sub-card of the service board. Therefore, each synchronization process needs to be identified separately, and then combined with the number of service boards, Processing is very complex and error-prone
In addition, once the data stored on the main control board is accidentally destroyed by the above method, the main control board will synchronize the wrong data to the service board, which will cause problems in the data forwarding of the entire system, which can only be solved by restarting the system. Solve the problem
[0012] To sum up, the existing data synchronization methods are complex to implement and cannot self-heal when the data is accidentally damaged

Method used

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
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Data synchronizing method and apparatus
  • Data synchronizing method and apparatus
  • Data synchronizing method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0034] In the first embodiment, the preset condition in step 201 is that the preset cycle start timer expires, and the cycle start timer is a timer that will be automatically started again after a timeout. In addition, in the first embodiment, the main control board also sets a synchronization status flag, which is used to mark the synchronization status of the global synchronization data stored by itself. It should be noted that the setting of the synchronization state flag is not a necessary technical feature of the present invention to solve the technical problem, but in some specific cases, the system may use this information, for example, in the case of relatively strict system requirements, it is necessary to After the subcard configuration data of each service board is completely and correctly synchronized to each service board and the main control board, each service board can start to forward service data. At this time, each service board can know whether the subcard c...

Embodiment 2

[0042] The difference between the second embodiment and the first embodiment is that the preset conditions in step 201 include: the preset cycle start timer expires, and the main control board receives a verification failure message from the service board. That is, in addition to triggering the data verification process when the cycle start timer expires, the verification failure message sent by the service board will also start the data verification process. The verification failure message here includes the verification failure message sent by the service board itself when the subcard configuration data changes, and also includes the verification failure message sent by the service board when it receives the verification message sent by the main control board and finds that it is inconsistent. This scheme is suitable for occasions with high real-time requirements. The second embodiment includes the following technical key points:

[0043] 1. When the subcard configuration c...

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

PUM

No PUM Login to View More

Abstract

The invention discloses a data synchronization method which comprises the steps that when preset conditions are met at every time, a main control panel transmits check information to a business panel; the check information carries with global synchronization data stored in the main control panel; a comparison between the global synchronization data in the check information received by each business panel and global synchronization data stored in each business panel is made; when any discrepancy is found out, whether discrepant data are the synchronization data of the business panel is judged; if the discrepant data are the synchronization data of the business panel, check failure information carrying with the synchronization data of the business panel is transmitted to the main control panel; conversely, the global synchronization data stored in each business panel is updated according to the global synchronization data in the check information; when receiving the check failure information from the business panel, the main control panel updates the global synchronization data stored in the main control panel according to the global synchronization data in the check failure information. The invention also discloses a data synchronization device. The technical proposal of the invention is easy for realization and can recover automatically when being damaged by accidents.

Description

technical field [0001] The invention relates to the technical field of communication, in particular to a data synchronization method and device. Background technique [0002] With the development of network technology, network equipment has gradually developed from centralized processing to distributed processing. A network device with a distributed architecture generally consists of a main control board and multiple service boards. The main control board is used to complete the management of the entire network equipment and the processing of the network protocol, and the service board is used to complete the data forwarding processing of various services. [0003] In order to enable each service board to forward service data normally, it is necessary to synchronize data such as some basic port connection information of each service board to other service boards and the main control board. At the same time, in order to configure service ports flexibly, some high-end networ...

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

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L7/00H04L1/18H04L1/16H04L12/56
Inventor 卢胜文
Owner 北京紫光通信科技集团有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products