CN112256792A - Block chain cross-chain data interaction and verification method, block chain system and storage medium - Google Patents
Block chain cross-chain data interaction and verification method, block chain system and storage medium Download PDFInfo
- Publication number
- CN112256792A CN112256792A CN202010982010.5A CN202010982010A CN112256792A CN 112256792 A CN112256792 A CN 112256792A CN 202010982010 A CN202010982010 A CN 202010982010A CN 112256792 A CN112256792 A CN 112256792A
- Authority
- CN
- China
- Prior art keywords
- chain
- data
- block chain
- timing task
- point timing
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 45
- 230000003993 interaction Effects 0.000 title claims abstract description 34
- 238000012795 verification Methods 0.000 title claims abstract description 15
- 230000008569 process Effects 0.000 claims description 13
- 238000004590 computer program Methods 0.000 claims description 10
- 230000005540 biological transmission Effects 0.000 claims description 8
- 230000010365 information processing Effects 0.000 claims description 8
- 239000000284 extract Substances 0.000 claims description 4
- 238000012544 monitoring process Methods 0.000 abstract description 3
- 238000004891 communication Methods 0.000 abstract description 2
- 238000013461 design Methods 0.000 abstract description 2
- 238000011161 development Methods 0.000 abstract 1
- 238000005516 engineering process Methods 0.000 description 9
- 239000008186 active pharmaceutical agent Substances 0.000 description 8
- 230000002452 interceptive effect Effects 0.000 description 3
- 230000001360 synchronised effect Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 239000003814 drug Substances 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- LPLLVINFLBSFRP-UHFFFAOYSA-N 2-methylamino-1-phenylpropan-1-one Chemical compound CNC(C)C(=O)C1=CC=CC=C1 LPLLVINFLBSFRP-UHFFFAOYSA-N 0.000 description 1
- 241000132539 Cosmos Species 0.000 description 1
- 235000005956 Cosmos caudatus Nutrition 0.000 description 1
- 241000280258 Dyschoriste linearis Species 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 229940079593 drug Drugs 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 238000006317 isomerization reaction Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
Abstract
The invention relates to the related technical field of block chain design, in particular to a block chain cross-chain data interaction and verification method, a block chain system and a storage medium, wherein the block chain cross-chain data interaction and verification method comprises the following steps: initializing a block chain A and a block chain B, wherein a plurality of operation nodes are arranged on a master chain, a fixed-point timing task of user-side software is registered in real time, registration information is sent to the master chain, the master chain carries out cochain and sends cochain notification, a relay chain carries out data interaction by transmitting interchain data, an API of a data structure is called, and then the master chain acquires and executes the fixed-point timing task, so that monitoring and verifying of transactions on the master chain are realized, and the master chain and the relay chain finish the fixed-point timing task. The invention can realize cross-link communication among different types of block chains, support mass data service, improve system performance, improve user experience, reduce development difficulty, simplify transaction operation flow among the block chains and reduce storage pressure.
Description
Technical Field
The invention relates to the technical field of related design of a block chain, in particular to a block chain cross-chain data interaction and verification method, a block chain system and a storage medium.
Background
If the consensus mechanism is the soul core of the blockchain, the cross-chain technology is the key for realizing the value network for the blockchain, particularly the alliance chain and the private chain, the cross-chain technology is a good drug for saving the alliance chain from a dispersed single island, and the cross-chain technology is a bridge for outwards expanding and connecting the blockchain. The cross-chain technology is a technology for realizing interconnection and intercommunication among block chains. In the problems faced by the block chain, the application space of the block chain is limited to a great extent by the interoperability between the block chains, high isomerization exists between the block chain chains, each single block chain network is a relatively independent network, the data information cannot be intercommunicated and interconnected, and the information island problem exists. The cross-chain technology is to connect homogeneous or heterogeneous block chain systems to realize the operation of assets and data. The chain crossing technology is the key for realizing the value internet, is a good medicine for saving the block chain from a dispersed isolated island, and is a bridge for outwards expanding and connecting the block chain. Early cross-link technologies are represented by rayleigh and BTC Relay, and are more concerned about the transfer of assets; the existing chain-crossing technology is represented by Polkadot, Cosmos and Aion, and mainly focuses on building a chain-crossing infrastructure. The emerging FUSION realizes a multi-currency intelligent contract, is a public chain with high application value, and can generate rich cross-chain financial application. After confirmation through the message intercommunication mechanism, the same number of mapping assets with the same value, such as 10 ETH' are generated on the new chain, so that the free flow of the assets on different chains is realized. And the same step is also carried out in the asset reflow, and after the mapping assets on the new chain are destroyed, the locked assets on the original chain are unlocked and transferred to the user to be transferred.
When cross-chain data synchronous interaction is carried out on the existing block chain, data interaction is carried out while transaction data are generated, the storage capacity of the block chain is small, massive data information service cannot be supported, the transaction flow of the block chain in the cross-chain process is complex, the time is increased, and the user experience is poor. In view of the related technical problems, no effective solution has been proposed at present.
Disclosure of Invention
The present invention provides a method for interacting and verifying data across a blockchain, a blockchain system, and a storage medium, so as to solve the above technical problems in the related art.
The technical scheme of the invention is realized as follows:
a method for interacting across-chain data of a block chain is characterized by comprising the following steps:
initializing a block chain A and a block chain B, wherein the block chain A is a mother chain of the block chain B, and the block chain B is a relay chain of the block chain A;
a plurality of operation nodes are arranged on the mother chain;
the operation node performs information synchronization on the relay chain, and performs mother chain information processing on the mother chain;
the user side registers the fixed-point timing task of each software in real time and sends an information result obtained by registration to the parent chain;
when the fixed point timing task is monitored to carry out uplink on a mother chain, sending a notification that the fixed point timing task information is successfully uplink, wherein the notification that the fixed point timing task is successfully uplink is used for indicating the transaction state of the fixed point timing task on the mother chain and carrying out uplink;
the relay chain carries out data interaction by transmitting cross-chain data, calls an API of a data structure, acquires and executes the fixed-point timing task from the master chain, and monitors and verifies the transaction on the master chain;
the relay chain stops the execution of the state of the fixed-point timing task and sends the stop state of the fixed-point timing task to the parent chain through transmission of cross-chain data;
and the parent chain and the relay chain finish the fixed-point timing task.
Further, the data interactive transmission data between the relay chain and the mother chain is data encrypted by a preset encryption algorithm.
Further, the operation node extracts cross-link data of X common nodes in the parent chain, wherein the cross-link data comprises data in the process of parent chain transaction and digital signatures in the process of parent chain transaction data.
Further, the encryption algorithm comprises a symmetric encryption algorithm and an asymmetric encryption algorithm.
Further, the encryption algorithm includes: DES, RC2 and RC4, IDEA, RSA, AES or BLOWFSH.
Further, initializing a block chain A and a block chain B, wherein the block chain A is a parent chain of the block chain B, and the block chain B is a relay chain of the block chain A;
a plurality of operation nodes are arranged on the mother chain;
the operation node performs information synchronization on the relay chain, and performs mother chain information processing on the mother chain;
the user side registers the fixed-point timing task of each software in real time and sends an information result obtained by registration to the parent chain;
when the fixed point timing task is monitored to carry out uplink on a mother chain, sending a notification that the fixed point timing task information is successfully uplink, wherein the notification that the fixed point timing task is successfully uplink is used for indicating the transaction state of the fixed point timing task on the mother chain and carrying out uplink;
the relay chain carries out data interaction by transmitting cross-chain data, calls an API of a data structure, acquires and executes the fixed-point timing task from the master chain, and monitors and verifies the transaction on the master chain;
the parent chain and the relay chain finish the fixed-point timing task;
the block chain B sends a fixed-point timing task to a block chain A, the block chain A carries out uplink and sends an information uplink notification, and the block chain B judges whether fixed-point timing task information in the block chain A and cross-chain data on an operation node are the same as transaction data stored in the block chain B, and obtains a first judgment result of yes or no;
if the judgment result is yes, the block chain B passes through a borrow provided by the block chain A and carries out uplink;
the block chain B judges whether fixed-point timing task information obtained by performing uplink in the block chain A is the same as the calculated value or not, and obtains a second judgment result of yes or no;
if the second judgment result is yes, the verification is passed, otherwise, the verification is not passed.
In order to achieve the above object, the present invention further provides a blockchain inter-chain system, which includes at least two blockchains, and any two blockchains in the system interact with inter-chain data using a blockchain inter-chain data interaction method.
In order to achieve the above object, the present invention further provides a blockchain cross-chain system, where the blockchain cross-chain system further includes a database for storing a blockchain cross-chain data interaction method.
In order to achieve the above object, the present invention further provides a blockchain inter-chain system, where a blockchain in the system includes a memory and a processor, the memory is electrically connected to the processor, the memory is used for storing program data, and the processor is used for controlling and executing an application program stored in the memory.
To achieve the above object, the present invention further provides a blockchain cross-chain storage medium, where the storage medium is a computer program, and the blockchain cross-chain data included in the computer program readable storage medium is executed by a processor to implement the method for interacting and verifying blockchain cross-chain data according to any one of claims 1 to 5.
The invention has the beneficial effects that: in the interaction process, a block chain A and a block chain B are initialized, the block chain A is a master chain of the block chain B, the block chain B is a relay chain of the block chain A, a plurality of operation nodes are arranged on the master chain, the operation nodes synchronize information of the relay chain, the operation nodes process master chain information of the master chain, a user side registers a fixed-point timing task of each software in real time and sends an information result obtained by registration to the master chain, the fixed-point timing task is monitored to carry out uplink on the master chain, a notification of successful uplink of the information of the fixed-point timing task is sent, the notification of successful uplink of the fixed-point timing task is used for indicating the transaction state of the fixed-point timing task on the master chain and carrying out uplink, the relay chain carries out data interaction by transmitting cross-chain data and calls an API of a data structure to obtain and execute the fixed-point timing task from the master chain, monitoring and verifying the transaction on the mother chain; the fixed-point timing task is completed by the master chain and the relay chain, the information collected by each user side is sent to the operation nodes of the block chain, the relay chain monitors each operation node and executes the task, the character information is sent to the master chain after the execution is completed, the master chain and the relay chain are synchronous in data, the block chain system manages and controls all heat abuse information, the overall transaction performance of the master chain and the experience of the user are improved, the data can be processed in a large quantity, the data are not limited to the traditional single chain, the processing time is shortened, and the method has high practical value and popularization value.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic overall structure diagram of a method for interacting data across a blockchain according to an embodiment of the present invention;
FIG. 2 is a block chain cross-chain system according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a blockchain inter-chain system according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present invention.
According to an embodiment of the invention, a method for interacting and verifying cross-chain data of a block chain, a block chain system and a storage medium are provided.
As shown in fig. 1 to 3, a method for interacting data across a blockchain according to an embodiment of the present invention includes:
initializing a block chain A and a block chain B, wherein the block chain A is a mother chain of the block chain B, and the block chain B is a relay chain of the block chain A;
a plurality of operation nodes are arranged on the mother chain;
the operation node performs information synchronization on the relay chain, and performs mother chain information processing on the mother chain;
the user side registers the fixed-point timing task of each software in real time and sends an information result obtained by registration to the parent chain;
when the fixed point timing task is monitored to carry out uplink on a mother chain, sending a notification that the fixed point timing task information is successfully uplink, wherein the notification that the fixed point timing task is successfully uplink is used for indicating the transaction state of the fixed point timing task on the mother chain and carrying out uplink;
the relay chain carries out data interaction by transmitting cross-chain data, calls an API of a data structure, acquires and executes the fixed-point timing task from the master chain, and monitors and verifies the transaction on the master chain;
the relay chain stops the execution of the state of the fixed-point timing task and sends the stop state of the fixed-point timing task to the parent chain through transmission of cross-chain data;
and the parent chain and the relay chain finish the fixed-point timing task.
And the data interactive transmission data between the relay chain and the master chain is data encrypted by a preset encryption algorithm.
The operation node extracts cross-chain data of X common nodes in the parent chain, wherein the cross-chain data comprise data in the process of parent chain transaction and digital signatures in the process of parent chain transaction data.
The encryption algorithm comprises a symmetric encryption algorithm and an asymmetric encryption algorithm.
The encryption algorithm comprises: DES, RC2 and RC4, IDEA, RSA, AES or BLOWFSH.
Initializing a block chain A and a block chain B, wherein the block chain A is a mother chain of the block chain B, and the block chain B is a relay chain of the block chain A;
a plurality of operation nodes are arranged on the mother chain;
the operation node performs information synchronization on the relay chain, and performs mother chain information processing on the mother chain;
the user side registers the fixed-point timing task of each software in real time and sends an information result obtained by registration to the parent chain;
when the fixed point timing task is monitored to carry out uplink on a mother chain, sending a notification that the fixed point timing task information is successfully uplink, wherein the notification that the fixed point timing task is successfully uplink is used for indicating the transaction state of the fixed point timing task on the mother chain and carrying out uplink;
the relay chain carries out data interaction by transmitting cross-chain data, calls an API of a data structure, acquires and executes the fixed-point timing task from the master chain, and monitors and verifies the transaction on the master chain;
the parent chain and the relay chain finish the fixed-point timing task;
the block chain B sends a fixed-point timing task to a block chain A, the block chain A carries out uplink and sends an information uplink notification, and the block chain B judges whether fixed-point timing task information in the block chain A and cross-chain data on an operation node are the same as transaction data stored in the block chain B, and obtains a first judgment result of yes or no;
if the judgment result is yes, the block chain B passes through a borrow provided by the block chain A and carries out uplink;
the block chain B judges whether fixed-point timing task information obtained by performing uplink in the block chain A is the same as the calculated value or not, and obtains a second judgment result of yes or no;
if the second judgment result is yes, the verification is passed, otherwise, the verification is not passed.
In order to achieve the above object, the present invention further provides a blockchain inter-chain system, which includes at least two blockchains, and any two blockchains in the system interact with inter-chain data using a blockchain inter-chain data interaction method.
In order to achieve the above object, the present invention further provides a blockchain cross-chain system, where the blockchain cross-chain system further includes a database for storing a blockchain cross-chain data interaction method.
In order to achieve the above object, the present invention further provides a blockchain inter-chain system, where a blockchain in the system includes a memory and a processor, the memory is electrically connected to the processor, the memory is used for storing program data, and the processor is used for controlling and executing an application program stored in the memory.
To achieve the above object, the present invention further provides a blockchain cross-chain storage medium, where the storage medium is a computer program, and the blockchain cross-chain data included in the computer program readable storage medium is executed by a processor to implement the method for interacting and verifying blockchain cross-chain data according to any one of claims 1 to 5.
By means of the technical scheme, the block chain cross-chain data interaction method is characterized by comprising the following steps:
initializing a block chain A and a block chain B, wherein the block chain A is a mother chain of the block chain B, and the block chain B is a relay chain of the block chain A;
the method comprises the steps that a plurality of operation nodes are arranged on a mother chain, at least two operation nodes are arranged, after the mother chain and a relay chain are initialized, nodes are selected from a block chain A to serve as the operation nodes, and the number of the operation nodes is provided with a plurality of operation nodes, so that the accuracy of cross-chain data is improved.
The operation node performs information synchronization on the relay chain, and performs mother chain information processing on the mother chain;
the user side registers the fixed-point timing task of each software in real time and sends an information result obtained by registration to the parent chain;
when the fixed point timing task is monitored to carry out uplink on a mother chain, sending a notification that the fixed point timing task information is successfully uplink, wherein the notification that the fixed point timing task is successfully uplink is used for indicating the transaction state of the fixed point timing task on the mother chain and carrying out uplink;
the relay chain carries out data interaction by transmitting cross-chain data, calls an API of a data structure, acquires and executes the fixed-point timing task from the master chain, and monitors and verifies the transaction on the master chain;
the relay chain stops the execution of the state of the fixed-point timing task and sends the stop state of the fixed-point timing task to the parent chain through transmission of cross-chain data;
and the parent chain and the relay chain finish the fixed-point timing task.
And the data interactive transmission data between the relay chain and the master chain is data encrypted by a preset encryption algorithm.
The operation node extracts cross-chain data of X common identification nodes in the parent chain, the cross-chain data comprise data in the parent chain transaction process and digital signatures in the parent chain transaction data process, and the operation node judges whether the transaction data on the parent chain is the same as the transaction data on the operation node.
The encryption algorithm comprises a symmetric encryption algorithm and an asymmetric encryption algorithm.
The encryption algorithm comprises: DES, RC2 and RC4, IDEA, RSA, AES or BLOWFSH.
Initializing a block chain A and a block chain B, wherein the block chain A is a mother chain of the block chain B, and the block chain B is a relay chain of the block chain A;
a plurality of operation nodes are arranged on the mother chain;
the operation node performs information synchronization on the relay chain, and performs mother chain information processing on the mother chain;
the user side registers the fixed-point timing task of each software in real time and sends an information result obtained by registration to the parent chain;
when the fixed point timing task is monitored to carry out uplink on a mother chain, sending a notification that the fixed point timing task information is successfully uplink, wherein the notification that the fixed point timing task is successfully uplink is used for indicating the transaction state of the fixed point timing task on the mother chain and carrying out uplink;
the relay chain carries out data interaction by transmitting cross-chain data, calls an API of a data structure, acquires and executes the fixed-point timing task from the master chain, and monitors and verifies the transaction on the master chain;
the parent chain and the relay chain finish the fixed-point timing task;
the block chain B sends a fixed-point timing task to a block chain A, the block chain A carries out uplink and sends an information uplink notification, and the block chain B judges whether fixed-point timing task information in the block chain A and cross-chain data on an operation node are the same as transaction data stored in the block chain B, and obtains a first judgment result of yes or no;
if the judgment result is yes, the block chain B passes through a borrow provided by the block chain A and carries out uplink;
the block chain B judges whether fixed-point timing task information obtained by performing uplink in the block chain A is the same as the calculated value or not, and obtains a second judgment result of yes or no;
if the second judgment result is yes, the verification is passed, otherwise, the verification is not passed.
The invention also provides a block chain cross-chain system which comprises at least two block chains, wherein any two block chains in the system are subjected to cross-chain data interaction by using the block chain application block chain cross-chain data interaction method.
The invention also provides a block chain cross-chain system, which further comprises a database for storing the block chain cross-chain data interaction method.
The invention also provides a block chain cross-chain system, wherein the block chain in the system comprises a memory and a processor, the memory is electrically connected with the processor, the memory is used for storing program data, and the processor is used for controlling and executing the application program stored in the memory.
The present invention further provides a blockchain cross-chain storage medium, which is a computer program, the blockchain cross-chain data included in the computer program readable storage medium implement the method for interacting and verifying blockchain cross-chain data according to any one of claims 1 to 5 when the blockchain cross-chain data is executed by a processor.
The working principle is as follows: in the interaction process, a block chain A and a block chain B are initialized, the block chain A is a master chain of the block chain B, the block chain B is a relay chain of the block chain A, a plurality of operation nodes are arranged on the master chain, the operation nodes synchronize information of the relay chain, the operation nodes process master chain information of the master chain, a user side registers a fixed-point timing task of each software in real time and sends an information result obtained by registration to the master chain, the fixed-point timing task is monitored to carry out uplink on the master chain, a notification of successful uplink of the information of the fixed-point timing task is sent, the notification of successful uplink of the fixed-point timing task is used for indicating the transaction state of the fixed-point timing task on the master chain and carrying out uplink, the relay chain carries out data interaction by transmitting cross-chain data and calls an API of a data structure to obtain and execute the fixed-point timing task from the master chain, monitoring and verifying the transaction on the mother chain; the fixed-point timing task is completed by the master chain and the relay chain, the information collected by each user side is sent to the operation nodes of the block chain, the relay chain monitors each operation node and executes the task, the character information is sent to the master chain after the execution is completed, the master chain and the relay chain are synchronous in data, the block chain system manages and controls all heat abuse information, the overall transaction performance of the master chain and the experience of the user are improved, the data can be processed in a large amount, the data are not limited to the traditional single chain, the processing time is reduced, and the memory is used for storing program data, the processor is used for controlling and executing the application program stored in the memory, the storage medium is a computer program, the computer program can read the block chain cross-chain data included in the storage medium, and when the block chain cross-chain data is executed by the processor, the block chain cross-chain data interaction and verification method is realized.
In the present invention, unless otherwise expressly specified or limited, the terms "mounted," "disposed," "connected," "secured," "screwed" and the like are to be construed broadly, e.g., as meaning fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; the terms may be directly connected or indirectly connected through an intermediate, and may be communication between two elements or interaction relationship between two elements, unless otherwise specifically limited, and the specific meaning of the terms in the present invention will be understood by those skilled in the art according to specific situations.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
Claims (10)
1. A method for interacting across-chain data of a block chain is characterized by comprising the following steps:
initializing a block chain A and a block chain B, wherein the block chain A is a mother chain of the block chain B, and the block chain B is a relay chain of the block chain A;
a plurality of operation nodes are arranged on the mother chain;
the operation node performs information synchronization on the relay chain, and performs mother chain information processing on the mother chain;
the user side registers the fixed-point timing task of each software in real time and sends an information result obtained by registration to the parent chain;
when the fixed point timing task is monitored to carry out uplink on a mother chain, sending a notification that the fixed point timing task information is successfully uplink, wherein the notification that the fixed point timing task is successfully uplink is used for indicating the transaction state of the fixed point timing task on the mother chain and carrying out uplink;
the relay chain carries out data interaction by transmitting cross-chain data, calls an API of a data structure, acquires and executes the fixed-point timing task from the master chain, and monitors and verifies the transaction on the master chain;
the relay chain stops the execution of the state of the fixed-point timing task and sends the stop state of the fixed-point timing task to the parent chain through transmission of cross-chain data;
and the parent chain and the relay chain finish the fixed-point timing task.
2. The method as claimed in claim 1, wherein the data transmission data for data interaction between the relay chain and the mother chain is encrypted by a preset encryption algorithm.
3. The method as claimed in claim 1, wherein the operation node extracts the inter-chain data of X common nodes in the parent chain, and the inter-chain data includes data in the process of parent chain transaction and a digital signature in the process of parent chain transaction data.
4. The method as claimed in claim 2, wherein the encryption algorithm includes a symmetric encryption algorithm and an asymmetric encryption algorithm.
5. The method of claim 2, wherein the encryption algorithm comprises: DES, RC2 and RC4, IDEA, RSA, AES or BLOWFSH.
6. A method for interacting and verifying across-chain data of a block chain is characterized by comprising the following steps:
initializing a block chain A and a block chain B, wherein the block chain A is a mother chain of the block chain B, and the block chain B is a relay chain of the block chain A;
a plurality of operation nodes are arranged on the mother chain;
the operation node performs information synchronization on the relay chain, and performs mother chain information processing on the mother chain;
the user side registers the fixed-point timing task of each software in real time and sends an information result obtained by registration to the parent chain;
when the fixed point timing task is monitored to carry out uplink on a mother chain, sending a notification that the fixed point timing task information is successfully uplink, wherein the notification that the fixed point timing task is successfully uplink is used for indicating the transaction state of the fixed point timing task on the mother chain and carrying out uplink;
the relay chain carries out data interaction by transmitting cross-chain data, calls an API of a data structure, acquires and executes the fixed-point timing task from the master chain, and monitors and verifies the transaction on the master chain;
the parent chain and the relay chain finish the fixed-point timing task;
the block chain B sends a fixed-point timing task to a block chain A, the block chain A carries out uplink and sends an information uplink notification, and the block chain B judges whether fixed-point timing task information in the block chain A and cross-chain data on an operation node are the same as transaction data stored in the block chain B, and obtains a first judgment result of yes or no;
if the judgment result is yes, the block chain B passes through a borrow provided by the block chain A and carries out uplink;
the block chain B judges whether fixed-point timing task information obtained by performing uplink in the block chain A is the same as the calculated value or not, and obtains a second judgment result of yes or no;
if the second judgment result is yes, the verification is passed, otherwise, the verification is not passed.
7. A blockchain cross-chain system comprises at least two blockchains, and is characterized in that any two blockchains in the system interact with cross-chain data by using a blockchain cross-chain data interaction method.
8. The blockchain inter-chain system of claim 6, wherein the blockchain inter-chain system further comprises a database for storing the blockchain inter-chain data interaction method.
9. The system of claim 6, wherein the blockchain in the system comprises a memory and a processor, the memory and the processor being electrically connected, the memory being configured to store program data, and the processor being configured to control and execute the application program stored in the memory.
10. A blockchain cross-chain storage medium, wherein the storage medium is a computer program, the computer program readable storage medium includes blockchain cross-chain data, and when the blockchain cross-chain data is executed by a processor, the blockchain cross-chain data interaction and verification method of any one of claims 1 to 5 is implemented.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010982010.5A CN112256792A (en) | 2020-09-17 | 2020-09-17 | Block chain cross-chain data interaction and verification method, block chain system and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010982010.5A CN112256792A (en) | 2020-09-17 | 2020-09-17 | Block chain cross-chain data interaction and verification method, block chain system and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112256792A true CN112256792A (en) | 2021-01-22 |
Family
ID=74231630
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010982010.5A Pending CN112256792A (en) | 2020-09-17 | 2020-09-17 | Block chain cross-chain data interaction and verification method, block chain system and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112256792A (en) |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108768659A (en) * | 2018-05-24 | 2018-11-06 | 深圳前海益链网络科技有限公司 | Across the chain tra nsfer system of Token assets between a kind of different blocks chain network |
CN109345387A (en) * | 2018-09-04 | 2019-02-15 | 湖南宸瀚信息科技有限责任公司 | Across the chain method of commerce of block chain, across chain communication device and storage medium |
CN109784921A (en) * | 2018-12-29 | 2019-05-21 | 广州蓝石信息技术有限公司 | General across chain communication mechanism based on decentralization gateway |
CN110033243A (en) * | 2019-03-06 | 2019-07-19 | 华南师范大学 | Main chain based on block chain intelligence contract deposits card method, system and storage medium |
CN110175912A (en) * | 2019-04-08 | 2019-08-27 | 西安西电链融科技有限公司 | Across the chain assets transfer method of block chain, block chain information terminal based on the committee |
CN110266817A (en) * | 2019-07-15 | 2019-09-20 | 武汉天喻信息产业股份有限公司 | Across channel data sharing model, sharing method and device based on block chain |
CN110690974A (en) * | 2019-12-10 | 2020-01-14 | 腾讯科技(深圳)有限公司 | Block chain based data verification method, device, equipment and readable storage medium |
CN110766408A (en) * | 2019-10-24 | 2020-02-07 | 杭州趣链科技有限公司 | Cross-chain transaction verification method, engine, equipment and storage medium for heterogeneous block chain |
CN110941647A (en) * | 2019-11-11 | 2020-03-31 | 华中科技大学 | Block chain cross-chain interaction method and system based on DAG |
CN111383119A (en) * | 2020-05-29 | 2020-07-07 | 支付宝(杭州)信息技术有限公司 | Asset management method and device based on block chain and electronic equipment |
CN111431903A (en) * | 2020-03-25 | 2020-07-17 | 北京创世智链信息技术研究院 | Cross-link relay method, device and computer readable storage medium |
CN111507694A (en) * | 2020-04-17 | 2020-08-07 | 上海哈世科技有限公司 | Block chain cross-chain interaction method and system |
CN111598566A (en) * | 2020-04-30 | 2020-08-28 | 厦门潭宏信息科技有限公司 | Network payment system based on mixed cross-chain |
CN111666336A (en) * | 2020-05-15 | 2020-09-15 | 西安纸贵互联网科技有限公司 | Data intercommunication method and system among block chains and electronic equipment |
-
2020
- 2020-09-17 CN CN202010982010.5A patent/CN112256792A/en active Pending
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108768659A (en) * | 2018-05-24 | 2018-11-06 | 深圳前海益链网络科技有限公司 | Across the chain tra nsfer system of Token assets between a kind of different blocks chain network |
CN109345387A (en) * | 2018-09-04 | 2019-02-15 | 湖南宸瀚信息科技有限责任公司 | Across the chain method of commerce of block chain, across chain communication device and storage medium |
CN109784921A (en) * | 2018-12-29 | 2019-05-21 | 广州蓝石信息技术有限公司 | General across chain communication mechanism based on decentralization gateway |
CN110033243A (en) * | 2019-03-06 | 2019-07-19 | 华南师范大学 | Main chain based on block chain intelligence contract deposits card method, system and storage medium |
CN110175912A (en) * | 2019-04-08 | 2019-08-27 | 西安西电链融科技有限公司 | Across the chain assets transfer method of block chain, block chain information terminal based on the committee |
CN110266817A (en) * | 2019-07-15 | 2019-09-20 | 武汉天喻信息产业股份有限公司 | Across channel data sharing model, sharing method and device based on block chain |
CN110766408A (en) * | 2019-10-24 | 2020-02-07 | 杭州趣链科技有限公司 | Cross-chain transaction verification method, engine, equipment and storage medium for heterogeneous block chain |
CN110941647A (en) * | 2019-11-11 | 2020-03-31 | 华中科技大学 | Block chain cross-chain interaction method and system based on DAG |
CN110690974A (en) * | 2019-12-10 | 2020-01-14 | 腾讯科技(深圳)有限公司 | Block chain based data verification method, device, equipment and readable storage medium |
CN111431903A (en) * | 2020-03-25 | 2020-07-17 | 北京创世智链信息技术研究院 | Cross-link relay method, device and computer readable storage medium |
CN111507694A (en) * | 2020-04-17 | 2020-08-07 | 上海哈世科技有限公司 | Block chain cross-chain interaction method and system |
CN111598566A (en) * | 2020-04-30 | 2020-08-28 | 厦门潭宏信息科技有限公司 | Network payment system based on mixed cross-chain |
CN111666336A (en) * | 2020-05-15 | 2020-09-15 | 西安纸贵互联网科技有限公司 | Data intercommunication method and system among block chains and electronic equipment |
CN111383119A (en) * | 2020-05-29 | 2020-07-07 | 支付宝(杭州)信息技术有限公司 | Asset management method and device based on block chain and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112330326B (en) | Business processing method and device applied to bank transaction blockchain system | |
CN108777625B (en) | Signature verification method, device and system, storage medium and electronic device | |
CN108540536B (en) | Block chain-based network mass service processing method, equipment and storage medium | |
US20190018887A1 (en) | Method and System for Tuning Blockchain Scalability, Decentralization, and Security for Fast and Low-Cost Payment and Transaction Processing | |
US20220239496A1 (en) | Blockchain consensus method, device and system | |
CN110838065A (en) | Transaction data processing method and device | |
CN109690491B (en) | Executing remote commands | |
CN103714636A (en) | Method and operating terminal for collecting and uploading data of transmission keys in batch | |
CN113315832B (en) | Cross-chain information synchronization method, system and device based on cloud cross-chain transfer protocol | |
CN111563124B (en) | Operation processing method, device and system based on block chain | |
Sridharan et al. | Architecting an integrated framework for utility payment services using automated teller machines | |
WO2020042929A1 (en) | Block chain system | |
Le et al. | Resource sharing and trading of blockchain radio access networks: Architecture and prototype design | |
CN112615838B (en) | Extensible block chain cross-chain communication method | |
CN112860805A (en) | Block chain data interaction method and system | |
CN116567631B (en) | Mobile terminal security authentication method based on segmented block chain | |
CN116258609B (en) | Electric power system transaction cooperation method, device and storage medium | |
US20230259930A1 (en) | Cross-chain transaction processing method and apparatus, electronic device, and storage medium | |
CN112256792A (en) | Block chain cross-chain data interaction and verification method, block chain system and storage medium | |
CN110213043A (en) | A kind of clustering functionality test method based on Java | |
CN115439254A (en) | Financial background transaction platform with intelligent key function | |
CN112926981B (en) | Transaction information processing method, device and medium for block chain and electronic equipment | |
US9602287B2 (en) | Method and system for signed stateless data transfer | |
CN111683124B (en) | Data processing method and system for IPV6 chip card | |
CN113014556A (en) | Bank-enterprise communication system, communication method and electronic terminal |
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 |