CN106649632A - Data synchronism method and system - Google Patents

Data synchronism method and system Download PDF

Info

Publication number
CN106649632A
CN106649632A CN201611117674.5A CN201611117674A CN106649632A CN 106649632 A CN106649632 A CN 106649632A CN 201611117674 A CN201611117674 A CN 201611117674A CN 106649632 A CN106649632 A CN 106649632A
Authority
CN
China
Prior art keywords
data
account book
current
target
target data
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
Application number
CN201611117674.5A
Other languages
Chinese (zh)
Other versions
CN106649632B (en
Inventor
陈姝
吴飞鹏
卢小明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BEIJING ZHONGXIANG BIT TECHNOLOGY Co Ltd
Original Assignee
BEIJING ZHONGXIANG BIT TECHNOLOGY Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by BEIJING ZHONGXIANG BIT TECHNOLOGY Co Ltd filed Critical BEIJING ZHONGXIANG BIT TECHNOLOGY Co Ltd
Priority to CN201611117674.5A priority Critical patent/CN106649632B/en
Publication of CN106649632A publication Critical patent/CN106649632A/en
Application granted granted Critical
Publication of CN106649632B publication Critical patent/CN106649632B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • G06F16/273Asynchronous replication or reconciliation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Computing Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a data synchronism method and a system. The data synchronism method comprises the steps of: requesting account book data which comprises target data from a destination node, wherein the target data correspond to a data unit which contains a plurality of checking information which connect the each target data to forming the data link by checking data; receiving the account book data being requested and checking; according to the checking information of the data link, the each target datum in the account book datum is orderly connected with each other to form the data link, proceeding the data synchronism one by one according to the each target datum in the data link. In the each account book data stored in a block link by a deal and the target data corresponded to the data unit (such as a data table), some checking information of the data link used for connecting the each target datum to form the data links by checking is deployed by the data synchronism method and the system, which achieves an orderly test for the each acquire target datum and the test for the acquire account book datum, and provides multiple security assurance for the data synchronism.

Description

Method of data synchronization and system
Technical field
The application is related to block chain technical field, and in particular to a kind of method of data synchronization and system.
Background technology
Block chain network is a network system based on distributed principle, in theory for content on each network node It is consistent, wants to obtain the data in block chain, as long as obtains from wherein any one node, or local node.
But central in actual application, local node can freely configure the type of current local node.For example, can be with Optionally local node is configured into the full record node (full-node) comprising intact block chain data, or comprising part Non- full record node (n-full-node) of block chain data.
Locally stored which data can be determined by current local node type and concrete configuration, therefore local node Not necessarily there are all data of intact block chain in current network in block chain.
When local node is configured to non-full record node, when data syn-chronization is carried out, needs are to place block chain network Other nodes obtain required data, and currently existing method of data synchronization is difficult to carry out safety and height in above-mentioned scene The data syn-chronization of effect.
The content of the invention
In view of drawbacks described above of the prior art or deficiency, expect to provide a kind of full record non-suitable for block chain network Node carries out the method for data synchronization and system of safety and efficient data syn-chronization.
In a first aspect, the present invention provides a kind of method of data synchronization, the method includes:
Include the account book data of target data to destination node request;Wherein, target data corresponds to a data cell, bag Include the Data-Link check information for each target data to be connected into Data-Link by verification;
Receive asked account book data and verified;
Target data in the account book data for respectively passing through verification is sequentially connected into by Data-Link according to Data-Link check information, And successively each target data in Data-Link carries out data syn-chronization to data cell.
Second aspect, the present invention provides another kind of method of data synchronization, and the method includes:
Receiving request includes the solicited message of account book data of target data;Wherein, target data corresponds to a data sheet Unit, including for by verifying the Data-Link check information that each target data is connected into Data-Link;
The account book data for including target data are searched in local block chain according to solicited message, the account book for finding is returned Data to corresponding data cell according to target data for carrying out data syn-chronization.
The third aspect, the present invention provides a kind of data synchronous system, and the system includes:
Data capture unit, is configured to include the account book data of target data to destination node request;Wherein, number of targets According to corresponding to a data cell, including for by verifying the Data-Link check information that each target data is connected into Data-Link;
Data check unit, is configured to receive asked account book data and verified;
Data synchronisation unit, is configured to respectively by the target in the account book data of verification according to Data-Link check information Data sequentially connect into Data-Link, and successively each target data in Data-Link carries out data syn-chronization to data cell;
Data query unit, be configured to receive request include target data account book data solicited message, according to ask Ask information that the account book data for including target data are searched in local block chain, return the account book data for finding for according to mesh Mark data carry out data syn-chronization to corresponding data cell.
Fourth aspect, the present invention provides a kind of Distributed Data Synchronization network, if including dry contact, matching somebody with somebody respectively on each node It is equipped with above-mentioned data synchronous system.
5th aspect, the present invention also provides a kind of equipment, including one or more processors and memory, wherein memory Comprising the instruction that can be performed by the one or more processors so that the one or more processors are performed according to of the invention each The method of data synchronization that embodiment is provided.
6th aspect, the present invention also provides a kind of computer-readable recording medium of the computer program that is stored with, the calculating Machine program makes computer perform the method for data synchronization provided according to various embodiments of the present invention.
The method of data synchronization and system of many embodiment offers of the present invention is in each account that block chain is stored in by transaction It is configured to verify each number of targets in target data in notebook data, corresponding to same data cell (such as tables of data) According to the Data-Link check information for connecting into Data-Link, realize that each target data to obtaining is verified in order, while also docking The account book data of receipts are verified, for data syn-chronization maltilevel security guarantee is provided;
Method of data synchronization that some embodiments of the invention are provided and system are further by the way that data syn-chronization is configured to point Segment sync, and relevant information is configured in solicited message for verifying the next item down target data of current sync section and Data-Link, To avoid carrying out repeating traversal in segment sync, the high efficiency of data syn-chronization is ensured;
The method of data synchronization and system of some embodiments of the invention offer is further by the way that Data-Link check information is matched somebody with somebody Be set to the combination of queue number and check code (such as cryptographic Hash etc.), enrich while the security that improve verification request end and The verification mode at inquiry end two ends, and cause the efficiency for further improving data syn-chronization to possess feasibility;
Method of data synchronization that some embodiments of the invention are provided and system further by receiving overtime when regenerate Including the solicited message of real-time synchronous segment information, and destination node transmission is changed, further increase the efficiency of data syn-chronization;
The method of data synchronization and system that some embodiments of the invention are provided further passes through to will be unable to and current data chain The target data of connection is stored in temporary queue, has ensured the Accuracy and high efficiency of data syn-chronization;
The method of data synchronization and system of some embodiments of the invention offer in each sync section further by having inquired about When send and can be connected the ending message of chaining with Data-Link, ensured the Accuracy and high efficiency of segment sync;
Some embodiments of the invention provide method of data synchronization and system further by verifying to target data, To avoid carrying out unnecessary simultaneously operating, the Accuracy and high efficiency of data syn-chronization is further increased;
The method of data synchronization and system of some embodiments of the invention offer by target data further by being configured to number According to storehouse Operation Log, the data volume being stored in block chain is reduced, reduce the time cost of data communication, further improved The high efficiency of data syn-chronization;
Method of data synchronization that some embodiments of the invention are provided and system further by inquiry current sync section it Last account book data (end point) of the checked for characteristics current sync section of front utilization block chain, so as to without the need for Partial synchronization Duan Jinhang traversal queries, greatly improve the efficiency of data syn-chronization.
Description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, the application other Feature, objects and advantages will become more apparent upon:
Fig. 1 is a kind of flow chart of method of data synchronization in one embodiment of the invention.
Fig. 2 is a kind of flow chart of preferred embodiment of method shown in Fig. 1.
Fig. 3 is a kind of flow chart of preferred embodiment of method shown in Fig. 2.
Fig. 4 is a kind of flow chart of preferred embodiment of method shown in Fig. 3.
Fig. 5 is a kind of flow chart of preferred embodiment of step S14 in method shown in Fig. 1.
Fig. 6 is a kind of flow chart of preferred embodiment of step S16 in method shown in Fig. 1.
Fig. 7 is a kind of flow chart of preferred embodiment of step S16 shown in Fig. 6.
Fig. 8 is a kind of flow chart of preferred embodiment of method shown in Fig. 1.
Fig. 9 is the flow chart of another kind of method of data synchronization in one embodiment of the invention.
Figure 10 is a kind of flow chart of preferred embodiment of method shown in Fig. 9.
Figure 11 is a kind of flow chart of preferred embodiment of step S25 shown in Fig. 9.
Figure 12 is a kind of flow chart of preferred embodiment of step S25 shown in Figure 11.
Figure 13 is the structural representation of data synchronous system in one embodiment of the invention.
Figure 14 is the structural representation of Distributed Data Synchronization network in one embodiment of the invention.
Figure 15 is a kind of structural representation of equipment in one embodiment of the invention.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that, in order to It is easy to description, the part related to invention is illustrate only in accompanying drawing.
It should be noted that in the case where not conflicting, the feature in embodiment and embodiment in the application can phase Mutually combination.Below with reference to the accompanying drawings and in conjunction with the embodiments describing the application in detail.
Fig. 1 is a kind of flow chart of method of data synchronization in one embodiment of the invention.
As shown in figure 1, in the present embodiment, a kind of method of data synchronization suitable for data syn-chronization end that the present invention is provided Including:
S12:Include the account book data of target data to destination node request.Wherein, target data corresponds to a data sheet Unit, including for by verifying the Data-Link check information that each target data is connected into Data-Link.
S14:Receive asked account book data and verified.
S16:Target data in the account book data for respectively passing through verification is sequentially connected into by number according to Data-Link check information According to chain, and successively each target data in Data-Link carries out data syn-chronization to data cell.
Specifically, in the present embodiment, data cell is tables of data, and target data is database manipulation daily record, Data-Link Check information includes following set of information:First team's row number of previous target data place account book data SfPreviousTxnLgrSeq, second queue sfTxnLgrSeq of current target data place account book data, previous target First check code sfPrevTxnLedgerHash of data place account book data, the of current target data place account book data Two check code sfTxnLedgerHash, wherein verification code type is cryptographic Hash.
For example, in each account book data (ledger) of current network block chain, queue number be 5,14,22,90 etc. it is each There is the database manipulation daily record of tables of data m in ledger.
The Data-Link check information stored in target data TD1 being stored in the ledger that queue number is 5 by concluding the business Including:First team's row number 0, second queue number 5, the first check code Null, the second check code Hashledger5
Being stored in the Data-Link check information stored in target data TD2 in the ledger that queue number is 14 includes:The One queue number 5, second queue number 14, the first check code Hashledger5, the second check code Hashledger14
The rest may be inferred, and the Data-Link check information in each target data is available for verifying previous item target data, so as to incite somebody to action Each target data connects into Data-Link.
In more embodiments, can also according to the actual requirements using it is following can arrangement:
Data cell is configured into the data cell of the different types such as data block or form;
Target data is configured into the target of the different types such as data to be updated, the download address of data to be updated or form Data;
Verification code type is configured into AES that various those skilled in the art commonly use or checking algorithm generated Check code;
Data-Link check information is configured to include the second queue number of current target data place account book data, latter mesh 3rd queue number of mark data place account book data, the second check code of current target data place account book data, latter object 3rd check code of data place account book data;Or, including above-mentioned first team's row number, second queue number, the 3rd queue number, with And, the first check code, the second check code, the 3rd check code;Or even the configuration of other all kinds of different parameters combinations, as long as can lead to Cross verification and each target data is connected into Data-Link, you can realize identical technique effect.
Above-described embodiment by transaction be stored in each account book data of block chain, corresponding to same data cell (example Such as tables of data) target data in be configured to verify the Data-Link verification letter that each target data is connected into Data-Link Breath, realizes that each target data to obtaining is verified in order, while the account book data also to receiving are verified, it is that data are same Step is there is provided maltilevel security guarantee;Further also by Data-Link check information being configured into queue number and check code (is such as breathed out Uncommon value etc.) combination, the verification mode at request end and inquiry end two ends is enriched while the security that improve verification, and make The efficiency for obtaining further raising data syn-chronization possesses feasibility;Also further by the way that target data is configured into database manipulation day Will, reduces the data volume being stored in block chain, reduces the time cost of data communication, further increases data syn-chronization High efficiency.
Fig. 2 is a kind of flow chart of preferred embodiment of method shown in Fig. 1.
As shown in Fig. 2 in a preferred embodiment, step S12 includes:
S121:Block chain in current network is divided into some sync sections.
S123:Send solicited message to destination node to obtain respectively in each sync section including the account book of target data successively Data.
Wherein, the account book data check letter of Section 1 account book data during solicited message is included for verifying current sync section Breath, and, the check information of last target data in current data chain.
Specifically, in the present embodiment, in step S121, block chain is divided into some sync sections that length is 256, is walked Successively request travels through each sync section in rapid S123, and the queue number of the account book data of each sync section is 1-256,257-512,513- 768th ..., etc..In more embodiments, also according to the actual requirements the length of sync section can be set into different size of fixation Length or non-regular length.
In the present embodiment, for verifying current sync section in the account book data check information of Section 1 account book data include Queue number TxnLedgerSeq and cryptographic Hash TxnLedgerHash of Section 1 account book data in current sync section;Current data The check information of last target data includes last target data place account book data in current data chain in chain Queue number LedgerSeq and cryptographic Hash LedgerHash.
As a example by sync section with request queue number as 257-512, solicited message includes that for verifying queue number be 257 The account book data check information (257, Hash of ledgerledger257), and last target data is located in current data chain Queue number is the check information (251, Hash of 251 account book dataledger251).Wherein, Hashledger257Can be according to concrete feelings Condition is obtained from the block chain of other nodes of local or current network.
In more embodiments, two check informations in above-mentioned solicited message can also be according to the data of configuration different parameters Chain check information is using corresponding different configurations.
Above-described embodiment configures related letter further by the way that data syn-chronization is configured into segment sync in solicited message Cease for verifying the next item down target data of current sync section and Data-Link, to avoid carrying out repeating traversal in segment sync, Ensure the high efficiency of data syn-chronization.
Fig. 3 is a kind of flow chart of preferred embodiment of method shown in Fig. 2.
As shown in figure 3, in a preferred embodiment, also include before step S123:
S122:Judge whether local block chain has current sync section:If having, directly current sync is obtained from local Including the account book data of target data in section.
Fig. 4 is a kind of flow chart of preferred embodiment of method shown in Fig. 3.
As shown in figure 4, in a preferred embodiment, also include before step S12:
S11:The title of the data cell is obtained, and is inquired about in the block chain of current network with the presence or absence of the data cell: If not existing, terminate synchronization.
Specifically, for example when receiving illegal data synchronization request, it is desirable to which non-existent tables of data n in block chain is entered During row data syn-chronization, may result in and make idle work and waste system resource, the title of tables of data n is first obtained before the synchronization, And inquire about with the presence or absence of tables of data n in block chain, to screen out invalid data synchronization request.
Fig. 5 is a kind of flow chart of preferred embodiment of step S14 in method shown in Fig. 1.
As shown in figure 5, in a preferred embodiment, step S14 includes:
S141:Receive asked account book data;
S143:The check code of received account book data is obtained from local or current network block chain;
S145:The second check code in acquired check code and the account book data for being received is verified:If school Failure is tested, then return to step S141.
Specifically, in the present embodiment, the cryptographic Hash of 256 ledger before each ledger can be recorded, while every The queue number that 256*256 ledger can be recorded above is the cryptographic Hash of the ledger of 256 integral multiple.
For example, in step s 141, the ledger that queue number is 22 is received;
In step S143, judge whether local block chain has queue number for any one of 23-278 ledger, if depositing Have, then directly therefrom obtain Hashledger22;If having, then obtain in the block chain of other nodes from network Hashledger22
In step S145, to the second check code Hash in the ledger that receivesledger22Obtain with step S143 Hashledger22Compare verification:Both are identical then to verify successfully, into step S16;Otherwise verification failure, gives up reception Queue number be 22 ledger, return to step S141 continues waiting for receiving data.
In a preferred embodiment, step S141 also includes:If receiving time-out, solicited message is regenerated, to target Node sends, or, change destination node sending.
In a preferred embodiment, solicited message also includes having been received and true by each account book data for verifying according to current Fixed synchronous segment information.
Specifically, when regenerating solicited message, according to currently received and by verify each account book data it is again true Determine the locking range of sync section, generate synchronous segment information, and update it is above-mentioned for verifying current sync section in Section 1 account book number According to account book data check information, and, the check information of last target data in current data chain.
For example, when the ledger that the queue number that node A receiving nodes B is returned is 22 is overtime, node A may have received that Queue number is 5 and 14 ledger, and has carried out synchronized update to tables of data, while being likely to have received that queue number is 251 ledger is simultaneously stored in temporary queue (hereafter can elaborate), therefore weight is needed when solicited message is regenerated It is new to determine sync section, no longer it is 1-256, and possibly 15-250, to avoid repeating traversal queries synchronization.Meanwhile, redefine Sync section be 15-250 when, update current sync section in Section 1 account book data account book data check information for (15, Hashledger15), the check information of last target data is (14, Hash in current data chainledger14)。
Above-described embodiment further regenerates the solicited message including real-time synchronization segment information by reception when overtime, And destination node transmission is changed, further increase the efficiency of data syn-chronization.
Fig. 6 is a kind of flow chart of preferred embodiment of step S16 in method shown in Fig. 1.
As shown in fig. 6, in a preferred embodiment, step S16 includes:
S165:Whether the first object data in the current account book data by verification of Data-Link check information judgement Can be with last target data cube computation chaining in current data chain:
It is no, then into step S166:First object data are stored in into temporary queue;
It is, then into step S167:First object data are stored in into current data chain, and according to first object data to institute Stating data cell carries out data syn-chronization;And,
S168:By can be with the second number of targets of last target data cube computation chaining in current data chain in temporary queue According to being stored in current data chain, and data syn-chronization is carried out to data cell according to the second target data.
Specifically, for example, it is 5,14,22,90,150,251 etc. some to inquire about end and inquire successively and return queue number Ledger, but because the reason such as network causes receiving terminal not to receive above-mentioned every ledger by said sequence.
The queue number of the initial term of Data-Link is 0, and check code is null, when the ledger that queue number is 5 passes through step S14 Verification, into after step S165, by the check code Null of first team's row number 0 and first and data in its Data-Link check information The initial term Inspection of chain, verification passes through, and can connect chaining, then into step S167, the ledger that queue number is 5 is deposited Enter Data-Link, and data syn-chronization is carried out to tables of data m according to the ledger that queue number is 5.In step S168, now interim team Sky is classified as, there is no the second target data, returned to waiting for.
When the verification that the ledger that queue number is 22 passes through step S14, into after step S165, by its first team's row number 14 With the first check code Hashledger14Respectively with the second queue number 5 of the ledger that last queue number of current data chain is 5 With the second check code Hashledger5Verified:Verification failure, it is impossible to connect chaining, then into step S166, be by queue number 22 ledger is stored in temporary queue, returns to waiting for.
When the verification that the ledger that queue number is 90 passes through step S14, into after step S165, same verification failure, nothing Method connects chaining, is stored in temporary queue, returns to waiting for.
When the ledger that queue number is 14 passes through the verification of step S14, into after step S165, with current data chain most Latter queue number is that 5 ledger is verified:Verification passes through, and can connect chaining, then into step S167, by queue number Ledger for 14 is stored in Data-Link, and carries out data syn-chronization to tables of data m according to the ledger that queue number is 14.
In step S168, can two ledger that verified respectively in temporary queue with last team of current data chain Row number is 14 ledger connection chainings:There is the second target data, queue number is 22 ledger, then be 22 by queue number Ledger is stored in current data chain, and carries out data syn-chronization to tables of data m according to the ledger that queue number is 22;
Continue to verify in temporary queue with the presence or absence of being connected with the ledger that current data chain last queue number is 22 Second target data of chaining:There is the second target data, queue number is 90 ledger, then by ledger that queue number is 90 Current data chain is stored in, and data syn-chronization is carried out to tables of data m according to the ledger that queue number is 90;
Continue to verify in temporary queue with the presence or absence of being connected with the ledger that current data chain last queue number is 90 Second target data of chaining:Do not exist, then return to waiting for.
Above-described embodiment is further stored in temporary queue by the target data that will be unable to be connected with current data chain, ensures The Accuracy and high efficiency of data syn-chronization.
Fig. 7 is a kind of flow chart of preferred embodiment of step S16 shown in Fig. 6.
As shown in fig. 7, in a preferred embodiment, also include before step S165:
S161:Judge there is the end letter of first object data or current sync section in the current account book data by verification Breath:
If there is ending message, into step S162:Judge the ending message whether can with current data chain in most Latter target data connects chaining:
It is, then into step S163:Terminate the data syn-chronization of current sync section, return to step S12;
It is no, then the ending message is stored in into temporary queue, return to step S14.
Specifically, sync section is identified by ending message, synchronous end can be made to know that current sync section is in time It is no to synchronously complete.
Above-described embodiment is further stored in temporary queue by the target data that will be unable to be connected with current data chain, ensures The Accuracy and high efficiency of data syn-chronization.
Fig. 8 is a kind of flow chart of preferred embodiment of method shown in Fig. 1.
As shown in figure 8, in a preferred embodiment, also include before step S16 it is following at least one:
S151:Whether also there is the data cell in the synchronous target database of inspection data:It is no, then terminate data same Step;
S153:According to the of the second queue number inspection first object data of last target data in current data chain Whether two queue numbers are normal:It is no, then return to step S14.
Specifically, for step S151, in the data syn-chronization target database of local node or other positions is configured in Because some configuration strategies delete tables of data m, then need not be further continued for carrying out the data syn-chronization to tables of data m;
For step S153, the Data-Link of target data composition is front to chained list, each mesh of composition data chain in this patent The queue number of mark data place ledger is incremented by successively, if the second queue number of first object data is not more than in current data chain The second queue number of last target data, such as current data Lian Zhong every team row number are followed successively by 5,14,22 ..., 151, 234, and the second queue number of first object data is 180, then it should be evident that first object data are abnormal data, give up First object data, return to waiting for.
Above-described embodiment, to avoid carrying out unnecessary simultaneously operating, enters further by verifying to target data One step improves the Accuracy and high efficiency of data syn-chronization.
Fig. 9 is the flow chart of another kind of method of data synchronization in one embodiment of the invention.
As shown in figure 9, in the present embodiment, the present invention also provides another kind of method of data synchronization for being applied to inquiry end, Including:
S23:Receiving request includes the solicited message of account book data of target data.Wherein, target data is corresponding to a number According to unit, including for by verifying the Data-Link check information that each target data is connected into Data-Link.
S25:Including the account book data of target data according to solicited message is searched in local block chain, return and search To account book data for carrying out data syn-chronization to corresponding data cell according to target data.
Figure 10 is a kind of flow chart of preferred embodiment of method shown in Fig. 9.
As shown in Figure 10, in a preferred embodiment, the block chain in current network is divided into some sync sections, request letter The account book data check information of Section 1 account book data in including for verifying current sync section is ceased, and, in current data chain The check information of last target data.Also include before step S25:
S24:According in the local block chain of account book data check information checking with the presence or absence of Section 1 account in current sync section Notebook data:It is no, then terminate to search.
Specifically, verified using the check code in the account book data check information and account book data in solicited message, On the one hand illegal request can be effectively screened out, without the need for making a look up to illegal request, it is to avoid waste system resource;On the other hand can To effectively improve search efficiency, such as node A to node B sends solicited message, and node B has found also do not have in local block chain The sync section, then directly terminate to search, and makes node A to resend solicited message to node C as early as possible.
Figure 11 is a kind of flow chart of preferred embodiment of step S25 shown in Fig. 9.
As shown in figure 11, in a preferred embodiment, step S25 includes:
S251:Judge whether local block chain includes complete current sync section:
It is no, then into step S252:The account book number for including target data is searched in local block chain according to solicited message According to the account book data that return finds;
It is, then into step S253:Whether the queue number for judging last account book data in current sync section is not less than In solicited message in current data chain last target data second queue number:
It is no, then into step S254:The end letter that generation can be connected with the Data-Link check information included by solicited message Cease and return.
It is, then into step S252.
Specifically, because the Data-Link of target data composition in this patent is front to chained list, such as when last in Data-Link When the queue number of one target data place ledger is 893, then the queue number of next target data place ledger is inevitable big In 893, if current sync section is 513-768,768 < 893 are learnt in contrast, without the need for carrying out traversal lookup in current sync section, Directly return ending message.
Above-described embodiment is further by the checked for characteristics current sync before inquiry current sync section using block chain Last account book data (end point) of section, so as to without the need for carrying out traversal queries to Partial synchronization section, greatly improve data Synchronous efficiency.
Figure 12 is a kind of flow chart of preferred embodiment of step S25 shown in Figure 11.
As shown in figure 12, in a preferred embodiment, step S25 also includes:
S255:When terminating to search in local block chain, judge whether to find account book data:
It is, then into step S256:Generation can be connected into the target data in last account book data for being returned The ending message of Data-Link is simultaneously returned;
It is no, then into step S254.
Figure 13 is the structural representation of data synchronous system in one embodiment of the invention.Data synchronous system shown in Figure 13 It is configured in any node of distributed network, any data synchronization shown in Fig. 1-8 can be performed as data syn-chronization end correspondence Method, also can perform any data synchronous method shown in Fig. 9-12 as data query end correspondence.
As shown in figure 13, in the present embodiment, the present invention provide data synchronous system 10 include data capture unit 11, Data check unit 13, data synchronisation unit 15, and data query unit 17.
Data capture unit 11 is configured to include the account book data of target data to destination node request.Wherein, target Data correspond to a data cell, including for by verifying the Data-Link verification letter that each target data is connected into Data-Link Breath.
Data check unit 13 is configured to receive asked account book data and verified.
Data synchronisation unit 15 is configured to respectively by the mesh in the account book data of verification according to Data-Link check information Mark data sequentially connect into Data-Link, and successively each target data in Data-Link carries out data syn-chronization to data cell.
Data query unit 17 be configured to receive request include target data account book data solicited message, according to ask Ask information that the account book data for including target data are searched in local block chain, return the account book data for finding for according to mesh Mark data carry out data syn-chronization to corresponding data cell.
In the present embodiment, above-mentioned each unit is configured to the software program in local node, so as to being configured in local section The data syn-chronization target database of point or other positions carries out data syn-chronization, or, according to the solicited message for receiving to local node The block chain of storage is inquired about, and returns the account book data for finding so that requesting node carries out data syn-chronization.In more realities In applying example, above-mentioned each unit can also be configured to according to the actual requirements be exclusively used in the hardware unit of data syn-chronization or data query, or It will be appreciated by those skilled in the art that combination thereof, be capable of achieving identical technique effect.
In a preferred embodiment, data capture unit 11 is further configured to:Block chain in current network is drawn It is divided into some sync sections;Send solicited message to destination node to obtain respectively in each sync section including the account of target data successively Notebook data.
Wherein, the account book data check letter of Section 1 account book data during solicited message is included for verifying current sync section Breath, and, the check information of last target data in current data chain.
Data query unit 17 is further configured to the account book data check information school in the solicited message for receiving Test in local block chain with the presence or absence of Section 1 account book data in current sync section:It is no, then terminate to search.
In a preferred embodiment, data capture unit 11 is further configured to sending solicited message to destination node Before, judge whether local block chain has current sync section by data query unit 17:If having, directly from locally obtaining Take in current sync section including the account book data of target data.
In a preferred embodiment, data capture unit 11 is further configured to obtain the title of data cell, and looks into Ask and whether there is in the block chain of current network the data cell:If not existing, terminate synchronization.
In a preferred embodiment, data check unit 13 is further configured to:Receive asked account book data;From The block chain of local or current network obtains the check code of received account book data;According to acquired check code and being received Account book data in the second check code verified.
In a preferred embodiment, data capture unit 11 is further configured to when time-out is received, and regenerating please Information is sought, is sent to destination node, or, change destination node sending.
In a preferred embodiment, data synchronisation unit 15 is further configured to be judged to work as according to Data-Link check information Whether the first object data in the front account book data by verification can be with last target data cube computations in current data chain Chaining:It is no, then first object data are stored in into temporary queue;It is then first object data to be stored in into current data chain, and according to First object data carry out data syn-chronization to the data cell;And, by temporary queue can with current data chain last Second target data of item target data cube computation chaining is stored in current data chain, and according to the second target data to the data sheet Unit carries out data syn-chronization.
In a preferred embodiment, data synchronisation unit 15 is further configured to judge the current account book number by verification According to the middle ending message that there is first object data or current sync section:
If there is ending message, judge whether ending message can be with last target data cube computation in current data chain Chaining:It is then to terminate the data syn-chronization of current sync section;It is no, then ending message is stored in into temporary queue.
In a preferred embodiment, data synchronisation unit 15 is further configured to in the account book data by verification First object data carry out following at least one inspection:
Whether also there is the data cell in the synchronous target database of inspection data:It is no, then terminate data syn-chronization;
Second team of first object data is checked according to the second queue number of last target data in current data chain Whether row number is normal.
In a preferred embodiment, data query unit 17 is further configured to judge whether local block chain includes connecing The complete current sync section of the solicited message institute requesting query of receipts:It is no, then searched in local block chain according to solicited message Including the account book data of target data, the account book data for finding are returned;It is then to judge last account book in current sync section Whether the queue number of data is not less than the second queue number of last target data in current data chain in solicited message:
It is no, then generate the ending message that can be connected with the Data-Link check information included by solicited message and return;
It is then to search the account book data for including target data in local block chain according to solicited message, return finds Account book data.
In a preferred embodiment, data query unit 17 is further configured to terminate to search in local block chain When, judge whether to find account book data:It is that then generating can connect with the target data in last account book data for being returned It is connected into the ending message of Data-Link and returns;It is no, then generate what is can be connected with the Data-Link check information included by solicited message Ending message is simultaneously returned.
Figure 14 is the structural representation of Distributed Data Synchronization network in one embodiment of the invention.
As shown in figure 14, in the present embodiment, the present invention also provides a kind of Distributed Data Synchronization network, including some sections Point, is each configured with the data synchronous system 10 that any of the above-described embodiment is provided on each node.
Flow chart and block diagram in accompanying drawing, it is illustrated that according to the system of various embodiments of the invention, method and computer journey The architectural framework in the cards of sequence product, function and operation.At this point, each square frame in flow chart or block diagram can generation A part for table one module, program segment or code a, part for the module, program segment or code is used comprising one or more In the executable instruction of the logic function for realizing regulation.It should also be noted that in some are as the realization replaced, being marked in square frame The function of note can also be with different from the order marked in accompanying drawing generation.For example, two square frames for succeedingly representing are actually Can perform substantially in parallel, they can also be performed in the opposite order sometimes, depending on this is according to involved function.Also It is noted that the combination of block diagram and/or each square frame in flow chart and block diagram and/or the square frame in flow chart, Ke Yitong Cross and perform the function of regulation or the special hardware based system of operation to realize, or can be by specialized hardware and calculating The combination of machine instruction is realizing.
Figure 15 is a kind of structural representation of equipment in one embodiment of the invention.
As shown in figure 15, computer system 1500 includes one or more CPU (CPU) 1501, and it can be with root Random access storage device (RAM) is loaded into according to the program being stored in read-only storage (ROM) 1502 or from storage part 508 Program in 1503 and perform various appropriate actions and process.In RAM 1503, needed for the system that is also stored with 1500 is operated Various programs and data.CPU 1501, ROM 1502 and RAM 1503 are connected with each other by bus 1504.Input/output (I/O) interface 1505 is also connected to bus 1504.Wherein memory (ROM) 1502 is included can be processed in one or more central authorities by this One or more programs that unit (CPU) 1501 is performed are so that one or more CPU (CPU) 1501 are performed According to the method for data synchronization of the application.
I/O interfaces 1505 are connected to lower component:Including the importation 1506 of keyboard, mouse etc.;Including such as negative electrode The output par, c 1507 of ray tube (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage part including hard disk etc. 1508;And the communications portion 1509 of the NIC including LAN card, modem etc..The Jing of communications portion 1509 Communication process is performed by the network of such as internet.Driver 1510 is also according to needing to be connected to I/O interfaces 1505.It is detachable to be situated between Matter 1511, such as disk, CD, magneto-optic disk, semiconductor memory etc., as needed on driver 1510, so as to Storage part 1508 is mounted into as needed in the computer program for reading from it.
Especially, in accordance with an embodiment of the present disclosure, may be implemented as computer software above with reference to the process of figure X descriptions Program.For example, embodiment of the disclosure includes a kind of computer program, and it includes being tangibly embodied in machine readable media On computer program, the computer program is comprising for performing the program code of any of the above-described method of data synchronization.At this In the embodiment of sample, the computer program can be downloaded and installed by communications portion 1509 from network, and/or from removable Unload medium 1511 to be mounted.
Flow chart and block diagram in accompanying drawing, it is illustrated that according to the system of various embodiments of the invention, method and computer journey The architectural framework in the cards of sequence product, function and operation.At this point, each square frame in flow chart or block diagram can generation A part for table one module, program segment or code a, part for the module, program segment or code includes one or more For realizing the executable instruction of the logic function of regulation.It should also be noted that in some realizations as replacement, institute in square frame The function of mark can also be with different from the order marked in accompanying drawing generation.For example, the two square frame reality for succeedingly representing On can perform substantially in parallel, they can also be performed in the opposite order sometimes, and this is depending on involved function.Also It is noted that the combination of block diagram and/or each square frame in flow chart and block diagram and/or the square frame in flow chart, Ke Yiyong Perform the function of regulation or the special hardware based system of operation to realize, or can be referred to computer with specialized hardware The combination of order is realizing.
Being described in unit involved in the embodiment of the present application or module can be realized by way of software, it is also possible to Realized by way of hardware.Described unit or module can also be arranged within a processor, for example, data query unit Software program during computer or intelligent movable equipment can be provided in, or individually carry out the hardware dress of data query Put.Wherein, the title of these units or module does not constitute under certain conditions the restriction to the unit or module itself.
As another aspect, present invention also provides a kind of computer-readable recording medium, the computer-readable storage medium Matter can be the computer-readable recording medium included in the device of above-described embodiment;Can also be individualism, it is unassembled Enter the computer-readable recording medium in equipment.Computer-readable recording medium storage has one or more than one program, should Program is used for performing the method for data synchronization for being described in the application by one or more than one processor.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.People in the art Member should be appreciated that invention scope involved in the application, however it is not limited to the technology of the particular combination of above-mentioned technical characteristic Scheme, while also should cover in the case where conceiving without departing from the application, is carried out appointing by above-mentioned technical characteristic or its equivalent feature Other technical schemes that meaning is combined and formed.Such as features described above has similar functions with (but not limited to) disclosed herein The technical characteristic technical scheme being replaced mutually and formed.

Claims (33)

1. a kind of method of data synchronization, it is characterised in that methods described includes:
Include the account book data of target data to destination node request;Wherein, the target data corresponds to a data cell, bag Include the Data-Link check information for each target data to be connected into Data-Link by verification;
Receive asked account book data and verified;
Target data in the account book data for respectively passing through verification is sequentially connected into by Data-Link according to the Data-Link check information, And successively each target data in the Data-Link carries out data syn-chronization to the data cell.
2. method of data synchronization according to claim 1, it is characterised in that described to include number of targets to destination node request According to account book data include:
Block chain in current network is divided into some sync sections;
Send solicited message to destination node to obtain respectively in each sync section including the account book data of target data successively;
Wherein, the account book data check letter of Section 1 account book data during the solicited message is included for verifying current sync section Breath, and, the check information of last target data in current data chain.
3. method of data synchronization according to claim 2, it is characterised in that sending solicited message to obtain to destination node Take and also include before the account book data for including target data in current sync section:
Judge whether local block chain has current sync section:If having, directly include in current sync section from local acquisition The account book data of target data.
4. the method for data synchronization according to any one of claim 1-3, it is characterised in that described to destination node request bag Also include before the account book data for including target data:
The title of the data cell is obtained, and is inquired about in the block chain of current network with the presence or absence of the data cell:If no Exist, then terminate synchronization.
5. the method for data synchronization according to any one of claim 1-3, it is characterised in that the Data-Link check information bag Include following least one set information:
First team's row number of previous target data place account book data, the second queue of current target data place account book data Number, the first check code of previous target data place account book data, the second check code of current target data place account book data;
The second queue number of current target data place account book data, the 3rd queue of latter object data place account book data Number, the second check code of current target data place account book data, the 3rd check code of latter object data place account book data.
6. method of data synchronization according to claim 5, it is characterised in that the account book data that the reception is asked are gone forward side by side Row verification includes:
Receive asked account book data;
The check code of received account book data is obtained from local or current network block chain;
The second check code in acquired check code and the account book data for being received is verified:If verification failure, Return the asked account book data of the reception.
7. method of data synchronization according to claim 6, it is characterised in that the account book data that the reception is asked also are wrapped Include:
If receiving time-out, solicited message is regenerated, sent to destination node, or, change destination node sending.
8. method of data synchronization according to claim 7, it is characterised in that the solicited message also include according to it is current The synchronous segment information for receiving and being determined by each account book data of verification.
9. method of data synchronization according to claim 1, it is characterised in that it is described will according to the Data-Link check information Respectively Data-Link, and each mesh in the Data-Link successively are sequentially connected into by the target data in the account book data of verification Mark data carry out data syn-chronization to the data cell to be included:
Judge that first object data in the current account book data by verification whether can be with according to the Data-Link check information Last target data cube computation chaining in current data chain:
It is no, then first object data are stored in into temporary queue;
It is then first object data to be stored in into current data chain, and line number is entered to the data cell according to first object data According to synchronization;And,
Can will deposit with the second target data of last target data cube computation chaining in current data chain in the temporary queue Enter current data chain, and data syn-chronization is carried out to the data cell according to the second target data.
10. method of data synchronization according to claim 9, it is characterised in that described according to the Data-Link check information Judge whether the first object data in the current account book data by verification can be with last number of targets in current data chain Also include before chaining according to connecting:
Judge there is the ending message of first object data or current sync section in the current account book data by verification:
If there is ending message, judge whether the ending message can be with last target data cube computation in current data chain Chaining:
It is then to terminate the data syn-chronization of current sync section, returns the account book number for including target data to destination node request According to;
It is no, then the ending message is stored in into temporary queue, return the asked account book data of the reception and verified.
11. method of data synchronization according to claim 5, it is characterised in that described according to the Data-Link check information Target data in the account book data for respectively passing through verification is sequentially connected into Data-Link, and it is each in the Data-Link successively Target data carries out also including before data syn-chronization to the data cell:
First object data in account book data by verifying are carried out with following at least one inspection:
Whether also there is the data cell in the synchronous target database of inspection data:It is no, then terminate data syn-chronization;
The second queue number of first object data is checked according to the second queue number of last target data in current data chain It is whether normal:It is no, then return the asked account book data of the reception and verified.
12. method of data synchronization according to any one of claim 1-11, it is characterised in that the target data is data Storehouse Operation Log.
13. a kind of method of data synchronization, it is characterised in that methods described includes:
Receiving request includes the solicited message of account book data of target data;Wherein, the target data corresponds to a data sheet Unit, including for by verifying the Data-Link check information that each target data is connected into Data-Link;
Including the account book data of target data according to the solicited message is searched in local block chain, what return found Account book data to corresponding data cell according to the target data for carrying out data syn-chronization.
14. method of data synchronization according to claim 13, it is characterised in that if the block chain in current network is divided into Dry sync section, the solicited message include for verifying current sync section in Section 1 account book data account book data check letter Breath, and, the check information of last target data in current data chain;
The account book data for including target data according to the solicited message is searched in local block chain, return and search To account book data for being carried out also including before data syn-chronization to corresponding data cell according to the target data:
According in the local block chain of the account book data check information checking with the presence or absence of Section 1 account book number in current sync section According to:It is no, then terminate to search.
15. method of data synchronization according to claim 14, it is characterised in that the Data-Link check information includes following Least one set information:
First team's row number of previous target data place account book data, the second queue of current target data place account book data Number, the first check code of previous target data place account book data, the second check code of current target data place account book data;
The second queue number of current target data place account book data, the 3rd queue of latter object data place account book data Number, the second check code of current target data place account book data, the 3rd check code of latter object data place account book data;
The account book data for including target data according to the solicited message is searched in local block chain, return and search To account book data include for carrying out data syn-chronization to corresponding data cell according to the target data:
Judge whether local block chain includes complete current sync section:
No, then including the account book data of target data according to the solicited message is searched in local block chain, return is looked into The account book data for finding;
It is then to judge whether the queue number of last account book data in current sync section is current not less than in the solicited message The second queue number of last target data in Data-Link:
It is no, then generate the ending message that can be connected with the Data-Link check information included by solicited message and return;
It is that, then including the account book data of target data according to the solicited message is searched in local block chain, return is looked into The account book data for finding.
16. method of data synchronization according to any one of claim 13-15, it is characterised in that described according to the request Information searches the account book data including target data in local block chain, returns the account book data for finding for basis The target data carries out data syn-chronization to corresponding data cell also to be included:
When terminating to search in local block chain, judge whether to find account book data:
It is then to generate the ending message that can connect into Data-Link with the target data in last account book data for being returned simultaneously Return;
It is no, then generate the ending message that can be connected with the Data-Link check information included by solicited message and return.
17. method of data synchronization according to any one of claim 13-15, it is characterised in that the target data is number According to storehouse Operation Log.
18. a kind of data synchronous systems, it is characterised in that the system includes:
Data capture unit, is configured to include the account book data of target data to destination node request;Wherein, the number of targets According to corresponding to a data cell, including for by verifying the Data-Link check information that each target data is connected into Data-Link;
Data check unit, is configured to receive asked account book data and verified;
Data synchronisation unit, is configured to respectively by the target in the account book data of verification according to the Data-Link check information Data sequentially connect into Data-Link, and successively each target data in the Data-Link carries out data to the data cell It is synchronous;
Data query unit, is configured to receive the solicited message of the account book data that request includes target data, is asked according to described Ask information that the account book data including target data are searched in local block chain, return the account book data for finding for root Data syn-chronization is carried out to corresponding data cell according to the target data.
19. data synchronous systems according to claim 18, it is characterised in that the data capture unit is further configured For:
Block chain in current network is divided into some sync sections;
Send solicited message to destination node to obtain respectively in each sync section including the account book data of target data successively;
Wherein, the account book data check letter of Section 1 account book data during the solicited message is included for verifying current sync section Breath, and, the check information of last target data in current data chain;
The data query unit is further configured to the account book data check information checking in the solicited message for receiving With the presence or absence of Section 1 account book data in current sync section in local block chain:It is no, then terminate to search.
20. data synchronous systems according to claim 19, it is characterised in that the data capture unit is further configured For before solicited message is sent to destination node, working as by the way that whether the local block chain of the data query unit judges has Preamble section:If having, directly from the local account book data for obtaining and including target data in current sync section.
21. data synchronous systems according to any one of claim 18-20, it is characterised in that the data capture unit Further it is configured to obtain the title of the data cell, and inquires about in the block chain of current network with the presence or absence of the data Unit:If not existing, terminate synchronization.
22. data synchronous systems according to any one of claim 18-20, it is characterised in that the Data-Link verification letter Breath includes following least one set information:
First team's row number of previous target data place account book data, the second queue of current target data place account book data Number, the first check code of previous target data place account book data, the second check code of current target data place account book data;
The second queue number of current target data place account book data, the 3rd queue of latter object data place account book data Number, the second check code of current target data place account book data, the 3rd check code of latter object data place account book data.
23. data synchronous systems according to claim 22, it is characterised in that the data check unit is further configured For:Receive asked account book data;The verification of received account book data is obtained from local or current network block chain Code;The second check code in acquired check code and the account book data for being received is verified.
24. data synchronous systems according to claim 23, it is characterised in that the data capture unit is further configured For when time-out is received, regenerating solicited message, send to destination node, or, change destination node sending.
25. data synchronous systems according to claim 24, it is characterised in that the solicited message is also included according to current The synchronous segment information for having received and having been determined by each account book data of verification.
26. data synchronous systems according to claim 18, it is characterised in that the data synchronisation unit is further configured For judged according to Data-Link check information the first object data in the current account book data by verification whether can with it is current Last target data cube computation chaining in Data-Link:It is no, then first object data are stored in into temporary queue;It is, then by first Target data is stored in current data chain, and carries out data syn-chronization to the data cell according to first object data;And,
Can will deposit with the second target data of last target data cube computation chaining in current data chain in the temporary queue Enter current data chain, and data syn-chronization is carried out to the data cell according to the second target data.
27. data synchronous systems according to claim 26, it is characterised in that the data synchronisation unit is further configured There is the ending message of first object data or current sync section in for judging the current account book data by verification:
If there is ending message, judge whether the ending message can be with last target data cube computation in current data chain Chaining:It is then to terminate the data syn-chronization of current sync section;It is no, then the ending message is stored in into temporary queue.
28. data synchronous systems according to claim 22, it is characterised in that the data synchronisation unit is further configured For the first object data in the account book data by verifying to be carried out with following at least one inspection:
Whether also there is the data cell in the synchronous target database of inspection data:It is no, then terminate data syn-chronization;
The second queue number of first object data is checked according to the second queue number of last target data in current data chain It is whether normal.
29. data synchronous systems according to claim 22, it is characterised in that the data query unit is further configured The complete current sync section of the solicited message institute requesting query received for judging local block chain whether to include:
No, then including the account book data of target data according to the solicited message is searched in local block chain, return is looked into The account book data for finding;
It is then to judge whether the queue number of last account book data in current sync section is current not less than in the solicited message The second queue number of last target data in Data-Link:
It is no, then generate the ending message that can be connected with the Data-Link check information included by solicited message and return;
It is that, then including the account book data of target data according to the solicited message is searched in local block chain, return is looked into The account book data for finding.
30. data synchronous systems according to claim 18, it is characterised in that the data query unit is further configured During for terminating to search in local block chain, judge whether to find account book data:
It is then to generate the ending message that can connect into Data-Link with the target data in last account book data for being returned simultaneously Return;
It is no, then generate the ending message that can be connected with the Data-Link check information included by solicited message and return.
31. data synchronous systems according to any one of claim 18-30, it is characterised in that the target data is number According to storehouse Operation Log.
32. a kind of Distributed Data Synchronization networks, if including dry contact, it is characterised in that be each configured with each node Data synchronous system any one of claim 18-31.
33. a kind of equipment, it is characterised in that the equipment includes:
One or more processors;
Memory, for storing one or more programs,
When one or more of programs are by one or more of computing devices so that one or more of processors Perform the method as any one of claim 1-12, and the method as any one of claim 13-17.
CN201611117674.5A 2016-12-07 2016-12-07 Method of data synchronization and system Active CN106649632B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611117674.5A CN106649632B (en) 2016-12-07 2016-12-07 Method of data synchronization and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611117674.5A CN106649632B (en) 2016-12-07 2016-12-07 Method of data synchronization and system

Publications (2)

Publication Number Publication Date
CN106649632A true CN106649632A (en) 2017-05-10
CN106649632B CN106649632B (en) 2018-03-16

Family

ID=58819846

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611117674.5A Active CN106649632B (en) 2016-12-07 2016-12-07 Method of data synchronization and system

Country Status (1)

Country Link
CN (1) CN106649632B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107317842A (en) * 2017-05-31 2017-11-03 北京大学深圳研究生院 Block chain synchronous method and device based on NDN
CN108416578A (en) * 2018-03-14 2018-08-17 郑杰骞 A kind of block catenary system and data processing method
CN108492183A (en) * 2018-03-29 2018-09-04 深圳前海微众银行股份有限公司 Account trading method, system and the computer readable storage medium of block chain
CN108984697A (en) * 2018-07-05 2018-12-11 江苏恒宝智能***技术有限公司 A kind of block chain interior joint method of data synchronization
CN109460405A (en) * 2018-09-27 2019-03-12 上海点融信息科技有限责任公司 For the block generation method of block chain network, synchronous method, storage medium, calculate equipment
CN109522362A (en) * 2018-10-17 2019-03-26 北京瑞卓喜投科技发展有限公司 Incomplete markets synchronous method, system and equipment based on block chain data
CN109829016A (en) * 2019-01-25 2019-05-31 网宿科技股份有限公司 A kind of method of data synchronization and device
CN109885606A (en) * 2019-01-07 2019-06-14 山东超越数控电子股份有限公司 A kind of date storage method based on super account book platform
CN110309163A (en) * 2019-06-28 2019-10-08 杭州复杂美科技有限公司 Block chain relation type database maintenance method and data query method
CN110602095A (en) * 2019-09-12 2019-12-20 腾讯科技(深圳)有限公司 Data distribution and storage method and device based on block chain network
CN110651289A (en) * 2017-05-22 2020-01-03 区块链控股有限公司 Facilitating byte code injection for prior transactions in blockchain transactions
CN110826110A (en) * 2019-11-06 2020-02-21 福建福链科技有限公司 Distributed account book data tamper-proofing method and system
CN113379542A (en) * 2021-05-28 2021-09-10 中邮信息科技(北京)有限公司 Query method, device, medium and electronic equipment for block chain transaction
CN113841368A (en) * 2019-03-25 2021-12-24 美光科技公司 Verifying identity of a vehicle entering a trust zone

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6289357B1 (en) * 1998-04-24 2001-09-11 Platinum Technology Ip, Inc. Method of automatically synchronizing mirrored database objects
CN101751394A (en) * 2008-12-16 2010-06-23 青岛海信传媒网络技术有限公司 Method and system for synchronizing data
CN102262674A (en) * 2011-08-11 2011-11-30 大唐移动通信设备有限公司 Data synchronization method and system for distributed memory database

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6289357B1 (en) * 1998-04-24 2001-09-11 Platinum Technology Ip, Inc. Method of automatically synchronizing mirrored database objects
CN101751394A (en) * 2008-12-16 2010-06-23 青岛海信传媒网络技术有限公司 Method and system for synchronizing data
CN102262674A (en) * 2011-08-11 2011-11-30 大唐移动通信设备有限公司 Data synchronization method and system for distributed memory database

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110651289A (en) * 2017-05-22 2020-01-03 区块链控股有限公司 Facilitating byte code injection for prior transactions in blockchain transactions
CN107317842B (en) * 2017-05-31 2019-11-22 北京大学深圳研究生院 Block chain synchronous method and device based on NDN
CN107317842A (en) * 2017-05-31 2017-11-03 北京大学深圳研究生院 Block chain synchronous method and device based on NDN
CN108416578A (en) * 2018-03-14 2018-08-17 郑杰骞 A kind of block catenary system and data processing method
CN108492183A (en) * 2018-03-29 2018-09-04 深圳前海微众银行股份有限公司 Account trading method, system and the computer readable storage medium of block chain
CN108492183B (en) * 2018-03-29 2021-05-18 深圳前海微众银行股份有限公司 Block chain account transaction method, system and computer readable storage medium
CN108984697A (en) * 2018-07-05 2018-12-11 江苏恒宝智能***技术有限公司 A kind of block chain interior joint method of data synchronization
CN109460405A (en) * 2018-09-27 2019-03-12 上海点融信息科技有限责任公司 For the block generation method of block chain network, synchronous method, storage medium, calculate equipment
CN109522362A (en) * 2018-10-17 2019-03-26 北京瑞卓喜投科技发展有限公司 Incomplete markets synchronous method, system and equipment based on block chain data
CN109885606A (en) * 2019-01-07 2019-06-14 山东超越数控电子股份有限公司 A kind of date storage method based on super account book platform
CN109829016A (en) * 2019-01-25 2019-05-31 网宿科技股份有限公司 A kind of method of data synchronization and device
CN109829016B (en) * 2019-01-25 2021-06-01 网宿科技股份有限公司 Data synchronization method and device
US11962701B2 (en) 2019-03-25 2024-04-16 Micron Technology, Inc. Verifying identity of a vehicle entering a trust zone
CN113841368A (en) * 2019-03-25 2021-12-24 美光科技公司 Verifying identity of a vehicle entering a trust zone
CN110309163A (en) * 2019-06-28 2019-10-08 杭州复杂美科技有限公司 Block chain relation type database maintenance method and data query method
CN110602095A (en) * 2019-09-12 2019-12-20 腾讯科技(深圳)有限公司 Data distribution and storage method and device based on block chain network
CN110602095B (en) * 2019-09-12 2021-07-13 腾讯科技(深圳)有限公司 Data distribution and storage method and device based on block chain network
CN110826110B (en) * 2019-11-06 2021-09-07 福建福链科技有限公司 Distributed account book data tamper-proofing method and system
CN110826110A (en) * 2019-11-06 2020-02-21 福建福链科技有限公司 Distributed account book data tamper-proofing method and system
CN113379542A (en) * 2021-05-28 2021-09-10 中邮信息科技(北京)有限公司 Query method, device, medium and electronic equipment for block chain transaction
CN113379542B (en) * 2021-05-28 2024-01-09 中邮信息科技(北京)有限公司 Block chain transaction query method, device, medium and electronic equipment

Also Published As

Publication number Publication date
CN106649632B (en) 2018-03-16

Similar Documents

Publication Publication Date Title
CN106649632A (en) Data synchronism method and system
CN106991607B (en) Disordered transaction control method based on block chain account model
US7428220B1 (en) Method and apparatus for data aggregation in a distributed system
CN111445236B (en) Block chain transaction verification method, device and storage medium
CN109587271B (en) Main chain parallel chain architecture system, block synchronization method, equipment and storage medium
CN112860741B (en) Data sampling detection method, device, equipment and storage medium
CN109981279B (en) Block chain system, communication method, device, equipment and medium
JPH10510413A (en) A mechanism for efficiently synchronizing information on the network
CN108921559B (en) Cross-chain transaction verification method, device and storage medium
CN103473076B (en) The dissemination method of a kind of code release and system
CN109542980A (en) A kind of data processing method, device, equipment and the medium of block chain
CN104270424B (en) A kind of database synchronization method, server and system
CN103577546B (en) A kind of method of data backup, equipment and distributed cluster file system
CN103366117B (en) A kind of viral restorative procedure of infection type and system
CN110083745B (en) Data query method, device and storage medium
CN108989430A (en) Load-balancing method, device and storage medium
CN106648994A (en) Method, equipment and system for backup operation on log
CN108881415A (en) Distributed big data analysis system in real time
CN111860853A (en) Online prediction system, online prediction equipment, online prediction method and electronic equipment
CN110445843A (en) Parallel chain block method for pushing, equipment and storage medium
CN112822044B (en) Distributed cluster deployment method and device, electronic equipment and readable storage medium
CN109213742A (en) Log collection method and device
CN111405037A (en) Block synchronization method, device and storage medium
CN110636072A (en) Target domain name scheduling method, device, equipment and storage medium
CN107277108A (en) Message treatment method, apparatus and system at a kind of node of block chain

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant