Specific embodiment
With reference to the accompanying drawing, the embodiment of the present invention is described, it is clear that described embodiment is only the present inventionThe embodiment of a part, instead of all the embodiments.Those of ordinary skill in the art it is found that with figure Computational frame differentiationWith the appearance of new opplication scene, technical solution provided in an embodiment of the present invention is equally applicable for similar technical problem.
A kind of method that the embodiment of the present invention uses data synchronous, the reception system in heterogeneous system pass through in integrated configurationLink information and data information is arranged in scheme, carries out multiplex roles with heterogeneous system and docks, and realizes its number between heterogeneous systemAccording to asynchronous transmission, at the same time, reception system can also parse data content included in reception data, automatic and preciselyRealize the real-time synchronization to all related data contents in ground.
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present applicationAttached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is onlyThe embodiment of the application a part, instead of all the embodiments.Based on the embodiment in the application, ordinary skill peopleMember's every other embodiment obtained without making creative work, all should belong to the model of the application protectionIt encloses.
The description and claims of this application and term " first " in above-mentioned attached drawing, " second " etc. are for distinguishingSimilar object, without being used to describe a particular order or precedence order.It should be understood that the data used in this way are in appropriate feelingsIt can be interchanged under condition, so that the embodiments described herein can be real with the sequence other than the content for illustrating or describing hereinIt applies.In addition, term " includes " and " having " and their any deformation, it is intended that cover it is non-exclusive include, for example, packetThe process, method, system, product or equipment for having contained a series of steps or units those of be not necessarily limited to be clearly listed step orUnit, but may include other steps being not clearly listed or intrinsic for these process, methods, product or equipment orUnit.
Fig. 1 is one embodiment schematic diagram of method of data synchronization in the embodiment of the present application.
It include the in the heterogeneous system as shown in Figure 1, method of data synchronization is applied to heterogeneous system in the embodiment of the present applicationOne equipment and the second equipment, comprising:
101, the first equipment receives the synchronizing information that the second equipment is sent by coffret.
In the present embodiment, when the second equipment needs that synchronizing information is synchronous with the first equipment progress data, the first equipmentThe synchronizing information that the second equipment is sent is received by coffret, when receiving the synchronizing information, the first equipment starts to executeCorresponding data are synchronous.First equipment and the second equipment carry out for the first time target data content it is synchronous when, the first equipment is beingAn integrated configuration scheme is created in system, which includes interface message and target identification information.First equipmentThe second equipment is connected according to the interface message, to set up the coffret of both sides;Target identification information is used for the first equipmentIt goes to obtain the target data content in the second equipment by the coffret.
It should be noted that being directed to identical target data content, the first equipment can only create an integrated configuration scheme,I.e. the integrated configuration scheme is when subsequent heterogeneous system needs to carry out the synchronization of same target basic data, without being set againIt sets.
102, the first equipment parses synchronizing information, to parse out the first instruction information that synchronizing information includes,Corresponding first data content of first instruction information.
In the present embodiment, the first equipment is after the synchronizing information for receiving the transmission of the second equipment by coffret, meetingSynchronizing information is parsed, to analyze the first instruction information, the first instruction information and the first data included in itContent is corresponding.
It should be noted that further include corresponding other some information datas in synchronizing information in the present embodiment,In practical application, specific data content may include different information, in some scenes, the data content in the present embodimentIt may correspond to some basic datas in concrete scene, specifically herein without limitation.
103, the first equipment judges the first data content with the presence or absence of in the first equipment according to the first instruction information.
In the present embodiment, the first equipment indicates information pair after parsing the first instruction information corresponding to synchronizing informationIt should may determine that the first data content whether there is in current system according to the instruction information, thus really in the first data contentFix the synchronous operation of a step data.
104, if it exists, the then synchronization of the first data content of the first equipment completion.
In the present embodiment, if first equipment judges that the first data content is present in the first equipment in step 103,First equipment is done directly the same of this first data content without obtaining the first data content from the second equipment againStep operation, so that the case where avoiding data redundancy in the first equipment, saves the memory source of the first equipment.
105, if it does not exist, then the first equipment judges whether the first instruction information belongs to target identification information.
In the present embodiment, when first equipment confirms that the first data content is not present with the first equipment in step 103, firstEquipment first has to judge whether the first instruction information belongs to the target identification information configured in integrated configuration scheme, to determine to beNo needs come first synchronization of data content, if the first instruction information belongs to target identification information, in first dataHold and need to be synchronized, if the first instruction information is not belonging to target identification information, without synchronizing first data content, ensure thatThe synchronous accuracy of data.
If 106, the first instruction information belongs to target identification information, the first equipment passes through biography according to the first instruction informationDefeated interface obtains the first data content in the second equipment, to complete the synchronization of the first data content.
In the present embodiment, when the first equipment confirmation the first instruction information belongs to the target identification configured in integrated configuration schemeWhen information, the first equipment is docked successful coffret when establishing according to the first instruction information by integrated configuration scheme and is obtainedThe first data content in second equipment, to complete to the same of synchronizing information and the relevant all data contents of the synchronizing informationStep realizes the synchronous accuracy of data.
In the embodiment of the present application, the first equipment in heterogeneous system by integrated configuration scheme be arranged link information andData information carries out multiplex roles with the second equipment and docks, so that the asynchronous transmission of its data between the second equipment is realized, with thisMeanwhile first equipment can also parse all data contents included in reception data, realized automatically and accurately to instituteThere is the real-time synchronization of related data content.
Fig. 2 is another embodiment schematic diagram of method of data synchronization in the embodiment of the present application, as shown in Fig. 2, the application is realIt applies method of data synchronization in example and is applied to heterogeneous system, include the first equipment and the second equipment in the heterogeneous system, comprising:
201, the first equipment receives the synchronizing information that second equipment is sent by coffret.
In the present embodiment, when the second equipment needs that synchronizing information is synchronous with the first equipment, the first equipment passes through transmissionThe synchronizing information that the second equipment of interface is sent, after receiving synchronizing information, the first equipment starts to execute related dataIt is synchronous.The coffret is that the first equipment is formed according to interface message the second equipment of connection, which is the first equipmentWhen establishing integrated configuration scheme, configuration is in scheme.
When starting to execute data synchronization, the first equipment establishes coffret according to the interface message and the second equipment, shouldCoffret may include multiple types, for different types of data are transmitted, such as: the first equipment is set with secondMaterial transferring interface, warehouse coffret and measurement unit is established by the authorization message of an account number cipher between standby to transmitThe interface messages such as interface, wherein material transferring interface is only used for transmission material data information, and warehouse coffret is only used for transmittingDepot data information, measurement unit interface are only used for transmission measurement unit data information.The integrated configuration scheme is in addition to being configured withFor connecting the interface message of the second equipment, it is provided with target identification information, the target identification information is logical for the first equipmentThe coffret that the interface message and the second equipment are formed is crossed to go to obtain the target data content in the second equipment.
It should be noted that integrated configuration scheme can store in current system after establishing for the first time, when the first equipmentWhen subsequent needs are synchronous again for identical target data content progress data, without being once again set up integrated configuration scheme.It is understood that the interface between the first equipment and the second equipment is docked in addition to above-mentioned lifted example, in practical applicationsIt can also be realized by the interface message of other forms, data transmission interface also may include more different types, toolBody is herein without limitation.
202, the first equipment parses synchronizing information, should to parse the first instruction information that synchronizing information includesFirst corresponding first data content of instruction information.
In the present embodiment, the first equipment is first after receiving the synchronizing information that the second equipment is sent by coffretFirst synchronizing information is parsed, to parse the first instruction information included by it, the first instruction information instruction is correspondingFirst data content.The method of first the first data content of device analysis may is that the first equipment parses synchronizing information,Be mapped as the data format of current system, thus according to the data after parsing analyze synchronizing information included by correspond toFirst instruction information of the first data content, analysis result i.e. first indicate that information can be the category for extracting the first data contentThe classification of property or its corresponding data content.For example, the first equipment by parsing synchronizing information after, be mapped as currently beThe data format of system, then extract the first data content be encoded to PM.003 information corresponding to specific material moneyMaterial, coding PM.003 are the first instruction information signified in the present embodiment, and specific material data is the first data content.
It should be noted that the first data content in the present embodiment may include different letters in practical applicationsBreath, specifically herein without limitation.
203, the first equipment judges the first data content with the presence or absence of in the first equipment according to the first instruction information.
In the present embodiment, the first instruction information is used to indicate corresponding first data content, and the first equipment can be according to theOne instruction information is inquired in current system, to judge whether the first data content has existed in current system, for example,First instruction information is coding PM.003 information, and coding PM.003 information indicates its corresponding specific material information.
204, when the first data content is there are in the first equipment, the first equipment parses the first data content, withSecond indication information included by the first data content is parsed, corresponding second data content of the second indication information.
In the present embodiment, the first equipment parses the first data content, is wrapped to parse the first data contentThe second indication information of the second data content of correspondence included.The method that first equipment parses the first data content can be refering to step202, details are not described herein again.For example, the first instruction information is to be encoded to the information of PM.003, the corresponding instruction of PM.003 information is specificMaterial data A be the first data content, the first device analysis goes out in first data content also comprising corresponding to the second numberAccording to the second indication information of content, i.e. material data A further includes the information being encoded to U.002, and U.002 the corresponding instruction of information is specificMeasurement data B, second indication information is coding U.002 information, and the second data content is specific measurement data B.
205, the first equipment judges the second data content with the presence or absence of in the first equipment according to second indication information.
In the present embodiment, the first equipment is currently after parsing second indication information, according to second indication informationIt is inquired in system, to judge whether the second data content has existed current system.
206, when the first equipment is not present in the second data content, the first equipment judges whether second indication information belongs to meshMark identification information.
In the present embodiment, when the first equipment confirms the second data content there is no in the first equipment, confirmed by judgementWhether second indication information belongs to the target identification information configured in integrated configuration scheme, to carry out the synchronous behaviour of next step dataMake, if belonging to, the first equipment needs to obtain corresponding second data content, if being not belonging to, the first equipment does not need to obtainSecond data content.
207, when second indication information belongs to target identification information, the first equipment passes through transmission according to second identifier informationInterface obtains the second data content in the second equipment.
In the present embodiment, second indication information belongs to target identification information, and the first equipment is judging second indication information categoryAfter Target indication information, passed through in the second data in coffret the second equipment of acquisition according to the second indication informationHold.
The step 106 that the present embodiment is also seen in Fig. 1 is understood that specific details are not described herein again.
208, the first equipment parses the second data content, to judge whether the second data content further includes that third refers toShow information, third instruction information corresponds to third data content.
In the present embodiment, the first equipment can first solve the second data content after obtaining the second data contentThen analysis judge whether the second data content further includes that third indicates information according to parsing result, so that it is determined that data synchronize isNo to complete, specific analysis mode can be refering to step 202, and details are not described herein again.
It should be noted that in the present embodiment, if further comprising other data in the second data content, the first equipment meetingContinue the similar operation of 202-208 that repeats the above steps, until the data content finally obtained no longer includes other data.
209, it is synchronous to complete data for the first equipment.
In the present embodiment, the second data content no longer includes other data.First equipment judges the second data in step 206Whether content indication information belongs to target identification information, and when confirmation is not belonging to, it is synchronous that the first equipment completes this data;When trueRecognize when belonging to, in step 208, after the first equipment does not include other data by judgement the second data content of confirmation, first is setStandby this data of completing synchronize.
In the present embodiment, the reception system in heterogeneous system is by being arranged link information and data in integrated configuration schemeInformation carries out multiplex roles with heterogeneous system and docks, realizes the asynchronous transmission of its data between heterogeneous system, at the same time, connectReceipts system is realized automatically and accurately by data content included in parsing reception data to all related data contentsReal-time synchronization.
Fig. 3 is another embodiment schematic diagram of method of data synchronization in the embodiment of the present application, as shown in figure 3, the application is realIt applies method of data synchronization in example and is applied to heterogeneous system, include the first equipment and the second equipment in the heterogeneous system, comprising:
301, the first equipment receives the synchronizing information that second equipment is sent by coffret.
The present embodiment can be understood that details are not described herein again refering to the step 201 in Fig. 2.
302, the first equipment parses synchronizing information, should to parse the first instruction information that synchronizing information includesFirst corresponding first data content of instruction information.
The present embodiment can be understood that details are not described herein again refering to the step 202 in Fig. 2.
303, the first equipment judges the first data content with the presence or absence of in the first equipment according to the first instruction information.
The present embodiment can be understood that details are not described herein again refering to the step 203 in Fig. 2.
304, when the first data content is there is no in the first equipment, the first equipment judges whether the first instruction information belongs toTarget identification information.
In the present embodiment, for the first data content there is no in the first equipment, the first equipment is analyzing the first instruction informationLater, it can first determine whether that the first data content whether there is in the first equipment, in the absence of confirmation, the first equipment is judgedWhether the first instruction information belongs to the target identification information configured in integrated configuration scheme, with the synchronous behaviour of the next step data of determinationMake.The present embodiment can specifically be understood that details are not described herein again refering to the step 206 in Fig. 2.
305, the first equipment of data content obtains first in the second equipment according to the first instruction information by coffretData content.
In the present embodiment, the first instruction information belongs to target identification information.When the first equipment determines that first refers to by judgementShow that information belongs to after the target identification information configured in integrated configuration scheme, can be obtained in the second equipment by coffretFirst data content.
306, the first equipment parses the first data content, to parse the second finger included by the first data contentShow information, corresponding second data content of the second indication information.
In the present embodiment, the first data content includes the second indication information corresponding to the second data content, is set when firstAfter getting the first data content, the first data content can be parsed, to analyze included by the first data contentThe second indication information corresponding to the second data content, specific analysis mode can be managed refering to the step 202 in Fig. 2Solution, details are not described herein again.
307, the first equipment judges the second data content with the presence or absence of in the first equipment according to second indication information.This implementationExample in can refering in Fig. 2 step 203 or step 205 understood that details are not described herein again.
308, it is synchronous to complete data for the first equipment.
In the present embodiment, the second data content is present in the first equipment, when the first equipment judges that the second data content is depositedWhen in the first equipment, it is synchronous that the first equipment completes this data.
In the present embodiment, the reception system in heterogeneous system is by being arranged link information and data in integrated configuration schemeInformation carries out multiplex roles with heterogeneous system and docks, realizes the asynchronous transmission of its data between heterogeneous system, at the same time, connectReceipts system is realized automatically and accurately by data content included in parsing reception data to all related data contentsReal-time synchronization.
Fig. 4 is another embodiment schematic diagram of method of data synchronization in the embodiment of the present application, as shown in figure 4, the application is realIt applies method of data synchronization in example and is applied to heterogeneous system, include the first equipment and the second equipment in the heterogeneous system, comprising:
401, the first equipment starts synchrodata.
In the present embodiment, when needing to synchronize the data in heterogeneous system, the first equipment starts to execute isomery systemData between system are synchronous.
402, the first equipment detects whether to be configured with integrated configuration scheme.
In the present embodiment, when the first equipment, which starts execution data, to be synchronized, need whether to be configured in first detection systemFor the related integrated configuration scheme for needing synchronous data.The integrated configuration scheme is configured in creation for connectingThe interface message and target identification information of second equipment.When starting to execute data synchronization, the first equipment is according to the interface messageCoffret is established with the second equipment, which includes multiple types, is transmitted for different types of data.ExampleSuch as: material transferring interface being established by the authorization message of an account number cipher between the first equipment and the second equipment, warehouse passesDefeated interface and measurement unit coffret, wherein material transferring interface is only used for transmission material data information, warehouse coffretIt is only used for transmission depot data information, measurement unit interface is only used for transmission measurement unit data information.The target identification informationIt is used to indicate the first equipment and passes through the target data content in the coffret the second equipment of acquisition.It should be noted that integratedAllocation plan can be stored in current system after establishing for the first time, when the first equipment subsequent needs again and repeatedly for pairIt should be when the data of same target identification information be synchronous, without the setting for carrying out Integrated Solution again.
It is understood that in practical applications, the interface between the first equipment and the second equipment, which docks, can pass through itHe the interface message of form realizes that data transmission interface also may include more different types, does not limit herein specificallyIt is fixed.
403, in the absence of the first equipment detects integrated configuration scheme, integrated configuration scheme is established.
In the present embodiment, in the absence of the first equipment detects integrated configuration scheme, the first equipment carries out integrated match firstSet the foundation of scheme.The integrated configuration scheme needs to configure the interface message and target mark for connecting the second equipment in creationKnow information.When starting to execute data synchronization, the first equipment establishes coffret according to the interface message and the second equipment, the biographyDefeated interface includes multiple types, is transmitted for different types of data.The target identification information is used to indicate the first equipmentThe target data content in the second equipment is obtained by the coffret.
It should be noted that the present embodiment after establishing completion integrated configuration scheme, will continue to execute step 401 and stepRapid 402.
404, the synchronizing information received is resolved to the synchrodata of current system format by the first equipment.
In the present embodiment, integrated configuration scheme is had existed in the first equipment, is connect receiving the second equipment by transmissionAfter the synchronizing information that mouth is sent, transmission data parsing is mapped as to the data format of current system, becomes current system numberAccording to.
405, the first equipment judges it with the presence or absence of instruction information according to the synchrodata after parsing, and the instruction information is correspondingSpecific data content.
In the present embodiment, the first equipment is sentenced after synchronizing information parsing is become the synchrodata of current system formatInstruction information of the synchrodata of breaking with the presence or absence of corresponding specific data content.For example, the synchronizing information that the first equipment receivesFor an order PO001233, the order data is parsed, then judges exist in the order corresponding to specific data contentIndicate information PM.001, N.001U.001 corresponding specific data content be material data A and warehouse enciphered data B withAnd measurement unit data C.
406, the first equipment parses the classification of corresponding data content according to instruction information.
In the present embodiment, the first equipment parses the instruction information pair after determining that synchrodata includes instruction informationThe classification for the data content answered.For example, different data contents has the material data for being encoded to PM.001, PM.002, PM.003,It is encoded to warehouse data N.001, N.002, N.003, and is encoded to measurement unit data U.001, U.002.
407, the corresponding coffret of the first equipment calls.
In the present embodiment, the first equipment passes through the class of the data content after parsing corresponding data content classificationNot, corresponding coffret is called.Such as: material data can only be transmitted by corresponding material transferring interface, warehouse dataThe transmission of data can only be carried out by corresponding warehouse coffret.
408, the first equipment obtains data content and parses the data content.
In the present embodiment, the first equipment is after opening and calling corresponding coffret, by the coffret from secondAccording to the classification of data content and instruction acquisition of information data content in equipment, and data content parsing is become into current systemSystem format.It should be noted that whether the first equipment before obtaining data, judge it according to the basic data classification firstThrough being present in the first system, when it be not present, the first equipment can also judge whether to need again according to integrally disposed scheme sameThe basic data is walked, when the basic data belongs to the target basic data of required acquisition in integrated configuration scheme, first is setIt is standby that corresponding basic data can be just obtained by coffret.Such as the data content be encoded to PM.001, PM.002,The material data of PM.003 is encoded to warehouse data N.001, N.002, N.003, and is encoded to meter U.001, U.002Unit data is measured, the judgement of the first equipment is encoded to the material data of PM.001, PM.002 and is encoded to metering U.001, U.002Unit data is already present in the first equipment, and is encoded to the material data of PM.003, is encoded to N.001, N.002, N.003Warehouse data when belonging to the synchronous target data content of the needs being arranged in integrally disposed scheme, i.e. coding PM.003,N.001, instruction information N.002, N.003 belongs to the target identification information in integrated configuration scheme, and the first equipment is called respectivelyMaterial transferring interface and warehouse coffret obtain the material data for being encoded to PM.003 from the second equipment, be encoded to N.001,N.002, these data after acquisition, can also be resolved to the data format of current system by warehouse data N.003.
409, whether the first equipment judges in the data content to further include other instruction information, other instruction information are correspondingCorresponding data content.
In the present embodiment, the first equipment get the data content and resolved to current system data format itAfterwards, judging the data content, whether there is also the other instruction information for corresponding to specific data content.
It should be noted that in the present embodiment, if there is also correspond to it in the data content that the judgement of the first equipment obtainsOther instruction information of his data content, then repeat step 406-409, until not wrapping in other data contents parsedContaining the other instruction information corresponding to specific data content.When in the data content parsed no longer comprising other instruction informationWhen, then follow the steps 404 and 405.Quote it is above-mentioned in the step 408 for example, if the first equipment is from the second equipmentIn the material data for being encoded to PM.003 obtained, more basic data content is further comprised, such as material information a, then first is setIt is standby to repeat step 406-409, corresponding data content a is gone out according to the material readout for being encoded to PM.003, is calledWhether heterogeneous system basic data interface obtains data content a and parses to it, also include pair in final data content aIt should be in the instruction information of other data content.
410, the synchrodata parsed and the data content of acquisition are generated current system data packet by the first equipment.
In the present embodiment, the first equipment in judgment step 405 in the data content of received synchrodata and acquisitionThere is no after the instruction information of other other corresponding specific data contents, the received all data of institute are generated into current systemData packet.
411, the first equipment saves current system data packet.
In the present embodiment, the first equipment is after generating current system data packet, in systems by data packet preservation, fromAnd it ensure that the safety of data.
412, it is synchronous to complete data for the first equipment.
In the present embodiment, the first equipment terminates this data simultaneously operating after having saved data packet.
In the present embodiment, the reception system in heterogeneous system is by being arranged link information and data in integrated configuration schemeInformation carries out multiplex roles with heterogeneous system and docks, realizes the asynchronous transmission of its data between heterogeneous system, at the same time, connectReceipts system is realized automatically and accurately by data content included in parsing reception data to all related data contentsReal-time synchronization.
The above-mentioned method synchronous to data in the embodiment of the present application is described, next will be in the embodiment of the present applicationThe synchronous device of data be introduced, referring to Fig. 5, Fig. 5 is an implementation of data synchronization unit in the embodiment of the present applicationIt illustrates and is intended to, which is applied to heterogeneous system, includes the first equipment and the second equipment, the synchronous dress of the data in the heterogeneous systemIt is set to first equipment, comprising:
Receiving unit 501, for receiving the synchronizing information that the second equipment is sent by coffret, which is used forIndicate that the first equipment carries out data and synchronizes, which is that the first equipment is formed according to interface message the second equipment of connection,The interface message be the first equipment establish integrated configuration scheme in configure, the integrated configuration scheme further include target identification letterBreath, the target identification information obtain the target data content in the second equipment for the first equipment by interface;
Resolution unit 502, for being parsed to the received synchronizing information of receiving unit 501, to parse synchronizing informationThe the first instruction information for including, the first instruction information correspond to the first data content;
Whether judging unit 503, the first instruction information for being parsed according to resolution unit 502 judge the first data contentThere are in the first equipment;
Unit 504 is terminated, for when judging unit 503 judge the first data content there are in the first equipment, completion theThe synchronization of one data content;
Judging unit 503 is also used to after judging the first data content there is no in the first equipment, judges the first instructionWhether information belongs to target identification information;
Acquiring unit 505, for passing through when judging unit 503 judges that the first instruction information belongs to target identification informationCoffret obtains the first data content in the second equipment, to complete the synchronization of the first data content.
In the present embodiment, data synchronization unit in heterogeneous system can by creating an integrated configuration scheme, andLink information and data information are set wherein, carries out multiplex roles with heterogeneous system and docks, to realize itself and heterogeneous systemBetween data asynchronous transmission, at the same time, the data synchronization unit can also pass through parsing reception data included in numberAccording to content, the real-time synchronization to all related data contents is realized automatically and accurately.
Fig. 6 is a kind of network equipment infrastructure schematic diagram provided by the embodiments of the present application, which is applied to isomerySystem, includes the first equipment and the second equipment in the heterogeneous system, which can generate because configuration or performance are differentBigger difference may include one or more central processing units (central processing units, CPU)622 (for example, one or more processors) and memory 632, one or more storage application programs 642 or data644 storage medium 630 (such as one or more mass memory units).Wherein, memory 632 and storage medium 630It can be of short duration storage or persistent storage.The program for being stored in storage medium 630 may include one or more module (figuresShow and do not mark), each module may include to the series of instructions operation in server.Further, central processing unit 622It can be set to communicate with storage medium 630, the series of instructions operation in storage medium 630 executed on the network equipment 60.
The central processing unit 622 can operate according to instruction and execute following steps:
The synchronizing information that second equipment is sent is received by coffret, and the synchronizing information is used to indicate described theOne equipment carries out data and synchronizes, and the coffret is that first equipment is formed according to interface message connection second equipment, the interface message is configured in integrated configuration scheme that first equipment is established, and the integrated configuration scheme is also wrappedTarget identification information is included, the target identification information obtains described second by the coffret for first equipment and setsTarget data content in standby;
The synchronizing information is parsed, to parse the first instruction information that the synchronizing information includes, described theOne corresponding first data content of instruction information;
Judge first data content with the presence or absence of in first equipment according to the first instruction information;
If it exists, then the synchronization of the first data content is completed;
If it does not exist, then judge whether the first instruction information belongs to the target identification information;
If the first instruction information belongs to the target identification information, passed through according to the first instruction information describedCoffret obtains first data content in second equipment, to complete the synchronization of first data content.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof realIt is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.
The computer program product includes one or more computer instructions.Load and execute on computers the meterWhen calculation machine program instruction, entirely or partly generate according to process or function described in the embodiment of the present invention.The computer canTo be general purpose computer, special purpose computer, computer network or other programmable devices.The computer instruction can be depositedStorage in a computer-readable storage medium, or from a computer readable storage medium to another computer readable storage mediumTransmission, for example, the computer instruction can pass through wired (example from a web-site, computer, server or data centerSuch as coaxial cable, optical fiber, Digital Subscriber Line (DSL)) or wireless (such as infrared, wireless, microwave) mode to another websiteWebsite, computer, server or data center are transmitted.The computer readable storage medium can be computer and can depositAny usable medium of storage either includes that the data storages such as one or more usable mediums integrated server, data center are setIt is standby.The usable medium can be magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or partly leadBody medium (such as solid state hard disk Solid State Disk (SSD)) etc..
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is canIt is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storageMedium may include: ROM, RAM, disk or CD etc..
It is provided for the embodiments of the invention a kind of synchronous method of data above and the network equipment has carried out detailed JieIt continues, used herein a specific example illustrates the principle and implementation of the invention, and the explanation of above embodiments is onlyIt is to be used to help understand method and its core concept of the invention;At the same time, for those skilled in the art, according to this hairBright thought, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not manageSolution is limitation of the present invention.