CN112134932A - Block chain technology-based distributed Internet of things implementation method - Google Patents
Block chain technology-based distributed Internet of things implementation method Download PDFInfo
- Publication number
- CN112134932A CN112134932A CN202010921633.1A CN202010921633A CN112134932A CN 112134932 A CN112134932 A CN 112134932A CN 202010921633 A CN202010921633 A CN 202010921633A CN 112134932 A CN112134932 A CN 112134932A
- Authority
- CN
- China
- Prior art keywords
- things
- internet
- nodes
- block chain
- node
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16Y—INFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
- G16Y30/00—IoT infrastructure
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/54—Presence management, e.g. monitoring or registration for receipt of user log-on information, or the connection status of the users
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Medical Informatics (AREA)
- General Health & Medical Sciences (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention discloses a method for realizing a distributed Internet of things based on a block chain technology, which comprises the following steps: s1, collecting the states of all nodes of the Internet of things, and placing a state system on a block chain; s2, sending a specific command to all or a specific Internet of things node; and S3, carrying out life cycle management on all nodes of the Internet of things. The method has good self-adaptation to the addition of new nodes of the Internet of things and the failure exit of part of the nodes of the Internet of things, does not need manual intervention, and does not influence other nodes of the Internet of things to operate according to the design; the node of the Internet of things can be dynamically accessed into or separated from the Internet of things, the blockchain network connected with the node of the Internet of things can automatically collect the state of the node of the Internet of things, automatically initialize and configure the node of the Internet of things when the node is accessed, and when the node is separated from the Internet of things, the blockchain network can correspondingly and automatically update the state of the Internet of things.
Description
Technical Field
The invention relates to the technical field of a block chain technology and an internet of things, in particular to a method for realizing a distributed internet of things based on the block chain technology.
Background
A Blockchain (Blockchain) is a novel application mode that uses a plurality of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, and an encryption algorithm. The blockchain is originated from the Chinese smart bitcoin, and is used as the bottom technology of the bitcoin, which is essentially a decentralized database, or essentially a technical scheme for collectively maintaining a reliable database in a decentralized and distrust manner. The block chain technology is a technical scheme which is independent of a third party and completely performs storage, verification, transmission and communication of network data through self distributed nodes.
The internet of things (IoT) is to collect any object or process needing monitoring, connection and interaction in real time and collect various required information such as sound, light, heat, electricity, mechanics, chemistry, biology and location through various devices and technologies such as various information sensors, radio frequency identification technologies, global positioning systems, infrared sensors and laser scanners, and realize ubiquitous connection between objects and between objects and people through various possible network accesses, so as to realize intelligent sensing, identification and management of objects and processes. The internet of things is an information bearer based on the internet, a traditional telecommunication network and the like, and all common physical objects which can be independently addressed form an interconnected network.
The development of blockchains and the internet of things has a history of about 10 years. Each of these two technologies has its own suitable business scenario. For blockchains, the blockchains have been used in many mature applications in the fields of finance, supply chain, education industry, and cultural entertainment. The internet of things has wide application in the fields of disaster prevention and reduction, resource control and management, novel energy development and management, food safety and public health, intelligent medical treatment and health care, ecological environmental protection, energy conservation and emission reduction, novel agricultural technology application and management, urban intelligent management, modern logistics, national defense industry and the like.
The internet of things is changing our lives. No matter the car networking, intelligent home network, 5G and the like, the system gradually permeates into the society. However, with the development of the technology of the internet of things, the security problem of the internet of things is increasingly serious. Except for professional field internet of things devices, common internet of things devices are usually default networking, and the codes of the common internet of things devices are generally open sources. Meanwhile, most of internet of things equipment cannot be provided with safety software because of insufficient storage space. These features are all used by hackers, making internet of things attacks a normal state. In addition, the internet of things has high requirements on the fault tolerance and stability of hardware equipment accessed to the network. If a few devices are abnormal, the operation of the network area and even the whole network is affected. The distributed accounting of the blockchain and the characteristic that uplink data cannot be tampered can be utilized to improve a firm safety barrier for the Internet of things. The decentralization and high fault tolerance of the block chain network can also supplement short boards of the Internet of things with high requirements on hardware equipment.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a method for realizing a distributed Internet of things based on a block chain technology.
In order to solve the technical problems, the invention provides the following technical scheme:
the invention relates to a method for realizing a distributed Internet of things based on a block chain technology, which comprises the following steps:
s1, collecting the states of all nodes of the Internet of things, putting a state system on a block chain, namely a log of the Internet of things, wherein the state collection is carried out by intelligent contract processing algorithm logic on the block chain, and an intelligent contract which sends the states of the nodes of the Internet of things to the block chain is responsible for the connected nodes of the Internet of things;
s2, sending a specific command to all or specific Internet of things nodes, wherein the command initiating party can be manually triggered by an Internet of things technology manager or automatically sent by nodes designated by the Internet of things; the command is received by an intelligent contract on the block chain, then a preset algorithm logic is automatically processed, and then the command is executed by the monitored Internet of things node under the condition of need;
s3, life cycle management is carried out on all nodes of the Internet of things, and a management command can be triggered by events such as the fact that a new node is connected into or separated from the Internet of things, or automatically triggered by cloud predetermined algorithm software, or manually triggered by technical managers of the Internet of things; the algorithmic logic is encapsulated in an intelligent contract on the blockchain and executed by the listening internet-of-things nodes if needed.
Compared with the prior art, the invention has the following beneficial effects:
the method has good self-adaptation to the addition of new nodes of the Internet of things and the failure exit of part of the nodes of the Internet of things, does not need manual intervention, and does not influence other nodes of the Internet of things to operate according to the design; the node of the Internet of things can be dynamically accessed into or separated from the Internet of things, the blockchain network connected with the node of the Internet of things can automatically collect the state of the node of the Internet of things, automatically initialize and configure the node of the Internet of things when the node is accessed, and when the node is separated from the Internet of things, the blockchain network can correspondingly and automatically update the state of the Internet of things.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
fig. 1 is an architectural diagram of the present invention.
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation.
Example 1
As shown in fig. 1, the invention provides a method for implementing a distributed internet of things based on a block chain technology, which includes the following steps:
s1, collecting the states of all nodes of the Internet of things, putting a state system on a block chain, namely a log of the Internet of things, wherein the state collection is carried out by intelligent contract processing algorithm logic on the block chain, and an intelligent contract which sends the states of the nodes of the Internet of things to the block chain is responsible for the connected nodes of the Internet of things;
s2, sending a specific command to all or specific Internet of things nodes, wherein the command initiating party can be manually triggered by an Internet of things technology manager or automatically sent by nodes designated by the Internet of things; the command is received by an intelligent contract on the block chain, then a preset algorithm logic is automatically processed, and then the command is executed by the monitored Internet of things node under the condition of need;
s3, life cycle management is carried out on all nodes of the Internet of things, and a management command can be triggered by events such as the fact that a new node is connected into or separated from the Internet of things, or automatically triggered by cloud predetermined algorithm software, or manually triggered by technical managers of the Internet of things; the algorithmic logic is encapsulated in an intelligent contract on the blockchain and executed by the listening internet-of-things nodes if needed.
Specifically, distributed processing is performed on log services of the internet of things, namely, each cloud log server is set as a block chain node, each internet of things node accessing the internet of things needs to be communicated with one cloud log server, and each cloud log server is connected with a plurality of internet of things nodes (see fig. 1); in the prior art, a centralized server is only used for managing intelligent hardware accessed to the internet of things, and the functions comprise log, inter-hardware communication, command execution and the like. This solution connects each such server into a decentralized network, transforming these centralized servers into decentralized block-link points. Thus, server management of the internet of things can utilize the blockchain technology to bring various benefits, and three main benefits listed in the original document are brought by the blockchain internet of things server.
The explanation for the "specific command" in the step S2 is as follows:
because the management server of the Internet of things is connected into the block chain, the intelligent contract virtual machine on the block chain can be used as a basic channel and an execution medium of the management command of the Internet of things. Example of automatic triggering: under the condition that the air quality of a certain city is poor, an air quality sensor accessed to the Internet of things detects that the PM index is larger than 100, and an Internet of things server accessed by the sensor can send a command for starting the air purifier deployed in the city according to a preset command triggering mechanism. After receiving the command, the intelligent contract virtual machine executes the command, so that all air purifiers in the city, which are connected to the same Internet of things and located at the geographic position, are started.
The command initiation and execution in step S2 are implemented based on the basic framework of the intelligent contract for blockchains. This eliminates the need for the construction and maintenance of all management software necessary for a centralized system and takes full advantage of the real-time and reliability of blockchain intelligent contract technology.
The "smart contract" and the "automatic processing predetermined algorithm logic" in the step S2 are explained as follows:
the intelligent contract is a basic technology inside the blockchain 2.0. Prior art is disclosed herein. The 'automatic processing predetermined algorithm logic' in the intelligent contract is a basic function supported by the block chain intelligent contract. Different chains have different computer languages and execution flows supported by intelligent contracts, but they all support well-packaged complex algorithms, logic, and flows. Just like a conventional computer software system. The only difference is the program executing on the intelligent contract, which is performed simultaneously on all nodes of the full network. The execution result faces the whole network range. Are the basic features of the blockchain intelligent contract.
The description of "the internet of things node which is listened to in case of need" in the step of S3 is as follows:
the step belongs to a function of a block chain intelligent contract, and the intelligent contract can monitor events on a block chain and perform corresponding processing according to codes. As an example, if a node of a blockchain goes offline (shutdown, fire, etc.) for a particular reason, this event is monitored by the blockchain's smart contract, which can immediately move the offline node out of the blockchain node directory and notify the relevant user of the offline event. The specific what events need to be monitored and what operations to do after the events occur are defined by the code in the intelligent contract.
Compared with the prior art, the invention has the following beneficial effects:
the method has good self-adaptation to the addition of new nodes of the Internet of things and the failure exit of part of the nodes of the Internet of things, does not need manual intervention, and does not influence other nodes of the Internet of things to operate according to the design; the node of the Internet of things can be dynamically accessed into or separated from the Internet of things, the blockchain network connected with the node of the Internet of things can automatically collect the state of the node of the Internet of things, automatically initialize and configure the node of the Internet of things when the node is accessed, and when the node is separated from the Internet of things, the blockchain network can correspondingly and automatically update the state of the Internet of things.
Finally, it should be noted that: although the present invention has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that changes may be made in the embodiments and/or equivalents thereof without departing from the spirit and scope of the invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (1)
1. A method for realizing a distributed Internet of things based on a block chain technology is characterized by comprising the following steps:
s1, collecting the states of all nodes of the Internet of things, putting a state system on a block chain, namely a log of the Internet of things, wherein the state collection is carried out by intelligent contract processing algorithm logic on the block chain, and an intelligent contract which sends the states of the nodes of the Internet of things to the block chain is responsible for the connected nodes of the Internet of things;
s2, sending a specific command to all or specific Internet of things nodes, wherein the command initiating party can be manually triggered by an Internet of things technology manager or automatically sent by nodes designated by the Internet of things; the command is received by an intelligent contract on the block chain, then a preset algorithm logic is automatically processed, and then the command is executed by the monitored Internet of things node under the condition of need;
s3, life cycle management is carried out on all nodes of the Internet of things, and a management command can be triggered by events such as the fact that a new node is connected into or separated from the Internet of things, or automatically triggered by cloud predetermined algorithm software, or manually triggered by technical managers of the Internet of things; the algorithmic logic is encapsulated in an intelligent contract on the blockchain and executed by the listening internet-of-things nodes if needed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010921633.1A CN112134932A (en) | 2020-09-04 | 2020-09-04 | Block chain technology-based distributed Internet of things implementation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010921633.1A CN112134932A (en) | 2020-09-04 | 2020-09-04 | Block chain technology-based distributed Internet of things implementation method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112134932A true CN112134932A (en) | 2020-12-25 |
Family
ID=73847302
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010921633.1A Pending CN112134932A (en) | 2020-09-04 | 2020-09-04 | Block chain technology-based distributed Internet of things implementation method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112134932A (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107819848A (en) * | 2017-11-08 | 2018-03-20 | 济南浪潮高新科技投资发展有限公司 | A kind of internet of things equipment autonomy interconnected method based on block chain |
CN108632293A (en) * | 2018-05-16 | 2018-10-09 | 山东建筑大学 | Architectural Equipment Internet of things system based on block chain technology and method |
CN108665261A (en) * | 2018-04-20 | 2018-10-16 | 杭州环普数据技术有限公司 | A kind of Internet of Things data transaction system of decentralization |
CN109005220A (en) * | 2018-07-17 | 2018-12-14 | 中国联合网络通信集团有限公司 | The service implementation method and access gateway of internet of things of internet-of-things terminal |
CN111355780A (en) * | 2020-02-18 | 2020-06-30 | 杭州云象网络技术有限公司 | Block chain-based Internet of things monitoring management method and system |
CN111371739A (en) * | 2020-02-14 | 2020-07-03 | 重庆邮电大学 | Internet of things data access control method based on block chain technology |
CN111427953A (en) * | 2020-03-20 | 2020-07-17 | 符安文 | Game intelligent contract operation method |
US10733616B1 (en) * | 2016-10-20 | 2020-08-04 | Massachusets Mutual Life Insurance Company | Systems and methods for trigger based synchronized updates in a distributed records environment |
US20210019849A1 (en) * | 2018-03-30 | 2021-01-21 | Shanghai Fenfu Information Technology Co., Ltd. | Method for External Data-Based Constructing Various Triggering Mechanisms to Execute Smart Contract in Blockchain Network and System Thereof |
-
2020
- 2020-09-04 CN CN202010921633.1A patent/CN112134932A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10733616B1 (en) * | 2016-10-20 | 2020-08-04 | Massachusets Mutual Life Insurance Company | Systems and methods for trigger based synchronized updates in a distributed records environment |
CN107819848A (en) * | 2017-11-08 | 2018-03-20 | 济南浪潮高新科技投资发展有限公司 | A kind of internet of things equipment autonomy interconnected method based on block chain |
US20210019849A1 (en) * | 2018-03-30 | 2021-01-21 | Shanghai Fenfu Information Technology Co., Ltd. | Method for External Data-Based Constructing Various Triggering Mechanisms to Execute Smart Contract in Blockchain Network and System Thereof |
CN108665261A (en) * | 2018-04-20 | 2018-10-16 | 杭州环普数据技术有限公司 | A kind of Internet of Things data transaction system of decentralization |
CN108632293A (en) * | 2018-05-16 | 2018-10-09 | 山东建筑大学 | Architectural Equipment Internet of things system based on block chain technology and method |
CN109005220A (en) * | 2018-07-17 | 2018-12-14 | 中国联合网络通信集团有限公司 | The service implementation method and access gateway of internet of things of internet-of-things terminal |
CN111371739A (en) * | 2020-02-14 | 2020-07-03 | 重庆邮电大学 | Internet of things data access control method based on block chain technology |
CN111355780A (en) * | 2020-02-18 | 2020-06-30 | 杭州云象网络技术有限公司 | Block chain-based Internet of things monitoring management method and system |
CN111427953A (en) * | 2020-03-20 | 2020-07-17 | 符安文 | Game intelligent contract operation method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10097572B1 (en) | Security for network computing environment based on power consumption of network devices | |
JP2017510919A (en) | Distributed processing system | |
CN110224865A (en) | A kind of log warning system based on Stream Processing | |
CN103944814B (en) | A kind of method for interchanging data and system and a kind of gateway server | |
CN106993043B (en) | Data communication system and method based on agency | |
CN112512028B (en) | Intelligent product replacement system and method based on Bluetooth Mesh network | |
CN103916397A (en) | Safety monitoring method under distributed network environment | |
CN100539499C (en) | A kind of safe star-shape local network computer system | |
JP5542772B2 (en) | Building equipment management system connection system, building equipment management system connection method, and building equipment management system connection program | |
CN112468592A (en) | Terminal online state detection method and system based on electric power information acquisition | |
Hong et al. | Smart home security monitor system | |
US20150256962A1 (en) | M2m gateway device and applying method thereof | |
CN112256498A (en) | Fault processing method and device | |
CN116166499A (en) | Data monitoring method and device, electronic equipment and nonvolatile storage medium | |
CN116132519A (en) | Device management method, device and readable storage medium | |
CN114584429A (en) | Industrial intelligent internet of things gateway | |
CN115037600A (en) | Low-power-consumption Internet of things platform supporting long connection, equipment and management method thereof | |
CN102890486A (en) | Center boiler remote monitoring system and control method thereof | |
CN114070871A (en) | Safety protection networking alarm device | |
CN105678978A (en) | Alarm control system | |
CN113542031A (en) | Intelligent networking method based on automatic fire alarm system | |
CN101175315B (en) | Method and system for updating control mobile station | |
CN112134932A (en) | Block chain technology-based distributed Internet of things implementation method | |
CN115834634B (en) | Intelligent building networking equipment oriented management method and system | |
CN109120647A (en) | A kind of security exchange system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |