Roaming identification method, computer readable storage medium, electronic equipment and router

By storing and processing access information locally at the access point, combined with Seamless Roaming and Multi-Link Operation mechanisms, the problem of low efficiency in identifying table tennis roaming by central control software is solved, and fast and flexible table tennis roaming recognition and processing is achieved, improving network stability and user experience.

CN120499759APending Publication Date: 2025-08-15TP-LINK INT CHENGDU CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510803051.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-16
Publication Date
2025-08-15

AI Technical Summary

Technical Problem

In the prior art, the central control software is used to identify that ping-pong roaming is inefficient and not flexible enough to deal with ping-pong roaming in time.

Method used

Access information is received and stored locally at the access point, ping-pong roaming is judged through the access frequency, and identification and processing is performed when the access frequency exceeds the preset threshold. Data synchronization is used by Seamless Roaming and Multi-Link Operation mechanisms to reduce dependence on the central controller.

Benefits of technology

It realizes rapid identification of ping-pong roaming locally at the access point, improves identification efficiency and flexibility, reduces network interruptions and delays, and optimizes the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120499759A_ABST
    Figure CN120499759A_ABST
Patent Text Reader

Abstract

The invention discloses a roaming identification method, a computer readable storage medium, electronic equipment and a router. The method comprises the following steps: receiving an access prompt of a target terminal; under the condition that the target terminal has the previous access point, receiving and storing access information synchronized with the previous access point, the access information comprising at least one of the following: access time, access duration and offline time; based on the access prompt, determining an access frequency corresponding to the target terminal according to stored access information corresponding to the target terminal; and when the access frequency is greater than a preset roaming threshold, determining that ping-pong roaming occurs in the target terminal. According to the invention, the technical problems of untimely information synchronization, low roaming phenomenon identification efficiency and inflexibility caused by acquiring the access behavior of the terminal through the central control software to identify the roaming condition at present are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a roaming identification method, a computer-readable storage medium, an electronic device, and a router. Background Art

[0002] Current methods for identifying ping-pong roaming require central control software that manages the APs in the network. APs within the network report terminal access behavior to the central control software, which then determines the terminal's access frequency based on access data reported by multiple APs. When ping-pong roaming is detected, the central control software determines the appropriate response and sends it to the corresponding AP for execution. This solution relies on a central controller, requiring APs to report relevant data and wait for the controller's decision. This results in inefficient and inefficient ping-pong roaming handling, hindering timely and flexible response.

[0003] To address the above-mentioned problems, no effective solutions have been proposed so far. Summary of the Invention

[0004] Embodiments of the present invention provide a roaming identification method, a computer-readable storage medium, an electronic device, and a router to at least address the current technical issues of obtaining terminal access behavior through central control software and then identifying roaming situations, resulting in untimely information synchronization, low roaming phenomenon identification efficiency, and lack of flexibility.

[0005] According to one aspect of an embodiment of the present invention, a roaming identification method is provided, comprising: receiving an access prompt from a target terminal; if the target terminal has a previous access point, receiving and storing access information synchronized by the previous access point, wherein the access information includes at least one of the following: access time, access duration, and offline time; determining, based on the access prompt and according to the stored access information corresponding to the target terminal, an access frequency corresponding to the target terminal; and determining that ping-pong roaming occurs at the target terminal when the access frequency is greater than a preset roaming threshold.

[0006] Optionally, when it is determined that the target terminal has ping-pong roaming, the method further includes: determining a target access point corresponding to the target terminal based on a preset roaming processing method; and synchronizing an identifier and a roaming processing method corresponding to the target access point to access points in the target network.

[0007] Optionally, determining the target access point corresponding to the target terminal based on a preset roaming processing method includes: determining a historical access point corresponding to the target terminal; reading roaming information corresponding to the historical access point, and determining the communication quality between the target terminal and the historical access point based on the roaming information corresponding to the historical access point; and determining the target access point corresponding to the target terminal based on the communication quality.

[0008] Optionally, based on a preset roaming processing method, determining a target access point corresponding to the target terminal includes: sending a scanning signal to the target terminal, wherein the scanning signal is used to instruct the target terminal to scan for associable access points in a preset area; receiving associable access points fed back by the target terminal; and selecting an access point that meets preset conditions from the associable access points as the target access point corresponding to the target terminal.

[0009] Optionally, receiving and storing access information synchronized by the previous access point includes: querying whether there is a status table corresponding to the target terminal, wherein the status table is used to store the access information of the target terminal; if there is a status table corresponding to the target terminal, recording the access information into the status table for storage.

[0010] Optionally, querying whether there is a state table corresponding to the target terminal further includes: if there is no state table corresponding to the target terminal, establishing a state table corresponding to the target terminal; and recording the access information into the state table for storage.

[0011] Optionally, the method further includes: when it is detected that the target terminal is offline, recording the offline duration corresponding to the target terminal; when the offline duration reaches a second preset duration, deleting the status table corresponding to the target terminal.

[0012] According to another aspect of an embodiment of the present invention, a router is provided for executing any one of the above-mentioned roaming identification methods, comprising: a data synchronization module for receiving and storing access information synchronized by a previous access point corresponding to a target terminal; an access information statistics module for determining, based on an access prompt of the target terminal and the stored access information corresponding to the target terminal, an access frequency corresponding to the target terminal; and a ping-pong roaming determination module for determining, based on the access frequency and a preset roaming threshold, whether ping-pong roaming occurs in the target terminal, wherein if the access frequency is greater than the roaming threshold, it is determined that ping-pong roaming occurs in the target terminal.

[0013] The above router also includes: a ping-pong roaming processing decision module, which is used to determine the target access point corresponding to the target terminal based on a preset roaming processing method; and a data synchronization module is also used to synchronize the identifier and roaming processing method corresponding to the target access point to the access points in the target network.

[0014] According to another aspect of the present invention, a computer-readable storage medium is provided, which includes a stored executable program. When the executable program is executed, the device where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned roaming identification methods.

[0015] According to another aspect of the present invention, an electronic device is provided, comprising: a memory storing an executable program; and a processor for running the program, wherein any one of the above-mentioned roaming identification methods is executed when the program is run.

[0016] According to yet another aspect of an embodiment of the present invention, a computer program product is provided, including a computer program. When the computer program is executed by a processor, any one of the above roaming identification methods is implemented.

[0017] In an embodiment of the present invention, a roaming identification method is used to receive an access prompt from a target terminal; if the target terminal has a previous access point, receive and store access information synchronized by the previous access point, where the access information includes at least one of the following: access time, access duration, and offline time; determine an access frequency corresponding to the target terminal based on the access prompt and the stored access information corresponding to the target terminal; and if the access frequency is greater than a preset roaming threshold, determine that the target terminal has engaged in ping-pong roaming. Roaming identification is performed locally at the access point using a roaming data synchronization mechanism. This achieves the technical effect of enabling ping-pong roaming identification without the need for management by a central controller, thereby improving the efficiency and flexibility of roaming identification. This solves the current technical problem of using central control software to obtain terminal access behavior and then identify roaming conditions, resulting in untimely information synchronization, low roaming identification efficiency, and insufficient flexibility. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0019] Figure 1 is a flowchart of a roaming identification method provided according to an embodiment of the present invention;

[0020] Figure 2 is a schematic diagram of a roaming identification method provided according to an optional embodiment of the present invention;

[0021] Figure 3 4 is an architectural diagram of a router provided according to an embodiment of the present invention. DETAILED DESCRIPTION

[0022] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of the present invention.

[0023] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0024] First, some nouns or terms that appear in the description of the embodiments of the present application are subject to the following interpretations:

[0025] Ping-pong roaming is a common problem in wireless network environments, particularly in densely populated Wi-Fi hotspots. It refers to the phenomenon in which wireless client devices (such as mobile phones and laptops) frequently switch connections between two or more adjacent wireless access points (APs), much like a ping-pong ball bouncing back and forth. Ping-pong roaming can cause devices to frequently disconnect and reconnect, impacting their user experience.

[0026] Seamless Roaming refers to the mechanisms and technologies used in wireless networks to enable smooth, seamless roaming between different access points (APs). Its core goal is to ensure that mobile devices (such as mobile phones, tablets, and laptops) can seamlessly switch from one AP to another without noticeable network interruption or performance degradation.

[0027] Multi-Link Operation (MLO) is an advanced wireless networking technology introduced in the IEEE 802.11be (Wi-Fi 7) standard. It enhances a device's ability to handle multiple links in dense network environments, particularly in large or complex network configurations. MLO's primary purpose is to significantly improve data transmission speeds and network reliability by allowing devices (such as routers or client devices) to use multiple wireless links simultaneously.

[0028] Co-SR is a wireless network technology designed to coordinate the behavior of different access points (APs) and control power to enable real-time concurrent transmission across multiple APs. During roaming, power control can be used to enhance device roaming behavior.

[0029] Currently, identifying ping-pong roaming is done by setting up central control software to manage the APs in the network. The APs in the network report the terminal's access behavior to the central control software. The central control software then determines the terminal's access frequency based on the access data reported by multiple APs, and then determines whether the terminal is experiencing ping-pong roaming. The central control software then determines the appropriate handling method and sends it to the corresponding AP for execution. This solution relies on a central controller, and APs need to report data and wait for the controller to issue a decision, resulting in a lack of timely and flexible handling of ping-pong roaming. To address the above technical issues, embodiments of the present invention provide a method for roaming identification. Figure 1 FIG. 1 is a flow chart of a roaming identification method according to an embodiment of the present invention. Figure 1 As shown, the method includes the following steps:

[0030] Step S102: Receive an access prompt from a target terminal.

[0031] The execution subject of the method of this embodiment can be an access point (AP) in the target network. In the target network, the access point is used to connect terminals in the wireless local area network (WLAN), such as laptops, smartphones, Internet of Things devices and wired network infrastructure, so that the terminals can access resources on the Internet or within the local area network.

[0032] When searching for a connectable wireless network, a terminal sends a broadcast or probe request signal. Access points listen for these signals to detect nearby terminals searching for a network. When a target terminal connects to an access point, the access point receives a connection notification and begins recording connection information, such as connection time and signal strength, to provide data for subsequent network management and optimization.

[0033] Step S104: if the target terminal has a previous access point, receive and store access information synchronized by the previous access point, wherein the access information includes at least one of the following: access time, access duration, and offline time.

[0034] Among them, the target terminal may be associating with the access point for the first time, that is, there is no previous access point, and at this time there is no access information synchronized by the previous access point. However, if the target terminal roams from another access point to the current access point, the previous access point will synchronize the access information so that the current access point can understand the previous access status of the target terminal. Among them, the access information may include access time, access duration, offline time, and may also include the identifier corresponding to the previous access point, signal strength, etc. The synchronization process is usually implemented through a special roaming protocol, such as the Seamless Roaming protocol. After the Seamless Roaming function is enabled, the access point can identify ping-pong roaming and issue the processing mechanism without the need for central control software. Similarly, when the target terminal leaves the current access point and roams to other access points, the current access point can also package the relevant access information and synchronize it to other access points.

[0035] It's important to note that the Seamless Roaming protocol must be combined with the Multi-Link Operation (MLO) mechanism to enable fast handover between multiple links for STAs. Within the same MLO AP, MLO STAs can negotiate handovers using multi-link reconfiguration when switching links. When roaming from one MLO AP to another, 802.11r mechanisms can be used for rapid authentication and association. However, this process disrupts the current session context, potentially leading to information loss during roaming. However, Seamless Roaming uses the Seamless Mobility Domain (SMD) architecture to pre-synchronize authentication and session context information with the target MLO AP, significantly reducing roaming time and ensuring data continuity for seamless roaming. Furthermore, within the MLO architecture, STA status information can be synchronized between APs, enabling smooth handover between different links. The Seamless Roaming protocol not only synchronizes the authentication information necessary for fast roaming but also further synchronizes information such as the STA's roaming history and signal strength. This allows the AP to adjust parameters such as transmit power and channel selection based on more comprehensive information to reduce STA ping-pong roaming. At the same time, the processing strategy is quickly communicated to other relevant APs through the Seamless Roaming information synchronization mechanism.

[0036] By combining the fast roaming capabilities of the Seamless Roaming protocol with the multi-link advantages of the MLO mechanism, the user experience on the move can be significantly improved. This combination provides continuous and stable service, reduces disconnections and latency caused by roaming, and ensures that users enjoy high-quality network service even when moving over large areas.

[0037] In certain embodiments, after receiving a roaming information packet synchronized by a previous access point, the current access point may first parse the received roaming information packet to extract parameters such as the target terminal's identifier (e.g., MAC address), the identifier of the previous access point, the signal strength associated with the target terminal at the previous access point, and the time the target terminal disconnected from the previous access point. This information can be used to assess the target terminal's roaming path and network quality. The current access point then stores the parsed access information in a preset location, which may be stored in a general database containing access information for multiple terminals that have previously associated with the current access point, or in a separate status table.

[0038] Receiving and processing roaming information from the previous access point enhances the AP's understanding of STA access behavior, enabling the AP to make more reasonable decisions based on network conditions and user needs, thereby improving overall network performance and end-user experience.

[0039] As an optional embodiment, receiving and storing access information synchronized by the previous access point includes: querying whether there is a status table corresponding to the target terminal, wherein the status table is used to store the access information of the target terminal; if there is a status table corresponding to the target terminal, recording the access information in the status table for storage.

[0040] After the target terminal associates with the access point, the access point can query whether there is a state table corresponding to the target terminal. The state table usually contains detailed information about the terminal, which is used to track and analyze the terminal's access history and behavior and make decisions.

[0041] The access point can search the corresponding status table in the terminal status database maintained locally according to the identifier or MAC address corresponding to the target terminal. The status table may include the following information: the terminal's MAC address, the timestamp of the last access, the duration of the access, the last associated AP, the access signal strength, etc.

[0042] The access point may analyze the access status of the target terminal according to the information in the status table to determine whether ping-pong roaming occurs in the target terminal.

[0043] As an optional embodiment, querying whether there is a state table corresponding to the target terminal further includes: if there is no state table corresponding to the target terminal, establishing a state table corresponding to the target terminal; and recording access information into the state table for storage.

[0044] Optionally, if no state table corresponding to the target terminal is found, it can be assumed that this is the target terminal's first access or that the time since the last access is too long. In this case, a new state table is created, recording the target terminal's access time and duration. When the target terminal accesses again after being offline, the relevant access status can also be recorded in the state table. It can be assumed that each access point will establish a corresponding state table for the connected terminal to store the corresponding access information. In other words, an access point can store state tables corresponding to multiple terminals.

[0045] For example, when the access point first receives an access prompt from a target terminal (e.g., a device with a unique MAC address), it checks the local state database to confirm whether a state table for the terminal already exists. If a state table corresponding to the target terminal exists, the state information is queried and updated. If it does not exist, it means that this may be the first time the access point has encountered the terminal, and the access point will create a new state table for the target terminal. Subsequently, the access point will record the target terminal's access event, including the specific access time (i.e., the timestamp when the association started) and the access duration (if it is a continuous connection, it can be updated in real time, otherwise it will be completed when the terminal is disconnected). After the state table is established, the access point can continuously update the state table. When interaction occurs between the target terminal and the AP, such as roaming, disconnection and reconnection, signal strength changes, etc., the AP will record the corresponding events in the state table.

[0046] By establishing a status table, the access point can accurately track and record the access status of the target terminal, providing a data basis for subsequent roaming identification.

[0047] As an optional embodiment, when it is detected that the target terminal is offline, the offline duration corresponding to the target terminal is recorded; when the offline duration reaches a second preset duration, the status table corresponding to the target terminal is deleted.

[0048] Optionally, an aging rule can be set. That is, when a terminal is offline and the offline duration reaches a second preset duration, the status table corresponding to the terminal can be aged or cleared to save storage space. The second preset duration and the processing method for the status table can also be adjusted according to actual conditions, such as the number of terminals mounted on the access point and the access point's own memory. The processing method for the status table can be direct deletion or the content before a certain time can be cleared.

[0049] The following is an optional embodiment: when an access point does not receive any data packets from a terminal or receives information such as a disassociation frame from the terminal within a specified detection period, it considers the terminal to be offline. After determining that the terminal is offline, the access point begins recording its offline duration. When the offline duration of the target terminal reaches or exceeds a second preset duration, the access point determines that the terminal has been inactive for an extended period of time and deletes the corresponding state table from the state database. This helps reduce database maintenance costs and avoids storing unnecessary historical data, while maintaining database responsiveness and resource utilization.

[0050] The access point can periodically check the status table of all terminals, update the active records of online terminals, and count the offline time of offline terminals. Once the offline time exceeds a second preset time, the status table is deleted or aged. Before clearing the status table, it is necessary to ensure that it will not affect ongoing network operations or services. For example, if the terminal is performing file transfer or multimedia streaming before going offline, wait until these operations are completely completed or confirm that there will be no impact before deleting the status table.

[0051] Through the above method, the access point can effectively manage the status information of the terminal, ensure the real-time and validity of the database, and optimize resource usage and maintain efficient operation of the system by timely clearing the status table of long-term offline terminals.

[0052] Step S106: Based on the access prompt, the access frequency corresponding to the target terminal is determined according to the stored access information corresponding to the target terminal.

[0053] In this step, based on the access prompt and the stored access information, the access frequency of the target terminal can be determined. Specifically, the access frequency can be determined by counting the number of accesses of the target terminal in a fixed time period, where the fixed time period refers to the time window used to count the terminal access frequency. The access point can set the length of this time window according to network characteristics and business requirements. For example, if the goal is to respond quickly and prevent ping-pong roaming, a shorter time window may be required, such as the last 5 minutes or 10 minutes. The access point can filter out access records within a fixed time period based on the timestamp in the access information. For each qualified access event, the access point can increase a counter to accumulate the total number of accesses within the first preset time period, and then calculate the access frequency.

[0054] For example, an appropriate time window length, such as a few minutes, half an hour, or an hour, is selected to evaluate the access behavior of the target terminal within a specific time period. From the stored access information of the target terminal, all access events that occur within the selected time window are extracted. This step can remove older access records and focus only on recent activities. The number of accesses of the target terminal within the selected time window is counted, including events of entering the associated state from the unassociated state and roaming from one AP to another. The access frequency of the target terminal is calculated based on the time window length and the number of accesses, that is, the average number of accesses of the target terminal per unit time. A high access frequency may indicate that the target terminal is experiencing ping-pong roaming.

[0055] Step S108: When the access frequency is greater than the preset roaming threshold, it is determined that ping-pong roaming occurs in the target terminal.

[0056] In this step, the target terminal's access frequency can be compared with a preset roaming threshold. The roaming threshold is used to define the difference between normal roaming behavior and ping-pong roaming. The roaming threshold should be set based on network characteristics, service requirements, and terminal behavior. It can be determined through experimental data, expert experience, or machine learning prediction models.

[0057] If the access frequency exceeds the preset roaming threshold, this indicates that the target terminal is experiencing ping-pong roaming. If the access frequency is below the preset roaming threshold, the target terminal's roaming behavior is generally considered normal. This indicates that the target terminal is not switching between different access points more frequently than expected. If the access frequency is equal to the threshold, specific decision logic may be required, as this is a critical state. Some policies may consider this a warning signal, requiring further observation or minor adjustments.

[0058] Through the above steps, the access point can flexibly identify the ping-pong roaming situation of the target terminal based on the access behavior data of the target terminal, and then take effective management measures to achieve convenient, low-latency and flexible ping-pong roaming processing.

[0059] Through the above steps, the roaming data synchronization mechanism is utilized to perform roaming identification locally at the access point, achieving the purpose of performing ping-pong roaming identification without the need for management by a central controller, thereby improving the efficiency and flexibility of roaming identification. This solves the current technical problem of obtaining the terminal's access behavior through central control software and then identifying the roaming situation, resulting in untimely information synchronization, low roaming phenomenon identification efficiency, and lack of flexibility.

[0060] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0061] As an optional embodiment, when it is determined that the target terminal has ping-pong roaming, it also includes: determining the target access point corresponding to the target terminal based on a preset roaming processing method; and synchronizing the identifier and roaming processing method corresponding to the target access point to the access point in the target network.

[0062] Optionally, if ping-pong roaming is detected and confirmed for the target terminal, appropriate processing can be performed. A suitable target access point can be selected for the target terminal based on a preset roaming processing method. Various roaming processing methods exist, such as selecting based on the signal strength of access points previously accessed by the target terminal or selecting the closest access point. After selecting the target access point, the target access point's unique identifier and the preset roaming processing method can be packaged into an information synchronization package. This information synchronization package is then sent to all access points in the target network using a broadcast within the network or a specific inter-AP communication mechanism, such as the Seamless Roaming synchronization mechanism. This step ensures that all access points are aware of the target terminal's ping-pong roaming status and the target access point. Access points receiving this information can implement appropriate policies based on their respective roles. For example, the target access point can increase transmit power, optimize channel selection, and prepare to accept access from the target access point. Non-target access points can set a roaming suppression list to temporarily deny access requests from the target terminal, reducing the probability of ping-pong roaming.

[0063] All access points can update their roaming management policies based on the received information to ensure consistency and coordination across the entire network. If the current access point is not the target access point, it can disconnect from the target terminal after determining the target access point and synchronizing the relevant information, allowing the target terminal to associate with the target access point.

[0064] By reducing unnecessary roaming, this approach significantly improves the stability of device connections and reduces connection interruptions and data transmission delays caused by roaming. Furthermore, through collaboration between access points, network resource allocation is optimized, preventing some access points from being overloaded by excessive terminal access, thereby improving overall network performance. Furthermore, this approach enhances the network's intelligence and adaptability, enabling it to better cope with the challenges of high user density and provide users with a smooth, high-quality wireless network experience.

[0065] As an optional embodiment, determining a target access point corresponding to a target terminal based on a preset roaming processing method includes: determining a historical access point corresponding to the target terminal; reading roaming information corresponding to the historical access point, and determining a signal strength of communication between the target terminal and the historical access point based on the roaming information corresponding to the historical access point; and determining the target access point corresponding to the target terminal based on the signal strength.

[0066] Optionally, all access points that the target terminal has recently accessed can be collected and organized. This information can be extracted from the access point's roaming history or obtained through information exchange in the Seamless Roaming protocol. The selected historical access points can include all access points that may have caused the terminal to ping-pong roam. Roaming information about the STA is then retrieved from each historical access point. This information typically includes the STA's signal strength during one or more previous accesses, roaming frequency, and the duration of each roaming session. Roaming information can be obtained from local storage on the access point or from real-time or periodic synchronization between access points via Seamless Roaming or similar protocols. The average signal strength or the most recent signal strength of the terminal at each historical access point can be extracted from the roaming information. Signal strength is a critical parameter, as higher signal strength generally indicates a more stable connection and better transmission rate, which is crucial for roaming policy decisions. After obtaining signal strength data for all relevant access points, the target access point is determined according to a predefined roaming processing method. The predefined processing method may be to select the AP with the highest STA signal strength as the target access point. Alternatively, the target access point may be determined through a comprehensive scoring system by comprehensively considering factors such as signal strength, access point load, and channel interference level.

[0067] This method determines the target access point based on signal strength, which can improve network stability and efficiency while providing a better connection experience for terminals.

[0068] As an optional embodiment, based on a preset roaming processing method, determining a target access point corresponding to a target terminal includes: sending a scanning signal to the target terminal, wherein the scanning signal is used to instruct the target terminal to scan for associable access points in a preset area; receiving associable access points fed back by the target terminal; and selecting an access point that meets preset conditions from the associable access points as the target access point corresponding to the target terminal.

[0069] Optionally, the target terminal may be guided to scan the surrounding environment and report potential associable access points, and then the most suitable one may be selected as a new target access point.

[0070] The access point generates a specific scanning signal containing instructions for the target terminal (STA) to scan its surroundings. Upon receiving the scanning signal, the target terminal begins scanning the surroundings, collecting signal information from neighboring access points, including but not limited to signal strength (RSSI), channel information, and supported rates. The target terminal then feeds the scanning results back to the current access point, which then selects a suitable target access point for the target terminal.

[0071] For example, the access point can select a target access point based on a series of preset selection criteria such as network performance indicators, service requirements, and access point load conditions. These criteria may include signal strength thresholds, channel quality, and access point load levels.

[0072] The above method ensures that roaming operations are based on the latest network conditions through real-time environment scanning, thereby improving the accuracy and effectiveness of decision-making.

[0073] Here is a specific example: Figure 2 is a schematic diagram of a roaming identification method according to an optional embodiment of the present invention, such as Figure 2 As shown in the figure, MLD AP is an access point that supports the Multi-Link Operation mechanism, and MLD STA is a terminal that supports the Multi-Link Operation mechanism:

[0074] S201: The MLD AP collects statistics on the access frequency and interval of MLD STAs in real time.

[0075] The MLD AP maintains an access status table for each associated MLD STA, recording the start time and duration of each access. The MLD AP can also set aging rules to age or clear the access status table after an MLD STA has been offline for a certain period of time.

[0076] S202: The MLD AP records each Seamless Roaming information of the MLD STA.

[0077] When an MLD STA roams from its current MLD AP to another MLD AP, the current MLD AP needs to record the MLD STA's next MLD AP and roaming departure time in the access state table when synchronizing terminal status information to the next MLD AP.

[0078] When an MLD STA roams from another MLD AP to the current MLD AP, the current MLD AP advances the other party's information from the terminal status synchronization information of the other MLD AP and records the MLD AP previously associated with the MLD STA and the roaming access time in the access status table.

[0079] S203: The MLD AP determines whether ping-pong roaming occurs in the MLD STA based on the access statistics of the MLD STA.

[0080] The MLD AP checks the MLD STA's access status table and counts the number of roaming / access behaviors of the MLD STA within a certain time interval to obtain the corresponding access frequency. When the MLD STA's access frequency exceeds the ping-pong roaming threshold, the MLD STA is considered to have ping-pong roaming.

[0081] S204: Formulate a processing strategy for the MLD STA that experiences ping-pong roaming.

[0082] The current MLD AP uses the MLD STA's Seamless Roaming information to determine the MLD APs between which the STA should ping-pong. It then uses the roaming policy to determine the optimal roaming target AP. After determining the optimal roaming target AP, it can specify that non-target APs will no longer accept associations from the STA within a specified time.

[0083] The roaming processing policy may trigger the MLD STA to scan and report environment information and select an optimal roaming target AP for the MLD STA from among the MLD AP objects in ping-pong roaming.

[0084] The roaming processing strategy can also synchronize the MLD STA's signal strength information to the target AP when synchronizing Seamless Roaming information. This information is directly used as auxiliary information for the AP to determine the final roaming target AP, and the MLD AP with the strongest signal strength is selected as the optimal roaming target AP.

[0085] To prevent STAs from roaming frequently, you can use the Co-SR function to increase the power of the optimal roaming target AP and reduce the power of non-optimal roaming target APs.

[0086] S205: The MLD AP synchronizes the roaming processing policy to other MLD APs in the network. For example, the roaming processing policy may be synchronized through a synchronization information mechanism of SeamlessRoaming.

[0087] The above steps synchronize data between access points through Seamless Roaming, and promptly identify whether a terminal is in ping-pong roaming. The relevant data does not need to be reported to the central controller for management. The access point can make processing decisions locally and communicate them through Seamless Roaming's data synchronization mechanism, thereby achieving convenient, low-latency and flexible ping-pong roaming processing.

[0088] It should be noted that for the aforementioned method embodiments, for simplicity of description, they are all expressed as a series of action combinations. However, those skilled in the art should be aware that the present invention is not limited by the order of the actions described, because according to the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in this specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.

[0089] Through the description of the above embodiments, those skilled in the art can clearly understand that the roaming identification method according to the above embodiments can be implemented by software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is a more preferred embodiment. Based on this understanding, the technical solution of the present invention, or the part that contributes to the existing technology, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of various embodiments of the present invention.

[0090] According to an embodiment of the present invention, a roaming identification device for implementing the above roaming identification method is also provided. Figure 3 is an architecture diagram of a router provided according to an embodiment of the present invention, such as Figure 3 The router is configured to perform any one of the above roaming identification methods, including:

[0091] The data synchronization module is used to receive and store the access information synchronized by the last access point corresponding to the target terminal.

[0092] The access information statistics module is used to determine the access frequency corresponding to the target terminal based on the access prompt of the target terminal and the stored access information corresponding to the target terminal.

[0093] The ping-pong roaming judgment module is used to judge whether the target terminal has ping-pong roaming based on the access frequency and a preset roaming threshold, wherein when the access frequency is greater than the roaming threshold, it is determined that the target terminal has ping-pong roaming.

[0094] Optionally, the router further comprises: a ping-pong roaming processing decision module for determining a target access point corresponding to the target terminal based on a preset roaming processing method; and a data synchronization module for synchronizing an identifier and a roaming processing method corresponding to the target access point to access points in the target network.

[0095] According to an embodiment of the present invention, a computer-readable storage medium is provided, characterized in that the computer-readable storage medium includes a stored executable program, wherein when the executable program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned roaming identification methods.

[0096] According to an embodiment of the present invention, there is provided an electronic device, characterized by comprising:

[0097] a memory storing an executable program;

[0098] The processor is configured to run a program, wherein the program executes any one of the above roaming identification methods when the program is run.

[0099] According to an embodiment of the present invention, a computer program product is provided, including a computer program, characterized in that when the computer program is executed by a processor, the computer program implements the steps of any one of the above roaming identification methods.

[0100] The serial numbers of the above embodiments of the present invention are for description only and do not represent the advantages or disadvantages of the embodiments.

[0101] In the above embodiments of the present invention, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0102] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only exemplary. For example, the division of the units can be a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0103] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0104] In addition, the functional units in the various embodiments of the present invention may be integrated into a single processing unit, each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0105] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk, etc. Various media that can store program codes.

[0106] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as within the scope of protection of the present invention.

Claims

1. A roaming identification method, characterized in that: include: Receive access prompts from target terminals; In the case where the target terminal has a previous access point, receiving and storing access information synchronized by the previous access point, wherein the access information includes at least one of the following: access time, access duration, and offline time; Based on the access prompt, determining the access frequency corresponding to the target terminal according to the stored access information corresponding to the target terminal; When the access frequency is greater than a preset roaming threshold, it is determined that ping-pong roaming occurs on the target terminal.

2. The method according to claim 1, characterized in that When it is determined that ping-pong roaming occurs on the target terminal, the method further includes: Determining a target access point corresponding to the target terminal based on a preset roaming processing method; The identifier corresponding to the target access point and the roaming processing method are synchronized to the access points in the target network.

3. The method according to claim 2, characterized in that The determining, based on a preset roaming processing method, a target access point corresponding to the target terminal, includes: Determining a historical access point corresponding to the target terminal; Reading roaming information corresponding to the historical access point; determining, based on the roaming information corresponding to the historical access point, the communication quality between the target terminal and the historical access point; Based on the communication quality, a target access point corresponding to the target terminal is determined.

4. The method according to claim 2, characterized in that The determining, based on a preset roaming processing method, a target access point corresponding to the target terminal, includes: Sending a scanning signal to the target terminal, wherein the scanning signal is used to instruct the target terminal to scan for associable access points in a preset area; receiving an associable access point fed back by the target terminal; An access point that meets a preset condition is selected from the associable access points as a target access point corresponding to the target terminal.

5. The method according to any one of claims 1 to 4, characterized in that The receiving and storing the access information synchronized by the previous access point includes: querying whether a status table corresponding to the target terminal exists, wherein the status table is used to store access information of the target terminal; In the case that a status table corresponding to the target terminal exists, the access information is recorded in the status table for storage.

6. The method according to claim 5, characterized in that Querying whether a status table corresponding to the target terminal exists also includes: If a state table corresponding to the target terminal does not exist, creating a state table corresponding to the target terminal; The access information is recorded and stored in the status table.

7. The method according to claim 5, characterized in that Also includes: When detecting that the target terminal is offline, recording the offline duration corresponding to the target terminal; When the offline duration reaches a second preset duration, the status table corresponding to the target terminal is deleted.

8. A router, characterized in that: Used to execute the roaming identification method according to any one of claims 1 to 7, comprising: A data synchronization module is used to receive and store the access information synchronized by the previous access point corresponding to the target terminal; an access information statistics module, configured to determine an access frequency corresponding to the target terminal based on the access prompt of the target terminal and according to the stored access information corresponding to the target terminal; The roaming judgment module is used to judge whether the target terminal has ping-pong roaming based on the access frequency and a preset roaming threshold, wherein when the access frequency is greater than the roaming threshold, it is determined that the target terminal has ping-pong roaming.

9. The router according to claim 8, wherein: Also includes: a roaming processing decision module, configured to determine a target access point corresponding to the target terminal based on a preset roaming processing method; The data synchronization module is further configured to synchronize the identifier corresponding to the target access point and the roaming processing method to the access points in the target network.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium includes a stored executable program, wherein when the executable program is run, the device where the computer-readable storage medium is located is controlled to execute the roaming identification method according to any one of claims 1 to 7.

11. An electronic device, characterized in that: include: a memory storing an executable program; A processor is configured to run the program, wherein the program executes the roaming identification method according to any one of claims 1 to 7 when running.

12. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the roaming identification method according to any one of claims 1 to 7 are implemented.