CN110728579A - Asset management method, block chain platform, equipment and storage medium - Google Patents

Asset management method, block chain platform, equipment and storage medium Download PDF

Info

Publication number
CN110728579A
CN110728579A CN201910964207.3A CN201910964207A CN110728579A CN 110728579 A CN110728579 A CN 110728579A CN 201910964207 A CN201910964207 A CN 201910964207A CN 110728579 A CN110728579 A CN 110728579A
Authority
CN
China
Prior art keywords
asset
assets
information
identifier
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910964207.3A
Other languages
Chinese (zh)
Inventor
张小刚
来鑫
陈磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Onething Technology Co Ltd
Shenzhen Xunlei Network Technology Co Ltd
Original Assignee
Shenzhen Onething Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Onething Technology Co Ltd filed Critical Shenzhen Onething Technology Co Ltd
Priority to CN201910964207.3A priority Critical patent/CN110728579A/en
Publication of CN110728579A publication Critical patent/CN110728579A/en
Priority to PCT/CN2020/090825 priority patent/WO2021068508A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures

Abstract

The invention provides an asset management method, a block chain platform, equipment and a storage medium, wherein the method comprises the following steps: respectively setting unique asset identifications for a plurality of assets in a block chain platform; 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. 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.

Description

Asset management method, block chain platform, equipment and storage medium
Technical Field
The present invention relates to the field of blockchain technologies, and in particular, to a method, a blockchain platform, a device, and a storage medium for managing assets.
Background
With the continuous development of science and technology, the block chain gradually enters the sight of people, the block chain technology is mature, and people can learn about the block chain gradually.
Currently, cross-chain asset transactions over blockchains may be implemented through a relay scheme. However, when cross-chain asset transaction is realized through a relay scheme, assets entering a target chain through a cross-chain exist in an intelligent contract, and an asset use scene in the intelligent contract is limited by the intelligent contract and cannot be freely traded like a legal note on the chain.
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.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic diagram of a relay scheme for implementing a cross-chain transaction in the prior art;
FIG. 2 is a detailed flowchart of a method for managing assets according to an embodiment of the present invention;
FIG. 3 is a detailed flowchart of a method for managing assets according to another embodiment of the present invention;
FIG. 4 is a detailed flowchart of a method for managing assets according to another embodiment of the present invention;
FIG. 5 is a detailed flowchart of a method for managing assets according to another embodiment of the present invention;
FIG. 6 is a detailed flowchart of a method for managing assets according to another embodiment of the present invention;
fig. 7 is a schematic diagram of a block chain platform according to an embodiment of the present invention;
fig. 8 is a schematic diagram of an adjustment unit in a block chain platform according to another embodiment of the present invention;
fig. 9 is a diagram illustrating a first determining unit in a blockchain platform according to another embodiment of the present invention;
fig. 10 is a schematic diagram of an adjustment unit in a block chain platform according to another embodiment of the present invention;
fig. 11 is a schematic diagram of an adjustment unit in a block chain platform according to another embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
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.

Claims (12)

1. A method for asset management, comprising:
the block chain platform sets unique asset identification for various assets respectively;
the block chain platform adjusts 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.
2. The method of claim 1, wherein the adjusting the asset amount corresponding to the asset identifier by using the asset identifier comprises:
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.
3. The method of claim 2, wherein the blockchain platform determines the asset corresponding to the asset identifier and the asset balance of the asset corresponding to the asset identifier among the plurality of assets under the account to be traded, including:
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.
4. The method of claim 1, wherein the adjusting the asset amount corresponding to the asset identifier by using the asset identifier comprises:
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.
5. The method of claim 1, wherein the adjusting the asset amount corresponding to the asset identifier by using the asset identifier comprises:
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.
6. The method of any of claims 1 to 5, wherein the non-linked legal instrument comprises a plurality of digital currencies and digital assets issued by smart contracts.
7. The method of any one of claims 1 to 5, wherein the transaction keys of the plurality of assets are the same transaction key.
8. 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.
9. The blockchain platform of claim 8, wherein the non-linked legal tender includes a plurality of digital currencies and digital assets issued by smart contracts.
10. The blockchain platform of claim 8, wherein the transaction keys of the plurality of assets are the same transaction key.
11. 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 adapted to invoke program instructions in the memory to perform a method of managing assets according to any one of claims 1 to 7.
12. A storage medium storing a program for implementing the asset management method according to any one of claims 1 to 7 when executed.
CN201910964207.3A 2019-10-11 2019-10-11 Asset management method, block chain platform, equipment and storage medium Pending CN110728579A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910964207.3A CN110728579A (en) 2019-10-11 2019-10-11 Asset management method, block chain platform, equipment and storage medium
PCT/CN2020/090825 WO2021068508A1 (en) 2019-10-11 2020-05-18 Asset management method, blockchain platform, device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910964207.3A CN110728579A (en) 2019-10-11 2019-10-11 Asset management method, block chain platform, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110728579A true CN110728579A (en) 2020-01-24

Family

ID=69221043

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910964207.3A Pending CN110728579A (en) 2019-10-11 2019-10-11 Asset management method, block chain platform, equipment and storage medium

Country Status (2)

Country Link
CN (1) CN110728579A (en)
WO (1) WO2021068508A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111402033A (en) * 2020-03-13 2020-07-10 普洛斯科技(重庆)有限公司 Asset information management method and device based on block chain
WO2021068508A1 (en) * 2019-10-11 2021-04-15 深圳市网心科技有限公司 Asset management method, blockchain platform, device, and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11055710B2 (en) * 2013-05-02 2021-07-06 Visa International Service Association Systems and methods for verifying and processing transactions using virtual currency

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107392608A (en) * 2017-07-11 2017-11-24 北京博晨技术有限公司 Digital asset method of commerce and block catenary system based on block catenary system
WO2018120057A1 (en) * 2016-12-30 2018-07-05 深圳前海达闼云端智能科技有限公司 Currency management method and system based on block chain
CN109003184A (en) * 2018-06-22 2018-12-14 中链科技有限公司 Block chain assets management method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108335206B (en) * 2018-02-14 2020-12-22 创新先进技术有限公司 Asset management method and device and electronic equipment
CN108428120A (en) * 2018-03-16 2018-08-21 中链科技有限公司 A kind of digital asset interoperability methods and computer readable storage medium
CN110728579A (en) * 2019-10-11 2020-01-24 深圳市网心科技有限公司 Asset management method, block chain platform, equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018120057A1 (en) * 2016-12-30 2018-07-05 深圳前海达闼云端智能科技有限公司 Currency management method and system based on block chain
CN107392608A (en) * 2017-07-11 2017-11-24 北京博晨技术有限公司 Digital asset method of commerce and block catenary system based on block catenary system
CN109003184A (en) * 2018-06-22 2018-12-14 中链科技有限公司 Block chain assets management method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021068508A1 (en) * 2019-10-11 2021-04-15 深圳市网心科技有限公司 Asset management method, blockchain platform, device, and storage medium
CN111402033A (en) * 2020-03-13 2020-07-10 普洛斯科技(重庆)有限公司 Asset information management method and device based on block chain

Also Published As

Publication number Publication date
WO2021068508A1 (en) 2021-04-15

Similar Documents

Publication Publication Date Title
CN110443704B (en) Method and device for sending resources in cross-link mode
CN110958110B (en) Block chain private data management method and system based on zero knowledge proof
CN102077506B (en) Security architecture for peer-to-peer storage system
CN106982205A (en) Digital asset treating method and apparatus based on block chain
JP2020517165A5 (en)
CN110728579A (en) Asset management method, block chain platform, equipment and storage medium
TW202036335A (en) Computer-implemented systems and methods for implementing transfers over a blockchain network
CN111476572B (en) Block chain-based data processing method, device, storage medium and equipment
CN1998019A (en) System and method for securely authorizing and distributing stored-value card data
WO2020088074A1 (en) Privacy transaction method and apparatus based on blockchain, and application method and apparatus therefor
CN110930153B (en) Block chain privacy data management method and system based on hidden third party account
CN111951106A (en) Data transaction system and method based on block chain intelligent contract technology
CN110380863B (en) Cross-border payment message notification processing method and device based on block chain architecture
EP3701667A1 (en) Anonymity system for goods delivery
CN111815321A (en) Transaction proposal processing method, device, system, storage medium and electronic device
WO2000067143A3 (en) Transaction method and system for data networks
CN109559164A (en) Favor information processing method, device, electronic equipment and computer-readable medium
CN110889761A (en) Cross-chain transaction method and storage medium
CN112232828A (en) Power grid data transaction method and system
CN110910000A (en) Block chain asset management method and device
EP3792855A1 (en) A method and system for executing fast and safe transactions involving a high-latency blockchain
CN110634072A (en) Block chain transaction system based on multiple tags and hardware encryption and operation mechanism thereof
US7257554B1 (en) Anonymous purchases while allowing verifiable identities for refunds returned along the paths taken to make the purchases
CN111192040B (en) Registration method and system for mechanism identification number
CN112884562B (en) Mortgage processing method and device based on blockchain and readable storage medium

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

Effective date of registration: 20210913

Address after: 518000 21 / f-23 / F, block B, building 12, Shenzhen Bay science and technology ecological park, No. 18, South Keji Road, high tech community, Yuehai street, Nanshan District, Shenzhen City, Guangdong Province

Applicant after: Xunlei Networking Technologies, Ltd.

Applicant after: SHENZHEN ONETHING TECHNOLOGIES Co.,Ltd.

Address before: 518052 Room 201, building A, No. 1, Qian Wan Road, Qianhai Shenzhen Hong Kong cooperation zone, Shenzhen, Guangdong (Shenzhen Qianhai business secretary Co., Ltd.)

Applicant before: SHENZHEN ONETHING TECHNOLOGIES Co.,Ltd.

TA01 Transfer of patent application right