WO2015013876A1 - 无线局域网网格网络的拓扑构建方法和无线站点 - Google Patents
无线局域网网格网络的拓扑构建方法和无线站点 Download PDFInfo
- Publication number
- WO2015013876A1 WO2015013876A1 PCT/CN2013/080377 CN2013080377W WO2015013876A1 WO 2015013876 A1 WO2015013876 A1 WO 2015013876A1 CN 2013080377 W CN2013080377 W CN 2013080377W WO 2015013876 A1 WO2015013876 A1 WO 2015013876A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- wireless station
- wireless
- information
- grid
- peer
- Prior art date
Links
- 238000010276 construction Methods 0.000 title claims abstract description 7
- 238000000034 method Methods 0.000 claims abstract description 18
- 238000010586 diagram Methods 0.000 description 7
- QYPNKSZPJQQLRK-UHFFFAOYSA-N tebufenozide Chemical compound C1=CC(CC)=CC=C1C(=O)NN(C(C)(C)C)C(=O)C1=CC(C)=CC(C)=C1 QYPNKSZPJQQLRK-UHFFFAOYSA-N 0.000 description 7
- 230000005540 biological transmission Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- RYGMFSIKBFXOCR-UHFFFAOYSA-N Copper Chemical compound [Cu] RYGMFSIKBFXOCR-UHFFFAOYSA-N 0.000 description 2
- 229910052802 copper Inorganic materials 0.000 description 2
- 239000010949 copper Substances 0.000 description 2
- 239000000835 fiber Substances 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 238000012790 confirmation Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/18—Self-organising networks, e.g. ad-hoc networks or sensor networks
Definitions
- the present invention relates to the field of communications technologies, and in particular, to a topology construction method and a wireless station for a wireless local area network (MG) network.
- MG wireless local area network
- BACKGROUND OF THE INVENTION Wireless local area network English: wireless local area network, abbreviation: WLAN
- Grid English: mesh
- STA wireless connection between wireless stations
- STA station
- the present invention provides a topology construction method and a wireless station for a wireless local area network (Grid) network to solve the problem of constructing a topology of a wireless local area network (MG) network.
- Grid wireless local area network
- the present invention provides a topology construction method for a wireless local area network (MG) network, including: a first wireless station receiving a grid peer frame, the grid peer frame including grid data, and a second wireless station Information of the identity and the identifier of the port of the second wireless station that sends the grid peer frame, where the second wireless station is a wireless station that sends the grid peer frame;
- MG wireless local area network
- the first wireless station Saving, by the first wireless station, a first correspondence, where the first correspondence includes the grid data, information about identity of the second wireless station, and the second wireless station sends the grid peer frame
- the network management device is configured to construct a connection relationship between the first wireless station and the second wireless station corresponding to the mesh data in the topology of the wireless local area network mesh network, and a port for maintaining the connection relationship.
- the method further includes: The first wireless station sends the first to the network management device if the first wireless station determines that a connection corresponding to the first correspondence relationship is disconnected from the second wireless station Information of the identity of the wireless station and information of the grid data and the identity of the second wireless station in the first correspondence, wherein the information of the identity of the first wireless station and the first correspondence Used by the network management device to delete the connection relationship between the first wireless station and the second wireless station in the topology of the wireless local area network network and to maintain the connection relationship port.
- the method further includes:
- the first wireless station receives a beacon frame sent by the second wireless station And the beacon frame includes information about the grid data and an identity of the second wireless station;
- the present invention provides a wireless station, including a receiving unit, a saving unit, and a transmitting unit;
- the receiving unit is configured to receive a grid peer frame, where the grid peer frame includes grid data, information of an identity of the second wireless station, and the second wireless station sends the grid peer frame
- the identifier of the port where the second wireless station is a wireless station that sends the grid peer frame
- the saving unit is configured to save a first correspondence, where the first correspondence includes the grid data, information about identity of the second wireless station, and the second wireless station sends the grid peer The identifier of the port of the frame and the correspondence between the identifier of the port of the wireless peer station receiving the grid peer frame;
- the sending unit is configured to send, to the network management device, information about the identity of the wireless station and the first correspondence, where the information about the identity of the wireless station and the first correspondence are used by the network management device a connection relationship between the wireless station and the second wireless station corresponding to the mesh data and a port for maintaining the connection relationship in a topology of the wireless local area network (MG) network.
- MG wireless local area network
- the wireless station in a case where the wireless station determines that a connection corresponding to the first correspondence relationship is disconnected from the second wireless station, the wireless station is further used to Transmitting, to the network management device, information of an identity of the wireless station and information of the grid data and identity of the second wireless station in the first correspondence, wherein information of an identity of the wireless station And the first correspondence is used by the network management device to delete the connection relationship between the wireless station and the second wireless station in the topology of the wireless local area network network and the maintenance The port of the connection relationship.
- the information of the identity of the second wireless station is a medium access control address of the second wireless station
- the wireless station is further configured to receive a beacon frame sent by the second wireless station, where the beacon frame includes the grid data and an identity of the second wireless station Information;
- the wireless station is further configured to update the second one of the first correspondences according to a medium access control address in the information of the grid data in the beacon frame and the identity of the second wireless station Other information in the identity of the wireless station.
- a wireless station including: a wireless local area network adapter, a processor, and a memory; wherein the processor executes, according to the program instructions stored in the memory,:
- the processor receives a grid peer frame through the wireless local area network adapter, the grid peer frame includes grid data, information of an identity of a second wireless station, and the second wireless station transmits the grid The identifier of the port of the peer frame, where the second wireless station is a wireless station that sends the grid peer frame;
- the processor stores a first correspondence in the memory, where the first correspondence includes the grid data, information of an identity of the second wireless station, and the second wireless station sends the grid Corresponding relationship between the identifier of the port of the peer frame and the identifier of the port of the wireless station receiving the grid peer frame;
- MG wireless local area network
- the processor further performs: according to the program instructions stored in the memory: And sending, by the wireless station, information about an identity of the wireless station to the network management device, where the wireless station determines that a connection corresponding to the first correspondence relationship is disconnected from the second wireless station And the information of the grid data and the identity of the second wireless station in the first correspondence, wherein the information of the identity of the wireless station and the first correspondence are used by the network management device Deleting a connection relationship between the wireless station and the second wireless station corresponding to the mesh data and a port for maintaining the connection relationship in a topology of the WLAN mesh network.
- the processor receives the second wireless station transmission by using the wireless local area network adapter a beacon frame, the beacon frame including information of the grid data and an identity of the second wireless station; the processor according to the grid data in the beacon frame and the The medium access control address in the information of the identity of the second wireless station updates other information in the information of the identity of the second wireless station in the first correspondence in the memory.
- the wireless station in the present invention stores the connection relationship and port between other wireless stations, so that the network management device can construct the topology of the wireless local area network mesh network.
- FIG. 1 is a schematic diagram of a network system according to an embodiment of the present invention.
- FIG. 3 is a schematic diagram of a wireless station according to an embodiment of the present invention.
- FIG. 4 is a schematic structural diagram of a wireless station according to an embodiment of the present invention.
- the specific implementation process of the present invention will be exemplified below by way of examples. It will be apparent that the embodiments described below are a part of the embodiments of the invention, rather than all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without departing from the inventive scope are the scope of the present invention.
- FIG. 1 is a schematic diagram of a network system according to an embodiment of the present invention.
- the solid line in the schematic diagram of the network system indicates a wired connection
- the dotted line indicates a wireless connection
- the portion surrounded by the dotted square frame is a wireless local area network (MG) network.
- MG wireless local area network
- 102, 104 and 106 are wireless sites.
- 102 is connected to the wired network, so it is also called mesh gate.
- 104 is a wireless access point (English: access point, abbreviation: AP).
- 106 is a non-AP station (English: non-AP station), such as mobile phone (English: cellphone), smart phone (English: smartphone), computer (English: computer), tablet (English: tablet computer), personal digital assistant (English: ersonal digital assistant, abbreviation: PDA), mobile internet device (English: mobile Internet device, abbreviation: MID) and e-book reader (English: e-book reader).
- the wireless stations are wirelessly connected to each other to form a wireless local area network mesh network.
- 108 is a network management device.
- an embodiment of the present invention provides a topology construction method for a wireless local area network mesh network.
- 2 is a flow chart of a method according to an embodiment of the present invention. The method includes:
- the first wireless station receives a mesh peering frame (English: mesh peering) frame, where the mesh peer frame includes mesh information (English: mesh profile), identity information of the second wireless site, and the second wireless The station sends an identifier of a port of the grid peer frame, where the second wireless station is a wireless station that transmits the grid peer frame.
- a mesh peering frame English: mesh peering
- the mesh peer frame includes mesh information (English: mesh profile), identity information of the second wireless site, and the second wireless
- the station sends an identifier of a port of the grid peer frame, where the second wireless station is a wireless station that transmits the grid peer frame.
- the first wireless station and the second wireless station in the embodiment of the present invention may be any one of the wireless stations in FIG. If the non-AP site 106 does not support the scheme of the embodiment of the present invention, the first wireless station and the second wireless station may be two of the wireless stations except the non-AP site 106 in FIG.
- Grid data is used in a separate grid basic service set (English: basic service set, abbreviated: BSS).
- the grid data is a collection of values of parameters of an attribute identifying the mesh basic service set (English: mesh basic service set, abbreviation: MBSS).
- the above-mentioned grid peering frame is at least one of the following frames: mesh peering open (English: mesh peering confirm). If the mesh peering openi
- the first wireless The site is processed according to the preset rules, for example, carried by the mesh peer ing conf ir irm frame, or the process is terminated and an error is reported.
- the information of the identity of the wireless station may be a combination of one or more of the following: media access control (English: media acces s control, abbreviation: MAC) address, device name of the wireless station, and management network of the wireless site (English) : Internet, abbreviation: IP) Address.
- the device name is the unique name of the device in the network and can be assigned to each wireless station manually or automatically. If the information of the identity of the wireless station is a combination of the management IP address of the wireless station or the management IP address of the wireless station and other information, the administrator may according to the identity of the wireless station in the topology of the constructed wireless local area network grid network. Manage the wireless station corresponding to the IP address management.
- the term "port" in the present invention is different from the usual physical port in communication technology, and is also different from a general virtual port.
- the identifier of the port in the present invention refers to an identifier of a mesh peer ing management f ini s tate machine (abbreviation: MPM FSM) capable of indicating a peer-to-peer frame of a transmission grid.
- MPM FSM mesh peer ing management f ini s tate machine
- the identifier of the port of the second wireless station that sends the grid peer frame may be the identifier of the MPM FSM that sends the grid peer frame. Or a combination of the grid ID and the identifier of the MPM FSM; if all the MPM FSMs in the same grid in the second wireless station have different identifiers, and the MPM FSMs in different grids may have the same identifier, Then, the identifier of the port of the second wireless station that sends the grid peer frame may be a combination of the grid ID and the identifier of the MPM FSM.
- the combination of the foregoing grid ID and the identifier of the MPM FSM may be a simple superposition of the grid ID and the MPM FSM, or the identifier of the port of the second wireless station transmitting the grid peer frame may be calculated according to the identifier of the grid ID and the MPM FSM. , the identifier can uniquely identify the MPM FSM in a wireless site.
- the device capability of the second wireless station is also included in the grid peer frame.
- the grid peering frame further includes a port description of the port of the second wireless station that sends the grid peer frame.
- the first wireless station saves a first correspondence, where the first correspondence includes the grid data, information about identity of the second wireless station, and the second wireless station sends the grid pair The identifier of the port of the equal frame and the correspondence of the identifier of the port of the first wireless station receiving the grid peer frame.
- the first wireless station acquires the mesh data in the grid peer frame, the identity information of the second wireless station, and the identifier of the port of the second wireless station that sends the grid peer frame, establishes them and receives the first wireless station Corresponding relationship between the identifiers of the ports of the grid peer frame, and storing the correspondence relationship as the first correspondence relationship in the first wireless station.
- the identity of the wireless station is a combination of the wireless station's MAC address and other information (eg, one or more of the wireless station's device name and the wireless site's management IP address)
- the first wireless The station receives a beacon (English: beacon) frame periodically sent by the second wireless station, and the beacon frame includes information of the mesh data and the identity of the second wireless station.
- the first wireless station updates other information in the information of the identity of the second wireless station in the first correspondence according to the MAC address in the information in the beacon frame and the information in the identity of the second wireless station.
- the information of the identity of the wireless station may change.
- the device name of the wireless station is renamed, but the MAC address of the wireless station in the information of the identity of the wireless station does not change, and the first wireless station may according to the beacon frame.
- the MAC address of the second wireless station in the information of the identity of the second wireless station finds the information of the identity of the second wireless station in the first correspondence, and updates the information of the identity of the second wireless station.
- the first wireless station determines that the connection corresponding to the first correspondence relationship with the second wireless station is disconnected, the first wireless station deletes the first correspondence.
- the first wireless station sends, to the network management device, information about the identity of the first wireless station and the first correspondence, where the information about the identity of the first wireless site and the first correspondence are
- the network management device is configured to construct a connection relationship between the first wireless station and the second wireless station corresponding to the mesh data in the topology of the wireless local area network mesh network, and a port for maintaining the connection relationship .
- the network management device is a device that maintains the topology of the wireless LAN mesh network or a set of devices that maintain the topology of the wireless local area network mesh, such as a management cloud that maintains the topology of the wireless local area network mesh network.
- the network management device in FIG. 1 is in a wired network, that is, not in the wireless local area network (MG) network.
- the network management device may be located in the wireless local area network (network) or in other not shown in the figure.
- the network management device can coexist with the STA in the WLAN mesh network (English: co l oca t e ).
- the network management device After receiving the information of the identity of the first wireless station and the first correspondence, the network management device, according to the grid data in the first correspondence, the information of the identity of the first wireless station and the second wireless station in the first correspondence The information of the identity determines that there is a connection between the first wireless station and the second wireless station in the mesh network corresponding to the mesh data in the first correspondence.
- the network management device sends, according to the second wireless station in the first correspondence, the identifier of the port of the grid peer frame and the identifier of the port of the first wireless station that receives the grid peer frame, and determines the first wireless station and the first The port of the second wireless station that maintains the connection relationship, that is, the identifier of the MPM FSM that determines the first wireless station and the second wireless station to send and receive the grid peer management frame.
- the administrator can find the corresponding MPM FSM according to the port in the topology of the wireless LAN mesh network to maintain the connection relationship, in order to diagnose the connection error.
- all STAs in the WLAN mesh network, or all non-AP STAs coexist with the network management device, that is, all STAs in the WLAN mesh network, or all non- AP STAs have the ability to maintain the topology of a wireless LAN mesh network.
- the first wireless station transmits the information of the identity of the first wireless station and the first correspondence in a broadcast or multicast manner, and receives the wireless station that is sent by other wireless stations in a broadcast or multicast manner. Identity information and correspondence.
- the first wireless station maintains the topology of the wireless local area network network according to the first correspondence stored by itself and the information of the identity of the received wireless station and the corresponding relationship.
- all STAs in the WLAN mesh network, or all non-AP STAs maintain the topology of the WLAN mesh network, so the administrator can obtain from any STA or any non-AP STA.
- the topology of a wireless LAN mesh network may be used to obtain from any STA or any non-AP STA.
- the first wireless station determines that the connection corresponding to the first correspondence relationship is disconnected with the second wireless station
- the first wireless station sends the information of the identity of the first wireless station to the network management device.
- the network management device deletes the corresponding grid between the first wireless station and the second wireless station in the topology of the wireless local area network (GPS) based on the information of the grid, the information of the identity of the first wireless station, and the identity of the second wireless station.
- GPS wireless local area network
- the first wireless station may also send information about the identity of the first wireless station to the network management device.
- the first correspondence relationship is such that the network management device deletes the connection relationship between the first wireless station and the second wireless station corresponding to the mesh data in the topology of the wireless local area network and the port that maintains the connection relationship.
- the network management device does not need the identifier of the port in the first correspondence relationship, and can also delete the port that maintains the connection relationship between the two wireless stations. .
- the wireless station in the embodiment of the present invention saves the connection relationship and port between other wireless stations, so that the network management device can construct the topology of the wireless local area network mesh network.
- the administrator can find the corresponding MPM FSM according to the port in the topology of the wireless LAN mesh network to maintain the connection relationship, in order to diagnose the connection error.
- the information of the identity of the second wireless station in the embodiment of the present invention and the identifier of the port of the second wireless station that sends the grid peer frame are in the grid peer frame, that is, between the two wireless stations.
- an embodiment of the present invention provides a wireless station of a wireless local area network (Grid) network.
- FIG. 3 is a schematic diagram of a wireless station according to an embodiment of the present invention.
- the wireless station includes, a receiving unit 302, a saving unit 304, and a sending Unit 306. among them,
- the receiving unit 302 is configured to receive a grid peer frame, where the grid peer frame includes the grid data, the information of the identity of the second wireless station, and the identifier of the port of the second wireless station that sends the grid peer frame,
- the second wireless station is a wireless station that transmits the grid peer frame.
- the wireless station and the second wireless station in the embodiment of the present invention may be any one of the wireless stations in FIG. If the non-AP site 106 does not support the scheme of the embodiment of the present invention, the wireless station and the second wireless station may be two of the wireless stations except the non-AP site 106 in FIG.
- Grid data is used in a single grid basic service set.
- the grid data is a collection of values that identify the properties of the grid's basic service set.
- the above-described grid peer frame is at least one of the following frames: a grid peer-to-peer open frame and a grid peer-to-peer confirmation frame. If the mesh peer ing open frame and the mesh peer ing conf irm frame both carry the identity information of the second wireless station and the identifier of the port of the second wireless station that sends the grid peer frame, the wireless usually in the same mesh BSS The identifier of the port of the grid peering frame carried by the second wireless mobile station is the same as that of the mesh peering ing openi
- a preset rule for example, carried by the mesh peer ing conf irm frame
- the information of the identity of the wireless station may be a combination of one or more of the following: the MAC address of the wireless station, the device name of the wireless station, and the management IP address of the wireless station.
- the device name is a unique name of the device in the network and can be manually or automatically assigned to each wireless station. If the information of the identity of the wireless station is a combination of the management IP address of the wireless station or the management IP address of the wireless station and other information, the administrator may according to the identity of the wireless station in the topology of the constructed wireless local area network grid network. Manage the wireless station corresponding to the IP address management.
- the term "port" in the present invention is different from the usual physical port in communication technology, and is also different from a general virtual port.
- the identifier of the port in the present invention refers to the identifier of the MPM FSM capable of indicating the transmission of the grid peer frame.
- the MPM FSM control grid STA sends and receives mesh peer frames. For example, if all the MPM FSMs in the second wireless station have different identifiers, the identifier of the port of the second wireless station that sends the grid peer frame may be the identifier of the MPM FSM that sends the grid peer frame.
- the identifier of the port of the second wireless station that sends the grid peer frame may be a combination of the grid ID and the identifier of the MPM FSM.
- the above grid ID and the identifier of the MPM FSM may be a simple superposition of the grid ID and the MPM FSM, or the identifier of the port of the second wireless station transmitting the grid peer frame may be calculated according to the identifier of the grid ID and the identifier of the MPM FSM, and the identifier may uniquely identify a wireless station.
- the MPM FSM In the MPM FSM.
- the device capability of the second wireless station is also included in the grid peer frame.
- the grid peering frame further includes a port description of the port of the second wireless station that sends the grid peer frame.
- the saving unit 304 is configured to save a first correspondence, where the first correspondence includes the grid data, information about an identity of the second wireless station, and the second wireless station sends the grid peer frame The identity of the port and the correspondence of the wireless station receiving the identity of the port of the grid peer frame.
- the saving unit 304 acquires the mesh data in the grid peer frame, the information of the identity of the second wireless station, and the identifier of the port of the second wireless station that sends the grid peer frame, establishes them and the wireless station receives the network Corresponding relationship between the identifiers of the ports of the peer-to-peer frames, and storing the correspondence as the first correspondence in the wireless station.
- the wireless site Receiving a beacon frame periodically sent by the second wireless station, where the beacon frame includes information about the mesh data and the identity of the second wireless station.
- the wireless station updates other information in the information of the identity of the second wireless station in the first correspondence according to the MAC address in the information in the beacon frame and the information in the identity of the second wireless station. In some scenarios, the information of the identity of the wireless station may change.
- the device name of the wireless station is renamed, but the MAC address of the wireless station in the information of the identity of the wireless station does not change, and the wireless station may be in the beacon frame.
- the MAC address of the second wireless station in the information of the identity of the second wireless station finds the information of the identity of the second wireless station in the first correspondence, and updates the information of the identity of the second wireless station.
- the wireless station When the wireless station determines that the connection corresponding to the first correspondence relationship with the second wireless station is disconnected, the wireless station deletes the first correspondence.
- the sending unit 306 is configured to send, to the network management device, the information about the identity of the wireless station and the first correspondence, where the information about the identity of the wireless site and the first correspondence are used by the network management device to construct a connection relationship between the wireless station and the second wireless station corresponding to the mesh data and a port for maintaining the connection relationship in a topology of the wireless local area network (MG) network.
- MG wireless local area network
- the network management device is a device that maintains the topology of the wireless local area network mesh network or a set of devices that maintain the topology of the wireless local area network mesh network, such as a management cloud that maintains the topology of the wireless local area network mesh network.
- the network management device in FIG. 1 is in a wired network, that is, not in the wireless local area network (MG) network.
- the network management device may be located in the wireless local area network (network) or in other not shown in the figure.
- Wireless LAN mesh network Medium the network management device can coexist with STAs in the WLAN mesh network.
- the network management device After receiving the information of the identity of the wireless station and the first correspondence, the network management device, according to the grid data in the first correspondence, the identity information of the wireless station and the identity of the second wireless station in the first correspondence The information determines that there is a connection between the wireless station and the second wireless station in the mesh network corresponding to the mesh data in the first correspondence. Further, the network management device determines, according to the identifier of the port of the grid peer frame, and the identifier of the port of the wireless station receiving the grid peer frame according to the second wireless station in the first correspondence, determining the wireless station and the second wireless The port of the connection maintaining the connection relationship, that is, the identifier of the MPM FSM that determines the wireless station and the second wireless station to send and receive the grid peer management frame. The administrator can find the corresponding MPM FSM according to the port that maintains each connection relationship in the topology of the WLAN mesh network to diagnose the connection error.
- all STAs in the WLAN mesh network, or all non-AP STAs coexist with the network management device, that is, all STAs in the WLAN mesh network, or all non- AP STAs have the ability to maintain the topology of a wireless LAN mesh network.
- the wireless station transmits the information of the identity of the wireless station and the first correspondence in a broadcast or multicast manner, and receives the identity of the wireless station that is sent by other wireless stations in a broadcast or multicast manner. Information and correspondence.
- the wireless station maintains the topology of the wireless local area network network according to the first correspondence stored by itself and the information of the identity of the received wireless station and the corresponding relationship.
- all STAs in the WLAN mesh network, or all non-AP STAs maintain the topology of the WLAN mesh network, so the administrator can obtain from any STA or any non-AP STA.
- the topology of a wireless LAN mesh network may be used to obtain from any STA or any non-AP STA.
- the wireless station determines that the connection corresponding to the first correspondence relationship is disconnected with the second wireless station
- the wireless station sends the information of the identity of the wireless station to the network management device and the first correspondence.
- the network management device deletes, according to the grid data, the information of the identity of the wireless station, and the identity of the second wireless station, the topology of the wireless local area network (GPS) in the topology of the wireless network and the second wireless station.
- GPS wireless local area network
- the wireless station may also send information about the identity of the wireless station to the network management device and the first Corresponding relationship is such that the network management device deletes the connection relationship between the wireless station and the second wireless station corresponding to the mesh data in the topology of the wireless local area network and the port that maintains the connection relationship.
- the network management device does not need the identifier of the port in the first correspondence relationship, and can also delete the port that maintains the connection relationship between the two wireless stations. .
- the wireless station in the embodiment of the present invention saves the connection relationship and port between other wireless stations, so that the network management
- the device can build a topology of the wireless LAN mesh network.
- the administrator can find the corresponding MPM FSM according to the port in the topology of the wireless LAN mesh network to maintain the connection relationship, in order to diagnose the connection error.
- the information of the identity of the second wireless station in the embodiment of the present invention and the identifier of the port of the second wireless station that sends the grid peer frame are in the grid peer frame, that is, between the two wireless stations.
- FIG. 4 is a schematic structural diagram of a wireless station according to an embodiment of the present invention.
- the wireless station may specifically be a wireless access point or a non-AP site, such as a mobile phone, various types of computers, a tablet, a PDA, a MID or an e-book reader.
- the wireless site includes a wireless local area network adapter 402, a processor 404 and a memory 406.
- the WLAN adapter 402 is a wireless network interface controller (English: wireless network interface controller, abbreviation: WNIC).
- the processor 404 can be a central processing unit (English: central processing unit, abbreviated: CPU), or a combination of a CPU and a hardware chip.
- the above hardware chip may be a combination of one or more of the following: an application-specific integrated circuit (ASIC), a field-programmable gate array (English: field-programmable gate array, abbreviation: FPGA) , complex programmable logic device (abbreviation: CPLD) and network processor (English: network processor, abbreviation: NP).
- ASIC application-specific integrated circuit
- FPGA field-programmable gate array
- CPLD complex programmable logic device
- NP network processor
- the memory 406 may be a volatile memory, such as a random access memory (English: random-access memory, abbreviation: RAM), or a non-volatile memory (English: non-volat i le memory).
- RAM random access memory
- non-volatile memory English: non-volat i le memory
- flash memory English: ash memory
- hard disk English: hard disk drive, abbreviation: HDD
- solid state drive English: solid-state drive, abbreviation: SSD.
- Both the wireless LAN adapter 402 and the memory 406 are coupled to the processor 404.
- the thick line in Figure 4 is the bus (English: bus).
- the memory 406 stores the program code, and stores the first correspondence, and transmits the stored program code to the processor 404.
- the processor 404 executes the operational steps in the embodiment shown in FIG. 2 in accordance with the program instructions stored in the memory 406.
- the processor 404 receives the grid peer frame through the wireless LAN adapter 402, the grid peer frame includes the grid data, the information of the identity of the second wireless station, and the port of the second wireless station that sends the grid peer frame The identifier, where the second wireless station is a wireless station that sends the grid peer frame.
- the wireless station and the second wireless station in the embodiment of the present invention may be any one of the wireless stations in FIG. Such as If the non-AP site 106 does not support the solution of the embodiment of the present invention, the first wireless station and the second wireless station may be two of the wireless stations except the non-AP site 106 in FIG.
- Grid data is used in a single grid basic service set.
- the grid data is a collection of values that identify the properties of the grid's basic service set.
- the above grid peer frame is at least one of the following frames: mesh peer ing open frame and mesh peer ing conf irm frame. If the mesh peer ing openi
- a preset rule for example, carried by the mesh peer ing conf irm frame
- the information of the identity of the wireless station may be a combination of one or more of the following: the MAC address of the wireless station, the device name of the wireless station, and the management IP address of the wireless station.
- the device name is a unique name of the device in the network and can be manually or automatically assigned to each wireless station. If the information of the identity of the wireless station is a combination of the management IP address of the wireless station or the management IP address of the wireless station and other information, the administrator may according to the identity of the wireless station in the topology of the constructed wireless local area network grid network. Manage the wireless station corresponding to the IP address management.
- a wireless local area network (MG) network there is no usual physical port.
- the term "port" in the present invention is different from the usual physical port in communication technology, and is also different from a general virtual port.
- the identification of the port in the present invention refers to the identification of the MPM FSM capable of indicating the transmission of the peer frame of the mesh.
- the MPM FSM Control Grid STA sends and receives Grid Peer Frames.
- the MPM FSM in the wireless site is generated and maintained by the processor 404, and the MPM FSM in the second wireless site is generated and maintained by the processor of the second wireless site.
- the identifier of the port of the second wireless station that sends the grid peer frame may be the identifier of the MPM FSM that sends the grid peer frame. Or a combination of the grid ID and the identifier of the MPM FSM; if all the MPM FSMs in the same grid in the second wireless station have different identifiers, and the MPM FSMs in different grids may have the same identifier, Then, the identifier of the port of the second wireless station that sends the grid peer frame may be a combination of the grid ID and the identifier of the MPM FSM.
- the combination of the foregoing grid ID and the identifier of the MPM FSM may be a simple superposition of the grid ID and the MPM FSM, or the identifier of the port of the second wireless station transmitting the grid peer frame may be calculated according to the identifier of the grid ID and the MPM FSM. , the identifier can uniquely identify the MPM FSM in a wireless site.
- the device capability of the second wireless station is also included in the grid peer frame.
- the grid peering frame further includes a port description of the port of the second wireless station that sends the grid peer frame.
- the processor 404 stores a first correspondence in the memory 406, where the first correspondence includes the grid data, information of an identity of the second wireless station, and the second wireless station sends the grid peer The identifier of the port of the frame and the correspondence between the identifier of the port that the wireless station receives the grid peer frame.
- the processor 404 acquires the grid data in the grid peer frame, the information of the identity of the second wireless station, and the identifier of the port of the second wireless station that sends the grid peer frame, establishes them and the wireless station receives the network
- the correspondence between the identifiers of the ports of the peer-to-peer frames is stored in the memory 406 as the first correspondence.
- the processor 404 is optional.
- the beacon frame periodically sent by the second wireless station is received by the wireless local area network adapter 402, and the beacon frame includes information of the mesh data and the identity of the second wireless station.
- the processor 404 updates other information in the information of the identity of the second wireless station in the first correspondence in the memory 406 based on the MAC address in the information in the beacon frame and the information in the identity of the second wireless station. In some scenarios, the information of the identity of the wireless station may change.
- the device name of the wireless station is renamed, but the MAC address of the wireless station in the information of the identity of the wireless station does not change, and the processor 404 may be in the beacon frame.
- the MAC address of the second wireless station in the information of the identity of the second wireless station finds information of the identity of the second wireless station in the first correspondence in the memory 406, and updates the information of the identity of the second wireless station.
- the processor 404 deletes the first correspondence in the memory 406.
- the processor 404 transmits, to the network management device, information of the identity of the wireless station and the first correspondence, wherein the information of the identity of the wireless station and the first correspondence are used by the network management device to construct the wireless A connection relationship between the wireless station and the second wireless station corresponding to the mesh data and a port for maintaining the connection relationship in a topology of a local area network mesh network.
- the processor 404 can send the information of the identity of the wireless station and the first correspondence through the wireless LAN adapter 402 or other type of adapter of the wireless station, such as a wired adapter.
- a wired adapter is a NIC that provides a wired interface, such as an Ethernet NIC.
- the Ethernet NIC can provide a copper interface, a fiber interface, or both a copper interface and a fiber interface.
- the network management device is a device that maintains the topology of the wireless local area network mesh network or a set of devices that maintain the topology of the wireless local area network mesh network, such as a management cloud that maintains the topology of the wireless local area network mesh network.
- the network management device in FIG. 1 is in a wired network, that is, not in the wireless local area network (MG) network.
- the network management device may be located in the wireless local area network (network) or in other not shown in the figure.
- Wireless LAN mesh network Medium the network management device can coexist with STAs in the WLAN mesh network.
- the network management device After receiving the information of the identity of the wireless station and the first correspondence, the network management device, according to the grid data in the first correspondence, the identity information of the wireless station and the identity of the second wireless station in the first correspondence The information determines that there is a connection between the wireless station and the second wireless station in the mesh network corresponding to the mesh data in the first correspondence. Further, the network management device determines, according to the identifier of the port of the grid peer frame, and the identifier of the port of the wireless station receiving the grid peer frame according to the second wireless station in the first correspondence, determining the wireless station and the second wireless The port of the connection maintaining the connection relationship, that is, the identifier of the MPM FSM that determines the wireless station and the second wireless station to send and receive the grid peer management frame. The administrator can find the corresponding MPM FSM according to the port that maintains each connection relationship in the topology of the WLAN mesh network to diagnose the connection error.
- all STAs in the WLAN mesh network, or all non-AP STAs coexist with the network management device, that is, all STAs in the WLAN mesh network, or all non- AP STAs have the ability to maintain the topology of a wireless LAN mesh network.
- the processor 404 broadcasts the information of the identity of the wireless station and the first correspondence in a broadcast or multicast manner, and receives the identity of the wireless station that is sent by other wireless stations in a broadcast or multicast manner. Information and correspondence.
- the processor 404 maintains the topology of the wireless local area network network based on the first correspondence stored in the memory 406 and the information of the identity of the received wireless station and the corresponding relationship.
- all STAs in the WLAN mesh network, or all non-AP STAs maintain the topology of the WLAN mesh network, so the administrator can obtain from any STA or any non-AP STA.
- the topology of a wireless LAN mesh network may be used to obtain from any STA or any non-AP STA.
- the processor 404 sends the information of the identity of the wireless station and the first correspondence relationship to the network management device.
- the network management device deletes, according to the grid data, the information of the identity of the wireless station, and the identity of the second wireless station, the topology of the wireless local area network (GPS) in the topology of the wireless network and the second wireless station.
- GPS wireless local area network
- the processor 404 may also send the information of the identity of the wireless station to the network management device and the first Corresponding relationship is such that the network management device deletes the connection relationship between the wireless station and the second wireless station corresponding to the mesh data in the topology of the wireless local area network and the port that maintains the connection relationship.
- the network management device does not need the identifier of the port in the first correspondence relationship, and can also delete the port that maintains the connection relationship between the two wireless stations. .
- the wireless station in the embodiment of the present invention saves the connection relationship and port between other wireless stations, so that the network management
- the device can build a topology of the wireless LAN mesh network.
- the administrator can find the corresponding MPM FSM according to the port in the topology of the wireless LAN mesh network to maintain the connection relationship, in order to diagnose the connection error.
- the information of the identity of the second wireless station in the embodiment of the present invention and the identifier of the port of the second wireless station that sends the grid peer frame are in the grid peer frame, that is, between the two wireless stations.
- the embodiment of the present invention does not need to establish an additional session for topology collection as compared to performing topology collection separately after connection establishment is completed.
- a person skilled in the art can understand that all or part of the steps in implementing the foregoing method embodiments may be performed by a program to instruct related hardware, and the corresponding program may be stored in a computer readable storage medium, and the storage medium may be random. Access memory, read-only memory, flash memory, hard disk, solid state drive or optical disk.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明实施例提供一种无线局域网网格网络的拓扑构建方法和无线站点。该方法包括:第一无线站点接收网格对等帧;第一无线站点保存第一对应关系,第一对应关系包括网格资料,第二无线站点的身份的信息,第二无线站点发送所述网格对等帧的端口的标识以及第一无线站点接收网格对等帧的端口的标识的对应关系;第一无线站点向网络管理设备发送第一无线站点的身份的信息和所述第一对应关系,这些被网络管理设备用来构建无线局域网网格网络的拓扑中第一无线站点和述第二无线站点间对应网格资料的连接关系以及维护连接关系的端口。
Description
无线局域网网格网络的拓扑构建方法和无线站点 技术领域 本发明涉及通信技术领域,尤其涉及一种无线局域网网格网络的拓扑构建方法和无 线站点。 背景技术 无线局域网 (英文: wireless local area network, 缩写: WLAN) 网格 (英文: mesh) 网络部署快捷、 扩展性强, 但是无线站点 (英文: station, 缩写: STA)之间无 线连接也增加网络拓扑的复杂性, 所以高效、 快速地收集 WLAN Mesh网络的拓扑尤为重 要。 发明内容
本发明提供了一种无线局域网网格网络的拓扑构建方法和无线站点, 以解决构建无 线局域网网格网络的拓扑的问题。
第一方面, 本发明提供了一种无线局域网网格网络的拓扑构建方法, 包括: 第一无线站点接收网格对等帧, 所述网格对等帧中包括网格资料, 第二无线站点的 身份的信息以及所述第二无线站点发送所述网格对等帧的端口的标识, 其中, 所述第二 无线站点是发送所述网格对等帧的无线站点;
所述第一无线站点保存第一对应关系, 所述第一对应关系包括所述网格资料, 所述 第二无线站点的身份的信息,所述第二无线站点发送所述网格对等帧的端口的标识以及 所述第一无线站点接收所述网格对等帧的端口的标识的对应关系;
所述第一无线站点向网络管理设备发送所述第一无线站点的身份的信息和所述第 一对应关系,其中所述第一无线站点的身份的信息和所述第一对应关系被所述网络管理 设备用来构建所述无线局域网网格网络的拓扑中所述第一无线站点和所述第二无线站 点之间对应所述网格资料的连接关系以及维护所述连接关系的端口。 在第一方面的第一种实现方式中, 该方法还包括:
在所述第一无线站点确定与所述第二无线站点之间对应于所述第一对应关系的连 接断开的情况下,所述第一无线站点向所述网络管理设备发送所述第一无线站点的身份 的信息和所述第一对应关系中的所述网格资料和所述第二无线站点的身份的信息,其中 所述第一无线站点的身份的信息和所述第一对应关系被所述网络管理设备用来删除所 述无线局域网网格网络的拓扑中所述第一无线站点和所述第二无线站点之间对应所述 网格资料的连接关系以及维护所述连接关系的端口。 结合第一方面或第一方面的第一种实现方式, 在第一方面的第二种实现方式中, 该 方法还包括:
在所述第二无线站点的身份的信息是所述第二无线站点的介质访问控制地址和其 它信息的组合的情况下, 所述第一无线站点接收所述第二无线站点发送的信标帧, 所述 信标帧中包括所述网格资料和所述第二无线站点的身份的信息;
所述第一无线站点根据所述信标帧中的所述网格资料和所述第二无线站点的身份 的信息中的介质访问控制地址更新所述第一对应关系中的所述第二无线站点的身份的 信息中的其它信息。 第二方面, 本发明提供了一种无线站点, 包括接收单元, 保存单元和发送单元; 其 中,
所述接收单元, 用于接收网格对等帧, 所述网格对等帧中包括网格资料, 第二无线 站点的身份的信息以及所述第二无线站点发送所述网格对等帧的端口的标识, 其中, 所 述第二无线站点是发送所述网格对等帧的无线站点;
所述保存单元, 用于保存第一对应关系, 所述第一对应关系包括所述网格资料, 所 述第二无线站点的身份的信息,所述第二无线站点发送所述网格对等帧的端口的标识以 及所述无线站点接收所述网格对等帧的端口的标识的对应关系;
所述发送单元,用于向网络管理设备发送所述无线站点的身份的信息和所述第一对 应关系,其中所述无线站点的身份的信息和所述第一对应关系被所述网络管理设备用来 构建所述无线局域网网格网络的拓扑中所述无线站点和所述第二无线站点之间对应所 述网格资料的连接关系以及维护所述连接关系的端口。
在第二方面的第一种实现方式中,在所述无线站点确定与所述第二无线站点之间对 应于所述第一对应关系的连接断开的情况下,所述无线站点还用于向所述网络管理设备 发送所述无线站点的身份的信息和所述第一对应关系中的所述网格资料和所述第二无 线站点的身份的信息,其中所述无线站点的身份的信息和所述第一对应关系被所述网络 管理设备用来删除所述无线局域网网格网络的拓扑中所述无线站点和所述第二无线站 点之间对应所述网格资料的连接关系以及维护所述连接关系的端口。 结合第二方面或第二方面的第一种实现方式, 在第二方面的第二种实现方式中, 在 所述第二无线站点的身份的信息是所述第二无线站点的介质访问控制地址和其它信息 的组合的情况下, 所述无线站点还用于接收所述第二无线站点发送的信标帧, 所述信标 帧中包括所述网格资料和所述第二无线站点的身份的信息;
所述无线站点还用于根据所述信标帧中的所述网格资料和所述第二无线站点的身 份的信息中的介质访问控制地址更新所述第一对应关系中的所述第二无线站点的身份 的信息中的其它信息。 第三方面, 本发明提供了一种无线站点, 其特征在于, 包括无线局域网适配器, 处 理器和存储器; 其中, 所述处理器根据所述存储器存储的程序指令, 执行:
所述处理器通过所述无线局域网适配器接收网格对等帧,所述网格对等帧中包括网 格资料,第二无线站点的身份的信息以及所述第二无线站点发送所述网格对等帧的端口 的标识, 其中, 所述第二无线站点是发送所述网格对等帧的无线站点;
所述处理器在所述存储器中保存第一对应关系,所述第一对应关系包括所述网格资 料, 所述第二无线站点的身份的信息, 所述第二无线站点发送所述网格对等帧的端口的 标识以及所述无线站点接收所述网格对等帧的端口的标识的对应关系;
所述处理器向网络管理设备发送所述无线站点的身份的信息和所述第一对应关系, 其中所述无线站点的身份的信息和所述第一对应关系被所述网络管理设备用来构建所 述无线局域网网格网络的拓扑中所述无线站点和所述第二无线站点之间对应所述网格 资料的连接关系以及维护所述连接关系的端口。 在第三方面的第一种实现方式中, 所述处理器根据所述存储器存储的程序指令, 还 执行:
在所述无线站点确定与所述第二无线站点之间对应于所述第一对应关系的连接断 开的情况下,所述处理器向所述网络管理设备发送所述无线站点的身份的信息和所述第 一对应关系中的所述网格资料和所述第二无线站点的身份的信息,其中所述无线站点的 身份的信息和所述第一对应关系被所述网络管理设备用来删除所述无线局域网网格网 络的拓扑中所述无线站点和所述第二无线站点之间对应所述网格资料的连接关系以及 维护所述连接关系的端口。 结合第三方面或第三方面的第一种实现方式, 在第三方面的第二种实现方式中, 所 述处理器根据所述存储器存储的程序指令, 还执行:
在所述第二无线站点的身份的信息是所述第二无线站点的介质访问控制地址和其 它信息的组合的情况下,所述处理器通过所述无线局域网适配器接收所述第二无线站点 发送的信标帧, 所述信标帧中包括所述网格资料和所述第二无线站点的身份的信息; 所述处理器根据所述信标帧中的所述网格资料和所述第二无线站点的身份的信息 中的介质访问控制地址更新所述存储器中所述第一对应关系中的所述第二无线站点的 身份的信息中的其它信息。 由上述技术方案可知,本发明中的无线站点保存和其他无线站点间的连接关系和端 口, 以便网络管理设备可以构建无线局域网网格网络的拓扑。 附图说明 为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例描述中所需要使用 的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的一些实施例, 对 于本领域普通技术人员来讲, 在不付出创造性劳动性的前提下, 还可以根据这些附图获 得其他的附图。
图 1为本发明实施例的网络系统示意图;
图 2为本发明实施例的方法流程图;
图 3为本发明实施例的无线站点示意图;
图 4为本发明实施例提供的无线站点的结构示意图。 具体实施方式
下面通过实施例对本发明的具体实现过程进行举例说明。 显然, 下面所描述的实施 例是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通 技术人员在没有做出创造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的 范围。
图 1为本发明实施例的网络系统示意图。该网络系统示意图中的实线表示有线连接, 虚线表示无线连接, 虚线方框包围的部分为无线局域网网格网络。 102, 104和 106为无 线站点。 其中 102与有线网络相连, 因此也被称为网格网关 (英文: mesh gate) 。 104 为无线接入点(英文: access point,缩写: AP)。 106为非 AP站点(英文: non-AP station), 例如移动电话 (英文: cellphone) ,智能手机 (英文: smartphone) , 计算机 (英文: computer),平板电脑(英文: tablet computer ),个人数码助理(英文: ersonal digital assistant, 缩写: PDA) , 移动互联网设备 (英文: mobile Internet device, 缩写: MID)和电子书阅读器(英文: e-book reader)等。 无线站点相互之间以无线方式连接, 从而构成无线局域网网格网络。 108为网络管理设备。
参见图 1和图 2, 本发明实施例提供了一种无线局域网网格网络的拓扑构建方法。 图 2为本发明实施例的方法流程图。 该方法包括:
202、 第一无线站点接收网格对等(英文: mesh peering)帧, 该网格对等帧中包括 网格资料 (英文: mesh profile), 第二无线站点的身份的信息以及该第二无线站点发送 网格对等帧的端口的标识, 其中, 该第二无线站点是发送所述网格对等帧的无线站点。
本发明实施例中的第一无线站点和第二无线站点可以是图 1中任意一个无线站点。 如果非 AP站点 106不支持本发明实施例的方案, 则第一无线站点和第二无线站点可以为 图 1中的除了非 AP站点 106的所有无线站点中的两个无线站点。
网格资料用在一个单独的网格基本服务集(英文: basic service set, 缩写: BSS) 中。 网格资料是识别网格基本服务集 (英文: mesh basic service set, 缩写: MBSS) 的属性的参数的值的集合。
上述网格对等帧为以下帧中的至少一个: 网格对等打开(英文: mesh peering open) 巾贞禾口网格对等确认(英文: mesh peering confirm)巾贞。 如果 mesh peering openi|i贞禾口 mesh peering confirm帧都携带第二无线站点的身份的信息以及该第二无线站点发送网格对 等帧的端口的标识, 通常在同一个 mesh BSS中的第一无线站点和第二无线站点间, 第二 无线站点发送的 mesh peering open帧和 mesh peering confirm帧携带的网格对等帧的 端口的标识是相同的。 如果上述两者携带的网格对等帧的端口的标识不同, 则第一无线
站点按照预设的规则处理, 例如以 mesh peer ing conf irm帧携带的为准, 或者终止流程 并报错。
无线站点的身份的信息可以为以下一个或多个的组合: 无线站点的介质访问控制 (英文: media acces s control , 缩写: MAC) 地址, 无线站点的设备名称和无线站点 的管理网际网络 (英文: Internet , 缩写: IP) 地址。 其中, 设备名称是网络中设备的 唯一名称, 可以被手动的或者自动的分配给各个无线站点。 如果无线站点的身份的信息 为无线站点的管理 IP地址或无线站点的管理 IP地址与其他信息的组合, 则管理员可以根 据构建的无线局域网网格网络的拓扑中无线站点的身份的信息里的管理 IP地址管理对 应的无线站点。
在无线局域网网格网络中, 并没有通常的物理端口, 本发明中的术语 "端口"不同 于通信技术中通常的物理端口, 也不同于一般的虚拟端口。 本发明中的端口的标识是指 能够表明发送网格对等帧的网格对等管理有限状态机(英文: mesh peer ing management f ini te s tate machine, 缩写: MPM FSM) 的标识。 MPM FSM控制网格 STA发送和接收网 格对等帧。 举例来说, 如果第二无线站点中所有的 MPM FSM都有不同的标识, 则第二无 线站点发送网格对等帧的端口的标识可以为发送该网格对等帧的 MPM FSM的标识, 或者 为网格 ID与 MPM FSM的标识的组合; 如果第二无线站点中在同一个网格中的所有的 MPM FSM都有不同的标识, 而不同网格中的 MPM FSM可能有相同的标识, 则第二无线站点发送 网格对等帧的端口的标识可以为网格 ID与 MPM FSM的标识的组合。 上述网格 ID与 MPM FSM 的标识的组合可以是网格 ID与 MPM FSM的简单叠加, 也可以根据网格 ID与 MPM FSM的标识 计算得到第二无线站点发送网格对等帧的端口的标识, 该标识可以唯一标识一个无线站 点中的 MPM FSM。
可选的, 网格对等帧中还包括第二无线站点的设备能力。
可选的, 网格对等帧中还包括第二无线站点发送网格对等帧的端口的端口描述。 204、 所述第一无线站点保存第一对应关系, 所述第一对应关系包括所述网格资料, 所述第二无线站点的身份的信息,所述第二无线站点发送所述网格对等帧的端口的标识 以及所述第一无线站点接收所述网格对等帧的端口的标识的对应关系。
第一无线站点获取网格对等帧中的网格资料,第二无线站点的身份的信息以及该第 二无线站点发送网格对等帧的端口的标识, 建立它们和该第一无线站点接收该网格对等 帧的端口的标识间的对应关系, 并将该对应关系作为第一对应关系保存在第一无线站点 中。
在无线站点的身份的信息是无线站点的 MAC地址和其它信息 (例如无线站点的设备 名称和无线站点的管理 IP地址中的一个或多个) 的组合的情况下, 可选的, 第一无线站 点接收第二无线站点周期性发送的信标(英文: beacon )帧, beacon帧中包括网格资料 和第二无线站点的身份的信息。第一无线站点根据 beacon帧中的网格资料和第二无线站 点的身份的信息中的 MAC地址更新上述第一对应关系中的第二无线站点的身份的信息中 的其它信息。 某些场景中, 无线站点的身份的信息可能变化, 例如无线站点的设备名称 被重新命名, 但无线站点的身份的信息中的无线站点的 MAC地址不会变化, 第一无线站 点可以根据 beacon帧中第二无线站点的身份的信息中的第二无线站点的 MAC地址找到上 述第一对应关系中的第二无线站点的身份的信息, 并更新该第二无线站点的身份的信 息。
在第一无线站点确定与第二无线站点之间对应于第一对应关系的连接断开的情况 下, 第一无线站点删除上述第一对应关系。
206、 所述第一无线站点向网络管理设备发送所述第一无线站点的身份的信息和所 述第一对应关系,其中所述第一无线站点的身份的信息和所述第一对应关系被所述网络 管理设备用来构建所述无线局域网网格网络的拓扑中所述第一无线站点和所述第二无 线站点之间对应所述网格资料的连接关系以及维护所述连接关系的端口。
网络管理设备是维护无线局域网网格网络的拓扑的设备或者维护无线局域网网格 网络的拓扑的一组设备, 例如维护无线局域网网格网络的拓扑的管理云。 图 1中的网络 管理设备在有线网络中, 即不在该无线局域网网格网络中, 可选的, 该网络管理设备可 以位于该无线局域网网格网络中, 或者位于在图中没有示出的其他无线局域网网格网络 中。 可选的, 该网络管理设备可以与该无线局域网网格网络中的 STA共存 (英文: co l oca t e ) 。
网络管理设备收到第一无线站点的身份的信息和第一对应关系后,根据第一对应关 系中的网格资料,第一无线站点的身份的信息和第一对应关系中的第二无线站点的身份 的信息确定, 在第一对应关系中的网格资料对应的网格网络中, 第一无线站点和第二无 线站点之间有连接。 进一步的, 网络管理设备根据第一对应关系中的第二无线站点发送 网格对等帧的端口的标识以及第一无线站点接收网格对等帧的端口的标识,确定第一无 线站点和第二无线站点的维护该连接关系的端口, 即确定第一无线站点和第二无线站点 发送和接收网格对等管理帧的 MPM FSM的标识。 管理员可以根据无线局域网网格网络的 拓扑中维护各个连接关系的端口找到对应的 MPM FSM, 以便诊断连接错误。
可选的, 该无线局域网网格网络中的所有的 STA, 或者所有的 non-AP STA, 都分别 与网络管理设备共存, 即该无线局域网网格网络中的所有的 STA,或者所有的 non-AP STA 都有维护无线局域网网格网络的拓扑的功能。 在这个情况下, 第一无线站点以广播或组 播的方式发送该第一无线站点的身份的信息和第一对应关系, 并接收其他无线站点以广 播或组播的方式发送的无线站点的的身份的信息以及对应关系。第一无线站点根据自身 保存的第一对应关系以及接收到的无线站点的的身份的信息以及对应关系维护无线局 域网网格网络的拓扑。 同样的, 该无线局域网网格网络中的所有的 STA, 或者所有的 non-AP STA都各自维护该无线局域网网格网络的拓扑, 因而管理者可以从任意一个 STA 或任意一个 non-AP STA得到无线局域网网格网络的拓扑。
可选的,在第一无线站点确定与第二无线站点之间对应于第一对应关系的连接断开 的情况下,第一无线站点向网络管理设备发送第一无线站点的身份的信息和第一对应关 系中的网格资料和第二无线站点的身份的信息。 网络管理设备根据该网格资料、 第一无 线站点的身份的信息和第二无线站点的身份的信息删除无线局域网网格网络的拓扑中 第一无线站点和第二无线站点之间对应该网格资料的连接关系以及维护所述连接关系 的端口。 可选的, 在该无线站点确定与第二无线站点之间对应于第一对应关系的连接断 开的情况下,第一无线站点也可以向网络管理设备发送第一无线站点的身份的信息和第 一对应关系以使网络管理设备删除无线局域网网格网络的拓扑中第一无线站点和第二 无线站点之间对应该网格资料的连接关系以及维护所述连接关系的端口。 通常的, 一个 网格网络中的两个无线站点之间至多只有一个连接,所以网络管理设备不需要第一对应 关系中的端口的标识也可以删除维护这两个无线站点之间连接关系的端口。
本发明实施例中的无线站点保存和其他无线站点间的连接关系和端口, 以便网络管 理设备可以构建无线局域网网格网络的拓扑。管理员可以根据无线局域网网格网络的拓 扑中维护各个连接关系的端口找到对应的 MPM FSM, 以便诊断连接错误。 并且, 本发明 实施例中第二无线站点的身份的信息以及该第二无线站点发送网格对等帧的端口的标 识在网格对等帧中, 也就是说, 在两个无线站点之间建立连接的时候就已经开始构建无 线局域网网格网络的拓扑的过程, 拓扑的构建快。 此外, 和在连接建立完成后单独进行 拓扑收集相比, 本发明实施例不需要建立额外的会话来做拓扑收集。 参见图 1和图 3, 本发明实施例提供了一种无线局域网网格网络的无线站点。 图 3为 本发明实施例的无线站点示意图。 该无线站点包括, 接收单元 302, 保存单元 304和发送
单元 306。 其中,
接收单元 302, 用于接收网格对等帧, 该网格对等帧中包括网格资料, 第二无线站 点的身份的信息以及该第二无线站点发送网格对等帧的端口的标识, 其中, 该第二无线 站点是发送所述网格对等帧的无线站点。
本发明实施例中的该无线站点和第二无线站点可以是图 1中任意一个无线站点。 如 果非 AP站点 106不支持本发明实施例的方案, 则该无线站点和第二无线站点可以为图 1中 的除了非 AP站点 106的所有无线站点中的两个无线站点。
网格资料用在一个单独的网格基本服务集中。 网格资料是识别网格基本服务集的属 性的参数的值的集合。
上述网格对等帧为以下帧中的至少一个: 网格对等打开帧和网格对等确认帧。 如果 mesh peer ing open帧和 mesh peer ing conf irm帧都携带第二无线站点的身份的信息以 及该第二无线站点发送网格对等帧的端口的标识, 通常在同一个 mesh BSS中的该无线站 点禾口第二无线立占点间, 第二无线立占点发送的 mesh peer ing openi|i贞禾口 mesh peer ing conf irm帧携带的网格对等帧的端口的标识是相同的。 如果上述两者携带的网格对等帧 的端口的标识不同, 则该无线站点按照预设的规则处理, 例如以 mesh peer ing conf irm 帧携带的为准, 或者终止流程并报错。
无线站点的身份的信息可以为以下一个或多个的组合: 无线站点的 MAC地址, 无线 站点的设备名称和无线站点的管理 IP地址。 其中, 设备名称是网络中设备的唯一名称, 可以被手动的或者自动的分配给各个无线站点。如果无线站点的身份的信息为无线站点 的管理 IP地址或无线站点的管理 IP地址与其他信息的组合, 则管理员可以根据构建的无 线局域网网格网络的拓扑中无线站点的身份的信息里的管理 IP地址管理对应的无线站 点。
在无线局域网网格网络中, 并没有通常的物理端口, 本发明中的术语 "端口"不同 于通信技术中通常的物理端口, 也不同于一般的虚拟端口。 本发明中的端口的标识是指 能够表明发送网格对等帧的 MPM FSM的标识。 MPM FSM控制网格 STA发送和接收网格对等 帧。 举例来说, 如果第二无线站点中所有的 MPM FSM都有不同的标识, 则第二无线站点 发送网格对等帧的端口的标识可以为发送该网格对等帧的 MPM FSM的标识, 或者为网格 ID与 MPM FSM的标识的组合; 如果第二无线站点中在同一个网格中的所有的 MPM FSM都有 不同的标识, 而不同网格中的 MPM FSM可能有相同的标识, 则第二无线站点发送网格对 等帧的端口的标识可以为网格 ID与 MPM FSM的标识的组合。 上述网格 ID与 MPM FSM的标识
的组合可以是网格 ID与 MPM FSM的简单叠加, 也可以根据网格 ID与 MPM FSM的标识计算得 到第二无线站点发送网格对等帧的端口的标识, 该标识可以唯一标识一个无线站点中的 MPM FSM。
可选的, 网格对等帧中还包括第二无线站点的设备能力。
可选的, 网格对等帧中还包括第二无线站点发送网格对等帧的端口的端口描述。 保存单元 304, 用于保存第一对应关系, 所述第一对应关系包括所述网格资料, 所 述第二无线站点的身份的信息,所述第二无线站点发送所述网格对等帧的端口的标识以 及该无线站点接收所述网格对等帧的端口的标识的对应关系。
保存单元 304获取网格对等帧中的网格资料, 第二无线站点的身份的信息以及该第 二无线站点发送网格对等帧的端口的标识, 建立它们和该该无线站点接收该网格对等帧 的端口的标识间的对应关系, 并将该对应关系作为第一对应关系保存在该无线站点中。
在无线站点的身份的信息是无线站点的 MAC地址和其它信息 (例如无线站点的设备 名称和无线站点的管理 IP地址中的一个或多个) 的组合的情况下, 可选的, 该无线站点 接收第二无线站点周期性发送的 beacon帧, beacon帧中包括网格资料和第二无线站点的 身份的信息。该无线站点根据 beacon帧中的网格资料和第二无线站点的身份的信息中的 MAC地址更新上述第一对应关系中的第二无线站点的身份的信息中的其它信息。 某些场 景中, 无线站点的身份的信息可能变化, 例如无线站点的设备名称被重新命名, 但无线 站点的身份的信息中的无线站点的 MAC地址不会变化, 该无线站点可以根据 beacon帧中 第二无线站点的身份的信息中的第二无线站点的 MAC地址找到上述第一对应关系中的第 二无线站点的身份的信息, 并更新该第二无线站点的身份的信息。
在该无线站点确定与第二无线站点之间对应于第一对应关系的连接断开的情况下, 该无线站点删除上述第一对应关系。
发送单元 306, 用于向网络管理设备发送该无线站点的身份的信息和所述第一对应 关系,其中该无线站点的身份的信息和所述第一对应关系被所述网络管理设备用来构建 所述无线局域网网格网络的拓扑中该无线站点和所述第二无线站点之间对应所述网格 资料的连接关系以及维护所述连接关系的端口。
网络管理设备是维护无线局域网网格网络的拓扑的设备或者维护无线局域网网格 网络的拓扑的一组设备, 例如维护无线局域网网格网络的拓扑的管理云。 图 1中的网络 管理设备在有线网络中, 即不在该无线局域网网格网络中, 可选的, 该网络管理设备可 以位于该无线局域网网格网络中, 或者位于在图中没有示出的其他无线局域网网格网络
中。 可选的, 该网络管理设备可以与该无线局域网网格网络中的 STA共存。
网络管理设备收到该无线站点的身份的信息和第一对应关系后,根据第一对应关系 中的网格资料, 该无线站点的身份的信息和第一对应关系中的第二无线站点的身份的信 息确定, 在第一对应关系中的网格资料对应的网格网络中, 该无线站点和第二无线站点 之间有连接。 进一步的, 网络管理设备根据第一对应关系中的第二无线站点发送网格对 等帧的端口的标识以及该无线站点接收网格对等帧的端口的标识,确定该无线站点和第 二无线站点的维护该连接关系的端口, 即确定该无线站点和第二无线站点发送和接收网 格对等管理帧的 MPM FSM的标识。 管理员可以根据无线局域网网格网络的拓扑中维护各 个连接关系的端口找到对应的 MPM FSM, 以便诊断连接错误。
可选的, 该无线局域网网格网络中的所有的 STA, 或者所有的 non-AP STA , 都分别 与网络管理设备共存, 即该无线局域网网格网络中的所有的 STA,或者所有的 non-AP STA 都有维护无线局域网网格网络的拓扑的功能。 在这个情况下, 该无线站点以广播或组播 的方式发送该该无线站点的身份的信息和第一对应关系, 并接收其他无线站点以广播或 组播的方式发送的无线站点的的身份的信息以及对应关系。该无线站点根据自身保存的 第一对应关系以及接收到的无线站点的的身份的信息以及对应关系维护无线局域网网 格网络的拓扑。 同样的, 该无线局域网网格网络中的所有的 STA, 或者所有的 non-AP STA 都各自维护该无线局域网网格网络的拓扑, 因而管理者可以从任意一个 STA或任意一个 non-AP STA得到无线局域网网格网络的拓扑。
可选的,在该无线站点确定与第二无线站点之间对应于第一对应关系的连接断开的 情况下, 该无线站点向网络管理设备发送该无线站点的身份的信息和第一对应关系中的 网格资料和第二无线站点的身份的信息。 网络管理设备根据该网格资料、 该无线站点的 身份的信息和第二无线站点的身份的信息删除无线局域网网格网络的拓扑中该无线站 点和第二无线站点之间对应该网格资料的连接关系以及维护所述连接关系的端口。可选 的, 在该无线站点确定与第二无线站点之间对应于第一对应关系的连接断开的情况下, 该无线站点也可以向网络管理设备发送该无线站点的身份的信息和第一对应关系以使 网络管理设备删除无线局域网网格网络的拓扑中该无线站点和第二无线站点之间对应 该网格资料的连接关系以及维护所述连接关系的端口。 通常的, 一个网格网络中的两个 无线站点之间至多只有一个连接,所以网络管理设备不需要第一对应关系中的端口的标 识也可以删除维护这两个无线站点之间连接关系的端口。
本发明实施例中的无线站点保存和其他无线站点间的连接关系和端口, 以便网络管
理设备可以构建无线局域网网格网络的拓扑。管理员可以根据无线局域网网格网络的拓 扑中维护各个连接关系的端口找到对应的 MPM FSM, 以便诊断连接错误。 并且, 本发明 实施例中第二无线站点的身份的信息以及该第二无线站点发送网格对等帧的端口的标 识在网格对等帧中, 也就是说, 在两个无线站点之间建立连接的时候就已经开始构建无 线局域网网格网络的拓扑的过程, 拓扑的构建快。 此外, 和在连接建立完成后单独进行 拓扑收集相比, 本发明实施例不需要建立额外的会话来做拓扑收集。 参见图 1和图 4, 本发明实施例提供了一种无线站点。 图 4为本发明实施例提供的无 线站点的结构示意图。 该无线站点具体可以是无线接入点, 也可以是非 AP站点, 例如移 动电话, 各类计算机, 平板电脑, PDA, MID或电子书阅读器。
该无线站点包括无线局域网适配器 402, 处理器 404和存储器 406。 无线局域网适配 器 402是提供无线局域网接口的无线网络接口控制器 (英文: wireless network interface controller, 缩写: WNIC) 。 处理器 404可以为中央处理器 (英文: central processing unit, 缩写: CPU) , 或者是 CPU和硬件芯片的组合。 上述硬件芯片可以是 以下一种或多种的组合: 专用集成电路 (英文: application-specific integrated circuit,缩写: ASIC),现场可编程逻辑门阵列(英文: field-programmable gate array, 缩写: FPGA) , 复杂可编程逻辑器件 (英文: complex programmable logic device, 缩写: CPLD) 和网络处理器 (英文: network processor, 缩写: NP) 。 存储器 406可以 是易失性存储器(英文: volatile memory),例如随机存取存储器(英文: random-access memory, 缩写: RAM) , 或者非易失性存储器 (英文: non-volat i le memory) , 例如快 闪存储器 (英文: ash memory) , 硬盘 (英文: hard disk drive, 缩写: HDD) 或固 态硬盘 (英文: solid-state drive, 缩写: SSD) 。 无线局域网适配器 402和存储器 406 都和处理器 404相连。 图 4中粗线为总线 (英文: bus) 。
存储器 406, 存储程序代码, 以及存储第一对应关系, 并将存储的程序代码传输给 处理器 404。
处理器 404根据存储器 406存储的程序指令,执行上述图 2所示实施例中的操作步骤。 处理器 404通过无线局域网适配器 402接收网格对等帧, 该网格对等帧中包括网格资 料, 第二无线站点的身份的信息以及该第二无线站点发送网格对等帧的端口的标识, 其 中, 该第二无线站点是发送所述网格对等帧的无线站点。
本发明实施例中的该无线站点和第二无线站点可以是图 1中任意一个无线站点。 如
果非 AP站点 106不支持本发明实施例的方案, 则第一无线站点和第二无线站点可以为图 1 中的除了非 AP站点 106的所有无线站点中的两个无线站点。
网格资料用在一个单独的网格基本服务集中。 网格资料是识别网格基本服务集的属 性的参数的值的集合。
上述网格对等帧为以下帧中的至少一个: mesh peer ing open帧和 mesh peer ing conf irm巾贞。 如果 mesh peer ing openi|i贞禾口 mesh peer ing conf irm巾贞都携带第二无线站点 的身份的信息以及该第二无线站点发送网格对等帧的端口的标识, 通常在同一个 mesh BSS中的第一无线站点和第二无线站点间, 第二无线站点发送的 mesh peer ing open帧和 mesh peer ing conf irm帧携带的网格对等帧的端口的标识是相同的。 如果上述两者携带 的网格对等帧的端口的标识不同, 则第一无线站点按照预设的规则处理, 例如以 mesh peer ing conf irm帧携带的为准, 或者终止流程并报错。
无线站点的身份的信息可以为以下一个或多个的组合: 无线站点的 MAC地址, 无线 站点的设备名称和无线站点的管理 IP地址。 其中, 设备名称是网络中设备的唯一名称, 可以被手动的或者自动的分配给各个无线站点。如果无线站点的身份的信息为无线站点 的管理 IP地址或无线站点的管理 IP地址与其他信息的组合, 则管理员可以根据构建的无 线局域网网格网络的拓扑中无线站点的身份的信息里的管理 IP地址管理对应的无线站 点。
在无线局域网网格网络中, 并没有通常的物理端口, 本发明中的术语 "端口"不同 于通信技术中通常的物理端口, 也不同于一般的虚拟端口。 本发明中的端口的标识是指 能够表明发送网格对等帧的 MPM FSM的标识。 MPM FSM控制网格 STA发送和接收网格对等 帧。 该无线站点中的 MPM FSM由处理器 404生成并维护, 第二无线站点中的 MPM FSM由第 二无线站点的处理器生成并维护。 举例来说, 如果第二无线站点中所有的 MPM FSM都有 不同的标识, 则第二无线站点发送网格对等帧的端口的标识可以为发送该网格对等帧的 MPM FSM的标识, 或者为网格 ID与 MPM FSM的标识的组合; 如果第二无线站点中在同一个 网格中的所有的 MPM FSM都有不同的标识, 而不同网格中的 MPM FSM可能有相同的标识, 则第二无线站点发送网格对等帧的端口的标识可以为网格 ID与 MPM FSM的标识的组合。 上述网格 ID与 MPM FSM的标识的组合可以是网格 ID与 MPM FSM的简单叠加, 也可以根据网 格 ID与 MPM FSM的标识计算得到第二无线站点发送网格对等帧的端口的标识, 该标识可 以唯一标识一个无线站点中的 MPM FSM。
可选的, 网格对等帧中还包括第二无线站点的设备能力。
可选的, 网格对等帧中还包括第二无线站点发送网格对等帧的端口的端口描述。 处理器 404在存储器 406中保存第一对应关系, 所述第一对应关系包括所述网格资 料, 所述第二无线站点的身份的信息, 所述第二无线站点发送所述网格对等帧的端口的 标识以及该无线站点接收所述网格对等帧的端口的标识的对应关系。
处理器 404获取网格对等帧中的网格资料, 第二无线站点的身份的信息以及该第二 无线站点发送网格对等帧的端口的标识, 建立它们和该该无线站点接收该网格对等帧的 端口的标识间的对应关系, 并将该对应关系作为第一对应关系保存在存储器 406中。
在无线站点的身份的信息是无线站点的 MAC地址和其它信息 (例如无线站点的设备 名称和无线站点的管理 IP地址中的一个或多个) 的组合的情况下, 可选的, 处理器 404 通过无线局域网适配器 402接收第二无线站点周期性发送的 beacon帧, beacon帧中包括 网格资料和第二无线站点的身份的信息。 处理器 404根据 beacon帧中的网格资料和第二 无线站点的身份的信息中的 MAC地址更新存储器 406中上述第一对应关系中的第二无线 站点的身份的信息中的其它信息。 某些场景中, 无线站点的身份的信息可能变化, 例如 无线站点的设备名称被重新命名, 但无线站点的身份的信息中的无线站点的 MAC地址不 会变化, 处理器 404可以根据 beacon帧中第二无线站点的身份的信息中的第二无线站点 的 MAC地址在存储器 406中找到上述第一对应关系中的第二无线站点的身份的信息, 并更 新该第二无线站点的身份的信息。
在该无线站点确定与第二无线站点之间对应于第一对应关系的连接断开的情况下, 处理器 404删除存储器 406中的上述第一对应关系。
处理器 404向网络管理设备发送该无线站点的身份的信息和所述第一对应关系, 其 中该无线站点的身份的信息和所述第一对应关系被所述网络管理设备用来构建所述无 线局域网网格网络的拓扑中该无线站点和所述第二无线站点之间对应所述网格资料的 连接关系以及维护所述连接关系的端口。 具体的, 处理器 404可以通过无线局域网适配 器 402或者该无线站点的其它类型的适配器, 例如有线适配器, 发送该无线站点的身份 的信息和所述第一对应关系。 有线适配器为提供有线接口的 NIC, 例如以太网 NIC, 该以 太网 NIC可以提供铜线接口, 光纤接口或既提供铜线接口也提供光纤接口。
网络管理设备是维护无线局域网网格网络的拓扑的设备或者维护无线局域网网格 网络的拓扑的一组设备, 例如维护无线局域网网格网络的拓扑的管理云。 图 1中的网络 管理设备在有线网络中, 即不在该无线局域网网格网络中, 可选的, 该网络管理设备可 以位于该无线局域网网格网络中, 或者位于在图中没有示出的其他无线局域网网格网络
中。 可选的, 该网络管理设备可以与该无线局域网网格网络中的 STA共存。
网络管理设备收到该无线站点的身份的信息和第一对应关系后,根据第一对应关系 中的网格资料, 该无线站点的身份的信息和第一对应关系中的第二无线站点的身份的信 息确定, 在第一对应关系中的网格资料对应的网格网络中, 该无线站点和第二无线站点 之间有连接。 进一步的, 网络管理设备根据第一对应关系中的第二无线站点发送网格对 等帧的端口的标识以及该无线站点接收网格对等帧的端口的标识,确定该无线站点和第 二无线站点的维护该连接关系的端口, 即确定该无线站点和第二无线站点发送和接收网 格对等管理帧的 MPM FSM的标识。 管理员可以根据无线局域网网格网络的拓扑中维护各 个连接关系的端口找到对应的 MPM FSM, 以便诊断连接错误。
可选的, 该无线局域网网格网络中的所有的 STA, 或者所有的 non-AP STA , 都分别 与网络管理设备共存, 即该无线局域网网格网络中的所有的 STA,或者所有的 non-AP STA 都有维护无线局域网网格网络的拓扑的功能。 在这个情况下, 处理器 404以广播或组播 的方式发送该该无线站点的身份的信息和第一对应关系, 并接收其他无线站点以广播或 组播的方式发送的无线站点的的身份的信息以及对应关系。处理器 404根据存储器 406中 保存的第一对应关系以及接收到的无线站点的的身份的信息以及对应关系维护无线局 域网网格网络的拓扑。 同样的, 该无线局域网网格网络中的所有的 STA, 或者所有的 non-AP STA都各自维护该无线局域网网格网络的拓扑, 因而管理者可以从任意一个 STA 或任意一个 non-AP STA得到无线局域网网格网络的拓扑。
可选的,在该无线站点确定与第二无线站点之间对应于第一对应关系的连接断开的 情况下, 处理器 404向网络管理设备发送该无线站点的身份的信息和第一对应关系中的 网格资料和第二无线站点的身份的信息。 网络管理设备根据该网格资料、 该无线站点的 身份的信息和第二无线站点的身份的信息删除无线局域网网格网络的拓扑中该无线站 点和第二无线站点之间对应该网格资料的连接关系以及维护所述连接关系的端口。可选 的, 在该无线站点确定与第二无线站点之间对应于第一对应关系的连接断开的情况下, 处理器 404也可以向网络管理设备发送该无线站点的身份的信息和第一对应关系以使网 络管理设备删除无线局域网网格网络的拓扑中该无线站点和第二无线站点之间对应该 网格资料的连接关系以及维护所述连接关系的端口。 通常的, 一个网格网络中的两个无 线站点之间至多只有一个连接,所以网络管理设备不需要第一对应关系中的端口的标识 也可以删除维护这两个无线站点之间连接关系的端口。
本发明实施例中的无线站点保存和其他无线站点间的连接关系和端口, 以便网络管
理设备可以构建无线局域网网格网络的拓扑。管理员可以根据无线局域网网格网络的拓 扑中维护各个连接关系的端口找到对应的 MPM FSM, 以便诊断连接错误。 并且, 本发明 实施例中第二无线站点的身份的信息以及该第二无线站点发送网格对等帧的端口的标 识在网格对等帧中, 也就是说, 在两个无线站点之间建立连接的时候就已经开始构建无 线局域网网格网络的拓扑的过程, 拓扑的构建快。 此外, 和在连接建立完成后单独进行 拓扑收集相比, 本发明实施例不需要建立额外的会话来做拓扑收集。 本领域普通技术人员可以理解, 实现上述各方法实施例中的全部或部分步骤是可以 通过程序来指令相关的硬件完成, 相应的程序可以存储于计算机可读存储介质中, 上述 存储介质可以是随机存取存储器, 只读存储器, 快闪存储器, 硬盘, 固态硬盘或光盘等。
以上所述, 仅为本发明较佳的具体实施方式, 但本发明的保护范围并不局限于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易想到的变化或替 换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护范围应该以权利要求的保 护范围为准。
Claims
1、 一种无线局域网网格网络的拓扑构建方法, 其特征在于, 包括:
第一无线站点接收网格对等帧, 所述网格对等帧中包括网格资料, 第二无线站点的 身份的信息以及所述第二无线站点发送所述网格对等帧的端口的标识, 其中, 所述第二 无线站点是发送所述网格对等帧的无线站点;
所述第一无线站点保存第一对应关系, 所述第一对应关系包括所述网格资料, 所述 第二无线站点的身份的信息,所述第二无线站点发送所述网格对等帧的端口的标识以及 所述第一无线站点接收所述网格对等帧的端口的标识的对应关系;
所述第一无线站点向网络管理设备发送所述第一无线站点的身份的信息和所述第 一对应关系,其中所述第一无线站点的身份的信息和所述第一对应关系被所述网络管理 设备用来构建所述无线局域网网格网络的拓扑中所述第一无线站点和所述第二无线站 点之间对应所述网格资料的连接关系以及维护所述连接关系的端口。
2、 根据权利要求 1所述的方法, 其特征在于, 还包括:
在所述第一无线站点确定与所述第二无线站点之间对应于所述第一对应关系的连 接断开的情况下,所述第一无线站点向所述网络管理设备发送所述第一无线站点的身份 的信息和所述第一对应关系中的所述网格资料和所述第二无线站点的身份的信息,其中 所述第一无线站点的身份的信息和所述第一对应关系被所述网络管理设备用来删除所 述无线局域网网格网络的拓扑中所述第一无线站点和所述第二无线站点之间对应所述 网格资料的连接关系以及维护所述连接关系的端口。
3、 根据权利要求 1或 2所述的方法, 其特征在于, 还包括:
在所述第二无线站点的身份的信息是所述第二无线站点的介质访问控制地址和其 它信息的组合的情况下, 所述第一无线站点接收所述第二无线站点发送的信标帧, 所述 信标帧中包括所述网格资料和所述第二无线站点的身份的信息;
所述第一无线站点根据所述信标帧中的所述网格资料和所述第二无线站点的身份 的信息中的介质访问控制地址更新所述第一对应关系中的所述第二无线站点的身份的 信息中的其它信息。
4、 一种无线站点, 包括接收单元, 保存单元和发送单元; 其中,
所述接收单元, 用于接收网格对等帧, 所述网格对等帧中包括网格资料, 第二无线 站点的身份的信息以及所述第二无线站点发送所述网格对等帧的端口的标识, 其中, 所 述第二无线站点是发送所述网格对等帧的无线站点;
所述保存单元, 用于保存第一对应关系, 所述第一对应关系包括所述网格资料, 所 述第二无线站点的身份的信息,所述第二无线站点发送所述网格对等帧的端口的标识以 及所述无线站点接收所述网格对等帧的端口的标识的对应关系;
所述发送单元,用于向网络管理设备发送所述无线站点的身份的信息和所述第一对 应关系,其中所述无线站点的身份的信息和所述第一对应关系被所述网络管理设备用来 构建所述无线局域网网格网络的拓扑中所述无线站点和所述第二无线站点之间对应所 述网格资料的连接关系以及维护所述连接关系的端口。
5、 根据权利要求 4所述的无线站点, 其特征在于, 在所述无线站点确定与所述第二 无线站点之间对应于所述第一对应关系的连接断开的情况下, 所述无线站点还用于向所 述网络管理设备发送所述无线站点的身份的信息和所述第一对应关系中的所述网格资 料和所述第二无线站点的身份的信息,其中所述无线站点的身份的信息和所述第一对应 关系被所述网络管理设备用来删除所述无线局域网网格网络的拓扑中所述无线站点和 所述第二无线站点之间对应所述网格资料的连接关系以及维护所述连接关系的端口。
6、 根据权利要求 4或 5所述的无线站点, 其特征在于, 在所述第二无线站点的身份 的信息是所述第二无线站点的介质访问控制地址和其它信息的组合的情况下,所述无线 站点还用于接收所述第二无线站点发送的信标帧,所述信标帧中包括所述网格资料和所 述第二无线站点的身份的信息;
所述无线站点还用于根据所述信标帧中的所述网格资料和所述第二无线站点的身 份的信息中的介质访问控制地址更新所述第一对应关系中的所述第二无线站点的身份 的信息中的其它信息。
7、 一种无线站点, 其特征在于, 包括无线局域网适配器, 处理器和存储器; 其中, 所述处理器根据所述存储器存储的程序指令, 执行:
所述处理器通过所述无线局域网适配器接收网格对等帧,所述网格对等帧中包括网 格资料,第二无线站点的身份的信息以及所述第二无线站点发送所述网格对等帧的端口 的标识, 其中, 所述第二无线站点是发送所述网格对等帧的无线站点;
所述处理器在所述存储器中保存第一对应关系,所述第一对应关系包括所述网格资 料, 所述第二无线站点的身份的信息, 所述第二无线站点发送所述网格对等帧的端口的 标识以及所述无线站点接收所述网格对等帧的端口的标识的对应关系;
所述处理器向网络管理设备发送所述无线站点的身份的信息和所述第一对应关系, 其中所述无线站点的身份的信息和所述第一对应关系被所述网络管理设备用来构建所 述无线局域网网格网络的拓扑中所述无线站点和所述第二无线站点之间对应所述网格 资料的连接关系以及维护所述连接关系的端口。
8、 根据权利要求 7所述的无线站点, 其特征在于, 所述处理器根据所述存储器存储 的程序指令, 还执行:
在所述无线站点确定与所述第二无线站点之间对应于所述第一对应关系的连接断 开的情况下,所述处理器向所述网络管理设备发送所述无线站点的身份的信息和所述第 一对应关系中的所述网格资料和所述第二无线站点的身份的信息,其中所述无线站点的 身份的信息和所述第一对应关系被所述网络管理设备用来删除所述无线局域网网格网 络的拓扑中所述无线站点和所述第二无线站点之间对应所述网格资料的连接关系以及 维护所述连接关系的端口。
9、 根据权利要求 7或 8所述的无线站点, 其特征在于, 所述处理器根据所述存储器 存储的程序指令, 还执行:
在所述第二无线站点的身份的信息是所述第二无线站点的介质访问控制地址和其 它信息的组合的情况下,所述处理器通过所述无线局域网适配器接收所述第二无线站点 发送的信标帧, 所述信标帧中包括所述网格资料和所述第二无线站点的身份的信息; 所述处理器根据所述信标帧中的所述网格资料和所述第二无线站点的身份的信息 中的介质访问控制地址更新所述存储器中所述第一对应关系中的所述第二无线站点的 身份的信息中的其它信息。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201380073194.1A CN104995987B (zh) | 2013-07-30 | 2013-07-30 | 无线局域网网格网络的拓扑构建方法和无线站点 |
PCT/CN2013/080377 WO2015013876A1 (zh) | 2013-07-30 | 2013-07-30 | 无线局域网网格网络的拓扑构建方法和无线站点 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2013/080377 WO2015013876A1 (zh) | 2013-07-30 | 2013-07-30 | 无线局域网网格网络的拓扑构建方法和无线站点 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2015013876A1 true WO2015013876A1 (zh) | 2015-02-05 |
Family
ID=52430826
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2013/080377 WO2015013876A1 (zh) | 2013-07-30 | 2013-07-30 | 无线局域网网格网络的拓扑构建方法和无线站点 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104995987B (zh) |
WO (1) | WO2015013876A1 (zh) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108616886B (zh) * | 2016-12-14 | 2021-06-08 | 上海掌门科技有限公司 | 一种生成无线接入点拓扑网络的方法及设备 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060126514A1 (en) * | 2004-12-11 | 2006-06-15 | Samsung Electronics Co., Ltd. | Method for managing neighbor nodes and setting a routing path in a mobile ad-hoc network environment and network apparatus using the same |
CN1951066A (zh) * | 2004-06-18 | 2007-04-18 | 诺基亚公司 | 自组织网格连网技术 |
CN102420730A (zh) * | 2011-11-14 | 2012-04-18 | 无锡南理工科技发展有限公司 | 高速机动节点的安全拓扑构建方法 |
-
2013
- 2013-07-30 WO PCT/CN2013/080377 patent/WO2015013876A1/zh active Application Filing
- 2013-07-30 CN CN201380073194.1A patent/CN104995987B/zh active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1951066A (zh) * | 2004-06-18 | 2007-04-18 | 诺基亚公司 | 自组织网格连网技术 |
US20060126514A1 (en) * | 2004-12-11 | 2006-06-15 | Samsung Electronics Co., Ltd. | Method for managing neighbor nodes and setting a routing path in a mobile ad-hoc network environment and network apparatus using the same |
CN102420730A (zh) * | 2011-11-14 | 2012-04-18 | 无锡南理工科技发展有限公司 | 高速机动节点的安全拓扑构建方法 |
Also Published As
Publication number | Publication date |
---|---|
CN104995987A (zh) | 2015-10-21 |
CN104995987B (zh) | 2019-03-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3843430A1 (en) | Communication method and device | |
WO2020224463A1 (zh) | 一种数据分析方法及装置 | |
JP5784758B2 (ja) | 無線デバイスにおけるwlanオフロードのためのアーキテクチャ | |
WO2019185062A1 (zh) | 一种通信方法及装置 | |
JP2016105611A (ja) | ハイブリッドネットワーク内のトポロジ発見 | |
US20160165506A1 (en) | Wireless Local Area Network WLAN User Roaming Method, Apparatus, and System | |
WO2018024121A1 (zh) | 一种网络功能nf管理方法及nf管理设备 | |
JP2016535956A (ja) | 通信ネットワークにおけるカバレッジホールの検出および最小化 | |
US9769738B2 (en) | Implementing an access controller pool | |
JP2015062295A (ja) | 交差要求を伴うグループ所有者選択 | |
WO2020001439A1 (zh) | 一种配置方法及装置 | |
WO2014201692A1 (zh) | 选择移动管理实体的方法、装置和系统 | |
US11889568B2 (en) | Systems and methods for paging over WiFi for mobile terminating calls | |
JP6396489B2 (ja) | インターネットプロトコルメディアサブシステムサービスに基づくネットワークアクセス選択 | |
WO2018053894A1 (zh) | 物联网基于传输速率的接入点切换方法及装置 | |
WO2015143763A1 (zh) | 一种负荷信息传递方法、系统、网元及计算机存储介质 | |
WO2014133441A1 (en) | Dynamic contact sharing in a mesh network | |
WO2019157871A1 (zh) | 一种无线回程网络、通信方法及装置 | |
WO2015070763A1 (zh) | X2接口的自建立方法及装置 | |
WO2014187241A1 (zh) | 控制无线网络直连群组中无线设备断开的方法及无线设备 | |
WO2015103791A1 (zh) | 一种添加邻小区的方法、装置及系统 | |
WO2013013587A1 (zh) | 邻区关系的建立方法、装置及系统 | |
US9247483B2 (en) | Method and system for data traffic offload | |
WO2015013876A1 (zh) | 无线局域网网格网络的拓扑构建方法和无线站点 | |
CN103973570B (zh) | 一种报文传输的方法、ap及系统 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 13890678 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 13890678 Country of ref document: EP Kind code of ref document: A1 |