CN110691329B - Sensor node monitoring method and system - Google Patents

Sensor node monitoring method and system Download PDF

Info

Publication number
CN110691329B
CN110691329B CN201911066669.XA CN201911066669A CN110691329B CN 110691329 B CN110691329 B CN 110691329B CN 201911066669 A CN201911066669 A CN 201911066669A CN 110691329 B CN110691329 B CN 110691329B
Authority
CN
China
Prior art keywords
node
state
hash value
alarm
sensor 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.)
Active
Application number
CN201911066669.XA
Other languages
Chinese (zh)
Other versions
CN110691329A (en
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 WANGMING ELECTRONIC TECHNOLOGY Co.,Ltd.
Original Assignee
Beijing Wangming Electronic 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 Wangming Electronic Technology Co ltd filed Critical Beijing Wangming Electronic Technology Co ltd
Priority to CN201911066669.XA priority Critical patent/CN110691329B/en
Publication of CN110691329A publication Critical patent/CN110691329A/en
Application granted granted Critical
Publication of CN110691329B publication Critical patent/CN110691329B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/38Services specially adapted for particular environments, situations or purposes for collecting sensor information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Abstract

The invention belongs to the field of software, and provides a sensor node monitoring method and a system, wherein the method comprises the following steps: the cluster head node acquires OID identification prefixes reported by sensor nodes in the cluster, acquires various state parameters reported by the sensor nodes and positioning coordinates of the sensor nodes, stores the state parameters in a binary mode, and takes the state parameters as state information of the sensor nodes; the sink node receives the state information, and calculates a hash value corresponding to the state information through a hash function of MD4, MD5 or SHA 1; the sink node compares the calculated hash value with a hash value corresponding to the OID identifier prefix, wherein the hash value corresponding to the OID identifier prefix is as follows: hash values corresponding to state information when state parameters of other sensor nodes with the same OID identifier prefix are in a normal state; and if the sink node compares that the hash values are inconsistent, sending alarm information to a preset management node. The invention can meet the monitoring requirements of the sensor nodes in the same field.

Description

Sensor node monitoring method and system
Technical Field
The invention relates to the field of software, in particular to a sensor node monitoring method and system.
Background
A Wireless Sensor Network (WSN) is a distributed sensing network whose distal end is a Sensor that can sense and inspect the outside world. Sensor nodes in the WSN communicate wirelessly.
However, the existing sensor node monitoring method cannot distinguish sensor nodes in the same field, and even if facing the sensor nodes in the same field, the monitoring method also adopts the same parameters for monitoring, so that the monitoring is not targeted, and cannot send alarm messages to the sensor nodes in the same field, and cannot meet the monitoring requirements of the sensor nodes in the same field.
Disclosure of Invention
In view of the above disadvantages of the prior art, an object of the present invention is to provide a method and a system for monitoring a sensor node, which are used to solve the problem that the existing method for monitoring a sensor node cannot send an alarm message to sensor nodes in the same field, and cannot meet the monitoring requirements of sensor nodes in the same field.
In order to achieve the above and other related objects, the present invention provides a sensor node monitoring method, including:
a cluster head node acquires an Object Identifier (OID) identifier prefix reported by a sensor node in a cluster, acquires various state parameters reported by the sensor node and positioning coordinates of the sensor node, stores the state parameters in a binary form, takes the state parameters as state information of the sensor node, and uploads the OID identifier prefix reported by the sensor node, the state information of the sensor node and the positioning coordinates of the sensor node to a preset sink node;
the sink node receives the state information, and calculates a hash value corresponding to the state information through a hash function of MD4, MD5 or SHA 1;
the sink node compares the calculated hash value with a hash value corresponding to the OID identifier prefix, where the hash value corresponding to the OID identifier prefix is: hash values corresponding to state information when state parameters of other sensor nodes with the same OID identifier prefix are in a normal state;
and if the sink node compares that the hash value is inconsistent with the hash value corresponding to the OID identifier prefix, sending alarm information to a preset management node, wherein the alarm information carries an alarm identifier, the OID identifier prefix of the sensor node and the positioning coordinates of the sensor node.
Preferably, in the method, if the sink node compares that the hash value is inconsistent with the hash value corresponding to the OID identifier prefix, the sink node sends an alarm message to a preset management node, where the alarm message carries an alarm identifier, the OID identifier prefix of the sensor node, and the positioning coordinate of the sensor node, and specifically:
if the sink node compares that the hash value is inconsistent with the hash value corresponding to the OID identifier prefix, the sink node calls configuration information corresponding to the OID identifier prefix of the sensor node according to the OID identifier prefix of the sensor node and the corresponding relation between the prestored OID identifier prefix and the configuration information;
the sink node sends the configuration information to the sensor node through the cluster head node;
and if the sink node does not receive the message of successful configuration within the preset time, sending alarm information to a preset management node, wherein the alarm information carries an alarm identifier, the OID identifier prefix of the sensor node and the positioning coordinate of the sensor node.
Preferably, in the method, the sink node sends the configuration information to the sensor node through the cluster head node, and specifically, the method includes:
the aggregation node sends the configuration information to the cluster head node, and the cluster head node sends the configuration information to the sensor node after receiving the configuration information, so that the sensor node reconfigures each state parameter according to the configuration information.
Preferably, in the method, if the sink node compares that the hash value is inconsistent with the hash value corresponding to the OID identifier prefix, the sink node sends an alarm message to a preset management node, where the alarm message carries an alarm identifier, the OID identifier prefix of the sensor node, and the positioning coordinate of the sensor node, and specifically:
and if the sink node compares that the hash value is inconsistent with the hash value corresponding to the OID identifier prefix, adding an alarm identifier at the head of the alarm information, and after the addition is finished, sending alarm information to a preset management node, wherein the alarm information carries the alarm identifier, the OID identifier prefix and the positioning coordinates of the sensor node.
Preferably, in the method, if the sink node compares that the hash value is inconsistent with the hash value corresponding to the OID identifier prefix, an alarm identifier is added to a head of alarm information, and after the addition is completed, alarm information is sent to a preset management node, where the alarm information carries the alarm identifier, the OID identifier prefix, and the positioning coordinates of the sensor node, and the method specifically includes:
if the sink node compares that the hash value is inconsistent with the hash value corresponding to the OID identifier prefix, adding an alarm identifier at the head of the alarm information, and sending the alarm information to a preset management node by adopting a preset network mode, wherein the alarm information carries the alarm identifier, the OID identifier prefix and the positioning coordinates of the sensor node, and the preset network mode comprises a WIFI network mode, a 4G network mode and a 5G network mode.
The invention provides a sensor node monitoring system, which comprises a cluster head node and a sink node, wherein the cluster head node comprises an uploading module, the sink node comprises a calculating module, a comparing module and a sending module:
the uploading module is used for the cluster head node to acquire an Object Identifier (OID) identification prefix reported by a sensor node in the cluster, acquire each state parameter reported by the sensor node and a positioning coordinate of the sensor node, store the state parameters in a binary form, use each state parameter as the state information of the sensor node, and upload the OID identification prefix reported by the sensor node, the state information of the sensor node and the positioning coordinate of the sensor node to a preset sink node;
the computing module is configured to receive the state information and compute a hash value corresponding to the state information through a hash function of MD4, MD5, or SHA 1;
the comparison module is configured to compare the calculated hash value with a hash value corresponding to the OID identifier prefix by the aggregation node, where the hash value corresponding to the OID identifier prefix is: hash values corresponding to state information when state parameters of other sensor nodes with the same OID identifier prefix are in a normal state;
the sending module is configured to send alarm information to a preset management node if the sink node compares that the hash value is inconsistent with the hash value corresponding to the OID identifier prefix, where the alarm information carries an alarm identifier, the OID identifier prefix of the sensor node, and the positioning coordinates of the sensor node.
Preferably, in the system, the sending module specifically includes:
a calling unit, configured to, if the sink node compares that the hash value is inconsistent with the hash value corresponding to the OID identifier prefix, call, according to the OID identifier prefix of the sensor node, configuration information corresponding to the OID identifier prefix of the sensor node according to a correspondence between the prestored OID identifier prefix and the configuration information;
a first sending unit, configured to send, by the sink node, the configuration information to the sensor node through the cluster head node;
and a second sending unit, configured to send, by the sink node, alarm information to a preset management node within a preset time if a message of successful configuration is not received, where the alarm information carries an alarm identifier, an OID identifier prefix of the sensor node, and a location coordinate of the sensor node.
Preferably, in the system, the first sending unit includes:
a first sending subunit, configured to send, by the sink node, the configuration information to the cluster head node;
and the second sending subunit is configured to send the configuration information to the sensor node after the cluster head node receives the configuration information, so that the sensor node reconfigures the state parameters according to the configuration information.
Preferably, in the system, the sending module is specifically configured to:
and if the sink node compares that the hash value is inconsistent with the hash value corresponding to the OID identifier prefix, adding an alarm identifier at the head of the alarm information, and after the addition is finished, sending alarm information to a preset management node, wherein the alarm information carries the alarm identifier, the OID identifier prefix and the positioning coordinates of the sensor node.
Preferably, in the system, the sending module is specifically configured to: if the sink node compares that the hash value is inconsistent with the hash value corresponding to the OID identifier prefix, adding an alarm identifier at the head of the alarm information, and sending the alarm information to a preset management node by adopting a preset network mode, wherein the alarm information carries the alarm identifier, the OID identifier prefix and the positioning coordinates of the sensor node, and the preset network mode comprises a WIFI network mode, a 4G network mode and a 5G network mode.
As described above, the sensor node monitoring method and system of the present invention have the following beneficial effects: if the sink node compares that the hash value is inconsistent with the hash value corresponding to the OID identifier prefix, the sink node sends alarm information to a preset management node, so that the sink node can send alarm information aiming at the sensor nodes in the same field and can meet the monitoring requirement of the sensor nodes in the same field.
Drawings
Fig. 1 is a schematic diagram illustrating a method for monitoring a sensor node according to the present invention.
Fig. 2 is a schematic diagram of the sensor node monitoring system of the present invention.
Detailed Description
The application provides a sensor node monitoring method and a sensor node monitoring system, which are applicable to a wireless sensor network.
Referring to fig. 1, the present invention provides a method for monitoring a sensor node, which is detailed as follows:
s101, a cluster head node acquires an object identifier OID identifier prefix reported by a sensor node in a cluster, acquires various state parameters reported by the sensor node and positioning coordinates of the sensor node, stores the state parameters in a binary form, takes the state parameters as state information of the sensor node, and uploads the object identifier OID identifier prefix reported by the sensor node, the state information of the sensor node and the positioning coordinates of the sensor node to a preset sink node;
and the sensor nodes in the cluster identify prefixes, various state parameters and positioning coordinates of the object identifiers OID reported to the cluster head nodes at preset time intervals. The state parameter refers to a parameter of the sensor node in an operating state. The sensor nodes in the cluster refer to: and in the cluster, the sensor nodes except the cluster head node.
The state parameters of the sensor nodes are obtained in the prior art and in the obtaining process, which are not described herein.
And sequentially splicing the state parameters according to a preset sequence to obtain the state information of the sensor nodes. Such as: and splicing the state parameter A, the state parameter B and the state parameter C according to the sequence of ABC to obtain the state information of the sensor node.
Wherein, the OID identifies the prefix (Object Identifier), each domain has its unique OID Identifier prefix.
The cluster head node extracts an object identifier OID identifier prefix from the sensing node identity identifiers uploaded by the sensor nodes. The total length of the sensing node identity identifier is 120 bits, and the coding structure is as follows: version number + OID identification prefix + manufacturer code + product code. The version number is 8 bits and the OID identifier prefix is 48 bits. Therefore, after the cluster head node resolves the identity identifier of the sensing node, the 48-bit OID identifier prefix can be directly extracted.
Before S101, the method further includes:
the method comprises the steps that a cluster head node acquires an Object Identifier (OID) identifier prefix and a state identifier which are reported periodically by a sensor node in a cluster, and uploads the object identifier (OID identifier prefix) and the state identifier which are reported periodically by the sensor node to a preset sink node;
the sink node judges whether the state identifier is in a working mode, if the state identifier is in the working mode, the sink node determines an application scene corresponding to the OID identifier prefix of the sensor node according to the OID identifier prefix of the sensor node and a corresponding relation between the pre-stored OID identifier prefix and the application scene, calls an individualized acquisition parameter corresponding to the application scene, and forwards the individualized acquisition parameter to the sensor node through the cluster head node, so that the sensor node acquires information in the application scene according to the individualized acquisition parameter. This has the effect of collecting information desired by the user.
The application scenarios are different, and the personalized acquisition parameters are different, for example, the personalized acquisition parameters required by the application scenario 1 are as follows: collecting parameters 1, 2 and 3; the personalized acquisition parameters required by the application scenario 2 are: acquisition parameters 2, acquisition parameters 3, and acquisition parameters 5. The acquisition parameters 1, 2, 3, 4, 5 are all different parameters.
Wherein, the state mark is a mark representing a working state, 001 is used for representing an idle state, and 111 represents a working state.
S102, the sink node receives the state information, and calculates a hash value corresponding to the state information through a hash function of MD4, MD5 or SHA 1;
s103, the sink node compares the calculated hash value with a hash value corresponding to the OID identifier prefix, and the hash value corresponding to the OID identifier prefix is as follows: hash values corresponding to state information when state parameters of other sensor nodes with the same OID identifier prefix are in a normal state;
and the sink node acquires and stores the hash value corresponding to the state information of other sensor nodes with the same OID identifier prefix when the state parameters are in a normal state in advance. Such as: the state parameters of other sensor nodes of the OID identifier prefix are a state parameter A1, a state parameter B1 and a state parameter C1; and if the state parameter A1, the state parameter B1 and the state parameter C1 are in the normal state, sequentially splicing the state parameter A1, the state parameter B1 and the state parameter C1 according to the sequence of A1, B1 and C1 and a preset sequence to obtain the state information when the state parameters of other sensor nodes of the same OID identifier prefix are in the normal state. The beneficial effects are that: therefore, the state information of the sensor nodes in the same field when various state parameters are in a normal state can be obtained, the hash value generated according to the state information, namely the hash value corresponding to the OID identification prefix, has pertinence, and if the hash value is compared to be inconsistent with the hash value corresponding to the OID identification prefix, the sensor nodes are not in the normal state, the alarm information is sent to the preset management node.
And S104, if the sink node compares that the hash value is inconsistent with the hash value corresponding to the OID identifier prefix, sending alarm information to a preset management node, wherein the alarm information carries an alarm identifier, the OID identifier prefix of the sensor node and the positioning coordinates of the sensor node.
If the sink node compares that the hash value is inconsistent with the hash value corresponding to the OID identifier prefix, the sink node performs the following functions: the state parameters are not required to be checked one by one, and only the Hash value is required to be checked whether to be consistent with the Hash value corresponding to the OID identifier prefix, so that the comparison efficiency can be improved.
Preferably, S104 specifically is:
if the sink node compares that the hash value is inconsistent with the hash value corresponding to the OID identifier prefix, the sink node calls configuration information corresponding to the OID identifier prefix of the sensor node according to the OID identifier prefix of the sensor node and the corresponding relation between the prestored OID identifier prefix and the configuration information;
the sink node sends the configuration information to the sensor node through the cluster head node;
and if the sink node does not receive the message of successful configuration within the preset time, sending alarm information to a preset management node, wherein the alarm information carries an alarm identifier, the OID identifier prefix of the sensor node and the positioning coordinate of the sensor node.
Further, the sink node sends the configuration information to the sensor node through the cluster head node, specifically:
the aggregation node sends the configuration information to the cluster head node, and the cluster head node sends the configuration information to the sensor node after receiving the configuration information, so that the sensor node reconfigures each state parameter according to the configuration information.
Preferably, S104 specifically is:
and if the sink node compares that the hash value is inconsistent with the hash value corresponding to the OID identifier prefix, adding an alarm identifier at the head of the alarm information, and after the addition is finished, sending alarm information to a preset management node, wherein the alarm information carries the alarm identifier, the OID identifier prefix and the positioning coordinates of the sensor node.
Further, if the sink node compares that the hash value is inconsistent with the hash value corresponding to the OID identifier prefix, an alarm identifier is added to the head of the alarm information, and after the addition is completed, alarm information is sent to a preset management node, where the alarm information carries the alarm identifier, the OID identifier prefix, and the positioning coordinates of the sensor node, and specifically:
if the sink node compares that the hash value is inconsistent with the hash value corresponding to the OID identifier prefix, adding an alarm identifier at the head of the alarm information, and sending the alarm information to a preset management node by adopting a preset network mode, wherein the alarm information carries the alarm identifier, the OID identifier prefix and the positioning coordinates of the sensor node, and the preset network mode comprises a WIFI network mode, a 4G network mode and a 5G network mode.
After S104, the method further includes:
s105, the management node receives the warning information, receives the current state and the positioning coordinate uploaded by a plurality of maintenance terminals corresponding to OID identification prefixes, judges whether the current state of the maintenance terminal is in an idle state, if the current state of the maintenance terminal is in the idle state, generates the moving distance of the positioning coordinate of the sensor node reached by the maintenance terminal according to the positioning coordinate of the sensor node and the positioning coordinate of the maintenance terminal, and sequentially sends the sensor maintenance tasks based on the positioning coordinate of the sensor node to the maintenance terminal in the idle state according to the sequence of the moving distance from near to far until the sensor maintenance tasks are received by the maintenance terminal in the idle state. Therefore, the repairing efficiency of the sensor node is improved.
In the embodiment of the invention, if the sink node compares that the hash value is inconsistent with the hash value corresponding to the OID identifier prefix, the sink node sends the alarm information to the preset management node, so that the alarm information can be sent to the sensor nodes in the same field, and the monitoring requirements of the sensor nodes in the same field can be met.
Referring to fig. 2, the present invention provides a sensor node monitoring system, which is detailed as follows:
the utility model provides a sensor node monitored control system, includes cluster head node and convergent node, cluster head node including upload the module convergent node includes calculation module, comparison module, sending module:
the uploading module is used for the cluster head node to acquire an Object Identifier (OID) identification prefix reported by a sensor node in the cluster, acquire each state parameter reported by the sensor node and a positioning coordinate of the sensor node, store the state parameters in a binary form, use each state parameter as the state information of the sensor node, and upload the OID identification prefix reported by the sensor node, the state information of the sensor node and the positioning coordinate of the sensor node to a preset sink node;
the computing module is configured to receive the state information and compute a hash value corresponding to the state information through a hash function of MD4, MD5, or SHA 1;
the comparison module is configured to compare the calculated hash value with a hash value corresponding to the OID identifier prefix by the aggregation node, where the hash value corresponding to the OID identifier prefix is: hash values corresponding to state information when state parameters of other sensor nodes with the same OID identifier prefix are in a normal state;
the sending module is configured to send alarm information to a preset management node if the sink node compares that the hash value is inconsistent with the hash value corresponding to the OID identifier prefix, where the alarm information carries an alarm identifier, the OID identifier prefix of the sensor node, and the positioning coordinates of the sensor node.
In summary, if the sink node of the present invention compares that the hash value is not consistent with the hash value corresponding to the OID identifier prefix, the sink node sends an alarm message to a preset management node, so that the sink node can send an alarm message to sensor nodes in the same field, and can meet monitoring requirements of sensor nodes in the same field. Therefore, the invention effectively overcomes various defects in the prior art and has high industrial utilization value.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.

Claims (10)

1. A sensor node monitoring method is characterized by comprising the following steps:
a cluster head node acquires an object identifier OID identifier prefix reported by a sensor node in a cluster, acquires various state parameters reported by the sensor node and positioning coordinates of the sensor node, wherein the various state parameters are respectively a state parameter A, a state parameter B and a state parameter C, stores the state parameters in a binary mode, splices the state parameters A, the state parameters B and the state parameters C according to the sequence of ABC to obtain state information of the sensor node, and uploads the object identifier OID identifier prefix reported by the sensor node, the state information of the sensor node and the positioning coordinates of the sensor node to a preset sink node;
the sink node receives the state information, and calculates a hash value corresponding to the state information through a hash function of MD4, MD5 or SHA 1;
the sink node compares the calculated hash value with a hash value corresponding to the OID identifier prefix, where the hash value corresponding to the OID identifier prefix is: the hash values corresponding to the state information when the state parameters of other sensor nodes with the same OID identifier prefix are in a normal state, the state parameters of other sensor nodes with the same OID identifier prefix are a state parameter a1, a state parameter B1 and a state parameter C1, and if the state parameter a1, the state parameter B1 and the state parameter C1 are in a normal state, the state parameter a1, the state parameter B1 and the state parameter C1 are sequentially spliced according to the sequence of a1, B1 and C1 to obtain the state information when the state parameters of other sensor nodes with the same OID identifier prefix are in a normal state;
and if the sink node compares that the hash value is inconsistent with the hash value corresponding to the OID identifier prefix, sending alarm information to a preset management node, wherein the alarm information carries an alarm identifier, the OID identifier prefix of the sensor node and the positioning coordinates of the sensor node.
2. The method according to claim 1, wherein if the sink node compares that the hash value is inconsistent with the hash value corresponding to the OID identifier prefix, the sink node sends an alarm message to a preset management node, where the alarm message carries an alarm identifier, the OID identifier prefix of the sensor node, and the positioning coordinates of the sensor node, and specifically:
if the sink node compares that the hash value is inconsistent with the hash value corresponding to the OID identifier prefix, the sink node calls configuration information corresponding to the OID identifier prefix of the sensor node according to the OID identifier prefix of the sensor node and the corresponding relation between the prestored OID identifier prefix and the configuration information;
the sink node sends the configuration information to the sensor node through the cluster head node;
and if the sink node does not receive the message of successful configuration within the preset time, sending alarm information to a preset management node, wherein the alarm information carries an alarm identifier, the OID identifier prefix of the sensor node and the positioning coordinate of the sensor node.
3. The method according to claim 2, wherein the sink node sends the configuration information to the sensor node through the cluster head node, specifically:
the aggregation node sends the configuration information to the cluster head node, and the cluster head node sends the configuration information to the sensor node after receiving the configuration information, so that the sensor node reconfigures each state parameter according to the configuration information.
4. The method according to claim 1, wherein if the sink node compares that the hash value is inconsistent with the hash value corresponding to the OID identifier prefix, the sink node sends an alarm message to a preset management node, where the alarm message carries an alarm identifier, the OID identifier prefix of the sensor node, and the positioning coordinates of the sensor node, and specifically:
and if the sink node compares that the hash value is inconsistent with the hash value corresponding to the OID identifier prefix, adding an alarm identifier at the head of the alarm information, and after the addition is finished, sending alarm information to a preset management node, wherein the alarm information carries the alarm identifier, the OID identifier prefix and the positioning coordinates of the sensor node.
5. The method according to claim 4, wherein if the sink node compares that the hash value is inconsistent with the hash value corresponding to the OID identifier prefix, the sink node adds an alarm identifier to a header of alarm information, and after the addition is completed, sends alarm information to a preset management node, where the alarm information carries an alarm identifier, the OID identifier prefix, and the positioning coordinates of the sensor node, and specifically:
if the sink node compares that the hash value is inconsistent with the hash value corresponding to the OID identifier prefix, adding an alarm identifier at the head of the alarm information, and sending the alarm information to a preset management node by adopting a preset network mode, wherein the alarm information carries the alarm identifier, the OID identifier prefix and the positioning coordinates of the sensor node, and the preset network mode comprises a WIFI network mode, a 4G network mode and a 5G network mode.
6. The utility model provides a sensor node monitored control system which characterized in that, includes cluster head node and convergent node, cluster head node including upload the module convergent node includes calculation module, comparison module, sending module:
the uploading module is used for the cluster head node to acquire an object identifier OID identifier prefix reported by a sensor node in the cluster, acquire each state parameter reported by the sensor node and a positioning coordinate of the sensor node, wherein each state parameter is a state parameter A, a state parameter B and a state parameter C respectively, store the state parameters in a binary mode, splice the state parameters A, the state parameters B and the state parameters C according to the sequence of ABC to obtain state information of the sensor node, and upload the object identifier OID identifier prefix reported by the sensor node, the state information of the sensor node and the positioning coordinate of the sensor node to a preset sink node;
the computing module is configured to receive the state information and compute a hash value corresponding to the state information through a hash function of MD4, MD5, or SHA 1;
the comparison module is configured to compare the calculated hash value with a hash value corresponding to the OID identifier prefix by the aggregation node, where the hash value corresponding to the OID identifier prefix is: the hash values corresponding to the state information when the state parameters of other sensor nodes with the same OID identifier prefix are in a normal state, the state parameters of other sensor nodes with the same OID identifier prefix are a state parameter a1, a state parameter B1 and a state parameter C1, and if the state parameter a1, the state parameter B1 and the state parameter C1 are in a normal state, the state parameter a1, the state parameter B1 and the state parameter C1 are sequentially spliced according to the sequence of a1, B1 and C1 to obtain the state information when the state parameters of other sensor nodes with the same OID identifier prefix are in a normal state;
the sending module is configured to send alarm information to a preset management node if the sink node compares that the hash value is inconsistent with the hash value corresponding to the OID identifier prefix, where the alarm information carries an alarm identifier, the OID identifier prefix of the sensor node, and the positioning coordinates of the sensor node.
7. The system according to claim 6, wherein the sending module specifically includes:
a calling unit, configured to, if the sink node compares that the hash value is inconsistent with the hash value corresponding to the OID identifier prefix, call, according to the OID identifier prefix of the sensor node, configuration information corresponding to the OID identifier prefix of the sensor node according to a correspondence between the prestored OID identifier prefix and the configuration information;
a first sending unit, configured to send, by the sink node, the configuration information to the sensor node through the cluster head node;
and a second sending unit, configured to send, by the sink node, alarm information to a preset management node within a preset time if a message of successful configuration is not received, where the alarm information carries an alarm identifier, an OID identifier prefix of the sensor node, and a location coordinate of the sensor node.
8. The system of claim 7, wherein the first sending unit comprises:
a first sending subunit, configured to send, by the sink node, the configuration information to the cluster head node;
and the second sending subunit is configured to send the configuration information to the sensor node after the cluster head node receives the configuration information, so that the sensor node reconfigures the state parameters according to the configuration information.
9. The system of claim 6, wherein the sending module is specifically configured to:
and if the sink node compares that the hash value is inconsistent with the hash value corresponding to the OID identifier prefix, adding an alarm identifier at the head of the alarm information, and after the addition is finished, sending alarm information to a preset management node, wherein the alarm information carries the alarm identifier, the OID identifier prefix and the positioning coordinates of the sensor node.
10. The system of claim 9, wherein the sending module is specifically configured to: if the sink node compares that the hash value is inconsistent with the hash value corresponding to the OID identifier prefix, adding an alarm identifier at the head of the alarm information, and sending the alarm information to a preset management node by adopting a preset network mode, wherein the alarm information carries the alarm identifier, the OID identifier prefix and the positioning coordinates of the sensor node, and the preset network mode comprises a WIFI network mode, a 4G network mode and a 5G network mode.
CN201911066669.XA 2019-11-04 2019-11-04 Sensor node monitoring method and system Active CN110691329B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911066669.XA CN110691329B (en) 2019-11-04 2019-11-04 Sensor node monitoring method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911066669.XA CN110691329B (en) 2019-11-04 2019-11-04 Sensor node monitoring method and system

Publications (2)

Publication Number Publication Date
CN110691329A CN110691329A (en) 2020-01-14
CN110691329B true CN110691329B (en) 2020-12-25

Family

ID=69115671

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911066669.XA Active CN110691329B (en) 2019-11-04 2019-11-04 Sensor node monitoring method and system

Country Status (1)

Country Link
CN (1) CN110691329B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11803421B2 (en) * 2021-02-09 2023-10-31 International Business Machines Corporation Monitoring health status of a large cloud computing system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105100072A (en) * 2015-06-30 2015-11-25 东软集团股份有限公司 Method and device for monitoring network node
CN108235276A (en) * 2018-01-16 2018-06-29 冼钇冰 Sensor node operating system and sensor node operation method based on Internet of Things
CN108737433A (en) * 2018-05-29 2018-11-02 冼汉生 Sensor node monitoring system based on Internet of Things and sensor node monitoring method
CN108847938A (en) * 2018-09-29 2018-11-20 郑州云海信息技术有限公司 A kind of connection method for building up and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103368731B (en) * 2013-07-23 2016-07-06 华南理工大学 Wireless sensor network security data based on Hash tree find and transmission method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105100072A (en) * 2015-06-30 2015-11-25 东软集团股份有限公司 Method and device for monitoring network node
CN108235276A (en) * 2018-01-16 2018-06-29 冼钇冰 Sensor node operating system and sensor node operation method based on Internet of Things
CN108737433A (en) * 2018-05-29 2018-11-02 冼汉生 Sensor node monitoring system based on Internet of Things and sensor node monitoring method
CN108847938A (en) * 2018-09-29 2018-11-20 郑州云海信息技术有限公司 A kind of connection method for building up and device

Also Published As

Publication number Publication date
CN110691329A (en) 2020-01-14

Similar Documents

Publication Publication Date Title
US8050191B2 (en) Distributed information storage and retrieval of communication network performance data
CN108092847B (en) A kind of electric power LTE wireless terminal remote on-line monitoring method
CN110691329B (en) Sensor node monitoring method and system
CN106254199B (en) Unidirectional ring network fault point positioning method, concentrator, terminal equipment and system
CN107370644B (en) Linkage control method and device, computer readable storage medium and computer equipment
CN110831050B (en) Sensor node control method and system
CN111597271B (en) Power communication information storage system
CN102230829A (en) Method and system for monitoring cables and sensing terminal
CN107295559B (en) Terminal roaming management method and access control equipment
CN112165413B (en) Equipment state reporting method and device and electronic device
CN108200128B (en) Remote meter reading method and system based on eLTE-IoT technology
KR20120037603A (en) Method for obtaining and reporting data related minimization of drive-tests, and apparatus for performing the same
CN107769986B (en) Network performance test system, extension system and test method
CN105228079A (en) M2M business data processing method, device and M2M terminal equipment
CN107484232A (en) Message method, system, the network equipment and readable storage medium storing program for executing
CN105530115A (en) Method and device for realizing operation management and maintenance function
WO2011114480A1 (en) Wireless terminal device, communication device, wireless communication system, and communication method
CN105210349A (en) Wireless communication quality information processing apparatus and communication system
CN111093238B (en) Wireless network control method and device, storage medium and electronic equipment
CN109561482B (en) Data acquisition method, data acquisition device and intelligent terminal
CN106707236B (en) Terminal positioning measurement method and wireless access equipment
WO2023184983A1 (en) Method, apparatus and system for direct connection control of air conditioner, and storage medium
US20220272030A1 (en) Path planning method and apparatus, and data transmission system
CN107920348B (en) Device network state information
CN107404404B (en) Terminal routing method based on Internet of things and Internet of things terminal

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20201208

Address after: 100043 Beijing Shijingshan District Shijingshan Road No.18 Courtyard Building 7 Floor 801

Applicant after: BEIJING WANGMING ELECTRONIC TECHNOLOGY Co.,Ltd.

Address before: 518057 first floor, No.2 Kefeng Road, high tech Zone, Nanshan District, Shenzhen City, Guangdong Province

Applicant before: Li Bingyong

GR01 Patent grant
GR01 Patent grant