CN112689293A - Double-layer MAC sensor network control method, device and system - Google Patents

Double-layer MAC sensor network control method, device and system Download PDF

Info

Publication number
CN112689293A
CN112689293A CN202110296856.8A CN202110296856A CN112689293A CN 112689293 A CN112689293 A CN 112689293A CN 202110296856 A CN202110296856 A CN 202110296856A CN 112689293 A CN112689293 A CN 112689293A
Authority
CN
China
Prior art keywords
frame
node
address
destination address
sensor network
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.)
Granted
Application number
CN202110296856.8A
Other languages
Chinese (zh)
Other versions
CN112689293B (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.)
State Grid Information and Telecommunication Co Ltd
Beijing Smartchip Microelectronics Technology Co Ltd
Original Assignee
State Grid Information and Telecommunication Co Ltd
Beijing Smartchip Microelectronics 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 State Grid Information and Telecommunication Co Ltd, Beijing Smartchip Microelectronics Technology Co Ltd filed Critical State Grid Information and Telecommunication Co Ltd
Priority to CN202110296856.8A priority Critical patent/CN112689293B/en
Publication of CN112689293A publication Critical patent/CN112689293A/en
Application granted granted Critical
Publication of CN112689293B publication Critical patent/CN112689293B/en
Priority to PCT/CN2022/080272 priority patent/WO2022194030A1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/18Network planning tools
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention provides a method, a device and a system for controlling a double-layer MAC sensor network, belonging to the technical field of wireless communication. The method is applied to Access Points (APs) in a wireless sensor network, the APs in the wireless sensor network form a mesh network, and each AP manages a plurality of sensor nodes, and the method comprises the following steps: receiving a message frame and determining a frame type of the received message frame; and determining the processing mode of the message frame according to the frame type. The embodiment of the invention is suitable for the monitoring process of the power transmission line.

Description

Double-layer MAC sensor network control method, device and system
Technical Field
The invention relates to the technical field of wireless communication, in particular to a double-layer MAC sensor network control method, device and system applied to power transmission line monitoring.
Background
The wireless sensor network is an intelligent autonomous measurement and control network system which is formed by densely arranging a large number of ubiquitous tiny sensor nodes with communication and calculation capabilities in an unattended monitoring area and can autonomously complete specified tasks according to the environment.
The main problems of wireless sensor networks are signal coverage and energy consumption. The application of the wireless sensor network in the aspects of industrial monitoring and the like requires that the nodes are powered by batteries, the service life of the network is 2-3 years, and the problem of energy consumption is more prominent. In the existing wireless sensor network, a mesh network is used at a sensor node end, a decentralized node terminal and an area level convergence terminal are used to form the mesh network, and the area level convergence terminal is connected to a central terminal through a star network. The design has the defects that the system cannot be applied to the application of the ultra-long distance sensor arrangement nodes, and meanwhile, a mesh network is used in a large quantity at the sensor node end, so that the high energy consumption of a large quantity of nodes is caused, and the system is difficult to be applied to the maintenance-free harsh requirements of more than ten years, such as water meters, gas meters and the like.
Disclosure of Invention
The embodiment of the invention aims to provide a method, a device and a system for controlling a double-layer MAC sensor network, which solve the problems that the existing wireless sensor network cannot be applied to the arrangement of nodes of an ultra-long distance sensor, and the mesh network is used at the node end of the sensor in a large quantity, so that the energy consumption of a large number of nodes is high.
In order to achieve the above object, an embodiment of the present invention provides a method for controlling a dual-layer MAC sensor network, where the method is applied to an access point AP in a wireless sensor network, the APs in the wireless sensor network form a mesh network, and each AP manages a plurality of sensor nodes, and the method includes: receiving a message frame and determining a frame type of the received message frame; and determining the processing mode of the message frame according to the frame type.
Further, the determining a frame type of the received message frame comprises: and determining the frame type of the message frame according to the frame type identification in the received message frame.
Further, the determining, according to the frame type, a processing manner of the message frame includes: when the frame type of the message frame is determined to be the type of the data frame, judging whether a data destination address and a physical destination address in the data frame are consistent with an address corresponding to a local node; if the data destination address and the physical destination address in the data frame are consistent with the address corresponding to the local node, processing the data frame; and if the data destination address and the physical destination address in the data frame are inconsistent with any one of the addresses corresponding to the local node, discarding the data frame.
Further, the determining, according to the frame type, a processing manner of the message frame includes: when the frame type of the message frame is determined to be the type of the link state frame, extracting a physical source address and a physical destination address of the link state frame; checking whether the physical source address exists in a neighbor list managed by a local node; if the physical source address does not exist in the neighbor list, adding the physical source address into the neighbor list as a new neighbor node address; checking whether the physical destination address exists in a topological structure table managed by a local node; and if the physical destination address does not exist in the topological structure table, adding the physical destination address serving as a new destination node address into the topological structure table.
Further, the method further comprises: when receiving a message frame sent by a neighbor node, starting timing; and if the timed time exceeds the set time, the message frame sent by the neighbor node is not received, and the neighbor list managed by the local node and the information of the neighbor node in the topological structure list are deleted.
Furthermore, the APs in a mesh network are managed by a backhaul node, and all the APs in a mesh network communicate with each other by using the same frequency channel.
Further, different frequency channels are adopted between different APs and sensor nodes managed correspondingly.
Correspondingly, an embodiment of the present invention further provides a dual-layer MAC sensor network control apparatus, where the apparatus is applied to an AP in a wireless sensor network, the APs in the wireless sensor network form a mesh network, and each AP manages a plurality of sensor nodes, and the apparatus includes: a receiving module for receiving a message frame; a type determination module for determining a frame type of the received message frame; and the processing module is used for determining the processing mode of the message frame according to the frame type.
Further, the type determination module is further configured to: and determining the frame type of the message frame according to the frame type identification in the received message frame.
Further, the processing module is further configured to: when the frame type of the message frame is determined to be the type of the data frame, judging whether a data destination address and a physical destination address in the data frame are consistent with an address corresponding to a local node; if the data destination address and the physical destination address in the data frame are consistent with the address corresponding to the local node, processing the data frame; and if the data destination address and the physical destination address in the data frame are inconsistent with any one of the addresses corresponding to the local node, discarding the data frame.
Further, the processing module is further configured to: when the frame type of the message frame is determined to be the type of the link state frame, extracting a physical source address and a physical destination address of the link state frame; checking whether the physical source address exists in a neighbor list managed by a local node; if the physical source address does not exist in the neighbor list, adding the physical source address into the neighbor list as a new neighbor node address; checking whether the physical destination address exists in a topological structure table managed by a local node; and if the physical destination address does not exist in the topological structure table, adding the physical destination address serving as a new destination node address into the topological structure table.
Further, the apparatus further comprises: the timing module is used for starting timing when receiving the message frame sent by the neighbor node; the processing module is further configured to: and if the timed time exceeds the set time, the message frame sent by the neighbor node is not received, and the neighbor list managed by the local node and the information of the neighbor node in the topological structure list are deleted.
Correspondingly, an embodiment of the present invention further provides a dual-layer MAC sensor network control system, where the system includes: the system comprises a plurality of sensor nodes, a plurality of Access Points (AP) comprising the double-layer MAC sensor network control device, a plurality of return nodes and a central server, wherein the AP managed by one return node forms a mesh network, each AP and the plurality of sensor nodes form a star network, and the plurality of return nodes are connected with the central server.
Furthermore, all APs in a mesh network communicate with each other by using the same frequency channel, and different APs and sensor nodes managed correspondingly by the APs use different frequency channels.
According to the technical scheme, the problems that the conventional wireless sensor network cannot be applied to the ultra-long distance sensor arrangement nodes and a large amount of mesh networks are used at the sensor node end, so that the high energy consumption of a large amount of nodes is caused are solved.
Additional features and advantages of embodiments of the invention will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the embodiments of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the embodiments of the invention without limiting the embodiments of the invention. In the drawings:
fig. 1 is a schematic diagram of a two-layer MAC sensor network control system according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating an internal architecture of a sensor node, an AP, and a backhaul node according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a control method for a dual-layer MAC sensor network according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a frame format of a message frame according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a dual-layer MAC sensor network control device according to an embodiment of the present invention.
Detailed Description
The following detailed description of embodiments of the invention refers to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating embodiments of the invention, are given by way of illustration and explanation only, not limitation.
In the prior art, a mesh network is formed among sensor nodes, and then an AP is connected to a central terminal through a star network. The design has the defects that the system cannot be applied to the application of the ultra-long distance sensor nodes, and meanwhile, a mesh network is used in a large number of sensor nodes, so that the high energy consumption of a large number of nodes is caused, and the system is difficult to be applied to the maintenance-free harsh requirements of more than ten years, such as water meters, gas meters and the like. Therefore, the embodiment of the present invention is shown in fig. 1, and provides a dual-layer MAC sensor network control system, which includes a plurality of sensor nodes 11, a plurality of access points AP 12, a plurality of backhaul nodes 13, and a central server 14, where an AP managed by one backhaul node forms a mesh network, an AP in the mesh network can perform multi-hop routing, and finally access to a single backhaul node, each AP forms a star network with a plurality of sensor nodes, and the plurality of backhaul nodes are connected to the central server through 2/3/4/5G wireless communication technology or ethernet technology.
All the APs in a mesh network adopt the same frequency channel for communication, different APs and sensor nodes correspondingly managed by the different APs adopt different frequency channels, and the mechanism can avoid the interference between the different APs to the maximum extent.
In addition, the MAC protocol stack in the embodiment of the invention only exists in the MAC layer, and is irrelevant to the IP layer and the network layer, so the design has the advantages that the frame length and the protocol complexity are greatly reduced, the protocol routing forwarding is also realized in the MAC layer, the huge IP layer routing and the redundancy of the frame structure are avoided, the MAC layer routing refers to the routing protocol working in the MAC layer, and the routing protocol is fused with the basic functions (such as collision detection, retransmission mechanism and the like) of the MAC layer for realization. As shown in fig. 2, the diagram is an internal architecture of a sensor node, an AP and a backhaul node, where the sensor node and the backhaul node are designed for a single MAC, the AP is designed for a dual MAC and a dual PHY, the LMAC is a lower-layer-oriented MAC, i.e., a MAC of the sensor node, and the HMAC is an upper-layer-oriented MAC, i.e., other APs or backhaul nodes in the same mesh network. Also the LMAC and HMAC may differ in principle, e.g. LMAC may use 802.15.4, HMAC may use lora technology etc.
In addition, the backhaul node has a database function locally, and the purpose is to achieve double backup of data at the central server and the backhaul node. The backhaul node and the central server simultaneously back up the sensor data of each sensor node in order to avoid data loss, and the lost data can be recovered when needed. The sensor node uses an arm cortiex M0 series MCU, the AP and the backhaul node uses an arm cortiex M7 series MCU, and the M7 series MCU has enough memory space to store and backup node data.
In addition, the star network is used at the sensor node at the bottommost layer, and the mesh network is used at the AP layer, so that the network is very suitable for the application of a transmission line tower which extends for tens of kilometers. An AP is installed on each tower to manage the sensor nodes mounted on the towers, and meanwhile, data gathered by the AP of each tower can be uploaded to a certain return node through a mesh network. For example, if the above system is applied to the field of power transmission and distribution, each AP may support 250 sensor nodes, and there are 50 APs in total, so that 12500 sensor nodes may be supported in total. The route transmission time is 50 hops, the data return time is 600ms, and the maximum coverage range is 50 Km.
According to the system provided by the embodiment of the invention, the star network is used at the sensor node at the bottom layer, the mesh is used at the AP at the upper layer, the coverage area of the AP can be greatly prolonged, the system is suitable for long-distance coverage of tens of kilometers, and the power consumption of each sensor node at the bottom layer is approximately the same because the star network is used at the bottom layer and multi-hop routing is not needed, so that the sensor nodes at the bottom layer can be kept consistent in the aspect of low power consumption. In addition, as each sensor node in the star network is in a normal sleep state, the mechanism of waking up when needed can achieve very low power consumption, so that the service life of battery power supply reaching 10 years becomes possible. This is important because in some special industries, once the device is deployed at a high distance from the ground, it is costly to re-maintain and replace the batteries.
Fig. 3 is a flowchart illustrating a method for controlling a dual-layer MAC sensor network according to an embodiment of the present invention. As shown in fig. 3, the method is applied to access points AP in a wireless sensor network, and the APs in the wireless sensor network form a mesh network, and each AP manages a plurality of sensor nodes, and the method includes the following steps:
step 301, receiving a message frame and determining a frame type of the received message frame;
step 302, determining the processing mode of the message frame according to the frame type.
In the embodiment of the invention, the routing is realized at the MAC layer, so that the situation that the IP address of 20 bytes occupies larger bandwidth in transmission is avoided, and the operation of encapsulation and decapsulation at the network layer is also avoided. The main strategy is to mix the MAC layer function and the routing function and realize the mixing in the MAC layer. Routing function is carried out at MAC layer, two kinds of addresses are needed to be defined, one is physical address which is equivalent to MAC address, the other is data address which is similar to IP address in TCP/IP, but only occupies 1 byte and is far smaller than IP address.
In order to realize the function of the routing protocol, two message frames processed at the MAC layer are designed, namely a data frame and a link state frame. The link state frame includes link state information, and needs to be periodically sent to the neighboring AP node to acquire the topology structure of the entire network, and the data frame includes data of the sensor node. Regardless of the message frame, the frame format shown in fig. 4 includes 18 bytes of frame header flag, frame type, frame sequence number, physical source address, physical destination address, data source address, and data destination address. The frame types of the two message frames are different from the data content, and the rest of the content is the same.
In addition, each AP maintains a neighbor list, routing table, and topology table at the local node. The whole network topology is known by exchanging link states and the best route is given. The neighbor list includes neighbor node addresses and corresponding receiving times. The topology structure of the whole network is maintained in the topology structure table, and the topology structure table is the basis for establishing the routing table. All information is obtained from link state packets sent from the APs to each other. The topological structure table contains relevant records of each reachable destination node, including destination node address, destination node current sequence number, receiving time, node neighbor list and needleToSend mark. And after the link state information packet is acquired, updating the topological structure table and rebuilding the routing table. The needletosend flag is used to identify whether the record needs to be added to the link state update message. The routing table provides the next hop node information from the node to the destination node address, and the routing table is established and updated based on the topology table. The routing table includes destination node address, next hop address and distance, and the distance is measured by hop count. In addition, in the routing protocol, each node needs to periodically send link state information to a neighboring node, and learn the entire network topology through the link state information. The link state information packet contains address information of each destination node and its neighbor nodes.
After the local node receives the message frame in step 301, the frame type of the message frame may be determined according to the frame type identifier in the received message frame.
When it is determined in step 301 that the frame type of the message frame received by the local node is the type of the data frame, it is determined whether a data destination address and a physical destination address in the data frame are correspondingly consistent with a data destination address and a physical destination address in the local node. And if the data frames are consistent, receiving the data frames, not forwarding the data frames, and directly processing the data frames by the local node. And if the data frames are inconsistent, discarding the data frames.
When it is determined in step 301 that the frame type of the message frame received by the local node is the type of the link state frame, a physical source address and a physical destination address of the link state frame are extracted. Checking whether the physical source address exists in a neighbor list managed by a local node, if the physical source address does not exist in the neighbor list, indicating that a new neighbor node is found, adding the physical source address as a new neighbor node address into the neighbor list, if the physical source address does not exist in the neighbor list, indicating that the physical source address is not a new neighbor node, and updating the receiving time corresponding to the neighbor node address in the neighbor list. And then checking whether the physical destination address exists in a topological structure table managed by the local node, if the physical destination address does not exist in the topological structure table, indicating that a new destination node is found, adding the physical destination address as a new destination node address into the topological structure table, and setting a needleToSend flag to be true. If the frame sequence number is the same as the sequence number corresponding to the destination node address in the topological structure table, updating the receiving time, if the frame sequence number is not the same as the sequence number corresponding to the destination node address in the topological structure table, updating the sequence number, and setting the needleToSend flag to be 'true'. And meanwhile, after the physical destination address is added into the topological structure table as a new destination node address, or the frame sequence number is different from the sequence number corresponding to the destination node address in the topological structure table, updating the link state information, sending the related information of the destination node address with the mark set as true, and updating the routing table.
In addition, in an implementation manner of the embodiment of the present invention, when receiving a message frame sent by a neighbor node, timing is started, and if the message frame sent by the neighbor node is not received when the timed time exceeds a set time, it is determined that the link has crashed, and information of the neighbor node in a neighbor list and a topology structure table managed by a local node is deleted.
The embodiment of the invention solves the problems that the existing wireless sensor network cannot be applied to the super-long distance sensor arrangement nodes and the mesh network is used in a large quantity at the sensor node end, so that the high energy consumption of a large quantity of nodes is caused.
Fig. 5 is a schematic structural diagram of a dual-layer MAC sensor network control device according to an embodiment of the present invention. The apparatus is applied to an AP in a wireless sensor network, and the APs in the wireless sensor network form a mesh network, and each AP manages a plurality of sensor nodes, the apparatus 50 includes: a receiving module 51, configured to receive a message frame; a type determining module 52 for determining a frame type of the received message frame; and the processing module 53 is configured to determine a processing mode of the message frame according to the frame type.
Further, the type determination module is further configured to: and determining the frame type of the message frame according to the frame type identification in the received message frame.
Further, the processing module is further configured to: when the frame type of the message frame is determined to be the type of the data frame, judging whether a data destination address and a physical destination address in the data frame are consistent with an address corresponding to a local node; if the data destination address and the physical destination address in the data frame are consistent with the address corresponding to the local node, processing the data frame; and if the data destination address and the physical destination address in the data frame are inconsistent with any one of the addresses corresponding to the local node, discarding the data frame.
Further, the processing module is further configured to: when the frame type of the message frame is determined to be the type of the link state frame, extracting a physical source address and a physical destination address of the link state frame; checking whether the physical source address exists in a neighbor list managed by a local node; if the physical source address does not exist in the neighbor list, adding the physical source address into the neighbor list as a new neighbor node address; checking whether the physical destination address exists in a topological structure table managed by a local node; and if the physical destination address does not exist in the topological structure table, adding the physical destination address serving as a new destination node address into the topological structure table.
Further, as shown in fig. 5, the apparatus further includes: a timing module 54, configured to start timing when receiving a message frame sent by a neighboring node; the processing module is further configured to: and if the timed time exceeds the set time, the message frame sent by the neighbor node is not received, and the neighbor list managed by the local node and the information of the neighbor node in the topological structure list are deleted.
For more details of the apparatus according to the embodiment of the present invention, reference may be made to the description of the method for controlling a dual-layer MAC sensor network in the embodiment, and the same or corresponding technical effects as those of the method for controlling a dual-layer MAC sensor network described above can be obtained, so that the details are not repeated herein.
Correspondingly, the embodiment of the present invention further provides a machine-readable storage medium, where the machine-readable storage medium has instructions stored thereon, and the instructions are used to enable a machine to execute the dual-layer MAC sensor network control method described in the foregoing embodiment.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (14)

1. A control method for a double-layer MAC sensor network is applied to Access Points (APs) in a wireless sensor network, the APs in the wireless sensor network form a mesh network, and each AP manages a plurality of sensor nodes, and the method comprises the following steps:
receiving a message frame and determining a frame type of the received message frame;
and determining the processing mode of the message frame according to the frame type.
2. The dual-layer MAC sensor network control method of claim 1, wherein the determining a frame type of the received message frame comprises:
and determining the frame type of the message frame according to the frame type identification in the received message frame.
3. The method of claim 1, wherein determining the processing mode of the message frame according to the frame type comprises:
when the frame type of the message frame is determined to be the type of the data frame, judging whether a data destination address and a physical destination address in the data frame are consistent with an address corresponding to a local node;
if the data destination address and the physical destination address in the data frame are consistent with the address corresponding to the local node, processing the data frame;
and if the data destination address and the physical destination address in the data frame are inconsistent with any one of the addresses corresponding to the local node, discarding the data frame.
4. The method of claim 1, wherein determining the processing mode of the message frame according to the frame type comprises:
when the frame type of the message frame is determined to be the type of the link state frame, extracting a physical source address and a physical destination address of the link state frame;
checking whether the physical source address exists in a neighbor list managed by a local node;
if the physical source address does not exist in the neighbor list, adding the physical source address into the neighbor list as a new neighbor node address;
checking whether the physical destination address exists in a topological structure table managed by a local node;
and if the physical destination address does not exist in the topological structure table, adding the physical destination address serving as a new destination node address into the topological structure table.
5. The dual-layer MAC sensor network control method of claim 1, further comprising:
when receiving a message frame sent by a neighbor node, starting timing;
and if the timed time exceeds the set time, the message frame sent by the neighbor node is not received, and the neighbor list managed by the local node and the information of the neighbor node in the topological structure list are deleted.
6. The dual-layer MAC sensor network control method of claim 1, wherein the APs in a mesh network are managed by a backhaul node, and all APs in a mesh network communicate with each other using the same frequency channel.
7. The dual-layer MAC sensor network control method of claim 1, wherein different frequency channels are used between different APs and their corresponding managed sensor nodes.
8. A double-layer MAC sensor network control device is applied to Access Points (APs) in a wireless sensor network, the APs in the wireless sensor network form a mesh network, and each AP manages a plurality of sensor nodes, and the device comprises:
a receiving module for receiving a message frame;
a type determination module for determining a frame type of the received message frame;
and the processing module is used for determining the processing mode of the message frame according to the frame type.
9. The dual-layer MAC sensor network control of claim 8, wherein the type determination module is further configured to:
and determining the frame type of the message frame according to the frame type identification in the received message frame.
10. The dual-layer MAC sensor network control device of claim 8, wherein the processing module is further configured to:
when the frame type of the message frame is determined to be the type of the data frame, judging whether a data destination address and a physical destination address in the data frame are consistent with an address corresponding to a local node;
if the data destination address and the physical destination address in the data frame are consistent with the address corresponding to the local node, processing the data frame;
and if the data destination address and the physical destination address in the data frame are inconsistent with any one of the addresses corresponding to the local node, discarding the data frame.
11. The dual-layer MAC sensor network control device of claim 8, wherein the processing module is further configured to:
when the frame type of the message frame is determined to be the type of the link state frame, extracting a physical source address and a physical destination address of the link state frame;
checking whether the physical source address exists in a neighbor list managed by a local node;
if the physical source address does not exist in the neighbor list, adding the physical source address into the neighbor list as a new neighbor node address;
checking whether the physical destination address exists in a topological structure table managed by a local node;
and if the physical destination address does not exist in the topological structure table, adding the physical destination address serving as a new destination node address into the topological structure table.
12. The dual-layer MAC sensor network control device of claim 8, wherein the device further comprises:
the timing module is used for starting timing when receiving the message frame sent by the neighbor node;
the processing module is further configured to:
and if the timed time exceeds the set time, the message frame sent by the neighbor node is not received, and the neighbor list managed by the local node and the information of the neighbor node in the topological structure list are deleted.
13. A dual-layer MAC sensor network control system, the system comprising: a plurality of sensor nodes, a plurality of access points AP comprising a dual-layer MAC sensor network control device according to any of claims 8-12, a plurality of backhaul nodes, and a central server, wherein the APs managed by one backhaul node constitute a mesh network, each AP constitutes a star network with a plurality of sensor nodes, and the plurality of backhaul nodes are all connected with the central server.
14. The dual-layer MAC sensor network control system of claim 13, wherein all APs in a mesh network communicate with each other using the same frequency channel, and different APs and their corresponding managed sensor nodes use different frequency channels.
CN202110296856.8A 2021-03-19 2021-03-19 Double-layer MAC sensor network control method, device and system Active CN112689293B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110296856.8A CN112689293B (en) 2021-03-19 2021-03-19 Double-layer MAC sensor network control method, device and system
PCT/CN2022/080272 WO2022194030A1 (en) 2021-03-19 2022-03-11 Double-layer mac sensor network control method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110296856.8A CN112689293B (en) 2021-03-19 2021-03-19 Double-layer MAC sensor network control method, device and system

Publications (2)

Publication Number Publication Date
CN112689293A true CN112689293A (en) 2021-04-20
CN112689293B CN112689293B (en) 2021-06-22

Family

ID=75455690

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110296856.8A Active CN112689293B (en) 2021-03-19 2021-03-19 Double-layer MAC sensor network control method, device and system

Country Status (2)

Country Link
CN (1) CN112689293B (en)
WO (1) WO2022194030A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113904941A (en) * 2021-09-24 2022-01-07 绿盟科技集团股份有限公司 Method and system for generating topological graph and electronic equipment
WO2022194030A1 (en) * 2021-03-19 2022-09-22 北京智芯微电子科技有限公司 Double-layer mac sensor network control method, apparatus and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103281321A (en) * 2013-05-24 2013-09-04 航天东方红卫星有限公司 Satellite-borne FlexRay bus dynamic segment communication method
CN108111483A (en) * 2017-11-29 2018-06-01 浙江工商大学 A kind of MAC protocol design method at long range Wireless Mesh network
US20190075073A1 (en) * 2015-04-02 2019-03-07 Google Llc Efficient Network Stack for Wireless Application Protocols
US20200389854A1 (en) * 2017-10-18 2020-12-10 Inesc Tec - Instituteo De Engenharia De Sistemas E Computadores, Tecnologia E Ciencia Interference aware transmission power control method and device for ieee 802.11 based wireless network with nodes having a directional antenna
CN112291732A (en) * 2020-10-19 2021-01-29 中国科学院自动化研究所 Environment monitoring system, method and device based on mixed mode ad hoc network structure
US20210076234A1 (en) * 2017-01-09 2021-03-11 Nxgen Partners Ip, Llc Point-to-multipoint or multipoint-to-multipoint mesh self-organized network over wigig standards with new mac layer

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101286911B (en) * 2008-03-05 2011-05-18 中国科学院嘉兴无线传感网工程中心 Networking method of wireless sensor network based on combination of cluster and Mesh
CN101754423A (en) * 2008-12-19 2010-06-23 中国科学院沈阳自动化研究所 Industrial wireless communication method based on IEEE802.15.4
US10264407B2 (en) * 2015-06-25 2019-04-16 The Board Of Trustees Of The University Of Alabama Intelligent multi-bean medium access control in ku-band for mission-oriented mobile mesh networks
CN106561060A (en) * 2016-12-14 2017-04-12 天津新绿物联科技有限公司 Wireless sensor network system for collecting agricultural production information
CN107396418A (en) * 2017-07-10 2017-11-24 西安电子科技大学 The implementation method of non-stop layer self-organizing network based on LoRa
CN109660408A (en) * 2019-01-28 2019-04-19 博频云彩(北京)科技有限公司 A kind of multi-layer distribution internet of things data source service registration and access mechanism
CN112689293B (en) * 2021-03-19 2021-06-22 北京智芯微电子科技有限公司 Double-layer MAC sensor network control method, device and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103281321A (en) * 2013-05-24 2013-09-04 航天东方红卫星有限公司 Satellite-borne FlexRay bus dynamic segment communication method
US20190075073A1 (en) * 2015-04-02 2019-03-07 Google Llc Efficient Network Stack for Wireless Application Protocols
US20210076234A1 (en) * 2017-01-09 2021-03-11 Nxgen Partners Ip, Llc Point-to-multipoint or multipoint-to-multipoint mesh self-organized network over wigig standards with new mac layer
US20200389854A1 (en) * 2017-10-18 2020-12-10 Inesc Tec - Instituteo De Engenharia De Sistemas E Computadores, Tecnologia E Ciencia Interference aware transmission power control method and device for ieee 802.11 based wireless network with nodes having a directional antenna
CN108111483A (en) * 2017-11-29 2018-06-01 浙江工商大学 A kind of MAC protocol design method at long range Wireless Mesh network
CN112291732A (en) * 2020-10-19 2021-01-29 中国科学院自动化研究所 Environment monitoring system, method and device based on mixed mode ad hoc network structure

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022194030A1 (en) * 2021-03-19 2022-09-22 北京智芯微电子科技有限公司 Double-layer mac sensor network control method, apparatus and system
CN113904941A (en) * 2021-09-24 2022-01-07 绿盟科技集团股份有限公司 Method and system for generating topological graph and electronic equipment
CN113904941B (en) * 2021-09-24 2023-11-03 绿盟科技集团股份有限公司 Method, system and electronic device for generating topological graph

Also Published As

Publication number Publication date
CN112689293B (en) 2021-06-22
WO2022194030A1 (en) 2022-09-22

Similar Documents

Publication Publication Date Title
CN112689293B (en) Double-layer MAC sensor network control method, device and system
WO2022037322A1 (en) Network topology management system and method for home networking
AU2018374839B2 (en) Limiting forwarding of multicast communications
US11290295B2 (en) Multi-network operation with member node for multicast groups
CN111739275B (en) Control method, control device, control equipment and storage medium for dual-mode communication
US10419231B2 (en) Multi-network operation for multicast groups
US20210058326A1 (en) Partial source routing for cross-network routing
CN102255807A (en) Multipath segmental routing method based on multihop network with master-slave structure
WO2015146066A1 (en) Wireless terminal, metering device, and communication control method
BRPI0711413A2 (en) System and Method for Distributing Proxying Error Information on Wireless Networks
US20140341105A1 (en) Method and apparatus for managing multi-hop relay networks
KR20120055660A (en) Address stripping in a meter reading wireless mesh network and associated system
CN111148176B (en) Routing method and device for wireless ad hoc network
KR20120056275A (en) Registration of a new node to a meter reading wireless mesh network and associated system
CN102577518A (en) Method for establishing a bidirectional communication path in a wireless network
CN106604344A (en) Power utilization information system based on RPL and networking and communication method thereof
CN112954727B (en) Tunnel wireless sensor network communication method and system
CN108075978B (en) Message sending method, node configuration method and related equipment
CN112770280A (en) Wireless communication method for Internet of things
CN105072043A (en) Method for optimizing client declaration process in MESH network routing protocol
KR101751891B1 (en) Controller, apparatus and method, for topology discovery and peer detection based on openflow in openflow wireless mesh network environment
CN112929184A (en) Gateway equipment for connecting Internet of things sensing equipment and electric power information acquisition equipment
CN114374639A (en) Air awakening-based LoRa-Mesh networking method and mobile terminal networking method
CN112423364A (en) Wireless mobile ad hoc communication method and system
CN110650510A (en) Low-power-consumption wide-area multi-hop networking method and system based on software definition

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
GR01 Patent grant
GR01 Patent grant