CN114742654A - Digital asset circulation method, system, electronic device and medium based on alliance chain - Google Patents

Digital asset circulation method, system, electronic device and medium based on alliance chain Download PDF

Info

Publication number
CN114742654A
CN114742654A CN202210637761.2A CN202210637761A CN114742654A CN 114742654 A CN114742654 A CN 114742654A CN 202210637761 A CN202210637761 A CN 202210637761A CN 114742654 A CN114742654 A CN 114742654A
Authority
CN
China
Prior art keywords
homogenization
evidence
digital asset
owner
traded
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
CN202210637761.2A
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 Liancheng Digital Technology Co ltd
Original Assignee
Hangzhou Liancheng Digital 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 Liancheng Digital Technology Co ltd filed Critical Hangzhou Liancheng Digital Technology Co ltd
Priority to CN202210637761.2A priority Critical patent/CN114742654A/en
Publication of CN114742654A publication Critical patent/CN114742654A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • General Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Health & Medical Sciences (AREA)
  • Software Systems (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The application relates to a digital asset circulation method, a digital asset circulation system, an electronic device and a medium based on a alliance chain, wherein the digital asset circulation method based on the alliance chain comprises the following steps: responding to a transaction request for a digital asset to be transacted; acquiring non-homogenization evidence of the digital asset to be traded and the corresponding quantity of the homogenization evidence based on the trading request, wherein the non-homogenization evidence and the homogenization evidence are generated based on the casting of the alliance chain, and the quantity of the homogenization evidence is used for representing the value of the digital asset to be traded; and trading the digital assets to be traded based on the number of the non-homogeneous certificates and the homogeneous certificates. By the method and the device, the risk of digital asset transaction is reduced.

Description

Digital asset circulation method, system, electronic device and medium based on alliance chain
Technical Field
The present application relates to the field of digital asset and block chain technologies, and in particular, to a digital asset transfer method, system, electronic device, and medium based on a federation chain.
Background
The block chain technology, also called as distributed ledger technology, is an emerging technology in which a plurality of computing devices participate in 'accounting' together, and a complete distributed database is maintained together, has the characteristics of decentralization, openness and transparency, and capability of participating in database recording by each computing device and rapidly synchronizing data among the computing devices, and is widely applied to issuing, circulation, right confirmation and the like of digital assets.
At present, the digital assets can be digital collections or digital certificates generated by various original digital works or object articles with common identification value, intellectual property works and the like through a block chain technology. Digital assets based on the public chain during the transaction, the credentialing of the digital assets is accomplished by the distributed ledger of the public chain, while the transaction value of the digital assets is accomplished by a virtual token on another blockchain ledger, such as an ethernet currency, a bitcoin, etc., or its value exchange is accomplished directly by a legal currency, such as a renminbi, dollar, euro, etc. The virtual token is not usually the same as the chain of the digital assets, but the legal currency is generated by third-party casting and is different from or independent of the chain of the digital assets, so that when the transaction of the digital assets is realized through the virtual token or the legal currency of the non-same chain in the transaction process of the digital assets, the virtual token generated on one block chain is used for representing the value of the digital assets cast on the other block chain, which essentially causes the problem of unstable value of the digital assets, thereby bringing transaction risk to the transaction of the digital assets.
For the problem of high risk of digital asset transaction in the related art, no effective solution is provided at present.
Disclosure of Invention
In this embodiment, a digital asset circulation method, system, electronic device and medium based on a federation chain are provided to solve the problem of high risk of digital asset transaction in the related art.
In a first aspect, in this embodiment, a digital asset circulation method based on a federation chain is provided, where the method is applied to a digital asset circulation system based on a federation chain, and includes:
responding to a transaction request for a digital asset to be transacted;
acquiring non-homogenization evidence of the digital asset to be traded and the corresponding quantity of homogenization evidence based on the trading request, wherein the non-homogenization evidence and the homogenization evidence are generated based on the same alliance chain casting, and the quantity of the homogenization evidence is used for representing the value of the digital asset to be traded;
and trading the digital assets to be traded based on the non-homogenization evidence and the quantity of the homogenization evidence.
In some embodiments, the federation chain includes an owner account for the digital asset to be traded, the owner account including at least a non-homogenous accreditation list of owners, and further including, prior to the obtaining the non-homogenous accreditation of the digital asset to be traded based on the transaction request and the corresponding number of homogenous accreditations:
casting the homogenization certification on the alliance chain based on a preset protocol;
calling an intelligent contract corresponding to the digital assets to be traded based on the trading request;
casting the non-homogenization certification on the federation chain based on the intelligent contract;
determining the number of the homogenization deems set by the owner of the digital asset to be traded based on the transaction request;
storing the non-homogenization evidence in a non-homogenization evidence holding list of the owner, and storing the number of the homogenization evidence in the owner account, wherein the non-homogenization evidence is stored in a corresponding relation with the number of the homogenization evidence.
In some embodiments, said transacting the digital asset to be transacted based on the non-homogenization corroboration and the number of homogenization corroboration, comprises:
acquiring the account balance of a buyer of the digital assets to be traded;
comparing the quantity of the homogenization certificates with the account balance to obtain a comparison result;
and trading the digital assets to be traded according to the comparison result, the non-homogenization voucher and the quantity of the homogenization voucher.
In some embodiments, the trading the digital asset to be traded according to the comparison result, the number of the non-homogenization certificates and the homogenization certificates comprises:
the intelligent contract comprises a storage address identifier of the digital asset to be traded, and the trading of the digital asset to be traded is carried out according to the comparison result, the non-homogenization corroboration evidence, the quantity of the homogenization corroboration evidence and the intelligent contract, and the method comprises the following steps:
if the comparison result is that the account balance is not less than the homogenization evidence-passing quantity, calling an intelligent contract corresponding to the digital assets to be traded, wherein the intelligent contract comprises a storage address identifier of the digital assets to be traded;
determining the storage address identifier from the intelligent contract according to the non-homogenization evidence;
and sending the storage address identification to the buyer so that the buyer can obtain the digital assets to be traded according to the storage address identification.
In some embodiments, the alliance chain further comprises a buyer account of the digital asset to be traded, the buyer account comprises a non-homogenization evidence holding list of the buyer and an account balance of the buyer, the owner account further comprises an account balance of the owner and a non-homogenization evidence history holding list of the owner, and the trading of the digital asset to be traded based on the non-homogenization evidence and the amount of the homogenization evidence further comprises:
storing the non-homogenous evidence in a non-homogenous evidence holding list of the purchaser, deleting the non-homogenous evidence from the non-homogenous evidence holding list of the owner, and storing the non-homogenous evidence in a non-homogenous evidence history holding list of the owner;
and updating the account balance of the buyer and the account balance of the owner according to the quantity of the homogenization certificates.
In some embodiments, the non-homogenization evidence-holding list of the owner includes non-homogenization evidence currently held by the owner, non-homogenization evidence historically held by the owner, and corresponding ownership information of the non-homogenization evidence, where the ownership information is used to characterize whether the current ownership of the corresponding non-homogenization evidence is the owner, the federation chain further includes a buyer account of the digital asset to be traded, the buyer account includes a non-homogenization evidence-holding list of the buyer and an account balance of the buyer, the owner account further includes an account balance of the owner, and after the trading of the digital asset to be traded is performed based on the number of the non-homogenization evidence and the homogenization evidence, the method further includes:
changing the ownership information of the non-homogeneous evidence in a non-homogeneous evidence holding list of the owner to obtain changed ownership information, wherein the changed ownership information is used for representing that the non-homogeneous evidence is the non-homogeneous evidence held by the owner history;
adding the non-homogenization passport to the purchaser's non-homogenization passport holding list;
adding the ownership information of the non-homogenization permit to a non-homogenization permit holding list of the buyer to obtain added ownership information, wherein the added ownership information is used for representing that the non-homogenization permit is the non-homogenization permit currently held by the buyer;
and updating the account balance of the buyer and the account balance of the owner according to the quantity of the homogenization certificates.
In some embodiments, the alliance-chain-based digital asset transition system comprises a plurality of nodes, and after the updating of the account balance of the buyer and the account balance of the owner according to the amount of the homogenization certification, the method further comprises:
and performing consensus storage on the buyer account and the owner account in each node based on a distributed ledger of the federation chain.
In a second aspect, in this embodiment, a federation chain-based digital asset transition system is provided, including:
the response module is used for responding to a transaction request of the digital asset to be transacted;
the acquisition module is used for acquiring the non-homogenization evidence of the digital asset to be traded and the corresponding quantity of the homogenization evidence based on the trading request, wherein the non-homogenization evidence and the homogenization evidence are generated based on the same alliance chain casting, and the homogenization evidence is used for representing the value of the digital asset to be traded;
and the trading module is used for trading the digital assets to be traded based on the non-homogenization evidence and the quantity of the homogenization evidence.
In a third aspect, in this embodiment, there is provided an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the league chain-based digital asset circulation method of the first aspect is implemented.
In a fourth aspect, in the present embodiment, there is provided a storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the federation chain-based digital asset circulation method of the first aspect.
Compared with the related art, the digital asset circulation method based on the alliance chain provided in the embodiment obtains the number of the non-homogenization certificates and the corresponding homogenization certificates of the digital assets to be traded, wherein the non-homogenization certificates and the homogenization certificates are generated by casting on the same alliance chain, and further, the digital assets are traded based on the non-homogenization certificates and the homogenization certificates generated on the same alliance chain, so that the trading risk caused by the generation of the homogenization certificates of the digital assets and the trading of the digital assets on different block chains can be reduced.
The details of one or more embodiments of the application are set forth in the accompanying drawings and the description below to provide a more concise and understandable description of the application, and features, objects, and advantages of the application.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a block diagram of a hardware structure of a terminal of a digital asset circulation method based on a federation chain according to an embodiment of the present application.
Fig. 2 is a flowchart of a federation chain-based digital asset transition method according to an embodiment of the present application.
Fig. 3 is a schematic diagram of a digital asset circulation system based on a federation chain according to an embodiment of the present application.
Fig. 4 is a flowchart of a digital asset evidence saving method according to an embodiment of the present disclosure.
Fig. 5 is a schematic diagram of a digital asset owner account provided in an embodiment of the present application.
Fig. 6 is a flow chart of a transaction of a digital asset provided by an embodiment of the present application.
Fig. 7 is a flowchart of a method for querying a digital asset according to an embodiment of the present application.
Fig. 8 is a block diagram illustrating a structure of a federation chain-based digital asset transition system according to an embodiment of the present application.
Detailed Description
For a clearer understanding of the objects, aspects and advantages of the present application, reference is made to the following description and accompanying drawings.
Unless defined otherwise, technical or scientific terms referred to herein shall have the same general meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The use of the terms "a" and "an" and "the" and similar referents in the context of this application do not denote a limitation of quantity, either in the singular or the plural. The terms "comprises," "comprising," "has," "having," and any variations thereof, as referred to in this application, are intended to cover non-exclusive inclusions; for example, a process, method, and system, article, or apparatus that comprises a list of steps or modules (elements) is not limited to the listed steps or modules, but may include other steps or modules (elements) not listed or inherent to such process, method, article, or apparatus. Reference throughout this application to "connected," "coupled," and the like is not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. Reference to "a plurality" in this application means two or more. "and/or" describes an association relationship of associated objects, meaning that three relationships may exist, for example, "A and/or B" may mean: a exists alone, A and B exist simultaneously, and B exists alone. In general, the character "/" indicates a relationship in which the objects associated before and after are an "or". The terms "first," "second," "third," and the like in this application are used for distinguishing between similar items and not necessarily for describing a particular sequential or chronological order.
The method embodiments provided in the present embodiment may be executed in a terminal, a computer, or a similar computing device. For example, the present invention is operated on a terminal, and fig. 1 is a block diagram of a hardware structure of a terminal of a digital asset circulation method based on a federation chain according to an embodiment of the present application. As shown in fig. 1, the terminal may include one or more processors 102 (only one shown in fig. 1) and a memory 104 for storing data, wherein the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA. The terminal may also include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those of ordinary skill in the art that the structure shown in fig. 1 is merely an illustration and is not intended to limit the structure of the terminal described above. For example, the terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 can be used for storing computer programs, for example, software programs and modules of application software, such as a computer program corresponding to the digital asset circulation method based on the federation chain in the embodiment, and the processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, so as to implement the method. The memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used to receive or transmit data via a network. The network described above includes a wireless network provided by a communication provider of the terminal. In one example, the transmission device 106 includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used to communicate with the internet via wireless.
The block chain technology, also called as distributed ledger technology, is an emerging technology in which a plurality of computing devices participate in 'accounting' together, and a complete distributed database is maintained together, has the characteristics of decentralization, openness and transparency, and capability of participating in database recording by each computing device and rapidly synchronizing data among the computing devices, and is widely applied to issuing, circulation, right confirmation and the like of digital assets.
Currently, digital assets are mostly based on public, alliance chain foundings and releases. Public chain-based digital assets during a transaction, the credentialing of the digital assets is accomplished through a distributed ledger of the public chain, and the transaction value of the digital assets is accomplished through a virtual token on another blockchain ledger, such as an ethernet currency, a bitcoin, etc., or its value exchange is accomplished directly through a legal currency, such as renminbi, dollars, euros, etc. The virtual token is not usually the same as the chain in which the digital asset is located, or legal currency is generated by a third party casting, so that in the transaction process of the digital asset, a third party platform is required to be used as a connection to realize information exchange of two distributed accounts, or the transaction of the digital asset based on the legal currency is required to be realized. When the trading of the digital assets is realized through the virtual token or legal currency of the different chains in the alliance chain, the virtual token generated on one blockchain is used for representing the value of the digital assets casted on the other blockchain, and the problem of unstable value of the digital assets is brought essentially, so that the trading risk is brought to the trading of the digital assets, and meanwhile, the trading efficiency of the digital assets is also negatively influenced.
Therefore, how to reduce the risk of trading digital assets priced in non-linked virtual tokens or legal currencies is a problem to be solved.
A federation chain in a blockchain refers to a blockchain in which a plurality of organizations participate in management together, each organization operates one or more nodes, and data therein only allows different organizations in the system to perform read-write and send transactions and records transaction data together.
In this embodiment, a digital asset circulation method based on a federation chain is provided, and fig. 2 is a flowchart of a digital asset circulation method based on a federation chain provided in this embodiment of the present application, where an execution subject of the method may be an electronic device, and optionally, the electronic device may be a server, a terminal, and a digital asset circulation system based on a federation chain, but the present application is not limited thereto. For example, as shown in fig. 2, the process of the alliance-chain-based digital asset circulation system includes the following steps:
step S201, responding to a transaction request of the digital asset to be transacted.
Illustratively, the digital asset circulation system based on the alliance chain obtains a transaction request of the digital asset to be transacted, wherein the transaction request may be a sale transaction request sent by an owner of the digital asset to be transacted, a gift transaction request sent by the owner of the digital asset to be transacted, or a purchase transaction request sent by a buyer of the digital asset to be transacted, which is not limited herein.
Step S202, acquiring non-homogenization evidence of the digital assets to be traded and the corresponding quantity of the homogenization evidence based on the trading request.
Illustratively, according to the acquired transaction request, acquiring non-homogenization proofs of the digital assets to be transacted and corresponding quantity of homogenization proofs from a distributed book in a federation chain, wherein the quantity of the homogenization proofs of the digital assets to be transacted is used for representing the value of the digital assets to be transacted, and the non-homogenization proofs and the homogenization proofs of the digital assets to be transacted are generated based on the same federation chain casting.
It should be noted that the digital asset in the embodiment of the present application may be a digital collection or a digital certificate generated by using a block chain technology to generate various original digital works, or a physical object, an intellectual property work, and the like with a consensus value, where the digital asset is embodied in a Non-homogeneous Token (NFT) form, and the Non-homogeneous Token is an irreplaceable and unique Token and can be used to prove ownership of an object.
The homogenization certification in the embodiment of the present application may be a virtual token cast in a federation chain, such as a point, a point card, and a redemption ticket. The homogenization certification may be cast at the time the alliance chain was created.
And step S203, trading the digital assets to be traded based on the number of the non-homogenization certificates and the homogenization certificates.
And further, trading the digital assets to be traded on the alliance chain according to the obtained number of the non-homogeneous certificates and the homogeneous certificates.
In the implementation process, the non-homogenization evidence and the homogenization evidence of the digital assets to be traded are obtained and cast on the same alliance chain, and the transaction of the digital assets is carried out on the same alliance chain according to the obtained non-homogenization evidence and the obtained homogenization evidence, so that the casting of the homogenization evidence and the transaction process of the digital assets can be carried out in the same alliance chain, the sealing property of the transaction process of the digital assets is ensured, the transaction risk caused by the generation of the homogenization evidence and the transaction of the digital assets on different alliance chains can be reduced, and further, in the transaction process of the digital alliance, the information exchange of two distributed accounts on different alliance chains is not needed, the transaction efficiency of the digital assets is improved.
In some embodiments, the federation chain includes an owner account of the digital asset to be traded, the owner account including at least a non-homogenous corroborative holding list of the owner, and before obtaining the non-homogenous corroborative of the digital asset to be traded and a corresponding number of homogenous corroborative based on the trading request, the method may further include the following steps:
step 1: and casting the homogenization certification on the alliance chain based on a preset protocol.
Illustratively, the homogenization pass is cast at the time of creation of the federation chain according to a predetermined protocol.
It should be noted that the preset protocol may be one or a combination of the ERC20 protocol and the ERC223 protocol, and may also be other protocols, which is not limited herein.
And 2, step: and calling an intelligent contract corresponding to the digital assets to be traded based on the trading request.
Illustratively, the transaction request comprises a hash value of the digital asset to be transacted, an owner ID of the digital asset to be transacted and a storage address identifier of the digital asset to be transacted, and further, an intelligent contract corresponding to the digital asset to be transacted is created according to the hash value of the digital asset to be transacted, the owner ID of the digital asset to be transacted and the storage address identifier of the digital asset to be transacted and is stored in the alliance chain.
Further, an intelligent contract in the federation chain is invoked.
And 3, step 3: casting a non-homogenization certificate on a alliance chain based on intelligent contracts.
Illustratively, according to the intelligent contract, a non-homogenous certification is cast on the federation chain.
And 4, step 4: the number of homogenization passes set by the owner of the digital asset to be traded is determined based on the transaction request.
Further, according to the transaction request, the number of homogenization proofs set by the owner of the digital asset to be transacted is determined.
And 5: the non-homogenization proofs are stored in the owner's non-homogenization proof holding list, and the number of homogenization proofs is stored in the owner's account.
Wherein, the non-homogeneous general evidence and the homogeneous general evidence are correspondingly stored in a relevant way.
Illustratively, the alliance chain in the digital asset circulation system based on the alliance chain provided by the embodiment of the application comprises owner accounts of digital assets to be traded, specifically, the owner accounts at least comprise a non-homogeneous accreditation holding list of owners.
Further, the number of non-homogenization passes for the casting and the number of homogenization passes are stored in the owner account, specifically, the number of non-homogenization passes is stored in a non-homogenization pass holding list of the owner, and further, the number of homogenization passes for the digital asset to be traded is associated with and stored in the owner account.
Further, obtaining a non-repudiation certificate of the digital asset to be traded based on the trading request may include: the non-homogenization proofs are obtained from a non-homogenization proofs holding list of the owner based on the transaction request, and the quantity of homogenization proofs is obtained from the owner account.
In the implementation process, the digital assets to be traded are cast into corresponding non-homogeneous general evidence, so that the trading of the digital assets is facilitated based on the non-homogeneous general evidence, the safety of the trading of the digital assets is facilitated to be ensured, further, the quantity of the homogeneous general evidence corresponding to the digital assets to be traded is obtained, the value of the digital assets to be traded can be represented by the quantity of the homogeneous general evidence, the homogeneous general evidence can be various virtual token numbers such as points, point cards and exchange tickets, the value of the digital assets is represented by various virtual token numbers, the trading range of the digital assets is facilitated to be expanded, the non-homogeneous general evidence cast on a coalition chain is stored in a non-homogeneous general evidence holding list of an owner, and therefore when the trading of the digital assets is conducted, the NFT corresponding to the digital assets to be traded can be determined directly from the non-homogeneous general evidence holding list of the owner, the current owner of the NFT corresponding to the digital asset to be traded is determined without traversing the trading data of all NFTs in the blockchain, the NFT corresponding to the digital asset to be traded is further acquired from the account of the current owner, the acquiring efficiency of the NFT corresponding to the digital asset to be traded is improved, further, the trading of the digital asset is carried out according to the acquired non-homogeneous evidence, and the trading efficiency of the digital asset to be traded is improved.
In some embodiments, trading the digital assets to be traded based on the number of non-homogenous passes and homogenous passes may include the steps of:
step 1: an account balance of a purchaser of the digital asset to be traded is obtained.
Illustratively, when a certain buyer needs to buy the digital assets to be traded, a purchase request is sent to the digital assets circulation system based on the alliance chain, the purchase request comprises the account address of the buyer and the non-homogenization evidence of the digital assets to be traded which are wanted to be purchased, the digital assets circulation system based on the alliance chain determines the account of the buyer according to the account address of the buyer of the digital assets to be traded, and further obtains the account balance of the buyer from the account of the buyer.
Step 2: and comparing the quantity of the homogenization certificates with the account balance to obtain a comparison result.
Further, the corresponding quantity of the homogenization certificates is determined from the alliance chain according to the non-homogenization certificates which the buyer wants to purchase, and the quantity of the homogenization certificates is compared with the account balance of the buyer to obtain a comparison result.
And 3, step 3: and carrying out transaction of the digital assets to be traded according to the comparison result, the number of the non-homogenization negotiable certificates and the number of the homogenization negotiable certificates.
In the implementation process, whether the buyer has the purchasing qualification or not can be determined by comparing the account balance of the buyer with the homogenization evidence amount, so that the normal transaction of the digital asset to be transacted is ensured, and the benefit of the seller of the digital asset to be transacted is further ensured.
In some embodiments, the trading of the digital assets to be traded according to the comparison result, the number of non-homogenization passes and the number of homogenization passes may include the following steps:
step 1: and if the comparison result is that the account balance is not less than the homogenization evidence-passing quantity, calling the intelligent contract corresponding to the digital assets to be traded.
Wherein the smart contract includes a storage address identification of the digital asset to be traded.
Illustratively, if the account balance of the buyer is less than the amount of homogenization evidence, the transaction is cancelled. And if the account balance of the buyer is greater than or equal to the homogenization evidence-ensuring quantity, calling an intelligent contract corresponding to the digital asset to be traded, wherein the intelligent contract comprises a storage address identifier of the digital asset to be traded.
Step 2: and determining the storage address identification from the intelligent contract according to the non-homogeneity certification.
And further, acquiring the storage address identification of the digital assets to be traded from the intelligent contract according to the non-homogenization evidence.
And step 3: and sending the storage address identification to the buyer so that the buyer can obtain the digital assets to be traded according to the storage address identification.
Further, the storage address identification is sent to the buyer, and the buyer can obtain the digital assets to be traded according to the storage address identification.
In the implementation process, the storage address identifier of the digital asset to be traded is sent to the purchaser, so that the purchaser can conveniently obtain the digital asset to be traded according to the storage address identifier.
As another embodiment, the trading of the digital assets to be traded according to the comparison result, the number of non-homogenization corroboration certificates and homogenization corroboration certificates comprises: and trading the digital assets to be traded according to the comparison result, the number of the non-homogeneous evidence-based evidence and the intelligent contract corresponding to the digital assets to be traded.
Illustratively, an intelligent contract corresponding to the digital asset to be traded is obtained, the intelligent contract may include a current owner address of the digital asset to be traded and a historical owner address list, a current owner of the digital asset to be traded is determined according to the current owner address of the digital asset to be traded, a non-homogenization pass corresponding to the digital asset to be traded is obtained from the current owner, the non-homogenization pass is sent to a buyer of the digital asset to be traded, so that the buyer determines a storage address identifier of the digital asset to be traded according to the non-homogenization pass, and further, the digital asset to be traded is obtained according to the storage address identifier.
Further, the current owner address in the intelligent contract is changed into the address of the current buyer, and the owner address of the digital asset to be traded in the current transaction is stored in the historical owner address list of the digital asset to be traded in the intelligent contract.
In the implementation process, the transaction of the digital assets to be traded is carried out according to the number of the non-homogeneous deeds, the homogeneous deeds and the intelligent contracts corresponding to the digital assets to be traded, the transaction of the digital assets to be traded can be recorded, and the ownership of the digital assets to be traded can be determined.
In some embodiments, the federation chain further includes a buyer account for the digital asset to be traded, the buyer account including a non-homogenous evidence holding list of the buyer and an account balance of the buyer, the owner account further including an account balance of the owner and a non-homogenous evidence history holding list of the owner, and after the trading of the digital asset to be traded is performed based on the number of the non-homogenous evidence and the homogenous evidence, the method may further include:
step 1: the non-homogenization evidence is stored in a non-homogenization evidence-holding list of a purchaser of the digital asset to be traded, the non-homogenization evidence is deleted from the non-homogenization evidence-holding list of an owner of the digital asset to be traded, and the non-homogenization evidence is stored in a non-homogenization evidence-holding history list of the owner.
Illustratively, the alliance chain further comprises a buyer account of the digital assets to be traded, the buyer account comprises a non-homogenization evidence-holding list of the buyer, the non-homogenization evidence-holding list of the buyer comprises non-homogenization evidence currently held by the buyer, the non-homogenization evidence-holding list of the owner comprises non-homogenization evidence currently held by the owner, and the non-homogenization evidence-history holding list of the owner comprises non-homogenization evidence historically held by the owner.
Further, after the transaction of the digital asset to be traded is performed based on the number of the non-homogenization proofs and the homogenization proofs, the non-homogenization proofs are stored in a non-homogenization proofs holding list of a purchaser of the digital asset to be traded, the non-homogenization proofs are deleted from the non-homogenization proofs holding list of an owner of the digital asset to be traded, and the non-homogenization proofs are stored in a non-homogenization proofs history holding list of the owner.
Step 2: and updating the account balance of the buyer and the account balance of the owner according to the quantity of the homogenization certificates.
In addition, the account of the buyer also comprises the account balance of the buyer, the account of the owner also comprises the account balance of the owner, further, corresponding balance is deducted from the account balance of the buyer according to the quantity of the homogenization certificates, and the corresponding balance is added to the account balance of the owner of the digital assets to be traded.
In the implementation process, after the digital asset to be traded finishes trading, the non-homogenization general evidence is stored in the non-homogenization general evidence holding list of the buyer of the digital asset to be traded, the non-homogenization general evidence is deleted from the non-homogenization general evidence holding list of the owner of the digital asset to be traded, and the non-homogenization general evidence is stored in the non-homogenization general evidence history holding list of the owner, so that the transfer of the non-homogenization general evidence is realized, the non-homogenization general evidence holding list of the buyer and the non-homogenization general evidence holding list of the owner are updated, the balance of the buyer and the owner of the digital asset to be traded in the current trading is updated, the transfer of the trading value is realized, and the next trading of the digital asset by the buyer is further facilitated.
As another embodiment, the non-homogeneous passport possession list of the owner includes non-homogeneous vouchers currently held by the owner, non-homogeneous vouchers historically held by the owner, and ownership information of corresponding non-homogeneous vouchers, where the ownership information is used to characterize whether current ownership of corresponding non-homogeneous vouchers is the owner, the federation chain further includes a purchaser account of the digital asset to be traded, the purchaser account includes the non-homogeneous passport possession list of the purchaser and an account balance of the purchaser, and the owner account further includes an account balance of the owner.
After the transaction of the digital assets to be traded is carried out based on the number of the non-homogeneous deems and the homogeneous deems, the method also comprises the following steps:
step 1: and changing the ownership information of the non-homogeneous evidence in the non-homogeneous evidence holding list of the owner to obtain changed ownership information, wherein the changed ownership information is used for representing that the non-homogeneous evidence is the non-homogeneous evidence held by the owner in history.
Illustratively, after a transaction of a digital asset to be traded is conducted based on the number of non-homogenous passes and homogenous passes, the ownership information of the non-homogenous pass in the owner's non-homogenous pass holding list is altered so that the non-homogenous pass is a non-homogenous pass that the owner has historically held.
Step 2: the non-homogenous credentials are added to the purchaser's non-homogenous credentials holding list.
And step 3: and adding the ownership information of the non-homogeneous voucher in the non-homogeneous voucher holding list of the buyer to obtain the added ownership information, wherein the added ownership information is used for representing that the non-homogeneous voucher is the non-homogeneous voucher currently held by the buyer.
Further, the non-homogenization voucher is added to a non-homogenization voucher holding list of the buyer, and the ownership information of the non-homogenization voucher is added to the non-homogenization voucher holding list of the buyer, so that the non-homogenization voucher is the non-homogenization voucher currently held by the buyer.
And 4, step 4: and updating the account balance of the buyer and the account balance of the owner according to the quantity of the homogenization certificates.
Further, deducting the corresponding balance from the account balance of the purchaser according to the amount of the homogenization pass, and adding the corresponding balance to the account balance of the owner of the digital asset to be traded.
As another embodiment, if the transaction request is a gift transaction request sent by an owner of the digital asset to be transacted, the buyer of the transaction is a receiver of the digital asset to be transacted, and after performing the transaction of the digital asset to be transacted based on the number of the non-homogeneous certificates and the homogeneous certificates, the method further includes:
the non-homogenous witness list of the owner of the digital asset to be traded and the non-homogenous witness list of the recipient of the digital asset to be traded are updated.
Specifically, the ownership information of the non-homogeneous evidence-based certificate is changed in the non-homogeneous evidence-based certificate holding list of the owner to obtain changed ownership information, and the changed ownership information is used for representing that the non-homogeneous evidence-based certificate is the non-homogeneous evidence-based certificate which is held by the owner in history; adding the non-homogenous pass to a recipient's non-homogenous pass holding list; and adding the ownership information of the non-homogeneous voucher in a non-homogeneous voucher holding list of the receiver to obtain the added ownership information, wherein the added ownership information is used for representing that the non-homogeneous voucher is the non-homogeneous voucher currently held by the receiver.
Or, storing the non-homogeneous voucher in a non-homogeneous voucher holding list of a recipient of the digital asset to be traded, deleting the non-homogeneous voucher from the non-homogeneous voucher holding list of an owner of the digital asset to be traded, and storing the non-homogeneous voucher in a non-homogeneous voucher history holding list of the owner.
And, storing the amount of homogenization certification in the account of the recipient, the account balance of the recipient and the account balance of the owner remain unchanged.
In the implementation process, the ownership information of the non-homogeneous certificates in the non-homogeneous certificate-holding list is set so as to determine that the ownership of each non-homogeneous certificate in the non-homogeneous certificate-holding list is currently held by the current account, and the ownership of each non-homogeneous certificate is also held in history, so that the ownership of each non-homogeneous certificate is conveniently determined.
In some embodiments, the alliance-chain-based digital asset transition system comprises a plurality of nodes, and after updating the account balance of the buyer and the account balance of the owner according to the amount of the homogenization certification, the method further comprises: and carrying out consensus storage on the account of the buyer and the account of the owner in each node based on a distributed ledger of the alliance chain.
Illustratively, after the account of the owner of the digital asset to be transacted and the account of the buyer are updated, the account of the buyer and the account of the owner are stored in a consensus manner in each node based on a distributed ledger of a coalition chain based on a preset consensus mechanism.
It should be noted that the default consensus mechanism may be one or more of a workload certification mechanism (Proof of Work-PoW), a rights and interests certification mechanism (Proof of stamp-PoS), and a bayesian consensus algorithm (active Byzantine Fault probability-PBFT), or other consensus mechanisms, which is not limited herein.
In the implementation process, by means of consensus of the account of the owner of the digital asset to be transacted and the account of the purchaser in each node based on the distributed ledger of the federation chain, it can be ensured that data in each account is stored in the distributed ledger of the federation chain in the form of an account, and it is ensured that the traceability data stored in all nodes in the federation chain are kept consistent and cannot be tampered by a single node at will.
Fig. 3 is a schematic diagram of a federation chain-based digital asset transition system according to an embodiment of the present application, where as shown in fig. 3, the federation chain-based digital asset transition system may include: a storage layer, a network layer, a processing layer, and an application layer.
The storage layer is configured to store account information of each account successfully registered in the federation chain, where the account information at least includes an account address, an account balance, an NFT holding list, and a number of homogenization certificates corresponding to each NFT, and specifically, the NFT holding list may be presented in an array manner.
Additionally, the storage tier may be further operable to store intelligent contract information for each NFT, wherein the intelligent contract information includes at least a contract address, a current holder address of the NFT, and a historical holder address of the NFT.
In some embodiments, when a digital asset completes a transaction and needs to be able to begin the next transaction after a predetermined time limit, the smart contract may also include the state of the NFT, e.g., whether the NFT is transactable, whether the NFT can be transfuned, and a predetermined time limit.
The network layer is used for completing the information exchange of the federation chain through the P2P network, that is, the network layer comprises a plurality of nodes, and the information exchange in the federation chain is realized in a point-to-point mode.
The processing layer is used for realizing integrated transaction of homogenization evidence obtaining and non-homogenization evidence obtaining of the digital assets according to the account address, and completing evidence storage and transaction recording in the block chain.
The application layer is used for enabling different users in the alliance chain to complete information transfer of the digital assets.
As an embodiment, the digital asset circulation system based on the alliance chain can implement evidence storage of digital assets, fig. 4 is a flowchart of an evidence storage method of digital assets provided by the embodiment of the present application, and as shown in fig. 4, the flowchart includes the following steps:
step 401: and initiating the evidence storage.
Specifically, a client that has completed authorization in a federation chain sends an owned digital asset to a digital asset database, the digital asset database returns a storage address identifier, such as a URI or a URL, of the digital asset to the client, the client generates a hash value of the digital asset according to the storage address identifier of the digital asset, and the client initiates a certification process, that is, the hash value and an owner address of the digital asset are sent to a federation chain system.
Step 402: the uplink participates in the consensus.
Specifically, after one node in the federation chain acquires the hash value and the owner address of the digital asset, the hash value and the owner address of the digital asset are identified in each node in the federation chain.
Step 403: and judging a consensus result.
Specifically, the alliance chain system determines a consensus result of each node, and if the consensus of each node is successful, the consensus result is successful, and then step 404 is executed; if the consensus of any one of the nodes fails, the consensus result is failure, and step 405 is executed.
Step 404: the non-homogenous passcertificate holding list in the owner account is updated.
Specifically, non-homogenization pass-certificates and corresponding homogenization pass-certificates of the digital assets are generated according to the hash value and the owner address of the digital assets, the non-homogenization pass-certificates are added to a non-homogenization pass-certificate holding list in an owner account, the homogenization pass-certificates are stored in the owner account, and the updating of the non-homogenization pass-certificate holding list in the owner account is completed.
Fig. 5 is a schematic view of an account of a digital asset owner provided in an embodiment of the present application, as shown in fig. 5, if a digital asset of the present deposit certificate is x3, and an owner of the digital asset is a, before the digital asset is deposited certificate, an account address of a is an account a, an account balance is 1024, an NFT holding list includes two digital assets x1 and x2, after the digital asset x3 is deposited certificate, the account address of the account a and the account balance are unchanged, but the NFT holding list includes three digital assets x1, x2, and x3, and the owner account further includes basic information of the digital asset x3, specifically, a current owner of the digital asset x3 is the account a, a corresponding number of the homogeneous certificates is 15, and the digital asset address of the digital asset is a URI.
Step 405: and finishing storing the certificate.
And when the consensus fails or the update of the non-homogeneous evidence-based holding list is completed, ending the evidence storing process.
As an embodiment, the alliance chain-based digital asset circulation system can realize the transaction of a digital asset, fig. 6 is a flow chart of the transaction of the digital asset provided by the embodiment of the present application, as shown in fig. 6, when the digital asset is transacted, the digital asset comprises three parties, namely an owner 601, a alliance chain-based digital asset circulation system 602, and a buyer 603, and the flow includes the following steps:
step 604: a digital asset sale request is initiated.
Specifically, the owner 601 who has completed authorization in the alliance chain initiates a digital asset selling request to the alliance chain-based digital asset circulation system 602 through the client, specifically, the owner 601 may set the number of the non-homogenization certificates to be sold and the corresponding homogenization certificates on the client, and further, the client sends the number of the non-homogenization certificates to be sold and the corresponding homogenization certificates to the alliance chain-based digital asset circulation system 602.
Step 605: a digital asset purchase request is initiated.
Specifically, the purchaser 603 of the digital asset, who has completed authorization in the alliance chain, initiates a digital asset purchase request to the alliance chain-based digital asset circulation system 602 through a client.
Step 606: and invoking the intelligent contract.
Specifically, the federation chain-based digital asset transfer system 602 invokes an intelligent contract corresponding to a digital asset in the federation chain.
Step 607: and verifying the owner and the buyer according to the intelligent contract to obtain a verification result.
Specifically, the alliance-chain based digital asset circulation system 602 determines whether the originator of the sale request is the current owner of the digital asset according to the smart contract.
If the originator of the sale request is not the current owner of the digital asset, the check fails and step 608 is performed.
If the initiator initiating the sale request is the current owner of the digital assets, the digital asset circulation system 602 based on the alliance chain acquires the account balance of the buyer 603, and determines the account balance of the buyer 603 and the homogenization certification amount.
If the account balance of the buyer 603 is less than the amount of the homogenization certification, the verification fails and step 608 is executed.
If the account balance of the buyer 603 is greater than or equal to the number of homogenization passes, step 609 is performed.
Step 608: and if the verification fails, ending the transaction.
Specifically, if the initiator initiating the sale request is not the current owner of the digital asset, or the account balance of the buyer 603 is less than the homogenization certification amount, the verification fails, and the transaction is ended.
Step 609: and if the verification is successful, updating the data.
The digital asset circulation system 602 based on the federation chain sends the storage address of the digital asset to the purchaser 603, further, the purchaser 603 acquires the digital asset according to the storage address, and the digital asset circulation system 602 based on the federation chain adds the non-homogenization pass certificate to a non-homogenization pass certificate holding list in the account of the purchaser 603, deducts the balance corresponding to the number of the homogenization pass certificates from the account balance of the purchaser 603, deletes the non-homogenization pass certificate from the non-homogenization pass certificate holding list in the account of the owner 601, and increases the account balance of the owner 601 by the balance corresponding to the number of the homogenization pass certificates, thereby realizing the change of the non-homogenization pass certificate ownership, and updating the balance of the account of the purchaser 603 and the account of the owner 601.
As an embodiment, the alliance chain-based digital asset circulation system may implement a query of a digital asset, and fig. 7 is a flowchart of a digital asset query method provided by an embodiment of the present application, and as shown in fig. 7, the flowchart includes the following steps:
step 701: a query is initiated.
Specifically, a client that has completed authorization in the alliance chain initiates a digital asset and corresponding homogeneous token query process, sets an account address to be queried, and further, the client sends the account address to be queried to the alliance chain.
Step 702: a distributed ledger in a federation chain is accessed.
Specifically, according to the acquired account address to be queried, corresponding account information is acquired from a distributed account book in a federation chain, where the account information may include an account address, an account balance, an NFT holding list, and a homogenization evidence corresponding to each NFT.
Further, the querier may query each NFT in the NFT holding list, and may determine a corresponding homogenization voucher according to each NFT.
Step 703: and returning a query result.
Specifically, the digital asset circulation system based on the alliance chain returns the query result to the client, so that the client can acquire the account information of the query account.
Step 704: the query is ended.
Specifically, after the client receives the query result, the query process is ended.
It should be noted that the steps illustrated in the above-described flow diagrams or in the flow diagrams of the figures may be performed in a computer system, such as a set of computer-executable instructions, and that, although a logical order is illustrated in the flow diagrams, in some cases, the steps illustrated or described may be performed in an order different than here.
In this embodiment, a digital asset circulation system based on a federation chain is further provided, and the system is used to implement the foregoing embodiments and preferred embodiments, and the description already made is omitted for brevity. The terms "module," "unit," "subunit," and the like as used below may implement a combination of software and/or hardware for a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 8 is a block diagram of a structure of a federation chain-based digital asset transition system according to an embodiment of the present application, where as shown in fig. 8, the system includes:
a response module 801 for responding to a transaction request for a digital asset to be transacted;
an obtaining module 802, configured to obtain, based on the transaction request, non-homogenization proofs of the digital asset to be transacted and corresponding numbers of homogenization proofs, where the non-homogenization proofs and the homogenization proofs are generated based on the same alliance chain casting, and the numbers of the homogenization proofs are used to represent the value of the digital asset to be transacted;
a trading module 803, configured to trade the digital asset to be traded based on the non-homogenization certification and the homogenization certification.
In some embodiments, the federation chain includes owner accounts for the digital assets to be traded, the owner accounts including at least a list of non-homogenous proofs-of-possession, the obtaining module 802 is further configured to, prior to obtaining the non-homogenous proofs and corresponding number of homogenous proofs for the digital assets to be traded based on the transaction request:
casting a homogenization certification on the alliance chain based on a preset protocol;
calling an intelligent contract corresponding to the digital assets to be traded based on the trading request;
casting a non-homogenization certificate on a union chain based on intelligent synthesis;
determining a number of homogenization proofs set by an owner of the digital asset to be traded based on the trading request;
and storing the non-homogenization evidence in a non-homogenization evidence holding list of the owner, and storing the quantity of the homogenization evidence in an account of the owner, wherein the non-homogenization evidence is stored in a corresponding and correlated manner with the quantity of the homogenization evidence.
In some of these embodiments, the transaction module 803 is specifically configured to:
acquiring the account balance of a buyer of the digital assets to be traded;
comparing the quantity of the homogenization certificates with the account balance to obtain a comparison result;
and trading the digital assets to be traded according to the comparison result, the number of the non-homogenization corroboration and the number of the homogenization corroboration.
In some of these embodiments, the transaction module 803 is specifically configured to:
if the comparison result is that the account balance is not less than the homogenization certification quantity, calling an intelligent contract corresponding to the digital assets to be traded, wherein the intelligent contract comprises a storage address identifier of the digital assets to be traded;
determining a storage address identifier from an intelligent contract according to the non-homogenization evidence;
and sending the storage address identification to the buyer so that the buyer can obtain the digital assets to be traded according to the storage address identification.
In some embodiments, the alliance chain further comprises a buyer account for the digital asset to be traded, the buyer account comprising a non-homogenous credit holding list of the buyer and an account balance of the buyer, the owner account further comprising an account balance of the owner and a non-homogenous credit history holding list of the owner, the trading module 803 further configured to:
storing the non-homogenization general evidence in a non-homogenization general evidence holding list of a buyer, deleting the non-homogenization general evidence from the non-homogenization general evidence holding list of an owner, and storing the non-homogenization general evidence in a non-homogenization general evidence history holding list of the owner;
and updating the account balance of the buyer and the account balance of the owner of the digital asset to be traded according to the homogenization pass.
In some embodiments, the non-homogeneous passport holding list of the owner includes non-homogeneous passphrase currently held by the owner, non-homogeneous passphrase historically held by the owner, and ownership information corresponding to the non-homogeneous passphrase, where the ownership information is used to characterize whether the current possession of the corresponding non-homogeneous passphrase is the owner, the federation chain further includes a purchaser account of the digital asset to be traded, the purchaser account includes the non-homogeneous passport holding list of the purchaser and an account balance of the purchaser, the owner account further includes an account balance of the owner, and the trading module 803 is further configured to:
the method comprises the steps that the ownership information of the non-homogeneous evidence is changed in a non-homogeneous evidence holding list of an owner to obtain changed ownership information, and the changed ownership information is used for representing that the non-homogeneous evidence is the non-homogeneous evidence held by the owner in history;
adding the non-homogeneous certificates to a non-homogeneous certificate holding list of the buyer;
adding ownership information of the non-homogeneous voucher to a non-homogeneous voucher holding list of the buyer to obtain added ownership information, wherein the added ownership information is used for representing that the non-homogeneous voucher is the non-homogeneous voucher currently held by the buyer;
the buyer's account balance and the owner's account balance are updated based on the number of the homogenization passes.
In some embodiments, the federation chain-based digital asset transition system includes a plurality of nodes, and the transaction module 803 is further configured to:
and carrying out consensus storage on the account of the buyer and the account of the owner in each node based on a distributed ledger of the alliance chain.
The above modules may be functional modules or program modules, and may be implemented by software or hardware. For a module implemented by hardware, the modules may be located in the same processor; or the modules can be respectively positioned in different processors in any combination.
There is also provided in this embodiment an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, responding to the transaction request for the digital asset to be transacted.
And S2, acquiring the non-homogenization general evidence of the digital assets to be traded and the corresponding quantity of the homogenization general evidence based on the trading request, wherein the non-homogenization general evidence and the homogenization general evidence are generated based on the same alliance chain casting, and the quantity of the homogenization general evidence is used for representing the value of the digital assets to be traded.
And S3, trading the digital assets to be traded based on the number of the non-homogeneous certificates and the homogeneous certificates.
It should be noted that, for specific examples in this embodiment, reference may be made to the examples described in the foregoing embodiments and optional implementations, and details are not described again in this embodiment.
In addition, in combination with the digital asset circulation method based on the alliance chain provided in the above embodiment, a storage medium may also be provided to implement the method in this embodiment. The storage medium having stored thereon a computer program; the computer program, when executed by a processor, implements any of the federation chain-based digital asset transition methods of the embodiments described above.
It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to be limiting. All other embodiments, which can be derived by a person skilled in the art from the examples provided herein without any inventive step, shall fall within the scope of protection of the present application.
It is obvious that the drawings are only examples or embodiments of the present application, and it is obvious to those skilled in the art that the present application can be applied to other similar cases according to the drawings without creative efforts. Moreover, it should be appreciated that such a development effort might be complex and lengthy, but would nevertheless be a routine undertaking of design, fabrication, and manufacture for those of ordinary skill having the benefit of this disclosure, and is not intended to limit the present disclosure to the particular forms disclosed herein.
The term "embodiment" is used herein to mean that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is to be expressly and implicitly understood by one of ordinary skill in the art that the embodiments described in this application may be combined with other embodiments without conflict.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the patent protection. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.

Claims (10)

1. A alliance chain based digital asset circulation method is applied to an alliance chain based digital asset circulation system and comprises the following steps:
responding to a transaction request for a digital asset to be transacted;
acquiring non-homogeneous evidence of the digital asset to be traded and the corresponding quantity of homogeneous evidence based on the trading request, wherein the non-homogeneous evidence and the homogeneous evidence are generated based on the same alliance chain, and the quantity of the homogeneous evidence is used for representing the value of the digital asset to be traded;
and carrying out transaction of the digital assets to be traded based on the non-homogenization corroboration evidence and the quantity of the homogenization corroboration evidence.
2. A federation chain-based digital asset transfer method as claimed in claim 1 wherein the federation chain includes owner accounts for the digital assets to be traded, the owner accounts including at least a non-homogenous accreditation holding list of owners, further comprising, before the obtaining of the non-homogenous accreditation of the digital assets to be traded based on the trade request and the corresponding number of homogenous accreditations:
casting the homogenization certification on the alliance chain based on a preset protocol;
calling an intelligent contract corresponding to the digital assets to be traded based on the trading request;
casting the non-homogenization certification on the federation chain based on the intelligent contract;
determining the number of the homogenization deems set by the owner of the digital asset to be traded based on the transaction request;
storing the non-homogenization evidence in a non-homogenization evidence holding list of the owner, and storing the number of the homogenization evidence in the owner account, wherein the non-homogenization evidence is stored in a corresponding relation with the number of the homogenization evidence.
3. A federation chain-based digital asset transfer method as claimed in claim 1 or 2, wherein said conducting a transaction of the digital asset to be traded based on the number of said non-homogenizations accreditation and said homogenizations accreditation comprises:
acquiring the account balance of a buyer of the digital assets to be traded;
comparing the quantity of the homogenization certificates with the account balance to obtain a comparison result;
and carrying out the transaction of the digital assets to be transacted according to the comparison result, the non-homogenization certificates and the quantity of the homogenization certificates.
4. A alliance chain based digital asset transition method according to claim 3, wherein the trading of the digital assets to be traded according to the comparison result, the number of the non-homogenization certificates and the number of the homogenization certificates comprises:
if the comparison result is that the account balance is not less than the homogenization evidence-passing quantity, calling an intelligent contract corresponding to the digital assets to be traded, wherein the intelligent contract comprises a storage address identifier of the digital assets to be traded;
determining the storage address identifier from the intelligent contract according to the non-homogenization evidence;
and sending the storage address identification to the buyer so that the buyer can obtain the digital assets to be traded according to the storage address identification.
5. A alliance chain based digital asset transfer method as claimed in claim 2, wherein the alliance chain further comprises a buyer account of the digital asset to be traded, the buyer account comprises a non-homogenization accreditation holding list of the buyer and an account balance of the buyer, the owner account further comprises an account balance of the owner and a non-homogenization accreditation history holding list of the owner, and the trading of the digital asset to be traded based on the non-homogenization accreditation and the homogenization accreditation amount further comprises:
storing the non-homogenous evidence in a non-homogenous evidence holding list of the purchaser, deleting the non-homogenous evidence from the non-homogenous evidence holding list of the owner, and storing the non-homogenous evidence in a non-homogenous evidence history holding list of the owner;
and updating the account balance of the buyer and the account balance of the owner according to the quantity of the homogenization certificates.
6. A federation chain-based digital asset transition method of claim 2, the non-homogenous evidence holding list of the owner comprises non-homogenous evidence held by the owner currently and non-homogenous evidence held by the owner history, and ownership information of the corresponding non-homogeneous voucher, wherein the ownership information is used for representing whether the current ownership of the corresponding non-homogeneous voucher is the owner or not, the alliance chain further comprises a buyer account of the digital assets to be traded, the buyer account comprises a non-homogeneous accreditation list of the buyer and an account balance of the buyer, the owner account further comprises an account balance of the owner, and after the trading of the digital asset to be traded is performed based on the amount of the non-homogenization pass and the homogenization pass, further comprising:
modifying the ownership information of the non-homogenization permit in a non-homogenization permit holding list of the owner to obtain modified ownership information, wherein the modified ownership information is used for representing that the non-homogenization permit is a non-homogenization permit which the owner has historically;
adding the non-homogenization passport to the purchaser's non-homogenization passport holding list;
adding the ownership information of the non-homogenization permit to a non-homogenization permit holding list of the buyer to obtain added ownership information, wherein the added ownership information is used for representing that the non-homogenization permit is the non-homogenization permit currently held by the buyer;
and updating the account balance of the buyer and the account balance of the owner according to the quantity of the homogenization pass.
7. The alliance chain based digital asset transition method of claim 5 or 6, wherein the alliance chain based digital asset transition system comprises a plurality of nodes, after the updating the account balance of the buyer and the account balance of the owner according to the amount of the homogenization certification, further comprising:
and performing consensus storage on the buyer account and the owner account in each node based on a distributed ledger of the federation chain.
8. A federation chain-based digital asset transfer system, comprising:
the response module is used for responding to the transaction request of the digital assets to be transacted;
the acquisition module is used for acquiring the non-homogenization evidence of the digital asset to be traded and the corresponding quantity of the homogenization evidence based on the trading request, wherein the non-homogenization evidence and the homogenization evidence are generated based on the same alliance chain casting, and the homogenization evidence is used for representing the value of the digital asset to be traded;
and the trading module is used for trading the digital assets to be traded based on the non-homogenization certification and the quantity of the homogenization certification.
9. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the computer program to perform the federation chain-based digital asset circulation method of any one of claims 1 to 7.
10. A computer readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the federation chain-based digital asset transition method of any one of claims 1 to 7.
CN202210637761.2A 2022-06-08 2022-06-08 Digital asset circulation method, system, electronic device and medium based on alliance chain Pending CN114742654A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210637761.2A CN114742654A (en) 2022-06-08 2022-06-08 Digital asset circulation method, system, electronic device and medium based on alliance chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210637761.2A CN114742654A (en) 2022-06-08 2022-06-08 Digital asset circulation method, system, electronic device and medium based on alliance chain

Publications (1)

Publication Number Publication Date
CN114742654A true CN114742654A (en) 2022-07-12

Family

ID=82288044

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210637761.2A Pending CN114742654A (en) 2022-06-08 2022-06-08 Digital asset circulation method, system, electronic device and medium based on alliance chain

Country Status (1)

Country Link
CN (1) CN114742654A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115345617A (en) * 2022-10-19 2022-11-15 浙江毫微米科技有限公司 Method and device for generating non-homogeneous general evidence
CN116186783A (en) * 2023-04-19 2023-05-30 成都少年将星科技有限公司 Ticket trusted transaction system and method based on blockchain NTF

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115345617A (en) * 2022-10-19 2022-11-15 浙江毫微米科技有限公司 Method and device for generating non-homogeneous general evidence
CN116186783A (en) * 2023-04-19 2023-05-30 成都少年将星科技有限公司 Ticket trusted transaction system and method based on blockchain NTF
CN116186783B (en) * 2023-04-19 2023-07-04 成都少年将星科技有限公司 Ticket trusted transaction system and method based on blockchain NTF

Similar Documents

Publication Publication Date Title
JP7533974B2 (en) Apparatus, system, or method for facilitating value transfer between parties with low or no trust
Asgaonkar et al. Solving the buyer and seller’s dilemma: A dual-deposit escrow smart contract for provably cheat-proof delivery and payment for a digital good without a trusted mediator
KR102573433B1 (en) Platform for trading energy using block chain and method thereof
CN108885745B (en) Blockchain-based exchange with tokenization
US10592985B2 (en) Systems and methods for a commodity contracts market using a secure distributed transaction ledger
CN105956923B (en) Asset transaction system and digital authentication and transaction method of assets
JP7522807B2 (en) COMPUTER-IMPLEMENTED METHODS AND SYSTEMS
CN108647966A (en) A kind of data interactive method and device based on block chain
CN114742654A (en) Digital asset circulation method, system, electronic device and medium based on alliance chain
US20220164791A1 (en) Method for distributing collectables ownership based on blockchain networks and online transaction server using the same
CN112561407B (en) Asset management method, system and device based on block chain
CN110221919A (en) Virtual resource allocation method and apparatus based on block chain
US20200279321A1 (en) Systems and methods for facilitating an open-ended dutch auction
CN109377338A (en) Financial product processing method and processing device based on block chain
CN109903159A (en) Domain name method of commerce and device based on block chain
KR101918446B1 (en) Double-secured Block-chain Certification System and its method
CN114358947A (en) Block chain based pricing method and device
KR102314573B1 (en) Method of contract management based on block cahin
EP4135259A1 (en) Delegated off-chain payments using cryptocurrencies
CN112508557A (en) Virtual certificate method and system based on block chain
CN112036850A (en) Digital asset data access method and device and digital asset transaction system
CN110675260A (en) Agricultural product transaction data processing method and device based on block chain
KR102398641B1 (en) System for providing card payment agent service and method performing thereof
JP7048039B1 (en) Payment systems, payment devices, payment methods and payment programs
WO2020177640A1 (en) Systems and methods for facilitating open-ended dutch auction

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20220712