CN114885251A - TWS earphone system low-delay transmission method, device, equipment and storage medium - Google Patents

TWS earphone system low-delay transmission method, device, equipment and storage medium Download PDF

Info

Publication number
CN114885251A
CN114885251A CN202110163764.2A CN202110163764A CN114885251A CN 114885251 A CN114885251 A CN 114885251A CN 202110163764 A CN202110163764 A CN 202110163764A CN 114885251 A CN114885251 A CN 114885251A
Authority
CN
China
Prior art keywords
charging box
low
audio
wireless earphone
delay
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110163764.2A
Other languages
Chinese (zh)
Inventor
刘涛
刘志雄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen 3Nod Digital Technology Co Ltd
Original Assignee
Shenzhen 3Nod Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen 3Nod Digital Technology Co Ltd filed Critical Shenzhen 3Nod Digital Technology Co Ltd
Priority to CN202110163764.2A priority Critical patent/CN114885251A/en
Publication of CN114885251A publication Critical patent/CN114885251A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive loop type
    • H04B5/72
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1025Accumulators or arrangements for charging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application relates to a Bluetooth headset technology and discloses a low-delay transmission method, a device, equipment and a storage medium of a TWS headset system, wherein the TWS headset system comprises a wireless headset and a charging box, and the method comprises the following steps: detecting the overall state of the charging box; when the charging box is detected to be inserted into a third-party device through a USB, establishing a low-delay Bluetooth connection between the charging box and the wireless earphone; when the low-delay Bluetooth is successfully connected, the charging box receives the audio sent by the third-party equipment, encodes the audio into a low-delay encoding format and then sends the encoded audio to the wireless earphone; and the wireless earphone decodes and plays the coded audio. The method and the device can realize low-delay transmission of the audio between the wireless earphone and the third-party equipment.

Description

TWS earphone system low-delay transmission method, device, equipment and storage medium
Technical Field
The present application relates to the field of bluetooth headset technology, and in particular, to a low latency transmission method, apparatus, device, and storage medium for a TWS headset system.
Background
The two earphones are connected with each other through a wired connection mode. The problem of traditional wired earphone twine easily is solved to save the wire rod, convenient to carry wears fashion pleasing to the eye. In addition, the left and right earphones can independently output audio to obtain higher sound quality effect, so the TWS earphone is more and more popular at present. In order to improve the cruising ability of the TWS headset, a charging box is generally configured to supplement the electric quantity, and the headset can be placed in the charging box for storage when not in use.
However, the current audio transmission delay is large, generally more than 220 milliseconds, and under the delay, the music experience of the corresponding user cannot be greatly influenced, but the user experience is influenced by too large delay when the user needs to watch videos, play games and other applications requiring sound and picture synchronization. Therefore, how to solve the problem of excessive audio transmission delay becomes an urgent problem to be solved.
Disclosure of Invention
The application provides a low-delay transmission method, a low-delay transmission device, low-delay transmission equipment and a low-delay transmission storage medium of a TWS (two way satellite system) earphone system, and aims to solve the problem of overlarge audio transmission delay in the prior art.
To solve the above problems, the present application provides a low-delay transmission method of a TWS headset system including a wireless headset and a charging box, the method including:
detecting an overall state of the charging box;
when the charging box is detected to be inserted into a third-party device through a USB, establishing a low-delay Bluetooth connection between the charging box and the wireless earphone;
when the low-delay Bluetooth is successfully connected, the charging box receives the audio sent by the third-party equipment, encodes the audio into a low-delay encoding format and then sends the encoded audio to the wireless earphone;
and the wireless earphone decodes and plays the encoded audio.
Further, the establishing the low-latency bluetooth connection between the charging box and the wireless headset includes:
starting a Bluetooth chip of the charging box;
and connecting and pairing the wireless earphone through a pre-bound pairing address to establish low-delay Bluetooth connection.
Further, after the detecting the overall state of the charging box, the method further includes:
when detecting that a box cover of the charging box is opened and triggering a common mode of the charging box, performing common Bluetooth connection on the wireless earphone and the third-party equipment;
when the common Bluetooth connection is successful, the wireless earphone receives the audio in the common coding format sent by the third-party equipment;
and the wireless earphone decodes and plays the audio in the common coding format.
Further, after the detecting the overall state of the charging box, the method further includes:
and when the wireless earphone is detected to be placed in the charging box and the box cover is closed, the wireless earphone is charged by utilizing the discharging of the charging box.
Further, after the detecting the overall state of the charging box, the method further includes:
and when the fact that the charging box is inserted into the charging device is detected, a preset charging mode is started to charge the charging box.
In order to solve the above problems, the present application also provides a TWS headset system low-delay transmission device including a wireless headset and a charging box, the device including:
the detection module is used for detecting the overall state of the charging box;
the charging box connecting module is used for establishing low-delay Bluetooth connection between the charging box and the wireless earphone when detecting that the charging box is inserted into third-party equipment through a USB;
the receiving and encoding module is used for receiving the audio sent by the third-party equipment by the charging box when the low-delay Bluetooth connection is successful, encoding the audio into a low-delay encoding format and sending the encoded audio to the wireless earphone;
and the first decoding playing module is used for decoding and playing the encoded audio by the wireless earphone.
Further, the charging box connection module includes: the Bluetooth starting sub-module and the pairing connection sub-module;
the Bluetooth starting sub-module is used for starting a Bluetooth chip of the charging box;
and the pairing connection submodule is used for connecting and pairing the wireless earphone through a pre-bound pairing address to establish low-delay Bluetooth connection.
Further, the apparatus further comprises: the third-party equipment connection module, the audio receiving module and the second decoding playing module;
the third-party equipment connecting module is used for carrying out common Bluetooth connection on the wireless earphone and the third-party equipment when detecting that a box cover of the charging box is opened and triggering a common mode of the charging box;
the audio receiving module is used for receiving the audio in the common coding format sent by the third-party equipment by the wireless earphone when the common Bluetooth connection is successful;
and the second decoding playing module is used for decoding and playing the audio in the common coding format by the wireless earphone.
In order to solve the above problem, the present application also provides a computer device, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the TWS headset system low latency transmission method as described above.
In order to solve the above problem, the present application further provides a non-volatile computer readable storage medium, on which computer readable instructions are stored, which when executed by a processor, implement the TWS headset system low-latency transmission method as described above.
Compared with the prior art, the low-delay transmission method, the low-delay transmission device, the low-delay transmission equipment and the low-delay transmission storage medium of the TWS headset system provided by the embodiment of the application have the following beneficial effects:
the current state of the charging box is obtained by detecting the overall state of the charging box, and corresponding processing is further carried out according to the current state; when the charging box is detected to be inserted into a third-party device through a USB, establishing low-delay Bluetooth connection between the charging box and the wireless earphone, and realizing low-delay data transmission between the wireless earphone and the charging box; when the low-delay Bluetooth is successfully connected, the charging box receives the audio sent by the third-party equipment, encodes the audio into a low-delay encoding format and then sends the encoded audio to the wireless earphone, the charging box is used as a bridge for connecting the third-party equipment and the wireless earphone, the charging box and the third-party equipment are connected through a USB (universal serial bus), the audio is quickly transmitted to the charging box, and the low-delay Bluetooth connection is established between the charging box and the wireless earphone, so that the low-delay playing audio of the wireless earphone is realized; and the wireless earphone decodes and plays the coded audio. Thus, a low-delay transmission of audio between the wireless headset and the third party device is achieved.
Drawings
In order to more clearly illustrate the solution of the present application, a brief description will be given below of the drawings required for describing the embodiments of the present application, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without inventive effort.
Fig. 1 is a schematic flowchart of a low-delay transmission method of a TWS headset system according to an embodiment of the present application;
FIG. 2 is a block diagram of a TWS headset system low-latency transmission device according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs; the terminology used in the description of the application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application; the terms "including" and "having," and any variations thereof, in the description and claims of this application and the description of the above figures are intended to cover non-exclusive inclusions. The terms "first," "second," and the like in the description and claims of this application or in the above-described drawings are used for distinguishing between different objects and not for describing a particular order.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. One skilled in the art will explicitly or implicitly appreciate that the embodiments described herein can be combined with other embodiments.
The application provides a TWS headset system low-delay transmission method. Referring to fig. 1, a schematic flow chart of a low-delay transmission method of a TWS headset system according to an embodiment of the present application is shown.
In this embodiment, the TWS headset system low-delay transmission method includes:
s1, detecting the overall state of the charging box;
specifically, detect the whole state of box that charges through the sensor, whole state includes the lid state of the box that charges, the connection state of the box that charges and the user trigger the box that charges and is located the mode.
Further, after the detecting the overall state of the charging box, the method further includes:
when detecting that a box cover of the charging box is opened and triggering a common mode of the charging box, performing common Bluetooth connection on the wireless earphone and the third-party equipment;
when the common Bluetooth connection is successful, the wireless earphone receives the audio in the common coding format sent by the third-party equipment;
and the wireless earphone decodes and plays the audio in the common coding format.
Specifically, in a common mode triggered by a user, the default requirement on the delay of the wireless headset is not high, and in order to better experience the portability of the TWS headset system, the wireless headset is directly connected with third-party equipment through common Bluetooth; when the wireless earphone and the third-party equipment both support the protocol of low-delay transmission, the wireless earphone and the third-party equipment can be connected by low-delay Bluetooth, and when the third-party equipment does not support, only the ordinary Bluetooth connection can be established.
Such as sub-band coding (SBC) or Advanced Audio Coding (AAC), etc.
The portability of the TWS headset system is realized by the free selection of the connection mode by the user.
Further, after the detecting the overall state of the charging box, the method further includes:
and when the wireless earphone is detected to be placed in the charging box and the box cover is closed, the wireless earphone is charged by utilizing the discharging of the charging box.
Specifically, when the wireless earphone is placed in the charging box and the box cover is in a closed state, the wireless earphone is charged by using the charging box.
Through the state that detects, charge to wireless earphone, guaranteed that wireless earphone can supply the electric quantity often.
Further, after the detecting the overall state of the charging box, the method further includes:
and when the fact that the charging box is inserted into the charging device is detected, a preset charging mode is started to charge the charging box.
Specifically, when it is detected that the charging box is inserted into the charging device through the power line, the charging box is charged by the charging device through a preset charging mode.
The charging box is charged by utilizing the preset charging mode, so that the sufficient electric quantity of the charging box is ensured.
S2, when detecting that the charging box is inserted into a third-party device through a USB, establishing a low-delay Bluetooth connection between the charging box and the wireless earphone;
specifically, when a sensor in the charging box detects that the charging box is inserted into a third-party device through a USB, the charging box is connected with the wireless earphone in a low-delay Bluetooth mode, the third-party device comprises mobile devices such as a mobile phone and a notebook computer and also comprises electronic devices such as a desktop computer, when the charging box is detected to be inserted into the third-party device through the USB, the charging box enters a game mode, and the charging box is automatically connected with the wireless earphone in a low-delay Bluetooth mode.
Because some third-party devices do not support the low-delay transmission protocol of the wireless headset, a bridge is built between the third-party devices and the wireless headset through the charging box, and the low-delay transmission protocol is supported between the charging box and the third-party devices, so that data can be transmitted between the charging box and the wireless headset with low delay; and the third-party device is connected with the charging box through the USB, and the transmission speed between the third-party device and the charging box is extremely high, for example, the highest transmission rate of the existing USB3.1 can reach 1.25GB/S, so the delay of the third-party device for transmitting data to the charging box is hardly considered.
The third-party equipment can receive and play audio with low delay by the wireless earphone when the low-delay transmission protocol of the third-party equipment is not supported.
In other embodiments of the present application, when the charging box is connected to the third-party device through the USB, the third-party device may further charge the charging box through the USB.
Further, the establishing the low-latency bluetooth connection between the charging box and the wireless headset includes:
starting a Bluetooth chip of the charging box;
and connecting and pairing the wireless earphone through a pre-bound pairing address to establish low-delay Bluetooth connection.
Specifically, the bluetooth chip may be a CSR8670 chip supporting Aptx LL, and the chip supports low-delay transmission of data, where the minimum delay may be less than 40 milliseconds; the method comprises the steps that firstly, a Bluetooth chip of the charging box is started, pairing addresses are bound to each pair of the charging box and the wireless earphone when the charging box leaves a factory, so that the charging box is quickly connected with the wireless earphone, the step of scanning and reconnection is omitted, the charging box and the wireless earphone are connected and paired through the pre-bound pairing addresses, and low-delay Bluetooth connection is established.
The wireless earphone is connected with the charging box by starting the Bluetooth chip and according to the pre-bound pairing address, so that the quick low-delay Bluetooth connection establishment between the charging box and the wireless earphone is realized, and the connection efficiency is improved.
S3, when the low-delay Bluetooth connection is successful, the charging box receives the audio sent by the third-party equipment, codes the audio into a low-delay coding format and then sends the audio to the wireless earphone;
specifically, when the low-latency bluetooth connection is successful, the third-party device transmits audio to the charging box through the USB, the third-party device transmits uncoded audio to the charging box, and the charging box encodes the audio into a low-latency format and transmits the encoded audio to the wireless headset after receiving the audio. The low-delay code, for example, Aptx LL of CSR, can reduce the play delay of the wireless headset to below 40 ms by using Aptx LL protocol, and to achieve this delay, it is necessary that the charging box and the wireless headset both support this protocol.
And S4, the wireless earphone decodes and plays the coded audio.
Specifically, after the wireless headset receives the encoded audio, the wireless headset decodes and plays the audio, thereby realizing low-delay audio playing.
The charging box and the third-party equipment are connected by using a USB, a low-delay Bluetooth connection is established between the charging box and the wireless earphone, and the audio is in a low-delay coding format during transmission between the charging box and the wireless earphone, so that a user can play games or watch videos and other scenes needing low delay on the third equipment, and the user experience can be greatly improved. High delays when the wireless headset is directly connected to the third party device are avoided.
The current state of the charging box is obtained by detecting the overall state of the charging box, and corresponding processing is further carried out according to the current state; when detecting that the charging box is inserted into a third-party device through a USB, establishing low-delay Bluetooth connection between the charging box and the wireless earphone, and realizing low-delay data transmission between the wireless earphone and the charging box; when the low-delay Bluetooth is successfully connected, the charging box receives the audio sent by the third-party equipment, encodes the audio into a low-delay encoding format and then sends the encoded audio to the wireless earphone, the charging box is used as a bridge for connecting the third-party equipment and the wireless earphone, the charging box and the third-party equipment are connected through a USB (universal serial bus), the audio is quickly transmitted to the charging box, and the low-delay Bluetooth connection is established between the charging box and the wireless earphone, so that the low-delay playing audio of the wireless earphone is realized; and the wireless earphone decodes and plays the coded audio. Thus, a low delay transmission of audio between the wireless headset and the third party device is achieved.
Fig. 2 is a functional block diagram of the low-delay transmission device of the TWS headset system of the present application.
The TWS headset system low-latency transmission apparatus 100 of the present application may be installed in an electronic device. According to the realized functions, the TWS headset system low-delay transmission device 100 may include a detection module 101, a charging box connection module 102, a receiving and encoding module 103, and a first decoding and playing module 104. A module, which may also be referred to as a unit in this application, refers to a series of computer program segments that can be executed by a processor of an electronic device and that can perform a fixed function, and that are stored in a memory of the electronic device.
In the present embodiment, the functions regarding the respective modules/units are as follows:
a detection module 101 for detecting the overall state of the charging box;
specifically, the detection module 101 detects the overall state of the charging box through the sensor, where the overall state includes a box cover state of the charging box, a connection state of the charging box, and a mode of the charging box triggered by the user.
The charging box connection module 102 is configured to establish a low-latency bluetooth connection between the charging box and the wireless headset when it is detected that the charging box is inserted into a third-party device through a USB;
specifically, a bridge is built between the third-party device and the wireless headset through the charging box by the charging box connection module 102, and a low-delay transmission protocol is supported between the charging box and the third-party device, so that data can be transmitted between the charging box and the wireless headset with low delay; and the third-party device is connected with the charging box through the USB, and the transmission speed between the third-party device and the charging box is extremely high, for example, the highest transmission rate of the existing USB3.1 can reach 1.25GB/S, so the delay of the third-party device for transmitting data to the charging box is hardly considered.
Further, the charging box connection module 102 includes a bluetooth start sub-module and a pairing connection sub-module;
the Bluetooth starting sub-module is used for starting a Bluetooth chip of the charging box;
and the pairing connection submodule is used for connecting and pairing the wireless earphone through a pre-bound pairing address to establish low-delay Bluetooth connection.
Specifically, the bluetooth chip may be a CSR8670 chip supporting Aptx LL, and the chip supports low-delay transmission of data, where the minimum delay may be less than 40 milliseconds; the method comprises the steps that firstly, a Bluetooth chip of the charging box is started, pairing addresses are bound to each pair of the charging box and the wireless earphone when the charging box leaves a factory, so that the charging box is quickly connected with the wireless earphone, the step of scanning and reconnection is omitted, the charging box and the wireless earphone are connected and paired through the pre-bound pairing addresses, and low-delay Bluetooth connection is established.
Through the cooperation of the Bluetooth starting submodule and the pairing connection submodule, the Bluetooth chip is started, the wireless earphone is connected with the charging box according to the pre-bound pairing address, the quick low-delay Bluetooth connection establishment between the charging box and the wireless earphone is realized, and the connection efficiency is improved.
The receiving and encoding module 103 is configured to, when the low-latency bluetooth connection is successful, receive the audio sent by the third-party device by the charging box, encode the audio into a low-latency encoding format, and send the encoded audio to the wireless headset;
specifically, when the low-latency bluetooth connection is successful, the receiving and encoding module 103 transmits audio to the charging box through the USB by the third-party device, transmits the audio to the charging box without encoding by the third-party device, and after receiving the audio, the charging box encodes the audio into a low-latency format and transmits the encoded audio to the wireless headset. The low-delay code, for example, Aptx LL of CSR, can reduce the play delay of the wireless headset to below 40 ms by using Aptx LL protocol, and to achieve this delay, it is necessary that the charging box and the wireless headset both support this protocol.
A first decoding playing module 104, configured to decode and play the encoded audio by the wireless headset.
Specifically, after the wireless earphone receives the encoded audio through the first decoding and playing module, the wireless earphone decodes and plays the audio, so that the audio is played with low delay.
Furthermore, the device also comprises a third-party equipment connecting module, an audio receiving module and a second decoding playing module;
the third-party equipment connecting module is used for carrying out common Bluetooth connection on the wireless earphone and the third-party equipment when detecting that a box cover of the charging box is opened and triggering a common mode of the charging box;
the audio receiving module is used for receiving the audio in the common coding format sent by the third-party equipment by the wireless earphone when the common Bluetooth connection is successful;
and the second decoding playing module is used for decoding and playing the audio in the common coding format by the wireless earphone.
Specifically, in a common mode triggered by a user, the default requirement on the delay of the wireless headset is not high, and in order to better experience the portability of the TWS headset system, the wireless headset is directly connected with third-party equipment through common Bluetooth; when the wireless earphone and the third-party equipment both support a low-delay transmission protocol, the wireless earphone and the third-party equipment can be connected in a low-delay Bluetooth mode, and when the third-party equipment does not support the low-delay transmission protocol, only a common Bluetooth connection can be established;
the user can freely select a connection mode through the cooperation of the three-party equipment connection module, the audio receiving module and the second decoding playing module, and the portability of the TWS earphone system is realized.
Further, the apparatus further comprises: a discharge module;
and the discharging module is used for charging the wireless earphone by utilizing the discharging of the charging box when the wireless earphone is detected to be placed into the charging box and the box cover is closed.
The wireless earphone is charged through the detected state of the discharging module, so that the wireless earphone can supplement electric quantity constantly.
Further, the apparatus further comprises: a charging module;
and the charging module is used for starting a preset charging mode when the charging box is detected to be inserted into the charging equipment, and charging the charging box by using the charging equipment.
The charging module charges the charging box by utilizing a preset charging mode, so that the sufficient electric quantity of the charging box is ensured.
By adopting the device, the TWS headset system low-delay transmission device 100 realizes low-delay transmission of audio between the wireless headset and the third-party device through the matching use of the detection module 101, the charging box connection module 102, the receiving and encoding module 103 and the first decoding and playing module 104.
In order to solve the technical problem, an embodiment of the present application further provides a computer device. Referring to fig. 3, fig. 3 is a block diagram of a basic structure of a computer device according to the present embodiment.
The computer device 3 comprises a memory 31, a processor 32, a network interface 33 communicatively connected to each other via a system bus. It is noted that only the computer device 3 having the components 31-33 is shown in the figure, but it is to be understood that not all of the shown components are required to be implemented, and that more or less components may be implemented instead. As will be understood by those skilled in the art, the computer device 3 is a device capable of automatically performing numerical calculation and/or information processing according to a preset or stored instruction, and the hardware includes, but is not limited to, a microprocessor, an Application Specific Integrated Circuit (ASIC), a Programmable Gate Array (FPGA), a Digital Signal Processor (DSP), an embedded device, and the like.
The computer device can be a desktop computer, a notebook, a palm computer, a cloud server and other computing devices. The computer equipment can carry out man-machine interaction with a user through a keyboard, a mouse, a remote controller, a touch panel or voice control equipment and the like.
The memory 31 includes at least one type of readable storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the memory 31 may be an internal storage unit of the computer device 3, such as a hard disk or a memory of the computer device 3. In other embodiments, the memory 31 may also be an external storage device of the computer device 3, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the computer device 3. Of course, the memory 31 may also comprise both an internal storage unit of the computer device 3 and an external storage device thereof. In this embodiment, the memory 31 is generally used for storing computer readable instructions of various types of application software and operating systems installed on the computer device 3, such as a TWS headset system low-latency transmission method. Further, the memory 31 may also be used to temporarily store various types of data that have been output or are to be output.
The processor 32 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data Processing chip in some embodiments. The processor 32 is typically used to control the overall operation of the computer device 3. In this embodiment, the processor 32 is configured to execute computer readable instructions stored in the memory 31 or process data, for example, execute computer readable instructions of the TWS headset system low-delay transmission method.
The network interface 33 may comprise a wireless network interface or a wired network interface, and the network interface 33 is generally used for establishing communication connection between the computer device 3 and other electronic devices.
The present embodiment implements the steps of the TWS headset system low-latency transmission method according to the above embodiments when the processor executes the computer readable instructions stored in the memory, and obtains the current state of the charging box by detecting the overall state of the charging box, so as to perform corresponding processing according to the current state; when the charging box is detected to be inserted into a third-party device through a USB, establishing low-delay Bluetooth connection between the charging box and the wireless earphone, and realizing low-delay data transmission between the wireless earphone and the charging box; when the low-delay Bluetooth is successfully connected, the charging box receives the audio sent by the third-party equipment, encodes the audio into a low-delay encoding format and then sends the encoded audio to the wireless earphone, the charging box is used as a bridge for connecting the third-party equipment and the wireless earphone, the charging box and the third-party equipment are connected through a USB (universal serial bus), the audio is quickly transmitted to the charging box, and the low-delay Bluetooth connection is established between the charging box and the wireless earphone, so that the low-delay playing audio of the wireless earphone is realized; and the wireless earphone decodes and plays the encoded audio. Thus, a low-delay transmission of audio between the wireless headset and the third party device is achieved.
The present application further provides another embodiment, which is to provide a computer-readable storage medium, wherein the computer-readable storage medium stores computer-readable instructions, which are executable by at least one processor, so as to cause the at least one processor to execute the steps of the TWS headset system low latency transmission method as described above, and acquire the current state of the charging box by detecting the overall state of the charging box, and further perform corresponding processing according to the current state; when the charging box is detected to be inserted into a third-party device through a USB, establishing low-delay Bluetooth connection between the charging box and the wireless earphone, and realizing low-delay data transmission between the wireless earphone and the charging box; when the low-delay Bluetooth connection is successful, the charging box receives the audio sent by the third-party equipment, codes the audio into a low-delay coding format and then sends the audio to the wireless earphone, the charging box serves as a bridge for connecting the third-party equipment and the wireless earphone, the charging box and the third-party equipment are connected through a USB (universal serial bus), the audio is transmitted to the charging box very quickly, the low-delay Bluetooth connection is established between the charging box and the wireless earphone, and the low-delay playing of the wireless earphone is realized; and the wireless earphone decodes and plays the coded audio. Thus, a low delay transmission of audio between the wireless headset and the third party device is achieved.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
It is to be understood that the above-described embodiments are merely illustrative of some, but not restrictive, of the broad invention, and that the appended drawings illustrate preferred embodiments of the invention and do not limit the scope of the invention. This application is capable of embodiments in many different forms and the embodiments are provided so that this disclosure will be thorough and complete. Although the present application has been described in detail with reference to the foregoing embodiments, it will be apparent to one skilled in the art that the present application may be practiced without modification or with equivalents of some of the features described in the foregoing embodiments. All equivalent structures made by using the contents of the specification and the drawings of the present application are directly or indirectly applied to other related technical fields and are within the protection scope of the present application.

Claims (10)

1. A TWS headset system low-latency transmission method, the TWS headset system comprising a wireless headset and a charging box, the method comprising:
detecting the overall state of the charging box;
when the charging box is detected to be inserted into a third-party device through a USB, establishing a low-delay Bluetooth connection between the charging box and the wireless earphone;
when the low-delay Bluetooth is successfully connected, the charging box receives the audio sent by the third-party equipment, encodes the audio into a low-delay encoding format and then sends the encoded audio to the wireless earphone;
and the wireless earphone decodes and plays the coded audio.
2. The TWS headset system low latency transmission method of claim 1, wherein the establishing a low latency Bluetooth connection of the charging box with a wireless headset comprises:
starting a Bluetooth chip of the charging box;
and connecting and pairing the wireless earphone through a pre-bound pairing address to establish low-delay Bluetooth connection.
3. The TWS headset system low latency transmission method of claim 1, wherein after detecting the overall state of the charging box, the method further comprises:
when detecting that a box cover of the charging box is opened and triggering a common mode of the charging box, performing common Bluetooth connection on the wireless earphone and the third-party equipment;
when the common Bluetooth connection is successful, the wireless earphone receives the audio in the common coding format sent by the third-party equipment;
and the wireless earphone decodes and plays the audio in the common coding format.
4. The TWS headset system low latency transmission method of claim 1, wherein after detecting the overall state of the charging box, the method further comprises:
and when the wireless earphone is detected to be placed in the charging box and the box cover is closed, the wireless earphone is charged by utilizing the discharging of the charging box.
5. The TWS headset system low latency transmission method of claim 1, wherein after detecting the overall state of the charging box, the method further comprises:
and when the charging box is detected to be inserted into the charging equipment, starting a preset charging mode to charge the charging box.
6. A TWS headset system low-latency transmission device, the TWS headset comprising a wireless headset and a charging box, the device comprising:
the detection module is used for detecting the overall state of the charging box;
the charging box connecting module is used for establishing low-delay Bluetooth connection between the charging box and the wireless earphone when detecting that the charging box is inserted into third-party equipment through a USB;
the receiving and encoding module is used for receiving the audio sent by the third-party equipment by the charging box when the low-delay Bluetooth connection is successful, encoding the audio into a low-delay encoding format and sending the encoded audio to the wireless earphone;
and the first decoding playing module is used for decoding and playing the encoded audio by the wireless earphone.
7. A TWS headset system low delay transmission device according to claim 6 wherein the charging box connection module comprises: the Bluetooth starting sub-module and the pairing connection sub-module;
the Bluetooth starting sub-module is used for starting a Bluetooth chip of the charging box;
and the pairing connection submodule is used for connecting and pairing the wireless earphone through a pre-bound pairing address to establish low-delay Bluetooth connection.
8. The TWS headset system low delay transmission apparatus of claim 6, further comprising: the third-party equipment connection module, the audio receiving module and the second decoding playing module;
the third-party equipment connecting module is used for carrying out common Bluetooth connection on the wireless earphone and the third-party equipment when detecting that a box cover of the charging box is opened and triggering a common mode of the charging box;
the audio receiving module is used for receiving the audio in the common coding format sent by the third-party equipment by the wireless earphone when the common Bluetooth connection is successful;
and the second decoding playing module is used for decoding and playing the audio in the common coding format by the wireless earphone.
9. A computer device, characterized in that the computer device comprises:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores computer readable instructions which, when executed by the processor, implement the TWS headset system low latency transmission method of any of claims 1 to 5.
10. A computer readable storage medium having computer readable instructions stored thereon which, when executed by a processor, implement the TWS headset system low-latency transmission method of any of claims 1 to 5.
CN202110163764.2A 2021-02-05 2021-02-05 TWS earphone system low-delay transmission method, device, equipment and storage medium Pending CN114885251A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110163764.2A CN114885251A (en) 2021-02-05 2021-02-05 TWS earphone system low-delay transmission method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110163764.2A CN114885251A (en) 2021-02-05 2021-02-05 TWS earphone system low-delay transmission method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114885251A true CN114885251A (en) 2022-08-09

Family

ID=82668319

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110163764.2A Pending CN114885251A (en) 2021-02-05 2021-02-05 TWS earphone system low-delay transmission method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114885251A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115175159A (en) * 2022-09-06 2022-10-11 荣耀终端有限公司 Bluetooth headset playing method and equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115175159A (en) * 2022-09-06 2022-10-11 荣耀终端有限公司 Bluetooth headset playing method and equipment

Similar Documents

Publication Publication Date Title
US20190327106A1 (en) Method, apparatus, device, system and storage medium for controlling smart home
US20140359685A1 (en) Video processing method, television dongle, control terminal, and system
CN101202822B (en) Digital TV set-top box system
CN104144093A (en) Intelligent device control method, relevant device and system
WO2018152679A1 (en) Audio file transmitting method and apparatus, audio file receiving method and apparatus, devices and system
CN102685597A (en) Device, mobile terminal and method of content reappearing
CN101753905A (en) Method for reading and displaying short message of mobile phone by television
CN105307102A (en) Bluetooth wireless audio transmitter
CN103281294A (en) Data sharing method and electronic equipment
CN112040465A (en) Bluetooth sound box connection switching method, Bluetooth sound box, terminal device and system
CN114885251A (en) TWS earphone system low-delay transmission method, device, equipment and storage medium
EP2827602A1 (en) Method, apparatus and communication system for program information exchange
CN108877185B (en) Bluetooth remote control method and circuit
CN105828178A (en) Boot music playing method, boot music playing device and boot music playing system
CN102281085A (en) Method for realizing communication between set top box and intelligent terminal, and apparatus thereof
CN105336152A (en) Infrared emitter and infrared remote control method
CN106452483A (en) Method and apparatus for information interaction
CN203352726U (en) DLNA/Airplay/Miracast wireless technology-based audio/video player
CN104967966B (en) A kind of method and device of binding bluetooth equipment
KR100735429B1 (en) Method and system for playing a digital multimedia broadcasting using a personal computer
CN113132440B (en) Audio transmission method, audio transmission system and electronic equipment
CN109068159B (en) Digital media circuit system based on MIPS framework TV SoC chip, digital media playing device and method
CN205123890U (en) Wireless meeting display device
CN216057466U (en) TWS earphone charging box and TWS earphone system
WO2008010693A1 (en) Method and apparatus for authentication of portable electronic devices

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination