Terminal roaming method and device, electronic equipment and storage medium

By obtaining and analyzing the roaming trajectories and portraits of terminal devices, screening and guiding them to APs that meet the conditions, the problem of poor roaming effects of terminal devices in wireless communications is solved, and signal strength and network stability are improved.

CN118555633AActive Publication Date: 2024-08-27RUIJIE NETWORKS CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202310132514.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-02-17
Publication Date
2024-08-27
Estimated Expiration
2043-02-17

AI Technical Summary

Technical Problem

In a wireless communication network, when a terminal device roams between different APs, due to information asymmetry and decision-making power resting with the terminal device, the roaming effect is poor. Especially when the AP cannot give roaming suggestions, the terminal device may be uplinked. The RSSI is weak but still connected to the original AP, resulting in slow roaming.

Method used

By obtaining the roaming trajectory and roaming portrait of the target terminal, it analyzes the roaming policy, continuously records the signal strength, sends an environment detection request when the signal strength is lower than the threshold, filters out APs that meet the preset conditions, and guides the terminal device to roam to the target AP.

Benefits of technology

It improves the roaming effect of the terminal device, avoids the problem of slow roaming caused by the weak uplink RSSI of the terminal device and ensures the stability and quality of the network connection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118555633A
    Figure CN118555633A
Patent Text Reader

Abstract

The invention discloses a terminal roaming method and device, electronic equipment and a storage medium, and relates to the technical field of wireless communication. In the application, when the target terminal is roamed, the target roaming track is obtained, the target terminal roaming portrait associated with the target roaming track is screened out from the candidate terminal roaming portrait set, and then the target terminal roaming portrait is analyzed to obtain the target terminal roaming strategy. Therefore, when it is determined that the continuously recorded roaming signal strength is smaller than the signal strength threshold, a terminal environment detection request is sent to the target terminal, then the target AP is screened out from the terminal environment information returned by the target terminal, and the target terminal is guided to roam to the target AP. By adopting the mode, the technical defect that in the related technology, when the AP guides the terminal equipment to roam, the uplink RSSI of the terminal equipment is weak, but cannot sense the uplink RSSI, and the terminal equipment is still possibly connected with the original AP all the time is avoided, so that the roaming effect of the terminal equipment is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] In a wireless communication network, within the signal coverage of a wireless access point (AP) device, a terminal device (STA) can always maintain network communication. However, since the terminal device has mobile communication capabilities, it usually moves from the service area of ​​one AP to the service area of ​​another AP during movement.

[0003] Therefore, in order to avoid the interruption of the terminal device's network communication when the terminal device switches between different APs, wireless roaming technology is introduced on the terminal device. Wireless roaming means that when the terminal device moves to the critical area between the coverage areas of two APs, the terminal device associates with the new AP and disconnects from the original AP, and in the process, maintains an uninterrupted network connection.

[0004] However, due to the information asymmetry between the terminal device and the AP, and the fact that the decision-making power of roaming always lies with the terminal device, the AP cannot give the terminal device roaming suggestions, which will lead to poor roaming effect when the terminal device switches between different APs. In the related art, in order to improve the roaming effect of the terminal device, the terminal device can be roamed with assistance of the AP, thereby solving the problem of poor roaming effect.

[0005] Exemplarily, the AP can assist the terminal device in roaming by configuring a fixed threshold. Specifically, when the uplink received signal strength indicator (RSSI) is lower than the fixed threshold, that is, it is considered that the received signal strength of the terminal device is poor and needs to be switched, the basic service set (BSS) transition management (BSS Transition Management, BTM) recommends guidance or de-authentication (Deauth) forced guidance to guide the terminal device to roam.

[0006] However, when using the above-mentioned terminal roaming method, the terminal device may not be able to perceive the weak uplink RSSI of the terminal device itself when the AP is guiding the terminal device to roam, and may still maintain a connection with the original AP (that is, the terminal device may not respond), resulting in slow roaming, and the roaming effect of the terminal device may even become worse.

[0007] Therefore, the above method cannot ensure that the roaming effect of the terminal device is improved. Summary of the invention

[0008] The embodiments of the present application provide a terminal roaming method, device, electronic device and storage medium to improve the roaming effect of the terminal device.

[0009] In a first aspect, an embodiment of the present application provides a terminal roaming method, the method comprising:

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

[0011] Analyze the roaming profile of the target terminal and obtain the roaming strategy of the target terminal;

[0012] 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 policy of the target terminal, send a terminal environment detection request to the target terminal;

[0013] From the terminal environment information returned by the target terminal, a target AP that meets the preset AP roaming condition is screened out, and the target terminal is guided to roam to the target AP.

[0014] In a second aspect, the present application further provides a terminal roaming device, the device comprising:

[0015] A screening module is used for obtaining a target roaming trajectory of the target terminal when roaming into a target terminal associated with an initial AP, and screening a target terminal roaming portrait associated with the target roaming trajectory from a set of candidate terminal roaming portraits; wherein the target terminal roaming portrait represents: a 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] A detection module, used to continuously record the roaming signal strength of the target terminal, and send a terminal environment detection request to the target terminal when it is determined that the roaming signal strength is less than the signal strength threshold included in the roaming policy of the target terminal;

[0018] The guiding module is used to filter out a target AP that meets a preset AP roaming condition 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 track of the target terminal, the screening module is further used to:

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

[0021] Parsing the historical roaming events of the first candidate terminal to obtain a candidate network environment and a candidate roaming track of the first candidate terminal; wherein the first candidate terminal is any terminal among a plurality of candidate terminals, and the candidate network environment represents: in the historical roaming events, the network service capability provided by the historical AP corresponding to the first candidate terminal to the first candidate terminal;

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

[0023] The obtained candidate terminal roaming portrait is saved in the candidate terminal roaming portrait 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 the candidate roaming trajectory, the screening module is specifically used to:

[0025] Acquire multiple roaming response results of the first candidate terminal on the candidate roaming track; wherein each roaming response result represents: a response result of the first candidate terminal based on the roaming policy of the corresponding candidate terminal;

[0026] Filtering out a target response result that meets a preset terminal roaming response condition from multiple roaming response results;

[0027] Based on the candidate terminal roaming strategy and the candidate network environment corresponding to the target response result, 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 track from the candidate terminal roaming profile set, the screening module is specifically used to:

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

[0030] From the candidate terminal roaming profile subset, a target terminal roaming profile associated with the target roaming trajectory is screened out.

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

[0032] Obtain basic attribute information of the target terminal, and perform feature extraction on the basic attribute information to obtain a corresponding attribute feature set;

[0033] The terminal type of the target terminal is determined based on each attribute feature included in the attribute feature set and a feature interval corresponding to each attribute feature.

[0034] In an optional embodiment, the guiding module is further used for:

[0035] If the terminal environment information is not received, a terminal environment detection request is sent to the target terminal according to a preset detection request period until the terminal environment information is received;

[0036] or,

[0037] If the target AP does not exist 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 exists in the terminal environment information.

[0038] In an optional embodiment, the device further includes a storage module, and the storage module is specifically used to:

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

[0040] If the target terminal successfully roams 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 in the candidate terminal roaming profile set.

[0041] In a third aspect, the present application provides an electronic device comprising a processor and a memory, wherein the memory stores program code, and when the program code is executed by the processor, the processor executes the steps of the terminal roaming method described in the first aspect above.

[0042] In a fourth aspect, the present application provides a computer-readable storage medium, which includes a program code. When the program code is executed on an electronic device, the program code is used to enable the electronic device to execute the steps of the terminal roaming method described in the first aspect above.

[0043] In a fifth aspect, the present application provides a computer program product, which, when called by a computer, enables the computer to execute the steps of the terminal roaming method as described in the first aspect.

[0044] In a sixth aspect, the present application provides a terminal roaming system, including: a first AP and a roaming information platform;

[0045] The first AP is used to obtain a target roaming trajectory of the target terminal when roaming into a target terminal associated with an initial access point AP, and to screen out a target terminal roaming portrait associated with the target roaming trajectory from a set of candidate terminal roaming portraits, and to parse the target terminal roaming portrait to obtain a target terminal roaming policy, and to continuously record the roaming signal strength of the target terminal, and to send a terminal environment detection request to the target terminal when determining that the roaming signal strength is less than a signal strength threshold included in the target terminal roaming policy, and to screen out a target AP that meets a preset AP roaming condition from the terminal environment information returned by the target terminal, and to guide the target terminal to roam to the target AP, and to send the continuously recorded target roaming events of the target terminal to a roaming information platform; wherein the target terminal roaming portrait represents: the network communication capability of the target terminal on the target roaming trajectory.

[0046] The roaming information platform is used to receive a target roaming event of a target terminal, generate a current terminal roaming portrait of the target terminal based on the target terminal roaming information roaming event, and save the current terminal roaming portrait into a candidate terminal roaming portrait set.

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

[0048] In the terminal roaming method provided in the present application, when roaming into a target terminal associated with an initial AP, a target roaming trajectory of the target terminal is obtained, and a target terminal roaming portrait associated with the target roaming trajectory is screened out from a set of candidate terminal roaming portraits; wherein the target terminal roaming portrait represents: the network communication capability of the terminal device on the target roaming trajectory; then, the target terminal roaming portrait is parsed to obtain a target terminal roaming policy; 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 a signal strength threshold included in the target terminal roaming policy, a terminal environment detection request is sent to the target terminal; finally, a target AP that meets the preset AP roaming conditions is screened out from the terminal environment information returned by the target terminal, and the target terminal is guided to roam to the target AP.

[0049] In this way, the target AP to be roamed is determined based on the target terminal roaming profile associated with the target roaming trajectory and the terminal environment information returned by the target terminal, thereby guiding the target terminal to roam to the target AP. This avoids the technical drawbacks in the related technology that, when the AP is guiding the terminal device to roam, the terminal device's own uplink RSSI is already weak, but it cannot be perceived and may still maintain a connection with the original AP (that is, the terminal device does not respond), resulting in slow roaming, which in turn causes the roaming effect of the terminal device to even become worse. Therefore, to a certain extent, the roaming effect of the terminal device is improved.

[0050] In addition, other features and advantages of the present application will be described in the subsequent description, and partly become apparent from the description, or be understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor. In the drawings:

[0052] Figure 1 A schematic diagram of the architecture of a terminal roaming guidance system provided in an embodiment of the present application;

[0053] Figure 2 A schematic diagram of the distribution of APs provided in an embodiment of the present application;

[0054] Figure 3 A schematic diagram of an implementation flow of a terminal roaming portrait construction method provided in an embodiment of the present application;

[0055] Figure 4 A logical schematic diagram of a roaming portrait constructed for a roaming behavior of a terminal + network provided in an embodiment of the present application;

[0056] Figure 5 A schematic diagram of a method flow for constructing a terminal roaming portrait provided in an embodiment of the present application;

[0057] Figure 6 A schematic diagram of an implementation flow of a terminal roaming method provided in an embodiment of the present application;

[0058] Figure 7 A logical schematic diagram for determining a terminal type provided in an embodiment of the present application;

[0059] Figure 8 A method based on the embodiment of the present application is provided Figure 6 Schematic diagram of the implementation process;

[0060] Fig. 9 A schematic diagram of the structure of a terminal roaming device provided in an embodiment of the present application;

[0061] Fig.10 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0062] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the technical solution of the present application, rather than all of the embodiments. Based on the embodiments recorded in the application documents, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the technical solution of the present application.

[0063] It should be noted that in the description of this application, "multiple" is understood as "at least two". "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent three situations: A exists alone, A and B exist at the same time, and B exists alone. A and B are connected, which can represent two situations: A and B are directly connected and A and B are connected through C. In addition, in the description of this application, words such as "first" and "second" are only used for the purpose of distinguishing descriptions, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying order.

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

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

[0066] (1) 802.11K protocol: By establishing radio measurement management standards, it helps terminal devices select alternative target APs in advance, reduces the rescanning process, and allows APs to request terminal devices to inform them of their measurement results. In short, it allows APs and terminal devices to exchange information, that is, each party 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 roam out of the current BSS and access a more suitable AP. This avoids the terminal device switching to another AP when the signal has degraded to the point of being interrupted, that is, accessing a more suitable AP.

[0068] (3) RSSI: Generally used to indicate 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 inform the scanned AP.

[0070] (5) Multicast Domain Name System (MDNS): Resolves host names 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) Hyper Text Transfer Protocol (HTTP): is a request and response protocol that specifies what messages a client may send to a server and what responses it may receive.

[0072] (7) Hypertext Transfer Protocol Secure (HTTPS): It is an HTTP channel with security as its goal. Based on 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): Generally, network requests carry UA, which identifies some basic attribute information, that is, a string of information including user information, application type, operating system, software version number, etc.

[0075] Further, based on the above-mentioned nouns and related terminology explanations, the design concept of the embodiments of the present application is briefly introduced below:

[0076] In early wireless communication networks, wireless roaming of terminal devices can be achieved through the 802.11 protocol. However, early 802.11 wireless roaming has two major drawbacks: information asymmetry: both terminal devices and APs have only part of the information, that is, APs have network environment information and uplink information (sent by terminal devices to APs), and terminal devices have downlink information (sent by APs to terminal devices); the decision-making power of terminal roaming lies with the terminal devices, and the AP cannot even give roaming suggestions for the terminal devices; it should be noted that the above-mentioned network environment information can indicate the network service capabilities of the AP, and specifically may include: basic attribute information of the AP and channel resource usage (also referred to as load information). For example, the basic attribute information of the AP includes but is not limited to at least one of the following: AP identification, AP channel identification, AP frequency band; AP resource usage may include: channel utilization and / or the number of access terminal devices.

[0077] Therefore, since the terminal device lacks an overall perspective, it is unable to obtain uplink information and network environment information, and has no roaming decision-making power, resulting in a poor roaming experience for the terminal device; and the current AP does not have a more effective terminal roaming guidance strategy.

[0078] In view of this, there are currently two main directions for terminal roaming optimization: one is AP-assisted terminal device roaming, and the other is AP-eliminated roaming, thereby completely eliminating the problem of poor roaming experience.

[0079] Among them, in the process of AP-assisted terminal devices roaming, the AP can guide the terminal roaming based on the set threshold, or 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 is then performed.

[0080] Exemplarily, the AP can assist the terminal device in roaming by configuring a fixed threshold. Specifically, when the uplink RSSI is lower than the fixed threshold, that is, when it is considered that the roaming experience of the terminal device is poor and needs to be switched, the terminal device is guided to roam through BTM suggestion guidance or Deauth forced guidance.

[0081] However, when using the above-mentioned terminal roaming method, the terminal device may not be able to perceive the weak uplink RSSI of the terminal device itself when the AP is guiding the terminal device to roam, and may still maintain a connection with the original AP (that is, the terminal device may not respond), resulting in slow roaming, and the roaming effect of the terminal device may even become worse.

[0082] Therefore, in order to improve the roaming effect of the terminal device, an embodiment of the present application proposes a terminal roaming method, which specifically includes: when roaming into a target terminal associated with an initial AP, obtaining a target roaming trajectory of the target terminal, and screening out a target terminal roaming portrait associated with the target roaming trajectory from a set of candidate terminal roaming portraits, wherein the target terminal roaming portrait represents: the network communication capability of the terminal device on the target roaming trajectory; then, parsing the target terminal roaming portrait to obtain a target terminal roaming policy; 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 policy, sending a terminal environment detection request to the target terminal; finally, screening out a 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 an optional implementation, the target roaming trajectory is characterized by: the AP information that the target terminal passes through before guiding the target terminal to roam to the target AP. Therefore, the above target roaming trajectory can be obtained by the wireless controller (English: Access Controler, abbreviated: AC) in the AP network architecture, that is, during the terminal roaming process, the AC will record the terminal roaming trajectory of the target terminal, that is, 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 the subsequent terminal roaming process; optionally, if the AP itself has the ability to record the terminal roaming trajectory of the target terminal, the AP can record the terminal roaming trajectory of the target terminal in real time during the terminal roaming process, and can also upload the recorded terminal roaming trajectory to a preset roaming information platform, etc. At this time, the above target roaming trajectory can be directly obtained by the roaming information platform in the AP network architecture. Furthermore, the roaming information platform can be specifically implemented through a background server or a cloud server.

[0084] In particular, the preferred embodiments of the present application are described below in conjunction with the drawings in the specification. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present application, and are not used to limit the present application, and the embodiments of the present application and the features in the embodiments may be combined with each other if there is no conflict.

[0085] See also Figure 1 As shown, it is a schematic diagram of the architecture of a terminal roaming guidance system provided in an embodiment of the present application. The system includes: multiple AP101 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 (English: Wireless Local Area Network, abbreviated: WLAN), and each AP101 can be connected to or roam into a terminal device 102.

[0086] It should be noted that the embodiment of the present application does not impose any restriction 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 platform, or other network devices may also be included, such as Figure 1 As shown, only multiple APs 101, multiple terminal devices 102 and a roaming information platform 103 are described as an example, and the above devices and their respective functions are briefly introduced below.

[0087] Any AP101 among the multiple AP101s is used to access at least one terminal device 102, and can provide network services for each terminal device 102 that is connected, such as channels (resources), wireless fidelity (English: Wireless Fidelity, abbreviated: Wi-Fi) signals, etc. The AP101 is also used to measure the signal strength between the AP101 and the terminal device 102 connected to the AP101, and report network environment information to the roaming information platform 103 based on the measured signal strength. The AP101 is also used to report the terminal roaming trajectory of the connected terminal device 102 to the roaming information platform 103 and trigger the neighbor AP101 of the AP101 to report the network environment information of the neighbor AP101 to the roaming information platform 103. The AP101 is also used to measure the signal strength between the AP101 and the terminal device 102 connected to the neighbor AP101, and report the network environment information to the roaming information platform 103 based on the measured signal strength. The AP101 is also used to receive a roaming guidance instruction sent by the roaming information platform 103, and guide the terminal device 102 connected to the AP101 to roam according to the received roaming guidance instruction.

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

[0089] Exemplarily, the terminal device 102 can be an electronic device such as a mobile phone, a smart wearable device, a tablet computer, a notebook, etc. with a WiFi wireless interface; in addition, a related client can also be installed on the terminal device 102, and the client can be software, such as an application (English: Application, abbreviation: APP), a browser, short video software, etc., or it can be a web page, a small program, etc.

[0090] It should be noted that the WiFi signal provided by each AP101 has a certain coverage range. According to the relationship between the signal strength between the terminal device 102 and the AP101 and the preset signal strength threshold, the coverage range can be divided into two parts: the core coverage range and the non-core coverage range. When a terminal device 102 is within the core coverage range of an AP101, it is considered that the signal strength between the terminal device 102 and the AP101 is high; when the terminal device 102 is far away from the core coverage range of the AP101 and is within the non-core coverage range of the AP101, it is considered that the signal strength between the terminal device 102 and the AP101 is low; wherein, when the signal strength between the terminal device 102 and the AP101 is lower than the preset signal strength threshold, it will bring a bad experience to the terminal device 102.

[0091] Therefore, when the signal strength between the terminal device 102 and another AP101 is high, the terminal device 102 can roam from the currently accessed AP101 to another AP101, and the other AP101 provides the terminal device 102 with a WiFi signal to avoid bringing a bad experience to the terminal user.

[0092] See also Figure 2 As shown, the terminal device (such as STA) accesses AP1 before moving, and moves from the core coverage of AP1 to the core coverage of AP2, and moves to the core coverage of AP3 through the core coverage of AP2. If the STA is always connected to AP1 during the movement, then as the STA moves, the STA moves away from the core coverage of AP1, and the transmission distance of the WiFi signal sent by AP1 to the STA also increases, thereby reducing the signal strength of the WiFi signal reaching the STA, that is, the signal will become worse and the data transmission rate will decrease. Therefore, as the STA moves, the signal strength between the STA and AP1 will decrease from 51.8Mbps to 22.4Mbps.

[0093] Moreover, when the STA enters the core coverage 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 the STA with a WiFi signal, the signal strength of the WiFi signal provided by AP3 is relatively high, thus avoiding a bad experience for the STA.

[0094] Roaming information platform 103, in the embodiment of the present invention, the roaming information platform can be implemented through artificial intelligence (English: Artificial Intelligence, abbreviation: AI) cloud, and is used to generate terminal roaming portraits of various terminal devices 102, wherein the terminal roaming portrait is used to indicate the network communication capability of the terminal device 102 during roaming. For any terminal device 102, the roaming information platform 103 is also used to determine whether the terminal device 102 needs to roam according to the movement state of the terminal device 102. When the terminal device 102 needs to roam, the roaming information platform 103 can also determine whether the terminal device 102 can roam based on guidance according to the roaming guidance behavior characteristics, the network environment information of the AP101 currently accessed by the terminal device 102, and the network environment information of at least one neighbor AP101 of the AP101 currently accessed by the terminal device 102. If the terminal device 102 can roam based on guidance, the roaming information platform 103 can send a roaming guidance instruction to the AP101 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 a 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 communications, middleware services, domain name services, security services, content distribution networks (English: Content Delivery Network, abbreviation: CDN), as well as big data and artificial intelligence platforms.

[0096] In a possible implementation, all or part of the functions of the roaming information platform 103 can also be implemented on AP101. For example, the roaming information platform 103 is only responsible for generating terminal roaming portraits of various terminals 102, and sending the terminal roaming portraits of various terminal devices 102 to each AP101. AP101 determines whether the terminal device 102 needs to roam based on the movement status of the terminal device 102 it connects to. In addition, when the terminal device 102 needs to roam, AP101 can also determine whether the terminal device 102 can roam based on the guidance based on the terminal roaming portrait 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 neighbor AP101. If the terminal device 102 can roam based on the guidance, AP101 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 the present application, for the sake of 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 embodiment of the present application is described below in combination with the above-mentioned system architecture and with reference to the accompanying drawings. It should be noted that the above-mentioned system architecture is only shown to facilitate understanding of the spirit and principles of the present application, and the implementation of the present application is not limited in this respect.

[0099] It should be noted that before obtaining the target roaming trajectory of the target terminal, the AP needs to pre-construct a candidate terminal roaming portrait set including candidate terminal roaming portraits of multiple candidate terminals, so as to facilitate the subsequent operations: according to the obtained target roaming trajectory of the target terminal, filter out the target terminal roaming portrait associated with the target roaming trajectory from the candidate terminal roaming portrait set.

[0100] Optionally, when constructing candidate terminal roaming profiles for multiple candidate terminals, refer to Figure 3 As shown, assuming that the initial AP associated with the target terminal is AP1 and the current AP associated with the target terminal is AP2, the execution subject takes AP2 as an example. For any terminal among the above-mentioned multiple candidate terminals, that is, the first candidate terminal, AP2 can perform the following operations:

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

[0102] Among them, the candidate network environment representation: in the 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 specifically include: basic attribute information of the AP and channel resource usage; the candidate roaming trajectory representation: the historical roaming route of the first candidate terminal, that is, the various APs passed by the first candidate terminal, for example, the candidate roaming trajectory is: AP1→AP2.

[0103] Exemplarily, when executing step S301, AP2 can obtain the historical roaming events of the first candidate terminal from a preset historical roaming event library, 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 the embodiment of the present application, for the sake of ease of description, the network number can be used to replace the candidate network environment in the following text; in addition, in the process of parsing the historical roaming events, the terminal type of the first candidate terminal can also be obtained.

[0104] S302: Construct a candidate terminal roaming profile of the first candidate terminal based on the candidate network environment and the candidate roaming trajectory.

[0105] In an optional implementation, when executing step S302, after obtaining the candidate network environment and the candidate roaming trajectory, AP2 can obtain multiple roaming response results of the first candidate terminal on the candidate roaming trajectory, wherein each roaming response result represents: a response result of the first candidate terminal based on the corresponding candidate terminal roaming policy; then, from the multiple roaming response results, a target response result that meets the preset terminal roaming response condition is screened out; finally, based on the candidate terminal roaming policy and the candidate network environment corresponding to the target response result, a candidate terminal roaming portrait of the first candidate terminal is constructed; in this way, according to the candidate terminal roaming policy set corresponding to the target response result that meets the preset terminal roaming response condition on the candidate roaming trajectory of the first candidate terminal, and the candidate network environment, a candidate terminal roaming portrait of the first candidate terminal can be accurately generated.

[0106] The above-mentioned preset terminal roaming response condition representation is required: the best roaming effect can be achieved when the parameter or parameter set of the corresponding terminal roaming behavior reaches the optimal threshold.

[0107] S303: Save the obtained candidate terminal roaming portrait into the candidate terminal roaming portrait set.

[0108] Based on the above method steps S301 to S303, AP2 can implement the terminal roaming strategy + roaming portrait construction of the candidate network environment, that is, obtain a candidate terminal roaming portrait set including candidate terminal roaming portraits of multiple candidate terminals, thereby ensuring that when roaming into the target terminal associated with the initial AP, the target terminal roaming portrait can be directly screened out from the candidate terminal roaming portrait set, and then based on the target terminal roaming portrait, the target terminal is guided to perform terminal roaming.

[0109] In an alternative implementation, see Figure 4 As shown, after AP2 obtains 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, and then further distinguish the multiple historical roaming events after classification according to the candidate roaming trajectory, and collect multiple roaming response results of the candidate terminals; optionally, in the process of distinguishing according to the candidate roaming trajectory, if there are two historical roaming events with the same candidate roaming trajectory in the same type of historical roaming events after classification, then an inductive analysis based on the terminal roaming behavior can be performed, wherein the terminal roaming behavior includes but is not limited to: 802.11K Beacon Report Request, 802.11V Btm Request, and direct guided switching.

[0110] In an optional implementation, after finding the current optimal threshold, AP2 can try to fine-tune the parameters therein (e.g., triggered RSSI, detection time, response RSSI difference, and neighbor list); further, observe the effect after fine-tuning, if the effect shows an upward trend, continue to fine-tune, if the effect shows a downward trend, continue to fine-tune in the opposite direction; finally, when the data (effect) is in a convergence state, generate a terminal roaming portrait of the terminal device.

[0111] For example, see Figure 5 As shown, AP2 can realize the terminal roaming behavior portrait collection, that is, build the terminal roaming portrait of the terminal device. Therefore, the execution subject takes AP2 as an example, and the specific steps are as follows:

[0112] S501: Flooding into the terminal device associated with AP1.

[0113] It should be noted that when a terminal device roams from AP1 to AP2 to go online, the online information of the terminal device at this time is recorded: roaming from AP1 and roaming signal strength.

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

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

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

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

[0118] S504: After receiving the reply information from the terminal device, if there is a better optional 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 reply information is the terminal environment information requested by the terminal device based on the terminal environment detection.

[0120] For example, if the reply information of the terminal device received by AP2 contains an optional AP that can provide the terminal device with better network service capabilities 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, triggering 802.11V to guide the switching of the terminal device.

[0121] S505: If there is no better AP, or the terminal refuses to respond to the detection, the number of terminal detection attempts is recorded. If the detection upper limit is not reached, jump to S503 and re-detect; if the detection reaches the upper limit, jump to S506.

[0122] S506: Trigger 802.11V to guide the terminal device to switch.

[0123] Specifically, AP2 sets a better AP as the guidance target based on the previous detection results: if there is a better AP, it sets it as the guidance target; if there is no better AP, it selects the best neighbor list according to the roaming strategy and initiates 802.11V navigation; it should be noted that the neighbor list includes: the terminal device or multiple APs around AP2.

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

[0125] S507: The terminal device responds to 802.11V.

[0126] If the terminal responds to 802.11V, roaming is successful, that is, switching to AP3.

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

[0128] S508: AP3 reports the terminal roaming to the roaming information platform.

[0129] Specifically, after the terminal device roams successfully, AP3 will send the terminal roaming event to the preset roaming information platform; optionally, since AP2 will continue to record the terminal roaming event during the roaming process, after successfully guiding the terminal device to roam to AP3, the terminal roaming event can be sent to AP3, and then the terminal roaming event can be sent to the preset roaming information platform via AP3; in another optional implementation method, after AP2 successfully guides the terminal device to roam to AP3, it can also directly send the recorded terminal roaming event to the preset roaming information platform.

[0130] Exemplarily, the information included in this terminal roaming event (i.e., detailed roaming record) includes but is not limited to: the roaming AP of this roaming, the roaming RSSI, the number of Beacon Report Request attempts, and the wireless parameters and terminal signal strength for each attempt, the received reply, including the signal strength of the reply, the number of 11V guidance attempts, the content, wireless parameters, terminal signal strength, etc. The above information (detailed roaming record) can be uploaded to the roaming information platform after being packaged together.

[0131] It should be noted that in an embodiment of the present application, the above method steps can also be executed by the roaming information platform, so as to send the generated terminal roaming portrait of the terminal device to each AP (such as AP2) to expand the set of candidate terminal roaming portraits stored in each AP, thereby ensuring that when a terminal roaming similar or identical to the current terminal device appears in the future, the target terminal roaming portrait can be directly called.

[0132] Further, based on the above-mentioned method for constructing a terminal roaming portrait, after obtaining the candidate terminal roaming portraits of the above-mentioned multiple candidate terminals, AP2 can obtain a candidate terminal roaming portrait set, thereby obtaining a target terminal roaming portrait of the target terminal based on the candidate terminal roaming portrait set, and then guiding the target terminal to perform terminal roaming based on the target terminal roaming policy carried by the target terminal roaming portrait, see Figure 6 As shown, it is an implementation flow chart of a terminal roaming method provided in an embodiment of the present application. The execution subject still takes AP2 as an example. The specific implementation process of the method is as follows:

[0133] S601: When a target terminal associated with an initial AP is roamed into, a target roaming trajectory of the target terminal is obtained, and a target terminal roaming portrait associated with the target roaming trajectory is screened out from a set of candidate terminal roaming portraits.

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

[0135] In an optional implementation, when executing step S601, AP2 can obtain the target roaming trajectory of the target terminal when determining the target terminal associated with the initial AP (e.g., AP1), thereby obtaining a corresponding candidate terminal roaming portrait subset based on the target network environment in which the target terminal is located, the terminal type of the target terminal, and the candidate terminal roaming portrait set, and then filtering out the target terminal roaming portrait associated with the target roaming trajectory from the candidate terminal roaming portrait subset. In this way, the target terminal roaming portrait can be accurately and quickly filtered out through the target roaming trajectory, terminal type, and target network environment.

[0136] Exemplarily, it is assumed that the candidate terminal roaming portrait set includes 6 candidate terminal roaming portraits, and the candidate network environments, terminal types and candidate roaming tracks corresponding to the 6 candidate terminal roaming portraits are respectively as shown in Table 1:

[0137] Table 1

[0138] Candidate terminal roaming portrait Candidate network environment Terminal Type Candidate roaming trajectories 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 portrait set recorded in the above table, if AP2 determines that the target network environment of the target terminal is Net.2 and the terminal type is Ter.Type1, then the corresponding candidate terminal roaming portrait subset can be obtained according to the candidate roaming portrait set, wherein the candidate terminal roaming portrait subset includes the candidate terminal roaming portrait Termin.Roam.Port.2 and the candidate terminal roaming portrait Termin.Roam.Port.6; then, if the target roaming trajectory of the target terminal is From AP1 to AP2, the target terminal roaming portrait associated with the target roaming trajectory FromAP1 to AP2 can be screened out from the candidate terminal portrait subset as the candidate terminal roaming portrait Termin.Roam.Port.6.

[0140] Optionally, the candidate terminal roaming portrait 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 filter out the target network environment that satisfies the preset network environment similarity condition with the target terminal from the candidate terminal roaming portrait set, and a subset of terminal roaming portraits with the same terminal type is used as the candidate terminal roaming portrait subset, and then filter out the target terminal roaming portrait associated with the target roaming trajectory from the candidate terminal roaming portrait subset, wherein the network environment similarity can be determined based on the relevant parameter information scanned by each other between APs.

[0141] Exemplarily, it is assumed that the candidate terminal roaming portrait set includes 4 candidate terminal roaming portraits, and the candidate network environments corresponding to the 4 candidate terminal roaming portraits, the network environment similarity between the candidate network environment and the target network environment, the terminal type and the candidate roaming trajectory are shown in Table 2:

[0142] Table 2

[0143]

[0144] Based on the candidate terminal roaming portrait set recorded in the above table, 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 can obtain the corresponding candidate terminal roaming portrait subset based on the candidate roaming portrait set after determining that the terminal type of the target terminal is Ter.Type1, wherein the candidate terminal roaming portrait subset includes the candidate terminal roaming portrait Termin.Roam.Port.1 and the candidate terminal roaming portrait Termin.Roam.Port.2; then, if the target roaming trajectory of the target terminal is From AP1 to AP3, the target terminal roaming portrait associated with the target roaming trajectory FromAP1 to AP3 can be screened out from the candidate terminal portrait subset as the candidate terminal roaming portrait Termin.Roam.Port.2.

[0145] In an optional implementation method, AP2 can obtain basic attribute information of the target terminal, and perform feature extraction on the basic attribute information to obtain a corresponding attribute feature set, and then determine the terminal type of the target terminal based on the attribute features contained in the attribute feature set, the feature intervals corresponding to each attribute feature, and the correspondence between each feature interval and the terminal type; in this way, through the correspondence between each feature interval and the terminal type, not only can the terminal type of the target terminal be accurately classified, but also to ensure that the corresponding candidate terminal roaming portrait subset can be quickly and accurately screened out 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 out the wireless capabilities carried in the Auth / Assco request and record it, and send an Auth / Assco reply to the target terminal; then, receive the DHCP request initiated by the target terminal, collect and record the terminal feature information in the DHCP request, and then send a DHCP reply to the target terminal; further, receive the mdns / http / https sent by the target terminal, and collect the feature information of the target terminal in the mdns request and the UA information of the target terminal in the http / https request; further, integrate the various feature information obtained to obtain the basic attribute information of the target terminal; finally, classify the target terminal according to the obtained basic attribute information to determine the terminal type of the target terminal.

[0147] Optionally, AP2 may upload the obtained basic attribute information to the roaming information platform, and the roaming information platform classifies the target terminal according to the basic attribute information to determine the terminal type of the target terminal.

[0148] Exemplarily, assuming that basic attribute information including three attribute features (e.g., Attr.Char1, Attr.Char2, and Attr.Char3) is taken as an example, the feature interval corresponding to the attribute feature Attr.Char1 includes feature interval 1 and feature interval 2, the feature interval corresponding to the attribute feature Attr.Char2 includes feature interval A and feature interval B, and the feature interval corresponding to the attribute feature Attr.Char3 includes feature interval a and feature interval b, and the corresponding relationship between the feature interval and the terminal type is shown in Table 3:

[0149] Table 3

[0150]

[0151] Therefore, after the roaming information platform extracts features from the basic attribute information, if it is determined that the feature interval corresponding to the three attribute features of the basic attribute information is: 1Ba, then the terminal type of the target terminal can be determined to be T3 based on the correspondence between the feature interval and the terminal type recorded in the above table.

[0152] S602: Analyze the roaming profile of the target terminal to obtain the roaming strategy of 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 a signal strength threshold included in the roaming policy of the target terminal, send a terminal environment detection request to the target terminal.

[0154] Exemplarily, when executing step S603, after AP2 obtains the roaming policy of the target terminal, it can continuously record the roaming signal strength of the target terminal. Assuming that the roaming signal strength of the target terminal is 28dbm, and the signal strength threshold included in the roaming policy of the target terminal is 30dbm, it can be seen that the roaming signal strength of 28dbm is less than the signal strength threshold of 30dbm 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 40dbm, it can be seen that the roaming signal strength of 40dbm is not less than the signal strength threshold of 30dbm 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: Filter out a target AP that meets a preset AP roaming condition from the terminal environment information returned by the target terminal, and guide the target terminal to roam to the target AP.

[0156] Among them, the above-mentioned preset AP roaming condition can be an AP with the best roaming effect compared to AP2 among the APs included in the obtained terminal environment information, that is, the target AP; exemplarily, the AP among the above-mentioned APs that provides the best network service capability compared to AP2, or the AP with the best roaming response result compared to AP2 is used as the target AP.

[0157] Exemplarily, when executing 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 various APs included in the terminal environment information; optionally, if there is no AP better than AP2 among the APs included in the terminal environment information, any AP can be used as the target AP.

[0158] In an optional implementation, if one of the following conditions is met, it can be determined that the target terminal has not responded. Therefore, it is necessary to send a terminal environment detection request to the target terminal according to a preset detection request period until the terminal environment information is received: the terminal environment information is not received; or, the target AP does not exist in the terminal environment information; In this way, the technical disadvantage of the target terminal not responding (refusing to respond) is avoided, thereby improving the terminal roaming experience of the target terminal.

[0159] In addition, AP2 can also continuously record the target roaming events of the target terminal, and when it is determined that the target terminal has successfully roamed to the target AP, that is, the terminal roaming is successful, it generates a current terminal roaming portrait of the target terminal based on the target roaming event, and saves the current terminal roaming portrait to the candidate terminal roaming portrait set; optionally, when the terminal roams successfully, the target roaming event can be sent to a preset roaming information platform, so that the preset roaming information platform generates a current terminal roaming portrait of the target terminal based on the target roaming event, and saves the current terminal roaming portrait to the candidate terminal roaming portrait set; in this way, the candidate terminal roaming portrait set can be expanded to ensure that when a terminal roaming similar or identical to the current terminal device occurs subsequently, the corresponding target terminal roaming portrait can be directly called from the candidate terminal roaming portrait set, thereby guiding the terminal device to perform terminal roaming.

[0160] It should also be noted that, since the behavior of the target terminal is uncontrolled, it may roam to an AP other than the AP included in the terminal environment information. At this time, AP2 can also continuously record the target roaming events of the target terminal, and when it is determined that the target terminal has successfully roamed to other APs, it can also send the target roaming events to the preset roaming information platform.

[0161] Exemplarily, based on the terminal roaming method of S601 to S604 above, refer to Figure 8As shown in the figure, roaming guidance based on AI portrait can be realized. The specific steps are as follows:

[0162] S801: Receive a set of candidate terminal roaming portraits generated by a roaming information platform.

[0163] S802: Flooding into the terminal device associated with AP1.

[0164] It should be noted that when a terminal device roams from AP1 to AP2 to go online, the online information of the terminal device at this time is recorded: roaming from AP1 and roaming signal strength.

[0165] S803: Perform a matching query with the portraits in the candidate terminal roaming portrait set according to the terminal roaming track, terminal type and terminal network environment of the terminal device.

[0166] If a match is found, the terminal roaming policy is read directly from the corresponding terminal roaming profile. If no match is found, 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, a terminal environment detection request is initiated.

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

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

[0170] S805: After receiving the reply information from the terminal device, if there is a better optional AP, record the AP information at this time, and proceed to S807 to trigger 802.11V to guide the terminal device to roam.

[0171] The reply information is the terminal environment information requested by the terminal device based on the terminal environment detection.

[0172] S806: If there is no better AP, according to the roaming policy, the acquisition should continue to detect at this time, or directly guide.

[0173] S807: Trigger 802.11V to guide the terminal device to switch.

[0174] Specifically, AP2 sets a better AP as the guidance target based on the previous detection result: if there is a better AP, it sets it as the guidance target; if there is no better AP, it selects the best neighbor list according to the roaming strategy and initiates 802.11V navigation.

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

[0176] S808: The terminal device responds to 802.11V.

[0177] If the terminal responds to 802.11V, roaming is successful, that is, switching to AP3.

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

[0179] S809: AP3 reports the terminal roaming to the roaming information platform and continues the convergence.

[0180] Specifically, after the terminal device roams successfully, AP3 will package the detailed roaming records and send them to the preset roaming information platform; optionally, since AP2 will continue to record the terminal roaming events during the roaming process, after successfully guiding the terminal device to roam to AP3, the terminal roaming event can be sent to AP3, and then the terminal roaming event can be sent to the preset roaming information platform via AP3; in another optional implementation method, after AP2 successfully guides the terminal device to roam to AP3, it can also directly send the recorded terminal roaming event to the preset roaming information platform.

[0181] Obviously, based on the above method steps, the terminal devices are classified and identified through the key access information (i.e., basic attribute information) of the terminal devices; then, the terminal roaming behavior of the terminal devices is collected, and the terminal roaming portrait of the terminal devices is calculated; further, clustering calculation is performed to provide a roaming guidance strategy (i.e., terminal roaming strategy) for each terminal device; finally, on the basis of the terminal roaming portrait, different network environments are superimposed, and then combined with the terminal roaming trajectory, a roaming guidance test based on the terminal roaming trajectory can be generated for various terminal devices of each network, thereby optimizing the wireless roaming experience of the terminal devices.

[0182] In summary, in the terminal roaming method provided in the present application, when roaming into a target terminal associated with an initial AP, a target roaming trajectory of the target terminal is obtained, and a target terminal roaming portrait associated with the target roaming trajectory is screened out from a set of candidate terminal roaming portraits; wherein the target terminal roaming portrait represents: the network communication capability of the terminal device on the target roaming trajectory; then, the target terminal roaming portrait is parsed to obtain a 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 a 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 screened out, and the target terminal is guided to roam to the target AP.

[0183] In this way, the target AP to be roamed is determined based on the target terminal roaming profile associated with the target roaming trajectory and the terminal environment information returned by the target terminal, thereby guiding the target terminal to roam to the target AP. This avoids the technical drawbacks in the related technology that, when the AP is guiding the terminal device to roam, the terminal device's own uplink RSSI is already weak, but it cannot be perceived and may still maintain a connection with the original AP (that is, the terminal device does not respond), resulting in slow roaming, which in turn causes the roaming effect of the terminal device to even become worse. Therefore, to a certain extent, the roaming effect of the terminal device is improved.

[0184] Further, based on the same technical concept, the embodiment of the present application provides a terminal roaming device, which is used to implement the above method flow of the embodiment of the present application. Fig. 9 As shown, the terminal roaming device includes: a screening module 901, a parsing module 902, a detection module 903 and a guiding module 904, wherein:

[0185] The screening module 901 is used for obtaining a target roaming trajectory of the target terminal when roaming into the target terminal associated with the initial AP, and screening out a target terminal roaming portrait associated with the target roaming trajectory from the candidate terminal roaming portrait set; wherein the target terminal roaming portrait 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 policy of the target terminal;

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

[0188] The guiding module 904 is used to filter out a target AP that meets a preset AP roaming condition 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 track of the target terminal, the screening module 901 is further configured to:

[0190] Parsing the historical roaming events of the first candidate terminal to obtain a candidate network environment and a candidate roaming track of the first candidate terminal; wherein the first candidate terminal is any terminal among the multiple candidate terminals, and the candidate network environment is characterized by: in the historical roaming events, the historical AP corresponding to the first candidate terminal provides the first candidate terminal with a network service capability;

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

[0192] The obtained candidate terminal roaming portrait is saved in the candidate terminal roaming portrait 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 the candidate roaming trajectory, the screening module 901 is specifically used to:

[0194] Acquire multiple roaming response results of the first candidate terminal on the candidate roaming track; wherein each roaming response result represents: a response result of the first candidate terminal based on the roaming policy of the corresponding candidate terminal;

[0195] Filtering out a target response result that meets a preset terminal roaming response condition from multiple roaming response results;

[0196] Based on the candidate terminal roaming strategy and the candidate network environment corresponding to the target response result, a candidate terminal roaming profile of the first candidate terminal is constructed.

[0197] In an optional embodiment, when selecting the target terminal roaming profile associated with the target roaming track from the candidate terminal roaming profile set, the screening module 901 is specifically used to:

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

[0199] From the candidate terminal roaming profile subset, a target terminal roaming profile associated with the target roaming trajectory is screened out.

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

[0201] Obtain basic attribute information of the target terminal, and perform feature extraction on the basic attribute information to obtain a corresponding attribute feature set;

[0202] The terminal type of the target terminal is determined based on each attribute feature included in the attribute feature set and a feature interval corresponding to each attribute feature.

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

[0204] If the terminal environment information is not received, a terminal environment detection request is sent to the target terminal according to a preset detection request period until the terminal environment information is received;

[0205] or,

[0206] If the target AP does not exist 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 exists in the terminal environment information.

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

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

[0209] If the target terminal successfully roams 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 target roaming event is saved in the candidate terminal roaming profile set.

[0210] Based on the same technical concept, the embodiment of the present application also provides an electronic device, which can implement the terminal roaming method process provided in the above embodiment of the present application. In one embodiment, the electronic device can be a server, or a terminal device or other electronic device. Fig.10 As shown, the electronic device may include:

[0211] At least one processor 1001, and a memory 1002 connected to the at least one processor 1001. The specific connection medium between the processor 1001 and the memory 1002 is not limited in the embodiment of the present application. Fig.10 In the example, the processor 1001 and the memory 1002 are connected via the bus 1000. Fig.10 The connections between other components are shown in bold lines, and are not intended to be limiting. The bus 1000 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.10 Only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. Alternatively, the processor 1001 can also be called a controller, and there is no limitation on the name.

[0212] In the embodiment of the present application, the memory 1002 stores instructions that can be executed by at least one processor 1001. The at least one processor 1001 can execute a terminal roaming method discussed above by executing the instructions stored in the memory 1002. The processor 1001 can implement Fig. 9 The functions of each module in the device shown.

[0213] Among them, processor 1001 is the control center of the device, and can use various interfaces and lines to connect various parts of the entire control device. By running or executing instructions stored in memory 1002 and calling data stored in memory 1002, various functions of the device and processing data, the device can be monitored as a whole.

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

[0215] The processor 1001 may be a general-purpose processor, such as a CPU, a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of a terminal roaming method disclosed in the embodiments of the present application may be directly embodied as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.

[0216] The memory 1002 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules. The memory 1002 may include at least one type of storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory, a random access memory (English: Random Access Memory, abbreviated: RAM), a static random access memory (English: Static Random Access Memory, abbreviated: SRAM), a programmable read-only memory (English: Programmable Read Only Memory, abbreviated: PROM), a read-only memory (English: Read Only Memory, abbreviated: ROM), an electrically erasable programmable read-only memory (English: Electrically Erasable Programmable Read-Only Memory, abbreviated: EEPROM), a magnetic memory, a disk, an optical disk, etc. The memory 1002 is any other medium that can be used to carry or store a desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory 1002 in the embodiment of the present application can also be a circuit or any other device that can realize a storage function, for storing program instructions and / or data.

[0217] By designing and programming the processor 1001, the code corresponding to the terminal roaming method described in the above embodiment can be fixed into the chip, so that the chip can execute the code when running. Figure 6 The steps of a terminal roaming method in the embodiment shown are as follows: How to design and program the processor 1001 is a technology well known to those skilled in the art and will not be described in detail here.

[0218] Based on the same inventive concept, an embodiment of the present application further provides a storage medium, which stores computer instructions. When the computer instructions are executed on a computer, the computer executes a terminal roaming method discussed above.

[0219] In some possible implementations, the present application also provides various aspects of a terminal roaming method that can also be implemented in the form of a program product, which includes a program code. When the program product is run on an apparatus, the program code is used to enable the control device to execute the steps of a terminal roaming method according to various exemplary implementations of the present application described above in this specification.

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

[0221] The first AP is used to obtain a target roaming trajectory of the target terminal when roaming into a target terminal associated with an initial access point AP, and to screen out a target terminal roaming portrait associated with the target roaming trajectory from a set of candidate terminal roaming portraits, and to parse the target terminal roaming portrait to obtain a target terminal roaming policy, and to continuously record the roaming signal strength of the target terminal, and to send a terminal environment detection request to the target terminal when determining that the roaming signal strength is less than a signal strength threshold included in the target terminal roaming policy, and to screen out a target AP that meets a preset AP roaming condition from the terminal environment information returned by the target terminal, and to guide the target terminal to roam to the target AP, and to send the continuously recorded target roaming events of the target terminal to a roaming information platform; wherein the target terminal roaming portrait represents: the network communication capability of the target terminal on the target roaming trajectory.

[0222] The roaming information platform is used to receive a target roaming event of a target terminal, generate a current terminal roaming portrait of the target terminal based on the target terminal roaming information roaming event, and save the current terminal roaming portrait into a candidate terminal roaming portrait set.

[0223] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0224] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0225] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0226] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0227] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A terminal roaming method, characterized in that: include: When roaming into a target terminal associated with an initial access point AP, a target roaming trajectory of the target terminal is obtained, and a target terminal roaming portrait associated with the target roaming trajectory is screened out from a set of candidate terminal roaming portraits; wherein the target terminal roaming portrait represents: a network communication capability of the target terminal on the target roaming trajectory; Analyze the roaming profile of the target terminal to obtain a roaming strategy of the target terminal; continuously recording the roaming signal strength of the target terminal, and sending a terminal environment detection request to the target terminal when determining that the roaming signal strength is less than a signal strength threshold included in the roaming policy of the target terminal; A target AP that meets a preset AP roaming condition is screened out from the terminal environment information returned by the target terminal, and the target terminal is guided to roam to the target AP.

2. The method according to claim 1, characterized in that Before acquiring the target roaming track of the target terminal, the method further includes: For various candidate terminals, perform the following operations respectively: Parsing the historical roaming events of the first candidate terminal to obtain a candidate network environment and a candidate roaming track in which the first candidate terminal is located; wherein the first candidate terminal is any terminal among the multiple candidate terminals, and the candidate network environment represents: in the historical roaming events, the historical AP corresponding to the first candidate terminal provides the first candidate terminal with a network service capability; Based on the candidate network environment and the candidate roaming trajectory, construct a candidate terminal roaming profile of the first candidate terminal; The obtained candidate terminal roaming portrait is saved in the candidate terminal roaming portrait set.

3. The method according to claim 2, characterized in that The constructing a candidate terminal roaming profile of the first candidate terminal based on the candidate network environment and the candidate roaming trajectory includes: Acquire multiple roaming response results of the first candidate terminal on the candidate roaming track; wherein each roaming response result represents: a response result of the first candidate terminal based on a corresponding candidate terminal roaming policy; Filtering out a target response result that satisfies a preset terminal roaming response condition from the multiple roaming response results; Based on the candidate terminal roaming policy 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 according to claim 1, characterized in that The step of selecting the target terminal roaming profile associated with the target roaming track 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 portrait set, obtaining a corresponding candidate terminal roaming portrait subset; A target terminal roaming profile associated with the target roaming track is screened out from the candidate terminal roaming profile subset.

5. The method according to claim 4, characterized in that The terminal type of the target terminal is determined in the following manner: Acquire basic attribute information of the target terminal, and perform feature extraction on the basic attribute information to obtain a corresponding attribute feature set; The terminal type of the target terminal is determined based on each attribute feature included in the attribute feature set and a feature interval corresponding to each attribute feature.

6. The method according to any one of claims 1 to 5, characterized in that The method further comprises: If the terminal environment information is not received, sending the terminal environment detection request to the target terminal according to a preset detection request period until the terminal environment information is received; or, If the target AP does not exist in the terminal environment information, the terminal environment detection request is sent to the target terminal according to the detection request period until the target AP exists in the terminal environment information.

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

8. A terminal roaming device, characterized in that: include: A screening module is used for, when roaming into a target terminal associated with an initial access point AP, obtaining a target roaming trajectory of the target terminal, and screening out a target terminal roaming portrait associated with the target roaming trajectory from a set of candidate terminal roaming portraits; wherein the target terminal roaming portrait represents: a network communication capability of the target terminal on the target roaming trajectory; A parsing module, used to parse the roaming profile of the target terminal to obtain a roaming strategy of the target terminal; A detection module, configured to continuously record the roaming signal strength of the target terminal, and send a terminal environment detection request to the target terminal when it is determined that the roaming signal strength is less than a signal strength threshold included in the roaming policy of the target terminal; The guiding module is used to filter out a target AP that meets a preset AP roaming condition 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, the method according to any one of claims 1 to 7 is implemented.

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

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

  • Method, device and system for determining terminal portrait, equipment and storage medium

    CN113596898A

  • Terminal roaming setting method and device, terminal equipment and storage medium

    CN115243335A

  • Messaging method and system for managing message for inbound roamer and roamer information associating with credit card company

    KR1020130082713A