CN106780025B - Method, device and system for transferring digital assets in block chain - Google Patents

Method, device and system for transferring digital assets in block chain Download PDF

Info

Publication number
CN106780025B
CN106780025B CN201611090525.4A CN201611090525A CN106780025B CN 106780025 B CN106780025 B CN 106780025B CN 201611090525 A CN201611090525 A CN 201611090525A CN 106780025 B CN106780025 B CN 106780025B
Authority
CN
China
Prior art keywords
transaction
asset
transfer
state machine
action
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.)
Active
Application number
CN201611090525.4A
Other languages
Chinese (zh)
Other versions
CN106780025A (en
Inventor
商建祥
王继武
张国华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN201611090525.4A priority Critical patent/CN106780025B/en
Publication of CN106780025A publication Critical patent/CN106780025A/en
Application granted granted Critical
Publication of CN106780025B publication Critical patent/CN106780025B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Abstract

The invention provides a transfer method, a device and a system of digital assets in a block chain, wherein the transfer method comprises the following steps: writing data related to the digital assets to be traded into a state machine; generating an asset issuance transaction according to the state machine and the digital asset; broadcasting the asset issuance transaction in a blockchain. According to the embodiment of the invention, the state transition rule in the circulation process is specified when the digital assets are issued, and is recorded in the asset issuing transaction in the form of the state machine, and the subsequent asset ownership transition process is checked in a mode of a consensus mechanism, so that the assets are ensured to change the state according to the specified rule in the issuing process, the assets are prevented from being changed by a middle man in the asset transaction at will, and the accurate and complete asset information entering a block chain recorded in the circulation process of the digital assets is maintained.

Description

Method, device and system for transferring digital assets in block chain
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, and a system for transferring digital assets in a block chain.
Background
Blockchains are capable of storing various types of digital assets and transferring ownership of the assets between different owners. However, the assets often have status changes during the transfer process, such as various statuses of money order application, acceptance, transfer, repurchase and the like, and the stocks have statuses of flow, freeze, pledge and the like, and how to keep the asset status correct during the asset circulation process is very important to ensure the accuracy and the integrity of information of the digital assets during the circulation process.
For example, information about a digital asset includes not only its owner, but also various status attributes of the digital asset, which status and status change history are closely related to the value of the digital asset. For example, the state of the acceptance draft is 'apply' state when the acceptance draft is issued by an enterprise, and the state is 'acceptance' state after the acceptance draft is accepted by a bank, so that the acceptance draft has the credit of the bank, becomes valuable securities and can be transferred, and the cash pasting action is carried out. Just because the state information of the digital assets is very important information, and the change of the states is a part of the market business rules, if a certain participant randomly changes the states in the transfer process and does not comply with the market business rules, the digital assets are damaged, and the information integrity of the digital assets cannot be ensured. For example, a participant directly modifies a bill in an 'applying' state into 'accepting' to apply for posting, the history of the bill asset lacks a link of commercial bank acceptance, the information in the bill asset is not complete any more, the bill asset becomes a waste bill legally, and the trading market of the digital asset is disturbed if the bill participates in trading.
Disclosure of Invention
In order to ensure that the ownership of the digital assets maintains information integrity in the transfer process, the invention provides a transfer method, a device and a system of the digital assets in a block chain.
The embodiment of the invention provides a transfer method of digital assets in a block chain, which comprises the following steps:
writing data related to the digital assets to be traded into a state machine;
generating an asset issuance transaction according to the state machine and the digital asset;
broadcasting the asset issuance transaction in a blockchain.
The embodiment of the invention also provides a transfer method of the digital assets in the block chain, which comprises the following steps:
receiving an asset issuance transaction;
generating an asset transfer transaction according to a transaction strategy of a transaction participant and a state machine of the asset issuing transaction;
verifying the asset transfer transaction according to the state machine, and judging whether the asset transfer transaction is legal or not;
and after the asset transfer transaction is confirmed to be legal, recording the asset transfer transaction into a block chain according to a consensus mechanism.
An embodiment of the present invention further provides a transaction node device, where the transaction node device includes:
the system comprises a state machine presetting unit, a state machine processing unit and a state machine processing unit, wherein the state machine presetting unit is used for writing data related to digital assets to be traded into a state machine;
the asset issuing transaction generating unit is used for generating asset issuing transactions according to the state machine and the digital assets;
a broadcasting unit to broadcast the asset issuance transaction in a blockchain.
An embodiment of the present invention further provides an accounting node device, where the accounting node device includes:
a receiving unit for receiving an asset issuance transaction;
the asset transfer transaction generating unit is used for generating an asset transfer transaction according to a transaction strategy of a transaction participant and a state machine of the asset issuing transaction;
the first checking unit is used for checking the asset transfer transaction according to the state machine and judging whether the asset transfer transaction is legal or not;
a first consensus unit for posting the asset transfer transaction to a blockchain according to a consensus mechanism.
The embodiment of the invention also provides a transfer system of digital assets in the block chain, which comprises:
one or more transaction node devices, configured to write data related to a digital asset to be transacted into a state machine, generate an asset issuance transaction according to the state machine and the digital asset, and broadcast the asset issuance transaction in a blockchain;
one or more accounting node devices, configured to receive the asset issuance transaction, generate an asset transfer transaction according to a transaction policy of a transaction participant and a state machine of the asset issuance transaction, verify the asset transfer transaction according to the state machine, determine whether the asset transfer transaction is legal, and after the asset transfer transaction is confirmed to be legal, record the asset transfer transaction in a block chain according to a consensus mechanism.
The method, the device and the system for transferring the digital assets in the block chain, provided by the embodiment of the invention, have the advantages that the state transfer rule in the circulation process is specified when the digital assets are issued, the state transfer rule is recorded in the asset issuing transaction in the form of a state machine, the subsequent asset ownership transfer process is checked in a mode of a consensus mechanism, the state change of the assets according to the rule specified when the assets are issued is ensured, the assets are prevented from being changed by a middleman in the asset transaction at will, and therefore the accurate and complete asset information recorded into the block chain in the circulation process of the digital assets is maintained.
The method, the device and the system for transferring the digital assets in the block chain can ensure the normalization and the integrity of the digital asset information, prevent the digital asset information from being interfered by traders in an asset circulation link, enable the authority of the asset information to be stronger, and enable the normalization and the integrity of the digital asset information to be completed by a consensus mechanism without being judged by two traders, thereby ensuring the integrity of the information recorded into the block chain, and simultaneously realizing the consensus mechanism to have universality for all the assets, thereby being convenient for realization and expansion. The consensus mechanism is a check rule that the accounting nodes on the block chain need to be carried out when the legality of the transaction is verified, all accounting nodes which accord with the rule are brought into the legal transaction to be recorded into an account book, and all accounting nodes which do not accord with the check rule are discarded as illegal transactions.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart of a method for transferring digital assets in a blockchain according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method for transferring digital assets in a blockchain according to an embodiment of the present invention;
FIG. 3 is a block diagram of a state machine according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a transaction node device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an accounting node device according to an embodiment of the present invention;
FIG. 6 is a block chain digital asset transfer system according to an embodiment of the present invention;
FIG. 7 is a flowchart illustrating a method for transferring digital assets to a blockchain according to an embodiment of the present invention.
Detailed Description
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 derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flow chart showing a method for transferring digital assets in a blockchain according to the present invention, in which the method for transferring digital assets in a blockchain is described, and at the time of issuing a digital asset, the state and transfer action of the asset issuing authority in the circulation process are determined, and recorded in the form of a state machine in an asset issuing transaction stored in the blockchain. The method specifically comprises the following steps:
step S101, writing data related to the digital assets to be traded into a state machine.
And step S102, generating an asset issuing transaction according to the state machine and the digital assets.
Typically, a digital asset begins with an asset issuance transaction, the first of which is the asset issuance transaction. The asset issuer specifies the data to which the digital asset relates and stores it in the asset issuance transaction in the form of a state machine.
Step S103, broadcasting the asset issuing transaction in the blockchain.
According to an embodiment of the present invention, the data related to the digital asset mainly includes a transfer action of the digital asset, a start state and an end state of the transfer action, and a corresponding relationship between the transfer action and a start-stop state thereof. That is, the asset issuer specifies the possible transfer actions, states, and correspondence between the transfer actions and the states of the digital asset and stores them in the asset issuance transaction in the form of a state machine. When an asset issuance transaction is generated, an initial state after the digital asset is issued is usually described in the asset issuance transaction.
The block chain is generally divided into an accounting node, a transaction node and a privilege node. The accounting nodes have the right of generating the account book and are responsible for collecting transaction information, verifying the transaction legality and generating a new account book of the account book, and forming consensus in all the accounting nodes, namely obtaining the approval of other accounting nodes. The transaction node can initiate a transaction or obtain the latest ledger from the accounting node, but cannot generate the ledger. The privileged node is responsible for security authentication, transaction arbitration, and other transactions. Typically, the accounting node has the functionality of a trading node, i.e. is also able to initiate a trade as well to the trading node.
The embodiment of the invention mainly relates to a trading node and an accounting node in a block chain, wherein an asset issuing transaction is generated through the trading node (or the accounting node with a trading function) in the block chain, the asset issuing transaction specifies possible transfer actions of a digital asset, starting and stopping states of the transfer actions and the corresponding relation between the transfer actions and the starting and stopping states, the possible transfer actions, the starting and stopping states of the transfer actions and the corresponding relation are stored in the asset issuing transaction in a state machine mode, and the issued asset state is recorded in the asset issuing transaction. And after the asset issuing transaction is generated, the transaction node broadcasts the generated asset issuing transaction to the blockchain. Subsequent digital asset ownership transfer transactions include transfer actions specified in the state machine and the post-asset transfer state.
The method for transferring the digital assets in the block chain, provided by the embodiment of the invention, has the advantages that the state transfer rule in the circulation process is specified when the digital assets are issued, the state transfer rule is recorded in the asset issuing transaction in the form of a state machine, the subsequent asset ownership transfer process is checked in a mode of a consensus mechanism, the state change of the assets is ensured according to the rule specified in the issuing process, the assets are prevented from being changed by a middleman in the asset transaction at will, and therefore the accurate and complete asset information recorded in the block chain in the circulation process of the digital assets is maintained.
Fig. 2 is a flow chart of a transfer method of a digital asset in a blockchain according to an embodiment of the present invention, where a process of generating an asset transfer transaction by an accounting node after receiving an asset issuance transaction is described in the present figure, and a subsequent transfer of the digital asset is implemented in the process, the method specifically includes:
step S201, receiving an asset issuing transaction.
And step S202, generating an asset transfer transaction according to the transaction strategy of the transaction participant and the state machine of the asset issuing transaction.
Step S203, the asset transfer transaction is verified according to the state machine, and whether the asset transfer transaction is legal or not is judged.
And step S204, after the asset transfer transaction is confirmed to be legal, the asset transfer transaction is recorded into a block chain according to a consensus mechanism.
According to an embodiment of the present invention, after receiving the asset issuance transaction, the accounting node needs to verify the validity of the asset issuance transaction according to a predetermined rule, for example, check whether the transaction format of the asset issuance transaction is legal, and after confirming that the transaction format is legal, the accounting node records the asset issuance transaction in the blockchain and obtains a consensus with other accounting nodes on the blockchain.
In one embodiment, the asset transfer transaction is generated by a trading node or accounting node with trading functionality when trading participants initiate the transfer transaction according to respective trading policies. The asset transfer transaction needs to provide transfer actions and transferred states that are already specified in the state machine in the asset issuance transaction. The state machine defines the transfer action of the digital asset included in the asset issuance transaction, the start-stop state of the transfer action, and the correspondence between the transfer action and the start-stop state.
In one embodiment, a trading node or a trading-enabled accounting node broadcasts the generated asset transfer transaction into a blockchain, and the accounting node on the blockchain receives the transaction information.
According to an embodiment of the present invention, after receiving the asset transfer transaction, the accounting node further needs to verify the asset transfer transaction according to the state machine, and determine whether the asset transfer transaction is legal.
Generally, it is determined whether a transaction state obtained after a transition action coincides with an end state of the transition action calculated from the state machine. And when the transaction state obtained after the transfer action is consistent with the end state of the transfer action obtained according to the calculation of the state machine, judging that the asset transfer transaction is legal, otherwise, judging that the asset transfer transaction is illegal. And after the asset transfer transaction is confirmed to be legal, recording the asset transfer transaction into the block chain, and acquiring consensus with other accounting nodes on the block chain to finish the asset transfer.
According to an embodiment of the present invention, when determining the validity of the asset transfer transaction, it may be determined in advance whether the transfer operation of the asset transfer transaction is a valid operation defined in the state machine, that is, whether the transfer operation is described in the state machine, and if the transfer operation is described, the transfer operation is valid. When the transfer action is confirmed to be legal, whether the transaction state obtained after the transfer action is consistent with the end state of the transfer action obtained according to the calculation of the state machine can be judged. Through the two steps of judgment, the asset transfer transaction can be confirmed to be legal.
According to an embodiment of the present invention, the end state of the transition action is calculated by the state machine, and in the specific implementation, since the possible transition actions of the digital asset and the start-stop state of the transition action are already specified in the state machine, when calculating the end state of a certain transition action, the end state of the current transition action is usually calculated according to the end state of the previous transition action and the current transition action. If the current transfer action is the first transfer action of the asset transfer transaction, i.e., the "last transfer action" may not exist, the end state of the transfer action may be calculated from the initial asset state after the digital asset is issued and the corresponding transfer action described in the asset issue transaction.
To more clearly illustrate the embodiment of the present invention, the embodiment of the present invention further provides a schematic diagram of a state machine structure, as shown in fig. 3. In this state machine, transition actions a1 and a2 … … An involved in the transition of digital assets included in An asset issuance transaction are defined, the start/stop states of transition action a1 are defined as Si1 and Sj1, respectively, the start/stop states of transition action a2 are defined as Si2, Sj2 and … …, the start/stop states of transition action An are defined as Sin and Sjn, respectively, and the initial state after issuance of a digital asset is defined as Si 1. When the asset issuing transaction passes the transfer action A1, the state calculated by the state machine is Sj1, if the actual state is not Sj1, the asset transfer transaction is not legal, namely, the state obtained after the transfer action is compared with the state calculated by the state machine, and the verification of the asset transfer transaction is completed.
Based on the same inventive concept as the transfer method of the digital assets in the blockchain shown in fig. 1, the embodiment of the invention further provides a transaction node device, as described in the following embodiments. Since the principle of the modified device for solving the problem is similar to that of the transfer method of the digital asset in the blockchain shown in fig. 1, the implementation of the device can refer to the implementation of the transfer method of the digital asset shown in fig. 1, and repeated details are omitted.
Fig. 4 is a schematic structural diagram of a transaction node device according to an embodiment of the present invention, where the functional structure of the transaction node device described in this figure can complete issuance of a digital asset, and the modification device specifically includes: a state machine presetting unit 41, an asset issuing transaction generating unit 42 and a broadcasting unit 43. The state machine presetting unit 41 is configured to write data related to a digital asset to be traded into a state machine; the asset issuing transaction generating unit 42 is used for generating asset issuing transactions according to the state machine and the digital assets; the broadcast unit 43 is used to broadcast the asset issuance transaction in the blockchain.
According to an embodiment of the present invention, the data related to the digital assets includes: the transfer action of the digital asset, the start-stop state of the transfer action and the corresponding relation between the transfer action and the start-stop state.
In one embodiment, when generating an asset issuance transaction based on the state machine and the digital asset, asset issuance transaction generation unit 42 is further configured to write an initial asset state after issuance of the digital asset into the asset issuance transaction.
Fig. 5 is a schematic structural diagram of an accounting node device according to an embodiment of the present invention, where a functional structure of the accounting node device is described in this figure, the accounting node device specifically includes: a receiving unit 51, an asset transfer transaction generating unit 52, a first verification unit 53 and a first consensus unit 54. Wherein, the receiving unit 51 is used for receiving the asset issuing transaction; the asset transfer transaction generating unit 52 is configured to generate an asset transfer transaction according to the transaction policy of the transaction participant and the state machine of the asset issue transaction; the first checking unit 53 is configured to check the asset transfer transaction according to the state machine, and determine whether the asset transfer transaction is legal; the first consensus unit 54 is used to post the asset transfer transaction to the blockchain according to a consensus mechanism.
According to an embodiment of the present invention, the first checking unit 53 specifically includes a determining module and a checking result outputting module, where the determining module is configured to determine whether a transaction state obtained after a transfer action is consistent with an end state of the transfer action obtained according to the state machine; and the verification result output module is used for judging that the asset transfer transaction is legal and outputting the asset transfer transaction when the transaction state obtained after the transfer action is consistent with the end state of the transfer action obtained according to the calculation of the state machine, or judging that the asset transfer transaction is illegal and outputting the asset transfer transaction.
In an embodiment, the first checking unit 53 further includes another determining module, configured to determine whether the transfer action of the asset transfer transaction is a legal action specified in the state machine, and when it is determined that the transfer action is legal, determine a transaction state obtained after the transfer action.
In an embodiment, obtaining the ending state of the transition action according to the state machine calculation specifically includes: and calculating the end state of the current transfer action according to the end state of the last transfer action and the current transfer action.
In one embodiment, the state machine defines the transfer action of the digital asset contained in the asset issuance transaction, the start-stop state of the transfer action, and the correspondence between the transfer action and the start-stop state.
According to an embodiment of the present invention, the accounting node apparatus further includes: a second checking unit 55 and a second consensus unit 56, wherein the second checking unit 55 is used for verifying the validity of the asset issue transaction according to the preset rules, and the second consensus unit 56 is used for recording the asset issue transaction into the blockchain and obtaining consensus on the blockchain.
In an embodiment, the accounting node apparatus provided in the embodiment of the present invention further includes a broadcasting unit 57, configured to broadcast the asset transfer transaction in the blockchain after the asset issuance transaction generating unit 52 generates the asset transfer transaction.
The accounting node device provided by the embodiment of the invention can comprise a common accounting node, an accounting node with a transaction function or a transaction node in specific implementation.
The accounting node device provided by the embodiment of the invention checks whether the transfer action is legal or not and whether the state after the asset transfer is correct or not according to the state machine specified during the asset issuing, thereby ensuring that the asset circulation process is carried out according to the state change rule specified during the asset issuing, preventing the middleman of the asset transaction from changing the asset state at will and ensuring that the asset information recorded in the block chain of the digital asset in the circulation process is accurate and complete. The device provided by the embodiment of the invention can prevent the intervention of traders in the asset circulation link, so that the authority of asset information is stronger, the normalization and the integrity of digital asset information are finished by a consensus mechanism without being judged by two trading parties, the integrity of information recorded in a block chain is ensured, and meanwhile, the realization of the consensus mechanism has universality on all assets and is convenient to realize and expand.
Fig. 6 is a schematic structural diagram of a system for transferring digital assets in a blockchain according to the present invention, in which a blockchain for transferring ownership of a digital asset is described, which is composed of a trading node device and an accounting node device. The system specifically comprises:
one or more transaction node devices for writing data related to digital assets to be transacted into a state machine, generating asset issuance transactions from the state machine and the digital assets, and broadcasting the asset issuance transactions in a blockchain. The embodiment of the present invention is illustrated by taking only one transaction node device as an example, and is not meant to limit the present invention. Specifically, the transaction node device can be realized by a transaction node or an accounting node with transaction function.
One or more accounting node devices, configured to receive the asset issuance transaction, generate an asset transfer transaction according to a transaction policy of a transaction participant and a state machine of the asset issuance transaction, verify the asset transfer transaction according to the state machine, determine whether the asset transfer transaction is legal, and after the asset transfer transaction is confirmed to be legal, record the asset transfer transaction in a block chain according to a consensus mechanism. The embodiment of the present invention is only illustrated by taking a billing node device as an example, and is not meant to limit the present invention. In a specific implementation, the accounting node device may be composed of an accounting node 602, an accounting node 603, and a transaction node (or an accounting node with transaction function) 604. When node 604 is a transaction node, node 601 cannot broadcast the generated asset issuance transaction onto node 604; when node 604 is a billing node with transaction functionality, node 604 can also receive the transaction broadcast when node 601 broadcasts the generated asset issuance transaction.
According to the transfer system of the digital assets in the block chain, provided by the embodiment of the invention, the state transfer rule in the circulation process of the digital assets is specified when the digital assets are issued, the state transfer rule is recorded in the asset issuing transaction in the form of the state machine, and the subsequent asset ownership transfer process is checked in a mode of a consensus mechanism, so that the assets are ensured to change states according to the rule specified when the assets are issued, the assets are prevented from being changed by a middleman in the asset transaction at will, and the accurate and complete asset information recorded into the block chain in the circulation process of the digital assets is maintained.
Fig. 7 is a specific flowchart of a transfer method of digital assets in a blockchain according to an embodiment of the present invention, which describes an overall flow of the transfer of digital assets in the blockchain, and can be implemented by using the transfer system of digital assets shown in fig. 6. As shown in fig. 7, the method mainly includes the following steps:
step S701, the trading node (or accounting node with trading function) 601 generates an asset issuance trade, in which possible transfer actions of the digital asset, starting and stopping states of the transfer actions, and correspondence between the transfer actions and the starting and stopping states thereof are specified in the asset issuance trade, and stored in the form of a state machine in the asset issuance trade.
Step S702, the node 601 broadcasts the generated asset issuance transaction to the blockchain, so that the accounting node 602 or 603 on the blockchain receives the transaction information.
In step S703, the accounting node 602 or 603 verifies the validity of the transaction according to a preset rule (e.g., transaction format, etc.), and after the validity is confirmed, the transaction is logged into the blockchain, and the blockchain acquires a consensus with other accounting nodes (another one of the accounting nodes 602 and 603, and other accounting nodes on the blockchain). By this time, asset release is complete.
Step S704, when the trading participants initiate asset transfer according to their respective trading policies, the trading node (or accounting node with trading function) 604 generates an asset transfer trade. The generation of asset transfer transactions requires the provision of transfer actions, start-stop states for transfer actions, and the available transfer actions and states are already specified in the asset issuance transaction.
Step S705, the transaction node (or accounting node with transaction function) 604 broadcasts the generated asset transfer transaction to the blockchain, so that the accounting node on the blockchain receives the transaction information.
Step S706, the accounting nodes 602 and 603 perform transaction verification to determine whether the transaction is legal, wherein the transaction meeting the following conditions is a legal transaction:
1) the transfer action in the transaction is a legal action in the state machine of the issue transaction for the asset;
2) according to the state machine of the issuance transaction of the asset and the state of the asset after the last transaction, the state after the current transaction can be obtained and is consistent with the state provided in the transaction.
The method, the device and the system for transferring the digital assets in the block chain can ensure the normalization and the integrity of the digital asset information, prevent the digital asset information from being interfered by traders in an asset circulation link, enable the authority of the asset information to be stronger, and enable the normalization and the integrity of the digital asset information to be completed by a consensus mechanism without being judged by two traders, thereby ensuring the integrity of the information recorded into the block chain, and simultaneously realizing the consensus mechanism to have universality for all the assets, thereby being convenient for realization and expansion.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The principle and the implementation mode of the invention are explained by applying specific embodiments in the invention, and the description of the embodiments is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, 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 invention.

Claims (9)

1. A method for transferring digital assets in a blockchain, the method comprising:
receiving an asset issuance transaction;
generating an asset transfer transaction according to a transaction strategy of a transaction participant and a state machine of the asset issuing transaction;
verifying the asset transfer transaction according to the state machine, and judging whether the asset transfer transaction is legal or not;
after the asset transfer transaction is confirmed to be legal, recording the asset transfer transaction into a block chain according to a consensus mechanism;
wherein, the state machine prescribes the transfer action of the digital assets contained in the asset issuing transaction, the starting and stopping states of the transfer action and the corresponding relation between the transfer action and the starting and stopping states;
verifying the asset transfer transaction according to the state machine, and judging whether the asset transfer transaction is legal or not, wherein the method specifically comprises the following steps: determining whether the transfer action of the asset transfer transaction is a legal action specified in the state machine; when the transfer action is determined to be legal, judging whether the transaction state obtained after the transfer action is consistent with the end state of the transfer action obtained according to the calculation of the state machine; and when the transaction state obtained after the transfer action is consistent with the end state of the transfer action obtained according to the calculation of the state machine, judging that the asset transfer transaction is legal, otherwise, judging that the asset transfer transaction is illegal.
2. The method of transferring digital assets in a blockchain of claim 1 wherein upon receiving the asset issuance transaction, the method of transferring further comprises:
verifying the validity of the asset issuing transaction according to a preset rule;
and after the asset issuing transaction is confirmed to be legal, recording the asset issuing transaction into a block chain, and acquiring consensus on the block chain.
3. The method for transferring digital assets in a blockchain of claim 1 wherein after generating the asset transfer transaction, the method further comprises: broadcasting the asset transfer transaction in a blockchain.
4. The method of claim 1, wherein the obtaining of the end state of the transfer operation according to the state machine calculation comprises: and calculating the end state of the current transfer action according to the end state of the last transfer action and the current transfer action.
5. An accounting node arrangement, characterized in that said accounting node arrangement comprises:
a receiving unit for receiving an asset issuance transaction;
the asset transfer transaction generating unit is used for generating an asset transfer transaction according to a transaction strategy of a transaction participant and a state machine of the asset issuing transaction;
the first checking unit is used for checking the asset transfer transaction according to the state machine and judging whether the asset transfer transaction is legal or not;
a first consensus unit for posting the asset transfer transaction to a blockchain according to a consensus mechanism;
wherein, the state machine prescribes the transfer action of the digital assets contained in the asset issuing transaction, the starting and stopping states of the transfer action and the corresponding relation between the transfer action and the starting and stopping states;
the first verification unit specifically includes:
a second judgment module, configured to judge whether the transfer action of the asset transfer transaction is a legal action specified in the state machine;
the first judgment module is used for judging whether the transaction state obtained after the transfer action is consistent with the ending state of the transfer action obtained by the calculation of the state machine;
and the verification result output module is used for judging that the asset transfer transaction is legal and outputting the asset transfer transaction when the transaction state obtained after the transfer action is consistent with the end state of the transfer action obtained according to the calculation of the state machine, or judging that the asset transfer transaction is illegal and outputting the asset transfer transaction.
6. The accounting node arrangement of claim 5, wherein after receiving the asset issuance transaction, the accounting node arrangement further comprises:
the second checking unit is used for verifying the validity of the asset issuing transaction according to a preset rule;
and the second consensus unit is used for recording the asset issuing transaction into a block chain and acquiring consensus on the block chain.
7. Accounting node arrangement according to claim 5, wherein said accounting node arrangement further comprises: a broadcast unit to broadcast the asset transfer transaction in a blockchain after the asset transfer transaction is generated.
8. The accounting node device of claim 5, wherein obtaining the ending state of the transition action according to the state machine calculation specifically comprises: and calculating the end state of the current transfer action according to the end state of the last transfer action and the current transfer action.
9. A system for transferring digital assets in a blockchain, the system comprising:
one or more transaction node devices for writing data related to digital assets to be transacted into a state machine, generating asset issuance transactions from the state machine and the digital assets, broadcasting the asset issuance transactions in a blockchain, wherein the data related to the digital assets comprises: the transfer action of the digital asset, the start-stop state of the transfer action and the corresponding relation between the transfer action and the start-stop state;
one or more accounting node devices, configured to receive the asset issuance transaction, generate an asset transfer transaction according to a transaction policy of a transaction participant and a state machine of the asset issuance transaction, verify the asset transfer transaction according to the state machine, determine whether the asset transfer transaction is legal, and after the asset transfer transaction is confirmed to be legal, record the asset transfer transaction into a block chain according to a consensus mechanism;
wherein, the state machine prescribes the transfer action of the digital assets contained in the asset issuing transaction, the starting and stopping states of the transfer action and the corresponding relation between the transfer action and the starting and stopping states;
verifying the asset transfer transaction according to the state machine, and judging whether the asset transfer transaction is legal or not, wherein the method specifically comprises the following steps: determining whether the transfer action of the asset transfer transaction is a legal action specified in the state machine; when the transfer action is determined to be legal, judging whether the transaction state obtained after the transfer action is consistent with the end state of the transfer action obtained according to the calculation of the state machine; and when the transaction state obtained after the transfer action is consistent with the end state of the transfer action obtained according to the calculation of the state machine, judging that the asset transfer transaction is legal, otherwise, judging that the asset transfer transaction is illegal.
CN201611090525.4A 2016-11-30 2016-11-30 Method, device and system for transferring digital assets in block chain Active CN106780025B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611090525.4A CN106780025B (en) 2016-11-30 2016-11-30 Method, device and system for transferring digital assets in block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611090525.4A CN106780025B (en) 2016-11-30 2016-11-30 Method, device and system for transferring digital assets in block chain

Publications (2)

Publication Number Publication Date
CN106780025A CN106780025A (en) 2017-05-31
CN106780025B true CN106780025B (en) 2021-03-02

Family

ID=58915445

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611090525.4A Active CN106780025B (en) 2016-11-30 2016-11-30 Method, device and system for transferring digital assets in block chain

Country Status (1)

Country Link
CN (1) CN106780025B (en)

Families Citing this family (39)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107341730A (en) * 2017-07-14 2017-11-10 贵阳翼帆金融科技股份有限公司 A kind of method and device that fund is declared using digital draft
CN107403379B (en) * 2017-08-07 2021-02-26 成都质数斯达克科技有限公司 Data processing method and device and block chain core distributed system
CN107506917A (en) * 2017-08-16 2017-12-22 北京盛世博创信息技术有限公司 A kind of tracking and system of carbon circulation information
CN109426949B (en) * 2017-08-29 2021-02-09 华为技术有限公司 Cross-chain transaction method and device
WO2019043536A1 (en) * 2017-08-29 2019-03-07 nChain Holdings Limited Concurrent state machine processing using a blockchain
CN107679939A (en) * 2017-09-21 2018-02-09 深圳市云帆流量科技有限公司 A kind of digital asset circulation method and system
CN108320173A (en) * 2017-12-12 2018-07-24 北京瑞卓喜投科技发展有限公司 Integration processing method and device based on block chain technology
CN109961294A (en) * 2017-12-21 2019-07-02 深圳市优权天成科技有限公司 Commodity based on block chain are really weighed and ownership transfer method and system
CN108154366B (en) * 2017-12-25 2021-09-14 丁江 Cross-chain digital asset transfer method and terminal equipment
CN108335207B (en) * 2018-02-14 2020-08-04 阿里巴巴集团控股有限公司 Asset management method and device and electronic equipment
CN108615195B (en) * 2018-04-28 2021-12-07 腾讯科技(深圳)有限公司 Resource transfer information transmission method and device, storage medium and electronic device
CN108648081B (en) * 2018-05-07 2020-08-18 北京柏链基石科技有限公司 Transaction processing method and device based on block chain and electronic equipment
CN108615156A (en) * 2018-05-09 2018-10-02 上海魅联信息技术有限公司 A kind of data structure based on block chain
CN108696587B (en) * 2018-05-11 2022-02-22 深圳市网心科技有限公司 Network service implementation method, server and storage medium
CN108632285A (en) * 2018-05-11 2018-10-09 深圳市网心科技有限公司 Network service implementation method, service node device and storage medium
CN108667841A (en) * 2018-05-11 2018-10-16 深圳市网心科技有限公司 Network service implementation method, server and storage medium
CN108765129B (en) * 2018-05-17 2019-08-23 北京众享比特科技有限公司 The distribution of traditional bank assets and system for settling account and method based on block chain
CN108805737A (en) * 2018-05-23 2018-11-13 房军 A kind of block chain application based on agriculture plantation
CN110555696B (en) * 2018-05-31 2023-01-31 本无链科技(深圳)有限公司 Asset issuing method, system and device based on block chain guarantee
CN110428237B (en) * 2018-06-07 2021-05-14 腾讯科技(深圳)有限公司 Resource processing method and device, storage medium and electronic device
CN108830686A (en) * 2018-06-08 2018-11-16 中链科技有限公司 A kind of assets information processing method and server based on block chain
CN109242667A (en) * 2018-06-28 2019-01-18 平安科技(深圳)有限公司 Assets management method and device, computer equipment and readable storage medium storing program for executing
CN109166021A (en) * 2018-07-26 2019-01-08 阿里巴巴集团控股有限公司 Bookkeeping methods, device and business finance integral system
WO2020037623A1 (en) * 2018-08-23 2020-02-27 区链通网络有限公司 Capacity expansion method, device, and system for quantum-resistant blockchain account system
CN109242684A (en) * 2018-08-27 2019-01-18 北京京东金融科技控股有限公司 Asset State processing method and device based on block chain
CN109214823A (en) * 2018-08-27 2019-01-15 北京京东金融科技控股有限公司 Transaction verification method, device, storage medium and electronic equipment based on block chain
CN109377365B (en) * 2018-10-18 2020-09-15 杭州复杂美科技有限公司 Asset transfer method, device and storage medium
EP3552173A4 (en) * 2018-11-30 2020-01-15 Alibaba Group Holding Limited Platform for atomic transfer of smart assets within blockchain networks
CN109544171A (en) * 2018-11-30 2019-03-29 众安信息技术服务有限公司 For realizing the method and apparatus of the consistency of transregional piece of chain transaction
CN109598142B (en) * 2018-12-05 2022-02-22 腾讯科技(深圳)有限公司 Credit right certificate generation method and device, electronic equipment and storage medium
CN109670953A (en) * 2018-12-13 2019-04-23 杭州秘猿科技有限公司 A kind of equity register method, device and equipment
CN109872235B (en) * 2019-01-25 2020-09-29 东莞市大易产业链服务有限公司 Digital asset intercommunication method based on block chain technology
CN110458538B (en) * 2019-07-31 2021-09-24 创新先进技术有限公司 State machine maintenance method and device based on block chain, electronic equipment and storage medium
CN110555774A (en) * 2019-09-10 2019-12-10 苏州阿尔山数字科技有限公司 Distributed consensus mechanism with arbitration
CN111709735B (en) * 2020-04-28 2023-10-20 上海墨珩网络科技有限公司 System and method for processing trusted transaction based on blockchain
CN111667268B (en) * 2020-05-29 2024-01-23 中国工商银行股份有限公司 Transaction method, node and system based on blockchain
CN112967049B (en) * 2021-03-22 2022-06-28 支付宝(杭州)信息技术有限公司 Method and device for issuing receivable through block chain
CN113805862A (en) * 2021-09-22 2021-12-17 东软集团股份有限公司 Asset management method, device, electronic equipment and medium
CN117527832A (en) * 2024-01-03 2024-02-06 杭州趣链科技有限公司 Transaction ordering method and device for blockchain, electronic equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7698186B2 (en) * 2005-07-26 2010-04-13 International Business Machines Corporation Multi-level transaction flow monitoring
CN105719172A (en) * 2016-01-19 2016-06-29 布比(北京)网络技术有限公司 Information issuing method and device
CN105893042A (en) * 2016-03-31 2016-08-24 北京航空航天大学 Intelligent contract implementation method based on block chain

Also Published As

Publication number Publication date
CN106780025A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN106780025B (en) Method, device and system for transferring digital assets in block chain
TWI726468B (en) Asset rights management system based on blockchain and method thereof
US11797982B2 (en) Digital ledger authentication using address encoding
US11170437B2 (en) Blockchain-based financing
CN108764870B (en) Transaction processing method and device based on block chain and electronic equipment
US20190080407A1 (en) System and method of providing unique identifiers in security blockchain-based tokens
JP2021061021A (en) Device, system, and method for facilitating low trust and zero trust value transfer
CN108804881B (en) Controlled application distribution
CN110896659B (en) Data processing method, node, blockchain network and virtual data carrier
CN112037068B (en) Resource transfer method, system, device, computer equipment and storage medium
US11361289B1 (en) Distributed cryptographic tokens with downstream administrative control
CN112819466A (en) Digital certificate processing method and device, terminal equipment and storage medium
CN112561407B (en) Asset management method, system and device based on block chain
US20220027867A1 (en) Cryptographic token with separate circulation groups
CN110659993A (en) Resource management method and device based on block chain network
CN114358947A (en) Block chain based pricing method and device
CN114742654A (en) Digital asset circulation method, system, electronic device and medium based on alliance chain
CN113126996A (en) Code auditing method, device and system
CN113011879B (en) Associated transaction data processing method, device and server
CN110766403A (en) Data processing device and method based on block chain and storage medium
CN111833059B (en) Data asset management method in data bank and data bank system
CN112330330B (en) Rights and interests data processing method and device, computer equipment and storage medium
CN110807698A (en) Block chain general certificate borrowing and lending application method and system
CN110175831B (en) Credit transfer method and device based on blockchain and electronic equipment
CN112508557A (en) Virtual certificate method and system based on block chain

Legal Events

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