Nothing Special   »   [go: up one dir, main page]

CN108921556A - A kind of verification method, device, equipment and the storage medium of block chain - Google Patents

A kind of verification method, device, equipment and the storage medium of block chain Download PDF

Info

Publication number
CN108921556A
CN108921556A CN201810709883.1A CN201810709883A CN108921556A CN 108921556 A CN108921556 A CN 108921556A CN 201810709883 A CN201810709883 A CN 201810709883A CN 108921556 A CN108921556 A CN 108921556A
Authority
CN
China
Prior art keywords
block
node
data
verified
transaction
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
CN201810709883.1A
Other languages
Chinese (zh)
Other versions
CN108921556B (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.)
Shanghai Da Jia Ying Mdt Infotech Ltd
Original Assignee
Shanghai Da Jia Ying Mdt Infotech 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 Shanghai Da Jia Ying Mdt Infotech Ltd filed Critical Shanghai Da Jia Ying Mdt Infotech Ltd
Priority to CN201810709883.1A priority Critical patent/CN108921556B/en
Publication of CN108921556A publication Critical patent/CN108921556A/en
Application granted granted Critical
Publication of CN108921556B publication Critical patent/CN108921556B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/389Keeping log of transactions for guaranteeing non-repudiation of a transaction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • 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

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Computer Security & Cryptography (AREA)
  • Finance (AREA)
  • Computing Systems (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention discloses verification method, device, equipment and the storage medium of a kind of block chain, the method includes:Block verifies node and receives the block to be verified that block generates node transmission, and it is the node elected by setting common recognition mechanism that the block, which generates node,;The block verifying node carries out data verification to the Transaction Information in the block to be verified according to the data source identification information of Transaction Information in the block to be verified;Wherein, it is associated with historical transactions data to be used to indicate Transaction Information for the data source identification information of the Transaction Information.The technical solution of the embodiment of the present invention can effectively avoid wrong data that block chain is added, and then guarantee the validity of data in block chain network.

Description

A kind of verification method, device, equipment and the storage medium of block chain
Technical field
The present embodiments relate to block chain technical field more particularly to a kind of verification methods of block chain, device, equipment And storage 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 distributed node system, the power of currently processed data is obtained by node competition, generates and saves as block Point;After the block of generation is using the verifying confirmation of other nodes, then stored.Above-mentioned operating mechanism to remember in block chain Data of the record in block are almost impossible to be tampered.
In the prior art, block chain master is to solve the trust and safety problem of transaction, so one of them is significant special Point is distributed account book.Specifically, the node in block catenary system, by the transaction request or certain amount in certain time Transaction request, consign to the current block with book keeping operation power and generate node;Block generates node and carries out such as to transaction request The processing such as information conversion, Format adjusting or code operation, form account book data, multiple account book data are then packed into area Block;Block generates node and block is sent to other nodes in block catenary system, other nodes carry out same treatment process, Whether the block obtained with verification processing result is consistent with the block received, approves the block if consistent and stores, otherwise The block is not approved and is abandoned.Block generates node and mainly passes through common recognition algorithm generation, and existing common recognition algorithm mainly includes digging Mine algorithm and the non-common recognition algorithm two major classes for digging mine.
In the implementation of the present invention, there are following defects for the discovery prior art by inventor:
It is non-dig mine common recognition algorithm in, if source data before block chain is added if having existed mistake, can Cause the authenticity of follow-up data to leave a question open, while wasting the memory space of node, generates a large amount of meaningless blocks, and having can It can lead to " honeysuckle " problem.
Summary of the invention
The embodiment of the present invention provides verification method, device, equipment and the storage medium of a kind of block chain, effectively avoids mistake Block chain is added in data, and then guarantees the validity of data in block chain network.
In a first aspect, the embodiment of the invention provides a kind of verification methods of block chain, including:
Block verifies node and receives the block to be verified that block generates node transmission, and it is by setting that the block, which generates node, Surely the node that common recognition mechanism elects;
Block verifying node according to the data source identification information of Transaction Information in the block to be verified, to it is described to The Transaction Information verified in block carries out data verification;
Wherein, it is related to historical transactions data to be used to indicate Transaction Information for the data source identification information of the Transaction Information Connection.
Second aspect, the embodiment of the invention also provides a kind of verification methods of block chain, including:
Block generates node and generates the block verifying node that block to be verified is sent to block chain network, and the block generates Node is the node elected by setting common recognition mechanism;
The block generates node and obtains the block verifying node according to the number of Transaction Information in the block to be verified According to source identification information to the block verification result of the block to be verified;
Wherein, it is related to historical transactions data to be used to indicate Transaction Information for the data source identification information of the Transaction Information Connection.
The third aspect, the embodiment of the invention also provides a kind of verifying devices of block chain, are configured at block verifying node, Including:
Block reception module generates the block to be verified that node is sent for receiving block, and the block generates node and is The node elected by setting common recognition mechanism;
Data Verification module, for the data source identification information according to Transaction Information in the block to be verified, to described The Transaction Information in block to be verified carries out data verification;
Wherein, it is related to historical transactions data to be used to indicate Transaction Information for the data source identification information of the Transaction Information Connection.
Fourth aspect, the embodiment of the invention also provides a kind of verifying devices of block chain, are configured at block and generate node, Including:
Block generation module, the block that block chain network is sent to for generating block to be verified verify node, the area It is the node elected by setting common recognition mechanism that block, which generates node,;
As a result module is obtained, for obtaining the block verifying node according to the number of Transaction Information in the block to be verified According to source identification information to the block verification result of the block to be verified;
Wherein, it is related to historical transactions data to be used to indicate Transaction Information for the data source identification information of the Transaction Information Connection.
5th aspect, the embodiment of the invention also provides a kind of computer equipment, the computer 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 processing Device realizes the verification method of any block chain in first aspect.
6th aspect, the embodiment of the invention also provides a kind of computer equipment, the computer 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 processing Device realizes the verification method of any block chain in second aspect.
7th aspect, the embodiment of the invention also provides a kind of computer storage mediums, are stored thereon with computer program, The verification method of any block chain in first aspect is realized when the program is executed by processor.
Eighth aspect, the embodiment of the invention also provides a kind of computer storage mediums, are stored thereon with computer program, The verification method of any block chain in second aspect is realized when the program is executed by processor.
The embodiment of the present invention by block verify node receive block generate node send block to be verified, and according to The data source identification information for verifying Transaction Information in block carries out data verification to the Transaction Information in block to be verified.This hair Block generates node and is generated by setting common recognition mechanism in bright embodiment, wherein setting common recognition does not include digging mine algorithm, Neng Gouyou Effect solves the problems, such as to avoid wrong data that block is added present in the existing block chain using non-digging mine common recognition algorithm " honeysuckle " Chain, and then guarantee the validity of data in block chain network.
Detailed description of the invention
Fig. 1 is a kind of flow chart of the verification method for block chain that the embodiment of the present invention one provides;
Fig. 2 is a kind of flow chart of the verification method of block chain provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of flow chart of the verification method for block chain that the embodiment of the present invention three provides;
Fig. 4 is a kind of schematic diagram of the verifying device for block chain that the embodiment of the present invention four provides;
Fig. 5 is a kind of schematic diagram of the verifying device for block chain that the embodiment of the present invention five provides;
Fig. 6 is a kind of structural schematic diagram for computer equipment that the embodiment of the present invention six provides.
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 only the parts related to the present invention are shown for ease of description, in attached drawing rather than Full content.It should be mentioned that some exemplary embodiments are described before exemplary embodiment is discussed in greater detail At the processing or method described as flow chart.Although operations (or step) are described as the processing of sequence by flow chart, It is that many of these operations can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of operations can be by again It arranges.The processing can be terminated when its operations are completed, it is also possible to have the additional step being not included in attached drawing. The processing can correspond to method, function, regulation, subroutine, subprogram etc..
Embodiment one
Fig. 1 is a kind of flow chart of the verification method for block chain that the embodiment of the present invention one provides, and the present embodiment is applicable The case where node carries out data verification to the Transaction Information in block to be verified is verified in block, this method can be by block chain Device is verified to execute, which can be realized by the mode of software and/or hardware, and can generally be integrated in computer equipment In, which can be the equipment for undertaking block chain node.Correspondingly, as shown in Figure 1, this method includes following behaviour Make:
S110, block verifying node receive block and generate the block to be verified that node is sent, and the block generates node and is The node elected by setting common recognition mechanism.
Wherein, block chain network can be publicly-owned chain or alliance's chain.Block chain network may include basic chain, i.e. main chain, It may include simultaneously side chain, subchain or lightning network.Block verifying node, which can be, participates in block generation node transmission block Other block chain network nodes of verification process.Block, which generates node and can be, possesses block processes permission in block chain network Node.The common recognition mechanism of mine can be dug with right and wrong by setting common recognition mechanism, such as PBFT (Practical Byzantine Fault Tolerance, practical Byzantine failure tolerance algorithm) or Raft algorithm.
In embodiments of the present invention, the block generation node for possessing block processes permission can be from the caching of block chain network Area obtains transactions requests, and after handling transactions requests, is packaged and is beaten according to transactions requests and obtained Transaction Information Packet generates block to be verified.Wherein, transactions requests can for the transaction request that occurs in a period of time in block chain network or Other requests to be processed.Block generates node can be by encrypted communication to be verified into block chain network, so that block is verified Node verifies block to be verified.Meanwhile block generation node can also participate in the verification process of block to be verified.
S120, block verifying node are right according to the data source identification information of Transaction Information in the block to be verified The Transaction Information in the block to be verified carries out data verification.
Wherein, it is related to historical transactions data to be used to indicate Transaction Information for the data source identification information of the Transaction Information Connection.
Wherein, data source identification information can be the information in Identifying transactions request source.For example, data source identification information can To be the unique number information in transactions requests source.Wherein, the corresponding historical transactions data in transactions requests source can be block Relative recording of each node in the processed transactions requests being locally stored in chain network.
It in embodiments of the present invention, can be according to block to be verified after block verifying node receives block to be verified The data source identification information of middle Transaction Information carries out data verification to it.It should be noted that in block chain network, due to net Network delay or other factors tend to lead to the problem of " honeysuckle ".Wherein, " honeysuckle " can be same part data for complete two The different affairs of kind.For example, " honeysuckle " can be same fund for two different transaction.In embodiments of the present invention, Since every Transaction Information all only unique data source identification information is corresponding, and the generation and history of data source identification information The historical transactions data of Transaction Information are associated.Therefore, according to the data source identification information of Transaction Information in block to be verified Transaction Information carry out data verification can effectively prevent wrong data be added block chain network in, and then avoid generate " honeysuckle " Problem.
The embodiment of the present invention by block verify node receive block generate node send block to be verified, and according to The data source identification information for verifying Transaction Information in block carries out data verification to the Transaction Information in block to be verified.This hair Block generates node and is generated by setting common recognition mechanism in bright embodiment, wherein setting common recognition does not include digging mine algorithm, Neng Gouyou Effect solves the problems, such as to avoid wrong data that block is added present in the existing block chain using non-digging mine common recognition algorithm " honeysuckle " Chain, and then guarantee the validity of data in block chain network.
Embodiment two
Fig. 2 is a kind of flow chart of the verification method of block chain provided by Embodiment 2 of the present invention, and the present embodiment is with above-mentioned It is embodied based on embodiment, in the present embodiment, gives block verifying node according to thing in the block to be verified The data source identification information for data of being engaged in, to the Transaction Information progress data verification in the block to be verified, and according to The more new information of data identification information carries out the specific implementation of data update.Correspondingly, as shown in Fig. 2, the present embodiment Method may include:
S210, block verifying node receive block and generate the block to be verified that node is sent, and the block generates node and is The node elected by setting common recognition mechanism.
S220, block verifying node are right according to the data source identification information of Transaction Information in the block to be verified The Transaction Information in the block to be verified carries out data verification.
Correspondingly, S220 can specifically include following steps:
S221, block verifying node are if it is determined that there is no data source identifications to believe in currently processed Transaction Information The currently processed Transaction Information is then sent to certification node and authenticated by breath.
Wherein, certification node can be in block chain network for authenticating to the authenticity and validity of transactions requests Node.Authenticating node can be in the side chain of block chain network, subchain or lightning network to the related data in transactions requests Source-information authenticated.Authenticating node can be odd number, and verify node return authentication result to block.It needs to illustrate , representative and authoritative node can be selected as certification node in block chain network, and authenticate node It is not involved in the verification process of block to be verified, is merely responsible for authenticating the related data of transactions requests.
In embodiments of the present invention, if block verifies node when verifying to currently processed Transaction Information, hair Now corresponding data source identification information is not present in the Transaction Information, then needs for currently processed Transaction Information to be sent to certification section Point is authenticated.Optionally, node can be generated by block send the currently processed affairs for needing to authenticate to certification node Data.
The authentication result that S222, block verifying node return to the certification node, as to described currently processed Transaction Information authentication result.
Correspondingly, certification node is to side chain of the currently processed Transaction Information to be certified in block chain network, subchain Or lightning network carries out the certification of data validity.The authentication result of certification node may include authenticating to pass through and authenticate not passing through Two kinds of situations.After block verifying node receives the authentication result of certification node feeding back, according to authentication result to currently processed Transaction Information is verified.
S223, block verifying node if it is determined that there are data source identification information in currently processed Transaction Information, Data source identification information is then extracted in the data content of currently processed Transaction Information.
Wherein, data source identification information can be processed affairs included in currently processed Transaction Information The corresponding data identification information of data, i.e. historical data identification information.
S224, block verifying node according to the data source identification information of extraction, obtain with it is described currently processed The associated historical transactions data of Transaction Information as verify data, and according to the verify data, to described currently processed Transaction Information is verified.
If finding the number of transactions correspondingly, block verifies node when verifying to currently processed Transaction Information According to there are corresponding data source identification information, then authenticated it is not necessary that currently processed Transaction Information is sent to certification node, Can data source identification information to be extracted in the data content of the currently processed Transaction Information of direct basis, in the local database Corresponding historical transactions data are searched as verify data, to realize the verifying to currently processed Transaction Information.
S230, block verifying node are according to the data verification to Transaction Information in the block to be verified as a result, obtaining To the block verification result to the block to be verified, and the block verification result is fed back into the block and generates node, So that the block generates node and determines whether the block to be verified passes through common recognition.
Wherein, block verification result can be block to be verified be verified or block to be verified verifying do not pass through.
Correspondingly, after each block verifying node completes verifying to every Transaction Information in block to be verified, formation pair The block verification result answered.The block verification result that block verifying node can be obtained is passed in block chain network It is defeated, node is generated to be sent to block.
S240, block verifying node receive the common recognition of the block generation node feeding back by response, or simultaneously Receive the update result for the data identification information of target transaction data in the block to be verified;The data identification information More new information by certification node generate.
Wherein, common recognition can be block by response and generate node block to be verified according to determined by block verification result Common recognition result.Such as in the common recognition algorithm based on Raft, set when the ratio being verified in block verification result is more than or equal to When determining threshold value, such as (f+1)/(2f+1), then block, which generates node and can be generated, shows that block to be verified is logical by the common recognition of common recognition Cross response.
In embodiments of the present invention, when the common recognition that block verifying node receives block generation node feeding back passes through response Afterwards, it is determined that block to be verified passes through common recognition.Meanwhile block verifying node can also receive block and generate the to be tested of node transmission Demonstrate,prove the update result of the data identification information of target transaction data in block.
S250, if receive it is described update as a result, if block verifying node according to the data identification information more New information is updated the Transaction Information in the block to be verified, while to the historical transactions data being locally stored It is updated, and the block to be verified is added in block chain.
Correspondingly, block verifying node gets the data identification information for authenticating node for target transaction data feedback After more new information, the Transaction Information that can be treated according to the more new information of data identification information in verifying block is updated, and Updated block to be verified is added to the tail portion of block chain, to complete uplink operation.
It should be noted that block verifies node in addition to that can treat verifying area according to the more new information of data identification information The Transaction Information of block is updated, can also according to data identification information more new information to the historical transactions data being locally stored It is updated.After the completion of update, block verifying node not will be deleted the historical transactions data being locally stored.The history being locally stored Transaction Information can be used for the processing of subsequent transaction request.
In an alternate embodiment of the present invention where, the Transaction Information includes:Data of financial transaction, the data source mark Knowing information includes:The number of historical financial transaction data, i.e. historical data identification information;The block verifying node is according to extraction The data source identification information, obtain with the associated historical transactions data of the currently processed Transaction Information as verifying number According to, and according to the verify data, the currently processed Transaction Information is verified, including:The block verifies node According to the number of the historical financial transaction data, historical financial corresponding with the number of the historical financial transaction data is obtained Transaction data, the block verifying node obtain the whole for being transferred to account corresponding with the historical financial transaction data and are transferred to volume Degree produces the total value of account as currently processed data of financial transaction;It is currently processed described in the block verifying node verification At least one in data of financial transaction produce account the summation for producing amount whether with the currently processed financial transaction number Match according to the total value for producing account;If so, the block verifying node determines the currently processed data of financial transaction Pass through verifying.
Wherein, financial transaction includes but is not limited to funds transaction and share exchange etc..The number of data of financial transaction can be with It is the number of arbitrary data structure type, is specifically as follows the character string including node identification, such as A0001, it is of course also possible to Random number is added in number, avoids generating repetition number, such as number can be Ar0001, wherein r is random number, the random number It is generated by certification node, the digit of random number can be set according to actual needs, and the random number generated every time is different from, and should Ar in number is only as mark, without counting, is counted by 0001 in number as starting number, such as work as r=123 When, the count range of initial number A1230001 is A1230001-A1239999.The embodiment of the present invention is not handed over realization finance The method and form of the number of easy data are defined.
In embodiments of the present invention, optionally, it can be handled financial transaction as transactions requests.Specifically, area Block verifies node and obtains associated historical transactions data to currently processed Transaction Information progress according to historical data identification information It, can be using the number of historical financial transaction data as historical data identification information, and by historical financial transaction data when verifying The corresponding historical financial transaction data of number as associated historical transactions data.Block verifies node and trades to current financial When data are verified, the corresponding whole for being transferred to account of associated historical financial transaction data can be transferred to amount as working as The data of financial transaction of pre-treatment produces the total value of account, and verifies at least one in currently processed data of financial transaction and produce The total value whether summation for producing amount of account produces account with currently processed data of financial transaction matches, and matches then table Bright currently processed data of financial transaction passes through verifying;Otherwise, show that currently processed data of financial transaction is unverified.
In a specific example, block generates node can store complete finance in the local data base of oneself Transaction record, remaining node are that ordinary node namely block verify node, and block verifies node can be in oneself local data Newest financial transaction record is stored in library.Stored financial transaction record can be used as input transaction note in database It records, financial transaction record to be verified can be used as output transaction record in block.In addition to financial transaction source data, every output Transaction record all must be able to find corresponding input transaction record in the local database, the turnover of every output transaction record Spending total value must be consistent with the transaction limit total value of corresponding input transaction record.
The financial transaction record of oneself is sent in public transaction buffer area by each node, and block generates node from public affairs A plurality of financial transaction record is taken out in total transaction buffer area and is put into block to be verified, and a plurality of financial transaction record is carried out The result of Hash operation is utilized oneself private key encryption by Hash operation, and encrypted Hash result is put into together to be tested It demonstrate,proves in block, then broadcasts the block to be verified on block chain.Block generates node and participates in verifying, and block verifying node connects After receiving the block to be verified, the cryptographic Hash in the public key decryptions block to be verified of node is generated using block as a result, obtaining Hash result after decryption, then carries out Hash operation to a plurality of financial transaction record in block to be verified, and comparison operation obtains To Hash result and block in decrypt after Hash result, unanimously then think the block to be verified be by block generate node hair It is not tampered with out and in transmission process.The public key that block generates node can obtain from certification node.
Block verifying node successively detects whether every financial transaction record in block to be verified has corresponding transaction Source number.If not trading source number, this financial transaction record is sent to certification node.Node is authenticated to this Financial transaction record is authenticated, and verifies node return authentication as a result, block verifies node according to the authentication result to block It is verified.If there is transaction source number, then corresponding input is found in local database by transaction source number Transaction record, comparison input transaction record in transaction limit total value and output transaction record in transaction limit total value whether one It causes, is unanimously then verified.If all financial transaction records and output transaction record in block to be verified are verified, Block verifies node and generates the response that node return block is verified to block.Block generates node and receives a certain proportion of test After demonstrate,proving the response passed through, then determine that block common recognition to be verified passes through.Then block generate node check in block to be verified whether In the presence of the financial transaction record of not initial number, then corresponding financial transaction record is sent to certification node to apply if having Corresponding initial number, certification node, which assigns initial number to this financial transaction record and returns to block, generates node.Area The common recognition that block generates node and can pass through the financial transaction record for having initial number information and common recognition passes through response in block Broadcasted in chain, receive broadcast message block verifying node and block generate node by block to be verified without initially compiling Number financial transaction record be updated, then the block to be verified of update is added to the tail portion of block chain, to complete cochain Operation.Meanwhile each node in block chain network can also be according to the financial transaction record with initial number information to local The financial transaction record of database purchase is updated.
Specifically, can select some authoritative nodes as certification node, such as bank or transaction in block chain network Institute's node.Certification node is not involved in the verification process of block to be verified, is merely responsible for certification financial transaction record and provides number.Example As, there are node A-F, interior joint D-F is authenticates node, and node A-C is block chain node, and node A is that block is raw in block chain At node, node A-C has the local data base of oneself.Node B is by a financial transaction record { SN:, IN:1000000, quantity: 10000 T stocks, OUT:The address of node B } it is sent in public transaction buffer area, wherein SN indicates this financial transaction record Corresponding number, and the corresponding number of IN expression historical financial transaction record (when financial transaction record is initial transaction record, IN Can indicate the original asset information of current financial transaction record, i.e., data source identification information is not present in IN field at this time), number Amount can be particular transactions quantity involved in financial transaction, and OUT indicates transaction output object, and the address of node B is node B's Account, concretely random string.This financial transaction record has meant that a transaction is that node B spends 1,000,000 purchases 10,000 T stocks have been bought, have been placed in the address of node B.Block generates node A and takes out this gold from public transaction buffer area Melt transaction record, and Hash operation is carried out to this financial transaction record, the result of Hash operation is added using the private key of oneself It is close, and this financial transaction record and encrypted Hash result are put into together in block to be verified, it is then that this is to be verified Block is on block chain to all node broadcasts for participating in common recognition.After block verifying node B and C receive the block to be verified, The cryptographic Hash in the public key decryptions block to be verified of node A is generated using block as a result, Hash result after being decrypted, so Hash operation carried out to this financial transaction record in block to be verified afterwards, Hash result that comparison operation obtains and to be verified Hash result after decrypting in block unanimously then thinks that the block to be verified is to generate node by block to issue and be transmitted across It is not tampered in journey.
Further, node A-C detects this financial transaction record, detects in IN field and compiles without discovery transaction source Number, then this financial transaction record is financial transaction source data, this financial transaction record is then sent to certification node D- F.Optionally, node A can be generated by block send, certification node D-F receive after this financial transaction record side chain, The authenticity of rapid authentication this financial transaction record in subchain or lightning network.It can specifically be looked into according to the address of node B Corresponding Transaction Details are ask, generate the authentication result that node A return authentication passes through to block if query result matching.Block Generate authentication result of the node A to block verifying node B-C notice certification node.Block is verified after node B-C is checked to block It generates node and returns to the response being verified, the node A of block generation at this time judges area to be verified according to the verification result received Block passes through common recognition.Through common recognition, block is generated to whether there is in node A inspection block to be verified and not compiled initially Number financial transaction record, find this financial transaction record and by this financial transaction record to any certification node send Shen It please corresponding initial number.Certification node search to this financial transaction record that discovery is authenticated to be passed through, in being to confer to Initial number B0001 simultaneously returns to block generation node A, and block generates the financial transaction that node A will have initial number B0001 It is recorded in block chain network and is broadcasted.Node A-C will be to be verified according to the financial transaction record with initial number B0001 Financial transaction record in block is updated, i.e., by initial number B0001 assign SN field, then by block to be verified more Whole financial transaction records after new are added block chain and are stored in the local data base of oneself, realize to local data base more Newly.That is, all storing financial transaction record { SN in the local data base of node A-C at this time:B0001, IN:1000000, quantity:1 Ten thousand T stocks, OUT:The address of node B }.
Correspondingly, node B is counted automatically to SN and life when the SN of the blending transaction data stored in database is not sky The number of Cheng Xin, then by next financial transaction record { SN of generation:C0001, IN:B0001, quantity:2000 T stocks, OUT:The address of node C;SN:B0002, IN:B0001, quantity:8000 T stocks, OUT:The address of node B } be sent to it is public In transaction buffer area.This financial transaction record means that the first transaction is that 2,000 T stocks are given to node C by node B, puts In the address of node C, the second transaction is that remaining 8,000 T stock is given to oneself by node B, is placed in the address of node B. Block generate node A from taken out in public transaction buffer area be put into block after this financial transaction record is handled it is wide It broadcasts, node A-C, which is detected in the IN field of this financial transaction record, has transaction source number, then from local data base It finds the financial transaction record that number is B0001 and inputs transaction record.Node A-C is calculated in input transaction record, that is, B0001 Transaction limit total value be 10,000 T stocks, and calculate input transaction record B0001 it is corresponding all output transaction record i.e. C0001 It is 2,000 plus 8,000 T stocks i.e. 10,000 T stocks with the transaction limit total value in B0002, compares two calculated result discovery input transaction Transaction limit total value in record is consistent with the transaction limit total value in output transaction record, then generates node A to block and returns Return the response being verified.Block generates node A and receives to be verified response and then thinks that common recognition is logical more than or equal to a certain proportion of It crosses, such as receive 2f+1 node in the 3f+1 node based on PBFT algorithm be verified response, based on Raft algorithm F+1 node is received in 2f+1 node is verified response.Common recognition generates node by rear block will be by the area of common recognition Block chain is added in block, and passes through response to other blocks verifying node broadcasts common recognition (block content does not have to update at this time).Block Block chain will be added by the block of common recognition by response according to common recognition by verifying node, and respectively be carried out more to local data base Newly, corresponding financial transaction record is stored.It should be noted that block, which generates node, can store whole financial transaction notes Record, and block verifying node then can only store newest transaction record.Stored in the database of the node A of block generation at this time Financial transaction record be { SN:B0001, IN:1000000, quantity:10000 T stocks, OUT:The address of node B;SN:C0001, IN: B0001, quantity:2000 T stocks, OUT:The address of node C;SN:B0002, IN:B0001, quantity:8000 T stocks, OUT:Node B Address, the financial transaction record that stores is { SN in the database of node B and C of knowing together:C0001, IN:B0001, quantity:2000 T stock, OUT:The address of node C;SN:B0002, IN:B0001, quantity:8000 T stocks, OUT:The address of node B }.This time The financial transaction record with number that point C has had node B to be assigned according to data of financial transaction.
SN is continued with posterior nodal point B and C to count and generate new number automatically, node B is by next financial transaction record {SN:A0001, IN:B0002, quantity:1000 T stocks, OUT:The address of node A;SN:B0003, IN:B0002, quantity:7000 T Stock, OUT:The address of node B } it is sent in public transaction buffer area.This financial transaction record means the first stroke Transaction is that 1,000 T stocks are given to node A by node B, is placed in the address of node A, and the second transaction is node B by remaining 7,000 T stock is given to oneself, is placed in the address of node B.Node C is by next financial transaction record { SN:A0002, IN:C0001, Quantity:1000 T stocks, OUT:The address of node A;SN:C0002, IN:C0001, quantity:1000 T stocks, OUT:The ground of node C Location } it is sent in public transaction buffer area.This financial transaction record means that the first transaction is node C by 1,000 T strands Ticket is given to node A, is placed in the address of node A, and the second transaction is that remaining 1,000 T stock is given to oneself by node C, is placed on In the address of node C.Block generation node A takes out two financial transaction records from public transaction buffer area and is handled After generate block to be verified and broadcasted.Block verifying node first verifies the node B financial transaction record sent, detects There is transaction source number into the IN field of this financial transaction record, number is then found from local data base is The financial transaction record of B0002 inputs transaction record, and common recognition node calculates the transaction limit in input transaction record, that is, B0002 Total value is 8,000 T stocks, and the transaction limit total value calculated in corresponding output transaction record i.e. A0001 and B0003 is 1,000 plus 7 Thousand T stocks i.e. 8,000 T stocks, the transaction limit total value and output compared in two calculated result discovery input transaction records are traded Transaction limit total value in record is consistent.Block verifying node continues to verify the financial transaction record that node C is sent, and detects There is transaction source number into the IN field of this financial transaction record, is then C0001 according to number is found in library from local Financial transaction record i.e. input transaction record, block verify node calculate input transaction record, that is, C0001 in transaction limit Total value is 2,000 T stocks, and the transaction limit total value calculated in corresponding output transaction record i.e. A0002 and C0002 is 1,000 plus 1 Thousand T stocks i.e. 2,000 T stocks, the transaction limit total value and output compared in two calculated result discovery input transaction records are traded Transaction limit total value in record is consistent, then generates node A to block and returns to the response being verified, block generates node A Receive be more than or equal to it is a certain proportion of be verified response then think common recognition pass through.Common recognition generates node for block by rear block Block chain is added, and passes through response to block verifying node broadcasts common recognition (block content does not have to update at this time).Block verifying section According to common recognition block chain will be added by the block of common recognition by response in point, and is respectively updated to local data base, stores Corresponding financial transaction record.The financial transaction record stored in the local data base of the node A of block generation at this time is { SN: B0001, IN:1000000, quantity:10000 T stocks, OUT:The address of node B;SN:C0001, IN:B0001, quantity:2000 T stocks, OUT:The address of node C;SN:B0002, IN:B0001, quantity:8000 T stocks, OUT:The address of node B;SN:A0001, IN: B0002, quantity:1000 T stocks, OUT:The address of node A;SN:B0003, IN:B0002, quantity:7000 T stocks, OUT:Node B Address;SN:A0002, IN:C0001, quantity:1000 T stocks, OUT:The address of node A;SN:C0002, IN:C0001, number Amount:1000 T stocks, OUT:The address of node C }.The financial transaction record stored in the local data base of block verifying node B and C For { SN:A0001, IN:B0002, quantity:1000 T stocks, OUT:The address of node A;SN:B0003, IN:B0002, quantity:7000 T stock, OUT:The address of node B;SN:A0002, IN:C0001, quantity:1000 T stocks, OUT:The address of node A;SN: C0002, IN:C0001, quantity:1000 T stocks, OUT:The address of node C }.
In another specific example, there are node A-F in block chain, interior joint D-F is certification node, node A-C is block chain node, and node A is that block generates node, and node A-C has the local data base of oneself.Node B is by a gold Melt transaction record { SN:, IN:1000000, quantity:10000 T stocks, OUT:The address of node B } it is sent to public transaction buffer area In, block generates node A and takes out this financial transaction record from public transaction buffer area, and to this financial transaction record Hash operation is carried out, the result of Hash operation is utilized to the private key encryption of oneself, and encrypted Hash result is put into together In block to be verified, then the block to be verified is broadcasted on block chain.Node A-C detects this financial transaction record, inspection It measures without discovery transaction source number in IN field, then this financial transaction record is financial transaction source data, then crosses area Block generates node A and this financial transaction record is sent to certification node D-F.Certification node D-F receives this financial transaction note After record in side chain, subchain or lightning network rapid authentication this financial transaction record authenticity.It specifically can be according to section The corresponding Transaction Details of address lookup of point B generate node A return authentication to block if query result mismatches and do not pass through Authentication result, block generate node A to block verifying node B-C notice certification node authentication result.Block verifies node B-C generates node to block after checking and returns to the unsanctioned response of verifying, and block generates node A according to the verifying received at this time As a result judge that block to be verified does not pass through common recognition, then block generates node A and common recognition is not sent to each block verifying by response Node B-C.Block verifying node B-C does not pass through response according to the common recognition received and judges that block to be verified does not pass through common recognition, then Each node in block chain network abandons block to be verified, and re-executes the process that block is generated, verifies and known together.
In another specific example, there are node A-F in block chain, interior joint D-F is certification node, node A-C is block chain node, and node A is that block generates node, and node A-C has the local data base of oneself.Node B is by a gold Melt transaction record { SN:A0001, IN:B0002, quantity:1000 T stocks, OUT:The address of node A;SN:B0003, IN:B0002, Quantity:7000 T stocks, OUT:The address of node B;SN:C0001, IN:B0002, quantity:3000 T stocks, OUT:The ground of node C Location;SN:B0004, IN:B0002, quantity:5000 T stocks, OUT:The address of node B } it is sent in public transaction buffer area, 8,000 T stocks in i.e. at this time node B have been done trades twice, and block generates node A and takes out this from public transaction buffer area Financial transaction record, and Hash operation is carried out to a plurality of financial transaction record, the result of Hash operation is utilized to the private of oneself Key encryption, and encrypted Hash result is put into together in block to be verified, then by the block to be verified on block chain Broadcast.Node A-C detects this financial transaction record, detects in IN field there is transaction source number, then from local number Transaction record is inputted according to the financial transaction record that number is B0002 is found in library, common recognition node calculates input transaction record and is Total transaction amount in B0002 is 8,000 T stocks, and is calculated in output transaction record i.e. A0001, B0003, C0002 and B0004 Total transaction amount is 1,000 plus 7,000 plus 3,000 plus 5,000 T stocks i.e. 10,000 6 thousand T stocks, compares two calculated result discovery input transaction notes Total transaction amount in record and the total transaction amount in output transaction record are inconsistent.Block verifies node B-C and generates node to block It returns and verifies unsanctioned response, the node A of block generation at this time judges that block to be verified does not lead to according to the verification result received Common recognition is crossed, then block generates node A and common recognition is not sent to each block verifying node B-C by response.Block verifies node B-C Do not pass through response according to the common recognition received and judge that block to be verified does not pass through common recognition, then each node in block chain network is abandoned Block to be verified, and the process that block is generated, verifies and known together is re-executed, to avoid " honeysuckle ".
It should be noted that current block can elect new block life by setting common recognition mechanism after generating node failure At node, the block of failure generates node and synchronizes whole financial transaction records, and the block to fail to new block generation node The state for generating the historical financial transaction record in the database of node in addition to newest financial transaction record is failure, only most The state of new financial transaction record is just effective.The block of failure, which generates node, can be converted to block verifying node, do Transaction source is only obtained by newest financial transaction record in the local database when block is verified and numbers corresponding history gold Melt transaction number, is reused to avoid historical financial transaction record by transaction node.
By adopting the above technical scheme, legitimacy certification is carried out to Transaction Information by certification node, so that block verifying section Point can be according to the corresponding historical transactions data of data source identification information of Transaction Information in block to be verified, to block to be verified In the Transaction Information carry out data verification.After block is verified, each node can be according to the update of data identification information Information carries out data update to block to be verified and the Transaction Information being locally stored, and can effectively solve the problem that the existing non-digging mine of application " honeysuckle " problem present in the block chain of common recognition algorithm to avoid wrong data that block chain is added, and then guarantees block chain The validity of data in network.
Embodiment three
Fig. 3 is a kind of flow chart of the verification method for block chain that the embodiment of the present invention three provides, and the present embodiment is applicable The case where node is updated the Transaction Information in block to be verified is generated in block, this method can be by the verifying of block chain Device executes, which can be realized by the mode of software and/or hardware, and can generally be integrated in computer equipment, The computer equipment can be the equipment for undertaking block chain node.Correspondingly, as shown in figure 3, this method includes following operation:
S310, block generate node and generate the block verifying node that block to be verified is sent to block chain network, the area It is the node elected by setting common recognition mechanism that block, which generates node,.
Wherein, block chain network can be publicly-owned chain or alliance's chain.Block chain network may include basic chain i.e. main chain, together When may include side chain, subchain or lightning network.Block verifying node, which can be, participates in testing for block generation node transmission block Other block chain network nodes of card process.Block, which generates node, can be the section for possessing block processes permission in block chain network Point.The common recognition mechanism of mine can be dug with right and wrong by setting common recognition mechanism, such as PBFT (Practical Byzantine Fault Tolerance, practical Byzantine failure tolerance algorithm) or Raft algorithm.
In embodiments of the present invention, the block generation node for possessing block processes permission can be from the caching of block chain network Area obtains transactions requests, and after handling transactions requests, is packaged and is beaten according to transactions requests and obtained Transaction Information Packet generates block to be verified, and by encrypted communication to be verified into block chain network, so that block verifies node to area to be verified Block is verified.
S320, the block generate node and obtain the block verifying node according to Transaction Information in the block to be verified Data source identification information to the block verification result of the block to be verified.
Wherein, it is related to historical transactions data to be used to indicate Transaction Information for the data source identification information of the Transaction Information Connection.
Wherein, data source identification information can be the information in Identifying transactions request source.For example, data source identification information can To be the unique number information in transactions requests source.Wherein, the corresponding historical transactions data in transactions requests source can be block Relative recording of each node in the processed transactions requests being locally stored in chain network.
In embodiments of the present invention, after block to be verified is sent to each block verifying node by block generation node, block Verifying node carries out verifying to the block to be verified received and obtains block verification result, and block verification result is fed back to area Block generates node.Correspondingly, block verifying node needs the data source identification information pair according to Transaction Information in block to be verified Block to be verified is verified.
The embodiment of the present invention generates node by block and generates the block verifying that block to be verified is sent to block chain network Node, and block verifying node is obtained according to the data source identification information of Transaction Information in the block to be verified to described to be tested The block verification result of block is demonstrate,proved, to judge whether block to be verified passes through common recognition according to verification result.In the embodiment of the present invention Block generates node and is generated by setting common recognition mechanism, wherein setting common recognition does not include digging mine algorithm, be can effectively solve the problem that existing " honeysuckle " problem present in block chain using non-digging mine common recognition algorithm, avoids wrong data that block chain is added, and then guarantee The validity of data in block chain network.
In an alternate embodiment of the present invention where, can also include:The block generates node and is tested according to the block Card result judges whether the block to be verified verifies the verifying of node by the block, if the block generates node root Determine that common recognition by common recognition, is then fed back to the block by response and tested by the block to be verified according to the block verification result Demonstrate,prove node;If whether it includes data mark to be updated that the block to be verified by common recognition, detects in the block to be verified Know the target transaction data of information;If so, the block, which generates node, is sent to certification node for the target transaction data, And obtain the update result for data identification information of the certification node feeding back;The block generates node according to the needle To the update of data identification information as a result, be updated to the Transaction Information in the block to be verified, and will be described to be verified Block is added in block chain;The block generates node according to the update for data identification information as a result, described in instruction Whole blocks in block chain are verified the Transaction Information in the block to be verified that node updates are locally stored and are locally deposited The historical transactions data of storage.
Wherein, the corresponding number of Transaction Information, such as B0001 be can be for the update result of data identification information.
In embodiments of the present invention, optionally, can be using data source identification information as detection target, block generates node The Transaction Information in block to be verified be can detecte with the presence or absence of data source identification information.If block generation node determines to be tested The target transaction data in block including data identification information to be updated are demonstrate,proved, then the target transaction data are sent to certification section Point, and receive the update result for data identification information of certification node feeding back.
Correspondingly, can use and be directed to after block generation node is got for the update result of data identification information The update result of data identification information is updated the target transaction data in block to be verified, and will be updated to be verified The tail portion of block chain is added in block, to complete uplink operation.
Meanwhile knowing together if block generation node determines that block to be verified passes through according to block verification result, such as based on In the common recognition algorithm of Raft, when the ratio being verified in block verification result be more than or equal to given threshold when, such as (f+1)/ (2f+1), then block, which generates node, can be generated block to be verified by the common recognition of common recognition by response, then common recognition is passed through sound Block verifying node should be fed back to.After block verifying node receives common recognition by response, while determining through the to be tested of common recognition When card block does not need to carry out Transaction Information update, then the tail portion of block chain will directly be added by the block to be verified of common recognition, To complete uplink operation.
It also needs to carry out in block chain network for the update result of data identification information in addition, block generates node Broadcast, so that other blocks verifying node in block chain network is according to the update of the data identification information received as a result, right Transaction Information in local block to be verified and the historical transactions data being locally stored are updated.Block verifies node pair Local block to be verified is completed after updating, and updated block to be verified can be added to the tail portion of block chain, on completing Chain operation.
It should be noted that block generation node can be in area after receiving the update result for data identification information It is broadcasted, is not necessarily to after completing uplink operation, then carry out broadcast operation in block chain network.
In an alternate embodiment of the present invention where, whether detect in the block to be verified includes Data Identification to be updated The target transaction data of information, including:Whether the Transaction Information that the block generates in block to be verified described in nodal test deposits In data identification information.
In embodiments of the present invention, optionally, can be using data identification information as detection target, block generates node can To detect the Transaction Information in block to be verified with the presence or absence of data identification information.
In an alternate embodiment of the present invention where, the Transaction Information includes:Data of financial transaction, the more new data The target transaction data of identification information include:The number of data of financial transaction is empty Transaction Information;Detect the area to be verified In block whether include data identification information to be updated target transaction data, including:The block generate described in nodal test to Verifying the Transaction Information in block whether there is the number of data of financial transaction.
Wherein, financial transaction includes but is not limited to funds transaction and share exchange etc..The number of data of financial transaction can be with It is the number of arbitrary data structure type, is specifically as follows the character string including node identification, such as A0001, it is of course also possible to Random number is added in number, avoids generating repetition number, such as number can be Ar0001, wherein r is random number, the random number It is generated by certification node, the digit of random number can be set according to actual needs, and the random number generated every time is different from, and should Ar in number, without counting, is counted, such as r=123 only as mark by 0001 in number, initial to compile The count range of number A1230001 is A1230001-A1239999.The embodiment of the present invention is not to realization data of financial transaction The method and form of number are defined.
In embodiments of the present invention, when node inspection can be generated by block using data of financial transaction as when Transaction Information Surveying the number in block to be verified with the presence or absence of data of financial transaction is empty Transaction Information.If it is determined that being deposited in block to be verified It is empty Transaction Information in the number of data of financial transaction, then shows the volume that data of financial transaction is not present in the Transaction Information Number.
Example IV
Fig. 4 is a kind of schematic diagram of the verifying device for block chain that the embodiment of the present invention four provides, as shown in figure 4, described Device includes:Block reception module 410 and Data Verification module 420, wherein:
Block reception module 410 generates the block to be verified that node is sent for receiving block, and the block generates node For the node elected by setting common recognition mechanism;
Data Verification module 420, for the data source identification information according to Transaction Information in the block to be verified, to institute The Transaction Information stated in block to be verified carries out data verification;
Wherein, it is related to historical transactions data to be used to indicate Transaction Information for the data source identification information of the Transaction Information Connection.
The embodiment of the present invention by block verify node receive block generate node send block to be verified, and according to The data source identification information for verifying Transaction Information in block carries out data verification to the Transaction Information in block to be verified.This hair Block generates node and is generated by setting common recognition mechanism in bright embodiment, wherein setting common recognition does not include digging mine algorithm, Neng Gouyou Effect solves the problems, such as to avoid wrong data that block is added present in the existing block chain using non-digging mine common recognition algorithm " honeysuckle " Chain, and then guarantee the validity of data in block chain network.
Optionally, Data Verification module 420 are also used to if it is determined that there is no data sources in currently processed Transaction Information The currently processed Transaction Information is then sent to certification node and authenticated by identification information;The certification node is returned Authentication result, as the authentication result to the currently processed Transaction Information.
Optionally, Data Verification module 420 are also used to if it is determined that there are data source marks in currently processed Transaction Information Know information, then extracts data source identification information in the data content of currently processed Transaction Information;According to the number of extraction According to source identification information, obtain with the associated historical transactions data of the currently processed Transaction Information as verify data, and root According to the verify data, the currently processed Transaction Information is verified.
Optionally, the Transaction Information includes:Data of financial transaction, the data source identification information include:Historical financial The number of transaction data;Data Verification module 420 is also used to the number according to the historical financial transaction data, acquisition and institute State the corresponding historical financial transaction data of number of historical financial transaction data;It obtains corresponding with the historical financial transaction data The whole for being transferred to account be transferred to the total value that amount produces account as currently processed data of financial transaction;It verifies described current At least one in the data of financial transaction of processing produce account the summation for producing amount whether with the currently processed finance The total value that transaction data produces account matches;If so, determining that the currently processed data of financial transaction passes through verifying.
Optionally, described device further includes:Data update module, for according to Transaction Information in the block to be verified Data verification as a result, obtaining the block verification result to the block to be verified, and the block verification result is fed back to The block generates node, so that the block generates node and determines whether the block to be verified passes through common recognition;Described in reception Block generates the common recognition of node feeding back by response, or is received simultaneously for target transaction data in the block to be verified The update result of data identification information;The more new information of the data identification information is generated by certification node;If receiving institute Update is stated as a result, carrying out then according to the more new information of the data identification information to the Transaction Information in the block to be verified It updates, while the historical transactions data being locally stored is updated, and the block to be verified is added in block chain.
Testing for block chain provided by the embodiment of the present invention one and embodiment two can be performed in the verifying device of above-mentioned block chain Card method has the corresponding functional module of execution method and beneficial effect.The not technical detail of detailed description in the present embodiment, It can be found in the verification method for the block chain that the embodiment of the present invention one and embodiment two provide.
Embodiment five
Fig. 5 is a kind of schematic diagram of the verifying device for block chain that the embodiment of the present invention five provides, as shown in figure 5, described Device includes:Block generation module 510 and result obtain module 520, wherein:
Block generation module 510, the block that block chain network is sent to for generating block to be verified verifies node, described It is the node elected by setting common recognition mechanism that block, which generates node,;
As a result module 520 is obtained, for obtaining the block verifying node according to Transaction Information in the block to be verified Data source identification information to the block verification result of the block to be verified;
Wherein, it is related to historical transactions data to be used to indicate Transaction Information for the data source identification information of the Transaction Information Connection.
The embodiment of the present invention generates node by block and generates the block verifying that block to be verified is sent to block chain network Node, and block verifying node is obtained according to the data source identification information of Transaction Information in the block to be verified to described to be tested The block verification result of block is demonstrate,proved, to judge whether block to be verified passes through common recognition according to verification result.In the embodiment of the present invention Block generates node and is generated by setting common recognition mechanism, wherein setting common recognition does not include digging mine algorithm, be can effectively solve the problem that existing " honeysuckle " problem present in block chain using non-digging mine common recognition algorithm, avoids wrong data that block chain is added, and then guarantee The validity of data in block chain network.
Optionally, described device further includes:Data update module, for according to block verification result judgement it is described to The verifying whether block verifies node by the block is verified, if determined according to the block verification result described to be verified Common recognition is then fed back to the block by response and verifies node by block by common recognition;If the block to be verified passes through altogether Know, then detect in the block to be verified whether include data identification information to be updated target transaction data;If so, by institute It states target transaction data and is sent to certification node, and obtain the update knot for data identification information of the certification node feeding back Fruit;According to the update for data identification information as a result, being updated to the Transaction Information in the block to be verified, and The block to be verified is added in block chain;According to the update for data identification information as a result, indicating the block It Transaction Information in the block to be verified that is locally stored of whole blocks verifying node updates in chain and is locally stored Historical transactions data.
Optionally, data update module is also used to detect the Transaction Information in the block to be verified with the presence or absence of data Identification information.
Optionally, the Transaction Information includes:Data of financial transaction, the target transaction number for updating data identification information According to including:The number of data of financial transaction is empty Transaction Information;Data update module is also used to detect the block to be verified In Transaction Information whether there is data of financial transaction number.
The verification method of block chain provided by any embodiment of that present invention three can be performed in the verifying device of above-mentioned block chain, Have the corresponding functional module of execution method and beneficial effect.The not technical detail of detailed description in the present embodiment, reference can be made to The verification method for the block chain that the embodiment of the present invention three provides.
Embodiment 6
Fig. 6 is a kind of structural schematic diagram for computer equipment that the embodiment of the present invention six provides.Fig. 6, which is shown, to be suitable for being used to Realize the block diagram of the computer equipment 612 of embodiment of the present invention.The computer equipment 612 that Fig. 6 is shown is only an example, Should not function to the embodiment of the present invention and use scope bring any restrictions.Computer equipment 612 typically undertakes block The calculating equipment of catenary system block verifying nodal function.
As shown in fig. 6, computer equipment 612 is showed in the form of universal computing device.The component of computer equipment 612 can To include but is not limited to:One or more processor 616, storage device 628 connect different system components (including storage dress Set 628 and processor 616) bus 618.
Bus 618 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 (Industry Standard Architecture, ISA) bus, microchannel architecture (Micro Channel Architecture, MCA) bus, enhancing Type isa bus, Video Electronics Standards Association (Video Electronics Standards Association, VESA) local Bus and peripheral component interconnection (Peripheral Component Interconnect, PCI) bus.
Computer equipment 612 typically comprises a variety of computer system readable media.These media can be it is any can The usable medium accessed by computer equipment 612, including volatile and non-volatile media, moveable and immovable Jie Matter.
Storage device 628 may include the computer system readable media of form of volatile memory, such as arbitrary access Memory (Random Access Memory, RAM) 630 and/or cache memory 632.Computer equipment 612 can be into One step includes other removable/nonremovable, volatile/non-volatile computer system storage mediums.Only as an example, it deposits Storage system 634 can be used for reading and writing immovable, non-volatile magnetic media, and (Fig. 6 do not show, commonly referred to as " hard drive Device ").Although being not shown in Fig. 6, the disk for reading and writing to removable non-volatile magnetic disk (such as " floppy disk ") can be provided and driven Dynamic device, and to removable anonvolatile optical disk (such as CD-ROM (Compact Disc-Read Only Memory, CD- ROM), digital video disk (Digital Video Disc-Read Only Memory, DVD-ROM) or other optical mediums) read-write CD drive.In these cases, each driver can pass through one or more data media interfaces and bus 618 It is connected.Storage device 628 may include at least one program product, which has one group of (for example, at least one) program Module, these program modules are configured to perform the function of various embodiments of the present invention.
Program 636 with one group of (at least one) program module 626, can store in such as storage device 628, this The program module 626 of sample includes but is not limited to operating system, one or more application program, other program modules and program It may include the realization of network environment in data, each of these examples or certain combination.Program module 626 usually executes Function and/or method in embodiment described in the invention.
Computer equipment 612 can also with one or more external equipments 614 (such as keyboard, sensing equipment, camera, Display 624 etc.) communication, the equipment interacted with the computer equipment 612 communication can be also enabled a user to one or more, And/or with any equipment (such as net that the computer equipment 612 is communicated with one or more of the other calculating equipment Card, modem etc.) communication.This communication can be carried out by input/output (I/O) interface 622.Also, computer Equipment 612 can also pass through network adapter 620 and one or more network (such as local area network (Local Area Network, LAN), wide area network Wide Area Network, WAN) and/or public network, such as internet) communication.As schemed Show, network adapter 620 is communicated by bus 618 with other modules of computer equipment 612.Although should be understood that in figure not It shows, other hardware and/or software module can be used in conjunction with computer equipment 612, including but not limited to:Microcode, equipment Driver, redundant processing unit, external disk drive array, disk array (Redundant Arrays of Independent Disks, RAID) system, tape drive and data backup storage system etc..
The program that processor 616 is stored in storage device 628 by operation, thereby executing various function application and number According to processing, such as realize the verification method of block chain provided by the above embodiment of the present invention one and embodiment two.
That is, the processing unit is realized when executing described program:Block verifies node and receives block generation node transmission Block to be verified, it is the node elected by setting common recognition mechanism that the block, which generates node,;The block verifies node According to the data source identification information of Transaction Information in the block to be verified, to the Transaction Information in the block to be verified Carry out data verification;Wherein, the data source identification information of the Transaction Information is used to indicate Transaction Information and historical transactions data It is associated.
Block is received by the computer equipment and generates the block to be verified that node is sent, and according in block to be verified The data source identification information of Transaction Information carries out data verification to the Transaction Information in block to be verified.In the embodiment of the present invention Block generates node and is generated by setting common recognition mechanism, wherein setting common recognition does not include digging mine algorithm, be can effectively solve the problem that existing " honeysuckle " problem present in block chain using non-digging mine common recognition algorithm, avoids wrong data that block chain is added, and then guarantee The validity of data in block chain network.
Embodiment seven
The present embodiment is seventh is that provided in an embodiment of the present invention a kind of for executing block provided by the embodiment of the present invention three The equipment of the verification method of chain, the equipment include:One or more processors;Storage device, for storing one or more journeys Sequence;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 verification method of the block chain as provided by the embodiment of the present invention three:Block generates node generation block to be verified and is sent to area The block of block chain network verifies node, and it is the node elected by setting common recognition mechanism that the block, which generates node,;The area Block generates node and obtains the block verifying node according to the data source identification information pair of Transaction Information in the block to be verified The block verification result of the block to be verified;Wherein, the data source identification information of the Transaction Information is used to indicate number of transactions According to associated with historical transactions data, it is suitable as block and generates node.Its specific structure and detail content can refer to Fig. 6 With embodiment six.
Embodiment eight
The embodiment of the present invention eight also provides a kind of computer storage medium for storing computer program, the computer program When being executed as computer processor for executing testing for block chain described in the above embodiment of the present invention one and embodiment two Card method:Block verifies node and receives the block to be verified that block generates node transmission, and it is by setting that the block, which generates node, Surely the node that common recognition mechanism elects;The block verifies node according to the data source mark of Transaction Information in the block to be verified Know information, data verification is carried out to the Transaction Information in the block to be verified;Wherein, the data source of the Transaction Information It is associated with historical transactions data that identification information is used to indicate Transaction Information.
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 (Read Only Memory, ROM), erasable programmable read only memory ((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, which can be, any includes Or the tangible medium of storage program, which can be commanded execution system, device or device use or in connection make With.
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, radio frequency (Radio Frequency, 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 Fully to execute, partly execute on the user computer on the user computer, be executed as an independent software package, Part executes on the remote computer or executes on a remote computer or server completely on the user computer for part. In situations involving remote computers, remote computer can pass through the network of any kind --- including local area network (LAN) Or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service Provider is connected by internet).
Embodiment nine
The embodiment of the present invention nine additionally provides a kind of computer readable storage medium, is stored thereon with computer program, should Program can realize the verification method of block chain described in above-described embodiment three when being executed by processor:Block generate node generate to Verifying block is sent to the block verifying node of block chain network, and it is by setting common recognition mechanism election that the block, which generates node, Node out;The block generates node and obtains the block verifying node according to the number of Transaction Information in the block to be verified According to source identification information to the block verification result of the block to be verified;Wherein, the data source identification information of the Transaction Information It is associated with historical transactions data to be used to indicate Transaction Information.The description of its concrete details content can refer to embodiment eight.
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 (15)

1. a kind of verification method of block chain, which is characterized in that including:
Block verifies node and receives the block to be verified that block generates node transmission, and it is by setting altogether that the block, which generates node, The node that knowledge mechanism elects;
The block verifies node according to the data source identification information of Transaction Information in the block to be verified, to described to be verified The Transaction Information in block carries out data verification;
Wherein, it is associated with historical transactions data to be used to indicate Transaction Information for the data source identification information of the Transaction Information.
2. the method according to claim 1, wherein the block verifies node according in the block to be verified The data source identification information of Transaction Information carries out data verification to the Transaction Information in the block to be verified, including:
Block verifying node, then will be described if it is determined that data source identification information is not present in currently processed Transaction Information Currently processed Transaction Information is sent to certification node and is authenticated;
The authentication result that the block verifying node returns to the certification node, as to the currently processed Transaction Information Authentication result.
3. method according to claim 1 or 2, which is characterized in that the block verifying node is according to the area to be verified The data source identification information of Transaction Information in block verifies the Transaction Information in the block to be verified, including:
Block verifying node is then located currently if it is determined that there are data source identification information in currently processed Transaction Information Data source identification information is extracted in the data content of the Transaction Information of reason;
The block verifying node obtains and the currently processed Transaction Information according to the data source identification information of extraction Associated historical transactions data are as verify data, and according to the verify data, to the currently processed Transaction Information into Row verifying.
4. according to the method described in claim 3, it is characterized in that, the Transaction Information includes:Data of financial transaction, the number Include according to source identification information:The number of historical financial transaction data;
The block verifying node obtains and the currently processed Transaction Information according to the data source identification information of extraction Associated historical transactions data are as verify data, and according to the verify data, to the currently processed Transaction Information into Row verifying, including:
The block verifying node obtains and the historical financial transaction data according to the number of the historical financial transaction data The corresponding historical financial transaction data of number;
The block verifying node obtains the whole for being transferred to account corresponding with the historical financial transaction data and is transferred to amount work The total value of account is produced for currently processed data of financial transaction;
What at least one in currently processed data of financial transaction described in block verifying node verification produced account produces volume The total value whether summation of degree produces account with the currently processed data of financial transaction matches;
If so, the block verifying node determines that the currently processed data of financial transaction passes through verifying.
5. the method according to claim 1, wherein the method also includes:
Block verifying node according to the data verification to Transaction Information in the block to be verified as a result, obtain to it is described to The block verification result of block is verified, and the block verification result is fed back into the block and generates node, so that the area Block generates node and determines whether the block to be verified passes through common recognition;
The block verifying node receives the common recognition of the block generation node feeding back by response, or receives be directed to institute simultaneously State the update result of the data identification information of target transaction data in block to be verified;The more new information of the data identification information It is generated by certification node;
If receive it is described update as a result, if block verifying node according to the more new information of the data identification information, it is right Transaction Information in the block to be verified is updated, while being updated to the historical transactions data being locally stored, And the block to be verified is added in block chain.
6. a kind of verification method of block chain, which is characterized in that including:
Block generates node and generates the block verifying node that block to be verified is sent to block chain network, and the block generates node For the node elected by setting common recognition mechanism;
The block generates node and obtains the block verifying node according to the data source of Transaction Information in the block to be verified Block verification result of the identification information to the block to be verified;
Wherein, it is associated with historical transactions data to be used to indicate Transaction Information for the data source identification information of the Transaction Information.
7. according to the method described in claim 6, it is characterized in that, further including:
The block generates node and judges whether the block to be verified passes through the block and test according to the block verification result The verifying of node is demonstrate,proved, if the block, which generates node, determines that the block to be verified passes through altogether according to the block verification result Know, then common recognition is fed back into the block by response and verify node;
If whether it includes that Data Identification to be updated is believed that the block to be verified by common recognition, detects in the block to be verified The target transaction data of breath;
If so, the block, which generates node, is sent to certification node for the target transaction data, and obtain the certification section The update result for data identification information of point feedback;
The block generates node according to the update for data identification information as a result, to the thing in the block to be verified Business data are updated, and the block to be verified is added in block chain;The block generates node according to described for number According to identification information update as a result, indicate in the block chain whole blocks verifying node updates be locally stored it is described to be tested The historical transactions data demonstrate,proving the Transaction Information in block and being locally stored.
8. the method according to the description of claim 7 is characterized in that whether including number to be updated in the detection block to be verified According to the target transaction data of identification information, including:
The Transaction Information that the block generates in block to be verified described in nodal test whether there is data identification information.
9. according to the method described in claim 8, it is characterized in that, the Transaction Information includes:Data of financial transaction, it is described more The target transaction data of New Data Flag information include:The number of data of financial transaction is empty Transaction Information;
Detect in the block to be verified whether include data identification information to be updated target transaction data, including:
The Transaction Information that the block generates in block to be verified described in nodal test whether there is the number of data of financial transaction.
10. a kind of verifying device of block chain is configured at block verifying node, which is characterized in that including:
Block reception module generates the block to be verified that node is sent for receiving block, and it is to pass through that the block, which generates node, The node that setting common recognition mechanism elects;
Data Verification module, for the data source identification information according to Transaction Information in the block to be verified, to described to be tested The Transaction Information demonstrate,proved in block carries out data verification;
Wherein, it is associated with historical transactions data to be used to indicate Transaction Information for the data source identification information of the Transaction Information.
11. a kind of verifying device of block chain is configured at block and generates node, which is characterized in that including:
Block generation module, the block that block chain network is sent to for generating block to be verified verify node, and the block is raw It is the node elected by setting common recognition mechanism at node;
As a result module is obtained, for obtaining the block verifying node according to the data source of Transaction Information in the block to be verified Block verification result of the identification information to the block to be verified;
Wherein, it is associated with historical transactions data to be used to indicate Transaction Information for the data source identification information of the Transaction Information.
12. a kind of computer 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 Now such as the verification method of block chain as claimed in any one of claims 1 to 5.
13. a kind of computer 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 verification method of the block chain as described in any in claim 6-9.
14. a kind of computer storage medium, is stored thereon with computer program, which is characterized in that the program is executed by processor The verification method of Shi Shixian block chain for example as claimed in any one of claims 1 to 5.
15. a kind of computer storage medium, is stored thereon with computer program, which is characterized in that the program is executed by processor The verification method of block chain of the Shi Shixian as described in any in claim 6-9.
CN201810709883.1A 2018-07-02 2018-07-02 Block chain verification method, device, equipment and storage medium Active CN108921556B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810709883.1A CN108921556B (en) 2018-07-02 2018-07-02 Block chain verification method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810709883.1A CN108921556B (en) 2018-07-02 2018-07-02 Block chain verification method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108921556A true CN108921556A (en) 2018-11-30
CN108921556B CN108921556B (en) 2022-04-19

Family

ID=64423692

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810709883.1A Active CN108921556B (en) 2018-07-02 2018-07-02 Block chain verification method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108921556B (en)

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109683995A (en) * 2018-12-17 2019-04-26 深圳前海达闼云端智能科技有限公司 A method of it being packaged block, verifying block and intelligent contract and executes
CN109710695A (en) * 2018-12-26 2019-05-03 百度在线网络技术(北京)有限公司 The identification of transactions requests validity and initiating method, device, equipment and medium
CN109858914A (en) * 2019-01-18 2019-06-07 深圳壹账通智能科技有限公司 Block chain data verification method, device, computer equipment and readable storage medium storing program for executing
CN109933629A (en) * 2019-03-15 2019-06-25 腾讯科技(深圳)有限公司 Method of data synchronization, device, computer equipment and readable storage medium storing program for executing
CN110060064A (en) * 2019-04-26 2019-07-26 深圳市网心科技有限公司 A kind of Transaction Information verification method and relevant apparatus
CN110138596A (en) * 2019-04-13 2019-08-16 山东公链信息科技有限公司 A kind of block chain common recognition method based on handover network topology mode
CN110896659A (en) * 2018-08-02 2020-03-20 刘卓 Data processing method, node, block chain network and virtual data carrier
CN110933627A (en) * 2019-11-15 2020-03-27 北京三快在线科技有限公司 Service processing method, device, equipment and storage medium
CN110933040A (en) * 2019-11-05 2020-03-27 武汉菲旺软件技术有限责任公司 Block chain based data uplink method, device, equipment and medium
CN111064711A (en) * 2019-11-27 2020-04-24 朱培培 Block chain-based data stream detection method and device and server
CN111258599A (en) * 2018-12-03 2020-06-09 中国电信股份有限公司 Firmware upgrade method, system and computer readable storage medium
CN111339569A (en) * 2020-02-26 2020-06-26 百度在线网络技术(北京)有限公司 Block chain data processing method and device, electronic equipment and medium
CN111932254A (en) * 2020-08-11 2020-11-13 杭州萌格信息科技有限公司 Application method of block chain multi-chain parallel structure
CN112235802A (en) * 2020-10-14 2021-01-15 深圳市众云网有限公司 Information environment security analysis method and system for mobile internet
CN112671689A (en) * 2019-10-15 2021-04-16 北京新唐思创教育科技有限公司 Data uplink method, device and computer storage medium
CN112819628A (en) * 2021-02-01 2021-05-18 网易(杭州)网络有限公司 Detection method, device and system for preventing transaction from being replayed, electronic equipment and storage medium
CN112837162A (en) * 2021-03-12 2021-05-25 中国工商银行股份有限公司 Data interaction method, node and system based on block chain
CN112950208A (en) * 2021-03-29 2021-06-11 建信金融科技有限责任公司 Accounting information processing method and device based on block chain
CN113312362A (en) * 2020-02-26 2021-08-27 百度在线网络技术(北京)有限公司 Block chain data modification method, device, equipment and storage medium
CN113505138A (en) * 2021-09-06 2021-10-15 支付宝(杭州)信息技术有限公司 Method and apparatus for state attestation and execution of blocks in a blockchain system
CN113610539A (en) * 2021-08-24 2021-11-05 上海点融信息科技有限责任公司 Information notification method, device, system, equipment and storage medium
CN113852679A (en) * 2021-09-16 2021-12-28 安徽中科晶格技术有限公司 Network resource optimization method, device, equipment and storage medium based on authentication node device
CN114731277A (en) * 2019-12-26 2022-07-08 富士通株式会社 Transmission control method, transmission control program, and information processing apparatus
WO2023045150A1 (en) * 2021-09-22 2023-03-30 深圳前海微众银行股份有限公司 Block verification method

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105608588A (en) * 2016-01-04 2016-05-25 布比(北京)网络技术有限公司 Tracing record processing method and apparatus
CN105719185A (en) * 2016-01-22 2016-06-29 杭州复杂美科技有限公司 Block chain data comparison and consensus method
CN105931052A (en) * 2016-04-21 2016-09-07 四川大学 Virtual currency transaction validation method based on block chain multi-factor cross-validation
CN106327173A (en) * 2016-08-22 2017-01-11 布比(北京)网络技术有限公司 Network payment method and network payment device
CN106453636A (en) * 2016-11-22 2017-02-22 深圳银链科技有限公司 Credible block generation method and system
CN106981004A (en) * 2016-01-15 2017-07-25 埃森哲环球解决方案有限公司 Equipment, method and system for the autonomous selection to goods providers
CN107016606A (en) * 2016-12-08 2017-08-04 阿里巴巴集团控股有限公司 A kind of method for processing resource and device
US20170316497A1 (en) * 2016-04-28 2017-11-02 Coinplug, Inc. Method for creating, registering, revoking authentication information and server using the same
CN107453870A (en) * 2017-09-12 2017-12-08 京信通信系统(中国)有限公司 Mobile terminal authentication management method, device and corresponding mobile terminal based on block chain
CN107766542A (en) * 2017-10-30 2018-03-06 上海分布信息科技有限公司 A kind of block chain network of subregion and its method for realizing subregion inquiry
CN107766540A (en) * 2017-10-31 2018-03-06 上海分布信息科技有限公司 A kind of block chain network of subregion and its method for realizing partitioned storage
CN107833060A (en) * 2017-11-13 2018-03-23 中国银行股份有限公司 The verification method and system of intelligent contract transaction in a kind of block chain
CN108182482A (en) * 2017-11-20 2018-06-19 广东中科南海岸车联网技术有限公司 The cultivation monitoring method and device of long-term cropping based on block chain

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105608588A (en) * 2016-01-04 2016-05-25 布比(北京)网络技术有限公司 Tracing record processing method and apparatus
CN106981004A (en) * 2016-01-15 2017-07-25 埃森哲环球解决方案有限公司 Equipment, method and system for the autonomous selection to goods providers
CN105719185A (en) * 2016-01-22 2016-06-29 杭州复杂美科技有限公司 Block chain data comparison and consensus method
CN105931052A (en) * 2016-04-21 2016-09-07 四川大学 Virtual currency transaction validation method based on block chain multi-factor cross-validation
US20170316497A1 (en) * 2016-04-28 2017-11-02 Coinplug, Inc. Method for creating, registering, revoking authentication information and server using the same
CN106327173A (en) * 2016-08-22 2017-01-11 布比(北京)网络技术有限公司 Network payment method and network payment device
CN106453636A (en) * 2016-11-22 2017-02-22 深圳银链科技有限公司 Credible block generation method and system
CN107016606A (en) * 2016-12-08 2017-08-04 阿里巴巴集团控股有限公司 A kind of method for processing resource and device
CN107453870A (en) * 2017-09-12 2017-12-08 京信通信系统(中国)有限公司 Mobile terminal authentication management method, device and corresponding mobile terminal based on block chain
CN107766542A (en) * 2017-10-30 2018-03-06 上海分布信息科技有限公司 A kind of block chain network of subregion and its method for realizing subregion inquiry
CN107766540A (en) * 2017-10-31 2018-03-06 上海分布信息科技有限公司 A kind of block chain network of subregion and its method for realizing partitioned storage
CN107833060A (en) * 2017-11-13 2018-03-23 中国银行股份有限公司 The verification method and system of intelligent contract transaction in a kind of block chain
CN108182482A (en) * 2017-11-20 2018-06-19 广东中科南海岸车联网技术有限公司 The cultivation monitoring method and device of long-term cropping based on block chain

Cited By (33)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110896659A (en) * 2018-08-02 2020-03-20 刘卓 Data processing method, node, block chain network and virtual data carrier
CN110896659B (en) * 2018-08-02 2024-02-09 刘卓 Data processing method, node, blockchain network and virtual data carrier
CN111258599A (en) * 2018-12-03 2020-06-09 中国电信股份有限公司 Firmware upgrade method, system and computer readable storage medium
CN109683995B (en) * 2018-12-17 2022-03-11 达闼机器人有限公司 Packing block, verification block and intelligent contract execution method
CN109683995A (en) * 2018-12-17 2019-04-26 深圳前海达闼云端智能科技有限公司 A method of it being packaged block, verifying block and intelligent contract and executes
CN109710695A (en) * 2018-12-26 2019-05-03 百度在线网络技术(北京)有限公司 The identification of transactions requests validity and initiating method, device, equipment and medium
CN109858914A (en) * 2019-01-18 2019-06-07 深圳壹账通智能科技有限公司 Block chain data verification method, device, computer equipment and readable storage medium storing program for executing
US11985251B2 (en) 2019-03-15 2024-05-14 Tencent Technology (Shenzhen) Company Limited Data synchronization method and apparatus, computer device, and readable storage medium
CN109933629A (en) * 2019-03-15 2019-06-25 腾讯科技(深圳)有限公司 Method of data synchronization, device, computer equipment and readable storage medium storing program for executing
CN109933629B (en) * 2019-03-15 2021-07-30 腾讯科技(深圳)有限公司 Data synchronization method and device, computer equipment and readable storage medium
CN110138596A (en) * 2019-04-13 2019-08-16 山东公链信息科技有限公司 A kind of block chain common recognition method based on handover network topology mode
CN110060064A (en) * 2019-04-26 2019-07-26 深圳市网心科技有限公司 A kind of Transaction Information verification method and relevant apparatus
CN112671689B (en) * 2019-10-15 2022-10-14 北京新唐思创教育科技有限公司 Data uplink method, device, electronic equipment and computer storage medium
CN112671689A (en) * 2019-10-15 2021-04-16 北京新唐思创教育科技有限公司 Data uplink method, device and computer storage medium
CN110933040A (en) * 2019-11-05 2020-03-27 武汉菲旺软件技术有限责任公司 Block chain based data uplink method, device, equipment and medium
CN110933627A (en) * 2019-11-15 2020-03-27 北京三快在线科技有限公司 Service processing method, device, equipment and storage medium
CN111064711A (en) * 2019-11-27 2020-04-24 朱培培 Block chain-based data stream detection method and device and server
CN114731277A (en) * 2019-12-26 2022-07-08 富士通株式会社 Transmission control method, transmission control program, and information processing apparatus
CN113312362A (en) * 2020-02-26 2021-08-27 百度在线网络技术(北京)有限公司 Block chain data modification method, device, equipment and storage medium
CN111339569A (en) * 2020-02-26 2020-06-26 百度在线网络技术(北京)有限公司 Block chain data processing method and device, electronic equipment and medium
CN111932254B (en) * 2020-08-11 2024-03-22 杭州萌格信息科技有限公司 Application method of block chain multi-chain parallel structure
CN111932254A (en) * 2020-08-11 2020-11-13 杭州萌格信息科技有限公司 Application method of block chain multi-chain parallel structure
CN112235802B (en) * 2020-10-14 2024-06-11 深圳市众云网有限公司 Information environment security analysis method and system for mobile internet
CN112235802A (en) * 2020-10-14 2021-01-15 深圳市众云网有限公司 Information environment security analysis method and system for mobile internet
CN112819628B (en) * 2021-02-01 2024-02-02 网易(杭州)网络有限公司 Transaction replay prevention detection method, device and system, electronic equipment and storage medium
CN112819628A (en) * 2021-02-01 2021-05-18 网易(杭州)网络有限公司 Detection method, device and system for preventing transaction from being replayed, electronic equipment and storage medium
CN112837162A (en) * 2021-03-12 2021-05-25 中国工商银行股份有限公司 Data interaction method, node and system based on block chain
CN112950208A (en) * 2021-03-29 2021-06-11 建信金融科技有限责任公司 Accounting information processing method and device based on block chain
CN113610539A (en) * 2021-08-24 2021-11-05 上海点融信息科技有限责任公司 Information notification method, device, system, equipment and storage medium
CN113505138A (en) * 2021-09-06 2021-10-15 支付宝(杭州)信息技术有限公司 Method and apparatus for state attestation and execution of blocks in a blockchain system
CN113852679B (en) * 2021-09-16 2024-01-26 安徽中科晶格技术有限公司 Network resource optimization method, device, equipment and storage medium based on authentication node
CN113852679A (en) * 2021-09-16 2021-12-28 安徽中科晶格技术有限公司 Network resource optimization method, device, equipment and storage medium based on authentication node device
WO2023045150A1 (en) * 2021-09-22 2023-03-30 深圳前海微众银行股份有限公司 Block verification method

Also Published As

Publication number Publication date
CN108921556B (en) 2022-04-19

Similar Documents

Publication Publication Date Title
CN108921556A (en) A kind of verification method, device, equipment and the storage medium of block chain
CN108985772A (en) A kind of verification method, device, equipment and the storage medium of block chain
CN109472696B (en) Asset transaction method, device, storage medium and computer equipment
CN108924130B (en) Block data verification method, device, equipment and storage medium
CN110442652B (en) Cross-chain data processing method and device based on block chain
EP3720045A1 (en) Blockchain-based data verification method and apparatus, and electronic device
US20210049715A1 (en) Blockchain-based data procesing method, apparatus, and electronic device
US11449864B2 (en) Reissuing obligations to preserve privacy
CN109542888A (en) The data modification and synchronous method of block chain, device, equipment and storage medium
US20180158058A1 (en) Apparatus and method to prevent execution of an unauthorized transaction via a distributed database
CN108923909A (en) Block chain generation method, device, computer equipment and storage medium
CN108923908A (en) authorization processing method, device, equipment and storage medium
TW201822033A (en) Resource processing method and apparatus
US20190347660A1 (en) System and method for protection of confidential information
CN111199481A (en) Distributed transaction network based on asynchronous directed acyclic graph
CN110619520A (en) Block chain system and routing method of routing node applied to block chain system
CN111416709B (en) Voting method, device, equipment and storage medium based on block chain system
CN110096542A (en) Data verification processing method, device, system and the medium of decentralization
CN109447636A (en) A kind of assets transfer method and device
CN111476652A (en) Data processing method and device based on block chain, terminal and storage medium
CN110414983A (en) Reference information processing method, device, equipment and storage medium based on block chain
CN110555682B (en) Multi-channel implementation method based on alliance chain
CN107171808A (en) A kind of verification method and device of electronic record authenticity
WO2018105038A1 (en) Communication device and distributed ledger system
CN110176998A (en) A kind of common recognition method, apparatus, equipment and the storage medium of proof of work

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