CN111489256B - Cross-chain processing method, device and system for multi-chain block chain system - Google Patents

Cross-chain processing method, device and system for multi-chain block chain system Download PDF

Info

Publication number
CN111489256B
CN111489256B CN201910071307.3A CN201910071307A CN111489256B CN 111489256 B CN111489256 B CN 111489256B CN 201910071307 A CN201910071307 A CN 201910071307A CN 111489256 B CN111489256 B CN 111489256B
Authority
CN
China
Prior art keywords
chain
cross
link
target
source
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
CN201910071307.3A
Other languages
Chinese (zh)
Other versions
CN111489256A (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.)
Jingdong Technology Holding Co Ltd
Original Assignee
Jingdong Technology Holding 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 Jingdong Technology Holding Co Ltd filed Critical Jingdong Technology Holding Co Ltd
Priority to CN201910071307.3A priority Critical patent/CN111489256B/en
Publication of CN111489256A publication Critical patent/CN111489256A/en
Application granted granted Critical
Publication of CN111489256B publication Critical patent/CN111489256B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention provides a cross-chain processing method, equipment and a system for a multi-chain blockchain system. The method comprises the following steps: receiving a cross-chain transaction inquiry request, wherein the cross-chain transaction inquiry request comprises an identification of a target chain; acquiring the cross-link transaction data of the target chain from a transfer chain table of the source chain according to the identification of the target chain, wherein the transfer chain table is used for storing the cross-link transaction data to be processed; and sending the cross-link transaction data of the target chain to the target chain so that the target chain performs cross-link processing according to the cross-link transaction data. The method of the embodiment of the invention realizes the cross-chain processing in the multi-chain block chain system and expands the application range of the multi-chain block chain system.

Description

Cross-chain processing method, device and system for multi-chain block chain system
Technical Field
The embodiment of the invention relates to the technical field of blockchains, in particular to a method, equipment and a system for processing cross chains in a multi-chain blockchain system.
Background
Blockchains are novel application modes of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanisms, encryption algorithms, and the like. The blockchain is essentially a decentralised database, and is a brand new distributed infrastructure and computing mode for verifying and storing data by using a blockchain data structure, generating and updating data by using a distributed node consensus algorithm, ensuring the safety of data transmission and access by using a cryptography mode, and programming and operating the data by using an intelligent contract consisting of an automatic script code.
The blockchain technology needs to simultaneously achieve decentralization, expansibility and throughput, and the low throughput of the blockchain in the actual business scenario has become a bottleneck in the wide use of the blockchain technology. How to improve throughput of a blockchain system has become a technical problem that is of great concern in the blockchain art. The multi-chain technique is an efficient way to increase the throughput of a blockchain system.
Multi-chain technology is becoming increasingly important and used as one of the effective ways to increase throughput of blockchain systems. In a multi-chain blockchain system, one problem to be solved is how data flows between sub-blockchains in the multi-chain blockchain system, i.e., a cross-chain problem in the multi-chain blockchain system. If data cannot flow among sub-blockchains in the multi-chain blockchain system, the application range of the multi-chain blockchain system is seriously affected.
Disclosure of Invention
The embodiment of the invention provides a cross-chain processing method, equipment and a system for a multi-chain block chain system, which are used for realizing the cross-chain processing in the multi-chain block chain system and expanding the application range of the multi-chain block chain system.
In a first aspect, an embodiment of the present invention provides a method for processing a cross-chain in a multi-chain blockchain system, applied to a source chain, including:
Receiving a cross-chain transaction inquiry request, wherein the cross-chain transaction inquiry request comprises an identification of a target chain;
acquiring the cross-link transaction data of the target chain from a transfer chain table of the source chain according to the identification of the target chain, wherein the transfer chain table is used for storing the cross-link transaction data to be processed;
and sending the cross-link transaction data of the target chain to the target chain so that the target chain performs cross-link processing according to the cross-link transaction data.
In one possible implementation, after receiving the cross-chain transaction query request, the method further includes:
the signature in the cross-chain transaction query request is verified.
In one possible implementation, the method further includes:
the cross-chain process is recorded in the same ledger in the source chain as the in-chain process.
In one possible implementation, before receiving the cross-chain transaction query request, the method further includes:
receiving transaction request information sent by a client, wherein the transaction request information comprises source account information, target account information and asset transfer information;
acquiring a sub-block chain identifier corresponding to target account information;
determining cross-link transaction data according to the transaction request information and the sub-block link identification;
and adding the cross-chain transaction data into a transit linked list of the source chain.
In a possible implementation manner, obtaining a sub-block chain identifier corresponding to the target account information includes:
an account inquiry request is sent to a system chain, wherein the account inquiry request comprises target account information, so that the system chain determines a sub-block chain identifier corresponding to the target account information according to the target account information, and the system chain comprises a mapping relation between an account and the sub-block chain identifier;
and receiving a sub-block chain identifier corresponding to the target account information returned by the system chain.
In one possible implementation, the method further includes:
acquiring transaction states corresponding to each cross-link transaction data in a transfer linked list;
and if the transaction state corresponding to the cross-link transaction data is successful, deleting the cross-link transaction data from the transfer linked list.
In a second aspect, an embodiment of the present invention provides a method for processing a cross-chain in a multi-chain blockchain system, applied to a target chain, including:
sending a cross-link transaction inquiry request to a source chain, wherein the cross-link transaction inquiry request comprises an identification of a target chain;
receiving cross-link transaction data sent by a source chain, wherein the cross-link transaction data are acquired from a transit linked list of the source chain according to the identification of a target chain;
and performing cross-chain processing according to the cross-chain transaction data.
In one possible implementation, before sending the cross-chain transaction query request to the source chain, the method further includes:
the cross-chain transaction query request is signed.
In one possible implementation, the method further includes:
the cross-chain process is recorded in the same ledger as the in-chain process in the target chain.
In one possible implementation, the method further includes:
and updating the transaction state corresponding to the cross-chain transaction data according to the cross-chain processing result.
In a third aspect, an embodiment of the present invention provides a cross-chain processing apparatus for use in a multi-chain blockchain system, comprising:
the receiving module is used for receiving a cross-link transaction inquiry request, wherein the cross-link transaction inquiry request comprises an identification of a target link;
the acquisition module is used for acquiring the cross-link transaction data of the target chain from a transfer chain table of the source chain according to the identification of the target chain, wherein the transfer chain table is used for storing the cross-link transaction data to be processed;
and the sending module is used for sending the cross-link transaction data of the target link to the target link so as to enable the target link to perform cross-link processing according to the cross-link transaction data.
In a fourth aspect, an embodiment of the present invention provides a cross-chain processing apparatus for use in a multi-chain blockchain system, comprising:
The sending module is used for sending a cross-link transaction inquiry request to the source chain, wherein the cross-link transaction inquiry request comprises the identification of the target chain;
the receiving module is used for receiving the cross-link transaction data sent by the source chain, wherein the cross-link transaction data is obtained from a transit linked list of the source chain according to the identification of the target chain;
and the processing module is used for performing cross-chain processing according to the cross-chain transaction data.
In a fifth aspect, an embodiment of the present invention provides an electronic device, including:
a memory;
a processor; and
a computer program;
wherein the computer program is stored in a memory and configured to be executed by a processor to implement a method of cross-chain processing in a multi-chain blockchain system as in any of the first aspects and/or a method of cross-chain processing in a multi-chain blockchain system as in any of the second aspects.
In a sixth aspect, embodiments of the present invention provide a multi-chain blockchain system including:
a system chain and a plurality of sub-block chains;
the network topology structures, the consensus algorithm and the organization participants of the multiple sub-blockchains are the same;
the system chain comprises a mapping relation between an account number and a sub-block chain identifier, and is used for determining the sub-block chain identifier corresponding to the account number according to the account number;
Source chains of the plurality of sub-blockchains are cross-chain processed using a cross-chain processing method for use in a multi-chain blockchain system as in any of the first aspects;
target chains of the plurality of sub-blockchains are cross-chain processed using a cross-chain processing method as described in any of the second aspects for use in a multi-chain blockchain system.
In a seventh aspect, embodiments of the present invention provide a computer readable storage medium having stored thereon a computer program for execution by a processor to implement a method of cross-chain processing for use in a multi-chain blockchain system as in any of the first aspects and/or a method of cross-chain processing for use in a multi-chain blockchain system as in any of the second aspects.
According to the method, the device and the system for processing the cross-link in the multi-link blockchain system, the cross-link transaction data of the target link is obtained from the transit linked list of the source link according to the identification of the target link by receiving the cross-link transaction query request comprising the identification of the target link, wherein the transit linked list is used for storing the cross-link transaction data to be processed and sending the cross-link transaction data of the target link to the target link, so that the target link performs cross-link processing according to the cross-link transaction data, cross-link processing in the multi-link blockchain system is realized, and the application range of the multi-link blockchain system is expanded. .
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a schematic diagram of one embodiment of a multi-chain blockchain system provided by the present invention;
FIG. 2 is a flow chart of one embodiment of a method for cross-chain processing in a multi-chain blockchain system provided by the present invention;
FIG. 3 is a schematic diagram of a further embodiment of a multi-chain blockchain system provided by the present invention;
FIG. 4 is a flowchart of yet another embodiment of a method for cross-chain processing in a multi-chain blockchain system provided by the present invention;
FIG. 5 is a flowchart of another embodiment of a cross-chain processing method for use in a multi-chain blockchain system provided by the present invention;
FIG. 6 is a flowchart of yet another embodiment of a method for cross-chain processing in a multi-chain blockchain system provided by the present invention;
FIG. 7 is a signaling flow diagram of another embodiment of a method for cross-chain processing in a multi-chain blockchain system provided by the present invention;
FIG. 8 is a flow chart of a method of cross-chain processing in a multi-chain blockchain system provided by the present invention;
FIG. 9 is a block diagram illustrating an exemplary embodiment of a cross-chain processing apparatus for use in a multi-chain blockchain system in accordance with the present invention;
FIG. 10 is a schematic diagram of a cross-chain processing apparatus for use in a multi-chain blockchain system in accordance with another embodiment of the present invention;
fig. 11 is a schematic structural diagram of an embodiment of an electronic device according to the present invention.
Specific embodiments of the present invention have been shown by way of the above drawings and will be described in more detail below. The drawings and the written description are not intended to limit the scope of the inventive concepts in any way, but rather to illustrate the inventive concepts to those skilled in the art by reference to the specific embodiments.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the invention. Rather, they are merely examples of apparatus and methods consistent with aspects of the invention as detailed in the accompanying claims.
The terms "comprising" and "having" and any variations thereof, in the description and claims, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
The terms "first" and "second" in the present invention are used for identification purposes only and are not to be construed as indicating or implying a sequential relationship, relative importance or implicitly indicating the number of technical features indicated. "plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.
Reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. It should be noted that, without conflict, the embodiments of the present invention and features of the embodiments may be combined with each other.
The embodiment of the invention provides a multi-chain blockchain system, which is a precondition for realizing safe and efficient cross-chain operation. FIG. 1 is a schematic diagram of an embodiment of a multi-chain blockchain system provided by the present invention. As shown in fig. 1, the multi-chain blockchain system provided in this embodiment may include: a system chain and a plurality of sub-block chains.
The network topology, consensus algorithm and organization participants of the multiple sub-blockchains are the same. The system chain comprises a mapping relation between an account number and a sub-block chain identifier, and is used for determining the sub-block chain identifier corresponding to the account number according to the account number.
At least one node in the system chain and each sub-block chain belongs to the same organization, and user information such as identity information, certificates and the like in the system chain and the plurality of sub-block chains are identical in each organization.
Where N represents the number of sub-blockchains included in the multi-chain blockchain system, the specific value may be determined, for example, according to a required throughput, if the required throughput increases, the value of N may be increased, and if the required throughput decreases, the value of N may be decreased, which is not limited in this embodiment. M represents the number of organization participants of the multi-chain blockchain system.
The diamonds in FIG. 1 represent nodes in the system chain and the circles represent nodes in the sub-blockchain. Org1 represents organization participant 1; orgM represents an organization participant M. Org1.p1i represents the ith node in the sub-blockchain 1 and belongs to organization participant 1; org3.p1 (i+2) represents the i+2th node in the sub-blockchain 1 and belongs to organization participant 3; org1.p3i represents the ith node in the sub-blockchain 3 and belongs to organization participant 1.
Alternatively, in each sub-block chain, the identity information of each node participating in the sub-block chain may be registered so that they know each other's existence, for example, the registration may be completed by writing the identity information into the creation block as in Hyperledger fabric.
Alternatively, for the same organization participant, although a plurality of nodes belonging to the organization participant participate in a plurality of different sub-block chain networks respectively, the existence of the identities of the other parties is known. For example, the same certificate authority (Certificate Authority, CA) may be used for the same organization's participants, and certificates and signatures may be authenticated. After the node is started, the information such as identity information, endpoint, participating sub-block chain identification and the like of each node can be registered into each node of the organization through the organization.
Optionally, the system chain is also used to maintain structural information of the multi-chain blockchain system, provide management functions of routing rules,
alternatively, the sub-blockchain may be increased by way of horizontal expansion.
The cross-chain method for the multi-chain blockchain system described in the following embodiments may be used to implement the data flowing between each sub-blockchain in the multi-chain blockchain system provided in the present embodiment. It should be noted that, the method for crossing a multi-chain blockchain system provided in the following embodiments not only can solve the problem of crossing a multi-chain blockchain system provided in the present embodiment, but also can be used in other multi-chain blockchain systems. For example, it may be used in the blockchain solution super ledger (Hyperledger Fabric) that is currently very popular, and multiple organizations may compose a federated blockchain network through Hyperledger Fabric.
In the embodiment of the invention, the source chain is a sub-block chain from which data comes in one-time cross-chain operation, the target chain is a target sub-block chain for data transfer in one-time cross-chain operation, that is, the source chain is a sub-block chain corresponding to source account information, and the target chain is a sub-block chain corresponding to target account information. It will be appreciated that the source and target chains are not fixed, and that a sub-blockchain may be either the source or target chain.
FIG. 2 is a flowchart of one embodiment of a method for cross-chain processing in a multi-chain blockchain system provided by the present invention. The present embodiment may be applied to a source chain, as shown in fig. 2, and the method provided in the present embodiment may include:
s201, receiving a cross-chain transaction inquiry request, wherein the cross-chain transaction inquiry request comprises an identification of a target chain.
The cross-link transaction inquiry request in this embodiment is sent periodically by the target link or triggered by an event, and is used to obtain the cross-link transaction data with the destination address of the source link as the target link.
The cross-chain transaction query request in this embodiment may include an identification of the target chain, e.g., a sub-block chain identification of the target chain may be employed.
S202, acquiring the cross-link transaction data of the target chain from a transfer chain table of the source chain according to the identification of the target chain, wherein the transfer chain table is used for storing the cross-link transaction data to be processed.
The transfer linked list in this embodiment is used to store the cross-link transaction data to be processed, where each cross-link transaction data may include source account information, target account information, asset transfer information, and so on. The following is an exemplary data structure for one particular cross-chain transaction data:
Figure BDA0001957372440000081
in this embodiment, according to the identifier of the target chain, the cross-chain transaction data of the target chain is obtained from the transit linked list of the source chain. For example, the target link identification of the cross-link transaction data in the transit linked list may be the same cross-link transaction data as the identification of the target link included in the cross-link transaction query request.
S203, the cross-link transaction data of the target link is sent to the target link, so that the target link performs cross-link processing according to the cross-link transaction data.
In this embodiment, after the cross-link transaction data of the target link is determined, the cross-link transaction data of the target link is sent to the target link, so that the target link performs cross-link processing according to the cross-link transaction data.
Optionally, in this embodiment, after determining the cross-link transaction data of the target link, signature processing may be further performed on the corresponding data, so as to improve the security of the cross-link processing.
According to the cross-link processing method for the multi-link blockchain system, the cross-link transaction data of the target link is obtained from the transit linked list of the source link according to the identification of the target link by receiving the cross-link transaction query request comprising the identification of the target link, wherein the transit linked list is used for storing the cross-link transaction data to be processed and sending the cross-link transaction data of the target link to the target link, so that the target link performs cross-link processing according to the cross-link transaction data, cross-link processing in the multi-link blockchain system is achieved, and the application range of the multi-link blockchain system is expanded.
Optionally, after receiving the cross-chain transaction query request, the method may further include: the signature in the cross-chain transaction query request is verified.
It will be appreciated that in order to increase the security of the cross-chain process, the cross-chain transaction query requests sent by the target chain may be signed. After the source link receives the cross-link transaction inquiry request sent by the target link, firstly, verifying the signature in the cross-link transaction inquiry request, and if the verification is passed, executing subsequent cross-link processing; if the verification is not passed, the cross-chain process is terminated.
Optionally, in order to facilitate subsequent tracing of the cross-link processing, on the basis of the foregoing embodiment, the method provided in this embodiment may further include: the cross-chain process is recorded in the same ledger in the source chain as the in-chain process.
The in-chain processing in this embodiment is data processing that occurs inside the source chain. Optionally, to reduce the impact on the service chain code, details of the cross-chain implementation may be accomplished by the relay chain code.
For example, in this embodiment, the link code may record the link record and the service link code in the same account book, which may provide convenience for tracing the link operation later.
On the basis of the foregoing embodiment, the method provided in this embodiment may further include, before receiving the cross-link transaction query request: receiving transaction request information sent by a client, wherein the transaction request information comprises source account information, target account information and asset transfer information; acquiring a sub-block chain identifier corresponding to target account information; determining cross-link transaction data according to the transaction request information and the sub-block link identification; and adding the cross-chain transaction data into a transit linked list of the source chain.
The client in this embodiment may be an application APP installed on a terminal device, receive an instruction input by a user, generate transaction request information according to the user instruction, and send the transaction request information to a source chain. The transaction request information in this embodiment may include source account information, target account information, and asset transfer information, which are used to describe a cross-chain transaction. In this embodiment, after the source chain receives the transaction request information sent by the client, the cross-link transaction data is determined according to the transaction request information and the sub-block chain identifier corresponding to the target account information, and the cross-link transaction data is added into the transit linked list of the source chain, so that the target chain can acquire corresponding cross-link transaction data from the transit linked list according to the identifier of the target chain, and cross-link processing is performed.
In some embodiments, one implementation way of obtaining the sub-blockchain identifier corresponding to the target account information may be: an account inquiry request is sent to a system chain, wherein the account inquiry request comprises target account information, so that the system chain determines a sub-block chain identifier corresponding to the target account information according to the target account information, and the system chain comprises a mapping relation between an account and the sub-block chain identifier; and receiving a sub-block chain identifier corresponding to the target account information returned by the system chain.
The system chain in the embodiment comprises the mapping relation between the account number and the sub-blockchain identifier, so that the function of searching the sub-blockchain identifier corresponding to the account number can be provided.
In this embodiment, after receiving the transaction request information sent by the client, the source chain sends an account query request to the system chain, where the account query request includes the target account information, so that the system chain determines a sub-block chain identifier corresponding to the target account information according to the target account information.
On the basis of any one of the foregoing embodiments, in order to further improve the processing efficiency, the method provided in this embodiment may further include: acquiring transaction states corresponding to each cross-link transaction data in a transfer linked list; and if the transaction state corresponding to the cross-link transaction data is successful, deleting the cross-link transaction data from the transfer linked list.
In the embodiment, the cross-link transaction data which is successful in transaction is deleted from the transfer linked list, so that the data volume in the transfer linked list can be reduced, the processing speed of the cross-link transaction inquiry request is improved, and the problem that the system is slow due to too much data in the transfer linked list is effectively avoided.
In this embodiment, the transaction state corresponding to each cross-link transaction data in the transfer link table may be obtained, for example, by querying the transaction identifier in the target link. This embodiment is not limited thereto.
In order to support information communication across chain processes, there is a need to support underlying trusted transmissions between nodes. FIG. 3 is a schematic diagram of a multi-chain blockchain system provided by the present invention. As shown in FIG. 3, the multi-chain blockchain system provided in this embodiment provides a secure underlying communication mechanism based on the multi-chain blockchain system of FIG. 1.
As shown in fig. 3, in order to ensure that the cross-link processing is safe and reliable, and that the whole cross-link process can be endorsed and traced, in this embodiment, each node organized only believes that the node is organized on other sub-blockchains, so that the cross-link communication only occurs between nodes on different sub-blockchains in the same organization. The node ensures the reliability of the information by authenticating the identity information and the signature of the opposite party. After each node is started, it will monitor the cross-link transaction inquiry requests from other nodes of the organization according to the configuration, and in order to improve the communication efficiency and security, the remote procedure call (Remote Procedure Call, RPC) protocol may be used for communication in this embodiment.
Meanwhile, each node needs to provide an interface for bottom communication for the chain code, so that the chain code can cross-link call the chain code on other sub-block chain networks through the interface. For example, in Hyperledger Fabric, interfaces can be added on an existing basis by augmenting the shim interface in the node code: func (stub chaincacodestub) invoke network chaincode (networked string, chaincodeName string, args [ ] byte, channel string) pb. Alternatively, the interface in fig. 3 may employ a shim interface.
It should be noted that the cross-link communication only occurs in the endorsement stage, and if the endorsement node needs to query the link code information on other sub-blockchains, the cross-link transaction query request is triggered. Moreover, for security reasons, cross-chain processing can only call query interfaces, and cannot call interfaces for write operations.
On the basis of the above embodiments, the present embodiment combines the above embodiments. FIG. 4 is a flowchart of another embodiment of a cross-chain processing method for use in a multi-chain blockchain system provided by the present invention. As shown in fig. 4, the method provided in this embodiment may include:
s401, receiving a cross-link transaction inquiry request, wherein the cross-link transaction inquiry request comprises an identification of a target link.
S402, verifying the signature in the cross-chain transaction inquiry request. If the verification is passed, S403 is executed; if the verification is not passed, the cross-chain process is terminated.
S403, decoding the cross-link transaction inquiry request to acquire cross-link transaction data of the target link.
S404, performing signature processing on the cross-link transaction data of the target chain, and sending the cross-link transaction data after signature processing to the target chain.
In this embodiment, for example, a shim communication interface may be called, and the signed cross-chain transaction data after processing is sent to the target chain.
According to the cross-chain processing method for the multi-chain blockchain system, on the basis of any one of the above embodiments, the security and reliability of the cross-chain processing are further improved by performing signature processing on the cross-chain transaction inquiry request and the cross-chain transaction data.
FIG. 5 is a flowchart of another embodiment of a cross-chain processing method for use in a multi-chain blockchain system provided by the present invention. The method provided in this embodiment may be applied to a target chain, as shown in fig. 5, where the method provided in this embodiment may include:
s501, sending a cross-link transaction inquiry request to a source chain, wherein the cross-link transaction inquiry request comprises an identification of a target chain.
Optionally, in this embodiment, the target chain may first establish an RPC connection with the source chain before sending the cross-chain transaction query request to the source chain.
In this embodiment, the target chain may periodically send a cross-link transaction query request to the source chain, or may send a cross-link transaction query request to the source chain when receiving the trigger type message. The trigger target chain sends trigger type information of the cross-chain transaction inquiry request, and the trigger type information can be triggered by any node in the multi-chain block chain system. The triggering type information does not directly modify any account book data, but only triggers the transfer chain code to transfer data according to the source account number information and the target account number information of the cross-chain transaction data.
S502, receiving cross-link transaction data sent by a source chain, wherein the cross-link transaction data is acquired from a transit chain table of the source chain according to the identification of a target chain.
In this embodiment, the target link receives the cross-link transaction data, which is obtained by the source link from the transit linked list of the source link according to the identifier of the target link.
S503, performing cross-link processing according to the cross-link transaction data.
According to the cross-chain processing method for the multi-chain blockchain system, the cross-chain transaction inquiry request comprising the identification of the target chain is sent to the source chain, the cross-chain transaction data sent by the source chain is received, the cross-chain transaction data are obtained from the transit chain table of the source chain according to the identification of the target chain, and the cross-chain processing is carried out according to the cross-chain transaction data, so that the cross-chain processing in the multi-chain blockchain system is realized, and the application range of the multi-chain blockchain system is expanded.
Optionally, to improve the security and reliability of the cross-chain process, before sending the cross-chain transaction query request to the source chain, the method may further include: the cross-chain transaction query request is signed. The embodiment does not limit the specific implementation of the signature.
Optionally, in order to facilitate subsequent tracing of the cross-link processing, on the basis of the foregoing embodiment, the method provided in this embodiment may further include: the cross-chain process is recorded in the same ledger as the in-chain process in the target chain.
Optionally, the method may further include: and updating the transaction state corresponding to the cross-chain transaction data according to the cross-chain processing result. For example, if the cross-link processing is successful, transferring the corresponding data to the target account, and updating the transaction state corresponding to the cross-link transaction data to Success; if the cross-link processing fails, the corresponding data is returned to the source account, and the transaction state corresponding to the cross-link transaction data is updated to Fail.
On the basis of the above embodiments, the present embodiment combines the above embodiments. FIG. 6 is a flowchart of another embodiment of a cross-chain processing method for use in a multi-chain blockchain system provided by the present invention. As shown in fig. 6, the method provided in this embodiment may include:
S601, establishing RPC connection with a source chain.
In this embodiment, the chain code of the target chain may call a shim. Invoke network code interface, for example, to query an endpoint of a participating node in a sub-blockchain network of the target network corresponding to the organization, and then establish an RPC connection with the node.
S602, signing the cross-link transaction inquiry request, and sending the signed cross-link transaction inquiry request to a source link, wherein the cross-link transaction inquiry request comprises an identifier of a target link.
In order to improve the security and reliability, signature processing is performed on the cross-chain transaction inquiry request in the embodiment. In this embodiment, for example, the signed cross-link transaction query request may be packaged into an RPC request and sent to the source link node.
S603, receiving cross-link transaction data sent by a source chain, wherein the cross-link transaction data is acquired from a transit chain table of the source chain according to the identification of a target chain.
A response message of a source chain to a cross-chain transaction query request is received.
S604, performing signature verification and decoding on the cross-chain transaction data, and performing cross-chain processing according to the decoded cross-chain transaction data.
In this embodiment, after receiving the cross-link transaction data sent by the source link, signature verification is performed on the data, and if the verification is passed, the subsequent cross-link processing is continuously performed; if the verification is not passed, the cross-chain process is terminated. And decoding the cross-chain transaction data with the signature verification passing, and returning the decoded data to the corresponding chain code so as to perform cross-chain processing.
Fig. 7 is a signaling flow diagram of another embodiment of a cross-chain processing method for use in a multi-chain blockchain system provided by the present invention. As shown in fig. 7, the method provided in this embodiment may include:
s701, a client sends transaction request information to a source chain, wherein the transaction request information comprises source account information, target account information and asset transfer information.
For example, when a user needs to transfer 50 units of digital certificates from account a to account B, corresponding instruction information may be input to the client, and the client may generate transaction request information according to the instruction information input by the user and transmit the transaction request information to the source chain.
The transaction request information in this embodiment may include, for example, source account information, account a, target account information, account B, and asset transfer information, i.e., 50 units of digital certificate.
S702, a source chain sends an account query request to a system chain, wherein the account query request comprises target account information.
In this embodiment, after receiving the transaction request information sent by the client, the source chain sends an account query request to the system chain.
S703, the system chain determines the sub-block chain identification corresponding to the target account information according to the target account information.
The system chain in this embodiment may include a mapping relationship between the account number and the sub-block chain identifier, so that a function of searching for the sub-block chain identifier corresponding to the account number can be provided.
S704, the system chain sends the sub-block chain identification corresponding to the target account information to the source chain.
In this embodiment, after determining the sub-blockchain identifier corresponding to the target account information, the system chain sends the sub-blockchain identifier corresponding to the target account information to the source chain. It can be understood that, in this embodiment, the identifier of the sub-blockchain corresponding to the target account information is the identifier of the target chain.
S705, the source chain determines cross-chain transaction data according to the sub-block chain identification corresponding to the transaction request information and the target account information, and adds the cross-chain transaction data into a transfer chain table of the source chain.
For example, the following data structures may be employed for storing cross-chain transaction data.
Figure BDA0001957372440000141
S706, the source chain sends the sub-block chain identification corresponding to the target account information to the client.
Optionally, the source chain may send the sub-block chain identifier corresponding to the target account information to the client, that is, inform the client of the identifier of the target chain.
S707, the client sends a first trigger message to the target chain, which is used for triggering the target chain to initiate the cross-chain transaction inquiry.
Optionally, the first trigger message may include an identifier of the source chain, so that the target chain sends a cross-chain transaction query request to the source chain.
S708, the target chain sends a cross-chain transaction inquiry request to the source chain, wherein the cross-chain transaction inquiry request comprises the identification of the target chain.
S709, the source chain acquires the cross-chain transaction data of the target chain from the transit chain table of the source chain according to the identification of the target chain.
S710, the source chain sends the cross-chain transaction data of the target chain to the target chain.
S711, the target chain performs cross-chain processing according to the cross-chain transaction data, and updates the transaction state corresponding to the cross-chain transaction data according to the result of the cross-chain processing.
And S712, the client sends a second trigger message to the source chain, and the second trigger message is used for triggering the source chain to initiate cleaning of the transfer chain table.
It should be noted that, the second trigger message in this embodiment may be triggered by the client, or may be triggered periodically.
S713, the source chain sends a transaction state query request to the target chain.
S714, the target chain sends a transaction state response message to the source chain.
S715, the source chain cleans the transfer chain table according to the transaction state response message.
If the transaction state corresponding to the cross-link transaction data is successful, deleting the cross-link transaction data from the transit linked list; if the transaction state corresponding to the cross-link transaction data is failure, returning the asset corresponding to the cross-link transaction data to the source account, and deleting the cross-link transaction data from the transfer linked list.
As shown in fig. 7, a successful cross-chain transaction requires the client to initiate three sub-transactions, and only if at least the first two sub-transactions are successful, a cross-chain transaction is considered successful. It will be appreciated that if the cross-chain transaction fails, the client will typically actively trigger a third sub-transaction in order to facilitate rollback of the digital voucher for the transfer to the source account. The transfer linked list of the source chain is cleaned, so that the problem that the system is slow down due to too much data in the transfer linked list can be effectively prevented. It should be noted that, the cleaning of the transfer chain table may be triggered by the client of the cross-chain transaction source account, or may be triggered periodically by a specific periodic trigger condition.
As shown in fig. 7, in the second and third sub-transactions of this embodiment, the trigger type message is sent by the client. The trigger type message can be sent by any node in the network, and can not directly modify any account book data, but only trigger the transfer of the digital certificate by the transfer code according to the source account number information and the target account number information in the cross-link transaction data, so that the trigger can not interfere the cross-link processing.
Alternatively, once triggered, the entire process may be logged into the ledger of each sub-blockchain participating in the cross-chain process. Because the asset transfer can only be carried out by the transfer chain code according to the source account information and the target account information when the cross-chain transaction is initiated, the occurrence of double-flower situation can be avoided.
FIG. 8 is a flow chart of a method for cross-chain processing in a multi-chain blockchain system according to the present invention. As shown in FIG. 8, a cross-chain process flow between a source chain, sub-blockchain p, and a target chain, sub-blockchain q, is shown.
Optionally, each network node may include a relay link code and a traffic link code. Wherein, the chain transfer code is used as the pre-installed chain code and is installed in the same channel with the service chain code. The cross-link processing is completed by the transfer link code so as to reduce the influence on the service link code, and in order to facilitate the tracing of the cross-link operation later, the transfer link code records the cross-link processing flow of the transfer link code and the service link code in the same account book. As shown in fig. 8, the transfer chain code and the service chain code of the sub-blockchain p will record corresponding data in the ledger of the sub-blockchain p, namely, ledger 1; the transfer chain code and the service chain code of the sub-blockchain q will record corresponding data in the ledger of the sub-blockchain q, i.e. ledger 2.
As shown in fig. 8, the source account information and the target account information mark the source address and the destination address of the data to be transferred, the asset information marks the number of digital certificates to be transferred, and the transfer code will transfer the digital certificates strictly according to the source account information and the target account information, so as to avoid the double-flower situation. If the cross-chain transaction is successful, the digital certificate is transferred to the target account, otherwise, the digital certificate is returned to the source account.
For example, in Hyperledger Fabric, the transcoding provides the following interfaces:
func(stub*ChaincodeStub)Send(sourceChaincodeName string,sourceAccount[][]byte,targetAccount[][]byte,args[][]byte)pb.Response
func (stub) Rcv (targetChaincodeName string, sourceacount [ ] byte, targetAccount [ ] byte, transactionId string) pb.
FIG. 9 is a block diagram illustrating an exemplary embodiment of a cross-chain processing apparatus for use in a multi-chain blockchain system. As shown in fig. 9, the cross-chain processing apparatus 90 for use in a multi-chain blockchain system provided in this embodiment may include: a receiving module 901, an acquiring module 902 and a transmitting module 903.
A receiving module 901, configured to receive a cross-link transaction query request, where the cross-link transaction query request includes an identifier of a target link;
the acquiring module 902 is configured to acquire, according to an identifier of a target chain, cross-link transaction data of the target chain from a transfer link table of a source chain, where the transfer link table is used to store cross-link transaction data to be processed;
the sending module 903 is configured to send the cross-link transaction data of the target link to the target link, so that the target link performs cross-link processing according to the cross-link transaction data.
The device of the present embodiment may be used to implement the technical solution of the method embodiment shown in fig. 2, and its implementation principle and technical effects are similar, and are not described here again.
Optionally, after receiving the cross-chain transaction query request, the signature in the cross-chain transaction query request may also be verified.
Alternatively, the cross-chain process and the in-chain process may also be recorded in the same ledger in the source chain.
Optionally, before receiving the cross-chain transaction query request, the method may further include: receiving transaction request information sent by a client, wherein the transaction request information comprises source account information, target account information and asset transfer information; acquiring a sub-block chain identifier corresponding to target account information; determining cross-link transaction data according to the transaction request information and the sub-block link identification; and adding the cross-chain transaction data into a transit linked list of the source chain.
Optionally, obtaining the sub-blockchain identifier corresponding to the target account information may specifically include: an account inquiry request is sent to a system chain, wherein the account inquiry request comprises target account information, so that the system chain determines a sub-block chain identifier corresponding to the target account information according to the target account information, and the system chain comprises a mapping relation between an account and the sub-block chain identifier; and receiving a sub-block chain identifier corresponding to the target account information returned by the system chain.
Optionally, the method may further include: acquiring transaction states corresponding to each cross-link transaction data in a transfer linked list; and if the transaction state corresponding to the cross-link transaction data is successful, deleting the cross-link transaction data from the transfer linked list.
FIG. 10 is a block diagram of a cross-chain processing apparatus for use in a multi-chain blockchain system according to another embodiment of the present invention. As shown in fig. 10, the cross-chain processing apparatus 100 for use in a multi-chain blockchain system provided in this embodiment may include: a transmission module 1001, a reception module 1002, and a processing module 1003.
A sending module 1001, configured to send a cross-link transaction query request to a source chain, where the cross-link transaction query request includes an identifier of a target chain.
The receiving module 1002 is configured to receive cross-link transaction data sent by a source chain, where the cross-link transaction data is obtained by the source chain from a transit linked list of the source chain according to an identifier of a target chain.
And the processing module 1003 is used for performing cross-chain processing according to the cross-chain transaction data.
The device of the present embodiment may be used to implement the technical solution of the method embodiment shown in fig. 5, and its implementation principle and technical effects are similar, and are not described here again.
Optionally, the cross-chain transaction query request may also be signed before being sent to the source chain.
Alternatively, the cross-chain process and the in-chain process may also be recorded in the same ledger in the target chain.
Optionally, the transaction state corresponding to the cross-link transaction data may be updated according to the result of the cross-link processing.
An embodiment of the present invention further provides an electronic device, and referring to fig. 11, the embodiment of the present invention is illustrated by taking fig. 11 as an example only, and the present invention is not limited thereto. Fig. 11 is a schematic structural diagram of an embodiment of an electronic device according to the present invention. As shown in fig. 11, the electronic device 110 provided in this embodiment may include: memory 1101, processor 1102, and bus 1103. Wherein the bus 1103 is used to implement the connections between the elements.
The memory 1101 stores a computer program that, when executed by the processor 1102, implements the technical solution of any of the method embodiments described above.
Wherein the memory 1101 and the processor 1102 are electrically connected, either directly or indirectly, to enable transmission or interaction of data. For example, the elements may be electrically coupled to each other via one or more communication buses or signal lines, such as via the bus 1103. Stored in memory 1101 is a computer program that implements a cross-chain processing method for use in a multi-chain blockchain system, including at least one software functional module that may be stored in memory 1101 in the form of software or firmware, and processor 1102 performs various functional applications and data processing by executing the software programs and modules stored in memory 1101.
The Memory 1101 may be, but is not limited to, a random access Memory (Random Access Memory, abbreviated as RAM), a Read Only Memory (ROM), a programmable Read Only Memory (Programmable Read-Only Memory, abbreviated as PROM), an erasable Read Only Memory (Erasable Programmable Read-Only Memory, abbreviated as EPROM), an electrically erasable Read Only Memory (Electric Erasable Programmable Read-Only Memory, abbreviated as EEPROM), etc. The memory 1101 is used for storing a program, and the processor 1102 executes the program after receiving an execution instruction. Further, the software programs and modules within the memory 1101 may also include an operating system, which may include various software components and/or drivers for managing system tasks (e.g., memory management, storage device control, power management, etc.), and may communicate with various hardware or software components to provide an operating environment for other software components.
The processor 1102 may be an integrated circuit chip with signal processing capabilities. The processor 1102 may be a general-purpose processor, including a central processing unit (Central Processing Unit, abbreviated as CPU), a network processor (Network Processor, abbreviated as NP), and the like. The disclosed methods, steps, and logic blocks in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. It will be appreciated that the configuration of fig. 11 is merely illustrative and may include more or fewer components than shown in fig. 11 or have a different configuration than shown in fig. 11. The components shown in fig. 11 may be implemented in hardware and/or software.
It should be noted that, the electronic device provided in this embodiment includes, but is not limited to, at least one of the following: user side equipment and network side equipment. User-side devices include, but are not limited to, computers, smart phones, tablets, digital broadcast terminals, messaging devices, game consoles, personal digital assistants, and the like. Network-side devices include, but are not limited to, a single network server, a server group of multiple network servers, or a cloud of large numbers of computers or network servers based on cloud computing, where cloud computing is one of distributed computing, and is a super virtual computer consisting of a group of loosely coupled computers.
The electronic device provided in this embodiment may be used to execute the method for processing a cross-link applied to a source chain provided in any one of the method embodiments described above, and/or the method for processing a cross-link applied to a target chain provided in any one of the method embodiments described above, and its implementation principle and technical effect are similar and are not repeated here.
The embodiment of the invention also provides a multi-chain blockchain system, which can comprise: a system chain and a plurality of sub-block chains; the network topology structures, the consensus algorithm and the organization participants of the multiple sub-blockchains are the same; the system chain comprises a mapping relation between an account number and a sub-block chain identifier, and is used for determining the sub-block chain identifier corresponding to the account number according to the account number; source chains of the plurality of sub-blockchains may be cross-chain processed using a cross-chain processing method applied to the source chains for use in a multi-chain blockchain system; target chains of the plurality of sub-blockchains may be cross-chain processed using a cross-chain processing method applied to the target chains for use in a multi-chain blockchain system.
The embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, can implement the method for cross-chain processing in a multi-chain blockchain system provided by any of the method embodiments. The computer readable storage medium in this embodiment may be any available medium that can be accessed by a computer or a data storage device such as a server, a data center, etc. that contains one or more available medium(s) integrated, and the available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., an SSD), etc.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the invention.

Claims (15)

1. A method for cross-chain processing in a multi-chain blockchain system, applied to a source chain, comprising:
receiving a cross-link transaction inquiry request, wherein the cross-link transaction inquiry request comprises an identifier of a target link, and the inquiry request is sent to a source link when the target link receives a trigger type message;
acquiring the cross-link transaction data of the target chain from a transfer chain table of the source chain according to the identification of the target chain, wherein the transfer chain table is used for storing the cross-link transaction data to be processed;
transmitting the cross-link transaction data of the target link to the target link so that the target link performs cross-link processing according to the cross-link transaction data; and the source chain and the target chain cross-chain call chain codes on a blockchain network through a communication interface in the extended node codes.
2. The method of claim 1, wherein after receiving the cross-chain transaction query request, the method further comprises:
and verifying the signature in the cross-chain transaction inquiry request.
3. The method according to claim 1, wherein the method further comprises:
the cross-chain process and the in-chain process are recorded in the same ledger in the source chain.
4. The method of claim 1, wherein prior to receiving the cross-chain transaction query request, the method further comprises:
receiving transaction request information sent by a client, wherein the transaction request information comprises source account information, target account information and asset transfer information;
acquiring a sub-block chain identifier corresponding to the target account information;
determining cross-link transaction data according to the transaction request information and the sub-block link identification;
and adding the cross-chain transaction data into a transit linked list of the source chain.
5. The method according to claim 4, wherein the obtaining the sub-block chain identifier corresponding to the target account information includes:
an account query request is sent to a system chain, wherein the account query request comprises the target account information, so that the system chain determines a sub-block chain identifier corresponding to the target account information according to the target account information, and the system chain comprises a mapping relation between an account and the sub-block chain identifier;
and receiving a sub-block chain identifier corresponding to the target account information returned by the system chain.
6. The method according to any one of claims 1-5, further comprising:
Acquiring transaction states corresponding to each cross-link transaction data in the transit linked list;
and if the transaction state corresponding to the cross-link transaction data is successful, deleting the cross-link transaction data from the transit linked list.
7. A method for cross-chain processing in a multi-chain blockchain system, applied to a target chain, comprising:
when a trigger type message is received, a cross-link transaction inquiry request is sent to a source link, wherein the cross-link transaction inquiry request comprises an identification of a target link;
receiving cross-link transaction data sent by the source link, wherein the cross-link transaction data is obtained from a transit linked list of the source link according to the identification of the target link by the source link;
performing cross-link processing according to the cross-link transaction data; and the source chain and the target chain cross-chain call chain codes on a blockchain network through a communication interface in the extended node codes.
8. The method of claim 7, wherein prior to the sending the cross-chain transaction query request to the source chain, the method further comprises:
signing the cross-chain transaction query request.
9. The method of claim 7, wherein the method further comprises:
The cross-chain process and the in-chain process are recorded in the same ledger in the target chain.
10. The method according to any one of claims 7-9, further comprising:
and updating the transaction state corresponding to the cross-link transaction data according to the cross-link processing result.
11. A cross-chain processing apparatus for use in a multi-chain blockchain system, comprising:
the receiving module is used for receiving a cross-link transaction inquiry request, wherein the cross-link transaction inquiry request comprises an identifier of a target link, and the inquiry request is sent to a source link when the target link receives a trigger type message;
the acquisition module is used for acquiring the cross-link transaction data of the target chain from a transfer linked list of the source chain according to the identification of the target chain, wherein the transfer linked list is used for storing the cross-link transaction data to be processed;
the sending module is used for sending the cross-link transaction data of the target chain to the target chain so that the target chain performs cross-link processing according to the cross-link transaction data; and the source chain and the target chain cross-chain call chain codes on a blockchain network through a communication interface in the extended node codes.
12. A cross-chain processing apparatus for use in a multi-chain blockchain system, comprising:
the sending module is used for sending a cross-link transaction inquiry request to a source link when receiving the trigger type message, wherein the cross-link transaction inquiry request comprises an identifier of a target link;
the receiving module is used for receiving the cross-link transaction data sent by the source chain, wherein the cross-link transaction data are obtained from a transit linked list of the source chain according to the identification of the target chain by the source chain;
the processing module is used for performing cross-chain processing according to the cross-chain transaction data; and the source chain and the target chain cross-chain call chain codes on a blockchain network through a communication interface in the extended node codes.
13. An electronic device, comprising:
a memory;
a processor; and
a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement the method of cross-chain processing for use in a multi-chain blockchain system as in any of claims 1-6 and/or the method of cross-chain processing for use in a multi-chain blockchain system as in any of claims 7-10.
14. A multi-chain blockchain system, comprising:
a system chain and a plurality of sub-block chains;
the network topology structures, consensus algorithms and organization participants of the sub-block chains are the same;
the system chain comprises a mapping relation between an account and a sub-block chain identifier, and is used for determining the sub-block chain identifier corresponding to the account according to the account;
source chains of the plurality of sub-block chains are cross-chain processed using the cross-chain processing method for use in a multi-chain block chain system as recited in any one of claims 1-6;
the target chain of the plurality of sub-blockchains is cross-chain processed using the cross-chain processing method for use in a multi-chain blockchain system as in any of claims 7-10.
15. A computer readable storage medium having stored thereon a computer program for execution by a processor to implement the method of cross-chain processing for use in a multi-chain blockchain system as in any of claims 1-6 and/or the method of cross-chain processing for use in a multi-chain blockchain system as in any of claims 7-10.
CN201910071307.3A 2019-01-25 2019-01-25 Cross-chain processing method, device and system for multi-chain block chain system Active CN111489256B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910071307.3A CN111489256B (en) 2019-01-25 2019-01-25 Cross-chain processing method, device and system for multi-chain block chain system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910071307.3A CN111489256B (en) 2019-01-25 2019-01-25 Cross-chain processing method, device and system for multi-chain block chain system

Publications (2)

Publication Number Publication Date
CN111489256A CN111489256A (en) 2020-08-04
CN111489256B true CN111489256B (en) 2023-06-23

Family

ID=71796176

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910071307.3A Active CN111489256B (en) 2019-01-25 2019-01-25 Cross-chain processing method, device and system for multi-chain block chain system

Country Status (1)

Country Link
CN (1) CN111489256B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114255030A (en) * 2020-09-22 2022-03-29 中国电信股份有限公司 Cross-blockchain transaction method and system for supporting cross-blockchain transaction
CN112445841B (en) * 2020-11-17 2023-05-12 杭州趣链科技有限公司 Account query method, device, system, server and medium
CN112669036B (en) * 2020-12-28 2024-03-29 杭州趣链科技有限公司 Account management method, system, server and medium
WO2022140948A1 (en) * 2020-12-28 2022-07-07 杭州趣链科技有限公司 Account management method and system, and server and medium
CN112788108A (en) * 2020-12-29 2021-05-11 深圳前海微众银行股份有限公司 Cross-block-chain distributed message processing method, platform and storage medium
CN112839056B (en) * 2021-02-08 2022-09-30 杭州趣链科技有限公司 Cross-chain interactive identity management method, system, equipment and storage medium
CN112948433B (en) * 2021-02-24 2024-06-04 北京金山云网络技术有限公司 Cross-blockchain query method, device, system, equipment and medium
CN113157733A (en) 2021-03-23 2021-07-23 华中科技大学 Efficient tracing query method for multi-chain data relevance
WO2022227069A1 (en) * 2021-04-30 2022-11-03 Nokia Technologies Oy Method and apparatus for cloud federation authorization
CN113360504B (en) * 2021-06-22 2023-08-15 东北大学 Connection query optimization method based on multi-block chain environment
CN114244537B (en) * 2022-02-24 2022-05-06 环球数科集团有限公司 Information processing system based on cross-link communication and multi-link fusion

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107239940A (en) * 2017-05-11 2017-10-10 北京博晨技术有限公司 Network trading method and device based on block catenary system
CN107909369A (en) * 2017-10-13 2018-04-13 布比(北京)网络技术有限公司 Based on the common recognition method, apparatus merchandised across chain and storage medium
WO2018076760A1 (en) * 2016-10-27 2018-05-03 上海亿账通区块链科技有限公司 Block chain-based transaction processing method, system, electronic device, and storage medium
CN108492108A (en) * 2018-03-29 2018-09-04 深圳前海微众银行股份有限公司 Across the chain communication means of block chain, system and computer readable storage medium
CN108810137A (en) * 2018-06-11 2018-11-13 西安纸贵互联网科技有限公司 A kind of alliance's block catenary system

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105719185B (en) * 2016-01-22 2019-02-15 杭州复杂美科技有限公司 The data comparison and common recognition method of block chain
US10204341B2 (en) * 2016-05-24 2019-02-12 Mastercard International Incorporated Method and system for an efficient consensus mechanism for permissioned blockchains using bloom filters and audit guarantees
CN106899680B (en) * 2017-03-09 2019-07-30 深圳壹账通智能科技有限公司 The fragment treating method and apparatus of multi-tiling chain
US11157900B2 (en) * 2017-03-24 2021-10-26 Mastercard International Incorporated Method and system for offline data transfer via machine-readable code
CN108269190A (en) * 2018-01-17 2018-07-10 深圳四方精创资讯股份有限公司 Across chain method and its system based on across chain relaying platform
CN108389129B (en) * 2018-02-27 2020-12-04 创新先进技术有限公司 Transaction execution method and device based on block chain and electronic equipment
CN108600301B (en) * 2018-03-08 2021-05-18 青岛墨一客区块链有限公司 Cross-link method between block chains and main block chain
CN108600315B (en) * 2018-03-22 2021-04-06 深圳市网心科技有限公司 Block link route processing method, device and storage medium
CN109035012B (en) * 2018-06-11 2020-11-17 西安纸贵互联网科技有限公司 Cross-chain processing method of block chain system and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018076760A1 (en) * 2016-10-27 2018-05-03 上海亿账通区块链科技有限公司 Block chain-based transaction processing method, system, electronic device, and storage medium
CN107239940A (en) * 2017-05-11 2017-10-10 北京博晨技术有限公司 Network trading method and device based on block catenary system
CN107909369A (en) * 2017-10-13 2018-04-13 布比(北京)网络技术有限公司 Based on the common recognition method, apparatus merchandised across chain and storage medium
CN108492108A (en) * 2018-03-29 2018-09-04 深圳前海微众银行股份有限公司 Across the chain communication means of block chain, system and computer readable storage medium
CN108810137A (en) * 2018-06-11 2018-11-13 西安纸贵互联网科技有限公司 A kind of alliance's block catenary system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
多区块链交易分发和事件处理的系统方案;刘雄文;;计算机科学(S2);全文 *

Also Published As

Publication number Publication date
CN111489256A (en) 2020-08-04

Similar Documents

Publication Publication Date Title
CN111489256B (en) Cross-chain processing method, device and system for multi-chain block chain system
CN109636427B (en) Business processing method, device, medium and electronic equipment based on block chain system
CN107193490B (en) Distributed data storage system and method based on block chain
EP3726804B1 (en) Device authentication method, service access control method, device, and non-transitory computer-readable recording medium
Alfandi et al. Blockchain solution for iot-based critical infrastructures: Byzantine fault tolerance
US5369705A (en) Multi-party secure session/conference
CN111460458B (en) Data processing method, related device and computer storage medium
WO2022121538A1 (en) Data synchronization method and system based on blockchain, and related device
CN110489486A (en) Generate method, seed node and the medium of block chain network
JP2024505692A (en) Data processing methods, devices and computer equipment based on blockchain networks
CN102404326B (en) Method, system and device for validating safety of messages
CN110944046A (en) Control method of consensus mechanism and related equipment
CN113255014B (en) Data processing method based on block chain and related equipment
CN113708979A (en) Network acceleration method and device
CN112714158A (en) Transaction processing method, relay network, cross-link gateway, system, medium, and device
CN113242305B (en) Cross-chain transaction processing method, device, computer equipment and medium
JP2022525551A (en) Preventing erroneous transmission of copies of data records to distributed ledger systems
CN110266766A (en) A kind of construction method, system and the terminal device of attack resistance distributed network node
CN109525633B (en) Block chain network, message sending method and message receiving method based on block chain network
WO2023231782A1 (en) Data integrity verification system
CN116561820A (en) Trusted data processing method and related device
CN111092958A (en) Node access method, device, system and storage medium
CN113497762A (en) Data message transmission method and device
CN108900575B (en) Long connection hierarchical communication method and system based on mobile terminal
CN108848156B (en) Access gateway processing method, device and storage medium

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
CB02 Change of applicant information

Address after: Room 221, 2 / F, block C, 18 Kechuang 11th Street, Daxing District, Beijing, 100176

Applicant after: Jingdong Technology Holding Co.,Ltd.

Address before: Room 221, 2 / F, block C, 18 Kechuang 11th Street, Daxing District, Beijing, 100176

Applicant before: Jingdong Digital Technology Holding Co.,Ltd.

Address after: Room 221, 2 / F, block C, 18 Kechuang 11th Street, Daxing District, Beijing, 100176

Applicant after: Jingdong Digital Technology Holding Co.,Ltd.

Address before: Room 221, 2nd floor, Block C, 18 Kechuang 11th Street, Beijing Economic and Technological Development Zone, 100195

Applicant before: JINGDONG DIGITAL TECHNOLOGY HOLDINGS Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant