CN109347803A - A kind of data processing method, device, equipment and the medium of block chain - Google Patents

A kind of data processing method, device, equipment and the medium of block chain Download PDF

Info

Publication number
CN109347803A
CN109347803A CN201811089410.2A CN201811089410A CN109347803A CN 109347803 A CN109347803 A CN 109347803A CN 201811089410 A CN201811089410 A CN 201811089410A CN 109347803 A CN109347803 A CN 109347803A
Authority
CN
China
Prior art keywords
block
synchronization
synchronization group
group
transactions requests
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
CN201811089410.2A
Other languages
Chinese (zh)
Other versions
CN109347803B (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.)
Baidu Online Network Technology Beijing Co Ltd
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201811089410.2A priority Critical patent/CN109347803B/en
Publication of CN109347803A publication Critical patent/CN109347803A/en
Application granted granted Critical
Publication of CN109347803B publication Critical patent/CN109347803B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention discloses data processing method, device, equipment and the media of a kind of block chain.Wherein, this method is applied to block chain node, this method comprises: receiving the synchronization group that any node is initiated creates transactions requests;Transactions requests are created according to the synchronization group, determine at least one block, the synchronization block as the synchronization group;The synchronization signatures of the synchronization group are determined according to the synchronous block;Using the synchronization signatures as Transaction Information, record is within a block.Technical solution through the embodiment of the present invention, is stored in synchronization signatures as Transaction Information in block, reduces the probability that synchronization signatures are tampered.Meanwhile if any node is wanted to obtain block data in block chain, it can be verified as unit of synchronization group, provide a kind of new approaches for the node verification block chain data in block chain, optimize the verification mode of block data.

Description

A kind of data processing method, device, equipment and the medium of block chain
Technical field
The present embodiments relate to block chain technology more particularly to a kind of data processing method, device, the equipment of block chain And medium.
Background technique
Block chain is the novel of the computer technologies such as Distributed Storage, point-to-point transmission, common recognition mechanism, Encryption Algorithm Application model.
In existing block chain technology, when some node needs to obtain block chain data from other nodes are synchronous, need pair The data received carry out multiple-authentication, and with the validity, legitimacy and data correctness etc. for determining block, verification process needs The process resource for occupying a large amount of processors, takes a long time.
Summary of the invention
The embodiment of the present invention provides data processing method, device, equipment and the medium of a kind of block chain, to optimize block counts According to verification mode.
In a first aspect, it is applied to block chain node the embodiment of the invention provides a kind of data processing method of block chain, This method comprises:
It receives the synchronization group that any node is initiated and creates transactions requests;
Transactions requests are created according to the synchronization group, determine at least one block, the synchronization block as the synchronization group;
The synchronization signatures of the synchronization group are determined according to the synchronous block;
Using the synchronization signatures as Transaction Information, record is within a block.
Second aspect, the embodiment of the invention also provides a kind of Data Data methods of block chain, are applied to block chain link Point, comprising:
If generating synchronization group use demand, synchronization group creation transactions requests are initiated;
The synchronization group is created transactions requests to transmit to block chain network, to request current block to generate node according to institute It states synchronization group creation transactions requests to be handled, determines the synchronization block and determine according to the synchronous block that synchronization group includes The synchronization signatures of the synchronization group, using the synchronization signatures as Transaction Information, record is within a block.
The third aspect, the embodiment of the invention also provides a kind of data processing equipments of block chain, are configured at block chain link In point, which includes:
Transactions requests receiving module, the synchronization group for receiving any node initiation create transactions requests;
Synchronous block determining module, for determining at least one block according to synchronization group creation transactions requests, as The synchronization block of the synchronization group;
Synchronization signatures determining module, for determining the synchronization signatures of the synchronization group according to the synchronous block;
Logging modle, for using the synchronization signatures as Transaction Information, record to be within a block.
Fourth aspect, the embodiment of the invention also provides a kind of data processing equipments of block chain, are configured at block chain link In point, which includes:
Transactions requests initiation module, if initiating synchronization group creation transactions requests for generating synchronization group use demand;
Transactions requests transmission module is transmitted for the synchronization group to be created transactions requests to block chain network, with request Current block generate node according to the synchronization group create transactions requests handled, determine the synchronization block that synchronization group includes with And determine that the synchronization signatures of the synchronization group are recorded in using the synchronization signatures as Transaction Information according to the synchronous block In block.
5th aspect, the embodiment of the invention also provides a kind of equipment, which includes:
One or more processors;
Storage device, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processing Device realizes the data processing method of any block chain in first aspect or realizes block chain described in second aspect Data processing method.
6th aspect, the embodiment of the invention also provides a kind of media, are stored thereon with computer program, which is located It manages and realizes the data processing method of any block chain in first aspect when device executes or realize described in second aspect The data processing method of block chain.
Data processing method, device, equipment and the medium of block chain provided in an embodiment of the present invention are receiving any node After the synchronization group creation transactions requests of initiation, synchronization group is constructed according to synchronization group creation transactions requests, and according to composition synchronization group Synchronization block determine the synchronization signatures of synchronization group, be then stored in block, reduce using synchronization signatures as Transaction Information The probability that synchronization signatures are tampered.If in block chain any node want obtain block data, can as unit of synchronization group into Row verifying, provides a kind of new approaches for the node verification block chain data in block chain, optimizes the authentication of block data Formula.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 is a kind of flow chart of the data processing method of the block chain provided in the embodiment of the present invention one;
Fig. 2 is a kind of flow chart of the data processing method of the block chain provided in the embodiment of the present invention two;
Fig. 3 is a kind of flow chart of the data processing method of the block chain provided in the embodiment of the present invention three;
Fig. 4 is a kind of flow chart of the data processing method of the block chain provided in the embodiment of the present invention four;
Fig. 5 is a kind of flow chart of the data processing method of the block chain provided in the embodiment of the present invention five;
Fig. 6 is a kind of flow chart of the data processing method of the block chain provided in the embodiment of the present invention six;
Fig. 7 is a kind of flow chart of the data processing method of the block chain provided in the embodiment of the present invention seven;
Fig. 8 is a kind of flow chart of the data processing method of the block chain provided in the embodiment of the present invention eight;
Fig. 9 is a kind of flow chart of the data processing method of the block chain provided in the embodiment of the present invention nine;
Figure 10 is a kind of flow chart of the data verification method of the block chain provided in the embodiment of the present invention ten;
Figure 11 is a kind of structural schematic diagram of the data processing equipment of the block chain provided in the embodiment of the present invention 11;
Figure 12 is a kind of structural schematic diagram of the data verification device of the block chain provided in the embodiment of the present invention 12;
Figure 13 is a kind of structural schematic diagram of the equipment provided in the embodiment of the present invention 13.
Specific embodiment
The present invention 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 the present invention rather than limiting the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is the flow chart of the data processing method for the block chain that the embodiment of the present invention one provides, and the present embodiment is applicable Processing condition data in block chain network, such as be applicable in block chain network, some node is needed from other nodes The synchronous scene for obtaining block chain data.The block chain being applicable in can be publicly-owned chain, privately owned chain or alliance's chain.Overall procedure Cooperated by the promoter of synchronization group creation transactions requests in block chain with recipient and is executed to realize, the scheme of the embodiment of the present invention Applied to block chain node, node is generated by the node such as current block of reception synchronization group creation transactions requests and is executed.This method It can be executed by the data processing equipment of block chain, the mode which can be used software and/or hardware is realized, and can be integrated In the calculating equipment of carrying block chain link point.Referring to Fig. 1, this method is specifically included:
S110 receives the synchronization group that any node is initiated and creates transactions requests.
Wherein, wherein any node can be also possible to have setting to there is any node of synchronisation requirement in block chain The node of permission;It can also be that current block generates node etc..Synchronization group is made of one or more blocks;Synchronization group wound Build transactions requests and refer to transactions requests for creating synchronization group, be also possible to include synchronization group creation rule intelligent contract Deng.Optionally, may include: in synchronization group creation transactions requests includes the block-identified of block, synchronization group institute needed for synchronization group The information such as the mark of the signature scheme of the synchronous point position, synchronization group that need to be arranged or synchronization group.So-called synchronous point can generally refer to The end position of synchronization group, and the initial position of synchronization group can default setting, such as to default each synchronization group same from upper one Beans-and bullets shooter starts, or since the 0th block.
Illustratively, receiving the synchronization group creation transactions requests that any node is initiated may include: to receive any node reality The synchronization group of Shi Faqi creates transactions requests.Specifically, node of any node in block chain as block chain is added, Huo Zheyou Lead to block chain lack part or whole block nodes etc. in communication quality or by other factors such as malicious attacks, needs to synchronize Block chain, then locally generated synchronization group use demand, initiates synchronization group according to synchronization group use demand and creates transactions requests, and will Synchronization group creation transactions requests are transmitted in block chain network;Any node is initiated same in real time in localized nodes reception block chain Step group creates transactions requests.
In order to guarantee the security and reliability of block data, illustratively, the synchronization group creation that any node is initiated is received It can also include: that Authority Verification is carried out to initiation node after transactions requests;If Authority Verification passes through, receive synchronization group wound Transactions requests are built, otherwise refuses synchronization group and creates transactions requests.
Specifically, localized nodes, which can locally be safeguarded, has the section for initiating synchronization group creation permission in a block chain network The identity concordance list of point, after receiving synchronization group creation transactions requests, available synchronization group creation transactions requests The identity for initiating node, the identity for initiating node is searched in concordance list;If can find and correctly, It then determines that it is legal for initiating the identity of node, and initiate node there is the permission for initiating synchronization group creation, receives the initiation section The synchronization group that point is initiated creates transactions requests;If not finding or initiating the identity of identity and lookup of node simultaneously It does not complete to match, it is determined that initiate the permission that node does not initiate synchronization group creation, refusal synchronization group creates transactions requests.
It should be noted that can control to further control the permission for initiating synchronization group creation by setting The node of permission initiates the creation of synchronization group, such as is initiated by central node.Illustratively, permission is carried out to initiation node Verifying may include: to be verified using founder identity of the control authority public key to synchronization group creation transactions requests.Block chain In central node possess control authority, using control authority private key to synchronization group creation transactions requests partial content add Close, to show identity, therefore localized nodes can use control authority public key after getting synchronization group creation transactions requests The partial content that founder's identity is included at least in synchronization group creation transactions requests is decrypted.It is subsequent, it can will solve The verifying node that close obtained founder's identity is sent to setting is verified, or founder's identity mark that decryption is obtained Knowledge is matched with pre-stored identity to be verified.Wherein, each node in block chain can locally be safeguarded The table of each node identities mark of one storage.Identity can be node identification or network ip address etc..
It should be noted that the localized nodes in the present embodiment are that current block generates node.
S120 creates transactions requests according to synchronization group, determines at least one block, the synchronization block as synchronization group.
Wherein, synchronous block is the block for forming synchronization group.The synchronization block number of synchronization group can be one, can also be with It is multiple;If the block number of synchronization group is more than or equal to 2, the synchronization block in same synchronization group can be continuous block, It is also possible to discrete block.And the block between different synchronization groups can have it is overlapping.
Optionally, block-identified or synchronous point needed for the synchronization group for including in transactions requests being created according to synchronization group Etc. come the synchronization block that determines synchronization group.It is block-identified to refer to for the mark of a certain block of unique identification, it can be block ID or number etc., it is optionally, block-identified for block ID in the present embodiment;Synchronous point is referred to as insertion point, is used for table Show the position where first in synchronization group or end block;Optionally, the number of synchronous point can according to need and be arranged, such as One synchronous point can be only set at the block of synchronization group end;One can also be respectively provided at first block and end block Synchronous point.
S130 determines the synchronization signatures of synchronization group according to synchronous block.
Wherein, synchronization signatures refer to for unique identification or determine the mark of a certain synchronization group, can be used for representing synchronization The information etc. for the synchronization block for being included in group.Optionally, the synchronization signatures mode of synchronization group can be synchronization group creation affairs The signature scheme specified in request, is also possible to signature scheme as defined in block catenary system, can also be that localized nodes use certainly The signature scheme etc. that public key, private key or signature algorithm such as SHA256 of body etc. is determined.For the ease of subsequent query and verifying, and Increase the confidence level of synchronization signatures, illustratively, determines that the synchronization signatures of synchronization group can also include: basis according to synchronous block Synchronous block and the initiation node identification for initiating synchronization group creation, determine the synchronization signatures of synchronization group.Wherein, node mark is initiated Know the ID that can be the node for initiating synchronization group creation or network ip address etc..
Specifically, different signature schemes determines the verifying degree to block data, subsequent embodiment is by detailed Jie The different signature schemes that continue determine the implementation of the synchronization signatures of synchronization group.For example, can be according to synchronous block each in synchronization group Block-identified carry out hash signature obtain the synchronization signatures of the synchronization group.
It should be noted that the present embodiment determines the synchronization signatures of synchronization group according to synchronous block, show indirectly same The incidence relation between block, synchronization group and synchronization signatures three is walked, brings convenience for the subsequent group polling that synchronizes.
S140, using synchronization signatures as Transaction Information, record is within a block.
In order to reduce the probability that localized nodes distort the synchronization signatures of synchronization group, synchronization group is being determined according to synchronous block , can be using synchronization signatures as Transaction Information after synchronization signatures, storage is within a block.
Optionally, using synchronization signatures as Transaction Information, record may include: to generate to save by current block within a block Point is recorded in current block using synchronization signatures as Transaction Information;Current block is sent to other nodes to verify.
Specifically, localized nodes are determining synchronization group according to synchronous block if localized nodes are that current block generates node Synchronization signatures after, directly using the synchronization signatures of the synchronization group as Transaction Information, be recorded in current block;And it will be current Other nodes that block is sent in block chain are verified;After other nodes receive the current block of localized nodes transmission, Transactions requests will be created to synchronization group to handle, the synchronous label of the synchronization group are calculated using mode identical with localized nodes Name, if synchronization signatures are consistent with the synchronization signatures in current block, confirms that current block is effective, and current block is stored in In block chain;If inconsistent, other nodes into block chain send the block fail message comprising current block mark.
Using synchronization signatures as Transaction Information, after recording within a block, if any node wants synchronization zone in block chain Block chain can then verify synchronization signatures, after synchronization signatures are verified, be synchronized as unit of synchronization group, Accelerate data no-load speed.
Technical solution provided in an embodiment of the present invention, after receiving the synchronization group creation transactions requests that any node is initiated, Synchronization group is constructed according to synchronization group creation transactions requests, and the synchronization block according to composition synchronization group determines the synchronous label of synchronization group Name, is then stored in synchronization signatures as Transaction Information in block, reduces the probability that synchronization signatures are tampered.If block chain Middle any node is wanted to obtain block data, can be verified as unit of synchronization group, is the node verification area in block chain Block chain data provide a kind of new approaches, optimize the verification mode of block data.If the scene for synchronizing block data, Multiple synchronous blocks can be disposably verified, it is synchronous to accelerate data.Further, since any node in block chain, is needing Whens carrying out synchronous block data, verifying or inquiry etc. using synchronization group, synchronization group creation can be sent to block chain network in real time Transactions requests, localized nodes can receive the synchronization group creation transactions requests that any node is initiated in block chain, execute synchronization The creation operation of group, so that the creation of synchronization group can create in real time according to the actual situation, has flexibility.
Embodiment two
Fig. 2 is the flow chart of the data processing method of block chain provided by Embodiment 2 of the present invention, and the present embodiment is above-mentioned It is further to optimize on the basis of embodiment, present embodiments provide the indexed mode of synchronization group.Referring to fig. 2, this method is specific Include:
S210 receives the synchronization group that any node is initiated and creates transactions requests.
S220 creates transactions requests according to synchronization group, determines at least one block, the synchronization block as synchronization group.
S230 determines the synchronization signatures of synchronization group according to synchronous block.
S240, using synchronization signatures as Transaction Information, record is within a block.
The index data of synchronization group is stored in local synchronization group concordance list by S250.
Wherein, index data refers to the data that synchronous group information is quickly found for auxiliary node;It may include synchronizing Group mark, composition synchronization group it is each synchronize it is block-identified where block-identified, synchronization group synchronization signatures and synchronization signatures Deng.Synchronization group mark can be number or title of synchronization group etc.;It is block-identified to refer to for unique identification or determine a certain area The mark of block can be ID or number of block etc..
Synchronization group concordance list refers to the table that different synchronization group index datas are stored according to certain sequence or rule;For example, can To store the index data of different synchronization groups according to synchronization group mark, a synchronization group can be uniquely corresponding to synchronization group concordance list In a row or column etc..Optionally, synchronization group concordance list can carry out dynamically more according to the synchronization group established in block chain Newly such as increase, delete or replaces.
Specifically, localized nodes are receiving synchronization group creation transactions requests, and carry out signature processing verifying Transaction Information Afterwards, just the mapping relations of synchronization group, synchronization signatures and synchronous block etc. are stored in local synchronization group concordance list.
Illustratively, localized nodes can pass through any one or a few following side when needing to inquire a certain synchronization group Synchronization group needed for formula is inquired:
1) index data of synchronization group is inquired in local synchronization group concordance list.
2) request of synchronization group inquiry transaction is initiated, request current block generates node and traverses block chain from back to front to inquire Synchronization group;Wherein, synchronization group inquiry request refers to the request for inquiring synchronization group, may include required synchronization group mark or same Step group signature etc..
3) each node trusted to localized nodes sends synchronization group inquiry request, requests each node in the same of local Walk the index data etc. that synchronization group is inquired in group index table.
Specifically, localized nodes are when needing block chain synchronous using synchronization group, if synchronization group concordance list has been locally stored, Then can first it be inquired in local synchronization group concordance list, it, can be with if there is the synchronization group to match with required synchronization group The index data for directly acquiring the synchronization group synchronizes operation;If the synchronization group not matched, localized nodes can be to Its each node trusted initiates the request of synchronization group inquiry transaction, so that its each node trusted is receiving the synchronization After group polling transactions requests, the index data of synchronization group is inquired in local synchronization group concordance list;If localized nodes receive The each node feeding back trusted to it does not inquire information, then generates node to current block and send synchronization group inquiry transaction Request traverses block chain forward since current block to request current block to generate node to inquire synchronization group.If working as proparea Block generate node do not inquire matched synchronization group yet, then can initiate include required synchronization group synchronization group create affairs ask It asks.
It should be noted that can be independent progress between the mode of synchronization group needed for above-mentioned given inquiry;? Can according to first carry out local search, that is, first way, after carry out send synchronization group inquiry transaction request mode i.e. second or The third mode is inquired.
Technical solution provided in an embodiment of the present invention is stored in block in building synchronization group and by the synchronization signatures of synchronization group Afterwards, the index data of synchronization group can be stored in local in one synchronization group concordance list of local maintenance by the node in block chain Synchronization group concordance list in, provide convenience for subsequent query, verifying and synchrodata etc..
Embodiment three
Fig. 3 is the flow chart of the data processing method for the block chain that the embodiment of the present invention three provides, and the present embodiment is above-mentioned On the basis of embodiment, further the synchronization group creation transactions requests for receiving any node initiation are explained.Ginseng See Fig. 3, this method specifically includes:
S310 receives the synchronization group creation motion request that any node is initiated.
Wherein, motion request refers to that any node in block chain is needing to be implemented a certain affairs, such as when intelligent contract, Motion transactions requests are initiated, node is generated from current block and feeds back voting results to other node requirements;It can be in motion request Including at least one of following: the synchronization block of the synchronization group to be set up and signature scheme etc..Alternatively, motion request can be based on silent Recognizing mode indicates the creation content of synchronization group, for example, the synchronization group creation motion request currently initiated shows to create in current block Build synchronous point.
S320 is requested according to motion, initiates motion ballot notice, it is desirable that other nodes throw the creation of the synchronization group Ticket voting.
Specifically, localized nodes will initiate to vote after receiving the synchronization group creation motion request of any node initiation Notice, so that other nodes in block chain vote the creation of the synchronization group;Localized nodes receive other nodes The voting results of feedback, and voting results are summarized.
S330 receives the synchronization group in motion request according to voting results and creates intelligent contract, creates thing as synchronization group Business request.
It should be noted that synchronization group creation transactions requests are carried and are created in synchronization group as intelligent contract in the present embodiment It builds in motion request, obtains can store within a block after Transaction Information executing synchronization group creation transactions requests.
Specifically, localized nodes can according to ballot ratio-dependent voting results, ballot ratio can with default setting, or by Synchronization group creates motion request regulation.If voting results show that synchronization group to be created in motion request has enforceability, It then receives the synchronization group in motion request and creates intelligent contract, and the synchronization group is created into intelligent contract as a synchronization group and is created Build transactions requests;If it is against regulation etc. that voting results show in motion request synchronization group to be created, refuses motion and ask Synchronization group in asking creates intelligent contract.
S340 creates transactions requests according to synchronization group, determines at least one block, the synchronization block as synchronization group.
S350 determines the synchronization signatures of synchronization group according to synchronous block.
S360, using synchronization signatures as Transaction Information, record is within a block.
Technical solution provided in an embodiment of the present invention, localized nodes be based on intelligent contract to synchronization group creation motion request into Row voting, and the intelligent contract of synchronization group creation according to voting results to determine whether to receive in motion request is created as synchronization group Transactions requests are built, subsequent synchronization group visioning procedure is executed, further the quantity of creation synchronization group is controlled;Meanwhile It is stored in block chain, and then guaranteed after executing code segment and generating item data based on the transactions requests that intelligent contract is created Transaction Information is difficult to be tampered.
Example IV
Fig. 4 is the flow chart of the data processing method for the block chain that the embodiment of the present invention four provides, and the present embodiment is above-mentioned On the basis of embodiment, provide it is a kind of according to synchronization group create transactions requests, at least one block is determined, as synchronization group The mode of operation of synchronous block.Referring to fig. 4, this method specifically includes:
S410 receives the synchronization group that any node is initiated and creates transactions requests.
S420 creates transactions requests according to synchronization group, determines current block, the synchronization block as synchronization group.
It or the block that has generated, is newly generated in block chain network that current block, which refers to block chain network currently, Block.It should be noted that being then equivalent to synchronization signatures can be to a certain degree when a synchronization group includes a synchronous block It is to replace block-identified effect.Or it is set as the priority of synchronization signatures and is higher than the block-identified of synchronous block.The technical side Case provides more flexible selection space for the verification processing of block.
For example, due to including the block-identified of previous block in each block head data, and the block mark of a block Knowledge is determined according to signature etc. of Transaction Information, therefore the modification of a Transaction Information will lead to block-identified associated modification, It is i.e. subsequent all block-identified to will need to modify.In order to avoid associated modification, when localized nodes or other nodes need to modify When Transaction Information in a certain block, the synchronization group of block where including at least modification Transaction Information can establish.Preferably, may be used To establish the synchronization group for only including modification Transaction Information place block.
It should be noted that localized nodes default is using current block as the synchronization block of synchronization group.
Specifically, localized nodes can be created according to synchronization group current block block-identified for including in transactions requests or The mark etc. for the particular transaction data for including in current block, is inquired in block chain, if it exists and correctly, then will be current Block is determined as the synchronization block of synchronization group;If being not present in block-identified or incorrect, synchronization group creation can be considered as Transactions requests are invalid, and localized nodes will send the invalid information including synchronization group creation transactions requests to block catenary system.
Localized nodes can also create the synchronous point for including in transactions requests according to synchronization group, determine the corresponding area of synchronous point The block is determined as the synchronization block of synchronization group by block;It, can be in order to accurately obtain synchronization block corresponding to synchronization group Two synchronous points are set at current block position, and the end block determining according to two synchronous points and first block are same Block, then using current block as the synchronization block of synchronization group.
S430 determines the synchronization signatures of synchronization group according to synchronous block.
S440, using synchronization signatures as Transaction Information, record is within a block.
The technical solution of the embodiment of the present invention, due to synchronization group, only one synchronizes block, and localized nodes can be according to According to the block-identified synchronization signatures for determining synchronization group using simple signature algorithm of synchronous block, it is equivalent to using synchronization group label Name is instead of block-identified.Other subsequent nodes are needing the synchronization group to synchronize block chain, when being verified to the synchronization group, nothing Transaction Information in the synchronization block need to be handled one by one, need to only be calculated using signature algorithm identical with localized nodes synchronous Signature, and the signature for the synchronization group being calculated is matched with the synchronization signatures of synchronization group, simplifies verifying stream Journey accelerates verifying process.Meanwhile if the synchronization block of synchronization group is the block of modification, using the synchronization signatures side of synchronization group Formula can also avoid the occurrence of in existing block verification mode since the modification of Transaction Information causes by the synchronization block The block-identified the phenomenon that not being inconsistent stored in the block-identified and block that Transaction Information is handled one by one.It is signed due to synchronous Name is recorded in block, therefore has obtained the approval and effectively supervision of other nodes, therefore replace block in synchronization signatures When mark plays the role of verifying, can also play block data prevents from distorting.Further, since synchronization group is can be with Update, thus block can belonging multiple synchronization groups, all synchronization groups can not come into force simultaneously, such as with last The synchronization group of a creation is as the synchronization group that comes into force belonging to the block.
Embodiment five
Fig. 5 is the flow chart of the data processing method for the block chain that the embodiment of the present invention five provides, and the present embodiment is above-mentioned On the basis of embodiment, but provide it is a kind of according to synchronization group create transactions requests, at least two blocks are determined, as synchronization group Synchronization block mode of operation.Referring to Fig. 5, this method is specifically included:
S510 receives the synchronization group that any node is initiated and creates transactions requests.
S520 creates transactions requests according to synchronization group, determines current block and preamble at least one continuous block, makees For the synchronization block of synchronization group.
Wherein, continuous block is corresponding with discrete block.If any two area is not present at least two blocks Be between block it is discrete, then at least two blocks are continuous.
Specifically, the area that localized nodes can also include according to needed for the synchronization group for including in synchronization group creation transactions requests Synchronous point position being arranged needed for block identification or synchronization group etc. determines current block and preamble at least one continuous block Synchronization block as synchronization group.For example, can be created in transactions requests according to synchronization group includes synchronous point, synchronization group is determined End block will be determined as the synchronization block of synchronization group including the block between current block and end block.Localized nodes are also Include in transactions requests block-identified can be created according to synchronization group, navigates to a certain block, and by the area block Lian Zhongconggai Continuous block synchronization block etc. as synchronization group of the BOB(beginning of block) to current block.
It should be noted that position set by synchronous point is different, the synchronization group established is different;For example, current block For the 300th block, if synchronous point is arranged at the 200th block locations, the 200th block to the 300th block is one A synchronization group;If synchronous point is arranged at the 100th block locations, the 100th block to the 300th block is a synchronization Group etc..
S530 determines the synchronization signatures of synchronization group according to synchronous block.
S540, using synchronization signatures as Transaction Information, record is within a block.
Technical solution provided in an embodiment of the present invention, by the way that multiple blocks are formed a synchronization group, other subsequent nodes The synchronization group is being needed to synchronize block chain, it is only necessary to which the synchronization signatures for verifying a synchronization group are not needed to synchronization Each block is verified in group, simplifies verifying process.
Illustratively, transactions requests are created according to synchronization group, determines at least one block, the synchronization block as synchronization group Operation can also include following at least one:
1) transactions requests are created according to synchronization group, determines the block of at least two continuous m-n, the synchronization as synchronization group Block.
2) transactions requests are created according to synchronization group, determined since first block to the continuous block of current block, as The synchronization block of synchronization group.
It is continuous to update it should be noted that operation of the current block with block chain network, thus different synchronization groups it Between synchronization block it is overlapping.For example, current block is the 10th block, then in block chain the 0th block to the 10th block one A synchronization group;If current block becomes the 20th block, the 0th block to the 20th block is synchronization group etc..Example Property, if thering is new current block to generate in block chain, and after creating synchronization group according to new current block, block chain In the synchronization group that had previously been created can be defaulted as failing.For example, the 0th block of creation to the 20th block is a synchronization group Later, synchronization group failure that the 0th block to the 10th block is created etc..Synchronous point default setting is current in the present embodiment At block locations, and the end block as synchronization group, first block are defaulted as the 0th block.
Specifically, localized nodes can create the synchronous point position determination for including in transactions requests according to synchronization group works as proparea Block is the end block of synchronization group, and using the continuous block in block chain since 0 to current block as the synchronization of synchronization group Block.Localized nodes can also be block-identified according to include in synchronization group creation transactions requests, navigates to current block, and will Synchronization block in block chain since 0 to the continuous block of current block as synchronization group.If synchronization group creates transactions requests It is creation instruction, localized nodes are arranged one after getting synchronization group creation transactions requests directly at current block position A synchronous point, and the synchronization block etc. that will determine synchronization group to the continuous block synchronous point position since 0.
In the present embodiment, the synchronization group begun setting up from 0 is more suitable for the node being newly added in block catenary system and carries out together Walk block chain, it is only necessary to which the synchronization signatures for verifying a synchronization group do not need to test block each in synchronization group Card, simplifies verifying process.In order to avoid the setting of synchronous point is excessive, preferably using the 2) or the 3) in mode create together Step group.
Embodiment six
Fig. 6 is the flow chart of the data processing method for the block chain that the embodiment of the present invention six provides, and the present embodiment is above-mentioned On the basis of embodiment, but provide it is a kind of according to synchronization group create transactions requests, at least one block is determined, as synchronization group Synchronization block mode of operation.Referring to Fig. 8, this method is specifically included:
S610 receives the synchronization group that any node is initiated and creates transactions requests.
S620 creates the target block in transactions requests according to synchronization group and determines condition, target block determined, by target area Synchronization block of the block as synchronization group.
Wherein, target block determines that condition may include following at least one: 1) setting the block of serial number;It 2) include setting The block of Transaction Information;3) setting block generates the block that node generates.Specifically, can according to the setting serial number of block, It is searched in block chain, matched block is determined as target block;It can also be fixed according to the mark of the Transaction Information of setting Block in the block chain of position, so that it is determined that being target block;It can also be and node identification is generated according to the block of setting, obtain block The block generates node block generated in chain, which is generated the block that node generates and is determined as target block.
Specifically, after localized nodes get synchronization group creation transactions requests affairs can be created according to synchronization group The target block for including in request determines condition, is inquired in block chain, determines target block, and using target block as The synchronization block of synchronization group.In the present embodiment, the block in synchronization group can be dynamically selected according to actual needs, is further mentioned The flexibility that synchronization group uses is risen.
S630 determines the synchronization signatures of synchronization group according to synchronous block.
S640, using synchronization signatures as Transaction Information, record is within a block.
Technical solution provided in an embodiment of the present invention, the block in synchronization group can dynamically be determined according to condition, into one Step improves the flexibility that synchronization group uses.Meanwhile when synchronous using synchronization group progress data, it is only necessary to verify a synchronization group Synchronization signatures, do not need to verify block each in synchronization group, simplify verifying process.
Embodiment seven
Fig. 7 is the flow chart of the data processing method for the block chain that the embodiment of the present invention seven provides, and the present embodiment is above-mentioned On the basis of embodiment, a kind of mode of synchronization signatures that synchronization group is determined according to synchronous block is provided.Referring to Fig. 7, the party Method specifically includes:
S710 receives the synchronization group that any node is initiated and creates transactions requests.
S720 creates transactions requests according to synchronization group, determines at least one block, the synchronization block as synchronization group.
S730 together by the block-identified sequence string of each synchronous block carries out signature calculation, and it is same to form current creation The synchronization signatures of step group.
Specifically, localized nodes are being created according to synchronization group after transactions requests determine the synchronization block of synchronization group, from every The block-identified of the synchronization block is obtained in the block head of a synchronous block, by the block-identified according to each of each synchronous block The number order of synchronous block is connected together as an entirety mark, using the label specified in synchronization group creation transactions requests Name mode, the public key of localized nodes, private key or signature algorithm such as SHA256 etc. sign to whole mark, form current creation The synchronization signatures of synchronization group.
In order to further increase the safety of synchronization signatures and increase the complexity of synchronization signatures, illustratively, according to same Step block determines that the synchronization signatures of synchronization group can also include: that the block-identified of each synchronous block is established Mei Keer tree, will The root of Mei Keer tree is as synchronization signatures.Specifically, machine node is determining the same of synchronization group according to synchronization group creation transactions requests After walking block, the block-identified of the synchronization block is obtained from the block head of each synchronous block, according to each synchronous block It is block-identified, using Mei Keer tree algorithm generate Mei Keer tree, using the root of Mei Keer tree as the synchronization signatures of synchronization group.
In addition, in order to further increase the confidence level of the safety of synchronization signatures and increase synchronization signatures, and reduce this The probability that machine node is played tricks.Illustratively, determine that the synchronization signatures of synchronization group can also include: according to synchronization according to synchronous block Block and related information determine the synchronization signatures of synchronization group, wherein related information includes at least one of following: founder's information With creation time information.
Founder's information refers to the nodal information such as node identification of creation synchronization group;Creation time information refers to localized nodes Create the local time stamp of synchronization group.
It is identified as a whole together specifically, localized nodes can go here and there the mark sequence of each synchronous block, And founder's information and creation time information are added to formed in whole mark it is new it is whole identify, to new entirety identify into Row signature forms the synchronization signatures of current creation synchronization group.It can also be localized nodes in the block according to each synchronous block Mark, after generating Mei Keer tree using Mei Keer tree algorithm, by the root of Mei Keer tree, founder's information and creation time information Together as the synchronization signatures of synchronization group.
S740, using synchronization signatures as Transaction Information, record is within a block.
Specifically, generating node using synchronization signatures as Transaction Information by current block, it is recorded in current block;It will Current block is sent to other nodes and is verified.Other nodes receive localized nodes transmission current block after, first from Creation time information is obtained in synchronization signatures, and creation time information is compared with the current local time of localized nodes, if Time difference then illustrates that localized nodes, will be without subsequent same there may be playing tricks not in preset time threshold Walk the verifying process of signature, direct feedback validation failure information;If time difference, in preset time threshold, other nodes can The synchronization signatures that the synchronization group is calculated in such a way that use is identical with localized nodes, if synchronization signatures are synchronous in current block Signature is consistent, then confirms that current block is effective, and current block is stored in block chain;If inconsistent, into block chain Other nodes send comprising current block mark block fail message.
Technical solution provided in an embodiment of the present invention is calculated according to synchronous block and actual conditions using different synchronization signatures Method determines the synchronization signatures of synchronization group, make synchronization signatures using more flexible;Synchronous label are determined according to synchronous block simultaneously Name, and show synchronization signatures indirectly and follow between certain rule, and synchronous block, synchronization group and synchronization signatures three Incidence relation brings convenience for the subsequent group polling that synchronizes.
Embodiment eight
Fig. 8 is the flow chart of the data processing method for the block chain that the embodiment of the present invention eight provides, and the present embodiment is above-mentioned On the basis of embodiment, and provide a kind of mode of synchronization signatures that synchronization group is determined according to synchronous block.It, should referring to Fig. 8 Method specifically includes:
S810 receives the synchronization group that any node is initiated and creates transactions requests.
S820 creates transactions requests according to synchronization group, determines at least one block, the synchronization block as synchronization group.
The block head data of each synchronous block are signed to form son signature, are built using each height signature by S830 Li Meikeer tree, using the root of Mei Keer tree as synchronization signatures.
Wherein, block head data may include previous block-identified, block creation timestamp, random number, target Hash And the Mei Keer tree root etc. that the Transaction Information in the block is established.Son signature can be hash signature etc..
It, can be with specifically, localized nodes are being created according to synchronization group after transactions requests determine the synchronization block of synchronization group The block head data of the synchronization block are obtained from each synchronous block, and to the block head data of each synchronous block using Kazakhstan The signature schemes such as uncommon signature carry out sub- signature, sign according to each height, Mei Keer tree are generated using Mei Keer tree algorithm, by plum gram Synchronization signatures of the root of your tree as synchronization group.
In order to further increase the safety of synchronization signatures and the confidence level of increase synchronization signatures, and reduction localized nodes The probability played tricks.Illustratively, according to synchronous block determine synchronization group synchronization signatures can also include: according to synchronous block and Related information determines the synchronization signatures of synchronization group, wherein related information includes at least one of following: founder's information and creation Temporal information.Founder's information refers to the nodal information such as node identification of creation synchronization group;Creation time information refers to the machine section The local time stamp of point creation synchronization group.
Specifically, localized nodes by the block head data of each synchronous block, are signed to form son signature, according to each Height signature, after generating Mei Keer tree using Mei Keer tree algorithm, by the root of Mei Keer tree, founder's information and creation time Synchronization signatures of the information together as synchronization group.
S840, using synchronization signatures as Transaction Information, record is within a block.
Technical solution provided in an embodiment of the present invention is signed by the block head data first using each synchronous block Formed son signature, then using Mei Keer tree algorithm antithetical phrase signature carry out calculate generate Mei Keer tree, using the root of Mei Keer tree as Synchronization signatures.By increasing the complexity of synchronization signatures, further improving the safety of synchronization signatures and increasing synchronous label The confidence level of name.
Illustratively, determine that the synchronization signatures of synchronization group can also include: to synchronize according to current creation according to synchronous block The synchronization block of group and the synchronization signatures of at least one existing synchronization group, carry out signature calculation, form current creation and synchronize The synchronization signatures of group.
It, can be first from local same specifically, localized nodes are after the synchronization block that current creation synchronization group has been determined It is inquired in step group index table, obtains the synchronization signatures for the existing synchronization group that current creation synchronization group includes.For example, current The synchronization block that creation synchronization group includes is the 201st block to the 300th block;Already present synchronization group 1 is by the 0th block It is formed to the 100th block, synchronization group 2 is made of the 101st block to the 200th block, and localized nodes can be in conjunction with synchronization The synchronization signatures and the synchronization signatures of synchronization group 2 and the synchronization block of current sync group of group 1 are signed, and current wound is formed Build the synchronization signatures of synchronization group.Endorsement method employed in the present embodiment so that be between each synchronization group it is related, be not Isolated.
Embodiment nine
Fig. 9 is the flow chart of the data processing method for the block chain that the embodiment of the present invention nine provides, and the present embodiment is applicable Processing condition data in block chain network, such as be applicable in block chain network, some node is needed from other nodes The synchronous scene for obtaining block chain data.The block chain being applicable in can be publicly-owned chain, privately owned chain or alliance's chain.Overall procedure Cooperated by the promoter of synchronization group creation transactions requests in block chain with recipient and is executed to realize, the scheme of the embodiment of the present invention Applied to block chain node, other nodes such as can be by the node of initiation synchronization group creation transactions requests, be also possible to light weight Grade node executes.This method can be executed by the data processing equipment of block chain, which can be used software and/or hardware Mode is realized, and can be integrated in the calculating equipment of carrying block chain link point.Referring to Fig. 9, this method is specifically included:
S910 initiates synchronization group creation transactions requests if generating synchronization group use demand.
Generated demand when needing using synchronization group that synchronization group use demand refers to;It can refer in synchronization group use demand Show the block for including in required synchronization group or Transaction Information etc..Optionally, if generating synchronization group use demand may include: this Ground needs synchronous block chain, then generates synchronization group use demand;If the local data needed to modify in block chain generate same Step group use demand etc..It can also include: that localized nodes are caused originally due to communication quality or by other factors such as malicious attacks It is local to need synchronous downloading block chain whens the block chain lack part of machine node or whole blocks etc., then generate synchronization group use Demand.
Illustratively, synchronization group use demand may include: block synchronisation requirement, block data query demand or block counts According to verifying demand etc..Specifically, block synchronisation requirement refers to that the node in block chain needs to carry out to be produced when block data is synchronous Raw demand, block synchronisation requirement may include the block-identified of required synchronous block;Block data query demand refers to block Chain node generated demand when one or more block datas in needing to inquire block chain, may include block to be checked The mark etc. of Transaction Information block-identified or to be checked;Corresponding, block data verifying demand refers to that block chain node is needing Verify generated demand when one or more block datas in block chain, may include the block-identified of block to be verified or to The mark etc. of inquiry transaction data.
Specifically, then can produce acquisition complete section if it is determined that localized nodes are the new node that block chain network is added The block synchronisation requirement of block chain initiates synchronization group according to block synchronisation requirement and creates transactions requests, to request current block to generate Synchronous synchronization group needed for node creation, and fed back;It is matched same that localized nodes save current block generation node feeding back Step group.
It should be noted that block data inquiry request and block data checking request, can not be stored or be deposited by local The lightweight node of storage Partial Block Data is initiated.For example, needing to inquire block counts if localized nodes are lightweight node According to when, generate block data query demand.Due to the local not memory block of localized nodes, block data inquiry is being generated When demand, synchronization group can be sent to conventional full node and create transactions requests, to request the matched synchronization group of full node feeding back.
In order to guarantee the safety of Transaction Information, illustratively, initiation synchronization group creation transactions requests may include: will be same Step group creates transactions requests as intelligent contract, carries in synchronization group creation motion request.Specifically, based on intelligent contract institute The transactions requests of creation are stored in block chain after executing code segment and generating item data, and then ensure that the difficulty of Transaction Information To be tampered.
S920, by synchronization group create transactions requests to block chain network transmit, with request current block generate node according to Synchronization group creation transactions requests are handled, and determine synchronization block and determine synchronization group according to synchronous block that synchronization group includes Synchronization signatures, using synchronization signatures as Transaction Information, record is within a block.
Illustratively, localized nodes can receive synchronization group, the synchronization signatures, Yi Jitong that current block generates node feeding back Corresponding synchronous block of step group etc., and be stored in local synchronization group concordance list, inquiry whens so as to subsequent authentication or synchronizing equal.
Technical solution provided in an embodiment of the present invention, any node in block chain are needing to carry out area using synchronization group Whens block number is according to synchronization, verifying or inquiry etc., synchronization group can be sent to block chain network in real time and create transactions requests, worked as with request Preceding block generates the creation operation that node executes synchronization group, so that the creation of synchronization group can create in real time according to the actual situation, tool Standby flexibility.
Embodiment ten
Figure 10 is the flow chart of the data verification method for the block chain that the embodiment of the present invention ten provides, and is present embodiments provided There are data verification method when synchronization group in a kind of pair of block chain, this method suitable for block chain network, any node from Other nodes carry out the solution of data synchronization scenarios, and this method can be by the localized nodes or block link network in embodiment nine Other nodes in network execute.Wherein, which can be used the mode of previous embodiment to create.The scheme of the embodiment by The data verification device of block chain executes, which can be realized by the way of software and/or hardware, be generally configurable on In the electronic equipment of block chain node.Referring to Figure 10, this method is specifically included:
S1010 initiates block synchronization request to other nodes, and receives the block of other node feeding backs.
In the present embodiment, when generating block synchronization request, block synchronization request can be initiated to other nodes, it is same to download Walk block data.Other nodes can be any node for being stored with block chain, the preferably trusted node of localized nodes.Block Synchronization request refer to the node in block chain need to carry out block data it is synchronous when generated demand, block synchronization request can be with Including the block-identified of required synchronous block.
Optionally, generating block synchronization request may include following at least one: 1) if it is determined that localized nodes are new add Enter the node of block chain network, then generates the block synchronization request for obtaining intact block chain;2) localized nodes are due to communication quality It is local to need together or whens being led to block chain lack part or the whole block etc. of localized nodes by other factors such as malicious attacks Step downloading block chain, then generate block synchronization request;3) block for generating block to be checked according to block data inquiry request is same Step request;4) the block synchronization request etc. of block to be verified is generated according to block data checking request.
Other nodes of localized nodes into block chain network send block synchronization request, other nodes receive the machine section After the block synchronization request that point is sent, the block data of corresponding synchronization group is obtained, block data is fed back into localized nodes;This Machine node receives the block data of the synchronization group of other node feeding backs, and in local preservation.
S1020 determines the matched synchronization group of block to be synchronized, and the synchronization signatures of synchronization group are inquired from block, wherein Synchronization group includes that at least one synchronizes block.
Specifically, localized nodes can according to including in block synchronization request, required synchronization it is block-identified in local dimension A group lookup is synchronized in concordance list or block chain of shield etc., if finding matched synchronization group, by matched synchronization group Synchronization group where synchronous block needed for being determined as;It, can be to block chain network if not finding matched synchronization group It sends synchronization group and creates transactions requests, to request block chain network to create the synchronization group, to obtain synchronization group.Local maintenance Concordance list can be in synchronization group creation, and synchronous group information is added, in case inquiry.
Optionally, this method can also include: if it is determined that required no matched synchronization group, then initiate synchronization group creation Transactions requests.
After synchronization group where localized nodes block synchronous needed for determining, it can be obtained from block according to synchronization group Take the synchronization signatures of synchronization group.
The execution sequencing of aforesaid operations S1010 and S1020 are unlimited, can also first initiate block data synchronization request, Synchronous block data is received from other nodes, then matches corresponding synchronization group again, obtains synchronization signatures.
S1030 calculates synchronization signatures according to synchronous block, verifying is compared with the synchronization signatures got.
Wherein, synchronous block refers to the block of composition synchronization group, and each synchronization group includes that at least one synchronizes block.It is optional , the synchronization signatures mode of the synchronization group of acquisition is different, and localized nodes calculate the modes of synchronization signatures also not according to synchronous block Together.
Specifically, the synchronization signatures of synchronization group can be calculated in localized nodes according to synchronous block, by what is be calculated Synchronization signatures are compared with the synchronization signatures got from block, if the two is identical, it is determined that synchronization signatures are verified; If not identical, it is determined that the synchronization signatures of synchronization group are not verified.
S1040, if the verification passes, it is determined that be verified for the synchronization block of synchronization group.
Specifically, if the synchronization signatures of synchronization group are verified, it is determined that the synchronization block of synchronization group is verified;If same Step signature is not verified, it is determined that the synchronization block of synchronization group is not verified.
It should be noted that directly being tested instead of synchronous the block-identified of block in the present embodiment using the verifying of synchronization signatures Function is demonstrate,proved, or is also possible to that verifying priority of the verifying priority higher than synchronous block of synchronization signatures is arranged.Using area Block number is primary according to being verified when synchronizing as unit of synchronization group, without one by one to the block-identified progress of each synchronous block Verifying, simplifies verifying process.Further, since synchronization signatures are recorded in block, therefore recognizing for other nodes is obtained It can be supervised with effective, while can also play the role of block data to prevent from distorting.
When node needs to download multiple synchronous blocks, such as whole block chain, then it may belong to continuous multiple synchronizations Group.Illustratively, it may include: that inquiry obtains block matched one to be synchronized that inquiry, which obtains the matched synchronization group of block to be synchronized, A or multiple synchronization groups.
Specifically, group polling can be synchronized according to the block-identified of required synchronization for including in block synchronization request, It obtains and the matched one or more synchronization groups of block to be synchronized.If only one synchronization group is matched with block to be synchronized, really The fixed synchronization group is required synchronization group;If existing simultaneously multiple synchronization groups to match with block to be synchronized, it is determined that multiple synchronizations Group is required synchronization group.If the synchronization group that some block to be synchronized is matched to has multiple, can be created according to each synchronization group The time built using the synchronization group of the last one creation as the synchronization group that comes into force belonging to block to be synchronized, and then guarantees to obtain every time The synchronization group taken is most newly created.
It in the above scheme, can also include: if it is determined that at least one block in block to be synchronized is without matched same Step group is then verified according to without matching the block-identified of block.For example, when block to be synchronized is 920 pieces, from front to back, often 100 pieces of compositions, one synchronization group, and last 20 pieces do not belong to any synchronization group, can be for belonging to the synchronization block of synchronization group It can be verified according to synchronization signatures, the block for being not belonging to synchronization group is verified according further to block self identification.
Technical solution provided in an embodiment of the present invention, localized nodes are only needed when needing to be synchronized using block data Verifying, nothing is compared with the synchronization signatures got from block in the synchronization signatures being calculated according to synchronous block Each the block-identified of synchronous block need to be verified one by one, compared with existing block data verification method, optimize area The verification mode of block number evidence simplifies verifying process, accelerates data synchronous.
Embodiment 11
Figure 11 is a kind of structural schematic diagram of the data processing equipment for block chain that the embodiment of the present invention 11 provides, the dress It sets and is configured in block chain node, the data processing method of block chain provided by any embodiment of the invention can be performed, have The standby corresponding functional module of execution method and beneficial effect.As shown in figure 11, which includes:
Transactions requests receiving module 1110, the synchronization group for receiving any node initiation create transactions requests;
Synchronous block determining module 1120, for determining at least one block according to synchronization group creation transactions requests, as The synchronization block of synchronization group;
Synchronization signatures determining module 1130, for determining the synchronization signatures of synchronization group according to synchronous block;
Logging modle 1140, for using synchronization signatures as Transaction Information, record to be within a block.
Technical solution provided in an embodiment of the present invention, after receiving the synchronization group creation transactions requests that any node is initiated, Synchronization group is constructed according to synchronization group creation transactions requests, and the synchronization block according to composition synchronization group determines the synchronous label of synchronization group Name, is then stored in synchronization signatures as Transaction Information in block, reduces the probability that synchronization signatures are tampered.If block chain Middle any node is wanted to obtain block data, can be verified as unit of synchronization group, is the node verification area in block chain Block chain data provide a kind of new approaches, optimize the verification mode of block data.If the scene for synchronizing block data, Multiple synchronous blocks can be disposably verified, it is synchronous to accelerate data.Further, since any node in block chain, is needing Whens carrying out synchronous block data, verifying or inquiry etc. using synchronization group, synchronization group creation can be sent to block chain network in real time Transactions requests, localized nodes can receive the synchronization group creation transactions requests that any node is initiated in block chain, execute synchronization The creation operation of group, so that the creation of synchronization group can create in real time according to the actual situation, has flexibility.
Illustratively, above-mentioned apparatus can also include:
Authentication module, for carrying out Authority Verification to initiation node;
Judgment module receives the synchronization group creation transactions requests, otherwise refuses institute if passed through for Authority Verification State synchronization group creation transactions requests.
Illustratively, authentication module specifically can be used for:
It is verified using founder identity of the control authority public key to synchronization group creation transactions requests.
Illustratively, transactions requests receiving module 1110 specifically can be used for:
Receive the synchronization group creation motion request that any node is initiated;It is requested according to motion, initiates motion ballot notice, Other nodes are asked to vote the creation of the synchronization group;Receive the synchronization group creation in motion request according to voting results Intelligent contract creates transactions requests as synchronization group.
It should be noted that including at least one of following in motion request: synchronous block and signature scheme.
Illustratively, above-mentioned apparatus can also include:
Preserving module is used for using synchronization signatures as Transaction Information, after recording within a block, by the index number of synchronization group According to being stored in local synchronization group concordance list.
Illustratively, above-mentioned apparatus can also include:
Enquiry module, for inquiring the index data of synchronization group in local synchronization group concordance list;Or initiate synchronization group Inquiry transaction request, request current block generate node and traverse block chain from back to front to inquire synchronization group.
Illustratively, synchronous block determining module 1120 specifically can be used for executing at least one operation:
Transactions requests are created according to synchronization group, determine current block, the synchronization block as synchronization group;
Transactions requests are created according to synchronization group, current block and preamble at least one continuous block are determined, as same The synchronization block of step group;
Transactions requests are created according to synchronization group, are determined since first block to the continuous block of current block, as same The synchronization block of step group.
The target block in transactions requests is created according to synchronization group and determines condition, determines target block, target block is made For the synchronization block of synchronization group.
Wherein, target block determines that condition may include following at least one: setting the block of serial number;Including setting affairs The block of data;It sets block and generates the block that node generates.
Illustratively, synchronization signatures determining module 1130 specifically can be used for executing at least one operation:
Together by the block-identified sequence string of each synchronous block, signature calculation is carried out, current creation synchronization group is formed Synchronization signatures;
Block-identified by each synchronous block establishes Mei Keer tree, using the root of Mei Keer tree as synchronization signatures;
The block head data of each synchronous block are signed to form son signature, plum is established using each height signature Ke Er tree, using the root of Mei Keer tree as synchronization signatures;
According to the synchronization block of current creation synchronization group and the synchronization signatures of at least one existing synchronization group, carry out Signature calculation forms the synchronization signatures of current creation synchronization group.
Illustratively, synchronization signatures determining module 1130 can be also used for:
According to synchronous block and the initiation node identification of initiation synchronization group creation, the synchronization signatures of synchronization group are determined.
Illustratively, synchronization signatures determining module 1130 can be also used for:
According to synchronous block and related information, determine the synchronization signatures of synchronization group, wherein related information include it is following at least One: founder's information and creation time information.
Illustratively, logging modle 1140 is specifically used for:
Node is generated using synchronization signatures as Transaction Information by current block, is recorded in current block;Proparea will be worked as Block is sent to other nodes and is verified.
Embodiment 12
Figure 12 is a kind of structural schematic diagram of the data processing equipment for block chain that the embodiment of the present invention 12 provides, the dress It sets and is configured in block chain node, the data verification method of block chain provided by any embodiment of the invention can be performed, have The standby corresponding functional module of execution method and beneficial effect.As shown in figure 12, which includes:
Transactions requests initiation module 1210, if initiating synchronization group creation affairs for generating synchronization group use demand Request;
Transactions requests transmission module 1220 is transmitted for synchronization group to be created transactions requests to block chain network, with request Current block generates node and is handled according to synchronization group creation transactions requests, determines the synchronization block and root that synchronization group includes The synchronization signatures that synchronization group is determined according to synchronous block, using synchronization signatures as Transaction Information, record is within a block.
Technical solution provided in an embodiment of the present invention, technical solution provided in an embodiment of the present invention, any in block chain Node can be sent to block chain network in real time when needing to carry out synchronous block data, verifying or inquiry etc. using synchronization group Synchronization group creates transactions requests, to request current block to generate the creation operation that node executes synchronization group, so that the wound of synchronization group Build to create in real time according to the actual situation, have flexibility.
Illustratively, synchronization group use demand includes: that block synchronisation requirement, block data query demand or block data are tested Card demand.
Illustratively, transactions requests initiation module 1210 can be used for:
Using synchronization group creation transactions requests as intelligent contract, carries and initiated in synchronization group creation motion request.
Embodiment 13
Figure 13 is a kind of structural schematic diagram for equipment that the embodiment of the present invention 13 provides.Figure 13, which is shown, to be suitable for being used in fact The block diagram of the example devices 12 of existing embodiment of the present invention.The equipment 12 that Figure 13 is shown is only an example, should not be to this The function and use scope of inventive embodiments bring any restrictions.Equipment 12 typically undertakes block chain network nodal function Calculate equipment.
As shown in figure 13, equipment 12 is showed in the form of universal computing device.If 12 component can include but is not limited to: One or more processor or processing unit 16, system storage 28 connect different system components (including system storage 28 and processing unit 16) bus 18.
Bus 18 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts For example, these architectures include but is not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC) Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Equipment 12 typically comprises a variety of computer system readable media.These media can be it is any can be by equipment 12 The usable medium of access, including volatile and non-volatile media, moveable and immovable medium.
System storage 28 may include the computer system readable media of form of volatile memory, such as arbitrary access Memory (RAM) 30 and/or cache memory 32.Equipment 12 may further include it is other it is removable/nonremovable, Volatile/non-volatile computer system storage medium.Only as an example, storage system 34 can be used for reading and writing irremovable , non-volatile magnetic media (Figure 13 do not show, commonly referred to as " hard disk drive ").Although being not shown in Figure 13, can provide Disc driver for being read and write to removable non-volatile magnetic disk (such as " floppy disk "), and to removable anonvolatile optical disk The CD drive of (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, each driver can To be connected by one or more data media interfaces with bus 18.System storage 28 may include that at least one program produces Product, the program product have one group of (for example, at least one) program module, these program modules are configured to perform of the invention each The function of embodiment.
Program/utility 40 with one group of (at least one) program module 42 can store and store in such as system In device 28, such program module 42 includes but is not limited to operating system, one or more application program, other program modules And program data, it may include the realization of network environment in each of these examples or certain combination.Program module 42 Usually execute the function and/or method in embodiment described in the invention.
Equipment 12 can also be communicated with one or more external equipments 14 (such as keyboard, sensing equipment, display 24 etc.), Can also be enabled a user to one or more equipment interacted with the equipment 12 communication, and/or with enable the equipment 12 with One or more of the other any equipment (such as network interface card, modem etc.) communication for calculating equipment and being communicated.It is this logical Letter can be carried out by input/output (I/O) interface 22.Also, equipment 12 can also by network adapter 20 and one or The multiple networks of person (such as local area network (LAN), wide area network (WAN) and/or public network, such as internet) communication.As shown, Network adapter 20 is communicated by bus 18 with other modules of equipment 12.It should be understood that although not shown in the drawings, can combine Equipment 12 use other hardware and/or software module, including but not limited to: microcode, device driver, redundant processing unit, External disk drive array, RAID system, tape drive and data backup storage system etc..
Processing unit 16 by the program that is stored in system storage 28 of operation, thereby executing various function application and Data processing, such as realize the data processing method of block chain provided by the embodiment of the present invention.
Embodiment 14
The embodiment of the present invention 14 additionally provides a kind of computer readable storage medium, is stored thereon with computer program, The program can realize the data processing method of block chain described in above-described embodiment when being executed by processor.This is computer-readable to deposit Storage media can be configured on block chain node.
The computer storage medium of the embodiment of the present invention, can be using any of one or more computer-readable media Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or Device, or any above combination.The more specific example (non exhaustive list) of computer readable storage medium includes: tool There are electrical connection, the portable computer diskette, hard disk, random access memory (RAM), read-only memory of one or more conducting wires (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD- ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage Medium can be any tangible medium for including or store program, which can be commanded execution system, device or device Using or it is in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for By the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited In wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++, Further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion Divide and partially executes or executed on a remote computer or server completely on the remote computer on the user computer.? Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as mentioned using Internet service It is connected for quotient by internet).
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (17)

1. a kind of data processing method of block chain, which is characterized in that be applied to block chain node, which comprises
It receives the synchronization group that any node is initiated and creates transactions requests;
Transactions requests are created according to the synchronization group, determine at least one block, the synchronization block as the synchronization group;
The synchronization signatures of the synchronization group are determined according to the synchronous block;
Using the synchronization signatures as Transaction Information, record is within a block.
2. the method according to claim 1, wherein receiving the synchronization group that any node is initiated creates transactions requests Later, further includes:
Authority Verification is carried out to node is initiated;
If Authority Verification passes through, receive the synchronization group creation transactions requests, otherwise refuses the synchronization group creation affairs Request.
3. according to the method described in claim 2, it is characterized in that, including: to node progress Authority Verification is initiated
It is verified using founder identity of the control authority public key to synchronization group creation transactions requests.
4. the method according to claim 1, wherein receiving the synchronization group that any node is initiated creates transactions requests Include:
Receive the synchronization group creation motion request that any node is initiated;
It is requested according to the motion, initiates motion ballot notice, it is desirable that other nodes carry out ballot table to the creation of the synchronization group Certainly;
Receive the synchronization group in motion request according to voting results and create intelligent contract, is asked as synchronization group creation affairs It asks.
5. according to the method described in claim 4, it is characterized in that, including at least one of following in motion request: synchronous Block and signature scheme.
6. the method according to claim 1, wherein being recorded in area using the synchronization signatures as Transaction Information After in block, further includes:
The index data of synchronization group is stored in local synchronization group concordance list.
7. being determined at least the method according to claim 1, wherein creating transactions requests according to the synchronization group The operation of one block, the synchronization block as the synchronization group includes following at least one:
Transactions requests are created according to the synchronization group, determine current block, the synchronization block as the synchronization group;
Transactions requests are created according to the synchronization group, current block and preamble at least one continuous block are determined, as institute State the synchronization block of synchronization group;
Transactions requests are created according to the synchronization group, are determined since first block to the continuous block of current block, as institute State the synchronization block of synchronization group;
The target block in transactions requests is created according to the synchronization group and determines condition, determines target block, target block is made For the synchronization block of synchronization group.
8. the method according to the description of claim 7 is characterized in that the target block determines that condition includes following at least one Kind:
Set the block of serial number;
Block including setting Transaction Information;
It sets block and generates the block that node generates.
9. the method according to claim 1, wherein determining the synchronization of the synchronization group according to the synchronous block Signature includes following at least one:
Together by the block-identified sequence string of each synchronous block, signature calculation is carried out, the same of current creation synchronization group is formed Step signature;
Block-identified by each synchronous block establishes Mei Keer tree, using the root of Mei Keer tree as synchronization signatures;
The block head data of each synchronous block are signed to form son signature, Mei Keer is established using each height signature Tree, using the root of Mei Keer tree as synchronization signatures;
According to the synchronization block of current creation synchronization group and the synchronization signatures of at least one existing synchronization group, sign It calculates, forms the synchronization signatures of current creation synchronization group.
10. the method according to claim 1, wherein determining the same of the synchronization group according to the synchronous block Step is signed
According to the synchronous block and the initiation node identification of initiation synchronization group creation, the synchronous label of the synchronization group are determined Name.
11. a kind of data processing method of block chain, which is characterized in that be applied to block chain node, which comprises
If generating synchronization group use demand, synchronization group creation transactions requests are initiated;
The synchronization group is created transactions requests to transmit to block chain network, to request current block to generate node according to described same Step group creation transactions requests are handled, and determine synchronization block that synchronization group includes and described in determining according to the synchronous block The synchronization signatures of synchronization group, using the synchronization signatures as Transaction Information, record is within a block.
12. according to the method for claim 11, which is characterized in that synchronization group use demand includes: block synchronisation requirement, area Block data query requirements or block data verify demand.
13. according to the method for claim 11, which is characterized in that initiating synchronization group creation transactions requests includes:
Using synchronization group creation transactions requests as intelligent contract, carries and initiated in synchronization group creation motion request.
14. a kind of data processing equipment of block chain, which is characterized in that be configured in block chain node, described device includes:
Transactions requests receiving module, the synchronization group for receiving any node initiation create transactions requests;
Synchronous block determining module determines at least one block, as described for creating transactions requests according to the synchronization group The synchronization block of synchronization group;
Synchronization signatures determining module, for determining the synchronization signatures of the synchronization group according to the synchronous block;
Logging modle, for using the synchronization signatures as Transaction Information, record to be within a block.
15. a kind of data processing equipment of block chain, which is characterized in that be configured in block chain node, described device includes:
Transactions requests initiation module, if initiating synchronization group creation transactions requests for generating synchronization group use demand;
Transactions requests transmission module is transmitted for the synchronization group to be created transactions requests to block chain network, current to request Block generates node and is handled according to synchronization group creation transactions requests, determines the synchronization block and root that synchronization group includes Determine that the synchronization signatures of the synchronization group are recorded in block using the synchronization signatures as Transaction Information according to the synchronous block In.
16. a kind of equipment, which is characterized in that the equipment includes:
One or more processors;
Storage device, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real The now data processing method or realization of the block chain as described in any in claim 1-10
Realize the data processing method of the block chain as described in any in claim 11-13.
17. a kind of medium, is stored thereon with computer program, which is characterized in that realize when the program is executed by processor as weighed Benefit requires the data processing method of any block chain in 1-10 or realizes as described in any in claim 11-13 The data processing method of block chain.
CN201811089410.2A 2018-09-18 2018-09-18 Data processing method, device, equipment and medium for block chain Active CN109347803B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811089410.2A CN109347803B (en) 2018-09-18 2018-09-18 Data processing method, device, equipment and medium for block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811089410.2A CN109347803B (en) 2018-09-18 2018-09-18 Data processing method, device, equipment and medium for block chain

Publications (2)

Publication Number Publication Date
CN109347803A true CN109347803A (en) 2019-02-15
CN109347803B CN109347803B (en) 2021-08-17

Family

ID=65306057

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811089410.2A Active CN109347803B (en) 2018-09-18 2018-09-18 Data processing method, device, equipment and medium for block chain

Country Status (1)

Country Link
CN (1) CN109347803B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109951488A (en) * 2019-03-27 2019-06-28 百度在线网络技术(北京)有限公司 Service implementing method, device, equipment and the storage medium of content distributing network
CN110377401A (en) * 2019-07-17 2019-10-25 江苏满运软件科技有限公司 Transactions requests processing method, device, server and storage medium based on IDEA
CN111126958A (en) * 2019-12-23 2020-05-08 腾讯科技(深圳)有限公司 Schedule creating method, schedule creating device, schedule creating equipment and storage medium
CN111371557A (en) * 2020-02-26 2020-07-03 百度在线网络技术(北京)有限公司 Block chain data processing method and device, electronic equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180115413A1 (en) * 2016-10-24 2018-04-26 Mastercard International Incorporated Method and system for fast tracking navigation of blockchains via data manipulation
CN108023896A (en) * 2017-12-28 2018-05-11 江苏通付盾科技有限公司 Block synchronous method and system
CN108234134A (en) * 2017-12-28 2018-06-29 江苏通付盾科技有限公司 Block synchronous method and system
KR20180086679A (en) * 2017-01-23 2018-08-01 주식회사 데일리인텔리전스 System and method for authenticating users and synchronizing blocks using a block-chain network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180115413A1 (en) * 2016-10-24 2018-04-26 Mastercard International Incorporated Method and system for fast tracking navigation of blockchains via data manipulation
KR20180086679A (en) * 2017-01-23 2018-08-01 주식회사 데일리인텔리전스 System and method for authenticating users and synchronizing blocks using a block-chain network
CN108023896A (en) * 2017-12-28 2018-05-11 江苏通付盾科技有限公司 Block synchronous method and system
CN108234134A (en) * 2017-12-28 2018-06-29 江苏通付盾科技有限公司 Block synchronous method and system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109951488A (en) * 2019-03-27 2019-06-28 百度在线网络技术(北京)有限公司 Service implementing method, device, equipment and the storage medium of content distributing network
CN109951488B (en) * 2019-03-27 2022-01-07 百度在线网络技术(北京)有限公司 Method, device, equipment and storage medium for realizing service of content distribution network
CN110377401A (en) * 2019-07-17 2019-10-25 江苏满运软件科技有限公司 Transactions requests processing method, device, server and storage medium based on IDEA
CN110377401B (en) * 2019-07-17 2022-10-04 江苏满运软件科技有限公司 Transaction request processing method, device, server and storage medium based on IDEA
CN111126958A (en) * 2019-12-23 2020-05-08 腾讯科技(深圳)有限公司 Schedule creating method, schedule creating device, schedule creating equipment and storage medium
CN111126958B (en) * 2019-12-23 2023-09-26 腾讯科技(深圳)有限公司 Schedule creation method, schedule creation device, schedule creation equipment and storage medium
CN111371557A (en) * 2020-02-26 2020-07-03 百度在线网络技术(北京)有限公司 Block chain data processing method and device, electronic equipment and medium
CN111371557B (en) * 2020-02-26 2024-01-23 百度在线网络技术(北京)有限公司 Block chain data processing method and device, electronic equipment and medium

Also Published As

Publication number Publication date
CN109347803B (en) 2021-08-17

Similar Documents

Publication Publication Date Title
CN109361734A (en) A kind of data processing method, device, equipment and the medium of block chain
CN109587238B (en) Data processing and synchronizing method, device, equipment and storage medium of block chain
CN109241192A (en) The data modification and block verification method, device, equipment and medium of block chain
CN109347803A (en) A kind of data processing method, device, equipment and the medium of block chain
CN109542888B (en) Data modification and synchronization method, device, equipment and storage medium of block chain
CN109327528B (en) Node management method and device based on block chain
CN108664223B (en) Distributed storage method and device, computer equipment and storage medium
CN108961052B (en) Verification method, storage method, device, equipment and medium of block chain data
CN108648084B (en) Data processing method, device and equipment of block chain network and storage medium
CN109213901A (en) A kind of method of data synchronization, device, equipment and the medium of block chain
CN108769171B (en) Copy keeping verification method, device, equipment and storage medium for distributed storage
CN109684414A (en) Synchronous method, device, equipment and the storage medium of block data
CN108923908A (en) authorization processing method, device, equipment and storage medium
CN109981297A (en) Block chain processing method, device, equipment and storage medium
CN109344631A (en) The data modification and block verification method, device, equipment and medium of block chain
CN108260015B (en) Voting data processing method and device and electronic equipment
CN109345243A (en) A kind of data processing of block chain and verification method, device, equipment and medium
CN110138805B (en) Equipment authentication method and device and computer readable storage medium
CN109101664A (en) A kind of data transmission method, device, equipment and the medium of lightweight node
CN109254999A (en) A kind of data processing method, device, equipment and the medium of block chain
KR102125784B1 (en) Verification method of voice recording data using blockchain
CN109918451B (en) Database management method and system based on block chain
CN109936539B (en) Account information transmission method
CN112182009A (en) Data updating method and device of block chain and readable storage medium
CN109067849A (en) Method of data synchronization based on block

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