CN115330384A - Block chain-based digital asset management method, device, equipment and storage medium - Google Patents

Block chain-based digital asset management method, device, equipment and storage medium Download PDF

Info

Publication number
CN115330384A
CN115330384A CN202210985809.9A CN202210985809A CN115330384A CN 115330384 A CN115330384 A CN 115330384A CN 202210985809 A CN202210985809 A CN 202210985809A CN 115330384 A CN115330384 A CN 115330384A
Authority
CN
China
Prior art keywords
asset
account
digital
target
contract
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
CN202210985809.9A
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.)
Hangzhou Qulian Technology Co Ltd
Original Assignee
Hangzhou Qulian 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 Hangzhou Qulian Technology Co Ltd filed Critical Hangzhou Qulian Technology Co Ltd
Priority to CN202210985809.9A priority Critical patent/CN115330384A/en
Publication of CN115330384A publication Critical patent/CN115330384A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3821Electronic credentials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • G06Q20/4014Identity check for transactions
    • 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

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Engineering & Computer Science (AREA)
  • Finance (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Technology Law (AREA)
  • Development Economics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the application provides a block chain-based digital asset management method, a device, equipment and a storage medium; the method comprises the following steps: responding to an asset account creation request, and acquiring asset parameters associated with the asset account creation request; calling a preset asset casting contract to cast digital assets according to the asset parameters, and creating and storing asset accounts corresponding to the digital assets; responding to an asset transfer request, and acquiring an account address identifier associated with the asset transfer request; transferring the digital assets in the target asset account corresponding to the account address identification according to the target asset parameters associated with the asset transfer request; in the method, the digital assets are used as one of the bottom accounts of the block chain by creating the asset accounts of the digital assets, and the bottom of the block chain provides the storage and transfer capacity of the digital assets; the transfer of the cross-contract assets does not need to use protocols, so that the execution efficiency and convenience of the related transactions of the digital assets are improved, and the data security is guaranteed.

Description

Block chain-based digital asset management method, device, equipment and storage medium
Technical Field
The present application relates to the field of blockchain technology, and in particular, to a method, an apparatus, a device, and a storage medium (computer storage medium) for managing digital assets based on blockchain.
Background
The blockchain generally uses an account system to store data, that is, all data has an ownership, which is an account. For example, information such as the balance of the account is recorded under a common account type, and contract data generated on the current contract is recorded under a contract account.
The casting and circulation of digital assets (digital assets refer to non-homogeneous tokens for uniquely identifying a person or something. A token of the digital asset type can be perfectly used for a platform selling collectibles, keys, lottery tickets, concert seat numbers, sports games, etc.) are performed by smart contracts, and the circulation efficiency of digital assets becomes low due to the limit of the execution efficiency of the smart contracts themselves; meanwhile, because the digital assets are only data content under one contract, and data between contracts are isolated, it becomes very troublesome when the digital assets are transferred between contracts or across chains, protocol standards need to be established to limit the behavior of transferring across the contracts assets, and the asset identifications of the digital assets in different contracts or different chains may be the same, so that the digital asset processing conflict is easy to occur, and the data security cannot be guaranteed.
Disclosure of Invention
The application provides a block chain-based digital asset management method, a block chain-based digital asset management device, block chain-based digital asset management equipment and a block chain-based storage medium, and aims to solve the technical problems that data safety cannot be guaranteed due to the fact that operations such as digital asset transfer in an existing block chain are complex, and digital assets in different contracts may conflict.
In one aspect, the present application provides a block chain-based digital asset management method, including the following steps:
responding to an asset account creation request, and acquiring asset parameters associated with the asset account creation request;
calling a preset asset casting contract to cast digital assets according to the asset parameters, and creating and storing asset accounts corresponding to the digital assets;
responding to an asset transfer request, and acquiring an account address identifier associated with the asset transfer request;
and transferring the digital assets in the target asset account corresponding to the account address identification according to the target asset parameters associated with the asset transfer request.
In some embodiments of the present application, before the obtaining asset parameters associated with the asset account creation request in response to the asset account creation request, the method includes:
creating a digital asset account underlying logical architecture comprising a decentralized application layer, a contract execution engine, and an account space;
performing chain native digital asset operations by the decentralized application layer to provide services to the outside;
executing operations of asset casting, asset query and/or asset transfer according to preset contract logic in the contract execution engine;
managing the digital assets in the asset accounts according to the asset parameters of all the asset accounts in the account space, wherein the asset parameters comprise: at least one of asset address, affiliated contract address, asset identification, asset status, owner address, double-created identification and preset custom information.
In some embodiments of the present application, the invoking a preset asset casting contract to cast a digital asset according to the asset parameters, and creating and storing an asset account corresponding to the digital asset, includes:
calling a contract execution engine in a bottom logic architecture of the digital asset account, and inputting the asset parameters to a preset asset casting contract in the contract execution engine;
calling a creating digital asset account interface of a preset chain account book through the preset asset casting contract, inputting the asset parameters to the creating digital asset account interface, and creating an asset account;
and according to the asset type of the digital asset, creating an account type corresponding to the digital asset in a preset account book, and storing the digital asset transmitted by the asset account.
In some embodiments of the present application, the transferring digital assets from the target asset account corresponding to the account address identifier according to the target asset parameters associated with the asset transfer request includes:
inquiring a target asset account corresponding to the account address identifier, and acquiring a target asset parameter associated with the asset transfer request;
if the target asset parameter is the affiliated contract address, updating the initial contract address of the target asset account to the affiliated contract address through a contract logic in a preset contract execution engine, and completing digital asset transfer;
and if the target asset parameter is user identification information, adjusting the owner contained in the owner address corresponding to the target asset account into the asset receiver corresponding to the user identification information, and completing the digital asset transfer.
In some embodiments of the present application, the obtaining, in response to the asset transfer request, the account address identifier associated with the asset transfer request includes:
responding to an asset transfer request, and if the asset transfer request has an associated asset address, setting the asset address as an account address identifier corresponding to the asset transfer request;
and if the asset transfer request does not have the associated asset address, associating the contract address and the asset identification associated with the asset transfer request, and setting the contract address and the asset identification as the account address identification corresponding to the asset transfer request.
In some embodiments of the present application, the transferring digital assets from the target asset account corresponding to the account address identifier according to the target asset parameters associated with the asset transfer request includes:
acquiring a target asset parameter associated with the asset transfer request, and extracting an asset state in the target asset parameter;
and if the asset state is an editable state, transferring the digital assets in the target asset account corresponding to the account address identifier.
In some embodiments of the present application, after transferring the digital asset in the asset account corresponding to the asset address according to the target asset parameter associated with the asset transfer request, the method further includes:
receiving a data updating request, and acquiring an account address identifier, user identifier information and target data associated with the data updating request;
inquiring a target asset account corresponding to the account address identifier to obtain an owner identifier in the target asset account;
and if the owner identification is the same as the user identification information, updating the target data to the target asset account.
In some embodiments of the present application, after the invoking the preset asset casting contract to cast the digital asset according to the asset parameters, and create and store an asset account corresponding to the digital asset, the invoking includes:
responding to a secondary creation request triggered based on the digital assets, and creating new digital assets for casting release;
setting a second creation identifier for an asset account corresponding to the new digital asset, and setting a source of the second creation identifier as an original account address identifier associated with the digital asset;
responding to a digital asset reward request, and inquiring a target digital asset account corresponding to the digital asset reward request;
if the target digital asset account contains the two-creation identification, rewarding the target digital asset account and rewarding the digital asset account corresponding to the original account address identification of the two-creation identification
In another aspect, the present application provides a blockchain-based digital asset management apparatus, including:
the creating module is used for responding to an asset account creating request and acquiring asset parameters related to the asset account creating request;
the casting module is used for calling a preset asset casting contract to cast the digital asset according to the asset parameters, and creating and storing an asset account corresponding to the digital asset;
the acquisition module is used for responding to the asset transfer request and acquiring the account address identifier associated with the asset transfer request;
and the transfer module is used for transferring the digital assets in the target asset account corresponding to the account address identification according to the target asset parameters associated with the asset transfer request.
In another aspect, the present application further provides a blockchain-based digital asset management device, including:
one or more processors;
a memory; and
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the steps in the blockchain-based digital asset management method.
In another aspect, the present application further provides a storage medium having a computer program stored thereon, where the computer program is loaded by a processor to execute the steps in the block chain-based digital asset management method.
Responding to an asset account creation request in the embodiment of the application, and acquiring asset parameters related to the asset account creation request; calling a preset asset casting contract to cast digital assets according to the asset parameters, and creating and storing asset accounts corresponding to the digital assets; responding to an asset transfer request, and acquiring an account address identifier associated with the asset transfer request; transferring the digital assets in the target asset account corresponding to the account address identification according to the target asset parameters associated with the asset transfer request; the method and the system establish the asset account of the digital asset, take the digital asset as one of the underlying accounts of the blockchain, provide the capability of storing and transferring the digital asset by the underlying account of the blockchain, do not need to use a complex protocol when transferring the asset across contracts or chains, and improve the execution efficiency and convenience of the related operations such as transferring the digital asset; meanwhile, the asset account determined by the account address identifier and the digital assets in the asset account are all-chain unique, so that the digital asset processing conflict is avoided, and the data security is guaranteed.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic diagram of a block chain-based digital asset management scenario provided by an embodiment of the present application;
FIG. 2 is a block chain based digital asset management method flowchart of an embodiment of the present application;
FIG. 3 is a schematic diagram illustrating a scenario of an embodiment of constructing a bottom logical architecture of a digital asset account in a blockchain-based digital asset management method according to an embodiment of the present application;
FIG. 4 is a schematic diagram illustrating a scenario of an asset account corresponding to a digital asset in a method for managing digital assets based on a blockchain according to an embodiment of the present application;
FIG. 5 is a schematic flow chart diagram illustrating one embodiment of a digital asset transfer in a blockchain-based digital asset management method provided in an embodiment of the present application;
FIG. 6 is a schematic diagram of a scenario illustrating one embodiment of a prior art asset transfer in an embodiment of the present application;
FIG. 7 is a schematic diagram of a scenario illustrating one embodiment of an asset transfer in a blockchain-based digital asset management method provided in an embodiment of the present application;
FIG. 8 is a schematic flow chart diagram illustrating another embodiment of asset transfer in a blockchain based digital asset management method provided in an embodiment of the present application;
FIG. 9 is a schematic flow chart diagram illustrating one embodiment of a digital asset update in a blockchain based digital asset management method provided in an embodiment of the present application;
FIG. 10 is a block chain based digital asset management device in accordance with one embodiment of the present application;
fig. 11 is a schematic structural diagram of an embodiment of a block chain-based digital asset management device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present 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 scope of the present invention.
In the description of the present invention, it is to be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc. indicate orientations or positional relationships based on those shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be considered as limiting the present invention. Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first", "second", may explicitly or implicitly include one or more of the described features. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
In this application, the word "exemplary" is used to mean "serving as an example, instance, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments. The following description is presented to enable any person skilled in the art to make and use the invention. In the following description, details are set forth for the purpose of explanation. It will be apparent to one of ordinary skill in the art that the present invention may be practiced without these specific details. In other instances, well-known structures and processes are not shown in detail to avoid obscuring the description of the invention with unnecessary detail. Thus, the present invention is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features disclosed herein.
Embodiments of the present application provide a method, an apparatus, a device, and a storage medium for block chain-based digital asset management, which are described in detail below.
The block chain-based digital asset management method is applied to a block chain-based digital asset management device, the block chain-based digital asset management device is arranged on block chain-based digital asset management equipment, and one or more processors, memories and one or more application programs are arranged in the block chain-based digital asset management equipment, wherein the one or more application programs are stored in the memories and are configured to be executed by the processors to realize the block chain-based digital asset management method; the digital asset management device based on the blockchain may be a terminal, such as a mobile phone or a tablet computer, and the digital asset management device based on the blockchain may also be a server or a service cluster formed by a plurality of servers.
As shown in fig. 1, fig. 1 is a schematic view of a scenario of digital asset management based on a blockchain according to an embodiment of the present invention, where the scenario of digital asset management based on a blockchain according to the present invention includes a digital asset management device 100 based on a blockchain, where a digital asset management apparatus based on a blockchain is integrated in the digital asset management device 100 based on a blockchain, and a storage medium corresponding to digital asset management based on a blockchain is run in the digital asset management device 100 based on a blockchain, so as to perform a step of digital asset management based on a blockchain.
It should be understood that the digital asset management device based on the blockchain in the scenario of digital asset management based on the blockchain shown in fig. 1, or the apparatus included in the digital asset management device based on the blockchain, does not constitute a limitation to the embodiment of the present invention, that is, the number of devices and the kind of devices included in the scenario of digital asset management based on the blockchain, or the number of devices and the kind of devices included in each device, do not affect the overall implementation of the technical solution in the embodiment of the present invention, and can be calculated as an equivalent replacement or derivative of the technical solution claimed in the embodiment of the present invention.
The block chain-based digital asset management device 100 in the embodiment of the present invention is mainly used for:
responding to an asset account creation request, and acquiring asset parameters associated with the asset account creation request;
calling a preset asset casting contract to cast digital assets according to the asset parameters, and creating and storing asset accounts corresponding to the digital assets;
responding to an asset transfer request, and acquiring an account address identifier associated with the asset transfer request;
and transferring the digital assets in the target asset account corresponding to the account address identification according to the target asset parameters associated with the asset transfer request.
In the prior art, a protocol similar to ERC721 on an ethernet workshop is generally adopted for digital asset management, the protocol appoints a compiling interface of a contract of the digital asset in a way of consensus under a line, and the contract can be compiled according to the protocol for the service related to the digital asset, so that other people can complete the calling of the contract of the digital asset through an interface of a realized standard protocol without knowing the specific logic inside the contract. The mode of the protocol is a storage mode of digital asset data, the digital asset data is generally stored under the contract account, the operation efficiency of digital asset transfer and the like is low, and complicated protocol support is required for transferring the digital asset across the contract.
According to the technical scheme, the digital assets serve as one of the underlying data structures of the block chain and are mapped into one block chain account, data identical to the digital assets are under the digital asset account, a full-chain unique account address identifier can be distributed to each digital asset, and the execution efficiency is guaranteed while convenient trans-contract transfer can be achieved. And because the digital assets are data at the chain level, the interface can be directly provided by the block chain to operate the digital assets without contracts, and the block chain naturally supports the functions of the digital assets. On the basis of the blockchain account model, the digital assets are also identified as account types of a blockchain, and the blockchain originally provides support for functions of the digital assets, so that the efficiency of digital asset circulation can be guaranteed, and one digital asset is unique in the whole chain. Meanwhile, in order to ensure the flexibility of operating the digital assets, the intelligent contract is provided with the capability of accessing the digital asset account, and flexible logic can be customized.
The digital asset management device 100 based on the blockchain in the embodiment of the present invention may be an independent digital asset management device based on the blockchain, or may be a digital asset management device network based on the blockchain or a digital asset management device cluster based on the blockchain, for example, the digital asset management device 100 based on the blockchain described in the embodiment of the present invention includes, but is not limited to, a computer, a network host, a single network digital asset management device based on the blockchain, a plurality of network digital asset management device sets based on the blockchain, or a cloud digital asset management device based on the blockchain, which is formed by a plurality of digital asset management devices based on the blockchain. Wherein, the Cloud block chain-based digital asset management device is composed of a large number of computers based on Cloud Computing (Cloud Computing) or a network block chain-based digital asset management device.
Those skilled in the art will understand that the application environment shown in fig. 1 is only one application scenario related to the present embodiment, and does not constitute a limitation on the application scenario of the present embodiment, and that other application environments may further include more or less digital asset management devices based on a block chain than that shown in fig. 1, or a network connection relationship of digital asset management devices based on a block chain, for example, only 1 digital asset management device based on a block chain is shown in fig. 1, and it will be understood that the scenario of digital asset management based on a block chain may further include one or more other digital asset management devices based on a block chain, and is not limited herein; a memory may also be included in the blockchain-based digital asset management device 100.
In addition, in the scenario of block chain-based digital asset management according to the present application, the block chain-based digital asset management device 100 may be provided with a display device, or the block chain-based digital asset management device 100 is not provided with a display device in communication connection with an external display device 200, and the display device 200 is configured to output a result of execution of the block chain-based digital asset management method in the block chain-based digital asset management device. The blockchain-based digital asset management device 100 may access the background database 300, where the background database may be in a local memory of the blockchain-based digital asset management device, the background database may also be disposed in a cloud, and the background database 300 stores information related to blockchain-based digital asset management.
It should be noted that the scenario diagram of the digital asset management based on the blockchain shown in fig. 1 is only an example, and the scenario of the digital asset management based on the blockchain described in the embodiment of the present invention is for more clearly illustrating the technical solution of the embodiment of the present invention, and does not constitute a limitation to the technical solution provided by the embodiment of the present invention.
Based on the above scenario of digital asset management based on blockchain, an embodiment of a method for digital asset management based on blockchain is proposed.
Referring to fig. 2, fig. 2 is a schematic flow chart of an embodiment of a blockchain-based digital asset management method in the embodiment of the present application, where the blockchain-based digital asset management method includes steps 201 to 204:
and 201, responding to the asset account creation request, and acquiring asset parameters associated with the asset account creation request.
The digital asset management method based on the blockchain in this embodiment is applied to digital asset management equipment based on the blockchain, which is also called blockchain nodes or node equipment, and the type of the digital asset management equipment based on the blockchain is not specifically limited, for example, the digital asset management equipment based on the blockchain may be a terminal or a server.
It should be added that, before step 201 in the digital asset management method based on the blockchain is executed, a digital asset management device pre-constructs a digital asset account bottom layer logic architecture, referring to fig. 3, fig. 3 is a scene schematic diagram of an embodiment of constructing the digital asset account bottom layer logic architecture in the digital asset management method based on the blockchain in the embodiment of the present application, where the digital asset account bottom layer logic architecture in the embodiment specifically includes:
1. creating a digital asset account bottom level logical architecture comprising a decentralized application layer, a contract execution engine, and an account space;
2. performing chain native digital asset operations by the decentralized application layer to provide services to the outside;
3. executing the operations of asset casting, asset query and/or asset transfer according to the preset contract logic in the contract execution engine;
4. managing digital assets in the asset accounts according to asset parameters of the asset accounts in the account space, wherein the asset parameters comprise: at least one of asset address, affiliated contract address, asset identification, asset status, owner address, double-created identification and preset custom information.
As shown in fig. 3, the underlying logical architecture of the digital asset account in fig. 3 includes a decentralized application layer, a contract execution engine and an account space, which includes:
the decentralized application layer is accessed through a DAPP interface and executes chain native digital asset operation to provide services for the outside; the decentralized application layer may specifically perform casting, air drop, purchase, trade, etc. of the chain native digital assets, it being understood that the decentralized application layer is designed to better link the chain native digital assets.
The contract execution engine includes contract logics for operations such as asset casting, asset query and/or asset transfer, and the operations of asset casting, asset query and/or asset transfer are executed through each contract logic in the contract engine, for example, the contract engine accesses an asset account corresponding to a digital asset in an account space to execute the operations of asset transfer.
The method comprises the steps that a common account, a contract account and an asset account are stored in an account space, wherein the common account is generated by a public and private key pair generated by a blockchain user under a chain, has a function of actively initiating a transaction, can sign the transaction through a private key, and can initiate active transaction call to the blockchain in an account address mode; the contract account is derived from a blockchain system, and a contract account can be derived after a common account is subjected to contract deployment, and the contract account has no private key, so that the transaction cannot be initiated actively and can only be used as a called party of the transaction; the asset account refers to accounts which store different types of digital assets, the asset account of the digital assets comprises asset parameters of each asset account, the digital assets in the asset account are managed according to the asset parameters of the asset accounts, and the asset parameters comprise: at least one of asset address, affiliated contract address, asset identification, asset status, owner address, double-created identification and preset custom information.
In the embodiment of the application, the digital asset account is an account type which is derived from the blockchain and cannot actively initiate transactions, the asset account provided based on the chain bottom account space in the liquidity has the unique account address identifier of the chain level, and the problem of asset identifier collision caused by the fact that the digital asset is distributed across contracts due to the fact that the digital asset has the same asset identifier under a plurality of contracts is solved.
That is, in this embodiment, the underlying logic architecture of the digital asset account provides services to the outside by accessing the decentralized application layer through the Dapp interface, the contract logic layer provides logic operations on the assets, and the account space provides efficient storage of the digital assets. The storage and logic operation of the digital assets are directly provided based on the bottom chain, the execution mode of the traditional virtual machine form is reduced, the expenditure caused by virtualization is not needed, and therefore the execution performance can be greatly improved.
In this embodiment, the block chain-based digital asset management method is implemented based on a pre-constructed digital asset account bottom logic architecture, and when the steps of the digital asset management method are described in this embodiment, the digital asset account bottom logic architecture is involved, specifically:
the digital asset management device receives an asset account creation request of a digital asset, wherein the triggering mode of the asset account creation request is not specifically limited, that is, the triggering mode may be actively triggered by a user, for example, the user inputs asset parameters in the digital asset management device, and the digital asset management device triggers the asset account creation request of the digital asset according to the asset parameters; in addition, the asset account creation request may also be automatically triggered by the digital asset management device, for example, the digital asset amount of xxx types preset in the digital asset management device exceeds a preset data amount (the preset data amount refers to a critical value of the digital asset corresponding to the creation of the asset account, and the preset data amount may be set according to a specific scenario), and the digital asset management device automatically triggers the asset account creation request.
The digital asset management device responds to the asset account creation request, and acquires asset parameters related to the asset account creation request, wherein the asset parameters comprise at least one of an asset address, an affiliated contract address, an asset identifier, an asset state, an owner address, a double-creation identifier and preset custom information,
the asset address refers to a storage address of the asset account, and the asset address can be used as unique identification information for identifying the asset account corresponding to the digital asset because the digital asset can be stored in different block chains or different contracts only once;
the affiliated contract address refers to a contract address of a contract to which the digital asset belongs, and since a contract may contain asset accounts of a plurality of digital assets, the affiliated contract address in the asset parameters cannot uniquely identify the asset account;
the asset identification refers to identification information of asset accounts, the asset identifications in the same contract are different, but the asset identifications in different contracts can be the same or different, and because the asset accounts can have a cross-contract condition, the asset identifications in a full chain or different contracts can not uniquely identify the asset accounts, but the asset accounts can be used as unique identification information for identifying the asset accounts corresponding to the digital assets, or the asset identifications and the affiliated contract addresses can also be used as unique identification information for identifying the asset accounts corresponding to the digital assets;
the asset state is to record state information of an asset account corresponding to the digital asset, and the asset state can be set according to user requirements, for example, the asset state is set to be active;
the owner address is an address of an owner of the asset account corresponding to the recorded digital asset, for example, the owner of the asset account recorded in the owner address is a;
the second-creation identification is identification information for recording updating and creation of an asset account corresponding to the digital asset, and the second-creation identification can also comprise an address from which asset account comes;
the preset custom information is created according to the requirements of the user on the asset account corresponding to the digital asset.
In this embodiment, a digital asset management device responds to an asset account creation request, the digital asset management device obtains an asset parameter associated with the asset account creation request, and the digital asset management device creates an asset account corresponding to a digital asset according to the asset parameter, specifically, the method includes:
and 202, calling a preset asset casting contract to cast the digital assets according to the asset parameters, and creating and storing asset accounts corresponding to the digital assets.
The digital asset management equipment calls a contract execution engine in a bottom logic framework of the digital asset account, casts the digital assets according to asset parameters through a preset asset casting contract in the contract engine, and creates and stores asset accounts corresponding to the digital assets; specifically, the method comprises the following steps:
1. calling a contract execution engine in a bottom logic architecture of the digital asset account, and inputting the asset parameters to a preset asset casting contract in the contract execution engine;
2. calling a creating digital asset account interface of a preset chain account book through the preset asset foundry contract, inputting the asset parameters to the creating digital asset account interface, and creating an asset account;
3. and according to the asset type of the digital asset, creating an account type corresponding to the digital asset in a preset account book, and storing the digital asset transmitted by the asset account.
The method comprises the steps that a digital asset management device calls a contract execution engine in a bottom logic framework of a digital asset account, the digital asset management device inputs asset parameters to a preset asset casting contract in the contract execution engine, the preset asset casting contract calls a creating digital asset account interface of a preset chain account book, the asset parameters are input to the creating digital asset account interface, and the asset account is created; the digital asset management device creates an account type corresponding to the digital asset in a preset account book according to the asset type of the digital asset, and stores the digital asset transmitted by an asset account. Referring to fig. 4, fig. 4 is a schematic view of a scenario of an embodiment of an asset account corresponding to a digital asset in a block chain-based digital asset management method according to the embodiment of the present application, and asset parameters included in the asset account corresponding to the digital asset are recorded in fig. 4.
In this embodiment, the digital assets and the asset accounts corresponding to the digital assets are created according to the asset parameters and stored, so that the digital assets are also mapped to a bottom-layer account of a block chain, the asset accounts are derived from the block chain, and because the digital assets are chain-level data, the block chain can directly provide an interface to operate the digital assets without contracts, and the block chain is changed into a block chain naturally supporting the functions of the digital assets. Specifically, the method comprises the following steps:
and 203, responding to the asset transfer request, and acquiring the account address identifier associated with the asset transfer request.
The digital asset management device responds to the asset transfer request, and acquires an account address identifier associated with the asset transfer request, wherein the account address identifier is identifier information for uniquely identifying an asset account corresponding to the digital asset, and specifically comprises:
1. responding to an asset transfer request, and if the asset transfer request has an associated asset address, setting the asset address as an account address identifier corresponding to the asset transfer request;
2. and if the asset transfer request does not have the associated asset address, associating the contract address and the asset identification associated with the asset transfer request, and setting the contract address and the asset identification as the account address identification corresponding to the asset transfer request.
In this embodiment, a digital asset is used as one of the underlying data structures of the blockchain and mapped into a blockchain account due to a pre-created asset account, and data identical to the digital asset is under the digital asset account, and a unique account address identifier of the whole chain can be allocated to each digital asset, so that the digital asset management device determines an asset account corresponding to the digital asset according to the account address identifier, and can perform convenient trans-contract transfer while ensuring high execution efficiency, specifically:
204, transferring the digital assets in the target asset account corresponding to the account address identification according to the target asset parameters associated with the asset transfer request.
The digital asset management equipment acquires target asset parameters related to the asset transfer request, wherein the target asset parameters refer to information related to the digital asset transfer, and for example, the target asset parameters comprise asset owner information in an asset account, contract address information to which the asset belongs, asset address information stored in the asset and the like; and the digital asset management equipment transfers the digital assets in the target asset account corresponding to the account address identification according to the target asset parameters, namely, the digital asset management equipment inquires the target asset account according to the account address identification and updates the target asset account according to the target asset parameters.
In the embodiment of the application, the asset account of the digital asset is created, the digital asset is used as one of the bottom accounts of the blockchain, the bottom of the blockchain provides the capability of storing and transferring the digital asset, and the asset transfer is carried out in a cross-contract or cross-chain mode without a protocol, so that the execution efficiency and the convenience of related operations such as digital asset transfer are improved; meanwhile, the asset account determined by the account address identifier and the digital assets in the asset account are all-chain unique, so that the digital asset processing conflict is avoided, and the data security is guaranteed.
In addition, it can be understood that, in this embodiment, a manner of creating an asset account corresponding to a digital asset is given, and an operation logic of the digital asset is described by taking digital asset transfer as an example; in other application scenarios, the digital asset management device may also adopt other asset account creation modes or other asset account operation logics, and in order to ensure flexibility in operating digital assets, a user may also customize flexible logics, which mainly means that an asset account can be operated to implement flexible logics in a manner of an intelligent contract; so as to further improve the execution efficiency and convenience of the digital asset related transaction.
Referring to fig. 5, fig. 5 is a schematic flow chart of an embodiment of digital asset transfer in a blockchain-based digital asset management method provided in an embodiment of the present application.
In some embodiments of the present application, step 204 is a detailed step of transferring the digital assets in the account corresponding to the account address identifier according to the target asset parameters associated with the asset transfer request, and specifically includes steps 301 to 303:
301, querying a target asset account corresponding to the account address identifier, and obtaining a target asset parameter associated with the asset transfer request.
The digital asset management device inquires a target asset account corresponding to the account address identifier and acquires a target asset parameter associated with the asset transfer request, and the digital asset management device transfers the digital asset according to the target asset parameter, specifically:
302, if the target asset parameter is the affiliated contract address, updating the initial contract address of the target asset account to the affiliated contract address through a contract logic in a preset contract execution engine, and completing digital asset transfer;
if the target asset parameter is the affiliated contract address, the digital asset management device updates the initial contract address of the target asset account to the affiliated contract address through a contract logic in a preset contract execution engine, and completes digital asset transfer, wherein the initial contract address refers to contract address information pre-stored in the target asset account.
303, if the target asset parameter is user identification information, adjusting the owner contained in the owner address corresponding to the target asset account to the asset receiver corresponding to the user identification information, and completing the digital asset transfer.
If the target asset parameter is the user identification information, the digital asset management device adjusts the owner contained in the owner address corresponding to the target asset account to the asset receiver corresponding to the user identification information, and digital asset transfer is completed. In this embodiment, the digital asset management device modifies information of the target asset account corresponding to the account address identifier to be transferred through the account book interface, changes an asset account owner into a recipient, and facilitates updating of digital assets in a later period.
In the embodiment, in terms of digital asset circulation, the asset account provided based on the bottom layer account space of the chain has the account address identifier with the only chain layer, the same identifier under a plurality of contracts does not exist, asset identifier collision is avoided when digital asset circulation is carried out across the contracts, and the digital security is improved.
Compared with the traditional cross-contract digital asset transfer scene, when the asset identification conflict is encountered, the conflict problem needs to be solved through a conversion protocol: referring to FIG. 6, FIG. 6 is a schematic diagram of a scenario illustrating one embodiment of asset transfer in the prior art in an embodiment of the present application; in the prior art, when asset identification conflicts occur, complex contract protocol conversion is required, and the operation is troublesome; referring to fig. 7, fig. 7 is a schematic view of a scenario of an embodiment of asset transfer in a block chain based digital asset management method provided in an embodiment of the present application; in the embodiment, free transfer can be performed, and the contract address where the corresponding asset account is located is modified during transfer, so that digital asset transfer is more convenient and faster.
In the embodiment, the capacity of storing and transferring the digital assets is originally provided through the intelligent contract, and the digital assets are used as one of the bottom accounts of the block chain, so that the capacity is directly and originally provided by the block chain, the execution efficiency, convenience and data security of the digital asset related transaction can be improved, and the construction of more subsequent application scenes of the digital assets is facilitated.
Referring to fig. 8, fig. 8 is a schematic flow chart of another embodiment of asset transfer in a blockchain-based digital asset management method provided in an embodiment of the present application.
In some embodiments of the present application, according to a target asset parameter associated with the asset transfer request, transferring the digital asset in the account address identifier corresponding to the target asset account includes, specifically, 401 to 402:
401, acquiring a target asset parameter associated with the asset transfer request, and extracting an asset state in the target asset parameter;
402, if the asset status is editable, transferring the digital asset in the target asset account corresponding to the account address identifier.
The digital asset management equipment acquires a target asset parameter associated with the asset transfer request and extracts an asset state in the target asset parameter; if the asset state is not an editable state, outputting prompt information for a user to confirm whether the user has the authority of editing the asset account; and if the asset state is an editable state, the digital asset management equipment transfers the digital assets in the target asset account corresponding to the account address identifier.
In this embodiment, a manner of transferring the digital assets in the asset account according to the asset status in the asset account is provided, so that the security of the digital assets can be further preserved.
Referring to fig. 9, fig. 9 is a schematic flow chart of an embodiment of a digital asset update in the method for block chain based digital asset management provided in the embodiment of the present application.
In some embodiments of the present application, after transferring the digital assets in the target asset account corresponding to the account address identifier according to the target asset parameters associated with the asset transfer request, specifically, steps 501 to 503:
501, receiving a data updating request, and acquiring an account address identifier, user identifier information and target data associated with the data updating request;
502, inquiring a target asset account corresponding to the account address identifier, and acquiring an owner identifier in the target asset account;
503, if the owner identification is the same as the user identification information, updating the target data to the target asset account.
In this embodiment, the digital asset management device receives a data update request, where a trigger mode of the data update request is not specifically limited, and the digital asset management device obtains an account address identifier, user identifier information, and target data associated with the data update request; the digital asset management equipment queries a target asset account corresponding to the account address identifier and acquires an owner identifier in the target asset account; and if the owner identification is the same as the user identification information, updating the target data to the target asset account.
In the embodiment, the owner is verified in the digital asset management device, so that the digital assets in the asset account are updated, and the safety of the digital assets can be ensured.
In some embodiments of the present application, after invoking a preset asset casting contract to cast a digital asset according to the asset parameters, and create and store an asset account corresponding to the digital asset, the creating of the digital asset for the second time may be performed, specifically, the creating of the digital asset includes:
responding to a secondary creation request triggered based on the digital assets, and creating new digital assets for casting release;
setting a second creation identifier for an asset account corresponding to the new digital asset, and setting a source of the second creation identifier as an original account address identifier associated with the digital asset;
responding to a digital asset reward request, and inquiring a target digital asset account corresponding to the digital asset reward request;
if the target digital asset account contains the two-creation identification, rewarding the target digital asset account and rewarding the digital asset account corresponding to the original account address identification of the two-creation identification.
That is, in the present embodiment, the digital asset management device increases the usage scenario of the second creation for the digital asset; when the account carries out secondary creation on a digital asset, casting and releasing a new digital asset, and a secondary creation identifier of an asset account can be set during casting, the digital asset management equipment sets the source of the secondary creation identifier as the address of the original digital asset account, so that the digital asset can be authorized to use, and when the creation incentive of the digital asset is carried out, if one digital asset is created by the secondary creation, the owner of the original digital asset can harvest the incentive when the digital asset is motivated, so that the digital asset management is more intelligent and convenient.
As shown in fig. 10, fig. 10 is a schematic structural diagram of an embodiment of the digital asset management device based on the blockchain provided in the embodiment of the present application.
In order to better implement the block chain-based digital asset management method in the embodiment of the present application, on the basis of the block chain-based digital asset management method, an embodiment of the present application further provides a block chain-based digital asset management apparatus, where the block chain-based digital asset management apparatus includes:
a creating module 601, configured to respond to an asset account creating request and obtain an asset parameter associated with the asset account creating request;
a casting module 602, configured to invoke a preset asset casting contract to cast a digital asset according to the asset parameters, create an asset account corresponding to the digital asset, and store the asset account;
an obtaining module 603, configured to respond to an asset transfer request and obtain an account address identifier associated with the asset transfer request;
a transfer module 604, configured to transfer the digital assets in the target asset account corresponding to the account address identifier according to the target asset parameters associated with the asset transfer request.
In some embodiments of the present application, before the step of the block chain-based digital asset management device executing the creation module responding to the asset account creation request and acquiring the asset parameters associated with the asset account creation request, the method includes:
creating a digital asset account bottom level logical architecture comprising a decentralized application layer, a contract execution engine, and an account space;
performing chain native digital asset operations by the decentralized application layer to provide services to the outside world;
executing the operations of asset casting, asset query and/or asset transfer according to the preset contract logic in the contract execution engine;
managing digital assets in the asset accounts according to asset parameters of the asset accounts in the account space, wherein the asset parameters comprise: at least one of asset address, affiliated contract address, asset identification, asset status, owner address, double-created identification and preset custom information.
In some embodiments of the present application, the casting module 602, executing a preset asset casting contract to cast a digital asset according to the asset parameters, and creating and storing an asset account corresponding to the digital asset, includes:
calling a contract execution engine in a bottom logic architecture of the digital asset account, and inputting the asset parameters to a preset asset casting contract in the contract execution engine;
calling a creating digital asset account interface of a preset chain account book through the preset asset casting contract, inputting the asset parameters to the creating digital asset account interface, and creating an asset account;
and according to the asset type of the digital asset, creating an account type corresponding to the digital asset in a preset account book, and storing the digital asset transmitted by the asset account.
In some embodiments of the present application, the block chain based digital asset management apparatus, the transferring module 604 performs transferring the digital asset in the target asset account corresponding to the account address identifier according to the target asset parameter associated with the asset transfer request, including:
inquiring a target asset account corresponding to the account address identifier, and acquiring a target asset parameter associated with the asset transfer request;
if the target asset parameter is the affiliated contract address, updating the initial contract address of the target asset account to the affiliated contract address through a contract logic in a preset contract execution engine, and completing digital asset transfer;
and if the target asset parameter is user identification information, adjusting the owner contained in the owner address corresponding to the target asset account into an asset receiver corresponding to the user identification information, and completing digital asset transfer.
In some embodiments of the present application, the obtaining module 603 in the digital asset management device based on the blockchain performs, in response to an asset transfer request, obtaining an account address identifier associated with the asset transfer request, including:
responding to an asset transfer request, and if the asset transfer request has an associated asset address, setting the asset address as an account address identifier corresponding to the asset transfer request;
and if the asset transfer request does not have the associated asset address, associating the contract address and the asset identification associated with the asset transfer request, and setting the contract address and the asset identification as the account address identification corresponding to the asset transfer request.
In some embodiments of the present application, the transferring module 604 in the digital asset management device based on the block chain transfers the digital asset in the target asset account corresponding to the account address identifier according to the target asset parameter associated with the asset transfer request, including:
acquiring a target asset parameter associated with the asset transfer request, and extracting an asset state in the target asset parameter;
and if the asset state is an editable state, transferring the digital assets in the target asset account corresponding to the account address identifier.
In some embodiments of the present application, the block chain based digital asset management device transfer module 604, after performing the transfer of the digital asset in the target asset account corresponding to the asset address according to the target asset parameter associated with the asset transfer request, includes:
receiving a data updating request, and acquiring an account address identifier, user identifier information and target data associated with the data updating request;
inquiring a target asset account corresponding to the account address identifier to obtain an owner identifier in the target asset account;
and if the owner identification is the same as the user identification information, updating the target data to the target asset account.
The digital asset management device based on the blockchain is used for executing the steps in the digital asset management method based on the blockchain in any embodiment of the digital asset management method based on the blockchain, and the steps are not described again here.
In the examples of the present application
The method and the system establish the asset account of the digital asset, take the digital asset as one of the bottom accounts of the blockchain, provide the capability of storing and transferring the digital asset by the bottom of the blockchain, do not need to use a protocol when transferring the asset across contracts or across chains, and improve the execution efficiency and convenience of related operations such as transferring the digital asset; meanwhile, the asset account determined by the account address identifier and the digital assets in the asset account are unique in a full chain, so that the data security is guaranteed. Meanwhile, in order to ensure the flexibility of operating the digital assets, the intelligent contract is provided with the capability of accessing the digital asset account, and flexible logic can be customized; the execution efficiency and the convenience of the related transaction of the digital assets are improved, and the data security is guaranteed.
An embodiment of the present invention further provides a block chain-based digital asset management device, as shown in fig. 11, fig. 11 is a schematic structural diagram of an embodiment of the block chain-based digital asset management device provided in the embodiment of the present application.
The block chain based digital asset management device integrates any block chain based digital asset management device provided by the embodiment of the invention, and comprises:
one or more processors;
a memory; and
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to perform the steps of the blockchain-based digital asset management method of any of the above embodiments of the blockchain-based digital asset management method.
Specifically, the method comprises the following steps: the blockchain-based digital asset management device may include components such as a processor 701 of one or more processing cores, memory 702 of one or more storage media, a power supply 703, and an input unit 704. Those skilled in the art will appreciate that the blockchain based digital asset management device architecture shown in fig. 11 does not constitute a limitation of blockchain based digital asset management devices and may include more or fewer components than shown, or some components in combination, or a different arrangement of components. Wherein:
the processor 701 is a control center of the blockchain-based digital asset management device, connects various parts of the entire blockchain-based digital asset management device using various interfaces and lines, and performs various functions of the blockchain-based digital asset management device and processes data by running or executing software programs and/or modules stored in the memory 702 and calling data stored in the memory 702, thereby performing overall monitoring of the blockchain-based digital asset management device. Alternatively, processor 701 may include one or more processing cores; preferably, the processor 701 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 701.
The memory 702 may be used to store software programs and modules, and the processor 701 executes various functional applications and data processing by operating the software programs and modules stored in the memory 702. The memory 702 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, application programs (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like; the storage data area may store data created according to the use of the digital asset management device based on the block chain, and the like. Further, the memory 702 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 702 may also include a memory controller to provide the processor 701 with access to the memory 702.
The device for block chain based digital asset management further comprises a power supply 703 for supplying power to each component, preferably, the power supply 703 may be logically connected to the processor 701 through a power management system, so as to implement functions of managing charging, discharging, power consumption management, and the like through the power management system. The power supply 703 may also include any component including one or more of a dc or ac power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
The blockchain-based digital asset management device may further include an input unit 704, the input unit 704 operable to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
Although not shown, the blockchain-based digital asset management apparatus may further include a display unit and the like, which are not described in detail herein. Specifically, in this embodiment, the processor 701 in the digital asset management device based on the blockchain loads the executable file corresponding to the process of one or more application programs into the memory 702 according to the following instructions, and the processor 701 runs the application program stored in the memory 702, so as to implement various functions as follows:
responding to an asset account creation request, and acquiring asset parameters associated with the asset account creation request;
calling a preset asset casting contract to cast digital assets according to the asset parameters, and creating and storing asset accounts corresponding to the digital assets;
responding to an asset transfer request, and acquiring an account address identifier associated with the asset transfer request;
and transferring the digital assets in the target asset account corresponding to the account address identification according to the target asset parameters associated with the asset transfer request.
It will be understood by those skilled in the art that all or part of the steps in the methods of the above embodiments may be performed by instructions or by instructions controlling associated hardware, and the instructions may be stored in a storage medium and loaded and executed by a processor.
To this end, an embodiment of the present invention provides a storage medium, which may include: read Only Memory (ROM), random Access Memory (RAM), magnetic or optical disks, and the like. Stored thereon, is a computer program that is loaded by a processor to perform the steps of any of the blockchain-based digital asset management methods provided by the embodiments of the present invention. For example, the computer program may be loaded by a processor to perform the steps of:
responding to an asset account creation request, and acquiring asset parameters associated with the asset account creation request;
calling a preset asset casting contract to cast digital assets according to the asset parameters, and creating and storing asset accounts corresponding to the digital assets;
responding to an asset transfer request, and acquiring an account address identifier associated with the asset transfer request;
and transferring the digital assets in the target asset account corresponding to the account address identification according to the target asset parameters associated with the asset transfer request.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and parts that are not described in detail in a certain embodiment may refer to the above detailed descriptions of other embodiments, and are not described herein again.
In a specific implementation, each unit or structure may be implemented as an independent entity, or may be combined arbitrarily to be implemented as one or several entities, and the specific implementation of each unit or structure may refer to the foregoing method embodiment, which is not described herein again.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
The above detailed description is provided for a block chain-based digital asset management method according to an embodiment of the present application, and a specific example is applied in the detailed description to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for those skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (11)

1. A block chain-based digital asset management method is characterized by comprising the following steps:
responding to an asset account creation request, and acquiring asset parameters associated with the asset account creation request;
calling a preset asset casting contract to cast digital assets according to the asset parameters, and creating and storing asset accounts corresponding to the digital assets;
responding to an asset transfer request, and acquiring an account address identifier associated with the asset transfer request;
and transferring the digital assets in the target asset account corresponding to the account address identification according to the target asset parameters associated with the asset transfer request.
2. The blockchain-based digital asset management method according to claim 1, wherein before acquiring the asset parameters associated with the asset account creation request in response to the asset account creation request, the method comprises:
creating a digital asset account underlying logical architecture comprising a decentralized application layer, a contract execution engine, and an account space;
performing chain native digital asset operations by the decentralized application layer to provide services to the outside world;
executing the operations of asset casting, asset query and/or asset transfer according to the preset contract logic in the contract execution engine;
managing the digital assets in the asset accounts according to the asset parameters of all the asset accounts in the account space, wherein the asset parameters comprise: at least one of asset address, affiliated contract address, asset identification, asset status, owner address, double-created identification and preset custom information.
3. The method for block chain based digital asset management according to claim 1, wherein said invoking a preset asset casting contract casts digital assets according to said asset parameters, creates an asset account corresponding to said digital assets and stores the asset account, comprising:
calling a contract execution engine in a bottom logic architecture of the digital asset account, and inputting the asset parameters to a preset asset casting contract in the contract execution engine;
calling a creating digital asset account interface of a preset chain account book through the preset asset casting contract, inputting the asset parameters to the creating digital asset account interface, and creating an asset account;
and according to the asset type of the digital asset, creating an account type corresponding to the digital asset in a preset account book, and storing the digital asset transmitted by the asset account.
4. The method for block chain based digital asset management according to claim 1, wherein said transferring digital assets in the target asset account corresponding to the account address identifier according to the target asset parameters associated with the asset transfer request comprises:
inquiring a target asset account corresponding to the account address identifier, and acquiring a target asset parameter associated with the asset transfer request;
if the target asset parameter is the affiliated contract address, updating the initial contract address of the target asset account to the affiliated contract address through a contract logic in a preset contract execution engine, and completing digital asset transfer;
and if the target asset parameter is user identification information, adjusting the owner contained in the owner address corresponding to the target asset account into an asset receiver corresponding to the user identification information, and completing digital asset transfer.
5. The blockchain-based digital asset management method according to claim 1, wherein the obtaining an account address identifier associated with the asset transfer request in response to the asset transfer request comprises:
responding to an asset transfer request, and if the asset transfer request has an associated asset address, setting the asset address as an account address identifier corresponding to the asset transfer request;
and if the asset transfer request does not have the associated asset address, associating the contract address and the asset identification associated with the asset transfer request, and setting the contract address and the asset identification as the account address identification corresponding to the asset transfer request.
6. The blockchain-based digital asset management method according to claim 1, wherein the transferring the digital assets in the target asset accounts corresponding to the account address identifier according to the target asset parameters associated with the asset transfer request comprises:
acquiring a target asset parameter associated with the asset transfer request, and extracting an asset state in the target asset parameter;
and if the asset state is an editable state, transferring the digital assets in the target asset account corresponding to the account address identifier.
7. The method for block chain based digital asset management according to any one of claims 1-6, wherein after transferring the digital asset in the target asset account corresponding to the asset address according to the target asset parameter associated with the asset transfer request, the method comprises:
receiving a data updating request, and acquiring an account address identifier, user identifier information and target data associated with the data updating request;
inquiring a target asset account corresponding to the account address identifier to obtain an owner identifier in the target asset account;
and if the owner identification is the same as the user identification information, updating the target data to the target asset account.
8. The method for block chain-based digital asset management according to claim 1, wherein after the invoking of the preset asset casting contract casts the digital asset according to the asset parameters, creates an asset account corresponding to the digital asset, and stores the asset account, the method comprises:
responding to a secondary creation request triggered based on the digital assets, and creating new digital assets for casting release;
setting a second creation identifier for an asset account corresponding to the new digital asset, and setting a source of the second creation identifier as an original account address identifier associated with the digital asset;
responding to a digital asset reward request, and inquiring a target digital asset account corresponding to the digital asset reward request;
if the target digital asset account contains the two-creation identification, rewarding the target digital asset account and rewarding the digital asset account corresponding to the original account address identification of the two-creation identification.
9. A blockchain-based digital asset management apparatus, comprising:
the creating module is used for responding to an asset account creating request and acquiring asset parameters related to the asset account creating request;
the casting module is used for calling a preset asset casting contract to cast the digital asset according to the asset parameters, and creating and storing an asset account corresponding to the digital asset;
the acquisition module is used for responding to the asset transfer request and acquiring the account address identifier associated with the asset transfer request;
and the transfer module is used for transferring the digital assets in the target asset account corresponding to the account address identification according to the target asset parameters associated with the asset transfer request.
10. A blockchain-based digital asset management device, the blockchain-based digital asset management device comprising:
one or more processors;
a memory; and
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the steps in the blockchain based digital asset management method of any one of claims 1 to 8.
11. A storage medium having stored thereon a computer program to be loaded by a processor for performing the steps of the blockchain based digital asset management method according to any one of claims 1 to 8.
CN202210985809.9A 2022-08-15 2022-08-15 Block chain-based digital asset management method, device, equipment and storage medium Pending CN115330384A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210985809.9A CN115330384A (en) 2022-08-15 2022-08-15 Block chain-based digital asset management method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210985809.9A CN115330384A (en) 2022-08-15 2022-08-15 Block chain-based digital asset management method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115330384A true CN115330384A (en) 2022-11-11

Family

ID=83924366

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210985809.9A Pending CN115330384A (en) 2022-08-15 2022-08-15 Block chain-based digital asset management method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115330384A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116579004A (en) * 2023-05-29 2023-08-11 中安网脉(北京)技术股份有限公司 Digital asset security protection method, system, electronic equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116579004A (en) * 2023-05-29 2023-08-11 中安网脉(北京)技术股份有限公司 Digital asset security protection method, system, electronic equipment and storage medium
CN116579004B (en) * 2023-05-29 2023-09-08 中安网脉(北京)技术股份有限公司 Digital asset security protection method, system, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN105979009B (en) A kind of increase load automatic balancing method for cloud application container
CN105094997B (en) Physical memory sharing method and system between a kind of cloud computing host node
JP2021504813A (en) Blockchain network transaction processing methods, devices, equipment and storage media
CN106685679A (en) Network service deployment method and device
US10331499B2 (en) Method, apparatus, and chip for implementing mutually-exclusive operation of multiple threads
CN109408751A (en) A kind of data processing method, terminal, server and storage medium
CN106598692A (en) Method for creating mirror image file in logical volume and starting virtual machine, and server
CN109379448A (en) A kind of file distribution dispositions method, device, electronic equipment and storage medium
CN108073423A (en) A kind of accelerator loading method, system and accelerator loading device
CN111126977A (en) Transaction processing method of block chain system
CN110213092A (en) Resource access method, platform management equipment, storage medium and the device of mixed cloud
CN106095483A (en) The Automation arranging method of service and device
CN115330384A (en) Block chain-based digital asset management method, device, equipment and storage medium
CN116360918A (en) Modeling data processing method, modeling data processing device, computer equipment and storage medium
CN109213567A (en) Method and equipment for managing VNF instantiation
CN113821307B (en) Method, device and equipment for quickly importing virtual machine images
WO2024104073A1 (en) Metadata access method and device, and storage medium
CN109995890A (en) A kind of method and server managing network address translation NAT gateway
CN105491082B (en) Remote resource access method and switching equipment
CN113535335A (en) Virtual resource allocation method and device based on block chain and electronic equipment
CN109347716A (en) The instantiation method and device of consumer VNF
CN115151902A (en) Cluster capacity expansion method and device, storage medium and electronic equipment
CN116974465A (en) Data loading method, device, equipment and computer storage medium
CN113157452B (en) Application service request method, device, computer equipment and storage medium
CN115470303A (en) Database access method, device, system, equipment 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