Wireless roaming method, electronic device, and storage medium
The terminal obtains the connection information of the second wireless access point from the first wireless access point, determines and switches to the third wireless access point, and solves the problem of delay and poor experience during roaming switching in the existing wireless roaming method, and realizes more efficient roaming switching and improved user experience.
Patent Information
- Application Number
- PCT/CN2024/122235
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-11-01
- Filing Date
- 2024-09-29
- Publication Date
- 2025-05-08
AI Technical Summary
The existing wireless roaming methods have problems such as long roaming switching delay and poor roaming experience.
The terminal acquires the connection information of the second wireless access point within the preset range of the access point from the currently connected first wireless access point in advance, determines the third wireless access point to be roamed, and switches the connection from the first wireless access point to the third wireless access point based on the connection information of the third wireless access point.
Reduces the delay in roaming switching, improves the efficiency of roaming switching, and improves the roaming experience.
Smart Images

Figure CN2024122235_08052025_PF_FP_ABST
Abstract
Description
Wireless roaming method, electronic device and storage medium
[0001] This disclosure claims priority to Chinese patent application No. 202311451045.6, filed on November 1, 2023, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present disclosure relates to the field of communication technology, and in particular to a wireless roaming method, electronic equipment, and storage medium. Background Art
[0003] Wireless terminal devices (STAs) access the Internet by connecting to hotspots operated by wireless access points (APs). Because an AP has limited coverage, STAs need to roam wirelessly to maintain uninterrupted Internet access while moving within a wireless network area. Wireless roaming allows STAs to switch between multiple APs, associating with new APs and disconnecting from existing ones while maintaining an uninterrupted network connection.
[0004] Summary of the Invention
[0005] In a first aspect, an embodiment of the present disclosure provides a wireless roaming method. The wireless roaming method is applied to a terminal and includes:
[0006] Acquiring connection information of at least one second wireless access point from a first wireless access point; the first wireless access point is a wireless access point to which the terminal is currently connected; and the at least one second wireless access point is a wireless access point within a preset range of the first wireless access point;
[0007] determining a third wireless access point to be roamed from at least one second wireless access point;
[0008] Based on the connection information of the third wireless access point, the connection is switched from the first wireless access point to the third wireless access point.
[0009] In a second aspect, an embodiment of the present disclosure provides a wireless roaming method. The wireless roaming method is applied to a first wireless access point and includes:
[0010] Acquire connection information of at least one second wireless access point; the first wireless access point is a wireless access point to which the terminal is currently connected, and the at least one second wireless access point is a wireless access point within a preset range of the first wireless access point;
[0011] Send connection information of at least one second wireless access point to the terminal.
[0012] In a third aspect, an embodiment of the present disclosure provides a wireless roaming device. The wireless roaming device is applied to a terminal and includes:
[0013] an acquiring unit, configured to acquire connection information of at least one second wireless access point from a first wireless access point; the first wireless access point is a wireless access point to which the terminal is currently connected; and the at least one second wireless access point is a wireless access point within a preset range of the first wireless access point;
[0014] The processing unit is configured to: determine a third wireless access point to be roamed from at least one second wireless access point; and switch connection from the first wireless access point to the third wireless access point based on connection information of the third wireless access point.
[0015] In a fourth aspect, an embodiment of the present disclosure provides a wireless roaming device. The wireless roaming device is applied to a first wireless access point and includes:
[0016] an acquiring unit, configured to acquire connection information of at least one second wireless access point; the first wireless access point is a wireless access point to which the terminal is currently connected, and the at least one second wireless access point is a wireless access point within a preset range of the first wireless access point;
[0017] The sending unit is configured to send the connection information of the second wireless access point to the terminal.
[0018] In a fifth aspect, an embodiment of the present disclosure provides an electronic device. The electronic device includes: a processor and a memory; the memory stores instructions executable by the processor; and when the processor is configured to execute the instructions, the electronic device implements the method provided in either the first or second aspect above.
[0019] In a sixth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, which stores computer instructions. When the computer instructions are executed on a computer, the computer executes the method provided in either the first aspect or the second aspect.
[0020] In a seventh aspect, an embodiment of the present disclosure provides a computer program product comprising computer instructions, which, when executed on a computer, enables the computer to execute the method provided in either the first aspect or the second aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The accompanying drawings are used to provide a further understanding of the technical solution of the present disclosure and constitute a part of the specification. Together with the embodiments of the present disclosure, they are used to explain the technical solution of the present disclosure and do not constitute a limitation to the technical solution of the present disclosure.
[0022] FIG1 is a schematic diagram illustrating the composition of a communication system according to some embodiments.
[0023] FIG2 is a schematic flow chart of a wireless roaming method according to some embodiments.
[0024] FIG3 is a flowchart of another wireless roaming method according to some embodiments.
[0025] FIG4 is a schematic flow chart of yet another wireless roaming method according to some embodiments.
[0026] FIG5 is a schematic flow chart of yet another wireless roaming method according to some embodiments.
[0027] FIG6 is a schematic flow chart of yet another wireless roaming method according to some embodiments.
[0028] FIG7 is a schematic flow chart of yet another wireless roaming method according to some embodiments.
[0029] FIG8 is a schematic flow chart of yet another wireless roaming method according to some embodiments.
[0030] FIG9 is a schematic diagram illustrating components of a first wireless access point according to some embodiments.
[0031] FIG10 is a schematic diagram showing the composition of a terminal according to some embodiments.
[0032] FIG11 is a schematic diagram illustrating the composition of a third wireless access point according to some embodiments.
[0033] FIG12 is a schematic diagram illustrating the composition of a wireless roaming device according to some embodiments.
[0034] FIG13 is a schematic diagram illustrating the composition of another wireless roaming device according to some embodiments.
[0035] FIG14 is a schematic structural diagram of an electronic device according to some embodiments. DETAILED DESCRIPTION
[0036] The following will be combined with the accompanying drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. Obviously, the embodiments described are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments of the present disclosure, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present disclosure.
[0037] Unless the context requires otherwise, throughout the specification and claims, the term "comprise" and its other forms, such as the third person singular form "comprises" and the present participle form "comprising", are to be interpreted as open and inclusive, that is, "including, but not limited to". In the description of the specification, the terms "one embodiment", "some embodiments", "exemplary embodiments", "example", "specific example" or "some examples" are intended to indicate that the particular features, structures, materials or characteristics associated with the embodiment or example are included in at least one embodiment or example of the present disclosure. The schematic representation of the above terms does not necessarily refer to the same embodiment or example. In addition, the particular features, structures, materials or characteristics may be included in any one or more embodiments or examples in any appropriate manner.
[0038] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of the technical features being referred to. Thus, a feature identified with "first," "second," etc., may explicitly or implicitly include one or more of such features. Throughout this disclosure, unless otherwise specified, "plurality" means two or more.
[0039] In the embodiments of the present disclosure, expressions such as "exemplarily" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of the present disclosure should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of expressions such as "exemplarily" or "for example" is intended to present the relevant concepts in a detailed manner.
[0040] Additionally, the use of “based on” is meant to be open and inclusive, as a process, step, calculation, or other action “based on” one or more stated conditions or values may, in practice, be based on additional conditions or values beyond those stated.
[0041] Traditional wireless roaming has the disadvantages of severe packet loss, untimely roaming triggering, non-optimal target AP, and long re-association time. The 802.11kvr protocol has solved these problems to some extent, but there are still various usage restrictions and problems. For example, the roaming target AP must be an AP that the STA has connected to before, or an AP with the same connection information, otherwise the STA cannot roam to the target AP, resulting in the inability to roam, which leads to a high roaming switching delay. The Easymesh protocol combines multiple APs into a local area network, so that the STA can roam and switch between APs in the Easymesh network, but multiple APs need to be successfully networked in advance. If multiple APs are not networked in advance, they need to be temporarily networked, resulting in a high roaming switching delay. In summary, the current wireless roaming methods have the problems of long roaming switching delays and poor roaming experience.
[0042] Based on this, embodiments of the present disclosure provide a wireless roaming method, electronic device, and storage medium. A terminal pre-acquires connection information of a second wireless access point within a preset range of the first wireless access point from a currently connected first wireless access point. After determining a third wireless access point to roam to from the second wireless access point, the terminal can switch from the first wireless access point to the third wireless access point based on the connection information of the third wireless access point pre-acquired from the first wireless access point, thereby roaming to the third wireless access point. This reduces roaming handover latency, improves roaming handover efficiency, and contributes to an enhanced roaming experience.
[0043] The technical solution of the present disclosure is described below with reference to the accompanying drawings.
[0044] FIG1 is a schematic diagram of the composition of a communication system provided by an embodiment of the present disclosure. Referring to FIG1 , the communication system includes multiple APs (eg, AP11 , AP12 , and AP13 ) and a terminal 21 .
[0045] For each of the multiple APs, the AP can be a device having a wireless local area network (WLAN) chip or a WLAN system-on-a-chip (SoC) chip. For example, the AP can be a device having a distributed system access function (DSAF), such as a mobile phone that can access the core network, or a computer that can access the Internet. For another example, the AP can be a communication entity such as a communication server, router, switch, or bridge. For another example, the AP can include various forms of macro base stations, micro base stations, and relay stations. Of course, the AP can also be the chip and processing system in these various forms of devices, which is not limited in the embodiments of the present disclosure.
[0046] The terminal 21 can be a device with wireless transceiver capabilities and can access a WLAN network. It can be deployed on land, including indoors or outdoors, handheld, wearable, or vehicle-mounted; it can also be deployed on water (such as ships, etc.); it can also be deployed in the air (such as airplanes, balloons, and satellites, etc.). The terminal device can be a workstation, a mobile phone, a tablet computer, a computer with wireless transceiver capabilities, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a vehicle-mounted terminal device, a wireless terminal in self-driving, a wireless terminal in remote medical care, a wireless terminal in a smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, a wireless terminal in a smart home, a wearable terminal device, or an Internet of Things (IoT) terminal, etc. The embodiments of the present disclosure do not limit the type of terminal.
[0047] It should be understood that FIG1 is an exemplary structural diagram, and the number of devices included in the communication system shown in FIG1 is not limited, for example, the number of APs and the number of terminals are not limited. Furthermore, in addition to the devices shown in FIG1 , the communication system shown in FIG1 may also include other devices, which is not limited.
[0048] Next, as shown in FIG2 , an embodiment of the present disclosure provides a wireless roaming method. The method is applied to a terminal, which may be the terminal 21 shown in FIG1 . The method may include the following steps:
[0049] S101: Acquire connection information of at least one second wireless access point from a first wireless access point.
[0050] The first wireless access point is the wireless access point to which the terminal is currently connected, and the at least one second wireless access point is a wireless access point within a preset range of the first wireless access point. With reference to the communication system shown in FIG1 , the first wireless access point may be AP11, and the second wireless access points may be AP12 and AP13. The connection information of the second wireless access point may include the network address and password information of the second wireless access point, where the password information is used to connect to the second wireless access point.
[0051] In some embodiments, during operation of a terminal, the terminal obtains connection information of a second wireless access point within a preset range of the first wireless access point from a currently connected first wireless access point. The terminal obtaining the connection information of at least one second wireless access point from the first wireless access point includes the terminal actively obtaining the connection information of the at least one second wireless access point from the first wireless access point and the terminal passively obtaining the connection information of the at least one second wireless access point from the first wireless access point. This is not limited in the embodiments of the present disclosure.
[0052] As an example, a terminal proactively obtains connection information of at least one second wireless access point from a first wireless access point. This can be accomplished by sending a first request message to the first wireless access point, where the first request message is used to request the connection information of the at least one second wireless access point. Accordingly, the first wireless access point receives the first request message sent by the terminal and, in response to the first request message, sends the connection information of the second wireless access point to the terminal. Accordingly, the terminal receives the connection information of the at least one second wireless access point sent by the first wireless access point.
[0053] As another example, the terminal passively obtains the connection information of the at least one second wireless access point from the first wireless access point. This may be when the first wireless access point sends the connection information of the at least one second wireless access point to the terminal during operation. Accordingly, the terminal receives the connection information of the at least one second wireless access point sent by the first wireless access point.
[0054] S102: Determine a third wireless access point to be roamed from at least one second wireless access point.
[0055] In some embodiments, after the terminal obtains the connection information of at least one second wireless access point, it may determine a third wireless access point to be roamed from the at least one second wireless access point.
[0056] As an example, determining the third wireless access point to roam to from the at least one second wireless access point may be when the terminal detects that the communication quality between the terminal and the first wireless access point is less than a communication quality threshold, thereby determining the third wireless access point to roam to from the at least one second wireless access point. The communication quality threshold may be pre-set by a network administrator or determined in advance through negotiation between the first wireless access point and the terminal, and is not limited in the present embodiment.
[0057] It should be understood that, when the terminal detects that the communication quality between the terminal and the first wireless access point is less than the communication quality threshold, it means that the communication quality between the terminal and the currently connected first wireless access point has deteriorated, and the communication quality between the terminal and the first wireless access point is less than the communication quality threshold, that is, the currently connected first wireless access point is not the optimal connection option for the terminal. Therefore, the terminal can determine a third wireless access point to be roamed from the at least one second wireless access point.
[0058] As another example, determining the third wireless access point to roam to from at least one second wireless access point may also involve the first wireless access point, upon detecting that the communication quality between the terminal and the first wireless access point is less than a communication quality threshold, determining the third wireless access point to roam to from at least one second wireless access point and then sending roaming recommendation information to the terminal, the roaming recommendation information including an identifier of the third wireless access point. Accordingly, the terminal receives the roaming recommendation information sent by the first wireless access point and, based on the identifier of the third wireless access point included in the roaming recommendation information, determines the third wireless access point to roam to from the at least one second wireless access point. The identifier of the third wireless access point uniquely identifies a third wireless access point and may be, for example, the name of the third wireless access point.
[0059] In some embodiments, the third wireless access point satisfies at least one of the following:
[0060] The degree of matching between the capability information of the third wireless access point and the capability information of the terminal is greater than the degree of matching between the capability information of the first wireless access point and the capability information of the terminal;
[0061] The signal strength of the third wireless access point is greater than the signal strength of the first wireless access point.
[0062] The capability information of the third wireless access point is used to represent the frequency band supported by the third wireless access point.
[0063] For example, assuming that the frequency bands include the 2.4 Gigahertz (GHz) band and the 5G band, and that the terminal's capability information indicates that the terminal supports the 2.4 GHz band and the 5G band, and the capability information of a first wireless access point indicates that the first wireless access point supports the 2.4 GHz band, and the capability information of a second wireless access point indicates that the second wireless access point supports the 2.4 GHz band and the 5G band, it can be seen that the degree of match between the capability information of the second wireless access point and the terminal's capability information is greater than the degree of match between the capability information of the first wireless access point and the terminal's capability information. A higher degree of match indicates greater performance of the terminal, and therefore the second wireless access point can be used as a third wireless access point. A higher signal strength of the second wireless access point indicates a better network signal at the second wireless access point, which can improve the terminal's network experience. Therefore, if the signal strength of the second wireless access point is greater than the signal strength of the first wireless access point, the second wireless access point can be used as a third wireless access point.
[0064] S103: Switch the connection from the first wireless access point to the third wireless access point based on the connection information of the third wireless access point.
[0065] It should be understood that since the third wireless access point is determined from the at least one second wireless access point, and the terminal has previously acquired connection information of the at least one second wireless access point from the first wireless access point, after determining the third wireless access point to be roamed, the terminal can switch connection from the first wireless access point to the third wireless access point based on the acquired connection information of the third wireless access point.
[0066] In some embodiments, as shown in FIG3 , S103 may include the following steps:
[0067] S1031: Send a connection request to the third wireless access point based on the connection information of the third wireless access point.
[0068] In some embodiments, the connection information of the third wireless access point includes a network address. The terminal may send a connection request to the third wireless access point based on the network address of the third wireless access point included in the connection information of the third wireless access point. The connection request is used to request connection to the third wireless access point. In response, the third wireless access point receives the connection request sent by the terminal.
[0069] S1032: Receive first response information for the connection request sent by the third wireless access point.
[0070] In some embodiments, the connection request includes an identifier of the terminal to indicate to the third wireless access point which terminal is requesting the connection.
[0071] It should be noted that when the first wireless access point obtains connection information of at least one second wireless access point, it may send a terminal identifier to the at least one second wireless access point, or include the terminal identifier in a request message (i.e., the third request message described below) sent to the at least one second wireless access point for requesting connection information of the at least one second wireless access point, thereby indicating to the at least one second wireless access point which terminal is requesting connection information of the at least one second wireless access point. Upon receiving the terminal identifier sent by the first wireless access point or the request message sent by the first wireless access point for requesting connection information of the at least one second wireless access point, the at least one second wireless access point stores the terminal identifier so that, upon subsequently receiving a connection request from the terminal, the at least one second wireless access point can determine whether to connect to the terminal based on the stored terminal identifier and the terminal identifier included in the connection request.
[0072] In some embodiments, after receiving the connection request sent by the terminal, the third wireless access point determines, in response to the connection request, whether to allow the terminal to connect based on the terminal identifier included in the connection request, and then sends first response information to the terminal in response to the connection request. The first response information is used to indicate whether the terminal is allowed to connect.
[0073] As an example, the third wireless access point determines whether to allow the terminal to connect based on the terminal identifier included in the connection request. This may be by determining whether the third wireless access point itself has stored the terminal identifier based on the terminal identifier. If the third wireless access point has stored the terminal identifier, this indicates that the terminal is the terminal that previously requested connection information from the third wireless access point, i.e., the terminal is legitimate. Therefore, the terminal is allowed to connect, and the first response information indicates that the terminal connection is allowed. If the third wireless access point does not have stored the terminal identifier, this indicates that the terminal is not legitimate. To ensure security, the terminal is not allowed to connect, and the first response information indicates that the terminal is not allowed to connect.
[0074] S1033: When the first response information indicates that the terminal is allowed to connect, switch the connection from the first wireless access point to a third wireless access point.
[0075] In some embodiments, the connection information of the third wireless access point further includes password information, where the password information is used to connect to the third wireless access point. If the first response information indicates that the terminal connection is permitted, the terminal may switch from the first wireless access point to the third wireless access point based on the password information included in the connection information of the third wireless access point.
[0076] Based on the embodiment shown in FIG2 , the terminal obtains connection information of at least one second wireless access point within a preset range of the first wireless access point from the currently connected first wireless access point. After determining a third wireless access point to roam to from the at least one second wireless access point, the terminal can switch connection from the first wireless access point to the third wireless access point based on the connection information of the third wireless access point obtained in advance from the first wireless access point. This is done by roaming to the third wireless access point. This reduces roaming handover latency, improves roaming handover efficiency, and contributes to an enhanced roaming experience.
[0077] In some embodiments, when the first response information indicates that the terminal connection is allowed, that is, when the third wireless access point allows the terminal connection, in order to further reduce the roaming handover delay and improve the roaming experience, as shown in FIG4 , the above S1033 may include the following steps:
[0078] S201: When the terminal stores a verification code corresponding to a third wireless access point, send second request information to the third wireless access point.
[0079] It should be noted that the terminal pre-stores verification codes corresponding to certain wireless access points. It should be understood that if a terminal pre-stores a verification code corresponding to a wireless access point, it indicates that the wireless access point supports fast roaming, and the terminal can perform fast roaming with the wireless access point during roaming handover, thereby reducing roaming handover latency. The verification codes pre-stored by the terminal for certain wireless access points may be pre-configured by a gateway administrator or specified by the communication protocol.
[0080] In some embodiments, when the first response information indicates that the terminal is allowed to connect, the terminal determines whether it has stored a verification code corresponding to the third wireless access point in order to determine whether it can perform fast roaming with the third wireless access point to reduce roaming handover delay. If the terminal has stored the verification code corresponding to the third wireless access point, it indicates that the third wireless access point supports the fast roaming function, or that the terminal can perform fast roaming with the third wireless access point. Therefore, the terminal sends a second request information to the third wireless access point. The second request information is used to request fast roaming, and the second request information includes the verification code corresponding to the third wireless access point.
[0081] In some embodiments, if the terminal does not store a verification code corresponding to the third wireless access point, indicating that the third wireless access point does not support fast roaming, or the terminal cannot fast roam with the third wireless access point, the terminal switches from the first wireless access point to the third wireless access point according to a conventional roaming handover method. For a description of the conventional roaming handover method, reference may be made to the description of the conventional roaming handover method in some technologies and is not further described here.
[0082] S202: Receive second response information to the second request information sent by the third wireless access point.
[0083] The second response information is used to indicate whether fast roaming is allowed.
[0084] In some embodiments, after receiving the second request information, the third wireless access point determines whether the verification code included in the second request information is a valid verification code, and then sends a second response information to the terminal. Accordingly, the terminal receives the second response information sent by the third node to the second request information.
[0085] As an example, when the check code included in the second request information is a valid check code, the third wireless access point determines that fast roaming is allowed, that is, the second response information is used to indicate that fast roaming is allowed.
[0086] As another example, when the verification code included in the second request information is not a valid verification code, the third wireless access point determines that fast roaming is not allowed, that is, the second response information is used to indicate that fast roaming is not allowed.
[0087] S203: When the second response information indicates that fast roaming is allowed, fast roam from the first wireless access point to the third wireless access point.
[0088] For a description of how to quickly roam from the first wireless access point to the third wireless access point, reference may be made to descriptions of fast roaming in some technologies, which will not be described in detail here.
[0089] In some embodiments, when the second response information is used to indicate that fast roaming is not allowed, the terminal switches from the first wireless access point to the third wireless access point according to a conventional roaming switching method.
[0090] Based on the embodiment shown in FIG4 , when the third wireless access point indicates that the terminal is allowed to connect and the terminal stores a verification code corresponding to the third wireless access point, the terminal sends second request information for requesting fast roaming to the third wireless access point. Then, when the third wireless access point allows fast roaming, the terminal quickly roams from the first wireless access point to the third wireless access point, thereby further reducing the roaming handover delay and improving the efficiency of the roaming handover, thereby improving the roaming experience.
[0091] In some embodiments, the at least one second wireless access point is a wireless access point that meets a preset condition and is within a preset range of the first wireless access point. As shown in FIG5 , before S101 , the method may further include the following steps:
[0092] S301: Receive device information of at least one fourth wireless access point sent by a first wireless access point.
[0093] The fourth wireless access point is a wireless access point within a preset range of the first wireless access point. The second wireless access point may have other names, such as a target access point.
[0094] In some embodiments, during operation of a first wireless access point, the first wireless access point periodically receives device information of the fourth wireless access point from a fourth wireless access point within a preset range via a broadcast channel, and then transmits the device information of the fourth wireless access point to a terminal, so that the terminal can determine at least one second wireless access point that meets a preset condition from at least one fourth wireless access point based on the device information of the fourth wireless access point. Accordingly, the terminal receives the device information of the at least one fourth wireless access point transmitted by the first wireless access point.
[0095] In some embodiments, the device information of the fourth wireless access point includes at least one of the following: a network address, a service set identifier (SSID), capability information, encryption mode, authentication mode, load information, transmit power, information update time, and signal strength. The load information is used to indicate the number of terminals connected to the fourth wireless access point and its idle state. The information update time is used to indicate the active time of the fourth wireless access point and may also be used to indicate the last broadcast time when the fourth wireless access point sent device information to the first wireless access point. The network address may be a media access control (MAC) address of the fourth wireless access point. The network address may be represented by a basic service set identifier (BSSID). The BSSID is used to indicate the hotspot name of the fourth wireless access point. The capability information is used to indicate the frequency bands, wireless fidelity (WIFI) protocols, and bandwidth supported by the fourth wireless access point.
[0096] S302: Determine at least one second wireless access point that meets a preset condition from the at least one fourth wireless access point based on device information of the at least one fourth wireless access point.
[0097] The preset conditions include at least one of the following: the capability information matches the terminal's capability information; the number of connected terminals as indicated by the load information is less than or equal to a quantity threshold; the transmit power is greater than or equal to a transmit power threshold; the information update time is less than or equal to a time threshold; and the signal strength is greater than or equal to a signal strength threshold. The quantity threshold, transmit power threshold, time threshold, and signal strength threshold can all be preset by network administrators.
[0098] It should be understood that a larger load information value indicates a greater number of connected terminals and more severe resource contention. Therefore, the number of connected terminals represented by the load information must be less than or equal to a threshold. A greater transmit power value indicates a wider coverage range, so the transmit power must be greater than or equal to a threshold. The information update time indicates the active duration of the fourth wireless access point. If the information update time is less than or equal to the time threshold, it indicates that the fourth wireless access point is still within the preset range. If the update time is greater than the time threshold, it indicates that the fourth wireless access point may no longer be within the preset range. Therefore, the information update time must be less than or equal to the time threshold. A greater signal strength value indicates better signal quality, so the signal strength must be greater than or equal to the signal strength threshold.
[0099] In some embodiments, after determining at least one second wireless access point that meets a preset condition from the at least one fourth wireless access point based on the device information of the at least one fourth wireless access point, the terminal may subsequently obtain connection information of the at least one second wireless access point from the first wireless access point. Then, after determining a third wireless access point to roam to from the at least one second wireless access point, the terminal may quickly switch from the first wireless access point to the third wireless access point based on the pre-acquired connection information of the third wireless access point, thereby reducing roaming handover delay and improving the roaming experience.
[0100] In some embodiments, as shown in FIG6 , an embodiment of the present disclosure further provides a wireless roaming method, which is applied to a first wireless access point and may include the following steps:
[0101] S401: Acquire connection information of at least one second wireless access point.
[0102] The first wireless access point is a wireless access point to which the terminal is currently connected, and the second wireless access point is a wireless access point within a preset range of the first wireless access point.
[0103] In some embodiments, the first wireless access point obtains the connection information of at least one second wireless access point by sending a third request message to the at least one second wireless access point, where the third request message is used to request the connection information of the at least one second wireless access point. Accordingly, the at least one second wireless access point receives the third request message sent by the first wireless access point, and then, in response to the third request message, the at least one second wireless access point sends the connection information of the at least one second wireless access point to the first wireless access point. Accordingly, the first wireless access point receives the connection information of the second wireless access point sent by the at least one second wireless access point.
[0104] In some embodiments, the first wireless access point may obtain the connection information of the at least one second wireless access point in two ways: the first wireless access point actively obtains the connection information of the at least one second wireless access point, and the first wireless access point passively obtains the connection information of the at least one second wireless access point.
[0105] Mode 1, in which the first wireless access point actively obtains connection information of at least one second wireless access point, may include the following steps:
[0106] X1. Obtain device information of at least one fourth wireless access point.
[0107] The at least one fourth wireless access point is a wireless access point within a preset range of the first wireless access point, and the at least one second wireless access point is a wireless access point within the preset range of the first wireless access point that meets a preset condition.
[0108] X2. Determine, based on the device information of the at least one fourth wireless access point, at least one second wireless access point that meets a preset condition from the at least one fourth wireless access point.
[0109] For the description of X1 and X3, please refer to the corresponding description of S301 and S302 above, which will not be repeated here.
[0110] X3. Obtain connection information of at least one second wireless access point.
[0111] In some embodiments, after acquiring the connection information of the at least one second wireless access point, the first wireless access point stores the connection information of the at least one second wireless access point, so as to subsequently send the connection information of the at least one second wireless access point to the terminal after receiving the first request information sent by the terminal.
[0112] In mode 2, the first wireless access point passively obtains the connection information of at least one second wireless access point. This may be when the first wireless access point receives a first request message sent by a terminal. The first request message is used to request the connection information of the at least one second wireless access point. In other words, after receiving the first request message sent by the terminal, the first wireless access point obtains the connection information of the at least one second wireless access point.
[0113] S402: Send connection information of at least one second wireless access point to the terminal.
[0114] In some embodiments, based on the above-described method 1, the first wireless access point sends the connection information of the at least one second wireless access point to the terminal, and the first wireless access point sends the connection information of the at least one second wireless access point to the terminal upon receiving the first request information sent by the terminal. Based on the above-described method 2, the first wireless access point sends the connection information of the at least one second wireless access point to the terminal, and the first wireless access point sends the connection information of the at least one second wireless access point to the terminal after obtaining the connection information of the at least one second wireless access point.
[0115] For example, in the case of the above-mentioned method 1, S401 and S402 may include the following steps:
[0116] A1. Obtain device information of at least one fourth wireless access point.
[0117] A2. Based on the device information of the at least one fourth wireless access point, determine at least one second wireless access point that meets a preset condition from the at least one fourth wireless access point.
[0118] A3. Obtain connection information of at least one second wireless access point.
[0119] After acquiring the connection information of the at least one second wireless access point, the first wireless access point stores the connection information of the at least one second wireless access point.
[0120] A4. Receive the first request information sent by the terminal.
[0121] A5. In response to the first request information, send connection information of at least one second wireless access point to the terminal.
[0122] For example, in the case of the above-mentioned method 2, S401 and S402 may include the following steps:
[0123] B1. Receive first request information sent by the terminal.
[0124] B2. Obtain connection information of at least one second wireless access point.
[0125] B3. Send connection information of at least one second wireless access point to the terminal.
[0126] It should be understood that the aforementioned method 1 involves interaction between a first wireless access point and at least one second wireless access point. The first wireless access point pre-acquires the connection information of the at least one second wireless access point and, upon receiving the first request information sent by the terminal, directly sends the connection information of the at least one second wireless access point to the terminal. The aforementioned method 2 involves interaction between the terminal and at least one second wireless access point, with the first wireless access point acting as an intermediary. The embodiments of this disclosure do not limit the implementation of S401 and S402.
[0127] In some embodiments, as shown in FIG7 , before S401 , the method may further include the following steps:
[0128] S501: Acquire device information of at least one fourth wireless access point.
[0129] For the description of S501 , reference may be made to the corresponding description of S301 above, which will not be repeated here.
[0130] S502: Send device information of at least one fourth wireless access point to the terminal.
[0131] Based on the embodiment shown in FIG. 7 , after acquiring device information of at least one fourth wireless access point, the first wireless access point sends the device information of the at least one fourth wireless access point to the terminal, so that the terminal can subsequently determine at least one second wireless access point that meets a preset condition based on the device information of the at least one fourth wireless access point.
[0132] In some embodiments, as shown in FIG8 , after S301 , the method may further include the following steps:
[0133] S601: Determine a third wireless access point to be roamed from at least one second wireless access point.
[0134] In some embodiments, to ensure communication quality of the terminal, after sending connection information of at least one second wireless access point to the terminal, the first wireless access point may determine a third wireless access point to roam to from the at least one second wireless access point.
[0135] As an example, determining the third wireless access point to be roamed from the at least one second wireless access point may be that the first wireless access point determines the third wireless access point to be roamed from the at least one second wireless access point when the first wireless access point detects that the communication quality between the terminal and the first wireless access point is less than a communication quality threshold. In other words, the first wireless access point determines the third wireless access point to be roamed from the at least one second wireless access point when the first wireless access point detects that the terminal meets roaming conditions.
[0136] For the description of S601 , reference may be made to the above description of S102 , which will not be repeated here.
[0137] It should be understood that in S102 above, the terminal determines the third wireless access point to roam to. In contrast, in S601, the first wireless access point determines the third wireless access point to roam to. When the first wireless access point determines the third wireless access point to roam to, the terminal's computational workload can be reduced, improving computing resource utilization. The present disclosure does not limit the entity that determines the third wireless access point to roam to.
[0138] S602: Send roaming suggestion information to the terminal.
[0139] The roaming suggestion information includes the identifier of the third wireless access point. In this way, the terminal can quickly determine the third wireless access point to be roamed from the at least one second wireless access point based on the identifier of the third wireless access point, thereby reducing the computation workload of the terminal.
[0140] The following describes the structures of the terminal, the first wireless access point, and the third wireless access point by way of example.
[0141] As shown in Figure 9, which is a schematic diagram of the composition of a first wireless access point provided by an embodiment of the present disclosure, the first wireless access point 70 may include an information collection module 701, an information processing module 702, a broadcast module 703, an information transmission module 704, a roaming module 705, and a storage module 706.
[0142] The information collection module 701 is configured to receive and periodically update device information broadcast by the fourth wireless access point. The device information of the fourth wireless access point includes at least one of the following: BSSID, SSID, capability information, load information, transmit power, and information update time. The BSSID represents the MAC address of the fourth wireless access point, the SSID represents the hotspot name of the fourth wireless access point, capability information includes the Wi-Fi protocols and bandwidth supported by the fourth wireless access point, load information represents the current status of the fourth wireless access point, including the number of connected STAs and idle status, transmit power represents the transmit power of the fourth wireless access point, and the information update time represents the time of the last received device information broadcast by the fourth wireless access point.
[0143] The information processing module 702 is configured to process the device information collected by the information collection module 701. The BSSID is an identifier of the fourth wireless access point. The SSID is information required to connect to the fourth wireless access point. The capability information of the fourth wireless access point indicates the various capabilities supported by the fourth wireless access point, including whether it supports acceleration and bandwidth. The greater the supported capability, the better. The load information indicates the current status of the fourth wireless access point. If many terminals have already connected, resource preemption is severe, making it unsuitable for new terminals to access. A greater transmit power indicates a wider coverage range. The update time indicates the time of the last received device information broadcast by the fourth wireless access point. If it is within a certain time range, it indicates that the fourth wireless access point is still available. If the time is very long, it indicates that the fourth wireless access point may no longer be in range.
[0144] Broadcast module 703 is configured to periodically update the information processed by information processing module 702 and broadcast it over a broadcast channel. All processed information can be broadcast, or only important information can be broadcast, to facilitate proactive terminal access or facilitate access guidance from the first wireless access point. The terminal can select a suitable third wireless access point for active roaming based on its own circumstances. Alternatively, the first wireless access point can detect that the terminal's current connection is suboptimal and instruct the terminal to switch wireless access points, sending connection information for a suitable wireless access point to the terminal (i.e., sending roaming recommendation information to the terminal).
[0145] The information transmission module 704 acts as an intermediate module to transmit device information between the terminal and the fourth wireless access point. When the terminal initiates a request for connection information to at least one second wireless access point, the module is configured to implement information transmission between the terminal and the at least one second wireless access point, forwarding the terminal's first request information to the at least one second wireless access point, and forwarding the connection information of the at least one second wireless access point to the terminal. The terminal sends a first request message that carries the MAC address of the at least one second wireless access point. Upon receiving the first request message, the information transmission module 704 directly sends the first request message to the at least one second wireless access point based on the MAC address. The connection information replied by the at least one second wireless access point also carries the terminal's MAC address. Upon receiving the connection information, the information transmission module 704 forwards the reply from the at least one second wireless access point to the terminal.
[0146] Roaming module 705 is responsible for handling roaming for the terminal. When it is determined that the first wireless access point is not the optimal connection option for the terminal, that is, when it is detected that the communication quality between the terminal and the first wireless access point is less than a communication quality threshold, roaming suggestion information is proactively sent to the terminal. Alternatively, when the terminal proactively initiates a roaming request, the roaming module processes the terminal's roaming request.
[0147] The storage module 706 is configured to store the device information of the fourth wireless access point collected by the information collection module 701. The device information of the fourth wireless access point is broadcast or actively acquired by the terminal.
[0148] As shown in FIG10 , which is a schematic diagram of the components of a terminal provided by an embodiment of the present disclosure, the terminal 80 may include an information acquisition module 801 , an information processing module 802 , a roaming module 803 , and a storage module 804 .
[0149] The information acquisition module 801 is configured to receive device information of at least one fourth wireless access point sent by the first wireless access point. Alternatively, the module 801 proactively sends a request message to the first wireless access point requesting device information of at least one fourth wireless access point, and after determining at least one second wireless access point, obtain connection information of the at least one second wireless access point through the first wireless access point for subsequent roaming use.
[0150] The information processing module 802 is configured to process the acquired device information of the at least one fourth wireless access point, and determine at least one second wireless access point that meets a preset condition by combining the terminal's own situation and the device information of the at least one fourth wireless access point.
[0151] The information processing module 802 is further configured to process other information acquired by the information acquiring module 801, such as the signal strength of at least one second wireless access point, and then determine a third wireless access point to be roamed from the at least one second wireless access point.
[0152] The information processing module 802 is further configured to process the acquired connection information of at least one second wireless access point, such as password information included in the connection information, and perform encryption authentication on the SSID to connect to a third wireless access point.
[0153] Roaming module 803 is used to process terminal roaming. Roaming is divided into active roaming and passive roaming. Active roaming refers to when the terminal receives roaming suggestion information from the first wireless access point, it determines whether to roam, that is, whether to roam to the third wireless access point recommended by the first wireless access point, and can accept or reject it. Active roaming refers to when the terminal finds that the current connection is poor and there is another more optimal wireless access point (i.e., the third wireless access point), it triggers roaming, disconnects from the first wireless access point, and connects to the third wireless access point. In addition, if the third wireless access point meets the fast roaming conditions (i.e., it stores the verification code corresponding to the third wireless access point), it directly initiates fast roaming and completes a fast handover with the first wireless access point and the third wireless access point.
[0154] The saving module 804 is configured to save the various acquired information and processing results, for example, saving device information of at least one fourth wireless access point and connection information of at least one second wireless access point.
[0155] As shown in Figure 11 , which is a schematic diagram of a third wireless access point according to an embodiment of the present disclosure, the third wireless access point 90 may include a broadcast module 901 , an information processing module 902 , a roaming module 903 , and a storage module 904 .
[0156] The broadcast module 901 is configured to broadcast device information of the third wireless access point.
[0157] The information processing module 902 is configured to process connection information request messages sent by other wireless access points. For example, upon receiving connection information request messages forwarded by other wireless access points, the module exchanges information with the terminal through the wireless access point and provides its own connection information to the terminal.
[0158] The roaming module 903 is used to determine whether the terminal is the terminal that previously requested connection information when receiving a connection request from the terminal. If so, the terminal connection is allowed. Otherwise, the terminal connection is not allowed. And if the terminal connection is allowed, it is determined whether the fast roaming conditions are met. If so, fast roaming can be performed, otherwise fast roaming cannot be performed.
[0159] The storage module 904 is configured to store the device information of the nearby wireless access points obtained through interaction, and the information of the terminal requesting to obtain the connection information.
[0160] In some embodiments, to improve network security, various security measures may be used to ensure the security of the entire solution. For example, a whitelist may be set for the second wireless access point, and only the first wireless access point or the terminal in the whitelist of the second wireless access point can obtain the connection information of the second wireless access point for roaming connection. Of course, other security solutions may also be used, and this is not limited in the embodiments of the present disclosure.
[0161] The above mainly introduces the solution provided by the present disclosure from the perspective of the interaction between various nodes. It can be understood that, in order to implement the above functions, each node, such as a terminal or a first wireless access point, includes a hardware structure and / or software module corresponding to the execution of each function. It should be easy for those skilled in the art to realize that, in combination with the algorithm steps of each example described in the embodiments disclosed herein, the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in a hardware or computer software-driven hardware manner depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present disclosure.
[0162] FIG12 is a schematic diagram showing the composition of a wireless roaming device according to an embodiment of the present disclosure. As shown in FIG12 , the wireless roaming device 100 may include an acquiring unit 1001 and a processing unit 1002. In some embodiments, the wireless roaming device 100 may further include a sending unit 1003.
[0163] The wireless roaming device 100 may be the above-mentioned terminal or a chip in the terminal. When the wireless roaming device 100 is used to implement the functions of the terminal in the above-mentioned embodiment, each unit is used to implement the following functions.
[0164] The acquiring unit 1001 is configured to acquire connection information of at least one second wireless access point from a first wireless access point; the first wireless access point is a wireless access point to which the terminal is currently connected; and the at least one second wireless access point is a wireless access point within a preset range of the first wireless access point.
[0165] The processing unit 1002 is configured to: determine a third wireless access point to be roamed from at least one second wireless access point; and switch connection from the first wireless access point to the third wireless access point based on connection information of the third wireless access point.
[0166] In some embodiments, the processing unit 1002 is configured to: receive roaming recommendation information sent by a first wireless access point, where the roaming recommendation information includes an identifier of a third wireless access point; and determine, based on the identifier of the third wireless access point, a third wireless access point to be roamed from at least one second wireless access point.
[0167] In some embodiments, the third wireless access point satisfies at least one of the following: a degree of match between capability information of the third wireless access point and capability information of the terminal is greater than a degree of match between capability information of the first wireless access point and capability information of the terminal; the capability information of the third wireless access point is used to characterize a frequency band supported by the third wireless access point; and a signal strength of the third wireless access point is greater than a signal strength of the first wireless access point.
[0168] In some embodiments, the processing unit 1002 is configured to determine a third wireless access point to roam to from the at least one second wireless access point when detecting that the communication quality between the terminal and the first wireless access point is less than a communication quality threshold.
[0169] In some embodiments, the acquiring unit 1001 is further configured to receive device information of a fourth wireless access point sent by the first wireless access point; the fourth wireless access point is a wireless access point within a preset range of the first wireless access point; the device information of the fourth wireless access point includes at least one of the following: a network address, a service set identifier, capability information, an encryption method, an authentication method, load information, transmit power, information update time, and signal strength, where the load information is used to indicate the number of terminals connected to the fourth wireless access point, and the information update time is used to indicate the active time of the fourth wireless access point;
[0170] The processing unit 1002 is further configured to determine, based on the device information of the fourth wireless access point, at least one second wireless access point that meets a preset condition from the at least one fourth wireless access point; the preset condition comprising at least one of the following: capability information matching capability information of the terminal, a number of connected terminals represented by the load information being less than or equal to a number threshold, a transmit power being greater than or equal to a transmit power threshold, an information update time being less than or equal to a time threshold, and a signal strength being greater than or equal to a signal strength threshold.
[0171] In some embodiments, the sending unit 1003 is configured to send first request information to the first wireless access point, where the first request information is used to request connection information of the second wireless access point.
[0172] The acquiring unit 1001 is configured to receive connection information of at least one second wireless access point sent by a first wireless access point.
[0173] In some embodiments, the sending unit 1003 is configured to send a connection request to the third wireless access point based on the connection information of the third wireless access point.
[0174] An acquiring unit 1001 is configured to receive first response information for a connection request sent by a third wireless access point, where the first response information is used to indicate whether the terminal is allowed to connect;
[0175] The processing unit 1002 is configured to switch the connection from the first wireless access point to the third wireless access point when the first response information indicates that the terminal is allowed to connect.
[0176] In some embodiments, the sending unit 1003 is configured to send a second request message to the third wireless access point when the terminal stores a verification code corresponding to the third wireless access point, where the second request message is used to request fast roaming and includes the verification code corresponding to the third wireless access point.
[0177] An acquiring unit 1001 is configured to receive second response information sent by a third wireless access point to a second request information, where the second response information is used to indicate whether fast roaming is allowed;
[0178] The processing unit 1002 is configured to perform fast roaming from the first wireless access point to the third wireless access point when the second response information indicates that fast roaming is allowed.
[0179] FIG13 is a schematic diagram showing the composition of another wireless roaming device provided by an embodiment of the present disclosure. As shown in FIG13 , the wireless roaming device 110 may include an acquiring unit 1101 and a sending unit 1102. In some embodiments, the wireless roaming device 110 may further include a processing unit 1103.
[0180] The wireless roaming device 110 may be the first wireless access point or a chip in the first wireless access point. When the wireless roaming device 110 is used to implement the function of the first wireless access point in the above embodiment, each unit is used to implement the following functions.
[0181] The acquiring unit 1101 is configured to acquire connection information of at least one second wireless access point; the first wireless access point is the wireless access point to which the terminal is currently connected, and the at least one second wireless access point is a wireless access point within a preset range of the first wireless access point.
[0182] The sending unit 1102 is configured to send connection information of at least one second wireless access point to the terminal.
[0183] In some embodiments, the sending unit 1102 is further configured to send third request information to the at least one second wireless access point, where the third request information is used to request connection information of the at least one second wireless access point.
[0184] The acquiring unit 1101 is configured to receive connection information of a second wireless access point sent by at least one second wireless access point.
[0185] In some embodiments, the acquiring unit 1101 is configured to acquire device information of a fourth wireless access point; the fourth wireless access point is a wireless access point within a preset range of the first wireless access point; the device information of the fourth wireless access point includes at least one of the following: a network address, a service set identifier, capability information, an encryption method, an authentication method, load information, transmit power, information update time, and signal strength, where the load information is used to indicate the number of terminals connected to the fourth wireless access point, and the information update time is used to indicate the active time of the fourth wireless access point.
[0186] The processing unit 1103 is configured to determine, based on the device information of the fourth wireless access point, at least one second wireless access point that meets a preset condition from the at least one fourth wireless access point; the preset condition comprising at least one of the following: capability information matching capability information of the terminal, a number of connected terminals represented by the load information being less than or equal to a number threshold, a transmit power being greater than or equal to a transmit power threshold, an information update time being less than or equal to a time threshold, and a signal strength being greater than or equal to a signal strength threshold.
[0187] The acquiring unit 1101 is configured to acquire connection information of at least one second wireless access point.
[0188] In some embodiments, the acquiring unit 1101 is further configured to acquire device information of a fourth wireless access point; the fourth wireless access point is a wireless access point within a preset range of the first wireless access point; the device information of the fourth wireless access point includes at least one of the following: a network address, a service set identifier, capability information, an encryption method, an authentication method, load information, transmit power, information update time, and signal strength, where the load information is used to indicate the number of terminals connected to the fourth wireless access point, and the information update time is used to indicate the active time of the fourth wireless access point.
[0189] The sending unit 1103 is further configured to send the device information of the fourth wireless access point to the terminal.
[0190] In some embodiments, the acquiring unit 1101 is further configured to receive first request information sent by a terminal, where the first request information is used to request connection information of at least one second wireless access point.
[0191] In some embodiments, the processing unit 1102 is further configured to determine a third wireless access point to be roamed from the at least one second wireless access point; the third wireless access point satisfies at least one of the following: a degree of match between capability information of the third wireless access point and capability information of the terminal is greater than a degree of match between capability information of the first wireless access point and capability information of the terminal; the capability information of the third wireless access point is used to characterize a frequency band supported by the third wireless access point; and a signal strength of the third wireless access point is greater than a signal strength of the second wireless access point.
[0192] The sending unit 1103 is further configured to send roaming suggestion information to the terminal, where the roaming suggestion information includes an identifier of the third wireless access point.
[0193] In some embodiments, the processing unit 1102 is configured to determine a third wireless access point to roam to from the at least one second wireless access point when detecting that the communication quality between the terminal and the first wireless access point is less than a communication quality threshold.
[0194] It should be noted that the units in Figures 12 and 13 may also be referred to as modules. For example, the sending unit may be referred to as a sending module. In addition, in the embodiments shown in Figures 12 and 13, the names of the units may not be those shown in the figures. For example, the acquiring unit may be referred to as a communication unit, and the sending unit may be referred to as a communication unit.
[0195] If the various units in Figures 12 and 13 are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present disclosure is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (processor) to execute all or part of the steps of the various embodiments of the present disclosure. The storage medium for storing computer software products includes various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0196] When the wireless nomadic device 100 or 110 implements the functions of the integrated modules in hardware, an embodiment of the present disclosure provides a schematic diagram of the structure of an electronic device. As shown in Figure 14, the electronic device 120 includes: a processor 1202, a communication interface 1203, and a bus 1204. In some embodiments, the electronic device 120 may also include a memory 1201.
[0197] Processor 1202 may implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the present disclosure. Processor 1202 may be a central processing unit, a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field-programmable gate array, or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Processor 1202 may implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the present disclosure. Processor 1202 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.
[0198] The communication interface 1203 is used to connect to other devices via a communication network, such as Ethernet, wireless access network, wireless local area network (WLAN), etc.
[0199] The memory 1201 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.
[0200] As an implementation, memory 1201 may exist independently of processor 1202. Memory 1201 may be connected to processor 1202 via bus 1204 to store instructions or program codes. When processor 1202 calls and executes the instructions or program codes stored in memory 1201, the wireless roaming method provided in the embodiments of the present disclosure may be implemented.
[0201] In another implementation, the memory 1201 may also be integrated with the processor 1202 .
[0202] Bus 1204 can be an Extended Industry Standard Architecture (EISA) bus, etc. Bus 1204 can be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, FIG14 shows only one thick line, but this does not mean that there is only one bus or only one type of bus.
[0203] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and conciseness of the description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the base station or terminal is divided into different functional modules to complete all or part of the functions described above.
[0204] The embodiments of the present disclosure also provide a computer-readable storage medium. All or part of the processes in the above-mentioned method embodiments can be completed by computer instructions to the relevant hardware. The program can be stored in the above-mentioned computer-readable storage medium. When the program is executed, it can include the processes of the above-mentioned method embodiments. The computer-readable storage medium can be any of the above-mentioned embodiments or memory. The above-mentioned computer-readable storage medium can also be an external storage device of the above-mentioned terminal or first wireless access point, such as a plug-in hard disk, a smart memory card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the above-mentioned terminal or first wireless access point. Furthermore, the above-mentioned computer-readable storage medium can also include both the internal storage unit of the above-mentioned terminal or first wireless access point and an external storage device. The above-mentioned computer-readable storage medium is used to store the above-mentioned computer program and other programs and data required by the above-mentioned terminal or first wireless access point. The above-mentioned computer-readable storage medium can also be used to temporarily store data that has been output or is to be output. The readable storage medium includes a non-transitory computer-readable storage medium.
[0205] An embodiment of the present disclosure further provides a computer program product, which includes a computer program. When the computer program product is run on a computer, the computer is enabled to execute any one of the wireless roaming methods provided in the above embodiments.
[0206] Although the present disclosure is described herein in conjunction with various embodiments, in the process of implementing the disclosure for which protection is sought, those skilled in the art may understand and implement other variations of the disclosed embodiments by reviewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "one" or "an" does not exclude multiple components. A single processor or other unit may implement several functions listed in the claims. Certain measures are recorded in different dependent claims, but this does not mean that these measures cannot be combined to produce good results.
[0207] Although the present disclosure has been described with reference to detailed features and embodiments thereof, it will be apparent that various modifications and combinations may be made thereto without departing from the spirit and scope of the present disclosure. Accordingly, this specification and the drawings are merely illustrative of the present disclosure as defined by the appended claims and are deemed to cover any and all modifications, variations, combinations or equivalents within the scope of the present disclosure. Obviously, those skilled in the art may make various modifications and variations to the present disclosure without departing from the spirit and scope of the present disclosure. Thus, the present disclosure is intended to encompass such modifications and variations as would fall within the scope of the claims of the present disclosure and their equivalents.
[0208] The above are only specific embodiments of the present disclosure, but the scope of protection of the present disclosure is not limited thereto. Any changes or replacements within the technical scope disclosed in the present disclosure should be included in the scope of protection of the present disclosure. Therefore, the scope of protection of the present disclosure should be based on the scope of protection of the claims.
Claims
1. A wireless roaming method, wherein: The method is applied to a terminal and includes: Acquire connection information of at least one second wireless access point from a first wireless access point; wherein the first wireless access point is a wireless access point to which the terminal is currently connected; and the at least one second wireless access point is a wireless access point within a preset range of the first wireless access point; Determine a third wireless access point to be roamed from the at least one second wireless access point; Based on the connection information of the third wireless access point, the connection is switched from the first wireless access point to the third wireless access point.
2. The method according to claim 1, wherein: The determining of the third wireless access point to be roamed from the at least one second wireless access point comprises: receiving roaming suggestion information sent by the first wireless access point, where the roaming suggestion information includes an identifier of a third wireless access point; Based on the identifier of the third wireless access point, the third wireless access point to be roamed is determined from the at least one second wireless access point.
3. The method according to claim 1, wherein: The third wireless access point satisfies at least one of the following: The matching degree between the capability information of the third wireless access point and the capability information of the terminal is greater than the matching degree between the capability information of the first wireless access point and the capability information of the terminal, and the capability information of the third wireless access point is used to characterize the frequency band supported by the third wireless access point; The signal strength of the third wireless access point is greater than the signal strength of the first wireless access point.
4. The method according to claim 1, wherein: The determining of the third wireless access point to be roamed from the at least one second wireless access point comprises: In a case where it is detected that the communication quality between the terminal and the first wireless access point is less than a communication quality threshold, the third wireless access point to be roamed is determined from the at least one second wireless access point.
5. The method according to claim 1, wherein: The at least one second wireless access point is a wireless access point that meets a preset condition within a preset range of the first wireless access point; Before acquiring the connection information of the at least one second wireless access point from the first wireless access point, the method further includes: receiving device information of at least one fourth wireless access point sent by the first wireless access point; the at least one fourth wireless access point is a wireless access point within a preset range of the first wireless access point; the device information of the at least one fourth wireless access point includes at least one of the following: a network address, a service set identifier, capability information, an encryption method, an authentication method, load information, transmission power, information update time, and signal strength, wherein the load information is used to characterize the number of terminals connected to the at least one fourth wireless access point, and the information update time is used to characterize the active time of the at least one fourth wireless access point; Based on the device information of the at least one fourth wireless access point, determine the at least one second wireless access point that meets the preset condition from the at least one fourth wireless access point; the preset condition includes at least one of the following: the capability information matches the capability information of the terminal, the number of connected terminals represented by the load information is less than or equal to a number threshold, the transmission power is greater than or equal to a transmission power threshold, the information update time is less than or equal to a time threshold, and the signal strength is greater than or equal to a signal strength threshold.
6. The method according to claim 1, wherein: The acquiring the connection information of the at least one second wireless access point from the first wireless access point includes: Sending first request information to the first wireless access point, where the first request information is used to request to obtain connection information of the at least one second wireless access point; The connection information of the at least one second wireless access point sent by the first wireless access point is received.
7. The method according to claim 1, wherein: The switching of the connection from the first wireless access point to the third wireless access point based on the connection information of the third wireless access point includes: Sending a connection request to the third wireless access point based on the connection information of the third wireless access point; receiving first response information for the connection request sent by the third wireless access point, where the first response information is used to indicate whether the terminal is allowed to connect; In a case where the first response information is used to indicate that the terminal is allowed to connect, the connection is switched from the first wireless access point to the third wireless access point.
8. The method according to any one of claims 1 to 7, wherein: The switching of the connection from the first wireless access point to the third wireless access point comprises: When the terminal stores a verification code corresponding to the third wireless access point, sending second request information to the third wireless access point, where the second request information is used to request fast roaming, and the second request information includes the verification code corresponding to the third wireless access point; receiving second response information sent by the third wireless access point to the second request information, where the second response information is used to indicate whether fast roaming is allowed; In a case where the second response information is used to indicate that fast roaming is allowed, fast roaming is performed from the first wireless access point to the third wireless access point.
9. A wireless roaming method, wherein: The method is applied to a first wireless access point and comprises: Acquire connection information of at least one second wireless access point; wherein the first wireless access point is a wireless access point to which the terminal is currently connected, and the at least one second wireless access point is a wireless access point within a preset range of the first wireless access point; Sending connection information of the at least one second wireless access point to the terminal.
10. The method according to claim 9, wherein: The acquiring the connection information of the at least one second wireless access point includes: Sending third request information to the at least one second wireless access point, where the third request information is used to request connection information of the at least one second wireless access point; The connection information of the at least one second wireless access point sent by the at least one second wireless access point is received.
11. The method according to claim 9, wherein: The at least one second wireless access point is a wireless access point that meets a preset condition within a preset range of the first wireless access point; The acquiring the connection information of the at least one second wireless access point includes: Acquire device information of at least one fourth wireless access point; the at least one fourth wireless access point is a wireless access point within a preset range of the first wireless access point; the device information of the fourth wireless access point includes at least one of the following: a network address, a service set identifier, capability information, an encryption method, an authentication method, load information, transmission power, information update time, and signal strength, wherein the load information is used to characterize the number of terminals connected to the at least one fourth wireless access point, and the information update time is used to characterize the active time of the at least one fourth wireless access point; Based on the device information of the at least one fourth wireless access point, determining the at least one second wireless access point that meets the preset condition from the at least one fourth wireless access point; the preset condition includes at least one of the following: the capability information matches the capability information of the terminal, the number of connected terminals represented by the load information is less than or equal to a number threshold, the transmission power is greater than or equal to a transmission power threshold, the information update time is less than or equal to a time threshold, and the signal strength is greater than or equal to a signal strength threshold; Acquire connection information of the at least one second wireless access point.
12. The method according to claim 9, wherein: Before acquiring the connection information of the at least one second wireless access point, the method further includes: Obtain device information of at least one fourth wireless access point; the fourth wireless access point is within a preset range of the first wireless access point The device information of the at least one fourth wireless access point includes at least one of the following: a network address, a service set identifier, capability information, an encryption method, an authentication method, load information, a transmission power, an information update time, and a signal strength, wherein the load information is used to characterize the number of terminals connected to the at least one fourth wireless access point, and the information update time is used to characterize the active time of the at least one fourth wireless access point; Sending device information of the at least one fourth wireless access point to the terminal.
13. The method according to claim 9, wherein: Before sending the connection information of the at least one second wireless access point to the terminal, the method further includes: First request information sent by the terminal is received, where the first request information is used to request connection information of the at least one second wireless access point.
14. The method according to claim 9, wherein: After sending the connection information of the at least one second wireless access point to the terminal, the method further includes: Determine a third wireless access point to be roamed from the second wireless access point; the third wireless access point satisfies at least one of the following: the matching degree between capability information of the third wireless access point and capability information of the terminal is greater than the matching degree between capability information of the first wireless access point and capability information of the terminal, and the capability information of the third wireless access point is used to characterize the frequency band supported by the third wireless access point; the signal strength of the third wireless access point is greater than the signal strength of the at least one second wireless access point; Sending roaming suggestion information to the terminal, where the roaming suggestion information includes an identifier of the third wireless access point.
15. The method according to claim 14, wherein: The determining the third wireless access point to be roamed from the at least one second wireless access point comprises: In a case where it is detected that the communication quality between the terminal and the first wireless access point is less than a communication quality threshold, the third wireless access point to be roamed is determined from the second wireless access points.
16. An electronic device, comprising: a processor and a memory for storing instructions executable by the processor; The processor is configured to execute the instructions so that the electronic device performs the method according to any one of claims 1-15.
17. A computer-readable storage medium, wherein: The computer-readable storage medium stores computer instructions, and when the computer instructions are executed on a computer, the computer is enabled to execute the method according to any one of claims 1 to 15.
Citation Information
Patent Citations
Network access method, access point equipment and computer readable storage medium
CN110248391A
Wireless roaming method, device and equipment and storage medium
CN111918350A
Wireless roaming method and device, computer equipment and storage medium
CN113630828A
Local area network wireless roaming method, local area network gateway, wireless access point and terminal
CN114363979A
Wireless local area network roaming method and communications apparatus
US20200288297A1