摘要
为了减小无线传感器网络(Wireless Sensor Network, WSN)溯源中节点的能量消耗,本文通过部署嗅探节点的方式进行溯源。随着网络规模的扩大,这种方式与传统溯源方式相比,将大大减少能量的消耗。首先,实现了基于CTP(Collection Tree Protocol)协议的多跳网络。然后,在多跳网络的基础上安排嗅探节点,并对封装信息进行一定的更改。每个节点封装自己的ID并发送。当网络中增加节点时,嗅探节点就能够嗅探到该ID信息。通过串口发送到PC机,通过分析PC机上串口助手接收到的数据就能够得到路径信息。实验结果表明,通过部署嗅探节点的方式溯源,能够大大减少能量的消耗。随着网络规模的增大,这种方式的优势会更加明显。
In order to reduce the energy consumption of nodes in Wireless Sensor Network (WSN) source tracing, this paper deploys sniffing nodes for source tracing. With the expansion of the network scale, this method will greatly reduce energy consumption compared with the traditional source tracing method. First, a multi-hop network based on the Collection Tree Protocol (CTP) protocol is implemented. Then, the sniffing nodes are arranged on the basis of the multi-hop network, and the encapsulated information is changed to some extent. Each node encapsulates its own ID and sends it. When a node is added to the network, the sniffing node can sniff the ID information, and then send it to the PC through the serial port. The path information can be obtained by analyzing the data received by the serial port assistant on the PC. The experimental results show that energy consumption can be greatly reduced by deploying sniffer nodes to trace the source. With the increase in network size, the advantages of this method will become more obvious.
出处
《软件工程与应用》
2022年第5期968-975,共8页
Software Engineering and Applications