CN110619023A - Water source detection data chaining method and device of Internet of things by combining block chains - Google Patents

Water source detection data chaining method and device of Internet of things by combining block chains Download PDF

Info

Publication number
CN110619023A
CN110619023A CN201910905732.8A CN201910905732A CN110619023A CN 110619023 A CN110619023 A CN 110619023A CN 201910905732 A CN201910905732 A CN 201910905732A CN 110619023 A CN110619023 A CN 110619023A
Authority
CN
China
Prior art keywords
water source
source detection
data
detection data
block chain
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
CN201910905732.8A
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 CN201910905732.8A priority Critical patent/CN110619023A/en
Publication of CN110619023A publication Critical patent/CN110619023A/en
Pending legal-status Critical Current

Links

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

Abstract

The invention discloses a water source detection data chaining method and device of an Internet of things combined with a block chain, belonging to the technical field of combination of the Internet of things and the block chain, and specifically comprising the following steps: the water source that block chain link point received water source detection server and sent detects the data, water source detection data is gathered by water source sensor, sends water source detection server through the thing networking, and water source detection data includes: microbiological, toxicological, chemical and radiological indicators; and carrying out identity verification on the water source detection server by the block link point, and if the identity verification is passed, carrying out cochain on the water source detection data by the block link point. According to the invention, the water source detection 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 linking of the water source detection data of the Internet of things is realized, and a user can conveniently inquire the water source detection data.

Description

Water source detection data chaining method and device of Internet of things by combining block chains
Technical Field
The invention relates to the technical crossing field of the Internet of things and block chain information, in particular to a water source detection data uplink method and device of the Internet of things by combining a 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 water source detection becomes a matter which is more and more emphasized in the development of the modern society, for example, the water source safety of rivers or river channels or the safety of drinking water in life affects the healthy development of the society.
The block chain is a development direction of future technologies, how to combine the block chain technology with the internet of things, and how to link the water source detection data after combining the block chain technology with the internet of things, so that the user experience is improved, and the block chain becomes a challenge of the future technologies.
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 water source detection data of the Internet of things.
In order to achieve the above object, in a first aspect, the present invention provides a water source detection data uplink method for an internet of things in combination with a block chain, including the following steps:
the water source that block chain link point received water source detection server and sent detects the data, water source detection data is gathered by water source sensor, sends water source detection server through the thing networking, and water source detection data includes: microbiological, toxicological, chemical and radiological indicators;
and carrying out identity verification on the water source detection server by the block link point, and if the identity verification is passed, carrying out cochain on the water source detection data by the block link point.
Specifically, the identity verification is to verify the water source detection data sent by the water source detection server through a public key of the water source detection server; the water source detection data is data signed by a private key of the water source detection server.
Optionally, the water source sensor is placed within the water source to be detected. The water source sensor may include: a microorganism detector, a toxic substance detector, a chemical ion detector, a radioactive substance detector, and the like, wherein the microorganism detector, the toxic substance detector, the chemical ion detector, and the radioactive substance detector detect a microorganism index, a toxicological index, a chemical index, and a radioactive index, respectively.
Optionally, the water source detection server receives detected water source data sent by each water source sensor through the internet of things.
Furthermore, each water source sensor can directly send detected water source detection data to the block chain nodes through the Internet of things. It can be understood that the connection mode of the water source detection server and the block chain nodes is more stable than that of the water source sensors and the block chain nodes. Therefore, a mode of sending the water source detection data to the blockchain node through the water source detection server can be taken as a preferable scheme.
Specifically, the block link point carries out link up after the water source detection data is subjected to the common identification of a practical Byzantine fault-tolerant algorithm PBFT.
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 nodes receive the water source detection data, a transaction including hash of the water source detection 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 its own block chain based on a consensus mechanism, and thus, multi-party evidence storage of the water source detection data is realized. When the transaction only includes the hash of the water source detection data, the hash of the water source detection data is issued to the blockchain, so that if the water source detection data is tampered, the hash of the tampered water source detection data is inconsistent with the issued hash in the blockchain, and therefore, issuing the water source detection data to the blockchain is equivalent to multi-party evidence storage of the water source detection data. It should also be noted that when the transaction only includes a hash of the water source detection data, the blockchain credentialing platform typically stores the water source detection data in a separate data repository (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.
In one possible embodiment, the block link point uplink the water source detection data, which includes the following steps:
if the data volume of the water source detection data is larger than the storage threshold value of one block, dividing the water source detection data into a plurality of fragment data smaller than the storage threshold value by a block link point;
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 water source detection data, which includes the following steps:
if the data volume of the water source detection data is larger than the storage threshold value of one block, dividing the water source detection data into a plurality of fragment data smaller than the storage threshold value by a block link point;
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 water source detection server determines that the data size of the water source detection data to be sent is too large and is greater than the set data capacity threshold, the hash value of the water source detection data may be calculated, and the hash value is sent to the blockchain node for uplink.
When a user inquires the water source detection data, whether the water source detection data stored on the water source detection 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 water source detection data, whether the water source detection data is tampered or not is judged, and storage and authenticity supervision of the water source detection data based on the water source detection server and the block chain are achieved.
In one possible embodiment, the water source detection data is structured data, each attribute of the water source detection data is linked, and the attributes of the water source detection data include: water source geographical location and detection time.
In one possible embodiment, the method further comprises the steps of:
the block link point receives digital currency mortgaged by a water source detection server and allocates corresponding resources for the water source detection server, wherein the resources are used for uplink of water source detection data sent by the water source detection server; the resources include: network resources, CPU resources, and memory resources.
Specifically, in the above scheme, the uplink mode of the water source detection data is to obtain the block chain resource used by uplink of the water source detection data by mortgage of a certain digital currency, and pay the uplink fee of the water source detection 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 water source detection data is sent to the block chain nodes in a mortgage mode, the uplink fee is not sent independently during each uplink, but the block chain resources are consumed, and the uplink fee of the water source detection data at the block chain nodes can be paid only by obtaining the block chain resources through the mortgage.
Optionally, in the above scheme, the uplink mode of the water source detection data may be replaced by: the water source detection server sends water source detection data to the block chain node in a transfer mode so that the block chain node executes a chain loading process, wherein transfer information sent by the water source detection server comprises: from address, to address, water source detection data, commission fees. Specifically, the from address is an address of the water source detection server, the to address is an address of the blockchain node, and the commission is a cost of resources occupied by uplink of the water source detection data which is paid.
Wherein the commission may be digital currency.
It can be understood that, after the block link node passes the authentication of the water source detection server, it needs to perform resource fee check before uplink on the water source detection data. The resource fee means: the resource size required by the uplink of the received water source detection data, and the resource fee check refers to judging whether the resource purchased by the water source detection 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 a water source detection data uplink device of an internet of things in combination with a block chain, including:
detect data receiving module for receive the water source detection data that the water source detection server sent, the water source detection data is gathered by water source sensor, sends water source detection server through the thing networking, and water source detection data includes: microbiological, toxicological, chemical and radiological indicators;
and the detection data uplink module is used for carrying out identity verification on the water source detection server, and if the identity verification passes, the block chain link point carries out uplink after the water source detection data is subjected to consensus.
In a possible embodiment, if the data size of the water source detection data is greater than a storage threshold of one block, the detected data uplink module divides the water source detection data into a plurality of pieces of data smaller than the storage threshold; and respectively storing the plurality of fragment data into a plurality of blocks of the block chain node.
In a possible embodiment, if the data size of the water source detection data is greater than a storage threshold of one block, the detected data uplink module divides the water source detection data into a plurality of pieces of data smaller than the storage threshold; 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 water source detection data is structured data, each attribute of the water source detection data is linked, and the attributes of the water source detection data include: water source geographical location and detection time.
In one possible embodiment, the apparatus further comprises:
the resource allocation module is used for receiving digital currency mortgaged by a water source detection server and allocating corresponding resources for the water source detection server, wherein the resources are used for uplink of water source detection data sent by the water source detection 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 detecting uplink of water source data in conjunction with a block chain internet of things according to 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 water source detection data chaining method and device of an Internet of things combined with a block chain.
The invention provides a water source detection data uplink method and device of an Internet of things combined with a block chain.
The invention provides a water source detection data chaining method and device of the Internet of things in combination with a block chain, which realize the fragmented storage of water source detection data occupying larger resources by utilizing the distributed storage characteristics of the block chain nodes. When the fragmented storage of the water source detection 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 water source detection data is realized at different block chain nodes, the fragmented data can be stored at the same time, and the uplink speed of the water source detection data is accelerated.
The invention provides a water source detection data chaining method and device of an Internet of things in combination with a block chain.
The invention provides a water source detection data chaining method and device of the Internet of things in combination with a block chain.
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 water source detection data uplink method of the internet of things in conjunction with a block chain according to the present invention;
fig. 2 is an architecture diagram of a water source detection data uplink device of the internet of things in combination with 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 water source detection data uplink method of the internet of things in conjunction with a block chain according to the present invention; as shown in fig. 1, the method comprises the following steps:
s11, the block chain link point receives the water source detection data sent by the water source detection server, the water source detection data is collected by the water source sensor and sent to the water source detection server through the Internet of things, and the water source detection data comprises: microbiological, toxicological, chemical and radiological indicators;
and S12, carrying out identity verification on the water source detection server by the block chain node, and if the identity verification passes, carrying out cochain on the water source detection data by the block chain node.
Specifically, the identity verification is to verify the water source detection data sent by the water source detection server through a public key of the water source detection server; the water source detection data is data signed by a private key of the water source detection server.
Alternatively, the water source sensor may include: a microorganism detector, a toxic substance detector, a chemical ion detector, a radioactive substance detector, and the like, wherein the microorganism detector, the toxic substance detector, the chemical ion detector, and the radioactive substance detector detect a microorganism index, a toxicological index, a chemical index, and a radioactive index, respectively.
Optionally, the water source detection server receives detected water source data sent by each water source sensor through the internet of things.
Furthermore, each water source sensor can directly send detected water source detection data to the block chain nodes through the Internet of things. It can be understood that the connection mode of the water source detection server and the block chain nodes is more stable than that of the water source sensors and the block chain nodes. Therefore, a mode of sending the water source detection data to the blockchain node through the water source detection server can be taken as a preferable scheme.
Specifically, the block link point carries out link up after the water source detection data is subjected to the common identification of a practical Byzantine fault-tolerant algorithm PBFT.
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 nodes receive the water source detection data, a transaction including hash of the water source detection 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 its own block chain based on a consensus mechanism, and thus, multi-party evidence storage of the water source detection data is realized. When the transaction only includes the hash of the water source detection data, the hash of the water source detection data is issued to the blockchain, so that if the water source detection data is tampered, the hash of the tampered water source detection data is inconsistent with the issued hash in the blockchain, and therefore, issuing the water source detection data to the blockchain is equivalent to multi-party evidence storage of the water source detection data. It should also be noted that when the transaction only includes a hash of the water source detection data, the blockchain credentialing platform typically stores the water source detection data in a separate data repository (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.
In one possible embodiment, the block link point uplink the water source detection data, which includes the following steps:
if the data volume of the water source detection data is larger than the storage threshold value of one block, dividing the water source detection data into a plurality of fragment data smaller than the storage threshold value by a block link point;
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 water source detection data, which includes the following steps:
if the data volume of the water source detection data is larger than the storage threshold value of one block, dividing the water source detection data into a plurality of fragment data smaller than the storage threshold value by a block link point;
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 water source detection server determines that the data size of the water source detection data to be sent is too large and is greater than the set data capacity threshold, the hash value of the water source detection data may be calculated, and the hash value is sent to the blockchain node for uplink.
When a user inquires the water source detection data, whether the water source detection data stored on the water source detection 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 water source detection data, whether the water source detection data is tampered or not is judged, and storage and authenticity supervision of the water source detection data based on the water source detection server and the block chain are achieved.
In one possible embodiment, the water source detection data is structured data, each attribute of the water source detection data is linked, and the attributes of the water source detection data include: water source geographical location and detection time.
In one possible embodiment, the method further comprises the steps of:
the block link point receives digital currency mortgaged by a water source detection server and allocates corresponding resources for the water source detection server, wherein the resources are used for uplink of water source detection data sent by the water source detection server; the resources include: network resources, CPU resources, and memory resources.
Specifically, in the above scheme, the uplink mode of the water source detection data is to obtain the block chain resource used by uplink of the water source detection data by mortgage of a certain digital currency, and pay the uplink fee of the water source detection 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 water source detection data is sent to the block chain nodes in a mortgage mode, the uplink fee is not sent independently during each uplink, but the block chain resources are consumed, and the uplink fee of the water source detection data at the block chain nodes can be paid only by obtaining the block chain resources through the mortgage.
Optionally, in the above scheme, the uplink mode of the water source detection data may be replaced by: the water source detection server sends water source detection data to the block chain node in a transfer mode so that the block chain node executes a chain loading process, wherein transfer information sent by the water source detection server comprises: from address, to address, water source detection data, commission fees. Specifically, the from address is an address of the water source detection server, the to address is an address of the blockchain node, and the commission is a cost of resources occupied by uplink of the water source detection data which is paid.
Wherein the commission may be digital currency.
It can be understood that, after the block link node passes the authentication of the water source detection server, it needs to perform resource fee check before uplink on the water source detection data. The resource fee means: the resource size required by the uplink of the received water source detection data, and the resource fee check refers to judging whether the resource purchased by the water source detection 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 a water source detection data uplink device of the internet of things combined with a block chain according to the present invention, as shown in fig. 2, the device includes: a detected data receiving module 210, a detected data uplink module 220, and a resource allocation module 230.
Detect data receiving module 210 for receive the water source detection data that the water source detection server sent, the water source detection data is gathered by water source sensor, sends water source detection server through the thing networking, and water source detection data includes: microbiological, toxicological, chemical and radiological indicators;
and a data uplink detection module 220, configured to perform identity verification on the water source detection server, and if the identity verification passes, uplink is performed after the block link point performs consensus on the water source detection data.
In one possible embodiment, if the data size of the water source detection data is greater than the storage threshold of one block, the detected data uplink module 220 divides the water source detection data into a plurality of pieces of data smaller than the storage threshold; and respectively storing the plurality of fragment data into a plurality of blocks of the block chain node.
In one possible embodiment, if the data size of the water source detection data is greater than the storage threshold of one block, the detected data uplink module 220 divides the water source detection data into a plurality of pieces of data smaller than the storage threshold; 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 water source detection data is structured data, each attribute of the water source detection data is linked, and the attributes of the water source detection data include: water source geographical location and detection time.
In one possible embodiment, the resource allocation module 230 is configured to receive digital currency mortgage by a water source detection server, and allocate corresponding resources to the water source detection server, where the resources are used for uplink of water source detection data sent by the water source detection server; the resources include: network resources, CPU resources, and memory resources.
The processing procedure related to each module 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 water source detection data uplink method of an Internet of things combined with a block chain is characterized by comprising the following steps:
the water source that block chain link point received water source detection server and sent detects the data, water source detection data is gathered by water source sensor, sends water source detection server through the thing networking, and water source detection data includes: microbiological, toxicological, chemical and radiological indicators;
and carrying out identity verification on the water source detection server by the block link point, and if the identity verification is passed, carrying out cochain on the water source detection data by the block link point.
2. The method of claim 1, wherein the block link point uplinks the water source detection data, comprising:
if the data volume of the water source detection data is larger than the storage threshold value of one block, dividing the water source detection data into a plurality of fragment data smaller than the storage threshold value by a block link point;
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 water source detection data, comprising:
if the data volume of the water source detection data is larger than the storage threshold value of one block, dividing the water source detection data into a plurality of fragment data smaller than the storage threshold value by a block link point;
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 water source detection data is structured data, wherein each attribute of the water source detection data is linked, and wherein the attributes of the water source detection data comprise: water source geographical location and detection time.
5. The method of claim 1, further comprising the steps of:
the block link point receives digital currency mortgaged by a water source detection server and allocates corresponding resources for the water source detection server, wherein the resources are used for uplink of water source detection data sent by the water source detection server; the resources include: network resources, CPU resources, and memory resources.
6. The utility model provides a water source of thing networking that combines block chain detects data cochain device which characterized in that includes:
detect data receiving module for receive the water source detection data that the water source detection server sent, the water source detection data is gathered by water source sensor, sends water source detection server through the thing networking, and water source detection data includes: microbiological, toxicological, chemical and radiological indicators;
and the detection data uplink module is used for carrying out identity verification on the water source detection server, and if the identity verification passes, the block chain link point carries out uplink after the water source detection data is subjected to consensus.
7. The apparatus of claim 6, wherein if the amount of the water source detection data is greater than a storage threshold of one block, the detected data uplink module divides the water source detection data into a plurality of pieces of data smaller than the storage threshold; and respectively storing the plurality of fragment data into a plurality of blocks of the block chain node.
8. The apparatus of claim 6, wherein if the amount of the water source detection data is greater than a storage threshold of one block, the detected data uplink module divides the water source detection data into a plurality of pieces of data smaller than the storage threshold; 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 apparatus of claim 6, further comprising:
the resource allocation module is used for receiving digital currency mortgaged by a water source detection server and allocating corresponding resources for the water source detection server, wherein the resources are used for uplink of water source detection data sent by the water source detection 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 detecting uplink of water source detection data of the internet of things in connection with a blockchain according to any one of claims 1 to 5.
CN201910905732.8A 2019-09-24 2019-09-24 Water source detection data chaining method and device of Internet of things by combining block chains Pending CN110619023A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910905732.8A CN110619023A (en) 2019-09-24 2019-09-24 Water source detection data chaining method and device of Internet of things by combining block chains

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910905732.8A CN110619023A (en) 2019-09-24 2019-09-24 Water source detection data chaining method and device of Internet of things by combining block chains

Publications (1)

Publication Number Publication Date
CN110619023A true CN110619023A (en) 2019-12-27

Family

ID=68924175

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910905732.8A Pending CN110619023A (en) 2019-09-24 2019-09-24 Water source detection data chaining method and device of Internet of things by combining block chains

Country Status (1)

Country Link
CN (1) CN110619023A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111427965A (en) * 2020-06-10 2020-07-17 浙江和达科技股份有限公司 Management method and management system for water affair data
CN114398684A (en) * 2022-03-25 2022-04-26 腾讯科技(深圳)有限公司 Block chain-based information processing method and device, storage medium and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111427965A (en) * 2020-06-10 2020-07-17 浙江和达科技股份有限公司 Management method and management system for water affair data
CN114398684A (en) * 2022-03-25 2022-04-26 腾讯科技(深圳)有限公司 Block chain-based information processing method and device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN110554616B (en) Intelligent home data chaining method and system of Internet of things on block chain
CN108694330B (en) Internet of things data management method, platform and equipment
CN105809062A (en) Contract construction and execution methods and apparatuses
CN109472678B (en) Accounting book management method based on block chain, electronic device and readable storage medium
CN110648534A (en) Traffic data chaining method and device of Internet of things based on block chain
CN110660466A (en) Personal health data chaining method and system of Internet of things by combining block chains
CN111383021A (en) Node management method, device, equipment and medium based on block chain network
CN113256297B (en) Data processing method, device and equipment based on block chain and readable storage medium
CN110620777A (en) Smoke monitoring data uplink method and system of Internet of things on block chain
CN111292174A (en) Tax payment information processing method and device and computer readable storage medium
CN115456773B (en) Payment control method, device, equipment and medium based on blockchain
CN113111359A (en) Big data resource sharing method and resource sharing system based on information security
CN105991596A (en) Access control method and system
CN114117264A (en) Illegal website identification method, device, equipment and storage medium based on block chain
CN110619023A (en) Water source detection data chaining method and device of Internet of things by combining block chains
CN113518005A (en) Block consensus method, device, equipment and storage medium
CN110633326A (en) Method and system for uplink of weather data of Internet of things on block chain
CN112995167B (en) Kafka mechanism-based electricity consumption information acquisition method, blockchain network and user terminal
CN111680282B (en) Node management method, device, equipment and medium based on block chain network
CN111260421B (en) Electronic invoice management and control method and device based on block chain
CN112256799A (en) Data processing method and device based on block chain, server and storage medium
CN110858211B (en) Data storage method, device and system and storage medium
CN110674219A (en) Block chain based ambient air detection data chaining method and equipment for Internet of things
CN110647769A (en) Indoor air detection data chaining method and equipment of Internet of things by combining block chains
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: 20191227