CN107240001A - Transaction method and system for digital assets - Google Patents

Transaction method and system for digital assets Download PDF

Info

Publication number
CN107240001A
CN107240001A CN201710418092.9A CN201710418092A CN107240001A CN 107240001 A CN107240001 A CN 107240001A CN 201710418092 A CN201710418092 A CN 201710418092A CN 107240001 A CN107240001 A CN 107240001A
Authority
CN
China
Prior art keywords
transaction
data package
transaction data
signal
block
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.)
Granted
Application number
CN201710418092.9A
Other languages
Chinese (zh)
Other versions
CN107240001B (en
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.)
Beijing Huitong Jincai Information Technology Co ltd
State Grid Digital Technology Holdings Co ltd
State Grid Corp of China SGCC
Original Assignee
Beijing Huitong Jincai Information Technology Co ltd
State Grid Corp of China SGCC
State Grid E Commerce 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 Beijing Huitong Jincai Information Technology Co ltd, State Grid Corp of China SGCC, State Grid E Commerce Co Ltd filed Critical Beijing Huitong Jincai Information Technology Co ltd
Priority to CN201710418092.9A priority Critical patent/CN107240001B/en
Publication of CN107240001A publication Critical patent/CN107240001A/en
Application granted granted Critical
Publication of CN107240001B publication Critical patent/CN107240001B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0609Buyer or seller confidence or verification
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3236Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures

Abstract

The invention provides a digital asset transaction method, which comprises the following steps: when a transaction request of both transaction parties is received, verifying a transaction data packet corresponding to the transaction request on both transaction parties according to a preset verification rule; when a signal of successful verification is received, judging whether the data to be traded in the trading data packet meets a trading rule or not; if the transaction data packet is satisfied, writing the transaction data packet into a block where the current transaction terminal is located, and sending an adding request of the block to each node server corresponding to the block; and receiving a feedback signal of each node server to the addition request, storing the feedback signal in a signal cache region, and adding the block into a block chain of each node server to form a distributed account book when the ratio of the feedback signal allowed to be added in the signal cache region to all the feedback signals in the signal cache satisfies a preset proportion, thereby completing the transaction and improving the safety of data storage.

Description

The method of commerce and system of a kind of digital asset
Technical field
The present invention relates to the method for commerce and system in digital asset field, more particularly to a kind of digital asset.
Background technology
Nowadays, developing rapidly along with network, increasing process of exchange is realized by terminal device, is passed through Network can carry out remittance of transferring accounts, the transaction of the various digital assets such as accumulated point exchanging, e-payment and dealing of stock, be The life of people is provided convenience.
Inventor has found that existing digital asset process of exchange be by digital asset trade center with it is other What each counterparty was communicated.The log-on data of digital asset is preserved in the database of the digital asset trade center, is handed over Easy data, all process of exchanges will be handled via digital asset trade center.Once digital asset trade center is sent out Raw failure is attacked, and will influence the operating of whole transaction system, the security of data cannot be ensured.
The content of the invention
In view of this, the invention provides a kind of digital asset method of commerce, to solve in the prior art once numeral Transaction in assets center is broken down or attacked, the problem of security of data cannot be ensured.Concrete scheme is as follows:
A kind of method of commerce of digital asset, including:
It is pair corresponding with the transaction request according to default proof rule when receiving the transaction request of both parties Transaction data package verified in both parties;
When receiving the signal being proved to be successful, judge whether the data to be transacted in the transaction data package meet transaction Rule;
If meeting, the transaction data package is write in the block where current transaction terminal, by the addition of the block Request is sent to each node server corresponding with the block;
Feedback signal of each the described node server to the addition request is received, the feedback signal is saved in Signal buffer area, if allowing the feedback signal of addition and whole feedback signals in signal caching in the signal buffer area When ratio meets preset ratio, in the block chain that the block is added to each node server, form distributed Account book, completes transaction.
Above-mentioned method, it is preferred that right according to default proof rule when receiving the transaction request of both parties Transaction data package corresponding with the transaction request carries out checking in both parties to be included:
The transaction data package is sent into seller terminal to be encrypted;
Obtain the digital signature of the transaction data package;
The transaction data package and the digital signature are sent into buyer terminal to be verified.
Above-mentioned method, it is preferred that by the transaction data package be sent to seller terminal be encrypted including:
The first summary of the transaction data package is calculated according to hash function;
The described first summary is encrypted using the private key of the seller terminal, digital signature is formed.
Above-mentioned method, it is preferred that the transaction data package and the digital signature are sent to buyer terminal and tested Card includes:
The first summary of the transaction data package is calculated according to the hash function;
The digital signature is decrypted using the public key of the seller terminal, the second summary is obtained;
When the described first summary is identical with the described second summary, transmission is proved to be successful signal.
Above-mentioned method, it is preferred that when receiving the signal being proved to be successful, judges that treating in the transaction data package is handed over Whether easy data, which meet trading rules, includes:
Search and the corresponding trading rules of the transaction;
The data to be transacted in the transaction data package are obtained, according to the trading rules, the data to be transacted are judged Whether the trading rules are met.
A kind of transaction system of digital asset, including:
Authentication module, for when receiving the transaction request of both parties, according to default proof rule, pair with it is described The corresponding transaction data package of transaction request is verified in both parties;
Judge module, for when receiving the signal being proved to be successful, judging the number to be transacted in the transaction data package According to whether meeting trading rules;
Sending module, if for meeting, the transaction data package is write in the block where current transaction terminal, by institute The addition request for stating block is sent to each node server corresponding with the block;
Add module, will be described for receiving feedback signal of each the described node server to the addition request Feedback signal is saved in signal buffer area, if in allowing feedback signal and the signal caching of addition in the signal buffer area When the ratio of whole feedback signals meets preset ratio, the block is added to the block chain of each node server In, distributed account book is formed, transaction is completed.
Above-mentioned system, it is preferred that the authentication module includes:
Ciphering unit, is encrypted for the transaction data package to be sent into seller terminal;
Acquiring unit, the digital signature for obtaining the transaction data package;
Authentication unit, is verified for the transaction data package and the digital signature to be sent into buyer terminal.
Above-mentioned system, it is preferred that the ciphering unit includes:
First computation subunit, the first summary for calculating the transaction data package according to hash function;
Encryption sub-unit operable, is encrypted to the described first summary for the private key using the seller terminal, forms numeral Signature.
Above-mentioned system, it is preferred that the authentication unit includes:
Second computation subunit, the first summary for calculating the transaction data package according to the hash function;
Subelement is decrypted, the digital signature is decrypted for the public key using the seller terminal, second is obtained Summary;
Transmission sub-unit, for when the described first summary is identical with the described second summary, transmission to be proved to be successful signal.
Above-mentioned system, it is preferred that the judge module includes:
Searching unit, for searching and the corresponding trading rules of the transaction;
Judging unit, for obtaining the data to be transacted in the transaction data package, according to the trading rules, judges institute State whether data to be transacted meet the trading rules.
Compared with prior art, the present invention includes advantages below:
The invention provides a kind of digital asset method of commerce, including:When both parties, which just merchandise, to reach common understanding, it can send out Transaction request is sent, when receiving the transaction request, according to default proof rule, pair friendship corresponding with the transaction request Easy packet is verified in both parties;When receiving the signal being proved to be successful, treating in the transaction data package is judged Whether transaction data meets trading rules;If meeting, the transaction data package is write in the block where current transaction terminal, The addition request of the block is sent to each node server corresponding with the block;Receive each described node Server is saved in the signal buffer area where the current transaction terminal, if described to the feedback signal of the addition request The ratio of the feedback signal and whole feedback signals in signal caching of addition is allowed to meet preset ratio in signal buffer area When, in the block chain that the block is added to each node server, distributed account book is formed, transaction is completed.On The method stated, forms distributed account book according to block chain technology, though some node server receive attack be tampered or Break down, because to data, by the way of distributed storage, the data also will not be tampered or lose, and improve number According to the security of storage.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of digital asset method of commerce flow chart disclosed in the embodiment of the present application;
Fig. 2 is a kind of another method flow diagram of digital asset method of commerce disclosed in the embodiment of the present application;
Fig. 3 is a kind of another method flow diagram of digital asset method of commerce disclosed in the embodiment of the present application;
Fig. 4 is a kind of another method flow diagram of digital asset method of commerce disclosed in the embodiment of the present application;
Fig. 5 is a kind of another method flow diagram of digital asset method of commerce disclosed in the embodiment of the present application;
Fig. 6 is a kind of digital asset transaction system structured flowchart disclosed in the embodiment of the present application;
Fig. 7 is a kind of another structured flowchart of digital asset transaction system disclosed in the embodiment of the present application.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
The foregoing description of the disclosed embodiments, enables professional and technical personnel in the field to realize or using the present invention. A variety of modifications to these embodiments will be apparent for those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, it is of the invention The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one The most wide scope caused.
The invention provides a kind of digital asset method of commerce, methods described is applied to the transaction terminal of digital asset, institute It can be computer, mobile phone etc. to state terminal, and the executive agent of methods described is merchandised for the processor or digital asset of the terminal Platform.In the raw embodiment of the present invention, so that executive agent is digital asset transaction platform as an example, methods described is illustrated.Institute The flow chart of method is stated, as shown in figure 1, including step:
In the embodiment of the present invention, when the establishment process of the digital asset is against regulation, the digital asset is abandoned Establishment.
S101, when receiving the transaction request of both parties, according to default proof rule, pair with the transaction request Corresponding transaction data package is verified in both parties;
In the embodiment of the present invention, when the transaction terminal of both parties is concluded the transaction with regard to Object of Transaction and turnover knows together, Transaction request can be sent, it is pair corresponding with the transaction request according to default proof rule when receiving the transaction request Transaction data package verified in both parties.
S102, when receiving the signal being proved to be successful, judge whether data to be transacted in the transaction data package full Sufficient trading rules;
In the embodiment of the present invention, when receive be proved to be successful signal when, obtain the number to be transacted in the transaction data package According to the trading rules that foundation is matched with the transaction data package judge whether the data to be transacted in the transaction data package are full The foot trading rules.
If S103, meeting, the transaction data package is write in the block where current transaction terminal, by the block Addition request is sent to each node server corresponding with the block;
In the embodiment of the present invention, when the transaction data package meets the trading rules, the transaction of digital asset is generated Record, the transaction data package is write in the block where current transaction terminal, can also be by the digital asset transaction record Also write in the lump in the block where the current transaction terminal, and the addition request of the block is sent to and the block Each corresponding node server.
The feedback signal that S104, each described node server of reception are asked the addition, by the feedback signal Signal buffer area is saved in, if allowing the feedback signal of addition in the signal buffer area with all being fed back in signal caching When the ratio of signal meets preset ratio, in the block chain that the block is added to each node server, formed Distributed account book, completes transaction.
In the embodiment of the present invention, feedback signal of each the described node server to the addition request is received, and protect It is stored in the corresponding signal buffering area of the current transaction terminal.The buffer area signal has two types:Allow to add and refuse Addition absolutely, if allowing the ratio of the feedback signal and whole feedback signals in signal caching of addition in the signal buffer area When meeting preset ratio, the number of the corresponding node server of the digital asset transaction platform, usually multiple, this hair are searched Illustrated in bright embodiment exemplified by 6, the block is separately sent to and the digital asset transaction platform corresponding 6 Individual node server, each described home electronics server verified to the block, it is necessary to verify the block head of the block, Whether the information such as block body, timestamp and hash value mark meet the corresponding node server pair of the digital asset transaction platform The requirement of block, when demanded, allows the signal of addition to the corresponding terminal feedback of the digital asset transaction platform, when Receive it is described allow addition signal when meeting certain proportion, be required to meet 2/3 in the embodiment of the present invention, the block added It is added in the block chain with each node server, is stored between each accounting nodes, forms distributed account book, complete institute State the transaction of digital asset.
In the embodiment of the present invention, if allowing the feedback signal of addition complete in being cached with the signal in the signal buffer area There is the following two kinds situation when meeting preset ratio in the ratio of portion's feedback signal:
After the feedback signal having each node server corresponding with the block is received, judging described more Allow the ratio of the feedback signal and whole feedback signals in signal caching of addition in signal buffer area;
Node servers all in each node server corresponding with the block are withouted waiting for send instead Feedback signal, on the premise of node server quantity corresponding with the block is known, it is only necessary to judge to allow the quantity of addition With the ratio of the quantity of the node server.
In the embodiment of the present invention, preferably above-mentioned second method and default ratio are contrasted, and can improve digital money Produce the speed of transaction.
During the present invention is implemented, the digital asset transaction record includes:Merchandise Hash, exchange hour, assets title, described The seller terminal address of digital asset, the buyer terminal address of the digital asset, the address of the current transaction terminal and friendship The quantity of easy assets.Attribute information for recording the transaction in process of exchange, is easy to the inquiry to the transaction.The transaction Hash value is an ident value of difference and other transaction, with uniqueness, and the process of exchange of each assets all corresponds to one Hash value, in queries asset transaction data, the transaction hash value provided according to input contrasts the hash values of historical trading, entered The inquiry of row Transaction Details.
In the embodiment of the present invention, the process of exchange of the digital asset also includes:The intelligent contract of clearance clearing, whether foundation Settle accounts calculation condition is met, assets, data, payment, expense, the profit of both parties described in the digital asset process of exchange is triggered Profit is divided into and the clearance clearing such as account.
The establishment process of the digital asset in digital asset process of exchange described in the embodiment of the present invention is as follows:User The information such as the title of digital asset, quantity, measurement unit, assets description and assets LOGO are input to digital asset transaction flat Platform;Whether the digital asset transaction platform meets regulation to the digital asset is tested, and examines the digital asset Whether the description data of the assets such as title, quantity, measurement unit, assets description and assets LOGO is complete, the digital asset Whether establishment process meets the requirement of the digital asset transaction platform;When the establishment process of the digital asset meets regulation When, digital asset record is firstly generated, then the digital asset, which is packed, writes presently described digital asset transaction platform It is described after the block of the packing write-in digital asset transaction platform, in addition it is also necessary to which the block is identified in block A hash value is designated, with uniqueness, for the differentiation to each block in the digital asset transaction platform.It is described The method that block adds node server corresponding with the block is identical with the process of exchange of digital asset, no longer goes to live in the household of one's in-laws on getting married herein State.
The invention provides a kind of digital asset method of commerce, including:When both parties, which just merchandise, to reach common understanding, it can send out Transaction request is sent, when receiving the transaction request, according to default proof rule, pair friendship corresponding with the transaction request Easy packet is verified in both parties;When receiving the signal being proved to be successful, treating in the transaction data package is judged Whether transaction data meets trading rules;If meeting, the transaction data package is write in the block where current transaction terminal, The addition request of the block is sent to each node server corresponding with the block;Receive each described node Server is saved in the signal buffer area where the current transaction terminal, if described to the feedback signal of the addition request The ratio of the feedback signal and whole feedback signals in signal caching of addition is allowed to meet preset ratio in signal buffer area When, in the block chain that the block is added to each node server, distributed account book is formed, transaction is completed.On The method stated, forms distributed account book according to block chain technology, though some node server receive attack be tampered or Break down, because to data, by the way of distributed storage, the data also will not be tampered or lose, and improve number According to the security of storage.
In the embodiment of the present invention, when receiving the transaction request of both parties, according to default proof rule, pair and institute Method flow diagram that the corresponding transaction data package of transaction request verified in both parties is stated as shown in Fig. 2 including step:
S201, the transaction data package is sent to seller terminal be encrypted;
In the embodiment of the present invention, the transaction data package is sent to the seller terminal processor, is encrypted.
S202, the digital signature for obtaining the transaction data package;
In the embodiment of the present invention, the transmitting terminal of the seller terminal signal is scanned in real time, it is whole when receiving the seller During the signal that the encryption that end is sent is completed, the digital signature of the transaction data package is obtained.
S203, the transaction data package and the digital signature are sent to buyer terminal verified;
In the embodiment of the present invention, the digital signature received and the transaction data package are sent to buyer terminal and entered Row checking, verifies whether be stored with buyer terminal transaction data to be transacted and the transaction of the transaction data package The correctness of data.The transmitting terminal of buyer terminal signal described in real time scan, receives the buyer terminal to the transaction data The result of bag.
In the embodiment of the present invention, the transaction data package is sent to the method flow diagram that seller terminal is encrypted As shown in figure 3, including step:
S301, foundation hash function calculate the first summary of the transaction data package;
In the embodiment of the present invention, the hash function is the important component of modern password system, and hash function has Irreversible guarantee data validity, prevents reverse-engineering, and the characteristics of preventing from denying is widely used in field of digital signature.Utilize The hash function generates the first summary from the transaction data package.
S302, using the seller terminal private key to described first summary be encrypted, formed digital signature.
In the embodiment of the present invention, the described first summary is encrypted using the private key of the seller terminal, digital signature, The digital signature is sent to the transmitting terminal of the seller terminal.
In the embodiment of the present invention, the transaction data package and the digital signature are sent to what buyer terminal was verified Method flow diagram is as shown in figure 4, including step:
S401, the first summary for calculating according to the hash function transaction data package;
In the embodiment of the present invention, foundation calculates the first of the transaction data package with the S301 identicals operating method Summary.
S402, using the public key of the seller terminal digital signature is decrypted, obtains the second summary;
In the embodiment of the present invention, the public key of the seller terminal is obtained, the public key according to the seller terminal is to the number Word signature is decrypted, and obtains the second summary.
S403, when described first summary with described second summary be identical when, transmission be proved to be successful signal.
In the embodiment of the present invention, when the described first summary is identical with the described second summary, transmission is proved to be successful signal. When both are identical, illustrate that the demand to transaction data and the buyer terminal in the transaction data package is coincide, Ke Yiji It is continuous to be traded.When differing, illustrate that the transaction data package transmission is wrong, be not inconsistent with the demand of the buyer terminal, directly Termination is connect this time to merchandise.The result of the checking is sent to the transmitting terminal of the seller terminal.
In the embodiment of the present invention, when receiving the signal being proved to be successful, judge to be transacted in the transaction data package Whether data meet the method flow diagram of trading rules as shown in figure 5, including step:
S501, lookup and the corresponding trading rules of the transaction;
In the embodiment of the present invention, when receiving the signal being proved to be successful, in the corresponding transaction of the current transaction terminal Merchandised then corresponding with the transaction is searched on platform.It is illustrated, is first looked for and the product with accumulated point exchanging Point exchange corresponding accumulated point exchanging rule, the trading rules of even described accumulated point exchanging be able to may also exist it is multiple, it is necessary to according to Specific trading rules are selected according to specific transaction data.
S502 obtains the data to be transacted in the transaction data package, according to the trading rules, judges described to be transacted Whether data meet the trading rules.
In the embodiment of the present invention, the data to be transacted of the transaction data package are obtained, the data to be transacted include institute State seller terminal and the seller terminal is applied to the digital asset of this transaction, according to the trading rules obtained, judge Whether digital asset and the buyer asset of the seller applied to this transaction is met in the trading rules Transaction-based requirements.
Corresponding with the above method, present invention also offers a kind of transaction system of digital asset, the knot of the system Structure block diagram as shown in fig. 6, including:
Authentication module 601, judge module 602, sending module 603 and add module 604.
Wherein,
The authentication module 601, for when receiving the transaction request of both parties, according to default proof rule, Pair transaction data package corresponding with the transaction request is verified in both parties;
The judge module 602, for when receiving the signal being proved to be successful, judging treating in the transaction data package Whether transaction data meets trading rules;
The sending module 603, if for meeting, the block transaction data package write where current transaction terminal In, the addition request of the block is sent to each node server corresponding with the block;
The add module 604, for receiving feedback signal of each the described node server to the addition request, The feedback signal is saved in signal buffer area, if allowing the feedback signal and the signal of addition in the signal buffer area When the ratio of whole feedback signals meets preset ratio in caching, the block is added to each node server In block chain, distributed account book is formed, transaction is completed.
The invention provides a kind of digital asset transaction system, including:When both parties, which just merchandise, to reach common understanding, it can send out Transaction request is sent, when receiving the transaction request, according to default proof rule, pair friendship corresponding with the transaction request Easy packet is verified in both parties;When receiving the signal being proved to be successful, treating in the transaction data package is judged Whether transaction data meets trading rules;If meeting, the transaction data package is write in the block where current transaction terminal, The addition request of the block is sent to each node server corresponding with the block;Receive each described node Server is saved in the signal buffer area where the current transaction terminal, if described to the feedback signal of the addition request The ratio of the feedback signal and whole feedback signals in signal caching of addition is allowed to meet preset ratio in signal buffer area When, in the block chain that the block is added to each node server, distributed account book is formed, transaction is completed.On The method stated, forms distributed account book according to block chain technology, though some node server receive attack be tampered or Break down, because to data, by the way of distributed storage, the data also will not be tampered or lose, and improve number According to the security of storage.
In the embodiment of the present invention, the structured flowchart of the authentication module 601 as shown in fig. 7, comprises:
Ciphering unit 605, acquiring unit 606 and authentication unit 607
Wherein,
The ciphering unit 605, is encrypted for the transaction data package to be sent into seller terminal;
The acquiring unit 606, the digital signature for obtaining the transaction data package;
The authentication unit 607, is carried out for the transaction data package and the digital signature to be sent into buyer terminal Checking;
In the embodiment of the present invention, the structured flowchart of the ciphering unit 605 as shown in fig. 7, comprises:
First computation subunit 608 and encryption sub-unit operable 609.
Wherein,
First computation subunit 608, the first summary for calculating the transaction data package according to hash function;
The encryption sub-unit operable 609, the described first summary is encrypted for the private key using the seller terminal, shape Into digital signature.
In the embodiment of the present invention, the structured flowchart of the authentication unit 607 as shown in fig. 7, comprises:
Second computation subunit 610, decryption subelement 611 and transmission sub-unit 612.
Wherein,
Second computation subunit 610, for calculating the first of the transaction data package according to the hash function Summary;
The decryption subelement 611, is decrypted to the digital signature for the public key using the seller terminal, obtains To the second summary;
The transmission sub-unit 612, for when the described first summary is identical with the described second summary, transmission to be verified into Function signal.
In the embodiment of the present invention, the structured flowchart of the judge module 602 as shown in fig. 7, comprises:
Searching unit 613 and judging unit 614.
Wherein,
The searching unit 613, for searching and the corresponding trading rules of the transaction;
The judging unit 614, for obtaining the data to be transacted in the transaction data package, according to the transaction rule Then, judge whether the data to be transacted meet the trading rules.
It should be noted that each embodiment in this specification is described by the way of progressive, each embodiment weight Point explanation be all between difference with other embodiment, each embodiment identical similar part mutually referring to. For device class embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, related part is joined See the part explanation of embodiment of the method.
Finally, in addition it is also necessary to explanation, in this application, such as first and second or the like relational terms are used merely to One entity or operation are made a distinction with another entity or operation, and not necessarily require or imply these entities or behaviour There is any this actual relation or order between work.Moreover, term " comprising ", "comprising" or its any other variant Including for nonexcludability is intended to, so that process, method, article or equipment including a series of key elements not only include Those key elements, but also other key elements including being not expressly set out, or also include for this process, method, article or The intrinsic key element of person's equipment.In the absence of more restrictions, the key element limited by sentence "including a ...", not Also there is other identical element in the process including the key element, method, article or equipment in exclusion.
The foregoing description of the disclosed embodiments, enables those skilled in the art to realize or using the present invention.To this A variety of modifications of a little embodiments will be apparent for a person skilled in the art, and generic principles defined herein can Without departing from the spirit or scope of the present invention, to realize in other embodiments.Therefore, the present invention will not be limited It is formed on the embodiments shown herein, and is to fit to consistent with features of novelty with principles disclosed herein most wide Scope.
Described above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should It is considered as protection scope of the present invention.

Claims (10)

1. a kind of method of commerce of digital asset, it is characterised in that including:
When receiving the transaction request of both parties, according to default proof rule, pair friendship corresponding with the transaction request Easy packet is verified in both parties;
When receiving the signal being proved to be successful, judge whether the data to be transacted in the transaction data package meet transaction rule Then;
If meeting, by the block where the current transaction terminal of transaction data package write-in, the addition of the block is asked It is sent to each node server corresponding with the block;
Feedback signal of each the described node server to the addition request is received, by the feedback signal by the feedback Signal is saved in signal buffer area, if allowing the feedback signal of addition whole in being cached with the signal in the signal buffer area When the ratio of feedback signal meets preset ratio, in the block chain that the block is added to each node server, Distributed account book is formed, transaction is completed.
2. according to the method described in claim 1, it is characterised in that when receiving the transaction request of both parties, according to pre- If proof rule, pair transaction data package corresponding with the transaction request both parties carry out checking include:
The transaction data package is sent into seller terminal to be encrypted;
Obtain the digital signature of the transaction data package;
The transaction data package and the digital signature are sent into buyer terminal to be verified.
3. method according to claim 2, it is characterised in that the transaction data package is sent to seller terminal and added Close processing includes:
The first summary of the transaction data package is calculated according to hash function;
The described first summary is encrypted using the private key of the seller terminal, digital signature is formed.
4. method according to claim 2, it is characterised in that be sent to the transaction data package and the digital signature Buyer terminal, which carries out checking, to be included:
The first summary of the transaction data package is calculated according to the hash function;
The digital signature is decrypted using the public key of the seller terminal, the second summary is obtained;
When the described first summary is identical with the described second summary, transmission is proved to be successful signal.
5. according to the method described in claim 1, it is characterised in that when receiving the signal being proved to be successful, judge described hand over Whether the data to be transacted in easy packet, which meet trading rules, includes:
Search and the corresponding trading rules of the transaction;
The data to be transacted in the transaction data package are obtained, according to the trading rules, whether the data to be transacted are judged Meet the trading rules.
6. a kind of transaction system of digital asset, it is characterised in that including:
Authentication module, for when receiving the transaction request of both parties, according to default proof rule, pair with the transaction Corresponding transaction data package is asked to be verified in both parties;
Judge module, the data to be transacted for when receiving the signal being proved to be successful, judging in the transaction data package are It is no to meet trading rules;
Sending module, if for meeting, the transaction data package is write in the block where current transaction terminal, by the area The addition request of block is sent to each node server corresponding with the block;
Add module, for receiving feedback signal of each the described node server to the addition request, by the feedback Signal is saved in signal buffer area, if allowing the feedback signal of addition whole in being cached with the signal in the signal buffer area When the ratio of feedback signal meets preset ratio, in the block chain that the block is added to each node server, Distributed account book is formed, transaction is completed.
7. method according to claim 6, it is characterised in that the authentication module includes:
Ciphering unit, is encrypted for the transaction data package to be sent into seller terminal;
Acquiring unit, the digital signature for obtaining the transaction data package;
Authentication unit, is verified for the transaction data package and the digital signature to be sent into buyer terminal.
8. method according to claim 6, it is characterised in that the ciphering unit includes:
First computation subunit, the first summary for calculating the transaction data package according to hash function;
Encryption sub-unit operable, is encrypted to the described first summary for the private key using the seller terminal, forms digital signature.
9. method according to claim 6, it is characterised in that the authentication unit includes:
Second computation subunit, the first summary for calculating the transaction data package according to the hash function;
Subelement is decrypted, the digital signature is decrypted for the public key using the seller terminal, the second summary is obtained;
Transmission sub-unit, for when the described first summary is identical with the described second summary, transmission to be proved to be successful signal.
10. method according to claim 6, it is characterised in that the judge module includes:
Searching unit, for searching and the corresponding trading rules of the transaction;
Judging unit, for obtaining the data to be transacted in the transaction data package, according to the trading rules, is treated described in judgement Whether transaction data meets the trading rules.
CN201710418092.9A 2017-06-06 2017-06-06 Transaction method and system for digital assets Active CN107240001B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710418092.9A CN107240001B (en) 2017-06-06 2017-06-06 Transaction method and system for digital assets

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710418092.9A CN107240001B (en) 2017-06-06 2017-06-06 Transaction method and system for digital assets

Publications (2)

Publication Number Publication Date
CN107240001A true CN107240001A (en) 2017-10-10
CN107240001B CN107240001B (en) 2020-12-04

Family

ID=59984822

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710418092.9A Active CN107240001B (en) 2017-06-06 2017-06-06 Transaction method and system for digital assets

Country Status (1)

Country Link
CN (1) CN107240001B (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108009810A (en) * 2017-12-27 2018-05-08 光载无限(北京)科技有限公司 A kind of Trusted Digital transaction in assets method
CN108023729A (en) * 2017-10-13 2018-05-11 中国银联股份有限公司 Block chain network and its method of commerce
CN108282474A (en) * 2018-01-18 2018-07-13 山东大学 The maintaining method of digital asset trade identity based on block chain
CN108305074A (en) * 2018-01-30 2018-07-20 深圳壹账通智能科技有限公司 Transaction processing method, device, computer equipment and storage medium
CN108520415A (en) * 2018-04-26 2018-09-11 泰康保险集团股份有限公司 Data processing method based on block chain and device
CN108550039A (en) * 2018-04-24 2018-09-18 北京罗格数据科技有限公司 A kind of method of commerce based on block chain structure data
CN108648077A (en) * 2018-04-24 2018-10-12 东莞市波动赢机器人科技有限公司 Information digitalization processing method, electronic device and computer storage medium
CN108833110A (en) * 2018-05-27 2018-11-16 北京轻松筹信息技术有限公司 Digital asset processing method and processing device
CN109063493A (en) * 2018-07-11 2018-12-21 杨国超 Decentralization high performance synchronous method
WO2019119632A1 (en) * 2017-12-20 2019-06-27 深圳壹账通智能科技有限公司 Blockchain-based transfer method for multiple account books, electronic device and readable storage medium
WO2019205380A1 (en) * 2018-04-26 2019-10-31 平安科技(深圳)有限公司 Electronic device, blockchain-based data processing method and program, and computer storage medium
CN110619524A (en) * 2019-10-12 2019-12-27 链农(深圳)信息科技有限公司 Transaction method based on block chain
CN110619584A (en) * 2018-06-20 2019-12-27 喜地霁石文化传媒(北京)有限公司 Block chain access system and method and application in crowd funding digital transaction
WO2020024968A1 (en) * 2018-08-01 2020-02-06 腾讯科技(深圳)有限公司 Resource transfer data management method and apparatus, and storage medium
WO2020057002A1 (en) * 2018-09-18 2020-03-26 深圳壹账通智能科技有限公司 Invoice data sharing system and method based on blockchain
CN111639997A (en) * 2019-03-01 2020-09-08 中国银联股份有限公司 Transaction management method and device based on associated transaction rules
WO2020199796A1 (en) * 2019-03-29 2020-10-08 深圳市元征科技股份有限公司 Hotel management method and apparatus, and blockchain node server
CN111930847A (en) * 2020-09-16 2020-11-13 深圳壹账通智能科技有限公司 Data processing method and device based on block chain and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102801710A (en) * 2012-07-04 2012-11-28 北京天龙融和软件有限公司 Networked transaction method and system
CN105488675A (en) * 2015-11-25 2016-04-13 布比(北京)网络技术有限公司 Distributed shared general ledger construction method of block chain
WO2016065092A1 (en) * 2014-10-22 2016-04-28 Causam Energy, Inc. Systems and methods for advanced energy settlements, network-based messaging, and applications supporting the same
CN105678545A (en) * 2016-01-04 2016-06-15 布比(北京)网络技术有限公司 Digital asset transaction system based on distributed shared general ledger and construction method thereof
CN105844505A (en) * 2016-03-17 2016-08-10 深圳市新世纪启航科技开发有限公司 Method of carrying out digital currency trading through block chain technology
CN105913174A (en) * 2016-04-07 2016-08-31 彭军红 Lottery issuing method based on block chains
CN105976232A (en) * 2016-06-24 2016-09-28 深圳前海微众银行股份有限公司 Asset transaction method and device
CN106097030A (en) * 2016-04-29 2016-11-09 北京太云科技有限公司 The data processing method of a kind of assets based on block chain, Apparatus and system
CN106296359A (en) * 2016-08-13 2017-01-04 深圳市樊溪电子有限公司 Credible electric power networks transaction platform based on block chain technology
CN106533690A (en) * 2016-09-27 2017-03-22 布比(北京)网络技术有限公司 Block chain asset handling terminal and corresponding digital asset handling method

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102801710A (en) * 2012-07-04 2012-11-28 北京天龙融和软件有限公司 Networked transaction method and system
WO2016065092A1 (en) * 2014-10-22 2016-04-28 Causam Energy, Inc. Systems and methods for advanced energy settlements, network-based messaging, and applications supporting the same
CN105488675A (en) * 2015-11-25 2016-04-13 布比(北京)网络技术有限公司 Distributed shared general ledger construction method of block chain
CN105678545A (en) * 2016-01-04 2016-06-15 布比(北京)网络技术有限公司 Digital asset transaction system based on distributed shared general ledger and construction method thereof
CN105844505A (en) * 2016-03-17 2016-08-10 深圳市新世纪启航科技开发有限公司 Method of carrying out digital currency trading through block chain technology
CN105913174A (en) * 2016-04-07 2016-08-31 彭军红 Lottery issuing method based on block chains
CN106097030A (en) * 2016-04-29 2016-11-09 北京太云科技有限公司 The data processing method of a kind of assets based on block chain, Apparatus and system
CN105976232A (en) * 2016-06-24 2016-09-28 深圳前海微众银行股份有限公司 Asset transaction method and device
CN106296359A (en) * 2016-08-13 2017-01-04 深圳市樊溪电子有限公司 Credible electric power networks transaction platform based on block chain technology
CN106533690A (en) * 2016-09-27 2017-03-22 布比(北京)网络技术有限公司 Block chain asset handling terminal and corresponding digital asset handling method

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108023729B (en) * 2017-10-13 2020-06-23 中国银联股份有限公司 Block chain network and transaction method thereof
CN108023729A (en) * 2017-10-13 2018-05-11 中国银联股份有限公司 Block chain network and its method of commerce
WO2019119632A1 (en) * 2017-12-20 2019-06-27 深圳壹账通智能科技有限公司 Blockchain-based transfer method for multiple account books, electronic device and readable storage medium
CN108009810A (en) * 2017-12-27 2018-05-08 光载无限(北京)科技有限公司 A kind of Trusted Digital transaction in assets method
CN108282474A (en) * 2018-01-18 2018-07-13 山东大学 The maintaining method of digital asset trade identity based on block chain
CN108282474B (en) * 2018-01-18 2020-04-17 山东大学 Block chain based digital asset transaction consistency maintenance method
CN108305074B (en) * 2018-01-30 2020-06-02 深圳壹账通智能科技有限公司 Transaction processing method and device, computer equipment and storage medium
WO2019148783A1 (en) * 2018-01-30 2019-08-08 深圳壹账通智能科技有限公司 Transaction processing method and device, computer device, and storage medium
CN108305074A (en) * 2018-01-30 2018-07-20 深圳壹账通智能科技有限公司 Transaction processing method, device, computer equipment and storage medium
CN108648077A (en) * 2018-04-24 2018-10-12 东莞市波动赢机器人科技有限公司 Information digitalization processing method, electronic device and computer storage medium
CN108550039A (en) * 2018-04-24 2018-09-18 北京罗格数据科技有限公司 A kind of method of commerce based on block chain structure data
CN108648077B (en) * 2018-04-24 2021-04-13 东莞市波动赢机器人科技有限公司 Information digitalization processing method, electronic device and computer storage medium
WO2019205380A1 (en) * 2018-04-26 2019-10-31 平安科技(深圳)有限公司 Electronic device, blockchain-based data processing method and program, and computer storage medium
CN108520415A (en) * 2018-04-26 2018-09-11 泰康保险集团股份有限公司 Data processing method based on block chain and device
CN108833110A (en) * 2018-05-27 2018-11-16 北京轻松筹信息技术有限公司 Digital asset processing method and processing device
CN110619584A (en) * 2018-06-20 2019-12-27 喜地霁石文化传媒(北京)有限公司 Block chain access system and method and application in crowd funding digital transaction
CN109063493A (en) * 2018-07-11 2018-12-21 杨国超 Decentralization high performance synchronous method
CN109063493B (en) * 2018-07-11 2021-10-29 西康软件股份有限公司 Decentralized high-performance synchronization method
WO2020024968A1 (en) * 2018-08-01 2020-02-06 腾讯科技(深圳)有限公司 Resource transfer data management method and apparatus, and storage medium
WO2020057002A1 (en) * 2018-09-18 2020-03-26 深圳壹账通智能科技有限公司 Invoice data sharing system and method based on blockchain
CN111639997A (en) * 2019-03-01 2020-09-08 中国银联股份有限公司 Transaction management method and device based on associated transaction rules
WO2020177496A1 (en) * 2019-03-01 2020-09-10 中国银联股份有限公司 Transaction management method and apparatus based on associated transaction rule
CN113711264A (en) * 2019-03-01 2021-11-26 中国银联股份有限公司 Transaction management method and device based on associated transaction rules
TWI814989B (en) * 2019-03-01 2023-09-11 大陸商中國銀聯股份有限公司 A transaction management method, device, computer-readable storage medium and computing equipment based on related transaction rules
WO2020199796A1 (en) * 2019-03-29 2020-10-08 深圳市元征科技股份有限公司 Hotel management method and apparatus, and blockchain node server
CN110619524A (en) * 2019-10-12 2019-12-27 链农(深圳)信息科技有限公司 Transaction method based on block chain
CN111930847A (en) * 2020-09-16 2020-11-13 深圳壹账通智能科技有限公司 Data processing method and device based on block chain and storage medium
CN111930847B (en) * 2020-09-16 2021-01-08 深圳壹账通智能科技有限公司 Data processing method and device based on block chain and storage medium

Also Published As

Publication number Publication date
CN107240001B (en) 2020-12-04

Similar Documents

Publication Publication Date Title
CN107240001A (en) Transaction method and system for digital assets
CN107994991B (en) Data processing method, data processing server and storage medium
KR101929482B1 (en) Method for sharing business information based on mutual confirmation blockchain
CN107038578B (en) Multi-signature transaction information processing method in data transaction platform based on block chain
US6102287A (en) Method and apparatus for providing product survey information in an electronic payment system
US20200127813A1 (en) Method and system for creating a user identity
US7778934B2 (en) Authenticated payment
CN107993069A (en) A kind of online transaction method and system based on block chain network
CN109710687A (en) Processing method of insuring, device and electronic equipment based on block chain
CN111639923B (en) Digital currency transaction accounting method and system based on zero knowledge proof
Ojetunde et al. Secure payment system utilizing MANET for disaster areas
JP2004517381A (en) Method and system for using electronic communication for electronic contracts
JP2003510696A (en) Method and system for directory authenticating and executing electronic transactions involving uncertainty dependent payments via secure electronic bank bills
CN110084602B (en) Method, system, equipment and storage medium for lending protected private information
US11488156B2 (en) Confidential asset transaction system
US11887113B2 (en) Decentralized computer systems and methods for efficient transaction dispute management using blockchain
US20030028470A1 (en) Method for providing anonymous on-line transactions
JP5084746B2 (en) Method and apparatus for establishing peer-to-peer karma and trust
CN109615376A (en) A kind of method of commerce and device based on zero-knowledge proof
CN111461622A (en) Block chain-based warehouse credit rating, result acquisition and verification method and device
JP2015528954A (en) Online payment interactive processing method and online payment interactive processing system
US20230214828A1 (en) System and method for obfuscating transaction information
CN108449332A (en) A kind of lightweight Mobile Payment Protocol design method based on double gateways
Trouw et al. The xy oracle network: The proof-of-origin based cryptographic location network
US7257554B1 (en) Anonymous purchases while allowing verifiable identities for refunds returned along the paths taken to make the purchases

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
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 100038 building 11, yard 68, Beiqing Road, Haidian District, Beijing

Patentee after: BEIJING HUITONG JINCAI INFORMATION TECHNOLOGY Co.,Ltd.

Patentee after: State Grid Digital Technology Holdings Co.,Ltd.

Patentee after: State Grid Corporation of China

Address before: 100038 building 11, yard 68, Beiqing Road, Haidian District, Beijing

Patentee before: BEIJING HUITONG JINCAI INFORMATION TECHNOLOGY Co.,Ltd.

Patentee before: STATE GRID ELECTRONIC COMMERCE Co.,Ltd.

Patentee before: State Grid Corporation of China