A terminal roaming method and device, electronic equipment and storage medium

By acquiring the roaming trajectory and profile of terminal devices, target access points (APs) are selected and guided, solving the problems of information asymmetry and decision-making power when terminal devices roam between APs, thus improving roaming performance and network connection stability.

CN118555633BActive Publication Date: 2025-11-18RUIJIE NETWORKS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310132514.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-17
Publication Date
2025-11-18
Estimated Expiration
2043-02-17

AI Technical Summary

Technical Problem

In wireless communication networks, when terminal devices roam between access points (APs), the roaming effect is poor due to information asymmetry and the fact that the roaming decision-making power lies with the terminal devices. In particular, the roaming effect is slow when the uplink RSSI of the terminal devices is weak and cannot be detected.

Method used

By acquiring the roaming trajectory and roaming profile of the target terminal, target APs that meet preset conditions are selected, and the terminal devices are guided to roam. The target terminal devices are then selected for effective AP switching using terminal environment detection requests and roaming strategies.

Benefits of technology

This improves the roaming performance of terminal devices between access points (APs), avoids roaming delays caused by terminal devices' inability to detect weak uplink RSSI, and ensures the stability and efficiency of network connections.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118555633B_ABST
    Figure CN118555633B_ABST
Patent Text Reader

Abstract

The application discloses a terminal roaming method and device, electronic equipment and storage medium, and relates to the technical field of wireless communication. In the application, when a target terminal is roamed into, a target roaming track is acquired, a target terminal roaming portrait associated with the target roaming track is screened out from a candidate terminal roaming portrait set, the target terminal roaming portrait is analyzed, a target terminal roaming strategy is acquired, and when a continuously recorded signal strength is less than a signal strength threshold, a terminal environment detection request is sent to the target terminal, a target AP is screened out from terminal environment information returned by the target terminal, and the target terminal is guided to roam to the target AP. In this way, the technical defects that in the related art, when an AP guides a terminal device to roam, the uplink RSSI of the terminal device itself is already weak, but cannot be perceived, and the terminal device may still be connected to the original AP all the time are avoided, and therefore, the roaming effect of the terminal device is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of wireless communication technology, and in particular to a terminal roaming method, apparatus, electronic device, and storage medium. Background Technology

[0002] In wireless communication networks, within the signal coverage area of ​​a wireless access point (AP) device, a terminal device (Station) can maintain network communication continuously. However, because the terminal device has mobile communication capabilities, it often crosses from the service area of ​​one AP to the service area of ​​another AP while moving.

[0003] Therefore, in order to avoid network communication interruption when the terminal device switches between different APs, wireless roaming technology has been introduced into the terminal device. Wireless roaming refers to the terminal device associating with the new AP and disconnecting from the original AP when it moves to the boundary area of ​​the coverage of two APs, while maintaining an uninterrupted network connection during this process.

[0004] However, due to the information asymmetry between the terminal device and the access point (AP), and the fact that the decision-making power for roaming always rests with the terminal device, the AP cannot provide roaming suggestions to the terminal device. This results in poor roaming performance when the terminal device switches between different APs. In related technologies, to improve the roaming performance of the terminal device, the AP can assist the terminal device in roaming, thereby solving the problem of poor roaming performance.

[0005] For example, the AP can assist terminal devices in roaming by configuring a fixed threshold. Specifically, when the Received Signal Strength Indicator (RSSI) is lower than the fixed threshold, indicating that the terminal device's received signal strength is poor and a handover is needed, the AP can guide the terminal device to roam by suggesting guidance through the Basic Service Set (BSS) Transition Management (BTM) or forcibly guiding de-authentication through De-authentication.

[0006] However, using the above-mentioned terminal roaming method can lead to slow roaming because the terminal device may have a weak uplink RSSI during the AP's guidance process, but it may not be aware of this and may continue to maintain a connection with the original AP (i.e., the terminal device may not respond), which in turn can make the roaming effect of the terminal device even worse.

[0007] Therefore, the above method cannot guarantee an improvement in the roaming performance of terminal devices. Summary of the Invention

[0008] This application provides a terminal roaming method, apparatus, electronic device, and storage medium to improve the roaming effect of terminal devices.

[0009] In a first aspect, embodiments of this application provide a terminal roaming method, the method comprising:

[0010] When roaming into a target terminal associated with the initial AP, the target roaming trajectory of the target terminal is obtained, and the target terminal roaming profile associated with the target roaming trajectory is selected from the candidate terminal roaming profile set; wherein, the target terminal roaming profile represents: the network communication capability of the terminal device on the target roaming trajectory;

[0011] The roaming profile of the target terminal is analyzed to obtain the roaming strategy for the target terminal;

[0012] The system continuously records the roaming signal strength of the target terminal and sends a terminal environment detection request to the target terminal when it determines that the roaming signal strength is less than the signal strength threshold included in the target terminal's roaming strategy.

[0013] From the terminal environment information returned by the target terminal, select the target APs that meet the preset AP roaming conditions and guide the target terminal to roam to the target AP.

[0014] Secondly, this application also provides a terminal roaming device, the device comprising:

[0015] The filtering module is used to obtain the target roaming trajectory of the target terminal when the target terminal associated with the initial AP is entered, and to filter the target terminal roaming profile associated with the target roaming trajectory from the candidate terminal roaming profile set; wherein, the target terminal roaming profile represents the network communication capability of the target terminal on the target roaming trajectory;

[0016] The parsing module is used to parse the roaming profile of the target terminal and obtain the roaming strategy of the target terminal;

[0017] The detection module is used to continuously record the roaming signal strength of the target terminal, and when it is determined that the roaming signal strength is less than the signal strength threshold included in the target terminal's roaming strategy, it sends a terminal environment detection request to the target terminal.

[0018] The guidance module is used to filter out target APs that meet the preset AP roaming conditions from the terminal environment information returned by the target terminal, and guide the target terminal to roam to the target AP.

[0019] In an optional embodiment, before acquiring the target roaming trajectory of the target terminal, the filtering module is further configured to:

[0020] For multiple candidate terminals, perform the following operations respectively:

[0021] The historical roaming events of the first candidate terminal are analyzed to obtain the candidate network environment and candidate roaming trajectory of the first candidate terminal; wherein, the first candidate terminal is any terminal among a variety of candidate terminals, and the candidate network environment is characterized by the network service capabilities provided by the historical AP corresponding to the first candidate terminal to the first candidate terminal in the historical roaming events;

[0022] Based on the candidate network environment and candidate roaming trajectory, construct the candidate terminal roaming profile of the first candidate terminal;

[0023] The obtained candidate terminal roaming profiles are saved to the candidate terminal roaming profile set.

[0024] In an optional embodiment, when constructing a candidate terminal roaming profile of the first candidate terminal based on the candidate network environment and candidate roaming trajectory, the filtering module is specifically used for:

[0025] Obtain multiple roaming response results of the first candidate terminal on the candidate roaming trajectory; wherein, each roaming response result represents: the response result of the first candidate terminal based on the corresponding candidate terminal roaming strategy;

[0026] From multiple roaming response results, select the target response result that meets the preset terminal roaming response conditions;

[0027] Based on the candidate terminal roaming strategies and candidate network environments corresponding to the target response results, a candidate terminal roaming profile of the first candidate terminal is constructed.

[0028] In an optional embodiment, when filtering out the target terminal roaming profile associated with the target roaming trajectory from the candidate terminal roaming profile set, the filtering module is specifically used for:

[0029] Based on the target network environment where the target terminal is located, the terminal type of the target terminal, and the set of candidate terminal roaming profiles, a corresponding subset of candidate terminal roaming profiles is obtained;

[0030] From the subset of candidate terminal roaming profiles, select the target terminal roaming profile associated with the target roaming trajectory.

[0031] In one optional embodiment, the terminal type of the target terminal is determined in the following manner:

[0032] Obtain the basic attribute information of the target terminal, and extract features from the basic attribute information to obtain the corresponding attribute feature set;

[0033] Based on the attribute features contained in the attribute feature set and the feature range corresponding to each attribute feature, the terminal type of the target terminal is determined.

[0034] In an optional embodiment, the guiding module is further configured to:

[0035] If no terminal environment information is received, a terminal environment detection request will be sent to the target terminal according to the preset detection request cycle until the terminal environment information is received.

[0036] or,

[0037] If the target AP is not found in the terminal environment information, a terminal environment detection request is sent to the target terminal according to the detection request cycle until the target AP is found in the terminal environment information.

[0038] In an optional embodiment, the device further includes a storage module, the storage module being specifically used for:

[0039] Continuously record target roaming events of the target terminal;

[0040] If the target terminal is successfully roamed to the target AP, a current terminal roaming profile of the target terminal is generated based on the target roaming event, and the current terminal roaming profile is saved to the candidate terminal roaming profile set.

[0041] Thirdly, this application provides an electronic device including a processor and a memory, wherein the memory stores program code that, when executed by the processor, causes the processor to perform the steps of the terminal roaming method described in the first aspect.

[0042] Fourthly, this application provides a computer-readable storage medium including program code that, when executed on an electronic device, causes the electronic device to perform the steps of the terminal roaming method described in the first aspect.

[0043] Fifthly, this application provides a computer program product that, when invoked by a computer, causes the computer to execute the terminal roaming method steps as described in the first aspect.

[0044] Sixthly, this application provides a terminal roaming system, including: a first AP and a roaming information platform;

[0045] The first AP is used to obtain the target roaming trajectory of the target terminal when it roams into the target terminal associated with the initial access point AP, filter the target terminal roaming profile associated with the target roaming trajectory from the candidate terminal roaming profile set, parse the target terminal roaming profile to obtain the target terminal roaming strategy, continuously record the roaming signal strength of the target terminal, and send a terminal environment detection request to the target terminal when the roaming signal strength is determined to be less than the signal strength threshold included in the target terminal roaming strategy. It also filters the target AP that meets the preset AP roaming conditions from the terminal environment information returned by the target terminal, guides the target terminal to roam to the target AP, and continuously records the target roaming events of the target terminal to the roaming information platform. The target terminal roaming profile represents the network communication capability of the target terminal on the target roaming trajectory.

[0046] The roaming information platform is used to receive target roaming events from target terminals, generate a current terminal roaming profile of the target terminal based on the target terminal roaming information roaming events, and save the current terminal roaming profile to the candidate terminal roaming profile set.

[0047] The beneficial effects of this application are as follows:

[0048] In the terminal roaming method provided in this application, when a target terminal associated with an initial AP roams in, the target roaming trajectory of the target terminal is obtained, and the target terminal roaming profile associated with the target roaming trajectory is selected from the candidate terminal roaming profile set; wherein, the target terminal roaming profile represents the network communication capability of the terminal device on the target roaming trajectory; then, the target terminal roaming profile is parsed to obtain the target terminal roaming strategy; further, the roaming signal strength of the target terminal is continuously recorded, and when it is determined that the roaming signal strength is less than the signal strength threshold included in the target terminal roaming strategy, a terminal environment detection request is sent to the target terminal; finally, from the terminal environment information returned by the target terminal, a target AP that meets the preset AP roaming conditions is selected, and the target terminal is guided to roam to the target AP.

[0049] This approach, based on the target terminal roaming profile associated with the target roaming trajectory and the terminal environment information returned by the target terminal, determines the target AP to which the terminal needs to roam, thereby guiding the target terminal to roam to the target AP. This avoids the technical drawbacks of related technologies, where the terminal device's uplink RSSI is already weak during the roaming process, but it cannot detect this and may still maintain a connection with the original AP (i.e., the terminal device does not respond), resulting in slow roaming and even worse roaming performance. Therefore, it improves the roaming performance of the terminal device to a certain extent.

[0050] Furthermore, other features and advantages of this application will be set forth in the following description and will be apparent in part from the description, or may be learned by practicing the application. The objectives and other advantages of this application may be realized and obtained by means of the structures particularly pointed out in the written description, claims, and drawings. Attached Figure Description

[0051] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. In the drawings:

[0052] Figure 1 This application provides an embodiment of a terminal roaming guidance system.

[0053] Figure 2 This application provides a schematic diagram of the distribution of an AP.

[0054] Figure 3 A schematic diagram illustrating the implementation process of a terminal roaming profile construction method provided in this application embodiment;

[0055] Figure 4 A logical diagram illustrating the construction of a roaming profile of terminal + network roaming behavior provided in an embodiment of this application;

[0056] Figure 5 This is a schematic flowchart illustrating a method for constructing a terminal roaming profile, provided in an embodiment of this application.

[0057] Figure 6 A schematic diagram illustrating the implementation process of a terminal roaming method provided in this application embodiment;

[0058] Figure 7 This application provides a logical diagram illustrating the determination of terminal type in an embodiment.

[0059] Figure 8 A method based on the embodiments of this application is provided. Figure 6 Implementation process diagram;

[0060] Figure 9 This is a schematic diagram of the structure of a terminal roaming device provided in an embodiment of this application;

[0061] Figure 10 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0062] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of this application will be clearly and completely described below with reference to the accompanying drawings of the embodiments of this application. Obviously, the described embodiments are only some embodiments of the technical solutions of this application, and not all embodiments. Based on the embodiments recorded in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the technical solutions of this application.

[0063] It should be noted that in the description of this application, "multiple" is understood as "at least two". "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. A connected to B can represent: A and B directly connected, or A and B connected through C. Furthermore, in the description of this application, terms such as "first" and "second" are used only for descriptive purposes and should not be construed as indicating or implying relative importance or order.

[0064] Furthermore, the data collection, dissemination, and use in the technical solution of this application all comply with the requirements of relevant national laws and regulations.

[0065] To facilitate understanding by those skilled in the art, some of the nouns and terms involved in the embodiments of this application will be briefly described and explained as follows:

[0066] (1) 802.11K protocol: By establishing radio measurement management standards, it assists terminal equipment in selecting alternative target APs in advance, reducing the rescanning process, and allows APs to request terminal equipment to inform them of their measurement results. In short, it allows APs and terminal equipment to exchange information, that is, each obtains complete uplink and downlink information.

[0067] (2) 802.11V protocol: Its main function is to allow the AP to suggest that the terminal device can roam out of the current BSS and connect to a more suitable AP, so as to avoid the terminal device switching to another AP when the signal has deteriorated to the point of interruption.

[0068] (3) RSSI: Generally used to describe wireless signal strength, it refers to the signal strength during wireless reception and is related to the transmission power of the wireless module, the design of the RF front end, and the gain of the antenna.

[0069] (4) Beacon Report Request: This request is used to instruct the terminal to report the APs that have been scanned.

[0070] (5) Multicast Domain Name System (MDNS): Resolves hostnames into Internet Protocol (IP) addresses in small networks that do not contain local name servers. It is a zero-configuration service that uses essentially the same programming interface, packet format and operational semantics as the unicast domain name system.

[0071] (6) Hypertext Transfer Protocol (HTTP): is a request and response protocol that specifies what kind of messages a client may send to a server and what kind of response it may receive.

[0072] (7) Hypertext Transfer Protocol Secure (HTTPS): is an HTTP channel with security as its goal. On the basis of HTTP, it ensures the security of the transmission process through transmission encryption and identity authentication.

[0073] (8) Dynamic Host Configuration Protocol (DHCP): This protocol allows the server to dynamically assign IP addresses and configuration information to clients.

[0074] (9) User Agent (UA): Network requests usually carry UA, which identifies some basic attribute information, that is, a string of information that includes user information, application type, operating system, software version number, etc.

[0075] Furthermore, based on the above explanations of terms and related terminology, the design concept of the embodiments of this application will be briefly introduced below:

[0076] In early wireless communication networks, wireless roaming of terminal devices could be achieved through the 802.11 protocol. However, early 802.11 wireless roaming had two major drawbacks: information asymmetry: neither the terminal device nor the access point (AP) had more than one piece of information. The AP had network environment information and uplink information (sent from the terminal device to the AP), while the terminal device had downlink information (sent from the AP to the terminal device). The decision-making power for terminal roaming rested with the terminal device, and the AP could not even provide roaming suggestions. It should be noted that the aforementioned network environment information can indicate the AP's network service capabilities, specifically including: the AP's basic attribute information and channel resource usage (also known as load information). For example, the AP's basic attribute information includes, but is not limited to, at least one of the following: the AP's identifier, the AP's channel identifier, and the AP's frequency band; the AP's resource usage can include: channel utilization and / or the number of connected terminal devices.

[0077] Therefore, because terminal devices lack an overall perspective, they cannot obtain uplink information and network environment information, nor do they have roaming decision-making power, resulting in a poor roaming experience for terminal devices; furthermore, current APs do not have a relatively effective terminal roaming guidance strategy.

[0078] Therefore, there are currently two main directions for optimizing terminal roaming: one is to use APs to assist terminal devices in roaming, and the other is to use APs to eliminate roaming, thereby completely eliminating the problem of poor roaming experience.

[0079] During the roaming process of the AP-assisted terminal device, the AP can guide the terminal roaming based on a set threshold, or it can scan the environment around the AP in real time through the third radio frequency on the AP. When a better AP is detected around the terminal device, the terminal roaming guidance will be carried out.

[0080] For example, the AP can assist terminal devices in roaming by configuring a fixed threshold. Specifically, when the uplink RSSI is lower than the fixed threshold, indicating that the roaming experience of the terminal device is poor and a switch is needed, the AP can guide the terminal device to roam through BTM suggestion guidance or Deauth forced guidance.

[0081] However, using the above-mentioned terminal roaming method can lead to slow roaming because the terminal device may have a weak uplink RSSI during the AP's guidance process, but it may not be aware of this and may continue to maintain a connection with the original AP (i.e., the terminal device may not respond), which in turn can make the roaming effect of the terminal device even worse.

[0082] Therefore, in order to improve the roaming effect of terminal devices, this application proposes a terminal roaming method, which specifically includes: when a target terminal associated with an initial AP roams in, obtaining the target roaming trajectory of the target terminal, and filtering out the target terminal roaming profile associated with the target roaming trajectory from a set of candidate terminal roaming profiles, wherein the target terminal roaming profile represents the network communication capability of the terminal device on the target roaming trajectory; then, parsing the target terminal roaming profile to obtain the target terminal roaming strategy; further, continuously recording the roaming signal strength of the target terminal, and when it is determined that the roaming signal strength is less than the signal strength threshold included in the target terminal roaming strategy, sending a terminal environment detection request to the target terminal; finally, filtering out the target AP that meets the preset AP roaming conditions from the terminal environment information returned by the target terminal, and guiding the target terminal to roam to the target AP.

[0083] In one optional implementation, the target roaming trajectory represents the AP information that the target terminal passes through before roaming to the target AP. Therefore, the aforementioned target roaming trajectory can be obtained by the Access Controller (AC) in the AP network architecture. That is, during the terminal roaming process, the AC records the target terminal's roaming trajectory, i.e., the AP information that the target terminal has passed through. It should be noted that the AC can also continuously record the APs that the target terminal passes through during subsequent terminal roaming. Optionally, if the AP itself has the ability to record the target terminal's roaming trajectory, then the AP can record the target terminal's roaming trajectory in real time during the terminal roaming process, and can also uniformly upload the recorded terminal roaming trajectory to a preset roaming information platform, etc. In this case, the aforementioned target roaming trajectory can be directly obtained by the roaming information platform in the AP network architecture. Further, this roaming information platform can be implemented through a backend server or a cloud server.

[0084] In particular, the preferred embodiments of this application will be described below with reference to the accompanying drawings. It should be understood that the preferred embodiments described herein are for illustration and explanation only and are not intended to limit this application. Furthermore, the embodiments of this application and the features in the embodiments can be combined with each other without conflict.

[0085] See Figure 1 As shown, it is a schematic diagram of the architecture of a terminal roaming guidance system provided in an embodiment of this application. The system includes: multiple APs 101 and a roaming information platform 103. It should be noted that the terminal roaming guidance system can be covered by a wireless local area network (WLAN), and each AP 101 can be connected to or roam into a terminal device 102.

[0086] It should be noted that this application embodiment does not impose any limitation on the number of communication devices involved in the above system architecture. For example, there may be more roaming information platforms, or no roaming information platforms, or other network devices may be included, such as... Figure 1 As shown, the description only takes multiple AP101, multiple terminal devices 102 and roaming information platform 103 as examples. The following is a brief introduction to each of the above devices and their respective functions.

[0087] Any one of the multiple APs 101 is used to access at least one terminal device 102 and can provide network services to each accessed terminal device 102, such as channel (resources), Wireless Fidelity (Wi-Fi) signal, etc. The AP 101 is also used to measure the signal strength between itself and the terminal device 102 accessed by it, and to report network environment information to the roaming information platform 103 based on the measured signal strength. The AP 101 is also used to report the roaming trajectory of the accessed terminal device 102 to the roaming information platform 103 and to trigger neighboring APs 101 to report their network environment information to the roaming information platform 103. The AP 101 is also used to measure the signal strength between itself and the terminal device 102 accessed by its neighboring APs 101, and to report network environment information to the roaming information platform 103 based on the measured signal strength. The AP101 is also used to receive roaming guidance instructions issued by the roaming information platform 103, and guide the terminal device 102 connected to the AP101 to roam according to the received roaming guidance instructions.

[0088] Any one of the multiple terminal devices 102 is configured to measure the downlink signal sent by the accessed AP 101 according to a signal measurement protocol, to obtain the signal strength between the terminal device 102 and the accessed AP 101, and to report the signal strength between the terminal device 102 and the accessed AP 101 to the AP 101. The terminal device 102 is also configured to receive a roaming guidance message sent by the accessed AP 101, and based on the roaming guidance message, roam from the currently accessed AP 101 to other APs 101.

[0089] For example, terminal device 102 can be an electronic device such as a mobile phone, smart wearable device, tablet computer, or laptop computer with a WiFi wireless interface; in addition, terminal device 102 can also have a related client installed, which can be software, such as an application (APP), browser, short video software, or web page, mini program, etc.

[0090] It should be noted that the WiFi signal provided by each AP101 has a certain coverage area. Based on the relationship between the signal strength between the terminal device 102 and AP101 and a preset signal strength threshold, this coverage area can be divided into a core coverage area and a non-core coverage area. When a terminal device 102 is within the core coverage area of ​​an AP101, the signal strength between the terminal device 102 and AP101 is considered high. When the terminal device 102 is far from the core coverage area of ​​AP101 and is within the non-core coverage area, the signal strength between the terminal device 102 and AP101 is considered low. When the signal strength between the terminal device 102 and AP101 is lower than the preset signal strength threshold, it will result in a poor user experience for the terminal device 102.

[0091] Therefore, when the signal strength between the terminal device 102 and another AP 101 is high, the terminal device 102 can roam from the currently connected AP 101 to another AP 101, and the other AP 101 can provide WiFi signal to the terminal device 102 to avoid bringing a bad experience to the end user.

[0092] See Figure 2 As shown, a terminal device (e.g., STA) connects to AP1 before moving and moves from the core coverage area of ​​AP1 to the core coverage area of ​​AP2, then through the core coverage area of ​​AP2, and finally to the core coverage area of ​​AP3. If the STA continues to connect to AP1 during the movement, as the STA moves further away from the core coverage area of ​​AP1, the transmission distance of the WiFi signal sent by AP1 to the STA also increases, resulting in a decrease in the signal strength of the WiFi signal reaching the STA, i.e., the signal becomes weaker and the data transmission rate decreases. Therefore, as the STA moves, the signal strength between the STA and AP1 will decrease from 51.8Mbps to 22.4Mbps.

[0093] Furthermore, when the STA enters the core coverage area of ​​AP3, the signal strength between the STA and AP3 is relatively high. If the STA disconnects the wireless connection with AP1 and connects to AP3, that is, the STA roams from AP1 to AP3, and AP3 provides WiFi signal to the STA. Since the WiFi signal provided by AP3 will be relatively strong, it can avoid bringing a bad experience to the STA.

[0094] In this embodiment of the invention, the roaming information platform 103 can be implemented in the cloud using artificial intelligence (AI) to generate roaming profiles for various terminal devices 102. These roaming profiles indicate the network communication capabilities of the terminal devices 102 during roaming. For any terminal device 102, the roaming information platform 103 further determines whether roaming is required based on the device's movement state. When roaming is required, the platform can further determine whether roaming can be guided based on roaming guidance behavior characteristics, the network environment information of the AP 101 currently accessed by the terminal device 102, and the network environment information of at least one neighboring AP 101 of the AP 101. If roaming can be guided, the platform can issue a roaming guidance command to the AP 101 currently accessed by the terminal device 102.

[0095] It should be noted that the roaming information platform 103 can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery network (CDN), and big data and artificial intelligence platforms.

[0096] In one possible implementation, all or part of the functions of the roaming information platform 103 can also be implemented on the AP 101. For example, the roaming information platform 103 is only responsible for generating terminal roaming profiles of various terminals 102 and sending the terminal roaming profiles of various terminal devices 102 to each AP 101. The AP 101 determines whether the terminal device 102 needs to roam based on the movement status of the terminal device 102 it accesses. Furthermore, when the terminal device 102 needs to roam, the AP 101 can also determine whether the terminal device 102 can roam based on the terminal roaming profile of the terminal device 102 (i.e., roaming guidance behavior characteristics), its own network environment information, and the network environment information of at least one neighboring AP 101. If the terminal device 102 can roam based on the guidance, the AP 101 can send a roaming guidance message to the terminal device 102 to guide the terminal device 102 to roam.

[0097] It should also be noted that, in the embodiments of this application, for ease of description and understanding, the candidate network environment and target network environment mentioned below are all network environment information.

[0098] The terminal roaming method provided by the exemplary embodiments of this application will be described below in conjunction with the above system architecture and with reference to the accompanying drawings. It should be noted that the above system architecture is only shown for the purpose of understanding the spirit and principles of this application, and the embodiments of this application are not limited in any way in this respect.

[0099] It should be noted that before obtaining the target roaming trajectory of the target terminal, the AP needs to pre-build a candidate terminal roaming profile set, which includes candidate terminal roaming profiles of multiple candidate terminals, so as to perform the following operation: based on the obtained target roaming trajectory of the target terminal, filter out the target terminal roaming profile associated with the target roaming trajectory from the candidate terminal roaming profile set.

[0100] Optionally, when constructing roaming profiles for multiple candidate terminals, refer to... Figure 3 As shown, assuming the initial AP associated with the target terminal is AP1 and the current AP associated with the target terminal is AP2, then taking AP2 as an example, for any of the above candidate terminals, i.e., the first candidate terminal, AP2 can perform the following operations:

[0101] S301: Analyze the historical roaming events of the first candidate terminal to obtain the candidate network environment and candidate roaming trajectory of the first candidate terminal.

[0102] Among them, candidate network environment representation: in historical roaming events, the network service capabilities provided by the historical AP corresponding to the first candidate terminal to the first candidate terminal, which may include: basic attribute information of the AP and channel resource usage; candidate roaming trajectory representation: the historical roaming route of the first candidate terminal, that is, the APs that the first candidate terminal passes through, for example, the candidate roaming trajectory is: AP1→AP2.

[0103] For example, when executing step S301, AP2 can obtain the historical roaming events of the first candidate terminal from the preset historical roaming event database, and then parse the historical roaming events of the first candidate terminal to obtain the candidate network environment and candidate roaming trajectory of the first candidate terminal. It should be noted that, in this embodiment of the application, for ease of description, the network number can be used to replace the candidate network environment in the following text. In addition, during the parsing of historical roaming events, the terminal type of the first candidate terminal can also be obtained.

[0104] S302: Based on the candidate network environment and candidate roaming trajectory, construct the candidate terminal roaming profile of the first candidate terminal.

[0105] In one optional implementation, when executing step S302, after obtaining the candidate network environment and candidate roaming trajectory, AP2 can obtain multiple roaming response results of the first candidate terminal on the candidate roaming trajectory. Each roaming response result represents the response result of the first candidate terminal based on the corresponding candidate terminal roaming strategy. Then, from the multiple roaming response results, the target response result that meets the preset terminal roaming response conditions is selected. Finally, based on the candidate terminal roaming strategy and candidate network environment corresponding to the target response result, a candidate terminal roaming profile of the first candidate terminal is constructed. In this way, according to the target response result of the first candidate terminal on the candidate roaming trajectory that meets the preset terminal roaming response conditions and the corresponding candidate terminal roaming strategy and candidate network environment, the candidate terminal roaming profile of the first candidate terminal can be accurately generated.

[0106] The above-mentioned preset terminal roaming response conditions are required: the best roaming effect can be achieved when the parameters or parameter set of the corresponding terminal roaming behavior reach the optimal threshold.

[0107] S303: Save the obtained candidate terminal roaming profiles to the candidate terminal roaming profile set.

[0108] Based on the method steps S301 to S303 above, AP2 can realize the construction of roaming profiles of terminal roaming policy and candidate network environment, that is, obtain a set of candidate terminal roaming profiles including multiple candidate terminals. This ensures that when a target terminal associated with the initial AP is roamed, the target terminal roaming profile can be directly selected from the set of candidate terminal roaming profiles, and then the target terminal can be guided to roam based on the target terminal roaming profile.

[0109] In one alternative implementation, see [link to relevant documentation]. Figure 4 As shown, after AP2 acquires multiple historical roaming events, it can first classify the historical roaming events based on the candidate network environment (i.e., network number) and terminal type. Then, it can further distinguish the multiple historical roaming events after classification based on the candidate roaming trajectory, and collect multiple roaming response results of the candidate terminals. Optionally, in the process of distinguishing based on the candidate roaming trajectory, if there are two historical roaming events with the same candidate roaming trajectory in the same category of historical roaming events after classification, an inductive analysis based on terminal roaming behavior can be performed. The terminal roaming behavior includes, but is not limited to: 802.11K Beacon Report Request, 802.11V Btm Request, and direct guided handover.

[0110] In one alternative implementation, after finding the current optimal threshold, AP2 can attempt to fine-tune the parameters (such as the triggered RSSI, the probe time, the difference in response RSSI, and the neighbor list); further, it observes the effect of the fine-tuning, and if the effect shows an upward trend, it continues to fine-tune; if the effect shows a downward trend, it continues to fine-tune in the opposite direction; finally, when the data (effect) is in a convergent state, a terminal roaming profile of the terminal device is generated.

[0111] For example, see Figure 5 As shown, AP2 can collect terminal roaming behavior profiles, that is, construct terminal roaming profiles of terminal devices. Therefore, AP2 is used as the execution subject, and the specific steps are as follows:

[0112] S501: Infiltrates terminal devices associated with AP1.

[0113] It should be noted that when a terminal device migrates from AP1 to AP2 and comes online, the terminal device's online information is recorded: it migrates from AP1, and the migration signal strength is recorded.

[0114] S502: Continuously monitor whether the terminal is far away from AP2.

[0115] S503: When the roaming signal strength of the terminal device is lower than the preset detection threshold, initiate a terminal environment detection request.

[0116] The measured parameters are provided by the roaming policy; and the detection threshold of the roaming policy can also be called the signal strength threshold. The terminal environment detection request can be a Beacon Report Request.

[0117] It should be noted that the terminal device may respond or it may refuse.

[0118] S504: Receive the reply information from the terminal device. If there is a better alternative AP, record the AP information at this time, and proceed to S506 to trigger 802.11V to guide the terminal device to roam.

[0119] The response information is a request for terminal environment information from the terminal device based on terminal environment detection.

[0120] For example, if the response information received by AP2 from the terminal device contains an optional AP that can provide better network service capabilities to the terminal device than AP2, or an optional AP that can make the roaming response result of the terminal device better than the roaming response result of the terminal device under AP2, then the AP information at this time can be recorded, and 802.11V can be used to guide the handover of the terminal device.

[0121] S505: If there is no better AP, or the terminal refuses to respond to the probe, record the number of probe attempts made by the terminal. If the probe limit has not been reached, jump to S503 and re-probe; if the probe limit has been reached, jump to S506.

[0122] S506: Triggers 802.11V to perform a boot switch for the terminal device.

[0123] Specifically, based on the previous detection results, AP2 will set a better AP as the guidance target if there is one; otherwise, it will select the best neighbor list according to the roaming policy and initiate 802.11V navigation. It should be noted that the neighbor list includes multiple APs around the terminal device or AP2.

[0124] Based on the above method steps S501 to S506, AP2 can guide the terminal device to perform terminal roaming.

[0125] S507: Terminal device responds to 802.11V.

[0126] If the terminal responds with 802.11V, then roaming has been successful, meaning the user has switched to AP3.

[0127] It should be noted that if the terminal device does not respond to 802.11V, it will return to S503 and initiate a new round of detection and guidance.

[0128] S508: AP3 will report this terminal roaming to the roaming information platform.

[0129] Specifically, after a terminal device successfully roams, AP3 will send the roaming event to a pre-defined roaming information platform. Optionally, since AP2 continuously records the roaming event during the roaming process, after successfully guiding the terminal device to AP3, it can send the roaming event to AP3, which will then send it to the pre-defined roaming information platform. In another optional implementation, after successfully guiding the terminal device to AP3, AP2 can also directly send the recorded roaming event to the pre-defined roaming information platform.

[0130] For example, the information included in this terminal roaming event (i.e., detailed roaming records) includes, but is not limited to: the roaming access point, the roaming RSSI, the number of Beacon Report Request attempts, the wireless parameters and terminal signal strength at each attempt, and the responses received, including the signal strength of the responses, the number of 11V boot attempts, the content, the wireless parameters, and the terminal signal strength. After the above information (detailed roaming records) is packaged together, it can be uploaded to the roaming information platform.

[0131] It should be noted that, in this embodiment of the application, the roaming information platform may also execute the above method steps to distribute the generated terminal roaming profile of the terminal device to each AP (e.g., AP2) to expand the set of candidate terminal roaming profiles stored by each AP, thereby ensuring that when a terminal roaming similar to or the same as the current terminal device occurs in the future, the target terminal roaming profile can be directly called.

[0132] Furthermore, based on the aforementioned method for constructing terminal roaming profiles, after obtaining the candidate terminal roaming profiles of the various candidate terminals, AP2 can obtain a set of candidate terminal roaming profiles. Based on this set, it can then obtain the target terminal roaming profile of the target terminal. Finally, based on the target terminal roaming strategy carried in the target terminal roaming profile, it can guide the target terminal to perform terminal roaming. (See [reference]). Figure 6 The diagram shown is a flowchart of a terminal roaming method provided in this application embodiment. Taking AP2 as the execution subject, the specific implementation process of this method is as follows:

[0133] S601: When roaming into a target terminal associated with the initial AP, the target roaming trajectory of the target terminal is obtained, and the target terminal roaming profile associated with the target roaming trajectory is selected from the candidate terminal roaming profile set.

[0134] Among them, the target terminal roaming profile represents the network communication capability of the target terminal on the target roaming trajectory.

[0135] In one optional implementation, when performing step S601, AP2 can obtain the target roaming trajectory of the target terminal when it determines the target terminal associated with the initial AP (e.g., AP1). Based on the target network environment where the target terminal is located, the terminal type of the target terminal, and the set of candidate terminal roaming profiles, a corresponding subset of candidate terminal roaming profiles can be obtained. Then, from the subset of candidate terminal roaming profiles, the target terminal roaming profile associated with the target roaming trajectory can be selected. In this way, the target terminal roaming profile can be accurately and quickly selected by using the target roaming trajectory, terminal type, and target network environment.

[0136] For example, assume that the candidate terminal roaming profile set contains 6 candidate terminal roaming profiles, and that the candidate network environment, terminal type, and candidate roaming trajectory corresponding to each of the 6 candidate terminal roaming profiles are shown in Table 1:

[0137] Table 1

[0138] Candidate terminal roaming profile Candidate Network Environment Terminal type Candidate roaming trajectory Termin.Roam.Port.1 Net.1 Ter.Type1 From AP1 to AP2 Termin.Roam.Port.2 Net.2 Ter.Type1 From AP1 to AP3 Termin.Roam.Port.3 Net.1 Ter.Type2 From AP1 to AP3 Termin.Roam.Port.4 Net.1 Ter.Type3 From AP1 to AP2 Termin.Roam.Port.5 Net.2 Ter.Type3 From AP1 to AP3 Termin.Roam.Port.6 Net.2 Ter.Type1 From AP1 to AP2

[0139] Based on the candidate terminal roaming profile set recorded in the table above, if AP2 determines that the target network environment of the target terminal is Net.2 and the terminal type is Ter.Type1, then it can obtain the corresponding candidate terminal roaming profile subset according to the candidate roaming profile set. The candidate terminal roaming profile subset includes candidate terminal roaming profile Termin.Roam.Port.2 and candidate terminal roaming profile Termin.Roam.Port.6. Then, if the target roaming trajectory of the target terminal is From AP1 to AP2, the target terminal roaming profile associated with the target roaming trajectory From AP1 to AP2 can be selected from the candidate terminal profile subset as candidate terminal roaming profile Termin.Roam.Port.6.

[0140] Optionally, the candidate terminal roaming profile set may also include network environment similarity, which represents the degree of similarity between the candidate network environment and the target network environment. In this embodiment, AP2 can select from the candidate terminal roaming profile set terminal roaming profiles that meet the preset network environment similarity conditions of the target network environment where the target terminal is located, and terminal roaming profiles of the same type as the target terminal as the candidate terminal roaming profile subset. Then, from the candidate terminal roaming profile subset, the target terminal roaming profile associated with the target roaming trajectory is selected. The network environment similarity can be determined based on the relevant parameter information scanned between APs.

[0141] For example, assume that the candidate terminal roaming profile set contains 4 candidate terminal roaming profiles, and that the candidate network environment, network environment similarity between the candidate network environment and the target network environment, terminal type, and candidate roaming trajectory corresponding to each of the 4 candidate terminal roaming profiles are shown in Table 2:

[0142] Table 2

[0143]

[0144] Based on the candidate terminal roaming profile set recorded in the table above, if the preset network environment similarity condition is: the network environment similarity between the candidate network environment and the target network environment is greater than the preset network environment similarity threshold of 85%, then AP2, after determining that the target terminal's terminal type is Ter.Type1, can obtain the corresponding candidate terminal roaming profile subset according to the candidate roaming profile set. The candidate terminal roaming profile subset includes candidate terminal roaming profile Termin.Roam.Port.1 and candidate terminal roaming profile Termin.Roam.Port.2. Then, if the target roaming trajectory of the target terminal is From AP1 to AP3, the target terminal roaming profile associated with the target roaming trajectory From AP1 to AP3 can be selected from the candidate terminal profile subset as candidate terminal roaming profile Termin.Roam.Port.2.

[0145] In one optional implementation, AP2 can obtain the basic attribute information of the target terminal, extract features from the basic attribute information to obtain the corresponding attribute feature set, and then determine the terminal type of the target terminal based on each attribute feature contained in the attribute feature set and the feature interval corresponding to each attribute feature, and combined with the correspondence between each feature interval and the terminal type. In this way, by using the correspondence between each feature interval and the terminal type, not only can the terminal type of the target terminal be accurately classified, but it can also ensure that the corresponding candidate terminal roaming profile subset can be quickly and accurately selected according to the terminal type of the target terminal.

[0146] For example, see Figure 7 As shown, after the target terminal initiates a wireless association Auth / Assco request, AP2 can parse and record the wireless capabilities carried in the Auth / Assco request, and send an Auth / Assco reply to the target terminal. Next, it receives a DHCP request from the target terminal, collects and records the terminal characteristic information in the DHCP request, and sends a DHCP reply to the target terminal. Further, it receives mdns / http / https requests from the target terminal, and collects the target terminal's characteristic information in the mdns request and the target terminal's UA information in the http / https request. Then, by integrating the various characteristic information obtained, the basic attribute information of the target terminal can be obtained. Finally, based on the obtained basic attribute information, the target terminal is classified to determine the terminal type of the target terminal.

[0147] Optionally, AP2 can upload the obtained basic attribute information to the roaming information platform. The roaming information platform can then classify the target terminal based on the basic attribute information to determine the terminal type of the target terminal.

[0148] For example, assuming basic attribute information containing three attribute features (e.g., Attr.Char1, Attr.Char2, and Attr.Char3), the feature interval corresponding to attribute feature Attr.Char1 includes feature interval 1 and feature interval 2, the feature interval corresponding to attribute feature Attr.Char2 includes feature interval A and feature interval B, and the feature interval corresponding to attribute feature Attr.Char3 includes feature interval a and feature interval b. Furthermore, the correspondence between feature intervals and terminal types is shown in Table 3.

[0149] Table 3

[0150]

[0151] Therefore, after the roaming information platform extracts features from the obtained basic attribute information, if it determines that the feature intervals corresponding to the three attribute features of the obtained basic attribute information are 1Ba, then it can determine the terminal type of the target terminal as T3 based on the correspondence between the feature intervals and terminal types recorded in the table above.

[0152] S602: Analyze the roaming profile of the target terminal to obtain the roaming strategy for the target terminal.

[0153] S603: Continuously record the roaming signal strength of the target terminal, and when it is determined that the roaming signal strength is less than the signal strength threshold included in the target terminal's roaming policy, send a terminal environment detection request to the target terminal.

[0154] For example, when executing step S603, after obtaining the roaming policy of the target terminal, AP2 can continuously record the roaming signal strength of the target terminal. Assuming that the roaming signal strength of the target terminal is 28 dBm and the signal strength threshold included in the roaming policy of the target terminal is 30 dBm, it can be seen that the roaming signal strength of 28 dBm is less than the signal strength threshold of 30 dBm included in the roaming policy of the target terminal. Therefore, AP2 can send a terminal environment detection request to the target terminal. Similarly, assuming that the roaming signal strength of the target terminal is 40 dBm, it can be seen that the roaming signal strength of 40 dBm is not less than the signal strength threshold of 30 dBm included in the roaming policy of the target terminal. Therefore, AP2 does not need to send a terminal environment detection request to the target terminal.

[0155] S604: From the terminal environment information returned by the target terminal, filter out the target APs that meet the preset AP roaming conditions, and guide the target terminal to roam to the target AP.

[0156] The aforementioned preset AP roaming conditions can be the AP with the best roaming performance among all APs included in the obtained terminal environment information, i.e., the target AP; for example, the AP with the best network service capabilities compared to AP2, or the AP with the best roaming response results compared to AP2, can be selected as the target AP.

[0157] For example, when performing step S604, after receiving the terminal environment information returned by the target terminal, AP2 can parse the terminal environment information and then filter out the target AP that meets the above-mentioned preset AP roaming conditions from the APs included in the terminal environment information; optionally, if there is no better AP than AP2 among the APs included in the terminal environment information, any AP can be used as the target AP.

[0158] In one optional implementation, if one of the following conditions is met, it can be determined that the target terminal is not responding. Therefore, it is necessary to send a terminal environment detection request to the target terminal according to the preset detection request cycle until the terminal environment information is received: no terminal environment information is received; or, the target AP is not present in the terminal environment information. This approach avoids the technical drawback of the target terminal not responding (refusing to respond), thereby improving the roaming experience of the target terminal.

[0159] In addition, AP2 can continuously record the target terminal's roaming events. When it is determined that the target terminal has successfully roamed to the target AP, i.e., the terminal roaming is successful, it generates the current terminal roaming profile of the target terminal based on the target roaming event and saves the current terminal roaming profile to the candidate terminal roaming profile set. Optionally, when the terminal roaming is successful, the target roaming event can be sent to a preset roaming information platform, so that the preset roaming information platform generates the current terminal roaming profile of the target terminal based on the target roaming event and saves the current terminal roaming profile to the candidate terminal roaming profile set. In this way, the candidate terminal roaming profile set can be expanded, thereby ensuring that when a terminal similar to or the same as the current terminal device roams in the future, the corresponding target terminal roaming profile can be directly called from the candidate terminal roaming profile set, thereby guiding the terminal device to roam.

[0160] It should also be noted that, given that the target terminal's behavior is uncontrollable and it may roam to other APs besides the APs included in the terminal's environment information, AP2 can also continuously record the target terminal's target roaming events, and when it is determined that the target terminal has been successfully roamed to another AP, it can also send the target roaming events to the preset roaming information platform.

[0161] For example, based on the terminal roaming method described in S601 to S604 above, refer to... Figure 8As shown, AI-based user profile-based guided navigation can be implemented. The specific steps are as follows:

[0162] S801: Receives a set of candidate terminal roaming profiles generated by the roaming information platform.

[0163] S802: Infiltrates terminal devices associated with AP1.

[0164] It should be noted that when a terminal device migrates from AP1 to AP2 and comes online, the terminal device's online information is recorded: it migrates from AP1, and the migration signal strength is recorded.

[0165] S803: Based on the terminal roaming trajectory, terminal type, and terminal network environment of the terminal device, perform a matching query with the profiles in the candidate terminal roaming profile set.

[0166] If a profile is matched, the terminal roaming policy is read directly from the corresponding terminal roaming profile; otherwise, the default roaming policy is used.

[0167] S804: When the roaming signal strength of the terminal device is lower than the detection threshold of the roaming policy, initiate a terminal environment detection request.

[0168] The measured parameters are provided by the roaming policy; and the detection threshold of the roaming policy can also be called the signal strength threshold. The terminal environment detection request can be a Beacon Report Request.

[0169] It should be noted that the terminal device may respond or it may refuse.

[0170] S805: Receive the reply information from the terminal device. If there is a better alternative AP, record the AP information at this time, switch to S807, and trigger 802.11V to guide the terminal device to roam.

[0171] The response information is a request for terminal environment information from the terminal device based on terminal environment detection.

[0172] S806: If no better AP is available, based on the roaming strategy, it is advisable to continue probing or directly guide the system.

[0173] S807: Triggers 802.11V to boot switch the terminal device.

[0174] Specifically, based on the previous detection results, AP2 will set a better AP as the guidance target if there is one; otherwise, it will select the best neighbor list according to the roaming policy and initiate 802.11V navigation.

[0175] After the above steps S801 to S807, AP2 can guide the terminal device to perform terminal roaming.

[0176] S808: Terminal device responds to 802.11V.

[0177] If the terminal responds with 802.11V, then roaming has been successful, meaning the user has switched to AP3.

[0178] It should be noted that if the terminal device does not respond to 802.11V, it will return to S803 and initiate a new round of detection and guidance.

[0179] S809: AP3 will report this terminal roaming to the roaming information platform and continue to converge.

[0180] Specifically, after a terminal device successfully roams, AP3 will package the detailed roaming record and send it to the preset roaming information platform. Optionally, since AP2 continuously records the terminal roaming event during the roaming process, after successfully guiding the terminal device to roam to AP3, it can send the terminal roaming event to AP3, which will then send the terminal roaming event to the preset roaming information platform. In another optional implementation, after successfully guiding the terminal device to roam to AP3, AP2 can also directly send the recorded terminal roaming event to the preset roaming information platform.

[0181] Clearly, based on the above method steps, terminal devices are classified and identified through key access information (i.e., basic attribute information); then, terminal roaming behavior is collected to calculate the terminal roaming profile; further, clustering calculations are performed to provide a roaming guidance strategy (i.e., terminal roaming strategy) for each terminal device; finally, based on the terminal roaming profile, different network environments are overlaid, and combined with the terminal roaming trajectory, roaming guidance tests based on terminal roaming trajectories can be generated for various types of terminal devices in various networks, thereby optimizing the wireless roaming experience of terminal devices.

[0182] In summary, in the terminal roaming method provided in this application, when a target terminal associated with an initial AP roams in, the target roaming trajectory of the target terminal is obtained, and the target terminal roaming profile associated with the target roaming trajectory is selected from the candidate terminal roaming profile set; wherein, the target terminal roaming profile represents the network communication capability of the terminal device on the target roaming trajectory; then, the target terminal roaming profile is parsed to obtain the target terminal roaming strategy; further, the roaming signal strength of the target terminal is continuously recorded, and when it is determined that the roaming signal strength is less than the signal strength threshold included in the target terminal roaming strategy, a terminal environment detection request is sent to the target terminal; finally, from the terminal environment information returned by the target terminal, target APs that meet the preset AP roaming conditions are selected, and the target terminal is guided to roam to the target AP.

[0183] This approach, based on the target terminal roaming profile associated with the target roaming trajectory and the terminal environment information returned by the target terminal, determines the target AP to which the terminal needs to roam, thereby guiding the target terminal to roam to the target AP. This avoids the technical drawbacks of related technologies, where the terminal device's uplink RSSI is already weak during the roaming process, but it cannot detect this and may still maintain a connection with the original AP (i.e., the terminal device does not respond), resulting in slow roaming and even worse roaming performance. Therefore, it improves the roaming performance of the terminal device to a certain extent.

[0184] Furthermore, based on the same technical concept, embodiments of this application provide a terminal roaming device for implementing the above-described method flow of embodiments of this application. See also... Figure 9 As shown, the terminal roaming device includes: a filtering module 901, a parsing module 902, a detection module 903, and a guidance module 904, wherein:

[0185] The filtering module 901 is used to obtain the target roaming trajectory of the target terminal when the target terminal associated with the initial AP is entered, and to filter the target terminal roaming profile associated with the target roaming trajectory from the candidate terminal roaming profile set; wherein, the target terminal roaming profile represents the network communication capability of the target terminal on the target roaming trajectory;

[0186] The parsing module 902 is used to parse the roaming profile of the target terminal and obtain the roaming strategy of the target terminal;

[0187] The detection module 903 is used to continuously record the roaming signal strength of the target terminal, and when it is determined that the roaming signal strength is less than the signal strength threshold included in the roaming strategy of the target terminal, it sends a terminal environment detection request to the target terminal.

[0188] The guidance module 904 is used to filter out target APs that meet the preset AP roaming conditions from the terminal environment information returned by the target terminal, and guide the target terminal to roam to the target AP.

[0189] In an optional embodiment, before acquiring the target roaming trajectory of the target terminal, the filtering module 901 is further configured to:

[0190] The historical roaming events of the first candidate terminal are analyzed to obtain the candidate network environment and candidate roaming trajectory of the first candidate terminal. The first candidate terminal is any terminal among multiple candidate terminals. The candidate network environment is characterized by the network service capabilities provided by the historical AP corresponding to the first candidate terminal to the first candidate terminal in the historical roaming events.

[0191] Based on the candidate network environment and candidate roaming trajectory, construct the candidate terminal roaming profile of the first candidate terminal;

[0192] The obtained candidate terminal roaming profiles are saved to the candidate terminal roaming profile set.

[0193] In an optional embodiment, when constructing a candidate terminal roaming profile of the first candidate terminal based on the candidate network environment and candidate roaming trajectory, the filtering module 901 is specifically used for:

[0194] Obtain multiple roaming response results of the first candidate terminal on the candidate roaming trajectory; wherein, each roaming response result represents: the response result of the first candidate terminal based on the corresponding candidate terminal roaming strategy;

[0195] From multiple roaming response results, select the target response result that meets the preset terminal roaming response conditions;

[0196] Based on the candidate terminal roaming strategies and candidate network environments corresponding to the target response results, a candidate terminal roaming profile of the first candidate terminal is constructed.

[0197] In an optional embodiment, when filtering out the target terminal roaming profile associated with the target roaming trajectory from the candidate terminal roaming profile set, the filtering module 901 is specifically used for:

[0198] Based on the target network environment where the target terminal is located, the terminal type of the target terminal, and the set of candidate terminal roaming profiles, a corresponding subset of candidate terminal roaming profiles is obtained;

[0199] From the subset of candidate terminal roaming profiles, select the target terminal roaming profile associated with the target roaming trajectory.

[0200] In one optional embodiment, the terminal type of the target terminal is determined in the following manner:

[0201] Obtain the basic attribute information of the target terminal, and extract features from the basic attribute information to obtain the corresponding attribute feature set;

[0202] Based on the attribute features contained in the attribute feature set and the feature range corresponding to each attribute feature, the terminal type of the target terminal is determined.

[0203] In an optional embodiment, the guiding module 904 is further configured to:

[0204] If no terminal environment information is received, a terminal environment detection request will be sent to the target terminal according to the preset detection request cycle until the terminal environment information is received.

[0205] or,

[0206] If the target AP is not found in the terminal environment information, a terminal environment detection request is sent to the target terminal according to the detection request cycle until the target AP is found in the terminal environment information.

[0207] In an optional embodiment, the device further includes a storage module 905, which is specifically used for:

[0208] Continuously record target roaming events of the target terminal;

[0209] If the target terminal is successfully roamed to the target AP, a current terminal roaming profile of the target terminal is generated based on the target roaming event, and the target roaming event of the current terminal roaming profile is saved to the candidate terminal roaming profile set.

[0210] Based on the same technical concept, embodiments of this application also provide an electronic device that can implement the terminal roaming method flow provided in the above embodiments of this application. In one embodiment, the electronic device may be a server, a terminal device, or other electronic equipment. Figure 10 As shown, the electronic device may include:

[0211] At least one processor 1001 and a memory 1002 connected to at least one processor 1001. In this embodiment, the specific connection medium between the processor 1001 and the memory 1002 is not limited. Figure 10 The example shown is the connection between processor 1001 and memory 1002 via bus 1000. Bus 1000 is... Figure 10 The connections between other components are indicated by thick lines and are for illustrative purposes only, not as limiting information. The Bus 1000 can be divided into address bus, data bus, control bus, etc., for ease of representation. Figure 10 The term 1001 is represented by a single thick line, but this does not imply that there is only one bus or one type of bus. Alternatively, the processor 1001 can also be called a controller; there are no restrictions on the name.

[0212] In this embodiment, memory 1002 stores instructions executable by at least one processor 1001. By executing the instructions stored in memory 1002, at least one processor 1001 can execute a terminal roaming method described above. Processor 1001 can implement... Figure 9 The functions of each module in the device shown.

[0213] The processor 1001 is the control center of the device. It can connect to various parts of the control device through various interfaces and lines. By running or executing instructions stored in memory 1002 and calling data stored in memory 1002, the processor can perform various functions and process data, thereby monitoring the device as a whole.

[0214] In one possible design, processor 1001 may include one or more processing units. Processor 1001 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may also not be integrated into processor 1001. In some embodiments, processor 1001 and memory 1002 may be implemented on the same chip; in some embodiments, they may also be implemented on separate chips.

[0215] The processor 1001 can be a general-purpose processor, such as a CPU, digital signal processor, application-specific integrated circuit, field-programmable gate array or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component, capable of implementing or executing the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of a terminal roaming method disclosed in the embodiments of this application can be directly manifested as execution by a hardware processor, or execution by a combination of hardware and software modules within the processor.

[0216] Memory 1002, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. Memory 1002 may include at least one type of storage medium, such as flash memory, hard disk, multimedia card, card-type memory, random access memory (RAM), static random access memory (SRAM), programmable read-only memory (PROM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), magnetic memory, magnetic disk, optical disk, etc. Memory 1002 can be any other medium capable of carrying or storing desired program code in the form of instructions or data structures that can be accessed by a computer, but is not limited thereto. In the embodiments of this application, memory 1002 can also be a circuit or any other device capable of implementing storage functions for storing program instructions and / or data.

[0217] By designing and programming the processor 1001, the code corresponding to a terminal roaming method described in the foregoing embodiments can be embedded into the chip, enabling the chip to execute the code during operation. Figure 6 The illustrated embodiment presents the steps of a terminal roaming method. How to design and program the processor 1001 is a technique well-known to those skilled in the art and will not be described further here.

[0218] Based on the same inventive concept, embodiments of this application also provide a storage medium storing computer instructions that, when executed on a computer, cause the computer to perform a terminal roaming method described above.

[0219] In some possible implementations, this application also provides that various aspects of a terminal roaming method can also be implemented as a program product including program code, which, when the program product is run on a device, causes the control device to perform the steps in a terminal roaming method according to various exemplary embodiments of this application as described above.

[0220] Based on the same inventive concept, this application also provides a terminal roaming system, including: a first AP and a roaming information platform;

[0221] The first AP is used to obtain the target roaming trajectory of the target terminal when it roams into the target terminal associated with the initial access point AP, filter the target terminal roaming profile associated with the target roaming trajectory from the candidate terminal roaming profile set, parse the target terminal roaming profile to obtain the target terminal roaming strategy, continuously record the roaming signal strength of the target terminal, and send a terminal environment detection request to the target terminal when the roaming signal strength is determined to be less than the signal strength threshold included in the target terminal roaming strategy. It also filters the target AP that meets the preset AP roaming conditions from the terminal environment information returned by the target terminal, guides the target terminal to roam to the target AP, and continuously records the target roaming events of the target terminal to the roaming information platform. The target terminal roaming profile represents the network communication capability of the target terminal on the target roaming trajectory.

[0222] The roaming information platform is used to receive target roaming events from target terminals, generate a current terminal roaming profile of the target terminal based on the target terminal roaming information roaming events, and save the current terminal roaming profile to the candidate terminal roaming profile set.

[0223] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0224] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0225] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0226] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0227] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.

Claims

1. A terminal roaming method, characterized in that, include: When a target terminal associated with the initial access point (AP) is roamed into the network, the target roaming trajectory of the target terminal is obtained, and the target terminal roaming profile associated with the target roaming trajectory is selected from the candidate terminal roaming profile set; wherein, the target terminal roaming profile represents the network communication capability of the target terminal on the target roaming trajectory; The target terminal roaming profile is analyzed to obtain the target terminal roaming strategy; The roaming signal strength of the target terminal is continuously recorded, and when it is determined that the roaming signal strength is less than the signal strength threshold included in the roaming strategy of the target terminal, a terminal environment detection request is sent to the target terminal. From the terminal environment information returned by the target terminal, target APs that meet the preset AP roaming conditions are selected, and the target terminal is guided to roam to the target AP.

2. The method as described in claim 1, characterized in that, Before obtaining the target roaming trajectory of the target terminal, the method further includes: For multiple candidate terminals, perform the following operations respectively: The historical roaming events of the first candidate terminal are analyzed to obtain the candidate network environment and candidate roaming trajectory of the first candidate terminal; wherein, the first candidate terminal is any one of the multiple candidate terminals, and the candidate network environment represents: the network service capabilities provided by the historical AP corresponding to the first candidate terminal to the first candidate terminal in the historical roaming events; Based on the candidate network environment and the candidate roaming trajectory, a candidate terminal roaming profile of the first candidate terminal is constructed; The obtained candidate terminal roaming profiles are saved to the candidate terminal roaming profile set.

3. The method as described in claim 2, characterized in that, The step of constructing a candidate terminal roaming profile for the first candidate terminal based on the candidate network environment and the candidate roaming trajectory includes: Obtain multiple roaming response results of the first candidate terminal on the candidate roaming trajectory; wherein, each roaming response result represents: the response result of the first candidate terminal based on the corresponding candidate terminal roaming strategy; From the multiple roaming response results, select the target response result that meets the preset terminal roaming response conditions; Based on the candidate terminal roaming strategy corresponding to the target response result and the candidate network environment, a candidate terminal roaming profile of the first candidate terminal is constructed.

4. The method as described in claim 1, characterized in that, The step of filtering the target terminal roaming profile associated with the target roaming trajectory from the candidate terminal roaming profile set includes: Based on the target network environment where the target terminal is located, the terminal type of the target terminal, and the candidate terminal roaming profile set, a corresponding subset of candidate terminal roaming profiles is obtained; From the subset of candidate terminal roaming profiles, the target terminal roaming profile associated with the target roaming trajectory is selected.

5. The method as described in claim 4, characterized in that, The terminal type of the target terminal is determined in the following way: Obtain the basic attribute information of the target terminal, and extract features from the basic attribute information to obtain the corresponding attribute feature set; Based on the attribute features included in the attribute feature set and the feature intervals corresponding to each attribute feature, the terminal type of the target terminal is determined.

6. The method according to any one of claims 1-5, characterized in that, The method further includes: If the terminal environment information is not received, the terminal environment detection request is sent to the target terminal according to the preset detection request period until the terminal environment information is received. or, If the target AP is not found in the terminal environment information, the terminal environment detection request is sent to the target terminal according to the detection request cycle until the target AP is found in the terminal environment information.

7. The method according to any one of claims 1-5, characterized in that, The method further includes: Continuously record the target roaming events of the target terminal; If the target terminal is successfully roamed to the target AP, a current terminal roaming profile of the target terminal is generated based on the target roaming event, and the current terminal roaming profile is saved to the candidate terminal roaming profile set.

8. A terminal roaming device, characterized in that, include: The filtering module is used to obtain the target roaming trajectory of the target terminal when the target terminal associated with the initial access point (AP) roams in, and to filter the target terminal roaming profile associated with the target roaming trajectory from the candidate terminal roaming profile set; wherein, the target terminal roaming profile represents the network communication capability of the target terminal on the target roaming trajectory; The parsing module is used to parse the roaming profile of the target terminal to obtain the roaming strategy of the target terminal; The detection module is used to continuously record the intrusion signal strength of the target terminal, and when it is determined that the intrusion signal strength is less than the signal strength threshold included in the roaming strategy of the target terminal, it sends a terminal environment detection request to the target terminal. The guidance module is used to filter out target APs that meet preset AP roaming conditions from the terminal environment information returned by the target terminal, and guide the target terminal to roam to the target AP.

9. An electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method as described in any one of claims 1-7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method as described in any one of claims 1-7.

Citation Information

Patent Citations

  • Method of promoting terminal roaming in WLAN network and device

    CN103945434A

  • Mechanisms to improve mobile device roaming in wireless networks

    CN103999511A