CN110633326A - Method and system for uplink of weather data of Internet of things on block chain - Google Patents

Method and system for uplink of weather data of Internet of things on block chain Download PDF

Info

Publication number
CN110633326A
CN110633326A CN201910905046.0A CN201910905046A CN110633326A CN 110633326 A CN110633326 A CN 110633326A CN 201910905046 A CN201910905046 A CN 201910905046A CN 110633326 A CN110633326 A CN 110633326A
Authority
CN
China
Prior art keywords
weather
data
weather data
block chain
uplink
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
Application number
CN201910905046.0A
Other languages
Chinese (zh)
Inventor
吉建勋
杨慧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Ai Morui Strategic Technology Co Ltd
Original Assignee
Beijing Ai Morui Strategic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Ai Morui Strategic Technology Co Ltd filed Critical Beijing Ai Morui Strategic Technology Co Ltd
Priority to CN201910905046.0A priority Critical patent/CN110633326A/en
Publication of CN110633326A publication Critical patent/CN110633326A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • G06F16/2255Hash tables
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • G06F16/278Data partitioning, e.g. horizontal or vertical partitioning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures

Abstract

The invention discloses a method and a system for chaining weather data of an Internet of things on a block chain, which belong to the technical field of combination of the Internet of things and the block chain, and specifically comprise the following steps: the block chain link point receives weather data sent by a weather server, and the weather data is collected by a weather detector and sent to the weather server through the Internet of things; and the block chain link point carries out identity verification on the weather server, and if the identity verification passes, the block chain link point carries out cochain after the weather data are identified. According to the invention, the weather data is sent to the block chain nodes based on the Internet of things, and the chain is linked by the block chain nodes, so that the combination of the Internet of things and the block chain technology is realized, the chain of the weather data of the Internet of things is realized, the weather data can be conveniently inquired by a user, and the user experience is improved. Due to the property that the blockchain nodes cannot be tampered and the consensus mechanism, the safety and the reliability of the weather data are high, and the possibility that the weather data is tampered or lost is avoided.

Description

Method and system for uplink of weather data of Internet of things on block chain
Technical Field
The invention relates to the technical crossing field of the Internet of things and a block chain, in particular to a method and a system for uplink of weather data of the Internet of things on the block chain.
Background
The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism and an encryption algorithm. The consensus mechanism is a mathematical algorithm for establishing trust and obtaining rights and interests among different nodes in a blockchain system. The blockchain is the underlying technology of bitcoin, like a database ledger, which records all transaction records. The system is characterized in that a plurality of nodes are arranged at different parts of the world, and each node maintains a set of same databases. The data is maliciously tampered and difficult to tamper, and the data loss is extremely rare, so that a platform which is fair and transparent and solves the trust crisis is realized.
In the era of the development of the internet of things along with the information technology such as the internet and the like, a sensor, a user, an object and the like are connected together in a new mode, and the information, remote monitoring and management and intelligent network are realized. The monitoring of the weather data of the Internet of things is more and more convenient for the life of people, and users can arrange clothing and travel by inquiring the weather data published by various weather detection mechanisms.
Since the blockchain is a development direction of future technologies, how to combine the blockchain technology with the internet of things and how to link the weather data after combining the blockchain technology with the internet of things, so as to improve user experience, becomes a technical challenge.
The above techniques are merely for reference and are not necessarily to be construed as prior art.
Disclosure of Invention
Aiming at the defects of the prior art, the invention aims to solve the technical problems of how to combine the block chain technology with the Internet of things and how to link the weather data of the Internet of things.
In order to achieve the above object, in a first aspect, the present invention provides a method for uplink of weather data of an internet of things on a blockchain, including the following steps:
the block chain node receives weather data sent by a weather server, the weather data is collected by a weather detector and sent to the weather server through the Internet of things, and the weather data comprises: geographic location, temperature, wind direction, wind power, humidity, and air quality;
and carrying out identity verification on the weather server by the block link point, and if the identity verification passes, carrying out cochain on the weather data by the block link point after the common identification.
It should be noted that the blockchain is a distributed ledger, and may be a private chain, a public chain, or a federation chain.
Specifically, when the block chain node receives the weather data, a transaction including hash of the weather data and transaction information thereof can be constructed, and the constructed transaction is broadcasted to the block chain network, so that each node stores the transaction in the block chain thereof based on a consensus mechanism, and thus, multi-party evidence storage of the weather data is realized. When the transaction only includes the hash of the weather data, since the hash of the weather data is already issued to the blockchain, if the weather data is tampered, the hash of the tampered weather data is inconsistent with the hash issued in the blockchain, and therefore, issuing the weather data to the blockchain is equivalent to storing the weather data by multiple parties. It should also be noted that when the transaction only includes a hash of the weather data, the blockchain attestation platform typically stores the weather data in a separate data store (non-blockchain), such as RAM.
It should be noted that the transaction described in this specification refers to a piece of data that is created by a user through a client of the blockchain and needs to be finally published to a distributed database of the blockchain. That is, there are narrow and broad categories of transactions in the blockchain. A narrowly defined transaction refers to a transfer of value issued by a user to a blockchain; for example, in a conventional bitcoin blockchain network, the transaction may be a transfer initiated by the user in the blockchain. The broad transaction refers to a piece of business data with business intention, which is issued to the blockchain by a user; for example, an operator may build a federation chain based on actual business requirements, and rely on the federation chain to deploy some other types of online businesses unrelated to value transfer, such as data uplink business, house renting business, vehicle scheduling business, insurance claim settlement business, and the like, in such federation chain, a transaction may be a business message or business request with business intent issued by a user in the federation chain.
Specifically, the identity verification is to verify weather data sent by the weather server through a public key of the weather server; the weather data is data signed with a weather server private key.
Optionally, the weather detector is mounted at the detected geographic location, the weather detector comprising: temperature detectors, wind direction and wind force detectors, humidity detectors, and air quality detectors. The temperature sensor detects temperature, the wind direction and wind power detector detects wind direction and wind power, the humidity detector detects air humidity, and the air quality detector detects air quality.
It can be understood that the weather data are detected by the weather detector, sent to the weather server through the internet of things and then sent to the blockchain node by the weather server.
Further, each weather detector can directly send detected weather data to the blockchain node through the internet of things. It can be appreciated that the connection of the weather server to the blockchain node is more stable than the connection of the weather detectors to the blockchain node. Therefore, a mode of sending the weather data to the blockchain node through the weather server can be taken as a preferable scheme.
Specifically, the block link point carries out chaining after a practical Byzantine fault-tolerant algorithm PBFT consensus on the weather data.
In a possible embodiment, the block nodes receive the weather data, and may send the weather data to the user according to a weather inquiry request of the user, or directly send the weather data of the corresponding geographical location to the user when monitoring that the user is at the corresponding geographical location.
In one possible embodiment, the block link point uplink the weather data, which includes the following steps:
if the data volume of the weather data is larger than the storage threshold value of one block, dividing the weather data into a plurality of fragment data smaller than the storage threshold value by a block chain node;
the block chain node stores a plurality of fragment data into a plurality of blocks of the block chain node respectively.
In one possible embodiment, the block link point uplink the weather data, which includes the following steps:
if the data volume of the weather data is larger than the storage threshold value of one block, dividing the weather data into a plurality of fragment data smaller than the storage threshold value by a block chain node;
the block link point stores a first piece of fragment data in the plurality of pieces of fragment data to a current block link point;
and the block chain nodes randomly select other block chain nodes except the current block chain link point in a mode of verifying a random function VRF, and the other block chain link points store the data except the first piece of fragment data in the plurality of pieces of fragment data.
Optionally, if the weather server determines that the data size of the weather data to be sent is too large and is greater than the set data capacity threshold, the hash value of the weather data may be calculated, and the hash value is sent to the block chain node for uplink. When a user inquires the weather data, whether the weather data stored on the weather server is real or not can be verified through inquiring the hash value on the link point of the block and the corresponding relation between the hash value and the original weather data, whether the weather data is tampered or not is judged, and storage and authenticity supervision of the weather data based on the weather server and the block chain are achieved.
In a possible embodiment, the weather data is structured data, and each attribute of the weather data is linked, where the attribute of the weather data includes: and collecting data time.
In one possible embodiment, the method further comprises the steps of:
the block link node receives digital currency mortgaged by a weather server, and allocates corresponding resources for the weather server, wherein the resources are used for uplink of weather data sent by the weather server; the resources include: network resources, CPU resources, and memory resources.
Specifically, in the above scheme, the uplink mode of the weather data is to obtain the block chain resource used for uplink of the weather data by mortgage of certain digital currency, and pay the uplink fee of the weather data at the block chain link point.
It is understood that the allocated blockchain resource may be a CPU, a network resource NET or a RAM. The weather data is sent to the blockchain node in a mortgage mode, each time the uplink does not send uplink fee independently, but block chain resources are consumed, and the mortgage is needed to obtain the block chain resources so as to pay the uplink fee of the weather data at the blockchain node.
Optionally, in the above scheme, the uplink mode of the weather data may be replaced by: the weather server sends weather data to the block chain node in a transfer mode so that the block chain node can execute a cochain process, wherein the transfer information sent by the weather server comprises: from address, to address, weather data, commission fees. Specifically, the from address is an address of a weather server, the to address is an address of a blockchain node, and the commission is a cost of resources occupied by uplink of the paid weather data.
Wherein the commission may be digital currency.
It can be understood that, after the identity of the weather server is verified by the block link node, the resource fee check is also required before uplink is performed on the weather data. The resource fee means: and the resource size required by the uplink of the received weather data, wherein the resource fee check refers to judging whether the resource purchased by the weather server is larger than the resource fee, if so, the resource fee check is passed, otherwise, the check is not passed.
In a second aspect, the present invention provides an uplink system of weather data of the internet of things on a blockchain, including:
the weather data receiving unit is used for receiving weather data sent by the weather server, the weather data is collected by the weather detector and is sent to the weather server through the Internet of things, and the weather data comprises: geographic location, temperature, wind direction, wind power, humidity, and air quality;
and the weather data uplink unit is used for carrying out identity verification on the weather server, and if the identity verification passes, the block link point carries out uplink after the weather data is subjected to common identification.
In a possible embodiment, the weather data uplink unit is configured to divide the weather data into a plurality of pieces of data smaller than a storage threshold if a data amount of the weather data is greater than the storage threshold of one block; and respectively storing the plurality of fragment data into a plurality of blocks of the block chain node.
In a possible embodiment, the weather data uplink unit is configured to divide the weather data into a plurality of pieces of data smaller than a storage threshold if a data amount of the weather data is greater than the storage threshold of one block; storing a first piece of fragment data in the plurality of piece of fragment data to a current block link point; and randomly selecting other block chain nodes except the current block chain node point in a mode of verifying a random function VRF, and storing data except the first piece of fragment data in the plurality of pieces of fragment data by the other block chain nodes.
In one possible embodiment, the system further comprises: the resource allocation unit is used for receiving digital currency mortared by a weather server and allocating corresponding resources for the weather server, wherein the resources are used for uplink of weather data sent by the weather server; the resources include: network resources, CPU resources, and memory resources.
In a third aspect, the present invention provides a computer-readable storage medium, having a computer program stored thereon, where the computer program, when executed by a processor, implements the method for uplink of weather data of the internet of things on a blockchain provided in the first aspect.
Generally, compared with the prior art, the above technical solution conceived by the present invention has the following beneficial effects:
the invention provides a weather data chaining method and system of the Internet of things on a block chain.
The invention provides a method and a system for uplink of weather data of the Internet of things on a block chain.
The method and the system for chaining the weather data of the Internet of things on the block chain can send the corresponding weather data to the user through the block chain node, so that the weather data can be inquired or actively pushed to the user based on the block chain, and the combination of the weather data of the Internet of things and the block chain is realized.
The invention provides a method and a system for uplink of weather data of the Internet of things on a block chain, which realize the partitioned storage of the weather data occupying larger resources by utilizing the distributed storage characteristics of the block chain nodes. When the fragmented storage of the weather data is realized in a plurality of blocks of one block chain node, the fragmented storage of the same block chain node is realized. When the fragmented storage of the weather data is realized at different block chain nodes, all the fragmented data can be stored at the same time, and the chaining speed of the weather data is accelerated.
The invention provides a chain linking method and system of weather data of an Internet of things on a block chain.
The invention provides a method and a system for chaining weather data of the Internet of things on a block chain, which are used for realizing the structured storage of the weather data based on the structured weather data common identification chaining.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of embodiments of the invention.
In addition, any one of the embodiments in the present specification is not required to achieve all of the effects described above.
Drawings
Fig. 1 is a flowchart of a method for uplink of weather data of the internet of things on a block chain according to the present invention;
fig. 2 is an architecture diagram of an uplink system of weather data of the internet of things on a block chain according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. In addition, the technical features involved in the embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
Fig. 1 is a flowchart of a method for uplink of weather data of the internet of things on a block chain according to the present invention; as shown in fig. 1, the method comprises the following steps:
s1, the weather data that the weather server sent is received to block chain node point, the weather data is gathered by the weather detector, sends for the weather server through the thing networking, and the weather data includes: geographic location, temperature, wind direction, wind power, humidity, and air quality;
and S2, the block link point performs identity verification on the weather server, and if the identity verification passes, the block link point performs cochain after the weather data are identified.
It should be noted that the blockchain is a distributed ledger, and may be a private chain, a public chain, or a federation chain.
Specifically, when the block chain node receives the weather data, a transaction including hash of the weather data and transaction information thereof can be constructed, and the constructed transaction is broadcasted to the block chain network, so that each node stores the transaction in the block chain thereof based on a consensus mechanism, and thus, multi-party evidence storage of the weather data is realized. When the transaction only includes the hash of the weather data, since the hash of the weather data is already issued to the blockchain, if the weather data is tampered, the hash of the tampered weather data is inconsistent with the hash issued in the blockchain, and therefore, issuing the weather data to the blockchain is equivalent to storing the weather data by multiple parties. It should also be noted that when the transaction only includes a hash of the weather data, the blockchain attestation platform typically stores the weather data in a separate data store (non-blockchain), such as RAM.
It should be noted that the transaction described in this specification refers to a piece of data that is created by a user through a client of the blockchain and needs to be finally published to a distributed database of the blockchain. That is, there are narrow and broad categories of transactions in the blockchain. A narrowly defined transaction refers to a transfer of value issued by a user to a blockchain; for example, in a conventional bitcoin blockchain network, the transaction may be a transfer initiated by the user in the blockchain. The broad transaction refers to a piece of business data with business intention, which is issued to the blockchain by a user; for example, an operator may build a federation chain based on actual business requirements, and rely on the federation chain to deploy some other types of online businesses unrelated to value transfer, such as data uplink business, house renting business, vehicle scheduling business, insurance claim settlement business, and the like, in such federation chain, a transaction may be a business message or business request with business intent issued by a user in the federation chain.
Specifically, the identity verification is to verify weather data sent by the weather server through a public key of the weather server; the weather data is data signed with a weather server private key.
Optionally, the weather detector is mounted at the detected geographic location, the weather detector comprising: temperature detectors, wind direction and wind force detectors, humidity detectors, and air quality detectors. The temperature sensor detects temperature, the wind direction and wind power detector detects wind direction and wind power, the humidity detector detects air humidity, and the air quality detector detects air quality.
It can be understood that the weather data are detected by the weather detector, sent to the weather server through the internet of things and then sent to the blockchain node by the weather server.
Further, each weather detector can directly send detected weather data to the blockchain node through the internet of things. It can be appreciated that the connection of the weather server to the blockchain node is more stable than the connection of the weather detectors to the blockchain node. Therefore, a mode of sending the weather data to the blockchain node through the weather server can be taken as a preferable scheme.
Specifically, the block link point carries out chaining after a practical Byzantine fault-tolerant algorithm PBFT consensus on the weather data.
In a possible embodiment, the block nodes receive the weather data, and may send the weather data to the user according to a weather inquiry request of the user, or directly send the weather data of the corresponding geographical location to the user when monitoring that the user is at the corresponding geographical location.
In one possible embodiment, the block link point uplink the weather data, which includes the following steps:
if the data volume of the weather data is larger than the storage threshold value of one block, dividing the weather data into a plurality of fragment data smaller than the storage threshold value by a block chain node;
the block chain node stores a plurality of fragment data into a plurality of blocks of the block chain node respectively.
In one possible embodiment, the block link point uplink the weather data, which includes the following steps:
if the data volume of the weather data is larger than the storage threshold value of one block, dividing the weather data into a plurality of fragment data smaller than the storage threshold value by a block chain node;
the block link point stores a first piece of fragment data in the plurality of pieces of fragment data to a current block link point;
and the block chain nodes randomly select other block chain nodes except the current block chain link point in a mode of verifying a random function VRF, and the other block chain link points store the data except the first piece of fragment data in the plurality of pieces of fragment data.
Optionally, if the weather server determines that the data size of the weather data to be sent is too large and is greater than the set data capacity threshold, the hash value of the weather data may be calculated, and the hash value is sent to the block chain node for uplink. When a user inquires the weather data, whether the weather data stored on the weather server is real or not can be verified through inquiring the hash value on the link point of the block and the corresponding relation between the hash value and the original weather data, whether the weather data is tampered or not is judged, and storage and authenticity supervision of the weather data based on the weather server and the block chain are achieved.
In a possible embodiment, the weather data is structured data, and each attribute of the weather data is linked, where the attribute of the weather data includes: and collecting data time.
In one possible embodiment, the method further comprises the steps of:
the block link node receives digital currency mortgaged by a weather server, and allocates corresponding resources for the weather server, wherein the resources are used for uplink of weather data sent by the weather server; the resources include: network resources, CPU resources, and memory resources.
Specifically, in the above scheme, the uplink mode of the weather data is to obtain the block chain resource used for uplink of the weather data by mortgage of certain digital currency, and pay the uplink fee of the weather data at the block chain link point.
It is understood that the allocated blockchain resource may be a CPU, a network resource NET or a RAM. The weather data is sent to the blockchain node in a mortgage mode, each time the uplink does not send uplink fee independently, but block chain resources are consumed, and the mortgage is needed to obtain the block chain resources so as to pay the uplink fee of the weather data at the blockchain node.
Optionally, in the above scheme, the uplink mode of the weather data may be replaced by: the weather server sends weather data to the block chain node in a transfer mode so that the block chain node can execute a cochain process, wherein the transfer information sent by the weather server comprises: from address, to address, weather data, commission fees. Specifically, the from address is an address of a weather server, the to address is an address of a blockchain node, and the commission is a cost of resources occupied by uplink of the paid weather data.
Wherein the commission may be digital currency.
It can be understood that, after the identity of the weather server is verified by the block link node, the resource fee check is also required before uplink is performed on the weather data. The resource fee means: and the resource size required by the uplink of the received weather data, wherein the resource fee check refers to judging whether the resource purchased by the weather server is larger than the resource fee, if so, the resource fee check is passed, otherwise, the check is not passed.
Fig. 2 is an architecture diagram of an uplink system of weather data of the internet of things on a block chain, as shown in fig. 2, including: a weather data receiving unit 21, a weather data uplink unit 22, and a resource allocation unit 23.
The weather data receiving unit 21 is configured to receive weather data sent by a weather server, where the weather data is collected by a weather detector and sent to the weather server through the internet of things, and the weather data includes: geographic location, temperature, wind direction, wind power, humidity, and air quality;
and a weather data uplink unit 22, configured to perform identity verification on the weather server, and if the identity verification passes, the block link point performs uplink after the weather data is identified.
In a possible embodiment, the weather data uplink unit 22 is configured to divide the weather data into a plurality of pieces of data smaller than a storage threshold if the data amount of the weather data is greater than the storage threshold of one block; and respectively storing the plurality of fragment data into a plurality of blocks of the block chain node.
In a possible embodiment, the weather data uplink unit 22 is configured to divide the weather data into a plurality of pieces of data smaller than a storage threshold if the data amount of the weather data is greater than the storage threshold of one block; storing a first piece of fragment data in the plurality of piece of fragment data to a current block link point; and randomly selecting other block chain nodes except the current block chain node point in a mode of verifying a random function VRF, and storing data except the first piece of fragment data in the plurality of pieces of fragment data by the other block chain nodes.
In a possible embodiment, the resource allocation unit 23 is configured to receive digital currency mortgage by a weather server, and allocate, to the weather server, a corresponding resource for uplink of weather data sent by the weather server; the resources include: network resources, CPU resources, and memory resources.
The processing procedure related to each unit in fig. 2 can refer to the specific method embodiment shown in fig. 1, and is not described herein again.
Those of skill would further appreciate that the various illustrative modules and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
Those skilled in the art will recognize that, in one or more of the examples described above, the functions described in this invention may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
It will be understood by those skilled in the art that all or part of the steps in the method for implementing the above embodiments may be implemented by a program, and the program may be stored in a computer-readable storage medium, which is a non-transitory (non-transitory) medium, such as a random access memory, a read only memory, a flash memory, a hard disk, a solid state disk, a magnetic tape (magnetic tape), a floppy disk (floppy disk), an optical disk (optical disk) and any combination thereof.
The above-mentioned embodiments, objects, technical solutions and advantages of the present invention are further described in detail, it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made on the basis of the technical solutions of the present invention should be included in the scope of the present invention.

Claims (10)

1. A method for uplink of weather data of the Internet of things on a block chain is characterized by comprising the following steps:
the block chain node receives weather data sent by a weather server, the weather data is collected by a weather detector and sent to the weather server through the Internet of things, and the weather data comprises: geographic location, temperature, wind direction, wind power, humidity, and air quality;
and carrying out identity verification on the weather server by the block link point, and if the identity verification passes, carrying out cochain on the weather data by the block link point after the common identification.
2. The method of claim 1, wherein the block link point uplinks the weather data, comprising:
if the data volume of the weather data is larger than the storage threshold value of one block, dividing the weather data into a plurality of fragment data smaller than the storage threshold value by a block chain node;
the block chain node stores a plurality of fragment data into a plurality of blocks of the block chain node respectively.
3. The method of claim 1, wherein the block link point uplinks the weather data, comprising:
if the data volume of the weather data is larger than the storage threshold value of one block, dividing the weather data into a plurality of fragment data smaller than the storage threshold value by a block chain node;
the block link point stores a first piece of fragment data in the plurality of pieces of fragment data to a current block link point;
and the block chain nodes randomly select other block chain nodes except the current block chain link point in a mode of verifying a random function VRF, and the other block chain link points store the data except the first piece of fragment data in the plurality of pieces of fragment data.
4. The method of claim 1, wherein the weather data is structured data, and each attribute of the weather data is linked, and the attributes of the weather data comprise: and collecting data time.
5. The method of claim 1, further comprising the steps of:
the block link node receives digital currency mortgaged by a weather server, and allocates corresponding resources for the weather server, wherein the resources are used for uplink of weather data sent by the weather server; the resources include: network resources, CPU resources, and memory resources.
6. An Internet of things weather data uplink system on a block chain, comprising:
the weather data receiving unit is used for receiving weather data sent by the weather server, the weather data is collected by the weather detector and is sent to the weather server through the Internet of things, and the weather data comprises: geographic location, temperature, wind direction, wind power, humidity, and air quality;
and the weather data uplink unit is used for carrying out identity verification on the weather server, and if the identity verification passes, the block link point carries out uplink after the weather data is subjected to common identification.
7. The system according to claim 6, wherein the weather data uplink unit is configured to divide the weather data into a plurality of pieces of data smaller than a storage threshold if the data amount of the weather data is larger than the storage threshold of one block; and respectively storing the plurality of fragment data into a plurality of blocks of the block chain node.
8. The system according to claim 6, wherein the weather data uplink unit is configured to divide the weather data into a plurality of pieces of data smaller than a storage threshold if the data amount of the weather data is larger than the storage threshold of one block; storing a first piece of fragment data in the plurality of piece of fragment data to a current block link point; and randomly selecting other block chain nodes except the current block chain node point in a mode of verifying a random function VRF, and storing data except the first piece of fragment data in the plurality of pieces of fragment data by the other block chain nodes.
9. The system of claim 6, further comprising:
the resource allocation unit is used for receiving digital currency mortared by a weather server and allocating corresponding resources for the weather server, wherein the resources are used for uplink of weather data sent by the weather server; the resources include: network resources, CPU resources, and memory resources.
10. A computer-readable storage medium, having a computer program stored thereon, which, when being executed by a processor, implements the method for uplink of weather data of the internet of things on a blockchain according to any one of claims 1 to 5.
CN201910905046.0A 2019-09-24 2019-09-24 Method and system for uplink of weather data of Internet of things on block chain Pending CN110633326A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910905046.0A CN110633326A (en) 2019-09-24 2019-09-24 Method and system for uplink of weather data of Internet of things on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910905046.0A CN110633326A (en) 2019-09-24 2019-09-24 Method and system for uplink of weather data of Internet of things on block chain

Publications (1)

Publication Number Publication Date
CN110633326A true CN110633326A (en) 2019-12-31

Family

ID=68973709

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910905046.0A Pending CN110633326A (en) 2019-09-24 2019-09-24 Method and system for uplink of weather data of Internet of things on block chain

Country Status (1)

Country Link
CN (1) CN110633326A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113204599A (en) * 2021-07-02 2021-08-03 深圳百里科技有限公司 Equipment monitoring method and device based on Internet of things, monitoring equipment and storage medium
CN115865378A (en) * 2023-02-22 2023-03-28 中科云证科技(杭州)有限公司 Streaming media real-time evidence storing and checking method based on block chain

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113204599A (en) * 2021-07-02 2021-08-03 深圳百里科技有限公司 Equipment monitoring method and device based on Internet of things, monitoring equipment and storage medium
CN115865378A (en) * 2023-02-22 2023-03-28 中科云证科技(杭州)有限公司 Streaming media real-time evidence storing and checking method based on block chain

Similar Documents

Publication Publication Date Title
CN110554616B (en) Intelligent home data chaining method and system of Internet of things on block chain
CN113395363B (en) Data processing method, device and equipment based on block chain and storage medium
CN110648534A (en) Traffic data chaining method and device of Internet of things based on block chain
CN112235420B (en) Data synchronization method, system and related equipment based on block chain
CN110660466A (en) Personal health data chaining method and system of Internet of things by combining block chains
CN110620777A (en) Smoke monitoring data uplink method and system of Internet of things on block chain
CN110599144B (en) Network access method and device for blockchain nodes
CN113256297B (en) Data processing method, device and equipment based on block chain and readable storage medium
CN111476572A (en) Data processing method and device based on block chain, storage medium and equipment
CN109450685B (en) local link node offline consensus method and node
CN113518005B (en) Block consensus method, device, equipment and storage medium
CN105991596A (en) Access control method and system
JP2023542681A (en) Integrating device identity into blockchain permission frameworks
CN110633326A (en) Method and system for uplink of weather data of Internet of things on block chain
CN111612452A (en) Intellectual property management system and method based on block chain
Li et al. EdgeWatch: Collaborative investigation of data integrity at the edge based on blockchain
CN113037824B (en) Cloud computing-oriented high-performance block chain construction method
CN110619023A (en) Water source detection data chaining method and device of Internet of things by combining block chains
CN113505260A (en) Face recognition method and device, computer readable medium and electronic equipment
CN111680282B (en) Node management method, device, equipment and medium based on block chain network
CN110071966B (en) Block chain networking and data processing method based on cloud platform
CN111866993A (en) Wireless local area network connection management method, device, software program and storage medium
CN110647769A (en) Indoor air detection data chaining method and equipment of Internet of things by combining block chains
CN110674219A (en) Block chain based ambient air detection data chaining method and equipment for Internet of things
CN110677403A (en) Sound detection data chaining method and device of Internet of things applying block chains

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20191231