Detection method, system and sink node for malicious nodes in wireless sensor networks

By using sink nodes in wireless sensor networks to receive and verify the environmental information and detection values ​​transmitted by source nodes, and using preset encryption algorithms to identify malicious nodes, the problem of high resource consumption of sensor nodes is solved, the network life is extended, and transmission security is ensured. sex.

CN113891309BActive Publication Date: 2024-10-22CHINA TELECOM CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111338311.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-12
Publication Date
2024-10-22
Estimated Expiration
2041-11-12

AI Technical Summary

Technical Problem

Existing malicious node detection methods consume a large amount of computing power and resources on sensor nodes, affect the life of the WSN network, and are not suitable for practical application scenarios.

Method used

The aggregation node receives the environmental information and detection values ​​transmitted by the source node, uses the preset encryption algorithm and information markers to perform calculations, determines whether there are malicious nodes in the path to be detected, and re-requests data when necessary to confirm the security of the path, reducing Resource and computing power consumption of sensor nodes.

Benefits of technology

It effectively reduces the resource and computing power consumption of sensor nodes, extends the service life of the WSN network, ensures the security of transmission paths between nodes, and balances node overhead and malicious detection efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113891309B_ABST
    Figure CN113891309B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a detection method, system and aggregation node for malicious nodes in a wireless sensor network, and relates to the field of communication technology. The method of the present disclosure includes: in the current detection cycle, the aggregation node receives environmental information and detection values ​​sent by the source node through the path to be detected, wherein the detection value is calculated by the source node according to the environmental information, the information marker and the preset encryption algorithm, and the information marker is assigned to the source node by the aggregation node; the aggregation node calculates a comparison value according to the environmental information, the information marker corresponding to the source node and the preset encryption algorithm; the aggregation node compares the detection value with the comparison value to determine whether there is a malicious node in the path to be detected.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of communication technology, and in particular to a method, system and aggregation node for detecting malicious nodes in a wireless sensor network. Background Art

[0002] Wireless Sensor Network (WSN) is a network composed of multiple sensor nodes and a few sink nodes. It can monitor and collect various information in the deployment area. By sending and receiving information, it enables objects to have perception and communication capabilities. It is an important part of the Internet of Things. Sensor nodes have the characteristics of large number and density, decentralized deployment, real-time changes in network topology, and extremely limited energy value.

[0003] Since many nodes are unable to deploy malicious detection systems or run complex identity authentication mechanisms due to resource constraints, attackers can tamper with data by forging or invading nodes, affecting the security of transmission between nodes.

[0004] Currently, for malicious node detection and location, each sensor node needs to monitor neighboring nodes in real time and execute complex algorithms. Summary of the invention

[0005] The inventors found that the existing detection methods for malicious nodes have very high requirements on the computing power and resource capabilities of sensor nodes, which will greatly affect the life of the WSN network and are not suitable for actual application scenarios.

[0006] A technical problem to be solved by the present disclosure is to propose a method for detecting malicious nodes, which can reduce the consumption of resources and computing power of sensor nodes and extend the life of WSN networks.

[0007] According to some embodiments of the present disclosure, a method for detecting malicious nodes in a wireless sensor network is provided, comprising: a sink node receives, in a current detection cycle, environmental information and a detection value sent by a source node through a path to be detected, wherein the detection value is calculated by the source node based on the environmental information, an information marker and a preset encryption algorithm, and the information marker is assigned to the source node by the sink node; the sink node calculates a comparison value based on the environmental information, the information marker corresponding to the source node and the preset encryption algorithm; the sink node compares the detection value with the comparison value to determine whether there is a malicious node on the path to be detected.

[0008] In some embodiments, the computing energy consumption of the preset encryption algorithm meets the energy consumption requirements of each node in the wireless sensor network.

[0009] In some embodiments, the information marker is a constant, and the preset encryption algorithm is to perform an L1 norm operation on the environmental information and then multiply it by the information marker.

[0010] In some embodiments, the method also includes: when receiving environmental information and detection values, the aggregation node also receives path information transmitted by each node on the path to be detected, wherein the path information includes a node added by each node that is adjacent to the node and is not on the path to be detected; in the case that there are malicious nodes on the path to be detected, the aggregation node determines a path based on the path information as the path to be detected for the next detection cycle; the aggregation node requests the source node to resend the environmental information and detection values ​​through the path to be detected for the next detection cycle.

[0011] In some embodiments, the method also includes: taking the next detection cycle as the current cycle, the aggregation node re-executes the method of receiving the environmental information and detection value sent by the source node through the path to be detected, calculating the comparison value based on the environmental information, the information marker corresponding to the source node and the preset encryption algorithm, comparing the detection value with the comparison value, and determining whether there are malicious nodes in the path to be detected.

[0012] In some embodiments, the method also includes: when there are malicious nodes in the path to be detected in the next detection cycle, the aggregation node re-executes the path information transmitted by each node on the path to be detected, and determines a path based on the path information as the path to be detected in the next detection cycle; a method for requesting the source node to resend environmental information and detection values ​​through the path to be detected in the next detection cycle.

[0013] In some embodiments, the method further includes: until the convergence node obtains a path to be detected without malicious nodes as a reference path; the convergence node sends a monitoring instruction to each node on the reference path, wherein the monitoring instruction includes: information of the nodes of the path to be detected in the previous detection cycle of the detection cycle corresponding to the reference path as information of the nodes to be monitored, and an information marker, so that each node on the reference path serves as a reference node, monitors the nodes to be monitored adjacent to the node, and determines whether the adjacent nodes to be monitored are malicious nodes.

[0014] In some embodiments, determining whether the adjacent node to be monitored is a malicious node includes: the benchmark node receives environmental information and detection values ​​sent by the node to be monitored; the benchmark node calculates a comparison value based on the environmental information, information marker and a preset encryption algorithm; the benchmark node compares the detection value with the comparison value to determine whether the node to be monitored is a malicious node.

[0015] In some embodiments, the method further includes: when a malicious node is determined, the aggregation node notifies all nodes in the wireless sensor network to isolate information from the malicious node and reports the malicious node to a control center.

[0016] In some embodiments, the method also includes: the control center detects the attack means and device parameters of the malicious node; the control center eliminates the threat of the malicious node according to the attack means; the control center determines whether the malicious node belongs to a heterogeneous node according to the device parameters; when the malicious node belongs to a heterogeneous node, the control center records the device parameters of the malicious node and puts the malicious node in a blacklist that denies access to the wireless sensor network; when the malicious node belongs to a non-heterogeneous node, the control center performs a security assessment on the malicious node after the threat is eliminated, and recycles it for reuse.

[0017] According to some other embodiments of the present disclosure, a sink node in a wireless sensor network is provided, comprising: a receiving module, used to receive, in a current detection cycle, environmental information and detection values ​​sent by a source node through a path to be detected, wherein the detection value is calculated by the source node based on the environmental information, an information marker and a preset encryption algorithm, and the information marker is assigned by the sink node to the source node; a calculating module, used to calculate a comparison value based on the environmental information, the information marker corresponding to the source node and a preset encryption algorithm; and a determining module, used to compare the detection value with the comparison value to determine whether there is a malicious node in the path to be detected.

[0018] According to some other embodiments of the present disclosure, a sink node in a wireless sensor network is provided, comprising: a processor; and a memory coupled to the processor, for storing instructions, which, when executed by the processor, causes the processor to execute the detection method executed by the sink node in any of the aforementioned embodiments.

[0019] According to some further embodiments of the present disclosure, a non-transitory computer-readable storage medium is provided, on which a computer program is stored, wherein when the program is executed by a processor, the detection method performed by the aggregation node in any of the aforementioned embodiments is implemented.

[0020] According to some other embodiments of the present disclosure, a system for detecting malicious nodes in a wireless sensor network is provided, comprising: a sink node in any of the aforementioned embodiments; and a source node, for sending environmental information and detection values ​​to the sink node via a path to be detected, wherein the detection values ​​are calculated by the source node based on the environmental information, an information marker and a preset encryption algorithm, and the information marker is assigned to the source node by the sink node; and one or more intermediate nodes, for receiving the environmental information and detection values ​​sent by the source node, and sending them to the next hop node.

[0021] In some embodiments, the intermediate node is also used to add a node adjacent to the node and not on the path to be detected in the path information.

[0022] In some embodiments, when the intermediate node is located on a reference path, the intermediate node is also used to receive a monitoring indication sent by the convergence node, and as a reference node, monitors the node to be monitored adjacent to the current node to determine whether the adjacent node to be monitored is a malicious node; wherein the monitoring indication includes: information on the node of the path to be detected in the previous detection cycle of the detection cycle corresponding to the reference path as information on the node to be monitored, and an information marker.

[0023] In some embodiments, the intermediate node is used to receive environmental information and detection values ​​sent by the node to be monitored; calculate a comparison value based on the environmental information, information identifier and a preset encryption algorithm; compare the detection value with the comparison value to determine whether the node to be monitored is a malicious node.

[0024] In some embodiments, the system also includes: a control center, which is used to receive malicious nodes reported by aggregation nodes, detect attack methods and device parameters of malicious nodes; eliminate threats of malicious nodes according to attack methods; determine whether malicious nodes belong to heterogeneous nodes according to device parameters; if the malicious nodes belong to heterogeneous nodes, record the device parameters of malicious nodes, and put the malicious nodes in a blacklist that refuses access to the wireless sensor network; if the malicious nodes belong to non-heterogeneous nodes, perform security assessment on the malicious nodes after eliminating threats, and recycle them for reuse.

[0025] The present disclosure aims at the networking characteristics of WSN to solve the problem that when the source node transmits environmental data, it passes through intermediate nodes with weak self-protection capabilities, is susceptible to malicious tampering and is difficult to track and locate. By executing the detection method at a sink node with higher energy and better protection performance, an information marker is assigned to the source node, and a hidden detection value is calculated so that the sink node can verify whether the information transmitted on the path has been tampered with through the detection value, and malicious nodes are discovered in time. The scheme disclosed in the present disclosure can ensure the security of the transmission path between nodes, reduce the consumption of resources and computing power of sensor nodes, balance the contradiction between node overhead and malicious detection efficiency, extend the use cycle of sensor nodes, extend the use cycle of WSN networks, achieve the unity of low consumption and high efficiency, and have higher application value.

[0026] Other features and advantages of the present disclosure will become apparent from the following detailed description of exemplary embodiments of the present disclosure with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0028] Figure 1 A schematic flow chart showing a method for detecting malicious nodes in a wireless sensor network according to some embodiments of the present disclosure.

[0029] Figure 2 A schematic flow chart showing a method for detecting malicious nodes in a wireless sensor network according to other embodiments of the present disclosure.

[0030] Figure 3 A schematic diagram showing the structure of a sink node in a wireless sensor network according to some embodiments of the present disclosure.

[0031] Figure 4 A schematic diagram showing the structure of a sink node in a wireless sensor network according to some other embodiments of the present disclosure.

[0032] Figure 5 A schematic diagram showing the structure of a sink node in a wireless sensor network according to some other embodiments of the present disclosure.

[0033] Figure 6 A schematic diagram showing the structure of a system for detecting malicious nodes in a wireless sensor network according to some embodiments of the present disclosure. DETAILED DESCRIPTION

[0034] The technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all of the embodiments. The following description of at least one exemplary embodiment is actually only illustrative and is by no means intended to limit the present disclosure and its application or use. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.

[0035] The present invention proposes a method for detecting malicious nodes in a wireless sensor network. Figures 1-2 Give a description.

[0036] Figure 1 The following is a flow chart of some embodiments of the method for detecting malicious nodes in a wireless sensor network disclosed in the present invention. Figure 1 As shown, the method of this embodiment includes: steps S102 to S106.

[0037] In step S102, the sink node receives the environment information and detection values ​​sent by the source node via the path to be detected in the current detection cycle.

[0038] The detection value is calculated by the source node based on environmental information, information marker and preset encryption algorithm, and the information marker is assigned to the source node by the sink node. Environmental information refers to information that needs to be transmitted in WSN, such as air temperature (T), pressure (P), temperature (H), etc., and can also be other information transmitted from the source node to the sink node in WSN, not limited to the examples given. Environmental information can be represented as a vector (T, P, H...). The sink node can assign information marker a to the source node during initial networking. The source node calculates the detection value Z based on environmental information (T, P, H...), information marker a and preset encryption algorithm. Environmental information (T, P, H...) and detection value Z are sent by the source node and transmitted to the sink node through each node on the path to be detected.

[0039] In some embodiments, the computing energy consumption of the preset encryption algorithm meets the energy consumption requirements of each node in the wireless sensor network. For example, the information identifier is a constant, and the preset encryption algorithm performs L1 norm operation on the environmental information (T, P, H...) and then multiplies it by the information identifier a.

[0040] In step S104, the sink node calculates a comparison value according to the environmental information, the information identifier corresponding to the source node and a preset encryption algorithm.

[0041] The sink node stores the information identifier a and the preset encryption algorithm corresponding to the source node. The information identifiers and preset encryption algorithms corresponding to different source nodes may be different. The sink node calculates the comparison value in the same way as the source node.

[0042] In step S106, the sink node compares the detection value with the comparison value to determine whether there is a malicious node in the path to be detected.

[0043] If the detection value is the same as the comparison value, there is no malicious node in the detected path, otherwise, there is a malicious node. The malicious node will tamper with the environmental information to be transmitted during the transmission process. The above method can be used to determine whether the environmental information has been tampered with, thereby determining whether there is a malicious node.

[0044] In the above embodiments, the WSN networking characteristics are targeted to solve the problem that when the source node transmits environmental data, it passes through the intermediate nodes with weak self-protection capabilities, is susceptible to malicious tampering and is difficult to track and locate. By executing the detection method at a sink node with higher energy and better protection performance, an information marker is assigned to the source node, and a hidden detection value is calculated so that the sink node can verify whether the information transmitted on the path has been tampered with through the detection value, and detect malicious nodes in time. The scheme of the above embodiment can ensure the security of the transmission path between nodes, reduce the consumption of resources and computing power of sensor nodes, balance the contradiction between node overhead and malicious detection efficiency, extend the use cycle of sensor nodes, extend the use cycle of WSN networks, achieve the unity of low consumption and high efficiency, and have higher application value.

[0045] In the above embodiment, it can be found whether there is a malicious node in the path to be detected. After the malicious node is found, further processing is required. Figure 2 Other embodiments of the present disclosure are described.

[0046] Figure 2 Flowcharts of other embodiments of the method for detecting malicious nodes in a wireless sensor network disclosed in the present invention. Figure 2 As shown, the method of this embodiment includes: steps S202 to S222.

[0047] In step S202, the sink node receives the environment information and detection value sent by the source node through the path to be detected, as well as the path information transmitted by each node on the path to be detected in the current detection cycle.

[0048] The path information includes a node added by each node that is adjacent to the node and not on the path to be detected. Each node can transmit a path information table. The path information table includes the node name, environmental information, a node added by each node that is adjacent to the node and not on the path to be detected, and the detection value. As shown in Table 1, nodes A, B, and C have added a neighboring node A', B', and C' respectively, and the neighboring nodes A', B', and C' are not on the path to be detected.

[0049] Table 1

[0050]

[0051]

[0052] In step S204, the sink node calculates a comparison value according to the environmental information, the information identifier corresponding to the source node and a preset encryption algorithm.

[0053] In step S206, the convergence node compares the detection value with the comparison value to determine whether there is a malicious node in the path to be detected. If there is a malicious node, step S208 is executed. If there is no malicious node and the path to be detected is not the original path to be detected, step S212 is executed.

[0054] In step S208, the convergence node determines a path according to the path information as a path to be detected in the next detection cycle.

[0055] As shown in Table 1, neighboring nodes A', B', and C' can form a path P2 to be detected in the next detection cycle.

[0056] In step S210, the sink node requests the source node to resend the environment information and the detection value through the path to be detected in the next detection cycle, and takes the next detection cycle as the current cycle to re-execute steps S202 to S206.

[0057] For example, the path to be detected in the current cycle is P1, and the path to be detected in the next detection cycle is P2. If there is a malicious node in P1, the source node is contacted with a suboptimal cost through the neighboring nodes in the path information table. After receiving the request, the source node uses the path to be detected in the next detection cycle as an alternative path (composed of neighboring nodes) to resend the environmental information to the sink node.

[0058] In step S212, the sink node uses the path to be detected without malicious nodes as a reference path, and sends a monitoring instruction to each node on the reference path.

[0059] The monitoring indication includes: the information of the nodes of the path to be detected in the previous detection cycle of the detection cycle corresponding to the reference path as the information of the nodes to be monitored, and the information marker. For example, after receiving the path information table of P2, the convergence node performs the same operation and compares the result with the detection value. If the detection values ​​are the same, the P2 path is used as the reference path, the nodes in the path are started, and each node of P1 is monitored to accurately locate the malicious node. If the detection values ​​are different, it means that there are also malicious nodes in the P2 path, and steps S208 to S210 need to be repeated until the reference path is found (that is, there are no malicious nodes in the path) and the upward tracing positioning is performed.

[0060] In step S214, each node on the reference path serves as a reference node, monitors the neighboring nodes to be monitored, and determines whether the neighboring nodes to be monitored are malicious nodes.

[0061] In step S216, when a malicious node is determined, the sink node notifies all nodes in the wireless sensor network to perform information isolation on the malicious node and report the malicious node to the control center.

[0062] In step S218, the control center detects the attack means and device parameters of the malicious node, eliminates the threat of the malicious node according to the attack means, and determines whether the malicious node belongs to a heterogeneous node according to the device parameters. If so, execute step S220, otherwise (that is, the attacker invades the original WSN node), execute step S222.

[0063] Heterogeneous nodes are nodes that do not belong to WSN.

[0064] In step S220, the control center records the device parameters of the malicious node and puts the malicious node into a blacklist that denies access to the wireless sensor network.

[0065] In step S222, the control center performs a security assessment on the malicious nodes after the threats are eliminated, and recycles them for reuse.

[0066] The above embodiment proposes that malicious node detection can be performed at a sink node with better protection performance. When the network is first established, an information identifier can be assigned to the source node, and a hidden detection value can be calculated so that the sink node can verify whether the path information has been tampered with through the detection value. In the event of an abnormality, the malicious node can be accurately located by comparing the information reported by each node of the alternative path, and isolated, removed, and other disposals can be carried out, providing a control enhancement method for identifying malicious nodes and tracking and locating them, which can ensure the security of the transmission path between nodes, balance the contradiction between node overhead and malicious detection efficiency, and finally extend the node use cycle.

[0067] The present disclosure also provides a convergence node in a wireless sensor network. Figure 3 Give a description.

[0068] Figure 3 FIG. 1 is a structural diagram of some embodiments of the aggregation node of the present disclosure. Figure 3 As shown, the aggregation node 30 of this embodiment includes: a receiving module 310 , a calculating module 320 , and a determining module 330 .

[0069] The receiving module 310 is used to receive the environmental information and detection value sent by the source node through the path to be detected in the current detection cycle, wherein the detection value is calculated by the source node based on the environmental information, information marker and preset encryption algorithm, and the information marker is assigned to the source node by the aggregation node.

[0070] In some embodiments, the computational energy consumption of the preset encryption algorithm meets the energy consumption requirements of each node in the wireless sensor network.

[0071] In some embodiments, the information marker is a constant, and the preset encryption algorithm is to perform an L1 norm operation on the environmental information and then multiply it by the information marker.

[0072] The calculation module 320 is used to calculate the comparison value according to the environmental information, the information identifier corresponding to the source node and the preset encryption algorithm.

[0073] The determination module 330 is used to compare the detection value with the comparison value to determine whether there is a malicious node in the path to be detected.

[0074] In some embodiments, the aggregation node 30 further includes: a path reselection module 340 and a request module 350. The receiving module 310 is also used to receive the path information transmitted by each node on the path to be detected when receiving the environmental information and the detection value, wherein the path information includes a node added by each node that is adjacent to the node and is not on the path to be detected; the path reselection module 340 is used to determine a path according to the path information as the path to be detected in the next detection cycle when there is a malicious node in the path to be detected; the request module 350 is used to request the source node to resend the environmental information and the detection value through the path to be detected in the next detection cycle.

[0075] In some embodiments, the request module 350 is used to trigger the receiving module 310, the calculating module 320, and the determining module 330 to use the next detection cycle as the current cycle and re-execute the corresponding method.

[0076] In some embodiments, the determination module 330 is used to trigger the receiving module 310, the path reselection module 340, and the request module 350 to re-execute the corresponding method when there is a malicious node in the path to be detected in the next detection cycle.

[0077] In some embodiments, the aggregation node 30 also includes: a monitoring indication module 360, which is used to use the path to be detected without malicious nodes as a reference path, and send a monitoring indication to each node on the reference path, wherein the monitoring indication includes: information on the nodes of the path to be detected in the previous detection cycle of the detection cycle corresponding to the reference path as information on the nodes to be monitored, and an information marker, so that each node on the reference path serves as a reference node, monitors the nodes to be monitored adjacent to the node, and determines whether the adjacent nodes to be monitored are malicious nodes.

[0078] The aggregation nodes in the embodiments of the present disclosure may be implemented by various computing devices or computer systems. Figure 4 as well as Figure 5 Give a description.

[0079] Figure 4 FIG. 1 is a structural diagram of some embodiments of the aggregation node of the present disclosure. Figure 4As shown, the aggregation node 40 of this embodiment includes: a memory 410 and a processor 420 coupled to the memory 410 , and the processor 420 is configured to execute the detection method in any of some embodiments of the present disclosure based on the instructions stored in the memory 410 .

[0080] The memory 410 may include, for example, a system memory, a fixed non-volatile storage medium, etc. The system memory may store, for example, an operating system, an application program, a boot loader, a database, and other programs.

[0081] Figure 5 FIG. 1 is a structural diagram of some other embodiments of the aggregation node disclosed in the present invention. Figure 5 As shown, the aggregation node 50 of this embodiment includes: a memory 510 and a processor 520, which are similar to the memory 410 and the processor 420 respectively. It can also include an input and output interface 530, a network interface 540, a storage interface 550, etc. These interfaces 530, 540, 550 and the memory 510 and the processor 520 can be connected, for example, through a bus 560. Among them, the input and output interface 530 provides a connection interface for input and output devices such as a display, a mouse, a keyboard, and a touch screen. The network interface 540 provides a connection interface for various networked devices, for example, it can be connected to a database server or a cloud storage server. The storage interface 550 provides a connection interface for external storage devices such as SD cards and USB flash drives.

[0082] The present disclosure also provides a detection system for malicious nodes in a wireless sensor network. Figure 6 Give a description.

[0083] Figure 6 FIG. 1 is a structural diagram of some embodiments of the detection system of malicious nodes in a wireless sensor network disclosed in the present invention. Figure 6 As shown, the system 6 of this embodiment includes: the sink node 30 / 40 / 50 of any of the aforementioned embodiments; and a source node 62 , and one or more intermediate nodes 64 .

[0084] The source node 62 is used to send environmental information and detection values ​​to the aggregation node 30 / 40 / 50 through the path to be detected, wherein the detection value is calculated by the source node 62 based on the environmental information, information marker and preset encryption algorithm, and the information marker is assigned to the source node 62 by the aggregation node 30 / 40 / 50.

[0085] The intermediate node 64 is used to receive the environmental information and detection value sent by the source node 62, and send it to the next hop node.

[0086] In some embodiments, the intermediate node 64 is also used to add a node adjacent to the node and not on the path to be detected to the path information.

[0087] In some embodiments, when the intermediate node 64 is located on the reference path, the intermediate node 64 is also used to receive the monitoring indication sent by the aggregation node, and as a reference node, monitors the node to be monitored adjacent to the current node to determine whether the adjacent node to be monitored is a malicious node; wherein the monitoring indication includes: the information of the node of the path to be detected in the previous detection cycle of the detection cycle corresponding to the reference path as the information of the node to be monitored, and an information marker.

[0088] In some embodiments, the intermediate node 64 is used to receive environmental information and detection values ​​sent by the node to be monitored; calculate a comparison value based on the environmental information, information identifier and a preset encryption algorithm; compare the detection value with the comparison value to determine whether the node to be monitored is a malicious node.

[0089] In some embodiments, the detection system 6 also includes: a control center 66, which is used to receive malicious nodes reported by the aggregation node, detect the attack methods and device parameters of the malicious nodes; eliminate the threats of the malicious nodes according to the attack methods; determine whether the malicious nodes belong to heterogeneous nodes according to the device parameters; in the case where the malicious nodes belong to heterogeneous nodes, record the device parameters of the malicious nodes, and put the malicious nodes in the blacklist that refuses access to the wireless sensor network; in the case where the malicious nodes belong to non-heterogeneous nodes, perform a security assessment on the malicious nodes after the threats are eliminated, and recycle them for reuse.

[0090] Those skilled in the art will appreciate that the embodiments of the present disclosure may be provided as methods, systems, or computer program products. Therefore, the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present disclosure may take the form of a computer program product implemented on one or more computer-usable non-transient storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0091] The present disclosure is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present disclosure. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0092] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0093] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0094] The above description is only a preferred embodiment of the present disclosure and is not intended to limit the present disclosure. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present disclosure should be included in the protection scope of the present disclosure.

Claims

1. A method for detecting malicious nodes in wireless sensor networks. include: The sink node receives, in the current detection cycle, environmental information, detection values, and path information transmitted by each node on the path to be detected, sent by the source node through the path to be detected, wherein the detection value is calculated by the source node according to the environmental information, the information identifier, and a preset encryption algorithm, the information identifier is assigned to the source node by the sink node, and the path information includes a node added by each node that is adjacent to the node and is not on the path to be detected; The sink node calculates a comparison value according to the environmental information, the information identifier corresponding to the source node and a preset encryption algorithm; The sink node compares the detection value with the comparison value to determine whether there is a malicious node on the path to be detected; In the case where there is a malicious node in the path to be detected, the convergence node determines a path according to the path information as the path to be detected in the next detection cycle; The sink node requests the source node to resend the environment information and the detection value through the path to be detected in the next detection cycle.

2. The detection method according to claim 1, in, The computing energy consumption of the preset encryption algorithm meets the energy consumption requirements of each node in the wireless sensor network.

3. The detection method according to claim 1, in, The information identifier is a constant, and the preset encryption algorithm is to perform an L1 norm operation on the environmental information and then multiply the result by the information identifier.

4. The detection method according to claim 1, further comprising include: Taking the next detection cycle as the current cycle, the aggregation node re-executes the method of receiving the environmental information and detection value sent by the source node through the path to be detected, calculating the comparison value based on the environmental information, the information marker corresponding to the source node and the preset encryption algorithm, and comparing the detection value with the comparison value to determine whether there is a malicious node in the path to be detected.

5. The detection method according to claim 4, further comprising include: In the event that a malicious node exists on the path to be detected in the next detection cycle, the aggregation node re-executes the method of receiving the path information transmitted by each node on the path to be detected, determining a path according to the path information as the path to be detected in the next detection cycle; and requesting the source node to resend the environmental information and the detection value through the path to be detected in the next detection cycle.

6. The detection method according to claim 4, further comprising: include: Until the sink node obtains a path to be detected without malicious nodes as a reference path; The aggregation node sends a monitoring indication to each node on the reference path, wherein the monitoring indication includes: information of the node of the path to be detected in the previous detection cycle of the detection cycle corresponding to the reference path as information of the node to be monitored, and the information marker, so that each node on the reference path serves as a reference node to monitor the node to be monitored adjacent to the node to be monitored, and determine whether the adjacent node to be monitored is a malicious node.

7. The detection method according to claim 6, in, Determining whether the adjacent node to be monitored is a malicious node includes: The reference node receives the environment information and the detection value sent by the node to be monitored; The reference node calculates a comparison value according to the environmental information, the information identifier and a preset encryption algorithm; The reference node compares the detection value with the comparison value to determine whether the node to be monitored is a malicious node.

8. The detection method according to claim 6, further comprising include: When a malicious node is identified, the aggregation node notifies all nodes in the wireless sensor network to perform information isolation on the malicious node and report the malicious node to a control center.

9. The detection method according to claim 8, further comprising include: The control center detects the attack means and device parameters of the malicious node; The control center eliminates the threat of the malicious node according to the attack means; The control center determines whether the malicious node belongs to a heterogeneous node according to the device parameters; In the case where the malicious node is a heterogeneous node, the control center records the device parameters of the malicious node and lists the malicious node in a blacklist for refusing access to the wireless sensor network; In the case that the malicious node is a non-heterogeneous node, the control center performs a security assessment on the malicious node after the threat is eliminated, and recycles the malicious node for reuse.

10. A sink node in a wireless sensor network, include: A receiving module, used for receiving, in a current detection cycle, environmental information, a detection value and path information transmitted by each node on the path to be detected, which are sent by a source node through the path to be detected, wherein the detection value is calculated by the source node according to the environmental information, an information identifier and a preset encryption algorithm, the information identifier is assigned to the source node by the sink node, and the path information includes a node added by each node that is adjacent to the node and is not on the path to be detected; A calculation module, used to calculate a comparison value according to the environmental information, the information identifier corresponding to the source node and a preset encryption algorithm; A determination module, used to compare the detection value with the comparison value to determine whether there is a malicious node in the path to be detected; A path reselection module is used to determine a path as the path to be detected in the next detection cycle according to the path information when there is a malicious node in the path to be detected; The request module is used to request the source node to resend the environmental information and the detection value through the path to be detected in the next detection cycle.

11. A sink node in a wireless sensor network, include: processor; as well as A memory coupled to the processor, used to store instructions, wherein when the instructions are executed by the processor, the processor executes the detection method according to any one of claims 1-6 and 8.

12. A non-transitory computer-readable storage medium having stored thereon a computer program, in, When the program is executed by a processor, the steps of the method described in any one of claims 1 to 6 and 8 are implemented.

13. A detection system for malicious nodes in wireless sensor networks. include: The aggregation node according to claim 10 or 11; as well as A source node, used to send environmental information and a detection value to the sink node via a path to be detected, wherein the detection value is calculated by the source node according to the environmental information, an information identifier and a preset encryption algorithm, and the information identifier is assigned by the sink node to the source node; One or more intermediate nodes are used to receive the environment information and detection value sent by the source node and send them to the next hop node.

14. The detection system according to claim 13, in, The intermediate node is also used to add a node adjacent to the node and not on the path to be detected in the path information.

15. The detection system according to claim 13, in, In the case where the intermediate node is located on the reference path, the intermediate node is also used to receive the monitoring indication sent by the convergence node, and as a reference node, monitors the node to be monitored adjacent to the node to be monitored, and determines whether the adjacent node to be monitored is a malicious node; wherein the monitoring indication includes: information on the node of the path to be detected in the previous detection cycle of the detection cycle corresponding to the reference path as information on the node to be monitored, and the information marker.

16. The detection system according to claim 15, in, The intermediate node is used to receive the environmental information and detection value sent by the node to be monitored; calculate the comparison value based on the environmental information, the information identifier and the preset encryption algorithm; compare the detection value with the comparison value to determine whether the node to be monitored is a malicious node.

17. The detection system according to claim 13, further comprising: include: A control center, used to receive malicious nodes reported by the aggregation node, and detect attack methods and device parameters of the malicious nodes; Eliminate the threat of the malicious node according to the attack means; Determine whether the malicious node belongs to a heterogeneous node according to the device parameters; In the case where the malicious node is a heterogeneous node, recording device parameters of the malicious node, and listing the malicious node in a blacklist for denying access to the wireless sensor network; In the case that the malicious node is a non-heterogeneous node, a security assessment is performed on the malicious node after the threat is eliminated, and the malicious node is recycled for reuse.