CN112488684A - Block chain asset security deal method and system based on legal digital currency - Google Patents

Block chain asset security deal method and system based on legal digital currency Download PDF

Info

Publication number
CN112488684A
CN112488684A CN202011465327.8A CN202011465327A CN112488684A CN 112488684 A CN112488684 A CN 112488684A CN 202011465327 A CN202011465327 A CN 202011465327A CN 112488684 A CN112488684 A CN 112488684A
Authority
CN
China
Prior art keywords
user
digital currency
hash value
random number
block chain
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
CN202011465327.8A
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.)
Zhongchao Credit Card Industry Development Co ltd
Zhongchao Creditcard Industry Development Co Ltd Hangzhou Blockchain Technology Research Institute
Original Assignee
Zhongchao Credit Card Industry Development Co ltd
Zhongchao Creditcard Industry Development Co Ltd Hangzhou Blockchain Technology Research Institute
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 Zhongchao Credit Card Industry Development Co ltd, Zhongchao Creditcard Industry Development Co Ltd Hangzhou Blockchain Technology Research Institute filed Critical Zhongchao Credit Card Industry Development Co ltd
Priority to CN202011465327.8A priority Critical patent/CN112488684A/en
Publication of CN112488684A publication Critical patent/CN112488684A/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
    • 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Abstract

The application discloses a block chain asset security deal method and a system based on legal digital currency, comprising the following steps: a first user terminal initiates a ownership transfer application of assets on a chain, and writes a first hash value and first timeout time into a block chain; the second user terminal initiates the operation of confirming the transfer of the consent right to the block chain; the first user terminal sends the first hash value and the second overtime time to the first digital currency operation mechanism system; the system generates a digital currency coin string with the locked Hash time, and transfers the digital currency coin string into a digital currency account of a second user; the first user end transmits a first random number to the block chain, the block chain generates a second hash value based on the first random number, and if the second hash value is consistent with the first hash value and the current time is less than a first overtime, the property right is modified to the first user; the second client unlocks the string of digital currency notes using the first random number. The method can directly complete the dealing of the securities and cash of the assets on the chain by using funds outside the chain, and avoids fund risks brought by introducing a third-party platform.

Description

Block chain asset security deal method and system based on legal digital currency
Technical Field
The application relates to the technical field of block chains, in particular to a method and a system for dealing with a block chain asset securities deal based on legal digital currency.
Background
The settlement of the counter money, i.e. DVP (deal Versus Payment), is a settlement mode that after the transaction of the bond is completed, the bond and the fund synchronously carry out relative settlement on the settlement days appointed by the two parties and are mutually the conditions of the transaction. On the block chain, the atomicity of the block chain transaction can naturally ensure the dealing of the fund on the chain and the security fund of the asset on the chain. However, to ensure the reconciliation of funds and assets on the chain using the atomicity of blockchain transactions, funds outside the blockchain must first be transferred to the chain for storage in the form of tokens, which necessitates the introduction of a third party platform to complete the redemption and redemption operations. For example, a user a needs to buy an asset X on a blockchain belonging to a user B, the user a performs asset redemption through a related platform side of the blockchain, and the user a transfers funds outside the blockchain to the platform side; the platform side transfers the token to an account on the user A block chain on the block chain; a user A initiates an asset ownership transfer application on a block chain; the user B responds to agree to the asset right transfer; the intelligent contract on the block chain completes ownership transfer and the delivery of tokens on the block chain; the user B initiates a cash withdrawal application and transfers the token to the platform side; after the platform side confirms, transferring the fund outside the block chain to a fund account of the user B;
at present, in a scheme of introducing a platform side for cashing in and out of funds, a user needs to establish certain trust on the platform side. Secondly, after the off-link funds enter the platform side, the platform side is easy to form a fund pool, fund risks are easy to cause, and the existing thunderstorm caused by the fund pool is frequent. Therefore, how to directly complete the deal of the securities of the assets on the block chain by using the fund outside the chain becomes the problem to be solved at present.
Disclosure of Invention
In view of the above, an object of the present application is to provide a method and a system for dealing with a block chain asset securities fund based on legal digital currency, which can directly complete the securities fund dealing with the assets on the block chain by using the off-chain funds, and avoid the fund risk caused by introducing a third-party platform. The specific scheme is as follows:
in a first aspect, the present application discloses a method for dealing a block-chain asset slot based on legal digital currency, comprising:
initiating an ownership transfer application for a target asset on a blockchain to the blockchain through a first user terminal so as to write a first hash value and a first timeout time into the blockchain; wherein the first user side corresponds to a first user; the target asset is an asset of a second user on the blockchain;
initiating an affirming homonymy transfer operation corresponding to the right transfer application to the block chain through a second user terminal; wherein the second user terminal corresponds to the second user;
sending, by the first user, a first hash value and a second timeout time to a first digital currency operator system of the first user;
generating a digital currency string with a locked hash time corresponding to the right transfer application through the first digital currency operation mechanism system based on the first hash value and the second timeout time, and transferring the digital currency string into a digital currency account of the second user;
a first random number is transmitted to the block chain through the first user terminal, so that the block chain generates a second hash value based on the first random number, and if the second hash value is consistent with the first hash value and the current time is less than or equal to the first timeout time, the ownership of the target asset is modified to the first user;
unlocking, by the second user, the digital currency note string with the first random number within a second timeout period.
Optionally, before initiating an ownership transfer application for a target asset on a blockchain to the blockchain through the first user side, the method further includes:
generating a second random number by the first user terminal, and then generating the first hash value based on the second random number;
wherein the second random number is equal to the first random number.
Optionally, the sending, by the first user, the first hash value and the second timeout time to the first digital currency operator system of the first user includes:
inquiring a transaction state corresponding to the right transfer application through the first user terminal, and if the transaction state is to be paid, sending a first hash value and a second timeout time to a first digital currency operator system of the first user;
and modifying the transaction state into a to-be-paid state by the blockchain after the confirmation consent right transfer operation is acquired.
Optionally, after the transferring the digital currency string into the digital currency account of the second user, the method further includes:
verifying, by the second user, whether a hash value in the digital currency string is consistent with the first hash value on a blockchain, whether the second timeout time is greater than the first timeout time, and whether a difference between the second timeout time and the first timeout time is greater than a preset threshold;
if the hash value in the digital currency coin string is consistent with the first hash value on the block chain, the second timeout time is longer than the first timeout time, and the difference between the second timeout time and the first timeout time is longer than a preset threshold value, an unlocking application is initiated to the block chain, so that the block chain modifies the transaction state corresponding to the right transfer application into a to-be-unlocked state.
Optionally, the importing, by the first user, a first random number to the blockchain, so that the blockchain generates a second hash value based on the first random number, and if the second hash value is consistent with the first hash value and the current time is less than or equal to the first timeout time, modifying the ownership of the target asset to the first user, including:
inquiring the transaction state through the first user terminal, if the transaction state is to be unlocked, transmitting a first random number to the block chain, and initiating an unlocking operation, so that the block chain generates a second hash value based on the first random number through an intelligent contract, if the second hash value is consistent with the first hash value and the current time is less than or equal to the first timeout time, modifying the transaction state into paid, and then modifying the ownership of the target asset to the first user.
Optionally, the unlocking, by the second user end, the digital currency note string with the first random number within a second timeout period includes:
inquiring the transaction state through the second user end, and if the transaction state is paid, sending an unlocking request of the digital currency string to a second digital currency operator system by using the first random number;
unlocking, by the second digital currency operator system, the string of digital currency notes within a second timeout period using the first random number.
Optionally, the method further includes:
returning, by the second digital currency operator system, the corresponding digital currency to the digital currency account of the first user when the current time is greater than the second timeout time and the string of digital currency notes is in a locked state.
In a second aspect, the present application discloses a system for dealing with a block-chain asset slot based on legal digital currency, comprising a first user side, a second user side, a first digital currency operator system, and a block chain,
the first user terminal is used for initiating an ownership transfer application aiming at a target asset on the blockchain to the blockchain so as to write a first hash value and a first timeout time into the blockchain; wherein the first user side corresponds to a first user; the target asset is an asset of a second user on the blockchain;
the second user end is used for initiating the confirmed consent right transfer operation corresponding to the right transfer application to the block chain; wherein the second user terminal corresponds to the second user;
the first user end is also used for sending a first hash value and a second overtime time to a first digital currency operator system of the first user;
the first digital currency operation mechanism system is used for generating a digital currency string with a locked hash time corresponding to the right transfer application based on the first hash value and the second timeout time, and transferring the digital currency string into a digital currency account of the second user;
the first user end is further configured to transmit a first random number to the blockchain, so that the blockchain generates a second hash value based on the first random number, and if the second hash value is consistent with the first hash value and the current time is less than or equal to the first timeout time, modify the ownership of the target asset to the first user;
the second user terminal is also used for unlocking the digital currency coin string by utilizing the first random number within a second overtime.
Optionally, the first user end is further configured to generate a second random number, and then generate the first hash value based on the second random number;
wherein the second random number is equal to the first random number.
In a third aspect, the present application discloses a computer readable storage medium holding a computer program which, when executed by a processor, implements the aforementioned method of dealing with a block-chain asset deal based on legal digital currency.
As can be seen, the ownership transfer application for the target asset on the blockchain is initiated to the blockchain by the first user side, so as to write the first hash value and the first timeout time into the blockchain; wherein the first user side corresponds to a first user; the target asset is an asset of a second user on the blockchain; initiating an affirming homonymy transfer operation corresponding to the right transfer application to the block chain through a second user terminal; wherein the second user terminal corresponds to the second user; sending, by the first user, a first hash value and a second timeout time to a first digital currency operator system of the first user; generating a digital currency string with a locked hash time corresponding to the right transfer application through the first digital currency operation mechanism system based on the first hash value and the second timeout time, and transferring the digital currency string into a digital currency account of the second user; a first random number is transmitted to the block chain through the first user terminal, so that the block chain generates a second hash value based on the first random number, and if the second hash value is consistent with the first hash value and the current time is less than or equal to the first timeout time, the ownership of the target asset is modified to the first user; unlocking, by the second user, the digital currency note string with the first random number within a second timeout period. That is, in the application, based on the right transfer application of the first user end for the on-chain assets, the digital currency operation mechanism system corresponding to the first user generates the digital currency string with the locked hash time, the digital currency string is transferred to the digital currency account of the second user, the block chain modifies the right of the on-chain assets through the random number transmitted by the first user end, and the second user terminal unlocks the digital currency string with the locked hash time in the digital currency account of the second user through the random number transmitted by the block chain of the first user end, so that the real-time delivery of the on-chain assets and funds is realized, and the asset-price-pair is completed. Therefore, the fund deal of the assets on the block chain can be directly completed by using the fund outside the chain, and the fund risk brought by introducing a third-party platform is avoided.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flow chart of a method for dealing a block-chain asset slot based on legal digital currency as disclosed herein;
FIG. 2 is a flow chart of a particular method for dealing a block-chain asset slot based on legal digital currency as disclosed herein;
FIG. 3 is a state diagram of an asset transaction on a blockchain as disclosed herein;
fig. 4 is a block-chain asset deal system architecture diagram based on legal digital currency as disclosed in the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. 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 application.
At present, in a scheme of introducing a platform side for cashing in and out of funds, a user needs to establish certain trust on the platform side. Secondly, after the off-link funds enter the platform side, the platform side is easy to form a fund pool, fund risks are easy to cause, and the existing thunderstorm caused by the fund pool is frequent. Therefore, how to directly complete the deal of the securities of the assets on the block chain by using the fund outside the chain becomes the problem to be solved at present. Therefore, the asset security deal scheme based on the block chain can directly complete security deal of the assets on the block chain by using funds outside the chain, and avoids fund risks caused by introducing a third-party platform.
Referring to fig. 1, an embodiment of the present application discloses a method for dealing a block-chain asset deal based on legal digital currency, including:
step S11: initiating an ownership transfer application for a target asset on a blockchain to the blockchain through a first user terminal so as to write a first hash value and a first timeout time into the blockchain; wherein the first user side corresponds to a first user; the target asset is an asset of a second user on the blockchain.
In a specific implementation manner, in this embodiment, a second random number may be generated by the first user, then the first hash value is generated based on the second random number, and then a ownership transfer application for a target asset on the block chain is initiated to the block chain, so as to write the first hash value and the first timeout time into the block chain.
And the blockchain can modify the transaction state corresponding to the rights transfer application to be confirmed through an intelligent contract.
Step S12: initiating an affirming homonymy transfer operation corresponding to the right transfer application to the block chain through a second user terminal; wherein the second user terminal corresponds to the second user.
In a specific implementation manner, a second user end may query a transaction state corresponding to the rights transfer application, and if the transaction state is to be confirmed, initiate an agreement transfer confirmation operation corresponding to the rights transfer application to the blockchain.
Step S13: sending, by the first user, the first hash value and the second timeout time to a first digital currency operator system of the first user.
In a specific implementation manner, the first user terminal may query a transaction state corresponding to the rights transfer application, and if the transaction state is to be paid, send a first hash value and a second timeout time to a first digital currency operator system of the first user;
and modifying the transaction state into a to-be-paid state by the blockchain after the confirmation consent right transfer operation is acquired. Specifically, the state to be paid is modified after the transfer operation of the right to approve is obtained through intelligent agreement.
Step S14: and generating a digital currency string with the locked hash time corresponding to the right transfer application through the first digital currency operation mechanism system based on the first hash value and the second timeout time, and transferring the digital currency string into the digital currency account of the second user.
Wherein the digital currency string is a legal digital currency string.
And the digital currency string with the locked hash time is a currency string with preset verification logic written in a programmable part of the digital currency string, wherein the preset verification logic is that if and only if the first random number is transmitted, a second hash value generated by using the random number is equal to the first hash value, and the current time is less than a second timeout, the locking is released, otherwise, the currency string is unavailable.
In a specific embodiment, after the transferring the digital money string into the digital money account of the second user, the method further includes: verifying, by the second user, whether a hash value in the digital currency string is consistent with the first hash value on a blockchain, whether the second timeout time is greater than the first timeout time, and whether a difference between the second timeout time and the first timeout time is greater than a preset threshold; if the hash value in the digital currency coin string is consistent with the first hash value on the block chain, the second timeout time is longer than the first timeout time, and the difference between the second timeout time and the first timeout time is longer than a preset threshold value, an unlocking application is initiated to the block chain, so that the block chain modifies the transaction state corresponding to the right transfer application into a to-be-unlocked state. Specifically, the block chain modifies the transaction state corresponding to the right transfer application into the transaction state to be unlocked through an intelligent contract
Step S15: and transmitting a first random number to the block chain through the first user terminal so that the block chain generates a second hash value based on the first random number, and modifying the ownership of the target asset to the first user if the second hash value is consistent with the first hash value and the current time is less than or equal to the first timeout time.
Wherein the second random number is equal to the first random number.
In a specific implementation manner, the transaction state is queried through the first user, if the transaction state is to be unlocked, a first random number is transmitted to the block chain, an unlocking operation is initiated, so that the block chain generates a second hash value based on the first random number through an intelligent contract, if the second hash value is consistent with the first hash value and the current time is less than or equal to the first timeout time, the transaction state is modified to be paid, and then the right of the target asset is modified to the first user.
Step S16: unlocking, by the second user, the digital currency note string with the first random number within a second timeout period.
In a specific embodiment, the transaction status may be queried by the second user, and if the transaction status is paid, the unlocking request of the digital currency string is sent to a second digital currency operator system by using the first random number; unlocking, by the second digital currency operator system, the string of digital currency notes within a second timeout period using the first random number.
The second digital money operating mechanism system and the first digital money operating mechanism system may be the same digital money operating mechanism system or different digital money operating mechanism systems.
Further, the present embodiment may be configured to, by the second digital money operator system, return the corresponding digital money to the digital money account of the first user when the current time is greater than the second timeout time and the digital money string is in the locked state.
The digital currency in the implementation is legal digital currency, namely central bank digital currency, and is digital currency issued by a central bank, namely a digital form of basic currency, and belongs to a liability of the central bank. The digital Currency operating mechanism can be commercial banks, telecom operators, internet enterprises and the like to obtain authorization of people banks to participate in operating DC/EP (digital Current Electronic Payment), and four major lines are built in the industry and agriculture at present. DC/EP, chinese edition digital money items, i.e., digital money and electronic payment means, is legal digital money in chinese people bank research, which is one of DIGICCY (digital money). The Chinese edition CBDC (Central bank digital currencies) is a controllable anonymous payment tool which is issued by people's banks, participated in operation by designated operating institutions and exchanged to the public, supports the loose coupling function of bank accounts on the basis of a generalized account system, is equivalent to paper money and coins, and has value characteristics and compensability.
As can be seen, in the embodiment of the present application, an ownership transfer application for a target asset on a blockchain is initiated to the blockchain by a first user side, so as to write a first hash value and a first timeout time into the blockchain; wherein the first user side corresponds to a first user; the target asset is an asset of a second user on the blockchain; initiating an affirming homonymy transfer operation corresponding to the right transfer application to the block chain through a second user terminal; wherein the second user terminal corresponds to the second user; sending, by the first user, a first hash value and a second timeout time to a first digital currency operator system of the first user; generating a digital currency string with a locked hash time corresponding to the right transfer application through the first digital currency operation mechanism system based on the first hash value and the second timeout time, and transferring the digital currency string into a digital currency account of the second user; a first random number is transmitted to the block chain through the first user terminal, so that the block chain generates a second hash value based on the first random number, and if the second hash value is consistent with the first hash value and the current time is less than or equal to the first timeout time, the ownership of the target asset is modified to the first user; unlocking, by the second user, the digital currency note string with the first random number within a second timeout period. That is, in the embodiment of the present application, based on the application for transferring the authority of the first user for the linked asset, the digital currency operating mechanism system corresponding to the first user generates the digital currency string with locked hash time, and transfers the digital currency string into the digital currency account of the second user, the block chain modifies the authority of the linked asset through the random number transferred by the first user, and the second user terminal unlocks the digital currency string with locked hash time in the digital currency account of the second user through the random number transferred by the first user into the block chain, so as to implement real-time delivery of the linked asset and the fund, and complete the payment of the asset account. Therefore, the fund deal of the assets on the block chain can be directly completed by using the fund outside the chain, and the fund risk brought by introducing a third-party platform is avoided.
For example, referring to fig. 2, fig. 2 is a flowchart of a specific legal digital currency based block-chain asset deal method disclosed in an embodiment of the present application.
User a needs to buy asset X on the blockchain belonging to user B, and the flow based on legal digital currency is as follows:
a) a user A generates a random number s, and calculates a hash value H(s) by using an agreed abstract algorithm H; generating a timeout time T1;
b) a user A initiates an asset ownership transfer application on the blockchain to the blockchain, and writes H(s) and the overtime T1 into a blockchain account book as parameters, and the transaction state is modified to be confirmed;
c) after finding the application, the user B confirms that the ownership transfer is agreed, and initiates operation to the block chain, and the block chain modifies the transaction state into a state of waiting for payment;
d) and (3) the user A inquires that the transaction state is to be paid, and sends the H(s) and the timeout time T2(T2> T1) generated in the step a) to the digital currency operator A 'opened by the user A, and the A' generates a digital currency string locked by the hash time.
Where a programmable portion of the hash time locked digital currency note string, index digital currency note string D, is written to a validation logic, the lock is released if and only if s ' is entered such that H (s ') ═ H(s) and the current time T ' < ═ T2, otherwise the note string is not available.
A ' initiates a cross-bank transfer or a peer transfer to B's digital monetary account open at B ', where A ' may be equal to B '.
e) And the user B receives the transfer, and the digital currency in the account B is in a locked state and cannot be used. B verifies that H(s) in the digital currency is consistent with the block chain, verifies that T2> T1, and T2-T1 are sufficient to complete the digital currency unlocking operation;
f) the user B initiates an unlocking application and modifies the transaction state into a state to be unlocked;
g) the user A transmits s '(s' ═ s) to the block chain, and initiates unlocking; the intelligent contract on the block chain verifies H (s ') -H(s) and the current time T' < -T1, and the verification is passed, the transaction state is modified to be paid, and the property right is modified to be A;
h) after the user B acquires the transaction state and the s ' transmitted by the user A, the user B requests the operation mechanism B ' to unlock the digital currency coin string D by using the s ';
i) user A does not initiate the unlocking operation within the time T1, and operator B 'checks that the digital currency is still in the locked state when the time is greater than T2, and automatically returns to the digital currency account opened by user A in operator A'.
For example, referring to fig. 3, fig. 3 is a diagram illustrating a status of an asset transaction on a blockchain according to an embodiment of the present disclosure.
It should be noted that the present embodiment uses legal digital currency in the cash-deal transaction of assets in any blockchain without redesigning the corresponding token clearing system in the respective blockchain.
Referring to fig. 4, the present embodiment discloses a system for dealing with a block chain asset slot based on legal digital currency, including a first user terminal 11, a second user terminal 12, a first digital currency operator system 13, and a block chain 14, wherein,
the first user terminal 11 is configured to initiate an ownership transfer application for a target asset on the blockchain 14 to the blockchain 14, so as to write a first hash value and a first timeout time into the blockchain 14; wherein the first user side corresponds to a first user; the target asset is an asset of a second user on the blockchain 14;
the second user end 12 is configured to initiate an agreement ownership transfer confirmation operation corresponding to the ownership transfer application to the blockchain 14; wherein the second user terminal corresponds to the second user;
the first user terminal 11 is further configured to send the first hash value and the second timeout time to a first digital currency operator system 13 of the first user;
the first digital currency operating mechanism system 13 is configured to generate a digital currency string with a locked hash time corresponding to the right transfer application based on the first hash value and the second timeout time, and transfer the digital currency string into the digital currency account of the second user;
the first user terminal 11 is further configured to transmit a first random number to the blockchain, so that the blockchain 14 generates a second hash value based on the first random number, and if the second hash value is consistent with the first hash value and the current time is less than or equal to the first timeout time, modify the ownership of the target asset to the first user;
the second client 12 is further configured to unlock the string of digital currency notes within a second timeout period using the first random number.
As can be seen, the ownership transfer application for the target asset on the blockchain is initiated to the blockchain by the first user side, so as to write the first hash value and the first timeout time into the blockchain; wherein the first user side corresponds to a first user; the target asset is an asset of a second user on the blockchain; initiating an affirming homonymy transfer operation corresponding to the right transfer application to the block chain through a second user terminal; wherein the second user terminal corresponds to the second user; sending, by the first user, a first hash value and a second timeout time to a first digital currency operator system of the first user; generating a digital currency string with a locked hash time corresponding to the right transfer application through the first digital currency operation mechanism system based on the first hash value and the second timeout time, and transferring the digital currency string into a digital currency account of the second user; a first random number is transmitted to the block chain through the first user terminal, so that the block chain generates a second hash value based on the first random number, and if the second hash value is consistent with the first hash value and the current time is less than or equal to the first timeout time, the ownership of the target asset is modified to the first user; unlocking, by the second user, the digital currency note string with the first random number within a second timeout period. That is, in the application, based on the right transfer application of the first user end for the on-chain assets, the digital currency operation mechanism system corresponding to the first user generates the digital currency string with the locked hash time, the digital currency string is transferred to the digital currency account of the second user, the block chain modifies the right of the on-chain assets through the random number transmitted by the first user end, and the second user terminal unlocks the digital currency string with the locked hash time in the digital currency account of the second user through the random number transmitted by the block chain of the first user end, so that the real-time delivery of the on-chain assets and funds is realized, and the asset-price-pair is completed. Therefore, the fund deal of the assets on the block chain can be directly completed by using the fund outside the chain, and the fund risk brought by introducing a third-party platform is avoided.
The first user terminal 11 is further configured to generate a second random number, and then generate the first hash value based on the second random number; wherein the second random number is equal to the first random number.
In a specific embodiment, the first user terminal 11 is configured to query a transaction state corresponding to the rights transfer application, and if the transaction state is to be paid, send a first hash value and a second timeout time to a first digital currency operator system 13 of the first user;
wherein the transaction state is modified to a state to be paid by the blockchain 14 after the confirmation consent right transfer operation is obtained.
The second user end 12 is configured to verify whether the hash value in the digital currency string is consistent with the first hash value on the blockchain 14 and whether the second timeout time is greater than the first timeout time and whether the difference between the second timeout time and the first timeout time is greater than a preset threshold after transferring the digital currency string into the digital currency account of the second user; if the hash value in the digital currency coin string is consistent with the first hash value on the blockchain 14, the second timeout time is longer than the first timeout time, and the difference between the second timeout time and the first timeout time is longer than a preset threshold value, an unlocking application is initiated to the blockchain, so that the blockchain 14 modifies the transaction state corresponding to the right transfer application to be unlocked.
The first user terminal 11 is specifically configured to query the transaction state, if the transaction state is to be unlocked, transmit a first random number to the block chain 14, and initiate an unlocking operation, so that the block chain generates a second hash value based on the first random number through an intelligent contract, if the second hash value is consistent with the first hash value and the current time is less than or equal to the first timeout time, modify the transaction state to be paid, and then modify the ownership of the target asset to the first user.
The second user end 12 is specifically configured to query the transaction status, and if the transaction status is paid, send an unlocking request of the digital currency string to a second digital currency operator system by using the first random number;
the second digital currency operator system is configured to unlock the string of digital currency notes with the first random number within a second timeout period.
The second digital currency operator system is further configured to, when the current time is greater than the second timeout time and the string of digital currency notes is in a locked state, return the corresponding digital currency to the digital currency account of the first user.
Further, an embodiment of the present application also discloses a computer readable storage medium for storing a computer program, wherein the computer program, when executed by a processor, implements the legal digital currency-based block chain asset deal method disclosed in the foregoing embodiment.
For the specific process of the above block chain asset slot deal method based on legal digital currency, reference may be made to the corresponding contents disclosed in the foregoing embodiments, and details are not repeated herein.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. For the system disclosed by the embodiment, the description is relatively simple because the system corresponds to the method disclosed by the embodiment, and the relevant points can be referred to the method part for description.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The method and the system for dealing the block chain asset securities based on the legal digital currency are introduced in detail, specific examples are applied in the method to explain the principle and the implementation mode of the method, and the description of the embodiments is only used for helping to understand the method and the core idea of the method; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A block chain asset slot deal method based on legal digital currency is characterized by comprising the following steps:
initiating an ownership transfer application for a target asset on a blockchain to the blockchain through a first user terminal so as to write a first hash value and a first timeout time into the blockchain; wherein the first user side corresponds to a first user; the target asset is an asset of a second user on the blockchain;
initiating an affirming homonymy transfer operation corresponding to the right transfer application to the block chain through a second user terminal; wherein the second user terminal corresponds to the second user;
sending, by the first user, a first hash value and a second timeout time to a first digital currency operator system of the first user;
generating a digital currency string with a locked hash time corresponding to the right transfer application through the first digital currency operation mechanism system based on the first hash value and the second timeout time, and transferring the digital currency string into a digital currency account of the second user;
a first random number is transmitted to the block chain through the first user terminal, so that the block chain generates a second hash value based on the first random number, and if the second hash value is consistent with the first hash value and the current time is less than or equal to the first timeout time, the ownership of the target asset is modified to the first user;
unlocking, by the second user, the digital currency note string with the first random number within a second timeout period.
2. The method of claim 1, wherein prior to initiating an ownership transfer application for a target asset on the blockchain to the blockchain via the first user terminal, the method further comprises:
generating a second random number by the first user terminal, and then generating the first hash value based on the second random number;
wherein the second random number is equal to the first random number.
3. The method of claim 1, wherein said sending, by said first user, a first hash value and a second timeout time to a first digital money operator system of said first user comprises:
inquiring a transaction state corresponding to the right transfer application through the first user terminal, and if the transaction state is to be paid, sending a first hash value and a second timeout time to a first digital currency operator system of the first user;
and modifying the transaction state into a to-be-paid state by the blockchain after the confirmation consent right transfer operation is acquired.
4. The method for bond fund payment based on legal digital currency according to claim 1, wherein after said transferring the series of digital currency notes into the digital currency account of the second user, further comprising:
verifying, by the second user, whether a hash value in the digital currency string is consistent with the first hash value on a blockchain, whether the second timeout time is greater than the first timeout time, and whether a difference between the second timeout time and the first timeout time is greater than a preset threshold;
if the hash value in the digital currency coin string is consistent with the first hash value on the block chain, the second timeout time is longer than the first timeout time, and the difference between the second timeout time and the first timeout time is longer than a preset threshold value, an unlocking application is initiated to the block chain, so that the block chain modifies the transaction state corresponding to the right transfer application into a to-be-unlocked state.
5. The method of claim 4, wherein said passing a first random number through said first user terminal to said blockchain causes said blockchain to generate a second hash value based on said first random number, and wherein said modifying said target property's ownership to said first user if said second hash value is consistent with said first hash value and a current time is less than or equal to said first timeout time comprises:
inquiring the transaction state through the first user terminal, if the transaction state is to be unlocked, transmitting a first random number to the block chain, and initiating an unlocking operation, so that the block chain generates a second hash value based on the first random number through an intelligent contract, if the second hash value is consistent with the first hash value and the current time is less than or equal to the first timeout time, modifying the transaction state into paid, and then modifying the ownership of the target asset to the first user.
6. The method of claim 5, wherein said unlocking, by said second client, said digital currency string with said first random number within a second timeout period comprises:
inquiring the transaction state through the second user end, and if the transaction state is paid, sending an unlocking request of the digital currency string to a second digital currency operator system by using the first random number;
unlocking, by the second digital currency operator system, the string of digital currency notes within a second timeout period using the first random number.
7. The method of claim 6, further comprising:
returning, by the second digital currency operator system, the corresponding digital currency to the digital currency account of the first user when the current time is greater than the second timeout time and the string of digital currency notes is in a locked state.
8. A system for dealing with block chain asset securities based on legal digital currency is characterized by comprising a first user side, a second user side, a first digital currency operation mechanism system and a block chain, wherein,
the first user terminal is used for initiating an ownership transfer application aiming at a target asset on the blockchain to the blockchain so as to write a first hash value and a first timeout time into the blockchain; wherein the first user side corresponds to a first user; the target asset is an asset of a second user on the blockchain;
the second user end is used for initiating the confirmed consent right transfer operation corresponding to the right transfer application to the block chain; wherein the second user terminal corresponds to the second user;
the first user end is also used for sending a first hash value and a second overtime time to a first digital currency operator system of the first user;
the first digital currency operation mechanism system is used for generating a digital currency string with a locked hash time corresponding to the right transfer application based on the first hash value and the second timeout time, and transferring the digital currency string into a digital currency account of the second user;
the first user end is further configured to transmit a first random number to the blockchain, so that the blockchain generates a second hash value based on the first random number, and if the second hash value is consistent with the first hash value and the current time is less than or equal to the first timeout time, modify the ownership of the target asset to the first user;
the second user terminal is also used for unlocking the digital currency coin string by utilizing the first random number within a second overtime.
9. The system for bond deal with block-chain property based on legal digital currency according to claim 8,
the first user terminal is further configured to generate a second random number, and then generate the first hash value based on the second random number;
wherein the second random number is equal to the first random number.
10. A computer-readable storage medium storing a computer program which, when executed by a processor, implements the method of legal digital currency based block-linked asset deal payment method according to any one of claims 1 to 7.
CN202011465327.8A 2020-12-14 2020-12-14 Block chain asset security deal method and system based on legal digital currency Pending CN112488684A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011465327.8A CN112488684A (en) 2020-12-14 2020-12-14 Block chain asset security deal method and system based on legal digital currency

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011465327.8A CN112488684A (en) 2020-12-14 2020-12-14 Block chain asset security deal method and system based on legal digital currency

Publications (1)

Publication Number Publication Date
CN112488684A true CN112488684A (en) 2021-03-12

Family

ID=74917966

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011465327.8A Pending CN112488684A (en) 2020-12-14 2020-12-14 Block chain asset security deal method and system based on legal digital currency

Country Status (1)

Country Link
CN (1) CN112488684A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113283985A (en) * 2021-04-27 2021-08-20 上海添玑网络服务有限公司 HTLC-based cross-chain transaction method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106920169A (en) * 2017-03-07 2017-07-04 中钞信用卡产业发展有限公司北京智能卡技术研究院 A kind of digital ticket method of commerce and system based on block chain and digital cash
US20190043043A1 (en) * 2017-08-01 2019-02-07 Digital Asset (Switzerland) GmbH Method and apparatus for automated committed settlement of digital assets
CN109359959A (en) * 2018-09-29 2019-02-19 衢州学院 Across chain assets transfer method, equipment and storage medium
CN109829719A (en) * 2019-02-22 2019-05-31 中国农业银行股份有限公司 A kind of connectionless across account book DvP settlement method and system
CA2998073A1 (en) * 2018-03-14 2019-09-14 Beijing Tiande Technologies Limited A dvp settlement method based on blockchain technology
CN110659888A (en) * 2019-08-05 2020-01-07 孟江华 On-chain asset transfer system and method through on-chain digital currency settlement
US20200074419A1 (en) * 2018-08-29 2020-03-05 Vio Digital Ltd Method of conducting a digital currency exchange transaction utilizing blockchain

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106920169A (en) * 2017-03-07 2017-07-04 中钞信用卡产业发展有限公司北京智能卡技术研究院 A kind of digital ticket method of commerce and system based on block chain and digital cash
US20190043043A1 (en) * 2017-08-01 2019-02-07 Digital Asset (Switzerland) GmbH Method and apparatus for automated committed settlement of digital assets
CA2998073A1 (en) * 2018-03-14 2019-09-14 Beijing Tiande Technologies Limited A dvp settlement method based on blockchain technology
US20200074419A1 (en) * 2018-08-29 2020-03-05 Vio Digital Ltd Method of conducting a digital currency exchange transaction utilizing blockchain
CN109359959A (en) * 2018-09-29 2019-02-19 衢州学院 Across chain assets transfer method, equipment and storage medium
CN109829719A (en) * 2019-02-22 2019-05-31 中国农业银行股份有限公司 A kind of connectionless across account book DvP settlement method and system
CN110659888A (en) * 2019-08-05 2020-01-07 孟江华 On-chain asset transfer system and method through on-chain digital currency settlement

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
袁煜明: "《区块链技术进阶指南》", 30 April 2020, 北京:机械工业出版社, pages: 204 - 207 *
许先文;: "区块链数字货币的技术特性及其在支付领域的应用", 数字技术与应用, no. 02, 25 February 2020 (2020-02-25), pages 217 - 218 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113283985A (en) * 2021-04-27 2021-08-20 上海添玑网络服务有限公司 HTLC-based cross-chain transaction method

Similar Documents

Publication Publication Date Title
JP7112690B2 (en) Digital Wealth Management for Decentralized Transaction Consensus Network
CN115136168A (en) System and method for providing a blockchain recording process
US20210118052A1 (en) Cryptocurrency cash gateway
US7089208B1 (en) System and method for electronically exchanging value among distributed users
AU2008203005B2 (en) System and method for verifying a financial instrument
US20170316394A1 (en) Cross-Border Payment and Clearing System and Cross-Border Payment Method Based on Digital Currency
JPH06162059A (en) Electronic-currency system
CN107369084B (en) Method and system for settling digital currency among banks
CN107369083B (en) Method and system for settlement between banks by using digital currency
KR20030029607A (en) System and method for managing micropayment transactions, corresponding client terminal and trader equipment
CN107392751B (en) Method and system for inter-bank digital currency settlement
US20090094157A1 (en) Account Protection With One Sided Access
CN112488684A (en) Block chain asset security deal method and system based on legal digital currency
KR101922813B1 (en) Apparatus, method and computer program for managing sources of funds for transactions of cryptocurrency
CN107358522B (en) Method and system for exchanging digital currency by using deposit
US20190172024A1 (en) System and Method For Decentralized Digital Currency Issuance, Secure Transfer and De-Issuance
KR102291341B1 (en) Method, system and program for create virtual account for each cryptocurrency for financial transactions
KR102227291B1 (en) Method of making a transaction between cryptocurrencies and apparatus using it
Pavlovski Reference architecture for cryptocurrency in banking
KR102665646B1 (en) Digital asset management on a decentralized trading consensus network
EP4099246A1 (en) A system and method for trading cryptocurrencies, tokenized assets and/or fiat currencies on a single distributed ledger system with multiple issuing institutions
WO2022153641A1 (en) Payment system, payment device, payment method, and payment program
US20230376949A1 (en) Validation computing entity node-staked digital asset-based interaction system
Pîrjan et al. Dematerialized monies-new means of payment
CA3156364A1 (en) Cryptocurrency cash gateway

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