Method, System, Electronic Device and Storage Medium for Controlling Calls of TWS Headphones

The TWS earphone method corrects CRC-failed packets by combining data from both earpieces, improving call quality by recovering usable data through dual-earpiece collaboration.

CN115052220BActive Publication Date: 2025-07-15ZHUHAI HUILIAN TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210620473.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-02
Publication Date
2025-07-15
Estimated Expiration
2042-06-02

AI Technical Summary

Technical Problem

During TWS headset calls, in the prior art, when both the main headset and the secondary headset do not receive data packets correctly, packet loss compensation is usually performed, resulting in a degradation of call quality.

Method used

Through data comparison between the main headset and the secondary headset, abnormal data is identified, and the independent reception of the dual headset is used to recover data and secondary CRC verification to correct wrong data packets.

Benefits of technology

The call quality of TWS headsets has been improved, and the characteristics of independent data reception of dual headsets have been fully utilized, which has achieved the advantages of diversified reception, and has recovered some of the data packets that have been received incorrectly.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115052220B_ABST
    Figure CN115052220B_ABST
Patent Text Reader

Abstract

The technical solution of the present invention provides a method, system, electronic device and storage medium for call control of TWS earphones. The method includes: the main earphone receives the first audio data, and the secondary earphone receives the second audio data; if both the first audio data and the second audio data are damaged, the secondary earphone sends the second audio data to the main earphone; the main earphone compares the first audio data and the second audio data to obtain the abnormal data of the first audio data and the abnormal data of the second audio data; the main earphone updates the first audio data to obtain the third audio data according to the abnormal data of the first audio data and the abnormal data of the second audio data, or updates the second audio data to obtain the third audio data according to the abnormal data of the first audio data and the abnormal data of the second audio data; if the main earphone successfully verifies the third audio data, the main earphone sends the third audio data to the secondary earphone. Adopting this technical solution can improve the call quality of TWS earphones.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of TWS earphones, and particularly to a method, a system, an electronic device and a storage medium for controlling calls of TWS earphones. Background Art

[0002] With the development of true wireless stereo (TWS) technology and its application in the field of Bluetooth earphones, TWS earphones have emerged. Generally, the normal call process of Bluetooth earphones is as follows: The intelligent communication device sends Bluetooth call data packets to the Bluetooth earphone; the Bluetooth earphone receives the call data packets in the receiving window and the retransmission window; if the Bluetooth earphone does not receive the data packet in this window, or the received data packet has a CRC check error, then packet loss and packet loss compensation processing are performed.

[0003] For the TWS scenario, the connection method of TWS earphones is that the intelligent communication device first connects to the main earphone, and then the main earphone quickly connects to the sub - earphone wirelessly; after the intelligent communication device sends the call data packet, both earphones will receive it. If either earphone between the two earphones receives the correct call data packet, it is considered that the data packet is correctly received. However, if neither earphone receives it or both call data packets have CRC check errors, it is considered that the data packet reception fails, that is, packet loss compensation is required, and performing packet loss compensation will reduce the call quality. Summary of the Invention

[0004] The following is an overview of the subject matter described in detail herein. This overview is not intended to limit the scope of protection of the claims.

[0005] Embodiments of the present invention provide a method, a system, an electronic device and a storage medium for controlling calls of TWS earphones, which can reduce packet loss compensation and improve the call quality of TWS earphones.

[0006] In a first aspect, embodiments of the present invention provide a method for controlling calls of TWS earphones. The TWS earphones include a main earphone and a sub - earphone, and the method includes:

[0007] The main earphone receives first audio data, and the sub - earphone receives second audio data;

[0008] If both the first audio data and the second audio data are damaged, the sub - earphone sends the second audio data to the main earphone;

[0009] The main earphone compares the first audio data and the second audio data to obtain abnormal data of the first audio data and abnormal data of the second audio data;

[0010] The master earphone updates the first audio data to obtain third audio data according to the abnormal data of the first audio data and the abnormal data of the second audio data, or updates the second audio data to obtain the third audio data according to the abnormal data of the first audio data and the abnormal data of the second audio data;

[0011] If the master earphone successfully verifies the third audio data, the master earphone sends the third audio data to the slave earphone.

[0012] In a second aspect, an embodiment of the present invention provides a system for controlling a TWS earphone call, including:

[0013] A first processing module, configured to receive first audio data by the master earphone and receive second audio data by the slave earphone;

[0014] A second processing module, configured to, if both the first audio data and the second audio data are damaged, the slave earphone sends the second audio data to the master earphone;

[0015] A third processing module, configured to compare the first audio data with the second audio data by the master earphone to obtain the abnormal data of the first audio data and the abnormal data of the second audio data;

[0016] A fourth processing module, configured to update the first audio data to obtain third audio data by the master earphone according to the abnormal data of the first audio data and the abnormal data of the second audio data, or update the second audio data to obtain the third audio data according to the abnormal data of the first audio data and the abnormal data of the second audio data

[0017] A fifth processing module, configured to, if the master earphone successfully verifies the third audio data, the master earphone sends the third audio data to the slave earphone.

[0018] In a third aspect, an embodiment of the present invention provides an electronic device, the electronic device includes a processor, a memory, and one or more programs, the one or more programs are stored in the memory and are configured to be executed by the processor, and the program is executed by the processor to implement the method for controlling a TWS earphone call in the first aspect above.

[0019] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, characterized in that it stores program instructions executable by a processor, and the program instructions are used to execute the method for controlling a TWS earphone call in the first aspect above.

[0020] The embodiments of the present invention have at least the following beneficial effects: In the TWS call scenario, for the binaural data packets that both fail in CRC check, instead of directly discarding them, useful data is restored through the cooperation of binaural data, enhancing the call quality. Since the data reception processes of the master earphone and the slave earphone are independent, the bit positions where the received error data is located may be different. By finding the different data received by the master earphone and the slave earphone, all possible combinations of these data are brought into the original data for secondary CRC check, and the correct data packet is restored, correcting some of the received error data packets, thereby improving the call quality and making full use of the characteristic that the two earphones of TWS independently receive data, achieving the advantage of diversity reception bit by bit. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 It is a flowchart of a method for controlling TWS earphone calls in an embodiment of the present invention.

[0022] Figure 2 It is a schematic diagram of a system for controlling TWS earphone calls in an embodiment of the present invention.

[0023] Figure 3 It is a structural diagram of an electronic device in an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0024] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0025] It should be understood that if the orientation descriptions are involved in the specification, claims and the above-mentioned drawings, such as the orientation or positional relationships indicated by up, down, front, back, left, right, etc. are based on the orientation or positional relationships shown in the drawings, which are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation to the present invention.

[0026] It should be noted that the meaning of at least one is one or more, the meaning of multiple is two or more, understandings such as greater than, less than, exceeding, etc. do not include the present number, and understandings such as above, below, within, etc. include the present number. If the first and second are described only for the purpose of distinguishing technical features, they cannot be understood as indicating or implying relative importance or implicitly indicating the quantity of the indicated technical features or implicitly indicating the sequence relationship of the indicated technical features.

[0027] Term Explanation:

[0028] TWS earphones: The full name of TWS is True Wireless Stereo, which means true wireless stereo. The TWS technology is developed based on Bluetooth chip technology. Its working principle is that the mobile phone connects to the main earphone, and then the main earphone quickly connects to the secondary earphone wirelessly, realizing the true wireless separation and use of the left and right Bluetooth channels.

[0029] Refer to Figure 1 , which is a flowchart of a method for controlling a TWS earphone call provided by an embodiment of the present invention, including but not limited to the following steps:

[0030] Step S100: The main earphone receives the first audio data, and the secondary earphone receives the second audio data.

[0031] Among them, the first audio data and the second audio data can be call data packets sent by the mobile phone, or other types of audio data sent by other electronic devices supporting Bluetooth communication technology. Taking the mobile phone as an example, the process of its communication with the TWS earphone is as follows: The mobile phone connects to the main earphone through a wireless connection method, sends the first data packet to the main earphone, and then the main earphone connects to the secondary earphone wirelessly and sends the first data packet sent by the mobile phone to the secondary earphone. Thus, the second audio data received by the secondary earphone is the first audio data forwarded by the main earphone.

[0032] Step S200: If both the first audio data and the second audio data are damaged, the secondary earphone sends the second audio data to the main earphone.

[0033] Among them, as receiving devices, both the main earphone and the secondary earphone need to check the received first audio data or second audio data. For example, cyclic redundancy check, that is, CRC check, is a data transmission error detection function. It calculates a polynomial for the data and attaches the obtained result to the back of the frame. The receiving device also executes a similar algorithm to ensure the correctness and integrity of data transmission; for the TWS scenario, taking the mobile phone as an example, after the mobile phone sends a data call packet, both the main earphone and the secondary earphone will receive it. If at least one of the two earphones receives the correct data packet, it is considered that the data packet is received correctly because the earphone that receives the correct data packet can forward the correct data packet to the other earphone. However, if both earphones do not receive it or an error occurs during the CRC check, it is considered that the data packet reception fails. Usually, the packet will be directly discarded and retransmitted at an appropriate time. However, in this embodiment, in the face of the situation where the data received by both ears is incorrect, it is not necessary to immediately perform packet loss compensation. Instead, the secondary earphone can send the second audio data to the main earphone, and the main earphone combines the first audio data and the second audio data to correct the incorrect data under appropriate circumstances.

[0034] Step S300: The master earphone compares the first audio data and the second audio data to obtain the abnormal data of the first audio data and the abnormal data of the second audio data.

[0035] Among them, when the data packet is correctly received, the first audio data received by the master earphone is exactly the same as the second audio data received by the slave earphone. Therefore, when the CRC checks of both audio data fail, after the master earphone receives the second audio data sent by the slave earphone, by comparing the first audio data and the second audio data, the abnormal data can be found, that is, the data that should be the same but is different in the two audio data, as well as the positions where these abnormal data appear. The abnormal data received by the master earphone is the abnormal data of the first audio data, and the abnormal data received by the slave earphone is the abnormal data of the second audio data.

[0036] Further, step S300 may include but is not limited to the following steps:

[0037] Step S301: If it is recognized that the first data existing in the first audio data is different from the second data existing in the second audio data, and the position of the first data in the first audio data is the same as the position of the second data in the second audio data, then the first data is recognized as the abnormal data of the first audio data, and the second data is recognized as the abnormal data of the second audio data.

[0038] Specifically, compare the first audio data and the second audio data bit by bit. If the data received by the master earphone and the slave earphone at a certain bit is different, that is, the first data at this bit in the first audio data is different from the second data at this bit in the second audio data, then the first data and the second data are extracted and used as the abnormal data of the first audio data and the abnormal data of the second audio data respectively, and the positions of these abnormal data in their respective audio data are obtained.

[0039] As an example, as shown in Table 1 below, the data in the first row is the original audio data sent by the mobile phone, where the last a9 and 25 are CRC check data. The data in the second row is the audio data received by the master earphone, that is, the first audio data, where e1 is misreceived as e0. The data in the third row is the audio data received by the slave earphone, that is, the second audio data, where 02 is misreceived as 00. By comparing the first audio data and the second audio data, it can be found that there are two bits where different data appears. At the first bit, the data received by the first audio data is 02, while the data received by the second audio data at this bit is 00. At the second bit, the data received by the first audio data is e0, while the data received by the second audio data at this bit is e1. Therefore, in this example, 02 and e0 are the abnormal data of the first audio data, and 00 and e1 are the abnormal data of the second audio data.

[0040] Table 1

[0041] 08 00 04 02 03ef 09e1 05 3b 8d 70……11 3e 55 78a9 25 08 00 04 02 03ef 09e0 05 3b 8d 70……11 3e 55 78a9 25 08 00 04 00 03ef 09e1 05 3b 8d 70……11 3e 55 78a9 25

[0042] Step S400: The master earphone updates the first audio data to obtain third audio data according to the abnormal data of the first audio data and the abnormal data of the second audio data, or updates the second audio data to obtain third audio data according to the abnormal data of the first audio data and the abnormal data of the second audio data.

[0043] Among them, after the master earphone finds the abnormal data in the first audio data and the second audio data by comparing the data of both ears, it can recover the original audio received according to the abnormal data. Since the receiving processes of the master earphone and the slave earphone are independent, the wrong bit positions of the received data may be different, which means that for the abnormal data of the same bit position, it is possible that one of the abnormal data is the correct data while the other is the wrong data. Therefore, these two abnormal data can be respectively substituted into the original audio data, that is, the first audio data or the second audio data, to obtain two pieces of third audio data, and then the third audio data is subjected to secondary verification. According to the verification results of these two pieces of third audio data, the correct data among these two abnormal data is found. However, if the bit positions where the master earphone and the slave earphone receive wrong data are the same, that is, the data of the first audio data and the second audio data at the same bit position are both wrong data, then the original data cannot be restored by exchanging the abnormal data, and a packet loss compensation operation needs to be performed subsequently.

[0044] Furthermore, step S400 may include but is not limited to the following steps:

[0045] Step S401: Recombine the abnormal data of the first audio data and the abnormal data of the second audio data to obtain fourth audio data.

[0046] Furthermore, step S401 may include but is not limited to the following steps:

[0047] Step S4011: If the position of the abnormal data of the first audio data in the first audio data is the same as the position of the abnormal data of the second audio data in the second audio data, select the abnormal data of the first audio data or the abnormal data of the second audio data as the data in the fourth audio data.

[0048] Specifically, abnormal data can be obtained through the above steps of comparing the audio data received by the main earphone and the sub-earphone. However, the abnormal data can only represent the differential data between the first audio data and the second audio data, and does not clearly indicate the data where the error occurs. Therefore, it is necessary to recombine the abnormal data of the first audio data and the abnormal data of the second audio data to obtain the fourth audio data. For each bit, select the abnormal data of the first audio data or the abnormal data of the second audio data as the candidate data that may be correct. Since there may be more than one bit where abnormal data appears, there may be more than one type of fourth audio data after recombination.

[0049] As an example, by comparing the first audio data and the second audio data in Table 1 above, the abnormal data 02 and e0 of the first audio data, and the abnormal data 00 and e1 of the second audio data are obtained. Among them, at the first bit, the abnormal data of the first audio data is 02, and the abnormal data of the second audio data is 00. At the second bit, the abnormal data of the first audio data is e0, and the abnormal data of the second audio data is e1. Based on this abnormal data, as shown in Table 2 below, two types of fourth audio data can be listed: First: Assume that 02 in the first audio data is correct and e0 is wrong. Therefore, select 02 as the candidate data at the first bit, and then select e1 in the second audio data as the candidate data at the second bit, thus obtaining the first row of data in Table 2 below; Second: Assume that 02 in the first audio data is wrong and e0 is correct. Therefore, select 00 in the second audio data as the candidate data at the first bit, and then select e0 in the first audio data as the candidate data at the second bit, thus obtaining the second row of data in Table 2 below. It should be noted that the number of combinations of the fourth audio data depends on how many abnormalities occur in the first audio data and the second audio data. The more abnormal data exists, the more combined data can be recombined.

[0050] Table 2

[0051] 02e1 00e0

[0052] Step S402: Replace the abnormal data of the first audio data with the fourth audio data to obtain the third audio data, or replace the abnormal data of the second audio data with the fourth audio data to obtain the third audio data.

[0053] Specifically, after obtaining several fourth audio data after recombining the abnormal data, according to the bit where the abnormal data is located, the data in the fourth audio data is replaced bit by bit with the abnormal data in the original data, thereby obtaining the third audio data. Since the data finally verified successfully by the main earphone and the sub-earphone is the same, either the first audio data or the second audio data can be selected to replace the abnormal data.

[0054] As an example, after replacing the first audio data or the second audio data with the fourth audio data in Table 2 above, the third audio data as shown in Table 3 below can be obtained.

[0055] Table 3

[0056] 08 00 04 02 03ef 09e1 05 3b 8d 70……11 3e 55 78a9 25 08 00 04 00 03ef 09e0 05 3b 8d 70……11 3e 55 78a9 25

[0057] Step S500: If the master earphone successfully verifies the third audio data, the master earphone sends the third audio data to the slave earphone.

[0058] Among them, after obtaining the third audio data through the above steps, it is necessary to verify each item of the third audio data one by one. After finding the third audio data with successful verification, the master earphone sends the third audio data to the slave earphone.

[0059] Furthermore, step S500 may include but is not limited to the following steps:

[0060] Step S501: Traverse the third audio data and perform CRC verification on each item of the third audio data one by one. If the verification is successful, the master earphone sends the third audio data to the slave earphone.

[0061] As an example, perform CRC verification on each row of data in Table 3 above. Through the verification, the first row of data that passes the CRC verification can be found and considered as the correct mobile phone transmission data, and the master earphone sends it to the slave earphone.

[0062] Through this method, the data received incorrectly by both the left and right ears is restored.

[0063] A method for controlling a TWS headphone call provided by an embodiment of the present invention may further include but is not limited to the following steps:

[0064] Step S600: If the verification of all the third audio data fails, both the master earphone and the slave earphone determine that the received data fails.

[0065] Specifically, if the data with successful CRC verification is found, it is considered that the data is the correct received data; if the third audio data with successful CRC verification cannot be found after traversing all combinations, it is determined that the data received by the master earphone and the slave earphone fails.

[0066] The embodiments of the present invention at least include the following beneficial effects: In the TWS call scenario, for the binaural data packets that both fail in CRC verification, instead of directly discarding them, useful data is restored through the cooperation of binaural data, thereby enhancing the call quality; Since the data reception processes of the master earphone and the slave earphone are independent, the bit positions where the received error data is located may be different. By finding the different data received by the master earphone and the slave earphone, all possible combinations of these data are brought into the original data, and secondary CRC verification is performed accordingly, and the correct data packets are restored, and some of the received error data packets are corrected, which can improve the call quality and can make full use of the characteristic that the two earphones of TWS receive data independently, and achieve the advantage of diversity reception bit by bit.

[0067] Step S700: If the verification of the third audio data is successful, the master earphone reports the third audio data.

[0068] Referring to Figure 2 , the embodiments of the present invention provide a schematic diagram of a TWS earphone call control system, including but not limited to:

[0069] The first processing module 201 is configured to receive the first audio data by the master earphone and receive the second audio data by the slave earphone;

[0070] The second processing module 202 is configured to, if both the first audio data and the second audio data are damaged, the slave earphone sends the second audio data to the master earphone;

[0071] The third processing module 203 is configured to compare the first audio data and the second audio data by the master earphone to obtain the abnormal data of the first audio data and the abnormal data of the second audio data;

[0072] The fourth processing module 204 is configured to update the first audio data to obtain the third audio data according to the abnormal data of the first audio data and the abnormal data of the second audio data, or update the second audio data to obtain the third audio data according to the abnormal data of the first audio data and the abnormal data of the second audio data;

[0073] The fifth processing module 205 is configured to, if the verification of the third audio data by the master earphone is successful, the master earphone sends the third audio data to the slave earphone.

[0074] The embodiments of the present invention provide an electronic device, as Figure 3 shown, the electronic device includes a memory 301 and a processor 302; the memory 301 is used for storing one or more computer programs; the processor 302 is configured to, when executing the programs stored on the memory 301, implement the method for TWS earphone call control provided by the embodiments of the present invention.

[0075] An embodiment of the present invention provides a computer-readable storage medium, in which instructions are stored. When the instructions run on a computer, the computer is caused to execute the method for controlling calls of TWS earphones provided by the embodiment of the present invention.

[0076] In the above embodiment, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present invention are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website, computer, server, or data center to another website, computer, server, or data center by wire (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wirelessly (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more integrated available media. The available medium can be a magnetic medium (such as a floppy disk, hard disk, magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid state disk (SSD)).

[0077] It should be noted that in this document, the terms "include", "comprise", or any other variation thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or device that includes a series of elements includes not only those elements but also other elements not explicitly listed, or also includes elements inherent to such process, method, article, or device. Without further limitation, an element defined by the statement "including one..." does not exclude the existence of additional identical elements in the process, method, article, or device that includes the element.

[0078] Each embodiment in this specification is described in a related manner. The same or similar parts among the embodiments can be referred to each other, and the differences between each embodiment and other embodiments are emphasized. In particular, for the embodiments of the electronic device and the computer-readable storage medium, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.

[0079] The above are only the preferred embodiments of the present invention and are not intended to limit the protection scope of the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention are all included in the protection scope of the present invention.

Claims

1. A method for call control of TWS earphones, the TWS earphones comprising a main earphone and a sub-earphone, characterized in that, Including: The main earphone receives first audio data, and the sub-earphone receives second audio data; If both the first audio data and the second audio data are damaged, the sub-earphone sends the second audio data to the main earphone; The main earphone compares the first audio data and the second audio data to obtain abnormal data of the first audio data and abnormal data of the second audio data; The main earphone updates the first audio data to obtain third audio data according to the abnormal data of the first audio data and the abnormal data of the second audio data, or updates the second audio data to obtain the third audio data according to the abnormal data of the first audio data and the abnormal data of the second audio data; If the main earphone successfully verifies the third audio data, the main earphone sends the third audio data to the sub-earphone.

2. The method for call control of TWS earphones according to claim 1, wherein, The main earphone compares the first audio data and the second audio data to obtain abnormal data of the first audio data and abnormal data of the second audio data, including: If it is recognized that the first data existing in the first audio data is different from the second data existing in the second audio data, and the position of the first data in the first audio data is the same as the position of the second data in the second audio data, the first data is recognized as the abnormal data of the first audio data, and the second data is recognized as the abnormal data of the second audio data.

3. The method for call control of TWS earphones according to claim 1, wherein The main earphone updates the first audio data to obtain third audio data according to the abnormal data of the first audio data and the abnormal data of the second audio data, or updates the second audio data to obtain the third audio data according to the abnormal data of the first audio data and the abnormal data of the second audio data, including: Recombines the abnormal data of the first audio data and the abnormal data of the second audio data to obtain fourth audio data; Replaces the abnormal data of the first audio data with the fourth audio data to obtain the third audio data, or replaces the abnormal data of the second audio data with the fourth audio data to obtain the third audio data.

4. The method for call control of TWS earphones according to claim 3, wherein, The recombining the abnormal data of the first audio data and the abnormal data of the second audio data to obtain fourth audio data includes: If the position of the abnormal data of the first audio data in the first audio data is the same as the position of the abnormal data of the second audio data in the second audio data, select the abnormal data of the first audio data or the abnormal data of the second audio data as the data in the fourth audio data.

5. The method for call control of TWS earphones according to claim 1, wherein Also including: If all verifications of the third audio data fail, both the main earphone and the sub-earphone determine that the received data fails.

6. The method for call control of TWS earphones according to claim 1, wherein, Also including: If the verification of the third audio data is successful, the main earphone reports the third audio data.

7. The method for call control of TWS earphones according to claim 1, wherein, The if the main earphone successfully verifies the third audio data, the main earphone sends the third audio data to the sub-earphone, including: Traverse the third audio data, perform CRC check on the third audio data one by one. If the check is successful, the master headset sends the third audio data to the slave headset.

8. A system for call control of TWS earphones, characterized in that, It includes: A first processing module, configured to receive first audio data by the master headset and receive second audio data by the slave headset; A second processing module, configured to, if both the first audio data and the second audio data are damaged, the slave headset sends the second audio data to the master headset; A third processing module, configured to compare the first audio data and the second audio data by the master headset to obtain abnormal data of the first audio data and abnormal data of the second audio data; A fourth processing module, configured to update the first audio data to obtain third audio data according to the abnormal data of the first audio data and the abnormal data of the second audio data by the master headset, or update the second audio data to obtain the third audio data according to the abnormal data of the first audio data and the abnormal data of the second audio data A fifth processing module, configured to, if the master headset successfully checks the third audio data, the master headset sends the third audio data to the slave headset.

9. An electronic device, the electronic device includes a processor, a memory, and one or more programs, the one or more programs are stored in the memory and are configured to be executed by the processor, and the programs include methods for performing TWS headset call control as described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, Stored with program instructions executable by a processor, the program instructions are used to execute the method for TWS headset call control as described in any one of claims 1-7.

Citation Information

Patent Citations

  • Communication method of wireless earphone, wireless earphone and wireless earplug

    CN110995326A

  • TWS earphone, upgrading method and device thereof, and readable storage medium

    CN111200811A