A method and apparatus for determining a frequency point
By evaluating the channel quality of multiple first frequency points and determining the preparatory working frequency points, the poor channel quality caused by interference in the mid-frequency point of Bluetooth communication is solved, and the effect of ensuring communication quality in an interfering environment is achieved.
Patent Information
- Application Number
- CN202111635903.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-28
- Publication Date
- 2025-06-17
- Estimated Expiration
- 2041-12-28
AI Technical Summary
In the 2.4GHz frequency band, Bluetooth communication faces frequency interference problems, resulting in poor channel quality and unable to ensure communication quality.
By receiving signals and performing channel quality evaluation on multiple first frequency points, a preliminary working frequency point that meets a specific threshold condition is determined to ensure communication quality.
It avoids the concentration of the preparatory working frequency points near the central frequency points, making them relatively dispersed, ensuring that communication quality can be maintained through other frequency points when there is interference in some frequency points.
Smart Images

Figure CN114286323B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technologies, and in particular, to a method and apparatus for determining frequency points. Background Art
[0002] Bluetooth is a radio technology that supports short-distance communication between devices and can perform wireless information exchange among many devices including mobile phones, laptop computers, and related peripherals. Using Bluetooth technology can effectively simplify communication between mobile terminal devices, making data transmission faster and more efficient, and broadening the path for wireless communication.
[0003] Bluetooth wireless communication uses the 2.4 GHz frequency band. However, in addition to Bluetooth, the 2.4 GHz frequency band can also support other wireless protocols, such as Wireless Fidelity (Wi-Fi), Ultra Wide Band (UWB), Zigbee, 2.4 GHz cordless phones, etc. These wireless protocols supported by the 2.4 GHz frequency band will occupy the frequency points available for Bluetooth. To ensure reliable data transmission, Bluetooth has a frequency agility characteristic. The frequency agility characteristic refers to the characteristic of quickly changing the communication frequency in the presence of interference to avoid interference and ensure data transmission.
[0004] Currently, 79 working frequency points are configured for Bluetooth communication. However, there are interference frequency points among the 79 working frequency points, and the channel quality of the channels corresponding to the interference frequency points is very poor, unable to ensure communication quality. Therefore, how to determine the working frequency points that can ensure communication quality has become a technical problem to be solved urgently. Summary of the Invention
[0005] This application discloses a method and apparatus for determining frequency points, which can avoid having the preliminary working frequency points concentrated near the center frequency point, making the preliminary working frequency points relatively dispersed. Thus, in the case where some preliminary working frequency points are interfered, the communication quality can still be ensured through other preliminary working frequency points.
[0006] In a first aspect, an embodiment of this application provides a method for determining frequency points. The method includes: receiving a signal; evaluating the channel quality of a plurality of first frequency points to obtain the evaluation results of the plurality of first frequency points; and determining a plurality of preliminary working frequency points from the plurality of first frequency points according to the evaluation results of the plurality of first frequency points. Wherein, the absolute value of the frequency difference between each first frequency point and the center frequency point of the carrier carrying the signal is less than a first threshold; the plurality of first frequency points include the center frequency point; the evaluation result of each preliminary working frequency point meets a preset condition, and the absolute value of the frequency difference between each preliminary working frequency point and the center frequency point is greater than a second threshold; the second threshold is less than the first threshold.
[0007] In an alternative embodiment, the evaluation result includes a signal quality evaluation value; the foregoing preset condition includes: the signal quality evaluation value of each preliminary working frequency point is greater than a third threshold.
[0008] In an alternative embodiment, the evaluation result includes a signal quality evaluation value; a specific implementation manner of determining a plurality of preliminary working frequency points from the plurality of first frequency points according to the evaluation results of the plurality of first frequency points may be: determining the frequency point types of the plurality of first frequency points according to the evaluation results of the foregoing plurality of first frequency points, where the frequency point types are the first type or the second type; determining a plurality of second frequency points with the frequency point type of the first type from the plurality of first frequency points; and determining a plurality of third frequency points with the signal quality evaluation value greater than the third threshold from the plurality of second frequency points; determining a plurality of preliminary working frequency points with the absolute value of the frequency difference from the foregoing center frequency point greater than a second threshold from the plurality of third frequency points.
[0009] In an alternative embodiment, the frequency point type of a frequency point with a signal quality evaluation value greater than a fourth threshold is the first type, and the frequency point type of a frequency point with a signal quality evaluation value less than or equal to the fourth threshold is the second type; the fourth threshold is less than the third threshold.
[0010] In an alternative embodiment, the method may further include: using the foregoing plurality of preliminary working frequency points as working frequency points for Bluetooth communication.
[0011] In a second aspect, an embodiment of the present application provides a frequency point determination device, and the device includes units for implementing the method described in the first aspect.
[0012] In a third aspect, an embodiment of the present application provides another frequency point determination device, including a processor; the processor is configured to execute the method described in the first aspect.
[0013] In an alternative embodiment, the frequency point determination device may further include a memory; the memory is used to store a computer program; the processor is specifically configured to call the computer program from the memory and execute the method described in the first aspect.
[0014] In a fourth aspect, an embodiment of the present application provides a chip, and the chip is used to execute the method described in the first aspect.
[0015] In a fifth aspect, an embodiment of the present application provides a chip module, and the chip module includes a communication interface and a chip, where: the communication interface is used for internal communication of the chip module or for communication between the chip module and an external device; the chip is used to execute the method described in the first aspect.
[0016] Sixth aspect, an embodiment of the present application provides a computer-readable storage medium storing a computer program, the computer program including program instructions, and the program instructions, when executed by a processor, cause the processor to execute the method as described in the first aspect.
[0017] Seventh aspect, an embodiment of the present application provides a computer program product including a computer program or instructions. When the computer program or instructions run on a computer, the computer is caused to execute the method as described in the first aspect. Description of the Drawings
[0018] Figure 1 is a schematic flowchart of a frequency point determination method provided by an embodiment of the present application;
[0019] Figure 2 is a schematic diagram of a scenario for determining a plurality of first frequency points within the frequency range from 2402 MHz to 2480 MHz provided by an embodiment of the present application;
[0020] Figure 3 is provided by an embodiment of the present application in Figure 2 a schematic diagram of a scenario for determining a plurality of preliminary working frequency points based on the determined plurality of first frequency points;
[0021] Figure 4 is a schematic flowchart of determining a plurality of preliminary working frequency points from the plurality of first frequency points according to the evaluation results of the plurality of first frequency points provided by an embodiment of the present application;
[0022] Figure 5 is a schematic structural diagram of a frequency point determination device provided by an embodiment of the present application;
[0023] Figure 6 is a schematic structural diagram of another frequency point determination device provided by an embodiment of the present application;
[0024] Figure 7 is a schematic structural diagram of a chip module provided by an embodiment of the present application. Detailed Embodiments
[0025] Next, the technical solutions in the embodiments of the present application will be clearly and completely described with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without creative efforts shall fall within the protection scope of the present application.
[0026] The frequency point determination method proposed in the embodiments of this application can be executed by a terminal device. A terminal device is a device with wireless transceiver functions, and can also be referred to as a terminal, user equipment (UE), mobile station (MS), mobile terminal (MT), access terminal device, in-vehicle terminal device, industrial control terminal device, UE unit, UE station, mobile station, remote station, remote terminal device, mobile device, UE terminal device, wireless communication device, UE agent, or UE device, etc. The terminal device can be fixed or mobile. It should be noted that the terminal device can support at least one wireless communication technology, such as long term evolution (LTE), new radio (NR), wideband code division multiple access (WCDMA), etc. Exemplarily, the terminal device can be a mobile phone, tablet (pad), desktop computer, laptop computer, all-in-one computer, in-vehicle terminal, virtual reality (VR) terminal device, augmented reality (AR) terminal device, wireless terminal in industrial control, wireless terminal in self-driving, wireless terminal in remote medical surgery, wireless terminal in smart grid, wireless terminal in transportation safety, wireless terminal in smart city, wireless terminal in smart home, cellular phone, cordless phone, session initiation protocol (SIP) phone, wireless local loop (WLL) station, personal digital assistant (PDA), handheld device with wireless communication functions, computing device, or other processing devices connected to a wireless modem, wearable device, terminal device in a future mobile communication network, or terminal device in a future evolved public land mobile network (PLMN), etc. In some embodiments of this application, the terminal device can also be a device with transceiver functions, such as a chip module. Among them, the chip module can include a chip and can also include other discrete devices. The embodiments of this application do not limit the specific technologies and specific device forms adopted by the terminal device.
[0027] Please refer to Figure 1 , which is a schematic flowchart of a frequency point determination method provided by an embodiment of the present application. As Figure 1 shown, the frequency point determination method may include but is not limited to the following steps:
[0028] S101. Receive a signal.
[0029] The terminal device in the embodiment of the present application has a Bluetooth communication function. When the terminal device receives a signal through Bluetooth, the preliminary operating frequency points can be determined through steps S102 and S103.
[0030] S102. Perform channel quality evaluation on multiple first frequency points to obtain evaluation results of the multiple first frequency points; the absolute value of the frequency difference between each first frequency point and the center frequency point of the carrier carrying the signal is less than a first threshold; the multiple first frequency points include the center frequency point.
[0031] Among them, the fact that the absolute value of the frequency difference between each first frequency point and the center frequency point of the carrier carrying the signal is less than the first threshold may indicate that: the multiple first frequency points include the center frequency point and the frequency points within a range near the center frequency point.
[0032] Bluetooth adopts the dynamic frequency-hopping spread spectrum (FHSS) technology, with 1600 hops per second. Currently, 79 operating frequency points (from 2402 MHz to 2480 MHz) are configured for Bluetooth communication. Refer to Figure 2 , which is a schematic diagram of a scenario for determining multiple first frequency points within the frequency range from 2402 MHz to 2480 MHz. Figure 2 In, A to E represent frequency ranges, and the small black dots represent a frequency point. As Figure 2 shown, the center frequency point of the carrier carrying the signal received in S101 is a frequency point in region C, and 6 frequency points near the center frequency point can also be determined as the first frequency points. It should be noted that Figure 2 in the frequency range from 2402 MHz to 2480 MHz is divided into 5 smaller frequency ranges for illustration, and each frequency range shown by A to E includes 2 frequency points for illustration, not that there are actually only 2 frequency points.
[0033] Optionally, the first threshold may be agreed upon by a protocol; alternatively, the first threshold may be determined by the terminal device itself. Exemplarily, the terminal device determines the first threshold based on one or more of the following: the remaining battery power of the terminal device, the frequency of data transmission using the Bluetooth function by the terminal device, and the evaluation results of multiple frequency points obtained from the previous channel quality assessment by the terminal device. When the remaining battery power of the terminal device is more, the first threshold may be larger; conversely, when the remaining battery power of the terminal device is less, the first threshold may be smaller. When the frequency of data transmission using the Bluetooth function by the terminal device is higher, the first threshold may be larger; conversely, when the frequency of data transmission using the Bluetooth function by the terminal device is lower, the first threshold may be smaller. The evaluation result of a frequency point includes a signal quality evaluation value. When the average value of the signal quality evaluation values of multiple frequency points obtained from the previous channel quality assessment by the terminal device is larger, the first threshold may be smaller; conversely, when the average value is smaller, the first threshold may be larger. The larger the first threshold, the more frequency points are measured in the channel quality assessment, so that a channel with better channel quality can be selected from the channels corresponding to more frequency points for Bluetooth data transmission, thus better ensuring the communication quality. Exemplarily, the first threshold may be 20 MHz.
[0034] Optionally, performing channel quality assessment on multiple first frequency points includes: performing fast Fourier transform calculation on each of the multiple first frequency points; or determining the Received Signal Strength Indication (RSSI) of the channel corresponding to each of the multiple first frequency points. Optionally, the evaluation result of a frequency point may include a signal quality evaluation value. Exemplarily, the evaluation results of multiple first frequency points include the RSSI values of the channels corresponding to each of the first frequency points.
[0035] Optionally, the number of first frequency points may be agreed upon by a protocol. For example, the number of first frequency points is an integer N greater than 1. At this time, the terminal device determines N frequency points among the frequency points whose absolute value of the frequency difference from the aforementioned center frequency point is less than the first threshold as the first frequency points. For example, among the frequency points whose absolute value of the frequency difference from the aforementioned center frequency point is less than the first threshold, N frequency points with a smaller (or larger) absolute value of the frequency difference from the center frequency point are determined as the first frequency points.
[0036] Alternatively, the number N of the first frequency points is determined by the terminal device itself. Exemplarily, the terminal device determines the first threshold according to one or more of the following: the remaining power of the terminal device, the frequency of data transmission using the Bluetooth function by the terminal device, and the evaluation results of multiple frequency points obtained in the previous channel quality assessment of the terminal device. When the remaining power of the terminal device is more, N can be larger; conversely, when the remaining power of the terminal device is less, N can be smaller. When the frequency of data transmission using the Bluetooth function by the terminal device is higher, N can be larger; conversely, when the frequency of data transmission using the Bluetooth function by the terminal device is lower, N can be smaller. The evaluation result of a frequency point includes a signal quality evaluation value. When the average value of the signal quality evaluation values of multiple frequency points obtained in the previous channel quality assessment of the terminal device is larger, N can be smaller; conversely, when the average value is smaller, N can be larger. The larger N is, the more first frequency points are measured in the channel quality assessment, so that a channel with better channel quality can be selected from the channels corresponding to more first frequency points for Bluetooth data transmission, thereby better ensuring the communication quality.
[0037] S103. Determine multiple preliminary working frequency points from the multiple first frequency points according to the evaluation results of the multiple first frequency points; wherein, the evaluation result of each preliminary working frequency point satisfies a preset condition, and the absolute value of the frequency difference between each preliminary working frequency point and the foregoing center frequency point is greater than a second threshold; the second threshold is less than the first threshold.
[0038] 79 working frequency points (from 2402 MHz to 2480 MHz) are configured for Bluetooth communication, but in actual situations, there are interfering frequency points among the 79 working frequency points. In the embodiments of the present application, the working frequency point is a frequency point actually available for Bluetooth communication, and this working frequency point can also be called a hopping frequency point. Optionally, multiple working frequency points actually available for Bluetooth communication can be stored in a working frequency point table, and this working frequency point table can also be called a hopping table (channel map). The hopping table does not include interfering frequency points. The terminal device selects a hopping point in the hopping table for Bluetooth communication, which is beneficial to ensuring the Bluetooth communication quality. In the embodiments of the present application, the preliminary working frequency point is a frequency point actually available for Bluetooth communication prepared in advance for the terminal device when the current hopping table does not meet the usage conditions. That is, when the current hopping table does not meet the usage conditions, the terminal device can replace the frequency points in the current hopping table with the multiple determined preliminary working frequency points; or, when the current hopping table does not meet the usage conditions, the terminal device switches from the current hopping table to the multiple preliminary working frequency points, that is, uses the multiple preliminary working frequency points for Bluetooth communication.
[0039] Among them, the absolute value of the frequency difference between each preliminary working frequency point and the aforementioned center frequency point is greater than a second threshold, and the second threshold is less than the first threshold, which may indicate that the multiple preliminary working frequency points include the frequency points among the multiple first frequency points that are relatively far from the aforementioned center frequency point. The second threshold may be, for example, 10 MHz. In this way, it is possible to avoid the preliminary working frequency points being concentrated near the center frequency point, making the preliminary working frequency points relatively dispersed. Thus, in the case where there is interference in some preliminary working frequency points, the communication quality can still be ensured through other preliminary working frequency points. Refer to Figure 3 , for the scenario schematic diagram of determining multiple preliminary working frequency points based on the multiple first frequency points determined in Figure 2 . As shown in Figure 3 , 4 frequency points that are relatively far from the aforementioned center frequency point among the 7 first frequency points can be determined as preliminary working frequency points. Optionally, the number of preliminary working frequency points can be agreed upon by the protocol. For example, the number of preliminary working frequency points is an integer M greater than 1. The terminal device determines M frequency points that are relatively far from the aforementioned center frequency point among the N first frequency points as preliminary working frequency points.
[0040] The evaluation result may include a signal quality evaluation value, and the preset condition may include: the signal quality evaluation value of each preliminary working frequency point is greater than a third threshold. The third threshold can be agreed upon by the protocol.
[0041] Optionally, refer to Figure 4 , the specific process for the terminal device to determine multiple preliminary working frequency points from the multiple first frequency points according to the evaluation results of the multiple first frequency points may include but is not limited to steps S103a to S103d:
[0042] S103a. According to the evaluation results of the multiple first frequency points, determine the frequency point types of the multiple first frequency points. The frequency point types are the first type or the second type.
[0043] Among them, the frequency point type of the frequency point whose signal quality evaluation value is greater than a fourth threshold may be the first type, and the frequency point type of the frequency point whose signal quality evaluation value is less than or equal to the fourth threshold may be the second type; the fourth threshold is less than the aforementioned third threshold. That is, the channel quality corresponding to the frequency points of the first type is better, and the channel quality corresponding to the frequency points of the second type is worse. The frequency points of the first type may be frequency points that cannot be actually used for Bluetooth communication, and the frequency points of the second type may be frequency points that can be actually used for Bluetooth communication.
[0044] S103b. Determine multiple second frequency points of the first type from the multiple first frequency points.
[0045] The terminal device removes the frequency points of the second type from the multiple first frequency points to obtain the multiple second frequency points.
[0046] S103c. Determine multiple third frequency points from the multiple second frequency points whose signal quality evaluation values are greater than a third threshold.
[0047] The terminal device selects, from the multiple second frequency points, the frequency points whose signal quality evaluation values are greater than the third threshold as the third frequency points, and then determines the preliminary working frequency points from the third frequency points. It can be understood that the signal quality evaluation value of the channel corresponding to the third frequency point is greater than the third threshold. In this way, by using the preset working frequency point for Bluetooth communication, the Bluetooth communication quality can be ensured.
[0048] S103d. Determine multiple preliminary working frequency points from the multiple third frequency points, where the absolute value of the frequency difference between each of the preliminary working frequency points and the aforementioned center frequency point is greater than a second threshold.
[0049] It should be noted that the multiple preliminary working frequency points determined in the embodiments of the present application can be: the frequency points that are prepared in advance for the terminal device and can actually be used for Bluetooth communication when the current hopping table of the terminal device does not meet the usage conditions (Scenario 1); or the frequency points that are prepared in advance for the Bluetooth device and can actually be used for Bluetooth communication when the current hopping table of the Bluetooth device does not meet the usage conditions (Scenario 2). In Scenario 2, the terminal device can be a device associated with the Bluetooth device. Exemplarily, the Bluetooth device is a smart watch, and the terminal device is a mobile phone paired with the smart watch.
[0050] Optionally, in step S103 or step S103d, the terminal device can also use the determined multiple preliminary working frequency points as the working frequency points for Bluetooth communication. Exemplarily, if it is applied to Scenario 2, when the current hopping table does not meet the usage conditions, the terminal device can use the determined multiple preliminary working frequency points as the actual working frequency points for Bluetooth communication. Among them, the current hopping table not meeting the usage conditions can include: the number of frequency points of the first type in the current hopping table is less than a preset value (such as the preset value is equal to the aforementioned M), that is, the number of frequency points that can actually be used for Bluetooth communication in the current hopping table is less than the preset value.
[0051] Optionally, when the terminal device receives a signal via Bluetooth, it can evaluate the channel quality of multiple fourth frequency points; if the average channel quality of more than a preset proportion of the multiple fourth frequency points is less than a preset quality value, the terminal device executes steps S102 - S103 to determine multiple preset operating frequency points. Among them, the absolute value of the frequency difference between each fourth frequency point and the center frequency point of the carrier carrying the signal is less than a fifth threshold, and the fifth threshold is less than the aforementioned first threshold. The fact that the absolute value of the frequency difference between each fourth frequency point and the center frequency point of the carrier carrying the signal is less than the fifth threshold can indicate that the multiple fourth frequency points include the center frequency point and its nearby frequency points, and the center frequency point and its nearby frequency points are interfered. When the center frequency point and its nearby frequency points are interfered, the probability that the current frequency hopping table does not meet the usage conditions is very high. At this time, executing steps S102 - S103 can more timely determine multiple preset operating frequency points, so that when the current frequency hopping table actually does not meet the usage conditions, the preset operating frequency points can be used as the actual operating frequency points for Bluetooth communication, which is beneficial to ensuring the Bluetooth communication quality.
[0052] By implementing the embodiments of the present application, on the one hand, it can be avoided that the preliminary operating frequency points are concentrated near the center frequency point, making the preliminary operating frequency points relatively dispersed. Thus, in the case where some preliminary operating frequency points are interfered, the communication quality can still be ensured through other preliminary operating frequency points. On the other hand, the multiple determined preliminary operating frequency points are all frequency points with good channel quality evaluated through channel quality assessment. In this way, it can be avoided to select unevaluated frequency points for Bluetooth communication in the case where the center frequency point and its nearby frequency points are interfered, which is beneficial to ensuring the Bluetooth communication quality.
[0053] Please refer to Figure 5 , Figure 5 which is a schematic structural diagram of a frequency point determination device provided by the embodiments of the present application. As Figure 5 shown, the frequency point determination device 50 includes a receiving unit 501, a channel quality evaluation unit 502, and a determination unit 503.
[0054] The receiving unit 501 is configured to receive a signal;
[0055] The channel quality evaluation unit 502 is configured to evaluate the channel quality of multiple first frequency points to obtain the evaluation results of the multiple first frequency points; the absolute value of the frequency difference between each first frequency point and the center frequency point of the carrier carrying the signal is less than a first threshold; the multiple first frequency points include the center frequency point;
[0056] A determination unit 503 is configured to determine a plurality of preliminary working frequency points from the plurality of first frequency points according to the evaluation results of the plurality of first frequency points; wherein, the evaluation results of each preliminary working frequency point meet a preset condition, and the absolute value of the frequency difference between each preliminary working frequency point and the center frequency point is greater than a second threshold; the second threshold is less than the first threshold.
[0057] In an alternative embodiment, the evaluation result includes a signal quality evaluation value; the foregoing preset condition includes: the signal quality evaluation value of each preliminary working frequency point is greater than a third threshold.
[0058] In an alternative embodiment, the evaluation result includes a signal quality evaluation value; the determination unit 503 is specifically configured to: determine the frequency point types of the plurality of first frequency points according to the evaluation results of the plurality of first frequency points, where the frequency point types are a first type or a second type; determine a plurality of second frequency points with the frequency point type of the first type from the plurality of first frequency points; and determine a plurality of third frequency points with the signal quality evaluation value greater than the third threshold from the plurality of second frequency points; determine a plurality of preliminary working frequency points with the absolute value of the frequency difference from the foregoing center frequency point greater than the second threshold from the plurality of third frequency points.
[0059] In an alternative embodiment, the frequency point type of a frequency point with a signal quality evaluation value greater than a fourth threshold is the first type, and the frequency point type of a frequency point with a signal quality evaluation value less than or equal to the fourth threshold is the second type; the fourth threshold is less than the third threshold.
[0060] In an alternative embodiment, the determination unit 503 is further configured to use the foregoing plurality of preliminary working frequency points as the working frequency points for Bluetooth communication.
[0061] The frequency point determination device 50 can also be used to implement Figure 1 the functions of the terminal device in the corresponding embodiment, which will not be elaborated here.
[0062] Please refer to Figure 6 , Figure 6 Another frequency point determination device 60 provided by an embodiment of the present application. It can be used to implement the functions of the terminal device in the foregoing method embodiment. The frequency point determination device 60 may include a processor 601 and a transceiver 602. Optionally, the frequency point determination device may further include a memory 603. Wherein, the processor 601, the transceiver 602, and the memory 603 may be connected through a bus 604 or other means. The bus is shown in Figure 6 in thick lines, and the connection manners between other components are only for illustrative purposes and are not limited thereto. The bus can be divided into an address bus, a data bus, a control bus, etc. For the sake of convenience of representation, Figure 6 only one thick line is shown in
[0063] The coupling in the embodiments of the present application is an indirect coupling or communication connection between devices, units or modules, which can be electrical, mechanical or other forms, and is used for information interaction between devices, units or modules. In the embodiments of the present application, the specific connection medium between the above-mentioned processor 601, transceiver 602 and memory 603 is not limited.
[0064] The memory 603 may include a read-only memory and a random access memory, and provide instructions and data to the processor 601. A part of the memory 603 may also include a non-volatile random access memory.
[0065] The processor 601 may be a central processing unit (CPU), and the processor 601 may also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor. Optionally, the processor 601 may also be any conventional processor, etc.
[0066] In one example, when the terminal device adopts Figure 6 the form shown, Figure 6 the processor in
[0067] In an alternative embodiment, the memory 603 is used to store program instructions; the processor 601 is used to call the program instructions stored in the memory 603 for executing Figure 1 the steps performed by the terminal device in the corresponding embodiment. Specifically, Figure 5 the functions / implementation processes of the receiving unit, channel quality assessment unit, and determination unit in the corresponding embodiment can all be implemented by Figure 6 the processor 601 in Figure 5 calling the computer execution instructions stored in the memory 603. Or, Figure 6 the functions / implementation processes of the channel quality assessment unit and determination unit in the corresponding embodiment can be implemented by Figure 5 the processor 601 in Figure 6 calling the computer execution instructions stored in the memory 603, and
[0068] In an embodiment of the present application, the method provided in the present application can be implemented by running a computer program (including program code) capable of executing the steps involved in the above method on a general computing device such as a computer including processing elements and storage elements such as a CPU, a random access memory (RAM), and a read-only memory (ROM). The computer program can be recorded on a computer-readable recording medium, loaded into the above computing device through the computer-readable recording medium, and run therein.
[0069] Based on the same inventive concept, the principle and beneficial effect of the frequency point determination device provided in the embodiment of the present application for solving problems are similar to those of the terminal device in the method embodiment of the present application. The principle and beneficial effect of the method embodiment can be referred to, and will not be elaborated herein.
[0070] The foregoing frequency point determination device (such as frequency point determination device 50, frequency point determination device 60) can be, for example: a chip, or a chip module.
[0071] An embodiment of the present application further provides a chip, which can execute the relevant steps of the terminal device in the foregoing method embodiment.
[0072] The chip is used for:
[0073] Receiving a signal;
[0074] Performing channel quality assessment on a plurality of first frequency points to obtain assessment results of the plurality of first frequency points; the absolute value of the frequency difference between each first frequency point and the center frequency point of the carrier carrying the signal is less than a first threshold; the plurality of first frequency points include the center frequency point;
[0075] Determining a plurality of preliminary working frequency points from the plurality of first frequency points according to the assessment results of the plurality of first frequency points; wherein, the assessment result of each preliminary working frequency point meets a preset condition, and the absolute value of the frequency difference between each preliminary working frequency point and the center frequency point is greater than a second threshold; the second threshold is less than the first threshold.
[0076] In an optional implementation manner, the assessment result includes a signal quality assessment value; the foregoing preset condition includes: the signal quality assessment value of each preliminary working frequency point is greater than a third threshold.
[0077] In an alternative embodiment, the evaluation result includes a signal quality evaluation value; when the chip is used to determine a plurality of preliminary operating frequency points from the plurality of first frequency points according to the evaluation results of the plurality of first frequency points, it is specifically configured to: determine the frequency point types of the plurality of first frequency points according to the evaluation results of the plurality of first frequency points, where the frequency point types are the first type or the second type; determine a plurality of second frequency points with the frequency point type of the first type from the plurality of first frequency points; and determine a plurality of third frequency points with a signal quality evaluation value greater than a third threshold from the plurality of second frequency points; determine a plurality of preliminary operating frequency points from the plurality of third frequency points, where the absolute value of the frequency difference from the aforementioned center frequency point is greater than a second threshold.
[0078] In an alternative embodiment, the frequency point type of a frequency point with a signal quality evaluation value greater than a fourth threshold is the first type, and the frequency point type of a frequency point with a signal quality evaluation value less than or equal to the fourth threshold is the second type; the fourth threshold is less than the third threshold.
[0079] In an alternative embodiment, the chip is further configured to use the aforementioned plurality of preliminary operating frequency points as the operating frequency points for Bluetooth communication.
[0080] Specifically, in this case, the operations performed by the chip can refer to the introduction of the terminal device in the corresponding Figure 1 embodiment above.
[0081] In a possible implementation manner, the aforementioned chip includes at least one processor, at least one first memory, and at least one second memory; wherein, the aforementioned at least one first memory and the aforementioned at least one processor are interconnected by a line, and instructions are stored in the first memory; the aforementioned at least one second memory and the aforementioned at least one processor are interconnected by a line, and the data required to be stored in the method embodiments is stored in the second memory.
[0082] For each device and product applied to or integrated into the chip, each module included therein can all be implemented in a hardware manner such as a circuit, or at least some modules can be implemented in a software program manner, and the software program runs on the processor integrated inside the chip, and the remaining (if any) part of the modules can be implemented in a hardware manner such as a circuit.
[0083] Please refer to Figure 7 , Figure 7 which is a schematic structural diagram of a chip module provided in an embodiment of the present application. The chip module 70 can execute the relevant steps of the terminal device in the aforementioned method embodiments. The chip module 70 includes: a communication interface 701 and a chip 702.
[0084] Among them, the communication interface is used for internal communication within the chip module or for communication between the chip module and external devices; the chip is used to implement the functions of the terminal device in the embodiments of the present application. For details, see Figure 1 the corresponding embodiments. Optionally, the chip module 70 may further include a storage module 703 and a power module 704. The storage module 703 is used to store data and instructions. The power module 704 is used to supply electrical energy to the chip module.
[0085] For each device and product applied to or integrated into the chip module, each module included therein may be implemented in a hardware manner such as a circuit. Different modules may be located in the same component (such as a chip, a circuit module, etc.) or different components of the chip module. Alternatively, at least some modules may be implemented in a software program manner. The software program runs on a processor integrated inside the chip module, and the remaining (if any) part of the modules may be implemented in a hardware manner such as a circuit.
[0086] The embodiments of the present application also provide a computer-readable storage medium. One or more instructions are stored in the computer-readable storage medium, and the one or more instructions are suitable for being loaded and executed by a processor to perform the method provided in the above method embodiments.
[0087] The embodiments of the present application also provide a computer program product including a computer program or instructions. When the computer program or instructions run on a computer, the computer is caused to execute the method provided in the above method embodiments.
[0088] Regarding each device and product described in the above embodiments, each module / unit included therein can be a software module / unit, a hardware module / unit, or can be partially a software module / unit and partially a hardware module / unit. For example, for each device and product applied to or integrated into a chip, each module / unit included therein can be implemented in the form of hardware such as circuits. Alternatively, at least some of the modules / units can be implemented in the form of a software program that runs on a processor integrated inside the chip, and the remaining (if any) part of the modules / units can be implemented in the form of hardware such as circuits. For each device and product applied to or integrated into a chip module, each module / unit included therein can be implemented in the form of hardware such as circuits. Different modules / units can be located in the same component (such as a chip, a circuit module, etc.) or different components of the chip module. Alternatively, at least some of the modules / units can be implemented in the form of a software program that runs on a processor integrated inside the chip module, and the remaining (if any) part of the modules / units can be implemented in the form of hardware such as circuits. For each device and product applied to or integrated into a terminal, each module / unit included therein can be implemented in the form of hardware such as circuits. Different modules / units can be located in the same component (such as a chip, a circuit module, etc.) or different components inside the terminal. Alternatively, at least some of the modules / units can be implemented in the form of a software program that runs on a processor integrated inside the terminal, and the remaining (if any) part of the modules / units can be implemented in the form of hardware such as circuits.
[0089] It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations. However, those skilled in the art should be aware that this application is not limited by the described action sequence, because according to this application, some steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily essential to this application.
[0090] The steps in the method embodiments of this application can be adjusted, combined, and deleted according to actual needs.
[0091] The modules in the device embodiments of this application can be combined, divided, and deleted according to actual needs.
[0092] Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing relevant hardware through a program, and this program can be stored in a computer-readable storage medium. The readable storage medium can include: a flash drive, a ROM, a RAM, a magnetic disk, or an optical disc, etc.
[0093] The above-disclosed is only a preferred embodiment of the present application, and only a part of the embodiments of the present application. It cannot be used to limit the scope of rights of the present application.
Claims
1. A method for determining a frequency point, characterized in that, The method includes: Receiving a signal; Performing channel quality assessment on multiple fourth frequency points; In response to the average channel quality of more than a preset proportion of the fourth frequency points being less than a preset quality value, performing channel quality assessment on multiple first frequency points to obtain the assessment results of the multiple first frequency points; the absolute value of the frequency difference between each fourth frequency point and the center frequency point of the carrier carrying the signal is less than a fifth threshold, and the absolute value of the frequency difference between each first frequency point and the center frequency point of the carrier carrying the signal is less than a first threshold, and the fifth threshold is less than the first threshold; the multiple first frequency points include the center frequency point; Determining multiple preliminary working frequency points from the multiple first frequency points according to the assessment results of the multiple first frequency points; wherein, the assessment result of each preliminary working frequency point satisfies a preset condition, and the absolute value of the frequency difference between each preliminary working frequency point and the center frequency point is greater than a second threshold; the second threshold is less than the first threshold.
2. The method according to claim 1, characterized in that, The assessment result includes a signal quality assessment value; the preset condition includes: the signal quality assessment value of each preliminary working frequency point is greater than a third threshold.
3. The method according to claim 1 or 2, characterized in that, The assessment result includes a signal quality assessment value; The determining multiple preliminary working frequency points from the multiple first frequency points according to the assessment results of the multiple first frequency points includes: Determining the frequency point types of the multiple first frequency points according to the assessment results of the multiple first frequency points, and the frequency point types are the first type or the second type; Determining multiple second frequency points with the frequency point type of the first type from the multiple first frequency points; Determining multiple third frequency points with a signal quality assessment value greater than a third threshold from the multiple second frequency points; Determining multiple preliminary working frequency points with an absolute value of the frequency difference from the center frequency point greater than a second threshold from the multiple third frequency points.
4. The method according to claim 3, characterized in that, The frequency point type of a frequency point with a signal quality assessment value greater than a fourth threshold is the first type, and the frequency point type of a frequency point with a signal quality assessment value less than or equal to the fourth threshold is the second type; The fourth threshold is less than the third threshold.
5. The method according to any one of claims 1 to 4, characterized in that, The method further includes: Using the multiple preliminary working frequency points as the working frequency points for Bluetooth communication.
6. A device for determining a frequency point, characterized in that, Including a receiving unit, a channel quality assessment unit, and a determining unit; The receiving unit is configured to receive a signal; The channel quality assessment unit is configured to perform channel quality assessment on multiple fourth frequency points; In response to the average channel quality of more than a preset proportion of the fourth frequency points being less than a preset quality value, performing channel quality assessment on multiple first frequency points to obtain the assessment results of the multiple first frequency points; the absolute value of the frequency difference between each fourth frequency point and the center frequency point of the carrier carrying the signal is less than a fifth threshold, and the absolute value of the frequency difference between each first frequency point and the center frequency point of the carrier carrying the signal is less than a first threshold, and the fifth threshold is less than the first threshold; the multiple first frequency points include the center frequency point; The determining unit is configured to determine a plurality of preliminary working frequency points from the plurality of first frequency points according to the evaluation results of the plurality of first frequency points; wherein, the evaluation result of each preliminary working frequency point meets a preset condition, and the absolute value of the frequency difference between each preliminary working frequency point and the center frequency point is greater than a second threshold; The second threshold is less than the first threshold.
7. The device according to claim 6, characterized in that, The evaluation result includes a signal quality evaluation value; the preset condition includes: the signal quality evaluation value of each preliminary working frequency point is greater than a third threshold.
8. The device according to claim 6 or 7, characterized in that, The evaluation result includes a signal quality evaluation value; The determining unit is specifically configured to: determine the frequency point types of the plurality of first frequency points according to the evaluation results of the plurality of first frequency points, where the frequency point types are the first type or the second type; determine a plurality of second frequency points of the first type from the plurality of first frequency points; and determine a plurality of third frequency points with signal quality evaluation values greater than a third threshold from the plurality of second frequency points; Determine a plurality of preliminary working frequency points from the plurality of third frequency points, where the absolute value of the frequency difference between each of the plurality of preliminary working frequency points and the center frequency point is greater than a second threshold.
9. The device according to claim 8, characterized in that, The frequency point type of a frequency point with a signal quality evaluation value greater than a fourth threshold is the first type, and the frequency point type of a frequency point with a signal quality evaluation value less than or equal to the fourth threshold is the second type; The fourth threshold is less than the third threshold.
10. The device according to any one of claims 6 to 9, characterized in that, The determining unit is further configured to use the plurality of preliminary working frequency points as the working frequency points for Bluetooth communication.
11. A device for determining a frequency point, characterized in that, Including a processor; The processor is configured to execute the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Method and device for selecting frequency point of bluetooth device
CN106856588A
Judgment method and device of AFH interference frequency point, computer readable storage medium, receiver
CN108810923A