CN113282669A - Information sharing method between different block chains - Google Patents

Information sharing method between different block chains Download PDF

Info

Publication number
CN113282669A
CN113282669A CN202110649713.0A CN202110649713A CN113282669A CN 113282669 A CN113282669 A CN 113282669A CN 202110649713 A CN202110649713 A CN 202110649713A CN 113282669 A CN113282669 A CN 113282669A
Authority
CN
China
Prior art keywords
information
block chain
blockchain
provider
acquirer
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.)
Withdrawn
Application number
CN202110649713.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.)
Guangzhou Yidafang Blockchain Technology Co ltd
Original Assignee
Guangzhou Yidafang Blockchain Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Yidafang Blockchain Technology Co ltd filed Critical Guangzhou Yidafang Blockchain Technology Co ltd
Priority to CN202110649713.0A priority Critical patent/CN113282669A/en
Publication of CN113282669A publication Critical patent/CN113282669A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Bioethics (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • General Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Data Mining & Analysis (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention discloses an information sharing method among different block chains, which comprises the following steps: dividing the block chain into an information acquirer block chain and an information provider block chain; the shared information comprises the sharing of all information on the block chain and the sharing of the designated identity information; when the information acquirer block chain wants to acquire all block information of the information provider block chain, the nodes of the information provider block chain need to be activated to achieve consensus, and then the information is transmitted to the information acquirer block chain; when the information acquirer block chain wants to acquire the information of the user specified by the information provider block chain, the block where the user information is located needs to be locked in the information provider block chain, so that the user information is locked, and the locked specified user information is sent to the information acquirer block chain. The invention divides the block chain into an information acquirer block chain and an information provider block chain, and provides a method for acquiring all data information and appointed user data information from other block chains by the block chain.

Description

Information sharing method between different block chains
Technical Field
The present invention relates to the field of block chain technology, and in particular, to a method for sharing information between different block chains.
Background
The blockchain technology is a novel technology for processing data and storing data, and the traditional blockchain technology is mainly used for replacing financial currency and different money; with the development of block chain technology, the traditional use approach is far from meeting the requirements of human life; therefore, people urgently need to apply the blockchain technology to other industries in life, and a mechanism that the blockchain technology and an intelligent contract are combined and applied to other different scenes is formed, the intelligent contract is a section of code written into the blockchain, generally, different codes are written into different application scenes, and a perfect combination of the industries and the blockchain technology is formed.
With the continuous development of the block chain technology, the performance of the block chain is continuously reduced due to the continuous increase of data, so that the block chain needs to be continuously updated; the most common method for updating the block chain is block chain sharing, and data information on an old block chain can be quickly shared to a new block chain through sharing among the block chains, so that the purpose of updating the block chain is achieved.
Disclosure of Invention
In order to overcome the problems in the above technologies, the present invention provides a method for sharing information between different blockchains, the method comprising:
dividing the block chain into an information acquirer block chain and an information provider block chain;
the shared information comprises the sharing of all information on the block chain and the sharing of the designated identity information;
when the information acquirer block chain wants to acquire all block information of the information provider block chain, the nodes of the information provider block chain need to be activated to achieve consensus, and then the information is transmitted to the information acquirer block chain;
when the information acquirer block chain wants to acquire the information of the user specified by the information provider block chain, the block where the user information is located needs to be locked in the information provider block chain, so that the user information is locked, and the locked specified user information is sent to the information acquirer block chain.
The information acquirer block chain is a block chain for acquiring data information from other block chains, and the information provider block chain is a block chain for providing data information for other block chains; in a blockchain network, an information acquirer blockchain and an information provider blockchain are not obviously specified, one blockchain plays a role of the information provider blockchain in one information sharing process, and the same blockchain can play a role of the information acquirer blockchain in the next information sharing process.
The method for the nodes of the activation information provider block chain to achieve consensus comprises the following steps: the method comprises the steps that a node on an information provider block chain verifies the verification signature information of an information acquirer block chain, after each node verifies the signature information, a verification result is broadcasted to the information provider block chain, the information provider block chain judges the number of nodes for verifying the correctness of the signature information, when the number of the nodes for judging the correctness of the signature information exceeds half, all the nodes of the block chain are activated to achieve consensus, and all the block information in the information provider block chain is shared to the information acquirer block chain.
The block chain includes: marking the data information stored in the block chain in the following way: selecting any one of the marks for facilitating discrimination of user data information; the block chain comprises an information acquirer block chain and an information provider block chain.
The block chain is a alliance chain, and the block chain network is a block chain system formed by a plurality of alliance chains.
The block chain further comprises: dividing a union link in the block chains into an information acquisition block chain and an information provider block chain; a federation chain in a blockchain network is not directly designated as an acquirer blockchain or an information provider blockchain; the type of blockchain a blockchain belongs to in an information sharing process is determined according to whether the blockchain plays a provider or an acquirer in the information sharing process.
The sharing of all information and the sharing of the designated identity information on the block chain comprises the following steps: sharing of all information on the blockchain means: the information acquirer block chain sends a request for acquiring all information on the information provider block chain to the information provider block chain, and the information provider receives the request, extracts all data information on the block chain after verification and sends the data information to the information acquirer block chain; specifying the sharing of identity information refers to: the information acquirer block chain sends a request for acquiring the data information of the specified user on the information provider block chain to the information provider block chain, and after the information provider block chain is connected to the request, the data information of the user on the information provider block chain is locked through verification, extracted and sent to the information acquirer block chain.
The node of the activation information provider blockchain agrees, further comprising: before the nodes of the block chain of the information provider are activated to achieve consensus, intelligent contracts of signature information of the verification information acquirer of each node need to be activated; the method for verifying the signature information comprises the following steps: each node of the information provider blockchain extracts a public key of the information acquirer blockchain signature information in the blockchain network, and verifies whether the information acquirer signature information is correct or not through the public key; the method for the nodes to achieve consensus comprises the following steps: after each node verifies the signature information, a verification result is broadcasted to the information provider block chain, the information provider block chain judges the number of the nodes with correct signature information, when the number of the nodes with correct signature information is judged to exceed half, all the nodes of the block chain are activated to achieve consensus, and all the block information in the information provider block chain is shared to the information acquirer block chain.
When the information acquirer blockchain wants to acquire information of the information provider blockchain specified user, the method further includes: the information acquisition party block chain sends a request for acquiring the information of the specified user to the information provider block chain; after the information provider block chain receives the request, activating an intelligent contract for acquiring the data information of the specified user on the information provider block chain, wherein the intelligent contract is as follows: the information provider block chain locks the block where the user information is located, and further locks the user information; and extracting all the locked user information and sharing the information to the information acquisition block chain.
The method for locking the block where the user information is located comprises the following steps: and locking the block containing the user information mark information, wherein the mark information is a special mark formed by combining the user identity information and the block information.
The method for locking the user information comprises the following steps: locking all blocks containing the user information mark information, and locking all information of the user in the blocks through the locked blocks; and finally, extracting all information and sending the information to the block chain of the acquiring party.
The invention has the beneficial effects that:
the invention divides the block chain into an information acquirer block chain and an information provider block chain, and provides a method for acquiring all data information and appointed user data information from other block chains by the block chain; by the method, information among different block chains can be rapidly transferred and shared.
Drawings
FIG. 1: a flow chart of a method for sharing information between different blockchains.
Detailed Description
The following detailed description of specific embodiments of the invention refers to the accompanying drawings. It should be understood that the specific examples given herein are for purposes of illustration and explanation only and are not intended to limit the present invention.
As shown in fig. 1: a flow chart of a method of storing underground building state information for a blockchain of the present invention; the flow chart comprises the following steps: s10, dividing the block chain into an information acquisition block chain and an information provider block chain; s11, the sharing information includes sharing of all information on the block chain and sharing of the designated identity information; s12, when the information acquirer block chain wants to acquire all block information of the information provider block chain, the information acquirer block chain needs to activate the nodes of the information provider block chain to achieve consensus and then transmit the information to the information acquirer block chain; s13, when the information acquirer block chain wants to acquire the information of the user specified by the information provider block chain, the information provider block chain needs to lock the block where the user information is located, and further lock the user information, and send the locked specified user information to the information acquirer block chain.
Specifically, the method divides the blockchain into an information acquirer blockchain and an information provider blockchain, and transmits or shares blockchain information to the information acquirer blockchain by activating an intelligent contract for the information provider blockchain.
Specifically, the blockchain is divided into an information acquirer blockchain and an information provider blockchain; the shared information comprises the sharing of all information on the block chain and the sharing of the designated identity information.
Preferably, the sharing of all information on the blockchain means: the information acquirer block chain sends a request for acquiring all information on the information provider block chain to the information provider block chain, and the information provider receives the request, extracts all data information on the block chain after verification and sends the data information to the information acquirer block chain; specifying the sharing of identity information refers to: the information acquirer block chain sends a request for acquiring the data information of the specified user on the information provider block chain to the information provider block chain, and after the information provider block chain is connected to the request, the data information of the user on the information provider block chain is locked through verification, extracted and sent to the information acquirer block chain.
Specifically, when the information acquirer block chain wants to acquire all block information of the information provider block chain, the information acquirer block chain needs to activate the nodes of the information provider block chain to achieve consensus and then transmit the information to the information acquirer block chain;
preferably, before the nodes of the block chain of the information provider are activated to achieve consensus, the intelligent contract of the signature information of the information acquirer needs to be activated by each node; the method for verifying the signature information comprises the following steps: each node of the information provider blockchain extracts a public key of the information acquirer blockchain signature information in the blockchain network, and verifies whether the information acquirer signature information is correct or not through the public key; the method for the nodes to achieve consensus comprises the following steps: after each node verifies the signature information, a verification result is broadcasted to the information provider block chain, the information provider block chain judges the number of the nodes with correct signature information, when the number of the nodes with correct signature information is judged to exceed half, all the nodes of the block chain are activated to achieve consensus, and all the block information in the information provider block chain is shared to the information acquirer block chain.
Preferably, the method for the nodes of the activated information provider blockchain to reach consensus comprises: the method comprises the steps that a node on an information provider block chain verifies the verification signature information of an information acquirer block chain, after each node verifies the signature information, a verification result is broadcasted to the information provider block chain, the information provider block chain judges the number of nodes for verifying the correctness of the signature information, when the number of the nodes for judging the correctness of the signature information exceeds half, all the nodes of the block chain are activated to achieve consensus, and all the block information in the information provider block chain is shared to the information acquirer block chain.
Specifically, if the information acquirer block chain wants to acquire information of an appointed user of the information provider block chain, the information acquirer block chain needs to lock a block where the user information is located in the information provider block chain, further lock the user information, and send the locked appointed user information to the information acquirer block chain.
Preferably, the method for acquiring information is as follows: the information acquisition party block chain sends a request for acquiring the information of the specified user to the information provider block chain; after the information provider block chain receives the request, activating an intelligent contract for acquiring the data information of the specified user on the information provider block chain, wherein the intelligent contract is as follows: the information provider block chain locks the block where the user information is located, and further locks the user information; and extracting all the locked user information and sharing the information to the information acquisition block chain.
Specifically, the information acquirer block chain refers to a block chain for acquiring data information from other block chains, and the information provider block chain is a block chain for providing data information for other block chains; in a blockchain network, an information acquirer blockchain and an information provider blockchain are not obviously specified, one blockchain plays a role of the information provider blockchain in one information sharing process, and the same blockchain can play a role of the information acquirer blockchain in the next information sharing process.
Preferably, the blockchain comprises: marking the data information stored in the block chain in the following way: selecting any one of the marks for facilitating discrimination of user data information; the block chain comprises an information acquirer block chain and an information provider block chain.
Preferably, the method for locking the block in which the user information is located includes: and locking the block containing the user information mark information, wherein the mark information is a special mark formed by combining the user identity information and the block information.
Preferably, the method for locking the user information comprises the following steps: locking all blocks containing the user information mark information, and locking all information of the user in the blocks through the locked blocks; and finally, extracting all information and sending the information to the block chain of the acquiring party.
In the above technical solution, the block chain is a federation chain, and the block chain network is a block chain system formed by a plurality of federation chains.
Specifically, a union link in a block chain is divided into an information acquirer block chain and an information provider block chain; a federation chain in a blockchain network is not directly designated as an acquirer blockchain or an information provider blockchain; the type of blockchain a blockchain belongs to in an information sharing process is determined according to whether the blockchain plays a provider or an acquirer in the information sharing process.
It is to be understood that the above-described embodiments are one or more embodiments of the present invention, and that many other embodiments and variations thereof are possible in light of the above teachings; the invention is not limited to the embodiments described herein, but is capable of numerous modifications and variations within the scope of the invention as set forth in the following claims.

Claims (8)

1. A method for sharing information between different blockchains, the method comprising:
dividing the block chain into an information acquirer block chain and an information provider block chain;
the shared information comprises the sharing of all information on the block chain and the sharing of the designated identity information;
when the information acquirer block chain wants to acquire all block information of the information provider block chain, the nodes of the information provider block chain need to be activated to achieve consensus, and then the information is transmitted to the information acquirer block chain;
when the information acquirer block chain wants to acquire the information of the user specified by the information provider block chain, the block where the user information is located needs to be locked in the information provider block chain, so that the user information is locked, and the locked specified user information is sent to the information acquirer block chain;
the information acquirer block chain is a block chain for acquiring data information from other block chains, and the information provider block chain is a block chain for providing data information for other block chains; in a blockchain network, an information acquirer blockchain and an information provider blockchain are not obviously specified, one blockchain plays a role of the information provider blockchain in one information sharing process, and the possibility that the same blockchain plays a role in the next information sharing process is the information acquirer blockchain;
the method for the nodes of the activation information provider block chain to achieve consensus comprises the following steps: the method comprises the steps that node verification information on an information provider block chain acquires verification signature information of the block chain, after each node verifies the signature information, a verification result is broadcasted to the information provider block chain, the information provider block chain judges the number of nodes for verifying the correct signature information, when the number of the nodes for judging the correct signature information exceeds half, all the nodes of the block chain are activated to achieve consensus, and all the block information in the information provider block chain is shared to the information acquirer block chain;
the block chain includes: marking the data information stored in the block chain in the following way: selecting any one of the marks for facilitating discrimination of user data information; the block chain comprises an information acquirer block chain and an information provider block chain.
2. The method of claim 1, wherein the blockchain is a federation chain, and the blockchain network is a blockchain system of a plurality of federation chains.
3. The method of claim 2, wherein the blockchain further comprises: dividing a union link in the block chains into an information acquisition block chain and an information provider block chain; a federation chain in a blockchain network is not directly designated as an acquirer blockchain or an information provider blockchain; the type of blockchain a blockchain belongs to in an information sharing process is determined according to whether the blockchain plays a provider or an acquirer in the information sharing process.
4. The method of claim 1, wherein the sharing of all information and the sharing of identity-specific information on the blockchain comprises: sharing of all information on the blockchain means: the information acquirer block chain sends a request for acquiring all information on the information provider block chain to the information provider block chain, and the information provider receives the request, extracts all data information on the block chain after verification and sends the data information to the information acquirer block chain; specifying the sharing of identity information refers to: the information acquirer block chain sends a request for acquiring the data information of the specified user on the information provider block chain to the information provider block chain, and after the information provider block chain is connected to the request, the data information of the user on the information provider block chain is locked through verification, extracted and sent to the information acquirer block chain.
5. The method of claim 1, wherein the nodes that activate an information provider blockchain agree on a consensus, further comprising: before the nodes of the block chain of the information provider are activated to achieve consensus, intelligent contracts of signature information of the verification information acquirer of each node need to be activated; the method for verifying the signature information comprises the following steps: each node of the information provider blockchain extracts a public key of the information acquirer blockchain signature information in the blockchain network, and verifies whether the information acquirer signature information is correct or not through the public key; the method for the nodes to achieve consensus comprises the following steps: after each node verifies the signature information, a verification result is broadcasted to the information provider block chain, the information provider block chain judges the number of the nodes with correct signature information, when the number of the nodes with correct signature information is judged to exceed half, all the nodes of the block chain are activated to achieve consensus, and all the block information in the information provider block chain is shared to the information acquirer block chain.
6. The method of claim 1, wherein when the information acquirer blockchain wants to acquire information of a user specified by the information provider blockchain, further comprising: the information acquisition party block chain sends a request for acquiring the information of the specified user to the information provider block chain; after the information provider block chain receives the request, activating an intelligent contract for acquiring the data information of the specified user on the information provider block chain, wherein the intelligent contract is as follows: the information provider block chain locks the block where the user information is located, and further locks the user information; and extracting all the locked user information and sharing the information to the information acquisition block chain.
7. The method of claim 6, wherein the method for locking the block in which the user information is located comprises: and locking the block containing the user information mark information, wherein the mark information is a special mark formed by combining the user identity information and the block information.
8. The method of claim 6, wherein the method for locking the user information comprises: locking all blocks containing the user information mark information, and locking all information of the user in the blocks through the locked blocks; and finally, extracting all information and sending the information to the block chain of the acquiring party.
CN202110649713.0A 2021-06-10 2021-06-10 Information sharing method between different block chains Withdrawn CN113282669A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110649713.0A CN113282669A (en) 2021-06-10 2021-06-10 Information sharing method between different block chains

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110649713.0A CN113282669A (en) 2021-06-10 2021-06-10 Information sharing method between different block chains

Publications (1)

Publication Number Publication Date
CN113282669A true CN113282669A (en) 2021-08-20

Family

ID=77284237

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110649713.0A Withdrawn CN113282669A (en) 2021-06-10 2021-06-10 Information sharing method between different block chains

Country Status (1)

Country Link
CN (1) CN113282669A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114844896A (en) * 2022-05-07 2022-08-02 深圳嘉业产业发展有限公司 Resource sharing method and system based on block chain

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114844896A (en) * 2022-05-07 2022-08-02 深圳嘉业产业发展有限公司 Resource sharing method and system based on block chain

Similar Documents

Publication Publication Date Title
CN111130808B (en) Cross-chain asset mapping method and system for block chain
CN111431903B (en) Cross-link relay method, device and computer readable storage medium
CN111092896B (en) Food source tracing distributed data synchronization method based on optimized PAXOS
US20210142318A1 (en) Mapping system and corresponding method to realize digital assets on the mapping chain based on distributed technology
CN106850622A (en) A kind of user identity management method based on license chain
CN110430235B (en) Method, apparatus, storage medium and computing device for cross-chain transmission of authenticatable messages
CN110784495B (en) Block chain-based discovery and configuration information management method for big data cluster system
CN111444277A (en) Anti-terrorist information collaborative sharing platform and method based on block chain technology
CN110879826A (en) Credit blacklist sharing method and device based on block chain
CN110458709B (en) Resource transfer information transmission method and device, storage medium and electronic device
CN112347521A (en) Medical data management method and system based on medical block chain
CN110717759A (en) Cross-chain anchored block chain heterogeneous system
CN111815321A (en) Transaction proposal processing method, device, system, storage medium and electronic device
CN113282669A (en) Information sharing method between different block chains
CN102090017A (en) Method of authenticating a radio tag by a radio reader
CN108282484B (en) Password acquisition method and device, computer equipment and storage medium
CN113902384A (en) Tracing method and system based on RFID and intelligent contract
CN112035896A (en) Electronic contract deposit certificate system based on transaction mode
CN110545261A (en) Consensus algorithm applied to block chain network
CN116827957B (en) Information processing method, device, equipment and medium based on multi-block chain
CN101331705A (en) Method and system for authentication of a low-resource prover
CN117056981A (en) Digital identity management method and device
CN111198895A (en) Block chain updating method
CN113282672A (en) Block chain-based block data marking method and device
CN111953546A (en) Internet of things equipment management method based on block chain system and intelligent home 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
WW01 Invention patent application withdrawn after publication

Application publication date: 20210820

WW01 Invention patent application withdrawn after publication