CN111213170A - Asset hosting method, storage medium, blockchain system, and blockchain node - Google Patents

Asset hosting method, storage medium, blockchain system, and blockchain node Download PDF

Info

Publication number
CN111213170A
CN111213170A CN201880007972.XA CN201880007972A CN111213170A CN 111213170 A CN111213170 A CN 111213170A CN 201880007972 A CN201880007972 A CN 201880007972A CN 111213170 A CN111213170 A CN 111213170A
Authority
CN
China
Prior art keywords
node
asset
witness
hosting
entity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201880007972.XA
Other languages
Chinese (zh)
Other versions
CN111213170B (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.)
Hunan Zhizhou Information Technology Co ltd
Original Assignee
Individual
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 Individual filed Critical Individual
Publication of CN111213170A publication Critical patent/CN111213170A/en
Application granted granted Critical
Publication of CN111213170B publication Critical patent/CN111213170B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof

Landscapes

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

Abstract

An asset hosting method, a storage medium, a blockchain system, and a blockchain node. The method comprises the following steps: requesting signature authorization of a holder node of the asset, an entity token of the asset, and a witness node by the hosting smart contract when an execution condition of the hosting smart contract is satisfied (S21); and executing the escrow smart contract upon signature authorization of any two of the asset holder node, the entity token, and the witness node (S22); wherein the asset holder node is a node in the blockchain system of the owner of the asset; the witness node is a block chain node randomly selected by the hosting intelligent contract through a preset algorithm when the asset holder transfers the asset to the hosting intelligent contract; the entity token is entity hardware corresponding to the asset and is used for generating a one-time password to carry out signature authorization on the execution of the managed intelligent contract.

Description

Asset hosting method, storage medium, blockchain system, and blockchain node Technical Field
The present disclosure relates to the field of asset hosting, and in particular, to an asset hosting method, a storage medium, a blockchain system, and a blockchain node.
Background
The traditional asset hosting business refers to a business bank with certain qualification as a hosting person, and according to related laws and regulations, a entrusted asset hosting contract is signed with a client, entrusted investment assets are safely kept, and related responsibilities of the client are fulfilled. In this model, asset hosting relies on a centralized hosting party, which plays a hosting and arbitration role in this regard.
The block chain technology is completely decentralized, the intelligent contracts on the block chain technology can ensure that the operation is not interfered by illegal human beings, and meanwhile, the intelligent contracts can manage the contracts in a multi-sign mode through the powerful programming capability to control the execution of the contracts. Therefore, in the related art, there is an asset hosting method for commonly managing contracts by a plurality of accounts by a blockchain technique.
However, the existing asset hosting scheme based on the intelligent contract established on the blockchain is only applicable to digital assets, that is, assets which exist in the form of electronic data and can be applied to the blockchain system, and can only meet the common multi-label scenario. For hardware-controlled digital assets or materialized physical assets, the prior blockchain technology has no corresponding asset hosting method.
Disclosure of Invention
In order to solve the above problems in the prior art, embodiments of the present disclosure provide an asset hosting method, a storage medium, a blockchain system, and a blockchain node.
In order to achieve the above object, a first aspect of the embodiments of the present disclosure provides an asset hosting method applied to a blockchain system, where a hosting intelligent contract is deployed, the method including:
when the execution condition of the managed intelligent contract is met, the managed intelligent contract requests signature authorization of a node of an asset holder, an entity token of the asset and a node of a witness; and are
Executing the escrow intelligent contract upon obtaining signature authorization for any two of the asset holder node, the entity token, and the witness node;
wherein the asset holder node is a node in the blockchain system of the owner of the asset;
the witness node is a block chain node randomly selected by the hosting intelligent contract through a preset algorithm when the asset holder transfers the asset to the hosting intelligent contract;
the entity token is entity hardware corresponding to the asset and is used for generating a one-time password to sign and authorize the transaction of the asset.
Optionally, the asset is a digital asset controlled by hardware, and the managed smart contract records a public key of the hardware controlling the digital asset, and the method further includes:
the asset holder node transfers the digital assets into the hosted smart contract, the digital assets being digital assets controlled by the entity token or digital assets controlled by the asset holder node.
Optionally, the asset is digital content of a physical asset controlled by a corresponding entity token, the method further comprising:
the entity token generates a key pair, sends a public key of the key pair to the escrow smart contract, and transfers digital content controlled by the entity token to the escrow smart contract.
Optionally, the method further comprises:
miners' nodes in the block chain system compete to determine the witness nodes by generating random numbers.
Optionally, the determining the witness node by the miners' nodes in the blockchain system competing by generating random numbers includes:
the method comprises the steps that a miner node obtains random number information sent by an entity token owned by an owner of the miner node, wherein the random number information comprises a generated random number of the entity token and private key signature information of the entity token;
the miner node sends the random number information to the escrow intelligent contract, and the escrow intelligent contract carries out signature authentication on private key signature information in the random number information by using a public key of the entity token;
and after the signature authentication of the private key signature information is passed, determining the miner node corresponding to the random number meeting the preset condition as the witness node.
Optionally, the determining the witness node by the miners' nodes in the blockchain system competing by generating random numbers includes:
miners' nodes in the block chain system compete to determine a plurality of candidate witness nodes in a mode of generating random numbers;
the method further comprises the following steps:
determining a target witness node according to the service related information of the witness nodes, wherein the service related information comprises procedure cost information;
the method for requesting the signature authorization of the asset holder node, the entity token of the asset and the witness node by the hosting intelligent contract comprises the following steps:
the escrow smart contract requests signature authorization of the asset holder node, the entity token, and the target witness node.
Optionally, the asset is digital currency, the entity token is a hardware entity of the digital currency, and the escrow smart contract requests signature authorization of the holder node, the entity token of the asset, and the witness node, including:
the blockchain node initiates a transaction request to the blockchain system, wherein the transaction request comprises signature information and transfer address information of a digital currency hardware entity;
the block chain system carries out signature authentication on the signature information according to the public key of the digital currency hardware entity; and are
After the signature authentication of the signature information passes, initiating a contract execution request to the escrow intelligent contract;
when receiving a contract execution request, the hosting intelligent contract initiates a signature authorization request to the asset holder node and the witness node;
and after the signature authorization of any one of the holder node and the witness node is obtained, transferring the digital currency of the digital currency hardware entity according to the transfer address information.
A second aspect of embodiments of the present disclosure provides an asset hosting method comprising the method steps performed by the asset holder node in the method of the first aspect.
A third aspect of embodiments of the present disclosure provides an asset hosting method comprising the method steps performed by the witness node in the method of the first aspect.
A fourth aspect of embodiments of the present disclosure provides an asset hosting method comprising the method steps performed by the entity token in the method of the first aspect.
A fifth aspect of embodiments of the present disclosure provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor, implements the steps performed by the asset holder node in the asset hosting method of the first aspect.
A sixth aspect of embodiments of the present disclosure provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor, implements the steps performed by the witness node in the asset hosting method of the first aspect.
A seventh aspect of embodiments of the present disclosure provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor, implements the steps performed by the entity token in the asset hosting method according to the first aspect.
An eighth aspect of embodiments of the present disclosure provides a blockchain node configured to perform the steps performed by the asset holder node in the asset hosting method of the first aspect; and/or the presence of a gas in the gas,
the blockchain node is configured to perform the steps performed by the witness node in the asset hosting method of the first aspect.
A ninth aspect of embodiments of the present disclosure provides a blockchain system, including a blockchain link point as an asset holder node configured to perform the steps performed by the asset holder node in the asset hosting method of the first aspect; and the number of the first and second groups,
a mineworker node configured to perform the steps performed by the witness node in the asset hosting method of the first aspect when the mineworker node is acting as a witness node.
By adopting the technical scheme, the following technical effects can be achieved:
aiming at the problem that a bearer may lose or forget a key of an materialized carrier corresponding to a hosted asset, in the method provided by the embodiment of the disclosure, when an execution condition is met, a hosting intelligent contract of a block chain system only needs to obtain signature authorization of any two of an asset bearer node, an entity token (namely, the materialized carrier of the hosted asset) and a witness node, so that the intelligent contract can be executed, and the problem that the materialized carrier cannot be found back after being lost is avoided. And each time when the assets are managed, the intelligent contract is managed to randomly select the witness nodes, so that the condition that the witness is badly managed is solved, and the assets are prevented from being maliciously invaded. In addition, in a possible implementation manner, the technical scheme provided by the embodiment of the disclosure can select the final unique target witness node from a plurality of randomly selected witness nodes based on the procedure cost information collected by each witness node, so that the asset hosting method provided by the disclosure has a procedure cost bargaining function, meets the user requirement, and improves the user experience.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure without limiting the disclosure. In the drawings:
FIG. 1 is a schematic illustration of an implementation environment provided by embodiments of the present disclosure;
FIG. 2 is a schematic flow chart diagram of an asset hosting method provided by an embodiment of the present disclosure;
FIG. 3 is a schematic flow chart diagram of another asset hosting method provided by embodiments of the present disclosure;
FIG. 4 is a schematic flow chart diagram of another asset hosting method provided by embodiments of the present disclosure;
FIG. 5 is a schematic diagram of a transaction of a physical asset being hosted using the asset hosting method provided by embodiments of the present disclosure;
FIG. 6 is a schematic flow chart of a process for a miner node competing to generate a witness node according to an embodiment of the disclosure;
FIG. 7 is a schematic flow chart diagram of another asset hosting method provided by embodiments of the present disclosure;
FIG. 8 is a schematic diagram of a method for selecting a unique target witness node from the miner nodes provided by an embodiment of the disclosure;
FIG. 9 is a schematic flow chart diagram of another asset hosting method provided by embodiments of the present disclosure;
fig. 10 is a schematic structural diagram of a blockchain node according to an embodiment of the present disclosure.
Detailed Description
The following detailed description of specific embodiments of the present disclosure is provided in connection with the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present disclosure, are given by way of illustration and explanation only, not limitation.
In order to make the technical solutions provided by the embodiments of the present disclosure easier for those skilled in the art, the following first describes related technologies related to the embodiments of the present disclosure.
Block chains: the block chain is a decentralized distributed database system which is jointly maintained by all nodes in a block chain network and consists of a series of data blocks generated based on a cryptography method, wherein each data block is one block in the block chain. The blocks are linked together in order according to the chronological order of the generation times, forming a chain of data, which is referred to visually as a chain of blocks. The blockchain has the security characteristics of being unchangeable, unforgeable and completely traceable due to the special blockchain and the transaction generation and verification protocol.
Multiple signature technique of block chain: a contract is established that is commonly managed by a plurality (say n) of accounts, and when it is required to execute the contract, at least a certain number (m) of accounts are required to agree, where m < ═ n.
A miner node: nodes participating in blockchain blockgrowth generally receive rewards through competing calculations.
Public and private keys: publishkey and PrivateKey. A key pair (i.e., a public key and a private key) is derived by an algorithm, the public key being the public part of the key pair, and the private key being the private part. The public key is typically used to encrypt the session key, verify the private key signature, or encrypt data that can be decrypted with the corresponding private key. The private key is typically used to sign a piece of data and can be verified by the public key.
Digital currency hardware entity: the method comprises the steps of storing a key pair of a blockchain account by an materialized carrier of digital currency circulating in a blockchain system, wherein a private key of the key pair is unreadable in a key chip, and a public key of the key pair is readable in the key chip. The wallet address in the block chain account is generated according to the public key, so that the public key in the hardware entity of the digital currency can be read to realize the operations of balance inquiry or recharging and the like of the hardware entity of the digital asset by the terminal equipment, and the private key can not be read to avoid backup and recovery of the private key, so that the digital currency has anti-counterfeiting and non-replicability of the currency, wherein when the digital currency is transacted on line, the digital currency needs to be signed by the private key of the hardware entity of the digital currency.
The following embodiments of the present disclosure can be used in the implementation environment shown in fig. 1, such as the blockchain system 11 shown in fig. 1, including: an entity token 101, an asset holder node 102, and a miner node cluster 103, the miner node cluster 103 including a plurality of miner nodes, such as miner node a through miner node G shown in fig. 1, the hosted intelligent contracts 104 being deployed on a blockchain system. It is worth to be noted that the intelligent contract is automatically executed contract code written into a block chain, and the decentralized characteristic of the block chain technology can avoid the influence of centralized factors on normal and fair execution of the contract.
The embodiment of the present disclosure provides an asset hosting method, which is applied to a blockchain system, such as blockchain system 11 shown in fig. 1, where a hosting intelligent contract is deployed in the blockchain system, as shown in fig. 2, the method includes:
and S21, when the execution condition of the managed intelligent contract is met, the managed intelligent contract requests the signature authorization of the asset holder node, the entity token of the asset and the witness node.
And S22, executing the managed intelligent contract when obtaining the signature authorization of any two of the asset holder node, the entity token and the witness node.
Wherein the asset holder node is a node in the blockchain system of the owner of the asset; the witness node is a block chain node randomly selected by the hosting intelligent contract through a preset algorithm when the asset holder transfers the asset to the hosting intelligent contract; the entity token is entity hardware corresponding to the asset and is used for generating a one-time password to sign and authorize the transaction of the asset.
It should be noted that the assets described in this disclosure may include assets that are in electronic data form, are held, sold or in the process of production in daily activities, such as digital currency on-line with respect to a digital currency hardware entity, or other electronic forms of transferable data information, such as electronic identification information of artwork, etc. Still further, the assets of the present disclosure should also be understood more broadly to include the actual valuable digital content of other physical assets, such as, for example, a copyright ticket, an authorization certificate, and the like.
By adopting the method, aiming at the problem that a bearer may lose or forget a key of an materialized carrier corresponding to a hosted asset, the hosting intelligent contract of the block chain system provided by the embodiment of the disclosure can be executed only by obtaining signature authorization of any two of an asset bearer node, an entity token (namely the materialized carrier of the hosted asset) and a witness node when the hosting intelligent contract meets the execution condition, so that the problem that the materialized carrier cannot be found back after being lost is avoided. And each time when the assets are managed, the intelligent contract is managed to randomly select the witness nodes, so that the condition that the witness is badly managed is solved, the assets are prevented from being maliciously invaded, and the safety of the management is improved.
The method steps are described in detail below with the assets being digital assets controlled by hardware and the digital content of physical assets as examples.
In a possible implementation manner of the embodiment of the present disclosure, the asset described in step S21 is a digital asset controlled by hardware, in which case, the asset hosting method provided by the embodiment of the present disclosure is shown in fig. 3, and includes:
s201, the asset holder node transfers the digital asset controlled by the hardware into the hosting intelligent contract.
It is worth noting that the digital asset may specifically be a digital asset controlled by an entity token, and may also be a digital asset controlled by the asset holder node.
Taking digital currency as an example, the asset holder node may establish a transfer transaction, obtain a private key signature of a digital currency hardware entity, issue transaction information signed by the private key to the blockchain system, and transfer the digital currency controlled by the digital currency hardware entity to an escrow account of an intelligent contract. Alternatively, the asset holder node may also use its own private key to sign transactions to transfer the digital assets of its own account to the escrow account of the escrow smart contract.
As will be appreciated by those skilled in the art, in order to sign and authorize a transaction of a managed asset, a hosting smart contract needs to obtain a public key of an entity token. In addition, the private key of the entity token is not readable, and the public key is readable, which can be referred to the introduction of the hardware entity of digital currency. In this way, in step S301, when the asset holder node transfers the digital asset to the escrow intelligent contract, the public key of the entity token may be read and sent to the escrow intelligent contract, so that the escrow intelligent contract performs signature verification on the signature of the private key of the entity token according to the public key when executing.
And S211, when the execution condition of the managed intelligent contract is met, requesting the signature authorization of the asset holder node, the asset hardware entity and the witness node by the managed intelligent contract.
S221, executing the hosting intelligent contract when signature authorization of any two of the asset holder node, the asset hardware entity and the witness node is obtained.
In a possible implementation manner of the embodiment of the present disclosure, in step S21, the asset is digital content of a physical asset, which is controlled by a corresponding entity token, in which case, the asset hosting method provided by the embodiment of the present disclosure is shown in fig. 4 and includes:
s202, the entity token generates a key pair, a public key in the key pair is sent to the hosting intelligent contract, and the digital content controlled by the entity token is transferred to the hosting intelligent contract.
It should be noted that the physical asset may be generated in different ways according to the source and type of the physical asset, for example, the physical asset may be an art with collection value, and the physical token may be an electronic certificate issued by a special art certification authority for certifying the authenticity of the art, and a public key and a private key are generated by hardware of the electronic certificate when the electronic certificate is generated, and the public key and digital content related to the art controlled by the electronic certificate are sent to a hosting intelligent contract of the blockchain system.
The foregoing is merely an example, and similar physical assets accompanied by digital content of a certain value may all be hosted using the methods provided by embodiments of the present disclosure.
And S21, when the execution condition of the managed intelligent contract is met, the managed intelligent contract requests the signature authorization of the asset holder node, the entity token and the witness node.
The asset holder node is a node in the blockchain system of the user owning the artwork, and it will be appreciated by those skilled in the art that the public key of the entity token (e.g., the electronic certificate of authenticity as illustrated above) and the public key of the asset holder node are both sent to the hosting smart contract when hosting.
And S22, executing the managed intelligent contract when obtaining the signature authorization of any two of the asset holder node, the entity token and the witness node.
Fig. 5 illustrates a process of a physical asset transaction in a case where digital content of a physical asset is hosted by using an asset hosting method provided by an embodiment of the present disclosure. As shown in the figure, a holder and a purchaser can complete a transaction of a physical asset (for example, an artwork is illustrated in the figure) on line, digital content of the physical asset (for example, electronic identification information of the artwork) is hosted in a hosting intelligent contract of a blockchain system, so that after the purchaser obtains an entity token (an electronic identification certificate of the artwork) corresponding to the physical asset, the purchaser can initiate a request for requesting the hosting intelligent contract to transfer the digital content to a purchaser node in the blockchain system, and thus, after the hosting intelligent contract obtains the private keys of any two of the entity token, the holder node and the witness node, the operation of transferring the digital content to the purchaser node can be performed, and the on-line transaction is completed. Because only the entity token, the holder node and the witness node are required to sign any two private keys, the online transaction can be executed, the problem that a purchaser cannot obtain digital contents due to the fact that the entity token or the holder is disconnected is avoided, and the safety and the reliability of the trusteeship are improved.
The selection of the witness node is explained in detail below.
Specifically, miners' nodes in the blockchain system may compete to determine the witness node by generating random numbers.
Illustratively, a randomly generated random number can be signed by the miner nodes participating in the election by using the private key of the miner nodes, and a plurality of qualified miner nodes are selected by the intelligent contract according to the size of the random number and a certain rule.
There are several ways to generate random numbers, for example, random numbers can be generated by the mineworker node device itself, and a more preferred implementation is shown in fig. 6, which includes:
s51, the miner node obtains the random number information sent by the entity token owned by the owner of the miner node, wherein the random number information comprises the generated random number of the entity token and the private key signature information of the entity token.
It should be noted that the user of the mineworker node may also be the asset holder, and therefore, a node in the blockchain system may be both the asset holder node and the mineworker node, so that the embodiment of the disclosure may generate the random number from the entity token owned by the owner of the mineworker node, and in particular, the entity token may include a key chip and a random number generation chip.
And S52, the miner node sends the random number information to the escrow intelligent contract, and the escrow intelligent contract utilizes the public key of the entity token to perform signature authentication on the private key signature information in the random number information.
Specifically, the miner node may use its own private key to sign the random number information generated by the obtained entity token, and send the signed random number information to the escrow intelligent contract.
And S53, after the signature authentication of the private key signature information is passed, determining the miner node corresponding to the random number meeting the preset condition as the witness node.
It is worth noting that the public key of the entity token can be uploaded to the block chain during production and release so as to verify whether the random number is generated by real and legal hardware, and meanwhile, the hardware for generating the random number is ensured to be the same, and the fairness of the miner node as the witness node is improved.
For example, the preset condition to be satisfied by the random number may be: the random number with the numerical value between the intervals [50 and 60] can be set according to actual requirements in specific implementation, and moreover, the preset conditions for screening the random number of the managed intelligent contract can be subjected to secret processing, so that the random number is prevented from being cracked and obtained.
The witness node is determined by the method, so that the possible cheating condition caused by the fact that the miner node generates random numbers is avoided, and the complete randomization of the selection of the witness node is realized.
Optionally, in the embodiment of the disclosure, a plurality of candidate witness nodes may be screened in advance, and when an intelligent contract is managed, a single target witness node is selected according to the related information from the plurality of candidate witness nodes to sign the contract for execution. The relevant information may include the commission information collected by the witness node, thereby enabling the escrow to have commission negotiation capabilities. That is, the method provided by the embodiment of the present disclosure may be as shown in fig. 7, including:
and S61, after the asset holder node transfers the asset to the hosting intelligent contract, the miner nodes in the block chain system compete to determine a plurality of candidate witness nodes in a random number generating mode.
The method for generating the witness node through competition among the miner nodes can specifically refer to the corresponding description above, and details are not repeated here. By setting a preset condition to be satisfied by the random number, a plurality of random numbers satisfying the condition may be provided, for example: and N random numbers with the maximum value and the numerical value between the intervals [50,60], wherein N is a positive integer larger than 1, so that a plurality of candidate witness nodes can be obtained.
S62, the hosting intelligent contract determines a target witness node according to the service related information of the witness nodes, wherein the service related information comprises procedure cost information.
And S63, when the execution condition of the managed intelligent contract is met, the managed intelligent contract requests the signature authorization of the asset holder node, the entity token and the target witness node.
And S64, executing the managed intelligent contract when obtaining the signature authorization of any two of the asset holder node, the entity token and the target witness node.
Fig. 8 is a schematic diagram illustrating the selection of a target witness node, and as shown in fig. 8, the nodes participating in the competition include a miner node a to a miner node G, and after the competition of random numbers, three candidate miner nodes a, C and G are determined. Finally, the miner node A with the lowest commission fee can be selected from the miner nodes A, C and G as the target witness node through the commission fee, and the maximum benefit of the asset custodian is ensured.
The following describes in detail the asset hosting method provided by the embodiment of the present disclosure by taking an asset as digital currency and an entity token as a hardware entity of the digital currency, as shown in fig. 9, including:
s81, the blockchain nexus initiates a transaction request to the blockchain system, the transaction request including signature information and transfer address information for a digital currency hardware entity.
It should be noted that the transaction of digital currency may include two processes, that is, offline and online, a holder of the digital currency hardware entity may pay the digital currency hardware entity offline to another user, and after the user acquires the digital currency hardware entity, the corresponding digital asset still belongs to the original holder, and the digital asset already hosted needs to be transferred to the user's own blockchain account to complete the transaction.
Therefore, in step S81, the block link point from which the transaction is initiated may be understood as the owner of the hardware entity that newly acquired the digital currency, and may belong to a different node than the asset holder node. Specifically, the blockchain nexus creates a transaction that transfers the hosted digital asset to its own account, requests a digital currency hardware entity to perform private key signing on the transaction, and issues the signed transaction request to the blockchain system.
And S82, the blockchain system performs signature authentication on the signature information according to the public key of the digital currency hardware entity.
And S83, after the signature authentication of the signature information passes, initiating a contract execution request to the escrow intelligent contract.
And S84, when the managed intelligent contract receives the contract execution request, the managed intelligent contract sends a signature authorization request to the asset holder node and the witness node.
And S85, after the signature of any one of the holder node and the witness node is authorized, transferring the digital money of the digital money hardware entity according to the transfer address information.
Fig. 9 is only one possible implementation manner of the present disclosure, and specifically, an asset holder node may be used for initiating an execution request to a hosted intelligent contract, and the hosted intelligent contract may be executed as long as two parties authorize signing, so that the asset holder node may create and sign a transaction by itself and send the transaction to the hosted intelligent contract, and after the hosted intelligent contract receives a transaction request sent by an asset holder and succeeds in verification of a private key, the hosted intelligent contract may send signature authorization requests to a digital currency hardware entity and a witness node, and after obtaining signature authorization of any one of the digital currency hardware entity and the witness node, the hosted intelligent contract may be executed to complete the transaction, thereby avoiding a problem that an asset cannot be retrieved after the digital currency hardware entity is lost. Similarly, the witness node may also create and sign transactions by itself to send to the escrow intelligent contract. The escrow intelligent contract is executed to complete the transaction after obtaining a signature authorization of any one of the asset holder node and the digital currency hardware entity. Thus, if the asset holder loses contact, the witness node can also retrieve the hosted asset as long as it has a digital currency hardware entity. The security of the trusted officer asset is ensured.
Embodiments of the present disclosure also provide another asset hosting method including method steps performed by the asset holder node in the methods shown in fig. 2-9.
The disclosed embodiments also provide an asset hosting method including method steps performed by the witness node in the methods shown in fig. 2-9.
Embodiments of the present disclosure also provide an asset hosting method including method steps performed by an entity token in the methods shown in fig. 2 to 9.
It should be noted that the automatic execution of the managed intelligent contract is not independent of the cooperation of the specific blockchain nodes, and for convenience of description, some method steps in fig. 2 to 9 are described by using the managed intelligent contract as an execution subject, however, it should be understood by those skilled in the art that the specific method steps should be implemented based on the managed intelligent contract as a blockchain point of the asset holder node and as a witness node.
Embodiments of the present disclosure also provide a computer-readable storage medium having stored thereon a computer program that, when executed by a processor, performs the steps performed by the asset holder node in the asset hosting method shown in fig. 2-9.
The disclosed embodiments also provide a computer readable storage medium having stored thereon a computer program that, when executed by a processor, performs the steps performed by the witness node in the asset hosting method shown in fig. 2-9.
The disclosed embodiments also provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps performed by the entity token in the asset hosting method shown in fig. 2-9.
Embodiments of the present disclosure also provide a blockchain node configured to perform steps performed by the asset holder node in the asset hosting methods shown in fig. 2-9; and/or the blockchain node is configured to perform the steps performed by the witness node in the asset hosting method shown in fig. 2-9. That is, the same block link point can serve as both an asset holder node and a witness node for another hosted asset. In particular, the block link point may comprise a memory having a computer program stored thereon; a processor for executing the computer program in the memory to perform the steps performed by the asset holder node in the asset hosting method of fig. 2-9 and/or the witness node in the asset hosting method of fig. 2-9.
Illustratively, fig. 10 is a schematic diagram of a possible structure of the above-described blockchain node. The block link point may be, for example, a user's mobile terminal, a personal computer, or the like. As shown in fig. 10, the blockchain node 900 may include: a processor 901 and a memory 902. The block link point 900 may also include one or more of a multimedia component 903, an input/output (I/O) interface 904, and a communication component 905.
The processor 901 is configured to control the overall operation of the block link node 900 to complete the method steps performed by the asset holder node or the witness node in the asset hosting method provided in the foregoing method embodiments. Memory 902 is used to store various types of data to support operation at the block link point 900, such as instructions for any application or method operating on the block link point 900, as well as blockchain data, and the like. The Memory 902 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk or optical disk. The multimedia component 903 may include a screen and an audio component. Wherein the screen may be, for example, a touch screen and the audio component is used for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may further be stored in the memory 902 or transmitted through the communication component 905. The audio assembly also includes at least one speaker for outputting audio signals. The I/O interface 904 provides an interface between the processor 901 and other interface modules, such as a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. A communication component 905 is used for wired or wireless communication between the block link point 900 and other devices. Wireless Communication, such as Wi-Fi, bluetooth, Near Field Communication (NFC), 2G, 3G, or 4G, or a combination of one or more of them, so that the corresponding Communication component 905 may include: Wi-Fi module, bluetooth module, NFC module.
In an exemplary embodiment, the blockchain node 900 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components, for performing the method steps performed by the asset holder node or witness node in the asset hosting method provided by the above method embodiments.
Furthermore, a computer-readable storage medium provided by the embodiments of the present disclosure may be the above-mentioned memory 902 including program instructions, which may be executed by the processor 901 of the block link point 900 to perform the method steps performed by the asset holder node or witness node in the asset hosting method provided by the above-mentioned method embodiments.
A blockchain system according to an embodiment of the present disclosure, as shown in fig. 1, includes blockchain link points as asset holder nodes configured to perform the steps performed by the asset holder nodes in the asset hosting methods shown in fig. 2 to 9; and a mineworker node configured to perform the steps performed by the witness node in the asset hosting method shown in fig. 2 to 9 when the mineworker node is the witness node.
The block chain system is adopted for asset hosting, so that the problem that an materialized carrier is lost or an asset holder cannot retrieve the asset after losing contact can be avoided. And each time when the assets are managed, the intelligent contract is managed to randomly select the witness nodes, so that the condition that the witness is badly managed is solved, and the assets are prevented from being maliciously invaded. In addition, in a possible implementation mode, the block chain system can select the final unique target witness node from a plurality of randomly selected witness nodes based on the procedure fee information collected by each witness node, has a procedure fee bargaining function, meets the user requirement and improves the user experience.
The preferred embodiments of the present disclosure are described in detail with reference to the accompanying drawings, however, the present disclosure is not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solution of the present disclosure within the technical idea of the present disclosure, and these simple modifications all belong to the protection scope of the present disclosure.
It should be noted that the various features described in the above embodiments may be combined in any suitable manner without departing from the scope of the invention. In order to avoid unnecessary repetition, various possible combinations will not be separately described in this disclosure.
In addition, any combination of various embodiments of the present disclosure may be made, and the same should be considered as the disclosure of the present disclosure, as long as it does not depart from the spirit of the present disclosure.

Claims (15)

  1. An asset hosting method applied to a blockchain system deployed with hosted intelligent contracts, the method comprising:
    when the execution condition of the managed intelligent contract is met, the managed intelligent contract requests signature authorization of a node of an asset holder, an entity token of the asset and a node of a witness; and are
    Executing the escrow intelligent contract upon obtaining signature authorization for any two of the asset holder node, the entity token, and the witness node;
    wherein the asset holder node is a node in the blockchain system of the owner of the asset;
    the witness node is a block chain node randomly selected by the hosting intelligent contract through a preset algorithm when the asset holder transfers the asset to the hosting intelligent contract;
    the entity token is entity hardware corresponding to the asset and is used for generating a one-time password to sign and authorize the transaction of the asset.
  2. The method of claim 1, wherein the asset is a digital asset controlled by hardware, wherein the managed smart contract has recorded thereon a public key of the hardware controlling the digital asset, and wherein the method further comprises:
    the asset holder node transfers the digital assets into the hosted smart contract, the digital assets being digital assets controlled by the entity token or digital assets controlled by the asset holder node.
  3. The method of claim 1, wherein the asset is digital content of a physical asset controlled by a corresponding entity token, the method further comprising:
    the entity token generates a key pair and sends a public key in the key pair to the escrow intelligent contract;
    the asset holder node transfers digital content controlled by the entity token to the hosting smart contract.
  4. The method according to any one of claims 1 to 3, further comprising:
    miners' nodes in the block chain system compete to determine the witness nodes by generating random numbers.
  5. The method of claim 4, wherein the mineworker nodes in the blockchain system compete for the determination of the witness node by generating random numbers, comprising:
    the method comprises the steps that a miner node obtains random number information sent by an entity token owned by an owner of the miner node, wherein the random number information comprises a generated random number of the entity token and private key signature information of the entity token;
    the miner node sends the random number information to the escrow intelligent contract, and the escrow intelligent contract carries out signature authentication on private key signature information in the random number information by using a public key of the entity token;
    and after the signature authentication of the private key signature information is passed, determining the miner node corresponding to the random number meeting the preset condition as the witness node.
  6. The method of claim 4, wherein the mineworker nodes in the blockchain system compete for the determination of the witness node by generating random numbers, comprising:
    miners' nodes in the block chain system compete to determine a plurality of candidate witness nodes in a mode of generating random numbers;
    the method further comprises the following steps:
    determining a target witness node according to the service related information of the witness nodes, wherein the service related information comprises procedure cost information;
    the method for requesting the signature authorization of the asset holder node, the entity token of the asset and the witness node by the hosting intelligent contract comprises the following steps:
    the escrow smart contract requests signature authorization of the asset holder node, the entity token, and the target witness node.
  7. The method of claim 2, wherein the asset is digital currency, the entity token is a hardware entity of the digital currency, and the hosting smart contract requests signature authorization of the holder node, the entity token of the asset, and the witness node, and comprises:
    the blockchain node initiates a transaction request to the blockchain system, wherein the transaction request comprises signature information and transfer address information of a digital currency hardware entity;
    the block chain system carries out signature authentication on the signature information according to the public key of the digital currency hardware entity; and are
    After the signature authentication of the signature information passes, initiating a contract execution request to the escrow intelligent contract;
    when receiving a contract execution request, the hosting intelligent contract initiates a signature authorization request to the asset holder node and the witness node;
    and after the signature authorization of any one of the holder node and the witness node is obtained, transferring the digital currency of the digital currency hardware entity according to the transfer address information.
  8. An asset hosting method comprising the method steps performed by the asset holder node in the method of any of claims 1 to 7.
  9. An asset hosting method comprising method steps performed by the witness node in the method of any one of claims 1 to 7.
  10. An asset hosting method comprising the method steps performed by an entity token in the method of any of claims 1 to 7.
  11. A computer readable storage medium having stored thereon a computer program, characterized in that the program, when executed by a processor, implements the steps performed by the asset holder node in the asset hosting method of any of claims 1 to 7.
  12. A computer readable storage medium having stored thereon a computer program, characterized in that the program, when executed by a processor, implements the steps performed by the witness node in the asset hosting method of any of claims 1 to 7.
  13. A computer readable storage medium having stored thereon a computer program, characterized in that the program, when executed by a processor, carries out the steps performed by the entity token in the asset hosting method of any of claims 1 to 7.
  14. A block link node, wherein the block chain node is configured to perform the steps performed by the asset holder node in the asset hosting method of any of claims 1 to 7; and/or the presence of a gas in the gas,
    the blockchain node is configured to perform the steps performed by the witness node in the asset hosting method of any of claims 1 to 7.
  15. A blockchain system comprising blockchain nodes as asset holder nodes configured to perform the steps performed by the asset holder nodes in the asset hosting method of any of claims 1 to 7; and the number of the first and second groups,
    a mineworker node configured to perform the steps performed by the witness node in the asset hosting method of any one of claims 1 to 7 when the mineworker node is acting as a witness node.
CN201880007972.XA 2018-09-18 2018-09-18 Asset hosting method, storage medium, blockchain system and blockchain node Active CN111213170B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/106297 WO2020056601A1 (en) 2018-09-18 2018-09-18 Asset custody method, storage medium, blockchain system, and blockchain node

Publications (2)

Publication Number Publication Date
CN111213170A true CN111213170A (en) 2020-05-29
CN111213170B CN111213170B (en) 2023-11-21

Family

ID=69888100

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201880007972.XA Active CN111213170B (en) 2018-09-18 2018-09-18 Asset hosting method, storage medium, blockchain system and blockchain node

Country Status (2)

Country Link
CN (1) CN111213170B (en)
WO (1) WO2020056601A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111915296A (en) * 2020-07-02 2020-11-10 连连智能科技有限公司 Virtual resource transfer method and system
CN112419060A (en) * 2020-11-20 2021-02-26 上海树图区块链研究院 Asset hosting system, asset management method, node, and medium
CN112464280A (en) * 2020-11-26 2021-03-09 中国信息通信研究院 Hosting method and system for industrial internet identification data
CN113537957A (en) * 2021-07-01 2021-10-22 北京极智数仓科技有限公司 Digital asset transaction method, system, storage medium, and digital currency system
CN114978596A (en) * 2022-04-24 2022-08-30 捷德(中国)科技有限公司 Registration and processing method and device for ownership of digital assets

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105809062A (en) * 2016-03-01 2016-07-27 布比(北京)网络技术有限公司 Contract construction and execution methods and apparatuses
CN108074081A (en) * 2017-12-08 2018-05-25 上海策赢网络科技有限公司 The transfer method and device of a kind of virtual resource
US20180158054A1 (en) * 2016-12-07 2018-06-07 International Business Machines Corporation Concomitance of an asset and identity block of a blockchain
CN108428120A (en) * 2018-03-16 2018-08-21 中链科技有限公司 A kind of digital asset interoperability methods and computer readable storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105893042A (en) * 2016-03-31 2016-08-24 北京航空航天大学 Intelligent contract implementation method based on block chain
US10108954B2 (en) * 2016-06-24 2018-10-23 PokitDok, Inc. System and method for cryptographically verified data driven contracts

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105809062A (en) * 2016-03-01 2016-07-27 布比(北京)网络技术有限公司 Contract construction and execution methods and apparatuses
US20180158054A1 (en) * 2016-12-07 2018-06-07 International Business Machines Corporation Concomitance of an asset and identity block of a blockchain
CN108074081A (en) * 2017-12-08 2018-05-25 上海策赢网络科技有限公司 The transfer method and device of a kind of virtual resource
CN108428120A (en) * 2018-03-16 2018-08-21 中链科技有限公司 A kind of digital asset interoperability methods and computer readable storage medium

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111915296A (en) * 2020-07-02 2020-11-10 连连智能科技有限公司 Virtual resource transfer method and system
CN111915296B (en) * 2020-07-02 2022-11-22 众连智能科技有限公司 Virtual resource transfer method and system
CN112419060A (en) * 2020-11-20 2021-02-26 上海树图区块链研究院 Asset hosting system, asset management method, node, and medium
CN112419060B (en) * 2020-11-20 2024-03-22 上海树图区块链研究院 Asset hosting system, asset management method, node and medium
CN112464280A (en) * 2020-11-26 2021-03-09 中国信息通信研究院 Hosting method and system for industrial internet identification data
CN112464280B (en) * 2020-11-26 2024-02-09 中国信息通信研究院 Hosting method and system for industrial Internet identification data
CN113537957A (en) * 2021-07-01 2021-10-22 北京极智数仓科技有限公司 Digital asset transaction method, system, storage medium, and digital currency system
CN114978596A (en) * 2022-04-24 2022-08-30 捷德(中国)科技有限公司 Registration and processing method and device for ownership of digital assets
CN114978596B (en) * 2022-04-24 2023-04-18 捷德(中国)科技有限公司 Registration and processing method and device for ownership of digital assets

Also Published As

Publication number Publication date
WO2020056601A1 (en) 2020-03-26
CN111213170B (en) 2023-11-21

Similar Documents

Publication Publication Date Title
US20220092586A1 (en) Off network identity tracking in anonymous cryptocurrency exchange networks
CN110383757B (en) System and method for secure processing of electronic identities
JP7210466B2 (en) Systems and methods for distributing data records using blockchain
US11763305B1 (en) Distributed ledger for device management
CN111213170A (en) Asset hosting method, storage medium, blockchain system, and blockchain node
CN108701276B (en) System and method for managing digital identities
EP3613171B1 (en) Industrial network using a blockchain for access control, and access control method
CN109450910A (en) Data sharing method, data sharing network and electronic equipment based on block chain
EP3247070B1 (en) Cryptocurrency-based event participation verification
CN109478298A (en) Method and system for realizing block chain
CN108737348A (en) A kind of internet of things equipment access control method of the intelligent contract based on block chain
CN109525671A (en) Date storage method, electronic equipment and storage medium based on block chain
CN108960825A (en) Electric endorsement method and device, electronic equipment based on block chain
CN110383752A (en) Compact recording agreement
KR20160050876A (en) Bitcoin dealing method using public key and private key stored in smart card
CN109522681A (en) Digital content really weighs method, apparatus and storage medium
US20230103038A1 (en) Method for directly transferring electronic coin data sets between terminals, payment system, currency system and monitoring unit
Bergquist Blockchain technology and smart contracts: privacy-preserving tools
CN111292174A (en) Tax payment information processing method and device and computer readable storage medium
CA3184856A1 (en) Method, participatant unit, transaction register, and payment system for managing transaction data sets
CN109767530A (en) Smart lock control method, apparatus and system based on block chain
CN109711945A (en) A kind of vehicle sharing method and relevant apparatus
CN109388923B (en) Program execution method and device
CN111078649A (en) Block chain-based on-cloud file storage method and device and electronic equipment
KR20210017964A (en) Method and apparatus for autonomous guarantee verification for p2p loan service based on blockchain

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240102

Address after: 101499 Room 302, office area, third floor, building 4, yard 13, Kaifang East Road, Huairou District, Beijing

Patentee after: Cat Boat (Beijing) Technology Co.,Ltd.

Address before: No. 2003, 20 / F, unit 1, building 2, No. 158, Tianfu 4th Street, Chengdu hi tech Zone

Patentee before: Wang Jian

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240119

Address after: Room 304, Building 1, Core City Science Park, No. 588, Yuelu West Avenue, Changsha Hi tech Development Zone, Hunan 410205

Patentee after: Hunan Zhizhou Information Technology Co.,Ltd.

Address before: 101499 Room 302, office area, third floor, building 4, yard 13, Kaifang East Road, Huairou District, Beijing

Patentee before: Cat Boat (Beijing) Technology Co.,Ltd.