CN107071825A - A kind of wireless mesh network message interaction method and system - Google Patents

A kind of wireless mesh network message interaction method and system Download PDF

Info

Publication number
CN107071825A
CN107071825A CN201710075906.3A CN201710075906A CN107071825A CN 107071825 A CN107071825 A CN 107071825A CN 201710075906 A CN201710075906 A CN 201710075906A CN 107071825 A CN107071825 A CN 107071825A
Authority
CN
China
Prior art keywords
message
port
equipment
feature amount
mesh 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
CN201710075906.3A
Other languages
Chinese (zh)
Other versions
CN107071825B (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.)
HUNAN KEYSHARE COMMUNICATION TECHNOLOGY Co Ltd
Original Assignee
HUNAN KEYSHARE COMMUNICATION 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 HUNAN KEYSHARE COMMUNICATION TECHNOLOGY Co Ltd filed Critical HUNAN KEYSHARE COMMUNICATION TECHNOLOGY Co Ltd
Priority to CN201710075906.3A priority Critical patent/CN107071825B/en
Publication of CN107071825A publication Critical patent/CN107071825A/en
Application granted granted Critical
Publication of CN107071825B publication Critical patent/CN107071825B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/021Traffic management, e.g. flow control or congestion control in wireless networks with changing topologies, e.g. ad-hoc networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/24Connectivity information management, e.g. connectivity discovery or connectivity update
    • H04W40/248Connectivity information update
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access, e.g. scheduled or random access
    • H04W74/08Non-scheduled or contention based access, e.g. random access, ALOHA, CSMA [Carrier Sense Multiple Access]
    • H04W74/0808Non-scheduled or contention based access, e.g. random access, ALOHA, CSMA [Carrier Sense Multiple Access] using carrier sensing, e.g. as in CSMA
    • H04W74/0825Non-scheduled or contention based access, e.g. random access, ALOHA, CSMA [Carrier Sense Multiple Access] using carrier sensing, e.g. as in CSMA carrier sensing with collision detection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Abstract

This application discloses a kind of wireless mesh network message interaction method, including:The first message that the second equipment is sent is received using first port;Whether fisrt feature amount is preserved in judging characteristic storehouse, if so, then forbidding the first message to be sent by second port to the second equipment;If it is not, then whether preserving second feature amount in judging characteristic storehouse;If so, then the first message is forwarded by first port or second port;If it is not, the characteristic quantity of first equipment then to be saved as to the fisrt feature amount of the first message, the second message is obtained, and the second message is forwarded by first port or second port.It can be seen that, the application utilizes the characteristic quantity in message, when judging equipment room to be wired direct-connected, then forbid message to repeat to send in equipment room, cut off the premise of loop formation, solved the problems, such as network loopback, at the same time it can also reduce the probability of happening that CSMA/CD conflicts are retransmitted in wireless network.In addition, disclosed herein as well is a kind of the first message interaction of wireless mesh network system.

Description

A kind of wireless mesh network message interaction method and system
Technical field
The present invention relates to communication technical field, more particularly to a kind of wireless mesh network message interaction method and system.
Background technology
With the development of society, simple cable network or wireless network, it is difficult to meet all application scenarios, therefore, have Gauze network and wireless network Hybrid connections, are collectively forming mesh network architecture, form wireless mesh network.
Wireless mesh network is also referred to as " multi-hop " network, using acentric wireless self-organization network framework, be it is a kind of with Tradition has the entirely different new wireless networks technology of the wireless network at center.
In the application process of Wireless Mesh (wireless mesh network) self-organizing network system, by by arbitrary equipment section in system Carry out wired direct-connected between point, form wired, wireless Hybrid connections, it is possible to achieve covering experiencing radio shadow, solve Wireless Mesh The problem of decay of multi-hop link handling capacity is serious in self-organizing network system, but often bring another problem --- network loopback. If not solving the problems, such as network loopback, the message of broadcast first in network, into loop after just constantly recursive copying, forwarding, wide Broadcast, it is impossible to terminate, if not being directed to the solution of network loop, accumulate over time, will be full of countless in a network The packet that can not reach purpose network cause network broadcasting windstorm, cause network paralysis;And loop can produce MAC (Multiple Access Channel, multiple access access channel) address drift, causes network interruption, because Wireless Mesh is from group Device node in net system has learning functionality, as long as the device node in network sends the first message of broadcast, MAC Address is all It can be learned in the port that there is network loop.The mac address table of mistake, can directly contribute network interruption.
As shown in figure 1, equipment N1 receives first message of broadcast from L1 mouthfuls, enter Wireless Mesh network by W1 mouthfuls Network, is transmitted by wireless Mesh netword, and the message of broadcast first is transmitted to L2 by equipment N2 from W2 mouthfuls of receptions, if now loop free Avoidance mechanism, then this first message of broadcast equipment N1 L1 mouths, formation loop will be sent to from L2 mouthful.
The content of the invention
In view of this, it is an object of the invention to provide a kind of wireless mesh network message interaction method, solve wireless There are problems that network loopback during wired+wireless mixed connection topological structure in Mesh self-organizing network systems, meanwhile, reduce for without tape CSMA/CD (Carrier Sense Multiple Access with Collision in wide occupancy, reduction wireless network Detection, csma/cd) conflict the probability of happening retransmitted, gulped down so as to improve Mesh network The amount of telling.Its concrete scheme is as follows:
A kind of wireless mesh network message interaction method, applied to the first equipment, including:
The first message that the second equipment is sent is received using first port;
Whether fisrt feature amount in first message is preserved in judging characteristic storehouse;
If so, then forbidding first message to be sent by second port to second equipment;
If it is not, then judging the second feature amount in first message whether is preserved in the feature database;
If so, then first message is forwarded by the first port or the second port;
If it is not, the characteristic quantity of first equipment then to be saved as to the fisrt feature amount of first message, obtain Second message, and second message is forwarded by the first port or the second port;
Wherein, the first port is different from the second port type.
It is preferred that, in addition to:Periodically the feature database is safeguarded, deletion does not receive corresponding in the given time The failure characteristics amount of ANNOUNCE messages.
It is preferred that, it is described to forward first message by the first port or the second port, including:
First message is forwarded by LAN port.
It is preferred that, the feature database generating process, including:
The history ANNOUNCE messages that receiving device is sent by LAN port;
Characteristic quantity is extracted from the history ANNOUNCE messages;
The characteristic quantity is preserved, the feature database is obtained.
The invention also discloses a kind of the first message interaction of wireless mesh network system, applied to the first equipment, including:
Receiving module, for receiving the first message that the second equipment is sent using first port;
First judge module, for whether preserving the fisrt feature amount in first message in judging characteristic storehouse;
Disabled module, for judging to preserve the fisrt feature amount in the feature database when first judge module, First message is then forbidden to be sent by second port to second equipment;
Second judge module, for judging not preserving first spy in the feature database when first judge module The amount of levying, then judge the second feature amount in first message whether is preserved in the feature database;
First forwarding module, for judging to preserve the second feature in the feature database when first judge module Amount, then forwarded first message by the first port or the second port;
Second forwarding module, for judging not preserving second spy in the feature database when first judge module The amount of levying, then save as the fisrt feature amount of first message by the characteristic quantity of first equipment, obtain the second message, And forward second message by the first port or the second port;
Wherein, the first port is different from the second port type.
It is preferred that, in addition to:
Maintenance module, for periodically being safeguarded to the feature database, deletion does not receive corresponding in the given time The failure characteristics amount of ANNOUNCE messages.
It is preferred that, first forwarding module, specifically for first message is forwarded by LAN port.
It is preferred that, first judge module, including:
Receiving unit, the history ANNOUNCE messages sent for receiving device by LAN port;
Extraction unit, for extracting characteristic quantity from the history ANNOUNCE messages;
Feature database generation unit, for the characteristic quantity to be preserved, obtains the feature database.
In the present invention, the message interaction method of wireless mesh network first, including:The second equipment hair is received using first port The first message sent;Whether fisrt feature amount in first message is preserved in judging characteristic storehouse, if so, then forbidding the first message Sent by second port to the second equipment;If it is not, then whether preserving the second feature in the first message in judging characteristic storehouse Amount;If so, then the first message is forwarded by first port or second port;If it is not, then the characteristic quantity of the first equipment is preserved For the fisrt feature amount of the first message, the second message is obtained, and the second message is forwarded by first port or second port;Its In, first port is different from second port type.It can be seen that, the first equipment is receiving the first of the transmission of the second equipment in the present invention During message, extracted from the first message whether special comprising first in fisrt feature amount and second feature amount, and judging characteristic storehouse The amount of levying, judges whether the second equipment is wired direct-connected with the first equipment with this, if so, then forbidding the first message to be sent out by second port The second equipment is delivered to, if it is not, then whether preserve second feature amount in judging characteristic storehouse, judges whether to need to first with this The wired direct-connected message of device forwards first of equipment, if so, then forward the first message by first port or second port, if It is no, then the characteristic quantity of the first equipment is saved as to the fisrt feature amount of the first message, the second message is obtained, and the second message is led to First port or second port forwarding are crossed, is ensured with this when the 3rd equipment receives the second message, whether can interpolate that the first equipment With the wired direct-connected company of the 3rd equipment, by the judgement of two kinds of situations, the premise of loop formation has been cut off, Wireless Mesh has been solved certainly There are problems that network loopback during wired+wireless mixed connection topological structure in group network system, at the same time it can also reduce for without tape The probability of happening that CSMA/CD conflicts are retransmitted in wide occupancy, reduction wireless network, so as to improve Mesh network handling capacity.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this The embodiment of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis The accompanying drawing of offer obtains other accompanying drawings.
Fig. 1 is a kind of network loop schematic diagram in the prior art;
Fig. 2 is a kind of wireless mesh network message interaction method schematic flow sheet provided in an embodiment of the present invention;
Fig. 3 is another wireless mesh network message interaction method schematic flow sheet provided in an embodiment of the present invention;
Fig. 4 is a kind of the first message interaction of wireless mesh network system structure diagram provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
The embodiment of the invention discloses a kind of wireless mesh network message interaction method, applied to the first equipment, referring to Fig. 2 Shown, this method includes:
Step S11:The first message that the second equipment is sent is received using first port.
Specifically, current device receives the first message that the second equipment is sent as the first equipment using first port, the Two equipment can be transmitted by LAN (Local Area Network, LAN) mouth, can also pass through WLAN (Wireless Local Area Networks, WLAN) mouth is transmitted, and the first port of the first equipment also may be used Think LAN mouthfuls or WLAN mouthfuls, the transmission mouth of the second equipment is identical with the receiving port type of the first equipment.
It is understood that first port is different all the time from second port type, for example, being not in that first port is LAN mouthfuls, second port is also LAN mouthfuls of situation, it may appear that first port is LAN mouthfuls, and second port is WLAN mouthfuls of situation;The Two equipment are to send equipment, and the first equipment is receiving device.
Step S12:Whether fisrt feature amount in first message is preserved in judging characteristic storehouse.
It should be noted that in actual applications, the equipment in networking is attached by wireless network, still, Under some applicable cases, equipment room wireless network signal is poor or data exchange amount is big, and simple wireless connection is difficult to meet need Ask, for example, in skyscraper, every 3 Layer assignment, one equipment, because some reasons between 6 layers and 9 layers, wireless signal is strong Degree is inadequate, and data are difficult to interact between making two layers of equipment, therefore, by netting twine that two equipment are wired direct-connected.
It is understood that being extracted before fisrt feature amount is judged, it is necessary to from the first message, it can be reported receiving first With regard to being extracted after text, it can also be extracted before judgement;Due to including fisrt feature amount in itself in the first message, because This, need to only extract fisrt feature amount for follow-up judgement, without changing in itself to the first message from the first message Enter.
Wherein, second feature amount can the MAC for the purpose of, certain second feature amount can also can show that the first report for other The characteristic information of literary purpose equipment, is not limited thereto.
Specifically, in order to prevent from producing loop between the equipment of more than one link connections, utilizing the fisrt feature of extraction Amount is judged that the first equipment judges fisrt feature amount whether is preserved in unique characteristics storehouse, if preserving fisrt feature amount, Then illustrate not only there is wireless connection between the second equipment and the first equipment, meanwhile, it also remain wired direct-connected;If do not preserved, Then illustrate not keeping wired direct-connected between the second equipment and the first equipment.
Step S13:If so, then forbidding the first message to be sent by second port to the second equipment.
Specifically, when judging to preserve fisrt feature amount in the first equipment judgement unique characteristics storehouse, then needing to forbid first The second port of equipment, i.e., the port for the first message that non-reception second equipment is sent, prevents the first message by first with this Port enters the first equipment, and the second equipment formation loop is forwarded to further through second port.
Step S14:If it is not, then whether preserving the second feature amount in the first message in judging characteristic storehouse.
It is understood that being extracted before second feature amount is judged, it is necessary to from the first message, it can be reported receiving first With regard to being extracted after text, it can also be extracted before judgement;Due to including second feature amount in itself in the first message, because This, need to only extract second feature amount for follow-up judgement, without changing in itself to the first message from the first message Enter.
Wherein, fisrt feature amount can be transmitting terminal MAC (Multiple Access Channel, multiple access access channel), Certain fisrt feature amount can also can show that the characteristic information of the first message source device for other, be not limited thereto.
Specifically, if it is not, then illustrating only have radio connection between the second equipment and the first equipment, therefore, first reports Fisrt feature amount in text fails to be stored in by ANNOUNCE messages in the feature database of the first equipment, but mixed in order to prevent First message is sent to the equipment in mixed networking by the equipment outside charge-coupled net, and first message is also needed to by mixed networking In another equipment of the device forwards into networking, if so only judge fisrt feature amount, the equipment in networking can be caused Receive after the first message, it will the first message is continued to forward, another equipment in networking is received after the first message, by non- First message is transmitted to transmission equipment by receiving port, so as to form loop.
Step S15:If so, then the first message is forwarded by first port or second port.
Specifically, when preserving second feature amount in judging characteristic storehouse, then showing the purpose equipment and the first equipment of message It is wired direct-connected, therefore a port can only be selected to E-Packet to purpose equipment, loop is prevented with this.
Step S16:If it is not, the characteristic quantity of the first equipment then to be saved as to the fisrt feature amount of the first message, second is obtained Message, and the second message is forwarded by first port or second port.
Specifically, when not preserving second feature amount in judging characteristic storehouse, then illustration purpose equipment is non-straight attached device, by In now, it is impossible to which the fisrt feature amount in the first message and second feature amount are judged, if the first message is directly forwarded , may be between the first equipment and the 3rd equipment if the 3rd equipment is the equipment direct-connected with the first equipment during to three equipment Loop is caused, accordingly, it would be desirable to which the characteristic quantity of the first equipment itself replaces original fisrt feature amount in the first message, second is obtained Message, then the second message is forwarded by first port or second port, accordingly even when being forwarded to wired direct-connected with the first equipment Three equipment when, the 3rd equipment can by the fisrt feature amount in the second message, identify the second message send from and itself Wired direct-connected equipment, therefore, will not produce loop.
It can be seen that, the first equipment is when receiving the first message of the second equipment transmission in the embodiment of the present invention, from the first report Extracted in text in fisrt feature amount and second feature amount, and judging characteristic storehouse and whether to include fisrt feature amount, the is judged with this Whether two equipment are wired direct-connected with the first equipment, if so, then forbid the first message to be sent by second port to the second equipment, if It is no, then second feature amount whether is preserved in judging characteristic storehouse, judge whether to need to wired direct-connected with the first equipment with this The message of device forwards first, if so, then forwarding the first message by first port or second port, if it is not, then being set first Standby characteristic quantity saves as the fisrt feature amount of the first message, obtains the second message, and by the second message by first port or Second port is forwarded, and is ensured with this, when the 3rd equipment receives the second message, can interpolate that whether the first equipment has with the 3rd equipment Line is direct-connected, by the judgement of two kinds of situations, has cut off the premise of loop formation, has solved and exist in Wireless Mesh self-organizing network system Network loopback problem during wired+wireless mixed connection topological structure, at the same time it can also reduce the occupancy for wireless bandwidth, reduction The probability of happening that CSMA/CD conflicts are retransmitted in wireless network, so as to improve Mesh network handling capacity.
Reported it should be noted that feature database generating process is the history ANNOUNCE that receiving device is sent by LAN port Text;Characteristic quantity is extracted from history ANNOUNCE messages;Characteristic quantity is preserved, feature database is obtained.
Specifically, periodically being broadcasted by the LAN port of each equipment in Wireless Mesh self-organizing network system ANNOUNCE messages, for example, every ten minutes LAN port broadcast an ANNOUNCE message, you can realize when each equipment it Between it is wired direct-connected when can receive the ANNOUNCE messages of other side, ANNOUNCE can be avoided to broadcast the first message again and enter wireless Mesh network causes broadcast storm;Equipment is received after the ANNOUNCE messages of other equipment broadcast, therefrom extracts fisrt feature Amount;Fisrt feature amount is preserved, feature database is obtained.
For example, the second equipment periodically broadcasts the first ANNOUNCE messages by LAN port, the first equipment is set with second Have line direct-connected, the first equipment periodically broadcasts the 2nd ANNOUNCE messages also by LAN port, the first equipment receives second First ANNOUNCE messages of device broadcasts, fisrt feature amount is extracted from the first ANNOUNCE messages, fisrt feature amount is entered Row is preserved, and obtains feature database, the second equipment is received after the 2nd ANNOUNCE messages of the first device broadcasts, is set with above-mentioned first The process of standby generation feature database is consistent.
Set it should be noted that the fisrt feature amount extracted from ANNOUNCE messages, i.e. ANNOUNCE messages are sent Standby characteristic quantity, therefore, no matter the characteristic quantity of the transmission equipment in the first message as fisrt feature amount or second feature amount, Whether can be preserved in judging characteristic storehouse, be not in the transmission equipment characteristic quantity in the first message as second feature amount That is the characteristic quantity of purpose equipment and situation about can not judge.
Wherein, ANNOUNCE messages are (ARP, the Address Resolution according to ARP the first message standard formulations Protocol, address resolution protocol), the transmitting terminal IP of ANNOUNCE messages, purpose IP fields are entered as 0.0.0.0, utilize 0.0.0.0 the characteristics of being non-standard network appliance IP, identifies that first message is the non-standard messages of ARP first, will not trigger The automatic-answering back device mechanism of ARP protocol, therefore, when equipment receives ANNOUNCE messages, will not carry out forwarding operation, and pass through Fisrt feature amount and second feature amount are added in ANNOUNCE messages, equipment can be identified further using characteristic quantity field First message is ANNOUNCE messages.
It is understood that the first equipment, the second equipment and the 3rd equipment are that same type is set in the embodiment of the present invention It is standby, as purpose equipment or equipment can be sent during wireless mesh network message interaction.
The embodiment of the invention discloses a kind of specific wireless mesh network message interaction method, applied to the first equipment, Relative to a upper embodiment, the present embodiment has made further instruction and optimization to technical scheme.It is shown in Figure 3, specifically:
Step S21:The first message that the second equipment is sent is received using WLAN ports.
It is understood that the first message that the second equipment is sent can be received by WLAN ports, LAN can also be passed through Port receives the first message that the second equipment is sent, and does not limit herein.
Step S22:Whether fisrt feature amount in first message is preserved in judging characteristic storehouse.
Step S23:If so, then forbidding the first message to be sent by LAN port to the second equipment.
Specifically, because receiving port is WLAN ports, the feelings of fisrt feature amount are preserved in feature database is judged Under condition, in order to prevent loop, forbid LAN port broadcast of first message Jing Guo the first equipment, if receiving port is LAN Port, then forbid WLAN port broadcast of first message Jing Guo the first equipment accordingly.
Step S24:If it is not, then whether preserving the second feature amount in the first message in judging characteristic storehouse.
Step S25:If so, then the first message is forwarded by LAN port.
Specifically, when needing forwarding, can be forwarded, be reduced with this for WiMAX by LAN port with prioritizing selection Occupancy, reduction wireless network in CSMA/CD conflict retransmit probability of happening, so as to improve Mesh network handling capacity, certainly, root According to practical application request, it can also be forwarded, not limited herein by WLAN mouthfuls.
Step S26:If it is not, the characteristic quantity of the first equipment then to be saved as to the fisrt feature amount of the first message, second is obtained Message, and the second message is forwarded by LAN port or WLAN ports.
It should be noted that the addition of equipment or exit happens occasionally in wireless mesh network networking, accordingly, it would be desirable in time Update the content in feature database, it is to avoid unnecessary mistake occur, periodically feature database can be safeguarded, delete in pre- timing In do not receive the failure characteristics amounts of corresponding ANNOUNCE messages, when an equipment exits networking, remaining equipment in networking The ANNOUNCE messages for exiting device broadcasts will not be received again, so the broadcast cycle more than ANNOUNCE messages is not received yet To the first message, then illustrate that corresponding equipment has dropped out the corresponding characteristic quantity preserved in networking, feature database special to be changed into failure The amount of levying, can be deleted, certainly, and after having new equipment to add networking, feature database is by the spy in new ANNOUNCE messages The amount of levying is preserved accordingly, to ensure that equipment can make corresponding judgement.
For example, setting every 5 minutes is a cycle feature database to be safeguarded, checks and do not received in 5 minutes in feature database The characteristic quantity of corresponding ANNOUNCE messages, carries out delete processing using such characteristic quantity as failure characteristics amount after finding, works as spy Levy storehouse and receive the characteristic quantity extracted from ANNOUNCE messages, judge whether to be stored in feature database, if being not held in spy Levy in storehouse, then preserved characteristic quantity.
It is understood that feature database can be designed as BBT data structures, (BBT, Balanced Binary Tree are put down Weighing apparatus binary tree), characteristic quantity is preserved with BBT sheet forms, it is of course also possible to use other data structures, are not limited herein.
Accordingly, the embodiment of the invention also discloses a kind of wireless mesh network message interaction system, set applied to first Standby, shown in Figure 4, the system includes:
Receiving module 11, for receiving the first message that the second equipment is sent using first port;
Extraction module 12, for extracting the fisrt feature amount in the first message;
First judge module 13, for whether preserving fisrt feature amount in judging characteristic storehouse;
Disabled module, for judging to preserve fisrt feature amount in feature database when the first judge module 13, then forbids first Message is sent to the second equipment by second port;
Second judge module 14, for judging not preserving fisrt feature amount in feature database when the first judge module 13, then Whether second feature amount is preserved in judging characteristic storehouse;
First forwarding module 15, for judging to preserve second feature amount in feature database when the first judge module 13, then will First message is forwarded by first port or second port;
Second forwarding module 16, for judging not preserving second feature amount in feature database when the first judge module 13, then The characteristic quantity of first equipment is saved as to the fisrt feature amount of the first message, the second message is obtained, and the second message is passed through Single port or second port forwarding;
Wherein, first port is different from second port type.
In addition, above-mentioned first judge module 13, can include receiving unit, extraction unit and feature database generation unit;Its In
Receiving unit, the history ANNOUNCE messages sent for receiving device by LAN port;
Extraction unit, for extracting characteristic quantity from history ANNOUNCE messages;
Feature database generation unit, for characteristic quantity to be preserved, obtains feature database.
Further, above-mentioned first forwarding module 15, specifically for the first message is forwarded by LAN port.The present invention In embodiment, wireless mesh network the first message interaction system can also include:
Maintenance module, for periodically being safeguarded to feature database, deletion does not receive corresponding in the given time The failure characteristics amount of ANNOUNCE messages.
It can be seen that, the first equipment is when receiving the first message of the second equipment transmission in the embodiment of the present invention, from the first report Extracted in text in fisrt feature amount and second feature amount, and judging characteristic storehouse and whether to include fisrt feature amount, the is judged with this Whether two equipment are wired direct-connected with the first equipment, if so, then forbid the first message to be sent by second port to the second equipment, if It is no, then second feature amount whether is preserved in judging characteristic storehouse, judge whether to need to wired direct-connected with the first equipment with this The message of device forwards first, if so, then forwarding the first message by first port or second port, if it is not, then being set first Standby characteristic quantity saves as the fisrt feature amount of the first message, obtains the second message, and by the second message by first port or Second port is forwarded, and is ensured with this, when the 3rd equipment receives the second message, can interpolate that whether the first equipment has with the 3rd equipment Line is direct-connected, by the judgement of two kinds of situations, has cut off the premise of loop formation, has solved and exist in Wireless Mesh self-organizing network system Network loopback problem during wired+wireless mixed connection topological structure, at the same time it can also reduce the occupancy for wireless bandwidth, reduction The probability of happening that CSMA/CD conflicts are retransmitted in wireless network, so as to improve Mesh network handling capacity.
Finally, in addition it is also necessary to explanation, herein, such as first and second or the like relational terms be used merely to by One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operation Between there is any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant meaning Covering including for nonexcludability, so that process, method, article or equipment including a series of key elements not only include that A little key elements, but also other key elements including being not expressly set out, or also include be this process, method, article or The intrinsic key element of equipment.In the absence of more restrictions, the key element limited by sentence "including a ...", is not arranged Except also there is other identical element in the process including the key element, method, article or equipment.
A kind of wireless mesh network message interaction method provided by the present invention and system are described in detail above, Specific case used herein is set forth to the principle and embodiment of the present invention, and the explanation of above example is to use Understand the method and its core concept of the present invention in help;Simultaneously for those of ordinary skill in the art, according to the present invention's Thought, will change in specific embodiments and applications, in summary, and this specification content should not be construed as Limitation of the present invention.

Claims (8)

1. a kind of wireless mesh network message interaction method, applied to the first equipment, it is characterised in that including:
The first message that the second equipment is sent is received using first port;
Whether fisrt feature amount in first message is preserved in judging characteristic storehouse;
If so, then forbidding first message to be sent by second port to second equipment;
If it is not, then judging the second feature amount in first message whether is preserved in the feature database;
If so, then first message is forwarded by the first port or the second port;
If it is not, the characteristic quantity of first equipment then to be saved as to the fisrt feature amount of first message, second is obtained Message, and second message is forwarded by the first port or the second port;
Wherein, the first port is different from the second port type.
2. the message interaction method of wireless mesh network first according to claim 1, it is characterised in that also include:
Periodically the feature database is safeguarded, the failure spy for not receiving corresponding ANNOUNCE messages in the given time is deleted The amount of levying.
3. the message interaction method of wireless mesh network first according to claim 1, it is characterised in that described by described One message is forwarded by the first port or the second port, including:
First message is forwarded by LAN port.
4. the message interaction method of wireless mesh network first according to any one of Claims 1-4, it is characterised in that institute Feature database generating process is stated, including:
The history ANNOUNCE messages that receiving device is sent by LAN port;
Characteristic quantity is extracted from the history ANNOUNCE messages;
The characteristic quantity is preserved, the feature database is obtained.
5. a kind of the first message interaction of wireless mesh network system, applied to the first equipment, it is characterised in that including:
Receiving module, for receiving the first message that the second equipment is sent using first port;
First judge module, for whether preserving the fisrt feature amount in first message in judging characteristic storehouse;
Disabled module, for judging to preserve the fisrt feature amount in the feature database when first judge module, then prohibits Only first message is sent to second equipment by second port;
Second judge module, for judging not preserving the fisrt feature in the feature database when first judge module Amount, then judge the second feature amount in first message whether is preserved in the feature database;
First forwarding module, for judging to preserve the second feature amount in the feature database when first judge module, Then first message is forwarded by the first port or the second port;
Second forwarding module, for judging not preserving the second feature in the feature database when first judge module Amount, then save as the fisrt feature amount of first message by the characteristic quantity of first equipment, obtain the second message, and Second message is forwarded by the first port or the second port;
Wherein, the first port is different from the second port type.
6. the first message interaction of wireless mesh network system according to claim 5, it is characterised in that also include:
Maintenance module, for periodically being safeguarded to the feature database, deletion does not receive corresponding in the given time The failure characteristics amount of ANNOUNCE messages.
7. the first message interaction of wireless mesh network system according to claim 5, it is characterised in that first forwarding Module, specifically for first message is forwarded by LAN port.
8. wireless mesh network the first message interaction system according to any one of claim 5 to 7, it is characterised in that institute The first judge module is stated, including:
Receiving unit, the history ANNOUNCE messages sent for receiving device by LAN port;
Extraction unit, for extracting characteristic quantity from the history ANNOUNCE messages;
Feature database generation unit, for the characteristic quantity to be preserved, obtains the feature database.
CN201710075906.3A 2017-02-13 2017-02-13 wireless mesh network message interaction method and system Active CN107071825B (en)

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 true CN107071825A (en) 2017-08-18
CN107071825B 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109547339A (en) * 2019-01-18 2019-03-29 深圳市吉祥腾达科技有限公司 Prevent network from forming the method and system of loop when a kind of wireless router networking
CN111835633A (en) * 2020-07-09 2020-10-27 烽火通信科技股份有限公司 Routing and loop-back preventing method and device in easy mesh networking
CN112636963A (en) * 2020-12-15 2021-04-09 烽火通信科技股份有限公司 Networking management system and networking management method based on multiple addresses

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102065509A (en) * 2010-12-31 2011-05-18 广州杰赛科技股份有限公司 Wireless mesh network system
CN102821009A (en) * 2012-08-08 2012-12-12 中兴通讯股份有限公司 Method for monitoring ring network on basis of link layer discovery protocol and device
US20150078200A1 (en) * 2013-09-19 2015-03-19 Broadcom Corporation Adaptive Industrial Network
CN105163349A (en) * 2015-08-03 2015-12-16 东南大学 IEEE802.11s-based multi-gateway wireless Mesh network realization method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102065509A (en) * 2010-12-31 2011-05-18 广州杰赛科技股份有限公司 Wireless mesh network system
CN102821009A (en) * 2012-08-08 2012-12-12 中兴通讯股份有限公司 Method for monitoring ring network on basis of link layer discovery protocol and device
US20150078200A1 (en) * 2013-09-19 2015-03-19 Broadcom Corporation Adaptive Industrial Network
CN105163349A (en) * 2015-08-03 2015-12-16 东南大学 IEEE802.11s-based multi-gateway wireless Mesh network realization method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109547339A (en) * 2019-01-18 2019-03-29 深圳市吉祥腾达科技有限公司 Prevent network from forming the method and system of loop when a kind of wireless router networking
CN109547339B (en) * 2019-01-18 2021-07-09 深圳市吉祥腾达科技有限公司 Method and system for preventing network from forming loop in wireless router networking
CN111835633A (en) * 2020-07-09 2020-10-27 烽火通信科技股份有限公司 Routing and loop-back preventing method and device in easy mesh networking
CN111835633B (en) * 2020-07-09 2022-03-25 烽火通信科技股份有限公司 Routing and loop-back preventing method and device in easy mesh networking
CN112636963A (en) * 2020-12-15 2021-04-09 烽火通信科技股份有限公司 Networking management system and networking management method based on multiple addresses
CN112636963B (en) * 2020-12-15 2022-04-26 烽火通信科技股份有限公司 Networking management system and networking management method based on multiple addresses

Also Published As

Publication number Publication date
CN107071825B (en) 2020-01-31

Similar Documents

Publication Publication Date Title
Kanodia et al. Ordered packet scheduling in wireless ad hoc networks: Mechanisms and performance analysis
US7894381B2 (en) System and method of reliably broadcasting data packet under ad-hoc network environment
EP2280517B1 (en) Method and apparatus for controlling packet transmissions within wireless networks to enhance network formation
US9655006B2 (en) System and method for controlling congestion in wireless mesh networks
CN103297257A (en) Implementation method of redundant network
JPH0677963A (en) Communication system and terminal equipment
CN104618959B (en) A kind of method and its system for realizing aeronautical Ad hoc networks MAC protocol
CN102223312B (en) Flow control method and equipment based on link status
CN107071825A (en) A kind of wireless mesh network message interaction method and system
CN101843070B (en) Method and apparatus for communicating over multiple networks
CN104301226A (en) Designated routing bridge (DRB) election method, equipment and system
US6351469B1 (en) Sound/data sharing communications system
EP3506573A1 (en) Method and system for traffic management, packet switching device and user device
US20230044810A1 (en) Flow Control Method and Apparatus
CN101395857B (en) Method for multi-hop data transmission in an ad-hoc network comprising concealed nodes
JP2002077213A (en) System for accessing subscriber's radio
US20210051460A1 (en) Method for Discovering Device in Mesh Network
CN101997767B (en) Method and device for acquiring protocol messages by nodes on ring network
CN101874382B (en) Bi-directional amplifier for data over coax application
CN102986264B (en) For the method and system effectively certainly coexisting of radio area network
CN105451272A (en) Data interaction method, building baseband unit, radio remote unit and R-Hub
CN109788499B (en) LoRa transmission method for backbone N-node M redundancy transmission
KR20060090219A (en) Method of switching packets in a transmission medium comprising multiple stations which are connected using different links
CN101997724A (en) Method and device for updating multicast forwarding entries
Ciminiera et al. Industrial IEEE 802.3 networks with short delivery time for urgent messages

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