CN107071825B - wireless mesh network message interaction method and system - Google Patents
wireless mesh network message interaction method and system Download PDFInfo
- Publication number
- CN107071825B CN107071825B CN201710075906.3A CN201710075906A CN107071825B CN 107071825 B CN107071825 B CN 107071825B CN 201710075906 A CN201710075906 A CN 201710075906A CN 107071825 B CN107071825 B CN 107071825B
- Authority
- CN
- China
- Prior art keywords
- port
- message
- feature
- library
- characteristic
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 31
- 230000003993 interaction Effects 0.000 title claims abstract description 19
- 230000008569 process Effects 0.000 claims description 9
- 238000012423 maintenance Methods 0.000 claims description 3
- 230000006855 networking Effects 0.000 description 11
- 238000000605 extraction Methods 0.000 description 4
- 239000000284 extract Substances 0.000 description 3
- 101100172132 Mus musculus Eif3a gene Proteins 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 238000009825 accumulation Methods 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/021—Traffic management, e.g. flow control or congestion control in wireless networks with changing topologies, e.g. ad-hoc networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W40/00—Communication routing or communication path finding
- H04W40/24—Connectivity information management, e.g. connectivity discovery or connectivity update
- H04W40/248—Connectivity information update
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W74/00—Wireless channel access
- H04W74/08—Non-scheduled access, e.g. ALOHA
- H04W74/0808—Non-scheduled access, e.g. ALOHA using carrier sensing, e.g. carrier sense multiple access [CSMA]
- H04W74/0825—Non-scheduled access, e.g. ALOHA using carrier sensing, e.g. carrier sense multiple access [CSMA] with collision detection
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/18—Self-organising networks, e.g. ad-hoc networks or sensor networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Small-Scale Networks (AREA)
Abstract
The application discloses wireless mesh network message interaction method, which comprises the steps of receiving a th message sent by second equipment through a port, judging whether a th characteristic quantity is stored in a characteristic library, if so, prohibiting the th message from being sent to the second equipment through a second port, if not, judging whether a second characteristic quantity is stored in the characteristic library, if so, forwarding a th message through a port or a second port, if not, saving the characteristic quantity of th equipment as a th characteristic quantity of a th message to obtain a second message, and forwarding the second message through a port or a second port.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an wireless mesh network message interaction method and system.
Background
With the development of society, a wired network or a wireless network is difficult to satisfy all application occasions, so that the wired network and the wireless network are in hybrid connection to form a mesh network architecture together to form a wireless mesh network.
The wireless mesh network is also called a multi-hop network, adopts a centerless wireless ad hoc network architecture, and is novel wireless network technologies completely different from the traditional centered wireless network.
In the application process of a wireless Mesh network ad hoc network system, wired direct connection is carried out between any equipment nodes in the system to form wired and wireless mixed connection, a wireless communication blind area can be covered, the problem that throughput attenuation of a multi-hop link in the wireless Mesh ad hoc network system is serious is solved, and additional problems, namely network loop, are often brought, if the problem of network loop is not solved, a in the network broadcasts a message, and after the message enters a loop, the message is continuously and circularly copied, forwarded and broadcasted, and cannot be finished, if no solving measures aiming at the network loop are adopted, countless data packets which cannot reach a target network in the network are filled along with time accumulation, so that the network broadcasts a storm is caused, the network is broken, the loop can generate MAC (Multiple Access Channel) address drift, so that the network is interrupted, and equipment nodes in the wireless Mesh ad hoc network system have a learning function, and equipment nodes in the network only send broadcast a message, and the MAC address is directly learned in a network table, so that the MAC address table is directly interrupted.
As shown in fig. 1, the device N1 receives -broadcast -th packets from the port L1, enters the wireless Mesh network through the port W1, and is transmitted through the wireless Mesh network, the -broadcast -th packets are received by the device N2 from the port W2 and forwarded to the port L2, and if there is no loop avoidance mechanism, the -broadcast -th packets are sent from the port L2 to the port L1 of the device N1, so as to form a loop.
Disclosure of Invention
In view of this, the present invention provides methods for interacting messages in a wireless Mesh network, which solve the problem of network loop when a wired + wireless hybrid topology exists in a wireless Mesh ad hoc network system, reduce the occupation of wireless bandwidth, and reduce the probability of occurrence of CSMA/CD (Carrier Sense Multiple Access with collision detection) collision retransmission in a wireless network, thereby improving the throughput of the Mesh network, and the specific schemes are as follows:
A wireless mesh network message interaction method is applied to the equipment, and comprises the following steps:
receiving a th message sent by the second device by utilizing the th port;
judging whether the th characteristic quantity in the th message is stored in a characteristic library;
if yes, prohibiting the th message from being sent to the second device through a second port;
if not, judging whether a second characteristic quantity in the th message is stored in the characteristic library or not;
if yes, forwarding the th message through the th port or the second port;
if not, saving the characteristic quantity of the th device as the th characteristic quantity of the th message to obtain a second message, and forwarding the second message through the th port or the second port;
wherein the th port is of a different type than the second port.
Preferably, the method further comprises the following steps: and maintaining the feature library regularly, and deleting the failure feature quantity of the corresponding ANNOUNCE message which is not received in a preset time.
Preferably, the forwarding the th packet through the th port or the second port includes:
and forwarding the th message through a LAN port.
Preferably, the feature library generation process includes:
receiving a historical ANNOUNCE message sent by equipment through an LAN port;
extracting characteristic quantity from the historical ANNOUNCE message;
and storing the characteristic quantity to obtain the characteristic library.
The invention also discloses wireless mesh network message interaction systems, which are applied to equipment and comprise:
the receiving module is used for receiving the th message sent by the second equipment by utilizing the th port;
an th judgment module, configured to judge whether the th message contains the th feature quantity in the feature library;
a prohibition module, configured to prohibit the th packet from being sent to the second device through a second port when the th determination module determines that the th feature quantity is stored in the feature library;
a second determining module, configured to determine whether a second feature quantity in the message is stored in the feature library when the th determining module determines that the th feature quantity is not stored in the feature library;
an forwarding module, configured to forward the th packet through the th port or the second port when the th determining module determines that the second feature amount is stored in the feature library;
a second forwarding module, configured to, when the th determining module determines that the second feature quantity is not stored in the feature library, store the feature quantity of the th device as the th feature quantity of the th packet, to obtain a second packet, and forward the second packet through the th port or the second port;
wherein the th port is of a different type than the second port.
Preferably, the method further comprises the following steps:
and the maintenance module is used for maintaining the feature library regularly and deleting the failure feature quantity of the corresponding ANNOUNCE message which is not received in the preset time.
Preferably, the th forwarding module is specifically configured to forward the th packet through a LAN port.
Preferably, the th judging module includes:
a receiving unit, configured to receive a historical ANNOUNCE message sent by a device through a LAN port;
an extracting unit, configured to extract a feature quantity from the historical ANNOUNCE message;
and the characteristic library generating unit is used for storing the characteristic quantity to obtain the characteristic library.
The method for wireless Mesh network message interaction comprises the steps of receiving a message sent by a second device through a port, judging whether a second characteristic quantity in a 0 message is stored in a characteristic library, if so, prohibiting an th message from being sent to the second device through the second port, if not, judging whether the characteristic quantity in a th message is stored in the characteristic library as a second characteristic quantity in a th message, if so, forwarding a th message through an th port or a second port, if not, saving the characteristic quantity of an 6 th device as a 7 th characteristic quantity of an th message to obtain a second message, and forwarding the second message through a th port or a second port, wherein the types of the th port and the second port are different, so that when the th device receives the 361 th message sent by the second device, extracting the second characteristic quantity and the second characteristic quantity from the th message, and if the second message is forwarded through the second port, judging whether the second characteristic quantity is directly connected with the second device, if the second message is directly forwarded by a , and the second device is capable of directly forwarding the second message through a , if the second port, judging whether the second message is directly connected with the second characteristic quantity stored with the second , if the second device, the second message is directly connected with the second characteristic quantity is directly connected with the second device, if the second device, the second , if the second characteristic quantity is directly forwarded characteristic quantity is reduced, and the second characteristic quantity is directly forwarded by a , and the wireless Mesh network, if the second device, the wireless Mesh network, if the wireless Mesh network is directly connected , the wireless Mesh network, if the wireless Mesh network, and the wireless Mesh network, if the wireless Mesh network is capable of directly forwarding is not, the wireless Mesh network is capable of the wireless Mesh network, and the wireless Mesh network, if the wireless Mesh network is capable of directly connected , if the wireless Mesh network, the wireless.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a diagram illustrating network loops in the prior art;
fig. 2 is a schematic flow chart of an wireless mesh network message interaction method according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of another wireless mesh network message interaction methods according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an wireless mesh network message interaction system according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only partial embodiments of of the present invention, rather than all embodiments.
The embodiment of the invention discloses an wireless mesh network message interaction method, which is applied to equipment and shown in figure 2, and comprises the following steps:
and S11, receiving the th message sent by the second device through the th port.
Specifically, the current device serves as an th device, and receives a th packet sent by the second device through the th port, where the second device may send through a LAN (Local Area Network) port or a WLAN (Wireless Local Area Network) port, the th port of the th device may also be a LAN port or a WLAN port, and the type of the sending port of the second device is the same as that of the receiving port of the th device.
It can be understood that the th port is always of a different type from the second port, for example, the th port is not a LAN port, the second port is also a LAN port, the th port is a LAN port, the second port is a WLAN port, the second device is a transmitting device, and the th device is a receiving device.
And step S12, judging whether the th characteristic quantity in the th message is stored in the characteristic library.
It should be noted that, in practical applications, all devices in a networking are connected through a wireless network, but in application cases, wireless network signals between the devices are poor or data exchange amount is large, and a simple wireless connection is difficult to meet requirements, for example, in a high-rise building, devices are allocated to each 3 floors, and for reasons between 6 floors and 9 floors, wireless signal strength is insufficient, so that data interaction between two layers of devices is difficult, and therefore, the two devices are wired and directly connected through a network cable.
It can be understood that before the th characteristic quantity is judged, extraction is required from the th message, extraction can be carried out after the th message is received, or extraction can be carried out before judgment, and since the th message contains the th characteristic quantity, only the th characteristic quantity needs to be extracted from the th message for subsequent judgment, and improvement on the th message is not required.
The second characteristic quantity may be a destination MAC, but of course, the second characteristic quantity may also be other characteristic information capable of indicating th message destination device, and is not limited herein.
Specifically, in order to prevent loops from being generated between or more types of devices connected by links, the extracted -th feature quantity is used for judgment, the -th device judges whether the -th feature quantity is stored in the feature library of the -th device, if the -th feature quantity is stored, the fact that the second device and the -th device are not only in wireless connection but also in wired and direct connection is maintained is indicated, and if the -th feature quantity is not stored, the fact that the second device and the -th device are not in wired and direct connection is indicated.
And step S13, if yes, prohibiting the th message from being sent to the second device through the second port.
Specifically, when it is determined that the th device determines that the th feature amount is stored in the feature library of the device, the second port of the th device, that is, the port that does not receive the th packet sent by the second device, needs to be prohibited, so that the th packet is prevented from entering the th device through the th port, and is forwarded to the second device through the second port to form a loop.
And step S14, if not, judging whether the second characteristic quantity in the th message is stored in the characteristic library.
It can be understood that before the second characteristic quantity is judged, it is necessary to extract from the th message, it may be extracted after the th message is received, or it may be extracted before the judgment, and since the th message itself contains the second characteristic quantity, it is only necessary to extract the second characteristic quantity from the th message for the subsequent judgment, and it is not necessary to improve the th message itself.
The th characteristic quantity may be a Multiple Access Channel (MAC) of the sending end, and of course, the th characteristic quantity may also be other characteristic information capable of indicating the th message source device, which is not limited herein.
Specifically, if the result is no, it indicates that only a wireless connection mode exists between the second device and the th device, therefore, the 0 th feature quantity in the th message cannot be stored in the feature library of the 1 th device through an ANNOUNCE message, but in order to prevent a device outside the hybrid networking from sending the 2 th message to a device in the hybrid networking, the th message also needs to be forwarded to another device in the networking through a device in the hybrid networking, so if only the th feature quantity is determined, the device in the networking will continue to forward the th message after receiving the th message, and another device in the networking will forward the th message to the sending device through a non-receiving port after receiving the th message, thereby forming a loop.
And step S15, if yes, forwarding the message through the th port or the second port.
Specifically, when the second feature quantity is determined to be stored in the feature library, it indicates that the destination device of the message is directly connected to the th device through a wire, so that only ports can be selected to forward the message to the destination device, thereby preventing a loop from being generated.
And S16, if not, storing the characteristic quantity of the equipment as the characteristic quantity of the message to obtain a second message, and forwarding the second message through the port or the second port.
Specifically, when it is determined that the second feature quantity is not stored in the feature library, it is determined that the destination device is a non-direct-connection device, because at this time, it is impossible to determine the feature quantity and the second feature quantity in the th message, and if the 0 th message is directly forwarded to the third device, if the third device is a device directly connected to the th device, a loop may be formed between the th device and the third device, so that it is necessary for the th device to replace the original feature quantity in the th message to obtain the second message, and then forward the second message through the th port or the second port, so that even if the third device is forwarded to the th device, the third device can identify, through the th feature quantity in the second message, that the second message is sent from the device directly connected to the third device, and thus a loop may not be generated.
It can be seen that, in the embodiment of the present invention, when receiving a th packet sent by a second device, a th device extracts a th feature quantity and a second feature quantity from a th packet, and determines whether a th feature quantity is included in a feature library, so as to determine whether the second device is directly connected to a th device in a wired manner, if yes, the th packet is prohibited from being sent to the second device through a second port, if no, it is determined whether the second feature quantity is stored in the feature library, so as to determine whether a th packet needs to be forwarded to a device directly connected to a th device in a wired manner, if yes, a th packet is forwarded through a th port or a second port, if no, the feature quantity of the th device is stored as an th feature quantity of a th packet, so as a second packet is obtained, and the second packet is forwarded through a th port or a second port, so as to ensure that, when a third device receives the second packet, it is able to determine whether the third device is directly connected to a third device, and if there is connected to a wireless Mesh network, thereby reducing the Mesh collision, reducing the wireless network congestion and reducing the problem of the wireless network congestion and reducing the throughput.
It should be noted that, the feature library generation process is a history ANNOUNCE message sent by the receiving device through the LAN port; extracting characteristic quantity from a historical ANNOUNCE message; and storing the characteristic quantity to obtain a characteristic library.
Specifically, ANNOUNCE messages are broadcasted at periodically at a LAN port of each device in the wireless Mesh ad hoc network system, for example, ANNOUNCE messages are broadcasted at a LAN port every ten minutes, so that the ANNOUNCE messages of the opposite side can be received when the devices are directly connected by wires, storm caused by the fact that the ANNOUNCE broadcasts the th message to enter a wireless Mesh network can be avoided, after the devices receive the ANNOUNCE messages broadcasted by other devices , th characteristic quantity is extracted from the ANNOUNCE messages, and the th characteristic quantity is stored to obtain a characteristic library.
For example, the second device broadcasts a ANNOUNCE message periodically through a LAN port , the 0 th device is wired and directly connected to the second device, the 1 th device broadcasts a second ANNOUNCE message periodically through a LAN port 2, the 3 th device receives a 4 th ANNOUNCE message broadcasted by the th device, extracts an th feature quantity from the th ANNOUNCE message, stores the th feature quantity to obtain a feature library, and after the second device receives the second ANNOUNCE message broadcasted by the th device , the process is similar to the process of the device generating the feature library.
It should be noted that, since the th feature quantity extracted from the ANNOUNCE message, that is, the feature quantity of the ANNOUNCE message transmitting apparatus, it is possible to determine whether or not the feature library is stored, regardless of whether the feature quantity of the transmitting apparatus is the th feature quantity or the second feature quantity in the th message, and there is no case where the feature quantity of the transmitting apparatus cannot be determined as the second feature quantity, that is, the feature quantity of the destination apparatus in the th message.
The ANNOUNCE message is an ARP (Address resolution protocol) message formulated according to an ARP message standard, the sending end IP and the destination IP fields of the ANNOUNCE message are assigned to be 0.0.0.0, the message is identified as a non-standard ARP message by using the characteristic that 0.0.0.0 is a non-standard network device IP, and an automatic response mechanism of the ARP protocol is not triggered, so that when the ANNOUNCE message is received by the device, forwarding operation is not performed, and the device can go forward to step and identify the message as the ANNOUNCE message by using the characteristic quantity fields by adding characteristic quantity and a second characteristic quantity to the ANNOUNCE message.
It is understood that, in the embodiment of the present invention, the th device, the second device, and the third device are all devices of the same type , and may all be destination devices or sending devices in a wireless mesh network message interaction process.
The embodiment of the invention discloses specific wireless mesh network message interaction methods, which are applied to equipment, and compared with the embodiment, the embodiment explains and optimizes the technical scheme by step , and as shown in fig. 3, the specific methods are as follows:
and step S21, receiving the th message sent by the second device by using the WLAN port.
It is understood that the th message sent by the second device may be received through the WLAN port, and the th message sent by the second device may also be received through the LAN port, which is not limited herein.
And step S22, judging whether the th characteristic quantity in the th message is stored in the characteristic library.
And step S23, if yes, prohibiting the th message from being sent to the second device through the LAN port.
Specifically, because the receiving port is a WLAN port, when the th feature quantity is stored in the feature library, in order to prevent a loop from being generated, the th message is prohibited from being broadcast through the LAN port of the th device, and if the receiving port is a LAN port, the th message is correspondingly prohibited from being broadcast through the WLAN port of the th device.
And step S24, if not, judging whether the second characteristic quantity in the th message is stored in the characteristic library.
And step S25, if yes, forwarding the th message through the LAN port.
Specifically, when forwarding is needed, forwarding through the LAN port may be preferentially selected, so as to reduce occupation of a wireless broadband, and reduce occurrence probability of CSMA/CD collision retransmission in a wireless network, thereby improving throughput of the Mesh network.
And S26, if not, saving the characteristic quantity of the equipment as the characteristic quantity of the message to obtain a second message, and forwarding the second message through a LAN port or a WLAN port.
It should be noted that, the joining or exiting of the devices in the wireless mesh network occurs occasionally, and therefore, the content in the feature library needs to be updated in time to avoid unnecessary errors, the feature library can be maintained periodically, and the failure feature quantity of the corresponding anonunence message which is not received within the predetermined time is deleted, when devices exit the networking, the other devices in the networking will not receive the anonunence message broadcasted by the exiting device any more, so that the th message is not received even after the broadcasting period of the anonunence message is exceeded, it is indicated that the corresponding devices have already exited the networking, and the corresponding feature quantity stored in the feature library becomes the failure feature quantity, and the deletion can be performed, and certainly, after a new device joins the networking, the feature library correspondingly stores the feature quantity in the new anonunence message to ensure that the device can make a corresponding judgment.
For example, it is set that cycles are maintained every 5 minutes, the feature library is checked that the feature quantity of the corresponding anonunece message is not received in 5 minutes, the feature quantity is deleted as a failure feature quantity after being found, when the feature library receives the feature quantity extracted from the anonunece message, whether the feature quantity is stored in the feature library is judged, and if the feature quantity is not stored in the feature library, the feature quantity is stored.
It is understood that the feature library may be designed as a BBT data structure (BBT, Balanced Binary Tree) and stores the feature quantities in the form of a BBT table, but other data structures may also be used, and are not limited herein.
Correspondingly, the embodiment of the present invention further discloses an kinds of wireless mesh network message interaction systems, which is applied to the th device, and as shown in fig. 4, the system includes:
a receiving module 11, configured to receive, by using the th port, the th packet sent by the second device;
the extraction module 12 is used for extracting the th characteristic quantity in the th message;
an th judging module 13, configured to judge whether a th feature quantity is stored in the feature library;
the forbidding module is used for forbidding the th message to be sent to the second equipment through the second port when the th judging module 13 judges that the th characteristic quantity is stored in the characteristic library;
a second judging module 14, configured to judge whether the second feature amount is stored in the feature library when the th judging module 13 judges that the th feature amount is not stored in the feature library;
an forwarding module 15, configured to forward the th packet through the th port or the second port when the th determining module 13 determines that the second feature amount is stored in the feature library;
the second forwarding module 16 is configured to, when the th determining module 13 determines that the second feature quantity is not stored in the feature library, store the feature quantity of the th device as the th feature quantity of the th message to obtain a second message, and forward the second message through the th port or the second port;
wherein the th port is of a different type than the second port.
The th judgment module 13 may further include a receiving unit, an extracting unit, and a feature library generating unit
A receiving unit, configured to receive a historical ANNOUNCE message sent by a device through a LAN port;
the extracting unit is used for extracting the characteristic quantity from the historical ANNOUNCE message;
and the characteristic library generating unit is used for storing the characteristic quantity to obtain a characteristic library.
, the forwarding module 15 is specifically configured to forward the th packet through a LAN port, in an embodiment of the present invention, the wireless mesh network packet interaction system may further include:
and the maintenance module is used for maintaining the feature library regularly and deleting the failure feature quantity of the corresponding ANNOUNCE message which is not received in the preset time.
It can be seen that, in the embodiment of the present invention, when receiving a th packet sent by a second device, a th device extracts a th feature quantity and a second feature quantity from a th packet, and determines whether a th feature quantity is included in a feature library, so as to determine whether the second device is directly connected to a th device in a wired manner, if yes, the th packet is prohibited from being sent to the second device through a second port, if no, it is determined whether the second feature quantity is stored in the feature library, so as to determine whether a th packet needs to be forwarded to a device directly connected to a th device in a wired manner, if yes, a th packet is forwarded through a th port or a second port, if no, the feature quantity of the th device is stored as an th feature quantity of a th packet, so as a second packet is obtained, and the second packet is forwarded through a th port or a second port, so as to ensure that, when a third device receives the second packet, it is able to determine whether the third device is directly connected to a third device, and if there is connected to a wireless Mesh network, thereby reducing the Mesh collision, reducing the wireless network congestion and reducing the problem of the wireless network congestion and reducing the throughput.
Finally, it should also be noted that, in this document, relational terms such as , second, and the like are only used to distinguish entities or operations from another entities or operations, without necessarily requiring or implying any actual relationship or order between such entities or operations, furthermore, the terms "comprise", or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises the series of elements does not include only those elements but also other elements not expressly listed or inherent to such process, method, article, or apparatus.
The wireless mesh network message interaction methods and systems provided by the present invention are introduced in detail, and the present application applies specific examples to illustrate the principles and embodiments of the present invention, and the above description of the embodiments is only used to help understand the method and the core idea of the present invention, meanwhile, for persons in the art, there are changes in the specific embodiments and application ranges according to the idea of the present invention, and in summary, the present description should not be understood as a limitation to the present invention.
Claims (8)
1, A wireless mesh network message interaction method, applied to the th device, comprising:
receiving a th message sent by the second device by utilizing the th port;
judging whether the th characteristic quantity in the th message is stored in a characteristic library;
if yes, prohibiting the th message from being sent to the second device through a second port;
if not, judging whether a second characteristic quantity in the th message is stored in the characteristic library or not;
if yes, forwarding the th message through the th port or the second port;
if not, saving the characteristic quantity of the th device as the th characteristic quantity of the th message to obtain a second message, and forwarding the second message through the th port or the second port, wherein the th port and the second port are respectively a WLAN port or a LAN port, and the th port and the second port are of different types.
2. The method of claim 1, further comprising:
and maintaining the feature library regularly, and deleting the failure feature quantity of the corresponding ANNOUNCE message which is not received in a preset time.
3. The method of claim 1, wherein the forwarding the th packet through the th port or the second port comprises:
and forwarding the th message through a LAN port.
4. The method of any of claims 1-3, wherein the feature library generation process comprises:
receiving a historical ANNOUNCE message sent by equipment through an LAN port;
extracting characteristic quantity from the historical ANNOUNCE message;
and storing the characteristic quantity to obtain the characteristic library.
5, A wireless mesh network message interaction system, applied to th equipment, comprising:
the receiving module is used for receiving the th message sent by the second equipment by utilizing the th port;
an th judgment module, configured to judge whether the th message contains the th feature quantity in the feature library;
a prohibition module, configured to prohibit the th packet from being sent to the second device through a second port when the th determination module determines that the th feature quantity is stored in the feature library;
a second determining module, configured to determine whether a second feature quantity in the message is stored in the feature library when the th determining module determines that the th feature quantity is not stored in the feature library;
an forwarding module, configured to forward the th packet through the th port or the second port when the th determining module determines that the second feature amount is stored in the feature library;
a second forwarding module, configured to, when the th determining module determines that the second feature quantity is not stored in the feature library, store the feature quantity of the th device as the th feature quantity of the th packet, to obtain a second packet, and forward the second packet through the th port or the second port;
wherein the th port and the second port are respectively a WLAN port or a LAN port, and the th port and the second port are of different types.
6. The wireless mesh network messaging system of claim 5, further comprising:
and the maintenance module is used for maintaining the feature library regularly and deleting the failure feature quantity of the corresponding ANNOUNCE message which is not received in the preset time.
7. The wireless mesh network messaging system of claim 5, wherein the forwarding module is specifically configured to forward the message through a LAN port.
8. The system according to any of the claims 5-7 and , wherein the module for determining comprises:
a receiving unit, configured to receive a historical ANNOUNCE message sent by a device through a LAN port;
an extracting unit, configured to extract a feature quantity from the historical ANNOUNCE message;
and the characteristic library generating unit is used for storing the characteristic quantity to obtain the characteristic library.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710075906.3A CN107071825B (en) | 2017-02-13 | 2017-02-13 | wireless mesh network message interaction method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710075906.3A CN107071825B (en) | 2017-02-13 | 2017-02-13 | wireless mesh network message interaction method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107071825A CN107071825A (en) | 2017-08-18 |
CN107071825B true CN107071825B (en) | 2020-01-31 |
Family
ID=59598748
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710075906.3A Active CN107071825B (en) | 2017-02-13 | 2017-02-13 | wireless mesh network message interaction method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107071825B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109547339B (en) * | 2019-01-18 | 2021-07-09 | 深圳市吉祥腾达科技有限公司 | Method and system for preventing network from forming loop in wireless router networking |
CN111835633B (en) * | 2020-07-09 | 2022-03-25 | 烽火通信科技股份有限公司 | Routing and loop-back preventing method and device in easy mesh networking |
CN112636963B (en) * | 2020-12-15 | 2022-04-26 | 烽火通信科技股份有限公司 | Networking management system and networking management method based on multiple addresses |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102065509B (en) * | 2010-12-31 | 2015-02-04 | 广州杰赛科技股份有限公司 | Wireless mesh network system |
CN102821009B (en) * | 2012-08-08 | 2015-01-28 | 中兴通讯股份有限公司 | Method for monitoring ring network on basis of link layer discovery protocol and device |
US9628384B2 (en) * | 2013-09-19 | 2017-04-18 | Avago Technologies General Ip (Singapore) Pte. Ltd. | Adaptive industrial network |
CN105163349B (en) * | 2015-08-03 | 2016-05-04 | 东南大学 | A kind of multiple gateway Wireless Mesh network implementation method based on IEEE802.11s |
-
2017
- 2017-02-13 CN CN201710075906.3A patent/CN107071825B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN107071825A (en) | 2017-08-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110856194B (en) | Dual-mode fusion networking method and communication method | |
CN101939924B (en) | Time slot reuse method | |
JP3853326B2 (en) | System and method for reliably broadcasting in ad hoc network environment | |
US9119142B2 (en) | Device and method for delay optimization of end-to-end data packet transmissions in wireless networks | |
US8787238B2 (en) | Method for retransmitting multicast frames and method for processing received multicast frames in wireless network | |
US9979626B2 (en) | Establishing a mesh network with wired and wireless links | |
EP2350863B1 (en) | Establishing a mesh network with wired and wireless links | |
US20100238855A1 (en) | Relay device and relay method | |
US20060274680A1 (en) | System and method for controlling congestion in wireless mesh networks | |
CN1829180B (en) | Network switching method and apparatus, wireless access apparatus, and wireless network | |
Zhu et al. | A collision avoidance mechanism for emergency message broadcast in urban VANET | |
JP2011045047A (en) | Node in vehicle ad hoc network | |
JPH07312597A (en) | Radio local area network system | |
CN107071825B (en) | wireless mesh network message interaction method and system | |
US12114246B2 (en) | Simple mesh network for wireless transceivers | |
JP2004328749A (en) | Apparatus and method for data packet retransmission in mobile ad hoc network environment | |
WO2007008174A1 (en) | Method and system of wireless communication between devices | |
CN101395857B (en) | Method for multi-hop data transmission in an ad-hoc network comprising concealed nodes | |
US20040190460A1 (en) | Dynamically reconfigurable wired network | |
US10624017B2 (en) | Method for operating a communication apparatus and communication apparatus | |
EP3391683B1 (en) | Method for managing a neighbor table and communication apparatus configured for managing a neighbor table | |
US20100257420A1 (en) | Apparatus and method for fast retransmission in a power line communication network | |
US10489236B2 (en) | Method and system for managing a communication network | |
KR101008978B1 (en) | Confidence broadcasting system to ad-hoc network environment and method thereof | |
JP2006005653A (en) | Method and system for radio access control |
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 |