CN115205038A - Block chain cross-chain financial method, device, terminal and storage medium - Google Patents

Block chain cross-chain financial method, device, terminal and storage medium Download PDF

Info

Publication number
CN115205038A
CN115205038A CN202210744221.4A CN202210744221A CN115205038A CN 115205038 A CN115205038 A CN 115205038A CN 202210744221 A CN202210744221 A CN 202210744221A CN 115205038 A CN115205038 A CN 115205038A
Authority
CN
China
Prior art keywords
chain
signature
transaction
transaction data
successfully
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
CN202210744221.4A
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.)
Du Xiaoman Technology Beijing Co Ltd
Original Assignee
Du Xiaoman Technology Beijing 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 Du Xiaoman Technology Beijing Co Ltd filed Critical Du Xiaoman Technology Beijing Co Ltd
Priority to CN202210744221.4A priority Critical patent/CN115205038A/en
Publication of CN115205038A publication Critical patent/CN115205038A/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
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Health & Medical Sciences (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Databases & Information Systems (AREA)
  • Technology Law (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The application discloses a block chain cross-chain financial method, a device, a terminal and a storage medium, wherein the method comprises the following steps: a target node in the second chain initiates a request corresponding to the mortgage financing service; determining transaction data and a first signature corresponding to the mortgage financing service based on the request; after the first chain successfully verifies the transaction data and the first signature, determining a transaction receipt and a second signature based on the transaction data and the first signature; and completing the mortgage financing service under the condition that the second chain successfully links the transaction receipt and the second signature and the first chain successfully links the transaction data and the first signature. According to the invention, the first chain and the second chain form a multi-chain, and the cross-chain transaction is formed in the information interaction of the first chain and the second chain, so that the freezing of transaction data is realized, and the safety of transaction information is ensured through the cross verification between the transaction data, the first signature and the transaction receipt and the second signature.

Description

Block chain cross-chain financial method, device, terminal and storage medium
Technical Field
The application relates to the technical field of supply chains, in particular to a block chain cross-chain financial method, a block chain cross-chain financial device, a block chain cross-chain financial terminal and a storage medium.
Background
The chain crossing means that through some specific technical means, the value can be enabled to cross the barriers between chains to carry out direct interaction, so that asset circulation and value transfer between different block chains are realized. The realization principle of the cross-chain is consistent with the principle of currency exchange in real life, namely the purpose of asset transfer among different block chains is achieved through the established legal compliance criteria.
Currently, blockchain cross-chain finance generally passes through different industry chains through cross-chain, so that agent nodes on different blockchains realize cross-chain authorization registration, identity management, access authority management and the like of business contracts.
However, the cross-chain finance has a problem of low information security.
Disclosure of Invention
The present application mainly aims to provide a method, an apparatus, a terminal and a storage medium for block chain cross-chain finance, so as to solve the problem of low information security in the related art.
To achieve the above object, in a first aspect, the present application provides a blockchain cross-chain financial method, including:
a target node in the second chain initiates a request corresponding to the mortgage financing service;
determining transaction data and a first signature corresponding to the mortgage financing service based on the request;
after the first chain successfully verifies the transaction data and the first signature, determining a transaction receipt and a second signature based on the transaction data and the first signature;
and under the condition that the second chain successfully links the transaction receipt and the second signature and the first chain successfully links the transaction data and the first signature, finishing the mortgage financing service, wherein the first chain and the second chain are two independent chains in the block chain.
In a possible implementation manner, the second chain further includes a first master node and a first accounting node;
determining transaction data and a first signature corresponding to the mortgage financing service based on the request, comprising:
determining, based on the request, mortgage cargo information in the mortgage financing service, wherein the mortgage cargo information includes at least: nftId of the mortgage goods in the first chain, applied amount, a collection settlement account, a deposit settlement account and a pledge date;
generating transaction data based on the collateral good information;
after the target node signs the transaction data, the first host node and the first accounting node sign application materials corresponding to the mortgage financing service in sequence to obtain a first signature.
In a possible implementation manner, the signing, by the first host node and the first accounting node, the application material corresponding to the mortgage financing service in sequence, and after obtaining the first signature, further includes:
sending the transaction data and the first signature to a first chain;
the first chain audits the transaction data and the first signature.
In one possible implementation, the first chain includes a second master node and a second accounting node;
determining a transaction receipt and a second signature based on the transaction data and the first signature, including:
if the first chain successfully verifies the transaction data and the first signature, generating a transaction receipt according to the frozen NFT in the transaction data;
and the second main node and the second accounting node sign the transaction data to obtain a second signature.
In one possible implementation, in a case where the second chain succeeds in linking the transaction receipt and the second signature and the first chain succeeds in linking the transaction data and the first signature, completing the mortgage financing service, the method includes:
sending the transaction receipt and the second signature to the second chain;
the second chain carries out checking, chain loading and chain loading judgment on the transaction receipt and the second signature in sequence to obtain a first message, wherein the first message is used for indicating that the second chain successfully loads the chain on the transaction receipt and the second signature;
if the second master node successfully verifies the first message, the first chain sequentially carries out uplink and uplink judgment on the transaction data and the first signature to obtain a second message, wherein the second message is used for indicating that the first chain successfully uplinks the transaction data and the first signature;
and if the second chain successfully verifies the second message, finishing the mortgage financing service.
In a possible implementation manner, the second chain sequentially performs checking, chain linking and chain linking judgment on the transaction receipt and the second signature to obtain a first message, including:
the second chain verifies whether the transaction receipt and the second signature are consistent;
if the transaction receipt is consistent with the second signature, the transaction receipt and the second signature are linked;
and judging whether the transaction receipt and the second signature are successfully linked within a first preset time to obtain a first message.
In a possible implementation manner, the first chain sequentially performs uplink and uplink determination on the transaction data and the first signature to obtain a second message, including:
the first chain links the transaction data and the first signature;
and judging whether the transaction data and the first signature are successfully linked or not within a second preset time to obtain a second message.
In a second aspect, an embodiment of the present invention provides a blockchain cross-chain financial device, including:
the request sending module is used for the target node in the second chain to initiate a request corresponding to the mortgage financing service;
the first data determining module is used for determining transaction data and a first signature corresponding to the mortgage financing service based on the request;
the second data determining module is used for determining a transaction receipt and a second signature based on the transaction data and the first signature after the first chain successfully verifies the transaction data and the first signature;
and the cross-chain financial module is used for completing the mortgage financing service under the condition that the second chain successfully links the transaction receipt and the second signature and the first chain successfully links the transaction data and the first signature, wherein the first chain and the second chain are two independent chains in the block chain.
In a third aspect, an embodiment of the present invention provides a terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the steps of the blockchain cross-chain financial method as described above.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements the steps of any one of the above blockchain cross-chain financial methods.
The embodiment of the invention provides a block chain cross-chain financial method, a device, a terminal and a storage medium, wherein the method comprises the following steps: and a target node in the second chain initiates a request corresponding to the mortgage financing service, then determines transaction data and a first signature corresponding to the mortgage financing service based on the request, determines a transaction receipt and a second signature based on the transaction data and the first signature after the transaction data and the first signature are successfully verified by the first chain, and completes the mortgage financing service under the condition that the transaction receipt and the second signature are successfully linked by the second chain and the transaction data and the first signature are successfully linked by the first chain. According to the invention, the first chain and the second chain form a multi-chain, and the cross-chain transaction is formed in the information interaction of the first chain and the second chain, so that the freezing of transaction data is realized, and the safety of transaction information is ensured through the cross verification between the transaction data, the first signature and the transaction receipt and the second signature. In addition, when the second chain successfully links the transaction receipt and the second signature and the first chain successfully links the transaction data and the first signature, the mortgage financing service is completed, and the atomicity of cross-chain transaction is guaranteed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, serve to provide a further understanding of the application and to enable other features, objects, and advantages of the application to be more apparent. The drawings and their description illustrate the embodiments of the invention and do not limit it. In the drawings:
FIG. 1 is a block chain financial system according to an embodiment of the present invention;
FIG. 2 is a flow chart of an implementation of a casting transaction method provided by an embodiment of the invention;
FIG. 3 is a flow chart of an implementation of blockchain cross-chain finance according to an embodiment of the present invention;
FIG. 4 is a flow chart of a block chain across-chain finance implementation according to another embodiment of the invention;
FIG. 5 is a block chain cross-chain financial device according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a terminal according to an embodiment 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 only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in other sequences than those illustrated or described herein.
It should be understood that, in the various embodiments of the present invention, the sequence numbers of the processes do not mean the execution sequence, and the execution sequence of the processes should be determined by the functions and the internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
It should be understood that in the present application, "comprising" and "having" and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be understood that, in the present invention, "a plurality" means two or more. "and/or" is merely an association describing an associated object, meaning that three relationships may exist, for example, and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "comprising a, B and C", "comprising a, B, C" means that all three of a, B, C are comprised, "comprising a, B or C" means comprising one of a, B, C, "comprising a, B and/or C" means comprising any 1 or any 2 or 3 of a, B, C.
It should be understood that in the present invention, "B corresponding to a", "a corresponds to B", or "B corresponds to a" means that B is associated with a, and B can be determined from a. Determining B from a does not mean determining B from a alone, but may also be determined from a and/or other information. And the matching of A and B means that the similarity of A and B is greater than or equal to a preset threshold value.
As used herein, the term "if" may be interpreted as "at \8230; …" or "in response to a determination" or "in response to a detection" depending on the context.
The technical means of the present invention will be described in detail with reference to specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
The purpose, technical solution and advantages of the present invention will become more apparent from the detailed description given below with reference to the accompanying drawings.
Before describing a blockchain cross-chain financial method provided by the present invention, a blockchain financial system architecture needs to be described, as shown in fig. 1, the present invention provides a blockchain financial system, which includes a first chain (commodity + logistics information chain), a second chain (capital + business information chain), and a monitoring and early warning system.
The nodes in the first chain are mainly commodity production enterprises and logistics and distributor enterprises. Transaction type of the first chain: generating a NFT (Non-variant Token, referred to herein as a digital asset) transaction, logistics streaming a NFT transaction, distributing a NFT transaction, freezing a NFT transaction, thawing a NFT transaction, and destroying a NFT transaction. Wherein, the logistics circulation transaction: when a production enterprise transfers goods, logistics transaction needs to be initiated, the ownership of the current NFT is transferred to the logistics enterprise node until the logistics enterprise transports the goods to a distribution enterprise, and at the moment, the ownership of the current NFT is transferred to the distribution enterprise node. And (3) distribution transaction: the dealer sells the commodity, generates a distribution transaction, and destroys the NFT corresponding to the sold commodity. Freezing transaction: when a corporation initiates mortgage loan financing, ownership of the NFT of the corresponding mortgage commodity is frozen, and the frozen NFT can not initiate transactions other than unfreezing. Unfreezing transaction: the mortgage loan of the enterprise, after repayment, can initiate the unfreezing transaction. Destroying transaction: the sale of the goods offline will also initiate a corresponding NFT destruction transaction. The nodes in the second chain are mainly raw material enterprises, production enterprises, financial institutions and sales enterprises. The second chain links the enterprise information of the linked node including sales, purchase, qualification and the like. The chain is primarily concerned with financial activities such as credit, mortgage, etc. The transaction without chain crossing in the second chain comprises credit, namely the credit is completed on the second chain, and the transaction types mainly comprise: credit card issuance transactions, credit circulation transactions, acceptance transactions, etc. While transactions in the second chain that do not require cross-chain include financing issuance transactions and mortgage transactions. The financing issuing transaction needs to call the first chain across chains based on enterprise information of the second chain, the authenticity and reliability of the enterprise information are verified, commodities and logistics are mainly checked, and whether sales, purchase and the like of enterprises are well matched or not is verified in a cross mode. And in mortgage loan transaction, a first chain needs to be called to realize the mortgage freezing of corresponding commodities, the NFT corresponding to the commodities on the chain after freezing cannot transfer circulation, and the like, unless a displayed second chain calls the mortgage unfreezing transaction.
Further, as shown in fig. 2, the present invention provides a casting transaction method, applicable to any one of the first chain and the second chain described above, comprising the steps of:
the method comprises the steps of firstly photographing or identifying the physical assets to obtain asset data of the physical assets, wherein the asset data of the physical assets comprise data such as image data and signed certificates, and the attribute characteristics of the physical assets comprise custody rights of the physical assets.
And then uploading the asset data and the attribute characteristics of the physical asset together and storing the asset data and the attribute characteristics into a distributed file storage system. And calculating the asset data of the physical asset and the address of the attribute feature stored in the distributed file storage system through a Hash algorithm, thereby obtaining the non-homogeneous certification ID. The authorization of the currently generated NFT is now in the production enterprise account.
In one embodiment, as shown in fig. 3, there is provided a blockchain cross-chain financial method, comprising the steps of:
step S301: a target node in the second chain initiates a request corresponding to the mortgage financing service;
step S302: based on the request, transaction data and a first signature corresponding to the mortgage financing service are determined.
Wherein the second chain further comprises a first master node and a first accounting node. Determining transaction data and a first signature corresponding to the mortgage financing service, wherein mortgage cargo information in the mortgage financing service needs to be determined based on the request, wherein the mortgage cargo information at least comprises: nftld (Non-funtible Token Identity document) of the mortgage good in the first chain, the amount of the application, the collection settlement account, the deposit settlement account, and the pledge date. And then transaction data are generated based on the information of the mortgage goods, after the target node signs the transaction data, the first host node and the first accounting node sign application materials corresponding to the mortgage financing service in sequence to obtain a first signature.
The process of determining transaction data and a first signature corresponding to a mortgage financing service is described in connection with figure 4. Specifically, the target node is an enterprise a, and after the enterprise a in the second chain initiates a request corresponding to the mortgage financing service, the supply chain platform examines and approves the application material of the enterprise a. After the approval is passed, generating transaction data (transactioniA) through the collateral goods, such as NftId, applied amount, collection and settlement accounts, payment and settlement accounts and pledge dates of the collateral goods in a first chain, then signing the transaction data by the enterprise A, and sending the transaction data to a first master (leader) node so that the first master node verifies the applied materials, and signing the transaction data after the applied materials are verified successfully. And then, the first main node initiates consensus, so that the first accounting node (comprising a plurality of accounting nodes) completes signature on the transaction data, and finally, a first signature is obtained.
And after the first signature is obtained, the second chain sends the transaction data and the first signature to the first chain, so that the first chain audits the transaction data and the first signature. The auditing the transaction data and the first signature by the first chain specifically comprises: verifying the identity of enterprise A, verifying the authorization of the current NFT according to the NftId, and judging whether enterprise A is qualified for the credit line of the loan application according to the accounting voucher of enterprise A on the first chain.
If the first chain is unsuccessful in auditing the transaction data and the first signature, the transaction data and the first signature are sent to an early warning monitoring system; if the first chain successfully verifies the transaction data and the first signature, step S303 described below is performed.
Step S303: and after the first chain successfully verifies the transaction data and the first signature, determining a transaction receipt and a second signature based on the transaction data and the first signature.
Wherein the first chain comprises the second master node and the second accounting node. And determining a transaction receipt and a second signature, generating the transaction receipt according to the frozen NFT in the transaction data, and then signing the transaction data by the second main node and the second accounting node to obtain the second signature.
The process of determining the transaction receipt and the second signature is described in conjunction with figure 4. Specifically, after the first chain successfully reviews the transaction data and the first signature, the second master (leader) node of the first chain initiates a frozen transaction and generates a transactionaccept transaction receipt, wherein the transaction receipt at least comprises the transaction data, the first signature, the transaction data (Trade _ info) of the current enterprise on the first chain, and a commitment (Payment _ commit) signed by the core enterprise. And then the second main node initiates consensus, so that the second accounting node (comprising a plurality of accounting nodes) completes the signature of the transaction receipt to obtain a second signature (SignB), and transmits transactionReceptip and SignB to the second chain. Finally, the first chain prepares TransactionReceptip and SignB for packaging and uplink, and the state is IN _ PACKING.
Step S304: and completing the mortgage financing service under the condition that the second chain successfully links the transaction receipt and the second signature and the first chain successfully links the transaction data and the first signature.
And when the mortgage financing service is realized, the transaction receipt and the second signature are firstly sent to the second chain, and then the second chain carries out verification, chain linking and chain linking judgment on the transaction receipt and the second signature in sequence to obtain a first message, wherein the first message is used for indicating that the second chain successfully links the transaction receipt and the second signature. And if the second master node successfully verifies the first message, the first chain sequentially carries out uplink and uplink judgment on the transaction data and the first signature to obtain a second message, wherein the second message is used for indicating that the first chain successfully uplinks the transaction data and the first signature. And if the second chain successfully verifies the second message, finishing the mortgage financing service. And if the transaction receipt is consistent with the second signature, the transaction receipt and the second signature are linked. And judging whether the transaction receipt and the second signature are successfully linked within a first preset time to obtain a first message. In addition, determining the second message, requiring the first chain to uplink the transaction data and the first signature, and judging whether the transaction data and the first signature are successfully uplink within a second preset time to obtain the second message.
The process of implementing a mortgage financing service is described in connection with figure 4. Specifically, after the second signature is obtained, the transaction receipt and the second signature are sent to a second chain, so that the second chain firstly verifies whether the transaction receipt and the second signature are consistent, and if the transaction receipt and the second signature are consistent, the transaction receipt and the second signature are packaged (the packaging state is IN _ PACKING) and linked; and if the transaction receipt is inconsistent with the second signature, sending the transaction receipt and the second signature to the early warning monitoring system. When the transaction receipt and the second signature are linked, it is necessary to
Judging whether the uplink is successful, if the uplink is unsuccessful, updating the state (uplink data state) to FALL; if the uplink is successful, the status is updated to IN _ BLOCK, and a message corresponding to the successful uplink, i.e., a first message, is sent to the first chain.
After receiving the first message, the first chain firstly verifies the first message, and if the verification is unsuccessful, the state is updated to FALL; and if the verification is successful, the transaction data and the first signature are linked. After the chain is uplinked, whether the chain is successful or not needs to be judged, and if the chain is unsuccessful, the state is updated to FALL; if the uplink is successful, a message corresponding to the successful uplink, namely a second message, is sent to the second chain, the state is updated to SUCCESS, and uplink data is stored in the distributed system.
After receiving the second message, the second chain firstly verifies the second message, and if the verification is unsuccessful, the state is updated to FALL; if the verification is successful, the status is updated to SUCCESS and the uplink data is stored in the distributed system.
The embodiment of the invention provides a block chain cross-chain financial method, a device, a terminal and a storage medium, wherein the method comprises the following steps: and a target node in the second chain initiates a request corresponding to the mortgage financing service, then determines transaction data and a first signature corresponding to the mortgage financing service based on the request, determines a transaction receipt and a second signature based on the transaction data and the first signature after the transaction data and the first signature are successfully checked by the first chain, and completes the mortgage financing service under the conditions that the transaction receipt and the second signature are successfully linked by the second chain and the transaction data and the first signature are successfully linked by the first chain. According to the invention, the first chain and the second chain form a multi-chain, and the cross-chain transaction is formed in the information interaction of the first chain and the second chain, so that the freezing of transaction data is realized, and the safety of transaction information is ensured through the cross verification between the transaction data, the first signature and the transaction receipt and the second signature. In addition, when the second chain successfully links the transaction receipt and the second signature and the first chain successfully links the transaction data and the first signature, the mortgage financing service is completed, and the atomicity of cross-chain transaction is guaranteed.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
The following are embodiments of the apparatus of the invention, reference being made to the corresponding method embodiments described above for details which are not described in detail therein.
Fig. 5 shows a schematic structural diagram of a blockchain inter-chain financial device provided by an embodiment of the present invention, and for convenience of explanation, only the parts related to the embodiment of the present invention are shown, and the blockchain inter-chain financial device includes a request sending module 51, a first data determining module 52, a second data determining module 53, and an inter-chain transaction module 54, which are as follows:
a request sending module 51, configured to initiate, by a target node in the second chain, a request corresponding to a mortgage financing service;
a first data determining module 52, configured to determine, based on the request, transaction data and a first signature corresponding to the mortgage financing service;
a second data determining module 53, configured to determine a transaction receipt and a second signature based on the transaction data and the first signature after the first chain successfully verifies the transaction data and the first signature;
and the cross-chain financial module 54 is configured to complete the mortgage financing service when the second chain is successful in the uplink of the transaction receipt and the second signature and the first chain is successful in the uplink of the transaction data and the first signature, where the first chain and the second chain are two separate chains in the block chain.
In a possible implementation manner, the second chain further includes a first master node and a first accounting node;
the first data determination module 52 includes:
a collateral good information determination sub-module for determining collateral good information in the collateral financing service based on the request, wherein the collateral good information at least includes: nftId of the mortgage goods in the first chain, applied amount, a collection settlement account, a deposit settlement account and a pledge date;
the transaction data generation submodule is used for generating transaction data based on the information of the mortgage goods;
and the first signature determining submodule is used for the first main node and the first accounting node to sign the application material corresponding to the mortgage financing service in sequence after the target node signs the transaction data to obtain a first signature.
In a possible implementation manner, after the first signature determination sub-module, the method further includes:
a first data sending submodule for sending the transaction data and the first signature to the first chain;
and the first data auditing submodule is used for auditing the transaction data and the first signature by the first chain.
In one possible implementation, the first chain includes a second master node and a second accounting node;
the second data determination module 53 includes:
the transaction receipt determining submodule is used for generating a transaction receipt according to the frozen NFT in the transaction data if the first chain successfully verifies the transaction data and the first signature;
and the second signature determining submodule is used for signing the transaction data by the second main node and the second accounting node to obtain a second signature.
In one possible implementation, the cross-chain financial module 54 includes:
a second data sending submodule for sending the transaction receipt and the second signature to the second chain;
the first message determining submodule is used for the second chain to carry out verification, chain loading and chain loading judgment on the transaction receipt and the second signature in sequence to obtain a first message, wherein the first message is used for indicating that the second chain successfully loads the transaction receipt and the second signature;
the second message determining submodule is used for the first chain to sequentially carry out uplink and uplink judgment on the transaction data and the first signature if the second master node successfully verifies the first message, so that a second message is obtained, wherein the second message is used for indicating that the first chain successfully uplinks the transaction data and the first signature;
and the cross-chain transaction sub-module is used for finishing the mortgage financing service if the second chain successfully verifies the second message.
In one possible implementation, the first message determining sub-module includes:
the verifying unit is used for verifying whether the transaction receipt is consistent with the second signature or not in the second chain;
the first chain-linking unit is used for linking the transaction receipt and the second signature if the transaction receipt is consistent with the second signature;
and the first message determining unit is used for judging whether the transaction receipt and the second signature are successfully linked in the first preset time to obtain a first message.
In one possible implementation, the second message determining sub-module includes:
the second uplink unit is used for the first chain to uplink the transaction data and the first signature;
and the second message determining unit is used for judging whether the transaction data and the first signature are successfully linked or not within a second preset time to obtain a second message.
Fig. 6 is a schematic diagram of a terminal according to an embodiment of the present invention. As shown in fig. 6, the terminal 6 of this embodiment includes: a processor 61, a memory 62 and a computer program 63 stored in the memory 62 and executable on the processor 61. The processor 61, when executing the computer program 63, implements the steps in the above-described embodiments of the block chain cross-chain financial method, such as the steps 101 to 104 shown in fig. 1. Alternatively, the processor 61, when executing the computer program 63, implements the functionality of the various modules/units in the various blockchain cross-chain financial device embodiments described above, such as the functionality of the modules/units 51-54 shown in fig. 5.
The present invention also provides a readable storage medium, in which a computer program is stored, and the computer program is used for implementing the blockchain cross-chain financial method provided by the above various embodiments when executed by a processor.
The readable storage medium may be a computer storage medium or a communication medium. Communication media includes any medium that facilitates transfer of a computer program from one place to another. Computer storage media can be any available media that can be accessed by a general purpose or special purpose computer. For example, a readable storage medium is coupled to a processor such that the processor can read information from, and write information to, the readable storage medium. Of course, the readable storage medium may also be an integral part of the processor. The processor and the readable storage medium may reside in an Application Specific Integrated Circuits (ASIC). Additionally, the ASIC may reside in user equipment. Of course, the processor and the readable storage medium may also reside as discrete components in a communication device. The readable storage medium may be a read-only memory (ROM), a random-access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
The present invention also provides a program product comprising execution instructions stored in a readable storage medium. The executable instructions may be read from the readable storage medium by at least one processor of the device, and execution of the executable instructions by the at least one processor causes the device to implement the blockchain cross-chain financial methods provided by the various embodiments described above.
In the above embodiments of the apparatus, it should be understood that the Processor may be a Central Processing Unit (CPU), other general purpose processors, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of the hardware and software modules within the processor.
The above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein.

Claims (10)

1. A blockchain inter-chain financial method, comprising:
a target node in the second chain initiates a request corresponding to the mortgage financing service;
determining transaction data and a first signature corresponding to the mortgage financing service based on the request;
after the first chain successfully verifies the transaction data and the first signature, determining a transaction receipt and a second signature based on the transaction data and the first signature;
and under the condition that the second chain successfully links the transaction receipt and the second signature and the first chain successfully links the transaction data and the first signature, finishing the mortgage financing service, wherein the first chain and the second chain are two independent chains in a block chain.
2. The blockchain cross-chain financial method of claim 1 in which the second chain further includes a first master node and a first accounting node;
the determining transaction data and a first signature corresponding to the mortgage financing service based on the request comprises:
determining, based on the request, mortgage cargo information in the mortgage financing service, wherein the mortgage cargo information includes at least: the NftId of the mortgage goods in the first chain, the applied amount, the collection and settlement account, the deposit and settlement account and the pledge date;
generating the transaction data based on the collateral good information;
after the target node signs the transaction data, the first host node and the first accounting node sign application materials corresponding to the mortgage financing service in sequence to obtain a first signature.
3. The blockchain cross-chain financial method according to claim 2, wherein the first host node and the first accounting node sequentially sign application materials corresponding to the mortgage financing service, and further comprising, after obtaining the first signature:
sending the transaction data and the first signature to the first chain;
the first chain audits the transaction data and the first signature.
4. The blockchain cross-chain financial method of claim 3 wherein the first chain includes a second master node and a second accounting node;
the determining a transaction receipt and a second signature based on the transaction data and the first signature comprises:
if the first chain successfully verifies the transaction data and the first signature, generating the transaction receipt according to the NFT in the transaction data;
and the second main node and the second accounting node sign the transaction data to obtain a second signature.
5. The blockchain cross-chain financial method of claim 4 wherein completing the mortgage financing service in the event that the second chain successfully completes the transaction receipt and the second signature and the first chain successfully completes the transaction data and the first signature, comprises:
sending the transaction receipt and the second signature to the second chain;
the second chain carries out checking, chain winding and chain winding judgment on the transaction receipt and the second signature in sequence to obtain a first message, wherein the first message is used for indicating that the second chain successfully chains the transaction receipt and the second signature;
if the second master node successfully verifies the first message, the first chain sequentially performs uplink and uplink judgment on the transaction data and the first signature to obtain a second message, wherein the second message is used for indicating that the first chain successfully uplinks the transaction data and the first signature;
and if the second chain successfully verifies the second message, finishing the mortgage financing service.
6. The blockchain cross-chain financial method according to claim 5, wherein the second chain sequentially performs checking, chain loading and chain loading determination on the transaction receipt and the second signature to obtain a first message, including:
the second chain verifies whether the transaction receipt and the second signature are consistent;
if the transaction receipt is consistent with the second signature, the transaction receipt and the second signature are linked;
and judging whether the transaction receipt and the second signature are successfully linked within a first preset time to obtain the first message.
7. The blockchain cross-chain financial method of claim 5 wherein the first chain sequentially performs uplink and uplink determinations on the transaction data and the first signature to obtain a second message, comprising:
the first chain uplinks the transaction data and the first signature;
and judging whether the transaction data and the first signature are successfully linked within a second preset time to obtain the second message.
8. A blockchain inter-chain financial device, comprising:
the request sending module is used for the target node in the second chain to initiate a request corresponding to the mortgage financing service;
the first data determining module is used for determining transaction data and a first signature corresponding to the mortgage financing service based on the request;
the second data determination module is used for determining a transaction receipt and a second signature based on the transaction data and the first signature after the first chain successfully verifies the transaction data and the first signature;
and the cross-chain financial module is used for completing the mortgage financing service under the condition that the second chain successfully links the transaction receipt and the second signature and the first chain successfully links the transaction data and the first signature, wherein the first chain and the second chain are two independent chains in a block chain.
9. A terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor when executing the computer program implements the steps of the blockchain cross-chain financial method of any one of claims 1 to 7.
10. A computer-readable storage medium, having a computer program stored thereon, which, when being executed by a processor, carries out the steps of the blockchain cross-chain financial method according to any one of claims 1 to 7.
CN202210744221.4A 2022-06-27 2022-06-27 Block chain cross-chain financial method, device, terminal and storage medium Pending CN115205038A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210744221.4A CN115205038A (en) 2022-06-27 2022-06-27 Block chain cross-chain financial method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210744221.4A CN115205038A (en) 2022-06-27 2022-06-27 Block chain cross-chain financial method, device, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN115205038A true CN115205038A (en) 2022-10-18

Family

ID=83578795

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210744221.4A Pending CN115205038A (en) 2022-06-27 2022-06-27 Block chain cross-chain financial method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN115205038A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115545936A (en) * 2022-11-22 2022-12-30 北京共识数信科技有限公司 Multi-chain management method and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115545936A (en) * 2022-11-22 2022-12-30 北京共识数信科技有限公司 Multi-chain management method and system

Similar Documents

Publication Publication Date Title
US11132704B2 (en) Method and system for electronic vouchers via blockchain
CN107851246B (en) System and method for processing blockchain based transactions over existing payment networks
CN110458543B (en) Data processing method, related device and medium
EP3819850A1 (en) Method and device for data processing based on blockchain
CN109074564A (en) The method and system of usage record guarantee pay down
CN113435869A (en) Method and system for associating blockchain-based assets to fiat currency accounts
CN113435895A (en) System and method for fraud control for blockchain based transactions
CN112767163B (en) Block chain-based digital commodity transaction method and device
CN110400146A (en) The method and system of fraud is prevented via block chain
CN109325774A (en) For verifying the method and system of equipment authenticity
CN101706933A (en) Method and background system for realizing joint account service operation
CN111539803B (en) Mortgage financing monitoring method, system and computer readable storage medium
CN112435129A (en) Financing method, financing system, device, equipment and storage medium
CN109035000A (en) A kind of loan secured method and system, equipment and storage medium based on block chain
CN111260362A (en) Information processing method and device of block chain network and storage medium
US20040148256A1 (en) Fraud detection within an electronic payment system
CN115205038A (en) Block chain cross-chain financial method, device, terminal and storage medium
CN113657995B (en) Warehouse sheet mortgage financing method, system, equipment and storage medium based on block chain
US11941622B2 (en) Method and system for employing blockchain for fraud prevention in bulk purchases
CN110689394B (en) Method and device for processing service supplementary notes
CN112990811B (en) Block chain-based warehouse receipt processing method and warehouse receipt processing system
CN117157657A (en) Method and system for privacy-oriented sources at point of sale
WO2020195374A1 (en) Sales management device, sales management method, and recording medium
KR20220005744A (en) System and method for providing safe e-commerce
CN111242753A (en) Cross-platform operation control method and system

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