CN112804211A - Hybrid chain data verification method and system based on alliance block chain and public chain - Google Patents

Hybrid chain data verification method and system based on alliance block chain and public chain Download PDF

Info

Publication number
CN112804211A
CN112804211A CN202011632049.0A CN202011632049A CN112804211A CN 112804211 A CN112804211 A CN 112804211A CN 202011632049 A CN202011632049 A CN 202011632049A CN 112804211 A CN112804211 A CN 112804211A
Authority
CN
China
Prior art keywords
data
chain
anchor
public
verification
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.)
Pending
Application number
CN202011632049.0A
Other languages
Chinese (zh)
Inventor
赵志宇
金兆康
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Depository Precious Metals Co ltd
Original Assignee
Beijing Depository Precious Metals Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Depository Precious Metals Co ltd filed Critical Beijing Depository Precious Metals Co ltd
Priority to CN202011632049.0A priority Critical patent/CN112804211A/en
Publication of CN112804211A publication Critical patent/CN112804211A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Abstract

The invention relates to a hybrid chain data verification method and a system based on a block chain of an alliance and a public chain, belonging to the technical field of block chains, wherein the method comprises the following steps: the alliance chain generates anchor data regularly; the anchor data is generated based on the block head abstract and the Merck tree root data; submitting the anchor data generated by the alliance chain to the public chain; the public chain is subjected to block outputting based on the anchoring data; during verification, acquiring anchor data stored on a public chain and data to be verified in a federation; and verifying the data to be verified based on the anchoring data. Therefore, the federation chain in the mixed chain ensures high processing speed of the federation chain, and the reliability and the safety of data in the federation chain are ensured by anchoring the data by using decentralized and safety of the public chain.

Description

Hybrid chain data verification method and system based on alliance block chain and public chain
Technical Field
The invention belongs to the technical field of block chains, and particularly relates to a hybrid chain data verification method and system based on an alliance block chain and a public chain.
Background
The block chain technology has the characteristics of decentralization, distributed storage, consistent data consensus, data traceability, data difficult tampering and the like, so that the block chain technology is widely applied. The current block chain can be mainly divided into; federation links and public links; although the federation chain transaction processing speed is fast, the federation chain is not completely decentralized compared to the public chain, which has the greatest advantages of decentralization and security.
Disclosure of Invention
In order to solve at least the above problems in the prior art, the present invention provides a method and a system for verifying mixed chain data based on a block chain of federation and a public chain, so as to solve the above technical problems.
The technical scheme provided by the invention is as follows:
on one hand, a hybrid chain data verification method based on a block chain of alliances and a public chain comprises the following steps:
the alliance chain generates anchor data regularly; the anchor data is generated based on the block head abstract and the Merck tree root data;
submitting the anchor data generated by the alliance chain to the public chain;
the public chain is subjected to block outputting based on the anchoring data;
during verification, acquiring anchor data stored on a public chain and data to be verified in a federation;
and verifying the data to be verified based on the anchoring data.
Optionally, the anchor data is finally generated by merging the block header digest and the mercker tree root data through a data anchor device, and randomly extracting the merged 64-bit data through a data extractor.
Optionally, after the public link is blocked based on the anchor data, the transaction address, the account initiating address and the account accepting address are recorded.
Optionally, during the verification, acquiring anchor data stored on a public chain and data to be verified in a federation; verifying the data to be verified based on the anchor data; the method comprises the following steps:
the public chain transaction information is extracted through the multipoint authentication device, the corresponding data is matched in the alliance chain through the data extractor and submitted to the verification engine, the verification engine receives the data asynchronously, if the data is not verified, the data is submitted to the alarm device, and if the data is verified, the result is directly returned.
Optionally, the method further includes:
before verification, firstly, identity authentication is carried out on a node executing verification through a alliance chain identity authentication device.
In yet another aspect, a hybrid chain data verification system based on federation blockchains and public chains includes: a data anchoring device, a multipoint authentication device, a federation chain, and a public chain;
the alliance chain generates anchoring data through a data anchoring device at regular intervals; the anchor data is generated based on the block head abstract and the Merck tree root data;
submitting the generated anchor data to the public chain by the federation chain;
the public chain is subjected to block outputting based on the anchoring data;
when the verification is carried out, the multi-point authentication device is passed; acquiring anchoring data stored on a public chain and data to be verified in a federation; and verifying the data to be verified based on the anchoring data.
Optionally, the anchor data is finally generated by merging the block header digest and the mercker tree root data through a data anchor device, and randomly extracting the merged 64-bit data through a data extractor.
Optionally, after the public link is blocked based on the anchor data, the transaction address, the account initiating address and the account accepting address are recorded.
Optionally, during the verification, acquiring anchor data stored on a public chain and data to be verified in a federation; verifying the data to be verified based on the anchor data; the method comprises the following steps:
the public chain transaction information is extracted through the multipoint authentication device, the corresponding data is matched in the alliance chain through the data extractor and submitted to the verification engine, the verification engine receives the data asynchronously, if the data is not verified, the data is submitted to the alarm device, and if the data is verified, the result is directly returned.
Optionally, the method further includes:
before verification, firstly, identity authentication is carried out on a node executing verification through a alliance chain identity authentication device.
The invention has the beneficial effects that:
according to the hybrid chain data verification method and system based on the block chain of the alliance and the public chain, the ledger data of the block chain of the alliance can be anchored to the public chain and the data can be subjected to associated verification through a hybrid chain multipoint data verification technology. Therefore, the federation chain in the mixed chain ensures high processing speed of the federation chain, and the reliability and the safety of data in the federation chain are ensured by anchoring the data by using decentralized and safety of the public chain.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a hybrid chain data verification method based on a federation blockchain and a public chain according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a hybrid chain data verification method based on a federation blockchain and a public chain according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a multipoint authentication device in a hybrid chain data verification method based on a federation blockchain and a public chain according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be described in detail below. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the examples given herein without any inventive step, are within the scope of the present invention.
In order to at least solve the technical problem proposed in the present invention, an embodiment of the present invention provides a hybrid chain data verification method and system based on a federation blockchain and a public chain.
Fig. 1 is a schematic flowchart of a hybrid chain data verification method based on a federation blockchain and a public chain according to an embodiment of the present invention; fig. 2 is a schematic diagram of a hybrid chain data verification method based on a federation blockchain and a public chain according to an embodiment of the present invention; referring to fig. 1 and 2, the hybrid chain data verification method based on a federation blockchain and a public chain provided by the present application includes:
s11, anchor data are generated regularly by the alliance chain; the anchor data is generated based on the block head abstract and the Merck tree root data;
specifically, the alliance chain generates primary anchor data through the data anchor device at intervals of one minute; the anchor data is finally generated by merging the block head abstract and the Mercker tree root data through a data anchor device, and randomly extracting the merged 64-bit data through a data extractor.
By the arrangement, the anchoring data can anchor the alliance chain, once the data in the alliance chain is changed, the anchoring data cannot be matched with the data in the alliance chain, the change of the data in the alliance chain can be determined, an alarm is given, and if the anchoring data is matched with the data in the alliance chain, the data in the alliance chain is not changed.
For example: the result of merging the block header abstract and the Mercker tree root data is as follows:
633d1b4bb2393ce0dfd0dfe91ff00f10baace93207a2ac38fc784d88551fb6ded6f2cd34b54be0894d0c9aae291036b9c09701dc71edf36642da941839fd1a1468a0f2283a12c2729d19e77acf894476dfb2e8f319fe7b58c351cd2d3c6b64a
the randomly extracted values may be:
7a2ac38fc784d88551fb6ded6f2cd34b54be0894d0c9aae291036b9c09701dc7
s12, submitting the anchor data generated by the alliance chain to the public chain;
s13, performing block extraction on the public chain based on the anchor data;
in the scheme provided by the application, the anchoring data is stored by the public chain, and due to decentralization and safety of the public chain, the public chain can ensure the authenticity of the anchoring data, and further can determine the data in the alliance chain based on the anchoring data.
Further, after the public link is blocked based on the anchoring data, the transaction address, the initiating account address and the receiving account address information are recorded.
S14, acquiring the anchor data stored on the public chain and the data to be verified in the alliance during verification;
and S15, verifying the data to be verified based on the anchor data.
Namely: extracted anchor data (7a2ac38fc784d88551fb6ded6f2cd34b54be0894d0c9aae291036b9c09701dc7) according to the public chain to the corresponding synthetic data: (e633d1b4bb2393ce0D fd0dfe91ff00f10baace93207a2ac38fc784d88551fb6ded6f2cd34b54be0894d0c9aae291036b9c09701dc71edf36642da941839fd1a1468a0f2283a12c2729d19e77ac f894476dfb2e8f319fe7b58c351cd2d3c6b64 a).
Specifically, referring to fig. 2, before the terminals a and b check, the terminals a and b need to pass the authentication of the hybrid link identity. After the authentication is passed, the multipoint authentication device extracts the public link transaction information, the corresponding data matched in the alliance link is submitted to the verification engine through the data extractor, the verification engine asynchronously receives the data, if the verification is not passed, the data is submitted to the alarm device, and if the data verification is passed, the result is directly returned. The specific transaction information is the transaction address and the information of the initiating account address and the receiving account address recorded after the public link is blocked based on the anchoring data.
It should be noted that the hybrid chain generally includes a plurality of federation chains and a plurality of public chains, and any federation chain in the hybrid chain may employ the scheme provided in this application to send the anchor data to any public chain for storage, so as to ensure the reliability of the data stored in each federation chain.
Based on a general inventive concept, the embodiment of the present invention further provides a hybrid chain data verification system based on the federation blockchain and the public chain, provided by the embodiment of the present invention;
the hybrid chain data verification system based on the block chain of the alliance and the public chain comprises:
the method comprises the following steps: a data anchoring device, a multipoint authentication device, a federation chain, and a public chain;
the alliance chain generates anchoring data through a data anchoring device at regular intervals; the anchor data is generated based on the block head abstract and the Merck tree root data;
specifically, the alliance chain generates primary anchor data through the data anchor device at intervals of one minute;
submitting the generated anchor data to the public chain by the federation chain;
the public chain is subjected to block outputting based on the anchoring data;
when the verification is carried out, the multi-point authentication device is passed; acquiring anchoring data stored on a public chain and data to be verified in a federation; and verifying the data to be verified based on the anchoring data.
Optionally, the anchor data is finally generated by merging the block header digest and the mercker tree root data through a data anchor device, and randomly extracting the merged 64-bit data through a data extractor.
Optionally, after the public link is blocked based on the anchor data, the transaction address, the account initiating address and the account accepting address are recorded.
Optionally, during the verification, acquiring anchor data stored on a public chain and data to be verified in a federation; verifying the data to be verified based on the anchor data; the method comprises the following steps:
the public chain transaction information is extracted through the multipoint authentication device, the corresponding data is matched in the alliance chain through the data extractor and submitted to the verification engine, the verification engine receives the data asynchronously, if the data is not verified, the data is submitted to the alarm device, and if the data is verified, the result is directly returned.
Optionally, the method further includes: before verification, firstly, identity authentication is carried out on a node executing verification through a alliance chain identity authentication device.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.
It is understood that the same or similar parts in the above embodiments may be mutually referred to, and the same or similar parts in other embodiments may be referred to for the content which is not described in detail in some embodiments.
It should be noted that the terms "first," "second," and the like in the description of the present invention are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Further, in the description of the present invention, the meaning of "a plurality" means at least two unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (10)

1. A hybrid chain data verification method based on a block chain of alliances and a public chain is characterized by comprising the following steps:
the alliance chain generates anchor data regularly; the anchor data is generated based on the block head abstract and the Merck tree root data;
submitting the anchor data generated by the alliance chain to the public chain;
the public chain is subjected to block outputting based on the anchoring data;
during verification, acquiring anchor data stored on a public chain and data to be verified in a federation;
and verifying the data to be verified based on the anchoring data.
2. The method as claimed in claim 1, wherein the anchor data is finally generated by merging the block header digest and the mercker tree root data by a data anchor device and randomly extracting the merged 64-bit data by a data extractor.
3. The method of claim 1, wherein the public link records transaction address and originating account address, recipient account address information after being chunked based on the anchor data.
4. The method according to claim 3, characterized in that, during the verification, anchor data stored on a public chain and data to be verified in a federation are obtained; verifying the data to be verified based on the anchor data; the method comprises the following steps:
the public chain transaction information is extracted through the multipoint authentication device, the corresponding data is matched in the alliance chain through the data extractor and submitted to the verification engine, the verification engine receives the data asynchronously, if the data is not verified, the data is submitted to the alarm device, and if the data is verified, the result is directly returned.
5. The method of claim 3, further comprising:
before verification, firstly, identity authentication is carried out on a node executing verification through a alliance chain identity authentication device.
6. A hybrid chain data verification system based on federation blockchains and public chains, comprising: a data anchoring device, a multipoint authentication device, a federation chain, and a public chain;
the alliance chain generates anchoring data through a data anchoring device at regular intervals; the anchor data is generated based on the block head abstract and the Merck tree root data;
submitting the generated anchor data to the public chain by the federation chain;
the public chain is subjected to block outputting based on the anchoring data;
when the verification is carried out, the multi-point authentication device is passed; acquiring anchoring data stored on a public chain and data to be verified in a federation; and verifying the data to be verified based on the anchoring data.
7. The system according to claim 6, wherein the anchor data is finally generated by merging the block header summary and the root data of the merckel tree by a data anchor device and randomly extracting the merged 64-bit data by a data extractor.
8. The system for data verification of a hybrid chain based on a federation blockchain and a public chain of claim 6, wherein the public chain records transaction address and information of originating account address and accepting account address after being blocked based on the anchor data.
9. The system for verifying the hybrid chain data based on the block chain of the federation and the public chain as claimed in claim 8, wherein in the verification, anchor data stored on the public chain and data to be verified in the federation are obtained; verifying the data to be verified based on the anchor data; the method comprises the following steps:
the public chain transaction information is extracted through the multipoint authentication device, the corresponding data is matched in the alliance chain through the data extractor and submitted to the verification engine, the verification engine receives the data asynchronously, if the data is not verified, the data is submitted to the alarm device, and if the data is verified, the result is directly returned.
10. The federated blockchain and public chain based hybrid chain data verification system of claim 9, further comprising:
before verification, firstly, identity authentication is carried out on a node executing verification through a alliance chain identity authentication device.
CN202011632049.0A 2020-12-31 2020-12-31 Hybrid chain data verification method and system based on alliance block chain and public chain Pending CN112804211A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011632049.0A CN112804211A (en) 2020-12-31 2020-12-31 Hybrid chain data verification method and system based on alliance block chain and public chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011632049.0A CN112804211A (en) 2020-12-31 2020-12-31 Hybrid chain data verification method and system based on alliance block chain and public chain

Publications (1)

Publication Number Publication Date
CN112804211A true CN112804211A (en) 2021-05-14

Family

ID=75808351

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011632049.0A Pending CN112804211A (en) 2020-12-31 2020-12-31 Hybrid chain data verification method and system based on alliance block chain and public chain

Country Status (1)

Country Link
CN (1) CN112804211A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110175840A (en) * 2019-04-19 2019-08-27 华中科技大学 Method, client, alliance's chain and the system of light wallet mechanism are realized in alliance's chain
WO2020114242A1 (en) * 2018-12-07 2020-06-11 白杰 Token conversion method based on public blockchain and blockchain system
CN111464310A (en) * 2020-03-30 2020-07-28 烟台海颐软件股份有限公司 Method for realizing union chain and Polkadot chain mixed chain
CN112073440A (en) * 2020-11-10 2020-12-11 支付宝(杭州)信息技术有限公司 Internet of things information recording method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020114242A1 (en) * 2018-12-07 2020-06-11 白杰 Token conversion method based on public blockchain and blockchain system
CN110175840A (en) * 2019-04-19 2019-08-27 华中科技大学 Method, client, alliance's chain and the system of light wallet mechanism are realized in alliance's chain
CN111464310A (en) * 2020-03-30 2020-07-28 烟台海颐软件股份有限公司 Method for realizing union chain and Polkadot chain mixed chain
CN112073440A (en) * 2020-11-10 2020-12-11 支付宝(杭州)信息技术有限公司 Internet of things information recording method and system

Similar Documents

Publication Publication Date Title
CN110990408B (en) Business information collaboration method based on block chain, business system and alliance chain
CN109189853B (en) Method and device for synchronizing data between block chains
CN111898360B (en) Text similarity detection method and device based on block chain and electronic equipment
CN110597907A (en) Cross-block-chain data information synchronization method, device, equipment and medium
CN108881163B (en) Multi-center block chain system with block issuing mechanism
CN106407808A (en) Mitigating block chain attack
CN110868286B (en) Method for generating random number based on blockchain intelligent contract
CN111010284B (en) Processing method of block to be identified, related device and block chain system
CN110879826A (en) Credit blacklist sharing method and device based on block chain
CN112769567B (en) Block chain HD private key retrieving method
US20240037093A1 (en) Control method, server, and data structure
CN105930728B (en) A kind of application checking method and device
KR102125784B1 (en) Verification method of voice recording data using blockchain
CN112804211A (en) Hybrid chain data verification method and system based on alliance block chain and public chain
CN113362068A (en) Method for verifying block chain state transfer by light node
CN110689343A (en) Transaction verification method and device based on directed acyclic graph
CN113904869B (en) Method for detecting malicious nodes in blockchain and blockchain
CN106570065B (en) Method and system for verifying whether timestamp of file in database is forged
CN109871426A (en) A kind of monitoring recognition methods of confidential data
CN115906166A (en) Information processing method and device for sharing private data by block chain
CN111444270B (en) Method and system for controlling harmful information based on block chain
CN111368003B (en) Management method of multi-chain anchoring data
CN110019972A (en) The restoration methods and electronic device of the storage method of electronic invoice, chain of keeping accounts
CN106354680A (en) Method and device for quickly recognizing removable storage equipment
CN112487496A (en) Block chain consensus system

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210514