Roaming method and device, storage medium

By implementing the roaming method in the router device and determining and controlling the client device to roam to the target BSS, the problem of difficulty in expanding the signal coverage and poor roaming performance in the prior art is solved, and high-performance and highly available wireless roaming is achieved.

CN114554475BActive Publication Date: 2025-04-01BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202210178107.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-25
Publication Date
2025-04-01
Estimated Expiration
2042-02-25

AI Technical Summary

Technical Problem

The prior art has problems such as poor network speed experience, complex configuration, and difficulty in wiring when expanding the coverage of wireless signals, especially in large apartments or multi-story buildings.

Method used

By implementing a roaming method in the router device, responding to the frequency band roaming needs of the client device, the target BSS is determined in multiple candidate basic service sets BSS, and the client device roams to the target BSS, and using multi-frequency in one mode and BSS handover management technology to improve the performance and availability of wireless roaming.

Benefits of technology

The multi-frequency router device controls the client device to roam to the designated target BSS, which improves the performance and availability of wireless roaming, ensuring that the client device basically has no pauses during the roaming process and automatically switches to the optimal frequency band.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114554475B_ABST
    Figure CN114554475B_ABST
Patent Text Reader

Abstract

The present disclosure provides a roaming method, device, and storage medium. The method includes: in response to determining that a client device needs to roam from a first frequency band of the router device to a second frequency band of the router device, determining a target BSS among a plurality of candidate basic service sets BSS belonging to the second frequency band of the router device; and controlling the client device to roam to the target BSS. The present disclosure achieves the purpose of controlling a client device to roam to a specified target BSS by a multi-frequency router device, improves the performance of wireless roaming, and has high availability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] For large apartments or multi-story buildings, a single router cannot cover every corner, and a solution to expand signal coverage is urgently needed. Before the Mesh technology, powerline modems, wireless relays, access controllers (AC) and access points (AP) were used to expand signal coverage, but there were still defects such as poor network speed experience, complex configuration, and high wiring difficulty. Mesh networking has the advantages of configuration synchronization, network self-healing, and seamless roaming, and has been widely used rapidly. Major manufacturers or the Wireless Fidelity (WIFI) Alliance are actively promoting the development of Mesh technology.

[0003] Among them, seamless roaming (Zero-HandoffRoaming) is an important part of the Mesh network. Seamless roaming means that the switching time between APs is controlled in milliseconds. The client device can automatically switch to the basic server (Basic Service Set, BSS) in different frequency bands without almost any pause. Summary of the invention

[0004] In view of this, the present application discloses a roaming method and device, and a storage medium.

[0005] According to a first aspect of an embodiment of the present disclosure, a roaming method is provided, the method being applied to a router device, the method comprising:

[0006] In response to determining that the client device needs to roam from the first frequency band of the router device to the second frequency band of the router device, a target BSS is determined from a plurality of candidate basic service sets BSS belonging to the second frequency band of the router device; and the client device is controlled to roam to the target BSS.

[0007] Optionally, the determining a target BSS from a plurality of candidate basic service sets BSSs in the second frequency band belonging to the router device includes:

[0008] According to at least one of the connection rate, the connection load, and the signal strength, a target BSS is determined from the multiple candidate BSSs according to a predetermined strategy.

[0009] Optionally, the determining the target BSS from the multiple candidate BSSs according to a predetermined strategy includes at least one of the following:

[0010] When the connection rates among the multiple candidate BSSs are not equal, selecting a BSS with the largest connection rate from the multiple candidate BSSs as the target BSS;

[0011] When the connection rates corresponding to the multiple candidate BSSs are equal, the number of connection loads of the multiple candidate BSSs is greater than a predetermined threshold, and the number of connection loads of the multiple candidate BSSs is unequal, selecting a BSS with the smallest number of connection loads from the multiple candidate BSSs as the target BSS;

[0012] When the connection rates corresponding to the multiple candidate BSSs are equal, the number of connection loads of the multiple candidate BSSs is less than the predetermined threshold, and the signal strengths of the multiple candidate BSSs are not equal, selecting the BSS with the largest signal strength from the multiple candidate BSSs as the target BSS;

[0013] When the connection rates corresponding to the multiple candidate BSSs are equal, the number of connection loads of the multiple candidate BSSs is greater than the predetermined threshold and is equal, and the signal strengths of the multiple candidate BSSs are not equal, selecting the BSS with the largest signal strength from the multiple candidate BSSs as the target BSS;

[0014] In a case where the connection rates corresponding to the multiple candidate BSSs are equal, the number of connection loads of the multiple candidate BSSs is less than the predetermined threshold, and the signal strengths of the multiple candidate BSSs are equal, a BSS randomly selected from the multiple candidate BSSs is used as the target BSS;

[0015] When the connection rates corresponding to the multiple candidate BSSs are equal, the number of connection loads of the multiple candidate BSSs is greater than the predetermined threshold and is equal, and the signal strengths of the multiple candidate BSSs are equal, a BSS randomly selected from the multiple candidate BSSs is used as the target BSS.

[0016] Optionally, after determining that the client device needs to roam from the first frequency band to the second frequency band, the method further includes:

[0017] Sending measurement reporting indication information to the client device; wherein the measurement reporting indication information is used to instruct the client device to measure the signal strength of the BSS in the second frequency band belonging to at least one router device, and report the measurement result to the router device;

[0018] Receiving the measurement result reported by the client device;

[0019] Based on the measurement results, the plurality of candidate BSSs are determined.

[0020] Optionally, the measurement result includes at least one of the following:

[0021] BSS information of the second frequency band belonging to at least one router device;

[0022] The signal strength corresponding to each BSS;

[0023] The determining, based on the measurement result, the plurality of candidate BSSs comprises any one of the following:

[0024] In response to determining that the router device is located in a mesh network, determining a plurality of BSSs belonging to the router device included in the measurement result as the plurality of candidate BSSs;

[0025] In response to determining that the router device is not located in the Mesh network, a plurality of BSSs included in the measurement result are determined as the plurality of candidate BSSs.

[0026] Optionally, before determining the target BSS, the method further includes:

[0027] The number of connection loads corresponding to each candidate BSS is obtained from the driver of the router device.

[0028] Optionally, before determining the target BSS, the method further includes:

[0029] Determine the association information negotiated between each of the candidate BSSs and the client device; wherein the association information is information associated with the connection rate of the candidate BSS;

[0030] Based on the correspondence between the association information and the connection rate, the connection rate corresponding to the association information of each candidate BSS is determined.

[0031] According to a second aspect of an embodiment of the present disclosure, a roaming method is provided, the method being applied to a client device, the method comprising:

[0032] Based on the instruction of the router device, roaming is performed from the first frequency band of the router device to the target basic service set BSS in the second frequency band of the router device; wherein the router device supports multiple candidate BSSs in the second frequency band.

[0033] Optionally, before roaming from the first frequency band to the target BSS in the second frequency band, the method further includes:

[0034] Receiving measurement reporting indication information sent by the router device; wherein the measurement reporting indication information is used to instruct the client to measure the signal strength of the BSS in the second frequency band belonging to at least one router device, and report the measurement result to the router device;

[0035] respectively measuring the signal strength between the client and the BSS in the second frequency band belonging to at least one router device, and determining the measurement result;

[0036] Report the measurement result to the router device.

[0037] Optionally, the measurement result includes at least one of the following:

[0038] BSS information of the second frequency band belonging to at least one router device;

[0039] The signal strength corresponding to each BSS.

[0040] According to a third aspect of an embodiment of the present disclosure, a roaming device is provided, the device being applied to a router device, the device comprising:

[0041] A target BSS determination module is used to determine a target BSS from a plurality of candidate basic service set BSSs belonging to the second frequency band of the router device in response to determining that the client device needs to roam from the first frequency band of the router device to the second frequency band of the router device; and a roaming control module is used to control the client device to roam to the target BSS.

[0042] According to a fourth aspect of an embodiment of the present disclosure, a roaming device is provided, the device being applied to a client device, the device comprising:

[0043] A roaming module is used to roam from a first frequency band of the router device to a target basic service set BSS in a second frequency band of the router device based on an instruction of the router device; wherein the router device supports multiple candidate BSSs in the second frequency band.

[0044] According to a fifth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the roaming method described in any one of the above-mentioned router device sides are implemented.

[0045] According to a sixth aspect of an embodiment of the present disclosure, there is provided a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the roaming method described in any one of the above-mentioned client device sides are implemented.

[0046] According to a seventh aspect of an embodiment of the present disclosure, a roaming device is provided, including:

[0047] processor;

[0048] a memory for storing processor-executable instructions;

[0049] The processor is configured to execute the executable instructions to implement the steps of any one of the roaming methods described above on the router device side.

[0050] According to an eighth aspect of an embodiment of the present disclosure, a roaming device is provided, including:

[0051] processor;

[0052] a memory for storing processor-executable instructions;

[0053] The processor is configured to execute the executable instructions to implement the steps of any one of the roaming methods described above on the client device side.

[0054] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:

[0055] In the present disclosure, when the router device determines that the client device needs to roam from the first frequency band of the router device to the second frequency band of the router device, the router device can determine the target BSS from multiple candidate BSSs under the second frequency band of the router device, and then control the client device to roam to the target BSS. The purpose of controlling the client device to roam to the specified target BSS by the multi-frequency router device is achieved, the performance of wireless roaming is improved, and the availability is high.

[0056] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0058] Figure 1 is a flowchart of a roaming method according to an exemplary embodiment of the present disclosure;

[0059] Figure 2 is a flowchart of another roaming method according to an exemplary embodiment of the present disclosure;

[0060] Figure 3 is a flowchart of another roaming method according to an exemplary embodiment of the present disclosure;

[0061] Figure 4 is a flowchart of another roaming method according to an exemplary embodiment of the present disclosure;

[0062] Figure 5 is a flowchart of another roaming method according to an exemplary embodiment of the present disclosure;

[0063] Figure 6 is a flowchart of another roaming method according to an exemplary embodiment of the present disclosure;

[0064] Fig. 7A is a schematic diagram of a roaming scene according to an exemplary embodiment of the present disclosure;

[0065] Figure 7B is a flowchart of another roaming method according to an exemplary embodiment of the present disclosure;

[0066] Figure 7C is a flowchart of another roaming method according to an exemplary embodiment of the present disclosure;

[0067] Figure 8 is a block diagram of a roaming device according to an exemplary embodiment of the present disclosure;

[0068] Fig. 9 is a block diagram of another roaming device according to an exemplary embodiment of the present disclosure;

[0069] Fig.10 is a structural schematic diagram of a roaming device according to an exemplary embodiment of the present disclosure;

[0070] Fig.11 It is a structural schematic diagram of another roaming device according to an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION

[0071] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.

[0072] Currently, for multi-frequency integrated router devices, when a client device roams from one frequency band to another, even if the roamed frequency band supports multiple BSSs, the client device can only randomly roam to one of the BSSs in the frequency band, and there is no way to ensure that the client device roams to a BSS with better performance.

[0073] In order to solve this problem, the present disclosure provides a roaming method, which can control a client device to roam to a target BSS that meets a preset roaming condition, thereby improving the performance of wireless roaming.

[0074] The following first introduces the roaming method provided by the present disclosure from the router device side.

[0075] Reference Figure 1 As shown, Figure 1 FIG. 1 is a flow chart of a roaming method shown in an exemplary embodiment of the present disclosure, and the embodiment is described from the perspective of a router device. Figure 1 As shown, the roaming method includes the following steps:

[0076] In step 101, in response to determining that a client device needs to roam from a first frequency band of the router device to a second frequency band of the router device, a target BSS is determined from a plurality of candidate basic service sets (BSSs) belonging to the second frequency band of the router device.

[0077] In the embodiment of the present disclosure, the router device may be a multi-frequency router device, that is, the router device supports multiple frequency bands and supports multiple candidate BSSs in the second frequency band.

[0078] For example, the router device may be a tri-band router device supporting one 2.4G frequency band and two 5G frequency bands.

[0079] In the embodiments of the present disclosure, the client device includes but is not limited to a smart phone, a tablet computer, a computer, etc. The client device may support multi-band connection, for example, it may be connected to both the 2.4G band and the 5G band.

[0080] In a possible implementation, the frequency of the second frequency band may be higher than the frequency of the first frequency band.

[0081] In a possible implementation manner, the router device may determine the target BSS from multiple candidate BSSs according to a predetermined strategy based on at least one of a connection rate, a signal strength, and a connection load.

[0082] In step 102, the client device is controlled to roam to the target BSS.

[0083] In the disclosed embodiment, the router device may enable the multi-frequency integration mode. Specifically, the WIFI service set identifier (SSID) of the BSS under multiple frequency bands supported by the router device is set to the same SSID, and the corresponding WIFI password is set to the same password.

[0084] After determining the target BSS, the router device can perform BSS Transition Management (BTM) roaming on the target BSS based on the multi-frequency integration mode, and control the client device to roam to the target BSS.

[0085] In the above embodiment, the purpose of controlling the client device to roam to a designated target BSS by the multi-frequency router device is achieved, the performance of wireless roaming is improved, and the availability is high.

[0086] In some optional embodiments, reference Figure 2 As shown, Figure 2 is based on Figure 1 The embodiment shown is a flowchart of another roaming method. This embodiment is described from the router device side. The process of determining in the above step 101 that the client device needs to roam from the first frequency band of the router device to the second frequency band of the router device may include the following steps:

[0087] In step 201, a target parameter value for indicating the communication quality between the client device and the BSS in the first frequency band belonging to the router device is determined.

[0088] In the disclosed embodiment, the target parameter value includes but is not limited to at least one of the following: signal strength; connection rate. The BSS in the first frequency band belonging to the router device can continuously monitor the received signal strength value (RSSI) of the client device, and use the RSSI as the target parameter value. And / or, the BSS in the first frequency band belonging to the router device continuously monitors the connection rate between the client device and the BSS, and uses the connection rate as the target parameter value.

[0089] In step 202, in response to determining that the target parameter value exceeds a corresponding threshold, it is determined that the client device needs to roam from the first frequency band to the second frequency band.

[0090] In the embodiment of the present disclosure, when there are multiple target parameter values, the thresholds corresponding to different target parameters may be different, and the present disclosure does not limit this. For example, RSSI corresponds to a first threshold, and the connection rate corresponds to a second threshold, and the first threshold and the second threshold may be different.

[0091] In the above embodiment, the router device can determine that the client device needs to switch from the first frequency band of the router device to the second frequency band of the router device when the target parameter value exceeds the corresponding threshold value. Furthermore, the target BSS can be determined from multiple candidate basic service sets BSS under the second frequency band belonging to the router device, thereby controlling the client device to roam to the target BSS, which is simple to implement and has high availability.

[0092] In some optional embodiments, in step 101, the router device may determine the target BSS from multiple candidate BSSs according to a predetermined strategy. Specifically, the predetermined strategy may be to determine the target BSS according to the order of the influence of the three influencing factors of connection rate, connection load, and signal strength from high to low.

[0093] Specifically, it may include at least one of the following:

[0094] In the first implementation mode, connection rate is given priority, that is, the connection rate is the factor that has the greatest influence on determining the target BSS.

[0095] The connection rate refers to the connection rate between the candidate BSS and the client device.

[0096] In a possible implementation manner, when the connection rates among the multiple candidate BSSs are unequal, the router device selects a BSS with the largest connection rate from the multiple candidate BSSs as the target BSS.

[0097] In the second implementation mode, the connection rate factor has the highest influence on determining the target BSS, and the connection load has the second highest influence on determining the target BSS.

[0098] The number of connection loads refers to the number of all client devices connected to the candidate BSS.

[0099] In a possible implementation, when the connection rates corresponding to the multiple candidate BSSs are equal, the number of connection loads of the multiple candidate BSSs is greater than a predetermined threshold, and the number of connection loads of the multiple candidate BSSs is not equal, the BSS with the smallest number of connection loads is selected from the multiple candidate BSSs as the target BSS.

[0100] The predetermined threshold may be a positive integer greater than 1, such as 10, which is not limited in the present disclosure.

[0101] For example, the preset load number is 10. Assuming that multiple candidate BSSs include BSS#1 and BSS#2, and their corresponding connection rates are equal, wherein the connection load number corresponding to BSS#1 is 12, and the connection load number corresponding to BSS#2 is 14, the router device can select BSS#1 as the target BSS.

[0102] In the third implementation mode, the connection rate factor has the highest influence on determining the target BSS, the connection load has the second highest influence on determining the target BSS, and the signal strength has the lowest influence on determining the target BSS.

[0103] In a possible implementation, when the connection rates corresponding to the multiple candidate BSSs are equal, the number of connection loads of the multiple candidate BSSs is less than the predetermined threshold, and the signal strengths of the multiple candidate BSSs are not equal, the BSS with the largest signal strength is selected from the multiple candidate BSSs as the target BSS.

[0104] It should be noted that if the connection load data of multiple candidate BSSs are smaller than the predetermined threshold, the influence of the connection load as an influencing factor on the determination of the target BSS can be ignored.

[0105] When the connection rates corresponding to multiple candidate BSSs are equal, the influence of the connection load shadow is ignored, and the signal strengths of multiple candidate BSSs are unequal, the router device can select the BSS with the largest signal strength from the multiple candidate BSSs as the target BSS.

[0106] For example, the preset load number is 10, assuming that multiple candidate BSSs include BSS#1 and BSS#2, and their corresponding connection rates are equal, wherein the connection load number corresponding to BSS#1 is 7, and the connection load number corresponding to BSS#2 is 4. Considering that the connection load number is less than the preset load number, the influence of the connection load factor on the BSS can be ignored. Therefore, when the signal strength value corresponding to BSS#1 is greater than the signal strength value corresponding to BSS#2, BSS#1 can be determined as the target BSS.

[0107] In another possible implementation, when the connection rates corresponding to the multiple candidate BSSs are equal, the number of connection loads of the multiple candidate BSSs is greater than the predetermined threshold and is equal, and the signal strengths of the multiple candidate BSSs are not equal, the BSS with the largest signal strength is selected from the multiple candidate BSSs as the target BSS.

[0108] For another example, the preset load number is 10. Assuming that multiple candidate BSSs include BSS#1 and BSS#2, and their corresponding connection rates are equal, wherein the connection load numbers corresponding to BSS#1 and BSS#2 are equal, both 14, the router device can determine BSS#1 as the target BSS when the signal strength value corresponding to BSS#1 is greater than the signal strength value corresponding to BSS#2.

[0109] In another possible implementation, when the connection rates corresponding to the multiple candidate BSSs are equal, the number of connection loads of the multiple candidate BSSs is less than the predetermined threshold, and the signal strengths of the multiple candidate BSSs are equal, a randomly selected BSS from the multiple candidate BSSs is used as the target BSS.

[0110] When the influence degrees of the above three influencing factors on the determination of the target BSS are substantially the same, the router device may randomly select a BSS from the multiple candidate BSSs as the target BSS.

[0111] For example, the preset load number is 10. Assuming that multiple candidate BSSs include BSS#1 and BSS#2, and the connection rates corresponding to the two are equal and both are the highest, wherein the connection load numbers corresponding to BSS#1 and BSS#2 are 7 and 9 respectively, and the signal strength value corresponding to BSS#1 is equal to the signal strength value corresponding to BSS#2, then the router device can randomly select BSS#1 or BSS#2 as the target BSS.

[0112] In another possible implementation, when the connection rates corresponding to the multiple candidate BSSs are equal, the number of connection loads of the multiple candidate BSSs is greater than the predetermined threshold and is equal, and the signal strengths of the multiple candidate BSSs are equal, a randomly selected BSS from the multiple candidate BSSs is used as the target BSS.

[0113] Similarly, when the influence degrees of the above three influencing factors on the determination of the target BSS are substantially the same, the router device may randomly select a BSS from the multiple candidate BSSs as the target BSS.

[0114] For example, the preset load number is 10. Assuming that multiple candidate BSSs include BSS#1 and BSS#2, and the connection rates corresponding to the two are equal and both are the highest, wherein the connection load numbers corresponding to BSS#1 and BSS#2 are equal, both are 14, and the signal strength value corresponding to BSS#1 is equal to the signal strength value corresponding to BSS#2, then the router device can randomly select BSS#1 or BSS#2 as the target BSS.

[0115] In the above embodiment, the router device can select a target BSS from multiple candidate BSSs in order from high to low according to the influence of different influencing factors on determining the target BSS, so that the client device can roam to a target BSS with higher connection rate, better connection load, and stronger signal strength, thereby improving the effect of wireless roaming and high availability.

[0116] In some optional embodiments, reference Figure 3 As shown, Figure 3 is based on Figure 1 The embodiment shown is a flowchart of another roaming method. This embodiment is described from the router device side. After executing step 101 to determine that the client device needs to roam from the first frequency band to the second frequency band, the method may further include the following steps:

[0117] In step 301, measurement reporting indication information is sent to the client device.

[0118] In the embodiment of the present disclosure, the measurement reporting indication information is used to instruct the client device to measure the signal strength of the BSS in the second frequency band belonging to at least one router device, and report the measurement result to the router device.

[0119] That is, the router device instructs the client device to perform 11k measurement by reporting indication information, and the client device at least supports 11k measurement, wherein the 11k measurement is to measure the signal strength between the client device and the BSS.

[0120] In step 302, the measurement result reported by the client device is received.

[0121] In a possible implementation manner, the measurement result includes at least one of the following: BSS information in the second frequency band belonging to at least one router device; and signal strength corresponding to each BSS.

[0122] In step 303, the plurality of candidate BSSs are determined based on the measurement results.

[0123] In the embodiment of the present disclosure, if it is determined that the router device is located in a Mesh network, the router device may determine the multiple BSSs belonging to the router device included in the measurement result as the multiple candidate BSSs.

[0124] For example, the Mesh network includes two router devices, namely router device #1 and router device #2. Both router devices support one 2.4G frequency band and two 5G frequency bands. Router device #1 sends measurement reporting indication information to the client device, and the measurement results obtained by the client device include: BSS#1 under the 5G frequency band belonging to router device #1, BSS#2 under the 5G frequency band belonging to router device #1, BSS#3 under the 5G frequency band belonging to router device #2, BSS#4 under the 5G frequency band belonging to router device #2, and signal strength values ​​corresponding to BSS#1 to BSS#4 respectively.

[0125] Router device #1 may exclude BSS#3 and BSS#4 and determine only BSS#1 and BSS#2 included in the measurement result as a plurality of candidate BSSs.

[0126] In the embodiment of the present disclosure, if it is determined that the router device is not located in the Mesh network, that is, the router device is a single router device, the multiple BSSs included in the measurement result are determined as the multiple candidate BSSs.

[0127] For example, router device #1 is a single router device, and the measurement results obtained by the client device include BSS#1 under the 5G frequency band, BSS#2 under the 5G frequency band, and the signal strength value corresponding to BSS#1 and the signal strength value corresponding to BSS#2. Then router device #1 can determine all BSSs included in the measurement results as candidate BSSs, that is, determine BSS#1 and BSS#2 as candidate BSSs.

[0128] At the same time, the router device can determine the signal strength value corresponding to each candidate BSS based on the measurement results reported by the client device, and then determine the target BSS from multiple candidate BSSs based on the signal strength as an influencing factor.

[0129] In the embodiment of the present disclosure, after executing 303 to determine a plurality of candidate BSSs, the above step 101 may be continued to be executed to determine a target BSS from the plurality of candidate BSSs.

[0130] In the above embodiment, the router device can determine multiple candidate BSSs based on the measurement results obtained by the terminal performing 11k measurements, so as to subsequently determine the target BSS from the multiple candidate BSSs and control the client device to roam to the target BSS, thereby achieving the purpose of controlling the client device to roam to the specified target BSS by the multi-frequency router device, improving the performance of wireless roaming and having high availability.

[0131] In some optional embodiments, reference Figure 4 As shown, Figure 4 is based on Figure 1The embodiment shown is a flowchart of another roaming method. This embodiment is described from the router device side. Before determining the target BSS in step 101, the method may further include the following steps:

[0132] In step 401, the number of connection loads corresponding to each candidate BSS is obtained from the driver of the router device.

[0133] In the embodiment of the present disclosure, the connection load number refers to the number of client devices accessing each candidate BSS.

[0134] In the above embodiment, the router device can determine the number of connection loads of each candidate BSS, so as to subsequently determine the target BSS based on the connection load as an influencing factor, thereby achieving the purpose of controlling the client device to roam to the target BSS by the multi-frequency router device, improving the performance of wireless roaming, and having high availability.

[0135] In some optional embodiments, reference Figure 5 As shown, Figure 5 is based on Figure 1 The embodiment shown is a flowchart of another roaming method. This embodiment is described from the router device side. Before determining the target BSS in step 101, the method may further include the following steps:

[0136] In step 501, the association information negotiated between each of the candidate BSSs and the client device is determined.

[0137] The associated information is information associated with the connection rate. In a possible implementation, the associated information includes but is not limited to at least one of a physical mode, a frequency band bandwidth, and a spatial stream (nss) between the BSS and the client.

[0138] Among them, the physical mode can be used for any of the following items including but not limited to: high throughput (High Throughput, HT) WIFI4, very high throughput (Very High Throughput, VHT) WIFI5, high efficiency (High Efficency, HE) WIFI6.

[0139] The frequency band bandwidth under the 5G frequency band may include but is not limited to 20 megahertz (MHz), 40 MHz, 60 MHz, 80 MHz, and 160 MHz.

[0140] In step 502, based on the correspondence between the association information and the connection rate, the connection rate corresponding to the association information of each candidate BSS is determined.

[0141] In the embodiment of the present disclosure, the router device may maintain a comparison table between the association information and the connection rate. It should be noted that the connection rate here is a theoretical connection rate.

[0142] The router device may determine the connection rate corresponding to the association information of each candidate BSS based on the corresponding relationship indicated in the comparison table.

[0143] In the above embodiment, the router device can determine the connection rate of each candidate BSS so as to subsequently determine the target BSS based on the connection rate as an influencing factor, thereby achieving the purpose of controlling the client device to roam to the target BSS that meets the preset roaming conditions by the multi-frequency router device, improving the performance of wireless roaming and having high availability.

[0144] Next, the roaming method provided by the present disclosure is introduced from the client device side.

[0145] This embodiment is described from the client device side. The client device includes but is not limited to a smart phone, a tablet computer, a computer, etc. The roaming method includes the following steps:

[0146] In step 604, based on the instruction of the router device, roaming is performed from the first frequency band of the router device to the target basic service set BSS in the second frequency band of the router device.

[0147] In the disclosed embodiment, the client device can support multi-frequency connection, that is, it can connect to BSSs at multiple frequencies. The router device supports multiple candidate BSSs at the second frequency band.

[0148] In the above embodiment, the client device can roam to the target BSS based on the instruction of the router device, thereby achieving the purpose of controlling the client device to roam to the designated target BSS by the multi-frequency router device, improving the performance of wireless roaming and having high availability.

[0149] In some optional embodiments, reference Figure 6 As shown, Figure 6 FIG. 1 is a flow chart of a roaming method shown in an exemplary embodiment of the present disclosure, and the embodiment is described from the perspective of a client device. Figure 6 As shown, before executing step 604, the roaming method may further include the following steps:

[0150] In step 601, measurement reporting indication information sent by the router device is received.

[0151] The measurement reporting indication information is used to instruct the client to measure the signal strength of the BSS in the second frequency band belonging to at least one router device, and report the measurement result to the router device.

[0152] In step 602, the signal strength between the client and the BSS in the second frequency band belonging to at least one router device is measured respectively to determine the measurement result.

[0153] The measurement result includes at least one of the following: BSS information in the second frequency band belonging to at least one router device; and signal strength corresponding to each BSS.

[0154] In step 603, the measurement result is reported to the router device.

[0155] In the above embodiment, the client device can perform 11k measurement based on the measurement reporting indication information sent by the router device, and report the measurement result to the router device so that the router device can determine the target BSS, thereby achieving the purpose of controlling the client device to roam to the specified target BSS by the multi-frequency router device, improving the performance of wireless roaming, and having high availability.

[0156] The roaming method provided by the present disclosure is further illustrated below with examples.

[0157] Reference Fig. 7A As shown, the router device is a tri-band router, supporting one 2.4G band and two 5G bands, and the tri-band mode is turned on, that is, the WIFI service set identifier (SSID) name and WIFI password of the BSS in the three bands are the same. The client has connected to the BSS in the 2.4G band, and the client device supports the 11kv protocol, where 11k is mainly used to measure the signal strength of the BSS, and 11v is mainly used for BTM roaming. The client device supports dual-band connection, that is, it can connect to the 2.4G band and the 5G band.

[0158] Reference Figure 7B As shown, Figure 7B FIG. 1 is a flow chart of another roaming method according to an exemplary embodiment of the present disclosure. The roaming method may include the following steps:

[0159] In step 701 , a router device determines a target parameter value for indicating the communication quality between the client device and the router device.

[0160] In the embodiment of the present disclosure, the BSS of the router device under 2.4G continuously monitors the RSSI and the connection rate of the client device, and uses the RSSI and the connection rate as target parameter values.

[0161] In step 702, in response to determining that the target parameter value exceeds the corresponding threshold, the router device determines that the client device needs to roam from the first frequency band of the router device to the second frequency band of the router device.

[0162] In the disclosed embodiment, the first frequency band is a 2.4G frequency band, and the second frequency band is a 5G frequency band. When the target parameter values ​​exceed the corresponding thresholds, the router device determines that the client device needs to roam from the first frequency band of the router device to the second frequency band of the router device.

[0163] In step 703, the router device sends measurement reporting indication information to the client device.

[0164] The measurement reporting indication information is used to instruct the client device to measure the signal strength of the BSS in the second frequency band belonging to at least one router device, and report the measurement result to the router device.

[0165] The client device measures the signal strength between the client and the BSS in the second frequency band belonging to at least one router device respectively to determine the measurement result.

[0166] The measurement result includes at least one of the following: BSS information in the second frequency band belonging to at least one router device; and signal strength corresponding to each BSS.

[0167] In step 704, the router device receives the measurement result reported by the client device.

[0168] In step 705, the router device determines whether it is located in a Mesh network.

[0169] In the embodiment of the present disclosure, the router device may search for the indication information recorded by itself for indicating whether it is located in the Mesh network, and determine whether it is located in the Mesh network according to the indication information.

[0170] If the router device is located in the Mesh network, continue to execute step 706 ; otherwise, execute step 707 .

[0171] In step 706, the router device determines the multiple BSSs belonging to the router device included in the measurement result as the multiple candidate BSSs.

[0172] In step 707, the router device determines the multiple BSSs included in the measurement result as the multiple candidate BSSs.

[0173] In step 708, the router device obtains the number of connection loads corresponding to each candidate BSS from the driver of the router device.

[0174] In step 709, the router device determines the association information negotiated between each of the candidate BSSs and the client device, and determines the connection rate corresponding to the association information of each of the candidate BSSs based on the correspondence between the association information and the connection rate.

[0175] In step 710, the router device determines a target BSS from a plurality of candidate basic service sets BSS in the second frequency band belonging to the router device.

[0176] The specific determination method is similar to the method of the target BSS in the above embodiment. Figure 7C As shown, the target BSS can be determined based on the three influencing factors of connection rate, connection load and signal strength according to a predetermined strategy, for example, the target BSS can be determined in descending order of the influence of the three influencing factors on the determination of the target BSS. The specific process is similar to the process of determining the target BSS described in the above embodiment, and will not be repeated here.

[0177] In step 711, the router device controls the client device to roam to the target BSS.

[0178] In the above embodiment, the client device can roam to a target BSS with a higher connection rate, a better connection load, and a stronger signal strength, thereby improving the effect of wireless roaming and having high availability.

[0179] Corresponding to the aforementioned application function implementation method embodiment, the present disclosure also provides an application function implementation device embodiment.

[0180] Reference Figure 8 , Figure 8 is a block diagram of a roaming device according to an exemplary embodiment, wherein the device is applied to a router device, and the device includes:

[0181] The target BSS determination module 801 is configured to determine a target BSS from a plurality of candidate basic service set BSSs belonging to the second frequency band of the router device in response to determining that the client device needs to roam from the first frequency band of the router device to the second frequency band of the router device;

[0182] The roaming control module 802 is used to control the client device to roam to the target BSS.

[0183] In some optional embodiments, the target BSS determination module includes:

[0184] The first determination submodule is used to determine the target BSS from the multiple candidate BSSs according to at least one of the connection rate, the connection load, and the signal strength and in accordance with a predetermined strategy.

[0185] In some optional embodiments, the first determining submodule includes at least one of the following:

[0186] A first determining unit, configured to select, when connection rates among the multiple candidate BSSs are not equal, a BSS with the largest connection rate from the multiple candidate BSSs as the target BSS;

[0187] A second determining unit is configured to select a BSS with a minimum number of connection loads from the multiple candidate BSSs as the target BSS when the connection rates corresponding to the multiple candidate BSSs are equal, the number of connection loads of the multiple candidate BSSs is greater than a predetermined threshold, and the number of connection loads of the multiple candidate BSSs are not equal;

[0188] A third determining unit is configured to select the BSS with the largest signal strength from the multiple candidate BSSs as the target BSS when the connection rates corresponding to the multiple candidate BSSs are equal, the number of connection loads of the multiple candidate BSSs is less than the predetermined threshold, and the signal strengths of the multiple candidate BSSs are not equal;

[0189] A fourth determining unit is configured to select the BSS with the largest signal strength from the multiple candidate BSSs as the target BSS when the connection rates corresponding to the multiple candidate BSSs are equal, the number of connection loads of the multiple candidate BSSs is greater than the predetermined threshold and is equal, and the signal strengths of the multiple candidate BSSs are not equal;

[0190] A fifth determining unit, configured to select a randomly selected BSS from the multiple candidate BSSs as the target BSS if the connection rates corresponding to the multiple candidate BSSs are equal, the number of connection loads of the multiple candidate BSSs is less than the predetermined threshold, and the signal strengths of the multiple candidate BSSs are equal;

[0191] A sixth determination unit is configured to select a randomly selected BSS from the multiple candidate BSSs as the target BSS when the connection rates corresponding to the multiple candidate BSSs are equal, the number of connection loads of the multiple candidate BSSs is greater than the predetermined threshold and is equal, and the signal strengths of the multiple candidate BSSs are equal. In some optional embodiments, the device further includes:

[0192] A sending module, configured to send measurement reporting indication information to the client device; wherein the measurement reporting indication information is used to instruct the client device to measure the signal strength of the BSS in the second frequency band belonging to at least one router device, and report the measurement result to the router device;

[0193] A first receiving module, configured to receive the measurement result reported by the client device;

[0194] The candidate BSS determining module is used to determine the multiple candidate BSSs based on the measurement results.

[0195] In some optional embodiments, the measurement result includes at least one of the following:

[0196] BSS information of the second frequency band belonging to at least one router device;

[0197] The signal strength corresponding to each BSS;

[0198] The candidate BSS determination module includes any one of the following:

[0199] A second determining submodule is configured to, in response to determining that the router device is located in a mesh network, determine the multiple BSSs belonging to the router device included in the measurement result as the multiple candidate BSSs;

[0200] The third determining submodule is configured to determine, in response to determining that the router device is not located in the Mesh network, the multiple BSSs included in the measurement result as the multiple candidate BSSs.

[0201] In some optional embodiments, the device further comprises:

[0202] The acquisition module is used to acquire the number of connection loads corresponding to each candidate BSS from the driver of the router device.

[0203] In some optional embodiments, the device further comprises:

[0204] An association information determination module, configured to determine the association information negotiated between each of the candidate BSSs and the client device; wherein the association information is information associated with a connection rate of the candidate BSS;

[0205] The connection rate determination module is used to determine the connection rate corresponding to the association information of each candidate BSS based on the corresponding relationship between the association information and the connection rate.

[0206] Reference Fig. 9 , Fig. 9 is a block diagram of a roaming device according to an exemplary embodiment, wherein the device is applied to a client device, and the device includes:

[0207] The roaming module 901 is used to roam from the first frequency band of the router device to the target basic service set BSS in the second frequency band of the router device based on the instruction of the router device; wherein the router device supports multiple candidate BSSs in the second frequency band.

[0208] In some optional embodiments, the device further comprises:

[0209] A second receiving module, configured to receive measurement reporting indication information sent by the router device; wherein the measurement reporting indication information is used to instruct the client to measure the signal strength of the BSS in the second frequency band belonging to at least one router device, and report the measurement result to the router device;

[0210] A measurement module, configured to respectively measure the signal strength between the client and the BSS in the second frequency band belonging to at least one router device, and determine the measurement result;

[0211] A reporting module is used to report the measurement result to the router device.

[0212] In some optional embodiments, the measurement result includes at least one of the following:

[0213] BSS information of the second frequency band belonging to at least one router device;

[0214] The signal strength corresponding to each BSS.

[0215] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can refer to the partial description of the method embodiments. The device embodiments described above are only schematic, wherein the units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the disclosed solution. A person of ordinary skill in the art may understand and implement it without creative work.

[0216] Accordingly, the present disclosure further provides a computer-readable storage medium for storing a computer program, wherein the computer program is used to implement the steps of any one of the roaming methods described above on the router device side when executed by a processor.

[0217] Accordingly, the present disclosure further provides a computer-readable storage medium for storing a computer program, wherein the computer program is used to implement the steps of any one of the roaming methods described above on the client device side when executed by a processor.

[0218] Accordingly, the present disclosure also provides a roaming device, including:

[0219] processor;

[0220] a memory for storing processor-executable instructions;

[0221] The processor is configured to execute the executable instructions to implement the steps of any one of the roaming methods described above on the router device side.

[0222] like Fig.10 As shown, Fig.10 FIG. 1 is a schematic diagram of a roaming device 1100 according to an exemplary embodiment. The device 1100 may be provided as a router device. Fig.10 The device 1000 includes a processing component 1022, a wireless transmission / reception component 1024, an antenna component 1026, and a signal processing part specific to the wireless interface. The processing component 1022 may further include one or more processors.

[0223] One of the processors in the processing component 1022 may be configured to execute any of the roaming methods described above on the router device side.

[0224] Accordingly, the present disclosure also provides a roaming device, including:

[0225] processor;

[0226] a memory for storing processor-executable instructions;

[0227] The processor is configured to execute the executable instructions to implement the steps of any one of the roaming methods described above on the client device side.

[0228] Fig.11 1 is a block diagram of a nomadic device 1100 according to an exemplary embodiment. For example, the nomadic device 1100 may be a mobile phone, a tablet computer, an e-book reader, a multimedia player, a wearable device, a vehicle-mounted user device, an iPad, a smart TV, or other terminals.

[0229] Reference Fig.11 The nomadic device 1100 may include one or more of the following components: a processing component 1102 , a memory 1104 , a power component 1106 , a multimedia component 1108 , an audio component 1110 , an input / output (I / O) interface 1112 , a sensor component 1116 , and a communication component 1118 .

[0230] The processing component 1102 generally controls the overall operation of the roaming device 1100, such as operations associated with display, phone calls, random access to data, camera operations, and recording operations. The processing component 1102 may include one or more processors 1120 to execute instructions to complete all or part of the steps of the above-mentioned roaming method. In addition, the processing component 1102 may include one or more modules to facilitate the interaction between the processing component 1102 and other components. For example, the processing component 1102 may include a multimedia module to facilitate the interaction between the multimedia component 1108 and the processing component 1102. For another example, the processing component 1102 may read executable instructions from a memory to implement the steps of a roaming method provided in the above-mentioned embodiments.

[0231] The memory 1104 is configured to store various types of data to support the operation of the nomadic device 1100. Examples of such data include instructions for any application or method operating on the nomadic device 1100, contact data, phone book data, messages, pictures, videos, etc. The memory 1104 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0232] The power component 1106 provides power to the various components of the nomadic device 1100. The power component 1106 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the nomadic device 1100.

[0233] The multimedia component 1108 includes a display screen that provides an output interface between the roaming device 1100 and the user. In some embodiments, the multimedia component 1108 includes a front camera and / or a rear camera. When the roaming device 1100 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have a focal length and optical zoom capability.

[0234] The audio component 1110 is configured to output and / or input audio signals. For example, the audio component 1110 includes a microphone (MIC), and when the nomadic device 1100 is in an operation mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 1104 or sent via the communication component 1118. In some embodiments, the audio component 1110 also includes a speaker for outputting audio signals.

[0235] I / O interface 1112 provides an interface between processing component 1102 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0236] The sensor assembly 1116 includes one or more sensors for providing various aspects of status assessment for the nomadic device 1100. For example, the sensor assembly 1116 can detect the open / closed state of the nomadic device 1100, the relative positioning of components, such as the display and keypad of the nomadic device 1100, the sensor assembly 1116 can also detect the position change of the nomadic device 1100 or a component of the nomadic device 1100, the presence or absence of user contact with the nomadic device 1100, the orientation or acceleration / deceleration of the nomadic device 1100, and the temperature change of the nomadic device 1100. The sensor assembly 1116 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 1116 can also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1116 can also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0237] The communication component 1118 is configured to facilitate wired or wireless communication between the roaming device 1100 and other devices. The roaming device 1100 can access a wireless network based on a communication standard, such as Wi-Fi, 2G, 3G, 4G, 5G or 6G, or a combination thereof. In an exemplary embodiment, the communication component 1118 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1118 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0238] In an exemplary embodiment, the roaming device 1100 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to execute any of the roaming methods described above on the terminal side.

[0239] In an exemplary embodiment, a non-transitory machine-readable storage medium including instructions is also provided, such as a memory 1104 including instructions, and the instructions can be executed by the processor 1120 of the roaming device 1100 to complete the above roaming method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0240] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. The terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprises a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0241] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0242] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A roaming method, characterized in that: The method is applied to a router device, and the method comprises: In response to determining that the client device needs to roam from the first frequency band of the router device to the second frequency band of the router device, determining a target BSS from a plurality of candidate basic service sets (BSSs) belonging to the second frequency band of the router device; Controlling the client device to roam to the target BSS; The determining of the target BSS from the multiple BSSs in the second frequency band belonging to the router device includes at least one of the following: In the case where the connection rates among the multiple candidate BSSs are not equal, selecting a BSS with the largest connection rate from the multiple candidate BSSs as the target BSS; the connection rate is used to indicate the connection rate between the candidate BSS and the client device; When the connection rates corresponding to the multiple candidate BSSs are equal, the number of connection loads of the multiple candidate BSSs is greater than a predetermined threshold, and the number of connection loads of the multiple candidate BSSs is unequal, selecting a BSS with the smallest number of connection loads from the multiple candidate BSSs as the target BSS; When the connection rates corresponding to the multiple candidate BSSs are equal, the number of connection loads of the multiple candidate BSSs is less than the predetermined threshold, and the signal strengths of the multiple candidate BSSs are not equal, selecting the BSS with the largest signal strength from the multiple candidate BSSs as the target BSS; the signal strength is used to indicate the signal strength between the candidate BSS and the client device; When the connection rates corresponding to the multiple candidate BSSs are equal, the number of connection loads of the multiple candidate BSSs is greater than the predetermined threshold and is equal, and the signal strengths of the multiple candidate BSSs are not equal, selecting the BSS with the largest signal strength from the multiple candidate BSSs as the target BSS; In a case where the connection rates corresponding to the multiple candidate BSSs are equal, the number of connection loads of the multiple candidate BSSs is less than the predetermined threshold, and the signal strengths of the multiple candidate BSSs are equal, a BSS randomly selected from the multiple candidate BSSs is used as the target BSS; When the connection rates corresponding to the multiple candidate BSSs are equal, the number of connection loads of the multiple candidate BSSs is greater than the predetermined threshold and is equal, and the signal strengths of the multiple candidate BSSs are equal, a BSS randomly selected from the multiple candidate BSSs is used as the target BSS.

2. The method according to claim 1, characterized in that After determining that the client device needs to roam from the first frequency band to the second frequency band, the method further includes: Sending measurement reporting indication information to the client device; wherein the measurement reporting indication information is used to instruct the client device to measure the signal strength of the BSS in the second frequency band belonging to at least one router device, and report the measurement result to the router device; Receiving the measurement result reported by the client device; Based on the measurement results, the plurality of candidate BSSs are determined.

3. The method according to claim 2, characterized in that The measurement result includes at least one of the following: BSS information of the second frequency band belonging to at least one router device; The signal strength corresponding to each BSS; The determining, based on the measurement result, the plurality of candidate BSSs comprises any one of the following: In response to determining that the router device is located in a mesh network, determining a plurality of BSSs belonging to the router device included in the measurement result as the plurality of candidate BSSs; In response to determining that the router device is not located in the Mesh network, a plurality of BSSs included in the measurement result are determined as the plurality of candidate BSSs.

4. The method according to claim 1, characterized in that Before determining the target BSS, the method further includes: The number of connection loads corresponding to each candidate BSS is obtained from the driver of the router device.

5. The method according to claim 1, characterized in that Before determining the target BSS, the method further includes: Determine the association information negotiated between each of the candidate BSSs and the client device; wherein the association information is information associated with the connection rate of the candidate BSS; Based on the correspondence between the association information and the connection rate, the connection rate corresponding to the association information of each candidate BSS is determined.

6. A roaming method, characterized in that: The method is applied to a client device, and the method comprises: Based on the instruction of the router device, roaming from the first frequency band of the router device to the target basic service set BSS under the second frequency band of the router device; The router device supports multiple candidate BSSs in the second frequency band, and the router determines the target BSS from the multiple candidate BSSs based on at least one of the following: In the case where the connection rates among the multiple candidate BSSs are not equal, selecting a BSS with the largest connection rate from the multiple candidate BSSs as the target BSS; the connection rate is used to indicate the connection rate between the candidate BSS and the client device; When the connection rates corresponding to the multiple candidate BSSs are equal, the number of connection loads of the multiple candidate BSSs is greater than a predetermined threshold, and the number of connection loads of the multiple candidate BSSs is unequal, selecting a BSS with the smallest number of connection loads from the multiple candidate BSSs as the target BSS; When the connection rates corresponding to the multiple candidate BSSs are equal, the number of connection loads of the multiple candidate BSSs is less than the predetermined threshold, and the signal strengths of the multiple candidate BSSs are not equal, selecting the BSS with the largest signal strength from the multiple candidate BSSs as the target BSS; the signal strength is used to indicate the signal strength between the candidate BSS and the client device; When the connection rates corresponding to the multiple candidate BSSs are equal, the number of connection loads of the multiple candidate BSSs is greater than the predetermined threshold and is equal, and the signal strengths of the multiple candidate BSSs are not equal, selecting the BSS with the largest signal strength from the multiple candidate BSSs as the target BSS; In a case where the connection rates corresponding to the multiple candidate BSSs are equal, the number of connection loads of the multiple candidate BSSs is less than the predetermined threshold, and the signal strengths of the multiple candidate BSSs are equal, a BSS randomly selected from the multiple candidate BSSs is used as the target BSS; When the connection rates corresponding to the multiple candidate BSSs are equal, the number of connection loads of the multiple candidate BSSs is greater than the predetermined threshold and is equal, and the signal strengths of the multiple candidate BSSs are equal, a BSS randomly selected from the multiple candidate BSSs is used as the target BSS.

7. The method according to claim 6, characterized in that Before roaming from the first frequency band to the target BSS in the second frequency band, the method further includes: Receiving measurement reporting indication information sent by the router device; wherein the measurement reporting indication information is used to instruct the client to measure the signal strength of the BSS in the second frequency band belonging to at least one router device, and report the measurement result to the router device; respectively measuring the signal strength between the client and the BSS in the second frequency band belonging to at least one router device, and determining the measurement result; Report the measurement result to the router device.

8. The method according to claim 7, characterized in that The measurement result includes at least one of the following: BSS information of the second frequency band belonging to at least one router device; The signal strength corresponding to each BSS.

9. A roaming device, characterized in that: The device is applied to a router device, and the device comprises: a target BSS determination module, configured to determine a target BSS from a plurality of candidate basic service set BSSs belonging to the second frequency band of the router device in response to determining that the client device needs to roam from the first frequency band of the router device to the second frequency band of the router device; A roaming control module, used to control the client device to roam to the target BSS; The target BSS determination module, when used to determine the target BSS from a plurality of BSSs in the second frequency band belonging to the router device, includes at least one of the following: In the case where the connection rates among the multiple candidate BSSs are not equal, selecting a BSS with the largest connection rate from the multiple candidate BSSs as the target BSS; the connection rate is used to indicate the connection rate between the candidate BSS and the client device; When the connection rates corresponding to the multiple candidate BSSs are equal, the number of connection loads of the multiple candidate BSSs is greater than a predetermined threshold, and the number of connection loads of the multiple candidate BSSs is unequal, selecting a BSS with the smallest number of connection loads from the multiple candidate BSSs as the target BSS; When the connection rates corresponding to the multiple candidate BSSs are equal, the number of connection loads of the multiple candidate BSSs is less than the predetermined threshold, and the signal strengths of the multiple candidate BSSs are not equal, selecting the BSS with the largest signal strength from the multiple candidate BSSs as the target BSS; the signal strength is used to indicate the signal strength between the candidate BSS and the client device; When the connection rates corresponding to the multiple candidate BSSs are equal, the number of connection loads of the multiple candidate BSSs is greater than the predetermined threshold and is equal, and the signal strengths of the multiple candidate BSSs are not equal, selecting the BSS with the largest signal strength from the multiple candidate BSSs as the target BSS; In a case where the connection rates corresponding to the multiple candidate BSSs are equal, the number of connection loads of the multiple candidate BSSs is less than the predetermined threshold, and the signal strengths of the multiple candidate BSSs are equal, a BSS randomly selected from the multiple candidate BSSs is used as the target BSS; When the connection rates corresponding to the multiple candidate BSSs are equal, the number of connection loads of the multiple candidate BSSs is greater than the predetermined threshold and is equal, and the signal strengths of the multiple candidate BSSs are equal, a BSS randomly selected from the multiple candidate BSSs is used as the target BSS.

10. A roaming device, characterized in that: The device is applied to a client device, and the device comprises: A roaming module, configured to roam from a first frequency band of the router device to a target basic service set BSS under a second frequency band of the router device based on an instruction of the router device; The router device supports multiple candidate BSSs in the second frequency band, and the router determines the target BSS from the multiple candidate BSSs based on at least one of the following: In the case where the connection rates among the multiple candidate BSSs are not equal, selecting a BSS with the largest connection rate from the multiple candidate BSSs as the target BSS; the connection rate is used to indicate the connection rate between the candidate BSS and the client device; When the connection rates corresponding to the multiple candidate BSSs are equal, the number of connection loads of the multiple candidate BSSs is greater than a predetermined threshold, and the number of connection loads of the multiple candidate BSSs is unequal, selecting a BSS with the smallest number of connection loads from the multiple candidate BSSs as the target BSS; When the connection rates corresponding to the multiple candidate BSSs are equal, the number of connection loads of the multiple candidate BSSs is less than the predetermined threshold, and the signal strengths of the multiple candidate BSSs are not equal, selecting the BSS with the largest signal strength from the multiple candidate BSSs as the target BSS; the signal strength is used to indicate the signal strength between the candidate BSS and the client device; When the connection rates corresponding to the multiple candidate BSSs are equal, the number of connection loads of the multiple candidate BSSs is greater than the predetermined threshold and is equal, and the signal strengths of the multiple candidate BSSs are not equal, selecting the BSS with the largest signal strength from the multiple candidate BSSs as the target BSS; In a case where the connection rates corresponding to the multiple candidate BSSs are equal, the number of connection loads of the multiple candidate BSSs is less than the predetermined threshold, and the signal strengths of the multiple candidate BSSs are equal, a BSS randomly selected from the multiple candidate BSSs is used as the target BSS; When the connection rates corresponding to the multiple candidate BSSs are equal, the number of connection loads of the multiple candidate BSSs is greater than the predetermined threshold and is equal, and the signal strengths of the multiple candidate BSSs are equal, a BSS randomly selected from the multiple candidate BSSs is used as the target BSS.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the roaming method according to any one of claims 1 to 5 are implemented.

12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the roaming method described in any one of claims 6 to 8 are implemented.

13. A roaming device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the executable instructions to implement the steps of the roaming method according to any one of claims 1 to 5.

14. A roaming device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the executable instructions to implement the steps of the roaming method described in any one of claims 6 to 8.

Citation Information

Patent Citations

  • Wireless roaming method and device and wireless device

    CN106954225A

  • Co-located basic service sets

    CN111758292A

  • Roaming guiding method, device, equipment, storage medium and system

    CN113453312A

  • Seamlessly switching wireless frequency of a connected network device using a mobile application

    US20220046643A1