CN110365730A - Air quality information sharing method and device - Google Patents
Air quality information sharing method and device Download PDFInfo
- Publication number
- CN110365730A CN110365730A CN201810317761.8A CN201810317761A CN110365730A CN 110365730 A CN110365730 A CN 110365730A CN 201810317761 A CN201810317761 A CN 201810317761A CN 110365730 A CN110365730 A CN 110365730A
- Authority
- CN
- China
- Prior art keywords
- air quality
- data
- monitoring station
- information
- sharing method
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols 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]
Abstract
The present invention provides a kind of air quality information sharing method and device, air quality information sharing method includes: the registration request sent according to air quality monitoring station, distributes corresponding user account to the air quality monitoring station;Receive and store the air quality data that the air quality monitoring station is sent via corresponding user account;It receives and issues the corresponding intelligent contract in the air quality monitoring station;If receiving the transaction successful information for the intelligent contract, the block address for being stored with the air quality data and data public key are then sent to the purchaser of the transaction successful information, so that purchaser checks the air quality data according to the block address and data public key of the air quality data.The present invention can quickly be reliably achieved the individual of the monitoring device and technology for possessing air quality data, and there are the enterprise of access to information demand or person-to-person air quality information are shared with other.
Description
Technical field
The present invention relates to technical field of data transmission, and in particular to a kind of air quality information sharing method and device.
Background technique
Air quality data is used for according to ambient air quality and every pollutant to human health, ecology, environment
Influence reaction air pollution degree data, and also specify air quality separate index number for individual event pollutant, participate in empty
The major pollutants of gas quality evaluation are fine particle, pellet, sulfur dioxide, nitrogen dioxide, ozone, carbon monoxide
Deng six.
Currently, the monitoring device and technology of air quality data be mainly by individual investment construction, and carry out air quality number
According to regularly publish, however, some pairs of air quality datas have the enterprises and individuals of demand due to impotentia investment construction these
Monitoring system, and air quality data can not be obtained in time;For between some enterprises having an agreement in advance, air quality information
It can share, but the sharing mode of this air quality information limits the shared channel of air quality information, Wu Faman
The access to information demand of foot more multiple enterprises or individual, also limit the enterprise of the monitoring device and technology that possess air quality data
And the economic benefit of individual etc..
Therefore, a kind of shared side of air quality information of access to information demand that can satisfy enterprise or individual how is designed
Method is a problem to be solved.
Summary of the invention
For the defects in the prior art, the present invention provides a kind of air quality information sharing method and device, can be fast
Speed can be reliably achieved the monitoring device and technology for possessing air quality data individual with other there are access to information demand
Enterprise or person-to-person air quality information are shared.
In order to solve the above technical problems, the present invention the following technical schemes are provided:
In a first aspect, the present invention provides a kind of air quality information sharing method, the shared side of the air quality information
Method includes:
According to the registration request that air quality monitoring station is sent, corresponding user's account is distributed to the air quality monitoring station
Number;
Receive and store the air quality data that the air quality monitoring station is sent via corresponding user account;
And it receives and issues the corresponding intelligent contract in the air quality monitoring station;
If receiving the transaction successful information for the intelligent contract, the area of the air quality data will be stored with
Block address and data public key are sent to the purchaser of the transaction successful information, so that purchaser is according to the air quality data
Block address and data public key check the air quality data.
Further, the registration request sent according to air quality monitoring station, distributes the air quality monitoring station
Corresponding user account, comprising:
Receive the registration request that air quality monitoring station is sent, wherein include corresponding air matter in the registration request
The identification information of monitoring station is measured, and identity knowledge is carried out to the air quality monitoring station according to the identification information in the registration request
Not;
And if the identification to the air quality monitoring station is successful, to air quality monitoring station distribution pair
The user account answered.
Further, the air quality information sharing method further include:
The user right for data to be written is distributed to the successful air quality monitoring station of identification.
Further, the air quality information sharing method further include:
Public key and private key are distributed to the successful air quality monitoring station of identification.
Further, the air for receiving and storing the air quality monitoring station and being sent via corresponding user account
Qualitative data, comprising:
Receive the encrypted air quality data that the air quality monitoring station is sent via corresponding user account;
To air quality data addition timestamp, corresponding block chain nodal information and cryptographic Hash, the air is obtained
The corresponding block of qualitative data;
And authenticity verification is carried out to the block, and according to the block chain node in the block after being proved to be successful
Information stores the block.
Further, if will be stored with described in the transaction successful information received for the intelligent contract
The block address and data public key of air quality data are sent to before the purchaser of the transaction successful information, the air matter
Measure information sharing method further include:
The intelligent contract, the address of the intelligence contract and calling interface are sent automatically to each data consumer;
Wherein, the calling interface of the intelligent contract includes: air quality data information query interface, air quality data
Buy interface and air quality initial data access interface;
And a certain data consumer then generates according to the corresponding air quality data of intelligence contract purchase if it exists
For the transaction successful information of the intelligent contract, and the token of data consumer's corresponding number is deducted automatically, and increase institute
State the token of the corresponding number of the property right owner of air quality monitoring station.
Further, the intelligent contract is the property right owner of the air quality monitoring station according to the air quality
Public key, private key, block address, air quality data to be vended and the corresponding pricing information that monitoring station is sent are write.
Second aspect, the present invention provides a kind of air quality information shared system, the shared system of the air quality information
System includes:
User account registration module, the registration request for being sent according to air quality monitoring station supervise the air quality
Survey station distributes corresponding user account;
Air quality data memory module, user receive and store the air quality monitoring station via corresponding user's account
Number send air quality data;
Intelligent contract release module, for receiving and issuing the corresponding intelligent contract in the air quality monitoring station;
Transaction sharing module, if will be stored for receiving the transaction successful information for the intelligent contract
The block address and data public key for stating air quality data are sent to the purchaser of the transaction successful information, so that purchase root
The air quality data is checked according to the block address and data public key of the air quality data.
The third aspect, the present invention provides a kind of electronic equipment, including memory, processor and storage are on a memory simultaneously
The computer program that can be run on a processor, the processor realize that the air quality information is shared when executing described program
The step of method.
Fourth aspect, the present invention provides a kind of computer readable storage mediums, are stored thereon with computer program, the meter
The step of calculation machine program realizes the air quality information sharing method when being executed by processor.
As shown from the above technical solution, a kind of air quality information sharing method of the present invention, according to air quality
The registration request that monitoring station is sent distributes corresponding user account to the air quality monitoring station;Receive and store the air
The air quality data that quality-monitoring station is sent via corresponding user account;It receives and issues the air quality monitoring station pair
The intelligent contract answered;If receiving the transaction successful information for the intelligent contract, the air quality number will be stored with
According to block address and data public key be sent to it is described transaction successful information purchaser so that purchaser is according to the air matter
The block address and data public key for measuring data check the air quality data, can quickly be reliably achieved and possess air matter
Measure data monitoring device and technology individual there are the enterprise of access to information demand or person-to-person air qualities with other
Information sharing can not only optimize supply-demand relationship, and can increase the monitoring device and technology for possessing air quality data
The rate of return on investment of individual, and the intelligent contract that can be appointed in advance by supply and demand both sides realizes the automatic exchange of data, no
Supply and demand both sides are needed artificially to trigger.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is the present invention
Some embodiments for those of ordinary skill in the art without creative efforts, can also basis
These attached drawings obtain other attached drawings.
Fig. 1 is the flow diagram of the first specific embodiment of air quality information sharing method of the invention;
Fig. 2 is the flow diagram of second of specific embodiment of air quality information sharing method of the invention;
Fig. 3 is the flow diagram of the third specific embodiment of air quality information sharing method of the invention;
Fig. 4 is the flow diagram of the 4th kind of specific embodiment of air quality information sharing method of the invention;
Fig. 5 is the grid frame for realizing the air quality information sharing method in application example of the invention
The structural schematic diagram of structure;
Fig. 6 is the air quality data write-in block chain flow diagram in application example of the invention;
Fig. 7 is the flow diagram that air quality data is shared by intelligent contract in application example of the invention;
Fig. 8 is the intelligent contract-defined interface schematic diagram of the shared air quality data in application example of the invention;
Fig. 9 is the structural schematic diagram of air quality information shared system of the invention;
The structural schematic diagram of electronic equipment Figure 10 of the invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, the technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
The embodiment of the present invention one provides a kind of specific embodiment of air quality information sharing method, referring to Fig. 1, institute
It states air quality information sharing method and specifically includes following content:
Step 100: the registration request sent according to air quality monitoring station distributes the air quality monitoring station corresponding
User account.
In step 100, the registration request that the air quality information shared system is sent according to air quality monitoring station,
Corresponding user account is distributed to the air quality monitoring station.It can be understood that the air quality information shared system is specific
For a kind of block catenary system, and the block chain in the block catenary system is Distributed Storage, point-to-point transmission, common recognition machine
The new application mode of the computer technologies such as system, Encryption Algorithm, and the common recognition mechanism is that different sections are realized in block catenary system
The mathematical algorithm for trusting, obtaining equity is established between point.
Step 200: receiving and storing the air quality that the air quality monitoring station is sent via corresponding user account
Data.
In step 200, the air quality information shared system receives the air quality monitoring station via corresponding
The air quality data that user account is sent, then the air quality information shared system stores the air quality monitoring station
The air quality data sent via corresponding user account.
Step 300: receiving and issue the corresponding intelligent contract in the air quality monitoring station.
In step 300, the air quality information shared system receives the corresponding intelligence in the air quality monitoring station
Contract, and the corresponding intelligent contract in the air quality monitoring station is issued, so that in the air quality information shared system
In registered data consumer can know the intelligent contract being published.
It is understood that the intelligence contract be one on the computer systems, when certain condition is satisfied the case where
Under, the contract that can be performed automatically;Intelligent contract based on block chain include issued transaction and preservation mechanism and one
Complete state machine, for receiving and handling various intelligent contracts;And the preservation of affairs and state processing are all on block chain
It completes.
Step 400: if receiving the transaction successful information for the intelligent contract, the air quality will be stored with
The block address and data public key of data are sent to the purchaser of the transaction successful information, so that purchaser is according to the air
The block address and data public key of qualitative data check the air quality data.
In step 400, the air quality information shared system receive the transaction for the intelligent contract at
After function information, the block address for being stored with the air quality data and data public key are sent to the transaction successful information
Purchaser has purchased the data consumer of the air quality data, so that the data consumer is according to the air quality number
According to block address and data public key check the air quality data.It is understood that the data public key is to be served only for
The key of encryption or ciphertext data rather than encryption or the other keys of decryption.
As can be seen from the above description, the air quality information sharing method that the embodiment of the present invention provides, it being capable of quick cocoa
Realized by ground the individual of the monitoring device and technology that possess air quality data with other there are the enterprise of access to information demand or
Person-to-person air quality information is shared, can not only optimize supply-demand relationship, and can increase and possess air quality data
Monitoring device and technology individual rate of return on investment, and the intelligent contract that can be appointed in advance by supply and demand both sides is realized
The automatic exchange of data does not need supply and demand both sides and artificially triggers.
In a specific embodiment, the present invention also provides a kind of steps 100 of air quality information sharing method
Specific embodiment, the step 100 specifically include following content:
Step 101: receiving the registration request that air quality monitoring station is sent, wherein include corresponding in the registration request
Air quality monitoring station identification information, and according to the identification information in the registration request to the air quality monitoring station into
Row identification.
Step 102: if the identification success to the air quality monitoring station, distributes the air quality monitoring station
Corresponding user account.
In the foregoing description, air quality monitoring station occurs to register and ask to the air quality information shared system first
It asks, the air quality information shared system receives the registration request, and according to the identification information in the registration request to this
Air quality monitoring station carries out identification, if identifying successfully, the air quality information shared system is to the air quality
Corresponding user account is distributed in monitoring station.
As can be seen from the above description, the air quality information sharing method that the embodiment of the present invention provides, it can be quickly and quasi-
It is really the user account of the air quality monitoring station of proposition registration request.
In a specific embodiment, the present invention also provides the steps 100 in the air quality information sharing method
The specific embodiment of the step A00 executed later, referring to fig. 2, the step A00 specifically include following content:
Step A00: the user right for data to be written is distributed to the successful air quality monitoring station of identification.
In step A00, the air quality information shared system is to the successful air quality monitoring station of identification point
It is used in the user right of write-in data.
In a specific embodiment, the present invention also provides the steps 100 in the air quality information sharing method
The specific embodiment of the step B00 executed later, referring to Fig. 3, by taking step B00 is executed after step A00 as an example, the step
Rapid B00 specifically includes following content:
Step B00: public key and private key are distributed to the successful air quality monitoring station of identification.
It is understood that the public key (Public Key) and private key (Private Key) are obtained by a kind of algorithm
The key pair (i.e. a public key and a private key) arrived, public key is part disclosed in cipher key pair, and private key is then non-public
Part;Public key is commonly used in encrypted session key, verifying digital signature, or the number that encryption can be decrypted with corresponding private key
According to;Can guarantee it is worldwide unique by the key pair that this algorithm obtains;When using this key pair, such as
Fruit encrypts one piece of data with one of key, then needs to be decrypted with another key.For example it must just be used with public key encryption data
Private key decryption, if must also use public key decryptions with private key encryption, otherwise decryption will not succeed.
As can be seen from the above description, the air quality information sharing method that the embodiment of the present invention provides, can effectively improve
The accuracy and safety of information transmission during air quality information is shared.
In a specific embodiment, the present invention also provides a kind of steps 200 of air quality information sharing method
Specific embodiment, the step 200 specifically include following content:
Step 201: receiving the encrypted air matter that the air quality monitoring station is sent via corresponding user account
Measure data.
Step 202: to air quality data addition timestamp, corresponding block chain nodal information and cryptographic Hash, obtaining
To the corresponding block of the air quality data.
Step 203: authenticity verification being carried out to the block, and according to the block chain link in the block after being proved to be successful
Point information stores the block.
In the foregoing description, the air quality monitoring station is total to the air quality information via corresponding user account
It enjoys system and sends encrypted air quality data, the air quality information shared system receives the air quality data, and
To air quality data addition timestamp, corresponding block chain nodal information and cryptographic Hash, the air quality data pair is obtained
The block answered carries out authenticity verification to the block again later, and according to the block chain node in the block after being proved to be successful
Information stores the block.
In a specific embodiment, the present invention also provides the steps 400 in the air quality information sharing method
The specific embodiment of the step C00 and D00 that execute before, referring to fig. 4, the step C00 and D00 specifically include in following
Hold:
Step C00: the intelligent contract, the address of the intelligence contract and calling are sent automatically to each data consumer and is connect
Mouthful.
In step C00, the calling interface of the intelligence contract includes: air quality data information query interface, air
Qualitative data buys interface and air quality initial data access interface.
Step D00: a certain data consumer buys corresponding air quality data according to the intelligence contract if it exists, then gives birth to
At the transaction successful information for the intelligent contract, and the token of data consumer's corresponding number is deducted automatically, and increase
The token of the corresponding number of the property right owner of the air quality monitoring station.
In the foregoing description, the intelligent contract is the property right owner of the air quality monitoring station according to the air
Quality-monitoring station send public key, private key, block address, air quality data to be vended and corresponding pricing information write and
At.
As can be seen from the above description, the air quality information sharing method that the embodiment of the present invention provides, it being capable of quick cocoa
Realized by ground the individual of the monitoring device and technology that possess air quality data with other there are the enterprise of access to information demand or
Person-to-person air quality information is shared, can not only optimize supply-demand relationship, and can increase and possess air quality data
Monitoring device and technology individual rate of return on investment, and the intelligent contract that can be appointed in advance by supply and demand both sides is realized
The automatic exchange of data does not need supply and demand both sides and artificially triggers.
For further instruction this programme, the present invention also provides a kind of concrete application of air quality information sharing method realities
Example, the specific application example of the air quality information sharing method specifically include following content:
Referring to Fig. 5, specifically included in following for realizing the System Network Architecture of the air quality information sharing method
Hold:
The block catenary system of shared air quality data includes several major: air monitering station, data producer, data make
User, block chain intelligence contract, block chain application service layer, block chain data Layer.
Air monitering station: be responsible for acquisition atmosphere all data, including sulfur dioxide, carbon monoxide, nitrogen dioxide, ozone,
PM10、PM2.5。
Data producer: the property right owner at air monitering station.
Data consumer: the demander of air quality data, such as farm, tourist corporation, other government departments, individual
Deng.
Block chain application service layer: being responsible for the application processing of block chain, including data management, code key management, rights management,
User management, consensus management etc..
Block chain data Layer: it is responsible for the data block storage of block chain, is composed of many block chain nodes.
Referring to Fig. 6, air quality data write-in block chain process specifically includes following content:
1. air quality monitoring station applies for the registration of to block chain.Block chain user management module carries out factory identity to it and knows
Not.
2. after air quality monitoring station's identification passes through, block chain user management module is to its distributing user account.
3. the user right that block chain authority management module distributes it writable data.
4. block chain code key management module distributes public key and private key to it.Asymmetric encryption for air quality data.
5. after succeeding in registration, air quality monitoring station can be encrypted air quality data, and be uploaded to block chain.Area
Data are covered timestamp by block chain node users, and together with own node information, cryptographic Hash etc. is packaged into a block together, application
Block chain is written.
6. block chain consensus management module carries out common recognition detection to new block, the block true and false is verified.
After new block verifying, it is added into block chain and saves.
Referring to Fig. 7, air quality data process is shared by intelligent contract and specifically includes following content:
1. after air monitering station is registered on block chain, air quality data is stored on block chain.
2. public key, private key and block address are informed monitoring station property right owner, i.e. data producer by air monitering station.
3. salable air quality data and pricing information are written as intelligent contract by data producer, and are published to area
On block chain.
4. if notifying all data consumers, including contract address and calling interface automatically issue successfully.
5. if calling intelligent contract-defined interface data consumer buys air quality data, obtain air quality data
Affiliated block address and data public key.
6. after buying successfully, bales catch removes the corresponding token of data consumer, and increases data producer corresponding generation
Coin.
Referring to Fig. 8, the intelligent contract-defined interface of shared air quality data specifically includes following content:
1.GetAirDataInfo interface: inquiry air quality data information;The interface returning air qualitative data time,
Type, the information such as price.
2.BuyAirData interface: purchase air quality data;The block of the interface returning air quality initial data
Location, the information such as decryption public key.
3.GetAirData interface: access air quality initial data;The interface returning air quality initial data.
As can be seen from the above description, the air quality information sharing method that application example of the invention provides, by building one
A air quality data shared platform, the resource of Interworking Data producer and data party in request can not only optimize supply-demand relationship,
And governmental investment return rate can be increased;After air quality data shared platform is built successfully, by supply and demand, both sides are prior
The automatic exchange of data may be implemented in the intelligent contract appointed, does not need supply and demand both sides and artificially triggers, realizes air quality
Data automated transaction in trusted mode and information sharing.
The embodiment of the present invention two, which provides, a kind of can be realized full content in the air quality information sharing method
The specific embodiment of air quality information shared system, referring to Fig. 9, the air quality information shared system specifically include as
Lower content:
User account registration module 10, the registration request for being sent according to air quality monitoring station, to the air quality
Corresponding user account is distributed in monitoring station.
Air quality data memory module 20, user receive and store the air quality monitoring station via corresponding user
The air quality data that account is sent.
Intelligent contract release module 30, for receiving and issuing the corresponding intelligent contract in the air quality monitoring station.
Transaction sharing module 40, if will be stored with for receiving the transaction successful information for the intelligent contract
The block address and data public key of the air quality data are sent to the purchaser of the transaction successful information, so that purchaser
The air quality data is checked according to the block address of the air quality data and data public key.
The embodiment of air quality information shared system provided by the invention specifically can be used for executing above-mentioned air quality
The process flow of the embodiment of information sharing method, details are not described herein for function, is referred to the detailed of above method embodiment
Thin description.
As can be seen from the above description, the air quality information shared system that the embodiment of the present invention provides, it being capable of quick cocoa
Realized by ground the individual of the monitoring device and technology that possess air quality data with other there are the enterprise of access to information demand or
Person-to-person air quality information is shared, can not only optimize supply-demand relationship, and can increase and possess air quality data
Monitoring device and technology individual rate of return on investment, and the intelligent contract that can be appointed in advance by supply and demand both sides is realized
The automatic exchange of data does not need supply and demand both sides and artificially triggers.
The embodiment of the present invention three, which provides, a kind of can be realized full content in the air quality information sharing method
The specific embodiment of electronic equipment, referring to Figure 10, the electronic equipment specifically includes following content:
Processor (processor) 601, memory (memory) 602, communication interface (Communications
Interface) 603 and bus 604;
Wherein, the processor 601, memory 602, communication interface 603 complete mutual lead to by the bus 604
Letter;The communication interface 603 for air quality monitoring station, each unit module in block catenary system, air quality monitoring station
Information transmission between property right owner and data consumer etc.;
The processor 601 is used to call the computer program in the memory 602, and the processor executes the meter
The Overall Steps in above-described embodiment one are realized when calculation machine program, for example, reality when the processor executes the computer program
Existing following step:
Step 100: the registration request sent according to air quality monitoring station distributes the air quality monitoring station corresponding
User account.
Step 200: receiving and storing the air quality that the air quality monitoring station is sent via corresponding user account
Data.
Step 300: receiving and issue the corresponding intelligent contract in the air quality monitoring station.
Step 400: if receiving the transaction successful information for the intelligent contract, the air quality will be stored with
The block address and data public key of data are sent to the purchaser of the transaction successful information, so that purchaser is according to the air
The block address and data public key of qualitative data check the air quality data.
As can be seen from the above description, the electronic equipment that the embodiment of the present invention provides, can quickly be reliably achieved and possess
There are the enterprise of access to information demand or person-to-person skies with other for the individual of the monitoring device of air quality data and technology
Makings amount information sharing can not only optimize supply-demand relationship, and can increase the monitoring device for possessing air quality data and
The rate of return on investment of the individual of technology, and the intelligent contract that can be appointed in advance by supply and demand both sides realizes the automatic friendship of data
It changes, does not need supply and demand both sides and artificially trigger.
The embodiment of the present invention four provides the one kind that can be realized Overall Steps in above-mentioned air quality information sharing method
Computer readable storage medium is stored with computer program on the computer readable storage medium, which is located
Reason device realizes the Overall Steps of above-described embodiment one when executing, for example, the processor is realized when executing the computer program
Following step:
Step 100: the registration request sent according to air quality monitoring station distributes the air quality monitoring station corresponding
User account.
Step 200: receiving and storing the air quality that the air quality monitoring station is sent via corresponding user account
Data.
Step 300: receiving and issue the corresponding intelligent contract in the air quality monitoring station.
Step 400: if receiving the transaction successful information for the intelligent contract, the air quality will be stored with
The block address and data public key of data are sent to the purchaser of the transaction successful information, so that purchaser is according to the air
The block address and data public key of qualitative data check the air quality data.
As can be seen from the above description, the computer readable storage medium that the embodiment of the present invention provides, it can quickly can be reliable
The individual of the monitoring device and technology that possess air quality data is realized on ground, and there are the enterprises of access to information demand or a with other
Air quality information between people is shared, can not only optimize supply-demand relationship, and can increase and possess air quality data
The rate of return on investment of the individual of monitoring device and technology, and the intelligent contract that can be appointed in advance by supply and demand both sides realizes number
According to automatic exchange, do not need supply and demand both sides and artificially trigger.
In the description of the present invention, it should be noted that the orientation or positional relationship of the instructions such as term " on ", "lower" is base
In orientation or positional relationship shown in the drawings, it is merely for convenience of description of the present invention and simplification of the description, rather than indication or suggestion
Signified device or element must have a particular orientation, be constructed and operated in a specific orientation, therefore should not be understood as to this
The limitation of invention.Unless otherwise clearly defined and limited, term " installation ", " connected ", " connection " shall be understood in a broad sense, example
Such as, it may be fixed connection or may be dismantle connection, or integral connection;It can be mechanical connection, be also possible to be electrically connected
It connects;It can be directly connected, the connection inside two elements can also be can be indirectly connected through an intermediary.For this
For the those of ordinary skill in field, the specific meanings of the above terms in the present invention can be understood according to specific conditions.
It should also be noted that, herein, relational terms such as first and second and the like are used merely to one
Entity or operation are distinguished with another entity or operation, without necessarily requiring or implying between these entities or operation
There are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant are intended to contain
Lid non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or equipment including the element.
The above examples are only used to illustrate the technical scheme of the present invention, rather than its limitations;Although with reference to the foregoing embodiments
Invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each implementation
Technical solution documented by example is modified or equivalent replacement of some of the technical features;And these are modified or replace
It changes, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.
Claims (10)
1. a kind of air quality information sharing method, which is characterized in that the air quality information sharing method includes:
According to the registration request that air quality monitoring station is sent, corresponding user account is distributed to the air quality monitoring station;
Receive and store the air quality data that the air quality monitoring station is sent via corresponding user account;
And it receives and issues the corresponding intelligent contract in the air quality monitoring station;
If receiving the transaction successful information for the intelligent contract, the block of the air quality data will be stored with
Location and data public key are sent to the purchaser of the transaction successful information, so that area of the purchaser according to the air quality data
Block address and data public key check the air quality data.
2. air quality information sharing method according to claim 1, which is characterized in that described according to air quality monitoring
It stands the registration request sent, distributes corresponding user account to the air quality monitoring station, comprising:
Receive the registration request that air quality monitoring station is sent, wherein include that corresponding air quality is supervised in the registration request
The identification information of survey station, and identification is carried out to the air quality monitoring station according to the identification information in the registration request;
And if the identification to the air quality monitoring station is successful, which is distributed corresponding
User account.
3. air quality information sharing method according to claim 1, which is characterized in that the air quality information is shared
Method further include:
The user right for data to be written is distributed to the successful air quality monitoring station of identification.
4. air quality information sharing method according to claim 1, which is characterized in that the air quality information is shared
Method further include:
Public key and private key are distributed to the successful air quality monitoring station of identification.
5. air quality information sharing method according to claim 1, which is characterized in that described to receive and store the sky
The air quality data that makings amount monitoring station is sent via corresponding user account, comprising:
Receive the encrypted air quality data that the air quality monitoring station is sent via corresponding user account;
To air quality data addition timestamp, corresponding block chain nodal information and cryptographic Hash, the air quality is obtained
The corresponding block of data;
And authenticity verification is carried out to the block, and according to the block chain nodal information in the block after being proved to be successful
The block is stored.
6. air quality information sharing method according to claim 1, which is characterized in that if receiving described for institute
The block address for being stored with the air quality data and data public key, then be sent to by the transaction successful information for stating intelligent contract
Before the purchaser of the transaction successful information, the air quality information sharing method further include:
The intelligent contract, the address of the intelligence contract and calling interface are sent automatically to each data consumer;
Wherein, the calling interface of the intelligent contract includes: air quality data information query interface, air quality data purchase
Interface and air quality initial data access interface;
And a certain data consumer then generates and is directed to according to the corresponding air quality data of intelligence contract purchase if it exists
The transaction successful information of the intelligence contract, and the token of data consumer's corresponding number is deducted automatically, and increases the sky
The token of the corresponding number of the property right owner of makings amount monitoring station.
7. air quality information sharing method according to any one of claims 1 to 6, which is characterized in that the intelligence is closed
Public key, private key, the block that the property right owner of the about described air quality monitoring station sends according to the air quality monitoring station
Address, air quality data to be vended and corresponding pricing information are write.
8. a kind of air quality information shared system, which is characterized in that the air quality information shared system includes:
User account registration module, the registration request for being sent according to air quality monitoring station, to the air quality monitoring station
Distribute corresponding user account;
Air quality data memory module, user receive and store the air quality monitoring station and send out via corresponding user account
The air quality data sent;
Intelligent contract release module, for receiving and issuing the corresponding intelligent contract in the air quality monitoring station;
Transaction sharing module, if the sky will be stored with for receiving the transaction successful information for the intelligent contract
The block address and data public key of gas qualitative data are sent to the purchaser of the transaction successful information, so that purchaser is according to institute
The block address and data public key for stating air quality data check the air quality data.
9. a kind of electronic equipment including memory, processor and stores the calculating that can be run on a memory and on a processor
Machine program, which is characterized in that the processor realizes the air matter as described in any one of claim 1 to 7 when executing described program
The step of measuring information sharing method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt
It is realized when processor executes as described in any one of claim 1 to 7 the step of air quality information sharing method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810317761.8A CN110365730A (en) | 2018-04-10 | 2018-04-10 | Air quality information sharing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810317761.8A CN110365730A (en) | 2018-04-10 | 2018-04-10 | Air quality information sharing method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110365730A true CN110365730A (en) | 2019-10-22 |
Family
ID=68212687
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810317761.8A Pending CN110365730A (en) | 2018-04-10 | 2018-04-10 | Air quality information sharing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110365730A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110825776A (en) * | 2019-11-07 | 2020-02-21 | 腾讯云计算(北京)有限责任公司 | Air quality detection report processing method and device, computing equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150379510A1 (en) * | 2012-07-10 | 2015-12-31 | Stanley Benjamin Smith | Method and system to use a block chain infrastructure and Smart Contracts to monetize data transactions involving changes to data included into a data supply chain. |
CN106100981A (en) * | 2016-08-22 | 2016-11-09 | 布比(北京)网络技术有限公司 | Social network data exchange method and device |
CN106788987A (en) * | 2016-11-28 | 2017-05-31 | 树读(上海)信息科技有限公司 | A kind of collage-credit data based on block chain is shared and transaction system |
CN107563846A (en) * | 2017-08-10 | 2018-01-09 | 深圳市易成自动驾驶技术有限公司 | Shared vehicles management method, server, system and computer-readable recording medium |
CN107609848A (en) * | 2017-11-06 | 2018-01-19 | 张婷 | A kind of IPR licensing method and system based on Internet of Things |
CN107844978A (en) * | 2017-11-30 | 2018-03-27 | 中链科技有限公司 | A kind of staple commodities transaction processing method and system based on block chain |
-
2018
- 2018-04-10 CN CN201810317761.8A patent/CN110365730A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150379510A1 (en) * | 2012-07-10 | 2015-12-31 | Stanley Benjamin Smith | Method and system to use a block chain infrastructure and Smart Contracts to monetize data transactions involving changes to data included into a data supply chain. |
CN106100981A (en) * | 2016-08-22 | 2016-11-09 | 布比(北京)网络技术有限公司 | Social network data exchange method and device |
CN106788987A (en) * | 2016-11-28 | 2017-05-31 | 树读(上海)信息科技有限公司 | A kind of collage-credit data based on block chain is shared and transaction system |
CN107563846A (en) * | 2017-08-10 | 2018-01-09 | 深圳市易成自动驾驶技术有限公司 | Shared vehicles management method, server, system and computer-readable recording medium |
CN107563846B (en) * | 2017-08-10 | 2021-01-12 | 深圳市易成自动驾驶技术有限公司 | Shared vehicle management method, server, system, and computer-readable storage medium |
CN107609848A (en) * | 2017-11-06 | 2018-01-19 | 张婷 | A kind of IPR licensing method and system based on Internet of Things |
CN107844978A (en) * | 2017-11-30 | 2018-03-27 | 中链科技有限公司 | A kind of staple commodities transaction processing method and system based on block chain |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110825776A (en) * | 2019-11-07 | 2020-02-21 | 腾讯云计算(北京)有限责任公司 | Air quality detection report processing method and device, computing equipment and storage medium |
CN110825776B (en) * | 2019-11-07 | 2023-04-18 | 腾讯云计算(北京)有限责任公司 | Air quality detection report processing method and device, computing equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Lopez et al. | A multi-layered blockchain framework for smart mobility data-markets | |
CN109829824B (en) | Commodity transaction information sharing method based on block chain technology | |
Asante et al. | Distributed ledger technologies in supply chain security management: A comprehensive survey | |
Mylrea et al. | Blockchain: A path to grid modernization and cyber resiliency | |
CN112132198A (en) | Data processing method, device and system and server | |
CN109447648A (en) | The method of recorded data zone block, accounting nodes and medium in block chain network | |
CN109409122A (en) | File memory method and its electronic equipment, storage medium | |
CN111177253A (en) | Power big data protection method and system based on identity digital authentication | |
CN107516180A (en) | A kind of system and method that storage transaction security and operating efficiency are improved based on block chain | |
CN108197891A (en) | A kind of electronic signature device and method based on block chain | |
CN108876538B (en) | A kind of order information processing method | |
JP2019175417A (en) | Power transaction system | |
CN112132676B (en) | Method and device for determining contribution degree of joint training target model and terminal equipment | |
US20220300955A1 (en) | Systems and methods of generating, validating, approving, recording, and utilizing digital data assets in a blockchain platform using a transactional proof of work | |
CN114401268A (en) | Cross-link data sharing method, system, equipment and readable storage medium | |
CN109727132A (en) | Acquisition methods, device, electronic equipment and the storage medium of block chain common recognition node | |
Yang et al. | Blockchain for supply chain performance and logistics management | |
CN114358766A (en) | Method, equipment and blockchain system for trading green electric certificates | |
CN115204873A (en) | Block chain-based open big data transaction matching method and system | |
Hou et al. | IoT and blockchain-based smart agri-food supply chains | |
KR20200041182A (en) | It asset management system using distributed ledger technology and method thereof | |
CN110365730A (en) | Air quality information sharing method and device | |
Naik et al. | TokenGreen: A Versatile NFT Framework for Peer-to-Peer Energy Trading and Asset Ownership of Electric Vehicles | |
CN110287254A (en) | A kind of data trade method, apparatus and computer equipment based on alliance's chain | |
CN110084706A (en) | It is a kind of that guarantor's verifying System and method for is prolonged based on block chain |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191022 |
|
RJ01 | Rejection of invention patent application after publication |