Data transmission method, device and earphone
By converting data into data frames and generating a clock synchronization sequence in the true wireless earbuds, and then transmitting it to the second earbud using other wireless transmission methods, the bandwidth limitation problem between the left and right earbuds of true wireless earbuds and between true wireless earbuds and electronic devices is solved, thereby improving data transmission efficiency and user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HUAWEI DEVICE CO LTD
- Filing Date
- 2021-11-29
- Publication Date
- 2026-06-02
Smart Images

Figure CN116192316B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communications, and in particular to a data transmission method, apparatus, and headset. Background Technology
[0002] True wireless earbuds communicate wirelessly with paired electronic devices without traditional cables. If the left and right earbuds communicate wirelessly, they can be called true wireless earbuds. Currently, true wireless earbuds consist of one master earbud and one slave earbud, and the communication mode between them can be either relay mode or monitoring mode. However, regardless of the relay or monitoring mode, when the master earbud communicates with the slave earbud, the master earbud cannot simultaneously communicate with the paired electronic device (e.g., a mobile phone). This limits the actual bandwidth between the true wireless earbuds and the electronic device, thus affecting the connection performance and user experience. Summary of the Invention
[0003] This application provides a data transmission method, apparatus, and headset that can increase the actual bandwidth between wireless headsets and electronic devices, thereby improving the user experience.
[0004] In a first aspect, embodiments of this application provide a data transmission method applied to a first earpiece in a wireless headset, the wireless headset also including a second earpiece. The method includes: acquiring data to be transmitted and a clock signal; converting the data to be transmitted into data frames, and generating a clock synchronization sequence for the data frames according to the clock signal; and sending the data frames and the corresponding clock synchronization sequence to the second earpiece. In this method, the first earpiece encapsulates the data to be transmitted into data frames, which can be transmitted to the second earpiece using wireless transmission methods other than the original Bluetooth module. This eliminates the need to occupy the transmission resources of the Bluetooth module in the first earpiece, increasing the transmission bandwidth between the first earpiece and the electronic device, and further increasing the transmission bandwidth between the first earpiece and the second earpiece. This, in turn, improves the service processing performance of the wireless headset and enhances the user experience.
[0005] In one possible implementation, converting the data to be transmitted into data frames includes: encapsulating the data to be transmitted into data frames according to data type, wherein each data frame includes data to be transmitted of one data type.
[0006] In one possible implementation, sending the data frame and the corresponding clock synchronization sequence to the second headset includes: scheduling the data frames in ascending order of the latency requirements of the data included in the data frames; and sending the data frames and the corresponding clock synchronization sequence to the second headset in the scheduling order.
[0007] In one possible implementation, converting the data to be transmitted into a data frame includes: encapsulating the data to be transmitted into bits corresponding to the data types in the same data frame, wherein the data frame includes bits corresponding to at least two data types.
[0008] In one possible implementation, the first earphone includes: a first codec, which acquires data to be transmitted, including: receiving noise-reduced data sent by the first codec.
[0009] In one possible implementation, receiving noise-reduced data sent by the first codec includes: receiving noise-reduced data directly sent by the first codec; or receiving noise-reduced data sent by the first codec via a first processor, wherein the first processor is located in the first earphone.
[0010] In one possible implementation, the first earpiece includes: a first processor, which acquires data to be transmitted, including: receiving service data sent by the first processor; and / or receiving service control data sent by the first processor.
[0011] In one possible implementation, sending the data frame and the corresponding clock synchronization sequence to the second earpiece includes: sending the data frame and the corresponding clock synchronization sequence to the second earpiece using a preset wireless communication method; or, sending the data frame and the corresponding clock synchronization sequence to the second earpiece using a preset wired communication method.
[0012] In one possible implementation, the wireless communication method is one of the following: HBC, WiFi, UWB, Bluetooth Super, or ultrasonic communication.
[0013] In one possible implementation, a first wired line and a second wired line are included between the first earphone and the second earphone. The first wired line is used to transmit data sent from the first earphone to the second earphone; the second wired line is used to transmit data sent from the second earphone to the first earphone; sending data frames and corresponding clock synchronization sequences to the second earphone using a preset wired communication method includes: sending data frames and corresponding clock synchronization sequences to the second earphone using the first wired line.
[0014] In one possible implementation, a third wired line is included between the first earpiece and the second earpiece. The third wired line is used to transmit data sent from the first earpiece to the second earpiece and data sent from the second earpiece to the first earpiece. Sending data frames and corresponding clock synchronization sequences to the second earpiece using a preset wired communication method includes: sending data frames and corresponding clock synchronization sequences to the second earpiece using the third wired line.
[0015] Secondly, embodiments of this application provide a data transmission method applied to a second earpiece in a wireless headset, the wireless headset also including a first earpiece, the method comprising: receiving a clock synchronization sequence and a data frame sent by the first earpiece; restoring the clock synchronization sequence to a clock signal; and parsing the data to be transmitted from the data frame according to the clock signal.
[0016] In one possible implementation, the data to be transmitted includes: service data and / or noise reduction data, and the second earphone includes: a second codec. The method further includes: sending the service data and / or noise reduction data to the second codec.
[0017] In one possible implementation, the data to be transmitted includes: service data, and / or service control data, and / or noise reduction data; the second earphone includes: a second processor and a second codec; the method further includes: sending service data to the second processor; and / or sending service control data to the second processor; and / or sending noise reduction data to the second codec.
[0018] In one possible implementation, sending the denoised data to the second codec includes: sending the denoised data directly to the second codec; or sending the denoised data to the second codec via a second processor.
[0019] In one possible implementation, receiving the clock synchronization sequence and data frame sent by the first earpiece includes: receiving the clock synchronization sequence and data frame sent by the first earpiece using a preset wireless communication method; or, receiving the clock synchronization sequence and data frame sent by the first earpiece using a preset wired communication method.
[0020] In one possible implementation, the wireless communication method is one of the following: HBC, WiFi, UWB, Bluetooth Super, or ultrasonic communication.
[0021] In one possible implementation, a first wired line and a second wired line are included between the first earphone and the second earphone. The first wired line is used to transmit data sent from the first earphone to the second earphone; the second wired line is used to transmit data sent from the second earphone to the first earphone; receiving the clock synchronization sequence and data frames sent by the first earphone using a preset wired communication method includes: receiving the clock synchronization sequence and data frames sent by the first earphone using the first wired line.
[0022] In one possible implementation, a third wired line is included between the first earpiece and the second earpiece. The third wired line is used to transmit data sent from the first earpiece to the second earpiece and data sent from the second earpiece to the first earpiece. Receiving a clock synchronization sequence and data frames sent by the first earpiece using a preset wired communication method includes: receiving the clock synchronization sequence and data frames sent by the first earpiece using the third wired line.
[0023] Thirdly, embodiments of this application provide a data transmission device applied to a first earpiece in a wireless headset, the wireless headset further including a second earpiece. The device includes: a first data processing module and a first transceiver module, wherein the first data processing module is connected to the first transceiver module; the first data processing module is used to: acquire data to be transmitted and a clock signal; convert the data to be transmitted into data frames, and generate a clock synchronization sequence for the data frames according to the clock signal; send the data frames and the corresponding clock synchronization sequence to the first transceiver module; the first transceiver module is used to: send the data frames and the corresponding clock synchronization sequence to the second earpiece.
[0024] In one possible implementation, the first data processing module is used to: convert the data to be transmitted into data frames, including: the first data processing module is specifically used to: encapsulate the data to be transmitted into different data frames according to the data type, and each data frame includes data to be transmitted of one data type.
[0025] In one possible implementation, the first data processing module is used to: send the data frame and the clock synchronization sequence corresponding to the data frame to the first transceiver module, including: the first data processing module is specifically used to: schedule the data frames in ascending order of the latency requirements of the data included in the data frames; and send the data frames and the clock synchronization sequence corresponding to the data frames to the first transceiver module in the scheduling order.
[0026] In one possible implementation, the first data processing module is used to: convert the data to be transmitted into a data frame, including: the first data processing module is specifically used to: encapsulate the data to be transmitted into the corresponding bit bits of the same data frame according to the data type, and the data frame includes bit bits corresponding to at least two data types.
[0027] In one possible implementation, the first earphone includes: a first codec connected to a first data processing module; the first data processing module is used to: acquire data to be transmitted and a clock signal, including: the first data processing module is used to: receive noise-reduced data sent by the first codec.
[0028] In one possible implementation, the first data processing module is configured to: receive noise-reduced data sent by the first codec, including: the first data processing module is specifically configured to: receive noise-reduced data sent by the first codec through the interface between the first codec and the first data processing module; or, the first data processing module is specifically configured to: receive noise-reduced data sent by the first processor through the interface between the first processor and the first data processing module, wherein the noise-reduced data is sent by the first codec to the first processor through the interface between the first codec and the first processor, and the first processor is located in the first earphone.
[0029] In one possible implementation, the first earpiece includes: a first processor, and a first data processing module for: acquiring data to be transmitted and a clock signal, including: the first data processing module specifically for: receiving service data sent by the first processor; and / or, receiving service control data sent by the first processor.
[0030] In one possible implementation, the first transceiver module is used to: send a data frame and a clock synchronization sequence corresponding to the data frame to the second earpiece, including: the first transceiver module is specifically used to: send the data frame and the clock synchronization sequence corresponding to the data frame to the second earpiece using a preset wireless communication method; or, the first transceiver module is specifically used to: send the data frame and the clock synchronization sequence corresponding to the data frame to the second earpiece using a preset wired communication method.
[0031] In one possible implementation, the wireless communication method is one of the following: HBC, WiFi, UWB, Bluetooth Super, or ultrasonic communication.
[0032] In one possible implementation, a first wired line and a second wired line are included between the first transceiver module and the second earpiece. The first wired line is used to transmit data sent from the first earpiece to the second earpiece; the second wired line is used to transmit data sent from the second earpiece to the first earpiece; the first transceiver module is used to: send data frames and corresponding clock synchronization sequences to the second earpiece using a preset wired communication method, including: the first transceiver module is specifically used to: send data frames and corresponding clock synchronization sequences to the second earpiece using the first wired line.
[0033] In one possible implementation, a third wired line is included between the first transceiver module and the second earpiece. The third wired line is used to transmit data sent from the first earpiece to the second earpiece and data sent from the second earpiece to the first earpiece. The first transceiver module is used to send data frames and corresponding clock synchronization sequences to the second earpiece using a preset wired communication method. Specifically, the first transceiver module is used to send data frames and corresponding clock synchronization sequences to the second earpiece using the third wired line.
[0034] Fourthly, embodiments of this application provide a data transmission device applied to a second earpiece in a wireless headset, the wireless headset further including a first earpiece. The device includes: a second transceiver module and a second data processing module; wherein the second data processing module is connected to the second transceiver module; the second transceiver module is used to: receive a clock synchronization sequence and data frames sent by the first earpiece, and send the clock synchronization sequence and data frames to the second data processing module; the second data processing module is used to: recover the clock synchronization sequence into a clock signal, and parse the data to be transmitted from the data frames according to the clock signal.
[0035] In one possible implementation, the data to be transmitted includes: service data and / or noise reduction data, and the second earphone includes: a second codec; the second codec is connected to a second data processing module; the second data processing module is further configured to: send the service data and / or noise reduction data to the second codec.
[0036] In one possible implementation, the data to be transmitted includes: service data, and / or service control data, and / or noise reduction data; the second earphone includes: a second processor and a second codec; the second codec is connected to a second data processing module, and the second processor is connected to the second data processing module; the second data processing module is further configured to: send service data to the second processor; and / or send service control data to the second processor; and / or send noise reduction data to the second codec.
[0037] In one possible implementation, the second data processing module is used to: send noise-reduced data to the second codec, including: the second data processing module is specifically used to: send the noise-reduced data directly to the second codec; or, the second data processing module is specifically used to: send the noise-reduced data to the second processor through an interface with the second processor, and the second processor is used to send the noise-reduced data to the second codec.
[0038] In one possible implementation, the second transceiver module is used to: receive a clock synchronization sequence and data frames sent by the first earpiece, including: the second transceiver module is specifically used to: receive the clock synchronization sequence and data frames sent by the first earpiece using a preset wireless communication method; or, receive the clock synchronization sequence and data frames sent by the first earpiece using a preset wired communication method.
[0039] In one possible implementation, the wireless communication method is one of the following: HBC, WiFi, UWB, Bluetooth Super, or ultrasonic communication.
[0040] In one possible implementation, a first wired line and a second wired line are included between the first earphone and the second earphone. The first wired line is used to transmit data sent from the first earphone to the second earphone; the second wired line is used to transmit data sent from the second earphone to the first earphone; the second transceiver module is used to receive clock synchronization sequences and data frames sent by the first earphone using a preset wired communication method, including: the second transceiver module is specifically used to receive clock synchronization sequences and data frames sent by the first earphone using the first wired line.
[0041] In one possible implementation, a third wired line is included between the first earphone and the second earphone. The third wired line is used to transmit data sent from the first earphone to the second earphone and data sent from the second earphone to the first earphone. The second transceiver module is used to receive the clock synchronization sequence and data frames sent by the first earphone using a preset wired communication method. Specifically, the second transceiver module is used to receive the clock synchronization sequence and data frames sent by the first earphone using the third wired line.
[0042] Fifthly, embodiments of this application provide a first earphone, including a first processor and a first codec, and the first earphone further includes a data transmission device according to any one of the third aspects.
[0043] In a sixth aspect, embodiments of this application provide a second earphone, including a second processor and a second codec, the second earphone further including: a data transmission device according to any one of the fourth aspects.
[0044] In a seventh aspect, embodiments of this application provide a wireless earphone, including a first earphone according to the fifth aspect and a second earphone according to the sixth aspect.
[0045] Eighthly, this application provides a computer program that, when executed by a computer, performs the method of the first aspect or the second aspect.
[0046] In one possible design, the program in the eighth aspect may be stored wholly or partially on a storage medium packaged with the processor, or it may be stored wholly or partially on a memory not packaged with the processor. Attached Figure Description
[0047] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0048] Figure 1 This is a schematic diagram illustrating the data transmission process between wireless earbuds in forwarding mode;
[0049] Figure 2 This is a schematic diagram illustrating the data transmission process between wireless earbuds in monitoring mode.
[0050] Figure 3 This is a schematic diagram illustrating a scenario to which the data transmission method of this application is applicable;
[0051] Figure 4 This is a schematic diagram illustrating another scenario to which the data transmission method of this application applies;
[0052] Figure 5 A flowchart illustrating one embodiment of the data transmission method of this application;
[0053] Figure 6 This is a schematic diagram of one embodiment of the data frame structure of this application;
[0054] Figure 7 This is a schematic diagram of one embodiment of the data frame structure of this application;
[0055] Figure 8 This is a flowchart of another embodiment of the data transmission method of this application;
[0056] Figure 9 This is a schematic diagram illustrating another scenario to which the data transmission method of this application is applicable;
[0057] Figure 10 This is a schematic diagram illustrating another scenario to which the data transmission method of this application is applicable;
[0058] Figure 11 This is a schematic diagram illustrating another scenario to which the data transmission method of this application is applicable;
[0059] Figure 12 This is a schematic diagram illustrating another scenario to which the data transmission method of this application is applicable. Detailed Implementation
[0060] The terminology used in the implementation section of this application is for the purpose of explaining specific embodiments of this application only, and is not intended to limit this application.
[0061] Wireless earbuds communicate wirelessly with their paired electronic devices without traditional cables. If the left and right ears of a wireless earbud also communicate wirelessly, it can be called a true wireless earbud.
[0062] Wireless headphones can include various types such as in-ear, semi-in-ear, and over-ear. True wireless headphones can be used in in-ear, semi-in-ear, and other types of headphones.
[0063] Currently, there are two main ways to implement communication between the left and right earbuds in true wireless earbuds: relay mode and monitoring mode. Typically, one earbud in a true wireless earbud is the master earbud and the other is the slave earbud; for example, the master earbud can be the left earbud and the slave earbud can be the right earbud.
[0064] The working principle of true wireless earbuds using the repeater mode is as follows: Figure 1As shown in the diagram, a Bluetooth connection is established between the main earpiece (e.g., the left earpiece) and an electronic device (e.g., a mobile phone), and data (e.g., music, voice, or other data packets) is transmitted between the main earpiece and the electronic device. Afterward, the main earpiece disconnects from the electronic device and establishes a Bluetooth connection with the slave earpiece (e.g., the right earpiece), forwarding the data to the slave earpiece.
[0065] The working principle of true wireless earbuds using monitoring mode is as follows: Figure 2 As shown in the diagram, a Bluetooth connection is established between the main earpiece (e.g., the left earpiece) and an electronic device (e.g., a mobile phone), and data (e.g., music, voice, or other data packets) is transmitted between the main earpiece and the electronic device. The main earpiece transmits the relevant parameters of the Bluetooth connection with the electronic device to the slave earpiece. The slave earpiece (e.g., the right earpiece) listens for and directly receives the Bluetooth signal from the electronic device; this reception does not depend on the forwarding of Bluetooth data from the main earpiece. If the slave earpiece does not detect a Bluetooth signal, the main earpiece disconnects from the electronic device and establishes a Bluetooth connection with the slave earpiece (e.g., the right earpiece), forwarding the data to the slave earpiece.
[0066] Regardless of whether it's a forwarding mode or a monitoring mode, true wireless earbuds cannot have Bluetooth connections between the main earbud and the slave earbud, or between the main earbud and an electronic device, existing simultaneously. This results in limited actual bandwidth between the true wireless earbuds and the electronic device, and between the main earbud and the slave earbud.
[0067] In forwarding mode, the main earphone and the electronic device, as well as the main earphone and the slave earphone, need to transmit complete and valid data through Bluetooth connections. The amount of data transmitted is large, the reliability of Bluetooth transmission is low, and the main earphone consumes a lot of power, resulting in short battery life for true wireless earphones.
[0068] In the aforementioned monitoring mode, the amount of data transmitted between the master and slave earphones is reduced by having the master earphone transmit the relevant parameters of the Bluetooth connection with the electronic device to the slave earphone, which then listens to and directly receives the Bluetooth signal from the smart device. However, there is still data that needs to be transmitted between the master and slave earphones, and there is still room for improvement in the data transmission speed between them compared to actual needs.
[0069] Moreover, with the increasing number of microphones and sensors in headphones, processing data from only one ear is insufficient to achieve optimal performance. It is necessary for the left and right ears to exchange audio, sensor, and other data for collaborative data processing. The data transmission rate requirement can reach over 30Mbps in order to improve the overall performance and experience of wireless headphones, especially true wireless headphones.
[0070] Therefore, this application proposes a data transmission method, apparatus, and earphone that can improve the actual bandwidth between the wireless earphone and the electronic device, as well as between the left and right earphones, thereby improving the user experience.
[0071] It should be noted that the data transmission method of this application can be applied to wireless headphones, but is not limited to true wireless headphones. The wireless headphones in the embodiments of this application can be in-ear, semi-in-ear, over-ear, etc., and the embodiments of this application do not limit them.
[0072] Figure 3 This is a schematic diagram illustrating a scenario to which the data transmission method of this application applies. For example... Figure 3 As shown, where,
[0073] The wireless earphone includes a main earphone 31 and a slave earphone 32. Optionally, the main earphone 31 can be the left earphone and the slave earphone 32 can be the right earphone; or, the main earphone 31 can be the right earphone and the slave earphone 32 can be the left earphone.
[0074] The main earphone 31 includes a first transmission module 311 and a first Bluetooth module 312, and the secondary earphone 32 includes a second transmission module 321 and a second Bluetooth module 322.
[0075] The first Bluetooth module 312 of the main earphone 31 can establish a Bluetooth connection with a paired electronic device for data transmission, and / or establish a Bluetooth connection with the second Bluetooth module 322 of the slave earphone for data transmission. The second Bluetooth module 322 of the slave earphone 32 can establish a Bluetooth connection with itself for data transmission, and / or establish a Bluetooth connection with a paired electronic device, and / or listen to Bluetooth signals sent by the electronic device, etc.
[0076] Data transmission can occur between the first transmission module 311 and the second transmission module 321, and this data transmission can be achieved through wireless transmission technology or wired transmission technology. Wireless transmission technology may include, but is not limited to: human body communication (HBC), wireless fidelity (WiFi), ultra-wideband (UWB), Bluetooth Super, or ultrasonic communication, etc. Wired transmission technology may include, but is not limited to: serializing / deserializing circuitry (SERDes), or Ethernet, etc.
[0077] In this embodiment, the first transmission module 311 and the second transmission module 321 can transmit data between the two earpieces. This data may include: service data that the main earpiece needs to send to the secondary earpiece, such as service data of the other user during a call, music data to be played, control and scheduling data in the service, and data collected by the earpieces (e.g., the left or right earpiece) (e.g., noise reduction data). In particular, the two earpieces can transmit their own collected data (e.g., noise reduction data), allowing each earpiece to obtain complete binaural data. After processing the binaural data, the user receives a better audio experience.
[0078] It should be noted that, since data between the master and slave earphones can be transmitted through the first and second transmission modules in this embodiment, the second Bluetooth module 322 in the slave earphone can be omitted in some embodiments. Currently, the master earphone and electronic device generally communicate via Bluetooth module. However, this embodiment does not limit the specific communication method between the master earphone and electronic device; that is, the first Bluetooth module in the master earphone can be replaced with a module that supports other wireless communication technologies. This embodiment does not impose any limitations.
[0079] The data transmission method of this application will be described in more detail below through specific examples.
[0080] Figure 4 This is a schematic diagram illustrating another embodiment of the data transmission method of this application. For example... Figure 4 As shown: the main earphone 41 may include: a first transmission module 411, a first processor 412, and a first codec 413; the slave earphone 42 may include: a second transmission module 421, a second processor 422, and a second codec 423.
[0081] Optionally, the first processor 312 may be a system-on-chip (SOC) of the main headset 31.
[0082] Optionally, the first codec 313 may be the codec of the main earphone 31.
[0083] Alternatively, the second processor 32 may be a SoC from the headset 32.
[0084] Optionally, the second codec 323 may be a codec from the headset 32.
[0085] The first transmission module 411 includes: a first data interface, a first control interface, a first clock interface, a second data interface, a first data processing module, and a first transceiver module.
[0086] The first data interface can be connected to the fifth data interface of the first processor 412. Optionally, the first data interface and the fifth data interface can be I2S interfaces respectively.
[0087] The first control interface can be connected to the third control interface of the first processor 412. Optionally, the first control interface and the third control interface can be I2C interfaces, or the first control interface and the third control interface can be UART interfaces.
[0088] The first clock interface can be connected to the third clock interface of the first processor 412.
[0089] The second data interface can be connected to the sixth data interface of the first codec 413. Optionally, the second data interface and the sixth data interface can be PDM interfaces respectively.
[0090] The first data interface, the first control interface, the first clock interface, and the second data interface are respectively connected to the first data processing module, and the first data processing module is connected to the first transceiver module.
[0091] Optionally, such as Figure 4 As shown, the first processor 412 may include a first PLL module. The first phase-locked loop (PLL) module is used to manage the system clock signal. The system clock signal of the first PLL module can be transmitted to the first data processing module in sequence via the third clock interface and the first clock interface.
[0092] Optionally, such as Figure 4 As shown, the first processor 412 and the first codec 413 can also be connected through a clock interface and a data interface respectively. The first processor 412 can send the system clock signal to the first codec 413 through the clock interface, and the first processor 412 and the first codec 413 can interact with each other through the data interface.
[0093] Optionally, with Figure 3 Similarly, the main earpiece 41 may also include a first Bluetooth module, which can be connected to the first processor 412. The first processor 412 can establish a Bluetooth connection with the paired electronic device through the first Bluetooth module, use the Bluetooth connection to communicate, and receive data sent by the electronic device. The data may include service data, such as audio data, which may be audio data in an audio playback service or audio data of the other end of a call service.
[0094] Optionally, the main earphone 41 may also include a speaker and several microphones. The speaker may be connected to the first codec 413 to receive and play the audio signal output by the first codec 413;
[0095] Microphones can be connected to the first codec 413 to output the picked-up audio signals to the first codec 413. Optionally, the headset 300 may include at least two microphones, one as the main microphone, and may also include microphones such as a single feed-forward (FF) microphone and / or a single feed-back (FB) microphone for other auxiliary functions such as noise reduction.
[0096] The second transmission module 421 may include: a third data interface, a second control interface, a second clock interface, a fourth data interface, a second data processing module, and a second transceiver module.
[0097] The third data interface can be connected to the seventh data interface of the second processor 422. Optionally, the third data interface and the seventh data interface can both be I2S interfaces.
[0098] The second control interface can be connected to the fourth control interface of the second processor 422. Optionally, the second control interface and the fourth control interface can be I2C interfaces, or they can be UART interfaces.
[0099] The second clock interface can be connected to the fourth clock interface of the second processor 422.
[0100] The fourth data interface can be connected to the eighth data interface of the second codec 423. Optionally, the fourth data interface and the eighth data interface can both be PDM interfaces.
[0101] The third data interface, the second control interface, the second clock interface, and the fourth data interface are respectively connected to the second data processing module, and the second data processing module is connected to the second transceiver module.
[0102] Optionally, such as Figure 4 As shown, the second processor 422 may include a second PLL module. The second PLL module is used to manage the system clock signal. The second data processing module can send the recovered clock signal to the second PLL module through the second clock interface and the fourth clock interface. The second PLL module can adjust the system clock signal according to the clock signal.
[0103] Optionally, the earphone 42 may also include a second Bluetooth module, which can be connected to the first processor 422. The first processor 422 can establish a Bluetooth connection with the paired master earphone 41 or listen to Bluetooth signals sent by electronic devices through the second Bluetooth module.
[0104] Optionally, the headphones 42 may also include a speaker and several microphones. The speaker can be connected to the second codec 423 to receive and play the audio signal output by the second codec 423;
[0105] The microphones can be connected to the second codec 423 to output the picked-up audio signals to the first codec 423. Optionally, the headset 300 may include at least two microphones, one as the main microphone, and may also include microphones such as a single feed-forward (FF) microphone and / or a single feed-back (FB) microphone for other auxiliary functions such as noise reduction.
[0106] exist Figure 4 Under the structure of the main earphone 41 shown, the processing procedures performed in the main earphone 41 are as follows: Figure 5 As shown, it includes:
[0107] Step 501: The first processor transmits the first data to the first data processing module sequentially through the fifth data interface and the first data interface.
[0108] The first data may include, but is not limited to: data received from an electronic device, such as audio data, including audio data of the other user during a call, or audio data (such as music) that the electronic device wants the headphones to play.
[0109] Step 502: The first processor transmits the first control data to the first data processing module sequentially through the third control interface and the first control interface.
[0110] The first control data may include, but is not limited to, control and scheduling information for various services supported by the wireless headset, such as increasing or decreasing volume during a call.
[0111] Step 503: The first processor transmits the clock signal sequentially to the first data processing module via the third clock interface and the first clock interface.
[0112] The clock signal can be generated by the PLL module in the first processor.
[0113] Step 504: The first codec transmits the second data to the first data processing module sequentially through the sixth data interface and the second data interface.
[0114] The second data may include, but is not limited to: data used for headphone noise reduction (hereinafter referred to as noise reduction data), such as audio signals collected by the aforementioned single feed-forward (FF) microphone and / or single feed-back (FB) microphone.
[0115] There is no restriction on the execution order between steps 501 to 503 above.
[0116] Steps 501 to 503 are optional steps, and only at least one of the above steps can be executed each time; that is to say, as long as at least one of the above steps is executed, the data processing of the first data processing module in step 505 can be triggered.
[0117] Optionally, the second and sixth data interfaces mentioned above can be PDM interfaces. To reduce the data transmission pressure on the PDM interface and improve its data transmission efficiency, data with relatively high latency requirements in the first codec (e.g., active noise reduction data) can be sent to the first data processing module through the PDM interface; data with relatively low latency requirements in the first codec (e.g., noise reduction data during a call) can be transmitted to the first processor through the data interface between the first codec and the first processor, and then sent to the first data processing module by the first processor through the fifth and first data interfaces mentioned above.
[0118] Step 505: The first data processing module converts the received data into data frames according to the clock signal, generates a corresponding clock synchronization sequence for the data frames, and sends the generated data frames and their corresponding clock synchronization sequences to the first transceiver module.
[0119] In one possible implementation, the aforementioned data frame can be, for example... Figure 6 The structure is shown below. In this structure, the DS frame represents a data frame transmitted from the master earpiece to the slave earpiece, and the US frame represents a data frame transmitted from the slave earpiece to the master earpiece. It can be specified that DS frames and US frames can be transmitted simultaneously, or it can be specified that DS frames and US frames cannot be transmitted simultaneously.
[0120] A DS frame can specifically include: a frame synchronization sequence, a frame header, and frame data. The frame synchronization sequence is the start marker of the data frame; the frame header records relevant information about the frame data, such as address information and error control information; and the frame data carries the specific data to be transmitted. Optionally, each DS frame can transmit only one type of data, such as only I2S data or PDM data. Figure 6 As shown, if a DS frame transmits I2S data, the DS frame may include: a frame synchronization sequence, an I2S frame header, and I2S frame data. Hereinafter, this frame transmitting I2S data will be referred to as an I2S frame. If a DS frame transmits PDM data, the DS frame may include: a frame synchronization sequence, a PDM frame header, and PDM frame data. Hereinafter, this frame transmitting I2S data will be referred to as a PDM frame. The above data type classification is based on the interface through which the first data processing module receives data. Other data type classification methods may exist, which are not limited here.
[0121] For details on the implementation of US frames, please refer to the above description of DS frames; they will not be repeated here.
[0122] In this implementation, the first data processing module can dynamically allocate time slots for data frames to be transmitted based on the preset priority of the data to be transmitted (i.e., the received first data and / or second data and / or first control data). For example, PDM data can have a higher priority than I2S data; therefore, the first data processing module can prioritize allocating time slots for PDM frames. When bandwidth is insufficient, the first data processing module can drop I2S frames and retransmit them to ensure the transmission delay of PDM frames.
[0123] It should be noted that, under this data frame implementation method, if active noise cancellation (ANC) is enabled when transmitting I2S data, then the transmission of PDM data may be delayed by at least one frame.
[0124] In another possible implementation, the aforementioned data frame can be, for example... Figure 7 The structure shown is as follows. In this implementation, a data frame can transmit data of at least two data types.
[0125] Taking a data frame containing two data types as an example, a DS frame can specifically include: a frame synchronization sequence, a mixed frame header, first type data, and second type data. For example, the first type data can be I2S data (corresponding to...). Figure 7 The I2S bits in the structure shown), the second type of data can be PDM data (corresponding to Figure 7 (PDM bits in the structure shown).
[0126] For details on the implementation of US frames, please refer to the above description of DS frames; they will not be repeated here.
[0127] In this implementation, the first data processing module can allocate bits in the data frame according to the preset bandwidth ratio of each type of data (e.g., I2S data and PDM data). This implementation can guarantee the latency of each type of data.
[0128] The two implementation methods described above can also be combined. That is, for data of a certain type (such as active noise reduction data with high latency requirements in PDM data), the first implementation method is used to encapsulate it into a separate data frame, while for data of other types (such as I2S data with relatively low latency requirements and noise reduction data during calls in PDM data), the second implementation method is used to encapsulate it in the same data frame.
[0129] Step 506: The first transceiver module sends the clock synchronization sequence and data frames to the slave headset.
[0130] The first transceiver module can use wireless communication technologies, especially high-bandwidth wireless communication technologies, to send the aforementioned clock synchronization sequence and data frames, such as HBC, WiFi, or UWB.
[0131] In this method, the main earphone encapsulates the data to be transmitted to the slave earphone and transmits it to the slave earphone through a wireless communication method other than the original Bluetooth module in the main earphone. This eliminates the need to occupy the transmission resources of the Bluetooth module in the main earphone, increases the transmission bandwidth between the main earphone and the electronic device, and further increases the transmission bandwidth between the main earphone and the slave earphone. This can improve the business processing effect of the wireless earphone (such as the audio playback effect) and enhance the user experience.
[0132] exist Figure 4 The processing procedures performed from the earphone 42, as shown in the structure of the earphone 42, are as follows: Figure 8 As shown, it includes:
[0133] Step 801: Receive the clock synchronization sequence and data frame sent by the main headset from the second transceiver module of the headset, and send the clock synchronization sequence and data frame to the second data processing module.
[0134] Step 802: The second data processing module recovers the clock signal according to the clock synchronization sequence and obtains the corresponding data from the data frame according to the clock signal.
[0135] The data obtained from the data frame in this step may include: first data, and / or second data, and / or first control data.
[0136] Optionally, this step may also include: the second data processing module sending a clock signal to the PLL module of the second processor through the second clock interface and the fourth clock interface.
[0137] Optionally, the second data processing module may include a clock recovery submodule and a deframe submodule. The clock recovery submodule is used to recover the clock signal according to the clock synchronization sequence, and the deframe submodule is used to obtain the corresponding data from the data frame according to the clock signal.
[0138] Step 803: The second data processing module sends the first data to the second processor sequentially through the third data interface and the seventh data interface.
[0139] Step 804: The second data processing module sends the first control data to the second processor sequentially through the second control interface and the fourth control interface.
[0140] Step 805: The second data processing module sends the second data to the second codec sequentially through the fourth data interface and the eighth data interface.
[0141] There is no restriction on the execution order between steps 803 and 805 above.
[0142] Steps 803 to 805 above are optional steps. Whether each step is executed depends on the data obtained by the second data processing module from the data frame. For example, if only the first data is obtained, only step 803 is executed; if the first data and the first control data are obtained, then steps 803 and 804 are executed; and so on.
[0143] The second codec can perform noise reduction and other processing based on the audio signal in the second data.
[0144] Optionally, the aforementioned second and sixth data interfaces can be PDM interfaces. To reduce the data transmission pressure on the PDM interface and improve its data transmission efficiency, data with relatively high latency requirements (e.g., active noise cancellation data) in the received second data can be sent to the second codec via the PDM interface; data with relatively low latency requirements (e.g., noise cancellation data during a call) in the received second data can be transmitted to the first processor via the data interface between the second data processing module and the second processor, and then sent to the second codec by the second processor via the data interface between the second processor and the second codec.
[0145] In this method, the slave earphone can cooperate with the master earphone and use other devices besides the Bluetooth module, thus avoiding the occupation of the transmission resources of the Bluetooth module in the master earphone, increasing the transmission bandwidth between the master earphone and the electronic device, and increasing the transmission bandwidth between the master earphone and the slave earphone, thereby improving the service processing effect of the wireless earphone (such as audio playback effect) and enhancing the user experience.
[0146] Figure 9 This is a schematic diagram illustrating another embodiment of the data transmission method of this application. Figure 4 The main difference in the scenarios shown is that there are no data transmission interfaces between the first codec and the first transmission module, and between the second codec and the second transmission module; that is, no second data interface and a sixth data interface are provided. For example, if the second data interface is a PDM interface, and the first codec mode is an external or integrated codec that does not support the PDM interface, then the PDM interface of the first transmission module cannot connect to the codec.
[0147] In this scenario, Figure 5 Step 503 shown can be replaced by the following steps: the first codec sends the second data to the first processor through the data interface between the first codec and the first processor; the first processor transmits the second data to the first data processing module in sequence through the fifth data interface and the first data interface.
[0148] Correspondingly, Figure 8 Step 805 shown can be replaced by the following steps: the second data processing module sends the second data to the second processor in sequence through the third data interface and the seventh data interface, and the second processor sends the second data to the second codec.
[0149] Figure 10 This is a schematic diagram illustrating another embodiment of the data transmission method of this application. Figure 4 The main difference between the scenarios shown is that the first transceiver module and the second transceiver module transmit data via a wired connection, and the DS frame and the US frame are transmitted through the same wired link.
[0150] Figure 11 This is a schematic diagram illustrating another embodiment of the data transmission method of this application. Figure 10 The main difference in the illustrated scenario is that the first transceiver module is replaced by a first wired receiving module and a first wired transmitting module, and the second transceiver module is replaced by a second wired receiving module and a second wired transmitting module. Accordingly, the first wired transmitting module can be connected to the second wired receiving module for transmitting DS frames; the first wired receiving module can be connected to the second wired transmitting module for transmitting US frames. In other words, this embodiment has two wired links, one for transmitting DS frames and one for transmitting US frames.
[0151] In this scenario, Figure 5 The first transceiver module in the steps of the method shown can be replaced with a first wired transmission module. Figure 8 The second transceiver module in the steps of the method shown can be replaced with a second wired receiver module, which will not be elaborated here.
[0152] It should be noted that the above Figure 10 and Figure 11 In the scenario diagram shown, there may be no data transmission interface between the first codec and the first transmission module, or between the second codec and the second transmission module. For specific implementation structures and principles, please refer to [reference needed]. Figure 9 The corresponding explanations will not be repeated here.
[0153] It should be noted that the master earphone and slave earphone in the above embodiments can be interchanged. In this case, the slave earphone acts as the data sender and the master earphone acts as the data receiver. The specific implementation structure and processing flow can be referred to the above embodiments, and will not be repeated here.
[0154] It should be noted that the above embodiments take the inclusion of a second processor (e.g., a SOC) in the earphone as an example. In other embodiments provided in this application, the second processor may not be included in the earphone described above. The business processing logic in the main earphone and the earphone is completed by the first processor (e.g., a SOC) in the main earphone. In this case, the earphone may mainly include the second transmission module and the second codec mentioned above. The second codec can be connected to the earphone's speaker, microphone, noise-canceling microphone, etc. Optionally, the earphone may also include other devices such as sensors (e.g., gyroscopes), which can be directly connected to the second transmission module through a data interface. The following examples illustrate this:
[0155] For example, the above Figure 10 This can be extended to the scenario described above where the headphones do not include a second processor; see details below. Figure 12 In contrast Figure 10 The schematic diagram shows that no second processor is installed in the earphone. Accordingly, the second transmission module does not have a second control interface or a second clock interface. Devices such as sensors that were originally connected to the second processor are directly connected to the second data processing module in the second transmission module through the third data interface.
[0156] In this scenario, the second codec of the earphone can send the acquired noise reduction data to the first transmission module of the main earphone through the second transmission module, and then the first transmission module of the main earphone can send it to the first processor and / or the first codec for processing; the aforementioned sensors and other devices of the earphone can send their own operating parameters to the second transmission module through the data interface, and then the second transmission module can send them to the first transmission module of the main earphone. The first transmission module can send the aforementioned operating parameters to the first processor for processing.
[0157] The service data (e.g., audio data) processed by the first processor in the main earphone and / or the noise reduction data obtained by the first codec can be transmitted from the first transmission module to the second transmission module, and then sent by the second transmission module to the second codec for further processing (e.g., noise reduction processing of the audio data based on the noise reduction data, sending the audio data to the speaker for playback, etc.). The operating parameters of the sensors and other devices in the slave earphone processed by the first processor in the main earphone can be transmitted from the first transmission module to the second transmission module, and then transmitted by the second transmission module to the aforementioned sensors and other devices through the third data interface, thereby enabling the first processor to set and adjust the operating parameters of the sensors and other devices in the slave earphone. Since the first processor performs service processing in both the main and slave earphones, the aforementioned service control data generally does not need to be transmitted to the slave earphone.
[0158] It should be noted that the above Figure 4 , Figure 9 and Figure 11 The scenario shown can also be extended to the scenario described above where the headphones do not include a second processor; please refer to the above for details. Figure 12 The corresponding description in [the document] will not be repeated here.
[0159] This application provides a wireless earphone, including this application. Figures 3 to 11 The illustrated embodiment provides either the master earphone and / or slave earphone.
[0160] This application also provides a computer-readable storage medium storing a computer program that, when run on a computer, causes the computer to execute this application. Figures 3 to 11 The method provided in the illustrated embodiment.
[0161] This application also provides a computer program product, which includes a computer program that, when run on a computer, causes the computer to execute this application. Figures 3 to 11 The method provided in the illustrated embodiment.
[0162] In this application embodiment, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent the existence of A alone, A and B simultaneously, or B alone. A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of singular or plural items. For example, at least one of a, b, and c can represent: a, b, c, a and b, a and c, b and c, or a and b and c, where a, b, and c can be single or multiple.
[0163] Those skilled in the art will recognize that the units and algorithm steps described in the embodiments disclosed herein can be implemented using electronic hardware, computer software, or a combination of electronic hardware and software. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0164] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0165] In the several embodiments provided in this application, any function, if implemented as a software functional unit and sold or used as an independent product, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0166] The above description is merely a specific embodiment of this application. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the protection scope of this application. The protection scope of this application should be determined by the protection scope of the claims.
Claims
1. A data transmission method applied to a first earpiece in a wireless headset, the wireless headset further comprising a second earpiece, characterized in that, The method includes: Acquire the data to be transmitted and the clock signal; The data to be transmitted is converted into data frames, and a clock synchronization sequence is generated for the data frames according to the clock signal; The data frame and the corresponding clock synchronization sequence are sent to the second earpiece. The step of converting the data to be transmitted into data frames includes: The data to be transmitted is encapsulated into data frames according to data type, and each data frame includes the data to be transmitted of one data type; or, The step of converting the data to be transmitted into data frames includes: The data to be transmitted is encapsulated into the corresponding bit positions of the data types in the same data frame, and the data frame includes bit positions corresponding to at least two data types.
2. The method according to claim 1, characterized in that, Sending the data frame and the corresponding clock synchronization sequence to the second earphone includes: The data frames are scheduled in ascending order of their latency requirements. According to the scheduling order, the data frame and the clock synchronization sequence corresponding to the data frame are sent to the second earphone.
3. The method according to claim 1 or 2, characterized in that, The first earphone includes: a first codec, wherein acquiring the data to be transmitted includes: Receive the noise-reduced data sent by the first codec.
4. The method according to claim 3, characterized in that, The receiving of the noise-reduced data sent by the first codec includes: Receive the noise-reduced data directly sent by the first codec; or, The device receives noise reduction data sent by the first codec via a first processor, which is located in the first earphone.
5. The method according to claim 1 or 2, characterized in that, The first earphone includes: a first processor, wherein acquiring the data to be transmitted includes: Receive service data sent by the first processor; and / or, Receive service control data sent by the first processor.
6. The method according to claim 1 or 2, characterized in that, Sending the data frame and the corresponding clock synchronization sequence to the second earphone includes: The data frame and its corresponding clock synchronization sequence are sent to the second earphone using a preset wireless communication method; or... The data frame and the corresponding clock synchronization sequence are sent to the second earphone using a preset wired communication method.
7. The method according to claim 6, characterized in that, The wireless communication method is one of the following: HBC, WiFi, UWB, Super Bluetooth, or ultrasonic communication.
8. The method according to claim 6, characterized in that, The first earphone and the second earphone include a first wired line and a second wired line, the first wired line being used to transmit data sent from the first earphone to the second earphone; The second wired line is used to transmit data sent from the second earphone to the first earphone; The step of sending the data frame and the corresponding clock synchronization sequence to the second earphone using a preset wired communication method includes: The data frame and the corresponding clock synchronization sequence are sent to the second earphone using the first wired line.
9. The method according to claim 6, characterized in that, A third wired line is included between the first earphone and the second earphone, the third wired line being used to transmit data sent from the first earphone to the second earphone, and data sent from the second earphone to the first earphone; The step of sending the data frame and the corresponding clock synchronization sequence to the second earphone using a preset wired communication method includes: The data frame and the corresponding clock synchronization sequence are sent to the second earphone using the third wired line.
10. A data transmission method applied to a second earpiece in a wireless earphone, the wireless earphone further comprising a first earpiece, characterized in that, The method includes: The device receives a clock synchronization sequence and a data frame sent by the first earpiece; the first earpiece is used to convert the data to be transmitted into the data frame. The clock synchronization sequence is restored to a clock signal, and the data to be transmitted is parsed from the data frame based on the clock signal; The step of converting the data to be transmitted into the data frame includes: The data to be transmitted is encapsulated into data frames according to data type, and each data frame includes the data to be transmitted of one data type; or, The step of converting the data to be transmitted into the data frame includes: The data to be transmitted is encapsulated into the corresponding bit positions of the data types in the same data frame, and the data frame includes bit positions corresponding to at least two data types.
11. The method according to claim 10, characterized in that, The data to be transmitted includes: service data and / or noise reduction data; the second earphone includes: a second codec; the method further includes: The business data and / or noise reduction data are sent to the second codec.
12. The method according to claim 10, characterized in that, The data to be transmitted includes: service data, and / or service control data, and / or noise reduction data; the second earphone includes: a second processor and a second codec; the method further includes: Send the business data to the second processor; and / or, Send the service control data to the second processor; and / or, The noise-reduced data is sent to the second codec.
13. The method according to claim 12, characterized in that, Sending the noise-reduced data to the second codec includes: The noise-reduced data is sent directly to the second codec; or... The noise reduction data is sent to the second codec via the second processor.
14. The method according to any one of claims 10 to 13, characterized in that, The receiving of the clock synchronization sequence and data frames sent by the first earphone includes: Receive the clock synchronization sequence and data frames sent by the first earphone using a preset wireless communication method; or, The clock synchronization sequence and data frames sent by the first earphone are received using a preset wired communication method.
15. The method according to claim 14, characterized in that, The wireless communication method is one of the following: HBC, WiFi, UWB, Super Bluetooth, or ultrasonic communication.
16. The method according to claim 14, characterized in that, The first earphone and the second earphone are connected by a first wired line and a second wired line. The first wired line is used to transmit data sent from the first earphone to the second earphone; the second wired line is used to transmit data sent from the second earphone to the first earphone. The step of receiving the clock synchronization sequence and data frames sent by the first earphone using a preset wired communication method includes: The first wired line is used to receive the clock synchronization sequence and data frames sent by the first earphone.
17. The method according to claim 14, characterized in that, A third wired line is included between the first earphone and the second earphone, the third wired line being used to transmit data sent from the first earphone to the second earphone, and data sent from the second earphone to the first earphone; The step of receiving the clock synchronization sequence and data frames sent by the first earphone using a preset wired communication method includes: The third wired line is used to receive the clock synchronization sequence and data frames sent by the first earphone.
18. A data transmission device, applied to a first earpiece in a wireless headset, the wireless headset further comprising a second earpiece, characterized in that, The device includes: a first data processing module and a first transceiver module, wherein... The first data processing module is connected to the first transceiver module; The first data processing module is configured to: acquire data to be transmitted and a clock signal; convert the data to be transmitted into a data frame, and generate a clock synchronization sequence for the data frame according to the clock signal; and send the data frame and the clock synchronization sequence corresponding to the data frame to the first transceiver module. The first transceiver module is used to: send the data frame and the clock synchronization sequence corresponding to the data frame to the second earpiece; The first data processing module is used to: convert the data to be transmitted into data frames, including: The first data processing module is specifically used to: encapsulate the data to be transmitted into data frames according to data type, wherein each data frame includes the data to be transmitted of one data type; or, The first data processing module is used to: convert the data to be transmitted into data frames, including: The first data processing module is specifically used to: encapsulate the data to be transmitted into the corresponding bit positions of the data types in the same data frame, wherein the data frame includes bit positions corresponding to at least two data types.
19. The apparatus according to claim 18, characterized in that, The first data processing module is configured to: send the data frame and the clock synchronization sequence corresponding to the data frame to the first transceiver module, including: The first data processing module is specifically used to: schedule the data frames in ascending order of the latency requirements of the data frames; and send the data frames and the clock synchronization sequence corresponding to the data frames to the first transceiver module in the scheduling order.
20. The apparatus according to claim 18 or 19, characterized in that, The first earphone includes: a first codec, which is connected to the first data processing module; The first data processing module is used to: acquire the data to be transmitted and a clock signal, including: The first data processing module is used to: receive the noise-reduced data sent by the first codec.
21. The apparatus according to claim 20, characterized in that, The first data processing module is configured to: receive noise-reduced data sent by the first codec, including: The first data processing module is specifically used to: receive noise-reduced data sent by the first codec through the interface between the first codec and the first data processing module; or, The first data processing module is specifically used to: receive noise reduction data sent by the first processor through the interface between the first processor and the first data processing module, wherein the noise reduction data is sent to the first processor by the first codec through the interface between the first codec and the first processor, and the first processor is located in the first earphone.
22. The apparatus according to claim 18 or 19, characterized in that, The first earphone includes: a first processor, and the first data processing module is used to: acquire data to be transmitted and a clock signal, including: The first data processing module is specifically used to: receive service data sent by the first processor; and / or receive service control data sent by the first processor.
23. The apparatus according to claim 18 or 19, characterized in that, The first transceiver module is configured to: send the data frame and the clock synchronization sequence corresponding to the data frame to the second earpiece, including: The first transceiver module is specifically used to: transmit the data frame and the clock synchronization sequence corresponding to the data frame to the second earphone using a preset wireless communication method; or, The first transceiver module is specifically used to: send the data frame and the clock synchronization sequence corresponding to the data frame to the second earphone using a preset wired communication method.
24. The apparatus according to claim 23, characterized in that, The wireless communication method is one of the following: HBC, WiFi, UWB, Super Bluetooth, or ultrasonic communication.
25. The apparatus according to claim 23, characterized in that, The first transceiver module and the second earphone are connected by a first wired line and a second wired line. The first wired line is used to transmit data sent from the first earphone to the second earphone; the second wired line is used to transmit data sent from the second earphone to the first earphone. The first transceiver module is configured to: transmit the data frame and the corresponding clock synchronization sequence to the second earpiece using a preset wired communication method, including: The first transceiver module is specifically used to: send the data frame and the clock synchronization sequence corresponding to the data frame to the second earphone using the first wired line.
26. The apparatus according to claim 23, characterized in that, A third wired line is included between the first transceiver module and the second earphone, the third wired line being used to transmit data sent from the first earphone to the second earphone, and data sent from the second earphone to the first earphone; The first transceiver module is configured to: transmit the data frame and the corresponding clock synchronization sequence to the second earpiece using a preset wired communication method, including: The first transceiver module is specifically used to: send the data frame and the clock synchronization sequence corresponding to the data frame to the second earphone using the third wired line.
27. A data transmission device applied to a second earpiece in a wireless headset, the wireless headset further comprising a first earpiece, characterized in that, The device includes: a second transceiver module and a second data processing module; wherein... The second data processing module is connected to the second transceiver module; The second transceiver module is used to: receive the clock synchronization sequence and data frame sent by the first earphone, and send the clock synchronization sequence and the data frame to the second data processing module; The second data processing module is used to: restore the clock synchronization sequence to a clock signal, and parse the data to be transmitted from the data frame according to the clock signal; The first earpiece is used to convert the data to be transmitted into the data frame; The step of converting the data to be transmitted into the data frame includes: The data to be transmitted is encapsulated into data frames according to data type, and each data frame includes the data to be transmitted of one data type; or, The step of converting the data to be transmitted into the data frame includes: The data to be transmitted is encapsulated into the corresponding bit positions of the data types in the same data frame, and the data frame includes bit positions corresponding to at least two data types.
28. The apparatus according to claim 27, characterized in that, The data to be transmitted includes: service data and / or noise reduction data, and the second earphone includes: a second codec; The second codec is connected to the second data processing module; The second data processing module is further configured to: send the business data and / or noise reduction data to the second codec.
29. The apparatus according to claim 27, characterized in that, The data to be transmitted includes: service data, and / or service control data, and / or noise reduction data; the second earphone includes: a second processor and a second codec. The second codec is connected to the second data processing module, and the second processor is connected to the second data processing module; The second data processing module is further configured to: send the service data to the second processor; and / or send service control data to the second processor; and / or send noise reduction data to the second codec.
30. The apparatus according to claim 29, characterized in that, The second data processing module is used to: send the noise-reduced data to the second codec, including: The second data processing module is specifically used to: directly send the noise-reduced data to the second codec; or, The second data processing module is specifically used to: send the noise-reduced data to the second processor through an interface with the second processor, and the second processor is used to send the noise-reduced data to the second codec.
31. The apparatus according to any one of claims 27 to 30, characterized in that, The second transceiver module is used to: receive the clock synchronization sequence and data frames sent by the first earpiece, including: The second transceiver module is specifically used to: receive the clock synchronization sequence and data frames sent by the first earphone using a preset wireless communication method; or, receive the clock synchronization sequence and data frames sent by the first earphone using a preset wired communication method.
32. The apparatus according to claim 31, characterized in that, The wireless communication method is one of the following: HBC, WiFi, UWB, Super Bluetooth, or ultrasonic communication.
33. The apparatus according to claim 31, characterized in that, The first earphone and the second earphone are connected by a first wired line and a second wired line. The first wired line is used to transmit data sent from the first earphone to the second earphone; the second wired line is used to transmit data sent from the second earphone to the first earphone. The second transceiver module is used to: receive the clock synchronization sequence and data frames sent by the first earphone using a preset wired communication method, including: The second transceiver module is specifically used to: receive the clock synchronization sequence and data frames sent by the first earphone using the first wired line.
34. The apparatus according to claim 31, characterized in that, A third wired line is included between the first earphone and the second earphone, the third wired line being used to transmit data sent from the first earphone to the second earphone, and data sent from the second earphone to the first earphone; The second transceiver module is used to: receive the clock synchronization sequence and data frames sent by the first earphone using a preset wired communication method, including: The second transceiver module is specifically used to: receive the clock synchronization sequence and data frames sent by the first earphone using the third wired line.
35. A first type of earphone, characterized in that, The first earphone further includes: the data transmission device according to any one of claims 18 to 26.
36. A second earphone, characterized in that, The second earphone further includes: the data transmission device according to any one of claims 27 to 34.
37. A wireless earphone, characterized in that, It includes the first earphone as described in claim 35 and the second earphone as described in claim 36.