CN109886812A - Blockchain-based data transaction system and method - Google Patents
Blockchain-based data transaction system and method Download PDFInfo
- Publication number
- CN109886812A CN109886812A CN201910118789.3A CN201910118789A CN109886812A CN 109886812 A CN109886812 A CN 109886812A CN 201910118789 A CN201910118789 A CN 201910118789A CN 109886812 A CN109886812 A CN 109886812A
- Authority
- CN
- China
- Prior art keywords
- data
- buyer
- arbitration
- module
- seller
- 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
Links
- 238000000034 method Methods 0.000 title claims description 18
- PCHJSUWPFVWCPO-UHFFFAOYSA-N gold Chemical compound [Au] PCHJSUWPFVWCPO-UHFFFAOYSA-N 0.000 claims description 2
- 239000010931 gold Substances 0.000 claims description 2
- 229910052737 gold Inorganic materials 0.000 claims description 2
- 238000009414 blockwork Methods 0.000 claims 1
- 238000003283 slot draw process Methods 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 5
- 230000008901 benefit Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 238000003306 harvesting Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 241000209202 Bromus secalinus Species 0.000 description 1
- 230000002159 abnormal effect Effects 0.000 description 1
- 238000013480 data collection Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 210000000056 organ Anatomy 0.000 description 1
- 238000003860 storage Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Landscapes
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The present invention provides a kind of data transacting system and method based on block chain.It include seller's module and buyer's module in data trade, data are cut into multiple data slots by seller's module, and each data slot is encrypted, the data slot set of the quasi- purchase of buyer's module selection, index, cash pledge, payment for goods and the buyer's public key of purchased data slot are submitted to sales note;Seller's module encrypts the data key with buyer's public key, and submits to buyer's module by public channel, while evidence is uploaded to the block chain;Buyer's module obtains encrypted data key, and decryption obtains data key in plain text, and the encryption data of acquisition is decrypted in plain text with data key;When buyer's module trades without demur to this, transaction is submitted to complete application, otherwise submission application.
Description
Technical field
This invention relates generally to block chain technologies.More particularly it relates to which the band privacy based on block chain is arbitrated
Data transacting system.For example, the present invention can be used for data trade based on block chain, intelligent contract and Transaction Disputes
Arbitration.
Background technique
The disclosure of block chain, transparent, the features such as can verify that make which give the titles for trusting machine, and are to hand over due to trusting
Easy basis, therefore block chain is particularly suitable for the transaction of copyright data and private data.The characteristics of based on block chain, copyright/hidden
Private data generally after encryption, upload on block chain or it is other disclose addressable place such as public database,
Web server, ftp server, distributed network storage, IPFS etc..Prevailing transmission data key during transaction.If straight
It connected intelligent contract to transmit data key on block chain, then key information has a risk of leakage.If data are close
A possibility that key transmits under chain, there is controversial issue, therefore, it is necessary to arbitrate.And traditional arbitration organ is in block catenary system
It is not suitable for, and the arbitration of centralization does not meet block chain scene yet.
Summary of the invention
It is an object of the invention to propose a kind of data transacting system with privacy arbitration based on block chain, pass through punishment
Mechanism can promote the completion of transaction, reduce the generation of non-honest behavior in process of exchange.
In an aspect, technical solution of the present invention provides a kind of data transacting system based on block chain, including sells
Square module and buyer's module, seller's module and buyer's module are configured to execute following operation:
Data are cut into multiple data slots by seller's module, and with different data keys respectively to each described
Data slot is encrypted, and at least describes the data slot of encryption, data slot and its index, data slot price are stored in
Public retrievable position, and cash pledge is submitted to sales note;
The data slot set of the quasi- purchase of buyer's module selection, Xiang Suoshu sales note at least submit purchased data slice
Index, cash pledge, payment for goods and the buyer's public key of section;
Seller's module encrypts the data key with buyer's public key, and is submitted to by public channel described
Buyer's module, while evidence is uploaded to the block chain;
Buyer's module obtains encrypted data key from seller's module, and decryption obtains data key in plain text,
And the data of the encryption obtained in plain text to public channel with the data key are decrypted;
When buyer's module trades without demur to this, transaction is submitted to complete application, otherwise submission application;
When sales note receive buyer's module the transaction complete application, then pay payment for goods to seller's mould
Block, the cash pledge for executing both sides return operation, when the arbitration contract receives the request for arbitration, then arbitration contract are called to start
Arbitration, and the result according to arbitration is handled.
In one embodiment, in the arbitration contract, arbitration commission is served as by odd number arbitrator, and each
Arbitrator is directed to by the randomly selected data slot of the arbitration contract, at least close to the data of seller's module offer
The clear data whether key can be decrypted correctly out clear data, be decrypted by public key encryption, the data key of buyer's module
Whether describe to be consistent with it and be judged to make arbitration result.
In one embodiment, wherein when the conclusion of the judge is affirmative, then the arbitrator votes a go-ahead described sell
Otherwise square module votes a go-ahead buyer's module, and the arbitration contract is using the ballot to occupy the majority as terminal arbitration result.
In one embodiment, wherein different arbitrator to execute data slot targeted when arbitration not identical.
In one embodiment, wherein the arbitrator is voluntarily served as by the miner for successfully generating effective block.
In one embodiment, wherein when the arbitration result is seller's module victory, then by the payment for goods of buyer's module
Seller's module is paid, the cash pledge of buyer's module is returned the cash pledge of seller's module, as arbitration fees when described secondary
Result is cut out as buyer's module victory, then is returned the payment for goods of buyer's module and cash pledge, by the cash pledge of seller's module
As arbitration fees.
In one embodiment, wherein the arbitration fees are divided equally by all arbitrators.
In one embodiment, wherein the arbitration fees are divided equally by voting with the consistent arbitrator of terminal arbitration result.
In another aspect, technical solution of the present invention provide it is a kind of between buyer and the seller, based on block chain
Data trade method, comprising:
Data are cut into multiple data slots at the seller, and with different data keys respectively to each data
Segment is encrypted, and is at least stored in the data slot of encryption, data slot description and its index, data slot price public
Retrievable position, and cash pledge is submitted to sales note;
The data slot set of quasi- purchase is selected at buyer, Xiang Suoshu sales note at least submits purchased data slot
Index, cash pledge, payment for goods and buyer's public key;
The data key is encrypted with buyer's public key at the seller, and is submitted to by public channel described
Buyer, while evidence is uploaded to the block chain;
Encrypted data key is obtained from the seller at the buyer, decryption obtains data key in plain text, is used in combination
The data for the encryption that the data key in plain text obtains public channel are decrypted;
When the buyer trades without demur to this, transaction is submitted to complete application, otherwise submission application;
When sales note receive the buyer the transaction complete application, then pay payment for goods to the seller, execute
The cash pledge of both sides returns operation, when the arbitration contract receives the request for arbitration, then calls arbitration contract to start arbitration, and
Result according to arbitration is handled.
In one embodiment, wherein arbitration commission is served as by odd number arbitrator in the arbitration contract, and
Each arbitrator is directed to by the randomly selected data slot of the arbitration contract, at least close to the data of seller offer
Whether the clear data that whether key by public key encryption, the data key of buyer can be decrypted correctly out clear data, decrypt
It describes to be consistent with it and be judged to make arbitration result.
Technical solution of the present invention not only realizes arbitration under conditions of protecting privacy, can also reduce Transaction Disputes, promotes
Transaction is normally carried out.
First, it is assumed that the seller cheats, does not submit correct data (data and description are not inconsistent) perhaps or do not submit just
True data encryption key, then buyer understands submission to arbitration, will be as a result payment for goods that the seller not only cannot get buyer, can also lose it
The cash pledge of payment.Therefore, what the seller cheated loses the result is that only having, and has no harvest.Technical solution of the present invention also promotes the seller
The data of its sale of accurate description as much as possible, so that arbitrator makes to its advantageous ballot, this is all advantageous both sides.
Secondly, due to its advance payment, can just take data key for buyer, it also can just obtain it and buy number
According to plaintext can not implement to cheat from this angle.If the seller is sincere, transaction is normally carried out, buyer's still submission to arbitration,
Buyer will be will lead to and lose cash pledge.
Again, based on above-mentioned analysis, when either or both such as have different opinions to transaction, to avoid cash pledge from losing, both sides
It can be as much as possible by being handled through consultation under chain, this is both conducive to going on smoothly for transaction, and it is also beneficial to both sides and brings back respective cash pledge,
To reduce the generation of Transaction Disputes.
Finally, the data slot for arbitration, quantity are extremely limited, the selection of data slot is also random, arbitration
Member is nor fixed choose or choose in advance.These measures are beneficial for protection vendor data privacy.The seller can also be with
Data are divided into small data slot as much as possible, its data can be preferably protected in arbitrated procedure.
Detailed description of the invention
By read be provided by way of example only and with reference to attached drawing carry out being described below, be better understood with the present invention and
Its advantage, in which:
Fig. 1 is the operational flowchart of the data transacting system according to an embodiment of the present invention based on block chain;
Fig. 2 is the schematic diagram of sales note according to an embodiment of the present invention;
Fig. 3 is the schematic diagram of arbitration contract according to an embodiment of the present invention;
Fig. 4 is the schematic diagram of Merkle tree according to an embodiment of the present invention;And
Fig. 5 is the schematic diagram in the verifying path of Merkle tree according to an embodiment of the present invention.
Specific embodiment
Technical program of the present invention lies on the one hand, in the case where both parties' all good faith transactions, transaction can be smooth
It carries out, buyer can obtain the data of oneself purchase, and the seller will receive payment for goods, and other people cannot obtain vendor data;Another party
Such as there are Transaction Disputes in face, and arbitration mechanism has no harvest a non-honest side not only, can also be used as arbitrating because of cash pledge
Take and pays a price, and a sincere side will not incur loss.To which the present invention can promote transaction by penalty mechanism
It completes, reduces the generation of non-honest behavior in process of exchange.
Technical solution of the present invention for ease of description, using following exemplary representation mode:
di: indicate the data slot plaintext for transaction;
E (k, x): expression encrypts x with key k, is convenient, does not distinguish here to Encryption Algorithm;
D (k, y): expression is decrypted y with key k, similarly, does not distinguish here to decipherment algorithm;
Pk: the public key (public key) of buyer is indicated;
Sk: the private key (secret key) of buyer is indicated;
{xi}: indicate set (x1,x2,…,xn) some subset, alphabetical x can be substituted for any letter.
For data trade, the data of quasi- sale initially can be divided into multiple data slot d by the seller1,…,dn, and to not
Same data slot uses different key k respectively1,…,knIt is encrypted, obtains corresponding ciphertext c1,…,cn.These are for straight
Meet the key k of encryption data1,…,kn, referred to as data key.The seller by encrypted data, help buyer understand about
Description information, price of data of these data etc. are stored in a public retrievable place, can be on block chain, can also
To be under chain.Then, the seller passes through the cash pledge that intelligent contract (i.e. sales note) submits oneself.
Preferably, the cutting of above-mentioned data slot follows following principle: first is that requiring each data slot that can allow
Arbitrator third party differentiates the authenticity of the segment data, it is ensured that arbitrated procedure can be done under the premise of the seller is without dishonest conduct
Out to the advantageous ruling of the seller;Second is that needing each data slot to be exposed to arbitral information will lack as far as possible, to subtract
Information leakage in few arbitrated procedure.
Based on above-mentioned setting, data trade operation of the invention is described below with reference to Fig. 1.Fig. 1 is according to the present invention
The operational flowchart of the data transacting system based on block chain of embodiment.As shown in fig. 1, at step S101, data are handed over
Easily start.At step S102, buyer is to sales note submission cash pledge, payment for goods, public key (as shown in Figure 2) etc..In a reality
Apply in example, buyer may browse through data information, determine the data of quasi- purchase, and by sales note submission cash pledge and payment for goods,
The public key pk of oneself, the quasi- data directory bought, wherein payment for goods refers to that buyer buys the amount of money paid needed for related data.
At step S103, it can be determined that whether seller's cash pledge is enough.If the seller does not submit cash pledge or cash pledge quantity
Deficiency, then at step S104, sales note will return buyer's cash pledge and payment for goods automatically, and transaction will be cancelled, i.e. transaction terminates.When
When determining that seller's cash pledge is enough at step S103, then the seller submits encrypted data key c (i.e. encrypted ciphertext).
In one embodiment, when the seller receives contract notice and the public key pk of buyer, the seller use buyer's public key pk
Encrypt the corresponding data key { k of the bought data of buyeri, obtain { E (pk, ki), and by public channel, such as disclosing can
Database, website of access etc. pass to buyer.In one embodiment, the seller can also be direct by encrypted data key
Cochain.In view of one side data key is taken up too much space, on the other hand, encrypted data key transaction complete or it is secondary
It cuts out and is no longer needed for after completing.Accordingly, it is preferred that method is by encrypted data key not cochain, as long as open may have access to
?.Transaction, which is completed, or arbitration is completed can delete encrypted data key later, to discharge occupied space.
In one embodiment, the evidence that data key is sent is submitted cochain (being uploaded to block chain) by the seller, in case
Arbitration uses.Here evidence can be it is any be able to demonstrate that its evidence for uploading data key ciphertext, such as will E (pk,
ki) carry out the Merkle tree root that hash is obtained.In one embodiment, with the Hash of the data key after buyer's public key encryption
Value is formed by Merkle tree root as evidence.The forming process of Merkle tree root is as shown in Figure 4.In Merkle tree, first
Content inside bottom one layer of leaf node is exactly the cryptographic Hash of data key ciphertext.Then, one layer of middle node above
Point, be by by next layer two-by-two adjacent node cryptographic Hash again Hash it is primary and formed, and so on.Finally, until
Form a Merkle root vertex.
In one embodiment, when buyer obtains the data key for the bought data of buyer that the seller uploads in previous step
Ciphertext { E (pk, ki), with the plaintext { k for obtaining data key of the private key decryption of oneselfi=D (E (pk, ki)), then distinguish
With data key kiDecrypt the ciphertext c of purchased datai, the clear data collection { d that is boughti=D (ki,ci)}。
At step S106, judge whether that transaction is normal by buyer.If above-mentioned operation All going well, buyer is to transaction
Satisfied, then at step S112, buyer submits transaction to complete application to sales note at the appointed time.Then, in step
At S113, sales note transfers accounts payment for goods to the seller, and both sides' cash pledge is returned, and at step S114, and this time transaction terminates.
However, when step S106 at, buyer thinks transaction and abnormal, i.e., buyer is unsatisfied with transaction.This is dissatisfied
Situation for example can be and do not receive data key, data key, data and description are not inconsistent.At this point, in step
At S107, buyer can be at the appointed time to arbitration contract submission to arbitration.
Hereafter, at step S108, the seller can submit specified data key plaintext, ciphertext, Merkle tree verifying path
(as shown in Figure 5), so that being arbitrated by arbitrating contract.
For this purpose, judging whether arbitration result supports the seller at step S109.When arbitrator passes through arbitration contract (such as Fig. 3
Shown in) when being arbitrated, if arbitration result is seller's victory, then step S111 at, seller's acquisition payment for goods, seller's cash pledge is moved back
Also, buyer's cash pledge pays arbitrator as arbitration fee, and at step S114, transaction terminates.On the contrary, as arbitration result is
Buyer's victory, then at step S110, payment for goods and buyer's cash pledge return buyer, and seller's cash pledge will be forfeit, as arbitration fee branch
Arbitrator is paid, and at step S114, transaction terminates.
Arbitration mechanism of the invention will be specifically described below.
1. arbitration commission
Arbitration commission is made of k arbitrator, and k is the odd number greater than 1.In one embodiment, arbitrator can be by
The miner that the miner of triumph generates correct block voluntarily serves as.Arbitrator generates in order, each arbitrator is preceding
One arbitrator generates after completing ballot.First, it is assumed that buyer has purchased J data slot, it is assumed that certain miner receives arbitration Shen
Please, become i-th of arbitrator Ai, then it presses following arbitration tasks.
2. arbitration rules
Each arbitral arbitration step is as follows:
(1) arbitrator AiCall arbitration contract (as shown in Figure 3);
(2) arbitration contract automatically generates a random parameter RAND, 0≤RAND < 1, then the data slot serial number j chosen
=[J*RAND+1], [] is directed toward lower rounding operation here, arbitrates contract for j and is sent to the seller and arbitrator Ai.It is random to improve
Several quality, height, current time, total amount J of purchased data slot of block etc. can be used as seed, to generate random number
RAND。
(3) direction arbitrator A is soldiThe data key k of j-th of data slot is providedjPlaintext, buyer's public key pk, use buyer
Public key encryption kjObtained ciphertext and Merkle tree verify path;Wherein, buyer's public key pk can also be provided by contract, data key
kjCiphertext can also be obtained from open channel.
(4) arbitrator AiIt is arbitrated, AiThe purpose of arbitration is to judge the seller in process of exchange, if there are improper rows
To need to judging as follows:
Does is does is i. the seller supplied to the data key ciphertext of buyer and supplied to the whether consistent of oneself? this can be by mentioning the seller
Data key ciphertext substitution Merkle tree (as shown in Figure 4) for giving oneself is verified, and is such as verified, then conclusion is
"Yes", otherwise conclusion is "No".
Does is ii. the seller supplied to data key ciphertext buyer's public key encryption of buyer? this can be by by data
The data key ciphertext that key plain provides after being encrypted with buyer's public key with the seller compares.Conclusion is "Yes" if consistent,
Otherwise conclusion is "No".
Iii. the seller be supplied to buyer data key it is whether correct? by being come ciphertext data with the plaintext of data key
It is no successfully to determine.Conclusion is "Yes" if success, and otherwise conclusion is "No".
Iv. whether the seller sincere to the description of data, that is, the data decrypted are consistent with description? the conclusion if consistent
For "Yes", otherwise conclusion is "No".
(5) only when the conclusion of four problems of previous step is all "Yes", arbitrator votes a go-ahead the seller, otherwise votes a go-ahead and buy
Side.If the seller does not provide arbitration information needed whithin a period of time, then arbitrator votes a go-ahead buyer.
3. arbitrating the generation of conclusion
In k arbitrator, it is each it is arbitral ballot otherwise support the seller or support buyer, centainly have one kind
Ballot is more than half, more than terminal arbitration conclusion of the ballot conclusion as arbitration commission of half.
4. arbitration is terminated and is terminated in advance
When k arbitrator completes to vote, ballot is terminated, and there is no new arbitrator generations.
Preferably, when supporting the votes of one party to reach (k+1)/2, even if arbitrator's quantity is not up to k, ballot
As a result also it has been determined that can close the polls in advance, the ballot conclusion to occupy the majority no longer generates new secondary as terminal arbitration conclusion
It reduces the staff.
5. the distribution of arbitration fees
By a side of arbitration decision failure, cash pledge is returned arbitration commission as arbitration fees, is divided between arbitrator
Match.In one embodiment, the method for salary distribution can be all arbitrators and participate in dividing equally.Preferably, can by those ballot with it is secondary
It cuts out the consistent arbitrator of final conclusion and divides arbitration fees equally.Such benefit is that arbitrator is promoted to carry out impartial arbitrator, because only
A possibility that having fair arbitration, obtaining arbitration fees, is bigger.Using the method for salary distribution of this arbitration fees, in arbitration commission's very little
In the case where, it may cause subsequent arbitrator according to existing voting results, make to oneself best ballot without making
Just ballot.For example, be provided only in 3 arbitral situations when the committee, second arbitrator arbitration fees in order to obtain can
It can directly select and first consistent ballot of arbitrator, in this case, arbitration result and an only arbitral feelings
The not big difference of condition.It therefore, is optimally that arbitrator's quantity k is more preferably greater than 3.
Then, the distribution of arbitration fees is automatically performed by arbitrating contract, so that this arbitration terminates.
About above-mentioned request for arbitration, generally initiated by buyer.Since arbitration necessarily causes the cash pledge of one party to be deducted.
For common interest, when both sides have different opinions to transaction, both parties can private consultation first as much as possible, only negotiating not
Cheng Shicai submission to arbitration.
In the present invention, the selection of arbitrator, arbitrated procedure, the publication of arbitration result and processing of cash pledge etc. are all
It can be executed by the way that arbitration contract (or intelligent contract) is automatic.Arbitration candidate can decide whether participate in arbitrating in its sole discretion, such as
It is judged according to the number of arbitration fees.Arbitrator's quantity can be decided through consultation by both parties by intelligent contract, or by the seller
The intelligent contract that is pre-designed determines.The considerations of for arbitration justice and fairness, arbitrator's quantity should be the surprise greater than 3
Number.
Arbitration when, arbitrator need to by data key ciphertext substitute into Merkle tree verify, Fig. 5 give one for
The Merkle tree of data key ciphertext cryptographic Hash verifies path schematic diagram, verifies path are as follows: HE, HF, HGH,HABCD,HIKLMNOPR。
About cash pledge determination of amount, the quantity of cash pledge should be premised on paying arbitration fees enough when there is dispute.The seller
Cash pledge can be submitted for transaction each time.Preferably, the seller can submit a certain number of cash pledges to arrive its " cash pledge pond " in advance.Often
In primary transaction, cash pledge of the quantity identical with buyer's cash pledge as the secondary transaction is only extracted from seller's cash pledge pond, works as cash pledge
Cash pledge pond is directly returned when returning.Such benefit is that one side both parties cash pledge is identical, embodies fairness, another party
Face, reducing the seller is the operation that exchange does each time, while also reducing the quantity of data storage on block chain.When the seller determines
When no longer selling, the cash pledge in cash pledge pond is returning the seller after lockup period after a period of time.The purpose of lockup period is set
It is the transaction for preventing it not finish also.
In arbitrated procedure, such as because the cash pledge for being used as arbitration fees is insufficient, cause the number for being willing to participate in arbitration insufficient, it may
It will lead to and be unable to complete in the arbitration long period.At this point, both sides need additional margin, expired not additional margin person, arbitration contract is certainly
It is dynamic to sentence its failure.
Application and request for arbitration are completed in transaction, are all to be submitted by buyer, if buyer is at the appointed time without submitting Shen
Please, then intelligent contract executes transaction complete step automatically.Preferably, buyer part cash pledge is deducted, as the defaulted of the payment seller
Gold.Here " stipulated time " can be specified by sales note or platform is arranged.In terms of the setting of time, it need to reserve buyer's
Processing time and both sides have negotiation time when different opinions to transaction.
Sales note and arbitration contract (being intelligent contract) are shown respectively in Fig. 2 and Fig. 3 and they with the seller and buy
Interactive step between side.In one embodiment, the sales note and arbitration contract can be two of an intelligent contract
Different piece or branch are also possible to two intelligent contracts that are independent, can mutually calling.Due to be hereinbefore described about
The concrete operations of sales note and arbitration contract, will not be described in great detail herein.
Foregoing description based on the application, it will be appreciated by those skilled in the art that technical solution of the present invention is implemented at one
It generally may include: that (1) seller (or seller's module) prepares data and offer for sale in example;(2) direction sales note is sold to mention
Hand over cash pledge;(3) it is realized by sales note, arbitration contract and the transaction with secret protection of buyer's (or buyer's module) and secondary
It cuts out;(4) when the seller no longer sells, sales note returns seller's surplus cash pledge.
The present invention solves the data key traded on chain transmission and payment for goods payment problem by sales note, is closed by arbitration
It about solves the problems, such as transaction controversial issue, publicly-owned chain, privately owned chain and alliance's chain can be widely used in.
Although the mode that the present invention is implemented is as above, the content is implementation that is of the invention for ease of understanding and using
Example, the range and application scenarios being not intended to limit the invention.Technical staff in any technical field of the present invention, not
Be detached from disclosed herein spirit and scope under the premise of, can make in the formal and details of implementation any modification with
Variation, but scope of patent protection of the invention, still should be subject to the scope of the claims as defined in the appended claims.
Claims (10)
1. a kind of data transacting system based on block chain, including seller's module and buyer's module, seller's module and buyer
Module is configured to execute following operation:
Data are cut into multiple data slots by seller's module, and with different data keys respectively to each data
Segment is encrypted, and is at least stored in the data slot of encryption, data slot description and its index, data slot price public
Retrievable position, and cash pledge is submitted to sales note;
The data slot set of the quasi- purchase of buyer's module selection, Xiang Suoshu sales note at least submit purchased data slot
Index, cash pledge, payment for goods and buyer's public key;
Seller's module encrypts the data key with buyer's public key, and submits to the buyer by public channel
Module, while evidence is uploaded to the block chain;
Buyer's module obtains encrypted data key from seller's module, and decryption obtains data key in plain text, is used in combination
The data for the encryption that the data key in plain text obtains public channel are decrypted;
When buyer's module trades without demur to this, transaction is submitted to complete application, otherwise submission application;And
When sales note receive buyer's module the transaction complete application, then pay payment for goods to seller's module,
The cash pledge for executing both sides returns operation, when the arbitration contract receives the request for arbitration, then calls that arbitrate contract secondary to start
It cuts out, and the result according to arbitration is handled.
2. data transacting system according to claim 1, wherein arbitration commission is by odd number in the arbitration contract
Arbitrator serves as, and each arbitrator is directed to by the randomly selected data slot of the arbitration contract, at least to described
Whether whether the data key that seller's module provides by public key encryption, the data key of buyer's module can be decrypted correctly out plaintext number
Whether describe to be consistent with it and be judged to make arbitration result according to, the clear data that decrypts.
3. data transacting system according to claim 2, wherein when the conclusion of the judge is affirmative, then the arbitrator
Seller's module is voted a go-ahead, buyer's module, and ballot of the arbitration contract to occupy the majority otherwise are voted a go-ahead
For terminal arbitration result.
4. data transacting system according to claim 1, wherein different arbitrators executes data targeted when arbitration
Segment is not identical.
5. data transacting system according to claim 4, wherein the arbitrator is by successfully generating the mine of effective block
Work is voluntarily served as.
6. data transacting system according to claim 3, wherein when the arbitration result is seller's module victory, then it will be described
Seller's module is paid in the payment for goods of buyer's module, and the cash pledge of buyer's module is as arbitration fees, by the signature of seller's module
Gold is returned, and when the arbitration result is buyer's module victory, is then returned the payment for goods of buyer's module and cash pledge, will be described
The cash pledge of seller's module is as arbitration fees.
7. data transacting system according to claim 6, wherein the arbitration fees are divided equally by all arbitrators.
8. data transacting system according to claim 6, wherein the arbitration fees are consistent with terminal arbitration result by voting
Arbitrator divide equally.
9. a kind of data trade method between buyer and the seller, based on block chain, comprising:
Data are cut into multiple data slots at the seller, and with different data keys respectively to each data slot
It is encrypted, at least the data slot of encryption, data slot is described and its index, data slot price are stored in public obtain
The position taken, and cash pledge is submitted to sales note;
The data slot set of quasi- purchase is selected at buyer, Xiang Suoshu sales note at least submits the rope of purchased data slot
Draw, cash pledge, payment for goods and buyer's public key;
The data key is encrypted with buyer's public key at the seller, and described buy is submitted to by public channel
Side, while evidence is uploaded to the block chain;
Encrypted data key is obtained from the seller at the buyer, decryption obtains data key in plain text, and described in use
The data for the encryption that data key in plain text obtains public channel are decrypted;
When the buyer trades without demur to this, transaction is submitted to complete application, otherwise submission application;And
When application is completed in the transaction that sales note receives the buyer, then pays payment for goods to the seller, execute both sides
Cash pledge return operation, when the arbitration contract receives the request for arbitration, then call arbitration contract to start arbitration, and foundation
The result of arbitration is handled.
10. data trade method according to claim 9, wherein arbitration commission is by odd number in the arbitration contract
A arbitrator serves as, and each arbitrator is directed to by the randomly selected data slot of the arbitration contract, at least to institute
State the seller offer data key whether by public key encryption, the data key of buyer whether can be decrypted correctly out clear data, solution
Whether close clear data out describes to be consistent with it is judged to make arbitration result.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910118789.3A CN109886812B (en) | 2019-02-15 | 2019-02-15 | Data transaction system and method based on block chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910118789.3A CN109886812B (en) | 2019-02-15 | 2019-02-15 | Data transaction system and method based on block chain |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109886812A true CN109886812A (en) | 2019-06-14 |
CN109886812B CN109886812B (en) | 2021-04-20 |
Family
ID=66928218
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910118789.3A Active CN109886812B (en) | 2019-02-15 | 2019-02-15 | Data transaction system and method based on block chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109886812B (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110288346A (en) * | 2019-06-28 | 2019-09-27 | 杭州复杂美科技有限公司 | Block chain distributed storage method for down loading, equipment and storage medium |
CN110443609A (en) * | 2019-07-04 | 2019-11-12 | 杭州复杂美科技有限公司 | Multi-signature method of commerce, equipment and storage medium |
CN111177738A (en) * | 2019-10-09 | 2020-05-19 | 北京海益同展信息科技有限公司 | Electronic reading management method and device, electronic equipment and storage medium |
CN111369236A (en) * | 2020-02-19 | 2020-07-03 | 中国建设银行股份有限公司 | Data management method and device applied to block chain |
CN111401891A (en) * | 2020-02-19 | 2020-07-10 | 中国建设银行股份有限公司 | Data management method and device applied to block chain |
CN111415229A (en) * | 2020-04-21 | 2020-07-14 | 昆明大棒客科技有限公司 | Block chain based e-commerce transaction method, device and equipment |
CN111539723A (en) * | 2020-04-14 | 2020-08-14 | 浙江浙燃能源有限公司 | Block chain transaction recording method, equipment, block chain node and computer medium |
CN112581132A (en) * | 2020-12-24 | 2021-03-30 | 华南理工大学 | Fair block chain voting method and system for ensuring rights and interests of voting sponsor |
CN112766965A (en) * | 2021-01-25 | 2021-05-07 | 天津理工大学 | A privacy-preserving data sharing method based on smart contracts |
CN112801785A (en) * | 2021-01-13 | 2021-05-14 | 中央财经大学 | Fair data transaction method and device based on block chain intelligent contract |
CN115526718A (en) * | 2022-09-05 | 2022-12-27 | 国网浙江省电力有限公司杭州供电公司 | Data resource protection method based on intelligent contract |
CN118537010A (en) * | 2024-04-30 | 2024-08-23 | 南京航空航天大学 | Multi-version data transaction method supporting fair income distribution based on blockchain |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7725404B2 (en) * | 2002-02-27 | 2010-05-25 | Imagineer Software, Inc. | Secure electronic commerce using mutating identifiers |
TWI574215B (en) * | 2015-12-03 | 2017-03-11 | Chunghwa Telecom Co Ltd | Point-to-point electronic trading system, method and its computer program products |
CN107169764A (en) * | 2017-05-10 | 2017-09-15 | 山东大学 | Fair data trade method based on block chain |
CN108681898A (en) * | 2018-05-15 | 2018-10-19 | 广东工业大学 | A kind of data trade method and system based on block chain |
CN108924092A (en) * | 2018-06-07 | 2018-11-30 | 北京航空航天大学 | Based on block chain can open arbitration distribution cloud storage method and system |
-
2019
- 2019-02-15 CN CN201910118789.3A patent/CN109886812B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7725404B2 (en) * | 2002-02-27 | 2010-05-25 | Imagineer Software, Inc. | Secure electronic commerce using mutating identifiers |
TWI574215B (en) * | 2015-12-03 | 2017-03-11 | Chunghwa Telecom Co Ltd | Point-to-point electronic trading system, method and its computer program products |
CN107169764A (en) * | 2017-05-10 | 2017-09-15 | 山东大学 | Fair data trade method based on block chain |
CN108681898A (en) * | 2018-05-15 | 2018-10-19 | 广东工业大学 | A kind of data trade method and system based on block chain |
CN108924092A (en) * | 2018-06-07 | 2018-11-30 | 北京航空航天大学 | Based on block chain can open arbitration distribution cloud storage method and system |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110288346A (en) * | 2019-06-28 | 2019-09-27 | 杭州复杂美科技有限公司 | Block chain distributed storage method for down loading, equipment and storage medium |
CN110443609A (en) * | 2019-07-04 | 2019-11-12 | 杭州复杂美科技有限公司 | Multi-signature method of commerce, equipment and storage medium |
CN111177738A (en) * | 2019-10-09 | 2020-05-19 | 北京海益同展信息科技有限公司 | Electronic reading management method and device, electronic equipment and storage medium |
CN111401891B (en) * | 2020-02-19 | 2023-06-16 | 建信金融科技有限责任公司 | Data management method and device applied to blockchain |
CN111401891A (en) * | 2020-02-19 | 2020-07-10 | 中国建设银行股份有限公司 | Data management method and device applied to block chain |
CN111369236A (en) * | 2020-02-19 | 2020-07-03 | 中国建设银行股份有限公司 | Data management method and device applied to block chain |
CN111369236B (en) * | 2020-02-19 | 2023-07-07 | 建信金融科技有限责任公司 | Data management method and device applied to blockchain |
CN111539723A (en) * | 2020-04-14 | 2020-08-14 | 浙江浙燃能源有限公司 | Block chain transaction recording method, equipment, block chain node and computer medium |
CN111415229A (en) * | 2020-04-21 | 2020-07-14 | 昆明大棒客科技有限公司 | Block chain based e-commerce transaction method, device and equipment |
CN112581132A (en) * | 2020-12-24 | 2021-03-30 | 华南理工大学 | Fair block chain voting method and system for ensuring rights and interests of voting sponsor |
CN112801785A (en) * | 2021-01-13 | 2021-05-14 | 中央财经大学 | Fair data transaction method and device based on block chain intelligent contract |
CN112801785B (en) * | 2021-01-13 | 2023-10-20 | 中央财经大学 | Fair data transaction method and device based on blockchain intelligent contract |
CN112766965A (en) * | 2021-01-25 | 2021-05-07 | 天津理工大学 | A privacy-preserving data sharing method based on smart contracts |
CN112766965B (en) * | 2021-01-25 | 2022-09-02 | 天津理工大学 | Privacy protection data sharing method based on intelligent contracts |
CN115526718A (en) * | 2022-09-05 | 2022-12-27 | 国网浙江省电力有限公司杭州供电公司 | Data resource protection method based on intelligent contract |
CN118537010A (en) * | 2024-04-30 | 2024-08-23 | 南京航空航天大学 | Multi-version data transaction method supporting fair income distribution based on blockchain |
Also Published As
Publication number | Publication date |
---|---|
CN109886812B (en) | 2021-04-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109886812A (en) | Blockchain-based data transaction system and method | |
US20240303620A1 (en) | Computer method and apparatus for providing proprietary rights transactions | |
US7966247B1 (en) | Ascending bid auction for multiple objects | |
Barton | The economic basis of damages for breach of contract | |
US20220180426A1 (en) | Method and system for sealed bid auctions | |
JP2022511623A (en) | Blockchain-based content sharing creation server, content distribution server and systems including this | |
Martins et al. | Fostering customer bargaining and E-procurement through a decentralised marketplace on the blockchain | |
CN112884554A (en) | Auction method of Internet of things data auction system based on alliance chain | |
CA3003562C (en) | Method and system for sealed bid auctions | |
CN104794652A (en) | Online auction method and system for establishing bidding reward mechanism | |
CN113962714B (en) | An auction tracing method and implementation system based on Ethereum privacy protection | |
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 | |
Ausubel et al. | Auction design for wind rights | |
CN104794651A (en) | Freezing and unfreezing method and system of auction margin along with bidding behavior | |
Zhang et al. | Combining trust modeling and mechanism design for promoting honesty in e‐marketplaces | |
CN113379519B (en) | Trusted auction method and system based on blockchain | |
Rege | Transparency in government procurement issues of concern and interest to developing countries | |
KR20200037201A (en) | Future forecast platform service system in which block chain money is generated by the activity of participant | |
Thomas et al. | Horizontal product differentiation in auctions and multilateral negotiations | |
CN110807634A (en) | Second-hand ticket trading method and platform based on Hasp hash chain and smart contract | |
Krüger | Ban-on-negotiations in tender procedures: undermining best value for money? | |
Yazdaninejad et al. | A Blockchain-enabled and transparent evaluation of ml models in the decentralised marketplace | |
JP2011096243A (en) | Method and apparatus for uniform price bond auction with open outcry format and extendible bidding round rule | |
Andrecka | Innovative public-private partnerships | |
KR102782389B1 (en) | Method and system for transacting NFT |
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 |