Wireless roaming method, electronic equipment and storage medium

By acquiring and determining connection information in advance between wireless access points, efficient switching of wireless roaming is achieved, solving the problem of extended roaming switching in the prior art, and improving the roaming experience.

CN119946738APending Publication Date: 2025-05-06ZTE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311451045.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-01
Publication Date
2025-05-06

AI Technical Summary

Technical Problem

The existing wireless roaming method has a long roaming switching delay, resulting in poor roaming experience.

Method used

The terminal obtains 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, and then determines the third wireless access point to be roamed in the second wireless access point, and switches the connection from the first wireless access point from the first wireless access point based on the connection information of the third wireless access point acquired in advance.

Benefits of technology

It reduces the delay in roaming switching, improves the efficiency of roaming switching, and helps improve the roaming experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119946738A_ABST
    Figure CN119946738A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a wireless roaming method, electronic equipment and a storage medium, relates to the technical field of communication, and is used for reducing roaming switching time delay. The method is applied to a terminal and comprises the following steps: acquiring connection information of a second wireless access point from a first wireless access point; wherein the first wireless access point is a wireless access point currently connected with the terminal; the second wireless access point is a wireless access point within a preset range of the first wireless access point; determining a third wireless access point to be roamed from the second wireless access points; and switching connection from the first wireless access point to the third wireless access point based on the connection information of the third wireless access point.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of communication technology, and in particular to a wireless roaming method, an electronic device, and a storage medium. Background Art

[0002] Wireless terminal devices (stations, STAs) access the Internet by connecting to the hotspots of wireless access points (access points, APs). Since the coverage of an AP device is limited, wireless roaming is required for uninterrupted Internet access when the STA moves in the wireless network area. Wireless roaming means that the STA switches between multiple APs, associates with the new AP, and disconnects from the original AP, while maintaining an uninterrupted network connection during the process. However, the current wireless roaming methods have a long roaming switching delay and a poor roaming experience. Summary of the invention

[0003] The embodiments of the present disclosure provide a wireless roaming method, an electronic device, and a storage medium for reducing roaming switching delay.

[0004] In order to achieve the above objectives, the present disclosure adopts the following technical solutions:

[0005] In a first aspect, a wireless roaming method is provided, the method being applied to a terminal, the method comprising:

[0006] Acquire connection information of a 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 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 the second wireless access points;

[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, a wireless roaming method is provided, the method being applied to a first wireless access point, the method comprising:

[0010] Acquire connection information of a second wireless access point; wherein 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;

[0011] Send connection information of the second wireless access point to the terminal.

[0012] In a third aspect, a wireless roaming device is provided, the device being applied to a terminal, the device comprising:

[0013] An acquiring unit, configured to acquire connection information of a 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 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 the second wireless access points; and 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.

[0015] In a fourth aspect, a wireless roaming device is provided, the device being applied to a first wireless access point, the device comprising:

[0016] An acquiring unit, configured to acquire connection information of a second wireless access point; wherein 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;

[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 electronic device is provided, comprising: a processor and a memory; the memory stores instructions executable by the processor; when the processor is configured to execute the instructions, the electronic device implements the method provided in any one of the first or second aspects above.

[0019] In a sixth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and 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, a computer program product comprising computer instructions is provided. When the computer instructions are executed on a computer, the computer executes the method provided in any one of the first aspect or the second aspect.

[0021] In the embodiment of the present disclosure, the terminal obtains connection information of a second wireless access point within a preset range of the first wireless access point from the currently connected first wireless access point, and then after determining a third wireless access point to be roamed 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 obtained in advance from the first wireless access point, that is, roam to the third wireless access point, thereby reducing the roaming switching delay, improving the roaming switching efficiency, and helping to improve the roaming experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The accompanying drawings are used to provide further understanding of the technical solution of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the technical solution of the present invention and do not constitute a limitation on the technical solution of the present invention.

[0023] Figure 1 A schematic diagram of the composition of a communication system provided in an embodiment of the present disclosure;

[0024] Figure 2 A flowchart of a wireless roaming method provided by an embodiment of the present disclosure;

[0025] Figure 3 A flowchart of another wireless roaming method provided by an embodiment of the present disclosure;

[0026] Figure 4 A flowchart of another wireless roaming method provided by an embodiment of the present disclosure;

[0027] Figure 5 A flowchart of another wireless roaming method provided by an embodiment of the present disclosure;

[0028] Figure 6 A flowchart of another wireless roaming method provided by an embodiment of the present disclosure;

[0029] Figure 7 A flowchart of another wireless roaming method provided by an embodiment of the present disclosure;

[0030] Figure 8 A flowchart of another wireless roaming method provided by an embodiment of the present disclosure;

[0031] Fig. 9 A schematic diagram of the composition of a first wireless access point provided by an embodiment of the present disclosure;

[0032] Fig.10 A schematic diagram of the composition of a terminal provided in an embodiment of the present disclosure;

[0033] Fig.11 A schematic diagram of the composition of a third wireless access point provided by an embodiment of the present disclosure;

[0034] Fig.12 A schematic diagram of the composition of a wireless roaming device provided in an embodiment of the present disclosure;

[0035] Fig.13 A schematic diagram of another wireless roaming device provided in an embodiment of the present disclosure;

[0036] Fig.14 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0037] The following will be combined with the 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 described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present disclosure.

[0038] Unless the context requires otherwise, throughout the specification and claims, the term "comprise" and other forms thereof, such as the third person singular form "comprises" and the present participle form "comprising", are to be interpreted as open, 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" and the like are intended to indicate that specific 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 specific features, structures, materials or characteristics may be included in any one or more embodiments or examples in any appropriate manner.

[0039] The terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.

[0040] In the description of the present disclosure, unless otherwise specified, “plurality” means two or more.

[0041] In the embodiments of the present disclosure, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present disclosure should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0042] 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.

[0043] Traditional wireless roaming has the disadvantages of serious packet loss, untimely roaming triggering, non-optimal target AP, and long re-association time. The 802.11kvr protocol solves 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, resulting in 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 method has a long roaming switching delay and a poor roaming experience.

[0044] Based on this, the embodiments of the present disclosure provide a wireless roaming method, an electronic device, and a storage medium. The 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, and then after determining a third wireless access point to be roamed 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, that is, roam to the third wireless access point, thereby reducing the roaming switching delay, improving the roaming switching efficiency, and helping to improve the roaming experience.

[0045] The technical solution of the present disclosure is described below in conjunction with the accompanying drawings.

[0046] Figure 1 A schematic diagram of the composition of a communication system provided by an embodiment of the present disclosure. Figure 1 , the communication system includes multiple APs (for example, AP11, AP12 and AP13) and a terminal 21.

[0047] For each of the multiple APs, the AP may be a device having a wireless local area network (WLAN) chip or a WLAN system on a chip (SoC) chip. For example, the AP may be a device having a distributed system access function (DSAF), such as a mobile phone that can access a core network, or a computer that can access the Internet. For another example, the AP may be a communication entity such as a communication server, a router, a switch, a bridge, etc. For another example, the AP may include various forms of macro base stations, micro base stations, relay stations, etc. Of course, the AP may also be a chip and a processing system in these various forms of devices, and the embodiments of the present disclosure do not specifically limit this.

[0048] The terminal 21 may be a device with wireless transceiver function and access to a WLAN network, and may be deployed on land, including indoors or outdoors, handheld, wearable or vehicle-mounted; may also be deployed on water (such as ships, etc.); may also be deployed in the air (such as airplanes, balloons and satellites, etc.). The terminal device may be a workstation, a mobile phone, a tablet computer, a computer with wireless transceiver function, 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, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, a wearable terminal device, or an Internet of Things (IoT) terminal, etc. The disclosed embodiments do not limit the specific types of terminals.

[0049] It should be understood that Figure 1 is an exemplary structural diagram, Figure 1 The number of devices included in the communication system shown is not limited, for example, the number of APs and the number of terminals are not limited. Figure 1 In addition to the equipment shown, Figure 1 The communication system shown may also include other devices, which is not limited thereto.

[0050] Next, if Figure 2As shown, the embodiment of the present disclosure provides a wireless roaming method, which is applied to a terminal, and the terminal may be the above Figure 1 The terminal 21 shown in the figure may include the following steps:

[0051] S101: Acquire connection information of a second wireless access point from a first wireless access point.

[0052] The first wireless access point is the wireless access point that the terminal is currently connected to, and the second wireless access point is a wireless access point within a preset range of the first wireless access point. Figure 1 In the communication system shown, 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, and the password information is used to connect to the second wireless access point.

[0053] In some embodiments, during the operation of the terminal, the terminal obtains connection information of a second wireless access point within a preset range of the first wireless access point from the currently connected first wireless access point. The terminal obtaining the connection information of the second wireless access point from the first wireless access point includes the terminal actively obtaining the connection information of the second wireless access point from the first wireless access point and the terminal passively obtaining the connection information of the second wireless access point from the first wireless access point, which is not limited in the embodiments of the present disclosure.

[0054] As an example, the terminal actively obtains the connection information of the second wireless access point from the first wireless access point, which may be that the terminal sends a first request message to the first wireless access point, and the first request message is used to request to obtain the connection information of the second wireless access point. Accordingly, the first wireless access point receives the first request message sent by the terminal, and sends the connection information of the second wireless access point to the terminal in response to the first request message. Accordingly, the terminal receives the connection information of the second wireless access point sent by the first wireless access point.

[0055] As another example, the terminal passively obtains the connection information of the second wireless access point from the first wireless access point, which may be that during the operation of the terminal, the first wireless access point sends the connection information of the second wireless access point to the terminal. Correspondingly, the terminal receives the connection information of the second wireless access point sent by the first wireless access point.

[0056] S102: Determine a third wireless access point to be roamed from the second wireless access points.

[0057] In some embodiments, after the terminal acquires the connection information of the second wireless access point, the terminal may determine a third wireless access point to be roamed from the second wireless access point.

[0058] As an example, determining the third wireless access point to be roamed from the second wireless access point may be that the terminal determines the third wireless access point to be roamed from the 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. The communication quality threshold may be pre-set by a network administrator or determined in advance by negotiation between the first wireless access point and the terminal, which is not limited in the embodiments of the present disclosure.

[0059] 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 is reduced, 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 selection of the terminal, therefore, the terminal can determine the third wireless access point to be roamed from the second wireless access point.

[0060] As another example, determining the third wireless access point to be roamed from the second wireless access point may also be that the first wireless access point determines the third wireless access point to be roamed from the second wireless access point when detecting that the communication quality between the terminal and the first wireless access point is less than the communication quality threshold, and then sends roaming suggestion information to the terminal, where the roaming suggestion information includes the identifier of the third wireless access point. Accordingly, the terminal receives the roaming suggestion information sent by the first wireless access point, and then determines the third wireless access point to be roamed from the second wireless access point based on the identifier of the third wireless access point included in the roaming suggestion information. The identifier of the third wireless access point is used to uniquely indicate a third wireless access point, and may be, for example, the name of the third wireless access point.

[0061] In some embodiments, the third wireless access point satisfies at least one of the following:

[0062] 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;

[0063] The signal strength of the third wireless access point is greater than the signal strength of the first wireless access point.

[0064] The capability information of the third wireless access point is used to represent the frequency band supported by the third wireless access point.

[0065] Exemplarily, taking the frequency band including the 2.4 Gigahertz frequency band (GHz, G) and the 5G frequency band as an example, assuming that the capability information of the terminal indicates that the terminal supports the 2.4G frequency band and the 5G frequency band, and the capability information of the first wireless access point indicates that the first wireless access point supports the 2.4G frequency band, and the capability information of a second wireless access point indicates that the second wireless access point supports the 2.4G frequency band and the 5G frequency band, it can be seen that the matching degree between the capability information of the second 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 higher the matching degree, the better the performance of the terminal can be exerted, so the second wireless access point can be used as the third wireless access point. The higher the signal strength of a second wireless access point, the better the network signal of the second wireless access point, which can improve the network experience of the terminal, so the signal strength of a second wireless access point is greater than the signal strength of the first wireless access point, and the second wireless access point can be used as the third wireless access point.

[0066] 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.

[0067] It should be understood that since the third wireless access point is determined from the second wireless access point, and the terminal has previously acquired the connection information of the second wireless access point from the first wireless access point, after determining the third wireless access point to be roamed, the terminal can switch the 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.

[0068] In some embodiments, Figure 3 As shown, step S103 may include the following steps:

[0069] S1031: Send a connection request to the third wireless access point based on the connection information of the third wireless access point.

[0070] 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. Accordingly, the third wireless access point receives the connection request sent by the terminal.

[0071] S1032: Receive first response information for the connection request sent by the third wireless access point.

[0072] 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.

[0073] It should be noted that when the first wireless access point obtains the connection information of the second wireless access point, it will send the terminal identifier to the second wireless access point, or the request information (that is, the third request information described below) sent to the second wireless access point for requesting the connection information of the second wireless access point includes the terminal identifier, so as to indicate to the second wireless access point which terminal is used to obtain the connection information of the second wireless access point. After receiving the terminal identifier sent by the first wireless access point, or receiving the request information sent by the first wireless access point for requesting the connection information of the second wireless access point, the second wireless access point stores the terminal identifier, so as to determine whether the terminal is connected based on the stored terminal identifier and the terminal identifier included in the connection request after receiving the connection request of the terminal.

[0074] In some embodiments, after receiving the connection request sent by the terminal, the third wireless access point determines whether to allow the terminal to connect based on the terminal identifier included in the connection request in response to the connection request, and then sends first response information to the connection request to the terminal. The first response information is used to indicate whether the terminal is allowed to connect.

[0075] As an example, the third wireless access point determines whether to allow the terminal to connect based on the identifier of the terminal included in the connection request. The third wireless access point may determine whether it has stored the identifier of the terminal based on the identifier of the terminal. If it has stored the identifier of the terminal, it means that the terminal is a terminal that previously requested to obtain the connection information of the third wireless access point and is a legal terminal. Therefore, the terminal is allowed to connect, and the first response information is used to indicate that the terminal is allowed to connect. If it does not store the identifier of the terminal, it means that the terminal is not a legal terminal. In order to ensure security, the terminal is not allowed to connect. The first response information is used to indicate that the terminal is not allowed to connect.

[0076] 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.

[0077] In some embodiments, the connection information of the third wireless access point further includes password information, and the password information is used to connect to the third wireless access point. When the first response information is used to indicate that the terminal connection is allowed, the terminal can switch the connection 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.

[0078] based on Figure 2In the illustrated embodiment, the terminal obtains connection information of a second wireless access point within a preset range of the first wireless access point from the currently connected first wireless access point, and then after determining a third wireless access point to be roamed 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 obtained in advance from the first wireless access point, that is, roam to the third wireless access point, thereby reducing the roaming switching delay, improving the roaming switching efficiency, and helping to improve the roaming experience.

[0079] In some embodiments, when the first response information is used to indicate that the terminal is allowed to connect, that is, when the third wireless access point allows the terminal to connect, in order to further reduce the roaming switching delay and improve the roaming experience, Figure 4 As shown, the above step S1033 may include the following steps:

[0080] S201: When the terminal stores a verification code corresponding to the third wireless access point, send second request information to the third wireless access point.

[0081] It should be noted that the terminal pre-stores some verification codes corresponding to wireless access points. It should be understood that if the terminal pre-stores a verification code corresponding to a wireless access point, it means that the wireless access point supports the fast roaming function, and the terminal can perform fast roaming with the wireless access point during roaming switching to reduce the roaming switching delay. Among them, the verification codes corresponding to some wireless access points pre-stored by the terminal can be pre-configured by the gateway administrator or indicated by the communication protocol.

[0082] In some embodiments, when the first response information is used to indicate that the terminal is allowed to connect, in order to determine whether it can perform fast roaming with the third wireless access point to reduce the roaming switching delay, the terminal determines whether it has stored a verification code corresponding to the third wireless access point. When the terminal has stored the verification code corresponding to the third wireless access point, it means that the third wireless access point supports the fast roaming function, or it means that the terminal can perform fast roaming with the third wireless access point, so 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.

[0083] In some embodiments, when the terminal does not store the verification code corresponding to the third wireless access point, it means that the third wireless access point does not support the fast roaming function, or the terminal cannot perform fast roaming with the third wireless access point, then the terminal switches the connection from the first wireless access point to the third wireless access point according to the conventional roaming switching method. For the description of the conventional roaming switching method, reference can be made to the description of the conventional roaming switching method in the related art, which will not be described in detail here.

[0084] S202: Receive second response information to the second request information sent by the third wireless access point.

[0085] The second response information is used to indicate whether fast roaming is allowed.

[0086] In some embodiments, after receiving the second request information, the third wireless access point determines whether the check code included in the second request information is a limited check 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.

[0087] 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.

[0088] 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.

[0089] S203: When the second response information is used to indicate that fast roaming is allowed, fast roam from the first wireless access point to the third wireless access point.

[0090] 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 the description of fast roaming in the related art, which will not be described in detail herein.

[0091] 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.

[0092] based on Figure 4 In the illustrated embodiment, 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, and 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 switching delay and improving the efficiency of roaming switching to improve the roaming experience.

[0093] In some embodiments, the second wireless access point is a wireless access point that meets preset conditions within a preset range of the first wireless access point, such as Figure 5 As shown, before step S101, the method may further include the following steps:

[0094] S301: Receive device information of a fourth wireless access point sent by a first wireless access point.

[0095] 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.

[0096] In some embodiments, during the operation of the first wireless access point, the first wireless access point periodically receives device information of the fourth wireless access point sent by a fourth wireless access point within a preset range based on a broadcast channel, and then sends the device information of the fourth wireless access point to the terminal, so that the terminal determines a second wireless access point that meets a preset condition from the fourth wireless access point based on the device information of the fourth wireless access point. Correspondingly, the terminal receives the device information sent by the fourth wireless access point sent by the first wireless access point.

[0097] 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 method, 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 fourth wireless access point, idle state, etc., the information update time is used to characterize the active time of the fourth wireless access point, and can 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 can be a media access control address (MAC address) of the fourth wireless access point, the network address can be represented by a basic service set identifier (BSSID), the service set identifier is used to indicate the hotspot name of the fourth wireless access point, and the capability information is used to characterize the frequency band, wireless fidelity (WIFI) protocol, bandwidth, etc. supported by the fourth wireless access point.

[0098] S302: Determine a second wireless access point that meets a preset condition from the fourth wireless access points based on the device information of the fourth wireless access point.

[0099] The preset conditions include 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 the number threshold, the transmission power is greater than or equal to the transmission power threshold, the information update time is less than or equal to the time threshold, and the signal strength is greater than or equal to the signal strength threshold. The number threshold, transmission power threshold, time threshold and signal strength threshold can all be preset by the network administrator.

[0100] It should be understood that the larger the load information, the more terminals are connected and the more serious the resource competition is. Therefore, the number of connected terminals represented by the load information needs to be less than or equal to the number threshold. The larger the transmission power, the wider the coverage range, so the transmission power needs to be greater than or equal to the transmission power threshold. The information update time represents the active time of the fourth wireless access point. When the information update time is less than or equal to the time threshold, it means that the fourth wireless access point is still within the preset range. When the update time is greater than the time threshold, it means that the fourth wireless access point may no longer be within the preset range. Therefore, the information update time needs to be less than or equal to the time threshold. The greater the signal strength, the better the signal quality, so the signal strength needs to be greater than or equal to the signal strength threshold.

[0101] In some embodiments, after the terminal determines the second wireless access point that meets the preset condition from the fourth wireless access point based on the device information of the fourth wireless access point, the terminal may subsequently obtain the connection information of the second wireless access point from the first wireless access point, and then after determining the third wireless access point to be roamed from the second wireless access point, the terminal may quickly switch the connection 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 the roaming switching delay and improving the roaming experience.

[0102] In some embodiments, Figure 6 As shown, the embodiment of the present disclosure further provides a wireless roaming method, which is applied to a first wireless access point. The method may include the following steps:

[0103] S401: Acquire connection information of a second wireless access point.

[0104] 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.

[0105] In some embodiments, the first wireless access point obtains the connection information of the second wireless access point by sending a third request message to the second wireless access point, where the third request message is used to request the connection information of the second wireless access point. Accordingly, the second wireless access point receives the third request message sent by the first wireless access point, and then the second wireless access point sends the connection information of the second wireless access point to the first wireless access point in response to the third request message. Accordingly, the first wireless access point receives the connection information of the second wireless access point sent by the second wireless access point.

[0106] In some embodiments, the first wireless access point may acquire the connection information of the second wireless access point in two ways: the first wireless access point actively acquires the connection information of the second wireless access point; and the first wireless access point passively acquires the connection information of the second wireless access point.

[0107] Mode 1, in which the first wireless access point actively obtains the connection information of the second wireless access point, may include the following steps:

[0108] X1. Obtain device information of the fourth wireless access point.

[0109] The fourth wireless access point is a wireless access point within a preset range of the first wireless access point, and the second wireless access point is a wireless access point within the preset range of the first wireless access point that meets a preset condition.

[0110] X2. Determine, based on the device information of the fourth wireless access point, a second wireless access point that meets a preset condition from the fourth wireless access points.

[0111] For the description of step X1 and step X3, reference may be made to the corresponding description of step S301 and step S302, which will not be repeated here.

[0112] X3. Obtain connection information of the second wireless access point.

[0113] In some embodiments, after acquiring the connection information of the second wireless access point, the first wireless access point stores the connection information of the second wireless access point, so as to subsequently send the connection information of the second wireless access point to the terminal after receiving the first request information sent by the terminal.

[0114] Mode 2, the first wireless access point passively obtains the connection information of the second wireless access point, which may be that the first wireless access point obtains the connection information of the second wireless access point when the first wireless access point receives the first request information sent by the terminal. The first request information is used to request the connection information of the second wireless access point. That is, after the first node receives the first request information sent by the terminal, the first wireless access point obtains the connection information of the second wireless access point.

[0115] S402: Send connection information of the second wireless access point to the terminal.

[0116] In some embodiments, based on the above-mentioned method 1, the first wireless access point sends the connection information of the second wireless access point to the terminal, which may be sending the connection information of the second wireless access point to the terminal upon receiving the first request information sent by the terminal. Based on the above-mentioned method 2, the first wireless access point sends the connection information of the second wireless access point to the terminal, which may be sending the connection information of the second wireless access point to the terminal after acquiring the connection information of the second wireless access point.

[0117] Exemplarily, based on the above-mentioned method 1, step S401 and step S402 may specifically include the following steps:

[0118] A1. Obtain device information of the fourth wireless access point.

[0119] A2. Determine a second wireless access point that meets a preset condition from the fourth wireless access points based on the device information of the fourth wireless access point.

[0120] A3. Obtain connection information of the second wireless access point.

[0121] After acquiring the connection information of the second wireless access point, the first wireless access point stores the connection information of the second wireless access point.

[0122] A4. Receive the first request information sent by the terminal.

[0123] A5. In response to the first request information, send connection information of the second wireless access point to the terminal.

[0124] Exemplarily, in the case of the above-mentioned method 2, step S401 and step S402 may specifically include the following steps:

[0125] B1. Receive first request information sent by the terminal.

[0126] B2. Obtain connection information of the second wireless access point.

[0127] B3. Send connection information of the second wireless access point to the terminal.

[0128] It should be understood that in the above-mentioned method 1, it is the interaction between the first wireless access point and the second wireless access point. The first wireless access point obtains the connection information of the second wireless access point in advance, and then directly sends the connection information of the second wireless access point to the terminal after receiving the first request information sent by the terminal. In the above-mentioned method 2, it is the terminal that interacts with the second wireless access point, and the first wireless access point acts as an intermediary. The specific implementation method of step S401 and step S402 is not limited in the embodiment of the present disclosure.

[0129] In some embodiments, Figure 7 As shown, before step S401, the method may further include the following steps:

[0130] S501: Acquire device information of a fourth wireless access point.

[0131] For the description of step S501 , reference may be made to the corresponding description of step S301 , which will not be repeated here.

[0132] S502: Send device information of the fourth wireless access point to the terminal.

[0133] based on Figure 7In the illustrated embodiment, after acquiring the device information of the fourth wireless access point, the first wireless access point sends the device information of the fourth wireless access point to the terminal, so that the terminal can subsequently determine the second wireless access point that meets the preset condition based on the device information of the fourth wireless access point.

[0134] In some embodiments, Figure 8 As shown, after step S301, the method may further include the following steps:

[0135] S601: Determine a third wireless access point to be roamed from the second wireless access points.

[0136] In some embodiments, in order to ensure the communication quality of the terminal, after sending the connection information of the second wireless access point to the terminal, the first wireless access point may determine a third wireless access point to be roamed from the second wireless access points.

[0137] As an example, determining the third wireless access point to be roamed from the second wireless access point may be that the first wireless access point determines the third wireless access point to be roamed from the 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. That is, when the first wireless access point detects that the terminal meets the roaming condition, the third wireless access point to be roamed is determined from the second wireless access point.

[0138] For the description of step S601 , reference may be made to the above description of step S102 , which will not be repeated here.

[0139] It should be understood that in the above step S102, the third wireless access point to be roamed is determined by the terminal. In step S601, the third wireless access point to be roamed is determined by the first wireless access point. When the first wireless access point determines the third wireless access point to be roamed, the amount of calculation of the terminal can be reduced and the computing resource utilization rate of the terminal can be improved. The embodiment of the present disclosure does not limit the execution subject of determining the third wireless access point to be roamed.

[0140] S602: Send roaming suggestion information to the terminal.

[0141] The roaming suggestion information includes the identifier of the third wireless access point, so that the terminal can quickly determine the third wireless access point to be roamed from the second wireless access points based on the identifier of the third wireless access point, thereby reducing the calculation amount of the terminal.

[0142] The structures of the terminal, the first wireless access point and the third wireless access point are described below by way of example.

[0143] like Fig. 9FIG. 1 is a schematic diagram of a first wireless access point provided by an embodiment of the present disclosure. Fig. 9 The first wireless access point 70 may include an information collecting module 701 , an information processing module 702 , a broadcasting module 703 , an information transmitting module 704 , a roaming module 705 and a storing module 706 .

[0144] The information collection module 701 is used to receive and periodically update the 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, transmission power, information update time, etc. BSSID represents the MAC address of the fourth wireless access point, SSID is the hotspot name of the fourth wireless access point, capability information includes 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 how many STAs are connected, idle status, etc., transmission power represents the transmission power of the fourth wireless access point, and information update time is the time of the last received device information broadcast by the fourth wireless access point.

[0145] The information processing module 702 is used to process the device information collected by the information collection module 701. BSSID is an identifier of the fourth wireless access point, SSID is information required to connect to the fourth wireless access point, the capability information of the fourth wireless access point indicates various capabilities that the fourth wireless access point can support, whether it can be accelerated, how much bandwidth is, and the greater the supported capability, the better, the load information indicates the current state of the fourth wireless access point, if there are already many terminals accessing, the resource preemption is relatively severe, and it is not suitable for new terminals to access, the greater the transmission power, the wider the coverage, and 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 still exists, and if the time is very large, it indicates that the fourth wireless access point may no longer be in range.

[0146] The broadcast module 703 is used to regularly update the information processed by the information processing module 702 and broadcast it based on the broadcast channel. The above processed information can be broadcast in full or important information can be broadcast to facilitate the terminal to actively access or the first wireless access point to guide the terminal to access. The terminal can select a suitable third wireless access point for active roaming according to its own situation, or the first wireless access point detects that the current connection state of the terminal is not optimal, guides the terminal to change the wireless access point for access, and sends the connection information of the suitable wireless access point to the terminal (that is, sends roaming suggestion information to the terminal).

[0147] The information transmission module 704 is used as an intermediate module to transmit the device information of the terminal and the fourth wireless access point. When the terminal initiates an application request for the connection information of the second wireless access point, the module is used to realize the information transmission between the terminal and the second wireless access point, forward the first request information of the terminal to the second wireless access point, and forward the connection information of the second wireless access point to the terminal. The terminal sends the first request information, and the first request information carries the MAC address of the second wireless access point. After receiving the first request information, the information transmission module 704 directly sends the first request information to the second wireless access point according to the MAC address. The connection information replied by the second wireless access point also carries the MAC address of the terminal. After receiving the connection information, the information transmission module 704 forwards the connection information replied by the second wireless access point to the terminal.

[0148] The roaming module 705 is responsible for the roaming processing of the terminal. When it is found 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 the communication quality threshold, the roaming suggestion information is actively sent to the terminal. Or when the terminal actively initiates a roaming request, the roaming request of the terminal is processed.

[0149] The storage module 706 is used 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 used for broadcasting or actively acquired by the terminal.

[0150] like Fig.10 FIG. 1 is a schematic diagram of a terminal provided by an embodiment of the present disclosure. Fig.10 The terminal 80 may include an information acquisition module 801 , an information processing module 802 , a roaming module 803 and a storage module 804 .

[0151] The information acquisition module 801 is used to receive the device information of the fourth wireless access point sent by the first wireless access point. Alternatively, the information requesting the device information of the fourth wireless access point is actively sent to the first wireless access point, and after determining the second wireless access point, the connection information of the second wireless access point is acquired through the first wireless access point for subsequent roaming.

[0152] The information processing module 802 is used to process the acquired device information of the fourth wireless access point, and determine a second wireless access point that meets a preset condition in combination with the situation of the terminal itself and the device information of the fourth wireless access point.

[0153] The information processing module 802 is further configured to process other information acquired by the information acquisition module 801, such as the signal strength of the second wireless access point, and then determine a third wireless access point to be roamed from the second wireless access points.

[0154] The information processing module 802 is further configured to process the acquired connection information of the second wireless access point, such as password information included in the connection information, and perform encryption authentication on the SSID to connect to the third wireless access point.

[0155] The roaming module 803 is used to process the roaming of the terminal. Roaming is divided into active roaming and passive roaming. Passive roaming means that after the terminal receives the roaming suggestion information of 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 means that when the terminal finds that the current connection is not good and there are other better wireless access points (that is, the third wireless access point), it triggers roaming, disconnects from the first wireless access point, and connects to the third wireless access point. And, if the third wireless access point meets the fast roaming conditions (that is, the verification code corresponding to the third wireless access point is stored), fast roaming is directly initiated, and fast switching is completed together with the first wireless access point and the third wireless access point.

[0156] The storage module 804 is used to store various acquired information and processing results, for example, to store the device information of the fourth wireless access point and the connection information of the second wireless access point.

[0157] like Fig.11 FIG. 1 is a schematic diagram of a composition of a third wireless access point provided by an embodiment of the present disclosure. Fig.11 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 .

[0158] The broadcast module 901 is used to broadcast the device information of the third wireless access point.

[0159] The information processing module 902 is used to process the request information sent by other wireless access points for requesting to obtain connection information. For example, when receiving the request information forwarded by other wireless access points for requesting to obtain connection information, the wireless access point interacts with the terminal through the wireless access point and provides its own connection information to the terminal.

[0160] The roaming module 903 is used to determine whether the terminal is the terminal that requested to obtain connection information before when receiving a connection request sent by the terminal. If yes, 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 condition is met. If it is met, fast roaming can be performed, otherwise fast roaming cannot be performed.

[0161] The storage module 904 is used 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.

[0162] In some embodiments, in order to improve network security, various security measures can be used to ensure the security of the entire solution. For example, the second wireless access point can be set with a whitelist, 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, it can also be achieved through other security solutions, and the embodiments of the present disclosure are not limited to this.

[0163] The above mainly introduces the solution provided by the present disclosure from the perspective of the interaction between each node. It can be understood that 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 in order to realize the above functions. Those skilled in the art should easily realize that, in combination with the algorithm steps of each example described in the embodiments disclosed in this article, 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 the form of hardware or computer software driving hardware 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 exceed the scope of the present disclosure.

[0164] Fig.12 FIG. 1 is a schematic diagram showing the composition of a wireless roaming device provided by an embodiment of the present disclosure. Fig.12 As shown, the wireless nomadic device 100 may include an acquiring unit 1001 and a processing unit 1002. In some embodiments, the wireless nomadic device 100 may further include a sending unit 1003.

[0165] 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 specifically used to implement the following functions.

[0166] The acquisition unit 1001 is configured to acquire connection information of a 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 second wireless access point is a wireless access point within a preset range of the first wireless access point.

[0167] The processing unit 1002 is configured to: determine a third wireless access point to be roamed from the second wireless access points; and 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.

[0168] In some embodiments, the processing unit 1002 is specifically configured to: receive roaming suggestion information sent by the first wireless access point, the roaming suggestion information including an identifier of a third wireless access point; and determine a third wireless access point to be roamed from the second wireless access points based on the identifier of the third wireless access point.

[0169] In some embodiments, the third wireless access point satisfies at least one of the following: a degree of matching between capability information of the third wireless access point and capability information of the terminal is greater than a degree of matching 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.

[0170] In some embodiments, the processing unit 1002 is specifically configured to determine a third wireless access point to be roamed from the second wireless access points when it is detected that the communication quality between the terminal and the first wireless access point is less than a communication quality threshold.

[0171] In some embodiments, the acquisition unit 1001 is further used 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, 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 fourth wireless access point, and the information update time is used to characterize the active time of the fourth wireless access point;

[0172] The processing unit 1002 is further configured to determine, based on the device information of the fourth wireless access point, a second wireless access point that meets a preset condition from the 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 the number threshold, the transmission power is greater than or equal to the transmission power threshold, the information update time is less than or equal to the time threshold, and the signal strength is greater than or equal to the signal strength threshold.

[0173] In some embodiments, the sending unit 1003 is used to send first request information to the first wireless access point, where the first request information is used to request to obtain connection information of the second wireless access point.

[0174] The acquiring unit 1001 is specifically configured to receive connection information of a second wireless access point sent by a first wireless access point.

[0175] 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.

[0176] The 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;

[0177] The processing unit 1002 is specifically configured to switch the connection from the first wireless access point to the third wireless access point when the first response information is used to indicate that the terminal is allowed to connect.

[0178] In some embodiments, the sending unit 1003 is specifically used to send second request information to the third wireless access point when the terminal stores a verification code corresponding 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.

[0179] The acquiring unit 1001 is specifically configured to receive second response information sent by a third wireless access point to the second request information, where the second response information is used to indicate whether fast roaming is allowed;

[0180] The processing unit 1002 is specifically configured to perform fast roaming from the first wireless access point to the third wireless access point when the second response information is used to indicate that fast roaming is allowed.

[0181] Fig.13 FIG. 2 is a schematic diagram showing the composition of another wireless roaming device provided by an embodiment of the present disclosure. Fig.13 As shown, 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.

[0182] 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 specifically used to implement the following functions.

[0183] The acquiring unit 1101 is configured to acquire connection information of a second wireless access point, wherein 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.

[0184] The sending unit 1102 is configured to send connection information of the second wireless access point to the terminal.

[0185] In some embodiments, the sending unit 1102 is further configured to send third request information to the second wireless access point, where the third request information is used to request connection information of the second wireless access point.

[0186] The acquiring unit 1101 is specifically configured to receive connection information of the second wireless access point sent by the second wireless access point.

[0187] In some embodiments, the acquisition unit 1101 is specifically used 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, transmission power, information update time, and signal strength, wherein the load information is used to characterize the number of terminals connected to the fourth wireless access point, and the information update time is used to characterize the active time of the fourth wireless access point.

[0188] The processing unit 1103 is configured to determine, based on the device information of the fourth wireless access point, a second wireless access point that meets a preset condition from the 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 the number threshold, the transmission power is greater than or equal to the transmission power threshold, the information update time is less than or equal to the time threshold, and the signal strength is greater than or equal to the signal strength threshold.

[0189] The acquiring unit 1101 is specifically configured to acquire connection information of a second wireless access point.

[0190] In some embodiments, the acquisition unit 1101 is further used 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, transmission power, information update time, and signal strength, wherein the load information is used to characterize the number of terminals connected to the fourth wireless access point, and the information update time is used to characterize the active time of the fourth wireless access point.

[0191] The sending unit 1103 is further configured to send device information of the fourth wireless access point to the terminal.

[0192] In some embodiments, the acquiring unit 1101 is further configured to receive first request information sent by the terminal, where the first request information is used to request connection information of the second wireless access point.

[0193] In some embodiments, the processing unit 1102 is further used to 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: a degree of matching between capability information of the third wireless access point and capability information of the terminal is greater than a degree of matching 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.

[0194] 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.

[0195] In some embodiments, the processing unit 1102 is specifically configured to determine a third wireless access point to be roamed from the second wireless access points when it is detected that the communication quality between the terminal and the first wireless access point is less than a communication quality threshold.

[0196] It should be noted that Fig.12 and Fig.13 The units in the system may also be referred to as modules, for example, the sending unit may be referred to as a sending module. Fig.12 and Fig.13 In the illustrated embodiment, the names of the various units may not be the names shown in the figure. For example, the acquisition unit may also be called a communication unit, and the sending unit may also be called a communication unit.

[0197] Fig.12 and Fig.13 If each unit in the embodiment is implemented in the form of a software function module and sold or used as an independent product, it 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. The computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (processor) to perform all or part of the steps of the methods of each embodiment of the present disclosure. The storage medium for storing computer software products includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.

[0198] When the wireless roaming device 100 or the wireless roaming device 110 implements the functions of the integrated modules in the form of hardware, the embodiment of the present disclosure provides a schematic diagram of the structure of an electronic device. Fig.14 As shown, the electronic device 120 includes: a processor 1202 , a communication interface 1203 , and a bus 1204 . Optionally, the electronic device 120 may further include a memory 1201 .

[0199] The processor 1202 may be a processor that implements or executes various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of the present disclosure. The 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 devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of the present disclosure. The 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.

[0200] The communication interface 1203 is used to connect with other devices via a communication network, such as Ethernet, wireless access network, wireless local area network (WLAN), etc.

[0201] The memory 1201 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices 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.

[0202] As a possible implementation, the memory 1201 may exist independently of the processor 1202, and the memory 1201 may be connected to the processor 1202 via a bus 1204 to store instructions or program codes. When the processor 1202 calls and executes the instructions or program codes stored in the memory 1201, the wireless roaming method provided in the embodiment of the present disclosure can be implemented.

[0203] In another possible implementation, the memory 1201 may also be integrated with the processor 1202 .

[0204] The bus 1204 may be an extended industry standard architecture (EISA) bus, etc. The bus 1204 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.14 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0205] 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.

[0206] The embodiment of the present disclosure also provides a computer-readable storage medium. All or part of the processes in the above method embodiments can be completed by computer instructions to instruct related hardware, and the program can be stored in the above computer-readable storage medium. When the program is executed, it can include the processes of the above method embodiments. The computer-readable storage medium can be a memory or memory of any of the above embodiments. The above computer-readable storage medium can also be an external storage device of the above terminal or the first wireless access point, such as a plug-in hard disk, a smart memory card (smartmedia card, SMC), a secure digital (secure digital, SD) card, a flash card (flash card), etc. equipped on the above terminal or the first wireless access point. Further, the above computer-readable storage medium can also include both the internal storage unit of the above terminal or the first wireless access point and an external storage device. The above computer-readable storage medium is used to store the above computer program and other programs and data required by the above terminal or the first wireless access point. The above computer-readable storage medium can also be used to temporarily store data that has been output or is to be output.

[0207] The embodiments of the present disclosure further provide 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.

[0208] Although the present disclosure is described herein in conjunction with various embodiments, in the process of implementing the present disclosure claimed for protection, 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.

[0209] "A" or "an" does not exclude a plurality of cases. 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.

[0210] Although the present disclosure has been described in conjunction with specific features and embodiments thereof, it is 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 exemplary illustrations of the present disclosure as defined by the appended claims, and are deemed to have covered 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, if these modifications and variations of the present disclosure fall within the scope of the claims of the present disclosure and their equivalents, the present disclosure is also intended to include these modifications and variations.

[0211] The above are only specific embodiments of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present disclosure should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. A wireless roaming method, characterized in that: Applied to a terminal, the method comprises: Acquire connection information of a 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 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 second wireless access points; 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, characterized in that: The determining the third wireless access point to be roamed from the second wireless access point includes: 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 second wireless access points.

3. The method according to claim 1, characterized in that 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, characterized in that: The determining the third wireless access point to be roamed from the second wireless access point includes: 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.

5. The method according to claim 1, characterized in that The 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 second wireless access point from the first wireless access point, the method further includes: receiving 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, transmission power, information update time, and signal strength, wherein the load information is used to characterize the number of terminals connected to the fourth wireless access point, and the information update time is used to characterize the active time of the fourth wireless access point; Based on the device information of the fourth wireless access point, determine the second wireless access point that meets the preset condition from the 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, characterized in that The acquiring connection information of the 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 second wireless access point; Receive connection information of the second wireless access point sent by the first wireless access point.

7. The method according to claim 1, characterized in that 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, characterized in that 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, characterized in that: Applied to a first wireless access point, the method comprises: Acquire connection information of a second wireless access point; wherein 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; Sending connection information of the second wireless access point to the terminal.

10. The method according to claim 9, characterized in that The obtaining the connection information of the second wireless access point includes: Sending third request information to the second wireless access point, where the third request information is used to request connection information of the second wireless access point; Receive connection information of the second wireless access point sent by the second wireless access point.

11. The method according to claim 9, characterized in that The 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 obtaining the connection information of the second wireless access point includes: 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, transmission power, information update time, and signal strength, wherein the load information is used to characterize the number of terminals connected to the fourth wireless access point, and the information update time is used to characterize the active time of the fourth wireless access point; Based on the device information of the fourth wireless access point, determining the second wireless access point that meets the preset condition from the 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 second wireless access point.

12. The method according to claim 9, characterized in that Before acquiring the connection information of the second wireless access point, the method further includes: 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, transmission power, information update time, and signal strength, wherein the load information is used to characterize the number of terminals connected to the fourth wireless access point, and the information update time is used to characterize the active time of the fourth wireless access point; Send the device information of the fourth wireless access point to the terminal.

13. The method according to claim 9, characterized in that Before sending the connection information of the 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 second wireless access point.

14. The method according to claim 9, characterized in that After sending the connection information of the 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 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, characterized in that The determining the third wireless access point to be roamed from the second wireless access point includes: 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, characterized in that: include: 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 as described in any one of claims 1-15.

17. A computer-readable storage medium, characterized in that: 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.