Method, device and system for virtual roaming in wireless network

By reserveing ​​different BSSID addresses for wireless APs and setting virtual access point modes, STA switches APs according to signal strength when moving between different APs, solving the problem of duplication of packets and packet loss in wireless network roaming, improving the roaming effect and Reduced the burden on AC.

CN114286327BActive Publication Date: 2024-12-13QUANXUN HUIJU NETWORK TECH BEIJING CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111441782.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-30
Publication Date
2024-12-13
Estimated Expiration
2041-11-30

AI Technical Summary

Technical Problem

In the existing wireless network roaming technology, packet duplication is prone to occur when APs send packets at the same time. When STA switches between different APs, packet loss and repeated roaming may result, and the burden is heavier than the controller AC.

Method used

By reserve a different set of BSSID addresses for each wireless AP and setting the enable and pause mode of the virtual access point VAP, the STA switches the AP according to the signal strength when moving between different APs, and there is no need to go offline and reconnect during the switching process. Realize virtual roaming.

Benefits of technology

It solves the problem of packet duplication when AP sends packets at the same time, reduces packet loss and repeated roaming during STA switching, reduces the burden on AC, and improves the roaming effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114286327B_ABST
    Figure CN114286327B_ABST
Patent Text Reader

Abstract

The present invention belongs to the field of wireless communication technology, and discloses a method, device and system for virtual roaming in a wireless network, the method comprising: setting two or more wireless APs in a wireless local area network; controlling the virtual access point VAP corresponding to the wireless AP that successfully connects to the client STA to enter an enable mode, and controlling the VAPs corresponding to other wireless APs to be in a pause mode; when the STA moves between different wireless APs, judging whether it is necessary to switch the wireless AP according to a preset switching condition, and when switching and enabling a new wireless AP, controlling the VAPs of other wireless APs to be in a pause mode. The present invention solves the problem of message duplication that is easy to occur when APs send packets at the same time in the original roaming method, as well as the problem of packet loss and repeated roaming caused by STA going offline when the STA switches between different APs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of wireless communications, and in particular relates to a method, device and system for virtual roaming in a wireless network. Background Art

[0002] The development of wireless communications has further expanded the scope of network application, further reduced the restrictions of the application environment on the network, and further weakened the impact of the number of terminals on the equipment.

[0003] Roaming originally refers to a service that allows mobile phone users to continue using their mobile phones in other provinces or countries when they leave the province or country where they opened their accounts. In certain specific scenarios, wireless network terminals need to move within a certain range. In order to ensure the sustainability of the network, it is necessary to introduce the idea of ​​"roaming" so that wireless networks can continue to be used during the movement process.

[0004] In current wireless network technologies, roaming technology mainly focuses on active switching of terminals, namely STAs. This method has high requirements on terminals and is not suitable for most scenarios.

[0005] Another common roaming method is that the wireless access point, that is, the AP, actively kicks the STA offline, forcing the terminal to roam and switch to another wireless access point. This method has fewer constraints on the wireless terminal, but since the scanning and reconnection process after offline is unpredictable, the switching process may cause a large number of packet losses, and the roaming effect is not ideal.

[0006] The traditional zero roaming method regards all APs (wireless access points) under AC management as a "virtual large AP", but because the BSSIDs sent by each AP are the same, STAs may receive multiple messages with the same BSSID at the same time, resulting in unpredictable communication errors. In the zero roaming solution, STA roaming is mainly implemented by the controller AC, and all decisions are handled by the AC, which greatly increases the burden on the AC. Summary of the invention

[0007] The purpose of the present invention is to provide a method, device and system for virtual roaming in a wireless network to solve the problem of message duplication that is prone to occur when APs send packets simultaneously in the original roaming method, as well as the problem of packet loss and repeated roaming caused by STA going offline when STA switches between different APs.

[0008] A first aspect of the present invention provides a method for virtual roaming in a wireless network, comprising:

[0009] Each wireless AP reserves a group of wireless access addresses BSSID for STAs, where the BSSIDs in the group under the same wireless AP are different, and the BSSIDs between wireless APs correspond to each other and are the same;

[0010] Control the virtual access point VAP corresponding to the wireless AP that is successfully connected to the client STA to enter the enabled mode, and control the VAPs corresponding to other wireless APs to be in the pause mode;

[0011] When the STA moves between different wireless APs, it determines whether the wireless AP needs to be switched according to the preset switching conditions, and when switching and enabling the new wireless AP, controls the VAPs of other wireless APs to be in the pause mode.

[0012] Furthermore, in the initial state, it is set that among the multiple wireless APs, only one VAP belonging to the same BSSID is in the enabled mode, and the others are in the suspended mode.

[0013] Furthermore, the STA broadcasts a detection frame within the wireless local area network. After receiving the broadcast detection frame sent by the STA, the wireless AP allocates a reserved BSSID to the STA, and the VAP in the enabled state responds.

[0014] Furthermore, when any wireless AP is successfully associated with a STA, the wireless AP connected to the STA synchronizes the client information to other wireless APs, and the multicast key is uniformly updated by the AC server.

[0015] Furthermore, the client information includes MAC address of STA, MAC address of AP, service set identifier SSID, encryption method, key, bandwidth, mode, stream, rate set, power saving mode status, association time, and signal strength of associated AP.

[0016] Furthermore, the preset switching condition includes: detecting the signal connection strength between the STA and each wireless AP in the current environment, and when the difference in signal strength between a candidate wireless AP and the connected wireless AP is greater than a preset threshold, switching the wireless AP.

[0017] A second aspect of the present invention provides a device for virtual roaming in a wireless network, the device comprising:

[0018] The wireless AP selection module enables the VAP corresponding to a wireless AP according to the successful connection status between the wireless AP and the client STA, and suspends the VAPs of other wireless APs;

[0019] The wireless AP switching module is used to determine whether the wireless AP needs to be switched according to preset conditions when the STA moves between different wireless APs, and to control the VAP of other wireless APs to pause when confirming the switch and enabling the new wireless AP.

[0020] Furthermore, the wireless AP selection module includes: a BSSID address allocation unit, a BSSID address determination unit,

[0021] The BSSID address allocation unit is used to allocate multiple wireless access addresses BSSID to each wireless AP, wherein the BSSIDs in the group under the same wireless AP are different, and the BSSIDs between the wireless APs correspond to each other and are the same;

[0022] The BSSID address sending unit is used to determine one of the VAPs in an enabled state and send the corresponding BSSID to the STA.

[0023] A third aspect of the present invention provides a wireless network virtual roaming system, the system comprising: a client STA and a server; wherein:

[0024] The client STA is used to initiate a wireless AP connection request and bind according to the BSSID reserved for it by the server;

[0025] The server controls the virtual access point VAP corresponding to the wireless AP successfully connected to the client STA to enter an enabled mode, and controls the VAPs corresponding to other wireless APs to enter a pause mode; and

[0026] When the STA moves between different wireless APs, it determines whether the wireless AP needs to be switched according to the preset switching conditions, and when the switching conditions are met, a new wireless AP is enabled, while the VAPs of other wireless APs are controlled to be in pause mode.

[0027] Compared with the prior art, the method and system for virtual roaming in a wireless network provided by the present invention have the following technical effects:

[0028] 1. The present invention adopts AP to reserve BSSID and sets the initial state of each VAP to solve the message duplication problem when AP sends packets at the same time.

[0029] 2. The present invention adopts a distributed design to migrate the wireless network roaming process to the AP, and realizes the effect of virtual roaming of STA between different APs by switching between the two VAP modes. There is no need to go offline and reconnect during the switching process, which solves the problem of packet loss and repeated roaming caused by going offline in traditional roaming. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 It is a flowchart of a method for virtual roaming in a wireless network according to an embodiment of the present invention.

[0031] Figure 2 It is a pattern diagram corresponding to the AP in the initial state of an embodiment of the present invention.

[0032] Figure 3 It is a schematic diagram of wireless AP switching in an embodiment of the present invention.

[0033] Figure 4 It is a structural principle diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0034] The following examples are only used to more clearly illustrate the technical solutions of the present invention, and are not intended to limit the scope of protection of the present invention. For example, certain words are used in the specification and claims to refer to specific components. Those skilled in the art should understand that hardware or software manufacturers may use different nouns to refer to the same component. This specification and claims do not use the difference in name as a way to distinguish components, but use the difference in function of the components as the criterion for distinction. The subsequent description of the specification is a preferred embodiment of the present invention, but the description is for the purpose of illustrating the general principles of the present invention, and is not intended to limit the scope of the present invention. The scope of protection of the present invention shall be determined by the definition of the attached claims.

[0035] The present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0036] In the embodiments of the present invention, the technical terms involved are explained as follows:

[0037] AC: It refers to the wireless access control server, which is responsible for aggregating data from different APs and connecting them to the Internet, while completing AP equipment configuration management, wireless user authentication, management, broadband access, security and other control functions.

[0038] AP: short for Access Point, wireless access point, it is a wireless switch used in wireless networks and is also the core of wireless networks. Wireless AP is the access point for mobile computer users to enter wired networks. It is mainly used in broadband homes, inside buildings and inside parks (the wireless router used in general homes or offices is an AP). The typical coverage distance is tens of meters to hundreds of meters. The current main technology is the 802.11 series. Most wireless APs also have access point client mode (APclient), which can connect wirelessly with other APs to extend the coverage of the network. In a wireless network, AP is equivalent to the hub of a wired network, which can connect various wireless clients.

[0039] STA: Every terminal connected to a wireless network (such as laptops, PDAs, and other user devices that can be connected to the Internet) can be called a station. STA is generally a client in a WLAN. It can be a computer with a wireless network card or a smartphone with a WiFi module. STA can be mobile or fixed and is the most basic component of a wireless LAN.

[0040] SSID (Service Set Identifier): Each wireless AP should have a label for user identification. SSID is the name used for user identification, which is what we often call the WiFi name.

[0041] BSSID: Each network device has a physical address for identification, called a MAC address. Generally, there is a default value at the factory, which can be changed. It also has a fixed naming format and is an identifier for device identification. BSSID is for devices. For STA devices, the MAC address of the AP access point is the BSSID. BSSID is actually the MAC address of each wireless access point. For example, when a mobile terminal moves within a company, the SSID remains unchanged, but the BSSID changes continuously as it switches to different wireless access points.

[0042] VAP (Virtual Access Point): VAP is a virtual AP created on a physical AP. Each virtual AP is a VAP, and each VAP provides the same functions as a physical AP. Users can create different VAPs on an AP to provide wireless access services for different user groups.

[0043] Embodiment 1

[0044] Reference Figure 1 As shown, an embodiment of the present invention provides a method for virtual roaming in a wireless network, the method comprising the following steps:

[0045] Step S11, the wireless AP reserves a set of wireless access addresses BSSID for the client STA for STA virtual roaming;

[0046] Among them, multiple wireless access points are arranged and set in the wireless local area network, that is, at least two wireless APs are set in a wireless local area network environment to meet the needs of clients to switch wireless APs at different locations.

[0047] Set the VAP (virtual access point) under each wireless AP to have two modes: working mode and stopped mode. Whether a virtual access point VAP under a wireless AP is enabled is determined by the wireless AP. Each wireless AP reserves a group of wireless access addresses BSSID for the client STA, and sets different BSSIDs in the group under the same wireless AP. The BSSIDs between wireless APs correspond one to one and are the same. Each STA (roaming terminal) is assigned only one BSSID, and virtual roaming is achieved across APs when moving within the coverage of the AP. Typically, each wireless AP reserves 30 BSSIDs in a group to prepare for the roaming needs of a large number of different client STAs. For example, a wireless LAN is equipped with 10 wireless APs, named AP1, AP2, AP3, ...AP in sequence. 10 , the BSSIDs in each group under each wireless AP are different. For example, the BSSIDs under AP1 include BSSID1, BSSID2, BSSID3…BSSID 30 , and the BSSIDs between wireless APs correspond one to one and are the same. For example, the BSSIDs under AP2 include BSSID1, BSSID2, BSSID3…BSSID 30 Similarly, the BSSIDs under AP3 include BSSID1, BSSID2, BSSID3…BSSID 30 , and so on, AP 10 The BSSIDs below include BSSID1, BSSID2, BSSID3...BSSID 30 .

[0048] In the initial state, among multiple wireless APs, only one VAP belonging to the same BSSID is in enabled mode, and the others are in pause mode. That is to say, when a STA is associated with an AP, the corresponding VAP of the AP is in enabled mode, and among all the APs in the current network, only one VAP with the same BSSID is in enabled mode; when the STA is not communicating with the AP, the VAP corresponding to the BSSID of the STA is in pause mode. In the initial state, except for the preset detection enabled VAP, all other VAPs corresponding to the same BSSID are in pause mode. For example, in the initial state, the VAP belonging to BSSID1 reserved by AP1 is in enabled mode, and the rest of the VAPs from AP2 to AP3 with the same BSSID are in enabled mode. 10 All are in suspended mode. The VAP to which BSSID2 belongs is reserved by AP2 and is in enabled mode. The rest of AP1, AP3, and AP4 are in 10 All are in pause mode, and so on. 10 Reserved BSSID 10 The VAP it belongs to is in the enabled mode, and the rest of AP1 to AP9 are in the pause mode.

[0049] Based on different device performance factors, in the initial state, there may be a need for multiple STAs to access the same wireless AP at the same time, so there are multiple BSSIDs to meet the needs of more STAs. The number of BSSIDs is determined by factors such as device performance, such as Figure 2 As shown in the figure, there are n APs in the wireless network system, named AP1, AP2, AP3, ... AP n , BSSID1 in AP1, BSSID n+1 , BSSID 2n+1 …the VAP to which it belongs is in the enabled mode, and the other VAPs are in the paused mode.

[0050] Step S12: The client STA broadcasts a detection frame within the wireless local area network;

[0051] Step S13: After receiving the broadcast detection frame sent by the STA, the wireless AP allocates a reserved BSSID to the STA, and the VAP in the enabled state responds. The BSSID of this STA within the range of the wireless network is fixed and unique.

[0052] When any wireless AP successfully associates with a STA, the AP is in the enabled mode and starts communicating. At the same time, the VAPs corresponding to other APs controlled by the AC are in the pause mode. The multicast key (GTK, Group Transient Key) is updated uniformly by the AC to keep the multicast key consistent within the AP coverage area, and virtual roaming does not require a four-way handshake.

[0053] Step S14: The wireless AP connected to the STA synchronizes the client information to other APs.

[0054] The synchronized client information includes: MAC address of STA, MAC address of AP, service set identifier SSID, encryption mode, key, bandwidth, mode, stream, rate set, power saving mode status, association time, and signal strength of associated AP. Of course, those skilled in the art should be able to understand that the above synchronized client information can be all or part.

[0055] Step S15: When the STA moves between different wireless APs, it is determined whether the wireless AP needs to be switched according to a preset switching condition, and when switching and enabling a new wireless AP, other wireless APs are controlled to be in a pause mode.

[0056] The preset switching conditions include factors such as signal connection strength and power transmission strength of the wireless AP. When the STA is located in a different environment, the signal strength between it and the AP that was originally connected may become weaker. If it is detected that the strength of the wireless AP in the vicinity of the latest location is greater than the strength of the currently connected wireless AP, and the signal strength difference is greater than a certain set threshold, the AP state is switched, and the VAP to which the BSSID reserved by the AP to which the original STA is connected belongs is switched to the pause mode, and the VAP to which the BSSID reserved by the new AP belongs is switched to the enable mode, and the new AP continues to communicate with the STA.

[0057] The embodiment of the present invention adopts AP to reserve BSSID and sets the initial state of each VAP to solve the problem of message duplication when AP sends packets at the same time. At the same time, a distributed design is adopted to migrate the wireless network roaming process to AP, and the effect of virtual roaming of STA between different APs is achieved by switching between two VAP modes. There is no need to go offline and reconnect during the switching process, which solves the problem of packet loss and repeated roaming caused by going offline in traditional roaming.

[0058] Embodiment 2

[0059] A second embodiment of the present invention provides a device for virtual roaming in a wireless network. The device includes: a wireless AP selection module and a wireless AP switching module.

[0060] The wireless AP selection module enables the VAP corresponding to a wireless AP according to the successful connection status between the wireless AP and the client STA, and suspends the VAPs of other wireless APs;

[0061] The wireless AP switching module is used to determine whether the wireless AP needs to be switched according to preset conditions when the STA moves between different wireless APs, and to control other wireless APs to pause when a new wireless AP is enabled after the switch.

[0062] The wireless AP selection module includes: a BSSID address allocation unit, a BSSID address determination unit,

[0063] A BSSID address allocation unit is used to allocate multiple wireless access addresses BSSID to each wireless AP, wherein the BSSIDs in the group under the same wireless AP are different, and the BSSIDs between the wireless APs correspond to each other and are the same;

[0064] The BSSID address sending unit is used to determine one of the VAPs in an enabled state and send the corresponding BSSID to the STA.

[0065] The present invention moves the wireless roaming process forward to the AP, the AP selection module selects one of the VAPs to enable, and the AP switching module switches the mode according to the preset conditions, realizing the effect of virtual roaming of STA between different APs. There is no need to go offline and reconnect during the switching process, solving the problem of packet loss and repeated roaming caused by going offline in traditional roaming. At the same time, the wireless AP selection module reserves multiple BSSIDs through the BSSID address allocation unit, ensuring that only one VAP to which each BSSID belongs is enabled, solving the problem of message duplication when wireless APs send packets at the same time.

[0066] Embodiment 3

[0067] Embodiment 3 of the present invention provides a wireless network virtual roaming system, the system comprising: a client STA and a server; wherein:

[0068] The client STA is used to initiate a wireless AP connection request and bind according to the BSSID reserved for it by the server; the client STA can be a mobile terminal, such as a mobile phone, a portable notebook computer, an electronic watch, etc.

[0069] The server controls the virtual access point VAP corresponding to the wireless AP successfully connected to the client STA to enter an enabled mode, and controls the VAPs corresponding to other wireless APs to enter a pause mode; and

[0070] When the STA moves between different wireless APs, it determines whether the wireless AP needs to be switched according to the preset switching conditions, and controls other wireless APs to be in pause mode when switching and enabling a new wireless AP.

[0071] Embodiment 4

[0072] According to the embodiments disclosed in the present application, the present application also provides an electronic device, a readable storage medium and a computer program product.

[0073] Figure 4 A schematic block diagram of an example electronic device 700 that can be used to implement the embodiments disclosed in the present application is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementations disclosed in the present application described and / or required herein.

[0074] like Figure 4As shown, the electronic device 700 includes a computing unit 701, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 702 or a computer program loaded from a storage unit 708 into a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the electronic device 700 can also be stored. The computing unit 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0075] Multiple components in the electronic device 700 are connected to the I / O interface 705, including: an input unit 706, such as a keyboard, a mouse, etc.; an output unit 707, such as various types of displays, speakers, etc.; a storage unit 708, such as a disk, an optical disk, etc.; and a communication unit 709, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 709 allows the electronic device 700 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0076] The computing unit 701 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 701 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The computing unit 701 performs the various methods and processes described above, such as Figure 1 The method of virtual roaming in a wireless network. For example, in some embodiments, the method of virtual roaming in a wireless network may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 708. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 700 via the ROM 702 and / or the communication unit 709. When the computer program is loaded into the RAM 703 and executed by the computing unit 701, one or more steps of the method of virtual roaming in a wireless network described above may be performed. Alternatively, in other embodiments, the computing unit 701 may be configured to perform the method of virtual roaming in a wireless network in any other appropriate manner (e.g., by means of firmware).

[0077] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0078] The program code for implementing the method disclosed in the present application can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code can be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.

[0079] In the context disclosed in the present application, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0080] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0081] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0082] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services ("Virtual Private Server", or "VPS" for short). The server may also be a server of a distributed system, or a server combined with a blockchain.

[0083] According to the embodiments disclosed in the present application, the present disclosure further provides a computer program product, including a computer program, wherein when the computer program is executed by a processor, the method for wireless network virtual roaming described in the above embodiments of the present disclosure is implemented.

[0084] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0085] It is worth noting that the above is only a preferred embodiment of the present invention, and does not limit the scope of patent protection of the present invention. The present invention can also improve the materials and structures of the above-mentioned various parts, or replace them with technical equivalents. Therefore, all equivalent structural changes made by using the description and illustrations of the present invention, or directly or indirectly applied to other related technical fields are also included in the scope of the present invention.

Claims

1. A method for virtual roaming in a wireless network, characterized in that: The method includes: Each wireless AP reserves multiple wireless access addresses BSSID for STAs. The BSSIDs under the same wireless AP are set to be different, and the BSSIDs between wireless APs correspond to each other and are the same. In the initial state, it is set that among multiple wireless APs, only one VAP belonging to the same BSSID is in the enabled mode, and the others are in the suspended mode; The STA broadcasts a detection frame within the wireless local area network. After receiving the broadcast detection frame sent by the STA, the wireless AP allocates a reserved BSSID to the STA, and the VAP in the enabled state responds; Control the virtual access point VAP corresponding to the wireless AP that successfully connects to the client STA to enter the enable mode, and control the VAP corresponding to other wireless APs to be in the pause mode; When the STA moves between different wireless APs, it is determined whether the wireless AP needs to be switched according to the preset switching conditions, and when the new wireless AP is switched and enabled, the VAPs of other wireless APs are controlled to be in pause mode; wherein the preset switching conditions include: detecting the signal connection strength between the STA and each wireless AP in the current environment, and when the difference in signal strength between a candidate wireless AP and the connected wireless AP is greater than a preset threshold, the wireless AP is switched.

2. The method according to claim 1, characterized in that When any wireless AP is successfully associated with a STA, the wireless AP connected to the STA will synchronize the client information to other wireless APs, and the multicast key will be updated uniformly by the AC server.

3. The method according to claim 2, characterized in that The synchronized client information includes MAC address of STA, MAC address of AP, service set identifier SSID, encryption method, key, bandwidth, mode, stream, rate set, power saving mode status, association time, and signal strength of associated AP.

4. A device for virtual roaming in a wireless network, characterized in that: The device comprises: The wireless AP selection module enables the VAP corresponding to a wireless AP according to the successful connection status between the wireless AP and the client STA, and suspends the VAPs of other wireless APs at the same time; in the initial state, it is set that among multiple wireless APs, only one VAP belonging to the same BSSID is in the enabled mode, and the others are in the suspended mode; wherein, the STA broadcasts a detection frame within the wireless local area network, and after the wireless AP receives the broadcast detection frame sent by the STA, it allocates a reserved BSSID to the STA, and the VAP in the enabled state responds; The wireless AP switching module is used to determine whether the wireless AP needs to be switched according to the preset switching conditions when the STA moves between different wireless APs, and to control the VAP of other wireless APs to pause when the switch is confirmed and the new wireless AP is enabled; wherein the preset switching conditions include: detecting the signal connection strength between the STA and each wireless AP in the current environment, and when the difference in signal strength between a candidate wireless AP and the connected wireless AP is greater than a preset threshold, the wireless AP is switched.

5. The device according to claim 4, characterized in that The wireless AP selection module includes: a BSSID address allocation unit, a BSSID address determination unit, The BSSID address allocation unit is used to allocate multiple wireless access addresses BSSID to each wireless AP, wherein the BSSIDs in the group under the same wireless AP are different, and the BSSIDs between the wireless APs correspond to each other and are the same; The BSSID address sending unit is used to determine one of the VAPs in an enabled state and send the corresponding BSSID to the STA.

6. A wireless network virtual roaming system using the wireless network virtual roaming method according to claim 1, characterized in that: include: Client STA and server; The client STA is used to initiate a wireless AP connection request and bind according to the BSSID reserved for it by the server; The server controls the virtual access point VAP corresponding to the wireless AP successfully connected to the client STA to enter an enabled mode, and controls the VAPs corresponding to other wireless APs to enter a pause mode; as well as, When the STA moves between different wireless APs, the wireless AP is switched according to the preset switching condition, and when the new wireless AP is switched and enabled, the VAPs of other wireless APs are controlled to be in the pause mode.