Channel quality evaluation method, device, equipment and system for true wireless stereo Bluetooth
By obtaining and integrating the channel quality evaluation parameters of TWS Bluetooth headsets multiple times, the channel quality evaluation problem of the device under multiple wireless connection channels is solved, and more accurate channel quality evaluation and more stable data transmission are achieved.
Patent Information
- Application Number
- CN202411727583.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-28
- Publication Date
- 2025-02-28
AI Technical Summary
Because TWS Bluetooth headsets have more wireless connection channels, they are easily interfered by 2.4G authorization-free frequency bands, making channel quality evaluation difficult to accurately evaluate and affect communication stability.
By obtaining the channel quality evaluation parameters of each Bluetooth device multiple times, multiple sets of evaluation parameters of each device are obtained, and the overall evaluation parameters are determined based on the M-group parameters of the time of the closest time, and the quality of each pair of Bluetooth channels is determined to improve the accuracy of channel evaluation.
The comprehensive channel quality evaluation of the multi-wireless connection path of TWS Bluetooth headsets has been realized, which improves the stability of data transmission and communication quality and improves the user experience.
Smart Images

Figure CN119544110A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of wireless communication technology, and in particular to a method, device, equipment and system for evaluating the channel quality of true wireless stereo Bluetooth. Background Art
[0002] Since its launch, Bluetooth devices such as True Wireless Stereo (TWS) Bluetooth headsets have been widely popularized around the world with their convenience of completely getting rid of the constraints of cables, increasingly mature wireless transmission technology, and rich functional experience. Taking Bluetooth headsets as an example, traditional head-mounted or neck-loop Bluetooth headsets usually only contain one wireless receiving channel, and then use wired methods to achieve left and right ear transmission to finally achieve binaural stereo. An important difference between TWS Bluetooth headsets and traditional Bluetooth headsets is that both left and right earphones are wirelessly connected. Therefore, TWS Bluetooth headsets have more wireless connection channels than traditional head-mounted or neck-loop Bluetooth headsets. In recent years, with the popularity of TWS Bluetooth headsets, wireless video surveillance and various IoT devices, the interference problem of the 2.4G unlicensed frequency band has become increasingly prominent. TWS Bluetooth headsets are more easily interfered and cause jamming because they have more wireless connection channels than traditional Bluetooth headsets. The Bluetooth protocol uses adaptive frequency hopping technology to avoid interference, and the key to adaptive frequency hopping performance is to accurately evaluate the channel quality of the wireless receiving channel and select relatively clean channels for communication.
[0003] Since the existing Bluetooth protocol itself does not support TWS mode communication, the current communication of Bluetooth devices such as TWS Bluetooth headsets is a private protocol mode further expanded by various manufacturers based on the Bluetooth standard protocol. At the same time, only one device (such as an earplug) can form a master-slave role with a smart terminal such as a mobile phone and communicate in the standard manner specified by the Bluetooth protocol. In order to optimize the anti-interference performance of Bluetooth devices, the commonly used technical solution for traditional Bluetooth devices is to perform channel quality assessment on the device connected to a smart terminal such as a mobile phone, and then the device sends a channel assessment result table to the smart terminal. The smart terminal determines the final frequency hopping sequence based on the channel quality assessment results on the Bluetooth device side and the channel quality assessment results reported by the Bluetooth device.
[0004] Bluetooth devices such as traditional head-mounted or neck-loop Bluetooth headsets usually only contain one wireless receiving path. Therefore, the above-mentioned technical solution for channel quality assessment of a single Bluetooth device that is only connected to a smart terminal can better assess the channel quality of the wireless connection path between the smart terminal and the Bluetooth device. However, for Bluetooth devices such as TWS Bluetooth headsets, both left and right earplugs use wireless connections and have multiple wireless connection paths. Since the earplugs are located on the left and right sides of the head after being worn, the strength of the interference signals received by the earplugs on both sides may be significantly different. Therefore, the channel quality assessment solution commonly used by traditional Bluetooth devices is difficult to meet the needs of Bluetooth devices such as TWS Bluetooth headsets to improve the performance of interference scenarios. Summary of the invention
[0005] In view of this, the present application provides a channel quality assessment method, apparatus, device and system for true wireless stereo Bluetooth to improve the reliability of the channel quality assessment scheme of TWS Bluetooth devices.
[0006] The present application provides a true wireless stereo Bluetooth channel quality assessment method, comprising the following steps:
[0007] Acquire channel quality assessment parameters of multiple Bluetooth devices multiple times to obtain multiple groups of device assessment parameters corresponding to each of the Bluetooth devices; the channel quality assessment parameters of each Bluetooth device include N parameters, each parameter is used to characterize the signal quality of a pair of Bluetooth channels;
[0008] Determine the overall evaluation parameters of each Bluetooth device according to the M groups of device evaluation parameters acquired most recently by each Bluetooth device; the overall evaluation parameters include N parameters for characterizing the overall quality of Bluetooth channels of the plurality of Bluetooth devices;
[0009] The quality of each pair of Bluetooth channels corresponding to each Bluetooth device is determined according to the overall evaluation parameter.
[0010] Optionally, the channel quality assessment parameter includes a first parameter, a second parameter and a third parameter; the first parameter is used to characterize a good channel, the second parameter is used to characterize an unknown channel, and the third parameter is used to characterize a bad channel.
[0011] Optionally, determining the overall evaluation parameters of the plurality of Bluetooth devices based on the M groups of device evaluation parameters acquired most recently by each of the Bluetooth devices includes: writing each group of the device evaluation parameters in sequence into a row in a data table of M rows and N columns corresponding to each Bluetooth device, wherein the newly written row of data overwrites the original data at a corresponding position in the data table; and determining the overall evaluation parameters corresponding to each pair of Bluetooth channels of each of the Bluetooth devices based on the data in each column recorded in the data table of M rows and N columns.
[0012] Optionally, determining the overall evaluation parameters corresponding to each pair of Bluetooth channels of each Bluetooth device based on the data recorded in each column of the M-row and N-column data table includes: summing up the data recorded in each column of the M-row and N-column data table to obtain the overall evaluation parameters corresponding to each pair of Bluetooth channels.
[0013] Optionally, determining the quality of each pair of Bluetooth channels corresponding to each Bluetooth device according to the overall evaluation parameter includes: sorting each pair of Bluetooth channels in ascending or descending order according to the overall evaluation parameter; marking the first part of the Bluetooth channels with larger values of the overall evaluation parameter with a fourth parameter, marking the second part of the Bluetooth channels with smaller values of the overall evaluation parameter with a fifth parameter, and marking the third part of the Bluetooth channels with middle values of the overall evaluation parameter with a sixth parameter.
[0014] Optionally, determining the quality of each pair of Bluetooth channels corresponding to each Bluetooth device according to the overall evaluation parameter includes: marking each pair of Bluetooth devices whose overall evaluation parameter value is greater than a preset threshold as a seventh parameter, marking each pair of Bluetooth devices whose overall evaluation parameter value is equal to the preset threshold as an eighth parameter, and marking each pair of Bluetooth devices whose overall evaluation parameter value is equal to the preset threshold as a ninth parameter.
[0015] The present application also provides a channel quality assessment device for true wireless stereo Bluetooth, comprising:
[0016] A first acquisition module is used to acquire channel quality evaluation parameters of multiple Bluetooth devices for multiple times, and obtain multiple groups of device evaluation parameters corresponding to each of the Bluetooth devices; the channel quality evaluation parameters of each Bluetooth device include N parameters, each parameter is used to characterize the signal quality of a pair of Bluetooth channels;
[0017] A second acquisition module is used to determine the overall evaluation parameters of the plurality of Bluetooth devices according to the M groups of device evaluation parameters acquired most recently by each of the Bluetooth devices; the overall evaluation parameters include N parameters for characterizing the overall quality of the Bluetooth channels of the plurality of Bluetooth devices;
[0018] The determination module is used to determine the quality of each pair of Bluetooth channels corresponding to each Bluetooth device according to the overall evaluation parameter.
[0019] The present application also provides a true wireless stereo Bluetooth device, which may include: a memory and a processor, wherein a channel quality assessment program for true wireless stereo Bluetooth is stored on the memory, and when the channel quality assessment program for true wireless stereo Bluetooth is executed by the processor, the steps of any one of the above-mentioned channel quality assessment methods are implemented.
[0020] The present application also provides a true wireless stereo Bluetooth system, comprising a first Bluetooth device and a second Bluetooth device;
[0021] The first Bluetooth device is used to send a set of channel quality assessment parameters of the device to the second Bluetooth device multiple times;
[0022] The second Bluetooth device is used to receive each group of channel quality assessment parameters of the first Bluetooth device, and obtain a group of channel quality assessment parameters of the device multiple times to execute any one of the above-mentioned channel quality assessment methods.
[0023] Optionally, the true wireless stereo Bluetooth system also includes a smart terminal.
[0024] Optionally, the intelligent terminal is used to receive a channel quality evaluation result of the first Bluetooth device and the second Bluetooth device as a whole sent by the second Bluetooth device, and determine a frequency hopping sequence to be used according to the channel quality evaluation result.
[0025] Optionally, the smart terminal is used to obtain each group of channel quality assessment parameters corresponding to the first Bluetooth device and the second Bluetooth device respectively, so as to execute any of the above-mentioned channel quality assessment methods, obtain the channel quality results of its own assessment, and determine the adopted frequency hopping sequence according to the received channel quality assessment results and the channel quality results of its own assessment.
[0026] The channel quality assessment method, apparatus, device and system of the true wireless stereo Bluetooth described above in the present application obtains channel quality assessment parameters of each Bluetooth device for multiple times to obtain multiple groups of device assessment parameters corresponding to each Bluetooth device, determines the overall assessment parameters of multiple Bluetooth devices based on the M groups of device assessment parameters acquired most recently by each Bluetooth device, determines the quality of each pair of Bluetooth channels corresponding to each Bluetooth device based on the overall assessment parameters, and determines the channel assessment result based on the quality of each pair of Bluetooth channels corresponding to each Bluetooth device, so that the channel assessment result can more accurately characterize the comprehensive channel quality status of Bluetooth devices with multiple wireless connection paths such as TWS Bluetooth headsets, which is beneficial to improving the stability of data transmission in scenarios where each Bluetooth device is subject to interference of different strengths.
[0027] Furthermore, the present application finally combines and calculates the results of independent channel quality assessments of each Bluetooth device into a channel quality assessment result defined by the Bluetooth protocol standard. The calculation process only requires simple accumulation, comparison and judgment, or sorting operations, which require low resource overhead, and can improve the efficiency of the channel quality assessment results of TWS Bluetooth.
[0028] Furthermore, the present application can also calculate the overall evaluation parameters of the main device and the secondary device by accumulating multiple groups of device evaluation parameters, which has better stability than single or single-side channel quality evaluation and can also meet the needs of multiple wireless connection paths. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0030] Figure 1 This is a schematic diagram of communication between a Bluetooth headset and a mobile phone according to an embodiment of the present application;
[0031] Figure 2 It is a flow chart of a method for evaluating channel quality of true wireless stereo Bluetooth according to an embodiment of the present application;
[0032] Figure 3 is a schematic diagram of a true wireless stereo Bluetooth system according to an embodiment of the present application;
[0033] Figure 4 is a schematic diagram of a true wireless stereo Bluetooth system according to another embodiment of the present application;
[0034] Figure 5 2 is a schematic diagram of a module of a true wireless stereo Bluetooth channel quality assessment device according to an embodiment of the present application. DETAILED DESCRIPTION
[0035] The technical solutions in the embodiments of the present application are clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application. In the absence of conflict, the following embodiments and their technical features can be combined with each other.
[0036] In a first aspect, the present application provides a channel quality assessment method for true wireless stereo Bluetooth, which can be performed by a Bluetooth device such as a Bluetooth headset that sends a channel assessment result table to a smart terminal, wherein the Bluetooth device that sends the channel assessment result table to the smart terminal can be called a master device, and other Bluetooth devices can be called slave devices. Figure 1 As shown, the above-mentioned intelligent terminal may include a mobile phone, and the main device may include an earphone (such as Figure 1As shown in the figure, earphone A1 can serve as the main earphone to receive the channel quality evaluation parameters sent by earphone A2 (also called the auxiliary device or auxiliary earphone) to obtain the device evaluation parameters of earphone A2. Earphone A1 can also send the channel evaluation results representing the overall quality of each pair of Bluetooth channels of multiple Bluetooth devices to the mobile phone, so that the mobile phone determines the frequency hopping sequence to be used according to the channel evaluation results, and performs adaptive frequency hopping communication between earphone A1 and earphone A2.
[0037] refer to Figure 1 As shown, the above-mentioned true wireless stereo Bluetooth channel quality assessment method includes the following steps S110 to S130.
[0038] S110, acquiring channel quality assessment parameters of multiple Bluetooth devices multiple times to obtain multiple groups of device assessment parameters corresponding to each of the Bluetooth devices; the channel quality assessment parameters of each Bluetooth device include N parameters, each parameter is used to characterize the signal quality of a pair of Bluetooth channels.
[0039] The master device and the slave device independently evaluate the channel quality of their respective Bluetooth channels to successively obtain each group of device evaluation parameters of the device. Specifically, each group of device evaluation parameters of each Bluetooth device is synchronized in time, for example, the master device and the slave device simultaneously obtain their own set of device evaluation parameters, and the slave device sends its own set of device evaluation parameters to the master device, so that the master device can obtain the device evaluation parameters corresponding to each Bluetooth device that is synchronized in time. Optionally, each Bluetooth device can obtain each group of device evaluation parameters of the device in sequence according to a preset frequency or a preset clock signal, for example, the master device and the slave device respectively evaluate their own channel quality in each clock cycle to obtain a set of device evaluation parameters of the device; after the slave device obtains a set of device evaluation parameters in a certain clock cycle, it sends the set of device evaluation parameters to the master device, so that the master device obtains a set of device evaluation parameters of the slave device, and at this time, the master device can also obtain its own set of device evaluation parameters in the clock cycle, thereby obtaining a set of device evaluation parameters corresponding to each Bluetooth device in the clock cycle.
[0040] The above-mentioned channel quality assessment parameter is used to characterize the energy strength of a corresponding pair of Bluetooth channels. For example, when the channel quality assessment parameter takes one value, it characterizes that the energy of the corresponding pair of Bluetooth channels is strong, when it takes another value, it characterizes that the energy of the corresponding pair of Bluetooth channels is weak, when it takes other values, it characterizes that the energy of the corresponding pair of Bluetooth channels is unknown, etc. The channel quality assessment parameter of each of the Bluetooth devices includes N parameters, and each parameter is used to characterize the signal quality of a pair of Bluetooth channels. In some examples, there are 79 Bluetooth channels, which are divided into 40 pairs. Every two adjacent Bluetooth channels are a pair of Bluetooth channels, and the last pair of Bluetooth channels includes the 79th Bluetooth channel. At this time, N=40, that is, each group of device evaluation parameters (channel quality assessment parameters) includes 40 parameters, and each parameter is used to characterize the signal quality of a corresponding pair of Bluetooth channels.
[0041] S120, determining overall evaluation parameters of the plurality of Bluetooth devices according to the M groups of device evaluation parameters acquired most recently by each of the Bluetooth devices; the overall evaluation parameters include N parameters for characterizing the overall quality of the Bluetooth channel pairs of the plurality of Bluetooth devices, that is, each overall evaluation parameter is used to describe the comprehensive quality of a pair of Bluetooth channels corresponding to each Bluetooth device, for example, the first overall evaluation parameter is used to describe the comprehensive quality of the first pair of Bluetooth channels of each Bluetooth device, the second overall evaluation parameter is used to describe the comprehensive quality of the second pair of Bluetooth channels of each Bluetooth device, and so on.
[0042] The M most recent groups of device evaluation parameters refer to the device evaluation parameters obtained for each Bluetooth device for the most recent M times, where M may be a natural number greater than or equal to 2, so as to determine the channel parameters that can accurately characterize the overall quality of the Bluetooth channel of each Bluetooth device according to the M groups of device evaluation parameters of each Bluetooth device. Preferably, the value of M is 8, so that the device evaluation parameters obtained for each Bluetooth device for the most recent M times can more accurately characterize the overall evaluation parameters of each Bluetooth device.
[0043] Optionally, the above step S120 can pre-construct a data storage structure for storing multiple groups of device evaluation parameters of each Bluetooth device, and store the corresponding groups of device evaluation parameters in chronological order in the data storage structure corresponding to each Bluetooth device. In this way, the M groups of device evaluation parameters most recent in time for each Bluetooth device can be efficiently and accurately obtained from the above data storage structure.
[0044] S130, determining the quality of each pair of Bluetooth channels corresponding to each of the Bluetooth devices according to the overall evaluation parameters, and determining a channel evaluation result according to the quality of each pair of Bluetooth channels corresponding to the multiple Bluetooth devices, and sending the channel evaluation result to a smart terminal such as a mobile phone, so that the smart terminal can perform adaptive frequency hopping control according to the channel evaluation result, thereby performing adaptive frequency hopping communication with each Bluetooth device respectively.
[0045] The above true wireless stereo Bluetooth channel quality assessment method obtains multiple groups of device evaluation parameters corresponding to each Bluetooth device by repeatedly acquiring channel quality assessment parameters of each Bluetooth device, and determines the overall evaluation parameters of multiple Bluetooth devices according to the M groups of device evaluation parameters acquired most recently by each Bluetooth device, and determines the quality of each pair of Bluetooth channels corresponding to the multiple Bluetooth devices according to the overall evaluation parameters, so as to determine the channel evaluation result according to the quality of each pair of Bluetooth channels corresponding to the multiple Bluetooth devices, so that the channel evaluation result can more accurately characterize the comprehensive channel quality status of Bluetooth devices with multiple wireless connection paths such as TWS Bluetooth headsets and Bluetooth speakers, which is beneficial to improve the accuracy of the channel quality assessment results of TWS Bluetooth devices in scenarios where each Bluetooth device is subject to different strengths of interference (for example, the left and right earphones are subject to different degrees of interference, etc.), thereby improving the communication quality of Bluetooth devices and improving user experience.
[0046] In some embodiments, the channel quality assessment parameter includes a first parameter, a second parameter and / or a third parameter. Optionally, the first parameter, the second parameter and the third parameter may be successively decreased so as to determine the overall assessment parameter based on the sum of the multiple channel quality assessment parameters corresponding to each pair of Bluetooth signals. Optionally, the first parameter, the second parameter and the third parameter may also be set according to other rules, for example, the three are represented by different two-bit binary numbers.
[0047] Specifically, the first parameter is used to characterize a good channel (a pair of channels with good channel quality), the second parameter is used to characterize an unknown channel, and the third parameter is used to characterize a bad channel (a pair of channels with poor channel quality). The three can be represented by relatively simple numerical values (such as represented by two-bit data respectively); optionally, the first parameter can be represented by 1, indicating that the corresponding pair of Bluetooth channels are good channels; the second parameter can be represented by 0, indicating that the quality of the corresponding pair of Bluetooth channels is unknown; the third parameter can be represented by -1, indicating that the corresponding pair of Bluetooth channels are bad channels, so as to facilitate data transmission and calculation and simplify the relevant data calculation process.
[0048] In some examples, determining the overall evaluation parameters of the plurality of Bluetooth devices based on the M groups of device evaluation parameters acquired most recently by the respective Bluetooth devices includes step S121 and step S122.
[0049] S121, writing each group of device evaluation parameters into a row in a data table with M rows and N columns corresponding to each Bluetooth device in sequence, wherein the newly written row of data overwrites the original data at the corresponding position in the data table.
[0050] In the above step S121, an M-row and N-column data table may be set for each Bluetooth device to store the corresponding device evaluation parameters. In the M-row and N-column data table, each column of data corresponds to a device evaluation parameter of a pair of Bluetooth channels of the corresponding Bluetooth device, and each row of data is used to represent a group of device evaluation parameters.
[0051] Specifically, N=40, the M-row and N-column data table of the master device can be recorded as CH_M[0:M-1][0:39], and the M-row and N-column data table of the slave device can be recorded as CH_S[0:M-1][0:39]. Both are M-row data tables, and the device evaluation parameters of each Bluetooth device can be written in sequence in a cyclic overwriting writing manner; specifically, for a set of device evaluation parameters corresponding to each Bluetooth device obtained for the Kth time, the device evaluation parameters can be written into the b+1th row of the corresponding write data table, where b=mod(K, M), K can start counting from 0 or 1, and mod() means taking the remainder, so that each M-row and N-column data table respectively records the M groups of device evaluation parameters acquired most recently by the corresponding Bluetooth device.
[0052] S122, determining the overall evaluation parameters corresponding to each pair of Bluetooth channels of each Bluetooth device according to the data in each column recorded in each of the M-row and N-column data tables.
[0053] Optionally, M takes a value such as 8, so that the M-row and N-column data table has an appropriate length, which can improve the efficiency of determining the overall evaluation parameters while ensuring the accuracy of determining the overall evaluation parameters corresponding to each pair of Bluetooth channels based on each column of data.
[0054] Optionally, the above-mentioned step S122 can determine the overall evaluation parameters of the corresponding Bluetooth channel by denoising and / or filtering the data in each column of each M-row and N-column data table. For example, the device evaluation parameters that are obviously abnormal in each column of each M-row and N-column data table (such as values greater than an upper threshold and / or values less than a lower threshold) are removed, and then the overall evaluation parameters of the current channel parameters of a pair of Bluetooth channels are determined based on the average value of the remaining device evaluation parameters. For example, the maximum and minimum values of the data in each column of each M-row and N-column data table are removed, and then the overall evaluation parameters of the current channel parameters of a pair of Bluetooth channels are determined based on the sum of the remaining device evaluation parameters, and so on.
[0055] In some examples, determining the overall evaluation parameters corresponding to each pair of Bluetooth channels of each Bluetooth device based on the data recorded in each column of the M-row and N-column data table includes: summing the data recorded in each column of the M-row and N-column data table to obtain the overall evaluation parameters corresponding to each pair of Bluetooth channels, wherein the summation result corresponding to each column of data is the overall evaluation parameter corresponding to a pair of Bluetooth channels, for example, adding the data in the first column of each M-row and N-column data table to obtain the overall evaluation parameters of the first pair of Bluetooth channels, adding the data in the second column of each M-row and N-column data table to obtain the overall evaluation parameters of the second pair of Bluetooth channels, ..., adding the data in the Nth column of each M-row and N-column data table to obtain the overall evaluation parameters of the Nth pair of Bluetooth channels.
[0056] Specifically, if the data table of M rows and N columns of the master device is recorded as CH_M[0:M-1][0:39], and the data table of M rows and N columns of the slave device is recorded as CH_S[0:M-1][0:39], the process of calculating the overall evaluation parameter of the i-th pair of channel states includes:
[0057]
[0058] It can also be written as:
[0059] Q_CH[i]=sum(CH_M[0:M-1][i-1])+sum(CH_S[0:M-1][i-1]),
[0060] Where Q_CH[i] represents the overall evaluation parameter of the i-th pair of Bluetooth channels, Indicates the data in row j and column i in the data table of M rows and N columns of the master device. Represents the data in the j-th row and i-th column of the M-row and N-column data table of the slave device, 1≤j≤M, 1≤i≤N, N is the total number of Bluetooth channels, sum(CH_M[0:M-1][i]) means summing up all the M-row data values in the i-th column of the M-row and N-column data table of the master device, sum(CH_S[0:M-1][i-1]) means summing up all the M-row data values in the i-th column of the M-row and N-column data table of the slave device.
[0061] In some embodiments, the quality of each pair of Bluetooth channels corresponding to each Bluetooth device can be characterized by parameters defined in the Bluetooth protocol standard, so that the quality of the Bluetooth channel finally determined can be directly used by the smart terminal. Specifically, the master Bluetooth device can also convert the overall evaluation parameters according to the format defined in the Bluetooth protocol standard to obtain the final Bluetooth channel quality evaluation result, which can also be called a standard channel status table, which can be directly transmitted to the smart terminal for use by the smart terminal.
[0062] In some examples, determining the quality of each pair of Bluetooth channels corresponding to each Bluetooth device based on the overall evaluation parameter includes: sorting each pair of Bluetooth channels in ascending or descending order according to the overall evaluation parameter; marking the first part of the Bluetooth channels with larger values of the overall evaluation parameter with a fourth parameter, marking the second part of the Bluetooth channels with smaller values of the overall evaluation parameter with a fifth parameter, and marking the third part of the Bluetooth channels with middle values of the overall evaluation parameter with a sixth parameter.
[0063] Specifically, the present embodiment can preset the number of pairs of Bluetooth channels in each part, for example, the first part of the Bluetooth channels is N1 pairs, the second part of the Bluetooth channels is N2 pairs, the second part of the Bluetooth channels is N3 pairs, N1+N2+N3=N, so that the present embodiment can mark the N1 pair of Bluetooth channels with the largest overall evaluation parameter value with the fourth parameter, mark the N2 pair of Bluetooth channels with the smallest overall evaluation parameter value with the fifth parameter, and mark the remaining N3 pairs of Bluetooth channels with the sixth parameter, so as to determine the standard channel state table according to the marking results, so that the standard channel state table can more intuitively characterize the channel quality of each pair of Bluetooth channels of multiple Bluetooth devices, and the standard channel state table can also be directly sent to smart terminals such as mobile phones for use by smart terminals. Optionally, the fourth parameter, the fifth parameter and the sixth parameter can be represented by different numbers and / or symbols, for example, the fourth parameter is represented by 1, the fifth parameter is represented by 3, the sixth parameter is represented by 0, and so on.
[0064] In some examples, the quality of each pair of Bluetooth channels corresponding to each Bluetooth device is determined according to the overall evaluation parameter, including: marking each pair of Bluetooth devices whose overall evaluation parameter value is greater than a preset threshold as the seventh parameter, marking each pair of Bluetooth devices whose overall evaluation parameter value is equal to the preset threshold as the eighth parameter, and marking each pair of Bluetooth devices whose overall evaluation parameter value is equal to the preset threshold as the ninth parameter, so as to determine the standard channel state table according to the marking result, so that the standard channel state table can more intuitively characterize the channel quality of each pair of Bluetooth channels of multiple Bluetooth devices, and the standard channel state table can also be directly sent to smart terminals such as mobile phones for use by smart terminals. The preset threshold can be set according to the value characteristics of the first parameter, the second parameter and the third parameter. If the first parameter is represented by 1, the second parameter is represented by 0, and the third parameter is represented by -1, then the preset threshold can be 0.
[0065] Specifically, if the master device reports the channel status table to the smart terminal such as the mobile phone in the format defined by the Bluetooth protocol standard, the overall evaluation parameter Q_CH[0:39] is further calculated and converted to obtain the Bluetooth standard channel status table AFH_CH[0:39]. The status of the 40 pairs of channels defined by the Bluetooth protocol standard can be represented by 1 (the seventh parameter) for a good channel, 0 (the eighth parameter) for an unknown channel, and 3 (the ninth parameter) for a bad channel. At this time, the marking process of the i-th pair of Bluetooth channels includes: when calculating the channel status of the i-th pair (i.e., the final Bluetooth channel quality evaluation result) AFH_CH[i], if the Q_CH[i] value is greater than the preset threshold, the AFH_CH[i] value is equal to 1 to indicate a good channel, if the Q_CH[i] value is equal to the preset threshold, the AFH_CH[i] value is equal to 0 to indicate an unknown channel, and if the Q_CH[i] value is less than the preset threshold, the AFH_CH[i] value is equal to 3 to indicate a bad channel.
[0066] The above-mentioned channel quality assessment method of true wireless stereo Bluetooth obtains the channel quality assessment parameters of each Bluetooth device multiple times to obtain multiple groups of device assessment parameters corresponding to each Bluetooth device, and determines the overall assessment parameters of multiple Bluetooth devices according to the M groups of device assessment parameters obtained by each Bluetooth device at the most recent time, and determines the quality of each pair of Bluetooth channels corresponding to multiple Bluetooth devices according to the overall assessment parameters, so as to determine the channel assessment results according to the quality of each pair of Bluetooth channels corresponding to multiple Bluetooth devices, so that the channel assessment results can more accurately characterize the comprehensive channel quality status of Bluetooth devices with multiple wireless connection paths such as TWS Bluetooth headsets and Bluetooth speakers, which is conducive to improving the accuracy of the channel quality assessment results of TWS Bluetooth devices in scenarios where each Bluetooth device is subject to different interferences of different strengths, thereby improving the communication quality of Bluetooth devices and improving user experience. The results of the independent channel quality assessment of each Bluetooth device are finally merged and calculated to be converted into a channel quality assessment result defined by the Bluetooth protocol standard. The calculation process only has simple accumulation, comparison judgment or sorting operations and other calculation processes with low resource overhead, which can improve the efficiency of the channel quality assessment results of multiple Bluetooth devices. In addition, the above-mentioned channel quality assessment method for multiple Bluetooth devices can also calculate the overall assessment parameters of the main device and the secondary device by accumulating multiple sets of device assessment parameters. Compared with single or unilateral channel quality assessment methods, it has better stability and can also meet the needs of multiple wireless connection channels.
[0067] The second aspect of the present application provides a true wireless stereo Bluetooth system, which can be a Bluetooth headset or a Bluetooth speaker that communicates with a smart terminal such as a mobile phone. Figure 3 As shown, the above-mentioned true wireless stereo Bluetooth system includes a first Bluetooth device and a second Bluetooth device; wherein the first Bluetooth device can be a slave device (such as a slave headset), and the second Bluetooth device can be a master device (such as a master headset).
[0068] The first Bluetooth device is used to send a set of channel quality assessment parameters of the device to the second Bluetooth device multiple times. The second Bluetooth device is used to receive each set of channel quality assessment parameters of the first Bluetooth device, and obtain a set of channel quality assessment parameters of the device multiple times, so as to execute the channel quality assessment method of true wireless stereo Bluetooth described in any of the above embodiments, and obtain the quality of each pair of Bluetooth channels corresponding to multiple Bluetooth devices.
[0069] Specifically, the first Bluetooth device and the second Bluetooth device independently evaluate the channel quality of their respective Bluetooth channels to successively obtain the device evaluation parameters of each group of the device. Specifically, the acquisition process of each group of device evaluation parameters of the first Bluetooth device and the second Bluetooth device is synchronized in time. For example, the first Bluetooth device and the second Bluetooth device simultaneously acquire their own set of device evaluation parameters, and the first Bluetooth device sends its own set of device evaluation parameters to the second Bluetooth device, so that the second Bluetooth device can acquire the device evaluation parameters corresponding to each Bluetooth device that is synchronized in time.
[0070] Optionally, the first Bluetooth device and the second Bluetooth device can respectively obtain each group of device evaluation parameters of the present device in sequence according to a preset frequency or a preset clock signal. For example, the first Bluetooth device and the second Bluetooth device respectively evaluate their own channel qualities in each clock cycle to obtain a group of device evaluation parameters of the present device; after the first Bluetooth device obtains a group of device evaluation parameters in a clock cycle, the first Bluetooth device sends the group of device evaluation parameters to the second Bluetooth device, so that the second Bluetooth device obtains a group of device evaluation parameters of the first Bluetooth device. At this time, the second Bluetooth device can also obtain its own group of device evaluation parameters in the clock cycle, thereby obtaining a group of device evaluation parameters corresponding to the first Bluetooth device and the second Bluetooth device respectively in the clock cycle.
[0071] In some embodiments, reference Figure 4 As shown, the above-mentioned true wireless stereo Bluetooth system also includes a smart terminal, which can include terminal devices such as a mobile phone and / or a tablet computer.
[0072] Optionally, the smart terminal can be used to receive the overall channel quality assessment results of the first Bluetooth device and the second Bluetooth device (such as a standard channel status table, etc.) sent by the second Bluetooth device, and determine the frequency hopping sequence to be used based on the channel quality assessment results to perform adaptive frequency hopping communication with the first Bluetooth device and the second Bluetooth device respectively.
[0073] Optionally, the smart terminal can also be used to obtain each group of channel quality assessment parameters corresponding to the first Bluetooth device and the second Bluetooth device, respectively, to execute the channel quality assessment method described in any of the above embodiments, to obtain the channel quality results of its own assessment, and to determine the frequency hopping sequence to be used based on the received channel quality assessment results and the channel quality results of its own assessment, so as to perform adaptive frequency hopping communication with the first Bluetooth device and the second Bluetooth device, respectively.
[0074] In the above true wireless stereo Bluetooth system, the second Bluetooth device can execute the channel quality assessment method of TWS Bluetooth described in any of the above embodiments, and has all the beneficial effects of the channel quality assessment method of TWS Bluetooth described in any of the above embodiments, which will not be repeated here.
[0075] The third aspect of the present application provides a channel quality assessment device for true wireless stereo Bluetooth, which can be set in a Bluetooth device among multiple Bluetooth devices to send Bluetooth channel quality assessment results to smart terminals such as mobile phones. Figure 5 As shown, the above-mentioned channel quality assessment device includes:
[0076] The first acquisition module 110 is used to obtain channel quality evaluation parameters of multiple Bluetooth devices for multiple times, and obtain multiple groups of device evaluation parameters corresponding to each of the Bluetooth devices; the channel quality evaluation parameters of each Bluetooth device include N parameters, each parameter is used to characterize the signal quality of a pair of Bluetooth channels;
[0077] A second acquisition module 120 is used to determine the overall evaluation parameters of the plurality of Bluetooth devices according to the M groups of device evaluation parameters acquired most recently by each of the Bluetooth devices; the overall evaluation parameters include N parameters for characterizing the overall quality of the Bluetooth channels of the plurality of Bluetooth devices;
[0078] The determination module 130 is configured to determine the quality of each pair of Bluetooth channels corresponding to each Bluetooth device according to the overall evaluation parameter.
[0079] For the specific definition of the channel quality assessment device of true wireless stereo Bluetooth, please refer to the definition of the channel quality assessment method of true wireless stereo Bluetooth above, which will not be repeated here. Each module in the above-mentioned channel quality assessment device of true wireless stereo Bluetooth can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the operation module in the relevant computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the operation module can call and execute the operations corresponding to the above-mentioned units.
[0080] The present application also provides a true wireless stereo Bluetooth device, which may include: a memory and a processor, wherein the memory stores a channel quality assessment program for true wireless stereo Bluetooth, and when the channel quality assessment program for true wireless stereo Bluetooth is executed by the processor, the steps of the channel quality assessment method for true wireless stereo Bluetooth as described in any of the above embodiments are implemented.
[0081] The present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the channel quality assessment method for true wireless stereo Bluetooth as described in any of the above embodiments are implemented.
[0082] Although the present application has been shown and described with respect to one or more implementations, equivalent variations and modifications will occur to those skilled in the art based on reading and understanding of this specification and the accompanying drawings. The present application includes all such modifications and variations and is limited only by the scope of the appended claims. In particular, with respect to the various functions performed by the above-mentioned components, the terms used to describe such components are intended to correspond to any component (unless otherwise indicated) that performs the specified function of the component (e.g., it is functionally equivalent), even if it is not structurally equivalent to the disclosed structure that performs the functions in the exemplary implementation of this specification shown herein.
[0083] That is, the above description is only an embodiment of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the specification and drawings of the present application, such as the mutual combination of technical features between the embodiments, or direct or indirect application in other related technical fields, are also included in the patent protection scope of the present application.
[0084] In addition, in the description of the present application, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more features. In the description of the present application, "plurality" means two or more, unless otherwise clearly and specifically defined.
[0085] In this application, the word "exemplary" is used to mean "used as an example, illustration or description". Any embodiment described as "exemplary" in this application is not necessarily to be construed as being more preferred or more advantageous than other embodiments. In order to enable any technician in the field to implement and use the present application, the present application provides the above description. In the above description, various details are listed for the purpose of explanation. It should be understood that a person of ordinary skill in the art can recognize that the present application can be implemented without using these specific details. In other embodiments, well-known structures and processes will not be elaborated in detail to avoid unnecessary details that make the description of the present application obscure. Therefore, the present application is not intended to be limited to the embodiments shown, but is consistent with the widest range of principles and features disclosed in the present application.
Claims
1. A channel quality assessment method for true wireless stereo Bluetooth, characterized in that: The channel quality assessment method comprises: Acquire channel quality assessment parameters of multiple Bluetooth devices multiple times to obtain multiple groups of device assessment parameters corresponding to each of the Bluetooth devices; the channel quality assessment parameters of each Bluetooth device include N parameters, each parameter is used to characterize the signal quality of a pair of Bluetooth channels; Determine the overall evaluation parameters of each Bluetooth device according to the M groups of device evaluation parameters acquired most recently by each Bluetooth device; the overall evaluation parameters include N parameters for characterizing the overall quality of Bluetooth channels of the plurality of Bluetooth devices; The quality of each pair of Bluetooth channels corresponding to each Bluetooth device is determined according to the overall evaluation parameter.
2. The channel quality assessment method of true wireless stereo Bluetooth according to claim 1, characterized in that: The channel quality assessment parameters include a first parameter, a second parameter and a third parameter; the first parameter is used to characterize a good channel, the second parameter is used to characterize an unknown channel, and the third parameter is used to characterize a bad channel.
3. The channel quality assessment method of true wireless stereo Bluetooth according to claim 2, characterized in that: Determining the overall evaluation parameters of the plurality of Bluetooth devices according to the M groups of device evaluation parameters acquired most recently by the respective Bluetooth devices comprises: Write each group of device evaluation parameters into a row in a data table with M rows and N columns corresponding to each Bluetooth device in sequence, wherein the newly written row of data overwrites the original data at the corresponding position in the data table; The overall evaluation parameters corresponding to each pair of Bluetooth channels of each Bluetooth device are determined according to the data in each column recorded in each of the M-row and N-column data tables.
4. The channel quality assessment method of true wireless stereo Bluetooth according to claim 3, characterized in that: Determining the overall evaluation parameters corresponding to each pair of Bluetooth channels of each Bluetooth device according to each column of data recorded in each of the M rows and N columns of the data table includes: The data in each column recorded in each of the M-row and N-column data tables are summed up to obtain the overall evaluation parameters corresponding to each pair of the Bluetooth channels.
5. The channel quality assessment method of true wireless stereo Bluetooth according to claim 1, characterized in that: Determining the quality of each pair of Bluetooth channels corresponding to each Bluetooth device according to the overall evaluation parameter includes: Sort each pair of the Bluetooth channels in ascending or descending order according to the overall evaluation parameter; The Bluetooth channels in the first part with larger values of the overall evaluation parameter are marked with the fourth parameter, the Bluetooth channels in the second part with smaller values of the overall evaluation parameter are marked with the fifth parameter, and the Bluetooth channels in the third part with middle values of the overall evaluation parameter are marked with the sixth parameter.
6. The channel quality assessment method of true wireless stereo Bluetooth according to claim 1, characterized in that: The determining, according to the overall evaluation parameter, the quality of each pair of Bluetooth channels corresponding to each Bluetooth device comprises: Each pair of Bluetooth devices whose overall evaluation parameter value is greater than a preset threshold is marked as the seventh parameter, each pair of Bluetooth devices whose overall evaluation parameter value is equal to the preset threshold is marked as the eighth parameter, and each pair of Bluetooth devices whose overall evaluation parameter value is equal to the preset threshold is marked as the ninth parameter.
7. A channel quality assessment device for true wireless stereo Bluetooth, characterized in that: include: A first acquisition module is used to acquire channel quality evaluation parameters of multiple Bluetooth devices for multiple times, and obtain multiple groups of device evaluation parameters corresponding to each of the Bluetooth devices; the channel quality evaluation parameters of each Bluetooth device include N parameters, each parameter is used to characterize the signal quality of a pair of Bluetooth channels; A second acquisition module is used to determine the overall evaluation parameters of the plurality of Bluetooth devices according to the M groups of device evaluation parameters acquired most recently by each of the Bluetooth devices; the overall evaluation parameters include N parameters for characterizing the overall quality of the Bluetooth channels of the plurality of Bluetooth devices; The determination module is used to determine the quality of each pair of Bluetooth channels corresponding to each Bluetooth device according to the overall evaluation parameter.
8. A true wireless stereo Bluetooth device, characterized in that: The Bluetooth device may include: a memory and a processor, wherein a channel quality assessment program for true wireless stereo Bluetooth is stored in the memory, and when the channel quality assessment program for true wireless stereo Bluetooth is executed by the processor, the steps of the channel quality assessment method according to any one of claims 1 to 6 are implemented.
9. A true wireless stereo Bluetooth system, characterized in that: including a first Bluetooth device and a second Bluetooth device; The first Bluetooth device is used to send a set of channel quality assessment parameters of the device to the second Bluetooth device multiple times; The second Bluetooth device is used to receive each group of channel quality assessment parameters of the first Bluetooth device, and obtain a group of channel quality assessment parameters of the device multiple times to execute the channel quality assessment method according to any one of claims 1 to 6.
10. The true wireless stereo Bluetooth system according to claim 9, characterized in that: The true wireless stereo Bluetooth system also includes a smart terminal; The smart terminal is used to receive the overall channel quality evaluation result of the first Bluetooth device and the second Bluetooth device sent by the second Bluetooth device, and determine the adopted frequency hopping sequence according to the channel quality evaluation result; Alternatively, the smart terminal is used to obtain each group of channel quality assessment parameters corresponding to the first Bluetooth device and the second Bluetooth device respectively, so as to execute the channel quality assessment method described in any one of claims 1 to 6, obtain the channel quality result of its own assessment, and determine the adopted frequency hopping sequence according to the received channel quality assessment result and the channel quality result of its own assessment.