Fast roaming method, device and system, storage medium and electronic equipment

By obtaining wireless access point status information in the wireless terminal, pre-association authentication and handover are implemented to achieve senseless data channel switching, which solves the problem of data transmission interruption when the wireless terminal roams between different access points, and improves communication stability. sex and user experience.

CN118574174APending Publication Date: 2024-08-30BEIJING SMARTCHIP MICROELECTRONICS TECHNOLOGY CO LTD +1
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410539598.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-30
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Existing wireless terminals need to disconnect and re-establish connections when roaming between different wireless access points, causing data transmission to be interrupted or lost, affecting communication stability and user experience.

Method used

By obtaining the status information of all wireless access points, pre-associating authentication and switching to the new access point, it realizes non-inductive data channel switching and avoids interruption of data communication. It uses dual-mode wireless communication chips for authentication channel and communication channel functions. Strip.

Benefits of technology

It greatly shortens the roaming switching time, ensures the smoothness of communication services and the continuity of data transmission, improves user experience, and avoids the problem of data communication interruption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118574174A
    Figure CN118574174A
Patent Text Reader

Abstract

The invention provides a fast roaming method, device and system, a storage medium and electronic equipment, and belongs to the technical field of wireless communication. The rapid roaming method comprises the following steps: acquiring state information of all wireless access points in a WAPI communication system; determining a wireless access point to be accessed based on the state information of all wireless access points in the WAPI communication system; performing pre-association authentication with the wireless access point to be accessed through the first frequency band; after the pre-association authentication with the to-be-accessed wireless access point is completed, disconnecting the connection with the currently connected wireless access point through a second frequency band, and establishing wireless association with the to-be-accessed wireless access point; and after wireless association with the to-be-accessed wireless access point is completed, data transmission service is carried out through the second frequency band so as to realize rapid roaming. The switching time is greatly shortened, the smooth communication service is ensured, non-inductive data channel switching is realized, the problem of data communication interruption is avoided, and the user experience is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] WAPI (WLAN Authentication and Privacy Infrastructure) is a wireless LAN security protocol that ensures wireless LAN access security and data communication security through identity authentication and data encryption. Currently, WAPI has been widely used in substation inspection robots and drones for communication and video data transmission. Fast roaming technology can enable wireless terminals (STAs) to automatically switch wireless access points (APs) during movement, ensuring the stability and continuity of data transmission.

[0003] However, currently, when STAs roam between different APs, they need to terminate the service connection first, then disconnect, then authenticate and associate with the new AP, and finally establish a communication service channel. This process takes a certain amount of time, during which data transmission may be interrupted or lost. Summary of the invention

[0004] The purpose of the embodiments of the present invention is to provide a fast roaming method, a fast roaming device, a fast roaming system, a machine-readable storage medium and an electronic device. The fast roaming method can significantly shorten the switching time, ensure smooth communication services, realize seamless data channel switching, avoid the problem of data communication interruption, and effectively improve the user experience.

[0005] In order to achieve the above-mentioned object, the first aspect of the present application provides a fast roaming method, which is applied to a wireless terminal in a WAPI communication system, and the fast roaming method includes:

[0006] Acquire status information of all wireless access points in the WAPI communication system;

[0007] Determining a wireless access point to be accessed based on the status information of all wireless access points in the WAPI communication system;

[0008] Performing pre-association authentication with the wireless access point to be accessed through a first frequency band;

[0009] After completing the pre-association authentication with the wireless access point to be accessed, disconnecting from the currently connected wireless access point through the second frequency band, and establishing a wireless association with the wireless access point to be accessed;

[0010] After completing the establishment of a wireless association with the wireless access point to be accessed, a data transmission service is performed through the second frequency band to achieve fast roaming.

[0011] In the embodiment of the present application, the determining of the wireless access point to be accessed based on the status information of all wireless access points in the WAPI communication system includes:

[0012] Determine the status information of the currently connected wireless access point from the status information of all wireless access points in the WAPI communication system;

[0013] Based on the status information of the currently connected wireless access point, determining whether wireless access point switching is required;

[0014] When it is determined that the wireless access point needs to be switched, a wireless access point to be accessed is determined based on the status information of all wireless access points in the WAPI communication system.

[0015] In the embodiment of the present application, the status information of each wireless access point includes signal strength information;

[0016] The determining whether wireless access point switching is required based on the status information of the currently connected wireless access point includes:

[0017] Based on the signal strength information of the currently connected wireless access point, determining whether the signal strength of the currently connected wireless access point meets a preset switching condition;

[0018] When it is determined that the signal strength of the currently connected wireless access point meets a preset switching condition, it is determined that the wireless access point needs to be switched.

[0019] In the embodiment of the present application, the status information of each wireless access point includes signal strength information;

[0020] The determining of a wireless access point to be accessed based on the status information of all wireless access points in the WAPI communication system includes:

[0021] Based on the signal strength information of all the wireless access points in the WAPI communication system, sorting all the wireless access points to obtain a wireless access point sequence;

[0022] Determine a wireless access point whose signal strength is greater than a preset switching threshold from the wireless access point sequence to obtain a plurality of wireless access points to be selected;

[0023] Obtain the historical signal strength of each candidate wireless access point;

[0024] Based on the historical signal strengths of the candidate wireless access points, a wireless access point to be accessed is determined.

[0025] In the embodiment of the present application, determining the wireless access point to be accessed based on the historical signal strength of each of the candidate wireless access points includes:

[0026] Determining a plurality of initial wireless access points to be accessed based on the historical signal strengths of the wireless access points to be selected;

[0027] Based on a preset comprehensive comparison strategy, a wireless access point to be accessed is determined from the multiple initial wireless access points to be accessed.

[0028] In the embodiment of the present application, the acquiring of the status information of all wireless access points in the WAPI communication system includes:

[0029] Scan wireless access points regularly to obtain scanning results;

[0030] Based on the scanning result, determining whether the number of scanned wireless access points is greater than a preset number value;

[0031] When it is determined that the number of the scanned wireless access points is greater than a preset number value, the status information of all the wireless access points in the WAPI communication system is obtained.

[0032] In an embodiment of the present application, the wireless terminal includes a WAPI module, and the WAPI module is provided with a dual-mode wireless communication chip, and the dual-mode wireless communication chip is used to provide channels of a first frequency band and channels of a second frequency band.

[0033] A second aspect of the present application provides a fast roaming device, which is applied to a wireless terminal in a WAPI communication system, and the fast roaming device includes:

[0034] An acquisition module, used to acquire status information of all wireless access points in the WAPI communication system;

[0035] A determination module, configured to determine a wireless access point to be accessed based on the status information of all wireless access points in the WAPI communication system;

[0036] A pre-association module, configured to perform pre-association authentication with the wireless access point to be accessed through a first frequency band;

[0037] A switching module, configured to disconnect the currently connected wireless access point through a second frequency band and establish a wireless association with the wireless access point to be accessed after completing the pre-association authentication with the wireless access point to be accessed;

[0038] The transmission module is used to perform data transmission services through the second frequency band after completing the establishment of a wireless association with the wireless access point to be accessed, so as to achieve fast roaming.

[0039] In the embodiment of the present application, the determination module includes:

[0040] A first determining unit, configured to determine the status information of the currently connected wireless access point from the status information of all wireless access points in the WAPI communication system;

[0041] A judging unit, configured to judge whether a wireless access point switching is required based on the status information of the currently connected wireless access point;

[0042] The second determining unit is configured to determine a wireless access point to be accessed based on the state information of all wireless access points in the WAPI communication system when it is determined that wireless access point switching is required.

[0043] In the embodiment of the present application, the status information of each wireless access point includes signal strength information; the determination unit includes:

[0044] A first judgment subunit, configured to judge, based on the signal strength information of the currently connected wireless access point, whether the signal strength of the currently connected wireless access point is continuously weakening and is lower than a preset switching threshold;

[0045] The switching confirmation subunit is used to determine that the wireless access point needs to be switched when it is determined that the signal strength of the currently connected wireless access point is continuously weakening and is lower than a preset switching threshold.

[0046] In the embodiment of the present application, the status information of each wireless access point includes signal strength information; the determination module includes:

[0047] A sorting unit, configured to sort all the wireless access points based on the signal strength information of all the wireless access points in the WAPI communication system to obtain a wireless access point sequence;

[0048] A screening unit, configured to determine, from the wireless access point sequence, wireless access points whose signal strength is greater than a preset switching threshold, to obtain a plurality of wireless access points to be selected;

[0049] A historical data acquisition unit, used to acquire the historical signal strength of each candidate wireless access point;

[0050] The access point determination unit is configured to determine a wireless access point to be accessed based on the historical signal strengths of the wireless access points to be selected.

[0051] A third aspect of the present application provides a fast roaming system, including a wireless terminal and multiple wireless access points, wherein the wireless terminal uses the above-mentioned fast roaming method to perform roaming switching with each wireless access point.

[0052] A fourth aspect of the present application provides an electronic device, the electronic device comprising:

[0053] at least one processor;

[0054] a memory connected to the at least one processor;

[0055] The memory stores instructions that can be executed by the at least one processor, and the at least one processor implements the above-mentioned fast roaming method by executing the instructions stored in the memory.

[0056] A fifth aspect of the present application provides a machine-readable storage medium having instructions stored thereon, which, when executed by a processor, configure the processor to execute the above-mentioned fast roaming method.

[0057] Through the above technical solution, the status information of all wireless access points in the WAPI communication system is obtained through the wireless terminal in the WAPI communication system; based on the status information of all wireless access points in the WAPI communication system, the wireless access point to be accessed is determined; pre-association authentication is performed with the wireless access point to be accessed through the first frequency band; after the pre-association authentication with the wireless access point to be accessed is completed, the connection with the currently connected wireless access point is disconnected through the second frequency band, and a wireless association is established with the wireless access point to be accessed; after the wireless association with the wireless access point to be accessed is completed, data transmission services are performed through the second frequency band to achieve fast roaming. When the data channel maintains a normal data transmission state, pre-association authentication is performed on a new wireless access point through the first frequency band, and after the pre-association authentication is completed, the association with the currently connected wireless access point is released through the second frequency band, and the association is immediately switched to the new wireless access point, which greatly shortens the switching time, ensures smooth communication services, realizes senseless data channel switching, avoids the problem of data communication interruption, and effectively improves user experience. Since the pre-association authentication is completed through the first frequency band and the wireless access point switching is completed through the second frequency band, the first frequency band and the second frequency band do not interfere with each other, thereby realizing the separation of the authentication channel and the communication channel functions, ensuring the fast and accurate implementation of fast roaming.

[0058] Other features and advantages of the embodiments of the present invention will be described in detail in the subsequent detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] The accompanying drawings are used to provide a further understanding of the embodiments of the present invention and constitute a part of the specification. Together with the following specific implementations, they are used to explain the embodiments of the present invention, but do not constitute a limitation on the embodiments of the present invention. In the accompanying drawings:

[0060] Figure 1A schematic diagram of a process flow of a fast roaming method according to an embodiment of the present application is shown;

[0061] Figure 2 A schematic diagram of a substation fast roaming application scenario according to an embodiment of the present application is shown schematically;

[0062] Figure 3 A schematic diagram of dual-mode STA fast roaming according to an embodiment of the present application is schematically shown;

[0063] Figure 4 A schematic diagram of a pre-connection association and switching flow chart according to an embodiment of the present application is shown;

[0064] Figure 5 A schematic diagram of the structure of a fast roaming device according to an embodiment of the present application is shown;

[0065] Figure 6 The internal structure diagram of a computer device according to an embodiment of the present application is schematically shown.

[0066] Description of Reference Numerals

[0067] 410 - acquisition module; 420 - determination module; 430 - pre-association module; 440 - switching module; 450 - transmission module; A01 - processor; A02 - network interface; A03 - internal memory; A04 - display screen; A05 - input device; A06 - non-volatile storage medium; B01 - operating system; B02 - computer program. DETAILED DESCRIPTION

[0068] The specific implementation of the embodiment of the present invention is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described here is only used to illustrate and explain the embodiment of the present invention, and is not used to limit the embodiment of the present invention.

[0069] It should be noted that if the embodiments of the present application involve directional indications (such as up, down, left, right, front, back...), the directional indications are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0070] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present application, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or suggesting their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.

[0071] This embodiment provides a fast roaming method, which is applicable to a WAPI communication system. The WAPI communication system is composed of a wireless terminal (STA), a wireless access point (AP), a control server (AC), and an authentication server (AS). This embodiment proposes a fast roaming method. The functions of an authentication channel and a communication channel can be separated through a first frequency band and a second frequency band. The authentication channel is used for switching strategies and pre-authentication implementation, and the communication channel is only used for data transmission services, so that a mobile wireless terminal (STA) can be quickly and seamlessly switched between different wireless access points (APs).

[0072] It should be noted that the fast roaming method proposed in this embodiment is applicable to any scenario with a WAPI communication system. In order to facilitate the description of the solution, this embodiment only takes the substation fast roaming application scenario as an example for detailed description. Figure 2 , Figure 2 The schematic diagram of the application scenario of substation fast roaming according to the embodiment of the present application is schematically shown. The wireless terminal is a patrol robot, and the patrol robot performs roaming switching with AP1-AP6 during the patrol process.

[0073] Please see Figure 1 , Figure 1 The flowchart of a fast roaming method according to an embodiment of the present application is schematically shown. This embodiment provides a fast roaming method, which is applied to a wireless terminal in a WAPI communication system, and the fast roaming method includes the following steps:

[0074] Step 210: Acquire status information of all wireless access points in the WAPI communication system;

[0075] In this embodiment, the wireless terminal is a terminal with a WAPI module in the WAPI communication system, and the WAPI module is used to achieve fast roaming. For example, in the application scenario of fast roaming in a substation, the wireless terminal is an inspection robot or a drone. The WAPI communication system includes multiple wireless access points, and the wireless terminal switches between multiple APs. The status information of the wireless access point includes information such as the signal strength and connection status of the wireless access point.

[0076] In some embodiments, in order to ensure the successful implementation of fast roaming, fast roaming can be started when it is determined that the number of wireless access points meets the requirement, that is, when it is determined that the number of wireless access points meets the requirement, the status information of all wireless access points is obtained. The obtaining of the status information of all wireless access points in the WAPI communication system includes the following steps:

[0077] First, scan the wireless access points regularly to obtain the scan results;

[0078] In this embodiment, the STA can perform a timed scan by configuring a channel to obtain the current status of the wireless access point. The above scanning result includes the scanned wireless access points and the number of wireless access points.

[0079] Then, based on the scanning result, determining whether the number of scanned wireless access points is greater than a preset number value;

[0080] In this embodiment, in order to ensure the successful implementation of fast roaming, the preset number value can be set to 1. It should be noted that the preset number value can also be other values ​​and can be set according to actual needs. By comparing the number of wireless access points in the obtained scanning results with the preset number value, it can be determined whether the number of wireless access points is greater than the preset number value.

[0081] Finally, when it is determined that the number of the scanned wireless access points is greater than the preset number value, the status information of all the wireless access points in the WAPI communication system is obtained.

[0082] In this embodiment, if the number of scanned wireless access points is greater than the preset number value, it means that there are wireless access points that can be switched, and fast roaming can be started, that is, the status information of all wireless access points in the WAPI communication system is obtained. For example: STA periodically scans AP information through the 2.4G frequency band. If the number of scanned APs is greater than 1, the status information of all APs is obtained.

[0083] By performing wireless access point scanning at a regular interval, it is determined whether the number of scanned wireless access points is greater than a preset number value. When it is determined that the number of scanned wireless access points is greater than the preset number value, the status information of all wireless access points in the WAPI communication system is obtained, thereby ensuring that there are wireless access points that can be switched, which helps to ensure the successful implementation of fast roaming.

[0084] Step 220: Determine a wireless access point to be accessed based on the status information of all wireless access points in the WAPI communication system;

[0085] In this embodiment, the wireless access point to be accessed can be determined according to the status information of all wireless access points. The wireless access point to be accessed is the new wireless access point to which the wireless terminal is to switch.

[0086] In some embodiments, in order to ensure accurate switching, it is necessary to determine whether wireless access point switching is required, specifically, it can be determined whether the currently connected wireless access point meets the switching conditions. That is, the state information of all wireless access points in the WAPI communication system is used to determine the wireless access point to be accessed, including the following steps:

[0087] First, determining the status information of the currently connected wireless access point from the status information of all wireless access points in the WAPI communication system;

[0088] Then, based on the status information of the currently connected wireless access point, determining whether wireless access point switching is required;

[0089] The status information of each wireless access point includes signal strength information; and judging whether wireless access point switching is required based on the status information of the currently connected wireless access point includes:

[0090] The first step is to determine whether the signal strength of the currently connected wireless access point meets a preset switching condition based on the signal strength information of the currently connected wireless access point;

[0091] In this embodiment, the signal strength information of the wireless access point may be a received signal strength indication (RSSI). RSSI may be used to evaluate the wireless signal strength between devices, thereby helping to determine the communication quality between devices. The RSSI value is usually expressed as a negative value, and the larger the value, the stronger the signal. The RSSI may be used to accurately determine the signal strength of the current wireless access point, thereby helping to determine whether a switch is required.

[0092] In the second step, when it is determined that the signal strength of the currently connected wireless access point meets a preset switching condition, it is determined that the wireless access point needs to be switched.

[0093] In this embodiment, the above-mentioned preset switching condition can be set according to the actual situation. For example, the switching condition can be set as the signal strength of the currently connected AP is continuously weakening and is lower than the switching threshold. Therefore, the above-mentioned judgment of whether the signal strength of the currently connected wireless access point meets the preset switching condition can be to judge whether the signal strength of the currently connected AP is continuously weakening and is lower than the switching threshold, such as: judging whether the RSSI value is less than the switching threshold, and the RSSI value is on a downward trend. If the signal strength of the currently connected AP is continuously weakening and is lower than the switching threshold, it is determined that the wireless access point needs to be switched; otherwise, it is considered that the wireless access point does not need to be switched, and data communication with the currently connected AP continues.

[0094] Finally, when it is determined that the wireless access point needs to be switched, the wireless access point to be accessed is determined based on the status information of all the wireless access points in the WAPI communication system.

[0095] In this embodiment, when it is confirmed that the wireless access point needs to be switched, the wireless access point to be accessed can be determined.

[0096] By judging whether the currently connected wireless access point meets the switching condition, it is determined whether the wireless access point needs to be switched, so that the switching can be performed accurately, which helps to ensure the successful implementation of fast roaming.

[0097] In some embodiments, in order to accurately determine the wireless access point to be accessed, the signal strength of the wireless access point may be post-determined, and the status information of each wireless access point includes signal strength information; the step of determining the wireless access point to be accessed based on the status information of all wireless access points in the WAPI communication system includes the following steps:

[0098] First, based on the signal strength information of all wireless access points in the WAPI communication system, all the wireless access points are sorted to obtain a wireless access point sequence;

[0099] In this embodiment, all wireless access points may be sorted in a manner of signal strength from large to small or from small to large, so as to facilitate selection of a wireless access point to be accessed.

[0100] Then, determining a wireless access point whose signal strength is greater than a preset switching threshold from the wireless access point sequence to obtain a plurality of wireless access points to be selected;

[0101] In this embodiment, in order to ensure normal communication, a wireless access point with a signal strength greater than a preset switching threshold may be selected as a candidate wireless access point. The preset switching threshold may be set according to actual needs.

[0102] Then, the historical signal strength of each candidate wireless access point is obtained;

[0103] Finally, based on the historical signal strengths of the candidate wireless access points, a wireless access point to be accessed is determined.

[0104] In this embodiment, multiple groups of historical signal strengths may be compared to select an AP with an enhanced signal strength greater than a switching threshold from multiple candidate wireless access points.

[0105] By sorting all wireless access points and comparing multiple groups of historical signal strengths, APs with enhanced signals and greater than the switching threshold are selected from multiple candidate wireless access points, so that the wireless access points to be accessed can be accurately obtained, which helps to ensure the successful implementation of fast roaming. The optimal AP is selected based on the RSSI signal reception strength, which is more intelligent and reduces operation and maintenance costs than the implementation method of manually configuring the default path and AP connection order.

[0106] In some embodiments, there may be multiple APs with enhanced signals and greater than the switching threshold selected from multiple wireless access points to be selected, that is, the number of APs that meet the requirements is not unique. In order to finally select a unique wireless access point to be accessed and ensure successful switching, the optimal AP can be selected through a comprehensive comparison strategy to obtain a unique wireless access point to be accessed. The method of determining the wireless access point to be accessed based on the historical signal strength of each wireless access point to be selected includes the following steps:

[0107] The first step is to determine a plurality of initial wireless access points to be accessed based on the historical signal strengths of the wireless access points to be selected;

[0108] In the second step, based on a preset comprehensive comparison strategy, a wireless access point to be accessed is determined from the multiple initial wireless access points to be accessed.

[0109] In this embodiment, the preset comprehensive comparison strategy may be pre-set, for example, the wireless access point with the largest signal strength among multiple initial wireless access points to be accessed may be selected, so that a unique wireless access point to be accessed may be determined from multiple initial wireless access points to be accessed, which is helpful for successful switching of APs.

[0110] By setting a comprehensive comparison strategy, abnormal APs can be avoided, the AP connection strategy can be dynamically adjusted, stable data transmission can be achieved, and the robustness of the WAPI communication system can be improved.

[0111] Step 230: Performing pre-association authentication with the wireless access point to be accessed through the first frequency band;

[0112] In this embodiment, the above-mentioned first frequency band can be provided by a WAPI module in a wireless terminal. For example, the WAPI module includes a 2.4G frequency band and a 5G frequency band. The 2.4G frequency band is used as the first frequency band. The 2.4G frequency band can be divided into multiple channels, and one of the channels can be selected as an authentication channel. Pre-association authentication is performed with the wireless access point to be accessed through the authentication channel. In specific implementation, the authentication channel is used for switching strategies and pre-authentication implementation. The pre-authentication association process is started through the authentication channel, including association authentication and session negotiation. It should be noted that the above-mentioned pre-association authentication process belongs to the prior art and will not be repeated again.

[0113] Step 240: After the pre-association authentication with the wireless access point to be accessed is completed, disconnecting from the currently connected wireless access point through the second frequency band, and establishing a wireless association with the wireless access point to be accessed;

[0114] In this embodiment, after the pre-association authentication process is completed, the association with the original AP is terminated, and the association with the new AP is performed to perform seamless data channel switching. The above-mentioned second frequency band can be provided by the WAPI module in the wireless terminal. For example, the WAPI module includes a 2.4G frequency band and a 5G frequency band. The 5G frequency band is used as the second frequency band. The 5G frequency band can be divided into multiple channels, and one of the channels can be selected as a communication channel. Data transmission services are implemented through the communication channel, and fast switching across APs is achieved.

[0115] Step 250: After establishing a wireless association with the wireless access point to be accessed, perform data transmission services through the second frequency band to achieve fast roaming.

[0116] In this embodiment, after the wireless association with the wireless access point to be accessed is established, a normal data interaction process with the wireless access point to be accessed is started.

[0117] In the above implementation process, the status information of all wireless access points in the WAPI communication system is obtained through a wireless terminal in the WAPI communication system; based on the status information of all wireless access points in the WAPI communication system, the wireless access point to be accessed is determined; pre-association authentication is performed with the wireless access point to be accessed through the first frequency band; after the pre-association authentication with the wireless access point to be accessed is completed, the connection with the currently connected wireless access point is disconnected through the second frequency band, and a wireless association is established with the wireless access point to be accessed; after the wireless association with the wireless access point to be accessed is completed, data transmission services are performed through the second frequency band to achieve fast roaming. When the data channel maintains a normal data transmission state, pre-association authentication is performed on a new wireless access point through the first frequency band, and after the pre-association authentication is completed, the association with the currently connected wireless access point is released through the second frequency band, and the association is immediately switched to the new wireless access point, which greatly shortens the switching time, ensures smooth communication services, realizes senseless data channel switching, avoids the problem of data communication interruption, and effectively improves user experience. Since the pre-association authentication is completed through the first frequency band and the wireless access point switching is completed through the second frequency band, the first frequency band and the second frequency band do not interfere with each other, thereby realizing the separation of the authentication channel and the communication channel functions, ensuring the fast and accurate implementation of fast roaming.

[0118] In some embodiments, the wireless terminal includes a WAPI module, and the WAPI module is provided with a dual-mode wireless communication chip, and the dual-mode wireless communication chip is used to provide channels of a first frequency band and channels of a second frequency band.

[0119] In this embodiment, the dual-mode wireless communication chip can be a 2.4G / 5G dual-mode wireless communication chip. The 2.4G frequency band is used as an authentication frequency band mainly for authentication association and pre-authentication association technology, that is, as the first frequency band; the 5G frequency band is used as the main communication channel. After the pre-authentication association is completed, it quickly switches to the newly associated AP communication channel to improve the quality of the communication network and reduce the network interruption time, that is, the second frequency band. Accordingly, the AP is a standard device and also adopts the 2.4G / 5G dual-mode wireless communication chip design.

[0120] Among them, the 2.4G signal frequency band has a wider coverage range and can cover a wider area. The 5G signal frequency band has a narrower coverage range, but can provide higher transmission rates and lower latency. By combining the two frequency bands of the dual-mode chip, a fast and stable network connection can be achieved, and fast roaming between different APs can be supported. Among them, the 2.4G frequency band is mainly used for pre-connection technology. The device can periodically scan the surrounding WAPI network signals and obtain relevant information about the network, such as SSID, MAC address and other information. Once the device needs to access the network, it can perform an authentication process for pre-connection while maintaining data communication. After the connection is completed, the data communication channel can be quickly switched to achieve seamless data channel switching, avoiding the problem of data communication interruption and effectively improving the user experience.

[0121] By adopting a dual-mode wireless communication chip to achieve single-chip dual-mode, power consumption and cost are reduced, and the size of the WAPI module is reduced.

[0122] Please see Figure 3 , Figure 3 The schematic diagram of dual-mode STA fast roaming according to the embodiment of the present application is schematically shown. There is an authentication association state and a data service transmission state between the STA and the AP. The 2.4G frequency band is used as the authentication frequency band mainly for authentication association and pre-authentication association technology; the 5G frequency band is used as the main communication channel. After the pre-authentication association is completed, it quickly switches to the newly associated AP communication channel to improve the quality of the communication network and reduce the network interruption time.

[0123] Please see Figure 4 , Figure 4 The schematic diagram shows the pre-connection association and switching flow chart according to the embodiment of the present application. The pre-connection association and switching process is as follows: (1) The STA module periodically scans AP information in the 2.4G frequency band. If the number of scanned APs is greater than 1, the status information of all APs is obtained; (2) It is determined whether the signal strength of the currently connected AP continues to weaken and is lower than the switching threshold; (3) If the conditions for switching APs are met, the scanned AP information is sorted by signal strength, and the AP with enhanced signal and greater than the switching threshold is selected by comparing three sets of historical data. If the number of APs that meet the requirements is not unique, the optimal AP is selected through a comprehensive comparison strategy, and pre-authentication with the selected AP is started in the next time period; (4) The pre-authentication association process is started through the authentication association channel; (5) After the pre-authentication association process is completed, the association with the original AP is released, and the association with the new AP is performed to perform seamless switching of the data channel; (6) The normal data interaction process is started.

[0124] Figure 1 FIG. 1 is a flow chart of a fast roaming method in one embodiment. It should be understood that although Figure 1The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0125] This embodiment provides a fast roaming system, including a wireless terminal and multiple wireless access points. The wireless terminal uses the above-mentioned fast roaming method to perform roaming switching with each wireless access point.

[0126] In this embodiment, the fast roaming system is a WAPI communication system, including a wireless terminal (STA), a wireless access point (AP), a control server (AC), and an authentication server (AS). The fast roaming method can realize fast and seamless switching of the mobile terminal (STA) between different wireless access points (AP). The AP is a standard device. When the STA adopts a 2.4G / 5G dual-mode wireless communication chip, the AP also adopts a 2.4G / 5G dual-mode wireless communication chip design.

[0127] In the above implementation process, while the data channel maintains normal data transmission, the new wireless access point pre-association authentication is performed through the first frequency band. After the pre-association authentication is completed, the currently connected wireless access point association is released through the second frequency band, and the association is immediately switched to the new wireless access point, which greatly shortens the switching time, ensures smooth communication services, realizes senseless data channel switching, avoids the problem of data communication interruption, and effectively improves user experience. Since the pre-association authentication is completed through the first frequency band and the wireless access point switching is completed through the second frequency band, the first frequency band and the second frequency band do not interfere with each other, thereby realizing the separation of the authentication channel and the communication channel functions, ensuring the rapid and accurate implementation of fast roaming.

[0128] This embodiment provides a fast roaming device, which is applied to a wireless terminal in a WAPI communication system. Figure 5 , Figure 5 The schematic diagram of the structure of a fast roaming device according to an embodiment of the present application is schematically shown. The fast roaming device includes an acquisition module 410, a determination module 420, a pre-association module 430, a switching module 440 and a transmission module 450, wherein:

[0129] The acquisition module 410 is used to acquire the status information of all wireless access points in the WAPI communication system;

[0130] A determination module 420, configured to determine a wireless access point to be accessed based on the status information of all wireless access points in the WAPI communication system;

[0131] A pre-association module 430, configured to perform pre-association authentication with the wireless access point to be accessed through a first frequency band;

[0132] The switching module 440 is configured to disconnect the currently connected wireless access point through the second frequency band and establish a wireless association with the wireless access point to be accessed after the pre-association authentication with the wireless access point to be accessed is completed;

[0133] The transmission module 450 is configured to perform data transmission services through the second frequency band after completing the wireless association with the wireless access point to be accessed, so as to achieve fast roaming.

[0134] Wherein, the determination module 420 includes:

[0135] A first determining unit, configured to determine the status information of the currently connected wireless access point from the status information of all wireless access points in the WAPI communication system;

[0136] A judging unit, configured to judge whether a wireless access point switching is required based on the status information of the currently connected wireless access point;

[0137] The second determining unit is configured to determine a wireless access point to be accessed based on the state information of all wireless access points in the WAPI communication system when it is determined that wireless access point switching is required.

[0138] The status information of each wireless access point includes signal strength information; the judging unit includes:

[0139] A first judgment subunit, configured to judge, based on the signal strength information of the currently connected wireless access point, whether the signal strength of the currently connected wireless access point is continuously weakening and is lower than a preset switching threshold;

[0140] The switching confirmation subunit is used to determine that the wireless access point needs to be switched when it is determined that the signal strength of the currently connected wireless access point is continuously weakening and is lower than a preset switching threshold.

[0141] The status information of each wireless access point includes signal strength information; the determination module 420 includes:

[0142] A sorting unit, configured to sort all the wireless access points based on the signal strength information of all the wireless access points in the WAPI communication system to obtain a wireless access point sequence;

[0143] A screening unit, configured to determine, from the wireless access point sequence, wireless access points whose signal strength is greater than a preset switching threshold, to obtain a plurality of wireless access points to be selected;

[0144] A historical data acquisition unit, used to acquire the historical signal strength of each candidate wireless access point;

[0145] The access point determination unit is configured to determine a wireless access point to be accessed based on the historical signal strengths of the wireless access points to be selected.

[0146] The fast roaming device includes a processor and a memory. The acquisition module 410, determination module 420, pre-association module 430, switching module 440 and transmission module 450 are all stored in the memory as program units, and the processor executes the program units stored in the memory to implement corresponding functions.

[0147] The processor contains a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the kernel parameters can be adjusted to achieve seamless data channel switching, avoiding the problem of data communication interruption and effectively improving the user experience.

[0148] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0149] The embodiment of the present invention provides a machine-readable storage medium on which a program is stored. When the program is executed by a processor, the fast roaming method is implemented.

[0150] An embodiment of the present invention provides a processor, which is used to run a program, wherein the fast roaming method is executed when the program is running.

[0151] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 6As shown. The computer device includes a processor A01, a network interface A02, a display screen A04, an input device A05 and a memory (not shown in the figure) connected through a system bus. Among them, the processor A01 of the computer device is used to provide computing and control capabilities. The memory of the computer device includes an internal memory A03 and a non-volatile storage medium A06. The non-volatile storage medium A06 stores an operating system B01 and a computer program B02. The internal memory A03 provides an environment for the operation of the operating system B01 and the computer program B02 in the non-volatile storage medium A06. The network interface A02 of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor A01, a fast roaming method is implemented. The display screen A04 of the computer device can be a liquid crystal display or an electronic ink display, and the input device A05 of the computer device can be a touch layer covered on the display screen, or a button, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.

[0152] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0153] In one embodiment, the fast roaming device provided by the present application can be implemented in the form of a computer program. The computer program can be Figure 6 The computer device shown in the figure is run on the computer device. The memory of the computer device can store various program modules constituting the fast roaming device, such as: Figure 5 The acquisition module 410, determination module 420, pre-association module 430, switching module 440 and transmission module 450 are shown. The computer program composed of various program modules enables the processor to execute the steps in the calling method of the file system of each embodiment of the present application described in this specification.

[0154] Figure 6 The computer device shown can be Figure 5 In the fast roaming device shown, the acquisition module 410 executes step 210 , the determination module 420 executes step 220 , the pre-association module 430 executes step 230 , the switching module 440 executes step 240 , and the transmission module 450 executes step 250 .

[0155] The embodiment of the present application provides a device, which includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, the following steps are implemented: a wireless terminal applied to a WAPI communication system, including:

[0156] Acquire status information of all wireless access points in the WAPI communication system;

[0157] Determining a wireless access point to be accessed based on the status information of all wireless access points in the WAPI communication system;

[0158] Performing pre-association authentication with the wireless access point to be accessed through a first frequency band;

[0159] After completing the pre-association authentication with the wireless access point to be accessed, disconnecting from the currently connected wireless access point through the second frequency band, and establishing a wireless association with the wireless access point to be accessed;

[0160] After completing the establishment of a wireless association with the wireless access point to be accessed, a data transmission service is performed through the second frequency band to achieve fast roaming.

[0161] In one embodiment, the determining the wireless access point to be accessed based on the status information of all wireless access points in the WAPI communication system includes:

[0162] Determine the status information of the currently connected wireless access point from the status information of all wireless access points in the WAPI communication system;

[0163] Based on the status information of the currently connected wireless access point, determining whether wireless access point switching is required;

[0164] When it is determined that the wireless access point needs to be switched, a wireless access point to be accessed is determined based on the status information of all wireless access points in the WAPI communication system.

[0165] In one embodiment, the status information of each wireless access point includes signal strength information;

[0166] The determining whether wireless access point switching is required based on the status information of the currently connected wireless access point includes:

[0167] Based on the signal strength information of the currently connected wireless access point, determining whether the signal strength of the currently connected wireless access point meets a preset switching condition;

[0168] When it is determined that the signal strength of the currently connected wireless access point meets a preset switching condition, it is determined that the wireless access point needs to be switched.

[0169] In one embodiment, the status information of each wireless access point includes signal strength information;

[0170] The determining of a wireless access point to be accessed based on the status information of all wireless access points in the WAPI communication system includes:

[0171] Based on the signal strength information of all the wireless access points in the WAPI communication system, sorting all the wireless access points to obtain a wireless access point sequence;

[0172] Determine a wireless access point whose signal strength is greater than a preset switching threshold from the wireless access point sequence to obtain a plurality of wireless access points to be selected;

[0173] Obtain the historical signal strength of each candidate wireless access point;

[0174] Based on the historical signal strengths of the candidate wireless access points, a wireless access point to be accessed is determined.

[0175] In one embodiment, the determining the wireless access point to be accessed based on the historical signal strengths of the wireless access points to be selected includes:

[0176] Determining a plurality of initial wireless access points to be accessed based on the historical signal strengths of the wireless access points to be selected;

[0177] Based on a preset comprehensive comparison strategy, a wireless access point to be accessed is determined from the multiple initial wireless access points to be accessed.

[0178] In one embodiment, the acquiring the status information of all wireless access points in the WAPI communication system includes:

[0179] Scan wireless access points regularly to obtain scanning results;

[0180] Based on the scanning result, determining whether the number of scanned wireless access points is greater than a preset number value;

[0181] When it is determined that the number of the scanned wireless access points is greater than a preset number value, the status information of all the wireless access points in the WAPI communication system is obtained.

[0182] In one embodiment, the wireless terminal includes a WAPI module, and the WAPI module is provided with a dual-mode wireless communication chip, and the dual-mode wireless communication chip is used to provide channels of a first frequency band and channels of a second frequency band.

[0183] 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.

[0184] 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.

[0185] 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 including 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.

[0186] 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.

[0187] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0188] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0189] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0190] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0191] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A fast roaming method, It is characterized in that Applied to a wireless terminal in a WAPI communication system, the fast roaming method comprises: Acquire status information of all wireless access points in the WAPI communication system; Determining a wireless access point to be accessed based on the status information of all wireless access points in the WAPI communication system; Performing pre-association authentication with the wireless access point to be accessed through a first frequency band; After completing the pre-association authentication with the wireless access point to be accessed, disconnecting from the currently connected wireless access point through the second frequency band, and establishing a wireless association with the wireless access point to be accessed; After completing the wireless association with the wireless access point to be accessed, the data transmission service is performed through the second frequency band to achieve fast roaming.

2. The fast roaming method according to claim 1, It is characterized in that The determining of a wireless access point to be accessed based on the status information of all wireless access points in the WAPI communication system includes: Determining the status information of the currently connected wireless access point from the status information of all wireless access points in the WAPI communication system; Based on the status information of the currently connected wireless access point, determining whether wireless access point switching is required; When it is determined that the wireless access point needs to be switched, a wireless access point to be accessed is determined based on the status information of all wireless access points in the WAPI communication system.

3. The fast roaming method according to claim 2, It is characterized in that The status information of each wireless access point includes signal strength information; The determining whether wireless access point switching is required based on the status information of the currently connected wireless access point includes: Based on the signal strength information of the currently connected wireless access point, determining whether the signal strength of the currently connected wireless access point meets a preset switching condition; When it is determined that the signal strength of the currently connected wireless access point meets a preset switching condition, it is determined that the wireless access point needs to be switched.

4. The fast roaming method according to claim 1, It is characterized in that The status information of each wireless access point includes signal strength information; The determining of a wireless access point to be accessed based on the status information of all wireless access points in the WAPI communication system includes: Based on the signal strength information of all the wireless access points in the WAPI communication system, sorting all the wireless access points to obtain a wireless access point sequence; Determine a wireless access point whose signal strength is greater than a preset switching threshold from the wireless access point sequence to obtain a plurality of wireless access points to be selected; Obtain the historical signal strength of each candidate wireless access point; Based on the historical signal strengths of the candidate wireless access points, a wireless access point to be accessed is determined.

5. The fast roaming method according to claim 4, It is characterized in that The step of determining a wireless access point to be accessed based on the historical signal strengths of the wireless access points to be selected includes: Determining a plurality of initial wireless access points to be accessed based on the historical signal strengths of the wireless access points to be selected; Based on a preset comprehensive comparison strategy, a wireless access point to be accessed is determined from the multiple initial wireless access points to be accessed.

6. The fast roaming method according to claim 1, It is characterized in that The acquiring the status information of all wireless access points in the WAPI communication system includes: Scan wireless access points regularly to obtain scanning results; Based on the scanning result, determining whether the number of scanned wireless access points is greater than a preset number value; When it is determined that the number of the scanned wireless access points is greater than a preset number value, the status information of all the wireless access points in the WAPI communication system is obtained.

7. The fast roaming method according to claim 1, It is characterized in that The wireless terminal includes a WAPI module, and the WAPI module is provided with a dual-mode wireless communication chip, and the dual-mode wireless communication chip is used to provide channels of a first frequency band and channels of a second frequency band.

8. A fast roaming device, It is characterized in that Applied to a wireless terminal in a WAPI communication system, the fast roaming device comprises: An acquisition module, used to acquire status information of all wireless access points in the WAPI communication system; A determination module, configured to determine a wireless access point to be accessed based on the status information of all wireless access points in the WAPI communication system; A pre-association module, used for performing pre-association authentication with the wireless access point to be accessed through a first frequency band; A switching module, configured to disconnect the currently connected wireless access point through a second frequency band and establish a wireless association with the wireless access point to be accessed after completing the pre-association authentication with the wireless access point to be accessed; The transmission module is used to perform data transmission services through the second frequency band after completing the establishment of a wireless association with the wireless access point to be accessed, so as to achieve fast roaming.

9. The fast roaming device according to claim 8, It is characterized in that The determination module comprises: A first determining unit, configured to determine the status information of the currently connected wireless access point from the status information of all wireless access points in the WAPI communication system; A judging unit, configured to judge whether a wireless access point switching is required based on the status information of the currently connected wireless access point; The second determining unit is configured to determine a wireless access point to be accessed based on the state information of all wireless access points in the WAPI communication system when it is determined that wireless access point switching is required.

10. The fast roaming device according to claim 9, It is characterized in that The status information of each wireless access point includes signal strength information; the judging unit includes: A first judgment subunit, configured to judge, based on the signal strength information of the currently connected wireless access point, whether the signal strength of the currently connected wireless access point is continuously weakening and is lower than a preset switching threshold; The switching confirmation subunit is used to determine that the wireless access point needs to be switched when it is determined that the signal strength of the currently connected wireless access point is continuously weakening and is lower than a preset switching threshold.

11. The fast roaming device according to claim 8, It is characterized in that The status information of each wireless access point includes signal strength information; the determination module includes: A sorting unit, configured to sort all the wireless access points based on the signal strength information of all the wireless access points in the WAPI communication system to obtain a wireless access point sequence; A screening unit, configured to determine, from the wireless access point sequence, wireless access points whose signal strength is greater than a preset switching threshold, to obtain a plurality of wireless access points to be selected; A historical data acquisition unit, used to acquire the historical signal strength of each candidate wireless access point; The access point determination unit is configured to determine a wireless access point to be accessed based on the historical signal strengths of the wireless access points to be selected.

12. A fast roaming system, It is characterized in that The invention comprises a wireless terminal and a plurality of wireless access points, wherein the wireless terminal performs roaming switching with each wireless access point by using the fast roaming method according to any one of claims 1 to 7.

13. An electronic device, It is characterized in that The electronic device includes: at least one processor; a memory connected to the at least one processor; The memory stores instructions that can be executed by the at least one processor, and the at least one processor implements the fast roaming method according to any one of claims 1 to 7 by executing the instructions stored in the memory.

14. A machine-readable storage medium having instructions stored thereon, It is characterized in that When the instructions are executed by a processor, the processor is configured to perform the fast roaming method according to any one of claims 1 to 7.

Citation Information

Cited By

  • Wireless network roaming switching method and device, storage medium and electronic equipment

    CN121334789A

  • Wireless network roaming switching method and device, storage medium and electronic equipment

    CN121334789B