Control method for operating mode of wireless device, wireless device and medium

By monitoring the RSSI value of the WiFi module to determine channel interference and switch operating modes, the problem of insufficient data rate and inter-channel interference in WiFi and Bluetooth coexisting devices is solved, achieving efficient data transmission and communication quality assurance.

CN116321184BActive Publication Date: 2026-04-03HENGXUAN TECH (BEIJING) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-23
Publication Date
2026-04-03

AI Technical Summary

Technical Problem

In existing wireless devices that coexist with WiFi and Bluetooth, the fixed FDD/TDD working mode setting prevents the data rate from being increased and makes it impossible to identify and adjust in time to avoid inter-channel interference, resulting in a decline in communication performance.

Method used

By monitoring the RSSI value of the WiFi module's received signal strength indicator, it can determine whether the channel is being interfered with, and if necessary, switch the operating mode to TDD mode to avoid inter-channel interference and ensure the communication quality when the WiFi and Bluetooth modules work independently on the same frequency band.

Benefits of technology

It enables timely identification of inter-channel interference and dynamic adjustment of the working mode when WiFi and Bluetooth modules coexist, thereby improving data transmission efficiency and avoiding the impact of inter-channel interference on communication quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116321184B_ABST
    Figure CN116321184B_ABST
Patent Text Reader

Abstract

This application relates to a control method, a wireless device, and a medium for the operating mode of a wireless device. The wireless device includes a WiFi module and a Bluetooth module, and the operating modes include FDD mode and TDD mode. The control method includes, when the WiFi module and Bluetooth module are operating independently on the same frequency band, detecting whether the WiFi module is connected to an access point (AP) at first time intervals. When the WiFi module is connected to the AP: obtaining and detecting a first RSSI value of the channel being used by the WiFi module; and, based on the determination of the first RSSI value, setting the operating mode to the corresponding operating mode, wherein if the first RSSI value is less than the RSSI threshold of the corresponding channel, the operating mode is set to TDD mode. This application can conveniently and accurately identify channel interference conditions and avoid interference by setting the operating mode to TDD mode, while also enabling the wireless device to have a high overall data rate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of wireless communication technology, and more specifically, to a control method for an operating mode of a wireless device, a wireless device, and a medium. Background Technology

[0002] With the development of wireless communication technology and the increasing demands of users, the coexistence of WiFi and Bluetooth in the same wireless device is becoming increasingly common. In devices where WiFi and Bluetooth coexist, WiFi and Bluetooth can operate in two modes: FDD (Frequency Division Duplex) or TDD (Time Division Duplex). FDD is a full-duplex mode, in which WiFi and Bluetooth can use different channels to work simultaneously without conflict, thus supporting a higher data rate. TDD is equivalent to a half-duplex mode, where only WiFi or Bluetooth is allowed to work in the same time slot. Therefore, under the same conditions, its supported data rate is about half that of FDD mode.

[0003] In existing wireless devices that coexist with WiFi and Bluetooth, the FDD / TDD operating mode is usually pre-set in relation to the application scenario and cannot be dynamically changed once set. Furthermore, especially when WiFi and Bluetooth operate on the same frequency band (i.e., the 2.4GHz band) and share the same antenna, the wireless device's operating mode is usually set to TDD to avoid potential mutual interference. Therefore, the existing FDD / TDD operating mode setting method is not flexible enough. On the one hand, consistently using TDD mode in specific scenarios may result in stagnant data rates. On the other hand, when consistently using the higher data rate FDD mode in some scenarios, it is impossible to promptly identify and take appropriate adjustment measures in the event of inter-channel interference, which may lead to increased bit error rate and degraded communication performance. Summary of the Invention

[0004] This application is provided to address the aforementioned problems existing in the prior art.

[0005] A method, wireless device, and medium for controlling the operating mode of a wireless device are needed. This method can switch the operating mode of the wireless device in a timely manner by monitoring inter-channel interference when the WiFi module and the Bluetooth module are operating independently in the same frequency band. This would prevent the WiFi module and the Bluetooth module from being affected by inter-channel interference, while also maintaining the WiFi module and the Bluetooth module at a higher data rate as much as possible.

[0006] According to a first aspect of this application, a control method for the operating mode of a wireless device is provided. The wireless device includes a WiFi module and a Bluetooth module. The operating modes include a TDD mode and an FDD mode. In the FDD mode, the WiFi module and the Bluetooth module operate in frequency division duplex mode. In the TDD mode, the WiFi module and the Bluetooth module operate in time division duplex mode. The control method includes detecting whether the WiFi module is connected to an access point (AP) at every first time interval. If the WiFi module is connected to the AP and both the WiFi module and the Bluetooth module are operating independently on the same frequency band: obtaining a first received signal strength indicator (RSSI) value of the channel being used by the WiFi module; and based on the determination of the first RSSI value, causing the operating mode to be in the corresponding operating mode, wherein if the RSSI value is less than the RSSI threshold of the corresponding channel, the operating mode is caused to be in the TDD mode.

[0007] According to a second aspect of this application, a wireless device is provided, the wireless device including a WiFi module, a Bluetooth module, and a control unit for controlling the operating modes of the wireless device, the operating modes including a TDD mode and an FDD mode, wherein in the FDD mode, the WiFi module and the Bluetooth module operate in frequency division duplex mode, and in the TDD mode, the WiFi module and the Bluetooth module operate in time division duplex mode, and the control unit is configured to execute the steps of the control method for the operating modes of the wireless device as described in various embodiments of this application.

[0008] According to a third aspect of this application, a non-transitory computer-readable medium is provided, having instructions stored thereon that, when executed by a processor, perform the steps of a control method for an operating mode of a wireless device as described in various embodiments of this application.

[0009] Using the control method, wireless device, and medium for the operating mode of a wireless device according to various embodiments of this application, when the WiFi module and Bluetooth module are operating independently on the same frequency band, the system periodically monitors the WiFi module's access to the AP and the RSSI value of the channel being used by the WiFi module. By comparing the RSSI value, which reflects the interference status of the channel, with the corresponding channel's RSSI threshold, it determines whether the operating mode of the wireless device needs to be set to TDD mode. In this way, the interference status between channels can be identified in a timely manner, and the operating mode of the wireless device can be set to TDD mode with a lower data rate only when necessary to avoid interference between the WiFi module and Bluetooth module. In other cases, the WiFi module and Bluetooth module of the wireless device can transmit data at a higher data rate as much as possible. Attached Figure Description

[0010] In drawings that are not necessarily drawn to scale, the same reference numerals may describe similar parts in different views. The same reference numerals with or without letter suffixes may indicate different instances of similar parts. The drawings illustrate various embodiments generally by way of example rather than limitation, and are used, together with the description and claims, to explain the disclosed embodiments. Where appropriate, the same reference numerals are used in all drawings to refer to the same or similar parts. Such embodiments are illustrative and not intended to be exhaustive or exclusive embodiments of the apparatus or method.

[0011] Figure 1 A schematic diagram showing a portion of the composition of a wireless device according to an embodiment of this application is provided.

[0012] Figure 2 A flowchart illustrating a control method for an operating mode of a wireless device according to an embodiment of this application is shown.

[0013] Figure 3 Another flowchart illustrates a control method for the operating mode of a wireless device according to an embodiment of this application. Detailed Implementation

[0014] To enable those skilled in the art to better understand the technical solutions of this application, the application will be described in detail below with reference to the accompanying drawings and specific embodiments. The embodiments of this application will be further described in detail below with reference to the accompanying drawings and specific examples, but these are not intended to limit the scope of this application.

[0015] The terms "first," "second," and similar words used in this application do not indicate any order, quantity, or importance, but are merely used for distinction. Words such as "including" or "comprising" mean that the element preceding the word encompasses the elements listed after it, and do not exclude the possibility of encompassing other elements as well. The execution order of the steps in the method described in conjunction with the accompanying drawings in this application is not intended to be limiting. As long as the logical relationship between the steps is not affected, several steps can be integrated into a single step, a single step can be decomposed into multiple steps, and the execution order of the steps can be changed according to specific needs.

[0016] It should also be understood that the term "and / or" in this application is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Furthermore, the character " / " in this application generally indicates that the preceding and following related objects have an "or" relationship.

[0017] This application provides a wireless device. Figure 1A schematic diagram showing a portion of the components of a wireless device according to an embodiment of this application is provided. Figure 1 As shown, the wireless device 100 includes a WiFi module 101, a Bluetooth module 102, and a control unit 103 for controlling the operating modes of the wireless device 100. The operating modes include TDD mode and FDD mode. In FDD mode, the WiFi module 101 and the Bluetooth module 102 operate in frequency division duplex mode, that is, the WiFi module 101 and the Bluetooth module 102 can each use a pre-planned channel and / or channel set that is not expected to cause mutual interference to transmit data simultaneously without avoiding each other. In this operating mode, as an example only, when the WiFi module 101 sends a WiFi data transmission request to the control unit 103, or the Bluetooth module 102 sends a Bluetooth data transmission request to the control unit 103, the control unit 103 can immediately respond to the data transmission requests of the WiFi module 101 and the Bluetooth module 102, so that the WiFi module 101 and the Bluetooth module 102 can transmit data simultaneously in an independent manner. Therefore, both the WiFi module 101 and the Bluetooth module 102 can achieve a high data rate. Compared to FDD full-duplex, TDD mode is equivalent to half-duplex. Only one of the WiFi module 101 or Bluetooth module 102 is allowed to work in the same time slot. Therefore, in TDD mode, the control unit 103 needs to respond to the data transmission requests of WiFi module 101 and Bluetooth module 102 in a time-division manner according to the preset time slot division method, so that WiFi module 101 and Bluetooth module 102 avoid transmitting data at the same time slot. Thus, taking a time slot division of 1:1 as an example, the data rate that WiFi module 101 and Bluetooth module 102 can achieve is about half that of FDD mode.

[0018] In some embodiments, the wireless device 100 may further include a WiFi antenna (not shown) for transmitting and receiving WiFi signals, and a Bluetooth antenna (not shown) for transmitting and receiving Bluetooth signals. The WiFi antenna and Bluetooth antenna may be independent antennas or shared antennas. It is worth noting that regardless of whether the WiFi module 101 and Bluetooth module 102 use independent antennas or share the same antenna, as long as they operate independently in the same frequency band—for example, both WiFi module 101 and Bluetooth module 102 operate in the 2.4 GHz band—mutual interference may occur due to insufficient antenna isolation between the operating channels. It is particularly important to note that even for pre-planned channels and / or channel sets for FDD mode, mutual interference between channels may still occur during actual operation.

[0019] In view of the above reasons, in the embodiments according to this application, the control unit 103 is further configured to control the operating mode of the wireless device 100. Specifically, it can execute the steps of the control method for the operating mode of the wireless device as described in the various embodiments of this application, which will be discussed below in conjunction with... Figure 2 A method for controlling the operating mode of a wireless device according to embodiments of this application will be described in detail.

[0020] Figure 2 A flowchart illustrating a control method for an operating mode of a wireless device according to an embodiment of this application is shown.

[0021] like Figure 2 As shown, in step 201, the WiFi module can be detected to be connected to the access point (AP) at every first time interval. When the WiFi module is connected to the AP and both the WiFi module and the Bluetooth module are working independently on the same frequency band, the following steps 202 and 203 are executed.

[0022] Normally, when the detection result shows that the WiFi module is connected to the AP, the frequency band it uses can be determined by the connection with the AP, such as the 5GHz band or the 2.4GHz band. If it is using the 2.4GHz band, and the Bluetooth module is also transmitting Bluetooth data at the same time, then it can be considered that the WiFi module and the Bluetooth module are working independently on the same frequency band.

[0023] In some embodiments, the first time interval may be set to, for example, 1 second or 0.5 seconds. In other embodiments, simulations or experiments may be conducted in conjunction with factors such as the processing capabilities of the wireless device's software and hardware, and the first time interval may be set to an appropriate value based on the simulation or experiment results. This application does not limit the specific value. By reasonably setting the first time interval, it is beneficial to promptly perceive and execute corresponding adjustments to changes in the AP access status of the WiFi module, whether the WiFi module and Bluetooth module are working independently on the same frequency band, and changes in parameters used for setting the working mode in subsequent steps. At the same time, it can also prevent AP access detection and other judgment processing from being too frequent, that is, to avoid excessively increasing the software and hardware burden of the wireless device.

[0024] Then, in step 202, the first Received Signal Strength Indication (RSSI) value of the channel being used by the WiFi module can be further obtained. RSSI indicates the strength of the WiFi signal and is the total power of the signal received by the receiver in the WiFi module, measured in dBm (decibels per milliwatt). During WiFi data transmission, with a fixed transmitter power, the RSSI value at the receiver may change due to various interferences, including mutual interference between the channel used by the Bluetooth module and the channel currently used by the WiFi module due to insufficient isolation. Therefore, the RSSI value of the WiFi module can be used to characterize the interference status of the channel being used. In some embodiments, the RSSI value measured by the WiFi module receiver can be directly used as the first RSSI value, for example, by reading the memory address where the RSSI value is fixedly stored. In other embodiments, the RSSI value can also be obtained in other ways, which are not limited in this application.

[0025] Next, in step 203, based on the determination of the RSSI value, the wireless device can be set to a corresponding operating mode. Specifically, if the RSSI value is less than the RSSI threshold of the corresponding channel, the operating mode is set to TDD mode. In some embodiments, the RSSI thresholds of various channels that the WiFi module may use during operation can be pre-stored in the wireless device's storage space for quick retrieval when needed and compared with the acquired RSSI value of the channel currently being used by the WiFi module. When the acquired RSSI value is less than the pre-stored RSSI threshold of the corresponding channel, it can be considered that the current channel used by the WiFi module is experiencing strong interference. In this case, to ensure the communication quality of the system, when the wireless device's current operating mode is FDD mode, the operating mode can be switched to TDD mode, or, when the current operating mode is TDD mode, the operating mode can be maintained in TDD mode.

[0026] Through steps 201-203 above, the AP connection status of the WiFi module, whether the WiFi module and Bluetooth module are operating independently on the same frequency band, and the interference status of the WiFi module can be monitored periodically. In particular, by comparing the easily obtainable RSSI value of WiFi communication with the pre-stored RSSI threshold of the corresponding channel, the channel interference status of the WiFi module and Bluetooth module can be easily and accurately identified. Therefore, the operating mode of the wireless device can be switched to or kept in TDD mode only when the WiFi module is connected to the AP and the interference status of the channel currently used by the WiFi module exceeds the threshold of the corresponding channel. On the one hand, it can identify channel interference in a timely and accurate manner, avoid the impact of interference by switching the operating mode, and ensure the communication quality of the WiFi module and Bluetooth module. On the other hand, switching the operating mode to TDD mode only when necessary can make the WiFi module and Bluetooth module operate in the higher data rate FDD mode as much as possible, thereby improving the overall data transmission efficiency of the wireless device.

[0027] Figure 3 Another flowchart illustrates a control method for the operating mode of a wireless device according to an embodiment of this application.

[0028] like Figure 3 As shown, in step 301, it can first be determined whether the WiFi module is connected to the access point (AP). In some cases, such as when there is no data transmission for a long time, the WiFi module may temporarily enter a sleep state and disconnect from the AP. At this time, even if the Bluetooth module is transmitting data, it will not interfere with Bluetooth communication. Therefore, if the determination result in step 301 is "no", the process can proceed to step 307, that is, setting the working mode of the wireless device to FDD mode. It can be understood that if the current working mode is TDD mode, it will switch from TDD mode to FDD mode; if the current working mode is FDD mode, no mode switching is required. In FDD mode, the wireless device responds immediately to data transmission requests from the WiFi module and the Bluetooth module, thereby giving the wireless device higher data transmission efficiency.

[0029] If the determination result in step 301 is "yes," meaning the WiFi module is connected to the AP, then proceed to step 302. In step 302, it is determined whether the WiFi module and Bluetooth module are operating independently on the same frequency band. As mentioned earlier, in some embodiments, the frequency band used by the WiFi module can be determined through its AP connection, thus determining whether the WiFi module and Bluetooth module are using the same frequency band. In other embodiments, for example, if the WiFi module of the wireless device operates in the 2.4GHz or 5GHz frequency band, then the operating frequency band of the WiFi module can be directly determined. If the determination result in step 302 is "no," then the WiFi module and Bluetooth module can use the higher data rate FDD mode for full-duplex communication without inter-channel interference. Therefore, even if the determination result in step 302 is "no," the process can proceed to step 307, that is, setting the operating mode of the wireless device to FDD mode.

[0030] If the determination result in step 302 is "yes", the process will proceed to step 303 to further obtain the first received signal strength indicator (RSSI) value of the channel being used by the WiFi module. This step is related to... Figure 2 Step 203 is similar and will not be repeated here.

[0031] Next, in step 304, it is determined whether the first RSSI value is less than the RSSI threshold of the corresponding channel. If the determination result is "no", it indicates that the channel currently used by the WiFi module is not subject to inter-channel interference, or the inter-channel interference is minor and has not yet affected the normal communication of the WiFi module and / or Bluetooth module. Since the Bluetooth module uses frequency hopping communication, its anti-interference capability is generally stronger than that of the WiFi module. Therefore, the RSSI value of WiFi communication can be used as a representative indicator of inter-channel interference. If the first RSSI value is not less than the RSSI threshold of the corresponding channel, it can generally be considered that the Bluetooth module is not interfered with or is subject to minor interference. Therefore, if the determination result in step 304 is "no", the process can proceed to step 307, that is, if the first RSSI value is greater than or equal to the RSSI threshold of the corresponding channel, the operating mode is set to the FDD mode. If the determination result in step 304 is "yes", the process proceeds to step 305, in which the operating mode of the wireless device is set to TDD mode. In TDD mode, the wireless device responds to the data transmission requests of the WiFi module and the Bluetooth module in a time-division manner, so its data rate is about half that of FDD mode. However, in TDD mode, the impact of inter-channel interference on the communication performance of the WiFi module and the Bluetooth module can be effectively avoided.

[0032] Then, in step 306, wait for the first time interval, and then return to step 301 to determine the AP connection of the WiFi module, etc., which will not be described in detail here. In addition, when entering step 307 from step 301, step 302 or step 304, it is similarly necessary to return to step 301 after the first time interval to periodically monitor the working status of the wireless device and whether the working mode needs to be switched.

[0033] from Figure 3 As shown in the flowchart, the operating mode is set to TDD mode only when the WiFi module is connected to the AP, WiFi and Bluetooth share the same frequency band, and the first RSSI value indicates that inter-channel interference may have affected normal communication. In other cases, such as when the WiFi module is not connected to the AP and / or the first RSSI value of the WiFi module is not less than the RSSI threshold of the corresponding channel, the wireless device can operate in FDD mode with a higher data rate. Therefore, the overall data transmission efficiency of the wireless device is higher.

[0034] In some embodiments, considering the instability of the wireless channel or the inaccuracy of signal detection, the RSSI value of WiFi communication may fluctuate in the short term or may have occasional singular values. In order to reduce the influence of random factors, multiple RSSI values ​​of the channel used by the WiFi module within a second time interval before the current time can be obtained, the multiple RSSI values ​​can be smoothed, and the smoothed RSSI value can be used as the first RSSI value. Specifically, as an example, a buffer unit of a certain capacity can be set in the wireless device to temporarily store multiple RSSI values ​​measured by the WiFi module receiver multiple times within a period of time (e.g., the length of the second time interval). When it is necessary to obtain the first RSSI value of the channel used by the WiFi module, multiple RSSI values ​​can be read from the buffer unit and smoothed accordingly. For example, the average value of the RSSI values ​​measured in the last three measurements can be used as the first RSSI value. In other embodiments, the RSSI value measured by the receiver can be processed as in formula (1) and used as the first RSSI value and stored in the buffer unit.

[0035]

[0036] Where n is the number of cache units, indicating that n rssi values ​​can be stored; The latest RSSI value measured by the receiver at the current time. Upon arrival, the earliest RSSI value is first removed from the cache unit, and the other RSSI values ​​are shifted sequentially. Then, the values ​​before the current time are... With the current moment The values ​​are then subjected to weighted smoothing in formula (1) to obtain the processed values. Will It is used as the first rssi value and stored in the cache unit.

[0037] In other embodiments, any applicable algorithm can be used to obtain the first rssi value. This application does not limit this, as long as it can reduce the probability of misjudgment caused by occasional singular values ​​to a certain extent.

[0038] In some embodiments, the WiFi module and Bluetooth module can use the same antenna in the same frequency band (e.g., 2.4 GHz band). As an example, the channels / channel sets used by the WiFi and Bluetooth modules can be pre-planned to ensure sufficient frequency spacing when using full-duplex data transmission in FDD mode. This also allows for better isolation between channels when multiplexing the same antenna. Furthermore, even if channel interference occurs due to insufficient isolation between the WiFi and Bluetooth modules during independent operation, the combined approach effectively mitigates the problem. Figure 2 or Figure 3 The control method for the operating mode of a wireless device according to an embodiment of this application, as shown, allows for convenient, timely, and accurate identification of channel interference conditions, and enables the wireless device to be set to TDD mode accordingly to avoid interference. Therefore, compared to the prior art where wireless devices are typically set to TDD mode to avoid mutual interference when WiFi and Bluetooth operate on the same frequency band and share the same antenna, the control method provided in this application supports using FDD mode even when sharing the same antenna in the same frequency band, resulting in a higher overall data rate for the wireless device.

[0039] In some embodiments, the pre-stored RSSI thresholds for each channel, as described above, can be obtained through testing before the wireless device leaves the factory. Specifically, for example, testing can be conducted before shipment with both the WiFi module and Bluetooth module operating independently on the same frequency band. This allows the WiFi module to operate sequentially on each potentially usable channel, and the performance metrics of the corresponding wireless device are measured separately, thereby determining the RSSI threshold for each channel. Practice shows that for different channels, the degree of interference from other channels varies, and the measured and calculated RSSI thresholds may also differ significantly. For example, depending on whether the Bluetooth module uses the channel and how it is used, the RSSI thresholds for each channel may range from 5dBm to 50dBm. Therefore, the RSSI thresholds need to be measured and calculated separately for each channel that the WiFi module may use.

[0040] Specifically, the performance indicators of the aforementioned wireless device include, but are not limited to, one or a combination of the following: the interference level of the Bluetooth module, the packet error rate (PER) of the wireless device, and the antenna reception performance indicators of the wireless device. Based on this, the RSSI threshold of each channel can be specifically determined according to one of the following methods.

[0041] In some embodiments, the first RSSI threshold at which the performance index of the Bluetooth module drops to a first threshold can be used as the RSSI threshold of the corresponding channel. For example, the degree of stuttering during Bluetooth audio playback can be used as a performance index of the Bluetooth module, with slight stuttering as the first threshold. That is, during testing, the strength of the input signal is adjusted, and the RSSI threshold of the WiFi module measured when slight stuttering first appears during Bluetooth audio playback is used as the RSSI threshold of the current test channel.

[0042] In some embodiments, the strength of the input signal can be adjusted during testing, and the second RSSI threshold of the WiFi module can be used as the RSSI threshold of the corresponding channel when the packet error rate of the wireless device decreases to a second threshold. Typically, the packet error rate of the wireless device will decrease when there is interference between channels. However, due to increased retransmissions, the system's data throughput will also decrease. Therefore, the second RSSI threshold of the WiFi module can be used as the RSSI threshold of the corresponding channel when the packet error rate of the wireless device decreases to a second threshold. Furthermore, the packet error rate of the wireless device can be calculated based on the combined packet error rates of WiFi and Bluetooth communication. The specific value of the second threshold for the packet error rate can be determined according to the actual performance requirements of the wireless device, and will not be elaborated here. In other embodiments, other performance indicators reflecting system throughput similar to the packet error rate can also be used, and this application does not impose any restrictions on this.

[0043] In other embodiments, the strength of the input signal can be adjusted during testing, and the third RSSI threshold at which the antenna reception performance index of the wireless device drops to a third threshold can be used as the RSSI threshold for the corresponding channel. Specifically, for example, the antenna's TIS (Total Isotropic Sensitivity) can be used as the antenna reception performance index. When the antenna's TIS index drops, it usually indicates the presence of interference factors in the radio frequency circuitry of the wireless device, such as interference caused by insufficient channel or antenna isolation when the Bluetooth module and WiFi module are operating in FDD full-duplex mode. Therefore, the third RSSI threshold at which the antenna's reception performance index, such as TIS, drops to the corresponding third threshold of TIS can be used as the RSSI threshold for the corresponding channel. It is understood that when different antenna reception performance indices are selected, the third threshold is a specific threshold corresponding to that performance index, and its specific value can be determined according to the actual performance requirements of the wireless device. This application does not limit this.

[0044] In other embodiments, the RSSI threshold for the corresponding channel can also be obtained by weighted averaging the first, second, and third RSSI thresholds as described above. For example, the RSSI threshold for the corresponding channel can simply be obtained by calculating the arithmetic mean of the first, second, and third RSSI thresholds. In other cases, the weights of the three RSSI thresholds can be set according to the performance and metrics that the wireless device prioritizes. For example, the weights of the first, second, and third RSSI thresholds can be set in association with the performance requirements of the Bluetooth module by the wireless device. For instance, if the wireless device has high requirements for Bluetooth lag, the weight of the second RSSI threshold can be set to a larger value, while the weights of the first and third RSSI thresholds can be reduced accordingly. Given that the RSSI threshold of the corresponding channel is determined in the manner described above, when the channel interference status is determined based on the comparison result between the first RSSI value and the RSSI threshold of the corresponding channel, and the working mode is set to TDD mode accordingly, it is also possible to more specifically focus on improving the degradation of the performance indicators that the wireless device is concerned about.

[0045] Furthermore, it is worth noting that during the pre-shipment testing of wireless devices, the RSSI values ​​under different transmitted signal strengths, as described above, are typically measured. Similarly, antenna reception performance indicators are also tested. Therefore, in this embodiment, the process of determining the RSSI threshold for the corresponding channel usually does not require additional testing and measurement equipment, nor does it require significant modifications to the testing process. It only requires calculation based on the measured values ​​under the various boundary conditions described above, without excessively increasing testing time or the workload of testing personnel.

[0046] According to embodiments of this application, a wireless device is also provided, some of which have been combined with Figure 1 The details are described in detail. In other embodiments, the wireless device according to embodiments of this application may further include a memory configured to store RSSI thresholds for each channel, wherein the RSSI thresholds for each channel are determined based on performance metrics of the wireless device measured when the WiFi module is operating on each channel, assuming that the WiFi module and the Bluetooth module are operating independently before shipment.

[0047] The aforementioned memory can be a non-transitory computer-readable medium, such as read-only memory (ROM), random access memory (RAM), phase-change random access memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), electrically erasable programmable read-only memory (EEPROM), other types of random access memory (RAM), flash drives or other forms of flash memory, cache, registers, static memory, optical disc read-only memory (CD-ROM), digital versatile optical disc (DVD) or other optical storage, magnetic tape cassette or other magnetic storage devices, or any other possible non-transitory medium used to store information or instructions that can be accessed by computer equipment.

[0048] According to embodiments of this application, a non-transitory computer-readable medium is also provided, having instructions stored thereon that, when executed by a processor, perform the steps of a control method for an operating mode of a wireless device as described in various embodiments of this application.

[0049] The non-transitory computer-readable storage medium can be any available medium accessible to a computer or a data storage device such as a server or data center that integrates one or more available media. For example, the medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state drive). It should also be understood that the non-transitory computer-readable medium in this application can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or flash memory, etc.

[0050] In implementation, each step of the above-described control method for the operating mode of a wireless device can be completed by integrated logic circuits in the processor's hardware or by instructions in software form. The steps of the method disclosed in the embodiments of this application can be directly manifested as loading instructions stored in a non-transitory computer-readable medium onto a hardware processor and executing them, or executing them using a combination of hardware and software modules in the processor. The software modules can reside in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. This storage medium is located in memory, and the processor reads information from the memory and, in conjunction with its hardware, completes the steps of the above method. To avoid repetition, detailed descriptions are omitted here.

[0051] Furthermore, although exemplary embodiments have been described herein, their scope includes any and all embodiments based on this application that have equivalent elements, modifications, omissions, combinations (e.g., schemes where various embodiments overlap), adaptations, or changes. While several embodiments of wireless communication methods and wireless communication components have been described separately, it should be understood that the method details described in the wireless communication component description can also be incorporated into various embodiments of the wireless communication method, and vice versa.

[0052] The elements in the claims will be interpreted broadly based on the language used in the claims and are not limited to the examples described in this specification or during the implementation of this application, the examples of which will be interpreted as non-exclusive. Therefore, this specification and examples are intended to be considered merely illustrative, and the true scope and spirit are indicated by the claims and the full scope of their equivalents.

[0053] The order of the steps in this application is merely exemplary and not restrictive. The execution order of the steps can be adjusted without affecting the implementation of this application (without disrupting the logical relationship between the required steps), and the various embodiments obtained after the adjustment still fall within the scope of this application.

[0054] The above description is intended to be illustrative and not restrictive. For example, the above examples (or one or more of them) can be used in combination with each other. Other embodiments may be used by those skilled in the art upon reading the above description. Furthermore, in the above detailed description, various features may be grouped together to simplify the application. This should not be construed as an intention that a disclosed feature not claimed is necessary for any claim. Rather, the subject matter of the invention may be less than all the features of a particular disclosed embodiment. Thus, the claims are incorporated herein by reference as examples or embodiments, wherein each claim is an independent, separate embodiment, and these embodiments are contemplated as being able to be combined with each other in various combinations or arrangements. The scope of the invention should be determined by reference to the claims and the full scope of their equivalents.

Claims

1. A control method for the operating mode of a wireless device, characterized in that, The wireless device includes a WiFi module and a Bluetooth module. The operating modes include FDD mode and TDD mode. In FDD mode, the WiFi module and the Bluetooth module operate in frequency division duplex mode. In TDD mode, the WiFi module and the Bluetooth module operate in time division duplex mode. The WiFi module and the Bluetooth module use the same antenna in the same frequency band. The control method includes, every first time interval: The system detects whether the WiFi module is connected to an access point (AP). If the WiFi module is connected to the AP, and both the WiFi module and the Bluetooth module are operating independently on the same frequency band: Obtain the first received signal strength indicator (RSSI) value of the channel being used by the WiFi module; Based on the determination of the first RSSI value, the working mode is set to the corresponding working mode. Specifically, if the first RSSI value is less than the RSSI threshold of the corresponding channel, the working mode is set to the TDD mode. If the first RSSI value is greater than or equal to the RSSI threshold of the corresponding channel, the working mode is set to the FDD mode. When the WiFi module is not connected to the AP, the operating mode is set to the FDD mode.

2. The control method according to claim 1, characterized in that, Obtaining the first received signal strength indicator (RSSI) value of the channel being used by the WiFi module further includes: Obtain multiple RSSI values ​​of the channels used by the WiFi module within the second time interval before the current time, smooth the multiple RSSI values, and use the smoothed RSSI value as the first RSSI value.

3. The control method according to claim 1, characterized in that, The RSSI threshold for each channel is determined based on the performance metrics of the wireless device measured before shipment, when the WiFi module and the Bluetooth module are both operating independently in the same frequency band, and the WiFi module is operating in each channel.

4. The control method according to claim 3, characterized in that, The performance indicators of the wireless device measured before leaving the factory include at least one or a combination of the interference level of the Bluetooth module, the packet error rate of the wireless device, and the antenna reception performance indicators of the wireless device. The RSSI thresholds for each channel are determined based on the performance indicators of the wireless device measured before leaving the factory, specifically including: The first RSSI threshold at which the performance index of the Bluetooth module drops to a first threshold is used as the RSSI threshold for the corresponding channel; or... The second RSSI threshold when the packet error rate of the wireless device drops to the second threshold is used as the RSSI threshold of the corresponding channel; or The third RSSI threshold when the antenna reception performance index of the wireless device drops to the third threshold is used as the RSSI threshold of the corresponding channel; or The weighted average of the first RSSI threshold, the second RSSI threshold, and the third RSSI threshold is used to obtain the RSSI threshold of the corresponding channel.

5. The control method according to claim 4, characterized in that, The weighted average of the first RSSI threshold, the second RSSI threshold, and the third RSSI threshold to obtain the RSSI threshold for the corresponding channel further includes: The weights of the first RSSI threshold, the second RSSI threshold, and the third RSSI threshold are set in relation to the performance requirements of the wireless device for the Bluetooth module.

6. The control method according to claim 1, characterized in that, The first time interval is 1 second.

7. The control method according to claim 1, characterized in that, The control method further includes: In the FDD mode, the wireless device responds immediately to data transmission requests from the WiFi module and the Bluetooth module. In the TDD mode, the wireless device responds to data transmission requests from the WiFi module and the Bluetooth module in a time-division manner.

8. A wireless device, characterized in that, The wireless device includes a WiFi module, a Bluetooth module, and a control unit for controlling the operating modes of the wireless device. The operating modes include FDD mode and TDD mode. In FDD mode, the WiFi module and the Bluetooth module operate in frequency division duplex mode; in TDD mode, the WiFi module and the Bluetooth module operate in time division duplex mode. The WiFi module and the Bluetooth module use the same antenna in the same frequency band. The control unit is configured to perform the steps of the control method for the operating mode of a wireless device as described in any one of claims 1-7.

9. The wireless device according to claim 8, characterized in that, The wireless device further includes a memory configured to store RSSI thresholds for each channel, wherein the RSSI thresholds for each channel are determined based on performance metrics of the wireless device measured when the WiFi module is operating on each channel, assuming that the WiFi module and the Bluetooth module are operating independently before shipment.

10. A non-transitory computer-readable medium having instructions stored thereon, which, when executed by a processor, perform the steps of a control method for an operating mode of a wireless device as claimed in any one of claims 1-7.

Citation Information

Patent Citations

  • Method and apparatus to facilitate support for multi-radio coexistence

    CN103392370A

  • Coexistence operation improvement method and device

    CN113055109A