Terminal roaming guiding method, device, equipment and computer readable storage medium

文档序号:196642 发布日期:2021-11-02 浏览:20次 中文

阅读说明:本技术 终端漫游引导方法、装置、设备以及计算机可读存储介质 (Terminal roaming guiding method, device, equipment and computer readable storage medium ) 是由 孙福清 马志 白小飞 包德伟 于 2020-04-30 设计创作,主要内容包括:本申请公开了一种终端漫游引导方法、装置、设备以及计算机可读存储介质,属于网络通信技术领域。本方法通过确定终端所支持的引导协议以及第二AP,并基于终端所支持的引导协议,引导该终端由该第一AP漫游至该第二AP,从而可以提高终端漫游的成功率。(The application discloses a terminal roaming guiding method, a device, equipment and a computer readable storage medium, belonging to the technical field of network communication. The method guides the terminal to roam from the first AP to the second AP through determining the guide protocol and the second AP supported by the terminal and based on the guide protocol supported by the terminal, thereby improving the success rate of terminal roaming.)

1. A terminal roaming guiding method is characterized in that the method comprises the following steps:

determining a guiding protocol supported by a terminal, wherein the terminal is accessed to a first Access Point (AP), and the guiding protocol is used for guiding the terminal to roam;

determining a second AP from at least one neighbor AP of the first AP;

and guiding the terminal to roam from the first AP to the second AP based on the guiding protocol.

2. The method of claim 1, wherein the determining a second AP from among the at least one neighbor AP of the first AP comprises:

for any neighbor AP in the at least one neighbor AP, determining the neighbor AP as the second AP when the network condition of the first AP and the network condition of the neighbor AP meet the network condition indicated by the network selection reference information of the terminal;

the network selection reference information is used for indicating a network condition which needs to be met by the first AP and the second AP when the terminal roams.

3. The method of claim 1, wherein the directing the terminal to roam from the first AP to the second AP based on the steering protocol comprises:

and guiding the terminal to roam from the first AP to the second AP based on the parameter value applicable to the terminal by at least one target guiding parameter in the guiding protocol.

4. The method of claim 3, wherein before determining a second AP from the at least one neighbor AP for the first AP, the method further comprises:

generating a roaming guidance behavior characteristic of the terminal based on at least one of the guidance protocol, the parameter value of the at least one target guidance parameter applicable to the terminal, the signal measurement protocol supported by the terminal, and the network selection reference information, wherein the roaming guidance behavior characteristic is used for indicating a behavior characteristic of the terminal during roaming.

5. The method according to claim 4, wherein after the generating the roaming guidance behavior feature of the terminal, the method further comprises:

and determining a roaming opportunity for guiding the terminal to roam based on the roaming guiding behavior characteristics.

6. The method of claim 4, wherein before the generating the roaming guidance behavior feature of the terminal, the method further comprises:

determining at least one of a parameter value for which the at least one target guidance parameter applies to the terminal, the signal measurement protocol, and the network selection reference information.

7. The method of claim 6, wherein the determining the parameter value applicable to the terminal by the at least one target guidance parameter comprises:

when the success rate of guiding the terminal to complete roaming is greater than or equal to a target threshold value based on the target parameter value set of the at least one target guidance parameter, determining a target parameter value of each target guidance parameter in the target parameter value set as a parameter value applicable to the terminal for each target guidance parameter, where the target parameter value set includes the target parameter value of each target guidance parameter in the at least one target guidance parameter.

8. The method according to any of claims 1-7, wherein before sending the roaming guidance instruction to the first access point AP, the method further comprises:

acquiring the motion state of the terminal and/or the service type of the service currently performed by the terminal;

and determining that the terminal needs to roam according to the motion state of the terminal and/or the service type of the service currently performed by the terminal.

9. The method of claim 8, wherein the determining that the terminal needs to roam according to the motion state of the terminal and the service type of the service currently performed by the terminal comprises:

and when the motion state of the terminal indicates that the terminal is far away from the first AP and/or the service type of the current service performed by the terminal is a target service type, determining that the terminal needs to perform roaming.

10. The method according to any of claims 1-9, wherein the method is performed by a control node, and wherein the directing the terminal to roam from the first AP to the second AP based on the steering protocol comprises:

and sending a roaming guiding instruction to the first AP, wherein the roaming guiding instruction is used for instructing the first AP to guide the terminal to roam from the first AP to the second AP based on the guiding protocol.

11. The method of claim 10, wherein the roaming guidance instruction comprises a parameter value applicable to the terminal for at least one target guidance parameter in the guidance protocol.

12. The method of claim 10, wherein before determining a second AP from the at least one neighbor AP of the first AP, the method further comprises:

sending an information acquisition request to the first AP and the at least one neighbor AP, wherein the information acquisition request comprises address information of the terminal and an identifier of a signal measurement protocol supported by the terminal, and the signal measurement protocol is used for measuring signal strength between the AP and the terminal;

and receiving respective network information sent by the first AP and the at least one neighbor AP based on the information acquisition request.

13. The method according to any of claims 1-9, wherein the method is performed by the first AP.

14. The method according to any one of claims 2 to 13, the network selection reference information includes at least one of signal strength reference information, load reference information, band reference information, and bandwidth reference information, wherein the signal strength reference information comprises at least one of a source signal strength threshold, a target signal strength threshold, and a target signal strength difference, the target signal strength threshold is greater than or equal to the source signal strength threshold, the load reference information includes at least one of a target channel utilization, a target channel utilization difference, and a target terminal association number, the frequency band reference information comprises at least one of a target frequency band and a target frequency band interval, and the bandwidth reference information comprises at least one of a target channel bandwidth and a target channel bandwidth interval.

15. The method of claim 14, wherein the network information of an AP comprises at least one of signal strength between the AP and the terminal, channel utilization of the AP, frequency band of the AP, number of terminals associated with the AP, and channel bandwidth of the AP.

16. The method of claim 15, wherein the network condition of the first AP and the network condition of the neighbor AP satisfy the network condition indicated by the network selection reference information when the network condition of the first AP and the network condition of the neighbor AP satisfy at least one of:

the signal strength between the first AP and the terminal is less than or equal to the source signal strength threshold, and/or the signal strength between the neighbor AP and the terminal is greater than or equal to the target signal strength threshold;

the signal strength between the first AP and the terminal is less than or equal to the source signal strength threshold, and the difference between the signal strength between the neighbor AP and the terminal and the signal strength between the first AP and the terminal is greater than or equal to the target signal strength difference;

the channel utilization of the neighbor AP is less than or equal to the target channel utilization;

the signal intensity between the neighbor AP and the terminal is greater than or equal to the signal intensity between the first AP and the terminal, and the difference between the channel utilization rate of the neighbor AP and the channel utilization rate of the first AP is greater than or equal to the target channel utilization rate difference;

the number of the terminals accessed by the neighbor AP is less than or equal to the target terminal association number;

the frequency band of the first AP is less than or equal to the target frequency band, and the frequency band of the neighbor AP is greater than the target frequency band;

the signal intensity between the neighbor AP and the terminal is greater than or equal to the signal intensity between the first AP and the terminal, and the frequency band interval between the frequency band of the neighbor AP and the frequency band of the first AP is greater than or equal to the target frequency band interval;

the channel bandwidth of the first AP is less than or equal to the target channel bandwidth, and the channel bandwidth of the neighbor AP is greater than the target channel bandwidth;

the signal intensity between the neighbor AP and the terminal is greater than or equal to the signal intensity between the first AP and the terminal, and the channel bandwidth interval between the channel bandwidth of the neighbor AP and the channel bandwidth of the first AP is greater than or equal to the target channel bandwidth interval.

17. An apparatus for guiding roaming of a terminal, the apparatus comprising:

a determining module, configured to determine a bootstrap protocol supported by a terminal, where the terminal accesses a first access point AP, and the bootstrap protocol is used to guide the terminal to roam;

the determining module is further configured to determine a second AP from at least one neighbor AP of the first AP;

a guiding module, configured to guide the terminal to roam from the first AP to the second AP based on the guiding protocol.

18. The apparatus of claim 17, wherein the determining module is configured to:

for any neighbor AP in the at least one neighbor AP, determining the neighbor AP as the second AP when the network condition of the first AP and the network condition of the neighbor AP meet the network condition indicated by the network selection reference information of the terminal;

the network selection reference information is used for indicating a network condition which needs to be met by the first AP and the second AP when the terminal roams.

19. The apparatus of claim 17, wherein the guidance module is configured to:

and guiding the terminal to roam from the first AP to the second AP based on the parameter value applicable to the terminal by at least one target guiding parameter in the guiding protocol.

20. The apparatus of claim 19, the apparatus further comprising:

a generating module, configured to generate a roaming guidance behavior feature of the terminal based on at least one of the guidance protocol, a parameter value of the at least one target guidance parameter applicable to the terminal, a signal measurement protocol supported by the terminal, and the network selection reference information, where the roaming guidance behavior feature is used to indicate a behavior feature of the terminal when roaming.

21. The apparatus of claim 20, wherein the determining module is further configured to:

and determining a roaming opportunity for guiding the terminal to roam based on the roaming guiding behavior characteristics.

22. The apparatus of claim 20, wherein the determining module is further configured to:

determining at least one of a parameter value for which the at least one target guidance parameter applies to the terminal, the signal measurement protocol, and the network selection reference information.

23. The apparatus of claim 22, wherein the determining module is configured to:

when the success rate of guiding the terminal to complete roaming is greater than or equal to a target threshold value based on the target parameter value set of the at least one target guidance parameter, determining a target parameter value of each target guidance parameter in the target parameter value set as a parameter value applicable to the terminal for each target guidance parameter, where the target parameter value set includes the target parameter value of each target guidance parameter in the at least one target guidance parameter.

24. The apparatus according to any one of claims 17-23, further comprising:

the acquisition module is used for acquiring the motion state of the terminal and/or the service type of the current service performed by the terminal;

the determining module is further configured to determine that the terminal needs to roam according to the motion state of the terminal and/or the service type of the service currently performed by the terminal.

25. The apparatus of claim 24, wherein the determining module is configured to:

and when the motion state of the terminal indicates that the terminal is far away from the first AP and/or the service type of the current service performed by the terminal is a target service type, determining that the terminal needs to perform roaming.

26. The apparatus according to any of claims 17-25, wherein the apparatus is a control node, and the directing module is configured to:

and sending a roaming guiding instruction to the first AP, wherein the roaming guiding instruction is used for instructing the first AP to guide the terminal to roam from the first AP to the second AP based on the guiding protocol.

27. The apparatus of claim 26, wherein the roaming guidance instruction comprises a parameter value applicable to the terminal for at least one target guidance parameter in the guidance protocol.

28. The apparatus of claim 26, further comprising:

a sending module, configured to send an information acquisition request to the first AP and the at least one neighboring AP, where the information acquisition request includes address information of the terminal and an identifier of a signal measurement protocol supported by the terminal, and the signal measurement protocol is used to measure signal strength between the AP and the terminal;

a receiving module, configured to receive respective network information sent by the first AP and the at least one neighboring AP based on the information acquisition request.

29. The apparatus according to any of claims 17-25, wherein the apparatus is the first AP.

30. The apparatus according to any one of claims 18 to 29, the network selection reference information includes at least one of signal strength reference information, load reference information, band reference information, and bandwidth reference information, wherein the signal strength reference information comprises at least one of a source signal strength threshold, a target signal strength threshold, and a target signal strength difference, the target signal strength threshold is greater than or equal to the source signal strength threshold, the load reference information includes at least one of a target channel utilization, a target channel utilization difference, and a target terminal association number, the frequency band reference information comprises at least one of a target frequency band and a target frequency band interval, and the bandwidth reference information comprises at least one of a target channel bandwidth and a target channel bandwidth interval.

31. The apparatus of claim 30, wherein the network information of an AP comprises at least one of signal strength between the AP and the terminal, channel utilization of the AP, frequency band of the AP, number of terminals associated with the AP, and channel bandwidth of the AP.

32. The apparatus of claim 31, wherein the network condition of the first AP and the network condition of the neighbor AP satisfy the network condition indicated by the network selection reference information when the network condition of the first AP and the network condition of the neighbor AP satisfy at least one of:

the signal strength between the first AP and the terminal is less than or equal to the source signal strength threshold, and/or the signal strength between the neighbor AP and the terminal is greater than or equal to the target signal strength threshold;

the signal strength between the first AP and the terminal is less than or equal to the source signal strength threshold, and the difference between the signal strength between the neighbor AP and the terminal and the signal strength between the first AP and the terminal is greater than or equal to the target signal strength difference;

the channel utilization of the neighbor AP is less than or equal to the target channel utilization;

the signal intensity between the neighbor AP and the terminal is greater than or equal to the signal intensity between the first AP and the terminal, and the difference between the channel utilization rate of the neighbor AP and the channel utilization rate of the first AP is greater than or equal to the target channel utilization rate difference;

the number of the terminals accessed by the neighbor AP is less than or equal to the target terminal association number;

the frequency band of the first AP is less than or equal to the target frequency band, and the frequency band of the neighbor AP is greater than the target frequency band;

the signal intensity between the neighbor AP and the terminal is greater than or equal to the signal intensity between the first AP and the terminal, and the frequency band interval between the frequency band of the neighbor AP and the frequency band of the first AP is greater than or equal to the target frequency band interval;

the channel bandwidth of the first AP is less than or equal to the target channel bandwidth, and the channel bandwidth of the neighbor AP is greater than the target channel bandwidth;

the signal intensity between the neighbor AP and the terminal is greater than or equal to the signal intensity between the first AP and the terminal, and the channel bandwidth interval between the channel bandwidth of the neighbor AP and the channel bandwidth of the first AP is greater than or equal to the target channel bandwidth interval.

33. A control device, characterized in that the control device comprises a processor and a memory, wherein the memory stores at least one instruction, and the instruction is loaded and executed by the processor to implement the operation performed by the terminal roaming guidance method according to any one of claims 1 to 16.

34. A network device, comprising a processor and a memory, wherein the memory stores at least one instruction, and the instruction is loaded and executed by the processor to implement the operation performed by the terminal roaming guidance method according to any one of claims 1 to 16.

35. A computer-readable storage medium, wherein at least one instruction is stored in the storage medium, and the instruction is loaded and executed by a processor to implement the operations performed by the terminal roaming guidance method according to any one of claims 1 to 16.

Technical Field

The present application relates to the field of network communication technologies, and in particular, to a method, an apparatus, a device, and a computer-readable storage medium for guiding terminal roaming.

Background

In a Wireless Local Area Network (WLAN), an Access Point (AP) may actively guide a terminal by using a guidance protocol in a wireless fidelity (WiFi) protocol standard according to a signal strength of the terminal, so as to implement terminal roaming.

Currently, the guiding procedure of terminal roaming may be: for any terminal associated with the AP, when the AP detects that the signal strength of the terminal is low, the AP may attempt to direct the terminal to roam from the AP to a target AP through an Institute of Electrical and Electronics Engineers (IEEE) 802.11v protocol and a de-authentication (deauth) protocol in the WiFi protocol standard. Specifically, the AP may attempt to perform roaming guidance on the terminal through an IEEE 802.11v protocol, and if the terminal roams from the AP to the target AP through the guidance, that is, the terminal disconnects association with the AP and establishes association with the target AP, the terminal roaming is successful, and the guidance is finished; otherwise, the AP guides the terminal roaming again through the IEEE 802.11v protocol; if the guiding fails after three times of roaming guiding through the IEEE 802.11v protocol, the AP can also try to guide the terminal again through the deauth protocol, and the guiding is finished no matter the guiding is successful or fails.

Because the IEEE 802.11v protocol and the deauth protocol are not necessarily the guidance protocols supported by the terminal, in the guidance process of the terminal roaming, guidance failure often occurs, resulting in a low success rate of the terminal roaming.

Disclosure of Invention

The embodiment of the application provides a method, a device and equipment for guiding terminal roaming and a computer readable storage medium, which can improve the success rate of terminal roaming. The technical scheme is as follows:

in a first aspect, a method for guiding terminal roaming is provided, where the method includes:

determining a bootstrap protocol supported by a terminal; determining a second AP from at least one neighbor AP of the first AP; and guiding the terminal to roam from the first AP to the second AP based on the guiding protocol.

The method guides the terminal to roam from the first AP to the second AP through determining the guide protocol and the second AP supported by the terminal and based on the guide protocol supported by the terminal, thereby improving the success rate of terminal roaming.

In one possible implementation, the determining, from among the at least one neighbor AP of the first AP, a second AP includes:

for any neighbor AP in the at least one neighbor AP, determining the neighbor AP as the second AP when the network condition of the first AP and the network condition of the neighbor AP meet the network condition indicated by the network selection reference information of the terminal;

the network selection reference information is used for indicating a network condition which needs to be met by the first AP and the second AP when the terminal roams.

Based on the possible implementation manners, the second AP is determined according to the network condition of the first AP, the network condition of the at least one neighbor AP, and the network selection reference information of the terminal, so that the determined second AP is prevented from being inconsistent with the requirement of the network selection reference information, and the success rate of terminal roaming can be further improved.

In one possible implementation, before the determining the second AP from among the at least one neighbor AP of the first AP, the method further includes:

and acquiring the network information of the first AP and the network information of the at least one neighbor AP, wherein the network information of one AP is used for indicating the network condition of the AP.

In one possible implementation, the obtaining the network information of the first AP and the network information of the at least one neighbor AP includes:

sending an information acquisition request to the first AP and the at least one neighbor AP; receiving respective network information sent by the first AP and the at least one neighbor AP based on the information acquisition request;

and the information acquisition request is used for indicating the AP to return network information to the control node.

In one possible implementation manner, the information acquisition request includes address information of the terminal and an identifier of a signal measurement protocol supported by the terminal, where the signal measurement protocol is used to measure signal strength between an AP and the terminal.

In one possible implementation, the information acquisition request further includes a basic service set identifier BSSID of the first AP and an identification of a channel of the first AP.

In a possible implementation manner, the information acquisition request further includes a target measurement number, where the target measurement number is a number of times that needs to be measured.

In one possible implementation, the directing the terminal to roam from the first AP to the second AP based on the directing protocol includes:

and guiding the terminal to roam from the first AP to the second AP based on the parameter value applicable to the terminal by at least one target guiding parameter in the guiding protocol.

In one possible implementation, before the determining the second AP from among the at least one neighbor AP of the first AP, the method further includes:

generating a roaming guidance behavior characteristic of the terminal based on at least one of the guidance protocol, the parameter value of the at least one target guidance parameter applicable to the terminal, the signal measurement protocol supported by the terminal, and the network selection reference information, wherein the roaming guidance behavior characteristic is used for indicating a behavior characteristic of the terminal during roaming.

In one possible implementation manner, after the generating the roaming guidance behavior feature of the terminal, the method further includes:

and determining a roaming opportunity for guiding the terminal to roam based on the roaming guiding behavior characteristics.

In one possible implementation manner, before the generating the roaming guidance behavior feature of the terminal, the method further includes:

determining at least one of a parameter value for which the at least one target guidance parameter applies to the terminal, the signal measurement protocol, and the network selection reference information.

In one possible implementation manner, the determining a parameter value that the at least one target guidance parameter is applicable to the terminal includes:

when the success rate of guiding the terminal to complete roaming is greater than or equal to a target threshold value based on the target parameter value set of the at least one target guidance parameter, determining a target parameter value of each target guidance parameter in the target parameter value set as a parameter value applicable to the terminal for each target guidance parameter, where the target parameter value set includes the target parameter value of each target guidance parameter in the at least one target guidance parameter.

In one possible implementation manner, before sending the roaming guidance instruction to the first access point AP, the method further includes:

acquiring the motion state of the terminal and/or the service type of the service currently performed by the terminal;

and determining that the terminal needs to roam according to the motion state of the terminal and/or the service type of the service currently performed by the terminal.

In a possible implementation manner, the determining that the terminal needs to roam according to the motion state of the terminal and the service type of the service currently performed by the terminal includes:

and when the motion state of the terminal indicates that the terminal is far away from the first AP and/or the service type of the current service performed by the terminal is a target service type, determining that the terminal needs to perform roaming.

Based on the possible implementation manner, whether the terminal needs to roam is determined according to the motion state of the terminal and the service type of the service currently performed by the terminal, and when the terminal needs to roam, the terminal is guided to roam so as to avoid the influence of the terminal roaming on the service performed by the terminal and provide the experience of a terminal user.

In one possible implementation manner, the execution subject of the method is a control node, and the guiding the terminal to roam from the first AP to the second AP based on the guiding protocol includes:

and sending a roaming guiding instruction to the first AP, wherein the roaming guiding instruction is used for instructing the first AP to guide the terminal to roam from the first AP to the second AP based on the guiding protocol.

In one possible implementation, the roaming guidance instruction includes a parameter value that at least one target guidance parameter in the guidance protocol is applicable to the terminal.

In one possible implementation, the roaming guidance instruction further includes an identification of the second AP, an identification of the guidance protocol, and address information of the terminal.

In one possible implementation, the roaming guidance instruction further includes network information of the second AP.

In one possible implementation, before the determining the second AP from among the at least one neighbor AP of the first AP, the method further includes:

sending an information acquisition request to the first AP and the at least one neighbor AP, wherein the information acquisition request comprises address information of the terminal and an identifier of a signal measurement protocol supported by the terminal, and the signal measurement protocol is used for measuring signal strength between the AP and the terminal;

and receiving respective network information sent by the first AP and the at least one neighbor AP based on the information acquisition request.

In one possible implementation, the execution subject of the method is the first AP.

In one possible implementation, the network selection reference information includes at least one of signal strength reference information, load reference information, frequency band reference information, and bandwidth reference information, where the signal strength reference information includes at least one of a source signal strength threshold, a target signal strength threshold, and a target signal strength difference, the target signal strength threshold is greater than or equal to the source signal strength threshold, the load reference information includes at least one of a target channel utilization, a target channel utilization difference, and a target terminal association number, the frequency band reference information includes at least one of a target frequency band and a target frequency band interval, and the bandwidth reference information includes at least one of a target channel bandwidth and a target channel bandwidth interval.

In one possible implementation, the network information of an AP includes at least one of a signal strength between the AP and the terminal, a channel utilization of the AP, a frequency band of the AP, a number of terminals associated with the AP, and a channel bandwidth of the AP.

In one possible implementation, the network condition of the first AP and the network condition of the neighbor AP satisfy the network condition indicated by the network selection reference information when the network condition of the first AP and the network condition of the neighbor AP satisfy at least one of:

the signal strength between the first AP and the terminal is less than or equal to the source signal strength threshold, and/or the signal strength between the neighbor AP and the terminal is greater than or equal to the target signal strength threshold;

the signal strength between the first AP and the terminal is less than or equal to the source signal strength threshold, and the difference between the signal strength between the neighbor AP and the terminal and the signal strength between the first AP and the terminal is greater than or equal to the target signal strength difference;

the channel utilization of the neighbor AP is less than or equal to the target channel utilization;

the signal intensity between the neighbor AP and the terminal is greater than or equal to the signal intensity between the first AP and the terminal, and the difference between the channel utilization rate of the neighbor AP and the channel utilization rate of the first AP is greater than or equal to the target channel utilization rate difference;

the number of the terminals accessed by the neighbor AP is less than or equal to the target terminal association number;

the frequency band of the first AP is less than or equal to the target frequency band, and the frequency band of the neighbor AP is greater than the target frequency band;

the signal intensity between the neighbor AP and the terminal is greater than or equal to the signal intensity between the first AP and the terminal, and the frequency band interval between the frequency band of the neighbor AP and the frequency band of the first AP is greater than or equal to the target frequency band interval;

the channel bandwidth of the first AP is less than or equal to the target channel bandwidth, and the channel bandwidth of the neighbor AP is greater than the target channel bandwidth;

the signal intensity between the neighbor AP and the terminal is greater than or equal to the signal intensity between the first AP and the terminal, and the channel bandwidth interval between the channel bandwidth of the neighbor AP and the channel bandwidth of the first AP is greater than or equal to the target channel bandwidth interval.

In a second aspect, a terminal roaming guiding apparatus is provided, which is configured to execute the terminal roaming guiding method. Specifically, the terminal roaming guiding apparatus includes a functional module configured to execute the terminal roaming guiding method provided in the first aspect or any optional manner of the first aspect.

In a third aspect, a control device is provided, which includes a processor and a memory, where the memory stores at least one instruction, and the instruction is loaded and executed by the processor to implement the operations performed by the terminal roaming guidance method according to the first aspect or any one of the optional manners of the first aspect.

In a fourth aspect, a network device is provided, which includes a processor and a memory, where the memory stores at least one instruction, and the instruction is loaded and executed by the processor to implement the operations performed by the terminal roaming guidance method according to the first aspect or any one of the alternatives of the first aspect.

In a fifth aspect, a computer-readable storage medium is provided, in which at least one instruction is stored, and the instruction is loaded and executed by a processor to implement the operations performed by the terminal roaming guidance method.

Drawings

In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.

Fig. 1 is a schematic diagram of a terminal roaming guidance system according to an embodiment of the present application;

fig. 2 is a schematic distribution diagram of an AP provided in an embodiment of the present application;

fig. 3 is a schematic structural diagram of a control device provided in an embodiment of the present application;

fig. 4 is a schematic structural diagram of a network device according to an embodiment of the present application;

fig. 5 is a flowchart for acquiring a roaming guidance behavior feature of a terminal according to an embodiment of the present disclosure;

fig. 6 is a flowchart of a method for guiding roaming of a terminal according to an embodiment of the present application;

fig. 7 is a flowchart of a method for guiding roaming of a terminal according to an embodiment of the present application;

fig. 8 is a schematic diagram illustrating comparison of terminal-side signal strength changes during terminal roaming according to an embodiment of the present disclosure;

fig. 9 is a schematic structural diagram of a terminal roaming guidance apparatus according to an embodiment of the present application.

Detailed Description

To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.

Fig. 1 is a schematic diagram of a terminal roaming guidance system according to an embodiment of the present disclosure, and referring to fig. 1, the system 100 includes a plurality of Access Points (APs) 101, a plurality of terminals (STAs) 102, and a control node 103. The system 100 may be covered by a Wireless Local Area Network (WLAN).

Wherein, any AP101 in the plurality of APs 101 is configured to access at least one terminal 102, and may provide network services, such as channels, WiFi signals, etc., for each terminal 102 that is accessed. The AP101 is further configured to measure a signal strength between the AP101 and a terminal 102 accessed in the AP101, and report network information to the control node 103 based on the measured signal strength. The AP101 is further configured to report a motion state of the accessed terminal 102 to the control node 103 and trigger a neighbor AP of the AP101 to report network information of the neighbor AP to the control node. The AP101 is further configured to measure a signal strength between the AP101 and a terminal 102 accessed in a neighboring AP, and report network information to a control node based on the measured signal strength. The AP101 is further configured to receive a roaming guidance instruction issued by the control node 103, and guide a terminal accessed in the AP101 to roam according to the received roaming guidance instruction.

Any terminal 102 of the multiple terminals 102 is configured to measure, according to a signal measurement protocol, a downlink signal sent by the accessed AP101 to obtain a signal strength between the terminal 102 and the accessed AP101, and report the signal strength between the terminal 102 and the accessed AP101 to the AP 101. The terminal 102 is further configured to receive a roaming guidance message issued by the accessed AP, and roam from the currently accessed AP101 to another AP101 based on the roaming guidance message. The terminal 102 may be an electronic device such as a mobile phone, an intelligent wearable device, a tablet computer, and a notebook computer with a WiFi wireless interface.

It should be noted that each AP101 provides WiFi signals with a certain coverage, which may include core coverage and non-core coverage. When a terminal is within the core coverage of an AP101, the signal strength between the terminal and the AP is considered high. When the terminal is far from the core coverage of the AP101 and is in the non-core coverage of the AP, the signal strength between the terminal and the AP is considered to be low. When the signal strength between the terminal and the AP is low to a certain extent, a poor experience is brought to the terminal user, and therefore, when the signal strength between the terminal and another AP is high, the terminal can roam from the currently accessed AP to another AP, and another AP provides a WiFi signal for the terminal, so that the poor experience brought to the terminal user is avoided. For example, fig. 2 is a schematic distribution diagram of an AP provided by the embodiment of the present application, in fig. 2, a terminal STA accesses the AP1 before moving, moves from the core coverage of the AP1 to the core coverage of the AP2, and moves to the core coverage of the AP3 through the core coverage of the AP2, if the terminal is continuously accessed to the AP1 during moving, along with the movement of the terminal, the terminal is far from the core coverage of the AP1, and a transmission distance of a WiFi signal sent by the AP1 increases, so that a signal strength of the WiFi signal reaching the terminal decreases, that is, the signal becomes worse, a data transmission rate decreases, and therefore, along with the movement of the terminal, the signal strength between the terminal and the AP1 decreases from 54Mbps to 24 Mbps. When the terminal enters the core coverage area of the AP3, the signal strength between the terminal and the AP3 is high, and if the terminal disconnects the wireless connection with the AP1 and accesses the AP3, that is, the terminal roams from the AP1 to the AP3, the AP3 provides a WiFi signal for the terminal, and since the signal strength of the WiFi signal provided by the AP3 is high, the poor experience brought to the terminal user can be avoided.

The control node 103 is configured to generate various roaming guidance behavior characteristics of the terminal 102, where the roaming guidance behavior characteristics are used to indicate behavior characteristics of the terminal 102 during roaming. For any terminal 102, the control node 103 is further configured to determine whether the terminal 102 needs to roam according to the motion state of the terminal 102, when the terminal 102 needs to roam, the control node 103 may further determine whether the terminal can roam based on guidance according to the roaming guidance behavior feature, the network information of the AP currently accessed by the terminal 102, and the network information of at least one neighbor AP of the AP currently accessed by the terminal 102, and if the terminal can roam based on guidance, the control node 103 may issue a roaming guidance instruction to the AP currently accessed by the terminal 102. The control node may be a server, which may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing cloud computing services.

It should be noted that, in a possible implementation manner, all or part of the functions of the control node 103 may also be implemented on the AP101, for example, the control node 103 is only responsible for generating roaming guiding behavior features of various terminals 102, and issues the roaming guiding behavior features of various terminals 102 to each AP101, and the AP101 determines whether the terminal 102 needs to roam according to the motion state of the terminal 102 to which the AP101 accesses, and when the terminal 102 needs to roam, the AP101 may further determine whether the terminal 102 can roam based on the guiding (that is, determine whether the terminal 120 can receive the guiding) according to the roaming guiding behavior features of the terminal 102, the network information of the AP, and the network information of at least one neighboring AP, and if the terminal can roam based on the guiding, the AP101 may send a roaming guiding message to the terminal 102 to guide the terminal 102 to roam.

The control node may be the control device shown in fig. 3, where fig. 3 is a schematic structural diagram of a control device provided in this embodiment of the present application, and the control device 300 includes a relatively large difference that may occur due to different configurations or performances, and may include one or more processors (CPUs) 301 and one or more memories 302, where the memories 302 store at least one instruction, and the at least one instruction is loaded and executed by the processors 301 to implement steps performed by the control node in the methods provided in the following method embodiments. Of course, the control device 300 may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input and output, and the control device 300 may also include other components for implementing device functions, which are not described herein.

The AP may be the network device shown in fig. 4, fig. 4 is a schematic structural diagram of a network device provided in this embodiment, where the network device 400 includes a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 401 and one or more memories 402, where the memories 402 store at least one instruction, and the at least one instruction is loaded and executed by the processors 401 to implement the steps performed by the AP in the methods provided in the following method embodiments. Of course, the network device 400 may also have a wired or wireless network interface 403, and may also have components such as an input/output interface, so as to perform input/output, and the network device 400 may also include other components for implementing device functions, which are not described herein again.

In an exemplary embodiment, a computer-readable storage medium, such as a memory, including instructions executable by a processor in a control device or a network device to perform a terminal roaming guidance method in the following embodiments is also provided. For example, the computer-readable storage medium may be a read-only memory (ROM), a Random Access Memory (RAM), a compact disc-read-only memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.

Before the control node performs roaming guidance on the terminal, the control node may first acquire roaming guidance behavior characteristics of a plurality of terminals, where the roaming guidance behavior characteristics of the terminal are used to indicate behavior characteristics of the terminal during roaming. For example, what guidance protocols are supported by the terminal, what signal measurement protocols are supported, and what requirements are required for the network condition when the terminal roams, so that the subsequent control node can guide the corresponding terminal to roam according to the roaming behavior characteristics of each terminal. Referring to fig. 5, a flowchart for acquiring a roaming guidance behavior feature of a terminal is provided according to an embodiment of the present application.

501. The control node determines the bootstrapping protocol supported by the terminal.

The terminal is any terminal, the bootstrap protocol supported by the terminal may be a standard bootstrap protocol, such as an IEEE 802.11v protocol, a deauth protocol, and a Channel Switch Announcement (CSA) protocol, and of course, the terminal may also support a non-standard bootstrap protocol, such as a bootstrap protocol in hua proprietary protocol (huawei Hilink). Different terminals may have different or the same bootstrap protocols, and the embodiment of the present application does not specifically limit the bootstrap protocols supported by the terminals.

The technical staff can test the guidance protocol supported by the terminal to obtain the guidance protocol supported by the terminal, when the technical staff determines the guidance protocol supported by the terminal, the identifier of the guidance protocol supported by the terminal can be input into the roaming guidance behavior characteristic generation interface of the control node, and when the control node detects that the technical staff uploads the identifier of the guidance protocol supported by the terminal on the interface, the control node can be triggered to obtain the identifier of the guidance protocol supported by the terminal uploaded by the technical staff, so that the control node can determine the guidance protocol supported by the terminal according to the uploaded identifier of the guidance protocol.

502. The control node determines that at least one target guidance parameter in the guidance protocol is applicable to at least one of a parameter value of the terminal, a signal measurement protocol supported by the terminal, and network selection reference information of the terminal.

The at least one target guidance parameter is a guidance parameter designated by the terminal when roaming is performed based on a guidance protocol supported by the terminal, the at least one target guidance parameter in different guidance protocols may be the same or different, different terminals supporting the same guidance protocol may have different target guidance parameters or the same target guidance parameter when receiving guidance roaming, and a parameter value adapted to different terminals for the same target guidance parameter may be the same or different. For example, the samsung galaxy series 9 handset supports the IEEE 802.11v bootstrap protocol and requires that the bootstrap parameter a (target bootstrap parameter) in the IEEE 802.11v bootstrap protocol be a non-0 value, while the hua shi (huawei) p30 pro also supports the IEEE 802.11v bootstrap protocol and requires that the bootstrap parameter a in the IEEE 802.11v bootstrap protocol be 0. For another example, the abridd in the abridd field in the IEEE 802.11v bootstrap protocol is used to record the priority, and is a target bootstrap parameter, and for terminal a, when the abridd is 1, the success rate of bootstrapping terminal a to complete roaming is higher, and 1 is that the abridd parameter adapts to the parameter value for terminal a. For terminal B, terminal B does not parse the abridd field when accepting guided roaming, and abridd cannot be used as the target guidance parameter of terminal B. For another example, the parameter in the Disassociation time (Disassociation Timer) field in the IEEE 802.11v bootstrap protocol is Disassociation establishment, the parameter in the Disassociation Timer field is Disassociation Timer, these two fields can be used as a combination to indicate that the terminal roams within the time specified by the Disassociation Timer, the Disassociation Timer and the Disassociation Timer can be used as one target bootstrap parameter, respectively, terminal C requires that terminal C roams at the time specified by the Disassociation Timer when the Disassociation establishment is 1 and the Disassociation Timer is not 0, so that terminal D does not care about the parameter value that the Disassociation establishment is applicable to terminal C, and the roaming 0 value is applicable to terminal C, but terminal D does not care about the parameter value that the Disassociation Timer and the Disassociation Timer are specifically applicable to terminal D, and thus terminal D can take the value of association Timer and Disassociation Timer as the parameter value of association Timer. Of course, in some guidance protocols, there may be no target guidance parameter, and at this time, the control node does not need to determine that at least one target guidance parameter in the guidance protocols is adapted to the parameter value of the terminal, and the embodiment of the present application does not specifically limit whether the guidance protocol supported by the terminal has the at least one target guidance parameter, which target guidance parameters are included, and the parameter value of each target guidance parameter adapted to the terminal.

The parameter value of the at least one target guidance parameter suitable for the terminal is an optimal parameter value combination set for the at least one target guidance parameter by the terminal roaming, in a possible implementation manner, the technician may set a plurality of target parameter value sets for the at least one target guidance parameter, each target parameter value set includes a target parameter value of each target guidance parameter in the at least one target guidance parameter, and a group of parameter value combinations corresponding to the at least one target guidance parameter, and the technician may direct the terminal to perform a plurality of roams based on each target parameter value set, to obtain a roaming result of the plurality of roams, the roaming result of each roam is used to indicate whether the roaming performed by the terminal is successful or not, therefore, the success rate of guiding the terminal to finish roaming based on each target parameter value set is obtained based on the roaming result of multiple roaming. When the success rate of guiding the terminal to complete roaming is greater than or equal to the target threshold based on one target parameter value set of the at least one target guidance parameter, the control node may determine the target parameter value of each target guidance parameter in the target parameter value set as a parameter value for which each target guidance parameter is applicable to the terminal.

After determining that the at least one target guiding parameter is adapted to the parameter value of the terminal, so that the control node may subsequently guide the terminal to roam from the first AP to the second AP based on the parameter value of the terminal to which the at least one target guiding parameter is adapted, please refer to the process shown in fig. 6.

The signal measurement protocol supported by the terminal is used for measuring the signal strength between the terminal and the AP, the signal strength between the terminal and the AP is used for indicating the signal quality of the downlink signal received by the terminal from the AP, and the signal measurement protocol is also a link signal quality measurement protocol supported by the terminal. The signal measurement protocols supported by different terminals may be different, for example, the downlink signal measurement mode supported by the huawei p30 pro is received channel power parameter (RCPI) -802.11 k-radio link measurement (radio link measurement), where 802.11k is the signal measurement protocol; the downlink signal measurement mode supported by the huawei mate 10pro is link margin (link margin) -802.11 h-Transmission Power Control (TPC); the huawei mate 20pro supports the signal measurement protocol in huawei Hilink.

The network selection reference information is used for indicating network conditions which need to be met by a first AP currently accessed by the terminal and a second AP to be accessed by the terminal when the terminal roams. The network selection reference information can also be regarded as a roaming network condition built in the terminal, and the subsequent control node can determine whether the terminal can accept roaming guidance according to the network selection information so as to improve the success rate of guiding the terminal roaming. Some terminals only have a requirement on the signal strength when roaming, some terminals only have a requirement on the load condition of the second AP when roaming, some terminals only have a requirement on the frequency band and/or the channel bandwidth of the second AP when roaming, and some terminals both have a requirement on the signal strength and the load condition of the second AP when roaming, and also have a requirement on the frequency band and/or the channel bandwidth of the second AP, so the network selection reference information may include at least one of signal strength reference information, load reference information, frequency band reference information, and bandwidth reference information.

The signal strength reference information is used for indicating the requirements of the terminal on the signal strength between the terminal and the first AP and the signal strength between the terminal and the second AP when the terminal roams. Regarding the requirement for signal strength, some terminals only require the signal strength with the first AP terminal when roaming, while some terminals only require signal strength with the second AP, some terminals require both signal strength with the first AP terminal and signal strength with the second AP, and therefore, the signal strength reference information may include at least one of a source signal strength threshold value, a target signal strength threshold value and a target signal strength difference value, the target signal strength threshold is greater than or equal to the source signal strength threshold, the source signal strength threshold being the lowest signal strength between the first AP and the terminal required for terminal roaming, the target signal strength threshold is the lowest signal strength between the second AP and the terminal required for roaming of the terminal, and the target signal strength difference may be the difference between the target signal strength threshold and the source signal strength threshold.

The load reference information is used for indicating the requirement of the terminal on the load condition of the second AP when the terminal roams. Regarding the requirement for the load condition of the second AP, some terminals only require the channel utilization of the second AP when roaming, and some terminals only require the number of terminals accessed by the second AP, and some terminals both require the channel utilization of the second AP and also require the number of terminals accessed by the second AP, so the load reference information may include at least one of a target channel utilization, a target channel utilization difference, and a target terminal association number, where the target channel utilization is the highest channel utilization of the second AP when the terminal roams, the target channel utilization may be the channel utilization measured by the second AP itself, and the target channel utilization may also be the channel utilization of the second AP measured by the terminal. The target channel utilization difference may be a difference between the target channel utilization and a channel utilization of the first AP. The target terminal association number is the maximum number of terminals accessed by the second AP when the terminal roams.

The frequency band reference information indicates the requirement of a terminal on the frequency band of a second AP during roaming of the terminal, and as to the requirement on the frequency band of the second AP, some terminals only have requirements on the frequency band of the second AP during roaming, and some terminals only have requirements on the frequency band interval between the frequency band of the first AP and the frequency band of the second AP, so that the frequency band reference information can comprise at least one of a target frequency band and a target frequency band interval, wherein the target frequency band is the minimum frequency band of the second AP during roaming of the terminal, and the target frequency band interval is the frequency band interval between the frequency band of the second AP and the frequency band of the first AP during roaming of the terminal.

The bandwidth reference information indicates a requirement of a terminal on a channel bandwidth of a second AP when the terminal roams, and regarding the requirement on the channel bandwidth of the second AP, some terminals only require the channel bandwidth of the second AP when the terminal roams, and some terminals only require a channel bandwidth interval between the channel bandwidth of the first AP and the channel bandwidth of the second AP, so that the bandwidth reference information may include at least one of a target channel bandwidth and a target channel bandwidth interval, where the target channel bandwidth is a minimum channel bandwidth that the second AP can when the terminal roams, and the target channel bandwidth interval is a channel bandwidth interval between the channel bandwidth of the second AP and the channel bandwidth of the first AP when the terminal roams.

If the terminal roams, the terminal may not receive the WiFi signal during the time period when the terminal is disconnected from the first AP and has not yet accessed the second AP (i.e., during roaming), during which the terminal may suspend ongoing traffic of the terminal. Some services are less affected by terminal roaming, for example, a service for downloading data may suspend downloading data temporarily during roaming, and continue downloading after roaming is completed without affecting the content of the downloaded data. However, some services are influenced by terminal roaming more greatly, for example, a video session may be blocked during roaming, and the experience of a terminal user will be influenced seriously, so that the control node can determine which services are influenced less by terminal roaming, which services are influenced more by terminal roaming, and determine the services influenced less by terminal roaming as target services according to the service requirements of the terminal user on different services. Since the influence of terminal roaming on the target service is small, the terminal is allowed to roam when executing the target service, and since the influence of terminal roaming on the non-target service is large, the terminal may not be allowed to roam when executing the non-target service, therefore, the network selection reference information may include the target service type, which may be the service type of the target service, wherein the target service is also a service less influenced by terminal roaming.

In a possible implementation manner, when the network traffic required by the service of the terminal is less than or equal to the traffic threshold, the control node may determine that the service is the target service, and when the network traffic required by the service is greater than the traffic threshold, the control node may determine that the service is the non-target service, and therefore, the target service type in the network selection reference information may also be replaced by the traffic threshold.

The technical staff can also obtain a parameter value of at least one target guidance parameter applicable to the terminal in the guidance protocol supported by the terminal in the process of testing the guidance protocol supported by the terminal, and the technical staff can also test the terminal to obtain a signal measurement protocol supported by the terminal and the network selection reference information. After determining at least one of a guidance protocol supported by the terminal, a parameter value of the terminal to which the at least one target guidance parameter in the guidance protocol supported by the terminal is applicable, a signal measurement protocol supported by the terminal, and the network selection reference information, a technician may upload at least one of an identifier of the guidance protocol supported by the terminal, a parameter value of the terminal to which the at least one target guidance parameter in the guidance protocol supported by the terminal is applicable, an identifier of the signal measurement protocol supported by the terminal, and the network selection reference information on a roaming guidance behavior feature generation interface of the control node; when the control node detects at least one of an identifier of a guidance protocol supported by the terminal, a parameter value of a guidance protocol supported by the terminal, an identifier of a signal measurement protocol supported by the terminal, and the network selection reference information, which are uploaded by a technician on the interface, the control node may be triggered to acquire at least one of the identifier of the guidance protocol supported by the terminal, the parameter value of the guidance protocol supported by the terminal, the identifier of the signal measurement protocol supported by the terminal, and the network selection reference information, which are uploaded by the technician, so that the control node may determine, according to the contents uploaded by the technician, the parameter value of the guidance protocol supported by the terminal, the parameter value of the at least one target guidance parameter supported by the terminal, the parameter value of the signal measurement protocol supported by the terminal, the parameter value of the network selection reference information, At least one of a signal measurement protocol supported by the terminal and the network selection reference information.

503. The control node generates a roaming guiding behavior characteristic of the terminal based on at least one of the guiding protocol, a parameter value of the terminal to which at least one target guiding parameter in the guiding protocol is applicable, the signal measurement protocol and the network selection reference information, wherein the roaming guiding behavior characteristic is used for indicating a behavior characteristic of the terminal during roaming.

The control node may combine the identifier of the bootstrap protocol, the parameter value, the identifier of the signal measurement protocol, the network selection reference information, and the identifier of the terminal into a roaming bootstrap behavior feature of the terminal, so as to indicate a behavior feature of the terminal when roaming. The identifier of the terminal may include at least one of a Media Access Control (MAC) address of the terminal, a type identifier of the terminal, a system version identifier of the terminal, and a manufacturer version identifier of the terminal, where the type identifier of the terminal is used to indicate a type of the terminal, such as whether the terminal is a smart phone or a laptop, the type identifier of the terminal is used to identify a type of the terminal, such as whether the terminal is a cellular phone of the huawei p30 pro type or a cellular phone of the honor 10 type, the system version identifier of the terminal is used to indicate a version of a system used by the terminal, such as Android (Android)10, and the manufacturer version identifier of the terminal is used to indicate a manufacturer version of the terminal, such as an emotional user interface (EUMI) 10.

It should be noted that, for any terminal, the control node may obtain the roaming guidance behavior feature of the terminal based on the process shown in the above step 501 and 503, therefore, the control node may obtain the roaming guidance behavior features of multiple terminals, and whenever the control node obtains the roaming guidance behavior feature of one terminal, the control node may further store the roaming guidance behavior feature obtained for the terminal, so that the control node may subsequently determine the roaming timing for guiding the terminal to roam based on the roaming guidance behavior feature of the terminal. In a possible implementation manner, the control node may further issue roaming guiding behavior features of multiple terminals to each AP in the terminal roaming guiding system, so that each AP may also determine a roaming timing for guiding the respective access terminal to roam based on the roaming guiding behavior feature of the respective access terminal, so as to guide the respective access terminal to roam at an appropriate roaming timing.

The process shown in step 501 and 503 is a process in which the control node obtains the roaming guidance behavior characteristics of the terminal in an offline manner, and in a possible implementation manner, the control node may also learn the roaming guidance behavior characteristics of each terminal on line based on an Artificial Intelligence (AI) model.

For further explaining the process of the control node guiding the terminal to roam according to the roaming guiding behavior feature of the terminal, refer to a flowchart of a terminal roaming guiding method provided in the embodiment of the present application as shown in fig. 6.

601. The control node acquires the motion state of the terminal and/or the service type of the service currently performed by the terminal.

The terminal is any terminal, and the control node can determine the motion state of the terminal according to the moving speed and the moving direction reported by the terminal. The motion state of the terminal may include a moving speed and a moving direction, where the moving speed and the moving direction of the terminal may be used to indicate whether the terminal is stationary or moving, and if the moving speed is 0, the terminal is stationary, and if the moving speed is not 0, the terminal is moving, and if the moving speed is not 0, and the moving direction of the terminal points to a first AP to which the terminal accesses, the terminal is approaching to the first AP, and if the moving speed is not 0, and the moving direction of the terminal is opposite to the direction in which the first AP is located, the terminal is departing from the first AP. Of course, the control node may also predict the moving route of the terminal and the APs through which the moving route passes according to the moving speed and moving direction of the terminal.

In the target time period, the control node may further receive the signal strength between the first AP and the terminal, which is reported by the first AP for multiple times, and determine the motion state of the terminal according to the change trend of the signal strength between the first AP and the terminal, which is reported for multiple times, where the motion state of the terminal may include the change trend of the signal strength between the first AP and the terminal, which is reported for multiple times. If the signal strength between the first AP and the terminal that are reported for multiple times is larger and larger, it indicates that the terminal is approaching the first AP, and if the signal strength between the first AP and the terminal that are reported for multiple times is smaller and smaller, it indicates that the terminal is moving away from the first AP, and if the difference between the signal strength between the first AP and the terminal that are reported for multiple times is smaller than or equal to a target threshold, it may be considered that the terminal is stationary.

It should be noted that, before executing this step 601, the control node may also issue roaming guidance behavior characteristics of each terminal to each AP in the terminal roaming guidance system, so that each AP may determine, according to the roaming guidance behavior characteristics of each terminal, a signal measurement protocol supported by each terminal; or the control node may only issue the identifier of the signal measurement protocol supported by each terminal to each AP, so that each AP may periodically measure the signal strength between each AP and the accessed terminal according to the signal measurement protocol supported by the accessed terminal, and report the signal strength between each AP and the accessed terminal to the control node, so that the control node may obtain the signal strength of the terminal accessed by each AP in the target time period.

The control node may also detect a service packet in a service currently performed by the terminal to obtain whether the service type of the service is a target service type. The control node may also determine the service type of the terminal according to the network traffic consumed by the service, where the process of determining the service type of the terminal by the control node according to the network traffic consumed by the service is described in step 502, and details of this embodiment of the present application are not repeated.

602. And the control node determines that the terminal needs to roam according to the motion state of the terminal and/or the service type of the service currently performed by the terminal.

When the terminal is far away from the first AP, the signal strength between the first AP and the terminal may be weakened, so that the terminal needs to roam at this time in order to avoid bringing bad experience to the terminal user. If the terminal is performing real-time service, the terminal roaming may affect the real-time service performed by the terminal, and the terminal does not need to roam at this time. In a possible implementation manner, when the motion state of the terminal indicates that the terminal is away from the first AP, and/or the service type of the service currently performed by the terminal is the target service type, the control node determines that the terminal needs to perform roaming, otherwise, determines that the terminal does not need to perform roaming. For example, the control node determines that the terminal needs to roam as long as the motion state of the terminal indicates that the terminal is moving away from the first AP. For another example, as long as the service type of the service currently performed by the terminal is the target service type, the control node determines that the terminal needs to perform roaming. For another example, the control node may determine that the terminal needs to roam only when the motion state of the terminal indicates that the terminal is away from the first AP and the service type of the service currently performed by the terminal is the target service type.

When the terminal needs to roam, the control node may guide the terminal to roam in the following process shown in step 603-.

603. The control node acquires network information of a first AP and network information of at least one neighbor AP of the first AP, and the network information of one AP is used for indicating the network condition of the AP.

The network information of an AP may include at least one of a signal strength between the AP and the terminal, a channel utilization of the AP, a frequency band of the AP, a number of terminals associated with the AP, and a channel bandwidth of the AP. For any AP in the first AP and the second AP, the content included in the network information of the any AP may correspond to the content of the network selection reference information of the terminal, if the network selection reference information of the terminal only includes the signal strength reference information, the network information of the any AP may only include the signal strength between the any AP and the terminal, and if the network selection reference information of the terminal includes the signal strength reference information and the frequency band reference information, the network information of the any AP at least includes the signal strength between the any AP and the terminal and the frequency band of the any AP.

The control node may trigger the first AP and the at least one neighbor AP to report respective network information by issuing an instruction to the first AP and the at least one neighbor AP. In one possible implementation, this step 603 can be implemented by the process shown in steps 6031-6036 described below.

Step 6031, the control node sends an information acquisition request to the first AP and the at least one neighboring AP, where the information acquisition request is used to instruct the AP to return network information to the control node.

The information acquisition request may include address information of the terminal and an identification of a signal measurement protocol supported by the terminal, the signal measurement protocol being used to measure signal strength between the AP and the terminal. The information acquisition request may further include a target measurement number, which is the number of times that the measurement is required. The information acquisition request may further include a Basic Service Set Identifier (BSSID) of the first AP and an identification of a channel of the first AP. In one possible implementation, since the first AP knows its BSSID and channel, the information acquisition request sent by the control node to the first AP may not include the BSSID of the first AP and the identification of the channel of the first AP, so as to reduce the data amount of the information acquisition request, and since the neighbor APs do not know the BSSID of the first AP and the channel of the first AP, the information acquisition request sent by the control node to the at least one neighbor AP may further include the BSSID of the first AP and the identification of the channel of the first AP, so that the neighbor AP may pretend that the first AP measures the signal strength between the neighbor AP and the terminal according to the BSSID of the first AP and the identification of the channel of the first AP, specifically refer to the procedure of measuring the signal strength between the neighbor AP and the terminal in step 6035 described below.

The control node may determine at least one neighbor AP of the first AP according to the location information of the first AP, where the location information of the first AP is used to indicate a location where the first AP is located, and a distance between the at least one neighbor AP and the first AP is less than or equal to a preset distance. Or the control node may further use the predicted at least one AP passed through on the moving path of the terminal as at least one neighbor AP of the first AP.

Step 6032, the first AP receives the information acquisition request.

Step 6033, the first AP sends the network information of the first AP to the control node based on the information obtaining request.

After receiving the information acquisition request, the first AP may determine the terminal to be measured according to the address information of the terminal in the received information acquisition request, and determine the signal measurement protocol supported by the terminal to be measured according to the identifier of the signal measurement protocol supported by the terminal in the received information acquisition request. The first AP may also measure the signal strength between the first AP and the terminal according to the address information of the terminal and a protocol supported by the terminal, and return network information of the first AP to the control node based on the measurement result. In one possible implementation, this step 6033 may be implemented by a process illustrated by steps A-C described below.

And step A, the first AP measures the signal strength between the terminal and the first AP based on the address information of the terminal and the signal measurement protocol supported by the terminal.

The first AP may send a signal strength measurement packet to the terminal through a channel of the first AP based on the address information of the terminal and a signal measurement protocol supported by the terminal, where the signal strength measurement packet may include a Basic Service Set Identifier (BSSID) of the first AP; after the terminal receives the signal strength measurement packet, the terminal may determine that the first AP is measuring the signal strength according to the BSSID of the first AP, and then the terminal may return a signal measurement response packet to the first AP, and the first AP may determine the signal strength between the terminal and the first AP based on the transmission time of the signal strength measurement packet and the reception time of the signal measurement response packet.

It should be noted that, different signal measurement protocols are adopted, and the process of measuring the signal strength by the first AP is different, for example, the signal measurement protocol supported by the terminal is 802.11k-radio-link-measurement, and then the first AP may acquire the signal strength of the downlink signal received by the terminal (that is, the signal strength between the first AP and the terminal) by using 802.11 k-radio-link-measurement; if the signal measurement protocol supported by the terminal is link margin-802.11 h-TPC, the first AP measures the signal strength of the terminal by adopting the link margin-802.11 h-TPC to obtain the link margin of the downlink signal received by the terminal, and determines the signal strength of the downlink signal according to the link margin of the downlink signal; if the terminal supports the huawei Hilink, the first AP may perform signal strength measurement on the terminal by using a signal measurement protocol in the huawei link to obtain the signal strength of the uplink signal transmitted by the terminal and the signal strength of the downlink signal received by the terminal.

And step B, the first AP generates the network information of the first AP based on the measured signal intensity between the terminal and the first AP.

After the terminal determines the signal strength between the terminal and the first AP, the first AP may combine at least one of the signal strength between the terminal and the first AP, the channel utilization rate of the first AP, the frequency band of the first AP, the number of terminals associated with the first AP, and the channel bandwidth of the first AP into the network information of the first AP.

And step C, the first AP sends the network information of the first AP to the control node.

Step 6034, the at least one neighbor AP receives the information acquisition request sent by the control node.

Step 6035, the at least one neighbor AP sends the network information of the at least one neighbor AP to the control node based on the information obtaining request.

For any neighbor AP of the at least one neighbor AP, the neighbor AP may determine, based on the received information acquisition request, a terminal to be measured, a signal measurement protocol supported by the terminal, a BSSID of the first AP, and a channel of the first AP. The neighbor AP may generate a signal strength measurement packet based on a signal measurement protocol supported by the terminal and the BSSID of the first AP, switch the signal strength measurement packet to the channel of the first AP, and send the signal strength measurement packet to the terminal from the channel of the first AP according to the address information of the terminal, so that the neighbor AP may pretend to be the first AP to measure the signal strength between the neighbor AP and the terminal until the signal strength between the neighbor AP and the terminal is determined. The neighbor AP may transmit network information of the neighbor AP to a control node based on a signal strength between the neighbor AP and the terminal. Here, the process of sending the network information of the neighbor AP to the control node by the neighbor AP based on the signal strength between the neighbor AP and the terminal is the same as the process of sending the network information of the first AP to the control node by the first AP based on the signal strength between the first AP and the terminal.

It should be noted that, for any AP in the first AP and the at least one neighboring AP, when the information acquisition request carries the target measurement times, the any AP may also measure the target measurement times of the signal strength between the any AP and the terminal, and return network information of the any AP to the control node once based on each measurement result.

Step 6036, the control node receives the respective network information sent by the first AP and the at least one neighbor AP based on the information obtaining request.

In a possible implementation manner, the control node may also obtain the network information of the first AP and the network information of the at least one neighbor AP without issuing an instruction to the first AP and the at least one neighbor AP. In a possible implementation manner, each AP in the roaming guidance system stores a BSSID and a channel identifier of at least one neighboring AP, and after a first AP accesses a terminal, the first AP may measure the signal strength between the first AP and the terminal in each measurement period and return network information to the control node once based on the measurement result each time, and the first AP may further send address information of a newly accessed terminal and an identifier of a signal measurement protocol supported by the newly accessed terminal to at least one neighboring AP of the first AP, so that each neighboring AP may measure the signal strength between each neighboring AP and the newly accessed terminal in each measurement period according to the address information of the newly accessed terminal of the first AP, the signal measurement protocol supported by the newly accessed terminal, the BSSID of any AP and the channel, and returning network information to the control node once based on each measurement result, so that the control node can acquire the network information of the first AP and the network information of the at least one neighbor AP.

When the control node receives the network information sent by the same AP for multiple times, the control node may also average the contents of the network information sent by the AP for multiple times to obtain the average network information of the AP, and use the average network information of the AP as the network information of the AP.

604. For any neighbor AP of the at least one neighbor AP, the control node determines the neighbor AP as a second AP when the network condition of the first AP and the network condition of the neighbor AP satisfy the network condition indicated by the network selection reference information of the terminal.

When the network condition of the first AP and the network condition of the neighbor AP satisfy the network condition indicated by the network selection reference information of the terminal, which indicates that the neighbor AP and the first AP meet the roaming condition built in the terminal, the control node may use the neighbor AP as a second AP (i.e., a target AP of the terminal) to which the terminal is to be accessed, so as to subsequently guide the terminal to roam from the first AP to the second AP.

The network condition of the first AP and the network condition of the neighbor AP satisfy the network condition indicated by the network selection reference information when the network condition of the first AP and the network condition of the neighbor AP satisfy at least one of:

item 1, the signal strength between the first AP and the terminal is less than or equal to the source signal strength threshold, and/or the signal strength between the neighbor AP and the terminal is greater than or equal to the target signal strength threshold.

For example, when the signal strength reference information only includes a source signal strength threshold, if the signal strength between the first AP and the terminal is less than or equal to the source signal strength threshold, the signal strength between the first AP and the terminal satisfies the signal strength indicated by the signal strength reference information. For another example, when the signal strength reference information only includes a source signal strength threshold and a target signal strength threshold, if the signal strength between the first AP and the terminal is less than or equal to the source signal strength threshold and the signal strength between the neighbor AP and the terminal is greater than the target signal strength threshold, the signal strength between the first AP and the terminal satisfies the signal strength indicated by the signal strength reference information, and the signal strength between the neighbor AP and the terminal also satisfies the signal strength indicated by the signal strength reference information.

Because the target signal strength threshold may be greater than the source signal strength threshold, if the terminal roams from the first AP to the neighbor AP, the neighbor AP may provide the terminal with a higher WiFi signal strength, so as to improve the experience of the terminal user.

Item 2, the signal strength between the first AP and the terminal is less than or equal to the source signal strength threshold, and the difference between the signal strength between the neighbor AP and the terminal and the signal strength between the first AP and the terminal is greater than or equal to the target signal strength difference.

For example, when the signal strength reference information only includes a source signal strength threshold and a target signal strength difference, if the signal strength between the first AP and the terminal is less than or equal to the source signal strength threshold, and the difference between the signal strength between the neighbor AP and the terminal and the signal strength between the first AP and the terminal is greater than or equal to the target signal strength difference, the signal strength between the first AP and the terminal satisfies the signal strength indicated by the signal strength reference information, and the signal strength between the neighbor AP and the terminal also satisfies the signal strength indicated by the signal strength reference information.

In a possible implementation manner, when the signal strength reference information includes a source signal strength threshold, a target signal strength threshold, and a target signal strength difference, if the signal strength between the first AP and the terminal is less than or equal to the source signal strength threshold, the signal strength between the neighbor AP and the terminal is greater than or equal to the target signal strength threshold, and the difference between the signal strength between the first AP and the terminal and the signal strength between the neighbor AP and the terminal is greater than or equal to the target signal strength difference, the signal strength between the first AP and the terminal satisfies the signal strength indicated by the signal strength reference information, and the signal strength between the neighbor AP and the terminal also satisfies the signal strength indicated by the signal strength reference information.

Item 3, the channel utilization of the neighbor AP is less than or equal to the target channel utilization.

For example, the load reference information only includes the target channel utilization rate of 50%, and if the channel utilization rate of the neighbor AP is less than or equal to 50%, the load condition of the neighbor AP satisfies the load condition indicated by the load reference information. When the target channel utilization rate is low and the channel utilization rate of the neighbor AP is lower than the target channel utilization rate, if the terminal roams from the first AP to the neighbor AP, the neighbor AP may provide more channel resources for the terminal, so as to improve the efficiency of the terminal for transmitting service data, thereby improving the experience of the terminal user.

Item 4, the signal strength between the neighbor AP and the terminal is greater than or equal to the signal strength between the first AP and the terminal, and the difference between the channel utilization of the neighbor AP and the channel utilization of the first AP is greater than or equal to the target channel utilization difference.

For example, when the load reference information only includes a target channel utilization rate and the network selection reference information includes signal strength reference information, if the signal strength between the neighbor AP and the terminal is greater than or equal to the signal strength between the first AP and the terminal and the difference between the channel utilization rate of the neighbor AP and the channel utilization rate of the first AP is greater than or equal to the target channel utilization rate difference, the load condition of the neighbor AP satisfies the load condition indicated by the load reference information.

Item 5, the number of terminals accessed by the neighbor AP is less than or equal to the target terminal association number.

The target terminal association number is the number of terminals that the second AP may associate with at most, which is required by the terminal, and therefore, the target terminal association number may be the number threshold of the second AP-associated terminals. For example, when the load reference information only includes the target terminal association number, if the number of terminals accessed by the neighbor AP is less than or equal to the target terminal association number, the load condition of the neighbor AP satisfies the load condition indicated by the load reference information. When the target terminal association number is low and the number of terminals accessed by the neighbor AP is less than or equal to the target terminal association number, if the terminal roams from the first AP to the neighbor AP, the neighbor AP may provide more network resources for the terminal, so as to improve the efficiency of the terminal in transmitting service data, thereby improving the experience of the terminal user.

Item 6, the frequency band of the first AP is less than or equal to the target frequency band, and the frequency band of the neighbor AP is greater than the target frequency band.

When the frequency band reference information only includes the target frequency band, if the frequency band of the first AP is less than or equal to the target frequency band and the frequency band of the neighbor AP is greater than the target frequency band, the frequency bands of the neighbor AP and the first AP both satisfy the frequency band indicated by the frequency band reference information. If the terminal roams from the first AP to the neighbor AP, the neighbor AP may provide a wider frequency band resource for the terminal, so that the terminal can perform more services in the target frequency band range, thereby improving the experience of the terminal user.

Item 7, the signal strength between the neighbor AP and the terminal is greater than or equal to the signal strength between the first AP and the terminal, and the frequency band interval between the frequency band of the neighbor AP and the frequency band of the first AP is greater than or equal to the target frequency band interval.

For example, when the frequency band reference information only includes the target frequency band interval and the network selection reference information includes the signal strength reference information, if the signal strength between the neighboring AP and the terminal is greater than or equal to the signal strength between the first AP and the terminal and the frequency band interval between the frequency band of the neighboring AP and the frequency band of the first AP is greater than or equal to the target frequency band interval, it may also be considered that the frequency band of the neighboring AP satisfies the frequency band indicated by the frequency band reference information.

Item 8, the channel bandwidth of the first AP is less than or equal to the target channel bandwidth, and the channel bandwidth of the neighbor AP is greater than the target channel bandwidth.

When the bandwidth reference information only includes a target channel bandwidth, if the channel bandwidth of the first AP is less than or equal to the target channel bandwidth and the channel bandwidth of the neighbor AP is greater than the target channel bandwidth, the channel bandwidths of the neighbor AP and the first AP both satisfy the channel bandwidth indicated by the frequency band reference information. If the terminal roams from the first AP to the neighbor AP, the neighbor AP may provide more channel bandwidth resources for the terminal, so as to improve the efficiency of the terminal in transmitting service data, thereby improving the experience of the terminal user.

Item 9, the signal strength between the neighbor AP and the terminal is greater than or equal to the signal strength between the first AP and the terminal, and the channel bandwidth interval between the channel bandwidth of the neighbor AP and the channel bandwidth of the first AP is greater than or equal to the target channel bandwidth interval.

For example, when the bandwidth reference information only includes the target channel bandwidth interval and the network selection reference information includes the signal strength reference information, if the signal strength between the neighbor AP and the terminal is greater than or equal to the signal strength between the first AP and the terminal and the channel bandwidth interval between the channel bandwidth of the neighbor AP and the channel bandwidth of the first AP is greater than or equal to the target channel bandwidth interval, it may also be considered that the channel bandwidth of the neighbor AP satisfies the channel bandwidth indicated by the bandwidth reference information.

Since the network selection reference information may include at least one of signal strength reference information, load reference information, frequency band reference information, and bandwidth reference information, and each of the signal strength reference information, the load reference information, the frequency band reference information, and the bandwidth reference information may include a plurality of parameters, and the control node may determine the neighbor AP as the second AP only when the network condition of the first AP and the network condition of the neighbor AP satisfy all network conditions indicated by the network selection reference information of the terminal.

It should be noted that, if only one of the at least one neighbor AP meets the requirement of the network selection reference information, the control node may use this neighbor AP as the second AP of the terminal. If a plurality of neighbor APs all meet the requirement of the network selection reference information, the control node can also select a neighbor AP with the best network condition from the plurality of neighbor APs as the second AP of the terminal. If a plurality of neighbor APs all meet the requirement of network selection reference information, the control node can also directly take the plurality of neighbor APs as a plurality of candidate second APs of the terminal, and the terminal selects one candidate second AP from the plurality of candidate second APs as the second AP of the terminal. In addition, the process shown in this step 604 is a process in which the control node determines the second AP from at least one neighboring AP of the first AP.

605. And the control node sends a roaming guiding instruction to the first AP, wherein the roaming guiding instruction is used for instructing the first AP to guide the terminal to roam from the first AP to the second AP based on the guiding protocol.

The roaming direction may include an identification of the second AP, an identification of the steering protocol, and address information of the terminal. The roaming guidance instruction may further include at least one of a parameter value that at least one target guidance parameter in the guidance protocol is applicable to the terminal and network information of the second AP.

It should be noted that, if the control node determines a plurality of candidate second APs only from the neighboring APs of the first AP, and does not determine the second AP, the roaming guidance instruction may further include network information of the plurality of candidate second APs and identifiers of the plurality of candidate second APs.

The process shown in this step 605 is a process in which the control node directs the terminal to roam from the first AP to the second AP based on the bootstrap protocol. When the roaming guiding instruction includes the parameter value that the at least one target guiding parameter is applicable to the terminal, the process shown in this step 605 is a process that the control node guides the terminal to roam from the first AP to the second AP based on the parameter value that the at least one target guiding parameter in the guiding protocol is applicable to the terminal.

606. The first AP receives a roaming guidance instruction.

607. The first AP generates a roaming guiding message based on the guiding protocol and the roaming guiding instruction, wherein the roaming guiding message is used for indicating the terminal to roam from the first AP to the second AP.

The first AP may determine a terminal to be guided according to address information of the terminal carried by the roaming guidance instruction, determine a guidance protocol supported by the terminal to be guided according to an identifier of the guidance protocol carried by the roaming guidance instruction, and encapsulate the roaming guidance instruction into a roaming guidance packet based on the guidance protocol supported by the terminal. That is, the roaming guidance message may include the content carried by the roaming guidance instruction. When the roaming guidance message includes the parameter value that the at least one target guidance parameter is applicable to the terminal, the process shown in this step 607 is that the first AP guides the terminal to roam from the first AP to the second AP based on the parameter value that the at least one target guidance parameter in the guidance protocol is applicable to the terminal.

608. And the first AP sends the roaming guide message to the terminal.

The first AP may send the roaming guidance packet to the terminal according to the address information of the terminal.

609. And the terminal carries out roaming based on the roaming guide message.

When the roaming guidance message does not carry the parameter value that the at least one target guidance parameter is suitable for the terminal, which indicates that the terminal does not need to consider the target guidance parameter when roaming, the terminal can determine a second AP to be accessed by the terminal according to an identifier of the second AP carried by the roaming guidance message, and the terminal can disconnect the wireless connection with the first AP and access the second AP to complete roaming.

If the roaming guidance message carries the parameter value of the at least one target guidance parameter applicable to the terminal and the network information of the second AP, the terminal determines whether the parameter value of the at least one target guidance parameter applicable to the terminal is a preset parameter value, and determines whether the network condition indicated by the network information of the second AP meets the network condition indicated by the network selection reference information, if the parameter value of the at least one target guidance parameter applicable to the terminal is the preset parameter value, and the network condition indicated by the network information of the second AP meets the network condition indicated by the network selection reference information, the terminal may determine the second AP to which the terminal is to be accessed according to the identifier of the second AP carried by the roaming guidance message, and the terminal may disconnect the wireless connection with the first AP and access the second AP to complete roaming. The process that the terminal determines whether the network condition indicated by the network information of the second AP satisfies the network condition indicated by the network selection reference information is the same as the process that the control node determines whether the network condition indicated by the network information of the second AP satisfies the network condition indicated by the network selection reference information in step 604, and this embodiment of the present application is not repeated in the process that the terminal determines whether the network condition indicated by the network information of the second AP satisfies the network condition indicated by the network selection reference information.

If the roaming guidance message does not carry the network information of the second AP nor the identifier of the second AP, but carries the network information of a plurality of candidate second APs and the identifiers of the plurality of candidate second APs, the terminal may select a candidate second AP with the best network condition as the second AP of the terminal according to the network information of the plurality of candidate second APs and the network selection reference information, and the terminal may disconnect the wireless connection with the first AP and access the second AP to complete roaming.

It should be noted that, because the roaming guidance behavior feature of the terminal includes a limitation on the motion state of the terminal and/or the service type of the service when the terminal supports guidance, in the above step 602, the control node determines whether the terminal needs to perform a roaming process according to the motion state of the terminal and/or the service type of the service currently performed by the terminal, and is a process for determining a roaming opportunity for guiding the terminal to perform roaming based on the roaming guidance behavior feature of the terminal. Moreover, when the network condition of the first AP and the network condition of the second AP satisfy the network condition indicated by the network selection reference information of the terminal, it is described that, at this time, if the control node guides the terminal to roam from the first AP to the second AP, the success rate of guiding roaming is very high, and the control node will send a roaming guiding instruction to the first AP, so step 605 may also be a process in which the control node determines a roaming timing for guiding the terminal to roam based on the roaming guiding behavior characteristics of the terminal.

For a further explanation of the process shown in step 601-609, see examples 1-3 below.

Example 1, a certain handset (terminal a) supports IEEE 802.11v protocol and requires a target signal strength greater than-70 dB; at a certain moment, the signal strength of a downlink signal of a terminal a on an AP0 (a first AP) is-70 dB (i.e. the signal strength between the first AP and the terminal a), and the signal strength of a downlink signal of the terminal a on a certain neighbor AP1 is-60 dB, the control node determines whether the IEEE 802.11v protocol is a guidance protocol supported by the terminal a, and if so, the control node sends a roaming guidance instruction to the terminal a; after receiving the roaming guidance instruction, the terminal a evaluates whether the signal strength of the neighbor AP1 satisfies the target signal strength required by the network selection reference information of the terminal a, and if so, the terminal a roams to the neighbor AP 1.

Example 2, a certain notebook computer (terminal B) supports IEEE 802.11v protocol, but requires that the target channel utilization cannot exceed 50%; at a certain moment, a terminal B is accessed to an AP0, the signal strength between an AP0 and the terminal B is-65 dB, a neighbor AP1 exists, the signal strength between the AP1 and the terminal B is-55 dB, but other terminals and traffic are accessed to the AP1, and the channel utilization rate of the AP1 reaches 70%; the control node judges that if the AP1 is in the network condition, the AP0 sends a roaming guide message to the terminal B, the terminal B is guided to the AP1 through an IEEE 802.11v protocol, the requirement of the network selection reference information of the terminal B cannot be met, and the terminal B rejects or does not accept the roaming guide message; therefore, the control node will not issue the roaming guidance command to the AP1, but wait for the next network situation of the neighbor AP1, for example, the terminal accessed by the neighbor AP1 leaves, so that the channel utilization rate of the neighbor AP1 drops to 20%, and then the control node issues the roaming guidance command to the AP 1.

Example 3, a certain mobile phone (terminal C) supports huawei Hilink, trusts the roaming guidance of the control node, and has no network selection reference information, so as long as the control node determines that the signal strength between the terminal and the first AP is smaller than the signal strength between the terminal and the second AP, the control node may immediately initiate guidance for the terminal C based on the guidance protocol in huawei Hilink.

According to the method provided by the embodiment of the application, the terminal is guided to roam from the first AP to the second AP through determining the guide protocol and the second AP supported by the terminal and based on the guide protocol supported by the terminal, so that the success rate of terminal roaming can be improved. And determining whether the terminal needs to roam according to the motion state of the terminal and/or the service type of the service currently performed by the terminal, and guiding the terminal to roam when the terminal needs to roam so as to avoid the influence of the terminal roaming on the service performed by the terminal and provide the experience of a terminal user. And determining the second AP according to the network condition of the first AP, the network condition of at least one neighbor AP and the network selection reference information of the terminal so as to avoid the determined second AP not meeting the requirement of the network selection reference information, thereby further improving the success rate of terminal roaming.

For further explanation of the process, reference is made to a flowchart of a terminal roaming guiding method provided in an embodiment of the present application shown in fig. 7 for a control node to generate a roaming guiding behavior feature of a terminal and then guide the terminal to roam based on the roaming guiding behavior feature of the terminal, network information of a first AP, and network information of at least one neighbor AP.

701. The control node generates roaming guiding behavior characteristics of the terminal.

The control node may generate the roaming guidance behavior feature of the terminal based on static test or AI model online learning, please refer to fig. 5. The roaming guidance behavior characteristics of the terminal may include a signal measurement protocol supported by the terminal (e.g., signal measurement protocol Lx), a guidance protocol supported by the terminal, and a parameter value (e.g., guidance protocol Gx, target guidance parameter Sx) for which at least one target guidance parameter in the guidance protocol is applicable to the terminal, and network selection reference information (e.g., network selection reference information Cx) for which the terminal accepts guidance.

702. The control node acquires the network information of the first AP, the network information of at least one neighbor AP and the state of the terminal.

The network information of an AP may include a channel utilization rate, a channel bandwidth, a frequency band, and the number of access terminals of the AP, and the state of the terminal may include a motion state of the terminal, a traffic type of a current ongoing service, and a signal strength between the terminal and the AP.

703. The control node guides the terminal to judge according to the network information of the first AP, the network information of at least one neighbor AP, the state of the terminal and the roaming guiding behavior characteristics of the terminal, and if the judgment result is that the terminal is guided, the control node can guide different terminals in a differentiated mode according to the roaming guiding behavior characteristics of different terminals.

The process of the control node performing the decision on the guidance of the terminal according to the network information of the first AP, the network information of the at least one neighbor AP, the state of the terminal, and the roaming guidance behavior feature of the terminal may include two decision processes, one is to determine whether the terminal needs to roam according to the state of the terminal, specifically please refer to 602, and the other is to determine whether the second AP can be selected according to the network information of the first AP, the network information of the at least one neighbor AP, and the roaming guidance behavior feature of the terminal, please refer to step 604. Because different terminals support different guidance protocols, formats of roaming guidance messages sent to different terminals can be different, and contents carried by the roaming guidance messages sent to different terminals can be different, so that different terminals can be guided in a differentiated manner. Taking terminal x as an example, through the AP accessed by terminal x, the control node may issue the signal measurement protocol Lx and the guidance protocol Gx supported by terminal x, and the target guidance parameter Sx to terminal x. It should be noted that step 703 is abbreviated as "control node actively guiding decision and differentiated guiding" in fig. 7.

Fig. 6 and 7 show the process of guiding the terminal to roam by the control node, so that the signal strength of the WiFi signal received by the terminal during roaming can be kept within a higher signal strength range, for example, fig. 8 shows a comparison diagram of the signal strength change at the terminal side during roaming of the terminal according to the embodiment of the present application, where curve 1 in fig. 8 is the signal strength of the terminal during roaming guided by the control node during moving, and curve 2 in fig. 8 is the signal strength of the terminal during autonomous roaming during moving. As can be seen from curve 1, when the terminal moves in the core coverage of AP1, the signal strength at the terminal side is all higher than-65 dB, when the terminal moves from the core coverage of AP1 to the core coverage of AP2, the signal strength between the terminal and AP1 is lower than-65 dB, and the signal strength between the terminal and AP2 is higher than-65 dB, the terminal receives the active guidance of the control node, and the terminal roams from AP1 to AP2, and at this time, the signal strength at the terminal side is still higher than-65 dB; when the terminal moves from the core coverage of the AP2 to the core coverage of the AP3, the signal strength between the terminal and the AP1 is between-75 dB and-70 dB, the signal strength between the terminal and the AP2 is lower than between-70 dB and-65 dB, the signal strength between the terminal and the AP3 is higher than-65 dB, the terminal receives active guidance of a control node, the terminal roams from the AP2 to the AP3, and the signal strength at the terminal side is still higher than-65 dB at the moment. As can be seen from curve 2, the terminal moves from the core coverage of AP1, the terminal performs autonomous roaming, and when the terminal moves into the core coverage of AP3, the terminal can roam from AP1 to AP3, but since the terminal is always accessed to AP1, when the terminal moves in the core coverage of AP2, the signal strength of the terminal side is always lower than-65 dB, and the signal strength of the terminal side is lower as the terminal moves.

The processes shown in fig. 5 to 7 are processes in which the control node generates a roaming guidance behavior feature of the terminal, and guides the terminal to roam based on the roaming guidance behavior feature of the terminal. In a possible implementation manner, the first AP may also generate a roaming guidance behavior feature of the terminal, and guide the terminal to roam based on the roaming guidance behavior feature of the terminal. The process of generating the roaming guidance behavior feature of the terminal by the first AP is the same as the process of generating the roaming guidance behavior feature of the terminal by the control node, and the process of generating the roaming guidance behavior feature of the terminal by the first AP is not described in detail in this embodiment of the present application. The first AP guides the process of roaming of the terminal and the control node based on the roaming guide behavior characteristic of the terminal, and the difference of the process of guiding the terminal to roam is that: the first AP does not need to generate a roaming guidance instruction and to guide the terminal to roam based on the roaming guidance instruction, but may directly guide the terminal to roam from the first AP to the second AP based on a guidance protocol supported by the terminal. In a possible implementation manner, the first AP generates a roaming guidance message based on the guidance protocol, and sends the roaming guidance message to the terminal, and the terminal performs roaming based on the roaming guidance message.

Fig. 9 is a schematic structural diagram of a terminal roaming guidance apparatus according to an embodiment of the present application, where the apparatus 900 includes:

a determining module 901, configured to determine a bootstrap protocol supported by a terminal, where the terminal accesses a first access point AP, and the bootstrap protocol is used to guide the terminal to roam;

the determining module 901 is further configured to determine a second AP from at least one neighbor AP of the first AP;

a directing module 902, configured to direct the terminal to roam from the first AP to the second AP based on the directing protocol.

Optionally, the determining module 901 is configured to:

for any neighbor AP in the at least one neighbor AP, determining the neighbor AP as the second AP when the network condition of the first AP and the network condition of the neighbor AP meet the network condition indicated by the network selection reference information of the terminal;

the network selection reference information is used for indicating a network condition which needs to be met by the first AP and the second AP when the terminal roams.

Optionally, the apparatus further comprises:

a first obtaining module, configured to obtain network information of the first AP and network information of the at least one neighbor AP, where the network information of one AP is used to indicate a network condition of the AP.

Optionally, the first obtaining module is configured to:

sending an information acquisition request to the first AP and the at least one neighbor AP, wherein the information acquisition request is used for indicating the AP to return network information to a control node;

and receiving respective network information sent by the first AP and the at least one neighbor AP based on the information acquisition request.

Optionally, the information acquisition request includes address information of the terminal and an identifier of a signal measurement protocol supported by the terminal, where the signal measurement protocol is used to measure signal strength between the AP and the terminal.

Optionally, the information acquisition request further includes a basic service set identifier BSSID of the first AP and an identification of a channel of the first AP.

Optionally, the information acquisition request further includes a target measurement number, where the target measurement number is a number of times that needs to be measured.

Optionally, the guiding module 902 is configured to:

and guiding the terminal to roam from the first AP to the second AP based on the parameter value applicable to the terminal by at least one target guiding parameter in the guiding protocol.

Optionally, the apparatus further comprises:

a generating module, configured to generate a roaming guidance behavior feature of the terminal based on at least one of the guidance protocol, a parameter value of the at least one target guidance parameter applicable to the terminal, a signal measurement protocol supported by the terminal, and the network selection reference information, where the roaming guidance behavior feature is used to indicate a behavior feature of the terminal when roaming.

Optionally, the determining module 901 is further configured to:

and determining a roaming opportunity for guiding the terminal to roam based on the roaming guiding behavior characteristics.

Optionally, the determining module 901 is further configured to:

determining at least one of a parameter value for which the at least one target guidance parameter applies to the terminal, the signal measurement protocol, and the network selection reference information.

Optionally, the determining module 901 is configured to:

when the success rate of guiding the terminal to complete roaming is greater than or equal to a target threshold value based on the target parameter value set of the at least one target guidance parameter, determining a target parameter value of each target guidance parameter in the target parameter value set as a parameter value applicable to the terminal for each target guidance parameter, where the target parameter value set includes the target parameter value of each target guidance parameter in the at least one target guidance parameter.

The device further comprises:

the acquisition module is used for acquiring the motion state of the terminal and/or the service type of the current service performed by the terminal;

the determining module 901 is further configured to determine that the terminal needs to roam according to the motion state of the terminal and/or the service type of the service currently performed by the terminal.

Optionally, the determining module 901 is configured to:

and when the motion state of the terminal indicates that the terminal is far away from the first AP and/or the service type of the current service performed by the terminal is a target service type, determining that the terminal needs to perform roaming.

Optionally, wherein the apparatus is a control node, and the guiding module 902 is configured to:

and sending a roaming guiding instruction to the first AP, wherein the roaming guiding instruction is used for instructing the first AP to guide the terminal to roam from the first AP to the second AP based on the guiding protocol.

Optionally, the roaming guidance instruction includes a parameter value that at least one target guidance parameter in the guidance protocol is applicable to the terminal.

Optionally, the roaming guidance instruction includes an identifier of the second AP, an identifier of the guidance protocol, and address information of the terminal.

Optionally, the roaming guidance instruction further includes network information of the second AP.

Optionally, the apparatus further comprises:

a sending module, configured to send an information acquisition request to the first AP and the at least one neighboring AP, where the information acquisition request includes address information of the terminal and an identifier of a signal measurement protocol supported by the terminal, and the signal measurement protocol is used to measure signal strength between the AP and the terminal;

a receiving module, configured to receive respective network information sent by the first AP and the at least one neighboring AP based on the information acquisition request.

Optionally, the apparatus is the first AP.

Optionally, the network selection reference information includes at least one of signal strength reference information, load reference information, frequency band reference information, and bandwidth reference information, where the signal strength reference information includes at least one of a source signal strength threshold, a target signal strength threshold, and a target signal strength difference, the target signal strength threshold is greater than or equal to the source signal strength threshold, the load reference information includes at least one of a target channel utilization rate, a target channel utilization difference, and a target terminal association number, the frequency band reference information includes at least one of a target frequency band and a target frequency band interval, and the bandwidth reference information includes at least one of a target channel bandwidth and a target channel bandwidth interval.

Optionally, the network information of an AP includes at least one of a signal strength between the AP and the terminal, a channel utilization of the AP, a frequency band of the AP, a number of terminals associated with the AP, and a channel bandwidth of the AP.

Optionally, the network condition of the first AP and the network condition of the neighbor AP satisfy the network condition indicated by the network selection reference information when the network condition of the first AP and the network condition of the neighbor AP satisfy at least one of:

the signal strength between the first AP and the terminal is less than or equal to the source signal strength threshold, and/or the signal strength between the neighbor AP and the terminal is greater than or equal to the target signal strength threshold;

the signal strength between the first AP and the terminal is less than or equal to the source signal strength threshold, and the difference between the signal strength between the neighbor AP and the terminal and the signal strength between the first AP and the terminal is greater than or equal to the target signal strength difference;

the channel utilization of the neighbor AP is less than or equal to the target channel utilization;

the signal intensity between the neighbor AP and the terminal is greater than or equal to the signal intensity between the first AP and the terminal, and the difference between the channel utilization rate of the neighbor AP and the channel utilization rate of the first AP is greater than or equal to the target channel utilization rate difference;

the number of the terminals accessed by the neighbor AP is less than or equal to the target terminal association number;

the frequency band of the first AP is less than or equal to the target frequency band, and the frequency band of the neighbor AP is greater than the target frequency band;

the signal intensity between the neighbor AP and the terminal is greater than or equal to the signal intensity between the first AP and the terminal, and the frequency band interval between the frequency band of the neighbor AP and the frequency band of the first AP is greater than or equal to the target frequency band interval;

the channel bandwidth of the first AP is less than or equal to the target channel bandwidth, and the channel bandwidth of the neighbor AP is greater than the target channel bandwidth;

the signal intensity between the neighbor AP and the terminal is greater than or equal to the signal intensity between the first AP and the terminal, and the channel bandwidth interval between the channel bandwidth of the neighbor AP and the channel bandwidth of the first AP is greater than or equal to the target channel bandwidth interval.

The device guides the terminal to roam from the first AP to the second AP through determining the guide protocol and the second AP supported by the terminal and based on the guide protocol supported by the terminal, so that the success rate of terminal roaming can be improved. And determining whether the terminal needs to roam according to the motion state of the terminal and the service type of the service currently performed by the terminal, and guiding the terminal to roam when the terminal needs to roam so as to avoid the influence of the terminal roaming on the service performed by the terminal and provide the experience of a terminal user. And determining the second AP according to the network condition of the first AP, the network condition of at least one neighbor AP and the network selection reference information of the terminal so as to avoid the determined second AP not meeting the requirement of the network selection reference information, thereby further improving the success rate of terminal roaming.

All the above optional technical solutions may be combined arbitrarily to form the optional embodiments of the present disclosure, and are not described herein again.

It should be noted that: in the terminal roaming guiding apparatus provided in the foregoing embodiment, when guiding the terminal roaming, only the division of the above functional modules is taken as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the apparatus is divided into different functional modules, so as to complete all or part of the above described functions. In addition, the embodiments of the terminal roaming guiding method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the embodiments of the method for details, which are not described herein again.

It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.

The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

35页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:经由双连接同时使用网络切片

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!