WO2021114572A1 - 一种区块链跨链数据访问方法、装置、适配器及系统 - Google Patents
一种区块链跨链数据访问方法、装置、适配器及系统 Download PDFInfo
- Publication number
- WO2021114572A1 WO2021114572A1 PCT/CN2020/090658 CN2020090658W WO2021114572A1 WO 2021114572 A1 WO2021114572 A1 WO 2021114572A1 CN 2020090658 W CN2020090658 W CN 2020090658W WO 2021114572 A1 WO2021114572 A1 WO 2021114572A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- chain
- cross
- blockchain
- witness
- event
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
- G06F21/645—Protecting data integrity, e.g. using checksums, certificates or signatures using a third party
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/23—Updating
- G06F16/2365—Ensuring data consistency and integrity
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION 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
- G06Q10/00—Administration; Management
- G06Q10/10—Office automation; Time management
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION 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
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/389—Keeping log of transactions for guaranteeing non-repudiation of a transaction
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION 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/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION 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
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/10—Services
- G06Q50/20—Education
- G06Q50/205—Education administration or guidance
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/12—Applying verification of the received information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/50—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION 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
- G06Q2220/00—Business processing using cryptography
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
- H04L63/102—Entity profiles
Definitions
- This application relates to the field of blockchain technology, and in particular to a method, device, adapter and system for accessing blockchain cross-chain data.
- Blockchain is a new application mode of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm.
- Blockchain is a distributed shared ledger and database, which has the characteristics of decentralization, non-tampering, full trace retention, traceability, collective maintenance, openness and transparency. These characteristics ensure the "honesty” and “transparency” of the blockchain and lay the foundation for the creation of trust in the blockchain.
- the rich application scenarios of the blockchain are basically based on the ability of the blockchain to solve the problem of information asymmetry and realize the cooperative trust and concerted action between multiple subjects.
- this application embodiment provides a blockchain cross-chain data access method, device, adapter, and system.
- an embodiment of the present application provides a blockchain cross-chain data access method, the method includes:
- the first cross-chain initiation event is generated by the business blockchain by executing the first cross-chain contract.
- the first data corresponding to the first cross-chain initiation event is locked by the business blockchain;
- the witness blockchain is invoked to execute the first witness contract on the first cross-chain initiation event, so as to record the first cross-chain initiation event at each node of the witness blockchain.
- the method further includes:
- the second cross-chain initiation event that accesses the business blockchain is monitored from the witness blockchain.
- the business blockchain Invoking a second cross-chain contract according to the second cross-chain initiation event to trigger a second cross-chain response event;
- the witness blockchain is called to execute a second witness contract on the second cross-chain response event, so as to transfer the second cross-chain response event.
- the response event is recorded at each node of the witness blockchain.
- the method further includes:
- the business blockchain When the first cross-chain response event corresponding to the first cross-chain initiation event is monitored from the witness blockchain, the business blockchain is called to execute the third cross-chain contract, so as to register in the business block Unlock the first data on the chain.
- an embodiment of the present application provides an adapter, which is connected between a business blockchain and a witness blockchain, and the adapter includes:
- the monitoring module is used to monitor the first cross-chain initiation event on the business blockchain.
- the first cross-chain initiation event is generated by the business blockchain by executing the first cross-chain contract.
- the chain contract is completed, the first data corresponding to the first cross-chain initiation event is locked by the business blockchain;
- the calling module is used to call the witness blockchain to execute the first witness contract on the first cross-chain initiation event, so as to record the first cross-chain initiation event at each node of the witness blockchain.
- the monitoring module is further configured to monitor a second cross-chain initiation event that accesses the business blockchain from the witness blockchain, and when the business blockchain obtains the second cross-chain When a chain initiates an event, the business blockchain invokes a second cross-chain contract according to the second cross-chain initiation event to trigger a second cross-chain response event;
- the calling module is further configured to call the witness blockchain to execute the second cross-chain response event on the second cross-chain response event when the monitoring module monitors the second cross-chain response event from the business blockchain 2.
- witness contract to record the second cross-chain response event at each node of the witness blockchain.
- the calling module is further configured to call the business area when the monitoring module monitors the first cross-chain response event corresponding to the first cross-chain initiated event from the witness blockchain
- the block chain executes the third cross-chain contract to release the lock of the first data on the business block chain.
- the embodiments of the present application provide a blockchain cross-chain data access method, including:
- the first witness contract is executed according to the call of the first adapter, and the cross-chain initiation event monitored by the first adapter is recorded at each node of the witness blockchain, where the cross-chain initiation event is generated by the first business
- the blockchain is triggered according to the request of the initiator client;
- the second witness contract is executed according to the call of the second adapter, and the cross-chain response event monitored by the second adapter is recorded at each node of the witness blockchain, where the cross-chain response event is related to the cross-chain response event.
- the cross-chain response event is triggered by the second business blockchain according to the request of the recipient client.
- an embodiment of the present application provides a block chain cross-chain data access device, including:
- the first witness module is configured to execute the first witness contract according to the call of the first adapter, and record the cross-chain initiation event monitored by the first adapter on each node of the witness blockchain, where the cross-chain The chain initiation event is triggered by the first business blockchain according to the request of the initiator client;
- the second witness module is used to execute the second witness contract according to the call of the second adapter, and record the cross-chain response events monitored by the second adapter on each node of the witness blockchain, where the cross-chain The chain response event corresponds to the cross-chain initiation event, and the cross-chain response event is triggered by the second business blockchain according to the request of the recipient client.
- the embodiments of the present application provide a blockchain cross-chain system, including: at least two business blockchains and at least one witness blockchain, each of the business blockchains and the witness blockchain There is an adapter between; wherein, the first adapter is connected between the first business block chain and the witness block chain; the second adapter is connected between the second business block chain and the witness block chain;
- the first business blockchain is used to execute the first cross-chain contract to trigger a cross-chain initiation event according to the request of the initiator client, and lock the first data corresponding to the cross-chain initiation event; according to the cross-chain response event Execute the third cross-chain contract to release the lock on the first data;
- the first adapter is configured to call the witness blockchain to execute the first witness contract for the cross-chain initiation event when the cross-chain initiation event is monitored from the first business blockchain;
- the witness blockchain is configured to execute the first witness contract according to the call of the first adapter, and record the cross-chain initiation event at each node of the witness blockchain; according to the second The call of the adapter executes the second witness contract, and records the cross-chain response event at each node of the witness blockchain;
- the second adapter is used to monitor the cross-chain initiation event from the witness blockchain that the target is the second business blockchain, and when the cross-chain triggered by the second business blockchain is monitored When responding to the event, call the witness blockchain to execute the second witness contract for the cross-chain response event;
- the second business blockchain is used for when the recipient client obtains the cross-chain initiation event from the second adapter, invoking a second cross-chain contract according to the recipient client’s request to trigger the The cross-chain response event corresponding to the cross-chain initiated event.
- the first data includes a key name and a first key value
- the first cross-chain initiation event includes the first data
- the second business blockchain is used to query the second data matching the key name, modify the second key value of the second data according to the first key value of the first data, and change the The modified second data is locked; the cross-chain response event is triggered according to the modified second data.
- an embodiment of the present application provides an electronic device, including: a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete mutual communication through the communication bus;
- the memory is used to store computer programs
- the processor is used to implement the steps of the above method when the computer program is executed.
- an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the above method steps are implemented.
- the adapter By adding an adapter between the business block chain and the witness block chain, the adapter will register the cross-chain initiated events and cross-chain response events on the business block chain of the party to the witness block chain, which is the business block chain of the party.
- Other nodes on the Internet provide cross-chain event query and push services, and can trigger related operations on their own business blockchain based on the cross-chain event of the witness blockchain.
- Figure 1 is a block diagram of a blockchain cross-chain system provided by an embodiment of the application
- Figure 2 is a schematic diagram of a blockchain cross-chain data access interaction process provided by an embodiment of the application
- FIG. 3 is a flowchart of a method for accessing blockchain cross-chain data according to another embodiment of the application.
- FIG. 4 is a flowchart of a method for accessing blockchain cross-chain data according to another embodiment of the application.
- FIG. 5 is a flowchart of a method for accessing blockchain cross-chain data according to another embodiment of the application.
- FIG. 6 is a block diagram of an adapter provided by an embodiment of the application.
- FIG. 7 is a block diagram of a block chain cross-chain data access device provided by an embodiment of the application.
- FIG. 8 is a schematic structural diagram of an electronic device provided by an embodiment of the application.
- the block chain cross-chain system includes: at least two business block chains and at least one witness block chain, and an adapter is provided between each of the business block chains and the witness block chain.
- the business block chain and the witness block chain in this implementation are respectively composed of multiple nodes, and each node forms a block chain network structure with a distributed data storage structure through a consensus mechanism.
- the data in the blockchain is distributed in time-connected "blocks".
- the next block contains the data summary of the previous block and is based on specific consensus mechanisms (such as POW, POS, DPOS). Or PBFT, etc.) to achieve full backup of all or part of the node data.
- the blockchain can include public chains, alliance chains, private chains, etc.
- Fig. 1 is a block diagram of a blockchain cross-chain system provided by an embodiment of the application. As shown in Figure 1, the system includes a first business blockchain 11a, a second business blockchain 11b, and a witness blockchain 13.
- the first adapter 12a is connected between the first business blockchain 11a and the witness blockchain 13; the second adapter 12b is connected between the second business blockchain 11b and the witness blockchain 13.
- the first business blockchain 11a is used to execute the first cross-chain contract to trigger the cross-chain initiation event according to the request of the initiator client 14a, and lock the first data corresponding to the cross-chain initiation event; execute the third according to the cross-chain response event
- the cross-chain contract unlocks the first data.
- the first adapter 12a is used to call the witness blockchain 13 to execute the first witness contract for the cross-chain initiated event when monitoring the cross-chain initiated event from the first business blockchain 11a; monitor the cross-chain response from the witness blockchain 13 event.
- the witness blockchain 13 is used to record the cross-chain initiation event at each node of the witness blockchain 13 when the first witness contract is completed; the second witness contract is executed according to the call of the second adapter 12b, when the second witness contract When the contract is completed, the cross-chain response event will be recorded at each node of the witness blockchain 13.
- the second adapter 12b is used to monitor the cross-chain initiation event with the target of the second business blockchain 11b from the witness blockchain 13, and call the witness when the cross-chain response event triggered by the second business blockchain 11b is monitored
- the blockchain 13 executes the second witness contract for the cross-chain response event.
- the second business blockchain 11b is used for when the recipient client 14b obtains the cross-chain initiation event from the second adapter 12b, call the second cross-chain contract according to the request of the recipient client 14b to trigger the cross-chain initiation event correspondence The cross-chain response event.
- the first adapter 12a is also used to call the first business blockchain 11a to execute the third cross-chain contract according to the cross-chain response event when the cross-chain response event is monitored from the witness blockchain 13.
- the first business blockchain 11a is also used to execute the third cross-chain contract according to the call of the first adapter 12a to release the lock on the first data.
- the first business blockchain 11a is also used for when the initiator client 14a obtains the cross-chain response event from the first adapter 12a, execute the third cross-chain contract according to the call of the initiator client 14a, and cancel Lock the first data.
- the second business blockchain 11b is also used to lock the second data corresponding to the cross-chain initiation event according to the request of the recipient client 14b.
- the second adapter 12b is also used to call the second business blockchain 11b to execute the fourth cross-chain according to the cross-chain response event when the execution result of the monitoring witness blockchain 13 for the second witness contract is successful. contract.
- the second business blockchain 11b is also used to execute the fourth cross-chain contract according to the call of the second adapter 12b to unlock the second data.
- the second adapter 12b is also used to monitor the execution result of the witness blockchain 13 on the second witness contract; the second business blockchain 11b is also used when the recipient client 14b is connected to the second adapter 12b When it is obtained that the execution result of the second witness contract is successful, the fourth cross-chain contract is executed according to the call of the recipient client 14b, and the lock on the second data is released.
- the adapter registers the cross-chain initiation event and cross-chain response event on the business block chain of the party to the witness block chain.
- Other nodes on the business blockchain provide cross-chain event query and push services, and can trigger related operations on their own business blockchain based on the cross-chain event of the witness blockchain.
- the cross-chain contract on the business blockchain in this embodiment is a blockchain intelligence that realizes the required state data locking operation across the chain and the operation triggered by the cross-chain event at the smart contract layer of the blockchain or the bottom layer of the blockchain. contract.
- the witness contract on the witness blockchain is a blockchain smart contract that provides cross-chain event registration operations.
- the client in this embodiment includes an initiator client and a recipient client, and is a terminal application for the user to interact with the business blockchain.
- the witness blockchain added in this embodiment is an intermediate chain that assists in completing cross-chain operations.
- the witness blockchain itself does not participate in cross-chain operations, but only registers and records all cross-chain behaviors, so that cross-chain behaviors cannot be tampered with, leave traces throughout the process, traceable, collectively maintained, and open and transparent, ensuring that the blockchain is cross-linked.
- the decentralization of the chain system and the "honesty" and “transparency" of the blockchain lay the foundation for the creation of trust in the blockchain.
- the first data includes the key name and the first key value; the first cross-chain initiation event includes the first data.
- the second business block chain 11b is used to query the second data matching the key name, modify the second key value of the second data according to the first key value, and lock the modified second data; according to the modified second data
- the second data triggers a cross-chain response event.
- FIG. 2 is a schematic diagram of a blockchain cross-chain data access interaction process provided by an embodiment of the application. As shown in Figure 2, the interactive process includes the following steps:
- the initiator client 14a requests cross-chain data access.
- the first business blockchain 11a executes the first cross-chain contract to trigger the cross-chain initiation event according to the request of the initiator client 14a, and locks the first data corresponding to the cross-chain initiation event.
- the first adapter 12a monitors the cross-chain initiation event on the first service blockchain 11a in real time.
- the first adapter 12a monitors the cross-chain initiation event, it calls the witness blockchain 13 to execute the first witness contract for the cross-chain initiation event.
- the witness blockchain 13 will record the cross-chain initiation event at each node of the witness blockchain 13.
- the second adapter 12b listens to the cross-chain initiation event from the witness blockchain 13 whose target is the second business blockchain 11b.
- the recipient client 14b monitors or queries the recipient user-related cross-chain initiation event from the second adapter 12b.
- the recipient client 14b invokes the cross-chain contract of the second business blockchain 11b automatically or in response to the user's request.
- the second business blockchain 11b invokes the second cross-chain contract according to the request of the recipient client 14b to trigger the cross-chain response event corresponding to the cross-chain initiation event.
- the second adapter 12b monitors the cross-chain response event on the second business blockchain 11b in real time.
- the second adapter 12b listens to the cross-chain response event triggered by the second business blockchain 11b, it calls the witness blockchain 13 to execute the second witness contract for the cross-chain response event.
- the witness blockchain 13 executes the second witness contract according to the call of the second adapter. When the second witness contract is completed, the cross-chain response event is recorded on each node of the witness blockchain 13.
- the second adapter 12b monitors the execution result of the second witness contract from the witness blockchain 13.
- the second adapter 12b calls the second business blockchain 11b to execute the fourth cross-chain contract according to the cross-chain response event.
- the dotted line indicates the In the step, when the recipient client 14b obtains from the second adapter 12b that the execution result of the second witness contract is successful, it calls the second business blockchain 11b to execute the fourth cross-chain contract according to the cross-chain response event.
- the second business blockchain 11b executes the fourth cross-chain contract according to the call of the second adapter 12b or the recipient client 14b, and unlocks the second data.
- the first adapter 12a monitors the cross-chain response event from the witness blockchain 13.
- the first adapter 12a When the first adapter 12a monitors the cross-chain response event, it calls the first business blockchain 11a to execute the third cross-chain contract according to the cross-chain response event.
- the dotted line indicates the In the step, when the initiator client 14a obtains the cross-chain response event from the first adapter 12a, it calls the first business blockchain 11a to execute the third cross-chain contract according to the cross-chain response event.
- the first business blockchain 11a executes the third cross-chain contract according to the call of the first adapter 12a or the initiator client 14a, and unlocks the first data.
- the cross-chain initiation event and cross-chain response event on the local business blockchain are registered to the witness blockchain through the adapter to provide cross-chain event query and push for other nodes on the local business blockchain Services, and can trigger related operations on the business blockchain of the party based on the cross-chain event of the witness blockchain.
- the data in the business blockchain is stored in a key-value pair (K-V) manner.
- the first data includes the key name K and the first key value V1.
- the first cross-chain initiation event includes the first data.
- Step 9 of the above-mentioned interaction process includes: the second business blockchain 11b queries the second data matching the key name K, modifies the second key value V2 of the second data according to the first key value V1 of the first data, and modifies The latter second data is locked; the second business blockchain 11b triggers a cross-chain response event according to the locked second data.
- the modification of the second data is not only a change in the value of the key value, the modification can also be a logical modification of the key value, including but not limited to adding fields, deleting fields, transferring, changing status, and so on.
- Each learning stage is an independent blockchain, and the transfer of student status is cross-chain of data on different student status chains.
- the student's student status file on the chain uses the ID number as the key name K, and the main content of the key value V has the following fields:
- the student's status file on the primary school student status chain is K-V1.
- the junior high school status chain queries the student status file K-V2 corresponding to the key name K, revises V2 according to V1, and changes the name, household registration location, political status, education background, history school in V1
- the performance and other information are stored in the corresponding location of V2, and the current school is changed to the school name corresponding to the junior high school.
- the witness chain records the transfer process of the student status files between the primary school student status chain and the junior high school status chain.
- the blockchain cross-chain data access technology of this application can be applied to different scenarios, such as the transfer and use of assets between multiple blockchains, the simultaneous exchange of assets between chains, the proof and interaction of data between chains, and so on.
- scenarios such as the transfer and use of assets between multiple blockchains, the simultaneous exchange of assets between chains, the proof and interaction of data between chains, and so on.
- FIG. 3 is a flowchart of a blockchain cross-chain data access method provided by another embodiment of the application. As shown in Figure 3, the method is applied to the above-mentioned adapter and includes the following steps:
- Step S31 Monitor the first cross-chain initiation event on the business blockchain.
- the first cross-chain initiation event is triggered by the business blockchain by executing the first cross-chain contract.
- the first cross-chain contract is completed, the first cross-chain initiation event is generated.
- the first data corresponding to the chain-initiated event is locked by the business blockchain;
- step S32 the witness blockchain is called to execute the first witness contract for the first cross-chain initiated event, so as to record the first cross-chain initiated event at each node of the witness blockchain.
- FIG. 4 is a flowchart of a blockchain cross-chain data access method provided by another embodiment of the application. As shown in Figure 4, the method further includes:
- Step S41 Monitor the second cross-chain initiation event that accesses the business blockchain from the witness blockchain.
- the business blockchain obtains the second cross-chain initiation event
- the business blockchain initiates the event according to the second cross-chain Invoke the second cross-chain contract to trigger the second cross-chain response event;
- Step S42 when the second cross-chain response event is monitored from the business blockchain, call the witness blockchain to execute the second witness contract on the second cross-chain response event, so as to place the second cross-chain response event on the witness blockchain Each node records.
- the method further includes:
- the business blockchain is called to execute the third cross-chain contract to unlock the first data on the business blockchain .
- the cross-chain initiation event and cross-chain response event on the local business blockchain are registered to the witness blockchain through the adapter to provide cross-chain event query and push for other nodes on the local business blockchain Services, and can trigger related operations on the business blockchain of the party based on the cross-chain event of the witness blockchain.
- FIG. 5 is a flowchart of a blockchain cross-chain data access method provided by another embodiment of the application. As shown in Figure 5, this method is applied to the above witness blockchain and includes the following steps:
- step S51 the first witness contract is executed according to the call of the first adapter, and the cross-chain initiated event monitored by the first adapter is recorded at each node of the witness blockchain, where the cross-chain initiated event is determined by the first business blockchain Triggered according to the request of the initiator client;
- Step S52 execute the second witness contract according to the call of the second adapter, and record the cross-chain response event monitored by the second adapter at each node of the witness blockchain, where the cross-chain response event corresponds to the cross-chain initiated event,
- the cross-chain response event is triggered by the second business blockchain according to the request of the recipient client.
- the adapter listens to the cross-chain initiation event and the cross-chain response event on the business blockchain and then calls the witness blockchain to execute the witness contract.
- the witness blockchain will initiate the event and cross-chain response based on the adapter-based call
- the event is recorded to each node.
- Fig. 6 is a block diagram of an adapter provided by an embodiment of the application.
- the device can be implemented as part or all of an electronic device through software, hardware, or a combination of the two.
- the adapter is connected between the business blockchain and the witness blockchain, including:
- the monitoring module 61 is used to monitor the first cross-chain initiation event on the business blockchain.
- the first cross-chain initiation event is triggered and generated by the business blockchain by executing the first cross-chain contract.
- the first data corresponding to the first cross-chain initiation event is locked by the business blockchain;
- the calling module 62 is configured to call the witness blockchain to execute the first witness contract for the first cross-chain initiated event, so as to record the first cross-chain initiated event at each node of the witness blockchain.
- the monitoring module 61 is also used to monitor the second cross-chain initiation event that accesses the business blockchain from the witness blockchain.
- the business blockchain obtains the second cross-chain initiation event
- the business block The chain invokes the second cross-chain contract according to the second cross-chain initiation event to trigger the second cross-chain response event;
- the calling module 62 is also used to call the witness blockchain to execute the second witness contract on the second cross-chain response event when the monitoring module monitors the second cross-chain response event from the business blockchain, so as to respond to the second cross-chain response. Events are recorded at each node of the witness blockchain.
- the calling module 62 is also used to call the business blockchain to execute the third cross-chain contract when the monitoring module monitors the first cross-chain response event corresponding to the first cross-chain initiated event from the witness blockchain, To unlock the first data on the business blockchain.
- FIG. 7 is a block diagram of a block chain cross-chain data access device provided by an embodiment of the application.
- the device can be implemented as part or all of an electronic device through software, hardware, or a combination of both. As shown in Figure 7, the device is applied to witness blockchain, and the device includes:
- the first witness module 71 is used to execute the first witness contract according to the call of the first adapter, and record the cross-chain initiation event monitored by the first adapter in each node of the witness block chain, where the cross-chain initiation event is determined by the first A business blockchain is triggered according to the request of the initiator client;
- the second witness module 72 is configured to execute the second witness contract according to the call of the second adapter, and record the cross-chain response event monitored by the second adapter on each node of the witness blockchain.
- the cross-chain response event is related to the cross-chain response event.
- the chain-initiated event corresponds, and the cross-chain response event is triggered by the second business blockchain according to the request of the recipient client.
- the electronic device may include: a processor 1501, a communication interface 1502, a memory 1503, and a communication bus 1504.
- the processor 1501, the communication interface 1502, and the memory 1503 pass through The communication bus 1504 completes mutual communication.
- the memory 1503 is used to store computer programs
- the processor 1501 is configured to implement the following steps of the above method embodiment when executing the computer program stored in the memory 1503.
- the communication bus mentioned in the above electronic device may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc.
- PCI Peripheral Component Interconnect
- EISA Extended Industry Standard Architecture
- the communication bus can be divided into address bus, data bus, control bus and so on. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
- the communication interface is used for communication between the above-mentioned electronic device and other devices.
- the memory may include random access memory (Random Access Memory, RAM), and may also include non-volatile memory (Non-Volatile Memory, NVM), such as at least one disk storage.
- NVM non-Volatile Memory
- the memory may also be at least one storage device located far away from the foregoing processor.
- the above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (Network Processor, NP), etc.; it can also be a digital signal processor (Digital Signal Processing, DSP), a dedicated integrated Circuit (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
- CPU central processing unit
- NP Network Processor
- DSP Digital Signal Processing
- ASIC Application Specific Integrated Circuit
- FPGA Field-Programmable Gate Array
- FPGA Field-Programmable Gate Array
- the present application also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, it implements the steps of the above-mentioned method embodiment below.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Business, Economics & Management (AREA)
- Computer Security & Cryptography (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Strategic Management (AREA)
- Accounting & Taxation (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- General Business, Economics & Management (AREA)
- Bioethics (AREA)
- Software Systems (AREA)
- Finance (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Tourism & Hospitality (AREA)
- Economics (AREA)
- Human Resources & Organizations (AREA)
- Marketing (AREA)
- Computing Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Educational Technology (AREA)
- Entrepreneurship & Innovation (AREA)
- Educational Administration (AREA)
- Primary Health Care (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Development Economics (AREA)
- Technology Law (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本申请涉及一种区块链跨链数据访问方法、装置、适配器及系统。该技术方案通过在业务区块链与见证区块链之间增加适配器,由适配器将本方业务区块链上的跨链发起事件及跨链应答事件登记到见证区块链,为本方业务区块链上的其他节点提供跨链事件查询和推送服务,并可根据见证区块链的跨链事件触发本方业务区块链上的相关操作。从而避免区块链信息孤岛现象,实现不同区块链之间的数据交互,多方业务之间的跨链通信以及数据资源在不同区块链上的共享,提高数据资源的利用效率。
Description
本申请要求于2019年12月10日提交中国专利局、申请号为201911261811.6、发明名称为“一种区块链跨链数据访问方法、装置、适配器及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请涉及区块链技术领域,尤其涉及一种区块链跨链数据访问方法、装置、适配器及系统。
区块链是分布式数据存储、点对点传输、共识机制、加密算法等计算机技术的新型应用模式。区块链是一个分布式的共享账本和数据库,具有去中心化、不可篡改、全程留痕、可以追溯、集体维护、公开透明等特点。这些特点保证了区块链的“诚实”与“透明”,为区块链创造信任奠定基础。而区块链丰富的应用场景,基本上都基于区块链能够解决信息不对称问题,实现多个主体之间的协作信任与一致行动。
随着区块链技术的发展,新链的不断诞生,对于链与链之间数据交互的需求不断增加,但是,由于区块链是相对封闭的系统,不同的区块链协议无法兼容,处于相对割裂的状态。不同的区块链之间协作的难度大,极大地限制了区块链应用的发展。
发明内容
为了解决上述技术问题或者至少部分地解决上述技术问题,本申 请实施例提供了一种区块链跨链数据访问方法、装置、适配器及系统。
第一方面,本申请实施例提供了一种区块链跨链数据访问方法,所述方法包括:
监听业务区块链上的第一跨链发起事件,所述第一跨链发起事件由所述业务区块链通过执行第一跨链合约触发生成,当所述第一跨链合约完成时,所述第一跨链发起事件对应的第一数据被所述业务区块链锁定;
调用见证区块链对所述第一跨链发起事件执行第一见证合约,以将所述第一跨链发起事件在所述见证区块链各个节点进行记录。
可选的,所述方法还包括:
从所述见证区块链上监听访问所述业务区块链的第二跨链发起事件,当所述业务区块链获取到所述第二跨链发起事件时,由所述业务区块链根据所述第二跨链发起事件调用第二跨链合约触发第二跨链应答事件;
当从所述业务区块链监听到所述第二跨链应答事件时,调用所述见证区块链对所述第二跨链应答事件执行第二见证合约,以将所述第二跨链应答事件在所述见证区块链各个节点进行记录。
可选的,所述方法还包括:
当从所述见证区块链上监听到所述第一跨链发起事件对应的第一跨链应答事件时,调用所述业务区块链执行第三跨链合约,以在所述业务区块链上解除所述第一数据的锁定。
第二方面,本申请实施例提供了一种适配器,连接于业务区块链与见证区块链之间,所述适配器包括:
监听模块,用于监听业务区块链上的第一跨链发起事件,所述第 一跨链发起事件由所述业务区块链通过执行第一跨链合约触发生成,当所述第一跨链合约完成时,所述第一跨链发起事件对应的第一数据被所述业务区块链锁定;
调用模块,用于调用见证区块链对所述第一跨链发起事件执行第一见证合约,以将所述第一跨链发起事件在所述见证区块链各个节点进行记录。
可选的,所述监听模块,还用于从所述见证区块链上监听访问所述业务区块链的第二跨链发起事件,当所述业务区块链获取到所述第二跨链发起事件时,由所述业务区块链根据所述第二跨链发起事件调用第二跨链合约触发第二跨链应答事件;
所述调用模块,还用于当所述监听模块从所述业务区块链监听到所述第二跨链应答事件时,调用所述见证区块链对所述第二跨链应答事件执行第二见证合约,以将所述第二跨链应答事件在所述见证区块链各个节点进行记录。
可选的,所述调用模块,还用于当所述监听模块从所述见证区块链上监听到所述第一跨链发起事件对应的第一跨链应答事件时,调用所述业务区块链执行第三跨链合约,以在所述业务区块链上解除所述第一数据的锁定。
第三方面,本申请实施例提供了一种区块链跨链数据访问方法,包括:
根据第一适配器的调用执行第一见证合约,将所述第一适配器监听到的跨链发起事件在所述见证区块链的各个节点进行记录,其中,所述跨链发起事件由第一业务区块链根据发起方客户端的请求触发;
根据第二适配器的调用执行第二见证合约,将所述第二适配器监听到的跨链应答事件在所述见证区块链的各个节点进行记录,其中, 所述跨链应答事件与所述跨链发起事件对应,所述跨链应答事件由第二业务区块链根据接受方客户端的请求触发。
第四方面,本申请实施例提供了一种区块链跨链数据访问装置,包括:
第一见证模块,用于根据第一适配器的调用执行第一见证合约,将所述第一适配器监听到的跨链发起事件在所述见证区块链的各个节点进行记录,其中,所述跨链发起事件由第一业务区块链根据发起方客户端的请求触发;
第二见证模块,用于根据第二适配器的调用执行第二见证合约,将所述第二适配器监听到的跨链应答事件在所述见证区块链的各个节点进行记录,其中,所述跨链应答事件与所述跨链发起事件对应,所述跨链应答事件由第二业务区块链根据接受方客户端的请求触发。
第五方面,本申请实施例提供了一种区块链跨链系统,包括:至少两条业务区块链以及至少一条见证区块链,每条所述业务区块链与见证区块链之间设有适配器;其中,第一适配器连接于第一业务区块链与见证区块链之间;第二适配器连接于第二业务区块链与见证区块链之间;
所述第一业务区块链,用于根据发起方客户端的请求执行第一跨链合约触发跨链发起事件,将所述跨链发起事件对应的第一数据锁定;根据所述跨链应答事件执行第三跨链合约,解除对所述第一数据的锁定;
所述第一适配器,用于从所述第一业务区块链监听到所述跨链发起事件时,调用所述见证区块链对所述跨链发起事件执行第一见证合约;从所述见证区块链监听跨链应答事件;
所述见证区块链,用于根据所述第一适配器的调用执行所述第一 见证合约,将所述跨链发起事件在所述见证区块链的各个节点进行记录;根据所述第二适配器的调用执行第二见证合约,将所述跨链应答事件在所述见证区块链的各个节点进行记录;
所述第二适配器,用于从所述见证区块链监听目标为所述第二业务区块链的跨链发起事件,并当监听到所述第二业务区块链触发的所述跨链应答事件时,调用所述见证区块链对所述跨链应答事件执行所述第二见证合约;
所述第二业务区块链,用于当接受方客户端从所述第二适配器上获取到所述跨链发起事件时,根据所述接受方客户端的请求调用第二跨链合约触发所述跨链发起事件对应的跨链应答事件。
可选的,所述第一数据包括键名和第一键值;所述第一跨链发起事件包括所述第一数据;
所述第二业务区块链,用于查询与所述键名匹配的第二数据,根据所述第一数据的第一键值修改所述第二数据的第二键值,并将所述修改后的第二数据锁定;根据所述修改后的第二数据触发所述跨链应答事件。
第六方面,本申请实施例提供了一种电子设备,包括:处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;
所述存储器,用于存放计算机程序;
所述处理器,用于执行计算机程序时,实现上述方法步骤。
第七方面,本申请实施例提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现上述方法步骤。
本申请实施例提供的上述技术方案与现有技术相比具有如下优点:
通过在业务区块链与见证区块链之间增加适配器,由适配器将本方业务区块链上的跨链发起事件及跨链应答事件登记到见证区块链,为本方业务区块链上的其他节点提供跨链事件查询和推送服务,并可根据见证区块链的跨链事件触发本方业务区块链上的相关操作。从而避免区块链信息孤岛现象,实现不同区块链之间的数据交互,多方业务之间的跨链通信以及数据资源在不同区块链上的共享,提高数据资源的利用效率。
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理。
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本申请实施例提供的一种区块链跨链系统的框图;
图2为本申请实施例提供的一种区块链跨链数据访问交互流程的示意图;
图3为本申请另一实施例提供的一种区块链跨链数据访问方法的流程图;
图4为本申请另一实施例提供的一种区块链跨链数据访问方法的流程图;
图5为本申请另一实施例提供的一种区块链跨链数据访问方法的流程图;
图6为本申请实施例提供的一种适配器的框图;
图7为本申请实施例提供的一种区块链跨链数据访问装置的框图;
图8为本申请实施例提供的一种电子设备的结构示意图。
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请的一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本申请保护的范围。
下面首先对本发明实施例所提供的一种区块链跨链系统进行介绍。
该区块链跨链系统包括:至少两条业务区块链以及至少一条见证区块链,每条所述业务区块链与见证区块链之间设有适配器。
本实施中的业务区块链和见证区块链分别由多个节点组成,各节点通过共识机制形成具有分布式数据存储结构的区块链网络结构。区块链内的数据分布在时间上相连的一个个“区块(block)”之内,后一区块包含前一区块的数据摘要,且根据具体的共识机制(如POW、POS、DPOS或PBFT等)的不同,达成全部或部分节点的数据全备份。区块链根据其网络节点的分布形式,可包括公有链、联盟链、私有链等。
图1为本申请实施例提供的一种区块链跨链系统的框图。如图1所示,该系统包括第一业务区块链11a、第二业务区块链11b及见证区块链13。
第一适配器12a连接于第一业务区块链11a与见证区块链13之间;第二适配器12b连接于第二业务区块链11b与见证区块链13之间。
第一业务区块链11a,用于根据发起方客户端14a的请求执行第一跨链合约触发跨链发起事件,将跨链发起事件对应的第一数据锁定; 根据跨链应答事件执行第三跨链合约,解除对第一数据的锁定。
第一适配器12a,用于从第一业务区块链11a监听到跨链发起事件时,调用见证区块链13对跨链发起事件执行第一见证合约;从见证区块链13监听跨链应答事件。
见证区块链13,用于当第一见证合约完成时,将跨链发起事件在见证区块链13的各个节点进行记录;根据第二适配器12b的调用执行第二见证合约,当第二见证合约完成时,将跨链应答事件在见证区块链13的各个节点进行记录。
第二适配器12b,用于从见证区块链13监听目标为第二业务区块链11b的跨链发起事件,并当监听到第二业务区块链11b触发的跨链应答事件时,调用见证区块链13对跨链应答事件执行第二见证合约。
第二业务区块链11b,用于当接受方客户端14b从第二适配器12b上获取到跨链发起事件时,根据接受方客户端14b的请求调用第二跨链合约触发跨链发起事件对应的跨链应答事件。
可选的,第一适配器12a,还用于当从见证区块链13监听到跨链应答事件时,调用第一业务区块链11a根据跨链应答事件执行第三跨链合约。第一业务区块链11a,还用于根据第一适配器12a的调用执行第三跨链合约,解除对第一数据的锁定。
可选的,第一业务区块链11a,还用于当发起方客户端14a从第一适配器12a获取到跨链应答事件时,根据发起方客户端14a的调用执行第三跨链合约,解除对第一数据的锁定。
可选的,第二业务区块链11b,还用于根据接受方客户端14b的请求将跨链发起事件对应的第二数据锁定。
可选的,第二适配器12b,还用于当监听见证区块链13对于第二见证合约的执行结果为执行成功时,调用第二业务区块链11b根据跨 链应答事件执行第四跨链合约。第二业务区块链11b,还用于根据第二适配器12b的调用执行第四跨链合约,解除对第二数据的锁定。
可选的,第二适配器12b,还用于监听见证区块链13对于第二见证合约的执行结果;第二业务区块链11b,还用于当接受方客户端14b从第二适配器12b上获取到对于第二见证合约的执行结果为执行成功时,根据接受方客户端14b的调用执行第四跨链合约,解除对第二数据的锁定。
本实施例,通过在业务区块链与见证区块链之间增加适配器,由适配器将本方业务区块链上的跨链发起事件及跨链应答事件登记到见证区块链,为本方业务区块链上的其他节点提供跨链事件查询和推送服务,并可根据见证区块链的跨链事件触发本方业务区块链上的相关操作。从而避免区块链信息孤岛现象,实现不同区块链之间的数据交互,多方业务之间的跨链通信以及数据资源在不同区块链上的共享,提高数据资源的利用效率。
可选的,本实施例中业务区块链上的跨链合约是在区块链智能合约层或者区块链底层实现跨链所需状态数据锁定操作、跨链事件触发操作的区块链智能合约。见证区块链上的见证合约是提供跨链事件登记操作的区块链智能合约。
本实施例中的客户端,包括发起方客户端和接受方客户端,为用户于业务区块链进行交互的终端应用。
另外,本实施例中增加的见证区块链,是辅助完成跨链操作的中间链。该见证区块链本身并不参与跨链操作,仅对所有的跨链行为进行登记记录,使得跨链行为不可篡改、全程留痕、可以追溯、集体维护且公开透明,保证了区块链跨链系统去中心化特点以及区块链的“诚实”与“透明”,为区块链创造信任奠定基础。
可选的,第一数据包括键名和第一键值;第一跨链发起事件包括 第一数据。第二业务区块链11b,用于查询与键名匹配的第二数据,根据第一键值修改第二数据的第二键值,并将修改后的第二数据锁定;根据修改后的第二数据触发跨链应答事件。
这样,基于键值对方式在不同区块链之间交互数据,使得跨链行为不再限制于同构网络之间,对于异构区块链网络也可实现跨链通信,进行资源共享。
下面结合上述区块链跨链系统,对本实施例跨链数据访问流程进行详细说明。
图2为本申请实施例提供的一种区块链跨链数据访问交互流程的示意图。如图2所示,该交互流程包括以下步骤:
①发起方客户端14a请求进行跨链数据访问。
②第一业务区块链11a根据发起方客户端14a的请求执行第一跨链合约触发跨链发起事件,将跨链发起事件对应的第一数据锁定。
③第一适配器12a实时监听第一业务区块链11a上的跨链发起事件。
④第一适配器12a监听到跨链发起事件时,调用见证区块链13对跨链发起事件执行第一见证合约。
⑤当第一见证合约完成时,见证区块链13将跨链发起事件在见证区块链13的各个节点进行记录。
⑥第二适配器12b从见证区块链13监听目标为第二业务区块链11b的跨链发起事件。
⑦接受方客户端14b从第二适配器12b监听或查询接受方用户相关的跨链发起事件。
⑧接受方客户端14b自动或响应用户请求调用第二业务区块链11b 的跨链合约。
⑨第二业务区块链11b根据接受方客户端14b的请求调用第二跨链合约触发跨链发起事件对应的跨链应答事件。
⑩第二适配器12b实时监听第二业务区块链11b上的跨链应答事件。
本实施例中,通过适配器将本方业务区块链上的跨链发起事件及跨链应答事件登记到见证区块链,为本方业务区块链上的其他节点提供跨链事件查询和推送服务,并可根据见证区块链的跨链事件触发本方业务区块链上的相关操作。从而避免区块链信息孤岛现象,实现不同区块链之间的数据交互,多方业务之间的跨链通信以及数据资源在不同区块链上的共享,提高数据资源的利用效率。
本实施例中,业务区块链中的数据以键值对(K-V)方式存储。
第一数据包括键名K和第一键值V1。第一跨链发起事件包括所述第一数据。
上述交互流程第⑨步包括:第二业务区块链11b查询与键名K匹配的第二数据,根据第一数据的第一键值V1修改第二数据的第二键值V2,并将修改后的第二数据锁定;第二业务区块链11b根据锁定后的第二数据触发跨链应答事件。
其中,对第二数据的修改并不仅仅是对键值数值上的改变,该修改还可以是对键值的逻辑修改,包括但不限于增加字段、删除字段、转移、状态变更等等。
下面以学生学籍档案的流转为例进行说明。
现在学生上学,初进校园时需要将学籍档案从上一学籍档案所在地转移到当前学籍档案所在地进行存档保存,毕业后再重复以上过程,并附上当前学习阶段的信息。如学生升到初中时,需要将小学的学籍档案转到初中进行存档。
每一学习阶段都是一条独立的区块链,那学籍的流转是在不同学 籍链上的数据跨链。
假设学生在链上的学籍档案以身份证号为键名K,键值V的主要内容有以下字段:
●姓名
●户籍所在地
●政治面貌
●学历
●当前学校
●历史学校表现
●其他...
学生在小学学籍链上的学籍档案为K-V1。当学籍档案从小学学籍链跨到初中学籍链时,初中学籍链查询键名K对应的学籍档案K-V2,根据V1修改V2,将V1中的姓名、户籍所在地、政治面貌、学历、历史学校表现、其他信息存储到V2的对应位置,将当前学校变更为初中对应的学校名。
当监听到跨链应答事件,即初中学籍链上已加入该学生的学籍档案,在小学学籍链上将该学生学籍档案的状态修改为已转移。
在学籍档案的跨链流转过程中,见证链记录该学籍档案在小学学籍链与初中学籍链之间的流转过程。
本申请区块链跨链数据访问技术可以应用到不同场景,如资产在多区块链之间来回转移和使用,链间资产的同时交换,链间数据证明和交互,等等。通过本申请上述实施例的技术方案,可以解决多种场景下同构或异构区块链之间的数据交互,提高数据资源的利用效率。
图3为本申请另一实施例提供的一种区块链跨链数据访问方法的流程图。如图3所示,该方法应用于上述适配器,包括以下步骤:
步骤S31,监听业务区块链上的第一跨链发起事件,第一跨链发起事件由业务区块链通过执行第一跨链合约触发生成,当第一跨链合约完成时,第一跨链发起事件对应的第一数据被业务区块链锁定;
步骤S32,调用见证区块链对第一跨链发起事件执行第一见证合约,以将第一跨链发起事件在见证区块链各个节点进行记录。
图4为本申请另一实施例提供的一种区块链跨链数据访问方法的流程图。如图4所示,该方法还包括:
步骤S41,从见证区块链上监听访问业务区块链的第二跨链发起事件,当业务区块链获取到第二跨链发起事件时,由业务区块链根据第二跨链发起事件调用第二跨链合约触发第二跨链应答事件;
步骤S42,当从业务区块链监听到第二跨链应答事件时,调用见证区块链对第二跨链应答事件执行第二见证合约,以将第二跨链应答事件在见证区块链各个节点进行记录。
可选的,该方法还包括:
当从见证区块链上监听到第一跨链发起事件对应的第一跨链应答事件时,调用业务区块链执行第三跨链合约,以在业务区块链上解除第一数据的锁定。
本实施例中,通过适配器将本方业务区块链上的跨链发起事件及跨链应答事件登记到见证区块链,为本方业务区块链上的其他节点提供跨链事件查询和推送服务,并可根据见证区块链的跨链事件触发本方业务区块链上的相关操作。从而避免区块链信息孤岛现象,实现不同区块链之间的数据交互,多方业务之间的跨链通信以及数据资源在不同区块链上的共享,提高数据资源的利用效率。
图5为本申请另一实施例提供的一种区块链跨链数据访问方法的流程图。如图5所示,该方法应用于上述见证区块链,包括以下步骤:
步骤S51,根据第一适配器的调用执行第一见证合约,将第一适配器监听到的跨链发起事件在见证区块链的各个节点进行记录,其中,跨链发起事件由第一业务区块链根据发起方客户端的请求触发;
步骤S52,根据第二适配器的调用执行第二见证合约,将第二适配器监听到的跨链应答事件在见证区块链的各个节点进行记录,其中,跨链应答事件与跨链发起事件对应,跨链应答事件由第二业务区块链根据接受方客户端的请求触发。
本实施例中,适配器监听到业务区块链上的跨链发起事件及跨链应答事件后调用见证区块链执行见证合约,见证区块链基于适配器的调用将跨链发起事件及跨链应答事件记录到各个节点。为业务区块链上的其他节点提供跨链事件查询和推送服务,并可根据见证区块链的跨链事件触发业务区块链上的相关操作。从而避免区块链信息孤岛现象,实现不同区块链之间的数据交互,多方业务之间的跨链通信以及数据资源在不同区块链上的共享,提高数据资源的利用效率。
下述为本申请装置实施例,可以用于执行上述方法实施例。
图6为本申请实施例提供的一种适配器的框图,该装置可以通过软件、硬件或者两者的结合实现成为电子设备的部分或者全部。如图6所示,该适配器连接于业务区块链与见证区块链之间,包括:
监听模块61,用于监听业务区块链上的第一跨链发起事件,第一跨链发起事件由业务区块链通过执行第一跨链合约触发生成,当第一跨链合约完成时,第一跨链发起事件对应的第一数据被业务区块链锁定;
调用模块62,用于调用见证区块链对第一跨链发起事件执行第一 见证合约,以将第一跨链发起事件在见证区块链各个节点进行记录。
可选的,监听模块61,还用于从见证区块链上监听访问业务区块链的第二跨链发起事件,当业务区块链获取到第二跨链发起事件时,由业务区块链根据第二跨链发起事件调用第二跨链合约触发第二跨链应答事件;
调用模块62,还用于当监听模块从业务区块链监听到第二跨链应答事件时,调用见证区块链对第二跨链应答事件执行第二见证合约,以将第二跨链应答事件在见证区块链各个节点进行记录。
可选的,调用模块62,还用于当监听模块从见证区块链上监听到第一跨链发起事件对应的第一跨链应答事件时,调用业务区块链执行第三跨链合约,以在业务区块链上解除第一数据的锁定。
图7为本申请实施例提供的一种区块链跨链数据访问装置的框图,该装置可以通过软件、硬件或者两者的结合实现成为电子设备的部分或者全部。如图7所示,该装置应用于见证区块链,该装置包括:
第一见证模块71,用于根据第一适配器的调用执行第一见证合约,将第一适配器监听到的跨链发起事件在见证区块链的各个节点进行记录,其中,跨链发起事件由第一业务区块链根据发起方客户端的请求触发;
第二见证模块72,用于根据第二适配器的调用执行第二见证合约,将第二适配器监听到的跨链应答事件在见证区块链的各个节点进行记录,其中,跨链应答事件与跨链发起事件对应,跨链应答事件由第二业务区块链根据接受方客户端的请求触发。
本申请实施例还提供一种电子设备,如图8所示,电子设备可以包括:处理器1501、通信接口1502、存储器1503和通信总线1504,其中,处理器1501,通信接口1502,存储器1503通过通信总线1504 完成相互间的通信。
存储器1503,用于存放计算机程序;
处理器1501,用于执行存储器1503上所存放的计算机程序时,实现以下上述方法实施例的步骤。
上述电子设备提到的通信总线可以是外设部件互连标准(Peripheral Component Interconnect,PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,EISA)总线等。该通信总线可以分为地址总线、数据总线、控制总线等。为便于表示,图中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
通信接口用于上述电子设备与其他设备之间的通信。
存储器可以包括随机存取存储器(Random Access Memory,RAM),也可以包括非易失性存储器(Non-Volatile Memory,NVM),例如至少一个磁盘存储器。可选的,存储器还可以是至少一个位于远离前述处理器的存储装置。
上述的处理器可以是通用处理器,包括中央处理器(Central Processing Unit,CPU)、网络处理器(Network Processor,NP)等;还可以是数字信号处理器(Digital Signal Processing,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。
本申请还提供一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现以下上述方法实施例的步骤。
需要说明的是,对于上述装置、电子设备及计算机可读存储介质实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
进一步需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
以上所述仅是本发明的具体实施方式,使本领域技术人员能够理解或实现本发明。对这些实施例的多种修改对本领域的技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其它实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所申请的原理和新颖特点相一致的最宽的范围。
Claims (12)
- 一种区块链跨链数据访问方法,其特征在于,所述方法包括:监听业务区块链上的第一跨链发起事件,所述第一跨链发起事件由所述业务区块链通过执行第一跨链合约触发生成,当所述第一跨链合约完成时,所述第一跨链发起事件对应的第一数据被所述业务区块链锁定;调用见证区块链对所述第一跨链发起事件执行第一见证合约,以将所述第一跨链发起事件在所述见证区块链各个节点进行记录。
- 根据权利要求1所述的方法,其特征在于,所述方法还包括:从所述见证区块链上监听访问所述业务区块链的第二跨链发起事件,当所述业务区块链获取到所述第二跨链发起事件时,由所述业务区块链根据所述第二跨链发起事件调用第二跨链合约触发第二跨链应答事件;当从所述业务区块链监听到所述第二跨链应答事件时,调用所述见证区块链对所述第二跨链应答事件执行第二见证合约,以将所述第二跨链应答事件在所述见证区块链各个节点进行记录。
- 根据权利要求1所述的方法,其特征在于,所述方法还包括:当从所述见证区块链上监听到所述第一跨链发起事件对应的第一跨链应答事件时,调用所述业务区块链执行第三跨链合约,以在所述业务区块链上解除所述第一数据的锁定。
- 一种适配器,其特征在于,连接于业务区块链与见证区块链之间,所述适配器包括:监听模块,用于监听业务区块链上的第一跨链发起事件,所述第一跨链发起事件由所述业务区块链通过执行第一跨链合约触发生成,当所述第一跨链合约完成时,所述第一跨链发起事件对应的第一数据被所述业务区块链锁定;调用模块,用于调用见证区块链对所述第一跨链发起事件执行第一见证合约,以将所述第一跨链发起事件在所述见证区块链各个节点进行记录。
- 根据权利要求4所述的适配器,其特征在于,所述监听模块,还用于从所述见证区块链上监听访问所述业务区块链的第二跨链发起事件,当所述业务区块链获取到所述第二跨链发起事件时,由所述业务区块链根据所述第二跨链发起事件调用第二跨链合约触发第二跨链应答事件;所述调用模块,还用于当所述监听模块从所述业务区块链监听到所述第二跨链应答事件时,调用所述见证区块链对所述第二跨链应答事件执行第二见证合约,以将所述第二跨链应答事件在所述见证区块链各个节点进行记录。
- 根据权利要求4所述的适配器,其特征在于,所述调用模块,还用于当所述监听模块从所述见证区块链上监听到所述第一跨链发起事件对应的第一跨链应答事件时,调用所述业务区块链执行第三跨链合约,以在所述业务区块链上解除所述第一数据的锁定。
- 一种区块链跨链数据访问方法,其特征在于,包括:根据第一适配器的调用执行第一见证合约,将所述第一适配器监听到的跨链发起事件在所述见证区块链的各个节点进行记录,其中, 所述跨链发起事件由第一业务区块链根据发起方客户端的请求触发;根据第二适配器的调用执行第二见证合约,将所述第二适配器监听到的跨链应答事件在所述见证区块链的各个节点进行记录,其中,所述跨链应答事件与所述跨链发起事件对应,所述跨链应答事件由第二业务区块链根据接受方客户端的请求触发。
- 一种区块链跨链数据访问装置,其特征在于,包括:第一见证模块,用于根据第一适配器的调用执行第一见证合约,将所述第一适配器监听到的跨链发起事件在所述见证区块链的各个节点进行记录,其中,所述跨链发起事件由第一业务区块链根据发起方客户端的请求触发;第二见证模块,用于根据第二适配器的调用执行第二见证合约,将所述第二适配器监听到的跨链应答事件在所述见证区块链的各个节点进行记录,其中,所述跨链应答事件与所述跨链发起事件对应,所述跨链应答事件由第二业务区块链根据接受方客户端的请求触发。
- 一种区块链跨链系统,其特征在于,包括:至少两条业务区块链以及至少一条见证区块链,每条所述业务区块链与见证区块链之间设有适配器;其中,第一适配器连接于第一业务区块链与见证区块链之间;第二适配器连接于第二业务区块链与见证区块链之间;所述第一业务区块链,用于根据发起方客户端的请求执行第一跨链合约触发跨链发起事件,将所述跨链发起事件对应的第一数据锁定;根据所述跨链应答事件执行第三跨链合约,解除对所述第一数据的锁定;所述第一适配器,用于从所述第一业务区块链监听到所述跨链发起事件时,调用所述见证区块链对所述跨链发起事件执行第一见证合 约;从所述见证区块链监听跨链应答事件;所述见证区块链,用于根据所述第一适配器的调用执行所述第一见证合约,将所述跨链发起事件在所述见证区块链的各个节点进行记录;根据所述第二适配器的调用执行第二见证合约,将所述跨链应答事件在所述见证区块链的各个节点进行记录;所述第二适配器,用于从所述见证区块链监听目标为所述第二业务区块链的跨链发起事件,并当监听到所述第二业务区块链触发的所述跨链应答事件时,调用所述见证区块链对所述跨链应答事件执行所述第二见证合约;所述第二业务区块链,用于当接受方客户端从所述第二适配器上获取到所述跨链发起事件时,根据所述接受方客户端的请求调用第二跨链合约触发所述跨链发起事件对应的跨链应答事件。
- 根据权利要求9所述的系统,其特征在于,所述第一数据包括键名和第一键值;所述第一跨链发起事件包括所述第一数据;所述第二业务区块链,用于查询与所述键名匹配的第二数据,根据所述第一键值修改所述第二数据的第二键值,并将所述修改后的第二数据锁定;根据所述修改后的第二数据触发所述跨链应答事件。
- 一种电子设备,其特征在于,包括:处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;所述存储器,用于存放计算机程序;所述处理器,用于执行所述计算机程序时,实现权利要求1-3、7中任一项所述的方法步骤。
- 一种计算机可读存储介质,其上存储有计算机程序,其特征 在于,该计算机程序被处理器执行时实现权利要求1-3、7中任一项所述的方法步骤。
Priority Applications (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US17/784,273 US20230039066A1 (en) | 2019-12-10 | 2020-05-15 | Method, apparatus, adapter and system for cross-chain data access of blockchain |
| EP20898294.2A EP4075293A4 (en) | 2019-12-10 | 2020-05-15 | METHOD AND DEVICE FOR ACCESSING BLOCKCHAIN CROSS-CHAIN DATA, ADAPTER AND SYSTEM |
| JP2022532039A JP7397986B2 (ja) | 2019-12-10 | 2020-05-15 | ブロックチェーンクロスチェーンデータアクセス方法、装置、アダプタ及びシステム |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911261811.6A CN111090661B (zh) | 2019-12-10 | 2019-12-10 | 一种区块链跨链数据访问方法、装置、适配器及系统 |
| CN201911261811.6 | 2019-12-10 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2021114572A1 true WO2021114572A1 (zh) | 2021-06-17 |
Family
ID=70395414
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2020/090658 Ceased WO2021114572A1 (zh) | 2019-12-10 | 2020-05-15 | 一种区块链跨链数据访问方法、装置、适配器及系统 |
Country Status (5)
| Country | Link |
|---|---|
| US (1) | US20230039066A1 (zh) |
| EP (1) | EP4075293A4 (zh) |
| JP (1) | JP7397986B2 (zh) |
| CN (1) | CN111090661B (zh) |
| WO (1) | WO2021114572A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114528392A (zh) * | 2022-04-24 | 2022-05-24 | 北京理工大学 | 一种基于区块链的协同问答模型构建方法、装置及设备 |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111090661B (zh) * | 2019-12-10 | 2024-03-01 | 京东科技信息技术有限公司 | 一种区块链跨链数据访问方法、装置、适配器及系统 |
| CN113468581A (zh) * | 2021-07-26 | 2021-10-01 | 永旗(北京)科技有限公司 | 一种跨区块链的数据访问方法 |
| CN114117464B (zh) * | 2021-10-18 | 2024-12-13 | 中国联合网络通信集团有限公司 | 基于区块链的信息管理方法、装置、电子设备及可读介质 |
| CN114362956B (zh) * | 2021-12-23 | 2023-08-18 | 华南理工大学 | 一种联盟链的跨链通信架构及方法 |
| CN114979171B (zh) * | 2022-08-01 | 2022-11-01 | 北京微芯区块链与边缘计算研究院 | 一种基于区块链智能合约的政务数据共享管控方法 |
| CN115941693B (zh) * | 2023-03-10 | 2023-05-05 | 中国信息通信研究院 | 链群接入区块链的方法、装置、设备和介质 |
| CN117478301B (zh) * | 2023-12-27 | 2024-04-09 | 湖南天河国云科技有限公司 | 基于有向无环图的区块链共识达成方法及装置 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108805561A (zh) * | 2017-04-27 | 2018-11-13 | 中思博安科技(北京)有限公司 | 可访问多个区块链的智能合约的执行方法和系统 |
| CN109582473A (zh) * | 2018-10-26 | 2019-04-05 | 阿里巴巴集团控股有限公司 | 基于区块链的跨链数据访问方法和装置 |
| CN110266655A (zh) * | 2019-05-30 | 2019-09-20 | 中国工商银行股份有限公司 | 一种基于区块链的跨链互联方法、设备以及系统 |
| CN110442652A (zh) * | 2019-08-15 | 2019-11-12 | 腾讯科技(深圳)有限公司 | 一种基于区块链的跨链数据处理方法及装置 |
| CN111090661A (zh) * | 2019-12-10 | 2020-05-01 | 北京海益同展信息科技有限公司 | 一种区块链跨链数据访问方法、装置、适配器及系统 |
Family Cites Families (16)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2018060951A1 (en) * | 2016-09-30 | 2018-04-05 | KALLA, Abdool Gani Anver | A system for trading in a contract-free manner |
| CN109150943B (zh) * | 2017-06-27 | 2022-03-29 | 华为技术有限公司 | 信息的传输方法、装置和系统 |
| GB2570301A (en) * | 2018-01-17 | 2019-07-24 | Setl Development Ltd | Interaction between blockchains |
| CN108269190A (zh) * | 2018-01-17 | 2018-07-10 | 深圳四方精创资讯股份有限公司 | 基于跨链中继平台的跨链方法及其系统 |
| CN108256864B (zh) * | 2018-02-13 | 2019-06-07 | 中链科技有限公司 | 一种区块链之间的跨链联盟的建立及通信方法、系统 |
| US11030217B2 (en) * | 2018-05-01 | 2021-06-08 | International Business Machines Corporation | Blockchain implementing cross-chain transactions |
| EP3788578A1 (en) * | 2018-05-01 | 2021-03-10 | International Business Machines Corporation | Blockchain implementing cross-chain transactions |
| CN109035012B (zh) * | 2018-06-11 | 2020-11-17 | 西安纸贵互联网科技有限公司 | 一种区块链系统的跨链处理方法和计算机可读存储介质 |
| CN109409885A (zh) * | 2018-10-29 | 2019-03-01 | 深圳声笑科技有限公司 | 区块链上的跨链交易方法、装置及存储介质 |
| CN109828847B (zh) * | 2019-01-25 | 2023-09-01 | 平安科技(深圳)有限公司 | 基于区块链的锁处理方法、装置、计算机设备及存储介质 |
| CN109785136A (zh) * | 2019-01-30 | 2019-05-21 | 北京京东尚科信息技术有限公司 | 一种区块链的交易处理方法、客户端及区块链网络 |
| CN110046998B (zh) * | 2019-01-31 | 2020-04-14 | 阿里巴巴集团控股有限公司 | 跨链用权系统及方法、装置、电子设备、存储介质 |
| EP3593515B1 (en) * | 2019-03-06 | 2021-10-13 | Advanced New Technologies Co., Ltd. | Managing housing scores using smart contracts in blockchain networks |
| CN110166249B (zh) * | 2019-05-14 | 2022-03-04 | 数字钱包(北京)科技有限公司 | 一种信息传输方法、装置、验证端及计算机可读存储介质 |
| CN110264204B (zh) * | 2019-06-06 | 2022-04-19 | 杭州趣链科技有限公司 | 一种基于智能合约定序的区块链跨链交易方法 |
| CN110505311A (zh) * | 2019-09-12 | 2019-11-26 | 杭州秘猿科技有限公司 | 一种同构区块链跨链交互方法和系统 |
-
2019
- 2019-12-10 CN CN201911261811.6A patent/CN111090661B/zh active Active
-
2020
- 2020-05-15 JP JP2022532039A patent/JP7397986B2/ja active Active
- 2020-05-15 WO PCT/CN2020/090658 patent/WO2021114572A1/zh not_active Ceased
- 2020-05-15 EP EP20898294.2A patent/EP4075293A4/en active Pending
- 2020-05-15 US US17/784,273 patent/US20230039066A1/en not_active Abandoned
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108805561A (zh) * | 2017-04-27 | 2018-11-13 | 中思博安科技(北京)有限公司 | 可访问多个区块链的智能合约的执行方法和系统 |
| CN109582473A (zh) * | 2018-10-26 | 2019-04-05 | 阿里巴巴集团控股有限公司 | 基于区块链的跨链数据访问方法和装置 |
| CN110266655A (zh) * | 2019-05-30 | 2019-09-20 | 中国工商银行股份有限公司 | 一种基于区块链的跨链互联方法、设备以及系统 |
| CN110442652A (zh) * | 2019-08-15 | 2019-11-12 | 腾讯科技(深圳)有限公司 | 一种基于区块链的跨链数据处理方法及装置 |
| CN111090661A (zh) * | 2019-12-10 | 2020-05-01 | 北京海益同展信息科技有限公司 | 一种区块链跨链数据访问方法、装置、适配器及系统 |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP4075293A4 |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114528392A (zh) * | 2022-04-24 | 2022-05-24 | 北京理工大学 | 一种基于区块链的协同问答模型构建方法、装置及设备 |
| CN114528392B (zh) * | 2022-04-24 | 2022-06-24 | 北京理工大学 | 一种基于区块链的协同问答模型构建方法、装置及设备 |
Also Published As
| Publication number | Publication date |
|---|---|
| JP7397986B2 (ja) | 2023-12-13 |
| CN111090661A (zh) | 2020-05-01 |
| JP2023503521A (ja) | 2023-01-30 |
| EP4075293A1 (en) | 2022-10-19 |
| CN111090661B (zh) | 2024-03-01 |
| US20230039066A1 (en) | 2023-02-09 |
| EP4075293A4 (en) | 2023-12-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2021114572A1 (zh) | 一种区块链跨链数据访问方法、装置、适配器及系统 | |
| CN111861482A (zh) | 一种区块链对账方法和系统 | |
| US10831764B2 (en) | Query processing and access control in a blockchain network | |
| US11093558B2 (en) | Providing accountability of blockchain queries | |
| CN111899008B (zh) | 资源转移方法、装置、设备及系统 | |
| US11283673B2 (en) | Blockchain endorsement verification | |
| WO2021073452A1 (zh) | 基于区块链网络的数据处理方法、装置、电子设备及存储介质 | |
| CN110060162A (zh) | 基于区块链的数据授权、查询方法和装置 | |
| US11502828B2 (en) | Authenticating chaincode to chaincode invocations of a blockchain | |
| CN110543545B (zh) | 基于区块链的档案管理方法、装置及存储介质 | |
| US10585720B1 (en) | Method and system for executing application programming interface (API) requests based on union relationships between objects | |
| WO2020125222A1 (zh) | 数据读写方法及装置、电子设备 | |
| WO2020211483A1 (zh) | 区块链中智能合约的存储、执行方法及装置和电子设备 | |
| CN110163755A (zh) | 基于区块链的数据压缩、查询方法及装置和电子设备 | |
| WO2021248917A1 (zh) | 一种基于混合链的数据中心网络故障诊断和自动配置方法 | |
| CN109522729B (zh) | 智能合约状态变更方法及装置 | |
| CN109981646A (zh) | 基于区块链的资源转移方法及装置和电子设备 | |
| WO2024001032A1 (zh) | 在区块链系统中执行交易的方法、区块链系统和节点 | |
| WO2023040453A1 (zh) | 一种交易信息处理方法及装置 | |
| CN112350863B (zh) | 一种基于交易的去中心化访问控制方法和系统 | |
| CN114637969A (zh) | 目标对象的鉴权方法及装置 | |
| EP4430499A1 (en) | Privacy data management in distributed computing systems | |
| US11656972B1 (en) | Paginating results obtained from separate programmatic interfaces | |
| AU2017257184B2 (en) | Configuration data as code | |
| Kushnir et al. | Developing instrument for investigation of blockchain technology |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20898294 Country of ref document: EP Kind code of ref document: A1 |
|
| ENP | Entry into the national phase |
Ref document number: 2022532039 Country of ref document: JP Kind code of ref document: A |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| ENP | Entry into the national phase |
Ref document number: 2020898294 Country of ref document: EP Effective date: 20220711 |