CN101902399B - Wireless network communication method, system and device based on spanning tree protocol (STP) - Google Patents

Wireless network communication method, system and device based on spanning tree protocol (STP) Download PDF

Info

Publication number
CN101902399B
CN101902399B CN2010102292650A CN201010229265A CN101902399B CN 101902399 B CN101902399 B CN 101902399B CN 2010102292650 A CN2010102292650 A CN 2010102292650A CN 201010229265 A CN201010229265 A CN 201010229265A CN 101902399 B CN101902399 B CN 101902399B
Authority
CN
China
Prior art keywords
virtual interface
address information
message
mac address
spanning
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.)
Expired - Fee Related
Application number
CN2010102292650A
Other languages
Chinese (zh)
Other versions
CN101902399A (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.)
Beijing Star Net Ruijie Networks Co Ltd
Original Assignee
Beijing Star Net Ruijie Networks 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 Beijing Star Net Ruijie Networks Co Ltd filed Critical Beijing Star Net Ruijie Networks Co Ltd
Priority to CN2010102292650A priority Critical patent/CN101902399B/en
Publication of CN101902399A publication Critical patent/CN101902399A/en
Application granted granted Critical
Publication of CN101902399B publication Critical patent/CN101902399B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses an application method of a spanning tree protocol (STP) in a wireless network, which is used for solving the problem that in the wireless network, the control of the AP to the message forwarding state of a port based on the STP affects the message transmission between the AP and other AP. The method comprises the following steps: receiving a BPDU message sent from a second AP by a first AP; sending the message to a virtual interface corresponding to an MAC address according to the MAC address information of the second AP and the virtual interface corresponding to the MAC address information; and controlling the message forwarding state of the virtual interface based on the STP according to the message received by the virtual interface. The invention also discloses an application device of the STP in the wireless network. In the scheme provided by the invention, because the AP establishes the corresponding virtual interface based on the connection between the AP and other AP, the message forwarding state of each virtual interface can be controlled so that the message transmission between the AP and other AP can not be affected.

Description

Wireless network communication method, system and device based on Spanning-Tree Protocol
Technical field
The present invention relates to the radio network technique field, relate in particular to a kind of based on Spanning-Tree Protocol (Spanning Tree Protocol, wireless network communication method STP), system and device.
Background technology
Wireless bridge can (Local Area Network, link layer LAN) realize interconnection and can realize the storage and the forwarding of message at local area network (LAN).Wireless bridge can be used to connect the equipment that is positioned at different separate network sections, advantage such as have that through-put power is big, long transmission distance, antijamming capability are strong.(Access Point AP) can realize the function of wireless bridge to WAP.
Connected mode between the wireless bridge comprises: point-to-point connection, point-to-multipoint connection and relaying connection etc.Fig. 1 is the syndeton sketch map when wireless bridge adopts point-to-multipoint to connect in the prior art.AP has the function of wireless bridge, and the root bridge is a wireless bridge of in wireless connections, realizing decision-making, and nonroot bridge and root bridging connect.Concrete in Fig. 1 wherein an AP be the root bridge, the 2nd AP, the 3rd AP and the 4th AP are three nonroot bridges.Owing to interconnect between root bridge and each nonroot bridge, when nonroot bridge also interconnects, will the looping link by the link that root bridge and nonroot bridge are formed.
In annular link; When a certain wireless bridge in this link receives the message of a destination address the unknown; This wireless bridge will be broadcasted away this message, because the link at this wireless bridge place is annular link, message may be gone down in this link in broadcasting always; Form broadcast storm, thus the resource that can waste wireless bridge.
STP can be used for suppressing the formation of broadcast storm in the prior art, but the forwarding unit that is based on STP generally all is applied in the physical link when suppressing broadcast storm.The port of each equipment can only have a physical connection in physical link; Corresponding one by one between per two ports; As shown in Figure 2, port 2 ports 3 are corresponding one by one, port 4 ports 6 are corresponding one by one, port one port 5 is corresponding one by one, receive BPDU Bridge Protocol Data Units (the Bridge Protocol Data Units of other equipment transmissions through this physical connection when this port of this equipment; BPDU) during message, this equipment is confirmed the message forwarding state of this port according to this message based on STP.
And in the wireless network, as shown in Figure 1, because an AP is the root bridge in the Radio Link, this root bridge has more than and has a connection, and root bridge the one AP is connected with nonroot bridge the 2nd AP, the 3rd AP and the 4th AP simultaneously.When root bridge the one AP received the BPDU that nonroot bridge the 2nd AP transmits, an AP confirms self physical port based on STP message forwarding state was when closing, and then an AP closes self physical port.But owing to the physical port of root bridge the one AP is connected with a plurality of nonroot bridge AP simultaneously, after this physical port is closed, other two nonroot bridge AP, i.e. the message of nonroot bridge the 3rd AP and the 4th AP transmission also can't be transmitted through root bridge the one AP.
Therefore; In Radio Link; Root bridge the one AP is based on the method for STP to the message forwarding state control of self physical port; Because this physical port is connected with at least two nonroot bridges, the message that only sends according to a certain nonroot bridge AP, the method for controlling whole physical port can impact the message transmissions of other AP.
Summary of the invention
In view of this; The embodiment of the invention provides a kind of wireless network communication method based on Spanning-Tree Protocol, system and device; AP influences the problem of message transmissions between AP and other AP based on the control of STP to the message forwarding state of physical port in the wireless network in order to solve.
A kind of wireless network communication method based on Spanning-Tree Protocol that the embodiment of the invention provides comprises:
The first access point AP receives the BPDU Bridge Protocol Data Units BPDU message that the 2nd AP sends;
According to the media interviews control mac address information of said the 2nd AP, and the mac address information of preserving and the corresponding relation of virtual interface, said message is sent to and said MAC Address corresponding virtual interface;
Based on the message that Spanning-Tree Protocol receives according to this virtual interface, the message forwarding state of said virtual interface is controlled.
A kind of wireless network communication apparatus based on Spanning-Tree Protocol that the embodiment of the invention provides comprises:
Physical port is used to receive BPDU Bridge Protocol Data Units BPDU message;
The Spanning-Tree Protocol module; Be used for media interviews control mac address information according to the transmitting terminal that sends this BPDU message; And the mac address information of preserving and the corresponding relation of virtual interface; Said message is sent to said MAC Address corresponding virtual interface,, the message forwarding state of said virtual interface is controlled based on the message that Spanning-Tree Protocol receives according to this virtual interface.
A kind of wireless network communications system based on Spanning-Tree Protocol that the embodiment of the invention provides comprises: above-mentioned wireless network communication apparatus based on Spanning-Tree Protocol reaches the transmitting terminal that sends BPDU Bridge Protocol Data Units BPDU message to this device.
The embodiment of the invention provides a kind of wireless network communication method based on Spanning-Tree Protocol, system and device; This method the one AP receives the BPDU message that the 2nd AP sends; According to the mac address information of the 2nd AP, and mac address information corresponding virtual interface, said message is sent to and said MAC Address corresponding virtual interface; Based on the message that Spanning-Tree Protocol receives according to this virtual interface, the message forwarding state of said virtual interface is controlled.Since in embodiments of the present invention AP based on each other AP between be connected; Set up the corresponding virtual interface; The message that therefore can receive according to each virtual interface is controlled the message forwarding state of this virtual interface, thereby is not influenced the message transmissions between AP and other AP.
Description of drawings
Fig. 1 is the syndeton sketch map when wireless bridge adopts point-to-multipoint to connect in the prior art;
Fig. 2 is the syndeton sketch map of physical link;
The wireless communication process that Fig. 3 provides for the embodiment of the invention based on the STP agreement;
The concrete communication process that Fig. 4 provides for the embodiment of the invention based on the wireless network of STP agreement;
The structural representation that Fig. 5 provides for the embodiment of the invention based on the wireless network communication apparatus of Spanning-Tree Protocol;
The detailed description that Fig. 6 carries out for the process of connecting of providing of the embodiment of the invention and virtual interface;
The detailed description that Fig. 7 provides for the embodiment of the invention based on the wireless network communication method of Spanning-Tree Protocol;
The structural representation that Fig. 8 provides for the embodiment of the invention based on the wireless network communications system of Spanning-Tree Protocol.
Embodiment
The embodiment of the invention is in order to make in the wireless network AP based on the control of STP to the message forwarding state of physical port; Do not influence the message transmissions between AP and other AP; A kind of wireless network communication method based on STP is provided, in this method, AP to each other AP between be connected; Set up the corresponding virtual interface, the state that AP transmits based on the message of this virtual interface of STP control.Since AP based on each other AP between be connected, set up the corresponding virtual interface, therefore can control the message forwarding state of each virtual interface, thereby not influence the message transmissions between AP and other AP.
Below in conjunction with Figure of description, the embodiment of the invention is elaborated.
The wireless communication process that Fig. 3 provides for instance of the present invention based on STP, this process may further comprise the steps:
S301: an AP receives the BPDU message that the 2nd AP sends.
In embodiments of the present invention in order to identify the receiving terminal of this message; Media interviews control (the Media Access Control that in this BPDU message, comprises purpose AP; MAC) address information, and in this BPDU message, also comprise purpose multicast address information and source address information.
The message frame that is made up of the BPDU message in embodiments of the present invention can be for meeting the message frame of 802.11 agreements.Comprise four address informations in the frame format of the message frame that in this 802.11 agreement, defines; When comprising three address informations in this BPDU message, three addresses in the message frame that defines in 802.11 agreements can be respectively applied for mac address information, purpose multicast address information and the source address information of recognition purpose AP.
S302: according to the mac address information of the 2nd AP, and the mac address information of preserving and the corresponding relation of virtual interface, said message is sent to and said MAC Address corresponding virtual interface.
Since in Radio Link an AP maybe and at least two other AP between have annexation, himself only have a physical port for an AP, this physical port simultaneously and each other AP realize being connected.An AP can set up the corresponding virtual interface respectively in order effectively to control broadcast storm based on STP to each other AP that is connected with self among the one AP in embodiments of the present invention, receives the message that other corresponding AP send through this virtual interface.
An AP as shown in Figure 1 is connected with the 2nd AP, the 3rd AP and the 4th AP respectively; Then in an AP, set up corresponding second virtual interface, the 3rd virtual interface and the 4th virtual interface to the 2nd AP, the 3rd AP and the 4th AP respectively, and in an AP, preserved mac address information and the corresponding relation of second virtual interface, the mac address information of the 3rd AP and corresponding relation and the mac address information of the 4th AP and the corresponding relation of the 4th virtual interface of the 3rd virtual interface of the 2nd AP.
S303: the message that an AP receives according to this virtual interface based on STP, the message forwarding state of said virtual interface is controlled.
Because each virtual interface receives the message that other corresponding AP send over; The one AP can be according to the mac address information of other AP that self preserve and the corresponding relation of virtual interface; This message is sent to the corresponding virtual interface, confirm the message forwarding state of this virtual interface based on STP.When an AP based on STP; When the message forwarding state of confirming this virtual interface is closed condition; Then an AP closes the message forwarding capability of said virtual interface, and the message that promptly receives when this virtual interface of AP judgement is attached most importance to when recurring the message that send, and then definite link that sends this message this moment is a loop; In order to prevent broadcast storm, an AP closes the message forwarding capability of said virtual interface.
To this virtual interface, when an AP based on STP, when the message forwarding state of confirming said virtual interface was open mode, a said AP kept or opens the message forwarding capability of said virtual interface.
Because in having the wireless network of annular link,, in this Radio Link, need confirm the AP that makes a strategic decision, i.e. an AP for fear of the formation of broadcast storm.Can in Radio Link, confirm AP in embodiments of the present invention arbitrarily as the AP that makes a strategic decision, perhaps for ease, and effectively avoid the formation of broadcast storm, can confirm that in embodiments of the present invention root bridge AP is for as the AP that makes a strategic decision.Root bridge AP can select a root bridge AP as the AP that makes a strategic decision arbitrarily in this Radio Link more for a long time in Radio Link.
Because the target MAC (Media Access Control) address of BPDU message is specific broadcast address among original STP; In order the message forwarding state of virtual port to be controlled based on STP; In instance of the present invention, the mac address information of purpose AP be can carry in the BPDU message, and purpose multicast address information and source address information comprised.The message frame that promptly is made up of the BPDU message in embodiments of the present invention can be for meeting the message frame of 802.11 agreements.Comprise four address informations in the frame format of the message frame that in this 802.11 agreement, defines, three addresses wherein can be respectively applied for mac address information, purpose multicast address information and the source address information of recognition purpose AP.
For each other AP of indicating self connection and the corresponding relation of virtual interface, in an AP,, preserve the corresponding relation of mac address information and virtual interface in embodiments of the present invention to each virtual interface of setting up.Therefore working as the 2nd AP is connected with the physical port of an AP; When the physical port of the one AP receives the message of the 2nd AP transmission; Mac address information according to the 2nd AP; And the mac address information of preserving and the corresponding relation of virtual interface, the MAC Address corresponding virtual interface that this message is sent to the 2nd AP is handled.
In order to improve the accuracy that message receives; Improve an AP and carry out the control of message forwarding state to each virtual interface based on STP; In embodiments of the present invention; The one AP can also basis and being connected of each other AP, and sets up corresponding connection in the Drive Layer of self, and preserves mac address information and the corresponding relation that is connected.Concrete when connecting; The Drive Layer of the one AP is connected to other AP's of physical port and each; Set up corresponding connection in this locality, and connect the mac address information of other corresponding AP, preserve mac address information and the corresponding relation that is connected in this locality according to this.
After an AP sets up the connection of correspondence in Drive Layer; This is connected the reporting events protocol layer of setting up; Protocol layer is created virtual interface according to this incident in this locality, and confirms the index address information of this virtual interface; Protocol layer returns the index address information of this virtual interface to said Drive Layer, and Drive Layer is preserved the corresponding relation of the index address information of said connection and virtual interface in this locality.
The concrete communication process that Fig. 4 provides for the embodiment of the invention based on the wireless network of STP, this process may further comprise the steps:
S401: the first access point AP receives the BPDU Bridge Protocol Data Units BPDU message that the 2nd AP sends.
S402: the mac address information of an AP according to said the 2nd AP, reach the local MAC message address of preserving and the corresponding relation that is connected, this BPDU message is sent to the corresponding connection of mac address information of the 2nd AP in the Drive Layer.
S403: an AP Drive Layer sends to the message of this connection reception the virtual interface of protocol layer respective index address according to the corresponding relation of the index address information of connection of preserving and virtual interface.
S404: an AP protocol layer receives the virtual interface of this message, extracts the information in this message according to STP, calculates according to STP, confirms the message forwarding state of this virtual interface.
When the message forwarding state of confirming this virtual interface when closing, an AP closes the message forwarding capability of this virtual interface.When the message forwarding state of confirming this virtual interface was unlatching, an AP did not carry out any processing, keeps or open the message forwarding capability of said virtual interface.
In embodiments of the present invention after having set up the corresponding virtual interface; Owing in an AP, preserve the mac address information of the 2nd AP and the corresponding relation of virtual interface; The one AP can confirm whether the 2nd AP also exists according to whether receiving the message that the 2nd AP sends in the setting-up time length in this Radio Link.When not receiving the message of the 2nd AP transmission in the time span of setting; Confirm that the 2nd AP does not exist in this Radio Link; This moment the one AP the 2nd AP that will preserve mac address information and the corresponding relation deletion of virtual interface, and the mac address information corresponding virtual interface of the 2nd AP deleted.
In embodiments of the present invention when in an AP, having set up corresponding connection to the 2nd AP; And when connecting corresponding corresponding virtual interface, promptly in an AP, preserve the mac address information of the 2nd AP and the corresponding relation of connection, and during the corresponding relation of connection and virtual interface according to this; The one AP is in the time span of setting; Judge whether to receive the message that the 2nd AP sends, when not receiving the message of the 2nd AP transmission in the time span of setting, confirm that the 2nd AP does not exist in this Radio Link; The one AP preserves this locality in mac address information and the corresponding relation that is connected; Delete the connected corresponding relation of MAC Address of the 2nd AP, and connection that should correspondence deletion, simultaneously according to the corresponding relation of the index address of connection of preserving and virtual interface; With the connection of this deletion and the index address information deletion of virtual interface, and delete the virtual interface of the corresponding index address of the connection of this deletion.
The structural representation that Fig. 5 provides for the embodiment of the invention based on the communicator of the wireless network of STP, this device comprises:
Physical port 51 is used to receive the BPDU message;
Spanning-Tree Protocol module 52; Be used for mac address information according to the transmitting terminal that sends this BPDU message; And the mac address information of preserving and the corresponding relation of virtual interface; Said message is sent to said MAC Address corresponding virtual interface,, the message forwarding state of said virtual interface is controlled based on the message that Spanning-Tree Protocol receives according to this virtual interface.
Said in embodiments of the present invention Spanning-Tree Protocol module 52 comprises:
The first inquiry transmitting element 521 is used for the mac address information according to said transmitting terminal, and the local mac address information of preserving and the corresponding relation that is connected, and said message is sent to the corresponding connection of mac address information of said transmitting terminal;
The second inquiry transmitting element 522 is used for the corresponding relation according to the index address information of connection of preserving and virtual interface, and said message is sent to the said virtual interface that connects corresponding index address.
Said in embodiments of the present invention Spanning-Tree Protocol module 52 also comprises:
First corresponding relation set up to be preserved unit 523, is used for the annexation of basis and said transmitting terminal, sets up the connection of corresponding said transmitting terminal in local Drive Layer, and preserves the mac address information and the said corresponding relation that is connected of said transmitting terminal.
Said in embodiments of the present invention Spanning-Tree Protocol module 52 also comprises:
Second corresponding relation is set up and is preserved unit 524; Be used for to connect the reporting events protocol layer of setting up according to Drive Layer; Protocol layer is created virtual interface according to this incident in this locality, and confirms the index address information of this virtual interface; Protocol layer returns the index address information of this virtual interface to said Drive Layer, and Drive Layer is preserved the corresponding relation of the index address information of said connection and virtual interface in this locality.
Said Spanning-Tree Protocol module 52 also comprises:
Control unit 525; Be used for based on Spanning-Tree Protocol, when the message forwarding state of confirming said virtual interface is closed condition, close the message forwarding capability of said virtual interface; Perhaps; Based on Spanning-Tree Protocol, when the message forwarding state of confirming said virtual interface is open mode, keep or open the message forwarding capability of said virtual interface.
Said Spanning-Tree Protocol module 52 also comprises:
Delete cells 526; Be used to judge and in the time span of setting, whether receive the message that said the 2nd AP sends; When judging the message that does not receive said the 2nd AP transmission; According to the mac address information of preserving and the corresponding relation of virtual interface, delete the mac address information of the 2nd AP and the corresponding relation of virtual interface, and delete the mac address information corresponding virtual interface of the 2nd AP.
This delete cells 526 also is used for; In the time span of setting, judge whether to receive the message that the 2nd AP sends, when not receiving the message of the 2nd AP transmission in the time span of setting, confirm that the 2nd AP does not exist in this Radio Link; This locality is preserved in mac address information and the corresponding relation that is connected; Delete the connected corresponding relation of MAC Address of the 2nd AP, and connection that should correspondence deletion, simultaneously according to the corresponding relation of the index address of connection of preserving and virtual interface; With the connection of this deletion and the index address information deletion of virtual interface, and delete the virtual interface of the corresponding index address of the connection of this deletion.
Fig. 6 is for combining device shown in Figure 5, and the embodiment of the invention is connected and the process of virtual interface is described in detail, and this process may further comprise the steps:
S601: the Spanning-Tree Protocol module of device is according to the annexation of physical port and each other AP; Drive Layer in this locality is set up corresponding connection; And, preserve the corresponding relation that is connected of mac address information and this foundation in this locality according to the mac address information of each other AP.
For example the physical port of this device is connected with the 2nd AP, the 3rd AP and the 4th AP respectively; Then the Spanning-Tree Protocol module of this device is set up one first connection in the Drive Layer of this locality to the 2nd AP; Set up second to the 3rd AP and connect, set up the 3rd connection to the 4th AP.And preserve first corresponding relation that connect with the mac address information of the 2nd AP in this locality, and second connects the corresponding relation with the mac address information of the 3rd AP, and the 3rd connects the corresponding relation with the mac address information of the 4th AP.
S602: each connection that the Spanning-Tree Protocol module is set up according to Drive Layer, with connecting the reporting events protocol layer of setting up.
Be about to the reporting events protocol layer that first connection, second connects and the 3rd connection is set up.
Since the physical port of this device maybe with each AP between to be connected not be to set up at synchronization; Therefore in embodiments of the present invention the physical port of this device as long as set up and being connected of a certain AP; The Spanning-Tree Protocol module is promptly set up the connection corresponding with this AP in local Drive Layer, and will connect the reporting events protocol layer of setting up.
S603: the protocol layer of Spanning-Tree Protocol module connects the incident of setting up according to this, creates virtual interface in this locality, and confirms index (INDEX) address information of this virtual interface.
For example the Spanning-Tree Protocol module connects the incident of setting up to first, creates first virtual interface at protocol layer, and confirms the index address information of this first virtual interface.
S604: the protocol layer of Spanning-Tree Protocol module returns the index address information of this virtual interface to said Drive Layer.
For example the index address information of Spanning-Tree Protocol module this first virtual interface that protocol layer is confirmed is returned Drive Layer.
S605: the index address information that the Drive Layer of Spanning-Tree Protocol module is returned according to protocol layer, the corresponding relation that the index address information of this virtual interface of preservation is connected with this in this locality.
Because the Drive Layer of Spanning-Tree Protocol module is with first protocol layer that connected the reporting events created; When this protocol layer returns the index address information of first virtual interface to Drive Layer; Drive Layer is preserved the index address information of this first virtual interface in this locality, with this first corresponding relation of being connected.
Mac address information and the corresponding relation that is connected have been set up in the Spanning-Tree Protocol module in the device; And behind the index address information of virtual interface and the corresponding relation that is connected; Can according to this corresponding relation of setting up in communication process, the message forwarding state of each virtual interface be controlled based on STP.
The detailed description that Fig. 7 provides in the embodiment of the invention based on the wireless network communication method of STP, this method may further comprise the steps:
S701: the physical port in the device receives the BPDU message that the 2nd AP sends.
S702: the Spanning-Tree Protocol module in the device; The mac address information of this BPDU transmitting terminal that receives according to physical port; Promptly according to the mac address information of the 2nd AP; And local each of preserving connects and the corresponding relation of the mac address information of the AP that this connection is corresponding, the corresponding connection of MAC Address of searching the 2nd AP.
For example the MAC Address of the 2nd AP corresponding first connects; Concrete; In the Spanning-Tree Protocol module first inquiry transmitting element is set up according to first corresponding relation and is preserved each of preserving the unit and connect and this corresponding relation that connects the mac address information of corresponding AP, searches the connection of the MAC Address correspondence of the 2nd AP.
S703: the Spanning-Tree Protocol module in the device sends to this message the corresponding connection of mac address information of the 2nd AP according to the connection of the mac address information correspondence of the 2nd AP that searches.
In the Spanning-Tree Protocol module first inquired about transmitting element, this message sent to the corresponding connection of mac address information of the 2nd AP.
S704: the Spanning-Tree Protocol module in the device is according to the index address information and the corresponding relation that is connected of the virtual interface of this locality preservation, the index address information of searching this connection corresponding virtual interface.
In the Spanning-Tree Protocol module second inquiry transmitting element is set up the index address information and the corresponding relation that is connected of preserving the virtual interface of preserving the unit, the index address information of searching this connection corresponding virtual interface according to second corresponding relation.
S705: the Spanning-Tree Protocol module of device sends to this index address information corresponding virtual interface according to the index address information of this virtual interface of searching with this message.
The Spanning-Tree Protocol module is searched and is confirmed that this first connection is corresponding with the index address information of first virtual interface according to the corresponding relation that the index address information of the virtual interface of preserving is connected with this.Therefore the Spanning-Tree Protocol module sends to first virtual interface with this message.
In the Spanning-Tree Protocol module second inquiry transmitting element sends to this index address information corresponding virtual interface with this message.
S706: after first virtual interface of Spanning-Tree Protocol module received this message, the Spanning-Tree Protocol module was extracted the information of this message, calculates based on the Spanning-Tree Protocol logic, confirms the message forwarding state of this virtual interface.
The message forwarding state of confirming this virtual interface when the Spanning-Tree Protocol module is when closing, and the Drive Layer notification protocol layer of Spanning-Tree Protocol module is closed the message forwarding capability of this virtual interface, and protocol layer is closed the message forwarding capability of this virtual interface.
The control unit of Spanning-Tree Protocol module calculates based on the Spanning-Tree Protocol logic, confirms the message forwarding state of this virtual interface.
When link fails, this device can be opened the message forwarding state of this virtual interface of closing based on Spanning-Tree Protocol, makes this virtual interface carry out normal message and transmits.And recognize a certain AP that is connected with self when in Radio Link, not existing as an AP in embodiments of the present invention, should a certain AP corresponding virtual interface deletion, reduce the resource that this virtual interface takies.Simultaneously; To have new AP to add fashionable when this Radio Link is middle-grade, and when having annexation with an AP, and an AP can basis and being connected of this initiate AP; Set up the corresponding virtual interface; And preserve the mac address information of this initiate AP and the corresponding relation of virtual interface, so that according to adopting this virtual interface to receive the message of this initiate AP, and the message forwarding state of this virtual interface is controlled based on the STP agreement.
Owing to being connected of other AP of physical port and each that in AP, are directed against self in the embodiment of the invention; Set up the corresponding virtual port; The message that receives according to each virtual port; Message forwarding state to this virtual port is controlled, and therefore only closing of a certain virtual port message forwarding state can be worked to the message transmissions of corresponding A P, can the message transmissions of other AP do not impacted.
The communication system architecture sketch map based on the wireless network of Spanning-Tree Protocol that Fig. 8 provides for the embodiment of the invention, this system comprises the communicator 81 of wireless network based on Spanning-Tree Protocol as shown in Figure 5, and sends the transmitting terminal 82 of message to this device.
The embodiment of the invention provides a kind of wireless network communication method based on Spanning-Tree Protocol, system and device; This method the one AP receives the BPDU message that the 2nd AP sends; According to the mac address information of the 2nd AP, and mac address information corresponding virtual interface, said message is sent to and said MAC Address corresponding virtual interface; Based on the message that Spanning-Tree Protocol receives according to this virtual interface, the message forwarding state of said virtual interface is controlled.Since in embodiments of the present invention AP based on each other AP between be connected; Set up the corresponding virtual interface; The message that therefore can receive according to each virtual interface is controlled the message forwarding state of this virtual interface, thereby is not influenced the message transmissions between AP and other AP.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, belong within the scope of claim of the present invention and equivalent technologies thereof if of the present invention these are revised with modification, then the present invention also is intended to comprise these changes and modification interior.

Claims (9)

1. the wireless network communication method based on Spanning-Tree Protocol is characterized in that, comprising:
The first access point AP receives the BPDU Bridge Protocol Data Units BPDU message that the 2nd AP sends;
According to the media interviews of said the 2nd AP control mac address information, and the mac address information of said the 2nd AP that preserves and the corresponding relation of virtual interface, said message is sent to the mac address information corresponding virtual interface with said the 2nd AP;
Based on the message that Spanning-Tree Protocol receives according to this virtual interface, the message forwarding state of said virtual interface is controlled;
Said message is sent to the mac address information corresponding virtual interface with said the 2nd AP; Specifically comprise: a said AP is according to the mac address information of said the 2nd AP; Reach the mac address information and the corresponding relation that is connected of local said the 2nd AP that preserves, said message is sent to the corresponding connection of mac address information of said the 2nd AP;
According to the corresponding relation of the connection of preserving, said message is sent to the said virtual interface that connects the index address of correspondence with the index address information of virtual interface;
The preservation of the index address information corresponding relation of said connection and virtual interface specifically comprises: will connect the reporting events protocol layer of setting up according to Drive Layer; Protocol layer is created virtual interface according to this incident in this locality, and confirms the index address information of this virtual interface; Protocol layer returns the index address information of this virtual interface to said Drive Layer; Drive Layer is preserved the corresponding relation of the index address information of said connection and virtual interface in this locality.
2. the method for claim 1 is characterized in that, the mac address information of said the 2nd AP and the preservation of connection corresponding relation comprise:
The annexation of a said AP basis and said the 2nd AP is set up the connection of corresponding said the 2nd AP in local Drive Layer, and preserves the mac address information and the said corresponding relation that is connected of said the 2nd AP.
3. according to claim 1 or claim 2 method is characterized in that, the message forwarding state of said virtual interface is controlled comprise:
When a said AP based on Spanning-Tree Protocol, when the message forwarding state of confirming said virtual interface was closed condition, a said AP closed the message forwarding capability of said virtual interface;
When a said AP based on Spanning-Tree Protocol, when the message forwarding state of confirming said virtual interface was open mode, a said AP kept or opens the message forwarding capability of said virtual interface.
4. the method for claim 1 is characterized in that, said method also comprises:
The one AP judges in the time span of setting, whether to receive the message that said the 2nd AP sends;
When judging the message that does not receive said the 2nd AP transmission; A said AP is according to the mac address information of said the 2nd AP that preserves and the corresponding relation of virtual interface; Delete the mac address information of the 2nd AP and the corresponding relation of virtual interface, and delete the mac address information corresponding virtual interface of the 2nd AP.
5. the wireless network communication apparatus based on Spanning-Tree Protocol is characterized in that, said device comprises:
Physical port is used to receive BPDU Bridge Protocol Data Units BPDU message;
The Spanning-Tree Protocol module; Be used for media interviews control mac address information according to the transmitting terminal that sends this BPDU message; And the mac address information of this transmitting terminal of preserving and the corresponding relation of virtual interface; Said message is sent to the mac address information corresponding virtual interface of this transmitting terminal,, the message forwarding state of said virtual interface is controlled based on the message that Spanning-Tree Protocol receives according to this virtual interface; Wherein,
Said Spanning-Tree Protocol module comprises: the first inquiry transmitting element; Be used for mac address information according to said transmitting terminal; Reach the mac address information and the corresponding relation that is connected of the local said transmitting terminal of preserving, said message is sent to the corresponding connection of mac address information of said transmitting terminal; The second inquiry transmitting element is used for the corresponding relation according to the index address information of connection of preserving and virtual interface, and said message is sent to the said virtual interface that connects corresponding index address;
Further; Said Spanning-Tree Protocol module also comprises: second corresponding relation is set up and is preserved the unit, is used for will connecting the reporting events protocol layer of setting up according to Drive Layer, and protocol layer is according to this incident; Create virtual interface in this locality; And confirm the index address information of this virtual interface, protocol layer returns the index address information of this virtual interface to said Drive Layer, and Drive Layer is preserved the corresponding relation of the index address information of said connection and virtual interface in this locality.
6. device as claimed in claim 5 is characterized in that, the Spanning-Tree Protocol module also comprises:
First corresponding relation set up to be preserved the unit, is used for the annexation of basis and said transmitting terminal, sets up the connection of corresponding said transmitting terminal in local Drive Layer, and preserves the mac address information and the said corresponding relation that is connected of said transmitting terminal.
7. device as claimed in claim 5 is characterized in that, said Spanning-Tree Protocol module also comprises:
Control module; Be used for based on Spanning-Tree Protocol, when the message forwarding state of confirming said virtual interface is closed condition, close the message forwarding capability of said virtual interface; Perhaps; Based on Spanning-Tree Protocol, when the message forwarding state of confirming said virtual interface is open mode, keep or open the message forwarding capability of said virtual interface.
8. device as claimed in claim 5 is characterized in that, said Spanning-Tree Protocol module also comprises:
Delete cells; Be used to judge and in the time span of setting, whether receive the message that said transmitting terminal sends; When judging the message that does not receive said transmitting terminal transmission; According to the mac address information of the said transmitting terminal of preserving and the corresponding relation of virtual interface, delete the mac address information of said transmitting terminal and the corresponding relation of virtual interface, and delete the mac address information corresponding virtual interface of said transmitting terminal.
9. the wireless network communications system based on Spanning-Tree Protocol is characterized in that, said system comprises like the arbitrary described device of claim 5~8, and is used for sending to said device the transmitting terminal of BPDU Bridge Protocol Data Units BPDU message.
CN2010102292650A 2010-07-09 2010-07-09 Wireless network communication method, system and device based on spanning tree protocol (STP) Expired - Fee Related CN101902399B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010102292650A CN101902399B (en) 2010-07-09 2010-07-09 Wireless network communication method, system and device based on spanning tree protocol (STP)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010102292650A CN101902399B (en) 2010-07-09 2010-07-09 Wireless network communication method, system and device based on spanning tree protocol (STP)

Publications (2)

Publication Number Publication Date
CN101902399A CN101902399A (en) 2010-12-01
CN101902399B true CN101902399B (en) 2012-08-15

Family

ID=43227614

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102292650A Expired - Fee Related CN101902399B (en) 2010-07-09 2010-07-09 Wireless network communication method, system and device based on spanning tree protocol (STP)

Country Status (1)

Country Link
CN (1) CN101902399B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102065508B (en) * 2010-12-14 2014-06-18 迈普通信技术股份有限公司 Wireless bridge forwarding equipment and method
CN102821033B (en) * 2011-06-10 2017-04-12 中兴通讯股份有限公司 Message transmission method and device
CN103999538B (en) 2012-12-14 2017-12-22 华为技术有限公司 WLAN access method, equipment and system
CN103701775A (en) * 2013-12-04 2014-04-02 中国科学院深圳先进技术研究院 Method and device for resisting traffic analysis and sending/receiving data
CN105827439B (en) * 2016-03-11 2019-02-01 范晓东 The method for realizing wireless device ad hoc network
CN111064778B (en) * 2019-12-09 2022-09-23 苏州盛科通信股份有限公司 Data processing method and system based on STP

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1518277A (en) * 2003-01-17 2004-08-04 华为技术有限公司 Method of realizing suppressing broadcast storm in Ether net
WO2006130278A1 (en) * 2005-05-31 2006-12-07 Cisco Technology, Inc. A spanning-tree protocol for wireless networks

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100456462B1 (en) * 2002-11-20 2004-11-10 한국전자통신연구원 A BIPC Processing Method for the BPDU Transmission in the Router/Bridge System

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1518277A (en) * 2003-01-17 2004-08-04 华为技术有限公司 Method of realizing suppressing broadcast storm in Ether net
WO2006130278A1 (en) * 2005-05-31 2006-12-07 Cisco Technology, Inc. A spanning-tree protocol for wireless networks
CN101151853A (en) * 2005-05-31 2008-03-26 思科技术公司 A spanning-tree protocol for wireless networks

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
吴君.生成树协议的发展历程浅析.《商场现代化》.2007,(第14期), *
王作芬等.以太网交换机中生成树协议的实现.《数据通信》.2000,(第04期), *
肖仁锋.冗余拓扑和生成树协议.《济南职业学院学报》.2005,(第06期), *
郭彦伟等.生成树协议与交换网络环路研究.《厦门大学学报(自然科学版)》.2006, *

Also Published As

Publication number Publication date
CN101902399A (en) 2010-12-01

Similar Documents

Publication Publication Date Title
CN101902399B (en) Wireless network communication method, system and device based on spanning tree protocol (STP)
CN100496160C (en) Wireless network control system, wireless network control apparatus, and base station
EP1758307B1 (en) Communication system, radio lan base station control device, and radio lan base station device
AU2006215969B2 (en) Method and system for subterranean wireless data transmission between at least one mobile station and a fixed network by means of a radio network
CN102308662B (en) Method of establishing X2 between stations, station and communication system
CN1448031A (en) Method and appts. for cooperative diversity
CN103945537A (en) Radio resource management method, device and system
CN1997985A (en) Method and system for wireless connectivity in a mobile environment
US20110194541A1 (en) Ip communication architecture between the ground and a vehicle
CN103067900A (en) Cognitive mobile terminal wireless network system and network self-organizing method
CN103209467B (en) Access the method and apparatus of multiple ZigBee-network
CN105578422B (en) Information transferring method and device based on vehicle mobile terminals
CN110401480A (en) A kind of optical cable line walking analysis method and its device based on cloud platform
CN103731842A (en) Wireless relay networking system and method
CN100426918C (en) Station switching method in WLAN
CN108924777A (en) A kind of redundance communicating method for individual soldier's command system
CN102164368A (en) Method for accessing a wireless local area network and communication system
CN109076635A (en) Can redundancy running industrial communication systems, for its operation method and radio-subscriber station
CN101179511A (en) Method of obtaining network address, and access equipment
CN101783769A (en) Method and device for forwarding message during failure of link
CN101252497A (en) Mesh digital microwave communication system architecture and traffic transferring method
CA2422438A1 (en) Communication system for adding data transmission origin information to data
CN101909316B (en) Operation maintenance method and system
CN102685824B (en) Method, device and system for switching network
CN106790639A (en) Data transmission method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120815

Termination date: 20210709