Single link roaming switching device and method for STA equipment based on double wifi chips

Through a single-link roaming switching device based on dual WiFi chips, the second network card is used to predict the channel quality change rate, and a roaming link is established only when needed. This solves the problems of low spectrum utilization, high power consumption and unstable communication of wireless terminal devices, and achieves more efficient WiFi resource utilization and stable communication.

CN120676421APending Publication Date: 2025-09-19SHANDONG YOU INTERNET OF THINGS CO LTD
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202510952893.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-10
Publication Date
2025-09-19

AI Technical Summary

Technical Problem

Existing Wi-Fi roaming methods for wireless terminal devices have problems such as low spectrum utilization, high power consumption, unstable communication and limited compatibility. In particular, dual-link active switching and single-link passive scanning each have defects when switching roaming.

Method used

A single-link roaming switching device based on dual Wi-Fi chips is used. The second network card monitors the link status data of the first network card, predicts the channel quality change rate, and only briefly establishes a roaming link when roaming is needed. The second network card is used to share the candidate AP scanning work, and the target AP is adaptively selected to establish a link to maintain stable communication.

Benefits of technology

It effectively reduces Wi-Fi space resource occupation, reduces device power consumption, improves communication quality and stability, reduces communication interruptions, and adapts to different AP environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120676421A_ABST
    Figure CN120676421A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of wireless information transmission, and provides a single link roaming switching device and method based on double wifi chip STA equipment, the technical scheme is that a communication link is established between a first network card and an AP, and a second network card is used for monitoring link state data of the first network card; the controller is configured to evaluate the channel quality of a current channel according to the link state data of the first network card acquired by the second network card, predict the time when the change rate is changed to be less than a signal quality threshold according to the change rate of the channel quality, and perform roaming when the predicted time is less than a time threshold; when it is detected that roaming is needed, the second network card is controlled to start to send the same content as the first network card, candidate APs in the network are scanned at the same time, a target AP is selected in a self-adaptive mode according to the channel quality, obtained through calculation, of the candidate APs, and the first network card is controlled to select the target AP to establish a link. The effective utilization of bandwidth is improved, and the probability of air interface data conflict is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of wireless information transmission, and in particular relates to a single-link roaming switching device and method based on dual-wifi chip STA equipment. Background Art

[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.

[0003] Currently, Wi-Fi roaming for wireless terminal devices involves two methods: dual-link active handover and single-link passive scanning. Dual-link active handover involves a terminal device connecting to two wireless access points (APs) simultaneously, maintaining communication via dual links. This method, such as 802.11r, has the following drawbacks: First, dual links occupy twice the air interface resources, resulting in low spectrum utilization; second, the probability of data collisions between the two links is high; third, communication quality is affected, and continuous dual-link operation significantly increases device power consumption, making it particularly unsuitable for battery-powered devices; fourth, it requires the AP to support specific protocols (such as 802.11k / v / r), limiting compatibility. In practice, devices do not need to roam most of the time. Establishing two links increases device power consumption to a certain extent. For battery-powered devices requiring low power consumption, a single link can significantly reduce power consumption. However, single-link passive scanning requires disconnecting the current connection before scanning for the new AP when switching to a roaming target, resulting in communication interruptions and unstable communications. Summary of the Invention

[0004] In order to solve at least one technical problem existing in the above-mentioned background technology, the present invention provides a single-link roaming switching device and method based on a dual-wifi chip STA device. By detecting the roaming time, it only establishes one communication link most of the time, and only briefly establishes a roaming link during roaming, thereby reducing the occupation of WiFi space resources and more effectively utilizing bandwidth.

[0005] In order to achieve the above object, the present invention adopts the following technical solutions: A first aspect of the present invention provides a single-link roaming switching device for STA devices based on dual Wi-Fi chips, comprising a controller and two independent physical network cards, wherein a first network card establishes a communication link with an AP, and a second network card is used to monitor the link status data of the first network card; the second network card copies all parameters of the first network card and the AP as a mirror; The controller is configured to: evaluate the channel quality of the current channel based on the link status data of the first network card obtained by the second network card, predict the time when the change rate changes to less than the signal quality threshold based on the change rate of the channel quality, and when the predicted time is less than the time threshold, roaming is required; when roaming is detected, control the second network card to start sending the same content as the first network card, and scan candidate APs in the network at the same time, adaptively select a target AP based on the calculated channel quality of the candidate APs, and control the first network card to select the target AP to establish a link.

[0006] Furthermore, the controller is further configured to: perform normalization processing on the acquired link status data.

[0007] Furthermore, the calculation formula for the channel quality of the current channel is: , in, Indicates the channel quality of the channel, 、 、 、 are the corresponding normalized communication rates , signal strength , link occupancy rate and conflict count parameters The weight of .

[0008] Furthermore, the predicting, based on the rate of change of the channel quality, the time when the rate of change changes to be less than the signal quality threshold, specifically includes: Calculate the adjacent channel quality twice The absolute change of , when two consecutive absolute changes Less than the set negative threshold When the channel quality is considered to be significantly deteriorated, the calculated Forming a sequence , according to the sequence Determine the quality change trend of the signal; when the signal is detected to be worse for N consecutive times, calculate the rate of change of the signal based on the N detection data, and predict the quality change trend of the signal based on the signal conversion rate. The time T when the signal quality threshold is reached.

[0009] Furthermore, according to the sequence Determine the quality change trend of the signal, including: when More than λ1 are negative, and arrive is a continuous negative value, , and there are no continuous positive values ​​exceeding λ2, the signal is considered to be deteriorating; when More than λ1 are all positive, and arrive is a continuous positive value, , and there are no consecutive negative values ​​exceeding λ2, the signal is considered to be getting better; where λ1 and λ2 are empirical values. Furthermore, adaptively selecting a target AP based on the calculated channel quality of the candidate APs and controlling the first network card to select the target AP to establish a link includes: All scanned APs are recorded as ={ }; Evaluate The channel quality of all APs in the list is calculated, and the APs whose channel quality is getting better are selected. The APs are sorted in descending order according to the channel quality value. The sorted AP list is recorded as ; Disconnect the first network card from the previous AP, connect to the first AP in the sorted candidate AP list, control the second network card to still serve as a mirror of the first network card, communicate with the previous AP, and keep the link unbroken.

[0010] Furthermore, the controller is further configured to: determine whether a communication link is established between the first network card and the target AP; if so, control the second network card to stop sending data and re-enter the mode of monitoring the first network link status data; otherwise, In the process, the next candidate AP is selected for connection.

[0011] A second aspect of the present invention provides a single-link roaming switching method for a STA device based on a dual Wi-Fi chip, comprising: evaluating the channel quality of the current channel according to the link status data of the first network card obtained by the second network card; Based on the channel quality change rate, the time it takes for the change rate to fall below the signal quality threshold is predicted. If the predicted time is less than the time threshold, roaming is required. When roaming is detected, the second network card is controlled to start sending the same content as the first network card, and at the same time scans candidate APs in the network, adaptively selects a target AP based on the calculated channel quality of the candidate APs, and controls the first network card to select the target AP to establish a link.

[0012] A third aspect of the present invention provides a computer-readable storage medium.

[0013] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps in the above-mentioned single-link roaming switching method for STA devices based on dual Wi-Fi chips.

[0014] A fourth aspect of the present invention provides a computer device.

[0015] A computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the steps in the above-described method for single-link roaming switching of STA devices based on dual Wi-Fi chips are implemented.

[0016] Compared with the prior art, the present invention has the following beneficial effects: 1. The present invention predicts the time when the channel quality changes to less than a signal quality threshold based on the rate of change of the channel quality, and performs roaming switching when the predicted time is less than the time threshold. Most of the time, only one communication link is established, and a roaming link is only established briefly during roaming. Most of the time, the device does not need to roam or establish two links. This solves the problem of increased power consumption caused by maintaining two communication links for a long time, effectively reduces the occupation of Wi-Fi space resources, and more efficiently utilizes bandwidth.

[0017] 2. The present invention predicts the changing trend of link quality and predicts that the signal quality of the link will deteriorate after a certain period of time. In this way, when the link quality is relatively good, a candidate AP with good signal quality is selected for roaming in advance, thereby reducing disconnection and communication instability caused by poor signal during roaming, such as increased communication delay, and ensuring the integrity and stability of data communication.

[0018] 3. The present invention utilizes the second network card to share the work of scanning candidate APs of the first network card, thereby reducing the load of the first network card and improving the communication quality and efficiency of the first network card.

[0019] Advantages of additional aspects of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The accompanying drawings, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.

[0021] Figure 1 This is a schematic diagram of a single-link roaming switching device for STA devices based on dual Wi-Fi chips provided by an embodiment of the present invention; Figure 2 This is a flow chart of a single-link roaming switching method for STA devices based on dual Wi-Fi chips provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0022] The present invention will be further described below with reference to the accompanying drawings and embodiments.

[0023] It should be noted that the following detailed descriptions are illustrative and intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which the present invention belongs.

[0024] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is intended to include the plural form. In addition, it should be understood that when the terms "comprise" and / or "include" are used in this specification, they indicate the presence of features, steps, operations, devices, components and / or combinations thereof.

[0025] Currently, Wi-Fi roaming for wireless terminal devices uses two methods: dual-link active handover and single-link passive scanning. Single-link passive scanning requires disconnecting the current connection before scanning for a new AP when switching to a roaming target, which results in communication interruption. Dual-link active handover involves a terminal device connecting to two wireless access points (APs) simultaneously, maintaining communication via dual links, such as the 802.11k / v / r protocol. However, this method has the following drawbacks: First, dual links occupy twice the air interface resources, resulting in low spectrum utilization; second, the probability of data collisions between dual links is high; third, communication quality is affected, and continuous dual-link operation significantly increases device power consumption, making it particularly unsuitable for battery-powered devices; and fourth, it requires the AP to support specific protocols (such as 802.11k / v / r), limiting compatibility.

[0026] The master control logic of the present invention uses dual Wi-Fi chips to create two independent physical network cards. The first card establishes a communication link with the target access point (AP), while the second card monitors data packets sent to the first card. The second card mirrors all parameters of the first card and the AP. When roaming is detected, the master control logic controls the second card to initiate transmission, sending the same data as the first card, increasing the likelihood that the AP will receive data. Using the AP's connection parameters, the master control logic periodically scans for APs with better signal strength in the roaming network and synchronizes this information with the master control logic. The master control logic selects a more suitable AP and controls the first card to establish a link with it. While the first card establishes a link, the second card performs normal data services, maintaining an uninterrupted link. After the first card completes the new link establishment, the second card stops sending data and re-enters monitoring mode. Compared to a solution that establishes two links, only one communication link is established most of the time, with the roaming link established only briefly during roaming. This reduces Wi-Fi space usage and improves bandwidth utilization. Single-link communication reduces the probability of air interface data conflicts that occur with dual-link communication. Most of the time, devices do not need to roam, so establishing two links increases the device's power consumption to a certain extent. Especially for devices that use batteries and require low power consumption, a single link can reduce power consumption further.

[0027] Next, the roaming switching device provided by the embodiment of the present invention is described in detail. Figure 1 A schematic diagram of a dual-wifi chip STA device single-link roaming switching device provided in an embodiment of the present invention includes a controller and two independent physical network cards. The first network card establishes a communication link with the AP, and the second network card is used to monitor the link status data of the first network card. The second network card copies all parameters of the first network card and the AP as a mirror. The controller is configured to: evaluate the channel quality of the current channel according to the link status data of the first network card obtained by the second network card, and The change rate of the predicted CQI is less than the signal quality threshold Time T, when the predicted T< When roaming is required, The time threshold is indicated. When roaming is detected, the second network card is controlled to start sending the same content as the first network card, while simultaneously scanning for candidate APs on the network. Based on the calculated channel quality of the candidate APs, the first network card is controlled to select a target AP to establish a link. Using the second network card to share the candidate AP scanning work with the first network card reduces the load on the first network card and improves the communication quality of the network cards.

[0028] The link status data of the first network card obtained by the second network card includes parameters such as the communication rate, signal strength, link occupancy rate, and number of conflicts of the link of the first network card.

[0029] The controller is further configured to: perform normalization processing on the acquired link state data; In order to unify the dimensions and facilitate calculation, the four parameters of communication rate, signal strength, link occupancy and number of conflicts are normalized respectively. Each parameter is normalized to In the range, the normalized communication rate is obtained. , signal strength , link occupancy rate and number of conflicts ; The normalization methods of the four parameters are consistent, with the communication rate as the For example, the normalization formula is: , in, and They are the maximum and minimum values ​​of the communication rate, respectively. For example, the 5G frequency band can be set from 0 to the nominal maximum rate.

[0030] Among them, the definition of channel quality Channel Quality Index (CQI) combines the communication rate, signal quality, link occupancy, and number of collisions to comprehensively evaluate channel quality based on weight distribution.

[0031] Channel quality The calculation formula is: , in, 、 、 、 are the weights of the corresponding normalized communication rate, signal strength, link occupancy rate and number of conflicts parameters respectively.

[0032] In this embodiment, the roaming detection start threshold is set , when the signal strength Less than the roaming detection start threshold When , roaming prediction begins; According to the channel quality The change rate of the predicted CQI is less than the signal quality threshold Time T, when the predicted T< , roaming is required, including: The collection intervals of communication rate R, signal strength S, link occupancy L and collision number C are defined as In this embodiment, <=10ms; Data is collected based on the set data collection interval, and the data collected each time is collected according to the channel quality. The calculation formula is used to calculate a CQI value, which is recorded as ; Record each assessment Values, forming a sequence , CQI sequence representation STA signal quality change curve within the time interval.

[0033] Then, the change of channel quality is evaluated based on the STA's signal quality change curve; The specific channel quality prediction process includes: Calculate two consecutive The absolute change of: , When the absolute change is less than the set negative threshold for two consecutive times When , the channel quality is considered to be significantly deteriorated, which can be expressed as: , The calculated Forming sequence: ,when More than λ1 are negative, and arrive is a continuous negative value ( ), and there are no consecutive positive values ​​exceeding λ2, the signal is considered to be deteriorating.

[0034] when More than λ1 are all positive, and arrive is a continuous positive value ( ), and there are no consecutive negative values ​​exceeding λ2, the signal is considered to be getting better.

[0035] Where λ1 and λ2 are empirical values. In this embodiment, λ1 is 80% and λ2 is 20%. When the signal is detected to be deteriorating for N consecutive times, it is considered that the STA's signal may be worse in the future. At this time, it is necessary to calculate the signal change rate based on the N previous detection data and predict the QCI arrival time based on the change rate. Time T.

[0036] When T< If the channel quality of the STA channel is lower than the configured value during the buffer time, , the STA needs to roam.

[0037] In this embodiment, the evaluation time of the channel quality change is defined as , >500ms.

[0038] In this embodiment, 、 、 、 、 、 、 、 、 , j, can be debugged according to actual conditions and experience to obtain a prediction curve that adapts to the scenario.

[0039] The above method determines whether STA devices need to roam based on the configured empirical threshold. It also records the channel quality of each evaluation and uses this data to predict link quality trends. If the link signal quality is expected to deteriorate over time, APs can be selected for roaming in advance when the link quality is relatively good. This reduces disconnection and communication instability caused by poor signal quality during roaming, such as increased communication delays.

[0040] The main control logic controls the second network card to start sending, and sends the same content as the first network card, in order to increase the possibility of the AP receiving data.

[0041] Adaptively selecting a target AP based on the calculated channel quality of the candidate APs, and controlling the first network card to select the target AP to establish a link, specifically includes: For all scanned ={ }, also perform data detection and channel quality assessment through the above-mentioned channel quality assessment method, and select the channel whose channel quality is getting better. , and based on Sort them by value, and the sorted The list is recorded as: ={ }, exist ={ }In the ordered list, select caps in turn and synchronize the selected AP information to the first network card. After the main control logic selects a more suitable AP, it controls the first network card to establish a link with the more suitable AP; that is, it is sorted in 1...n order, with the suitability decreasing in turn, that is, the one in the front is more suitable.

[0042] Specifically, when roaming is detected, the second network card sends the mirror data of the first network card and scans the candidate APs, recording all the scanned APs as ={}; right , using the above-mentioned method to evaluate channel quality, evaluate the channel quality of each candidate AP, and select the AP whose channel quality is getting better, and then Value, sort them from high to low, and the sorted AP list is recorded as ; The controller selects the first AP in the sorted candidate AP list, which is the one with the highest CQI value and whose signal is improving. It then controls the first network card to disconnect from the previous AP (the second network card still acts as a mirror of the first network card, communicating with the previous AP to maintain a continuous link), and then connects to the first candidate AP.

[0043] When the first network card establishes a link, the second network card is controlled to perform normal data services to keep the link uninterrupted. Continue to select the AP with the best CQI.

[0044] Furthermore, the controller is further configured to: determine whether a communication link is established between the first network card and the target AP; if so, control the second network card to stop sending data and re-enter a mode of monitoring the first network link status data.

[0045] Compared to establishing two links, this method uses only one communication link most of the time. Roaming is only recommended briefly during roaming, reducing Wi-Fi space usage and bandwidth utilization. Single-link communication reduces the probability of air interface data conflicts that occur with dual-link communication. Most of the time, devices do not need to roam. Establishing two links increases device power consumption to a certain extent. A single link can significantly reduce power consumption, especially for battery-powered devices that require low power consumption.

[0046] Example 2 This embodiment provides a single-link roaming handover method for a STA device based on dual Wi-Fi chips, including: Step 1: Evaluate the channel quality of the current channel based on the link status data of the first network card obtained by the second network card; Step 2: Based on the channel quality change rate, predict the time it will take for the change rate to fall below the signal quality threshold. If the predicted time is less than the time threshold, roaming is required. Step 3: When roaming is detected, the second network card is controlled to start sending the same content as the first network card, and at the same time scans the candidate APs in the network. According to the calculated channel quality of the candidate APs, the target AP is adaptively selected, and the first network card is controlled to select the target AP to establish a link.

[0047] It should be noted that the specific implementation method of the single-link roaming switching method of the dual-wifi chip STA device based on the embodiment of the present invention is similar to the specific implementation method of the single-link roaming switching device of the dual-wifi chip STA device based on the embodiment of the present invention. Please refer to the description of the device part for details. In order to reduce redundancy, it will not be repeated here.

[0048] Example 3 This embodiment provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the steps in the above-described method for single-link roaming switching of a STA device based on dual Wi-Fi chips are implemented.

[0049] Example 4 This embodiment provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the steps in the above-described method for single-link roaming handover of a STA device based on dual Wi-Fi chips are implemented.

[0050] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Thus, the present invention may take the form of hardware embodiments, software embodiments, or embodiments combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage and optical storage, etc.) containing computer-usable program code.

[0051] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowcharts and / or block diagrams, as well as combinations of processes and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce 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 flowcharts and / or block diagrams. 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.

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

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

[0054] Those skilled in the art will appreciate that all or part of the processes in the above-described method embodiments can be implemented by instructing the relevant hardware through a computer program. The program can be stored in a computer-readable storage medium. When executed, the program can include the processes in the above-described method embodiments. The storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

[0055] The foregoing description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. Those skilled in the art will readily appreciate that various modifications and variations of the present invention are possible. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present invention are intended to be within the scope of protection of the present invention.

Claims

1. A single-link roaming switching device for STA devices based on dual Wi-Fi chips, characterized in that: It includes a controller and two independent physical network cards, wherein the first network card establishes a communication link with the AP, and the second network card is used to monitor the link status data of the first network card; the second network card copies all parameters of the first network card and the AP as a mirror; The controller is configured to: evaluate the channel quality of the current channel based on the link status data of the first network card obtained by the second network card, predict the time when the change rate changes to less than the signal quality threshold based on the change rate of the channel quality, and when the predicted time is less than the time threshold, roaming is required; when roaming is detected, control the second network card to start sending the same content as the first network card, and scan candidate APs in the network at the same time, adaptively select a target AP based on the calculated channel quality of the candidate APs, and control the first network card to select the target AP to establish a link.

2. The single-link roaming switching device for STA devices based on dual Wi-Fi chips according to claim 1, characterized in that: The controller is further configured to: perform normalization processing on the acquired link status data.

3. The single-link roaming switching device for STA devices based on dual Wi-Fi chips according to claim 1, characterized in that: The calculation formula for the channel quality of the current channel is: , in, Indicates the channel quality of the channel, 、 、 、 are the corresponding normalized communication rates , signal strength , link occupancy rate and conflict count parameters The weight of .

4. The single-link roaming switching device for STA devices based on dual Wi-Fi chips according to claim 1, characterized in that: The predicting, based on the change rate of the channel quality, the time when the change rate changes to be less than the signal quality threshold specifically includes: Calculate the adjacent channel quality twice The absolute change of , when two consecutive absolute changes Less than the set negative threshold When the channel quality is considered to be significantly deteriorated, the calculated Forming a sequence , according to the sequence Determine the quality change trend of the signal; when the signal is detected to be worse for N consecutive times, calculate the rate of change of the signal based on the N detection data, and predict the quality change trend of the signal based on the signal conversion rate. The time T when the signal quality threshold is reached.

5. The single-link roaming switching device for STA devices based on dual Wi-Fi chips according to claim 4, characterized in that: According to the sequence Determine the quality change trend of the signal, including: when More than λ1 are negative, and arrive is a continuous negative value, , and there are no continuous positive values ​​exceeding λ2, the signal is considered to be deteriorating; when More than λ1 are all positive, and arrive is a continuous positive value, , and there are no consecutive negative values ​​exceeding λ2, the signal is considered to be getting better; where λ1 and λ2 are empirical values.

6. The single-link roaming switching device for STA devices based on dual Wi-Fi chips according to claim 4, characterized in that: Adaptively selecting a target AP according to the calculated channel quality of the candidate APs, and controlling the first network card to select the target AP to establish a link, includes: All scanned APs are recorded as ={ }; Evaluate The channel quality of each AP in the channel is obtained, and the AP whose channel quality is getting better is selected. Then, the APs are sorted in descending order according to the channel quality value. The sorted AP list is recorded as ; Disconnect the first network card from the previous AP, connect to the first AP in the sorted candidate AP list, control the second network card to still serve as a mirror of the first network card, communicate with the previous AP, and keep the link unbroken.

7. The single-link roaming switching device for STA devices based on dual Wi-Fi chips according to claim 6, characterized in that: The controller is further configured to: determine whether a communication link is established between the first network card and the target AP; if so, control the second network card to stop sending data and re-enter the mode of monitoring the first network link status data; otherwise, In the process, the next candidate AP is selected for connection.

8. A single-link roaming switching method for STA devices based on dual Wi-Fi chips is characterized in that: include: evaluating the channel quality of the current channel according to the link status data of the first network card obtained by the second network card; Based on the channel quality change rate, the time it takes for the change rate to fall below the signal quality threshold is predicted. If the predicted time is less than the time threshold, roaming is required. When roaming is detected, the second network card is controlled to start sending the same content as the first network card, and at the same time scans the candidate APs in the network. According to the calculated channel quality of the candidate APs, the target AP is adaptively selected, and the first network card is controlled to select the target AP to establish a link.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps in the single-link roaming switching method for STA devices based on dual Wi-Fi chips as described in claim 8 are implemented.

10. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the steps in the single-link roaming switching method for STA devices based on dual Wi-Fi chips are implemented as described in any one of claim 8.

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

  • Wireless network roaming method

    CN122160847A