Disclosure of Invention
In view of the above, embodiments of the present invention provide an asset management method, a blockchain platform, a device, and a storage medium, so as to achieve the purpose that an incoming asset transacted through a cross-chain can also be freely transacted like a legal coin on a chain.
In order to achieve the above purpose, the embodiments of the present invention provide the following technical solutions:
the invention provides a method for managing assets in a first aspect, which comprises the following steps:
the block chain platform sets unique asset identification for various assets respectively;
adjusting the asset amount corresponding to the asset identification by using the asset identification; wherein the plurality of assets include a chain legal tender and a non-chain legal tender.
Optionally, the adjusting, by using the asset identifier, the asset amount corresponding to the asset identifier includes:
the block chain platform receives transaction information of the assets; the transaction information of the assets comprises accounts to be transacted, asset identifications and money to be transacted;
the block chain platform determines an asset corresponding to the asset identifier and an asset balance of the asset corresponding to the asset identifier in a plurality of assets under the account to be traded;
and the block chain platform adjusts the asset balance of the asset corresponding to the asset identifier according to the amount to be traded.
Optionally, the determining, by the blockchain platform, an asset corresponding to the asset identifier and an asset balance of the asset corresponding to the asset identifier in the plurality of assets under the account to be traded includes:
the block chain platform processes the asset identification by using a preset function to obtain the address information of the asset corresponding to the asset identification;
and the block chain platform queries and obtains the asset amount under the address information of the asset corresponding to the asset identifier.
Optionally, the adjusting, by using the asset identifier, the asset amount corresponding to the asset identifier includes:
the block chain platform receives exchange information of assets sent by a first user calling an intelligent contract; wherein the exchange information of the assets comprises asset information of original assets and asset information of target assets;
the block chain platform receives acceptance information sent by a second user calling the intelligent contract; wherein the acceptance information is used for explaining that the second user accepts the exchange information of the asset;
and the blockchain platform adjusts the asset balance of the original asset and the asset balance of the target asset of the first user, and adjusts the asset balance of the original asset and the asset balance of the target asset of the second user according to the asset information of the original asset and the asset information of the target asset.
Optionally, the adjusting, by using the asset identifier, the asset amount corresponding to the asset identifier includes:
the block chain platform receives transaction information and digital signature information of the local chain assets sent by a first user; the transaction information of the assets in the chain comprises an account of a first user, an asset identification, a to-be-transacted amount and an account number of a second user; the digital signature information is obtained by issuing the transaction information of the local chain assets by using a transaction secret key;
the block chain platform verifies whether the digital signature information is legal or not;
if the block chain platform verifies that the digital signature information is legal, determining an asset corresponding to the asset identifier and an asset balance of the asset corresponding to the asset identifier from a plurality of assets under the account of the first user, and determining an asset corresponding to the asset identifier and an asset balance of the asset corresponding to the asset identifier from a plurality of assets under the account of the second user;
and the blockchain platform adjusts the asset balance of the asset corresponding to the asset identifier under the account of the first user and the asset balance of the asset corresponding to the asset identifier under the account of the second user according to the amount to be traded.
Optionally, the non-linked legal instrument includes a plurality of digital currencies and digital assets issued by smart contracts.
Optionally, the transaction keys of the multiple assets are the same transaction key.
A second aspect of the present invention provides a blockchain platform, comprising:
the setting unit is used for setting unique asset identification for various assets respectively;
the adjusting unit is used for adjusting the asset amount corresponding to the asset identification by using the asset identification; wherein the plurality of assets include a chain legal tender and a non-chain legal tender.
Optionally, the adjusting unit includes:
a first receiving unit for receiving transaction information of an asset; the transaction information of the assets comprises accounts to be transacted, asset identifications and money to be transacted;
a first determining unit, configured to determine, from among multiple assets under the account to be traded, an asset corresponding to the asset identifier and an asset balance of the asset corresponding to the asset identifier;
and the first adjusting subunit is used for adjusting the asset balance of the asset corresponding to the asset identifier according to the amount to be traded.
Optionally, the first determining unit includes:
the processing unit is used for processing the asset identification by using a preset function to obtain the address information of the asset corresponding to the asset identification;
and the query unit is used for querying the asset amount under the address information of the asset corresponding to the asset identifier.
Optionally, the adjusting unit includes:
the second receiving unit is used for receiving the exchange information of the assets, which is sent by the first user calling the intelligent contract; wherein the exchange information of the assets comprises asset information of original assets and asset information of target assets;
the third receiving unit is used for receiving acceptance information sent by a second user calling the intelligent contract; wherein the acceptance information is used for explaining that the second user accepts the exchange information of the asset;
and the exchange unit is used for adjusting the asset balance of the original asset and the asset balance of the target asset of the first user, and the asset balance of the original asset and the asset balance of the target asset of the second user according to the asset information of the original asset and the asset information of the target asset.
Optionally, the adjusting unit includes:
the fourth receiving unit is used for receiving the transaction information and the digital signature information of the local chain assets sent by the first user; the transaction information of the assets in the chain comprises an account of a first user, an asset identification, a to-be-transacted amount and an account number of a second user; the digital signature information is obtained by issuing the transaction information of the local chain assets by using a transaction secret key;
the verification unit is used for verifying whether the digital signature information is legal or not;
a second determining unit, configured to determine, if the verification unit verifies that the digital signature information is valid, an asset corresponding to the asset identifier and an asset balance of the asset corresponding to the asset identifier from among multiple assets under the account of the first user, and determine an asset corresponding to the asset identifier and an asset balance of the asset corresponding to the asset identifier from among multiple assets under the account of a second user;
and the second adjusting subunit is configured to adjust, according to the amount to be traded, the asset balance of the asset corresponding to the asset identifier under the account of the first user and the asset balance of the asset corresponding to the asset identifier under the account of the second user.
Optionally, the non-linked legal tender in the blockchain platform includes a plurality of digital currencies and digital assets issued by smart contracts.
Optionally, the transaction keys of the multiple assets in the blockchain platform are the same transaction key.
A third aspect of the invention provides an apparatus comprising at least one processor, and at least one memory connected to the processor, a bus; the processor and the memory complete mutual communication through the bus; the processor is configured to call program instructions in the memory to perform any one of the asset management methods provided in the first aspect.
A fourth aspect of the present invention provides a storage medium storing a program for implementing the asset management method according to any one of the first aspect of the present invention when the program is executed.
According to the scheme, in the asset management method, the block chain platform, the equipment and the storage medium, the unique asset identification is respectively set for a plurality of assets in the block chain platform, and the asset amount corresponding to the asset identification is adjusted by using the asset identification; wherein the plurality of assets include a chain legal tender and a non-chain legal tender. Because each asset on the block chain platform has the unique identifier of the asset, the assets can be managed through the unique identifier in the subsequent management process, and the purpose that the assets which enter through cross-chain transaction can also freely trade like the legal coins on the chain is achieved.
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.
In a conventional relay scheme for implementing a cross-link transaction, referring to fig. 1, a structure that connects a plurality of zones (zones) with a backbone Hub (Cosmos Hub) as a center is established through an IBC cross-link communication protocol, and each Zone is associated through the Cosmos Hub. Wherein, the main chain Hub (Cosmos Hub) serves as the central connection point of all block chains, which is responsible for the routing transfer of the assets, and each Zone (Zone) is responsible for accessing a public chain, which is responsible for monitoring and verifying the locking of the cross-chain assets, and forwarding the cross-chain transactions.
Suppose in fig. 1 that Zone1 is responsible for listening to the bitcoin network and Zone2 is responsible for the tori network.
For example: the first user, Alice, wants to transfer x bitcoins (Bitcoin, BTC) from the Bitcoin network across the chain to the etherhouse network.
Alice first transfers x BTCs in the bitcoin system to a specific account, which is typically held by Zone 1. The Zone1 listens to the transaction, verifies its validity, and agrees within Zone 1. Zone1 forwards the transaction to the Cosmos Hub. The Commos Hub verifies that the transaction is from Zone1 and considers the cross-link transaction legitimate, agrees within the CosmosHub, and forwards it to Zone 2. Zone2 receives the transaction and verifies that it is from Commos Hub that the transaction is legitimate. Zone2 calls its intelligent contract on the ethernet network to credit Alice with x BTCs.
It can be seen from the above process that: when assets enter the Ethernet house network from the bitcoin network in a chain crossing mode, the assets exist in the intelligent contracts, so that the assets are limited by the intelligent contracts and cannot be freely traded like the legal coins on the chain.
Based on the above, the embodiment of the invention provides an asset management method, which is applied to a blockchain platform to achieve the purpose that the assets which come in through cross-chain transaction can also freely trade like the legal coins on the chain.
It should be noted that the blockchain platform proposed in the embodiment of the present invention may be a node or a server in any blockchain system, and the blockchain platform forms the blockchain system by communicating with other servers and nodes through a network. In the process of conducting a cross-chain transaction, the blockchain platform may communicate with a Zone responsible for accessing the blockchain system (hereinafter referred to as the local chain) in which it is located.
As shown in fig. 2, the asset management method provided by the embodiment of the present invention includes the following steps:
s201, setting unique asset identification for various assets respectively.
The multiple assets are assets capable of supporting transaction in the chain, and generally comprise chain legal coins and non-chain legal coins; the legal currency on the chain can be understood as the assets which can be supported by the chain, such as the bitcoin on the bitcoin system. The non-chaining legal tender refers to the assets which are not supported by the chain, but are supported by other blockchain systems, such as the Ethernet tender entering the bitcoin system across the chain, and the non-chaining legal tender refers to the non-chaining legal tender for one blockchain platform in the bitcoin system.
It should be further noted that the non-linked legal tender includes: digital currency in its many forms and digital assets issued by smart contracts, i.e., token assets issued by smart contracts.
In addition, an unlimited number of assets can be set under each blockchain platform, in order to distinguish the assets of different types, a unique asset identifier needs to be set for each asset, and the asset identifier of each asset corresponds to the asset balance of the asset.
For example, the legal coin setting on the chain may be identified as 0 × 0, and also the identification of the mainstream assets on the chain may be set, such as identifying the bitcoin asset setting as 0 × 1, the ethernet setting as 0 × 11, the asset setting of the commercial distributed design blockchain operating System (EOS) as 0 × 111, the token asset setting issued by the smart contract on the chain as 0 × 2, and so on.
And S202, adjusting the asset amount corresponding to the asset identification by using the asset identification.
In the step, the asset balance of the corresponding asset is found through the asset identification of the asset, and the asset balance of the asset is adjusted through the amount of the asset to be traded.
For example, when account a transfers a 100 number of assets identified as 0 x 1 into the blockchain via a cross-chain technique, the blockchain platform will directly add 100 to the balance of the assets identified as 0 x 1 in the account model of a. The account model presented herein refers to a structure of assets and asset identifications for each asset that can be traded in the chain.
In the asset management method provided by this embodiment, unique asset identifiers are respectively set for a plurality of assets in a block chain platform, and asset amounts corresponding to the asset identifiers are adjusted by using the asset identifiers; wherein the assets include chain legal tender and non-chain legal tender. Because each asset on the block chain platform has the unique identifier of the asset, the assets can be managed through the unique identifier in the subsequent management process, and the purpose that the assets which enter through cross-chain transaction can also freely trade like the legal coins on the chain is achieved.
For the chain, the block chain platform adjusts the asset amount corresponding to the asset identifier by using the asset identifier, and the asset amount can be divided into a plurality of types, generally: the adjustment of the asset amount due to the cross-chain transaction, the adjustment of the asset amount due to the transaction between different accounts in the chain, and the adjustment of the asset amount due to the exchange between different accounts in the chain will be described below with reference to different embodiments.
Optionally, in another embodiment of the present invention, as shown in fig. 3, an implementation manner of step S202 includes:
s301, the block chain platform receives transaction information of the assets.
The transaction information of the assets comprises accounts to be transacted, asset identification and money amounts to be transacted.
It should be noted that the blockchain platform may receive transaction information of assets transacted by the blockchain platform in another blockchain system through cross-chain.
One blockchain platform in the original chain network carries out cross-chain transaction with the blockchain platform in the chain, and transaction information of assets related to the cross-chain transaction is sent to the blockchain platform in the chain by accessing a partition of the original chain network. Thus, in this step, the blockchain platform receives asset transaction information sent by the partition accessing the original chain network.
S302, determining the assets corresponding to the asset identification and the asset balance of the assets corresponding to the asset identification in the various assets under the account to be traded by the blockchain platform.
In this step, the asset balance corresponding to the asset of the asset identifier may be obtained by matching, in the preset corresponding relationship between the asset of the corresponding asset identifier and the asset balance of the asset of the corresponding asset identifier.
Optionally, in another embodiment of the present invention, as shown in fig. 4, an implementation manner of step S302 includes:
s401, the block chain platform processes the asset identification by using a preset function to obtain the address information of the asset corresponding to the asset identification.
In this step, a function may be preset in advance for the asset identifier and the address information of the asset corresponding to the asset identifier, and a function of address information may be selected as the string of the address (). Under this function: the asset ID of the linked legal note is emptyAddress, and the asset identifier of the unlinked legal note can be in the form of address (character string), for example: the asset identification of bitcoin asset is address (btc), the asset identification of Ethengfu coin is address (eth), and the asset identification of EOS is address (EOS).
If the asset identifier 0 x 1 is input into the preset function address (), a unique bitcoin asset address (btc) is output; if the asset identifier 0 × 11 is input into the preset function address (), a unique ethernet asset address (eth) is output; when the asset identifier 0 × 0 is input into the preset function address (), the legal coin address emptyAddress and the like on only one address book chain are output. The specific functional relationship may be changed according to actual situations, but it should be noted that, if the transaction is performed on different blockchain platforms, it needs to be verified in advance whether the functional relationship between the asset identifier in the blockchain platform and the address information of the asset corresponding to the asset identifier is consistent.
S402, inquiring the asset amount under the address information of the asset corresponding to the asset identifier by the block chain platform.
In this step, the information under the address of the asset corresponding to the asset identifier may be queried through the block chain platform to obtain the asset amount under the address information of the asset corresponding to the asset identifier.
And S303, adjusting the asset balance of the asset corresponding to the asset identifier by the block chain platform according to the amount to be traded.
Specifically, the block chain platform modifies the asset balance of the asset corresponding to the asset identifier according to the amount to be traded; if the amount to be traded is 100, adding 100 to the asset balance of the asset corresponding to the asset identifier; and if the amount to be traded is-100, the asset balance of the asset corresponding to the asset identifier is-100.
Optionally, in another embodiment of the present invention, before using the received transaction information of the asset, the received signature information may be verified to determine whether step S303 needs to be performed.
It should be noted that, while the transaction information of the asset, which is sent by the partition accessing the original link network, is sent, other information, such as signature information and a public key, is also sent, when the partition accessing the original link network sends information data, a public key and a private key pair are first generated, then hash operation is performed on the transaction information to generate a summary, the summary is processed by using the private key to generate signature information, and finally the signature information, the transaction information and the public key are sent to the block link platform together.
In this step, when the blockchain platform receives the signature information, the transaction information and the public key, the received public key can be used to decrypt the signature information, and the hash value is restored, that is, the hash operation is performed on the information data to generate the digest, the digest is verified with the received transaction information, if the hash value is the same as the information data, the signature is valid, and the verification is successful.
Optionally, in another embodiment of the present invention, as shown in fig. 5, another implementation manner of step S202 includes:
s501, receiving exchange information of the assets sent by the first user calling the intelligent contract by the blockchain platform.
The exchange information of the assets comprises asset information of original assets and asset information of target assets to be exchanged; an intelligent contract is a set of commitments (commitments) defined in digital form, comprising an agreement on which a contract participant can execute these commitments.
It should be noted that any user on the blockchain platform may issue an intelligent contract belonging to the user, and if another user wants to perform a transaction with the user a, the intelligent contract of the user a needs to be invoked for verification, that is, the user a is allowed to issue the content in the intelligent contract.
S502, the block chain platform receives acceptance information sent by the second user calling the intelligent contract.
The acceptance information is used for explaining that the second user accepts the exchange information of the assets, namely the second user agrees to the content in the intelligent contract issued by the user A.
It should be noted that, while the second user invokes the intelligent contract to send the acceptance information, the second user may also send the asset balance of the original asset and the asset balance of the target asset, so that the subsequent blockchain platform queries the asset balance of the original asset and the asset balance of the target asset of the second user.
S503, the blockchain platform adjusts the asset balance of the original asset and the asset balance of the target asset of the first user, and adjusts the asset balance of the original asset and the asset balance of the target asset of the second user according to the asset information of the original asset and the asset information of the target asset.
It should be noted that after receiving the acceptance information sent by the second user invoking the intelligent contract, the blockchain platform needs to query and verify the asset balance of the original asset and the asset balance of the target asset of the first user, and the asset balance of the original asset and the asset balance of the target asset of the second user, and then adjust the asset balance of the original asset and the asset balance of the target asset of the first user, and the asset balance of the original asset and the asset balance of the target asset of the second user according to the asset information of the original asset and the asset information of the target asset.
In this step, if the user Alice wants to exchange 3 class-B assets with 2 class-a assets, the user Alice may invoke the intelligent contract S to sign on the blockchain platform H, and at this time, any one user sees the sign on the blockchain platform H of the user Alice, and agrees to the intelligent contract S, may exchange 2 class-a assets of the user Alice with 3 class-B assets; it should be noted that the user transacting with the user Alice does not necessarily need to be on the same blockchain platform as Alice, and may be on the same blockchain platform as Alice or on another blockchain platform.
Optionally, in another embodiment of the present invention, as shown in fig. 6, an implementation manner of step S502 includes:
s601, the block chain platform receives transaction information and digital signature information of the local chain assets sent by the first user.
The transaction information of the assets in the chain comprises an account of a first user, an asset identification, a to-be-transacted amount and an account number of a second user; the digital signature information is obtained by issuing the transaction information of the local chain assets by using the transaction secret key.
It should be further noted that, in the embodiment of the present invention, the configured transaction keys of the blockchain platform for multiple assets may be the same transaction key, which may facilitate the management of multiple digital assets by the user.
S602, the block chain platform verifies whether the digital signature information is legal.
In the verification process of the signature information, the verification process of different blockchain systems may be different.
In this step, the received data information may be subjected to hash encryption to obtain a hash value, and the hash value obtained by decryption with the digital signature sent by the sending node is verified, and if the same signature is valid, the digital signature information is valid.
Specifically, if the block chain platform verifies that the digital signature information is legal, step S503 is executed; and if the block chain platform verifies that the digital signature information is illegal, refusing the transaction.
S603, determining the asset corresponding to the asset identifier and the asset balance of the asset corresponding to the asset identifier from the plurality of assets under the account of the first user, and determining the asset corresponding to the asset identifier and the asset balance of the asset corresponding to the asset identifier from the plurality of assets under the account of the second user.
In this step, the assets corresponding to the asset identifier in the plurality of assets under the account of the first user can be obtained by querying according to the preset asset-asset identifier correspondence; and processing the asset identification by using a preset function to obtain address information of the asset corresponding to the asset identification, then querying in information under the address of the asset corresponding to the asset identification through the blockchain platform to obtain the asset balance under the address information of the asset corresponding to the asset identification, and similarly, querying can also be carried out to obtain the asset corresponding to the asset identification in the plurality of assets under the account of the second user and the asset balance of the asset corresponding to the asset identification.
S604, the block chain platform adjusts the asset balance of the asset corresponding to the asset identifier under the account of the first user and the asset balance of the asset corresponding to the asset identifier under the account of the second user according to the amount to be traded.
In this step, the blockchain platform may modify, according to the amount to be traded, the asset balance of the asset corresponding to the asset identifier under the account of the first user and modify the asset balance of the asset corresponding to the asset identifier under the account of the second user; if the amount to be traded is 100, the asset balance of the asset corresponding to the asset identification under the account of the first user is added to 100, and the asset balance of the asset corresponding to the asset identification under the account of the second user is added to-100.
It should be further noted that, in this embodiment, the manner of obtaining the digital signature information received by the blockchain platform through calculation and the manner of verifying may refer to the corresponding contents of the foregoing embodiment, which are not described herein again.
Another embodiment of the present invention further provides a blockchain platform, as shown in fig. 7, the blockchain platform including:
the setting unit 701 is configured to set unique asset identifiers for multiple assets, respectively.
And an adjusting unit 702, configured to adjust the asset amount corresponding to the asset identifier by using the asset identifier.
Wherein, the assets comprise chain legal tender and non-chain legal tender.
For the specific working process of the unit disclosed in the above embodiment of the present invention, reference may be made to the content of the corresponding method embodiment, as shown in fig. 2, which is not described herein again.
Optionally, in another embodiment of the present invention, an implementation manner of the adjusting unit 702, as shown in fig. 8, includes:
a first receiving unit 801 is configured to receive transaction information of an asset.
The transaction information of the assets comprises accounts to be transacted, asset identification and money amounts to be transacted.
The first determining unit 802 is configured to determine, among the assets under the account to be traded, an asset corresponding to the asset identifier and an asset balance of the asset corresponding to the asset identifier.
Optionally, in another embodiment of the present invention, an implementation manner of the first determining unit 802. As shown in fig. 9, includes:
the processing unit 901 is configured to process the asset identifier by using a preset function, so as to obtain address information of the asset corresponding to the asset identifier.
And the query unit 902 is configured to query the asset amount under the address information of the asset corresponding to the asset identifier.
For the specific working process of the unit disclosed in the above embodiment of the present invention, reference may be made to the content of the corresponding method embodiment, as shown in fig. 4, which is not described herein again.
The first adjusting subunit 803 is configured to adjust the asset balance of the asset corresponding to the asset identifier according to the amount to be traded.
For the specific working process of the unit disclosed in the above embodiment of the present invention, reference may be made to the content of the corresponding method embodiment, as shown in fig. 3, which is not described herein again.
Optionally, in another embodiment of the present invention, an implementation manner of the adjusting unit 702, as shown in fig. 10, includes:
a second receiving unit 1001, configured to receive exchange information of the asset sent by the first user invoking the smart contract.
Wherein the exchange information of the assets comprises asset information of the original assets and asset information of the target assets.
A third receiving unit 1002, configured to receive acceptance information sent by the second user invoking the intelligent contract.
Wherein the acceptance information is used for explaining that the second user accepts the exchange information of the asset.
The exchange unit 1003 is configured to adjust the asset balance of the original asset and the asset balance of the target asset of the first user, and the asset balance of the original asset and the asset balance of the target asset of the second user according to the asset information of the original asset and the asset information of the target asset.
For the specific working process of the unit disclosed in the above embodiment of the present invention, reference may be made to the content of the corresponding method embodiment, as shown in fig. 5, which is not described herein again.
Optionally, in another embodiment of the present invention, an implementation manner of the adjusting unit 702, as shown in fig. 11, includes:
a fourth receiving unit 1101, configured to receive transaction information and digital signature information of a local-chain asset sent by the first user.
The transaction information of the assets in the chain comprises an account of a first user, an asset identification, a to-be-transacted amount and an account number of a second user; the digital signature information is obtained by issuing the transaction information of the local chain assets by using the transaction secret key.
The verifying unit 1102 is configured to verify whether the digital signature information is legal.
A second determining unit 1103, configured to determine, if the digital signature information is verified to be valid by the verifying unit, an asset corresponding to the asset identifier and an asset balance of the asset corresponding to the asset identifier from the multiple assets under the account of the first user, and determine an asset corresponding to the asset identifier and an asset balance of the asset corresponding to the asset identifier from the multiple assets under the account of the second user.
A second adjusting subunit 1104, configured to adjust, according to the amount to be traded, the asset balance of the asset corresponding to the asset identifier under the account of the first user and the asset balance of the asset corresponding to the asset identifier under the account of the second user.
For a specific working process of the unit disclosed in the above embodiment of the present invention, reference may be made to the content of the corresponding method embodiment, as shown in fig. 6, which is not described herein again.
According to the scheme, the block chain platform provided by the invention has the advantages that unique asset identifiers are respectively set for various assets through the setting unit 701, and then the adjustment unit 702 adjusts the asset amount corresponding to the asset identifier by using the asset identifiers; wherein the assets include chain legal tender and non-chain legal tender. Because each asset on the block chain platform has the unique identifier of the asset, the assets can be managed through the unique identifier in the subsequent management process, and the purpose that the assets which enter through cross-chain transaction can also freely trade like the legal coins on the chain is achieved.
Another embodiment of the invention provides an apparatus comprising at least one processor, and at least one memory, bus connected to the processor; the processor and the memory complete mutual communication through the bus; the processor is configured to call program instructions in the memory to perform a method of managing assets as described in any one of the above embodiments.
Another embodiment of the present invention provides a storage medium for storing a program that, when executed, implements the asset management method as described in any one of the above embodiments.
In the above embodiments of the present disclosure, it should be understood that the disclosed method and blockchain platform can be implemented in other ways. The embodiments of the method and blockchain platform described above are merely illustrative, for example, the flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of blockchain platforms, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a unit, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional units in the embodiments of the present disclosure may be integrated together to form an independent part, or each unit may exist separately, or two or more units may be integrated to form an independent part. The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present disclosure may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a live broadcast device, or a network device) to execute all or part of the steps of the method according to the embodiments of the present disclosure. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.