Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A method and system for fault monitoring of Internet of Things equipment based on block chain

A technology for IoT equipment and fault monitoring, applied in the transmission system, electrical components, etc., can solve the problems of increasing the burden of network communication, failure to select a new master node, complicated and lengthy node election process, etc., to reduce the number of requests sent, Facilitate review analysis and improve communication utilization

Active Publication Date: 2022-04-22
中机联科技(广东)有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] This fault-tolerant method requires the master node to regularly send requests to the slave nodes to confirm the working status of the slave nodes. Whether the failure of the slave nodes can be detected in time is extremely dependent on the request interval of the master node. If the request is too frequent, it will increase the burden of network communication. If the request If the interval is too long, the failure of the slave node cannot be detected in time
In addition, if the master node fails, the election process of the slave node is complicated and lengthy, and there may even be an extreme situation where a new master node cannot be elected

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method and system for fault monitoring of Internet of Things equipment based on block chain
  • A method and system for fault monitoring of Internet of Things equipment based on block chain
  • A method and system for fault monitoring of Internet of Things equipment based on block chain

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0052] figure 1 It is a schematic diagram of the Internet of Things architecture disclosed in this embodiment. It should be noted that, figure 1 Only the Internet of Things architecture diagram disclosed in some embodiments of the present invention, others are in figure 1 The schematic diagrams obtained by optimizing or deforming on the basis all belong to the protection scope of the present invention.

[0053] figure 1The Internet of Things architecture shown includes multiple nodes, n nodes are shown in the figure, these nodes can be interconnected through the network, the nodes can be represented as servers, intermediate devices, terminal devices, etc., each node can be its own network The rest of the nodes within the coverage area provide IoT data sending and receiving services.

[0054] refer to figure 2 , there are n nodes set in the Internet of Things architecture of this embodiment, and each node is initialized according to the following steps S111-S115:

[0055]...

Embodiment 2

[0090] On the basis of Embodiment 1, this embodiment provides another block chain-based IoT device fault monitoring method. If there is business interaction between the slave node and the master node within the message receiving cycle of the master node, the heartbeat will be reported to the master node. Document information and business information are sent together as business messages, and no additional heartbeat messages are sent, which reduces the amount of non-business type requests sent and improves communication utilization.

[0091] Receive cycle at master node When a slave node has a service message that needs to be sent to the master node, the communication process between the master node and the slave node also includes the following:

[0092] S211. The slave node sends a service packet to the master node.

[0093] S212. The master node verifies the validity of the service message, and updates the current service number of the slave node corresponding to the serv...

Embodiment 3

[0100] On the basis of Embodiment 1 and Embodiment 2, this embodiment uses one master node A and four slave nodes B, C, D, E to specifically illustrate the blockchain-based IoT device fault monitoring method of the present invention.

[0101] In the initialization phase of the network, five nodes A, B, C, D, and E conduct the primary node election, and the initialization is the same as steps S111-S115 in Embodiment 1, which will not be repeated here. In this embodiment, election node A is set as the master node, and B, C, D, and E are slave nodes.

[0102] refer to Image 6 , Image 6 It shows the message communication process between node A and nodes B, C, D, and E in a certain receiving cycle, which is executed as follows:

[0103] S301. Nodes B, C, D, and E send heartbeat messages to node A; within time T since node A receives the first heartbeat message, node A successfully receives the heartbeat messages of nodes B, C, and D.

[0104] S302. Node A verifies the validity...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

This application is a block chain-based IoT device fault monitoring method and system. The slave node actively sends a heartbeat message to the master node, and the master node calculates the new communication duration of the slave node according to the message sending time and message receiving time. , update the current communication duration of the slave node according to the newly added communication duration. When the communication duration of the slave node exceeds the set duration, it is considered to be faulty, so the master node can know the online status of the slave node in time, and when the slave node fails, it can timely Report information to the background; use the block to record the interactive data of each node, so that the fault record can be traced back, and it is convenient for the follow-up analysis of the fault.

Description

technical field [0001] The invention belongs to the technical field of fault monitoring of Internet of Things equipment, and in particular relates to a block chain-based method and system for monitoring faults of Internet of Things equipment. Background technique [0002] At present, the Internet of Things has been applied to all aspects of life, especially the distributed Internet of Things is becoming a new trend, and the "decentralized" and "point-to-point" grid structure makes the system more survivable when it is subjected to external attacks . The existing commonly used distributed fault tolerance method adopts the "master-slave" architecture, and a master node monitors the health status of other nodes, and when a node is found to be faulty, the master node will collect information and report to the system background; if the master node fails , and the remaining slave nodes need to conduct a new election process to elect a new master node. [0003] This fault-toleran...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L41/0631H04L43/10H04L67/12
CPCH04L41/0631H04L43/10H04L67/12
Inventor 黄寅凤黄桑尼程杰恒范小虎杨镇龙符锌砂许毓彬
Owner 中机联科技(广东)有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products