CN111800463B - 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
CN111800463B
CN111800463B CN202010475109.6A CN202010475109A CN111800463B CN 111800463 B CN111800463 B CN 111800463B CN 202010475109 A CN202010475109 A CN 202010475109A CN 111800463 B CN111800463 B CN 111800463B
Authority
CN
China
Prior art keywords
chain
cross
interaction
block chain
information
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.)
Active
Application number
CN202010475109.6A
Other languages
Chinese (zh)
Other versions
CN111800463A (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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

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 among 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. CN 108269190A) 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 transfers 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-link 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 collecting persons are provided with a plurality of collecting persons, the relay block chain collecting person collects 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 collecting persons A, B, C and D.once.N, when the preset proportion of the collecting person A is reached, the collecting persons except the collecting person A are required to verify the interaction information, and after signature verification of the collecting person 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-link contract cannot transfer the mapped interactive data, the second cross-link contract reports an error to a collector of the second blockchain and records the abnormality, and a data retrieving 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 confirms 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-link contract receives the cross-link interaction request information, maps interaction data according to the cross-link 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-link contract receives the cross-link interaction request information, maps the interactive electronic certificate according to the cross-link 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 interchange among public chains, so that 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 signature verification 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 used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can obtain other drawings based on the drawings without inventive labor.
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 information interaction between block chains according to an embodiment of the present invention, and fig. 2 is a schematic structural diagram of the method for information interaction between block chains according to the embodiment of the present invention, 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-chain contract, the second block chain includes 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 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 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: 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 confirms that the cross-chain interaction is irreversible.
In specific implementation, the collecting persons are provided with a plurality of collecting persons, the relay block chain collecting person collects 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 collecting persons A, B, C and D.. Once.N, when the preset proportion of the collecting person A is reached, the collecting persons except the collecting person A are required to verify the interaction information, and after signature verification of the collecting person 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 the important time node, and the collector verifies the cross-chain interactive request information collected 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-link contract receives the cross-link interaction request information, maps interaction data according to the cross-link 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 established.
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 inter-block-chain information interaction method for multiple heterogeneous block chains provided by the third embodiment of the application includes multiple block chains, and the block chains perform inter-chain information interaction by using any one of the above inter-block-chain information interaction methods. The relay block chain is provided with a plurality of relay nodes used for finishing cross-chain information interaction among the 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 (Flash Memory), a Hard Disk (Hard Disk Drive, abbreviated as HDD), or a Solid-State Drive (SSD); 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 a specific implementation, the number of the processors may be one or more, and the processor may be a Central Processing Unit (CPU). The Processor may also be other general purpose Processor, digital Signal Processor (DSP), application Specific Integrated Circuit (ASIC), field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, 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, where the instructions are executed by the at least one processor to cause the processor to perform the inter-block chain cross-chain information interaction method as described in 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 credential chain crossing, including 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 signature verification 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 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-link contract, the second block chain comprises a second block chain account and a second cross-link contract, and the first block chain, the relay block chain and the second block chain 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 plurality of collectors are arranged in the relay block chain, the collector collects the cross-chain interaction request information received by the first cross-chain contract in real time, different preset proportions are set according to different interaction information, if signature verification of the collector exceeding the preset proportions is performed, the cross-chain interaction is determined to be irreversible, and after the signature verification determines that the cross-chain interaction is irreversible, the cross-chain interaction is recorded on the relay block chain;
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: 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 plurality of collectors are arranged in the relay block chain, the collector collects the cross-chain interaction request information in real time, different preset proportions are set according to different interaction information, the cross-chain interaction is determined to be irreversible if the signature of the collector exceeding the preset proportions is verified, and the cross-chain interaction is recorded on the relay block chain after the signature is verified to be 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-link contract receives the cross-link interaction request information, unlocks the frozen interaction data and transfers the frozen 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, and the block chains adopt the method for interacting the cross-chain information among the block chains according to any one of the claims 1-6.
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 plurality of collectors are arranged in the relay block chain, the collector collects the cross-chain interaction request information in real time, different preset proportions are set according to different interaction information, the cross-chain interaction is determined to be irreversible if the signature of the collector exceeding the preset proportions is verified, and the cross-chain interaction is recorded on the relay block chain after the signature is verified to be 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 to enable the processor to execute the inter-block chain cross-chain information interaction method according to any one of claims 1-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 plurality of collectors are arranged in the relay block chain, the collector collects the cross-chain interaction request information in real time, different preset proportions are set according to different interaction information, the cross-chain interaction is determined to be irreversible if the signature of the collector exceeding the preset proportions is verified, and the cross-chain interaction is recorded on the relay block chain after the signature is verified to be 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 CN111800463A (en) 2020-10-20
CN111800463B true 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)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112787999B (en) * 2020-12-25 2023-02-17 深圳前海微众银行股份有限公司 Cross-chain calling method, device, system and computer readable storage medium
WO2022140948A1 (en) * 2020-12-28 2022-07-07 杭州趣链科技有限公司 Account management method and system, and server and medium
CN112669036B (en) * 2020-12-28 2024-03-29 杭州趣链科技有限公司 Account management method, system, server and medium
CN112910946B (en) * 2020-12-29 2022-06-28 合肥达朴汇联科技有限公司 Block chain information cross-chain interaction method, system and equipment applied to t2 node
WO2022141059A1 (en) * 2020-12-29 2022-07-07 合肥达朴汇联科技有限公司 Method and system for cross-chain exchange of blockchain information, electronic device, and storage medium
CN112953999B (en) * 2020-12-29 2024-05-24 合肥达朴汇联科技有限公司 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
CN112861186B (en) * 2021-01-28 2023-01-10 上海分布信息科技有限公司 Identity consistency proving method and identity consistency proving system
CN113676546A (en) * 2021-03-30 2021-11-19 支付宝(杭州)信息技术有限公司 Method and device for transferring data in cross-link mode based on relay equipment network
CN112804359B (en) * 2021-03-30 2021-07-06 支付宝(杭州)信息技术有限公司 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
CN113395354B (en) * 2021-06-30 2022-11-29 中国农业银行股份有限公司 Contract calling method and contract calling system based on block chain
CN114793235B (en) * 2022-04-29 2024-03-29 蚂蚁区块链科技(上海)有限公司 System and method for cross-blockchain interactions

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
区块链跨链技术进展研究;李芳等;《软件学报》;20190327(第06期);全文 *

Also Published As

Publication number Publication date
CN111800463A (en) 2020-10-20

Similar Documents

Publication Publication Date Title
CN111800463B (en) Inter-block chain cross-chain information interaction method, system, medium, equipment and application
CN110868440B (en) Block chain male chain
CN109450638B (en) Block chain-based electronic component data management system and method
CN109685489B (en) Cross-chain transaction method for assets between block chains
CN111898148B (en) Information supervision method and device based on blockchain
WO2020143183A1 (en) Blockchain consensus method based on delegated proof of stake, and related device
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
CN112511350B (en) Alliance chain multi-level consensus method, device and storage medium
CN113487427B (en) Transaction risk identification method, device and system
EP3726774A1 (en) Transparent blockchain sidechains to support blockchain processing heterogeneity
CN111339110B (en) Transaction backup method and system based on block chain
CN112307501B (en) Big data system based on block chain technology, storage method and using method
CN114240439B (en) Cross-chain transaction rollback method and device based on threshold signature and double-hash chain mode
CN109543459A (en) A kind of data deposit card method and apparatus
CN112291305A (en) Code chain construction method and device based on unified identification
CN115270145A (en) User electricity stealing behavior detection method and system based on alliance chain and federal learning
CN112565368A (en) Block chain-based offshore equipment ad hoc network system, method and medium
CN115242401B (en) System and method for testing data certification based on blockchain
Zhang et al. A master-slave chain architecture model for cross-domain trusted and authentication of power services
TWM637418U (en) Blockchain system applied to insurance operations
CN111402104B (en) Block chain-based public security data management platform and method
CN112633706A (en) Internet of things terminal data processing method and system based on layered multi-chain
CN113810185A (en) Anti-trapdoor leakage on-chain data restoration system and method

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