True wireless earphone system and earphone synchronization method

By exchanging packet transmission and reception time difference data, adjusting the synchronization status and correcting the playback progress, the synchronization loss problem caused by clock drift in true wireless earphone systems is solved, thus improving the user experience.

CN116614747BActive Publication Date: 2026-04-21MERY ELECTRONICS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
MERY ELECTRONICS CO LTD
Filing Date
2022-03-22
Publication Date
2026-04-21

AI Technical Summary

Technical Problem

Existing true wireless earphone systems suffer from loss of synchronization due to clock drift after prolonged playback, affecting the user experience.

Method used

By exchanging packet transmission and reception time difference data between wireless earbuds, the synchronization status is adjusted in real time, and the playback progress is adaptively corrected to restore synchronization.

Benefits of technology

It effectively restores synchronization between headphones, avoiding a poor listening experience caused by unsynchronized playback.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116614747B_ABST
    Figure CN116614747B_ABST
Patent Text Reader

Abstract

This invention provides a headphone synchronization method and a true wireless headphone system. The method includes: sending a first packet to a second wireless headphone, wherein the first packet records a first packet transmission-reception time difference; receiving a second packet from the second wireless headphone, wherein the second packet records a second packet transmission-reception time difference; obtaining a synchronization state between the first and second wireless headphone based on the first packet transmission-reception time difference and the second packet transmission-reception time difference; and adaptively adjusting the playback progress of a specific audio file played by either the first or second wireless headphone based on the synchronization state between the first and second wireless headphone.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to an earphone operation mechanism, and more particularly to a true wireless earphone system and an earphone synchronization method. Background Technology

[0002] To help people fall asleep, a true wireless earphone system commonly known as a sleep coach has emerged on the market. This true wireless earphone system includes a master earphone and a slave earphone, both of which can store several music / sound effects that can be used to help users fall asleep, and can play these music / sound effects simultaneously for the user to listen to.

[0003] In existing technology, both headphones rely on their respective built-in system clocks to play music / sound effects. Initially, because the system clocks of the two headphones are synchronized, they play synchronously, preventing the user from perceiving any asynchrony. However, as playback time increases, clock drift or other factors may cause them to gradually lose synchronization, impacting the user experience.

[0004] For those skilled in the art, designing a mechanism that allows the two headphones to resynchronize when they are unaware of each other's clock offset is an important issue. Summary of the Invention

[0005] In view of this, the present invention provides a true wireless earphone system and an earphone synchronization method, which can be used to solve the above-mentioned technical problems.

[0006] This invention provides a true wireless earphone system, including a first wireless earphone. The first wireless earphone is configured to perform the following in the i-th cycle: sending a first packet to a second wireless earphone, wherein the first packet records a first packet transmission-reception time difference measured by the first wireless earphone in the (i-1)-th cycle, where i is an index value; receiving a second packet from the second wireless earphone, wherein the second packet records a second packet transmission-reception time difference measured by the second wireless earphone in the (i-1)-th cycle; obtaining a synchronization state between the first and second wireless earphones based on the first and second packet transmission-reception time differences; and adaptively adjusting the playback progress of a specific audio file played by either the first or second wireless earphone based on the synchronization state between the first and second wireless earphones.

[0007] This invention provides a headphone synchronization method suitable for a true wireless headphone system including a first wireless headphone. The method includes: the first wireless headphone sending a first packet to a second wireless headphone in an i-th cycle, wherein the first packet records a first packet transmission-reception time difference measured by the first wireless headphone in the (i-1)-th cycle, where i is an index value; the first wireless headphone receiving a second packet from the second wireless headphone in the i-th cycle, wherein the second packet records a second packet transmission-reception time difference measured by the second wireless headphone in the (i-1)-th cycle; the first wireless headphone obtaining a synchronization state between the first and second wireless headphones based on the first packet transmission-reception time difference and the second packet transmission-reception time difference; and the first wireless headphone adaptively adjusting the playback progress of a specific audio being played by either the first or second wireless headphone based on the synchronization state between the first and second wireless headphones. Attached Figure Description

[0008] The accompanying drawings are included to further illustrate the invention, and are incorporated in and constitute a part of this specification. The drawings illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.

[0009] Figure 1 This is a schematic diagram of a true wireless earphone system illustrated according to an embodiment of the present invention.

[0010] Figure 2 This is a flowchart illustrating a headphone synchronization method according to an embodiment of the present invention.

[0011] Figure 3A This is a signal timing diagram illustrated according to an embodiment of the present invention.

[0012] Figure 3B It is based on Figure 3A The application scenario diagram is shown. Detailed Implementation

[0013] Reference will now be made in detail to exemplary embodiments of the invention, examples of which are illustrated in the accompanying drawings. Wherever possible, the same component symbols are used in the drawings and description to denote the same or similar parts.

[0014] Please refer to Figure 1 This is a schematic diagram illustrating a true wireless earphone system according to an embodiment of the present invention. Figure 1The true wireless earphone system 100 includes a first wireless earphone 110 and a second wireless earphone 120. In one embodiment, one of the first wireless earphone 110 and the second wireless earphone 120 is, for example, a master earphone, while the other is a slave earphone controlled by the master earphone. In one embodiment, the true wireless earphone system 100 may further include a charging case, which may be provided with accommodating spaces corresponding to the first wireless earphone 110 and the second wireless earphone 120. In one embodiment, when the first wireless earphone 110 and the second wireless earphone 120 are placed in the corresponding accommodating spaces in the charging case, the charging case can charge and / or power off the first wireless earphone 110 and the second wireless earphone 120, but is not limited to this.

[0015] In one embodiment, the first wireless earphone 110 and the second wireless earphone 120 can exchange data with each other through a specific communication protocol, and the first wireless earphone 110 and the second wireless earphone 120 can each be provided with a communication circuit corresponding to this communication protocol (which may include, for example, radio frequency front-end circuitry or other communication components required for data exchange).

[0016] In embodiments of the present invention, the master earphone and slave earphone of the true wireless earphone system 100 can exchange data via the Bluetooth Low Energy (BLE) protocol, and the first wireless earphone 110 and the second wireless earphone 120 can each be individually equipped with related Bluetooth communication circuits / modules. In one embodiment, the master earphone can send data packets to the slave earphone, and the slave earphone can send back an acknowledgement (ACK) message or a negative acknowledgement (NAK) message to the master earphone depending on its reception of the data packet.

[0017] In embodiments using the BLE protocol for data exchange, the data packets sent by the master headset may include, for example, a preamble, address, header, payload, and cyclic redundancy check (CRC) code. The definitions / contents of each part can be found in the relevant BLE specifications, and the details are not elaborated here.

[0018] In other embodiments, the master and slave headsets may also exchange data via other communication protocols (such as Wi-Fi), and the content of the data packets may be determined according to the relevant specifications of the selected communication protocol.

[0019] In embodiments of the present invention, the true wireless earphone system 100 can, for example, independently provide music / sound effects to the user without pairing with other devices (e.g., various smart devices / computers, etc.). In one embodiment, the first wireless earphone 110 and the second wireless earphone 120 may each store several music / sound effects for playback to the user. In other words, in some embodiments, the music / sound effects played by the true wireless earphone system 100 may not need to come from other external devices, but may be provided by the first wireless earphone 110 and the second wireless earphone 120 themselves, but this is not a limitation.

[0020] In embodiments of the present invention, the first wireless earphone 110 and the second wireless earphone 120 may each include a storage circuit and a processor. In different embodiments, the storage circuit may be, for example, any type of fixed or removable random access memory (RAM), read-only memory (ROM), flash memory, hard disk, or other similar device or combination thereof, and may be used to record multiple program codes or modules.

[0021] Furthermore, the processor may be coupled to the memory circuitry and may be a general-purpose processor, a special-purpose processor, a conventional processor, a digital signal processor, multiple microprocessors, one or more microprocessors incorporating a digital signal processor core, a controller, a microcontroller, an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), any other type of integrated circuit, a state machine, a processor based on an advanced RISC machine (ARM), and the like.

[0022] In general, in embodiments of the present invention, the master headset can send two data packets to the slave headset in each cycle (the length of which is, for example, 10ms), and the slave headset can correspondingly send back a corresponding acknowledgment message to the master headset. These data packets and acknowledgment messages may respectively include information measured by the master headset and the slave headset in the previous cycle. Subsequently, the master headset and / or the slave headset can adaptively adjust their synchronization with each other based on this information. Further details will be provided later.

[0023] In an embodiment of the present invention, the processor of the first wireless earphone 110 can access the modules and program code recorded in the storage circuit to implement the earphone synchronization method proposed in the present invention, the details of which are described below.

[0024] Please refer to Figure 2 This is a flowchart illustrating a headphone synchronization method according to an embodiment of the present invention. The method of this embodiment can be... Figure 1 The first wireless earphone 110 is implemented, and the following is a pairing. Figure 1 Component description shown Figure 2 Details of each step. Furthermore, to make the concepts in this case easier to understand, the following will provide additional information. Figure 3A and Figure 3B As explained, among them Figure 3A This is a signal timing diagram illustrated according to an embodiment of the present invention. Figure 3B It is based on Figure 3A The application scenario diagram is shown.

[0025] In one embodiment, the first wireless earphone 110 is, for example, the master earphone in the true wireless earphone system 100, while the second wireless earphone 120 is, for example, the servant earphone in the true wireless earphone system 100.

[0026] Based on this, in the (i-1)th cycle of one embodiment (with period T) i-1 In the representation (i is the index value), the first wireless earpiece 110 can send the first data packet DP1 to the second wireless earpiece 120, and record the first transmission completion time TT1 of the first data packet DP1.

[0027] In one embodiment, the radio frequency front-end circuit of the first wireless earphone 110 may provide a first transmission interruption signal when the transmission of the first data packet DP1 is completed, and the first wireless earphone 110 may determine the first transmission completion time TT1 of the first data packet DP1 based on the first interruption time point corresponding to the first transmission interruption signal of the first data packet DP1, but may not be limited thereto.

[0028] Accordingly, the second wireless earphone 120 can receive the first data packet DP1 from the first wireless earphone 110 and record the first reception completion time RT1 of the first data packet DP1.

[0029] In one embodiment, the radio frequency front-end circuit of the second wireless earphone 120 may provide a first reception interrupt signal when the reception of the first data packet DP1 is completed, and the second wireless earphone 120 may determine the first reception completion time RT1 of the first data packet DP1 based on the third interrupt time point corresponding to the first reception interrupt signal of the first data packet DP1, but may not be limited thereto.

[0030] In addition, the second wireless earpiece 120 can also send back an acknowledgment message RP1 corresponding to the first data packet DP1 to the first wireless earpiece 110.

[0031] Subsequently, in one embodiment, during period T i-1In addition, the first wireless earpiece 110 can also send a second data packet DP2 to the second wireless earpiece 120 and record the second transmission completion time TT2 of the second data packet DP2.

[0032] In one embodiment, the radio frequency front-end circuit of the first wireless earphone 110 may provide a second transmission interruption signal when the transmission of the second data packet DP2 is completed, and the first wireless earphone 110 may determine the second transmission completion time TT2 of the second data packet DP2 based on the second interruption time point corresponding to the second transmission interruption signal of the second data packet DP2, but may not be limited thereto.

[0033] Furthermore, the first wireless earphone 110 can obtain the transmission time difference T between the first transmission completion time TT1 and the second transmission completion time TT2. 1,i-1 and send this time difference T 1,i-1 Accumulated up to the first cumulative time (denoted as AT1).

[0034] In one embodiment, the first wireless earphone 110 may be provided with a first counter that accumulates a first accumulated time AT1 based on a first system clock in the first wireless earphone 110, but is not limited thereto. In one embodiment, the first counter may, for example, increment by 1 every 1 microsecond in response to the first system clock, but is not limited thereto.

[0035] Accordingly, the second wireless earpiece 120 can receive the second data packet DP2 from the first wireless earpiece 110 and record the second reception completion time RT2 of the second data packet DP2.

[0036] In one embodiment, the radio frequency front-end circuit of the second wireless earphone 120 may provide a second reception interrupt signal when the reception of the second data packet DP2 is completed, and the second wireless earphone 120 may determine the second reception completion time RT2 of the second data packet DP2 based on the fourth interrupt time point corresponding to the second reception interrupt signal of the second data packet DP2, but may not be limited thereto.

[0037] Furthermore, the second wireless earpiece 120 can also send back an acknowledgment message RP2 corresponding to the second data packet DP2 to the first wireless earpiece 110. Additionally, the second wireless earpiece 120 can obtain the reception time difference T between the first reception completion time RT1 and the second reception completion time RT2. 2,i-1 and this receiving time difference T 2,i-1 Accumulated up to the second cumulative time (denoted as AT2).

[0038] In one embodiment, the second wireless earphone 120 may be provided with a second counter that accumulates a second accumulated time AT2 based on a second system clock in the second wireless earphone 120 (the frequency of which may be the same as that of the first system clock), but is not limited thereto. In one embodiment, the second counter may, for example, increment by 1 every 1 microsecond in response to the second system clock, but is not limited thereto.

[0039] In one embodiment, the first cumulative time AT1 may be accumulated from the transmission time differences corresponding to one or more previous cycles, and the second cumulative time AT2 may be accumulated from the reception time differences corresponding to one or more previous cycles, but is not limited thereto. In one embodiment, if the first wireless earphone 110 and the second wireless earphone 120 are still synchronized, the first cumulative time AT1 should be close to the second cumulative time AT2. However, when the first wireless earphone 110 and the second wireless earphone 120 gradually lose synchronization due to clock drift or other reasons, the difference between the first cumulative time AT1 and the second cumulative time AT2 will also increase accordingly.

[0040] Therefore, after obtaining the first cumulative time AT1 or the second cumulative time AT2 provided by each other, the first wireless earphone 110 and the second wireless earphone 120 can determine whether they have lost synchronization and perform corresponding synchronization correction operations. Related details will be explained later.

[0041] In one embodiment, the first wireless earphone 110 can be in the next cycle (i.e., the i-th cycle, with a period T) i The first accumulated time AT1 obtained is provided to the second wireless earphone 120 through the corresponding data packet in the next cycle (i.e., cycle T). i The second cumulative time AT2 obtained is provided to the first wireless earphone 110 through the corresponding confirmation message.

[0042] Therefore, in step S210, the first wireless earphone 110 in the i-th period (i.e., period T) i In the process, the first packet P1 is sent to the second wireless earpiece 120, wherein the first packet P1 records the information of the first wireless earpiece 110 in the (i-1)th cycle (i.e., cycle T). i-1 The time difference T1 between the transmission and reception of the first packet is measured in the data.

[0043] In one embodiment, since the first wireless earphone 110 is assumed to be the master earphone, the first packet P1 is, for example, a data packet sent from the first wireless earphone 110. In this case, the first wireless earphone 110 may, for example, use the first cumulative time AT1 as the first packet transmission and reception time difference T1 in the first packet P1, and inform the second wireless earphone 120 of the first packet transmission and reception time difference T1 (i.e., the first cumulative time AT1) through the first packet P1.

[0044] In one embodiment, the first wireless earpiece 110 may, for example, use the first packet transmission-reception time difference T1 as the payload in the first packet P1 to send to the second wireless earpiece 120, but it is not limited to this. In addition, during the process of the first wireless earpiece 110 sending the first packet P1, the first wireless earpiece 110 may also record the first transmission completion time TT1' of the first packet P1.

[0045] In one embodiment, after the second wireless earpiece 120 receives the first packet P1, it can obtain the first packet transmission-reception time difference T1 from the first packet P1, and accordingly determine the first cumulative time AT1. Furthermore, during the process of the second wireless earpiece 120 receiving the first packet P1, the second wireless earpiece 120 can also record the first reception completion time RT1' of the first packet P1. Afterwards, the second wireless earpiece 120 can send back the second packet P2 corresponding to the first packet P1 to the first wireless earpiece 110.

[0046] In one embodiment, since the second wireless earphone 120 is assumed to be a slave earphone, the second packet P2 sent by the second wireless earphone 120 is, for example, an acknowledgment message corresponding to the first packet P1, and may record the information of the second wireless earphone 120 in the (i-1)th cycle (i.e., cycle T). i-1 The second packet transmission and reception time difference T2 is measured in the data.

[0047] In one embodiment, the second wireless earphone 120 can use the second cumulative time AT2 as the second packet transmission and reception time difference T2 in the second packet P2.

[0048] Accordingly, in step S220, the first wireless earphone 110 in the i-th period (i.e., period T) i The first wireless earpiece 110 receives the second packet P2 from the second wireless earpiece 120. In this case, the first wireless earpiece 110 can obtain the second packet transmission and reception time difference T2 (i.e., the second cumulative time AT2) provided by the second wireless earpiece 120 from the second packet P2.

[0049] Subsequently, in step S230, the first wireless earphone 110 obtains the synchronization state between the first wireless earphone 110 and the second wireless earphone 120 based on the first packet transmission and reception time difference T1 (i.e., the first cumulative time AT1) and the second packet transmission and reception time difference T2 (i.e., the second cumulative time AT2).

[0050] In one embodiment, the first wireless earphone 110 (i.e., the master earphone) can obtain the absolute time difference (denoted as TD) between the first packet transmission / reception time difference T1 and the second packet transmission / reception time difference T2, and determine whether the absolute time difference TD is greater than a threshold value (denoted as T). TH (Represented). In different embodiments, the threshold value can be set to any value sufficient to determine that the first wireless earphone 110 and the second wireless earphone 120 have lost synchronization with each other.

[0051] In one embodiment, it is assumed that the first wireless earphone 110 and the second wireless earphone 120 are used to synchronously play a specific audio (e.g., sleep-inducing music) for a user to listen to, and this specific audio can be divided into N audio segments (N is a positive integer). In this case, the first wireless earphone 110 can, for example, use the duration of one of the N audio segments as a threshold value T. TH However, it is not limited to this.

[0052] In one embodiment, this is reflected in determining that the absolute time difference TD is greater than a threshold value T. TH (that is, |T1–T2|>T) TH This indicates that the first wireless earphone 110 and the second wireless earphone 120 have lost synchronization. In this case, the first wireless earphone 110 can determine that the synchronization status between the first wireless earphone 110 and the second wireless earphone 120 indicates that the first wireless earphone 110 is not synchronized with the second wireless earphone 120.

[0053] On the other hand, this is reflected in the determination that the absolute time difference TD is not greater than the threshold value T. TH (that is, |T1–T2|≤T) TH This means that the first wireless earphone 110 and the second wireless earphone 120 have not lost synchronization. In this case, the first wireless earphone 110 can determine the synchronization status between the first wireless earphone 110 and the second wireless earphone 120 and indicate that the first wireless earphone 110 is synchronized with the second wireless earphone 120, but it is not limited to this.

[0054] Subsequently, in step S240, the first wireless earphone 110 adaptively adjusts the playback progress of the specific audio played by the first wireless earphone 110 or the second wireless earphone 120 according to the synchronization state between the first wireless earphone 110 and the second wireless earphone 120.

[0055] In one embodiment, the synchronization status indication between the first wireless earphone 110 and the second wireless earphone 120 indicates that the first wireless earphone 110 is not synchronized with the second wireless earphone 120. The first wireless earphone 110 can determine whether the first packet transmission and reception time difference T1 is greater than the second packet transmission and reception time difference T2.

[0056] In one embodiment, if the time difference T1 between the first packet transmission and reception is greater than the time difference T2 between the second packet transmission and reception, it means that the first wireless earphone 110 is playing the specific audio ahead of schedule. Therefore, the first wireless earphone 110 (i.e., the master earphone) can advance the playback progress of the second wireless earphone 120 (i.e., the slave earphone) of the specific audio by a preset time length. In one embodiment, the preset time length may be equal to, for example, the time length of one of the N audio segments or a threshold value T. TH Furthermore, in response to the determination that the time difference T1 between the first packet transmission and reception is greater than the time difference T2 between the second packet transmission and reception, the first wireless earphone 110 can also adjust the system clock of the earphone (such as the previously mentioned second system clock).

[0057] On the other hand, in response to the determination that the first packet transmission / reception time difference T1 is not greater than the second packet transmission / reception time difference T2, it means that the first wireless earphone 110 is lagging behind in playing the specific audio. Therefore, the first wireless earphone 110 (i.e., the master earphone) can delay the playback of the specific audio by the second wireless earphone 120 (i.e., the slave earphone) by the preset time length. Furthermore, in response to the determination that the first packet transmission / reception time difference T1 is not greater than the second packet transmission / reception time difference T2, the first wireless earphone 110 can also slow down the system clock of the slave earphone (e.g., the previously mentioned second system clock).

[0058] This allows the first wireless earphone 110 and the second wireless earphone 120 to be synchronized, thereby avoiding a poor listening experience caused by the different speeds of music / sound effects heard by the two ears.

[0059] Furthermore, in some embodiments, after adaptively correcting the playback progress of a specific audio track played by the first wireless earphone 110 or the second wireless earphone 120, the first wireless earphone 110 may also reset the first accumulated time AT1 and the second accumulated time AT2. In one embodiment, the first wireless earphone 110 may reset the first counter itself and request the second wireless earphone 120 to reset the second counter, thereby achieving the purpose of resetting the first accumulated time AT1 and the second accumulated time AT2, but this is not limited to this.

[0060] In some embodiments, if the synchronization status obtained by the first wireless earphone 110 in step S230 indicates that the first wireless earphone 110 is synchronized with the second wireless earphone 120, the first wireless earphone 110 may also reset the first cumulative time AT1 and the second cumulative time AT2, but is not limited to this.

[0061] In the i-th period of one embodiment (i.e., period T) i In the process, the first wireless earpiece 110 can also send a third packet P3 to the second wireless earpiece 120, wherein the third packet P3 records the first wireless earpiece 110 in the (i-1)th cycle (i.e., cycle T). i-1 The time difference T1 between the transmission and reception of the first packet is measured in the data.

[0062] In one embodiment, since the first wireless earphone 110 is assumed to be the master earphone, the third packet P3 is, for example, another data packet sent from the first wireless earphone 110. In this case, the first wireless earphone 110 may, for example, use the first cumulative time AT1 as the first packet transmit / receive time difference T1 in the third packet P3, and inform the second wireless earphone 120 of the first packet transmit / receive time difference T1 (i.e., the first cumulative time AT1) through the third packet P3.

[0063] In one embodiment, the first wireless earpiece 110 may, for example, use the first packet transmission-reception time difference T1 as the payload of the third packet P3 to transmit to the second wireless earpiece 120, but it is not limited to this. Furthermore, during the transmission of the third packet P3 by the first wireless earpiece 110, the first wireless earpiece 110 may also record the second transmission completion time TT2' of the third packet P3. Moreover, the first wireless earpiece 110 can obtain the transmission time difference T between the first transmission completion time TT1' and the second transmission completion time TT2'. 1,i and send this time difference T 1,i The first accumulated time AT1 is accumulated. In this case, the first wireless earphone 110 can provide the acquired first accumulated time AT1 to the second wireless earphone 120 through the corresponding data packet in the next cycle.

[0064] In one embodiment, after the second wireless earpiece 120 receives the third packet P3, it can obtain the first packet transmission-reception time difference T1 from the third packet P3, and accordingly determine the first cumulative time AT1. Furthermore, during the process of the second wireless earpiece 120 receiving the third packet P3, the second wireless earpiece 120 can also record the first reception completion time RT2' of the third packet P3. Afterwards, the second wireless earpiece 120 can send back a fourth packet P4 corresponding to the third packet P3 to the first wireless earpiece 110. Accordingly, the first wireless earpiece 110 can receive the fourth packet P4 from the second wireless earpiece 120.

[0065] In one embodiment, since the second wireless earpiece 120 is assumed to be a slave earpiece, the fourth packet P4 sent by the second wireless earpiece 120 is, for example, an acknowledgment message corresponding to the third packet P3, and may record the information of the second wireless earpiece 120 in the (i-1)th cycle (i.e., cycle T). i-1 The second packet transmission and reception time difference T2 is measured in the data.

[0066] Furthermore, the second wireless earphone 120 can obtain the reception time difference T between the first reception completion time RT1' and the second reception completion time RT2'. 2,i and this receiving time difference T 2,i The accumulated time is AT2. In this case, the second wireless earphone 120 can provide the acquired second accumulated time AT2 to the first wireless earphone 110 through a corresponding confirmation message in the next cycle.

[0067] This allows the first wireless earphone 110 and the second wireless earphone 120 to be able to operate in the next cycle (i.e., cycle T). i+1 In the process, the corresponding steps S210 to S240 are executed again to adaptively adjust the playback progress of the first wireless earphone 110 or the second wireless earphone 120 playing specific audio.

[0068] Furthermore, in one embodiment, during period T i-1 The first data packet DP1, acknowledgment message RP1, the second data packet DP2, and acknowledgment message RP2 transmitted in the period T can be understood as being transmitted in the period T. i-1 The first, second, third, and fourth packets are transmitted in the process. That is, the payloads of the first data packet DP1 and the second data packet DP2 may record the previous first cumulative time, and the acknowledgment messages RP1 and RP2 may record the previous second cumulative time, but are not limited to these.

[0069] In summary, in the true wireless earphone system proposed in this embodiment of the invention, the master earphone can send two data packets to the slave earphone in a certain cycle. In this case, the master earphone can determine the packet transmission / reception time difference based on the completion time of the two data packets. Additionally, the slave earphone can determine the other packet transmission / reception time difference based on the completion time of the two data packets. Then, in the next cycle, the master earphone can inform the slave earphone of the measured packet transmission / reception time difference via a data packet, and the slave earphone can inform the master earphone of the measured other packet transmission / reception time difference via a corresponding acknowledgment message.

[0070] Then, the first wireless earphone (which can be the master earphone or the servant earphone) can determine the synchronization status between the first wireless earphone and the second wireless earphone based on the obtained packet transmission and reception time difference and the other packet transmission and reception time difference, and adjust the playback progress of the first wireless earphone or the second wireless earphone to play specific audio.

[0071] This allows the first wireless earphone 110 and the second wireless earphone 120 to be synchronized, thereby avoiding a poor listening experience caused by the different speeds of music / sound effects heard by the two ears.

[0072] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A true wireless earphone system, characterized in that, include: The first wireless earphone is configured to perform in the i-th cycle: Send a first packet to the second wireless earpiece, wherein the first packet records the first packet transmission and reception time difference measured by the first wireless earpiece in the (i-1)th cycle, where i is an index value; The second wireless earpiece receives a second packet, wherein the second packet records the second packet transmission and reception time difference measured by the second wireless earpiece in the (i-1)th cycle; The synchronization status between the first wireless earphone and the second wireless earphone is obtained based on the first packet transmission and reception time difference and the second packet transmission and reception time difference; as well as The playback progress of a specific audio file played by the first or second wireless earphone is adaptively adjusted based on the synchronization state between the first and second wireless earphones.

2. The system of claim 1, wherein the first wireless earphone is further configured to perform the following during the i-th cycle: A third packet is sent to the second wireless earpiece, wherein the third packet records the transmit / receive time difference of the first packet measured by the first wireless earpiece in the (i-1)th cycle; The second wireless earpiece receives a fourth packet, wherein the fourth packet records the transmit / receive time difference of the second packet measured by the second wireless earpiece in the (i-1)th cycle.

3. The system of claim 1, wherein the first wireless earphone comprises the master earphone in the true wireless earphone system, and the first wireless earphone is further configured to perform the following in the (i-1)th cycle: Send a first data packet to the second wireless earphone and record the first time the first data packet is sent; Send a second data packet to the second wireless earphone and record the second transmission completion time of the second data packet; Obtain the transmission time difference between the first transmission completion time and the second transmission completion time, and accumulate the transmission time difference into the first accumulated time; The first cumulative time is used as the time difference between sending and receiving the first packet in the first packet.

4. The system of claim 3, further comprising the second wireless earphone, wherein the second wireless earphone is a slave earphone in the true wireless earphone system, and the second wireless earphone is further configured to perform the following in the (i-1)th cycle: Receive the first data packet from the first wireless earphone and record the first time the first data packet is received; Receive the second data packet from the first wireless earphone and record the second data packet reception completion time; Obtain the reception time difference between the first reception completion time and the second reception completion time, and accumulate the reception time difference to the second accumulated time; The second cumulative time is used as the time difference between sending and receiving the second packet in the second packet.

5. The system according to claim 3, wherein the first wireless earphone determines the first transmission completion time of the first data packet based on a first interruption time point corresponding to a first transmission interruption signal of the first data packet, and determines the second transmission completion time of the second data packet based on a second interruption time point corresponding to a second transmission interruption signal of the second data packet.

6. The system of claim 1, wherein the first wireless earphone is configured to perform: Obtain the absolute time difference between the first packet transmission and reception time difference and the second packet transmission and reception time difference; In response to the determination that the absolute time difference is greater than a threshold value, the synchronization status indicates that the first wireless earphone is not synchronized with the second wireless earphone; In response to the determination that the absolute time difference is not greater than the threshold value, the synchronization state indicates that the first wireless earphone is synchronized with the second wireless earphone.

7. The system of claim 6, wherein the specific audio is divided into N audio segments, and the threshold value is equal to the time length of one of the N audio segments, where N is a positive integer.

8. The system according to claim 1, wherein the first wireless earphone is the master earphone of the true wireless earphone system, the second wireless earphone is the slave earphone of the true wireless earphone system, and the first wireless earphone is configured to perform: In response to the determination that the synchronization status indicates that the first wireless earphone is not synchronized with the second wireless earphone, it is determined whether the first packet transmission and reception time difference is greater than the second packet transmission and reception time difference; In response to the determination that the time difference between the first packet transmission and reception is greater than the time difference between the second packet transmission and reception, the playback progress of the specific audio played by the slave earphone is advanced by a preset time length; In response to the determination that the time difference between the transmission and reception of the first packet is not greater than the time difference between the transmission and reception of the second packet, the playback progress of the specific audio played by the slave earphone is delayed by the preset time length.

9. The system of claim 8, wherein the first wireless earphone is further configured to perform: In response to the determination that the time difference between the first packet transmission and reception is greater than the time difference between the second packet transmission and reception, the system clock of the slave headset is sped up; In response to the determination that the time difference between the transmission and reception of the first packet is not greater than the time difference between the transmission and reception of the second packet, the system clock of the servant headset is slowed down.

10. The system of claim 1, wherein the first packet transmission / reception time difference corresponds to a first accumulated time of the first wireless earpiece, the second packet transmission / reception time difference corresponds to a second accumulated time of the second wireless earpiece, and the first wireless earpiece is further configured to perform: After adaptively correcting the playback progress of the specific audio played by the first or second wireless earphone, the first cumulative time and the second cumulative time are reset.

11. The system of claim 1, wherein the first packet transmission / reception time difference corresponds to a first accumulated time of the first wireless earpiece, the second packet transmission / reception time difference corresponds to a second accumulated time of the second wireless earpiece, and the first wireless earpiece is configured to perform: In response to the determination of the synchronization state indicating that the first wireless earphone is synchronized with the second wireless earphone, the first accumulated time and the second accumulated time are reset.

12. A headphone synchronization method, suitable for a true wireless headphone system including a first wireless headphone, characterized in that, The method includes: The first wireless earpiece sends a first packet to the second wireless earpiece in the i-th cycle, wherein the first packet records the first packet transmission and reception time difference measured by the first wireless earpiece in the (i-1)-th cycle, where i is an index value; The first wireless earpiece receives a second packet from the second wireless earpiece in the i-th cycle, wherein the second packet records the second wireless earpiece's transmit / receive time difference measured in the (i-1)-th cycle; The first wireless earphone obtains the synchronization status between the first wireless earphone and the second wireless earphone based on the first packet transmission / reception time difference and the second packet transmission / reception time difference; and The first wireless earphone adaptively adjusts the playback progress of a specific audio file based on the synchronization state between the first wireless earphone and the second wireless earphone.

Citation Information

Patent Citations

  • Audio data transmission method between double wireless earphones, and double wireless earphones

    CN107333339A

  • Audio signal adjusting method and device, earphone assembly and readable storage medium

    CN112235690A