CN112950183A - Cross-link data interchange method, system, device and electronic equipment - Google Patents

Cross-link data interchange method, system, device and electronic equipment Download PDF

Info

Publication number
CN112950183A
CN112950183A CN202110203462.3A CN202110203462A CN112950183A CN 112950183 A CN112950183 A CN 112950183A CN 202110203462 A CN202110203462 A CN 202110203462A CN 112950183 A CN112950183 A CN 112950183A
Authority
CN
China
Prior art keywords
proposal
details
chain
initiator
amount
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110203462.3A
Other languages
Chinese (zh)
Other versions
CN112950183B (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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202110203462.3A priority Critical patent/CN112950183B/en
Publication of CN112950183A publication Critical patent/CN112950183A/en
Application granted granted Critical
Publication of CN112950183B publication Critical patent/CN112950183B/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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/10Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The application provides a method, a system, a device and an electronic device for cross-link data interchange, wherein the method comprises the following steps: if receiving proposal data sent by the client, sending the proposal data to the block link points of the bracelet; the proposal data comprises the details of the proposal of the initiator and the details of the proposal of the opponent; judging whether to carry out cochain storage on the proposal details of the initiator or not according to the authorization amount and the mortgage amount indicated by the asset contract; after the chain is finished on both the initiator proposal details and the counter party proposal details, asset transfer is carried out according to the transfer amount and the transaction account contained in the initiator proposal details; chaining and storing the proposal completion result of the proposal details of the initiator, and sending a proposal completion message of the proposal details of the initiator to the block chain link point of the bracelet; and if the proposal completion message of the proposal details of the counter party is received within the preset time, determining that the asset interchange is successful. The scheme improves the asset interchange efficiency.

Description

Cross-link data interchange method, system, device and electronic equipment
Technical Field
The present application relates to the field of block chain technologies, and in particular, to a method for exchanging cross-chain data, a system for exchanging cross-chain data, a device for exchanging cross-chain data, an electronic device, and a computer-readable storage medium.
Background
Blockchains refer to a completely new distributed infrastructure and computing paradigm that uses blockchain-like data structures to verify and store data, uses distributed node consensus algorithms to generate and update data, uses cryptography to secure data transmission and access, and uses intelligent contracts composed of automated script codes to program and manipulate data.
The chain crossing means that information and values on originally different and independent block chains are exchanged and circulated through technical means. In a narrow sense, the process of inter-operability between two relatively independent blockchain accounts; the method is a process for performing asset and data interoperation between two independent accounts in a broad sense. Whether for public chain or private chain, the good medicine that the cross-chain technology rescued blockchain from dispersed island is the bridge that the blockchain outwards expanded and connected.
A Hash Time Lock Contract (HTLC) is a technique for exchanging assets between blockchain networks. In the process of asset exchange, in order to ensure the asset safety of each block chain, the asset transfer is either completely completed or not completed, and no intermediate state exists. The Hash time locking is realized based on a Hash algorithm and a timeout mechanism, and the assets of the user A and the user B are exchanged and need to be transferred through a locking and transferring two-stage asset transfer step: firstly, the user A and the user B both lock the assets to the intelligent contract and respectively unlock the locked assets to the target account again, although the safety target is achieved, the process is slow, and the efficiency is low.
Disclosure of Invention
The embodiment of the application provides a cross-link data interchange method, which is used for improving interchange efficiency and shortening interchange time.
The above embodiments of the present application provide a method for exchanging cross-link data, where the method is performed by a block link point, and the method includes:
if receiving proposal data sent by a client, sending the proposal data to a block link point of a bracelet; the proposal data comprises the details of the proposal of the initiator and the details of the proposal of the opponent;
judging whether to carry out cochain storage on the proposal details of the initiator according to the authorization amount and the mortgage amount indicated by the asset contract;
after the chain is finished on both the initiator proposal details and the counter party proposal details, carrying out asset transfer according to the transfer amount and the transaction account contained in the initiator proposal details;
chaining and storing the proposal completion result of the proposal details of the initiator, and sending a proposal completion message of the proposal details of the initiator to the block chain link point of the bracelet;
and if the proposal completion message of the proposal details of the counter party is received within the preset time, determining that the asset interchange is successful.
In an embodiment, the determining whether to chain up the originator proposal details according to an authorized amount and a mortgage amount indicated by the asset contract includes:
judging whether the authorization amount corresponding to the transaction account is larger than or equal to the transfer amount or not according to the transfer amount and the transaction account;
if the authorization amount is larger than or equal to the transfer amount, judging whether a mortgage amount corresponding to a transaction account is larger than or equal to the transfer amount;
and if the mortgage amount is larger than or equal to the transfer amount, chaining and storing the proposal details of the initiator.
In an embodiment, before the determining, according to the transfer amount and the transaction account, whether an authorized amount corresponding to the transaction account is greater than or equal to the transfer amount, the method further includes:
and judging whether the sender account contained in the transaction account is the account corresponding to the client.
In an embodiment, the determining, according to the transfer amount and the transaction account, whether an authorization amount corresponding to the transaction account is greater than or equal to the transfer amount includes:
and judging whether the authorized amount corresponding to the sender account is greater than or equal to the transfer amount or not and judging whether the authorized amount corresponding to the receiver account is greater than or equal to the transfer amount or not according to the sender account and the receiver account contained in the transaction account.
In one embodiment, after the chain is completed on both the initiator proposal details and the counter-party proposal details, the asset transfer is performed according to the transfer amount and the transaction account included in the initiator proposal details, including:
if the chaining completion message of the counter party proposal details is received, judging whether the chaining of the initiator proposal details corresponding to the counter party proposal details is completed or not;
if the chaining of the initiator proposal details is completed, judging whether the initiator proposal details exceed the preset time;
and if the preset time is not exceeded, transferring the transfer amount from the sender account to the receiver account.
In an embodiment, the uplink saving the proposal completion result of the initiator proposal details and sending the proposal completion message of the initiator proposal details to the block link point of the bracelet comprises:
chaining and storing the proposal completion result of the initiator proposal details to obtain a proposal completion block identifier of the initiator proposal details;
and sending a proposal completion message containing a proposal identifier of the proposal details of the initiator, an uplink block identifier of the proposal details of the initiator and the proposal completion block identifier to a block chain node of the pairing chain.
In an embodiment, the method further includes:
and if the proposal completion message of the proposal details of the counter party is not received within the preset time, transferring the transfer amount from the receiver account to the sender account according to the sender account and the receiver account contained in the transaction account.
In an embodiment, the method further includes:
and if the transfer amount is unsuccessfully transferred from the receiver account to the sender account, returning the corresponding transfer amount to the sender account from the mortgage account corresponding to the sender account.
In an embodiment, the method further includes:
if the transfer of the transfer amount from the recipient account back to the sender account fails, the recipient account is blacklisted or blocked by an asset contract.
In an embodiment, the method further includes:
if receiving proposal data sent by the block chain nodes of the initiating chain; the proposal data comprises the details of the proposal of the initiator and the details of the proposal of the opponent;
judging whether to carry out cochain storage on the counter-party proposal details according to the authorization amount and the mortgage amount indicated by the asset contract;
after receiving the proposal completion message of the proposal details of the initiator, carrying out asset transfer according to the transfer amount and the transaction account contained in the proposal details of the counter party;
chaining and saving the proposal completion result of the counter party proposal details; and sending proposal completion messages of the proposal details of the counter party to the block nodes of the initiating chain.
In an embodiment, the determining whether to chain up the counter-party proposal details according to the authorized amount and the mortgage amount indicated by the asset contract includes:
judging whether the authorization amount and the mortgage amount are both larger than or equal to the transfer amount, and if so, performing chain link storage on the proposal details of the counter party;
and after the chaining of the proposal details of the counter party is completed, sending a chaining completion message of the proposal details of the counter party to the block chain node of the initiating chain.
An embodiment of the present application further provides a system for exchanging cross-chain data, including:
the block chain link point of the initiating chain is used for receiving proposal data sent by the client; the proposal data comprises the details of the proposal of the initiator and the details of the proposal of the opponent; sending the proposal data to a block link point of a bracelet; judging whether to carry out cochain storage on the proposal details of the initiator according to the authorization amount and the mortgage amount indicated by the asset contract;
completing chaining on the initiator proposal details, and after receiving a chaining completion message of the counter-party proposal details, performing asset transfer according to a transfer amount and a transaction account contained in the initiator proposal details; chaining and storing the proposal completion result of the proposal details of the initiator, and sending a proposal completion message of the proposal details of the initiator to the block chain link point of the bracelet; if receiving a proposal completion message of the proposal details of the counter party within the preset time, determining that the asset interchange is successful;
the block chain link point of the bracelet is used for receiving proposal data sent by the block chain node of the initiating chain and judging whether to carry out cochain storage on the proposal details of the counter party according to the authorization amount and the mortgage amount indicated by the asset contract;
after receiving the proposal completion message of the proposal details of the initiator, carrying out asset transfer according to the transfer amount and the transaction account contained in the proposal details of the counter party; chaining and saving the proposal completion result of the counter party proposal details; and sending proposal completion messages of the proposal details of the counter party to the block chain nodes of the initiating chain;
and the chain spanning platform is used for connecting the block chain nodes of the initiating chain and the block chain link points of the bracelet chain and realizing the interaction between the block chain link points of the initiating chain and the block chain link points of the bracelet chain.
An embodiment of the present application further provides a device for exchanging inter-chain data, where the device is applied to a blockchain node, and the device includes:
the proposal sending module is used for sending the proposal data to the block link points of the bracelet if the proposal data sent by the client is received; the proposal data comprises the details of the proposal of the initiator and the details of the proposal of the opponent;
the uplink storage module is used for judging whether to carry out uplink storage on the proposal details of the initiator according to the authorization amount and the mortgage amount indicated by the asset contract;
the asset transfer module is used for carrying out asset transfer according to the transfer amount and the transaction account contained in the initiator proposal details after the chain linking of the initiator proposal details and the counter-party proposal details is finished;
a result chaining module, configured to chain and store a proposal completion result of the initiator proposal details, and send a proposal completion message of the initiator proposal details to a block link point of the bracelet;
and the message receiving module is used for determining that the asset interchange is successful if the proposal completion message of the proposal details of the counter party is received within the preset time.
An embodiment of the present application further provides an electronic device, where the electronic device includes:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the above cross-chain data interchange method.
The embodiment of the application also provides a computer readable storage medium, wherein the storage medium stores a computer program, and the computer program can be executed by a processor to complete the cross-chain data interchange method.
According to the technical scheme provided by the embodiment of the application, whether the asset transfer is carried out or not is determined and judged based on the authorization amount and the mortgage amount indicated by the asset contract, so that the safety of asset exchange is ensured. The asset transfer is completed by the initiator and the opponent within the preset time, the asset exchange is considered to be successful, and the asset transfer is directly performed because the asset locking of the initiator and the opponent is not required to be performed firstly and then the asset transfer is performed, so that the asset exchange efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required to be used in the embodiments of the present application will be briefly described below.
FIG. 1 is a block diagram of a cross-chain data interchange system according to an embodiment of the present application;
fig. 2 is a block diagram of an electronic device provided in an embodiment of the present application;
fig. 3 is a schematic flowchart of a cross-chain data interchange method according to an embodiment of the present application;
FIG. 4 is a flowchart illustrating a cross-chain data interchange method according to another embodiment of the present application;
FIG. 5 is a timing diagram illustrating a cross-chain data interchange method according to an embodiment of the present application;
FIG. 6 is a timing diagram illustrating another method for exchanging data across chains according to the present application;
FIG. 7 is a block diagram of a cross-chain data interchange device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
Like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Fig. 1 is a schematic architecture diagram of a cross-chain data interchange system according to an embodiment of the present application. As shown in fig. 1, the system includes: client 110, originating chain block link point 120, opponent chain block link point 130, and cross-chain platform 140. The client 110 may be a smart phone, a tablet computer, or a desktop computer. The cross-chain platform 140 may include a plurality of cross-chain nodes 141, the block-link point 120 of the originating chain, the block-link point 130 of the opponent chain, and the cross-chain nodes 141 may be computers, servers, or mining machines. The client communicates with the block chain link point 120 of the initiating chain, and the block chain link point 120 of the initiating chain and the block chain link point 130 of the opponent chain communicate with the cross-chain platform 140 respectively.
The block link node of the originating chain refers to a block link node of the chain proposed by the originator. A blockchain node for a bracelet refers to a blockchain node that links to the proposed details of the counter party. For example, suppose that user A (account accountA1) needs to transfer 20 coins to user B (account accountB1) at chain A, in exchange for user B (account accountB2) needing to transfer 100 coins to user A (account accountA2) at chain B. The account number of user a (accountA1) is the initiator of this asset exchange event, so the blockchain link points of chain a may be referred to as blockchain nodes of the initiating chain. Accordingly, the blockchain link points of chain B may be referred to as blockchain nodes of the bracelet.
The details of the proposal from the initiator of chain A include "proposal identification t1, sender accountA1, receiver accountB1, transfer amount 20coin, lower limit of amount 200coin that the hash contract needs to be collated, timeout: now +30 minutes, if initiator: yes, user a is the initial initiator ";
the details of the proposal of the counterparty of chain B include "proposal identification t1, sender accountB2, receiver accountA2, transfer amount 10coin, lower limit of amount 100coin that the hash contract needs to be collated, timeout: now +30 minutes, if initiator: NO ".
The account accountA1 of user a completes the uplink of the originator proposal details at chain a, and the account accountB2 of user B completes the uplink of the counter proposal details at chain B.
In one embodiment, the client 110 may act as an initiator to send proposal data to the chunk chain node 120 of the originating chain. The proposal data may include details of the originator proposal and details of the counterparty proposal.
A cross-chain platform 140 connects the block link point 120 of the initiating chain and the block link point 130 of the bracelet chain for enabling interaction between the block link point 120 of the initiating chain and the block link point 130 of the bracelet chain.
The block chain link point 120 of the initiating chain receives proposal data sent by the client 110; the proposal data is sent to the block link point 130 of the bracelet through the cross-link platform 140. The block link point 120 of the initiating chain determines whether to uplink the details of the initiating party proposal according to the authorization amount and the mortgage amount indicated by the asset contract.
Meanwhile, the block link node 130 of the bracelet receives proposal data sent by the block link node 120 of the initiating chain through the cross-link platform 140, and judges whether to carry out uplink storage on the proposal details of the opponent party according to the authorization amount and the mortgage amount indicated by the asset contract.
The block chain link point 120 of the initiating chain finishes chaining on the initiating party proposal details, and after receiving a chaining completion message of the counterparty proposal details sent by the block chain node 130 of the counterparty through the chain-crossing platform 140, performs asset transfer according to the transfer amount and the transaction account contained in the initiating party proposal details; and the proposal completion result of the proposal details of the initiator is stored in an uplink, and a proposal completion message of the proposal details of the initiator is sent to the block chain link point 130 of the opponent chain through the cross-chain platform 140.
After receiving a proposal completion message of the proposal details of the initiator sent by the block link point 120 of the initiator through a cross-chain platform, the block link point 130 of the bracelet transfers assets according to the transfer amount and the transaction account contained in the proposal details of the counter party; chaining and saving the proposal completion result of the counter party proposal details; and sending a proposal completion message of the proposal details of the counter party to the block chain nodes of the initiating chain through a chain-crossing platform.
And if the block link point of the initiating chain receives a proposal completion message of the proposal details of the counterparty, which is sent by the block link point of the counterparty chain through the cross-chain platform, within the preset time, determining that the asset interchange is successful.
Fig. 2 is a schematic structural diagram of an electronic device provided in an embodiment of the present application. The electronic device may be used as the above block chain node, and the electronic device 200 may be configured to execute the cross-chain data interchange method provided in the embodiment of the present application. As shown in fig. 2, the electronic device 200 includes: one or more processors 202, and one or more memories 204 storing processor-executable instructions. Wherein the processor 202 is configured to execute the cross-chain data interchange method provided in the following embodiments of the present application.
The processor 202 may be a device containing a Central Processing Unit (CPU), a Graphics Processing Unit (GPU) or other form of processing unit having data processing and/or instruction execution capabilities, may process data for other components in the electronic device 200, and may control other components in the electronic device 200 to perform desired functions.
The memory 204 may include one or more computer program products that may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. The volatile memory may include, for example, Random Access Memory (RAM), cache memory (cache), and/or the like. The non-volatile memory may include, for example, Read Only Memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium and executed by processor 202 to implement the cross-chain data interchange method described below. Various applications and various data, such as various data used and/or generated by the applications, may also be stored in the computer-readable storage medium.
In one embodiment, the electronic device 200 shown in FIG. 2 may also include an input device 206, an output device 208, and a data acquisition device 210, which may be interconnected via a bus system 212 and/or other form of connection mechanism (not shown). It should be noted that the components and configuration of the electronic device 200 shown in FIG. 2 are exemplary only, and not limiting, and the electronic device 200 may have other components and configurations as desired.
The input device 206 may be a device used by a user to input instructions and may include one or more of a keyboard, a mouse, a microphone, a touch screen, and the like. The output device 208 may output various information (e.g., images or sounds) to the outside (e.g., a user), and may include one or more of a display, a speaker, and the like. The data acquisition device 210 may acquire an image of a subject and store the acquired image in the memory 204 for use by other components. Illustratively, the data acquisition device 210 may be a camera.
In an embodiment, the devices in the example electronic device 100 for implementing the cross-chain data interchange method according to the embodiment of the present application may be integrally disposed or may be separately disposed, such as the processor 202, the memory 204, the input device 206, and the output device 208 are integrally disposed, and the data acquisition device 210 is separately disposed.
In an embodiment, the example electronic device 200 for implementing the cross-chain data interchange method of the embodiments of the present application may be implemented as an intelligent device such as a computer, server, mining machine, or the like.
Fig. 3 is a schematic flowchart of a cross-chain data interchange method provided in an embodiment of the present application. The method may be performed by block link points. As shown in fig. 3, the flow includes steps S310 to S340.
Step S310: and if receiving proposal data sent by the client, sending the proposal data to a block chain node of the opposite hand chain. The proposal data includes details of the originator proposal and details of the counterparty proposal.
And the block chain node receives proposal data sent by the client. This block link point may now be considered the block chain node of the originating chain. The block chain link point of the initiating chain can send proposal data to the block chain node of the opposite hand chain through the cross-chain platform. The originating chain and the opponent chain can be thought of as two different blockchain networks that exchange assets.
Assuming that the user a and the user B perform asset exchange, the transfer details of the first initiated transfer may be referred to as the initiator proposal details, and the transaction details of the second initiated transfer may be referred to as the counter proposal details. The initiator proposal details may include proposal identification, sender account, recipient account, transfer finance. The details of the proposal of the initiator can also comprise the lower limit of the amount of the mortgage required by the hash contract, the preset timeout time and the identifier of whether the initiator is required to be used or not, as required.
Details of the proposal for the counterparty may include: proposal identification, sender account, receiver account, transfer amount. The details of the proposal of the counterparty can also comprise the lower limit of the amount of the hash contract needing to be collated, the preset timeout time and the identifier of whether the counterparty is the initiator or not according to the needs.
Referring to the above list, the asset exchange between user a and user B in chain a and chain B, the details of the proposal from the initiator may include "proposal id t1, sender accountA1, receiver accountB1, transfer amount 20, lower limit 200, timeout, which is required for the hash contract: now +30 minutes, if initiator: yes, user a is the initial initiator ";
details of the counterparty proposal for chain B may include "proposal identification t1, sender accountB2, receiver accountA2, transfer amount 10coin, lower limit 100coin for the amount that the hash contract requires for mortgage, timeout: now +30 minutes, if initiator: NO ".
Step S320: and judging whether to carry out cochain storage on the proposal details of the initiator or not according to the authorization amount and the mortgage amount indicated by the asset contract.
The asset contract is used to specify the asset address, collateral amount, authorization amount, etc. of the asset owner. It should be noted that contract deployment and initialization may be performed before the asset exchange begins. Specifically, the cross-chain platform may deploy the hash time lock contracts in chain a and chain B, respectively, and input parameters include the addresses of the asset contracts (the a1 asset contract address of chain a and the a2 asset contract address of chain B) and the asset address of the cross-chain platform-hash contract itself (i.e., the asset address for mortgage: the c1 asset address of chain a and the c2 asset address of chain B), and obtain the contract address of the hash time lock contract after deployment is completed.
The cross-chain platform then mortises the assets (mortgaetoken (U _ amount)) in chain A and chain B, respectively. Mortgage is a block chain transaction initiated by a cross-chain platform by using an own asset account number, the transaction calling method is mortgagetoken (uint account), the mortgage executes on the block chain and transfers the amount of money to an admin account number, and the total amount of the mortgage is recorded. The mortgage is similar to a certificate of the cross-chain platform capable of carrying out cross-chain transaction, and the mortgage amount can be compensated. Specifically, the cross-link platform uses the c1 asset address to contract certain assets (amount) at k1, and the c2 asset address to contract certain assets at k 2. The assets herein can be used for problems with subsequent rollback. Meanwhile, the c1 asset address and the c2 asset address have to have assets on the a1 asset contract and the a2 asset contract respectively, and the more assets are mortgage, the higher the probability that the subsequent cross-chain proposal application is successful. Such as contract c1 asset account mortgage 1000coin, contract c2 asset account mortgage 800 coin.
The user of the client may input a specified amount of money, and an authorized (authorized) hash time lock contract operates on the amount of money. Specifically, the user a (the account number of the chain a is accountA1, and the account number of the chain B is accountA2), and the user B (the account number of the chain a is accountB1, and the account number of the chain B is accountB 2). The user A account accountA1 and the user B account accountA B1 can perform asset operation at the k1 contract address of the chain A authorization chain A, and the user A account accountA2 and the user B account accountA B2 can perform asset operation at the k2 contract address of the chain B authorization chain B. The authorized assets can be provided with multiple points, so that the subsequent proposal passing rate is convenient. Meanwhile, if the user a account accountA2 of chain B is the recipient of the counter proposal details, then asset authorization may not be set. For example, accountB1 authorizes 100coin, accountB1 authorizes 100coin, and accountB2 authorizes 80 coin. It should be noted that the hash contract can only operate on the user's assets if authorized.
The mortgage and authorization can be considered a preliminary preparation phase. After the client generates the proposal data, the block link point of the initiating chain receives the proposal data, and can use the account accountA1 of the user a to complete the uplink of the proposal details of the initiating party on the chain a, and the block link point of the opposite party can complete the uplink of the proposal details of the opposite party on the chain B through the account accountB2 of the user B.
In one embodiment, the block link point of the initiating chain may determine whether the initiating party proposal details are linked according to the authorization amount and the mortgage amount indicated by the asset contract. The specific judging steps are as follows: (1) the proposal must be initiated by the user himself (initiator initiation). Namely, whether a sender account contained in the transaction account is an account corresponding to the client is judged;
(2) the authorization amount authorized by the initiator must be sufficient for transfer (3) if the initiator and the recipient are authorized enough (to prevent subsequent rollback failures).
Namely, whether the authorization amount corresponding to the transaction account is larger than or equal to the transfer amount is judged according to the transfer amount and the transaction account. Specifically, it is required to determine whether an authorized amount corresponding to the sender account is greater than or equal to the transfer amount and whether an authorized amount corresponding to the receiver account is greater than or equal to the transfer amount according to a sender account and a receiver account included in the transaction account.
(4) The amount of the contract mortgage needs to be sufficient (to facilitate reimbursement in the event of rollback, so the more the fund account number of the contract mortgages, the higher the proposal success rate). (5) Details of the initiator proposal are saved. That is, if the authorized amount is greater than or equal to the transfer amount, it is also necessary to determine whether a mortgage amount corresponding to the transaction account is greater than or equal to the transfer amount; and if the mortgage amount is larger than or equal to the transfer amount, chaining and storing the proposal details of the initiator.
For example, the block number of the proposal for the originator proposal details on the proposed uplink of chain a may be bNumber1, and the block number of the proposal for the counterparty details on the proposed uplink of chain B, bNumber 2.
Step S330: and after the chain is finished on both the initiator proposal details and the counter party proposal details, carrying out asset transfer according to the transfer amount and the transaction account contained in the initiator proposal details.
After the uplink of the proposal details of the opponent party is completed, the block chain link point of the opponent party chain can send an uplink completion message to the block chain node of the initiating chain through the cross-chain platform.
And completing the initiating party proposal details on the chain A, completing the counterparty proposal details on the chain B, and performing asset transfer on the block link points of the initiating chain according to the transfer amount and the transaction account contained in the initiating party proposal details. The specific process is (1) judging that a proposal must exist. Specifically, if the block link point of the initiating chain receives the uplink completion message of the proposal details of the opposite party, it may be determined whether the initiator proposal details corresponding to the proposal details of the opposite party are uplink completed, and the uplink completion indicates that the proposal exists. (2) The proposal transfer may not time out (timeout). Specifically, if the uplink of the initiator proposal details is completed, it may be determined whether the initiator proposal details exceed a preset time (e.g., 30 minutes). (3) Chain a contract k1 transfers the amount authorized by accountA1 to accountB 1. I.e., if the preset time is not exceeded, the transfer amount is transferred from the sender's account to the recipient's account. (4) The block number of proposal complete for the initiator proposal details of the current chain is updated (for ease of recording). (5) This originator proposal details are deleted from the proposal to be completed.
Step S340: and chaining and storing the proposal completion result of the proposal details of the initiator, and sending a proposal completion message of the proposal details of the initiator to the block chain node of the bracelet.
The proposal completion result may include a transfer amount, a transaction account, transfer time, and the like. For example, the block number of the transfer-completed uplink of chain a may be bNumber 3. The proposal complete message may include a proposal identification t1 of the originator proposal details, a uplink block identification bNumber1 of the originator proposal details, and the proposal complete block identification bNumber 3. The block chain node of the initiating chain may then send a proposal complete message of the initiator proposal details to the block chain node of the opponent chain.
In an embodiment, the block link node of the initiating chain stores the chain of the proposal completion result of the proposal details of the initiating party, and obtains the proposal completion block identifier of the proposal details of the initiating party. Such as bNumber 3. And sending a proposal completion message containing a proposal identifier of the proposal details of the initiator, an uplink block identifier of the proposal details of the initiator and the proposal completion block identifier to a block chain node of the pairing chain.
The proposal identifier may be considered as a number carried by both the details of the proposal from the initiator and the details of the proposal from the counterparty, such as t 1. The uplink block identity may be considered as the block number of the initiator proposal details in the initiating chain. The proposal completion block identification may be considered to be the block number of the uplink of the proposal completion result of the originator proposal details.
On the other side, after receiving a proposal completion message of the proposal details of the initiator, the block link points of the bracelet can perform asset transfer according to the transfer amount and the transaction account contained in the proposal details of the counterparty; chaining and saving the proposal completion result of the counter party proposal details; and sending proposal completion messages of the proposal details of the counter party to the block chain nodes of the initiating chain.
Step S350: and if the proposal completion message of the proposal details of the counter party is received within the preset time, determining that the asset interchange is successful.
Wherein, the proposal completion message may contain proposal identification common to the proposal details of the counter party and the proposal details of the initiator. It should be noted that after the initiator proposes the solution, if the counter-party proposal is also completed within a preset time, it indicates that the asset exchange is successful.
So far, under normal conditions, the user A and the user B have already finished the interchange of the cross-chain assets; the next cross-chain asset exchange may be performed. Meanwhile, when the assets are transferred, a certain handling fee can be charged at the chain A and the chain B at the same time to serve as the income of the cross-chain platform. For example, accountA1 is assigned to accountB 1100 coin, which charges a commission of 1 coin.
Conversely, if the proposal complete message for the details of the proposal of the counterparty is not received within the preset time, indicating that user B has not transferred the asset to user a at chain B, the transfer amount is transferred from the recipient account back to the sender account according to the sender account and the recipient account contained in the transaction account since user a has transferred the asset to user B at chain a.
Where assets are transferred from user a to user B, the account of user a may be considered the sender account and the account of user B may be considered the recipient account, so if user B does not transfer assets to user a at chain B, then asset return is required at chain a. The transfer amount is returned from user B (recipient account) to user a (sender account), i.e. a rollback operation. Rollback is typically required for the following cases: when the sender accountB2 in the partner chain B transfers the asset, the time is over; the account B2 is out of assets in the counterparty chain B (e.g., user B's account B2, due to making other transactions, results in an actual amount that is less than the amount authorized for the hash contract, resulting in a transaction failure when the hash contract transfers the amount authorized by the user).
In one embodiment, if the transfer of the transfer amount from the recipient account to the sender account fails, the corresponding transfer amount is returned to the sender account from the mortgage account corresponding to the sender account. For example, if the transfer of account B back to account a fails, the mortgage account refunds to the corresponding transfer amount of user a. Therefore, the assets must be firstly mortgaged for rolling back scenes, and the higher the mortgage is, the higher the rolling back success rate is and the higher the user proposal will be. In an embodiment, if the cross-link platform is no longer used as a cross-link channel of the asset contract, the deposit may be refunded by a reduction method, specifically, the deposit funds are transferred to the account of the user a by an asset contract administrator. In one embodiment, if the transfer of the transfer amount from the recipient account back to the sender account fails, the recipient account may also be blacklisted or blocked by an asset contract. Frozen may be considered that the recipient account has failed to make the asset transfer within a certain time.
On the other hand, if the block link point is used as a block link node of the bracelet, as shown in fig. 4, the following steps may be performed on the block link node of the bracelet:
step S410: receiving proposal data sent by a block chain node of an initiating chain; the proposal data includes details of the originator proposal and details of the counterparty proposal.
Step S420: and judging whether to carry out cochain storage on the counter-party proposal details according to the authorization amount and the mortgage amount indicated by the asset contract.
Wherein, step S420 specifically includes: and judging whether the authorization amount and the mortgage amount are both more than or equal to the transfer amount. In one embodiment, it is determined whether the sender's account authorization and the amount of the mortgage is greater than or equal to the transfer amount based on the sender's account and the recipient's account for the details of the proposal made by the party. If the sum of the account transfer amount and the sum of the account transfer amount are greater than or equal to the transfer amount, performing cochain storage on the proposal details of the counter party; and after the chaining of the proposal details of the counter party is completed, sending a chaining completion message of the proposal details of the counter party to the block chain node of the initiating chain. The ul complete message may include the proposal identifier and the block number (e.g., bNumber2) of the proposal details of the opposite party on the ul of the opposite bracelet.
After receiving the cochain completion message of the counter-party proposal details, the blockchain node of the hand chain (chain A) can transfer the assets of the user A to the user B in the chain A, and sends the proposal completion message to the blockchain node of the initiating chain after the transfer is completed.
Step S430: and after receiving the proposal completion message of the proposal details of the initiator, carrying out asset transfer according to the transfer amount and the transaction account contained in the proposal details of the counter party.
The blockchain node of the bracelet (B-chain), after receiving the proposal complete message of the initiator proposal details, may transfer the asset of user B to user a at the B-chain. The proposal complete message of the originator proposal details may include: proposal number t1, block number bNumber1 for proposed uplink on chain A, and block number bNumber3 for transfer of completed uplink on chain A. The transfer process comprises the following steps: (1) judging that a proposal must exist (2) the transfer of the proposal cannot be timed out (timeout); (3) updating the block number of the current chain that is complete for the counter proposal details (4) the chain B contract k2 transfers the amount of money granted by the account accountB2 of user B to the account accountA2 of user a. (5) The details of the proposal for this counterparty are deleted from the to-do proposal list.
Step S440: chaining and saving the proposal completion result of the counter party proposal details; and sending proposal completion messages of the proposal details of the counter party to the block nodes of the initiating chain.
The proposal completion result of the details of the proposal of the counter party may include information such as a proposal identifier, a transaction account, a transfer amount, and transfer time. For example, the uplink block of the proposal complete result for the counter proposal details may be denoted as bNumber 4. The proposal complete message for proposal details of the opposite party may include a proposal identification, an identification of the uplink block for which proposal details of the opposite party are complete, bNumber 4. And if the block chain node of the initiating chain receives the proposal completion message of the proposal details of the opponent in the preset time, the asset interchange of the round is successful. On the contrary, the asset transfer of the opponent is unsuccessful, and the initiator needs to perform rollback operation and perform asset rollback.
FIG. 5 is a timing diagram illustrating a cross-chain data interchange according to an embodiment of the present application. As shown in fig. 5, the cross-link may be considered by node a as a blockchain link point of the originating chain and the cross-link may be considered by node B as a blockchain node of the partner chain. Chain A is an initiating chain and chain B is a contra-hand chain. The specific process is as follows:
1. initializing and mortgage funds by a node A and a node B across links;
2. user a of chain a and user B of chain B perform asset authorization operations.
3. Generating proposal data by the node A across the link and sending the proposal data to the node B across the link;
4. transferring, by node A, the asset of user A to the target account of user B at chain A across the link;
5. transferring, by node B, the asset of user B to the target account of user A at chain B across the link;
6. if at time T0, chain B has not yet completed transferring user B's asset to user A, then rollback: the assets transferred to user B are returned to user A's account at chain A.
To fully embody the technical effects of the cross-chain data interchange method provided by the embodiment of the present application, fig. 6 shows a cross-chain asset interchange process based on a hash time lock.
Background: chain a account number: a user A holds an account 1 and an asset 1000, and a user B holds an account 2; chain B account number: user B holds account 3, asset 800, and user a holds account 4.
The target is as follows: through the cross-chain platform, account 1 transfers 500 to account 2 in chain A, account 3 transfers 300 to account 4 in chain B, and cross-chain asset exchange is achieved in sequence.
Specifically, the hash time lock cross-chain transfer process is as follows:
1. the user A firstly selects a secret key random number S, calculates the hash value H of the S by using a hash algorithm to be used as a proposal number, sends the H to the user B, and simultaneously negotiates two time points T0 and T1 by the user A and the user B to ensure that T0 is greater than T1. (proposal flow)
2. The cross-chain platform locks user a 'S asset (1000) to a hash time lock contract (htllock. sol) based on an H proposal, the intelligent contract locks user a' S asset, can be transferred to user B using key S for time T0, and if not unlocked before T0, the lock is automatically released without any asset transfer. (locking procedure)
3. The cross-chain platform locks user B 'S asset (800) to a hash time lock contract (htllock. sol) based on an H proposal, the smart contract will lock user B' S asset, may be transferred to user a within time T1 using key S, will automatically undo the lock if not unlocked before T1, and there will not be any asset transfer. (locking procedure)
4. After the two parties complete locking at the same time, the cross-link node uses the random number S of A, calls the intelligent contract of the Hash time lock on B, and transfers the asset (800) to A. (transfer procedure)
5. Through the steps, the key random number S is obtained by the key B, the S obtained by the key B is used by the cross-chain node, the asset (1000) is transferred to the key B, and asset exchange is completed. (transfer procedure)
6. If either A or B does not execute the operation after time out, the B asset will cancel the lock after T1 time point, and the A asset will cancel the lock and restore the initial state after T0 time point. (rollback procedure)
In the process, the assets of the user A and the user B are exchanged, and the asset transfer step needs to be carried out through two stages of locking and transferring: firstly, the user A and the user B both lock the assets to the intelligent contract and respectively unlock the locked assets to the target account again, although the safety target is achieved, the process is slow, and the efficiency is low.
Based on the Hash time lock contract, through asset mortgage and asset authorization, the user A directly transfers assets to the user B, and meanwhile, the user B also directly transfers the assets to the user A, so that cross-chain asset exchange at one stage is achieved. The two-stage (locking and transferring) is reduced to the one-stage (direct transferring), the chain crossing efficiency is improved, and meanwhile, the safety is not lost.
The following is an embodiment of the apparatus of the present application, which can be used to execute the above-mentioned embodiments of the cross-link data interchange method of the present application. For details not disclosed in the embodiments of the apparatus of the present application, please refer to the embodiments of the method for exchanging cross-chain data of the present application.
Fig. 7 is a block diagram of a cross-chain data interchange device according to an embodiment of the present application. As shown in fig. 7, the apparatus includes: a proposal sending module 710, a ul save module 720, an asset transfer module 730, a result ul module 740, and a message receiving module 750.
A proposal sending module 710, configured to send, if receiving proposal data sent by a client, the proposal data to a block link point of a bracelet; the proposal data comprises the details of the proposal of the initiator and the details of the proposal of the opponent;
a chaining storage module 720, configured to determine whether to perform chaining storage on the initiator proposal details according to the authorization amount and the mortgage amount indicated by the asset contract;
the asset transfer module 730 is configured to perform asset transfer according to the transfer amount and the transaction account included in the initiator proposal details after the chain is completed on both the initiator proposal details and the counter-party proposal details;
a result chaining module 740, configured to chain and store the proposal completion result of the initiator proposal details, and send a proposal completion message of the initiator proposal details to the block link point of the bracelet;
and a message receiving module 750, configured to determine that the asset exchange is successful if the proposal completion message of the proposal details of the opposite party is received within a preset time.
The implementation process of the functions and actions of each module in the above device is specifically detailed in the implementation process of the corresponding step in the above cross-link data exchange method, and is not described herein again.
In the embodiments provided in the present application, the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.

Claims (15)

1. A method of inter-chain data exchange, the method being performed by a block chain node, the method comprising:
if receiving proposal data sent by a client, sending the proposal data to a block link point of a bracelet; the proposal data comprises the details of the proposal of the initiator and the details of the proposal of the opponent;
judging whether to carry out cochain storage on the proposal details of the initiator according to the authorization amount and the mortgage amount indicated by the asset contract;
after the chain is finished on both the initiator proposal details and the counter party proposal details, carrying out asset transfer according to the transfer amount and the transaction account contained in the initiator proposal details;
chaining and storing the proposal completion result of the proposal details of the initiator, and sending a proposal completion message of the proposal details of the initiator to the block chain link point of the bracelet;
and if the proposal completion message of the proposal details of the counter party is received within the preset time, determining that the asset interchange is successful.
2. The method of claim 1, wherein determining whether to uplink save the originator proposal details based on an authorized amount and a collateral amount indicated by an asset contract comprises:
judging whether the authorization amount corresponding to the transaction account is larger than or equal to the transfer amount or not according to the transfer amount and the transaction account;
if the authorization amount is larger than or equal to the transfer amount, judging whether a mortgage amount corresponding to a transaction account is larger than or equal to the transfer amount;
and if the mortgage amount is larger than or equal to the transfer amount, chaining and storing the proposal details of the initiator.
3. The method of claim 2, wherein before determining whether the authorization amount corresponding to the transaction account is greater than or equal to the transfer amount based on the transfer amount and the transaction account, the method further comprises:
and judging whether the sender account contained in the transaction account is the account corresponding to the client.
4. The method of claim 2, wherein determining whether an authorized amount corresponding to the transaction account is greater than or equal to the transfer amount based on the transfer amount and the transaction account comprises:
and judging whether the authorized amount corresponding to the sender account is greater than or equal to the transfer amount or not and judging whether the authorized amount corresponding to the receiver account is greater than or equal to the transfer amount or not according to the sender account and the receiver account contained in the transaction account.
5. The method of claim 1, wherein after the chain of the initiator proposal details and the counter-party proposal details is completed, the asset transfer is carried out according to a transfer amount and a transaction account contained in the initiator proposal details, and comprises the following steps:
if the chaining completion message of the counter party proposal details is received, judging whether the chaining of the initiator proposal details corresponding to the counter party proposal details is completed or not;
if the chaining of the initiator proposal details is completed, judging whether the initiator proposal details exceed the preset time;
and if the preset time is not exceeded, transferring the transfer amount from the sender account to the receiver account.
6. The method of claim 1, wherein the chain saving the proposal completion result of the originator proposal details and sending the proposal completion message of the originator proposal details to a block link point of the peer chain comprises:
chaining and storing the proposal completion result of the initiator proposal details to obtain a proposal completion block identifier of the initiator proposal details;
and sending a proposal completion message containing a proposal identifier of the proposal details of the initiator, an uplink block identifier of the proposal details of the initiator and the proposal completion block identifier to a block chain node of the pairing chain.
7. The method of claim 1, further comprising:
and if the proposal completion message of the proposal details of the counter party is not received within the preset time, transferring the transfer amount from the receiver account to the sender account according to the sender account and the receiver account contained in the transaction account.
8. The method of claim 7, further comprising:
and if the transfer amount is unsuccessfully transferred from the receiver account to the sender account, returning the corresponding transfer amount to the sender account from the mortgage account corresponding to the sender account.
9. The method of claim 7, further comprising:
if the transfer of the transfer amount from the recipient account back to the sender account fails, the recipient account is blacklisted or blocked by an asset contract.
10. The method of claim 1, further comprising:
if receiving proposal data sent by the block chain nodes of the initiating chain; the proposal data comprises the details of the proposal of the initiator and the details of the proposal of the opponent;
judging whether to carry out cochain storage on the counter-party proposal details according to the authorization amount and the mortgage amount indicated by the asset contract;
after receiving the proposal completion message of the proposal details of the initiator, carrying out asset transfer according to the transfer amount and the transaction account contained in the proposal details of the counter party;
chaining and saving the proposal completion result of the counter party proposal details; and sending proposal completion messages of the proposal details of the counter party to the block nodes of the initiating chain.
11. The method of claim 10, wherein determining whether to uplink save the counter-party proposal details based on an authorized amount and a mortgage amount indicated by an asset contract comprises:
judging whether the authorization amount and the mortgage amount are both larger than or equal to the transfer amount, and if so, performing chain link storage on the proposal details of the counter party;
and after the chaining of the proposal details of the counter party is completed, sending a chaining completion message of the proposal details of the counter party to the block chain node of the initiating chain.
12. A cross-chain data interchange system, comprising:
the block chain link point of the initiating chain is used for receiving proposal data sent by the client; the proposal data comprises the details of the proposal of the initiator and the details of the proposal of the opponent; sending the proposal data to a block link point of a bracelet; judging whether to carry out cochain storage on the proposal details of the initiator according to the authorization amount and the mortgage amount indicated by the asset contract;
completing chaining on the initiator proposal details, and after receiving a chaining completion message of the counter-party proposal details, performing asset transfer according to a transfer amount and a transaction account contained in the initiator proposal details; chaining and storing the proposal completion result of the proposal details of the initiator, and sending a proposal completion message of the proposal details of the initiator to the block chain link point of the bracelet; if receiving a proposal completion message of the proposal details of the counter party within the preset time, determining that the asset interchange is successful;
the block chain link point of the bracelet is used for receiving proposal data sent by the block chain node of the initiating chain and judging whether to carry out cochain storage on the proposal details of the counter party according to the authorization amount and the mortgage amount indicated by the asset contract;
after receiving the proposal completion message of the proposal details of the initiator, carrying out asset transfer according to the transfer amount and the transaction account contained in the proposal details of the counter party; chaining and saving the proposal completion result of the counter party proposal details; and sending proposal completion messages of the proposal details of the counter party to the block chain nodes of the initiating chain;
and the chain spanning platform is used for connecting the block chain nodes of the initiating chain and the block chain link points of the bracelet chain and realizing the interaction between the block chain link points of the initiating chain and the block chain link points of the bracelet chain.
13. An inter-chain data exchange device, the device being applied to a blockchain node, the device comprising:
the proposal sending module is used for sending the proposal data to the block link points of the bracelet if the proposal data sent by the client is received; the proposal data comprises the details of the proposal of the initiator and the details of the proposal of the opponent;
the uplink storage module is used for judging whether to carry out uplink storage on the proposal details of the initiator according to the authorization amount and the mortgage amount indicated by the asset contract;
the asset transfer module is used for carrying out asset transfer according to the transfer amount and the transaction account contained in the initiator proposal details after the chain linking of the initiator proposal details and the counter-party proposal details is finished;
a result chaining module, configured to chain and store a proposal completion result of the initiator proposal details, and send a proposal completion message of the initiator proposal details to a block link point of the bracelet;
and the message receiving module is used for determining that the asset interchange is successful if the proposal completion message of the proposal details of the counter party is received within the preset time.
14. An electronic device, characterized in that the electronic device comprises:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the cross-chain data interchange method of any one of claims 1-11.
15. A computer-readable storage medium, wherein the storage medium stores a computer program, the computer program being executable by a processor to perform the method for cross-chain data interchange of any one of claims 1-11.
CN202110203462.3A 2021-02-23 2021-02-23 Cross-chain data interchange method, system, device and electronic equipment Active CN112950183B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110203462.3A CN112950183B (en) 2021-02-23 2021-02-23 Cross-chain data interchange method, system, device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110203462.3A CN112950183B (en) 2021-02-23 2021-02-23 Cross-chain data interchange method, system, device and electronic equipment

Publications (2)

Publication Number Publication Date
CN112950183A true CN112950183A (en) 2021-06-11
CN112950183B CN112950183B (en) 2023-06-30

Family

ID=76245779

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110203462.3A Active CN112950183B (en) 2021-02-23 2021-02-23 Cross-chain data interchange method, system, device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112950183B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115439249A (en) * 2022-09-01 2022-12-06 国网区块链科技(北京)有限公司 Cross-block-chain business service implementation method, device and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110288344A (en) * 2019-06-25 2019-09-27 中国工商银行股份有限公司 The assets transfer method and device of transregional piece of chain
US20190318424A1 (en) * 2018-04-13 2019-10-17 Moneygram International, Inc. Systems and methods for implementing a blockchain-based money transfer
CN110992164A (en) * 2019-11-21 2020-04-10 支付宝(杭州)信息技术有限公司 Transaction processing method, device, system and equipment based on block chain
US20200153607A1 (en) * 2019-09-11 2020-05-14 Alibaba Group Holding Limited System and method for digital asset transfer
CN111402049A (en) * 2020-03-11 2020-07-10 北京价值互联科技有限公司 Mining method based on block chain mortgage transaction
TWM607838U (en) * 2020-07-06 2021-02-21 陳哲斌 Financial Service System

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190318424A1 (en) * 2018-04-13 2019-10-17 Moneygram International, Inc. Systems and methods for implementing a blockchain-based money transfer
CN110288344A (en) * 2019-06-25 2019-09-27 中国工商银行股份有限公司 The assets transfer method and device of transregional piece of chain
US20200153607A1 (en) * 2019-09-11 2020-05-14 Alibaba Group Holding Limited System and method for digital asset transfer
CN110992164A (en) * 2019-11-21 2020-04-10 支付宝(杭州)信息技术有限公司 Transaction processing method, device, system and equipment based on block chain
CN111402049A (en) * 2020-03-11 2020-07-10 北京价值互联科技有限公司 Mining method based on block chain mortgage transaction
TWM607838U (en) * 2020-07-06 2021-02-21 陳哲斌 Financial Service System

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115439249A (en) * 2022-09-01 2022-12-06 国网区块链科技(北京)有限公司 Cross-block-chain business service implementation method, device and system
CN115439249B (en) * 2022-09-01 2023-09-26 国网区块链科技(北京)有限公司 Method, device and system for realizing business service of cross-region block chain

Also Published As

Publication number Publication date
CN112950183B (en) 2023-06-30

Similar Documents

Publication Publication Date Title
US11451400B2 (en) Blockchain transaction method and apparatus
KR102050129B1 (en) Block chain supporting multiple one-way functions used for verification of blocks
US20230421355A1 (en) Systems and methods for storage, generation and verification of tokens used to control access to a resource
Robinson et al. Atomic crosschain transactions for ethereum private sidechains
US20200327498A1 (en) Business Process Execution on a Blockchain Platform
TW201935383A (en) Asset management method and apparatus, and electronic device
CN111932233B (en) Resource transfer method, device and equipment
JP2020047104A (en) Settlement system, settlement method, user device, and settlement program
US11367055B2 (en) Decentralized pooled mining for enabling proof-of-work on blockchains
WO2020224235A1 (en) Cross-chain transaction method and apparatus, device, and storage medium
CN105893395B (en) The message of distributed transaction returns checking method and its system
CN112613877B (en) Intelligent contract triggering method and device applied to block chain network and related equipment
CN114255031A (en) System for executing cross block chain of transaction, cross chain transaction method and equipment
CN111369257B (en) Method and device for realizing asset withholding on block chain through intelligent contract
CN111383114A (en) Asset information management method and device based on block chain
US20200204338A1 (en) Securing public key cryptographic algorithms
US20200098042A1 (en) Trading Apparatus, And Trading Method
CN110706113A (en) Cross-block-chain data processing method, device, equipment and medium
CN111402033A (en) Asset information management method and device based on block chain
CN111046110A (en) Method, node and computing device for node management of blockchain system
US20230063548A1 (en) Cross-chain transaction method and system based on hash locking and sidechain technology and storable medium
US20200202349A1 (en) Multiple asset transactions
CN111640002A (en) Block chain-based mortgage loan method and device
CN113689216A (en) Cross-chain transaction processing method and device, equipment, storage medium and program product
CN112927073A (en) Cross-link data interchange method, system, device and electronic equipment

Legal Events

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