TWS earphone audio synchronous playing method and system, and TWS earphone
By calculating the time difference between the TWS headset left and right headphones to process audio data and adjust the playback timing, the audio is not synchronized, and the user experience is improved.
Patent Information
- Application Number
- CN202411453119.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-17
- Publication Date
- 2025-01-21
AI Technical Summary
Due to the different wireless transmission delay and the processing speed of headphone components in TWS headphones, the problem of the audio of left and right earphones is often out of sync, affecting the user experience.
By calculating the time difference between the audio data of the left and right headphones, adjust the playback timing to ensure the synchronous playback of audio data. Specific steps include initialization, audio data transmission, audio data processing and audio data synchronization.
Effectively solve the problem of non -synchronization of audio and improve the user experience, so that left and right headphones can play audio data synchronously.
Smart Images

Figure CN119342382A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of earphones, and in particular relates to a method and system for synchronous audio playback of TWS earphones, and a TWS earphone. Background Art
[0002] With the popularity of smartphones and portable music players, true wireless stereo (TWS) earphones have gradually become an indispensable accessory in consumers' daily lives. TWS earphones achieve the stereo effect of left and right earphones through wireless connection, but the problem of synchronous audio playback has always been a challenge in this field. In existing technologies, due to the wireless transmission delay and the different processing speeds of earphone components, the audio of the left and right earphones is often out of sync, affecting the user experience.
[0003] Therefore, it is necessary to provide a new TWS headset audio synchronization playback method and system, and TWS headset to solve the above technical problems. Summary of the invention
[0004] The technical problem solved by the present invention is to provide a TWS headset audio synchronization playback method and system, and a TWS headset, which effectively solves the problem of audio asynchrony and improves user experience by calculating the time difference between left and right earphones in processing audio data and adjusting the playback timing.
[0005] In order to solve the above technical problems, the TWS headset audio synchronization playback method provided by the present invention comprises the following steps:
[0006] S1. Initialization: When the TWS headset system starts, the system is initialized and the parameters of the left and right headsets are configured, including sampling rate and bit depth;
[0007] S2. Audio data transmission: audio data is transmitted from the audio source device to the left and right earphones via wireless signals;
[0008] S3. Audio data processing: After receiving the audio data, the left and right earphones are decoded and amplified respectively;
[0009] S4. Audio data synchronization: By calculating the time difference between the left and right earphones in processing audio data, the playback timing of the left and right earphones is adjusted to ensure synchronous playback of audio data;
[0010] S5. Play: The left and right earphones play sound according to the audio data played synchronously.
[0011] As a further solution of the present invention, the initialization comprises the following steps:
[0012] (1) Configure the sampling rate and bit depth parameters of the left and right headphones;
[0013] (2) Synchronize the clocks of the left and right earphones to ensure accurate transmission and processing of audio data.
[0014] As a further solution of the present invention, the audio data transmission comprises the following steps:
[0015] (1). The audio source device sends audio data to the left and right earphones via the Bluetooth module;
[0016] (2). The left and right earphones receive audio data through the wireless module.
[0017] As a further solution of the present invention, the audio data processing comprises the following steps:
[0018] (1) The left and right earphones decode the audio data respectively;
[0019] (2) Perform sound effects processing on the decoded audio data according to the sound quality characteristics of the headphones;
[0020] (3) Amplify the processed audio data to meet the sound output requirements of the headphones.
[0021] As a further solution of the present invention, the audio data synchronization comprises the following steps:
[0022] (1) The left and right earphones calculate the time difference of processing audio data respectively;
[0023] (2) Adjust the playback sequence of the left and right earphones according to the time difference;
[0024] (3) The adjusted playback timing information is transmitted through wireless signals to achieve synchronous playback of the left and right earphones.
[0025] The present invention also provides a TWS earphone audio synchronous playback system, comprising: a sound source device, left and right earphones and a wireless module, wherein the sound source device is responsible for sending audio data to the left and right earphones, the left and right earphones are used to receive the audio data sent by the sound source device, and perform decoding and amplification processing to achieve synchronous playback, and the wireless module is used to realize wireless signal transmission between the sound source device and the left and right earphones.
[0026] As a further solution of the present invention, the audio source device includes but is not limited to a smart phone, a tablet or a computer, and the audio data can adopt a standard audio encoding format, such as AAC (Advanced Audio Coding) and SBC (Sub-Band Coding).
[0027] As a further solution of the present invention, the sound source device is equipped with a main controller, which is used to communicate and decode audio data, and the decoded audio data is distributed to the left and right earphones to ensure that each earphone can receive the corresponding audio data. The left and right earphones receive the audio data and convert it into electrical signals, which are then amplified and played through the speaker unit of the earphones.
[0028] The present invention also provides a TWS headset, comprising: an audio signal processing module, a wireless transmission module, a receiving module and a playing module, wherein the audio signal processing module is used to timestamp the audio signal, the wireless transmission module is used to send the audio signal marked with the timestamp to the left and right earphone units, the receiving module is used to receive the audio signal and perform synchronization processing according to the timestamp information, and the playing module is used to play the synchronized audio signal.
[0029] As a further solution of the present invention, the TWS headset also includes a receiver, which is used to receive audio data and decode.
[0030] Compared with the related art, the TWS headset audio synchronization playback method and system, and the TWS headset provided by the present invention have the following beneficial effects:
[0031] 1. The present invention calculates the time difference between left and right earphones in processing audio data and adjusts the playback timing, thereby effectively solving the problem of audio asynchrony and improving user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to facilitate understanding by those skilled in the art, the present invention is further described below with reference to the accompanying drawings.
[0033] Figure 1 It is a flowchart of the method for synchronously playing audio of a TWS headset of the present invention;
[0034] Figure 2 This is a structural block diagram of the TWS headset audio synchronization playback system of the present invention;
[0035] Figure 3 This is a structural block diagram of the TWS headset of the present invention. DETAILED DESCRIPTION
[0036] Please refer to Figure 1 , Figure 2 and Figure 3 ,in, Figure 1 It is a flowchart of the method for synchronously playing audio of a TWS headset of the present invention; Figure 2 This is a structural block diagram of the TWS headset audio synchronization playback system of the present invention; Figure 3 The structural block diagram of the TWS headset of the present invention. The TWS headset audio synchronous playback method comprises the following steps:
[0037] S1. Initialization: When the TWS headset system starts, the system is initialized and the parameters of the left and right headsets are configured, including sampling rate and bit depth;
[0038] S2. Audio data transmission: audio data is transmitted from the audio source device to the left and right earphones via wireless signals;
[0039] S3. Audio data processing: After receiving the audio data, the left and right earphones are decoded and amplified respectively;
[0040] S4. Audio data synchronization: By calculating the time difference between the left and right earphones in processing audio data, the playback timing of the left and right earphones is adjusted to ensure synchronous playback of audio data;
[0041] S5. Play: The left and right earphones play sound according to the audio data played synchronously.
[0042] The initialization comprises the following steps:
[0043] (1) Configure the sampling rate and bit depth parameters of the left and right headphones;
[0044] (2) Synchronize the clocks of the left and right earphones to ensure accurate transmission and processing of audio data.
[0045] The audio data transmission comprises the following steps:
[0046] (1). The audio source device sends audio data to the left and right earphones via the Bluetooth module;
[0047] (2). The left and right earphones receive audio data through the wireless module.
[0048] The audio data processing comprises the following steps:
[0049] (1) The left and right earphones decode the audio data respectively;
[0050] (2) Perform sound effects processing on the decoded audio data according to the sound quality characteristics of the headphones;
[0051] (3) Amplify the processed audio data to meet the sound output requirements of the headphones.
[0052] The audio data synchronization comprises the following steps:
[0053] (1) The left and right earphones calculate the time difference of processing audio data respectively;
[0054] (2) Adjust the playback sequence of the left and right earphones according to the time difference;
[0055] (3) The adjusted playback timing information is transmitted through wireless signals to achieve synchronous playback of the left and right earphones.
[0056] The present invention calculates the time difference between left and right earphones in processing audio data and adjusts the playback timing, thereby effectively solving the problem of audio asynchrony and improving user experience.
[0057] The present invention also provides a TWS earphone audio synchronous playback system, comprising: a sound source device, left and right earphones and a wireless module, wherein the sound source device is responsible for sending audio data to the left and right earphones, the left and right earphones are used to receive the audio data sent by the sound source device, and perform decoding and amplification processing to achieve synchronous playback, and the wireless module is used to realize wireless signal transmission between the sound source device and the left and right earphones.
[0058] The audio source device includes but is not limited to a smart phone, a tablet or a computer, and the audio data can adopt a standard audio coding format, such as AAC (Advanced Audio Coding) and SBC (Sub-Band Coding).
[0059] The sound source device is equipped with a main controller, which is used to communicate and decode audio data. The decoded audio data is distributed to the left and right earphones to ensure that each earphone can receive the corresponding audio data. The left and right earphones receive the audio data and convert it into electrical signals, which are then amplified and played through the speaker unit of the earphone.
[0060] The present invention also provides a TWS headset, comprising: an audio signal processing module, a wireless transmission module, a receiving module and a playing module, wherein the audio signal processing module is used to timestamp the audio signal, the wireless transmission module is used to send the audio signal marked with the timestamp to the left and right earphone units, the receiving module is used to receive the audio signal and perform synchronization processing according to the timestamp information, and the playing module is used to play the synchronized audio signal.
[0061] The TWS headset also includes a receiver, which is used to receive audio data and decode it.
[0062] Embodiment 1:
[0063] Suppose a TWS earphone system includes a sound source device and two earphones (left earphone and right earphone). When the user starts the sound source device, the sound source device sends audio data to the left and right earphones through the Bluetooth module. After receiving the audio data, the left and right earphones are decoded and amplified respectively. During this process, the left and right earphones respectively calculate the time difference for processing the audio data, and then adjust the playback timing of the left and right earphones according to the time difference. Finally, the left and right earphones make sound according to the synchronously played audio data.
[0064] Embodiment 2:
[0065] In a specific implementation, the audio data synchronization step includes: the left and right earphones respectively calculate the time difference for processing audio data, adjust the playback timing of the left and right earphones according to the time difference, and transmit the adjusted playback timing information via wireless signals to achieve synchronous playback of the left and right earphones.
[0066] Embodiment 3:
[0067] In a specific implementation, the audio data processing step includes: respectively decoding the audio data by the left and right earphones, performing sound effect processing on the decoded audio data according to the sound quality characteristics of the earphones, and amplifying the processed audio data to meet the sound output requirements of the earphones.
[0068] Embodiment 4:
[0069] In a specific implementation, the audio data transmission step includes: the audio source device sends the audio data to the left and right earphones via the Bluetooth module, and the left and right earphones receive the audio data via the wireless module.
[0070] Embodiment 5:
[0071] In a specific implementation, the initialization step includes: configuring parameters such as sampling rate and bit depth of the left and right earphones, and synchronizing the clocks of the left and right earphones to ensure accurate transmission and processing of audio data.
[0072] The present invention calculates the time difference between left and right earphones in processing audio data and adjusts the playback timing, thereby effectively solving the problem of audio asynchrony and improving user experience.
[0073] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. A TWS headset audio synchronization playback method, characterized in that: The following steps are involved: S1. Initialization: When the TWS headset system starts, the system is initialized and the parameters of the left and right headsets are configured, including sampling rate and bit depth; S2. Audio data transmission: audio data is transmitted from the audio source device to the left and right earphones via wireless signals; S3. Audio data processing: After receiving the audio data, the left and right earphones are decoded and amplified respectively; S4. Audio data synchronization: By calculating the time difference between the left and right earphones in processing audio data, the playback timing of the left and right earphones is adjusted to ensure synchronous playback of audio data; S5. Play: The left and right earphones play sound according to the audio data played synchronously.
2. The TWS headset audio synchronization playback method according to claim 1, characterized in that: The initialization comprises the following steps: (1) Configure the sampling rate and bit depth parameters of the left and right headphones; (2) Synchronize the clocks of the left and right earphones to ensure accurate transmission and processing of audio data.
3. The TWS headset audio synchronization playback method according to claim 1, characterized in that: The audio data transmission comprises the following steps: (1). The audio source device sends audio data to the left and right earphones via the Bluetooth module; (2). The left and right earphones receive audio data through the wireless module.
4. The TWS headset audio synchronous playback method according to claim 1, characterized in that: The audio data processing comprises the following steps: (1) The left and right earphones decode the audio data respectively; (2) Perform sound effects processing on the decoded audio data according to the sound quality characteristics of the headphones; (3) Amplify the processed audio data to meet the sound output requirements of the headphones.
5. The TWS headset audio synchronous playback method according to claim 1, characterized in that: The audio data synchronization comprises the following steps: (1) The left and right earphones calculate the time difference of processing audio data respectively; (2) Adjust the playback sequence of the left and right earphones according to the time difference; (3) The adjusted playback timing information is transmitted through wireless signals to achieve synchronous playback of the left and right earphones.
6. A TWS headset audio synchronization playback system, characterized in that: include: A sound source device, left and right earphones and a wireless module. The sound source device is responsible for sending audio data to the left and right earphones. The left and right earphones are used to receive the audio data sent by the sound source device, decode and amplify the audio data, and realize synchronous playback. The wireless module is used to realize wireless signal transmission between the sound source device and the left and right earphones.
7. The TWS headset audio synchronization playback system according to claim 6, characterized in that: The audio source device includes but is not limited to a smart phone, a tablet or a computer, and the audio data can adopt a standard audio coding format, such as AAC (Advanced Audio Coding) and SBC (Sub-Band Coding).
8. The TWS headset audio synchronous playback system according to claim 6, characterized in that: The sound source device is equipped with a main controller, which is used to communicate and decode audio data. The decoded audio data is distributed to the left and right earphones to ensure that each earphone can receive the corresponding audio data. The left and right earphones receive the audio data and convert it into electrical signals, which are then amplified and played through the speaker unit of the earphone.
9. A TWS headset, characterized in that: include: An audio signal processing module, a wireless transmission module, a receiving module and a playing module, wherein the audio signal processing module is used to timestamp the audio signal, the wireless transmission module is used to send the audio signal marked with the timestamp to the left and right earphone units, the receiving module is used to receive the audio signal and perform synchronization processing according to the timestamp information, and the playing module is used to play the synchronized audio signal.
10. The TWS headset according to claim 9, characterized in that: The TWS headset also includes a receiver, which is used to receive audio data and decode it.