Disclosure of Invention
The invention aims to provide a management method and a management system of digital assets based on a alliance chain, so that all account assets are not in a unified contract, the risk resistance capability of the system is improved, and various different asset forms can be supported.
In order to solve the above technical problem, the present invention provides a management method for digital assets based on a federation chain, the management method comprising:
receiving asset information preset parameters for creating a digital asset information contract sent by a parameter party;
and calling a digital asset information contract creating function, creating a digital asset information contract template by using the asset information preset parameters, and generating the participant digital asset information contract.
Optionally, the scheme further includes:
receiving asset transfer predetermined parameters for creating a digital asset transfer contract sent by a transaction initiator;
and calling a digital circulation information contract creating function, creating a digital asset circulation contract template by using the asset circulation preset parameters, generating a digital asset circulation contract of the transaction initiator, and enabling the digital asset circulation contract of the transaction initiator to be in a state of waiting for transaction signing.
Optionally, after generating the digital asset transfer contract of the participant, the method further includes:
when determining information which is sent by a trading counterparty and confirms the content of the digital asset transfer contract of the trading initiator is received, judging whether predefined operation of the trading counterparty for executing the digital asset transfer contract of the trading initiator is received;
if yes, judging whether the predefined operation meets the content in the digital asset transfer contract of the transaction initiator;
if yes, changing the asset holder of the digital asset information contract corresponding to the digital asset transfer contract of the transaction initiator into the transaction counter-party, and adding the transaction record in the transfer record of the corresponding digital asset information contract.
Optionally, when generating the participant digital asset information contract, the method further includes:
judging whether the identity of the participant is legal and/or the authority is valid or not through the digital signature of the participant; if yes, executing a function for creating a digital asset information contract, creating a digital asset information contract template by using the asset information preset parameters, and generating the participant digital asset information contract;
or, when generating the digital asset transfer contract of the transaction initiator, the method further comprises:
judging whether the identity of the transaction initiator is legal and/or the authority is valid or not through the digital signature of the transaction initiator; if yes, executing a digital transfer information contract creating function, creating a digital asset transfer contract template by using the asset transfer preset parameters, generating a digital asset transfer contract of the transaction initiator, and enabling the digital asset transfer contract of the transaction initiator to be in a state of waiting for transaction signing.
Optionally, the scheme further includes:
the supervising party supervises the digital assets on the alliance chain according to the ID number of the digital asset information contract and/or the ID number of the digital asset transfer contract; wherein the policing includes querying and statistics.
Optionally, the scheme further includes:
and the supervisor controls the digital assets corresponding to the specified supervision codes through the supervision codes preset in the digital asset information contract and the digital asset transfer contract.
Optionally, the scheme further includes:
an ID number of the digital asset information contract and an ID number of a digital asset transfer contract are maintained.
The present invention also provides a management system for digital assets based on a federation chain, the management system comprising:
the asset information parameter receiving module is used for receiving asset information preset parameters for creating a digital asset information contract sent by a parameter party;
and the asset information contract creating module is used for calling a digital asset information contract creating function, creating a digital asset information contract template by using the asset information preset parameters and generating the participant digital asset information contract.
Optionally, the scheme further includes:
the asset transfer parameter receiving module is used for receiving asset transfer preset parameters for creating a digital asset transfer contract sent by a transaction initiator;
and the asset transfer contract creating module is used for calling a digital transfer information contract creating function, creating a digital asset transfer contract template by using the asset transfer preset parameters, generating a digital asset transfer contract of the transaction initiator and enabling the digital asset transfer contract of the transaction initiator to be in a state of waiting for transaction signing.
Optionally, the scheme further includes:
the asset transfer transaction module is used for judging whether predefined operation of executing the digital asset transfer contract of the transaction initiator by the transaction counter-party is received or not when determining information which is sent by the transaction counter-party and confirms the content of the digital asset transfer contract of the transaction initiator is received; if yes, judging whether the predefined operation meets the content in the digital asset transfer contract of the transaction initiator; if yes, changing the asset holder of the digital asset information contract corresponding to the digital asset transfer contract of the transaction initiator into the transaction counter-party, and adding the transaction record in the transfer record of the corresponding digital asset information contract.
The invention provides a management method of digital assets based on a alliance chain, which comprises the following steps: receiving asset information preset parameters for creating a digital asset information contract sent by a parameter party; calling a digital asset information contract creating function, creating a digital asset information contract template by using the asset information preset parameters, and generating the participant digital asset information contract;
therefore, the management method uses independent intelligent contracts to establish digital asset information contracts of all participants in a alliance chain, so that all account assets are not in one unified contract, the risk resistance capability of a system is improved, and the overall risk is reduced; each participant can have a corresponding digital asset information contract, so that various different asset forms can be supported, and the function of the trading platform is further improved; the invention also provides a management system of digital assets based on the alliance chain, which has the beneficial effects and is not repeated herein.
Detailed Description
The core of the invention is to provide a management method and a system of digital assets based on a alliance chain, so that all account assets are not in a unified contract, the risk resistance capability of the system is improved, and various different asset forms can be supported.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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 some, but not all, embodiments of the present invention. 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.
The terms appearing in the briefly summarized, explained embodiments are explained here in order for the embodiments to be understood with accuracy:
block chains: the distributed unified account book is characterized in that accounting contents are jointly determined by all participants, all the participants store full data, and any individual cannot tamper the data.
Federation chain: as opposed to a public chain, is one type of blockchain. It features that it has admission system and only authorized participators can join it. Correspondingly, the alliance chain has two roles of a supervisor and a common participant.
Block chain transaction: or transaction for short, refers to a piece of information sent by a participant, and sends the information to the content on the block chain after the information is digitally signed by using a private key of the participant. Typically the transaction comprises a payment transaction or a smart contract creation, invocation transaction.
Intelligent contract: a piece of program code on the blockchain specifies the rights and obligations of the contractual associate and the terms of the action. Contract associates confirm smart contracts by sending blockchain transactions, paying for digital currency that the contracts may require, invoking functions specified by the smart contracts, and so forth.
Account address: an account on the blockchain network usually appears in a form of some variation of a public key of some asymmetric key, and only a private key corresponding to the address is held to obtain the authority to operate the account.
Intelligent contract address: the virtual account corresponding to the intelligent contract is different from the common account address, and the intelligent contract address does not have a corresponding operation private key, which is defined by contract codes and can have operation authority.
Digital currency: payable, accumulable, divisible consolidated numerical information on the blockchain for currency circulation on the blockchain is held by the aforementioned account address or smart contract address.
Digital assets: the digital information of transferable ownership on the block chain is usually corresponding to some real world entity, and is held by the aforementioned account address or intelligent contract address.
The advent of blockchain technology allows for convenient registration and circulation of digital assets over a network. First, the blockchain is based on the trust of network participants on objective factors such as cryptography, blockchain consensus mechanisms and the like, and does not need to be established by government leadership, so that the threshold is greatly reduced for financial innovation. Secondly, the registration and circulation of the digital assets on the block chain are based on the setting of an intelligent contract, so that the method has extremely strong programmability and brings more possibility for financial innovation.
At present, few schemes exist for registering and circulating digital assets on a block chain, but the schemes often adopt a single intelligent contract management mode to manage the registration and circulation of the digital assets. As shown in fig. 1, in an original digital asset management contract, the relationship between account information and asset information is maintained in a data table, a digital asset is abstracted into a simple data structure, the ownership relationship of the digital asset is represented by a data table map, and the ownership change of the digital asset is implemented by a data table map change.
The main disadvantages of this are: 1. all assets of all accounts are in a unified contract, and once data are damaged or lost or keys are not well managed, the integrity risk is easily caused; 2. digital assets are defined in contracts in the same affiliated form and the same ownership transfer form, and it is difficult to support a plurality of different assets and a plurality of different asset transaction forms. Referring to fig. 2 in detail, fig. 2 is a flowchart of a management method for digital assets based on a federation chain according to this embodiment; the management method may include:
s100, receiving asset information preset parameters for creating a digital asset information contract sent by a parameter party;
and S110, calling a digital asset information contract creating function, creating a digital asset information contract template by using the asset information preset parameters, and generating a participant digital asset information contract.
Where the asset information predefined parameters may be entered according to requirements for creating a digital asset information contract template. Typically, the information is related to asset information from which predetermined parameters may determine asset information for the participant. The present embodiment does not limit the asset information predetermined parameter, and it is only necessary that it is adapted to the digital asset information contract template. The digital asset information contract template may include asset information related content, which may include, for example, asset holders (i.e., current holder information), asset description, flow records (i.e., historical hand-over information), asset status, etc. And each corresponding actual function may require different parameters, for example, the asset description contents may be explained according to the actual asset conditions, such as the asset description contents corresponding to futures, stocks, and bonds are different. The present embodiment does not limit the specific contents of the template herein. The user or the alliance chain can establish the corresponding template according to the requirement of the user or the alliance chain. And the template content can be modified according to the change of the actual situation. For example, in order to further ensure the security of each participating user in the federation chain, a supervision code may be added, so that a supervisor can monitor the digital asset information contract corresponding to the participant through the supervision code.
Specifically, in this embodiment, the digital assets are registered by using independent intelligent contracts, so that account assets of all participants are not in one unified contract, thereby improving the risk resistance of the alliance chain and reducing the overall risk; and each participant can support various different asset forms by the corresponding digital asset information contract, so that the function of the trading platform is further improved, and the flexibility and the adaptability of the participant in the alliance chain for registering the assets are greatly improved.
For example, when the intelligent contract, i.e., the digital asset information contract template, mainly stores therein the account ID of the asset holder, a description of the contents of the asset, a history of the asset circulation, and the current status of the asset, etc. Where the asset holder is an account ID (usually expressed as an external account address) on the blockchain, the digital asset content (asset description content) may include the necessary information of the digital asset tag's textual description, value amount, contract number, legal document, etc., the flow record may include the creation time, creator, past flow time, past holder, etc., and the status information may include information of in creation, normal flow, transaction offers made, transaction offers signed in, etc. The validity of a digital asset information contract may be guaranteed by the digital signature of the creator of the contract, the legitimacy of its assets may be guaranteed by the contract contents of the asset description, or by the reputation of the creator.
Further, in order to further ensure the reliability of a digital asset information contract initiated by a participant, when a corresponding contract is created for the participant applying for the digital asset information contract, whether the identity of the participant is legal and/or whether the authority is valid can be judged through the digital signature of the participant; if yes, then executing the function of creating the digital asset information contract, and creating the digital asset information contract template by using the preset parameters of the asset information to generate the participant digital asset information contract.
Specifically, whether the identity of the party is legal and/or whether the authority is valid is verified based on a digital signature that can prove the identity information of the party. And the effectiveness of the contract creation can be ensured after the verification is passed and the corresponding contract is generated. The rights here may be business rights that define each participant in the plant contract, e.g., whether a certain type, amount, etc. of digital assets can be created. The relationship may be stored in a mapping table or the like, and when the digital signature of the participant is received, it is determined whether the participant corresponding to the digital signature of the participant has the right to create the digital asset information contract of the type. And preliminarily detecting whether the digital asset information contract created by the digital asset information contract is effective, such as whether the quota in the asset description content meets the specified requirements. The method can ensure the reliability and the safety of the establishment of the digital asset information contract, and further improve the reliability and the safety of the alliance chain under the condition of ensuring the diversity of the digital asset information.
In addition, only identity verification or only validity verification can be performed when the digital asset information contract is created in the embodiment; of course, both may be verified to increase the security level.
Based on the technical scheme, the management method of the digital assets based on the alliance chain provided by the embodiment of the invention establishes the digital asset information contracts of all the participants in the alliance chain by using independent intelligent contracts, so that all the account assets are not in one unified contract, the risk resistance capability of a system is improved, and the overall risk is reduced; and each participant can have the corresponding digital asset information contract, so that various different asset forms can be supported, and the functions of the trading platform are further improved. And the security and reliability of the alliance chain are further improved through security verification when the digital asset information contract is created.
Based on the embodiment, on the basis that the alliance chain meets the diversity and the reliability of the digital asset information contract, the diversity and the reliability of asset transaction can be further met. That is, preferably, the scheme may further include:
receiving asset transfer predetermined parameters for creating a digital asset transfer contract sent by a transaction initiator;
and calling a digital circulation information contract creating function, creating a digital asset circulation contract template by using the asset circulation preset parameters, generating a digital asset circulation contract of the transaction initiator, and enabling the digital asset circulation contract of the transaction initiator to be in a state of waiting for transaction signing.
Where the asset flow reservation parameters may be entered according to the requirements for creating the digital asset flow contract template. Typically, this information is information relating to the asset transition from which predetermined parameters of the asset transition determine the asset transition information of the transaction initiator. The present embodiment does not limit the asset transition reservation parameter, and it is only necessary that it is adapted to the digital asset transition contract template. A digital asset transition contract template herein may include asset transition (i.e., asset transaction) related content that may include, for example, an asset contract ID, a transaction initiator, a transaction counterparty, asset transaction business logic, and the like. And each corresponding actual function can require different parameters, for example, asset transaction business logic can be explained according to the actual asset conditions, such as the asset transaction logic contents corresponding to futures, stocks and bonds are different, the asset transaction business logic corresponding to the same type of transaction initiator and the transaction counter-party is different, and the asset transaction business logic set in each transaction can be different, so as to meet the diversity of asset transactions and improve the asset transaction function in the alliance chain. The present embodiment does not limit the specific contents of the template herein. The contract may specify the type of digital assets, circulation rules, payment rules, etc. that are applicable. The user or the alliance chain can establish the corresponding template according to the requirement of the user or the alliance chain. And the template content can be modified according to the change of the actual situation. For example, in order to further ensure the security of each participating user in the federation chain, a supervision code may be added, so that a supervisor can monitor the digital asset transfer contract corresponding to the participant through the supervision code.
Specifically, in this embodiment, the digital asset transfer is operated by using an independent intelligent contract, so that account asset transactions of all participants are not in one unified contract, thereby improving the risk resistance of the alliance chain and reducing the overall risk; and each participant can support various different asset transaction forms (for example, different asset transaction business logics can be set) by the corresponding digital asset transfer contract, so that the function of the transaction platform is further improved, and the flexibility and the adaptability of the transaction initiator in the alliance chain for performing asset transaction are greatly improved.
For example, when the intelligent contract, i.e., the digital asset transfer contract template, mainly stores an asset contract ID, a transaction initiator, a transaction counterparty, asset transaction business logic, a supervision code, and the like. Since transaction transfer is required after the digital asset is created, the present embodiment issues transaction offers by creating a digital asset transfer contract. The digital asset transfer contract protection data content includes a digital asset contract ID (typically expressed as a contract address), a transaction initiator account ID, a transaction counter-party account ID, and business logic rules for the transaction. The business logic rules of the transaction within the digital asset stream contract specify the manner, content, restrictions, etc. of the transaction. For example, it may be specified that the counterparty confirms the transaction on the day of contract creation, the payment amount is discounted by 10%, that the counterparty confirms the transaction 3 days after contract creation, the payment amount is increased by 10%, and so on. The part of the business rule code can be written arbitrarily according to business needs, because the establishment of a contract requires the confirmation of both parties to realize the contract, and the contract is legal as long as the confirmation of both parties is carried out regardless of the special contract content. The processing logic flow for a digital asset transfer contract may be as follows: the transaction initiator creates, the transaction counter-party checks and signs for confirmation, the business logic checks whether all preset conditions are met (including whether the digital asset belongs to the transaction initiator, and whether the current status is available, whether the transaction counter-party has sufficient digital currency, and other business logic code defined content).
Further, in order to further ensure the reliability of the digital asset transfer contract initiated by the participant, when a corresponding contract is established for a transaction initiator applying for the digital asset transfer contract, whether the identity of the transaction initiator is legal and/or whether the authority is valid can be judged through the digital signature of the transaction initiator; if yes, executing a digital circulation information contract creating function, creating a digital asset circulation contract template by using the asset circulation preset parameters, generating a digital asset circulation contract of the transaction initiator, and enabling the digital asset circulation contract of the transaction initiator to be in a state of waiting for transaction signing.
Specifically, whether the identity of the transaction initiator is legal and/or whether the authority is valid is verified according to the digital signature capable of proving the identity information of the transaction initiator. And the effectiveness of the contract creation can be ensured after the verification is passed and the corresponding contract is generated. The rights here may be business rights that define each transaction initiator in the factory contract, e.g., whether a certain type, amount, etc. of digital assets can be created. The relation can be stored through a mapping table and the like, and after the digital signature of the transaction initiator is received, whether the transaction initiator corresponding to the digital signature of the transaction initiator has the right to create the digital asset transfer contract or not is judged. And preliminarily detecting whether the digital asset transfer contract created by the digital asset transfer contract is effective, such as whether the quota in the asset transaction business logic content meets the specified requirement and the like. The method can ensure the reliability and the safety of the establishment of the digital asset transfer contract, and further improve the reliability and the safety of the alliance chain under the condition of ensuring the transaction diversity of the digital assets.
In addition, in the embodiment, only identity verification or only validity verification can be performed when the digital asset transfer contract is created; of course, both may be verified to increase the security level.
After generating the digital asset circulation contract of the participant in the embodiment, the method further includes:
when determining information which is sent by a transaction counter-party and confirms the content of the digital asset transfer contract of the transaction initiator is received, judging whether predefined operation of the digital asset transfer contract of the transaction initiator executed by the transaction counter-party is received or not;
if yes, judging whether the predefined operation meets the content in the digital asset transfer contract of the transaction initiator or not;
if the transaction record is satisfied, changing the asset holder of the digital asset information contract corresponding to the digital asset transfer contract of the transaction initiator into a transaction counter-party, and adding the transaction record in the transfer record of the corresponding digital asset information contract.
Specifically, the predefined operations herein are operations specified in the asset transaction business logic; for example, if a contract specifies that 10 ten thousand per day are required to be debited by a counterparty, then the predefined action here is whether 10 ten thousand per day are received from a counterparty to a transaction initiator account. The specific predefined operational content is not limited in this embodiment and is related to the content in the specific asset transaction business logic.
A trading counterparty to a digital asset transfer contract may identify trading rules defined within the contract that the holder of the corresponding asset contract within the trading contract has changed to the aforementioned counterparty upon sending full amounts of digital currency or performing other predefined operations on the trading contract. Meanwhile, an asset transfer record is added in the asset contract. That is, when 10 ten thousand digital currencies paid by the counterparty are received within a prescribed time, the holder of the digital asset corresponding to the digital asset transfer contract becomes the counterparty, and the corresponding transfer record in the digital asset information contract corresponding to the digital asset adds 10 ten thousand of whom received in that time period, who the holder of the digital asset has the transaction record of who becomes.
That is, based on the above-described embodiments, both the digital asset information contract template and the digital asset transfer contract template used herein may be generated by a plant contract, i.e., the plant contract is used to create a digital asset information contract and a digital asset transfer contract. The reason why the factory contract is adopted to manage the service initiation is that the factory contract can provide a standardized contract template and can provide a supervision entrance, thereby facilitating and unifying the service flow of the participants.
When a participant needs to release a digital asset, the participant sends necessary parameters to a digital asset information contract creation function of a factory contract by initiating a transaction for creating the digital asset information contract, and the function creates the digital asset contract according to a corresponding digital asset contract template. In the process of creating, the intelligent dating book judges the validity of the identity of a creator and the validity of authority through digital signatures. Upon successful creation, the holder of the digital asset defaults to the originator.
When a holder of the digital assets wants to trade the digital assets held by the holder, the holder sends the parameters necessary for initiating the mode of establishing the contract trade to a digital asset circulation contract establishing function of the factory contract, and the function establishes the digital asset circulation contract according to the corresponding digital asset circulation contract template. In the process of creating, the intelligent dating book judges the validity of the identity of a creator and the validity of authority through digital signatures. After successful creation, the digital asset transfer contract is in a state of waiting for the transaction to sign in. A digital asset transfer contract counterparty may confirm a transaction rule defined within the contract and, upon sending full amounts of digital currency or performing other predefined operations of the transaction contract, the holder of the corresponding digital asset information contract within the transaction contract may be changed to the aforementioned counterparty. Meanwhile, an asset transfer record is added in the digital asset information contract.
Based on the technical scheme, the management method of the digital assets based on the alliance chain, provided by the embodiment of the invention, uses an independent intelligent contract to establish a digital asset information contract and a digital asset circulation contract of each participant in the alliance chain, so that all account assets and transactions are not in one unified contract, the risk resistance capability of a system is improved, and the overall risk is reduced; and each participant can have the corresponding digital asset information contract and the corresponding digital asset transfer contract, so that the method can support asset transactions in various different asset forms and different forms, and further improve the function of a transaction platform. And the security and reliability of the federation chain are further improved through security verification when the contract is created.
Based on any of the above embodiments, the present solution may further include:
the supervising party supervises the digital assets on the alliance chain according to the ID number of the digital asset information contract and/or the ID number of the digital asset transfer contract; among other things, policing may include queries and statistics.
Specifically, since the digital assets and the contracts corresponding to the digital asset transactions are produced by the factory contracts in a standardized manner, the monitoring party can conveniently track the structured information of the assets on the alliance chain for query and statistics. Digital asset information on a federation chain may be governed, for example, by the ID number of a digital asset information contract; the digital asset transaction information on the federation chain is governed by the ID number of the digital asset transfer contract.
Based on any of the above embodiments, the present solution may further include:
and the supervisor controls the digital assets corresponding to the specified supervision codes through the supervision codes preset in the digital asset information contract and the digital asset transfer contract.
Specifically, the supervising party can suspend the circulation of a certain digital asset at any time and control the circulation of the certain digital asset by the supervising code preset in the digital asset information contract and the digital asset circulation contract, and can also limit the factory contract at any time according to the market macroscopic condition, for example, the digital asset with the limit of more than 200 ten thousand cannot be created. Control contents such as logging off the account of the designated party and the like can also be used; therefore, the present embodiment does not limit the specific control content. The supervisory party can utilize the supervisory code to control the participants and their digital assets according to actual needs. The designated supervision codes can refer to all supervision codes, and can also be supervision codes corresponding to the participant users which are designated by the supervision party and need to be supervised. This embodiment is not limited to this.
In this embodiment, the federation chain would have many digital asset information contracts and digital asset transfer contracts. The contracts need to be managed, so in order to manage the contracts, the ID numbers of the digital asset information contracts and the ID numbers of the digital asset circulation contracts can be generated, so that the specific contents of the corresponding contracts can be determined through the ID numbers, and the management by a monitoring party is facilitated. Here, to ensure contract security, the ID number of the digital asset information contract and the ID number of the digital asset transfer contract need to be regularly maintained. That is, preferably, based on any of the above embodiments, the present solution may further include:
an ID number of the digital asset information contract and an ID number of the digital asset transfer contract are maintained.
Specifically, the ID number of the digital asset information contract and the ID number of the digital asset transfer contract are maintained periodically or in real time, so that the security of the ID number of the digital asset information contract and the security of the ID number of the digital asset transfer contract can be ensured, and the security of the digital asset information contract and the security of the digital asset transfer contract, that is, the security of the transaction information of the participants can be ensured.
Based on the technical scheme, the management method of the digital assets based on the alliance chain provided by the embodiment of the invention uses the independent intelligent contract to establish the digital asset information contract and the digital asset circulation contract of each participant in the alliance chain, so that all account assets and transactions are not in one unified contract, the risk resistance capability of the system is improved, and the overall risk is reduced; and each participant can transfer the contract by the corresponding digital asset information contract and the corresponding digital asset, so that the trading platform can support the trading of assets in various different asset forms and different forms, and further improves the function of the trading platform. And the security and reliability of the federation chain are further improved through security verification when the contract is created. A supervisor may manage digital assets. The digital assets are registered by independent intelligent contracts, the digital assets are circulated by independent intelligent contracts for service engagement, the digital assets are registered and circulated by special factory contracts for generation, and a supervisor is authorized to intervene in the digital assets states and also authorized to intervene in the digital assets circulation.
In the following, the management system for digital assets based on a federation chain provided by the embodiment of the present invention is introduced, and the management system for digital assets based on a federation chain described below and the management method for digital assets based on a federation chain described above may be referred to correspondingly.
Referring to fig. 3, fig. 3 is a block diagram illustrating a management system for digital assets based on a federation chain according to the present embodiment; the management system may include:
an asset information parameter receiving module 100, configured to receive an asset information predetermined parameter sent by a parameter party for creating a digital asset information contract;
and the asset information contract creating module 200 is used for calling a digital asset information contract creating function, creating a digital asset information contract template by using the asset information preset parameters and generating the participant digital asset information contract.
Based on the above embodiment, referring to fig. 4, the management system may further include:
an asset transfer parameter receiving module 300, configured to receive an asset transfer predetermined parameter for creating a digital asset transfer contract sent by a transaction initiator;
the asset transfer contract creation module 400 is configured to invoke a digital transfer information contract creation function, create a digital asset transfer contract template by using asset transfer predetermined parameters, generate a digital asset transfer contract of a transaction initiator, and enable the digital asset transfer contract of the transaction initiator to be in a state of waiting for transaction approval.
Based on the above embodiment, the management system further includes:
the asset transfer transaction module is used for judging whether predefined operation of the digital asset transfer contract of the transaction initiator executed by the transaction counter-party is received or not when determining information which is sent by the transaction counter-party and confirms the content of the digital asset transfer contract of the transaction initiator is received; if yes, judging whether the predefined operation meets the content in the digital asset transfer contract of the transaction initiator or not; if the transaction record is satisfied, changing the asset holder of the digital asset information contract corresponding to the digital asset transfer contract of the transaction initiator into a transaction counter-party, and adding the transaction record in the transfer record of the corresponding digital asset information contract.
Based on any of the above embodiments, the management system further comprises:
the supervision module is used for supervising the digital assets, and specifically may include:
the first supervision unit is used for supervising the digital assets on the alliance chain by the supervision party according to the ID number of the digital asset information contract and/or the ID number of the digital asset transfer contract; wherein the administration may include queries and statistics.
And the second supervision unit is used for controlling the digital assets corresponding to the specified supervision codes by the supervision party through the supervision codes preset in the digital asset information contract and the digital asset transfer contract.
And the third supervision unit is used for maintaining the ID number of the digital asset information contract and the ID number of the digital asset transfer contract.
Referring to fig. 5, a schematic diagram of the composition of each contract in the present embodiment is shown, where the contract mainly includes three parts 1. digital assets are registered by using an independent intelligent contract, and the intelligent contract records digital asset information, current holder information, historical hand-turning information, status information, and the like; 2. digital asset circulation operates using independent intelligent contracts that specify applicable digital asset types, circulation rules, payment rules, and the like; 3. factory contracts, which are used primarily to generate and initialize white space digital asset contracts and digital asset circulation contracts, legitimate participants may invoke factory contracts to register digital assets or trade digital assets. Further, the ID number maintenance module of the digital asset information contract and the ID number maintenance module of the digital asset transfer contract, that is, the content included in the third supervision unit described above, may also be included.
Based on the above technical solution, the management system of digital assets based on a federation chain provided in the embodiments of the present invention may be implemented by using an independent intelligent contract to register a state of a real digital asset, using an independent intelligent contract to perform a business engagement in a digital asset transfer, using a special factory contract to perform a digital asset registration and transfer generation, and having a right to intervene in the digital asset state and also having a right to intervene in the digital asset transfer.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The method and system for managing digital assets based on a federation chain provided by the present invention are described in detail above. The principles and embodiments of the present invention are explained herein using specific examples, which are presented only to assist in understanding the method and its core concepts. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.