CN106993336A - A kind of message forwarding method and system based on WDS - Google Patents
A kind of message forwarding method and system based on WDS Download PDFInfo
- Publication number
- CN106993336A CN106993336A CN201710124962.1A CN201710124962A CN106993336A CN 106993336 A CN106993336 A CN 106993336A CN 201710124962 A CN201710124962 A CN 201710124962A CN 106993336 A CN106993336 A CN 106993336A
- Authority
- CN
- China
- Prior art keywords
- reception device
- radio reception
- mac address
- message
- client
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 24
- 238000004321 preservation Methods 0.000 claims description 5
- 230000005540 biological transmission Effects 0.000 abstract description 10
- 101150081243 STA1 gene Proteins 0.000 description 6
- 230000009471 action Effects 0.000 description 6
- 101100059544 Arabidopsis thaliana CDC5 gene Proteins 0.000 description 4
- 101150115300 MAC1 gene Proteins 0.000 description 4
- 101100161473 Arabidopsis thaliana ABCB25 gene Proteins 0.000 description 2
- 101100096893 Mus musculus Sult2a1 gene Proteins 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 101100395869 Escherichia coli sta3 gene Proteins 0.000 description 1
- 101000752249 Homo sapiens Rho guanine nucleotide exchange factor 3 Proteins 0.000 description 1
- 102100021689 Rho guanine nucleotide exchange factor 3 Human genes 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/12—Setup of transport tunnels
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a kind of message forwarding method based on WDS, comprise the following steps:S10, when radio reception device receives message, parse the mac address information in the message;S20, the mac address information judged in the message whether there is in the MAC Address list preserved on the radio reception device;S30, when during the mac address information in the message is not present in the MAC Address list that is preserved on the radio reception device, the radio reception device is abandoned forwarding the message according to the client-side information or facility information preserved on the radio reception device.The present invention abandons E-Packeting when during the mac address information in message is not present in the MAC Address list that is preserved on the radio reception device;Mitigate the burden that message is sent on radio channel so as to reduce, improve the efficiency of transmission on radio channel.
Description
Technical field
The invention belongs to message transmission technology field, message forwarding method and system more particularly to based on WDS.
Background technology
WDS functions are opened on wireless router, extended wireless network signal can be extended, so that wireless network is believed
Number covering wider scope.That is, WDS serves as the repeater of wireless network, radio reception device AP or wireless can be allowed
By wirelessly being bridged (relaying) between router, and had no effect on during wireless bridging its radio reception device AP or
The coverage effect of person's wireless router.
When active routers of the radio reception device AP as WDS, existing client STA association, there is the WDS of secondary router again
Access.When radio reception device AP receives message, so long as not issuing the visitor that is joined directly together with radio reception device AP
Family end STA, the message needs to be forwarded on other radio reception devices AP in wireless distribution system.
, often can be wireless in wireless distribution system if receiving the target device of message not in wireless distribution system
The useless message that target device is not received is sent on access device AP, so as to aggravate to send out on radio channel in wireless distribution system
Deliver newspaper text burden, reduce the efficiency of transmission on radio channel.
The content of the invention
The technical scheme that the present invention is provided is as follows:
The present invention provides a kind of message forwarding method based on WDS, comprises the following steps:S10, connect when radio reception device
When receiving message, the mac address information in the message is parsed;S20, judge whether is mac address information in the message
It is present in the MAC Address list preserved on the radio reception device;S30, when the mac address information in the message not
When being present in the MAC Address list preserved on the radio reception device, the radio reception device is abandoned according to described
The client-side information or facility information preserved on radio reception device forwards the message.
Further, it is further comprising the steps of:S40, it is present in the wireless access when the mac address information in the message
When in the MAC Address list preserved in equipment, the radio reception device on the radio reception device according to being preserved
Client-side information or facility information forward the message.
Further, the step S30 further comprises:S31, it is not present in institute when the mac address information in the message
When stating in the MAC Address list preserved on radio reception device, further determine whether exist and the radio reception device
Connected another radio reception device, and another radio reception device be different from the radio reception device on preserved equipment letter
Cease corresponding radio reception device;S32, when in the absence of another radio reception device being connected with the radio reception device,
The radio reception device abandons the message.
Further, the step S30 further comprises:S33, when exist be connected with the radio reception device it is another wirelessly
During access device, the radio reception device is abandoned according to the client-side information or equipment preserved on the radio reception device
Information forwards the message;After S34, another radio reception device are as the radio reception device described in step S10, jump
Turn to perform step S10.
Further, also include before the step S10:S011, when a nothing in client associate wireless distribution system
During line access device, its mac address information is sent to the radio reception device, the radio reception device by the client
Preserve the mac address information, send the corresponding client-side information of client of the mac address information;S012, described wirelessly connect
Enter the first line of a couplet radio reception device that the mac address information is transmitted to the radio reception device by equipment, the first line of a couplet wirelessly connects
Enter equipment to preserve the mac address information, forward the corresponding facility information of radio reception device of the mac address information;S013、
After the first line of a couplet radio reception device is as the radio reception device described in step S012, repeat step S012~S013.
Further, also include before the step S10:S021, when the nothing in client and the wireless distribution system
During line access device disassociation, the client sends association and releases information to the radio reception device;S022, the nothing
The line access device forwarding association releases first line of a couplet radio reception device of the information to the radio reception device, and it is wireless to delete this
The corresponding mac address information of the client, the client-side information preserved in access device;S023, the first line of a couplet wireless access
The association is released information and is transmitted to the first line of a couplet radio reception device of the first line of a couplet radio reception device by equipment, and deletes the first line of a couplet
The corresponding mac address information of the client, the facility information preserved in radio reception device;S024, the first line of a couplet wirelessly connect
After entering the first line of a couplet radio reception device of equipment as the first line of a couplet radio reception device described in step S023, repeat step S023~
S024。
The present invention also provides a kind of system applied in the message forwarding method based on WDS, including radio reception device, institute
Stating radio reception device includes:Parsing module, for when radio reception device receives message, parsing in the message
Mac address information;Judge module, sets for judging that the mac address information in the message whether there is in the wireless access
In the MAC Address list preserved on standby;Control module is forwarded, for being not present in when the mac address information in the message
When in the MAC Address list preserved on the radio reception device, abandon according to being preserved on the radio reception device
Client-side information or facility information forward the message.
Further, the forwarding control module, the mac address information for being additionally operable to work as in the message is present in described wireless
When in the MAC Address list preserved on access device, according to the client-side information preserved on the radio reception device or
Facility information forwards the message.
Further, the judge module, the mac address information for being additionally operable to work as in the message is not present in described wirelessly connecing
When entering in the MAC Address list preserved in equipment, further determine whether another in the presence of what is be connected with the radio reception device
One radio reception device, and the facility information that another radio reception device is different from being preserved on the radio reception device is corresponding
Radio reception device;The forwarding control module, is additionally operable to when another wireless in the absence of what is be connected with the radio reception device
During access device, the message is abandoned;The forwarding control module, is additionally operable to when another in the presence of what is be connected with the radio reception device
During one radio reception device, abandon forwarding institute according to the client-side information or facility information preserved on the radio reception device
State message.
Further, the client includes information sending module, for when one in client associate wireless distribution system
During radio reception device, its mac address information is sent to the radio reception device, the radio reception device preserves described
Mac address information, the corresponding client-side information of client for sending the mac address information;The forwarding control module, is additionally operable to
The mac address information is transmitted to the first line of a couplet radio reception device of the radio reception device, the first line of a couplet radio reception device
Preserve the mac address information, forward the corresponding facility information of radio reception device of the mac address information.
Compared with prior art, the level system of the message forwarding method based on WDS that the present invention is provided, with following beneficial effect
Really:
1), the present invention when radio reception device receives message, the mac address information checked in message whether there is in
In MAC Address list on the radio reception device;When the mac address information in message is not present on the radio reception device
MAC Address list in when, abandon E-Packeting;Mitigate the burden that message is sent on radio channel so as to reduce, improve nothing
Efficiency of transmission in line passage.
2), the mac address information that the present invention works as in message is present in the MAC Address list on the radio reception device
When, radio reception device according to the corresponding target terminal equipment of MAC Address, to the corresponding client of the client-side information of preservation or
The corresponding radio reception device of facility information sends message, so as to improve the efficiency of message forwarding so that message is forwarded to as early as possible
In target terminal equipment.
3), the mac address information that the present invention works as in message is present in the MAC Address list on the radio reception device
When, after radio reception device is connected except the corresponding radio reception device of facility information with being preserved, if also exist another
Radio reception device is connected with the radio reception device.When in the absence of another radio reception device, the radio reception device is straight
Connect and abandon the message, so as to mitigate the burden of radio channel.
4), when there is another radio reception device in the present invention, and the radio reception device abandons the client letter to preservation
Cease corresponding client or the corresponding radio reception device of facility information sends message, but sent to another radio reception device
The message.So as to avoid radio reception device from sending message from plurality of passages, the burden of radio channel is alleviated.
5), its mac address information is reported the wireless access and set by the present invention when client associate radio reception device
Standby, the radio reception device reports mac address information first line of a couplet radio reception device successively, allows first line of a couplet radio reception device to know
Know the client terminal of its second line of a couplet radio reception device institute carry.When needing message being sent to target terminal equipment, its message
Can the mac address information containing the target terminal equipment.
When first line of a couplet radio reception device receives message, according to the mac address information of preservation, decide whether to the second line of a couplet without
Line access device E-Packets, so as to mitigate the burden of radio channel, improves the efficiency of message forwarding.
6), the present invention is when client and radio reception device disassociation, and radio reception device can delete the client
MAC Address and client-side information, so as to discharge the space-consuming of radio reception device, improve the operation of radio reception device
Speed.
Brief description of the drawings
Below by clearly understandable mode, preferred embodiment is described with reference to the drawings, a kind of message based on WDS is turned
Above-mentioned characteristic, technical characteristic, advantage and its implementation of forwarding method and system are further described.
Fig. 1 is a kind of schematic flow sheet of the message forwarding method based on WDS of the present invention;
Fig. 2 is a part of schematic flow sheet of the message forwarding method based on WDS in the present invention;
Fig. 3 is another part schematic flow sheet of the message forwarding method based on WDS in the present invention;
Fig. 4 is the schematic flow sheet of another message forwarding method based on WDS of the invention;
Fig. 5 is the composition structural representation of radio reception device in a kind of message forwarding system based on WDS of the present invention;
Fig. 6 is a kind of composition structural representation of the message forwarding system based on WDS of the present invention.
Drawing reference numeral explanation:
11st, parsing module, 12, judge module, 13, forwarding control module, 14, removing module.
Embodiment
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, control is illustrated below
The embodiment of the present invention.It should be evident that drawings in the following description are only some embodiments of the present invention, for
For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings
Accompanying drawing, and obtain other embodiments.
To make only to schematically show part related to the present invention in simplified form, each figure, they are not represented
Its as product practical structures.In addition, so that simplified form is readily appreciated, there is identical structure or function in some figures
Part, only symbolically depicts one of those, or has only marked one of those.Herein, " one " is not only represented
" only this ", can also represent the situation of " more than one ".
Explanation of nouns:
The first line of a couplet radio reception device of any one radio reception device refers to:
In other radio reception devices being joined directly together with the radio reception device, to internet lan device or
The distance of WAN equipment, it is nearer than the radio reception device to the lan device of same internet or the distance of WAN equipment
Radio reception device.
The second line of a couplet radio reception device of any one radio reception device refers to:
In other radio reception devices being joined directly together with the radio reception device, to internet lan device or
The distance of WAN equipment, it is more remote than the radio reception device to the lan device of same internet or the distance of WAN equipment
Radio reception device.
As shown in figure 1, according to one embodiment of present invention, a kind of message forwarding method based on WDS, including following step
Suddenly:S10, receive the report that first line of a couplet radio reception device or second line of a couplet radio reception device or client are sent when radio reception device
Wen Shi, the first line of a couplet radio reception device, second line of a couplet radio reception device, client directly wirelessly connect with radio reception device respectively
Connect;Parse the mac address information in the message.
S20, judge that mac address information in the message whether there is in being preserved on the radio reception device
In MAC Address list;It is stored with the MAC Address list associated by second line of a couplet radio reception device or first line of a couplet radio reception device
The corresponding mac address information of client.The second line of a couplet radio reception device includes the second line of a couplet wireless access of the radio reception device
The second line of a couplet access device ... of equipment and second line of a couplet radio reception device is by that analogy etc..The first line of a couplet radio reception device
The first line of a couplet access device ... of first line of a couplet radio reception device and first line of a couplet radio reception device including the radio reception device
By that analogy etc..The corresponding MAC Address letter of the client associated by the radio reception device that is also stored with the MAC Address list
Breath.
S30, when the mac address information in the message with being not present in the MAC that is preserved on the radio reception device
When in the list of location, the radio reception device is abandoned according to the client-side information or equipment preserved on the radio reception device
Information forwards the message.The client-side information to should radio reception device client;The facility information is to should
The second line of a couplet access device or first line of a couplet access device of radio reception device.
It is preferred that, in addition to S40, it is present in institute on the radio reception device when the mac address information in the message
When in the MAC Address list of preservation, the radio reception device is believed according to the client preserved on the radio reception device
Breath or facility information forward the message.Namely the radio reception device is to second line of a couplet radio reception device or first line of a couplet wireless access
Equipment or client forward the message.
Specifically, as shown in fig. 6, when radio reception device AP1 receives the message of the transmission of client STA 1, in the message
MAC Address containing client STA 7, when the message needs to be sent to client STA 7, (client STA 7 is not in distribution of wireless system
In system) when.Because client STA 7 is not in wireless distribution system, client STA 7 will not be preserved in radio reception device AP1
MAC Address.The MAC Address in message is viewed to be not present in the MAC Address list that is preserved in radio reception device AP1
When, radio reception device AP1 abandons forwarding the message to radio reception device AP2.
As shown in Figure 1, 2, according to another embodiment of the invention, a kind of message forwarding method based on WDS, including with
Lower step:S011, when a radio reception device in client associate wireless distribution system, the client is by its MAC
Location information is sent to the radio reception device, and the radio reception device not only preserves the mac address information, will also maintain hair
Give the client-side information of the mac address information;Mac address information is stored in User Defined IE, is sent using user's frame.
The first line of a couplet that the mac address information is transmitted to the radio reception device by S012, the radio reception device is wireless
Access device, the first line of a couplet radio reception device not only preserves the mac address information, will also maintain the forwarding MAC Address letter
The corresponding facility information of radio reception device of breath;
After S013, the first line of a couplet radio reception device are as the radio reception device described in step S012, repeat step
S012~S013.
S10, when radio reception device receive first line of a couplet radio reception device or second line of a couplet radio reception device or client hair
During the message sent, the first line of a couplet radio reception device, second line of a couplet radio reception device, client respectively directly with radio reception device without
Line is connected;Parse the mac address information in the message.
S20, judge that mac address information in the message whether there is in being preserved on the radio reception device
In MAC Address list;The corresponding MAC of the client associated by second line of a couplet radio reception device that is stored with the MAC Address list
Location information.The second line of a couplet radio reception device and the second line of a couplet that the second line of a couplet radio reception device includes the radio reception device are wireless
The second line of a couplet access device ... of access device is by that analogy etc..The wireless access that is also stored with the MAC Address list is set
The corresponding mac address information of other standby associated clients.
S30, when the mac address information in the message with being not present in the MAC that is preserved on the radio reception device
When in the list of location, the radio reception device is abandoned according to the client-side information or equipment preserved on the radio reception device
Information forwards the message.The client-side information to should radio reception device client;The facility information is to should
The second line of a couplet access device or first line of a couplet access device of radio reception device.
Specifically, as shown in fig. 6, when client STA 5 associates radio reception device AP3, client STA 5 is by client
STA5 mac address information is sent to radio reception device AP3, and radio reception device AP3 preserves the mac address information, transmission
The client-side information of the client STA 5 of the mac address information.
Radio reception device AP3 sets the first line of a couplet wireless access that the mac address information is transmitted to radio reception device AP3
Standby AP2, first line of a couplet radio reception device AP2 preserve the mac address information, forward the wireless access of the mac address information to set
Standby AP3.
First line of a couplet radio reception device AP2 is as new radio reception device AP2, and radio reception device AP2 is by the MAC
Location information is transmitted to radio reception device AP2 first line of a couplet radio reception device AP1, and first line of a couplet radio reception device AP1 preserves institute
State mac address information, forward the radio reception device AP2 of the mac address information.Radio reception device will not allow the second line of a couplet wirelessly to connect
Enter the client that equipment knows its carry.
As shown in Figure 1, Figure 2, Figure 3 shows, according to still another embodiment of the invention, a kind of message forwarding method based on WDS,
Comprise the following steps:It is preferred that, in addition to S011, when a radio reception device in client associate wireless distribution system,
Its mac address information is sent to the radio reception device by the client, and the radio reception device not only preserves the MAC
Address information, will also maintain the client-side information for sending the mac address information;Mac address information is stored in User Defined IE
In, sent using user's frame.
It is preferred that, in addition to the mac address information is transmitted to the wireless access and set by S012, the radio reception device
Standby first line of a couplet radio reception device, the first line of a couplet radio reception device not only preserves the mac address information, will also maintain forwarding institute
State the corresponding facility information of radio reception device of mac address information;
It is preferred that, in addition to S013, the first line of a couplet radio reception device set as the wireless access described in step S012
After standby, repeat step S012~S013.
S021, when the radio reception device disassociation in client and the wireless distribution system, the client
Send association and release information to the radio reception device;
S022, the radio reception device forwarding association release information and wirelessly connect to the first line of a couplet of the radio reception device
Enter equipment, and with deleting the corresponding mac address information of the client preserved in the radio reception device, the transmission MAC
The client-side information of location information;
The association is released information and is transmitted to the first line of a couplet radio reception device by S023, the first line of a couplet radio reception device
First line of a couplet radio reception device, and delete preserved in the first line of a couplet radio reception device the corresponding mac address information of the client,
Send the corresponding facility information of radio reception device of the mac address information;
S024, the first line of a couplet radio reception device first line of a couplet radio reception device as the first line of a couplet described in step S024 without
After line access device, repeat step S023~S024.
S10, when radio reception device receive first line of a couplet radio reception device or second line of a couplet radio reception device or client hair
During the message sent, the first line of a couplet radio reception device, second line of a couplet radio reception device, client respectively directly with radio reception device without
Line is connected;Parse the mac address information in the message.
S20, judge that mac address information in the message whether there is in being preserved on the radio reception device
In MAC Address list;
S30, when the mac address information in the message with being not present in the MAC that is preserved on the radio reception device
When in the list of location, the radio reception device is abandoned according to the client-side information or equipment preserved on the radio reception device
Information forwards the message.The client-side information to should radio reception device client;The facility information is to should
The second line of a couplet access device or first line of a couplet access device of radio reception device.
Specifically, as shown in fig. 6, when client STA 4 is with radio reception device AP2 disassociations, client STA 4 is sent
Association releases information and gives radio reception device AP2, radio reception device AP2 to delete the MAC Address of preserved client STA 4
The client-side information of information, client STA 4.
The radio reception device AP2 forwardings association releases information and set to radio reception device AP2 first line of a couplet wireless access
Standby AP1, first line of a couplet radio reception device AP1 delete mac address information, the radio reception device of preserved client STA 4
AP2 facility information.
As shown in Figure 2, Figure 3, Figure 4, according to still a further embodiment, a kind of message forwarding method based on WDS,
Comprise the following steps:It is preferred that, in addition to S011, when a radio reception device in client associate wireless distribution system,
Its mac address information is sent to the radio reception device by the client, and the radio reception device not only preserves the MAC
Address information, will also maintain the client-side information for sending the mac address information;Mac address information is stored in User Defined IE
In, sent using user's frame.
It is preferred that, in addition to the mac address information is transmitted to the wireless access and set by S012, the radio reception device
Standby first line of a couplet radio reception device, the first line of a couplet radio reception device not only preserves the mac address information, will also maintain forwarding institute
State the corresponding facility information of radio reception device of mac address information;
It is preferred that, in addition to S013, the first line of a couplet radio reception device set as the wireless access described in step S012
After standby, repeat step S012~S013.
It is preferred that, in addition to S021, when the radio reception device disassociation in client and the wireless distribution system
When, the client sends association and releases information to the radio reception device;
It is preferred that, in addition to S022, the radio reception device forwarding it is described association release information set to the wireless access
Standby first line of a couplet radio reception device, and delete preserved in the radio reception device the corresponding mac address information of the client,
Send the client-side information of the mac address information;
It is preferred that, in addition to S023, the first line of a couplet radio reception device by it is described association release information be transmitted to the first line of a couplet
The first line of a couplet radio reception device of radio reception device, and delete the client correspondence preserved in the first line of a couplet radio reception device
Mac address information, send the corresponding facility information of radio reception device of the mac address information;
It is preferred that, in addition to S024, the first line of a couplet radio reception device of the first line of a couplet radio reception device be used as step S024
Described in first line of a couplet radio reception device after, repeat step S023~S024.
S10, when radio reception device receive first line of a couplet radio reception device or second line of a couplet radio reception device or client hair
During the message sent, the first line of a couplet radio reception device, second line of a couplet radio reception device, client respectively directly with radio reception device without
Line is connected;Parse the mac address information in the message.
S20, judge that mac address information in the message whether there is in being preserved on the radio reception device
In MAC Address list;
S30, when the mac address information in the message with being not present in the MAC that is preserved on the radio reception device
When in the list of location, the radio reception device is abandoned according to the client-side information or equipment preserved on the radio reception device
Information forwards the message.The client-side information to should radio reception device client;The facility information is to should
The second line of a couplet access device or first line of a couplet access device of radio reception device.
Further, S31, be not present in being preserved on the radio reception device when the mac address information in the message
MAC Address list in when, further determine whether there is another radio reception device for being connected with the radio reception device,
And another radio reception device is different from the corresponding radio reception device of facility information that is preserved on the radio reception device.When
Facility information to should radio reception device second line of a couplet radio reception device, then another radio reception device be the wireless access set
Standby first line of a couplet radio reception device.When facility information to should radio reception device first line of a couplet radio reception device, then another nothing
Line access device is the second line of a couplet radio reception device of the radio reception device.
S32, when in the absence of another radio reception device (first line of a couplet radio reception device) being connected with the radio reception device
When, the radio reception device abandons the message.
S33, when exist be connected with the radio reception device another radio reception device (first line of a couplet radio reception device) when,
The radio reception device is abandoned forwarding institute according to the client-side information or facility information preserved on the radio reception device
Message is stated, and the message received is forwarded to another radio reception device (first line of a couplet radio reception device);
After S34, another radio reception device are as the radio reception device described in step S10, redirect and perform step
Rapid S10.
Specifically, as shown in fig. 6, for example:When client STA 3 sends message to client STA 1, contain in the message
The MAC Address of client STA 1.When radio reception device AP2 receives the message of the transmission of client STA 3, wireless access is set
Standby be stored with client STA 3, the respective mac address information of client STA 4, radio reception device AP2 are wirelessly connect receiving
When entering device A P1 and reporting client STA 5,6 respective mac address information of client STA, except preserving client STA 5, client
Hold outside the respective mac address informations of STA6, will also maintain radio reception device AP1 facility information, but without storage client
STA3 MAC Address.
In addition to the corresponding radio reception device AP3 of the facility information preserved on radio reception device AP2 is attached thereto,
Also judge that there is another radio reception device AP1 is connected with radio reception device AP2, radio reception device AP2 turns message
Issue another radio reception device AP1.Mac address informations of another radio reception device AP1 in message, and this is wireless
The mac address information that access device AP1 is preserved, message is sent to client STA 1.
As shown in figure 5, according to one embodiment of present invention, a kind of message forwarding system based on WDS, including client
End, radio reception device:
It is preferred that, the client includes information sending module, for when one in client associate wireless distribution system
During radio reception device, its mac address information is sent to the radio reception device, the radio reception device is not only preserved
The mac address information, will also maintain the client-side information for sending the mac address information;Mac address information, which is stored in user, to be made by oneself
In adopted IE, sent using user's frame.
It is preferred that, the radio reception device includes forwarding control module 13, for the mac address information to be transmitted to
The first line of a couplet radio reception device of the radio reception device, the first line of a couplet radio reception device not only preserves the mac address information, also
The corresponding facility information of radio reception device for forwarding the mac address information can be preserved;The first line of a couplet radio reception device is made
After new radio reception device, repeat to forward mac address information to new first line of a couplet radio reception device, until distribution of wireless system
Final one new first line of a couplet radio reception device in system.
It is preferred that, described information sending module is additionally operable to when client and the wireless access in the wireless distribution system
During equipment disassociation, the client sends association and releases information to the radio reception device;
It is preferred that, the radio reception device also includes removing module 14, and the forwarding control module 13 is used to forward institute
State association and release first line of a couplet radio reception device of the information to the radio reception device, and the removing module 14 is used to delete the nothing
The corresponding mac address information of the client, the client letter of the transmission mac address information preserved in line access device
Breath;
It is preferred that, the forwarding control module 13 in the first line of a couplet radio reception device, for the association to be released into information
It is transmitted to the removing module in the first line of a couplet radio reception device of the first line of a couplet radio reception device, and the first line of a couplet radio reception device
14, the corresponding mac address information of the client, the transmission MAC preserved for deleting in the first line of a couplet radio reception device
The corresponding facility information of radio reception device of address information;The first line of a couplet radio reception device of the first line of a couplet radio reception device is made
After new first line of a couplet radio reception device, repeat forwarding association and release information, deleting MAC address information, facility information.
The radio reception device also includes parsing module 11, for receiving first line of a couplet wireless access when radio reception device
During the message that equipment or second line of a couplet radio reception device or client are sent, the first line of a couplet radio reception device, second line of a couplet wireless access are set
Standby, client respectively directly with radio reception device wireless connection;Parse the mac address information in the message.
The radio reception device also includes judge module 12, for whether judging the mac address information in the message
It is present in the MAC Address list preserved on the radio reception device;
The forwarding control module 13, for being not present in the wireless access when the mac address information in the message
When in the MAC Address list preserved in equipment, the radio reception device is abandoned being protected according on the radio reception device
The client-side information or facility information deposited forward the message.The client-side information to should radio reception device client
End;The facility information to should radio reception device second line of a couplet access device or first line of a couplet access device.
Further, the judge module 12, for being not present in described wirelessly connecing when the mac address information in the message
When entering in the MAC Address list preserved in equipment, further determine whether another in the presence of what is be connected with the radio reception device
One radio reception device, and the facility information that another radio reception device is different from being preserved on the radio reception device is corresponding
Radio reception device.When facility information to should radio reception device second line of a couplet radio reception device, then another wireless access set
Standby is the first line of a couplet radio reception device of the radio reception device.
The forwarding control module 13, for when in the absence of another radio reception device being connected with the radio reception device
When (first line of a couplet radio reception device), the radio reception device abandons the message.
The forwarding control module 13, for when in the presence of another radio reception device being connected with the radio reception device
When (first line of a couplet radio reception device), the radio reception device is abandoned according to the client preserved on the radio reception device
Information or facility information forward the message, and forward what is received to another radio reception device (first line of a couplet radio reception device)
The message;After another radio reception device is as new radio reception device, above step is repeated.
As shown in fig. 6, according to one embodiment of present invention, a kind of message forwarding method based on WDS, including following step
Suddenly:
After STA1~STA6 any one STA successfully manages AP, AP can pass through STA MAC with Action frame
WDS linkup transmits are arrived this MAC by WDS linkup transmits with Action frame again to upper level AP, then upper level AP
His upper level AP.MAC Address is placed in Action frame Vendor Specific IE.
STA6 is successfully associated AP3, and STA6 MAC is sent to AP2 by AP3 by Action Frame, AP2 and then STA6
MAC AP1 is sent to by Action frame.Action Frame are sent on WDS interface channels.
When AP1 upper united mouth sends a message to MAC1 terminal, and MAC1 is not belonging to STA1~STA6.
When AP1 upper united mouth sends message to STA6, then because the AP1 MAC that have received AP2 are notified, then this message meeting
AP2 is transmitted to, similarly, AP2 can be transmitted to AP3.
When AP1 upper united mouth sends message to STA7 (STA7 is not in this network), then because AP1 not have received AC
MAC on STA7 notifies that then this message will not be transmitted to AP2, directly abandons.Bandwidth is so greatly saved.
When STA4 is successfully associated AP2, STA6 MAC is sent to AP1 by AP2.Notice that MAC will not be passed through WDS by AP2 here
Linkup transmit is to AP3.Because AP3 is in AP2 downstream.
When STA and AP disassociations, the MAC of disassociation is equally sent to higher level AP by AP, if higher level AP has
The higher level AP of WDS connections, is handled successively.
Specifically, traditionally, because AP1 does not know MAC1 or not in WDS connections, all AP1 can turn this message
My AP2 is issued, similarly AP2 can also be transmitted to AP3, AP3 will abandon this report due to judging that MAC1 is not belonging to STA5 and STA6
Text.Which results in the waste of Radio Resource.
It should be noted that above-described embodiment can independent assortment as needed.Described above is only the preferred of the present invention
Embodiment, it is noted that for those skilled in the art, is not departing from the premise of the principle of the invention
Under, some improvements and modifications can also be made, these improvements and modifications also should be regarded as protection scope of the present invention.
Claims (10)
1. a kind of message forwarding method based on WDS, it is characterised in that comprise the following steps:
S10, when radio reception device receives message, parse the mac address information in the message;
S20, judge that mac address information in the message whether there is in the MAC preserved on the radio reception device
In the list of location;
S30, the MAC Address row for being not present in being preserved on the radio reception device when the mac address information in the message
When in table, the radio reception device is abandoned according to the client-side information or facility information preserved on the radio reception device
Forward the message.
2. the message forwarding method as claimed in claim 1 based on WDS, it is characterised in that further comprising the steps of:
S40, it is present in the MAC Address list preserved on the radio reception device when the mac address information in the message
When middle, the radio reception device forwards institute according to the client-side information or facility information preserved on the radio reception device
State message.
3. the message forwarding method as claimed in claim 1 based on WDS, it is characterised in that the step S30 is further wrapped
Include:
S31, the MAC Address row for being not present in being preserved on the radio reception device when the mac address information in the message
When in table, further determine whether there is another radio reception device being connected with the radio reception device, and it is another wireless
Access device is different from the corresponding radio reception device of facility information preserved on the radio reception device;
S32, when in the absence of another radio reception device being connected with the radio reception device, the radio reception device is lost
Abandon the message.
4. the message forwarding method as claimed in claim 3 based on WDS, it is characterised in that the step S30 is further wrapped
Include:
S33, when exist be connected with the radio reception device another radio reception device when, the radio reception device abandons root
The message is forwarded according to the client-side information or facility information preserved on the radio reception device;
After S34, another radio reception device are as the radio reception device described in step S10, execution step is redirected
S10。
5. the message forwarding method based on WDS as described in any one in Claims 1 to 4, it is characterised in that in the step
Also include before rapid S10:
S011, when a radio reception device in client associate wireless distribution system, the client believes its MAC Address
Breath is sent to the radio reception device, and the radio reception device preserves the mac address information, sends MAC Address letter
The corresponding client-side information of client of breath;
The mac address information is transmitted to the first line of a couplet wireless access of the radio reception device by S012, the radio reception device
Equipment, the first line of a couplet radio reception device preserves the mac address information, forwards the radio reception device of the mac address information
Corresponding facility information;
After S013, the first line of a couplet radio reception device are as the radio reception device described in step S012, repeat step S012
~S013.
6. the message forwarding method as claimed in claim 5 based on WDS, it is characterised in that also wrapped before the step S10
Include:
S021, when the radio reception device disassociation in client and the wireless distribution system, the client is sent
Association releases information to the radio reception device;
S022, the radio reception device forwarding association release information and set to the first line of a couplet wireless access of the radio reception device
It is standby, and delete the corresponding mac address information of the client, the client-side information preserved in the radio reception device;
The association is released the first line of a couplet that information is transmitted to the first line of a couplet radio reception device by S023, the first line of a couplet radio reception device
Radio reception device, and delete the corresponding mac address information of the client preserved in the first line of a couplet radio reception device, equipment
Information;
S024, the first line of a couplet radio reception device of the first line of a couplet radio reception device wirelessly connect as the first line of a couplet described in step S023
Enter after equipment, repeat step S023~S024.
7. a kind of system applied in the message forwarding method based on WDS as described in any one in claim 1~6, bag
Include radio reception device, it is characterised in that the radio reception device includes:
Parsing module, for when radio reception device receives message, parsing the mac address information in the message;
Judge module, is protected for judging that the mac address information in the message whether there is on the radio reception device
In the MAC Address list deposited;
Control module is forwarded, for being not present in being protected on the radio reception device when the mac address information in the message
When in the MAC Address list deposited, abandon being turned according to the client-side information or facility information preserved on the radio reception device
Send out message described.
8. the message forwarding system as claimed in claim 7 based on WDS, it is characterised in that:
The forwarding control module, the mac address information for being additionally operable to work as in the message is present on the radio reception device
When in the MAC Address list preserved, turned according to the client-side information or facility information preserved on the radio reception device
Send out message described.
9. the message forwarding system as claimed in claim 7 based on WDS, it is characterised in that:
The judge module, the mac address information for being additionally operable to work as in the message is not present in institute on the radio reception device
When in the MAC Address list of preservation, further determine whether there is another wireless access being connected with the radio reception device
Equipment, and another radio reception device is different from the corresponding wireless access of facility information that is preserved on the radio reception device and sets
It is standby;
The forwarding control module, is additionally operable to when in the absence of another radio reception device being connected with the radio reception device
When, abandon the message;
The forwarding control module, is additionally operable to, when there is another radio reception device being connected with the radio reception device, put
Abandon and the message is forwarded according to the client-side information or facility information preserved on the radio reception device.
10. the message forwarding system based on WDS as described in any one in claim 6~9, it is characterised in that:
The client includes information sending module, for when a radio reception device in client associate wireless distribution system
When, its mac address information is sent to the radio reception device, the radio reception device preserve the mac address information,
Send the corresponding client-side information of client of the mac address information;
The forwarding control module, is additionally operable to wirelessly connect the first line of a couplet that the mac address information is transmitted to the radio reception device
Enter equipment, the first line of a couplet radio reception device preserves the mac address information, forwards the wireless access of the mac address information to set
Standby corresponding facility information.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710124962.1A CN106993336A (en) | 2017-03-03 | 2017-03-03 | A kind of message forwarding method and system based on WDS |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710124962.1A CN106993336A (en) | 2017-03-03 | 2017-03-03 | A kind of message forwarding method and system based on WDS |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN106993336A true CN106993336A (en) | 2017-07-28 |
Family
ID=59411634
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710124962.1A Pending CN106993336A (en) | 2017-03-03 | 2017-03-03 | A kind of message forwarding method and system based on WDS |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106993336A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113473441A (en) * | 2021-06-08 | 2021-10-01 | 北京小米移动软件有限公司 | Data forwarding method and device, node device and storage medium |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060209818A1 (en) * | 2005-03-18 | 2006-09-21 | Purser Jimmy R | Methods and devices for preventing ARP cache poisoning |
| CN101127707A (en) * | 2007-09-21 | 2008-02-20 | 杭州华三通信技术有限公司 | Data forwarding method and access point device |
| CN102215170A (en) * | 2011-06-08 | 2011-10-12 | 中兴通讯股份有限公司 | Method and processor for restraining Internet storm |
| CN102595333A (en) * | 2012-02-06 | 2012-07-18 | 福建星网锐捷网络有限公司 | Message transmitting method and wireless access equipment |
-
2017
- 2017-03-03 CN CN201710124962.1A patent/CN106993336A/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060209818A1 (en) * | 2005-03-18 | 2006-09-21 | Purser Jimmy R | Methods and devices for preventing ARP cache poisoning |
| CN101127707A (en) * | 2007-09-21 | 2008-02-20 | 杭州华三通信技术有限公司 | Data forwarding method and access point device |
| CN102215170A (en) * | 2011-06-08 | 2011-10-12 | 中兴通讯股份有限公司 | Method and processor for restraining Internet storm |
| CN102595333A (en) * | 2012-02-06 | 2012-07-18 | 福建星网锐捷网络有限公司 | Message transmitting method and wireless access equipment |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113473441A (en) * | 2021-06-08 | 2021-10-01 | 北京小米移动软件有限公司 | Data forwarding method and device, node device and storage medium |
| CN113473441B (en) * | 2021-06-08 | 2024-02-06 | 北京小米移动软件有限公司 | Data forwarding method and device, node equipment and storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR102083814B1 (en) | Data processing method and device | |
| CN105308904B (en) | A kind of OAM message processing method, network device and network system | |
| CN104158752B (en) | The treating method and apparatus of service traffics | |
| JP2010193528A5 (en) | ||
| CN105515972B (en) | A kind of mobilism ad hoc network wireless communication device | |
| JP2015502113A5 (en) | ||
| JP2016526337A5 (en) | ||
| CN109428818A (en) | Apparatus and method for processing packet routing | |
| CN107852773A (en) | A data transmission method, related equipment and system | |
| CN107734571A (en) | The processing method and equipment of a kind of data transmission channel | |
| CN106899500B (en) | Message processing method and device for cross-virtual extensible local area network | |
| CN105992167A (en) | Method and device for realizing long term evolution (LTE) cluster multicast | |
| CN107196834A (en) | Message processing method and equipment | |
| CN104253878B (en) | The vlan information management system and method for DHCP RELAY termination sub-interfaces | |
| CN105393613B (en) | A paging method, device and system in a network | |
| CN103430497B (en) | Medium access control MAC address learning method, controller and switching device | |
| CN106993336A (en) | A kind of message forwarding method and system based on WDS | |
| CN104244330B (en) | A kind of method of balance EPC gateway loads | |
| CN104168273A (en) | Method and system for implementing TCP proxy in thin AP mode | |
| CN104796340A (en) | Multicast data transmission method and device | |
| CN104753779B (en) | A kind of implementation method of cloud group virtual flow-line system | |
| CN106341812A (en) | Data transmission method, base station, mobile management entity, terminal and system | |
| CN105791459A (en) | A Service Mapping Method from IP Network to AdHoc Network | |
| CN100426879C (en) | Interactive realization for wireless telecommunication terminal and Internet message processor | |
| CN106658478B (en) | A kind of transmission method of business datum, device, control equipment and communication system |
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 | ||
| WD01 | Invention patent application deemed withdrawn after publication | ||
| WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20170728 |