A kind of Internet of Things data transaction system of decentralizationTechnical field
The present invention relates to Internet of Things data processing, transaction and block chain technical field more particularly to a kind of decentralizationsInternet of Things data transaction system.
Background technology
Currently, society has come into the big data epoch, and data become the important means of production, data trade also byMarket scale is gradually formed, the organizations such as more and more Internet enterprises, artificial intelligence enterprise, colleges and universities, government, think tank participate inWherein.However current data trade based on centralization platform, characterized by off-line data form, this mode processing ten thousandIt is helpless in terms of the intimate real-time of object Internet age magnanimity Internet of Things data and efficient transaction, show as the data trade periodLonger, data trade participant is extremely limited.Meanwhile it is existing about utilizing block chain technology to carry out data point-to-point transactionMethod can not also complete the transaction of the intimate real-time of Internet of Things data, and also not referred to the automation of data pretreatment.
Invention content
The purpose of the present invention is to provide a kind of Internet of Things data transaction systems of decentralization, it is intended to propose that one kind is based onThe high efficiency of block chain technology, high quality, short-period Internet of Things data method of commerce realize what user's (terminal device) generatedInternet of Things data safety uses with compensation, rapidly by party in request, reaches the justice for ensureing data both sides of supply and demand by technological meansAnd the legal purpose closed rule and used of Internet of Things data.
The Internet of Things data transaction system of the decentralization of the present invention realizes that Internet of Things data is supplied based on block chain networkTo side by can the information of transaction data block chain network is published to by intelligent contract, realized based on intelligent contract automatic point-to-pointData trade, data supply deliver data after obtaining digital certificate, and implementing result is recorded in block chain account book by system.ItsIn, data supply is only used as the role of data trade supplying party not as accounting nodes in block chain network;Data needThe side of asking is only used as the role of data trade party in request not as accounting nodes in block chain network.
The information of data includes data attribute and data value, is additionally provided with data price index within the system, asData supply refers to the common outer of data value with party in request.Wherein, data price index is made of multiple dimensions, packetIt includes:Data generation time, amount of capacity, trading volume, historical trading price, trade classification, data price index is every certainTime interval can be primary according to preset algorithm dynamic adjusting and optimizing;Data attribute include Internet of Things data size, data format,Generation time, affiliated device type;Data value is that Internet of Things data supplying party is based on data price index to transaction dataThe marked price of progress.
Data supply is internet of things equipment or mobile terminal, and the transaction data generated is carried out automatic by processing moduleAfter anonymity processing and encryption encapsulation, is managed independently by distributed application program (Dapp) by user and select sale pattern.ItsIn, there are two types of sale patterns, and one is users based on individual, and individual transaction, another kind are to place data into system dataPond is uniformly traded by data pool, after the completion of transaction, is taken in by system dispensing transaction.
Data trade step between data supply and data party in request includes:
Data supply is by Dapp to the data after processing module carries out anonymous processing and encryption encapsulation, reference dataPrice index carries out price calibration, then generates intelligent contract and is published in block chain network;
Demand data side browses the intelligent treaty content of data supply publication by Dapp, independently decides whether to merchandise,Or according to oneself needs, the rule publication demand data information allowed by system finds suitable data to block chain networkSupplying party;
Either party intelligent contract of data supply and demand data side is performed, and will enter the data trade stage;
System will automatically be executed according to the requirement of intelligent contract, and the digital certificate of demand data side is sent to data supplyIn the Dapp of side, data supply is after the digital certificate for acknowledging receipt of intelligent contract calibration, into data the delivery stage;
Data supply carries out intelligent format transformation and packing to data to be delivered, at the same with the temporary private of oneself intoIt is transmitted to demand data side after row encryption;
After receiving total data, the public key provided with data supply carries out data deciphering, and right for demand data sideThe quality of data and requirement carry out evaluation expression, and transaction is completed;
Transaction Information is synchronized to block chain network by system, and the main information of transaction is recorded in block chain network, includingIdentity, data attribute, digital certificate, evaluation expression of both parties etc..
The beneficial effects of the invention are as follows:
Decentralization Internet of Things data transaction system proposed by the present invention, the Internet of Things netting index that user's (terminal device) is generatedAccording to distributed home automation pretreatment is carried out, the inefficient and data privacy leakage risk of centralized processing can be avoided;Data supplyPoint-to-point transaction is carried out by block chain network to side and party in request, does not have system failure risk not only, but also transaction record hasStandby trackability, further improve the safety that data use, the ultimate guarantee privacy and data equity of data supply,Demand data side can more close rule and use data with closing rule simultaneously.
Description of the drawings
Fig. 1 shows two kinds of the present invention with specific reference to Organization Chart;
Fig. 2 shows a kind of data trade flow charts in the embodiment of the present invention 1;
Fig. 3 shows that the data in the embodiment of the present invention 1 deliver Organization Chart.
Specific implementation mode
The present invention provides a kind of Internet of Things data transaction systems of decentralization, are carried out below by embodiment furtherDescription.
Embodiment 1
Referring to Fig. 1, the present invention provides a kind of Internet of Things data transaction systems for going to center.System includes data supply1, data supply 2, data supply 3 ..., data supply M, demand data side 1, demand data side 2, demand data side3 ..., demand data side N, block chain network BC1 and anchor node 1.
Data supply 1,2,3 ... M, is only used as the role of data supply, is responsible for providing data, the supply of each dataMono- processing module of Fang Jicheng (referred to as " being handled " in figure), and interacted with block chain network BC1 by Dapp, but not as BC1Any working node (not undertaking any nodes such as accounting nodes, endorsement node, sequence and node) needed for operation;NumberThe N according to party in request 1,2,3 ... is only used as the role of demand data side, is responsible for purchase data, and pass through Dapp and block chain networkBC1 is interacted, but (does not undertake such as accounting nodes, endorsement node, sequence not as any working node needed for BC1 operationsAnd any node such as node).
Block chain network BC1 is responsible for providing data for side 1,2,3 ..., and the key of M and data party in request 1,2,3 ... N divideMatch, intelligent contract executes and the record of transaction results.
Anchor node 1 is responsible for delivering link in data, establishes and faces between the data supply and data party in request of transactionWhen connection anchoring so that even if in the data transmission break in the case of, can still find both parties and carry out continuing to transmit.
Wherein, the Internet of Things data transaction system of the decentralization provided in order to illustrate the embodiment of the present invention 1, with reference toIllustrate the flow of data trade.As shown in Fig. 2, the data trade flow that data supply is initiated is as follows:Data supply 1After data processing, intelligent contract is generated by Dapp, data trade request is initiated to block chain network BC1;Block chain networkThe intelligent contract of BC1 publications;Demand data side is selected by Dapp, and wherein demand data side 3 agrees to hand over data supply 1Easily;Block chain network BC1 executes intelligent contract, and (identification information of data supply 1 and data party in request 3 in contract is interimStore anchor node 1);Supplying party 1 obtains the digital certificate of party in request 3 by Dapp;Supplying party 1 executes data and sends journeySequence;Data are sent, and party in request 3 is evaluated;Contract is finished, and block chain network BC1 is written in transaction results.
In order to illustrate data supply 1 in the Internet of Things data transaction system of the decentralization of the offer of the embodiment of the present invention 1The implementation procedure for delivering link in data with data party in request 3, illustrates below in conjunction with the accompanying drawings.As shown in figure 3, data supply 1Demand data side 3 is sent data to, if it did not completed, and in the case of 3 address modification of party in request, intelligent contract program could makeIt obtains both parties and is connected automatically to anchor node 1, regain the address information of both sides, continue transmission data, until whole numbersAccording to being transmitted.