CN102255958A - Data synchronization method and system thereof - Google Patents
Data synchronization method and system thereof Download PDFInfo
- Publication number
- CN102255958A CN102255958A CN2011101750980A CN201110175098A CN102255958A CN 102255958 A CN102255958 A CN 102255958A CN 2011101750980 A CN2011101750980 A CN 2011101750980A CN 201110175098 A CN201110175098 A CN 201110175098A CN 102255958 A CN102255958 A CN 102255958A
- Authority
- CN
- China
- Prior art keywords
- pcie
- data
- switch
- described main
- management board
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention provides a data synchronization method and a system thereof. The method comprises the following steps: step S1, a main management board sends a data read instruction to a subordinate management board; step S2, based on the data read instruction, the subordinate management board reads data to be synchronized from the main management board through a PCIE channel between the subordinate management board and the main management board; step S3, the subordinate management board writes the read data in a storage apparatus of the subordinate management board. According to the data synchronization method and the system of the present invention, system resource is saved and data synchronization efficiency is raised.
Description
Technical field
The present invention relates to data processing technique, relate in particular to a kind of method of data synchronization and system.
Background technology
Redundancy backup is a kind of reliability security mechanism that is most widely used.For example in the rack system of high reliability request, comprise a main management plate and one from management board, main management plate and all have the ability of other ply-yarn drills of administration configuration from management board wherein is from the backup management plate of management board as the main management plate.When the main management plate breaks down, switch to operating state from management board, substitute the main management plate and carry out bookkeeping.So, in order to guarantee when switching to by the management carried out from management board other ply-yarn drills, should be consistent with the main management plate from the operating state of management board, need regularly upgrade the data of main management plate from management board.
Fig. 1 is the structural representation of master and slave management board in the prior art mid frame formula system.As shown in Figure 1, master and slave management board is respectively arranged with the master-slave communication system, realizes information synchronization by the master-slave communication system between the master and slave management board.In the work, main processor system is collected the process information of whole system, the main management plate will need to give from the packing data of management board synchronously to become the TCP/IP data, master-slave communication system transmissions by the main management plate is given the master-slave communication system from management board, receives the data of coming from the transmission of main management plate from processor system from the master-slave communication system and handles.
When adopting aforesaid way to carry out data sync, all need data in synchronization all must transmit through TCP/IP, and the processor consumes resources is big, and synchronous efficiency is low.
Summary of the invention
The invention provides method of data synchronization and system, economize on resources and high efficiency data sync with realization.
The invention provides a kind of method of data synchronization, comprising:
Step S1, the main management plate is to send the data read instruction from management board;
Step S2 describedly instructs based on described data read from management board, by described PCIE passage between management board and described main management plate, reads from described main management plate and to treat data in synchronization;
Step S3 describedly writes described storage device from management board from management board with the data that read.
According to a further aspect in the invention, also provide a kind of data synchronous system, comprise by the channel attached main management plate of PCIE with from management board, wherein:
Described main management plate is used for to send the data read instruction from management board;
Describedly be used for based on the instruction of described data read,, read from described main management plate and to treat data in synchronization by described PCIE passage between management board and described main management plate from management board; The data that read are write described storage device from management board.
According to method of data synchronization of the present invention and system, on the one hand, need not to pack the data to the TCP/IP message when carrying out transfer of data between the master and slave management board and transmit by the extra master-slave communication system that is provided with in the system; On the other hand, accept the instruction and the control of main management plate from management board, to treat directly that by the main management plate synchrodata writes the hard disk from management board, need not to carry out data write operation once more by processor system from management board, greatly save the resource of the processor system of master and slave management board, and improved the storage synchronous efficiency.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the structural representation of master and slave management board in the prior art mid frame formula system;
Fig. 2 is the flow chart of method of data synchronization of the present invention;
Fig. 3 is the master and slave management board system architecture diagram that is used to realize method of data synchronization of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Fig. 2 is the flow chart of method of data synchronization of the present invention.As shown in Figure 2, this method of data synchronization may further comprise the steps:
Step S1, the main management plate is to send the data read instruction from management board;
Step S2, describedly instruct based on described data read from management board, by described peripheral unit interconnection high speed bus (Peripheral Component Interconnect Express between management board and described main management plate, PCIE) passage reads from described main management plate and to treat data in synchronization;
Step S3 describedly writes described storage device from management board from management board with the data that read.
Particularly, Fig. 3 is the master and slave management board system architecture diagram that is used to realize method of data synchronization of the present invention.Below in conjunction with Fig. 3 above-mentioned steps S1~S3 is elaborated.
As shown in Figure 3, dispose main processor system, principal and subordinate's arbitration system, PCIE switching equipment (PCIE-SWITCH), PCIE-SATA controller and memory device (for example being hard disk) in the main management plate, from management board, dispose from processor system, principal and subordinate's arbitration system, PCIE-SWITCH, PCIE-SATA controller and memory device (for example being hard disk).Principal and subordinate's arbitration system of master and slave management board interconnects; The cochain mouth of the PCIE-SWITCH of main management plate (UP mouth) is connected with the ROOT mouth of main processor system, the following chain mouth (DP mouth) of the PCIE-SWITCH of main management plate is connected with UP mouth from the PCIE-SWITCH of management board, make from the PCIE-SWITCH of management board and the PCIE-SWITCH cascade of main management plate, promptly be configured with the equipment that is connected with each PCIE-SWITCH by the PCIE-SWITCH of main processor system to master and slave management board.
In the system that constitutes by master and slave management board shown in Figure 3, by main management board management whole system.Particularly, the main management plate adopts following flow process that storage is arrived local hard drive:
Main processor system is ready to store into the data of hard disk in internal memory, and sends the hard disk write order by the ROOT mouth to the PCIE-SWITCH of main management plate;
The UP mouth of the PCIE-SATA controller of main management plate is connected with the DP mouth of PCIE-SWITCH, receive the hard disk write order by PCIE-SWITCH after, begin to read data to be stored and be written to the hard disk of main management plate from the internal memory of main processor system.
The main management plate adopt following flow process with data sync to from the hard disk of management board:
Main processor system is ready to be synchronized to data from the management board hard disk (when carrying out master and slave management board stores synchronized in internal memory, these data are identical with the data that store local hard drive into), and send from the management board data read command to the PCIE-SWITCH of main management plate by the ROOT mouth; The transmit path of this data read instruction can be specially: the DP mouth of the UP mouth of the ROOT port of the processor system of main management plate, the PCIE-SWITCH of main management plate, the PCIE-SWITCH of main management plate and from the UP mouth of the PCIE-SWITCH of management board.
Should be sent to PCIE-SWITCH via the PCIE-SWITCH of main management plate and from the PCIE passage between the PCIE-SWITCH of management board from the management board data read command from management board;
Be connected with the DP mouth of PCIE-SWITCH from the UP mouth of the PCIE-SATA controller of management board, receive behind the management board data read command by PCIE-SWITCH, send data read request to main processor system, particularly, this data read request is sent to main processor system via the ROOT port from the processor system of the cochain mouth of the PCIE-SWITCH of the following chain mouth of the PCIE-SWITCH of the cochain mouth of the PCIE-SWITCH of management board, main management plate, main management plate and main management plate;
Main processor system is in response to this data read request, and the synchrodata for the treatment of in the internal memory is sent to PCIE-SATA controller from management board by following path: the PCIE-SWITCH of main processor system ROOT mouth → main management plate → from the PCIE-SWITCH of management board → from the PCIE-SATA controller of management board;
From the PCIE-SATA controller of management board receive treat synchrodata after, data are write local hard drive;
Main processor system confirms whether to finish write operation by inquiry from the PCIE-SATA controller of management board, and after confirming to finish process ends.So far, finished the data sync of master and slave management board.
Method of data synchronization according to the foregoing description, because the main management plate is to send the data read instruction from management board, so that wait to be synchronized to data the hard disk in response to this instruction by what the PCIE passage between the master and slave management board obtained that the main management plate issues from management board, on the one hand, need not to pack the data to the TCP/IP message by the extra master-slave communication system that is provided with in the system when carrying out transfer of data between the master and slave management board transmits, correspondingly, need not the TCP/IP message that receives is resolved from management board; On the other hand, accept the instruction and the control of main management plate from management board, to treat directly that by the main management plate synchrodata is sent to PCIE-SATA from management board via the PCIE-SWITCH from management board, and control will treat that from the PCIE-SATA of management board synchrodata writes the hard disk from management board; And in the prior art, master-slave communication system between the master and slave management board realizes treating the teletransmission of synchrodata according to predetermined communication protocol, by receiving the data message of predetermined format from the master-slave communication system of management board and the data message being resolved, the synchrodata for the treatment of that to resolve from processor system that the back obtains is sent to the PCIE-SATA of this plate via PCIE-SWITCH, to be written into by PCIE-SATA in this plate hard disk; As can be seen, in the data synchronization process of the above embodiment of the present invention, need not to carry out aforesaid operations from management board from processor system, promptly only can realize data sync between the master and slave management board by the hard disk write operation of main management plate, greatly save the resource of the processor system of master and slave management board, and improved the storage synchronous efficiency.
Further, in the method for data synchronization of the foregoing description, also comprise before the described step S1:
Step S0 sets up described main management plate and described described PCIE passage between management board.
Above-mentioned steps S0 can specifically comprise:
Step S01, described main management plate and described principal and subordinate's arbitration system from management board are known described main management plate and described master slave relation from management board;
Step S02, described main management plate and described principal and subordinate's arbitration system from management board are configured separately PCIE-SWITCH according to described master slave relation respectively, with at the PCIE-SWITCH of described main management plate with describedly set up the PCIE passage between the PCIE-SWITCH of management board, and described PCIE-SWITCH from management board can obtain described data read instruction and the described data in synchronization for the treatment of from described main management plate by described PCIE passage.
Particularly, in master and slave management board, a cochain control signal wire is set between principal and subordinate's arbitration system PCIE-SWITCH respectively, to realize port preparation by principal and subordinate's arbitration system control PCIE-SWITCH.
More specifically, when adopting above-mentioned steps, master and slave management board system as shown in Figure 3 adopts following flow process to dispose automatically:
(1) master and slave management board powers on, and system brings into operation;
(2) principal and subordinate's arbitration system of master and slave management board is confirmed the master slave relation of principal and subordinate's management board by arbitration;
(3) port arrangement of the described PCIE-SWITCH from management board that will be connected with the ROOT port from the processor system of management board by the cochain control signal wire from principal and subordinate's arbitration system of management board is the DP mouth, and the port arrangement that will connect with the DP mouth of the PCIE-SWITCH of main management plate is the UP mouth of PCIE-SWITCH, be about to from the PCIE-SWITCH cascade of the PCIE-SWITCH and the main management plate of management board, realization is controlled the PCIE-SWITCH from management board by main processor system, rather than by from processor system it being controlled;
(4) the main management plate begins to take over the management work of whole system, the port arrangement of the PCIE-SWITCH of the described main management plate that will be connected with the ROOT port of the processor system of described main management plate is the UP mouth, to realize the control of main processor system to the PCIE-SWITCH of main management plate; The main management plate disposes in main processor system from the relevant information of the PCIE-SWITCH of management board and PCIE-SATA control letter, makes from the hard disk of the management board backup storage system as the main management plate.
Method of data synchronization according to the foregoing description, owing to set up being connected between principal and subordinate arbitration system and the PCIE-SWITCH, can realize according to current master slave mode PCIE-SWITCH being configured, promptly set up the PCIE passage between the master and slave management board adaptively by principal and subordinate's arbitration system.
Further, the method for data synchronization at the foregoing description also comprises:
If described main management plate breaks down, then described main management plate and describedly carry out master slave relation from management board and switch, and rebulid between the two PCIE passage.
Particularly, former main management plate switches to new for management board, formerly switches to new main management plate from management board.The former port status that switches the PCIE-SWITCH of this plate from principal and subordinate's arbitration system of management board by the cochain control signal wire: the PCIE port that is connected with this sheet processor system is changed into the UP mouth, the port that links to each other with the PCIE-SWITCH of opposite end management board switches to the DP mouth, read the synchrodata of storing in the local hard drive, begin to take over whole system; Correspondingly, principal and subordinate's arbitration system of former main management plate switches the port status of the PCIE-SWITCH of this plate by the cochain control signal wire: the connectivity port that the port that is connected with this sheet processor system is switched to DP mouth and opposite end management board switches to the UP mouth.
Method of data synchronization according to the foregoing description, when the main management plate breaks down, automaticallying switch serves as reasons manages operation from management board, this moment, principal and subordinate's arbitration system can reconfigure PCIE-SWITCH automatically according to the master slave mode after changing, avoided after principal and subordinate's management board switches, because of the staff disposes the disabled defective of PCIE passage between untimely two plates that cause, improved the reliability of system.
In addition, in the method for data synchronization of the foregoing description, also comprise before the step S1:
It is hard disc data or internal storage data that the processor system of main management plate detects the described data in synchronization for the treatment of; Correspondingly, if hard disc data is then carried out described step S1~S3; If internal storage data, then by the master-slave communication system of described main management plate with described internal storage data according to the predefined communication protocol packing and be sent to described master-slave communication system from management board; Wherein, described main management plate and described master-slave communication system from management board are connected with separately processor system respectively.
Particularly, when the method for data synchronization that adopts the foregoing description between the master and slave management board carries out hard disc data when synchronous, also can lead to and the master-slave communication system is being set between the master and slave management board to realize main processor system and synchronous from the internal storage data between the processor system, this internal storage data for example is the process information of system, promptly will be needed synchronously to become the message (for example TCP/IP message) of predetermined format and to be sent to master-slave communication system from management board to the packing data from the processor system internal memory by the master-slave communication system of main management plate; The message that is received is resolved and the synchronous data to internal memory for the treatment of that parsing obtains are sent to from processor system from the master-slave communication system of management board, to be stored to internal memory from processor system.
According to the method for data synchronization of the foregoing description, can will treat synchronously to from the management board hard disk with treat synchronously to handle, thereby further improve data synchronization efficiency to data separation from the processor system internal memory of management board.
The present invention also provides a kind of data synchronous system.This data synchronous system comprises by the channel attached main management plate of PCIE with from management board, this main management plate and can adopt as shown in Figure 3 structure from management board, wherein:
Described main management plate is used for to send the data read instruction from management board;
Describedly be used for based on the instruction of described data read,, read from described main management plate and to treat data in synchronization by described PCIE passage between management board and described main management plate from management board; The data that read are write described storage device from management board.
Data synchronous system according to the foregoing description, because the main management plate is to send the data read instruction from management board, so that wait to be synchronized to data the hard disk in response to this instruction by what the PCIE passage between the master and slave management board obtained that the main management plate issues from management board, on the one hand, need not to pack the data to the TCP/IP message by the extra master-slave communication system that is provided with in the system when carrying out transfer of data between the master and slave management board transmits, correspondingly, need not the TCP/IP message that receives is resolved from management board; On the other hand, accept the instruction and the control of main management plate from management board, to treat directly that by the main management plate synchrodata is sent to PCIE-SATA from management board via the PCIE-SWITCH from management board, and control will treat that from the PCIE-SATA of management board synchrodata writes the hard disk from management board; And in the prior art, master-slave communication system between the master and slave management board realizes treating the teletransmission of synchrodata according to predetermined communication protocol, by receiving the data message of predetermined format from the master-slave communication system of management board and the data message being resolved, the synchrodata for the treatment of that to resolve from processor system that the back obtains is sent to the PCIE-SATA of this plate via PCIE-SWITCH, to be written into by PCIE-SATA in this plate hard disk; As can be seen, in the data synchronization process of the above embodiment of the present invention, need not to carry out aforesaid operations from management board from processor system, promptly only can realize data sync between the master and slave management board by the hard disk write operation of main management plate, greatly save the resource of the processor system of master and slave management board, and improved the storage synchronous efficiency.
Further, in the data synchronous system of the foregoing description, main management plate and describedly also be used to set up between the two described PCIE passage from management board.
Further, in the data synchronous system of the foregoing description, described main management plate and describedly comprise principal and subordinate's arbitration system and PCIE-SWITCH respectively from management board; Wherein, described main management plate and described principal and subordinate's arbitration system from management board are used to know described main management plate and described master slave relation from management board; And according to described master slave relation separately PCIE-SWITCH is configured respectively, with at the PCIE-SWITCH of described main management plate with describedly set up the PCIE passage between the PCIE-SWITCH of management board, and described PCIE-SWITCH from management board can obtain described data read instruction and the described data in synchronization for the treatment of from described main management plate by described PCIE passage.
More specifically, main management plate and also comprise processor system respectively from management board; Correspondingly, to be used for the port arrangement that the PCIE-SWITCH with described main management plate is connected with the ROOT port of the processor system of described main management plate be the cochain mouth of the PCIE-SWITCH of described main management plate to principal and subordinate's arbitration system of described main management plate; It is the following chain mouth of described PCIE-SWITCH from management board that described principal and subordinate's arbitration system from management board is used for the port arrangement that described PCIE-SWITCH from management board is connected with the ROOT port of described processor system from management board; And be the cochain mouth of described PCIE-SWITCH from management board with the described port arrangement that is connected with the following chain mouth of the PCIE-SWITCH of described main management plate from the PCIE-SWITCH of management board
According to the data synchronous system of the foregoing description, can realize according to current master slave mode PCIE-SWITCH being configured by principal and subordinate's arbitration system, promptly set up the PCIE passage between the master and slave management board adaptively.
Further, in the data synchronous system of the foregoing description, described main management plate also is used for being sent to described data read instruction described from management board via the cochain mouth of the following chain mouth of the PCIE-SWITCH of the cochain mouth of the PCIE-SWITCH of the ROOT port of the processor system of described main management plate, described main management plate, described main management plate and described PCIE-SWITCH from management board.
Further, in the data synchronous system of the foregoing description, describedly also be used for based on the instruction of described data read from management board, via the ROOT port of the processor system of the cochain mouth of the PCIE-SWITCH of the following chain mouth of the PCIE-SWITCH of the cochain mouth of described PCIE-SWITCH from management board, described main management plate, described main management plate and described main management plate, send data read request to the processor system of described main management plate;
The processor system of described main management plate also is used for sending described treat data in synchronization to described from management board based on described data read request.
Further, in the data synchronous system of the foregoing description, principal and subordinate's arbitration system of described main management plate and described principal and subordinate's arbitration system from management board also are used for carrying out the principal and subordinate and switch when described main management plate breaks down, and rebulid PCIE passage between the two.
Particularly, when former main management plate broke down, former main management plate switched to new for management board, formerly switched to new main management plate from management board.The former port status that switches the PCIE-SWITCH of this plate from principal and subordinate's arbitration system of management board by the cochain control signal wire: the PCIE port that is connected with this sheet processor system is changed into the UP mouth, the port that links to each other with the PCIE-SWITCH of opposite end management board switches to the DP mouth, read the synchrodata of storing in the local hard drive, begin to take over whole system; Correspondingly, principal and subordinate's arbitration system of former main management plate switches the port status of the PCIE-SWITCH of this plate by the cochain control signal wire: the connectivity port that the port that is connected with this sheet processor system is switched to DP mouth and opposite end management board switches to the UP mouth.
Data synchronous system according to the foregoing description, when the main management plate breaks down, automaticallying switch serves as reasons manages operation from management board, this moment, principal and subordinate's arbitration system can reconfigure PCIE-SWITCH automatically according to the master slave mode after changing, avoided after principal and subordinate's management board switches, because of the staff disposes the disabled defective of PCIE passage between untimely two plates that cause, improved the reliability of system.
In addition, in the data synchronous system of the foregoing description, the main management plate with also can comprise the master-slave communication system that is connected with the processor system of self respectively from management board, and can realize remote data transmission according to predetermined protocol between the master-slave communication system of two plates.At this moment, in this data synchronous system system, the main management plate also is used for detecting treats that data in synchronization is hard disc data or internal storage data; If hard disc data, it is synchronous then to adopt the method for data synchronization of the foregoing description to carry out hard disc data; If internal storage data, then by realizing main processor system and synchronous from the internal storage data between the processor system in the master-slave communication system that is provided with between the master and slave management board, this internal storage data for example is the process information of system, promptly will be needed synchronously to become the message (for example TCP/IP message) of predetermined format and to be sent to master-slave communication system from management board to the packing data from the processor system internal memory by the master-slave communication system of main management plate; The message that is received is resolved and the synchronous data to internal memory for the treatment of that parsing obtains are sent to from processor system from the master-slave communication system of management board, to be stored to internal memory from processor system.
According to the data synchronous system of the foregoing description, can will treat synchronously to from the management board hard disk with treat synchronously to handle, thereby further improve data synchronization efficiency to data separation from the processor system internal memory of management board.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.
Claims (16)
1. a method of data synchronization is characterized in that, comprising:
Step S1, the main management plate is to send the data read instruction from management board;
Step S2 describedly instructs based on described data read from management board, by described peripheral unit interconnection high speed bus PCIE passage between management board and described main management plate, reads from described main management plate and to treat data in synchronization;
Step S3 describedly writes described storage device from management board from management board with the data that read.
2. method of data synchronization according to claim 1 is characterized in that, also comprises before the described step S1:
Step S0 sets up described main management plate and described described PCIE passage between management board.
3. method of data synchronization according to claim 2 is characterized in that, described step S0 comprises:
Step S01, described main management plate and described principal and subordinate's arbitration system from management board are known described main management plate and described master slave relation from management board;
Step S02, described main management plate and described principal and subordinate's arbitration system from management board are configured separately PCIE switching equipment PCIE-SWITCH according to described master slave relation respectively, with at the PCIE-SWITCH of described main management plate with describedly set up the PCIE passage between the PCIE-SWITCH of management board, and described PCIE-SWITCH from management board can obtain described data read instruction and the described data in synchronization for the treatment of from described main management plate by described PCIE passage.
4. method of data synchronization according to claim 3 is characterized in that, described step S02 comprises:
Principal and subordinate's arbitration system of described main management plate is the cochain mouth of the PCIE-SWITCH of described main management plate with the port arrangement that the PCIE-SWITCH of described main management plate is connected with the ROOT port of the processor system of described main management plate;
Described principal and subordinate's arbitration system from management board is connected described PCIE-SWITCH from management board with the ROOT port of described processor system from management board port arrangement is the following chain mouth of described PCIE-SWITCH from management board; And be the cochain mouth of described PCIE-SWITCH from management board with the described port arrangement that is connected with the following chain mouth of the PCIE-SWITCH of described main management plate from the PCIE-SWITCH of management board.
5. method of data synchronization according to claim 4 is characterized in that, described step S1 comprises:
Described main management plate is sent to described data read instruction described from management board via the cochain mouth of the following chain mouth of the PCIE-SWITCH of the cochain mouth of the PCIE-SWITCH of the ROOT port of the processor system of described main management plate, described main management plate, described main management plate and described PCIE-SWITCH from management board.
6. method of data synchronization according to claim 4 is characterized in that, described step S2 comprises:
Describedly instruct based on described data read from management board, via the ROOT port of the processor system of the cochain mouth of the PCIE-SWITCH of the following chain mouth of the PCIE-SWITCH of the cochain mouth of described PCIE-SWITCH from management board, described main management plate, described main management plate and described main management plate, send data read request to the processor system of described main management plate;
The processor system of described main management plate sends described treat data in synchronization to described from management board based on described data read request.
7. method of data synchronization according to claim 1 is characterized in that, also comprises:
If described main management plate breaks down, then described main management plate and describedly carry out master slave relation from management board and switch, and rebulid between the two PCIE passage.
8. according to arbitrary described method of data synchronization in the claim 1 to 7, it is characterized in that, before described step S1, also comprise:
It is hard disc data or internal storage data that the processor system of described main management plate detects the described data in synchronization for the treatment of; Correspondingly, if hard disc data is then carried out described step S1~S3; If internal storage data, then by the master-slave communication system of described main management plate with described internal storage data according to the predefined communication protocol packing and be sent to described master-slave communication system from management board; Wherein, described main management plate and described master-slave communication system from management board are connected with separately processor system respectively.
9. a data synchronous system is characterized in that, comprises by the channel attached main management plate of PCIE with from management board, wherein:
Described main management plate is used for to send the data read instruction from management board;
Describedly be used for based on the instruction of described data read,, read from described main management plate and to treat data in synchronization by described PCIE passage between management board and described main management plate from management board; The data that read are write described storage device from management board.
10. data synchronous system according to claim 9 is characterized in that, described main management plate and describedly also be used to set up between the two described PCIE passage from management board.
11. data synchronous system according to claim 10 is characterized in that, described main management plate and describedly comprise principal and subordinate's arbitration system and PCIE-SWITCH respectively from management board; Wherein, described main management plate and described principal and subordinate's arbitration system from management board are used to know described main management plate and described master slave relation from management board; And according to described master slave relation separately PCIE-SWITCH is configured respectively, with at the PCIE-SWITCH of described main management plate with describedly set up the PCIE passage between the PCIE-SWITCH of management board, and described PCIE-SWITCH from management board can obtain described data read instruction and the described data in synchronization for the treatment of from described main management plate by described PCIE passage.
12. data synchronous system according to claim 11 is characterized in that, described main management plate and describedly also comprise processor system respectively from management board; Correspondingly, to be used for the port arrangement that the PCIE-SWITCH with described main management plate is connected with the ROOT port of the processor system of described main management plate be the cochain mouth of the PCIE-SWITCH of described main management plate to principal and subordinate's arbitration system of described main management plate; It is the following chain mouth of described PCIE-SWITCH from management board that described principal and subordinate's arbitration system from management board is used for the port arrangement that described PCIE-SWITCH from management board is connected with the ROOT port of described processor system from management board; And be the cochain mouth of described PCIE-SWITCH from management board with the described port arrangement that is connected with the following chain mouth of the PCIE-SWITCH of described main management plate from the PCIE-SWITCH of management board.
13. data synchronous system according to claim 12, it is characterized in that described main management plate also is used for being sent to described data read instruction described from management board via the cochain mouth of the following chain mouth of the PCIE-SWITCH of the cochain mouth of the PCIE-SWITCH of the ROOT port of the processor system of described main management plate, described main management plate, described main management plate and described PCIE-SWITCH from management board.
14. data synchronous system according to claim 12, it is characterized in that, describedly also be used for based on the instruction of described data read from management board, via the ROOT port of the processor system of the cochain mouth of the PCIE-SWITCH of the following chain mouth of the PCIE-SWITCH of the cochain mouth of described PCIE-SWITCH from management board, described main management plate, described main management plate and described main management plate, send data read request to the processor system of described main management plate;
The processor system of described main management plate also is used for sending described treat data in synchronization to described from management board based on described data read request.
15. data synchronous system according to claim 9, it is characterized in that, principal and subordinate's arbitration system of described main management plate and described principal and subordinate's arbitration system from management board also are used for carrying out master slave relation and switch when described main management plate breaks down, and rebulid PCIE passage between the two.
16. according to arbitrary described data synchronous system in the claim 9 to 15, it is characterized in that, also comprise described main management plate and the described master-slave communication system in management board of being separately positioned on; Correspondingly, also to be used to detect the described data in synchronization for the treatment of be hard disc data or internal storage data to described main management plate; If hard disc data, then described main management plate is to send the data read instruction from management board, and instruct based on described data read from management board by described, by described PCIE passage between management board and described main management plate, read from described main management plate and to treat data in synchronization and to write described storage device from management board; If internal storage data, then by the master-slave communication system of described main management plate with described internal storage data according to the predefined communication protocol packing and be sent to described master-slave communication system from management board; Wherein, described main management plate and described master-slave communication system from management board are connected with separately processor system respectively.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110175098.0A CN102255958B (en) | 2011-06-27 | 2011-06-27 | Data synchronization method and system thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110175098.0A CN102255958B (en) | 2011-06-27 | 2011-06-27 | Data synchronization method and system thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102255958A true CN102255958A (en) | 2011-11-23 |
CN102255958B CN102255958B (en) | 2014-11-26 |
Family
ID=44982948
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110175098.0A Expired - Fee Related CN102255958B (en) | 2011-06-27 | 2011-06-27 | Data synchronization method and system thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102255958B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102891849A (en) * | 2012-09-25 | 2013-01-23 | 北京星网锐捷网络技术有限公司 | Service data synchronization method, data recovery method, data recovery device and network device |
CN103793181A (en) * | 2012-11-05 | 2014-05-14 | 腾讯科技(深圳)有限公司 | Data synchronizing method and data synchronizing system of multilevel association storage architecture |
CN104660395A (en) * | 2013-11-25 | 2015-05-27 | 北京壹人壹本信息科技有限公司 | Data synchronization method, system and equipment |
CN106855834A (en) * | 2015-12-08 | 2017-06-16 | 华为技术有限公司 | A kind of data back up method, device and system |
US9697165B2 (en) | 2014-06-18 | 2017-07-04 | Inventec (Pudong) Technology Corporation | Server system for synchronizing memory data of motherboards |
CN108886495A (en) * | 2016-02-18 | 2018-11-23 | 瑞萨电子株式会社 | Message handling device |
CN111459522A (en) * | 2020-04-01 | 2020-07-28 | 珠海格力电器股份有限公司 | Air conditioner and communication module upgrading method thereof |
CN111881123A (en) * | 2020-07-22 | 2020-11-03 | 北京浪潮数据技术有限公司 | Data synchronization method and system between distributed systems |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050005062A1 (en) * | 2003-07-02 | 2005-01-06 | Ling-Yi Liu | Redundant external storage virtualization computer system |
CN101136773A (en) * | 2007-03-05 | 2008-03-05 | 中兴通讯股份有限公司 | Backup and recovery method of network element configuring data |
CN101977139A (en) * | 2010-07-28 | 2011-02-16 | 北京星网锐捷网络技术有限公司 | Route retransmission realization device and method, and switching equipment |
-
2011
- 2011-06-27 CN CN201110175098.0A patent/CN102255958B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050005062A1 (en) * | 2003-07-02 | 2005-01-06 | Ling-Yi Liu | Redundant external storage virtualization computer system |
CN101136773A (en) * | 2007-03-05 | 2008-03-05 | 中兴通讯股份有限公司 | Backup and recovery method of network element configuring data |
CN101977139A (en) * | 2010-07-28 | 2011-02-16 | 北京星网锐捷网络技术有限公司 | Route retransmission realization device and method, and switching equipment |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102891849B (en) * | 2012-09-25 | 2015-07-22 | 北京星网锐捷网络技术有限公司 | Service data synchronization method, data recovery method, data recovery device and network device |
CN102891849A (en) * | 2012-09-25 | 2013-01-23 | 北京星网锐捷网络技术有限公司 | Service data synchronization method, data recovery method, data recovery device and network device |
CN103793181A (en) * | 2012-11-05 | 2014-05-14 | 腾讯科技(深圳)有限公司 | Data synchronizing method and data synchronizing system of multilevel association storage architecture |
US9753939B2 (en) | 2012-11-05 | 2017-09-05 | Tencent Technology (Shenzhen) Company Limited | Data synchronization method and data synchronization system for multi-level associative storage architecture, and storage medium |
CN103793181B (en) * | 2012-11-05 | 2019-05-24 | 腾讯科技(深圳)有限公司 | A kind of method of data synchronization and data synchronous system of multilayer associated storage framework |
CN104660395B (en) * | 2013-11-25 | 2019-03-01 | 北京壹人壹本信息科技有限公司 | A kind of method of data synchronization, system and equipment |
CN104660395A (en) * | 2013-11-25 | 2015-05-27 | 北京壹人壹本信息科技有限公司 | Data synchronization method, system and equipment |
US9697165B2 (en) | 2014-06-18 | 2017-07-04 | Inventec (Pudong) Technology Corporation | Server system for synchronizing memory data of motherboards |
CN106855834A (en) * | 2015-12-08 | 2017-06-16 | 华为技术有限公司 | A kind of data back up method, device and system |
CN108886495A (en) * | 2016-02-18 | 2018-11-23 | 瑞萨电子株式会社 | Message handling device |
CN108886495B (en) * | 2016-02-18 | 2022-07-05 | 瑞萨电子株式会社 | Message processor |
CN115086109A (en) * | 2016-02-18 | 2022-09-20 | 瑞萨电子株式会社 | Message processor |
US11876879B2 (en) | 2016-02-18 | 2024-01-16 | Renesas Electronics Corporation | Message handler |
CN111459522A (en) * | 2020-04-01 | 2020-07-28 | 珠海格力电器股份有限公司 | Air conditioner and communication module upgrading method thereof |
CN111459522B (en) * | 2020-04-01 | 2021-09-14 | 珠海格力电器股份有限公司 | Air conditioner and communication module upgrading method thereof |
CN111881123A (en) * | 2020-07-22 | 2020-11-03 | 北京浪潮数据技术有限公司 | Data synchronization method and system between distributed systems |
CN111881123B (en) * | 2020-07-22 | 2022-04-22 | 北京浪潮数据技术有限公司 | Data synchronization method and system between distributed systems |
Also Published As
Publication number | Publication date |
---|---|
CN102255958B (en) | 2014-11-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102255958B (en) | Data synchronization method and system thereof | |
CN104734998A (en) | Network device and information transmission method | |
CN101917337B (en) | Device and method for interconnecting router cluster middle plates | |
CN104410510B (en) | Pass through the method, apparatus and system of interface card transmission information | |
CN102662803A (en) | Double-controlled double-active redundancy equipment | |
CN102752093B (en) | Based on the data processing method of distributed file system, equipment and system | |
WO2013120340A1 (en) | Port configuration method, device and frame-type communication apparatus for network interface module | |
CN111343019B (en) | Reconnection method, reconnection device and storage medium | |
CN107528706A (en) | A kind of equipment main and standby rearranging method and device based on link protocol | |
CN102724093A (en) | Advanced telecommunications computing architecture (ATCA) machine frame and intelligent platform management bus (IPMB) connection method thereof | |
JP2009246525A (en) | Forwarding device and packet forwarding device | |
CN105007307A (en) | Storage control method and system | |
CN101645915A (en) | Disk array host channel daughter card, on-line switching system and switching method thereof | |
CN1964285A (en) | A master control device with double CPU and realization method | |
CN103428114A (en) | ATCA (advanced telecom computing architecture) 10-gigabit switching board and system | |
CN104468168A (en) | Network recovery method, controller and switch | |
CN109412920B (en) | Reconfigurable design method and system for rapidIO bus | |
JP2010244457A (en) | Method and system for control of usb communication, and usb hub apparatus | |
CN109918328A (en) | A kind of USB Type C interface is realized with a low cost structure and implementation method | |
CN106656311A (en) | Data link backup apparatus and method | |
CN1964286B (en) | A master control device with double CPU | |
CN105763442A (en) | PON system and method avoiding interruption of LACP aggregation link in main-standby switching process | |
CN103885910B (en) | The method that many equipment carry out IIC communications under holotype | |
KR20110123168A (en) | Apparatus for duplexing human machine interface | |
CN104346310A (en) | Data exchange circuit and method of high-performance I2C slave equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20141126 Termination date: 20210627 |
|
CF01 | Termination of patent right due to non-payment of annual fee |