CN111800463A - Inter-block chain cross-chain information interaction method, system, medium, equipment and application - Google Patents

Inter-block chain cross-chain information interaction method, system, medium, equipment and application Download PDF

Info

Publication number
CN111800463A
CN111800463A CN202010475109.6A CN202010475109A CN111800463A CN 111800463 A CN111800463 A CN 111800463A CN 202010475109 A CN202010475109 A CN 202010475109A CN 111800463 A CN111800463 A CN 111800463A
Authority
CN
China
Prior art keywords
chain
cross
interaction
block chain
contract
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010475109.6A
Other languages
Chinese (zh)
Other versions
CN111800463B (en
Inventor
游海涛
傅福斌
王琳
陈秀琴
杨丰佳
吴亚皇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiamen Wanshi Shunyi Technology Co Ltd
Ylz Information Technology Co ltd
Original Assignee
Xiamen Wanshi Shunyi Technology Co Ltd
Ylz Information 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 Xiamen Wanshi Shunyi Technology Co Ltd, Ylz Information Technology Co ltd filed Critical Xiamen Wanshi Shunyi Technology Co Ltd
Priority to CN202010475109.6A priority Critical patent/CN111800463B/en
Publication of CN111800463A publication Critical patent/CN111800463A/en
Application granted granted Critical
Publication of CN111800463B publication Critical patent/CN111800463B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees

Abstract

The invention provides a method, a system, a medium, equipment and an application for interacting cross-link information among block links, which solve a cross-link scheme among different block link projects. The cross-chain information interaction system comprises a first block chain, a relay block chain and a second block chain, wherein the first block chain comprises a first block chain account and a first cross-chain contract, the second block chain comprises a second block chain account and a second cross-chain contract, collectors are arranged on the first block chain, the relay block chain and the second block chain, the first block chain account sends a cross-chain interaction request to the first cross-chain contract during cross-chain interaction, the collectors in the relay block chain actively collect the cross-chain interaction request in the first cross-chain contract and record the cross-chain interaction request on the relay block chain after signature verification, the collectors in the second block chain actively collect cross-chain interaction records on the relay block chain, send the cross-chain interaction request to the second cross-chain contract, and interaction data mapped by the second cross-chain contract is unlocked and transferred to the second block chain account.

Description

Inter-block chain cross-chain information interaction method, system, medium, equipment and application
Technical Field
The invention relates to the field of inter-block chain crossing, in particular to an inter-block chain crossing information interaction method, system, medium, equipment and application.
Background
Since the birth of Bizhou (Bizhou) 09, thousands of public blockchain chains were developed, and the amount of encryption currency based on various public chains is more likely to increase in a blowout manner. The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism and an encryption algorithm. A blockchain is essentially a decentralized database, a series of data blocks generated by cryptographic methods, each block containing a corresponding timestamp on the blockchain and all data transaction information that has occurred.
Among the problems faced by blockchains, the interoperability between blockchains greatly limits the application space of blockchains. The visitors see that each public link has own unique advantages and characteristics, a large number of block link public link projects exist in the society at present, the bottom layers of the block link public link projects are mostly heterogeneous, and each public link has no way of direct communication, namely belongs to a heterogeneous block link which cannot directly carry out information interaction, so that each public link project is an information isolated island. With the development of the block chain technology, how to implement information interaction between heterogeneous block chains and implement cross-chain circulation of data is an urgent problem to be solved.
To this end, the chinese patent application (publication No. CN108269190A) discloses a cross-link method and system based on a cross-link relay platform, where a user request is sent to a service contract, the service contract is judged and then sent to a cross-link contract, the cross-link contract transfers a parameter to the relay platform, the relay platform calls another cross-link contract, and then the cross-link contract calls the service contract to complete a transaction. However, the relay platform of the patent is actually a centralized platform, and still has a problem of data security, which violates the de-centering value and trust system of the block chain to a certain extent, and the data security is poor, and whether the data rollback occurs or not cannot be determined.
There is currently no good, standardized, cross-chaining scheme between different blockchain items.
Disclosure of Invention
In order to solve the problem that no good and standardized cross-link scheme among different blockchain items exists in the prior art, the method, the system, the medium, the equipment and the application for interacting the cross-link information among the blockchains provided by the invention can solve the information interaction among heterogeneous blockchains, realize cross-link circulation of data, and provide a good and standardized cross-link scheme among different blockchain items.
In a first aspect, an embodiment of the present application provides a method for interacting inter-block chain cross-chain information, where the method includes a first block chain, a relay block chain, and a second block chain, where the first block chain includes a first block chain account and a first cross-chain contract, the second block chain includes a second block chain account and a second cross-chain contract, and each of the first block chain, the relay block chain, and the second block chain is provided with a collector, and the method includes:
the first blockchain account sends cross-chain interaction request information to the first cross-chain contract;
after the first cross-chain contract receives the cross-chain interaction request information, the interaction data in the cross-chain interaction request information is frozen;
a collector in the relay block chain actively collects the cross-chain interaction request information received by the first cross-chain contract, and records the cross-chain interaction on the relay block chain after signature verification proves that the cross-chain interaction is irreversible;
a collector in the second block chain actively collects cross-chain interaction records on the relay block chain and sends cross-chain interaction request information to the second cross-chain contract;
and the second cross-chain contract receives the cross-chain interaction request information, maps the interaction data according to the cross-chain interaction request information, unlocks the mapped interaction data and transfers the interaction data to the second blockchain account.
Further, the cross-chain interaction request information includes interaction data, transfer-in account information and transfer-out account information, the transfer-in account information is the name of the second blockchain account, and the transfer-out account information is the name of the first blockchain account.
Furthermore, the number of the collectors is multiple, the relay block chain collectors collect cross-chain interaction request information in real time, different preset proportions are set according to different interaction information, the relay block chain is provided with a plurality of collectors A, B, C and D.9.N, when the preset proportion of the collector A is reached, the collectors except the collector A are required to verify the interaction information, and after signature verification of the collectors exceeding the preset proportion, the cross-chain interaction is determined to be irreversible; different preset proportions can be set according to the importance degrees of different collector accounts and different time periods, and the preset proportions can be two thirds, three quarters and the like; the larger or more important the value of the amount of the interactive information is, the higher the preset proportion is set, and the higher the preset proportion can also be set on an important time node, and the collector verifies the collected cross-chain interactive request information according to different time nodes.
Further, if the transferred account information sent by the first blockchain account does not exist in the second blockchain, the second cross-chain contract cannot transfer the mapped interactive data, the second cross-chain contract reports an error to a collector of the second blockchain and records the abnormality, and a data recovery rule is set.
Further, the data retrieving rule includes that after receiving a cross-link interaction request of a first blockchain account, a first cross-link contract issues a credential to the first blockchain account to prove that the account has sent the request, where the credential is credential information encrypted by a public key of the first blockchain account; if an error occurs in the cross-link interaction process, the account can decrypt the certificate by using the private key of the account for verification, and sends a request again according to the decrypted certificate.
Further, the method further comprises:
the second blockchain account sends cross-chain interaction request information to the second cross-chain contract;
after the second cross-chain contract receives the cross-chain interaction request information, the interaction data in the cross-chain interaction request information is frozen;
a collector in the relay block chain actively collects the cross-chain interaction request information received by the second cross-chain contract, and records the cross-chain interaction on the relay block chain after signature verification proves that the cross-chain interaction is irreversible;
a collector in the first block chain actively collects cross-chain interaction records on a relay block chain and sends cross-chain interaction request information to the first cross-chain contract;
and the first cross-chain contract receives the cross-chain interaction request information, unlocks the frozen interaction data and transfers the interaction data to the first blockchain account.
In a second aspect, an embodiment of the present application provides a method for interacting cross-chain information among multiple heterogeneous blockchains, where the method includes multiple blockchains, and the blockchains perform cross-chain information interaction by using any one of the above methods for interacting cross-chain information among blockchains.
Furthermore, the relay block chain is provided with a plurality of relay nodes for completing chain-crossing information interaction among the heterogeneous block chains.
In a third aspect, an embodiment of the present application provides a system for interacting information between block chains, including a first block chain, a relay block chain, and a second block chain, where the first block chain includes a first block chain account and a first cross-chain contract, the second block chain includes a second block chain account and a second cross-chain contract, and each of the first block chain, the relay block chain, and the second block chain is provided with a collector, where:
the first blockchain account sends cross-chain interaction request information to the first cross-chain contract;
after the first cross-chain contract receives the cross-chain interaction request information, the interaction data in the cross-chain interaction request information is frozen;
a collector in the relay block chain actively collects the cross-chain interaction request information received by the first cross-chain contract, and records the cross-chain interaction on the relay block chain after signature verification proves that the cross-chain interaction is irreversible;
a collector in the second block chain actively collects cross-chain interaction records on the relay block chain and sends cross-chain interaction request information to the second cross-chain contract;
and the second cross-chain contract receives the cross-chain interaction request information, maps the interaction data according to the cross-chain interaction request information, unlocks the mapped interaction data and transfers the interaction data to the second blockchain account.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where computer instructions are stored in the computer-readable storage medium, and when executed by a processor, the computer implements the inter-block chain cross-chain information interaction method described in any one of the above.
In a fifth aspect, an embodiment of the present application provides a communication device, including at least one processor, and a memory communicatively connected to the processor, where the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so as to cause the processor to perform any one of the above methods for interacting information between block chains.
In a sixth aspect, an embodiment of the present application provides an application of the inter-block chain cross-chain information interaction method in electronic credential cross-chain, including:
the first blockchain account sends cross-chain interaction request information to the first cross-chain contract;
after the first cross-chain contract receives the cross-chain interaction request information, the interactive electronic certificate in the cross-chain interaction request information is frozen;
a collector in the relay block chain actively collects the cross-chain interaction request information received by the first cross-chain contract, and records the cross-chain interaction on the relay block chain after signature verification proves that the cross-chain interaction is irreversible;
a collector in the second block chain actively collects cross-chain interaction records on the relay block chain and sends cross-chain interaction request information to the second cross-chain contract;
and the second cross-chain contract receives the cross-chain interaction request information, maps the interactive electronic certificate according to the cross-chain interaction request information, unlocks the mapped interactive electronic certificate and transfers the electronic certificate to the second block chain account.
Compared with the prior art, the inter-block chain cross-chain information interaction method, the system, the medium, the equipment and the application provided by the invention have the advantages that the relay block chain is utilized to realize information exchange among public chains, and the condition that one block chain is a data isolated island is avoided; the distributed management of the relay platform and the cross-chain circulation of data are realized by using a mode of collecting cross-chain information and verifying signatures by a plurality of collectors, and cross-chain interaction is recorded on a relay block chain; meanwhile, a reliable standardized heterogeneous blockchain cross-chain solution is constructed.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a flow chart of a first embodiment of the present invention;
FIG. 2 is a schematic structural diagram according to a first embodiment of the present invention;
FIG. 3 is a flowchart of a second embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a fourth embodiment of the present invention;
fig. 5 is a schematic diagram of a sixth embodiment provided by the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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 some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Furthermore, the technical features designed in the different embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
Example one
Fig. 1 is a flowchart of a method for interacting cross-link information between block chains according to an embodiment of the present disclosure, and fig. 2 is a schematic structural diagram of the method for interacting cross-link information between block chains according to the embodiment of the present disclosure, as shown in fig. 1, the method includes a first block chain, a relay block chain, and a second block chain, where the first block chain includes a first block chain account and a first cross-link contract, the second block chain includes a second block chain account and a second cross-link contract, and each of the first block chain, the relay block chain, and the second block chain is provided with a collector, and the method includes:
s101: the first blockchain account sends cross-chain interaction request information to the first cross-chain contract.
In specific implementation, the cross-chain interaction request information includes interaction data, transfer-in account information and transfer-out account information, the transfer-in account information is the name of the second blockchain account, and the transfer-out account information is the name of the first blockchain account.
S102: and after receiving the cross-chain interaction request information, the first cross-chain contract freezes interaction data in the cross-chain interaction request information.
S103: and a collector in the relay block chain actively collects the cross-chain interaction request information received by the first cross-chain contract, and records the cross-chain interaction on the relay block chain after signature verification proves that the cross-chain interaction is irreversible.
In specific implementation, the number of the collectors is multiple, the relay block chain collectors collect cross-chain interaction request information in real time, different preset proportions are set according to different interaction information, the relay block chain is provided with a plurality of collectors A, B, C and D.9.N, when the preset proportion of the collector A is reached, the collectors except the collector A are required to verify the interaction information, and after signature verification of the collectors exceeding the preset proportion, the cross-chain interaction is determined to be irreversible; different preset proportions can be set according to the importance degrees of different collector accounts and different time periods, and the preset proportions can be two thirds, three quarters and the like; the larger or more important the value of the amount of the interactive information is, the higher the preset proportion is set, and the higher the preset proportion can also be set on an important time node, and the collector verifies the collected cross-chain interactive request information according to different time nodes.
S104: and a collector in the second block chain actively collects the cross-chain interaction records on the relay block chain and sends cross-chain interaction request information to the second cross-chain contract.
In specific implementation, the different collectors of the second block chain collect the interaction information to the relay block chain in real time, and determine the information according with the collectors and filter the information irrelevant to the collectors.
S105: and the second cross-chain contract receives the cross-chain interaction request information, maps the interaction data according to the cross-chain interaction request information, unlocks the mapped interaction data and transfers the interaction data to the second blockchain account.
In specific implementation, if the transferred account information sent by the first blockchain account does not exist in the second blockchain, the second cross-chain contract cannot transfer the mapped interactive data, the second cross-chain contract reports an error to a collector of the second blockchain and records the abnormality, and a data recovery rule is set. The data retrieving rule comprises that after a first cross-link contract receives a cross-link interaction request of a first blockchain account, a certificate is issued to the first blockchain account to prove that the account sends the request, wherein the certificate is certificate information encrypted by a public key of the first blockchain account; if an error occurs in the cross-link interaction process, the account can decrypt the certificate by using the private key of the account for verification, and sends a request to the first cross-link contract again according to the decrypted certificate, verifies the decrypted certificate, and continues the subsequent process after the error is confirmed.
According to the method for interacting the inter-block-chain cross-chain information, information can be mutually transferred among public chains through the relay block chain, and the condition that one block chain is a data island is avoided; by means of collecting cross-chain information and signature verification by a plurality of collectors, distributed management of a relay platform and cross-chain circulation of data are achieved, cross-chain interaction is recorded on a relay block chain, and meanwhile a reliable standardized heterogeneous block chain cross-chain solution is constructed.
Example two
Fig. 3 is a flowchart of a method for inter-blockchain inter-chaining information interaction according to a second embodiment of the present application, where the method further includes:
s201: the second blockchain account sends cross-chain interaction request information to the second cross-chain contract;
s202: after the second cross-chain contract receives the cross-chain interaction request information, the interaction data in the cross-chain interaction request information is frozen;
s203: a collector in the relay block chain actively collects the cross-chain interaction request information received by the second cross-chain contract, and records the cross-chain interaction on the relay block chain after signature verification proves that the cross-chain interaction is irreversible;
s204: a collector in the first block chain actively collects cross-chain interaction records on a relay block chain and sends cross-chain interaction request information to the first cross-chain contract;
s205: and the first cross-chain contract receives the cross-chain interaction request information, unlocks the frozen interaction data and transfers the interaction data to the first blockchain account.
The second embodiment of the present application is different from the first embodiment in that, for a scheme that a second blockchain is linked to a first blockchain, in the step of S205, the first linked contract only needs to unlock the previously frozen interactive data, and does not need to map the corresponding interactive data in the second linked contract, and the first linked contract can be transferred to the first blockchain account.
EXAMPLE III
The method for interacting cross-chain information among a plurality of heterogeneous block chains provided by the third embodiment of the application comprises a plurality of block chains, and the block chains adopt any one of the above cross-chain information interaction methods among the block chains to perform cross-chain information interaction. The relay block chain is provided with a plurality of relay nodes for finishing the cross-chain information interaction among a plurality of heterogeneous block chains.
Example four
Fig. 4 is a schematic structural diagram of a system for interacting information between block chains in a cross-chain manner provided in a fourth embodiment of the present application, as shown in fig. 4, the system includes a first block chain, a relay block chain, and a second block chain, where the first block chain includes a first block chain account and a first cross-chain contract, the second block chain includes a second block chain account and a second cross-chain contract, and each of the first block chain, the relay block chain, and the second block chain is provided with a collector, where:
the first blockchain account sends cross-chain interaction request information to the first cross-chain contract;
after the first cross-chain contract receives the cross-chain interaction request information, the interaction data in the cross-chain interaction request information is frozen;
a collector in the relay block chain actively collects the cross-chain interaction request information received by the first cross-chain contract, and records the cross-chain interaction on the relay block chain after signature verification proves that the cross-chain interaction is irreversible;
a collector in the second block chain actively collects cross-chain interaction records on the relay block chain and sends cross-chain interaction request information to the second cross-chain contract;
and the second cross-chain contract receives the cross-chain interaction request information, maps the interaction data according to the cross-chain interaction request information, unlocks the mapped interaction data and transfers the interaction data to the second blockchain account.
EXAMPLE five
A computer-readable storage medium is provided in the fifth embodiment of the present application, where the computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a processor, the method for interacting cross-link information between block links according to any of the foregoing embodiments may be implemented.
In specific implementation, the computer-readable storage medium is a magnetic Disk, an optical Disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a flash Memory (FlashMemory), a Hard Disk (Hard Disk Drive, abbreviated as HDD), a Solid-State Drive (SSD), or the like; the computer readable storage medium may also include a combination of memories of the above kinds.
EXAMPLE six
Fig. 5 is a communication device according to a sixth embodiment of the present application, and as shown in fig. 5, the communication device includes at least one processor and a memory communicatively connected to the processor, where the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the processor executes a method corresponding to inter-blockchain inter-chain information interaction described in the above method embodiment, specifically referring to the description in the above method embodiment.
In particular, the number of processors may be one or more, and the processor may be a Central Processing Unit (CPU). The Processor may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, or a combination thereof. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory and the processors may be communicatively connected by a bus or other means, and the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so as to cause the processor to execute the inter-block chain cross-chain information interaction method according to any one of the first embodiment, the second embodiment, or the third embodiment.
EXAMPLE seven
The seventh embodiment of the present invention provides an application of the inter-block chain inter-chain information interaction method in electronic certificate chain crossing, which includes the following steps:
the first blockchain account sends cross-chain interaction request information to the first cross-chain contract;
after the first cross-chain contract receives the cross-chain interaction request information, the interactive electronic certificate in the cross-chain interaction request information is frozen;
a collector in the relay block chain actively collects the cross-chain interaction request information received by the first cross-chain contract, and records the cross-chain interaction on the relay block chain after signature verification proves that the cross-chain interaction is irreversible;
a collector in the second block chain actively collects cross-chain interaction records on the relay block chain and sends cross-chain interaction request information to the second cross-chain contract;
and the second cross-chain contract receives the cross-chain interaction request information, maps the interactive electronic certificate according to the cross-chain interaction request information, unlocks the mapped interactive electronic certificate and transfers the electronic certificate to the second block chain account.
Compared with the prior art, the inter-block chain cross-chain information interaction method, the system, the medium, the equipment and the application provided by the invention have the advantages that the relay block chain is utilized to realize information exchange among public chains, and the condition that one block chain is a data isolated island is avoided; the distributed management of the relay platform and the cross-chain circulation of data are realized by using a mode of collecting cross-chain information and verifying signatures by a plurality of collectors, and cross-chain interaction is recorded on a relay block chain; meanwhile, a reliable standardized heterogeneous blockchain cross-chain solution is constructed.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (12)

1. A method for interacting cross-link information between block chains is characterized in that: the method comprises a first blockchain, a relay blockchain and a second blockchain, wherein the first blockchain comprises a first blockchain account and a first cross-chain contract, the second blockchain comprises a second blockchain account and a second cross-chain contract, and the first blockchain, the relay blockchain and the second blockchain are all provided with collectors, and the method comprises the following steps:
s101: the first blockchain account sends cross-chain interaction request information to the first cross-chain contract;
s102: after the first cross-chain contract receives the cross-chain interaction request information, the interaction data in the cross-chain interaction request information is frozen;
s103: a collector in the relay block chain actively collects the cross-chain interaction request information received by the first cross-chain contract, and records the cross-chain interaction on the relay block chain after signature verification proves that the cross-chain interaction is irreversible;
s104: a collector in the second block chain actively collects cross-chain interaction records on the relay block chain and sends cross-chain interaction request information to the second cross-chain contract;
s105: and the second cross-chain contract receives the cross-chain interaction request information, maps the interaction data according to the cross-chain interaction request information, unlocks the mapped interaction data and transfers the interaction data to the second blockchain account.
2. The inter-block chain inter-interlinkage information interaction method according to claim 1, characterized in that: the cross-chain interaction request information comprises interaction data, transfer-in account information and transfer-out account information, wherein the transfer-in account information is the name of the second block chain account, and the transfer-out account information is the name of the first block chain account.
3. The inter-block chain inter-interlinkage information interaction method according to claim 1, characterized in that: the relay block chain collector collects cross-chain interaction request information in real time, different preset proportions are set according to different interaction information, and the cross-chain interaction is determined to be irreversible if the signature of the collector exceeding the preset proportions is verified; and the collector verifies the collected cross-chain interaction request information according to different time nodes.
4. The inter-block chain inter-interlinkage information interaction method according to claim 1, characterized in that: and if the transferred account information sent by the first block chain account does not exist in the second block chain, the second cross-chain contract cannot transfer the mapped interactive data, the second cross-chain contract reports an error to a collector of the second block chain, records the abnormality, and sets a data recovery rule.
5. The inter-block chain inter-interlinkage information interaction method according to claim 4, characterized in that: the data retrieving rule comprises that after a first cross-link contract receives a cross-link interaction request of a first blockchain account, a certificate is issued to the first blockchain account to prove that the account sends the request, wherein the certificate is certificate information encrypted by a public key of the first blockchain account; if an error occurs in the cross-chain interaction process, the account can send the request again according to the certificate.
6. The inter-block chain inter-interlinkage information interaction method according to claim 1, characterized in that: the method further comprises the following steps:
s201: the second blockchain account sends cross-chain interaction request information to the second cross-chain contract;
s202: after the second cross-chain contract receives the cross-chain interaction request information, the interaction data in the cross-chain interaction request information is frozen;
s203: a collector in the relay block chain actively collects the cross-chain interaction request information received by the second cross-chain contract, and records the cross-chain interaction on the relay block chain after signature verification proves that the cross-chain interaction is irreversible;
s204: a collector in the first block chain actively collects cross-chain interaction records on a relay block chain and sends cross-chain interaction request information to the first cross-chain contract;
s205: and the first cross-chain contract receives the cross-chain interaction request information, unlocks the frozen interaction data and transfers the interaction data to the first blockchain account.
7. A method for cross-chain information interaction among a plurality of heterogeneous block chains is characterized in that: the method comprises a plurality of block chains, wherein the block chains adopt the inter-block chain information interaction method of any one of claims 1 to 6 to carry out cross-chain information interaction.
8. The method of claim 7, wherein the method comprises: the relay block chain is provided with a plurality of relay nodes for finishing the cross-chain information interaction among a plurality of heterogeneous block chains.
9. The inter-block chain cross-chain information interaction system is characterized by comprising a first block chain, a relay block chain and a second block chain, wherein the first block chain comprises a first block chain account and a first cross-chain contract, the second block chain comprises a second block chain account and a second cross-chain contract, and the first block chain, the relay block chain and the second block chain are all provided with collectors, wherein:
the first blockchain account sends cross-chain interaction request information to the first cross-chain contract;
after the first cross-chain contract receives the cross-chain interaction request information, the interaction data in the cross-chain interaction request information is frozen;
a collector in the relay block chain actively collects the cross-chain interaction request information received by the first cross-chain contract, and records the cross-chain interaction on the relay block chain after signature verification proves that the cross-chain interaction is irreversible;
a collector in the second block chain actively collects cross-chain interaction records on the relay block chain and sends cross-chain interaction request information to the second cross-chain contract;
and the second cross-chain contract receives the cross-chain interaction request information, maps the interaction data according to the cross-chain interaction request information, unlocks the mapped interaction data and transfers the interaction data to the second blockchain account.
10. A computer-readable storage medium characterized by: the computer-readable storage medium stores computer instructions, and when executed by a processor, the computer implements the inter-blockchain information interaction method according to any one of claims 1 to 8.
11. A communication device, characterized by: the system comprises at least one processor and a memory which is in communication connection with the processor, wherein the memory stores instructions which can be executed by the at least one processor, and the instructions are executed by the at least one processor so as to cause the processor to execute the inter-block chain cross-chain information interaction method according to any one of claims 1 to 8.
12. An application of the method for interacting the information of the block chains according to any one of claims 1 to 8 in the crossing of the chains of the electronic certificates, comprising the following steps:
the first blockchain account sends cross-chain interaction request information to the first cross-chain contract;
after the first cross-chain contract receives the cross-chain interaction request information, the interactive electronic certificate in the cross-chain interaction request information is frozen;
a collector in the relay block chain actively collects the cross-chain interaction request information received by the first cross-chain contract, and records the cross-chain interaction on the relay block chain after signature verification proves that the cross-chain interaction is irreversible;
a collector in the second block chain actively collects cross-chain interaction records on the relay block chain and sends cross-chain interaction request information to the second cross-chain contract;
and the second cross-chain contract receives the cross-chain interaction request information, maps the interactive electronic certificate according to the cross-chain interaction request information, unlocks the mapped interactive electronic certificate and transfers the electronic certificate to the second block chain account.
CN202010475109.6A 2020-05-29 2020-05-29 Inter-block chain cross-chain information interaction method, system, medium, equipment and application Active CN111800463B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010475109.6A CN111800463B (en) 2020-05-29 2020-05-29 Inter-block chain cross-chain information interaction method, system, medium, equipment and application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010475109.6A CN111800463B (en) 2020-05-29 2020-05-29 Inter-block chain cross-chain information interaction method, system, medium, equipment and application

Publications (2)

Publication Number Publication Date
CN111800463A true CN111800463A (en) 2020-10-20
CN111800463B CN111800463B (en) 2023-04-07

Family

ID=72806562

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010475109.6A Active CN111800463B (en) 2020-05-29 2020-05-29 Inter-block chain cross-chain information interaction method, system, medium, equipment and application

Country Status (1)

Country Link
CN (1) CN111800463B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112669036A (en) * 2020-12-28 2021-04-16 杭州趣链科技有限公司 Account management method, system, server and medium
CN112738243A (en) * 2020-12-29 2021-04-30 合肥达朴汇联科技有限公司 Block chain information cross-chain interaction system
CN112787999A (en) * 2020-12-25 2021-05-11 深圳前海微众银行股份有限公司 Cross-chain calling method, device, system and computer readable storage medium
CN112804359A (en) * 2021-03-30 2021-05-14 支付宝(杭州)信息技术有限公司 Method and apparatus for providing cross-chain messages
CN112804358A (en) * 2021-03-30 2021-05-14 支付宝(杭州)信息技术有限公司 Method and device for transferring data in cross-link mode based on relay equipment network
CN112861186A (en) * 2021-01-28 2021-05-28 上海分布信息科技有限公司 Identity consistency proving method and identity consistency proving system
CN112910946A (en) * 2020-12-29 2021-06-04 合肥达朴汇联科技有限公司 Block chain information cross-chain interaction method, system and equipment applied to t2 node
CN112953999A (en) * 2020-12-29 2021-06-11 合肥达朴汇联科技有限公司 Block chain information cross-chain interaction method, system and equipment applied to t1 node
CN113328935A (en) * 2021-05-20 2021-08-31 福建思特电子有限公司 Distributed safety tracing block chain system based on industrial internet
CN113395354A (en) * 2021-06-30 2021-09-14 中国农业银行股份有限公司 Contract calling method and contract calling system based on block chain
WO2022141059A1 (en) * 2020-12-29 2022-07-07 合肥达朴汇联科技有限公司 Method and system for cross-chain exchange of blockchain information, electronic device, and storage medium
WO2022140948A1 (en) * 2020-12-28 2022-07-07 杭州趣链科技有限公司 Account management method and system, and server and medium
WO2023207085A1 (en) * 2022-04-29 2023-11-02 蚂蚁区块链科技(上海)有限公司 System and method for cross-blockchain interaction

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108269190A (en) * 2018-01-17 2018-07-10 深圳四方精创资讯股份有限公司 Across chain method and its system based on across chain relaying platform
CN109345387A (en) * 2018-09-04 2019-02-15 湖南宸瀚信息科技有限责任公司 Across the chain method of commerce of block chain, across chain communication device and storage medium
CN110033271A (en) * 2019-03-22 2019-07-19 湖南天河国云科技有限公司 Across the chain method of commerce of one kind, system and computer readable storage medium
CN110471984A (en) * 2019-07-15 2019-11-19 阿里巴巴集团控股有限公司 Method for processing business and device, electronic equipment 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
CN113965329A (en) * 2021-10-25 2022-01-21 浙江师范大学 Cross-chain interoperation system, method, medium and data processing terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108269190A (en) * 2018-01-17 2018-07-10 深圳四方精创资讯股份有限公司 Across chain method and its system based on across chain relaying platform
CN109345387A (en) * 2018-09-04 2019-02-15 湖南宸瀚信息科技有限责任公司 Across the chain method of commerce of block chain, across chain communication device and storage medium
CN110033271A (en) * 2019-03-22 2019-07-19 湖南天河国云科技有限公司 Across the chain method of commerce of one kind, system and computer readable storage medium
CN110471984A (en) * 2019-07-15 2019-11-19 阿里巴巴集团控股有限公司 Method for processing business and device, electronic equipment 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
CN113965329A (en) * 2021-10-25 2022-01-21 浙江师范大学 Cross-chain interoperation system, method, medium and data processing terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李芳等: "区块链跨链技术进展研究", 《软件学报》 *

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112787999A (en) * 2020-12-25 2021-05-11 深圳前海微众银行股份有限公司 Cross-chain calling method, device, system and computer readable storage medium
CN112787999B (en) * 2020-12-25 2023-02-17 深圳前海微众银行股份有限公司 Cross-chain calling method, device, system and computer readable storage medium
CN112669036B (en) * 2020-12-28 2024-03-29 杭州趣链科技有限公司 Account management method, system, server and medium
CN112669036A (en) * 2020-12-28 2021-04-16 杭州趣链科技有限公司 Account management method, system, server and medium
WO2022140948A1 (en) * 2020-12-28 2022-07-07 杭州趣链科技有限公司 Account management method and system, and server and medium
WO2022141059A1 (en) * 2020-12-29 2022-07-07 合肥达朴汇联科技有限公司 Method and system for cross-chain exchange of blockchain information, electronic device, and storage medium
CN112738243A (en) * 2020-12-29 2021-04-30 合肥达朴汇联科技有限公司 Block chain information cross-chain interaction system
CN112910946A (en) * 2020-12-29 2021-06-04 合肥达朴汇联科技有限公司 Block chain information cross-chain interaction method, system and equipment applied to t2 node
CN112953999A (en) * 2020-12-29 2021-06-11 合肥达朴汇联科技有限公司 Block chain information cross-chain interaction method, system and equipment applied to t1 node
CN112738243B (en) * 2020-12-29 2022-06-24 合肥达朴汇联科技有限公司 Block chain information cross-chain interaction system
CN112861186A (en) * 2021-01-28 2021-05-28 上海分布信息科技有限公司 Identity consistency proving method and identity consistency proving system
CN112804358A (en) * 2021-03-30 2021-05-14 支付宝(杭州)信息技术有限公司 Method and device for transferring data in cross-link mode based on relay equipment network
CN112804359A (en) * 2021-03-30 2021-05-14 支付宝(杭州)信息技术有限公司 Method and apparatus for providing cross-chain messages
CN113328935B (en) * 2021-05-20 2022-11-11 福建思特电子有限公司 Distributed safety tracing block chain system based on industrial internet
CN113328935A (en) * 2021-05-20 2021-08-31 福建思特电子有限公司 Distributed safety tracing block chain system based on industrial internet
CN113395354A (en) * 2021-06-30 2021-09-14 中国农业银行股份有限公司 Contract calling method and contract calling system based on block chain
CN113395354B (en) * 2021-06-30 2022-11-29 中国农业银行股份有限公司 Contract calling method and contract calling system based on block chain
WO2023207085A1 (en) * 2022-04-29 2023-11-02 蚂蚁区块链科技(上海)有限公司 System and method for cross-blockchain interaction

Also Published As

Publication number Publication date
CN111800463B (en) 2023-04-07

Similar Documents

Publication Publication Date Title
CN111800463B (en) Inter-block chain cross-chain information interaction method, system, medium, equipment and application
CN109450638B (en) Block chain-based electronic component data management system and method
CN110868440B (en) Block chain male chain
CN109685489B (en) Cross-chain transaction method for assets between block chains
CN109118230B (en) Information processing method and device based on block chain
CN111159288A (en) Method, system, device and medium for storing, verifying and realizing chain structure data
CN111598566A (en) Network payment system based on mixed cross-chain
CN107688944A (en) A kind of power system method of commerce based on block chain
EP3779760B1 (en) Blockchain-based data processing method and apparatus, and electronic device
EP3726774A1 (en) Transparent blockchain sidechains to support blockchain processing heterogeneity
CN111339110B (en) Transaction backup method and system based on block chain
CN112511350B (en) Alliance chain multi-level consensus method, device and storage medium
CN112307501B (en) Big data system based on block chain technology, storage method and using method
CN111899019A (en) Method and system for cross validation and sharing of blacklist and multiple parties
CN114240439A (en) Cross-chain transaction rollback method and device based on threshold signature and double-hash chain mode
CN110555783A (en) block chain-based power marketing data protection method and system
CN113556393A (en) Multi-type intermodal data exchange system and method based on block chain
WO2020114310A1 (en) Method, network node and network for recording and providing data,
TWM637418U (en) Blockchain system applied to insurance operations
CN111402104B (en) Block chain-based public security data management platform and method
CN113810185A (en) Anti-trapdoor leakage on-chain data restoration system and method
CN111222876A (en) Method and system for solving cross-chain coupling
US20220270717A1 (en) System and method for collecting clinical trial data based on block-chain
CN117556463A (en) House property right management method, medium and system based on blockchain technology
CN114328544B (en) Method, system, equipment and storage medium for storing judicial data based on block chain

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant