CN112862469A - Block chain-based digital asset transaction method, system, equipment and storage medium - Google Patents
Block chain-based digital asset transaction method, system, equipment and storage medium Download PDFInfo
- Publication number
- CN112862469A CN112862469A CN202110140481.6A CN202110140481A CN112862469A CN 112862469 A CN112862469 A CN 112862469A CN 202110140481 A CN202110140481 A CN 202110140481A CN 112862469 A CN112862469 A CN 112862469A
- Authority
- CN
- China
- Prior art keywords
- transaction
- digital asset
- node
- representing
- holder
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 45
- 230000008569 process Effects 0.000 claims abstract description 16
- 238000012545 processing Methods 0.000 claims abstract description 11
- 238000004422 calculation algorithm Methods 0.000 claims description 21
- 230000000977 initiatory effect Effects 0.000 claims description 20
- 238000013475 authorization Methods 0.000 claims description 17
- 238000004590 computer program Methods 0.000 claims description 14
- 238000012795 verification Methods 0.000 claims description 12
- 230000003993 interaction Effects 0.000 claims description 6
- 238000012986 modification Methods 0.000 claims description 6
- 230000004048 modification Effects 0.000 claims description 6
- 239000002245 particle Substances 0.000 claims description 6
- 238000011156 evaluation Methods 0.000 claims description 4
- 238000012423 maintenance Methods 0.000 claims description 4
- 230000000694 effects Effects 0.000 claims description 3
- 238000012546 transfer Methods 0.000 abstract description 8
- 238000005516 engineering process Methods 0.000 abstract description 5
- 238000012790 confirmation Methods 0.000 abstract description 4
- 230000008901 benefit Effects 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- RYGMFSIKBFXOCR-UHFFFAOYSA-N Copper Chemical compound [Cu] RYGMFSIKBFXOCR-UHFFFAOYSA-N 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/04—Payment circuits
- G06Q20/06—Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
- G06Q20/065—Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/23—Updating
- G06F16/2365—Ensuring data consistency and integrity
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting 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
- G06F21/6245—Protecting personal data, e.g. for financial or medical purposes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3825—Use of electronic signatures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Accounting & Taxation (AREA)
- Computer Security & Cryptography (AREA)
- General Engineering & Computer Science (AREA)
- Finance (AREA)
- Databases & Information Systems (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Bioethics (AREA)
- Software Systems (AREA)
- Computer Hardware Design (AREA)
- General Business, Economics & Management (AREA)
- Strategic Management (AREA)
- Data Mining & Analysis (AREA)
- Technology Law (AREA)
- Marketing (AREA)
- Economics (AREA)
- Development Economics (AREA)
- Medical Informatics (AREA)
- Computing Systems (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The invention discloses a block chain-based digital asset transaction method, a system, equipment and a storage medium. The method utilizes the non-falsifiable characteristic of data on the block chain, the intelligent contract and the encryption technology to realize the automatic transfer of the digital assets among holders without the intervention of a third party, thereby improving the liquidity of the digital assets, and improving the safety of the transaction process and the privacy protection of the identity information of the transactor. The whole transaction information is completely published on the chain through the block chain, and the authenticity of the identity information of the trader and the safety of the transaction are improved through the confirmation of the multi-party nodes, so that the problem of distrust among the traders caused by asymmetric information is solved. Moreover, the transaction processing flow is simplified, the whole flow information is transparent and can not be tampered, the authenticity of all information on a chain is ensured, and meanwhile, the safety of digital asset transaction is improved.
Description
Technical Field
The present invention relates to the field of digital asset transaction technologies, and in particular, to a method, a system, a device, and a computer-readable storage medium for digital asset transaction based on a blockchain.
Background
Digital assets refer to non-monetary assets owned or controlled by a business or an individual, in the form of data, held in daily activities for sale or in the process of production, and digital asset transactions are the holders who the business or the individual will own digital assets to exchange for the assets for the purposes of investment, purchase, etc.
The existing digital assets need to be traded based on a centralized operator platform, so that direct trading among holders is difficult to realize, and the liquidity of the digital assets is limited; the digital asset transaction records are generally controlled by a centralized operator platform, and the transaction data have supervision blind areas and privacy disclosure risks; the existing digital asset transaction can not determine the real identities of both transaction parties, and once fraud and other conditions occur, the identity information of a real transactor is difficult to obtain; the existing digital asset transaction may have default risks, and the transaction cannot be guaranteed to be executed according to the convention.
Disclosure of Invention
The invention provides a block chain-based digital asset transaction method, a block chain-based digital asset transaction system, block chain-based digital asset transaction equipment and a computer-readable storage medium, and aims to solve the technical problems of poor liquidity and easy data leakage in the traditional digital asset transaction.
According to an aspect of the present invention, there is provided a blockchain-based digital asset transaction method, including the steps of:
step S1: constructing a blockchain network comprising an authorization node, a consensus node and a plurality of holder nodes, wherein each holder node performs information interaction with the blockchain network through a client;
step S2: a holder node initiating a transaction request registers to an authorization node and obtains a transaction permission certificate; or the authorization node verifies the validity of the transaction certificate registered by the holder node initiating the transaction request;
step S3: a holder node initiating a transaction request sends the transaction request to a holder node serving as a transaction receiver through a client, and the transaction request enters a block chain network through a gateway as a transaction proposal;
step S4: all holder nodes verify the validity of the transaction proposal, and carry out signature endorsement and feed back to the client after the verification is passed;
step S5: the client submits the transaction proposal which passes the verification as a transaction to a consensus node in the block chain network;
step S6: the consensus node processes the submitted transaction according to a preset consensus algorithm, packs the transaction into blocks and broadcasts the blocks to all nodes of the whole network;
step S7: after checking the validity of the block, all holder nodes update respective local accounts to complete block chaining and feed back a successful transaction notification to the client;
step S8: and after the client receives the successful transaction notification, updating the transaction state of the service system.
Further, the content of the transaction request initiated by the holder node includes any one of querying or adding or deleting the respective owned digital assets and transferring the digital assets to other holder nodes.
Further, before the step S6, the method further includes the following steps:
step S56: the value of the digital assets is priced.
Further, the step S56 adopts the following algorithm to price the digital asset value:
wherein IVD represents digital asset value, G represents granularity, D represents multivariable degree, A represents liveness, S represents scale degree, R represents relevance degree, G represents relevance degreeiSubdivision index expressed as particle size, DiSubdivision index representing a degree of pluralities, AiSubdivision indicator, S, representing livenessiSubdivision index, R, representing scaleiSubdivision index, beta, representing degree of associationGWeight expressed as granularity, betaDWeight, beta, representing a degree of pluralismAWeight, β, representing livenessSWeight, β, representing the degree of scaleRA weight representing the degree of association.
Further, the maintenance and modification of the consensus algorithm in step S6 can be effective after all nodes participate and agree.
In addition, the invention also provides a block chain-based digital asset transaction system, which adopts the digital asset transaction method, and comprises the following steps:
the registration module is used for the holder node to register with the authorization node and obtain a transaction permission certificate;
the transaction request initiating module is used for initiating a transaction request by the holder node and inputting the transaction request as a transaction proposal into the block link network through the gateway;
the legality verifying module is used for verifying the legality of the transaction proposal by the holder node;
the transaction submitting module is used for submitting the transaction proposal which is input by the client and passes the verification as a transaction to a consensus node in the block chain network;
the transaction processing module is used for the consensus node to process the submitted transaction according to a preset consensus algorithm and broadcast the block packed by the consensus node to all nodes of the whole network;
the account book updating module is used for updating the local account book after all the holder nodes check the legality of the block packed by the consensus node, performing block chaining on the updated local account book and simultaneously feeding back a successful transaction notice to the client;
and the client module is used for performing information interaction between the holder node and the block chain network and updating the transaction state of the service system after receiving the notification of successful transaction.
And further, the value evaluation module is used for pricing the value of the digital assets.
Further, the value assessment module employs the following algorithm to price the digital asset value:
wherein IVD represents digital asset value, G represents granularity, D represents multivariable degree, A represents liveness, S represents scale degree, R represents relevance degree, G represents relevance degreeiSubdivision index expressed as particle size, DiSubdivision index representing a degree of pluralities, AiSubdivision indicator, S, representing livenessiSubdivision index, R, representing scaleiSubdivision index, beta, representing degree of associationGWeight expressed as granularity, betaDWeight, beta, representing a degree of pluralismAWeight, β, representing livenessSWeight, β, representing the degree of scaleRA weight representing the degree of association.
In addition, the present invention also provides an apparatus comprising a processor and a memory, wherein the memory stores a computer program, and the processor is used for executing the steps of the method by calling the computer program stored in the memory.
In addition, the present invention also provides a computer readable storage medium for storing a computer program for conducting digital asset transactions based on blockchains, which computer program, when running on a computer, performs the steps of the method as described above.
The invention has the following effects:
according to the digital asset transaction method based on the block chain, disclosed by the invention, the digital asset is automatically transferred among holders by utilizing the non-falsification characteristic of data on the block chain, an intelligent contract and an encryption technology without intervention of a third party, the liquidity of the digital asset is improved, and the security of a transaction process and the privacy protection of identity information of a transactor are improved. The whole transaction information is completely published on the chain through the block chain, and the authenticity of the identity information of the trader and the safety of the transaction are improved through the confirmation of the multi-party nodes, so that the problem of distrust among the traders caused by asymmetric information is solved. Moreover, the transaction processing flow is simplified, the whole flow information is transparent and can not be tampered, the authenticity of all information on a chain is ensured, and meanwhile, the safety of digital asset transaction is improved. In addition, the blockchain provides an automatic accounting and transaction processing system, replaces an asset clearing mode which occupies a large amount of manpower and time in the traditional transaction, and can improve the efficiency of the online transaction of the assets.
In addition, the blockchain-based digital asset transaction system, the blockchain-based digital asset transaction device and the computer-readable storage medium of the present invention also have the advantages described above.
In addition to the objects, features and advantages described above, other objects, features and advantages of the present invention are also provided. The present invention will be described in further detail below with reference to the drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the invention and, together with the description, serve to explain the invention and not to limit the invention. In the drawings:
fig. 1 is a flow diagram of a blockchain-based digital asset transaction method in accordance with a preferred embodiment of the present invention.
Fig. 2 is a flow diagram of another implementation of a blockchain-based digital asset transaction method in accordance with a preferred embodiment of the present invention.
Fig. 3 is a block chain-based digital asset transaction system according to another embodiment of the present invention.
Detailed Description
The embodiments of the invention will be described in detail below with reference to the accompanying drawings, but the invention can be embodied in many different forms, which are defined and covered by the following description.
As shown in fig. 1, a preferred embodiment of the present invention provides a blockchain-based digital asset transaction method, including the steps of:
step S1: constructing a blockchain network comprising an authorization node, a consensus node and a plurality of holder nodes, wherein each holder node performs information interaction with the blockchain network through a client;
step S2: a holder node initiating a transaction request registers to an authorization node and obtains a transaction permission certificate; or the authorization node verifies the validity of the transaction certificate registered by the holder node initiating the transaction request;
step S3: a holder node initiating a transaction request sends the transaction request to a holder node serving as a transaction receiver through a client, and the transaction request enters a block chain network through a gateway as a transaction proposal;
step S4: all holder nodes verify the validity of the transaction proposal, and carry out signature endorsement and feed back to the client after the verification is passed;
step S5: the client submits the transaction proposal which passes the verification as a transaction to a consensus node in the block chain network;
step S6: the consensus node processes the submitted transaction according to a preset consensus algorithm, packs the transaction into blocks and broadcasts the blocks to all nodes of the whole network;
step S7: after checking the validity of the block, all holder nodes update respective local accounts to complete block chaining and feed back a successful transaction notification to the client;
step S8: and after the client receives the successful transaction notification, updating the transaction state of the service system.
It can be understood that, in the block chain-based digital asset transaction method according to this embodiment, by using the non-falsifiable characteristic of data on the block chain, the intelligent contract and the encryption technology, the digital asset is automatically transferred between the holders, and third party intervention is not required, so that the liquidity of the digital asset is improved, and the security of the transaction process and the privacy protection of the identity information of the transactor are improved. The whole transaction information is completely published on the chain through the block chain, and the authenticity of the identity information of the trader and the safety of the transaction are improved through the confirmation of the multi-party nodes, so that the problem of distrust among the traders caused by asymmetric information is solved. Moreover, the transaction processing flow is simplified, the whole flow information is transparent and can not be tampered, the authenticity of all information on a chain is ensured, and meanwhile, the safety of digital asset transaction is improved. In addition, the blockchain provides an automatic accounting and transaction processing system, replaces an asset clearing mode which occupies a large amount of manpower and time in the traditional transaction, and can improve the efficiency of the online transaction of the assets.
The owner nodes are composed of owners of the digital assets, and are responsible for submitting transaction data of the digital assets and uploading the transaction data to the block chain network, so that all the owner nodes in the network can verify the legality of transaction records and carry out transaction endorsements; the authorization node consists of an organization or a digital asset owner which can provide a registration and issue transaction certificate, and when a new digital asset owner needs to perform transaction, the new digital asset owner firstly applies transaction authorization to the authorization node and can perform digital asset transaction after obtaining authorization; the consensus node is composed of mechanisms in charge of consensus algorithms, maintenance and modification of the consensus algorithms need to be participated by all nodes in the block chain network and can be effective after the consensus algorithms are agreed, and digital asset transactions submitted by the holder nodes are finally subjected to consensus processing by the consensus node and packaged into blocks.
In addition, all nodes in the block chain network maintain an account book respectively, the consistency of the account book is ensured through a consensus algorithm, and all transaction logs of the account book are stored in the block chain and cannot be modified. Each block in the block chain comprises a block head, block data and block metadata, wherein the block head stores a block chain number, a current block hash value and a previous block head hash value, and the current block hash value is a root hash generated by the block data through Merkle and tree. The block data comprises all transaction data, and the common identification node is packaged and written into the block. The transaction data comprises a transaction head, a transaction signature, a transaction proposal, a transaction response and a transaction endorsement. The transaction header may record some important raw data related to the transaction, such as the name and version number of the chain code. The transaction signature contains a cryptographic signature created by the client to check whether the transaction details have been tampered with. The transaction proposal is responsible for coding input parameters of the intelligent contract, and when the intelligent contract runs, the input parameters contained in the transaction proposal determine a new ledger world state according to the current world state. The transaction response is the output of the intelligent contract, and the values before and after the world state are recorded in the form of a read-write set (RW-set), and if the transaction is verified, the transaction is written into the ledger and the world state database is updated. And (4) verifying the validity of the transaction proposal by the designated node, wherein the signature after the verification is passed is the endorsement. And the chunk metadata includes the chunk generation time, i.e., timestamp, the certificate, public key, and signature of the chunk writer.
It is understood that in the step S2, when the holder node initiating the transaction request does not complete registration at the authorized node before, the registration action needs to be completed and the transaction permission certificate needs to be obtained before initiating the transaction request, so that the subsequent transaction can be performed. If the holder node initiating the transaction request has completed registration, the authorization node needs to validate the transaction license certificate it holds before the transaction. Just before the transaction process, the identity of the holder node initiating the transaction request is legally verified, so that the security of the transaction is improved.
It is to be understood that in the step S3, the content of the transaction request initiated by the holder node includes any one of querying or adding or deleting the respective owned digital assets and transferring the digital assets to other holder nodes. For example, any owner node may query, add or delete the digital asset owned by the owner node, such as querying the balance of the digital asset, the name of the owner, the holding time, etc., or may transfer the digital asset to other owner nodes, such as the transfer amount of the digital asset, the current name of the owner, the name of the receiver, the transfer time, etc., and no matter whether the query, the addition, the deletion or the transfer is performed, as long as the digital asset is operated, all the owner nodes are required to verify the signature and perform the whole network broadcast, and the above information is stored in the public ledger of the block chain, thereby further ensuring the security of the digital asset transaction. In addition, the holder node initiating the transaction request invokes an intelligent contract of the blockchain network, specifically through sdk (Software Development Kit) of the client, to upload the transaction request information to the blockchain in a Hash form and send the transaction request information to the holder node as a transaction receiver, for example, to upload the asset transfer request to the blockchain in a Hash value and send the asset transfer request to another holder node.
It can be understood that, in the step S4, after the transaction request enters the blockchain network as the transaction proposal through the gateway, all holder nodes verify the validity of the transaction proposal according to the preset verification rule, and each holder node signs the transaction proposal passing the verification and returns to the client.
It is understood that in the step S5, the client submits the verified transaction proposal as a transaction through the gateway to the consensus node in the blockchain network.
It is understood that in the step S6, the consensus node processes the submitted transaction according to a predetermined consensus algorithm and packages the transaction into blocks, broadcasts the block to all nodes in the whole network, for example, the consensus node processes the transaction initiated by the digital asset holder n according to the consensus algorithm in a consistent manner and packages the transaction into blocks. In addition, the maintenance and modification of the consensus algorithm in step S6 can be effective after all nodes participate and agree.
It is to be understood that, in the step S7, after checking the block validity, all owner nodes in the whole network update their respective local account book completion block uplinks and feed back a transaction success notification to the client. For example, a block containing a transaction initiated by a digital asset holder n is validated by the nodes of the whole network, each holder node updates its local ledger and feeds back a notification of the success of the transaction to the client.
It is understood that, in the step S8, after receiving the transaction success notification, the client updates the transaction status of the service system, and the transaction is completed. For example, after receiving the transaction success notification fed back by all the holder nodes, the client updates the transaction state, and at this time, the asset transfer success initiated from the digital asset holder node n to other holder nodes is recorded to the blockchain.
It is understood that, as shown in fig. 2, it is preferable that the following step is further included before the step S6:
step S56: the value of the digital assets is priced.
In the process of digital asset transaction, the pricing of the digital asset value directly influences the actual benefits of each holder node.
Specifically, the step S56 adopts the following algorithm to price the digital asset value:
wherein IVD represents digital asset value, G represents granularity, D represents multivariable degree, A represents liveness, S represents scale degree, R represents relevance degree, G represents relevance degreeiSubdivision index expressed as particle size, DiSubdivision index representing a degree of pluralities, AiSubdivision indicator, S, representing livenessiSubdivision index, R, representing scaleiSubdivision index, beta, representing degree of associationGWeight expressed as granularity, betaDWeight, beta, representing a degree of pluralismAWeight, β, representing livenessSWeight, β, representing the degree of scaleRA weight representing the degree of association. Wherein the respective weights are determined according to the digital asset type and the service scenario.
The digital asset value evaluation system established by the invention is shown as the following table:
in addition, as shown in fig. 3, another embodiment of the present invention further provides a block chain-based digital asset transaction system, which employs the digital asset transaction method described above, including:
the registration module is used for the holder node to register with the authorization node and obtain a transaction permission certificate;
the transaction request initiating module is used for initiating a transaction request by the holder node and inputting the transaction request as a transaction proposal into the block link network through the gateway;
the legality verifying module is used for verifying the legality of the transaction proposal by the holder node;
the transaction submitting module is used for submitting the transaction proposal which is input by the client and passes the verification as a transaction to a consensus node in the block chain network;
the transaction processing module is used for the consensus node to process the submitted transaction according to a preset consensus algorithm and broadcast the block packed by the consensus node to all nodes of the whole network;
the account book updating module is used for updating the local account book after all the holder nodes check the legality of the block packed by the consensus node, performing block chaining on the updated local account book and simultaneously feeding back a successful transaction notice to the client;
and the client module is used for performing information interaction between the holder node and the block chain network and updating the transaction state of the service system after receiving the notification of successful transaction.
It can be understood that, in the digital asset transaction system based on the blockchain according to the embodiment, by using the non-falsifiable characteristic of the data on the blockchain, the intelligent contract and the encryption technology, the digital asset is automatically transferred between the holders without intervention of a third party, so that the liquidity of the digital asset is improved, and the security of the transaction process and the privacy protection of the identity information of the transactor are improved. The whole transaction information is completely published on the chain through the block chain, and the authenticity of the identity information of the trader and the safety of the transaction are improved through the confirmation of the multi-party nodes, so that the problem of distrust among the traders caused by asymmetric information is solved. Moreover, the transaction processing flow is simplified, the whole flow information is transparent and can not be tampered, the authenticity of all information on a chain is ensured, and meanwhile, the safety of digital asset transaction is improved. In addition, the blockchain provides an automatic accounting and transaction processing system, replaces an asset clearing mode which occupies a large amount of manpower and time in the traditional transaction, and can improve the efficiency of the online transaction of the assets.
In addition, the block chain-based digital asset transaction system of the present invention further comprises:
and the value evaluation module is used for pricing the digital asset value.
In the process of digital asset transaction, the pricing of the digital asset value directly influences the actual benefits of each holder node.
Specifically, the value assessment module employs the following algorithm to price the digital asset value:
wherein IVD represents digital asset value, G represents granularity, D represents multivariable degree, A represents liveness, S represents scale degree, R represents relevance degree, G represents relevance degreeiSubdivision index expressed as particle size, DiSubdivision index representing a degree of pluralities, AiSubdivision indicator, S, representing livenessiSubdivision index, R, representing scaleiSubdivision index, beta, representing degree of associationGWeight expressed as granularity, betaDA weight representing a degree of the pluralityof,βAweight, β, representing livenessSWeight, β, representing the degree of scaleRA weight representing the degree of association. Wherein the respective weights are determined according to the digital asset type and the service scenario.
In addition, the present invention also provides an apparatus comprising a processor and a memory, wherein the memory stores a computer program, and the processor is used for executing the steps of the method by calling the computer program stored in the memory.
The present invention also provides a computer-readable storage medium for storing a computer program for conducting a digital asset transaction based on a blockchain, wherein the computer program performs the steps of the method as described above when the computer program runs on a computer.
The general form of computer readable media includes: floppy disk (floppy disk), flexible disk (flexible disk), hard disk, magnetic tape, any of its magnetic media, CD-ROM, any of the other optical media, punch cards (punch cards), paper tape (paper tape), any of the other physical media with patterns of holes, Random Access Memory (RAM), Programmable Read Only Memory (PROM), Erasable Programmable Read Only Memory (EPROM), FLASH erasable programmable read only memory (FLASH-EPROM), any of the other memory chips or cartridges, or any of the other media from which a computer can read. The instructions may further be transmitted or received by a transmission medium. The term transmission medium may include any tangible or intangible medium that is operable to store, encode, or carry instructions for execution by the machine, and includes digital or analog communications signals or intangible medium that facilitates communication of the instructions. Transmission media include coaxial cables, copper wire and fiber optics, including the wires that comprise a bus for transmitting a computer data signal.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (10)
1. A block chain-based digital asset transaction method is characterized in that,
the method comprises the following steps:
step S1: constructing a blockchain network comprising an authorization node, a consensus node and a plurality of holder nodes, wherein each holder node performs information interaction with the blockchain network through a client;
step S2: a holder node initiating a transaction request registers to an authorization node and obtains a transaction permission certificate; or the authorization node verifies the validity of the transaction certificate registered by the holder node initiating the transaction request;
step S3: a holder node initiating a transaction request sends the transaction request to a holder node serving as a transaction receiver through a client, and the transaction request enters a block chain network through a gateway as a transaction proposal;
step S4: all holder nodes verify the validity of the transaction proposal, and carry out signature endorsement and feed back to the client after the verification is passed;
step S5: the client submits the transaction proposal which passes the verification as a transaction to a consensus node in the block chain network;
step S6: the consensus node processes the submitted transaction according to a preset consensus algorithm, packs the transaction into blocks and broadcasts the blocks to all nodes of the whole network;
step S7: after checking the validity of the block, all holder nodes update respective local accounts to complete block chaining and feed back a successful transaction notification to the client;
step S8: and after the client receives the successful transaction notification, updating the transaction state of the service system.
2. The blockchain-based digital asset transaction method of claim 1,
the content of the transaction request initiated by the holder node includes any one of querying or adding or deleting the respective owned digital assets and transferring the digital assets to other holder nodes.
3. The blockchain-based digital asset transaction method of claim 1,
the method further comprises the following steps before the step S6:
step S56: the value of the digital assets is priced.
4. The blockchain-based digital asset transaction method of claim 3,
the step S56 pricing the digital asset value using the following algorithm:
wherein IVD represents digital asset value, G represents granularity, D represents multivariable degree, A represents liveness, S represents scale degree, R represents relevance degree, G represents relevance degreeiSubdivision index expressed as particle size, DiSubdivision index representing a degree of pluralities, AiSubdivision indicator, S, representing livenessiSubdivision index, R, representing scaleiSubdivision index, beta, representing degree of associationGWeight expressed as granularity, betaDWeight, beta, representing a degree of pluralismAWeight, β, representing livenessSWeight, β, representing the degree of scaleRA weight representing the degree of association.
5. The blockchain-based digital asset transaction method of claim 1,
the maintenance and modification of the consensus algorithm in step S6 may be effected after all nodes participate and agree.
6. A block chain-based digital asset transaction system adopting the digital asset transaction method according to any one of claims 1 to 5, comprising:
the registration module is used for the holder node to register with the authorization node and obtain a transaction permission certificate;
the transaction request initiating module is used for initiating a transaction request by the holder node and inputting the transaction request as a transaction proposal into the block link network through the gateway;
the legality verifying module is used for verifying the legality of the transaction proposal by the holder node;
the transaction submitting module is used for submitting the transaction proposal which is input by the client and passes the verification as a transaction to a consensus node in the block chain network;
the transaction processing module is used for the consensus node to process the submitted transaction according to a preset consensus algorithm and broadcast the block packed by the consensus node to all nodes of the whole network;
the account book updating module is used for updating the local account book after all the holder nodes check the legality of the block packed by the consensus node, performing block chaining on the updated local account book and simultaneously feeding back a successful transaction notice to the client;
and the client module is used for performing information interaction between the holder node and the block chain network and updating the transaction state of the service system after receiving the notification of successful transaction.
7. The blockchain-based digital asset transaction system of claim 6, further comprising
And the value evaluation module is used for pricing the digital asset value.
8. The blockchain-based digital asset transaction system of claim 7 wherein the value valuation module employs the following algorithm to price the value of the digital asset:
wherein IVD represents digital asset value, G represents granularity, D represents pluralityof, and A representsDegree of activity, S scale, R relevance, GiSubdivision index expressed as particle size, DiSubdivision index representing a degree of pluralities, AiSubdivision indicator, S, representing livenessiSubdivision index, R, representing scaleiSubdivision index, beta, representing degree of associationGWeight expressed as granularity, betaDWeight, beta, representing a degree of pluralismAWeight, β, representing livenessSWeight, β, representing the degree of scaleRA weight representing the degree of association.
9. An apparatus comprising a processor and a memory, the memory having stored therein a computer program, the processor being configured to perform the steps of the method of any one of claims 1 to 5 by invoking the computer program stored in the memory.
10. A computer-readable storage medium storing a computer program for conducting a digital asset transaction based on a blockchain, the computer program performing the steps of the method according to any one of claims 1 to 5 when the computer program runs on a computer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110140481.6A CN112862469A (en) | 2021-02-02 | 2021-02-02 | Block chain-based digital asset transaction method, system, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110140481.6A CN112862469A (en) | 2021-02-02 | 2021-02-02 | Block chain-based digital asset transaction method, system, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112862469A true CN112862469A (en) | 2021-05-28 |
Family
ID=75986076
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110140481.6A Pending CN112862469A (en) | 2021-02-02 | 2021-02-02 | Block chain-based digital asset transaction method, system, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112862469A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113362181A (en) * | 2021-07-20 | 2021-09-07 | 永旗(北京)科技有限公司 | Transaction method and system based on block chain |
CN116579004A (en) * | 2023-05-29 | 2023-08-11 | 中安网脉(北京)技术股份有限公司 | Digital asset security protection method, system, electronic equipment and storage medium |
CN118378287A (en) * | 2024-06-21 | 2024-07-23 | 深圳市豪斯莱科技有限公司 | Encryption system for digital collection |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109767212A (en) * | 2018-10-11 | 2019-05-17 | 平安科技(深圳)有限公司 | Assets exchanging method, system, terminal and storage medium based on block chain |
CN110335147A (en) * | 2019-05-29 | 2019-10-15 | 西安电子科技大学 | A kind of digital asset Information Exchange System and method based on block chain |
CN110675253A (en) * | 2019-08-15 | 2020-01-10 | 山大地纬软件股份有限公司 | Block chain-based exclusive digital asset trusted keeping and transferring device and method |
CN110889697A (en) * | 2019-12-03 | 2020-03-17 | 西南交通大学 | Block chain-based railway system and using method thereof |
US20200092364A1 (en) * | 2018-09-19 | 2020-03-19 | International Business Machines Corporation | Management of digital assets |
US20200184470A1 (en) * | 2018-12-08 | 2020-06-11 | International Business Machines Corporation | Identity ecosystem |
US20200286076A1 (en) * | 2017-10-13 | 2020-09-10 | China Unionpay Co., Ltd. | Methods and systems for verification and registration of digital currency transaction |
CN112150146A (en) * | 2020-09-22 | 2020-12-29 | 京东数字科技控股股份有限公司 | Block processing method, device and equipment of block chain and storage medium |
-
2021
- 2021-02-02 CN CN202110140481.6A patent/CN112862469A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20200286076A1 (en) * | 2017-10-13 | 2020-09-10 | China Unionpay Co., Ltd. | Methods and systems for verification and registration of digital currency transaction |
US20200092364A1 (en) * | 2018-09-19 | 2020-03-19 | International Business Machines Corporation | Management of digital assets |
CN109767212A (en) * | 2018-10-11 | 2019-05-17 | 平安科技(深圳)有限公司 | Assets exchanging method, system, terminal and storage medium based on block chain |
US20200184470A1 (en) * | 2018-12-08 | 2020-06-11 | International Business Machines Corporation | Identity ecosystem |
CN110335147A (en) * | 2019-05-29 | 2019-10-15 | 西安电子科技大学 | A kind of digital asset Information Exchange System and method based on block chain |
CN110675253A (en) * | 2019-08-15 | 2020-01-10 | 山大地纬软件股份有限公司 | Block chain-based exclusive digital asset trusted keeping and transferring device and method |
CN110889697A (en) * | 2019-12-03 | 2020-03-17 | 西南交通大学 | Block chain-based railway system and using method thereof |
CN112150146A (en) * | 2020-09-22 | 2020-12-29 | 京东数字科技控股股份有限公司 | Block processing method, device and equipment of block chain and storage medium |
Non-Patent Citations (1)
Title |
---|
何雨昆: "基于特征维度的数字资产价值评估研究", 中国优秀硕士学位论文全文数据库(社会科学Ⅱ辑), no. 10, pages 19 - 24 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113362181A (en) * | 2021-07-20 | 2021-09-07 | 永旗(北京)科技有限公司 | Transaction method and system based on block chain |
CN113362181B (en) * | 2021-07-20 | 2023-11-24 | 佳乔(深圳)投资有限公司 | Transaction method and system based on blockchain |
CN116579004A (en) * | 2023-05-29 | 2023-08-11 | 中安网脉(北京)技术股份有限公司 | Digital asset security protection method, system, electronic equipment and storage medium |
CN116579004B (en) * | 2023-05-29 | 2023-09-08 | 中安网脉(北京)技术股份有限公司 | Digital asset security protection method, system, electronic equipment and storage medium |
CN118378287A (en) * | 2024-06-21 | 2024-07-23 | 深圳市豪斯莱科技有限公司 | Encryption system for digital collection |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109544160B (en) | Transaction authenticity verification method and system based on block chain and intelligent contract | |
CN106530088B (en) | Method for trading certificate products based on blockchain security nodes | |
CN112862474B (en) | Supply chain management method and system based on block chain, equipment and storage medium | |
CN112862469A (en) | Block chain-based digital asset transaction method, system, equipment and storage medium | |
CN109829767A (en) | A kind of point reward exchanging system and method based on block chain technology | |
CN112862475B (en) | Order financing method, system, equipment and storage medium based on block chain | |
CN112685766A (en) | Enterprise credit investigation management method and device based on block chain, computer equipment and storage medium | |
WO2019242285A1 (en) | Blockchain-based equity asset value token money creating method and system, and blockchain-based equity asset value token money transaction method and system | |
CN109767228A (en) | A kind of energy transaction in assets system based on block chain | |
CN112785292A (en) | Prepaid card management method, prepaid card management system, prepaid card management device and prepaid card management storage medium | |
CN111414434B (en) | Block chain-based data transaction management network, transaction device and storage medium | |
CN112632186A (en) | Block chain consensus method, computer equipment and block chain system | |
CN111768302B (en) | Patent securitization transaction support system based on blockchain and transaction method thereof | |
CN112801778A (en) | Federated bad asset blockchain | |
CN112232989A (en) | Method for renting and selling house property by using block chain technology | |
CN113674090B (en) | Dynamic mortgage loan supervision method, system, equipment and storage medium based on blockchain | |
CN113919938A (en) | Domestic buyer's warranty financing method, device, equipment and medium based on block chain | |
CN112767091A (en) | Method, device and medium for processing supervisable bid and privacy based on block chain | |
CN113989040A (en) | Asset securitization management method and device | |
CN111539017A (en) | Customs declaration method and system based on block chain | |
CN113674084B (en) | Block chain-based real estate mortgage financing method, system, equipment and storage medium | |
CN111539724A (en) | Electronic commercial acceptance bill financing method and device based on block chain architecture | |
CN113034275B (en) | Management system and method based on block chain network and terminal equipment | |
CN113065869A (en) | Block chain-based ABS bond issuing and trading method, system, equipment and medium | |
CN111444416A (en) | Method, system and device for popularizing financial business |
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 |