CN113763178A - Multi-block chain cross-chain transaction method, device, equipment and readable storage medium - Google Patents

Multi-block chain cross-chain transaction method, device, equipment and readable storage medium Download PDF

Info

Publication number
CN113763178A
CN113763178A CN202111125838.XA CN202111125838A CN113763178A CN 113763178 A CN113763178 A CN 113763178A CN 202111125838 A CN202111125838 A CN 202111125838A CN 113763178 A CN113763178 A CN 113763178A
Authority
CN
China
Prior art keywords
asset
transaction
locking
certificate
credential
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.)
Pending
Application number
CN202111125838.XA
Other languages
Chinese (zh)
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.)
Chengdu Quality Starker Technology Co Ltd
Original Assignee
Chengdu Quality Starker Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Quality Starker Technology Co Ltd filed Critical Chengdu Quality Starker Technology Co Ltd
Priority to CN202111125838.XA priority Critical patent/CN113763178A/en
Publication of CN113763178A publication Critical patent/CN113763178A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • 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/04Payment circuits
    • G06Q20/06Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
    • G06Q20/065Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
    • 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/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3825Use of electronic signatures
    • 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/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3827Use of message hashing
    • 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/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • G06Q20/4014Identity check for transactions

Abstract

The invention relates to the technical field of video content analysis, in particular to a multi-block chain cross-chain transaction method, a device, equipment and a readable storage medium, wherein the method comprises the following steps: receiving transaction data sent by a user; uploading the transaction data to a first blockchain network; receiving a second asset locking certificate sent by the transaction receiving node; generating a first asset confirmation certificate according to the second asset locking certificate; sending a transaction completion instruction to a first initiating user corresponding to the first asset locking voucher; the invention realizes the locking of the assets to be traded, the transaction confirmation of the equivalent assets and the exchange extraction of the equivalent assets in different block chain networks through a third-party block chain network, namely a public block chain network, thereby realizing the cross-chain transaction of different assets.

Description

Multi-block chain cross-chain transaction method, device, equipment and readable storage medium
Technical Field
The invention relates to the technical field of video content analysis, in particular to a multi-block chain cross-chain transaction method, a device, equipment and a readable storage medium.
Background
With the development of digital financial technology, a single blockchain cannot accommodate all transaction demands for users, and the transaction currency of each blockchain is fixed one or more, so that the whole currency coverage cannot be realized, and thus cross-chain transaction demands among blocks of different currency types are generated.
Disclosure of Invention
The present invention is directed to a method, apparatus, device and readable storage medium for multi-block chain cross-link transaction to improve the above mentioned problems.
In order to achieve the above object, the embodiments of the present application provide the following technical solutions:
in one aspect, an embodiment of the present application provides a multi-block chain cross-chain transaction method, applied to any transaction initiation node in a transaction chain network, including:
receiving transaction data sent by a user;
uploading the transaction data to a first blockchain network, wherein the transaction data user triggers the first blockchain network to generate a first asset locking voucher and broadcasts the first asset locking voucher to a public blockchain network, and the public blockchain network is used for broadcasting the first asset locking voucher to each blockchain network in the transaction chain network;
receiving a second asset locking certificate sent by a transaction receiving node, wherein the second asset locking certificate is an asset locking certificate which is equivalent to the first asset locking certificate and is provided by the transaction receiving node in a second block chain network;
generating a first asset confirmation certificate according to the second asset locking certificate, wherein the first asset confirmation certificate is used for triggering the second blockchain network to automatically generate a second asset confirmation certificate, and the first asset confirmation certificate is used for indicating that the transaction initiating node agrees to exchange a second asset locked by the second asset locking certificate with a first asset locked by the first asset locking certificate;
and sending a transaction completion instruction to a first initiating user corresponding to the first asset locking certificate, wherein the transaction completion instruction is used for prompting the first initiating user to go to the second block chain network to extract the second asset locked by the second asset locking certificate.
Optionally, before uploading the first asset locking credential to the first blockchain network, the method further includes:
calling transaction data sent by the first initiating user, wherein the transaction data comprises a first locking hash value and a to-be-locked denomination;
and detecting a first account balance corresponding to the first initiating user according to the locking denomination, and if the first account balance is greater than or equal to the locking denomination, locking a first asset with the same value as the locking denomination according to the first locking hash, so as to generate a first asset locking certificate.
Optionally, the generating a first asset confirmation credential according to the second asset locking credential includes:
sending the second asset locking credential to the first initiating user;
receiving a confirmation instruction sent by the first initiating user, wherein the confirmation instruction is used for indicating that the first initiating user agrees to exchange a second asset corresponding to a second asset locking certificate with the first asset;
and generating a first asset confirmation certificate according to the confirmation instruction.
Optionally, after sending a transaction completion instruction to the first initiating user of the first asset locking credential, the method further includes:
receiving first asset extraction data sent by a second initiating user corresponding to the second asset locking certificate, wherein the first asset extraction data is used for extracting the first asset;
and sending the first asset extraction data to the first blockchain network, wherein the first asset extraction data is used for triggering the first blockchain network to check the validity of the first asset extraction data, and if the first asset extraction data is valid, the first asset is divided into accounts corresponding to second initiating users.
In a second aspect, an embodiment of the present application provides a multi-block chain cross-chain transaction apparatus, which is applied to any transaction initiation node in a transaction chain network, and includes:
a first computing module to upload a first asset locking credential to a first blockchain network, the first asset locking credential to trigger the first blockchain network to broadcast the first asset locking credential to a common blockchain network, the common blockchain network to broadcast the first asset locking credential to each blockchain network in a transaction chain network;
the second computing module is used for receiving a second asset locking certificate sent by a transaction receiving node, wherein the second asset locking certificate is an asset locking certificate which is equivalent to the first asset locking certificate and is provided by the transaction receiving node in a second block chain network;
a third computing module, configured to generate a first asset validation credential according to the second asset locking credential, where the first asset validation credential is used to trigger the second blockchain network to automatically generate a second asset validation credential, and the first asset validation credential is used to indicate that the transaction initiation node agrees to exchange a second asset locked by the second asset locking credential with a first asset locked by the first asset locking credential;
and the fourth calculation module is used for sending a transaction completion instruction to a first initiating user corresponding to the first asset locking certificate, wherein the transaction completion instruction is used for prompting the first initiating user to go to the second block chain network to extract the second asset locked by the second asset locking certificate.
In a third aspect, embodiments of the present application provide a multi-blockchain cross-chain transaction apparatus that includes a memory and a processor. The memory is used for storing a computer program; the processor is used for realizing the steps of the multi-block chain cross-chain transaction method when executing the computer program.
In a fourth aspect, the present application provides a readable storage medium, on which a computer program is stored, the computer program, when executed by a processor, implementing the steps of the multi-block chain cross-chain transaction method described above.
The invention has the beneficial effects that:
the invention realizes the locking of the assets to be traded, the transaction confirmation of the equivalent assets and the exchange extraction of the equivalent assets in different block chain networks through a third-party block chain network, namely a public block chain network, thereby realizing the cross-chain transaction of different assets.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the embodiments of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
FIG. 1 is a flow chart of a multi-blockchain cross-chain transaction method according to an embodiment of the invention;
FIG. 2 is a block diagram of a multi-blockchain transaction device according to an embodiment of the present invention;
FIG. 3 is a block diagram of a multi-block chain transaction device according to an embodiment of the present invention.
FIG. 4 is a schematic diagram of an exemplary locking link for assets to be traded as described in embodiments of the present invention.
FIG. 5 is a schematic diagram of an exemplary equivalent asset transaction validation link as described in embodiments of the present invention.
FIG. 6 is a schematic diagram of an exemplary equivalent asset exchange extraction link as described in embodiments of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers or 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 or explained in subsequent figures. Meanwhile, in the description of the present invention, 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.
Example 1
As shown in fig. 1, 4, 5 and 6, the present embodiment provides a multi-block chain cross-chain transaction method, which includes step S1, step S2, step S3, step S4 and step S5.
As illustrated in fig. 4, the property to be traded locks:
step S1, receiving transaction data sent by a user;
s2, the transaction data are uploaded to a first block chain network, a user of the transaction data triggers the first block chain network to generate a first asset locking certificate, the first asset locking certificate is broadcasted to a public block chain network, and the public block chain network is used for broadcasting the first asset locking certificate to each block chain network in the transaction chain network;
it should be noted that before the transaction initiating node executes step S2, the following steps are also executed:
s11, receiving transaction data sent by the first initiating user, wherein the transaction data comprises a first locking hash value and a to-be-locked denomination;
and S12, detecting a first account balance corresponding to the first initiating user according to the locked denomination, and if the first account balance is greater than or equal to the to-be-locked denomination, sending transaction data to a first block chain network.
To facilitate understanding of steps S11-S12 in the above embodiments, this embodiment is further described with reference to fig. 4, where, as shown in fig. 4, the user a (the first initiating user) sends a transaction data to a node (the transaction initiating node) in the a chain (the first blockchain network), where the transaction data includes hash (EA) (the first locked hash value, EA is the original data and is only known by the user a) and the to-be-locked denomination (corresponding to the asset T1), after the transaction node receives the transaction data submitted by the user a, the signature of the user a is verified in advance, and if the signature passes, it is further verified whether the account balance (the first account balance) in the local account corresponding to the user a is greater than or equal to the to-be-locked denomination, and if the signature is greater than or equal to the denomination, the transaction data is sent to the a chain (the first blockchain network);
chain a generates a T1 lock voucher (Hx) (similar to the first asset lock voucher) and broadcasts the T1 lock voucher (Hx) to the PUB (public blockchain network), which broadcasts the message to each blockchain network in the transaction chain network; it should be noted that the transaction chain network includes a plurality of blockchain networks, and the present invention is not limited thereto, for example, fig. 4 only has 3 blockchain networks.
S3, the transaction initiating node receives a second asset locking certificate sent by the transaction receiving node, wherein the second asset locking certificate is an asset locking certificate which is provided by the transaction receiving node in a second block chain network and is equivalent to the first asset locking certificate;
to facilitate understanding of step S3 in the above embodiment, the present embodiment is further described with reference to fig. 4, and it is assumed that a user B (a second initiating user) under a certain node (a transaction receiving node) in a B-chain (a second blockchain network) is willing to trade an asset T1 of a user a on the a-chain with an asset T2 of the user B on the B-chain, at this time, the user B sends a received transaction data to the transaction receiving node, the transaction receiving node checks the signature and the asset data of the user B, and if the check is passed, the received transaction data is uploaded to the B-chain, the received transaction data includes a second locked hash (hash) (EB), where EB is the original data and only the B-user knows himself and a second face to be locked (T2), the B-chain (the second blockchain network) generates a homomorphic (EB hash) according to the T1 locked credential (Hx) and the second locked hash (hash) (hash Hz hash), locking an asset T2 (second asset) in a B chain with the Hz while generating a T2 lock credential (second asset lock credential) and broadcasting the T2 lock credential to a PUB (public Block chain network); the chain A will listen to the T2 lock voucher through the PUB and send the listened T2 lock voucher to the transaction initiating node in the chain A, and the transaction initiating node will send the T2 lock voucher to the user A while waiting for the answer of the user A.
As shown in fig. 5, the equivalent asset transaction validation link:
s4, generating a first asset confirmation certificate according to the second asset locking certificate, wherein the first asset confirmation certificate is used for triggering the second block chain network to automatically generate the second asset confirmation certificate, and the first asset confirmation certificate is used for indicating that the transaction initiating node agrees to exchange the second asset locked by the second asset locking certificate with the first asset locked by the first asset locking certificate;
wherein step S4 specifically includes:
s41, sending the second asset locking certificate to the first initiating user;
s42, receiving a confirmation instruction sent by the first initiating user, wherein the confirmation instruction is used for indicating that the first initiating user agrees to exchange a second asset corresponding to a second asset locking certificate with the first asset;
and S43, generating a first asset confirmation certificate according to the confirmation instruction.
To facilitate understanding of steps S41-S43 in the above embodiments, the embodiment is further described with reference to fig. 4, the chain a monitors the T2 locking credential through the PUB, and sends the monitored T2 locking credential to the transaction initiating node in the chain a, the transaction initiating node sends the T2 locking credential to the user a while waiting for the reply of the user a, the user a learns the T2 asset after receiving the T2 locking credential, and determines whether to accept the transaction, and if so, the user a sends a confirmation instruction, where it should be noted that the reply of the user a is time-efficient, the user a must give a reply instruction within a predetermined time, the timeout system (transaction chain network) will determine that the transaction is invalid, and the transaction returns to the asset locking link to be traded again; if the user A gives a confirmation instruction within the specified time limit, the chain A generates T1 confirmation credential Hz-Hash (EA) + Hash (first unknown original data) according to the confirmation instruction, the first unknown original data is EB which is only known by the user B, and as long as any user can provide correct first unknown original data, the asset T1 is divided into user accounts corresponding to the providers; meanwhile, the B chain automatically generates T2 confirmation credential Hz ═ Hash (eb) + Hash (second unknown raw data) according to the action of the a chain, the second unknown raw data is EA known only to the user a, and as long as any user can provide correct second unknown raw data, the asset T2 is divided into user accounts corresponding to the providers (the process of extracting T1 or T2 is an equivalent asset exchange extraction link).
As shown in fig. 6, the equivalent asset exchange extraction link:
and S5, sending a transaction completion instruction to a first initiating user corresponding to the first asset locking certificate, wherein the transaction completion instruction is used for prompting the first initiating user to go to the second block chain network to extract the second asset locked by the second asset locking certificate.
To facilitate understanding of step S5 in the above embodiment, the embodiment is further described with reference to fig. 4, where the system sends a transaction completion instruction to both parties of the transaction, and the user a enters EA to extract T2 by going to the B chain; user B goes to the a chain and enters EB extraction T1.
The specific extraction method of the user B may be:
s61, receiving first asset extraction data sent by a second initiating user corresponding to the second asset locking certificate, wherein the first asset extraction data is used for extracting the first asset;
step S62, sending the first asset extraction data to the first block chain network, wherein the first asset extraction data is used for triggering the first block chain network to check the validity of the first asset extraction data, and if the first asset extraction data is valid, the first asset is divided into accounts corresponding to a second initiating user.
To facilitate understanding of steps S61-S62 in the above embodiment, the embodiment is further described in conjunction with fig. 4, where user B submits first asset extraction data including EB to the transaction initiation node in the a-chain, the transaction node uploads the first asset extraction data to the a-chain, and the a-chain verifies the validity of EB and Hz, that is, if Hz ═ hash (EB) + hash (ea), asset T1 is divided into user B' S account on the a-chain. Similarly, the method of user A for retrieving asset T2 is similar in principle.
Example 2
As shown in fig. 2, the present embodiment provides a multi-block chain cross-chain transaction apparatus, which is applied to any transaction initiation node in a transaction chain network, and includes:
a first receiving module 71, configured to receive transaction data sent by a user;
a first computing module 72 configured to upload the transaction data to a first blockchain network, where the transaction data user triggers the first blockchain network to generate a first asset locking credential and broadcasts the first asset locking credential to a common blockchain network, where the common blockchain network is configured to broadcast the first asset locking credential to each blockchain network in the transaction chain network;
a second computing module 73, configured to receive a second asset locking credential sent by a transaction receiving node, where the second asset locking credential is an asset locking credential that is provided by the transaction receiving node in a second blockchain network and is equivalent to the first asset locking credential;
a third computing module 74, configured to generate a first asset validation credential according to the second asset locking credential, where the first asset validation credential is used to trigger the second blockchain network to automatically generate a second asset validation credential, and the first asset validation credential is used to indicate that the transaction initiation node agrees to exchange a first asset locked by the first asset locking credential with a second asset locked by the second asset locking credential;
a fourth calculating module 75, configured to send a transaction completion instruction to the first initiating user corresponding to the first asset locking credential, where the transaction completion instruction is used to prompt the first initiating user to go to the second blockchain network to extract the second asset locked by the second asset locking credential.
It should be noted that, regarding the apparatus in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated herein.
Example 3
Corresponding to the above method embodiments, the embodiments of the present disclosure further provide a multi-blockchain cross-link transaction device, and a multi-blockchain cross-link transaction device described below and a multi-blockchain cross-link transaction method described above may be referred to with each other.
Figure 3 is a block diagram illustrating a multi-blockchain inter-chain transaction device 800 according to an example embodiment. As shown in fig. 3, the electronic device 800 may include: a processor 801, a memory 802. The electronic device 800 may also include one or more of a multimedia component 803, an input/output (I/O) interface 804, and a communications component 805.
The processor 801 is configured to control the overall operation of the electronic device 800 to complete all or part of the steps of the multi-blockchain cross-chain transaction method. The memory 402 is used to store various types of data to support operation at the electronic device 800, such as instructions for any application or method operating on the electronic device 800 and application-related data, such as contact data, transmitted and received messages, pictures, audio, video, and so forth. The Memory 802 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk or optical disk. The multimedia components 803 may include screen and audio components. Wherein the screen may be, for example, a touch screen and the audio component is used for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may further be stored in the memory 802 or transmitted through the communication component 805. The audio assembly also includes at least one speaker for outputting audio signals. The I/O interface 804 provides an interface between the processor 801 and other interface modules, such as a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 805 is used for wired or wireless communication between the electronic device 800 and other devices. Wireless communication, such as Wi-Fi, bluetooth, Near Field Communication (NFC), 2G, 3G, or 4G, or a combination of one or more of them, so that the corresponding communication component 805 may include: Wi-Fi module, bluetooth module, NFC module.
In an exemplary embodiment, the electronic Device 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components, for performing the multi-block chain cross-link transaction method described above.
In another exemplary embodiment, a computer readable storage medium is also provided that includes program instructions that when executed by a processor implement the steps of the multi-blockchain cross-chain transaction method described above. For example, the computer readable storage medium may be the memory 802 described above that includes program instructions executable by the processor 801 of the electronic device 800 to perform the multi-blockchain cross-chain transaction method described above.
Example 4
Corresponding to the above method embodiment, the disclosed embodiment also provides a readable storage medium, and a readable storage medium described below and a multi-block chain cross-chain transaction method described above can be correspondingly referred to each other.
A readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps of the multi-blockchain cross-chain transaction method of the above-described method embodiments.
The readable storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and various other readable storage media capable of storing program codes.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (7)

1. A multi-block chain cross-chain transaction method is applied to any transaction initiating node in a transaction chain network and comprises the following steps:
receiving transaction data sent by a user, wherein the transaction data comprises transaction asset details;
uploading the transaction data to a first blockchain network, wherein the transaction data user triggers the first blockchain network to generate a first asset locking voucher and broadcasts the first asset locking voucher to a public blockchain network, and the public blockchain network is used for broadcasting the first asset locking voucher to each blockchain network in the transaction chain network;
receiving a second asset locking certificate sent by a transaction receiving node, wherein the second asset locking certificate is an asset locking certificate which is equivalent to the first asset locking certificate and is provided by the transaction receiving node in a second block chain network;
generating a first asset confirmation certificate according to the second asset locking certificate, wherein the first asset confirmation certificate is used for triggering the second blockchain network to automatically generate a second asset confirmation certificate, and the first asset confirmation certificate is used for indicating that the transaction initiating node agrees to exchange a second asset locked by the second asset locking certificate with a first asset locked by the first asset locking certificate;
and sending a transaction completion instruction to a first initiating user corresponding to the first asset locking certificate, wherein the transaction completion instruction is used for prompting the first initiating user to go to the second block chain network to extract the second asset locked by the second asset locking certificate.
2. The multi-blockchain interbank transaction method of claim 1, wherein prior to uploading the first asset lock credential to the first blockchain network, further comprising:
calling transaction data sent by the first initiating user, wherein the transaction data comprises a first locking hash value and a to-be-locked denomination;
and detecting a first account balance corresponding to the first initiating user according to the locked denomination, and if the first account balance is greater than or equal to the locked denomination, sending transaction data to a first block chain network.
3. The multi-block chain interbhain transaction method of claim 1, wherein said generating a first asset validation credential from the second asset lock credential comprises:
sending the second asset locking credential to the first initiating user;
receiving a confirmation instruction sent by the first initiating user, wherein the confirmation instruction is used for indicating that the first initiating user agrees to exchange a second asset corresponding to a second asset locking certificate with the first asset;
and generating a first asset confirmation certificate according to the confirmation instruction.
4. The multi-blockchain interbhain transaction method of claim 1, further comprising, after sending a transaction completion instruction to a first initiating user of the first asset lock credential:
receiving first asset extraction data sent by a second initiating user corresponding to the second asset locking certificate, wherein the first asset extraction data is used for extracting the first asset;
and sending the first asset extraction data to the first blockchain network, wherein the first asset extraction data is used for triggering the first blockchain network to check the validity of the first asset extraction data, and if the first asset extraction data is valid, the first asset is divided into accounts corresponding to second initiating users.
5. A multi-block chain cross-chain transaction device applied to any transaction initiating node in a transaction chain network comprises:
the first receiving module is used for receiving transaction data sent by a user;
a first computing module, configured to upload the transaction data to a first blockchain network, where the transaction data user triggers the first blockchain network to generate a first asset locking credential and broadcasts the first asset locking credential to a common blockchain network, and the common blockchain network is configured to broadcast the first asset locking credential to each blockchain network in the transaction chain network;
the second computing module is used for receiving a second asset locking certificate sent by a transaction receiving node, wherein the second asset locking certificate is an asset locking certificate which is equivalent to the first asset locking certificate and is provided by the transaction receiving node in a second block chain network;
a third computing module, configured to generate a first asset validation credential according to the second asset locking credential, where the first asset validation credential is used to trigger the second blockchain network to automatically generate a second asset validation credential, and the first asset validation credential is used to indicate that the transaction initiation node agrees to exchange a second asset locked by the second asset locking credential with a first asset locked by the first asset locking credential;
and the fourth calculation module is used for sending a transaction completion instruction to a first initiating user corresponding to the first asset locking certificate, wherein the transaction completion instruction is used for prompting the first initiating user to go to the second block chain network to extract the second asset locked by the second asset locking certificate.
6. A multi-blockchain interbhain transaction apparatus, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the multi-blockchain cross-chain transaction method of any one of claims 1 to 4 when executing the computer program.
7. A readable storage medium, characterized by: the readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the multi-blockchain cross-chain transaction method of any of claims 1 to 4.
CN202111125838.XA 2021-09-24 2021-09-24 Multi-block chain cross-chain transaction method, device, equipment and readable storage medium Pending CN113763178A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111125838.XA CN113763178A (en) 2021-09-24 2021-09-24 Multi-block chain cross-chain transaction method, device, equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111125838.XA CN113763178A (en) 2021-09-24 2021-09-24 Multi-block chain cross-chain transaction method, device, equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN113763178A true CN113763178A (en) 2021-12-07

Family

ID=78797462

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111125838.XA Pending CN113763178A (en) 2021-09-24 2021-09-24 Multi-block chain cross-chain transaction method, device, equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN113763178A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023229765A1 (en) * 2022-05-24 2023-11-30 Mastercard International Incorporated Method and system for processing an asset swap across two blockchains

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109391619A (en) * 2018-10-22 2019-02-26 昧来网络科技(上海)有限公司 Lead to card exchange method and computer-readable medium across chain based on permission
CN110740044A (en) * 2019-10-30 2020-01-31 北京海益同展信息科技有限公司 Data processing method, device, system and storage medium
CN111464636A (en) * 2020-03-31 2020-07-28 中国联合网络通信集团有限公司 Asset transaction method and system, and storage medium
CN112927073A (en) * 2021-02-23 2021-06-08 网易(杭州)网络有限公司 Cross-link data interchange method, system, device and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109391619A (en) * 2018-10-22 2019-02-26 昧来网络科技(上海)有限公司 Lead to card exchange method and computer-readable medium across chain based on permission
CN110740044A (en) * 2019-10-30 2020-01-31 北京海益同展信息科技有限公司 Data processing method, device, system and storage medium
CN111464636A (en) * 2020-03-31 2020-07-28 中国联合网络通信集团有限公司 Asset transaction method and system, and storage medium
CN112927073A (en) * 2021-02-23 2021-06-08 网易(杭州)网络有限公司 Cross-link data interchange method, system, device and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023229765A1 (en) * 2022-05-24 2023-11-30 Mastercard International Incorporated Method and system for processing an asset swap across two blockchains

Similar Documents

Publication Publication Date Title
WO2019227336A1 (en) Blockchain-based information processing method and device, and blockchain network
CN111833507A (en) Visitor authentication method, device, equipment and computer readable storage medium
CN111931189B (en) API interface reuse risk detection method, device and API service system
CN112348326A (en) Bank business processing method and system
CN111510446B (en) Attack detection method and device, electronic equipment and storage medium
CN113763178A (en) Multi-block chain cross-chain transaction method, device, equipment and readable storage medium
US20190164154A1 (en) System and method for facilitating secure transactions
CN111259428A (en) Data processing method and device based on block chain, node equipment and storage medium
CN110955905A (en) Block chain based asset transfer method, device, equipment and readable storage medium
CN116596097A (en) Ticket booking processing method and device based on block chain and electronic equipment
CN114500651A (en) Block chain data transmission method, device and equipment and readable storage medium
CN113761064A (en) Block chain based daily cutting account checking method, device, equipment and readable storage medium
CN113987574A (en) Block chain private transaction method, device, equipment and readable storage medium
CN113992352A (en) Message pushing method and device, electronic equipment and storage medium
CN108848052B (en) Training point management method and device based on cloud computing network and storage medium
CN114124641B (en) Block chain exception service processing method, device, equipment and readable storage medium
US20210303543A1 (en) Message information management system, message information management method, message information management device, and message information management program
CN112581129A (en) Block chain transaction data management method and device, computer equipment and storage medium
CN110690973A (en) Identity verification method, identity verification device, identity verification medium and electronic equipment
CN114928649B (en) Multi-platform service realization method, device and equipment based on block chain
CN113570370B (en) UTXO-based blockchain transaction supervision method and device and readable storage medium
CN114978526A (en) Block chain data transmission method, device and equipment and readable storage medium
CN113362180B (en) Customer information identification method, device and equipment for suspected nonstandard financial behavior
KR102562178B1 (en) Prevention of data manipulation of communication network measurements and protection of user privacy
TWI779749B (en) Method and system for verifying by messaging service

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