CN113472764A - Electronic device and audio transmission method - Google Patents

Electronic device and audio transmission method Download PDF

Info

Publication number
CN113472764A
CN113472764A CN202110707088.0A CN202110707088A CN113472764A CN 113472764 A CN113472764 A CN 113472764A CN 202110707088 A CN202110707088 A CN 202110707088A CN 113472764 A CN113472764 A CN 113472764A
Authority
CN
China
Prior art keywords
audio
dongle
circuit board
audio information
charging
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.)
Granted
Application number
CN202110707088.0A
Other languages
Chinese (zh)
Other versions
CN113472764B (en
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 Yayu Technology Co ltd
Original Assignee
Shenzhen Yayu 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 Yayu Technology Co ltd filed Critical Shenzhen Yayu Technology Co ltd
Priority to CN202110707088.0A priority Critical patent/CN113472764B/en
Publication of CN113472764A publication Critical patent/CN113472764A/en
Application granted granted Critical
Publication of CN113472764B publication Critical patent/CN113472764B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/80Responding to QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
    • H04N21/43072Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen of multiple content streams on the same device
    • 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
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2420/00Details of connection covered by H04R, not provided for in its groups
    • H04R2420/07Applications of wireless loudspeakers or wireless microphones

Abstract

The application is applicable to the technical field of information processing, and provides electronic equipment and an audio transmission method. The electronic equipment comprises a wireless software protector (Dongle), wherein the Dongle is used for receiving audio information sent by sound source equipment and sending the audio information to audio playing equipment; and the Dongle and the audio playing equipment transmit audio information through a private communication protocol. The method and the device can reduce the time delay of audio information transmission and improve the degree of sound and picture synchronization.

Description

Electronic device and audio transmission method
Technical Field
The application belongs to the technical field of information processing, and particularly relates to an electronic device and an audio transmission method.
Background
The earphone can establish connection with electronic equipment such as a mobile phone or a PC (personal computer) through a wireless communication mode such as Bluetooth. After the audio is played by electronic equipment such as a mobile phone or a PC, a user can hear the audio played by the mobile phone or the PC through the earphone. However, due to the characteristics of wireless transmission, the wireless earphone has a long time delay, and the phenomena of unsynchronized sound and picture can occur when watching video, making a call and playing games.
Disclosure of Invention
In view of this, the present application provides an electronic device and an audio transmission method, which can reduce the time delay of audio information played by an audio playing device.
In order to achieve the purpose, the technical scheme is as follows:
in a first aspect, an embodiment of the present application provides an electronic device, including a wireless Dongle, where the Dongle is configured to receive audio information sent by an audio source device, and send the audio information to an audio playing device; and the Dongle and the audio playing equipment transmit audio information through a private communication protocol.
According to the electronic equipment, the audio information is transmitted between the Dongle and the sound source equipment through the standard communication protocol, the audio information is transmitted between the Dongle and the audio playing equipment through the private communication protocol, and the private communication protocol can have lower time delay relative to the standard communication protocol, so that the audio information is transmitted through the electronic equipment, the time delay of audio information transmission can be reduced, and the degree of sound and picture synchronization is improved.
In one implementation, an electronic device may include a charging circuit board for storing electric energy, the charging circuit board including a charging integrated circuit and a battery; the electronic equipment comprises a Dongle circuit board, wherein the Dongle is arranged on the Dongle circuit board, and the Dongle circuit board further comprises a first interface and a second interface; the first interface is used for being electrically connected with an external power supply or sound source equipment, the second interface is electrically connected with the charging integrated circuit, and the charging integrated circuit is electrically connected with the battery.
In one scenario, if the first interface is connected to an external power source, the Dongle circuit board converts the external power source into a predetermined voltage and outputs the predetermined voltage to the charging ic on the charging circuit board, thereby charging the battery.
In another scenario, if the first interface is connected to the sound source device, a Dongle on the Dongle circuit board is turned on to receive the audio information sent by the sound source device and send the audio information to the audio playing device.
In another scenario, if the first interface is connected with the sound source device, a Dongle on the Dongle circuit board is turned on to receive audio information sent by the sound source device and send the audio information to the audio playing device; meanwhile, the Dongle circuit board converts an external power supply into a preset voltage and outputs the preset voltage to the charging integrated circuit on the charging circuit board, thereby charging the battery.
In some embodiments, the electronic device further comprises a connection board, and the Dongle circuit board and the charging circuit board are electrically connected through the connection board.
In some embodiments, the electronic device further includes a housing, and the Dongle circuit board and the charging circuit board are both disposed in the housing, so that the Dongle circuit board and the charging circuit board are integrated into a single structure. Compared with the traditional two devices of a Dongle and a charging box, the electronic device has the advantage of convenience in carrying.
In some embodiments, a housing of the electronic device is provided with a function switching key. The function switching key is connected with the Dongle circuit board and the charging circuit board and is used for controlling the working mode of the electronic equipment. The operation mode of the electronic device includes: the Dongle circuit board converts an external power supply into a preset voltage and outputs the preset voltage to a charging integrated circuit on the charging circuit board so as to charge the battery; and the Dongle on the Dongle circuit board is started to receive the audio information sent by the sound source equipment and send the audio information to the audio playing equipment.
In a second aspect, an embodiment of the present application further provides an electronic device, including a charging circuit board and a Dongle circuit board, where the charging circuit board is provided with a charging integrated circuit and a battery, and the Dongle circuit board is provided with a first interface, a bluetooth chip, and a second interface; the first interface is used for being electrically connected with an external power supply or sound source equipment, the second interface is electrically connected with the charging integrated circuit, and the charging integrated circuit is electrically connected with the battery;
if the first interface is connected with an external power supply, the Dongle circuit board converts the external power supply into a preset voltage and outputs the preset voltage to a charging integrated circuit on the charging circuit board so as to charge the battery; if the first interface is connected with the sound source equipment, the Dongle function of the Dongle circuit board is turned on to receive the audio information sent by the sound source equipment through the Bluetooth chip and send the audio information to the audio playing equipment.
Above-mentioned electronic equipment sets up rechargeable circuit board and Dongle circuit board in an electronic equipment, can realize storing the function of electric energy and transmission audio information, for traditional Dongle and the box that charges, above-mentioned electronic equipment has more comprehensive function, and the user of being convenient for moreover carries.
In some embodiments, the bluetooth chip and the audio source device transmit audio information via a standard communication protocol, and the bluetooth chip and the audio playing device transmit audio information via a private communication protocol.
According to the electronic equipment, the audio information is transmitted between the Dongle and the sound source equipment through the standard communication protocol, the audio information is transmitted between the Dongle and the audio playing equipment through the private communication protocol, and the private communication protocol can have lower time delay relative to the standard communication protocol, so that the audio information is transmitted through the electronic equipment, the time delay of audio information transmission can be reduced, and the degree of sound and picture synchronization is improved.
In some embodiments, the electronic device may further include a connection board, and the Dongle circuit board and the charging circuit board are electrically connected through the connection board.
In some embodiments, the electronic device may further include a housing, and the Dongle circuit board and the charging circuit board are both disposed in the housing, so that the Dongle circuit board and the charging circuit board are integrated into a single structure. Compared with the traditional two devices of a Dongle and a charging box, the electronic device has the advantage of convenience in carrying.
In some embodiments, a housing of the electronic device is provided with a function switching key. The function switching key is connected with the Dongle circuit board and the charging circuit board and is used for controlling the working mode of the electronic equipment. The operation mode of the electronic device includes: the Dongle circuit board converts an external power supply into a preset voltage and outputs the preset voltage to a charging integrated circuit on the charging circuit board so as to charge the battery; and opening the Dongle on the Dongle circuit board to receive the audio information sent by the sound source equipment and send the audio information to the audio playing equipment.
In some embodiments, the bluetooth chip may include an Audio information receiving unit, an LE Audio chip, and a bluetooth transmission unit, where the LE Audio chip is provided with a coding and decoding unit, and the Audio information receiving unit, the coding and decoding unit, and the bluetooth transmission unit are connected in sequence; the audio information receiving unit is used for receiving audio information sent by the sound source equipment, the coding and decoding unit carries out coding processing on the audio information through an LC3 algorithm, and the Bluetooth transmission unit is used for establishing Bluetooth connection with the audio playing equipment and sending the audio information after the coding processing to the audio playing equipment.
According to the embodiment of the application, the coding and decoding unit carries out coding processing on the received Audio information through the LC3 algorithm, and due to the fact that the LC3 algorithm has a high compression ratio, the transmission time of the Audio information can be greatly reduced, meanwhile, the LE Audio chip can also improve the Audio tone quality, the tone quality of the Audio played through the Audio playing device is improved, and Hi-Res is supported.
Illustratively, the audio playing device may be a headphone, the sound source device may be any device capable of playing audio information, and the number of the audio playing devices is one or more. The Dongle can establish communication connection with one or more audio playing devices simultaneously, and play audio information sent by the sound source device through the one or more audio playing devices.
In this embodiment, the electronic device is connected to the sound source device via bluetooth to receive audio information sent by the sound source device.
Illustratively, the process of establishing the bluetooth connection between the audio processing device and the audio source device includes: the electronic equipment sends a broadcast packet to the outside; receiving response information sent by the external equipment, wherein the response information contains the equipment name of the external equipment; and the electronic equipment establishes Bluetooth connection with the sound source equipment according to the equipment names corresponding to the response information.
In a third aspect, an embodiment of the present application provides an audio transmission method, which may be applied to the electronic device of the first aspect or the electronic device of the second aspect. The audio transmission method comprises the following steps: the method comprises the following steps that a wireless software protector Dongle receives audio information sent by sound source equipment through a standard communication protocol; and the Dongle sends the audio information to the audio playing device through a private communication protocol.
According to the audio transmission method, the audio information is transmitted between the Dongle and the sound source equipment through the standard communication protocol, the audio information is transmitted between the Dongle and the audio playing equipment through the private communication protocol, and the private communication protocol can have lower time delay compared with the standard communication protocol, so that the time delay of audio information transmission can be reduced, and the degree of sound and picture synchronization is improved.
In some embodiments, the Dongle is disposed on a Dongle circuit board, and the Dongle circuit board is disposed with the first interface. The audio transmission method further includes: and if the connection between the first interface and the sound source equipment is detected, opening the Dongle on the Dongle circuit board to execute the step that the Dongle receives the audio information sent by the sound source equipment through the standard communication protocol.
In some embodiments, the audio transmission method further includes: if the first interface is connected with an external power supply, the Dongle circuit board converts the external power supply into a preset voltage and outputs the preset voltage to the charging integrated circuit on the charging circuit board, thereby charging the battery.
In some embodiments, the processing of the audio information by the bluetooth chip includes: the audio information is subjected to encoding processing by an LC3 algorithm.
In some embodiments, the method further comprises: the electronic equipment and the audio playing equipment establish Bluetooth connection so as to receive audio information sent by the sound source equipment.
In one scenario, the process of establishing a bluetooth connection between an electronic device and an audio playing device includes: the electronic equipment responds to user operation, enters a Bluetooth connection mode and sends a broadcast packet outwards; the electronic equipment receives response information sent by external audio playing equipment, wherein the response information is generated based on a broadcast packet; and the electronic equipment takes the external audio playing equipment with the maximum signal intensity as the first audio playing equipment according to the signal intensity corresponding to each response message, and establishes Bluetooth connection.
In one scenario, the process of establishing a bluetooth connection between an electronic device and an audio playing device includes: the electronic equipment responds to preset operation and sends a broadcast packet to the outside; receiving response information sent by audio playing equipment, wherein the response information is generated based on a broadcast packet; the electronic equipment determines the direction of each audio playing equipment relative to the electronic equipment according to the response information; and establishing Bluetooth connection with the audio playing device located in the preset position of the electronic device.
In one scenario, the process of establishing a bluetooth connection between an electronic device and an audio playing device includes: the electronic equipment responds to preset operation and sends a broadcast packet to the outside; receiving response information sent by audio playing equipment, wherein the response information is generated based on a broadcast packet; determining the number of times of establishing Bluetooth connection with each audio playing device based on the response information; and establishing Bluetooth connection with the audio playing device with the largest frequency.
In some embodiments, the method further comprises: with sound source equipment is through establishing bluetooth and connecting, the process includes: the electronic equipment sends a broadcast packet to the outside; receiving response information sent by the external equipment, wherein the response information contains the equipment name of the external equipment; and the electronic equipment establishes Bluetooth connection with the sound source equipment according to the equipment names corresponding to the response information.
In a fourth aspect, an embodiment of the present application provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the steps of the audio transmission method according to any one of the third aspects are implemented.
In a fifth aspect, the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the steps of the audio transmission method according to any one of the third aspects.
In a sixth aspect, the present application provides a computer program product, which when run on a terminal device, causes the electronic device to perform the steps of the audio transmission method according to any one of the third aspects.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic view of an application scenario of audio transmission provided in the related art;
fig. 2 is a schematic diagram of a time delay of playing audio information by the audio playing device provided in the embodiment of fig. 1;
fig. 3 is a schematic diagram of an application scenario of audio transmission provided in an embodiment of the present application;
fig. 4 is a schematic time delay diagram of playing audio information by an audio playing device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 6 is a schematic flowchart of an audio transmission method provided in an embodiment of the present application;
fig. 7 is a schematic flowchart of an audio transmission method provided in an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
To make the objects, technical solutions and advantages of the present application more clear, the following description is made by way of specific embodiments with reference to the accompanying drawings.
Referring to fig. 1, an application scenario of audio transmission in the related art includes an audio source device 100 and an audio playback device 300. The user may watch video, make a phone call, play a game through the audio source device 100 to generate audio information. The audio information is transmitted to the audio playback device 300 through a standard communication protocol, and the audio playback device 300 plays the audio information. Taking the standard bluetooth protocol as an example, the standard bluetooth protocol may be an A2DP (Advanced audio distribution Profile, bluetooth audio transmission model protocol) protocol. Since the audio source device 100 and the audio playback device 300 can only establish communication connection through the standard communication protocol, and a large time delay is generated when audio information is transmitted through the standard communication protocol, the situation that audio and pictures are inconsistent occurs.
As shown in fig. 2, at time T0, the sound source device 100 emits audio information; at time T1, the audio information is transmitted to the audio playback device 300. It can be seen that the time delay from the audio source device 100 emitting the audio information to the audio playback device 300 playing the audio information is T1-T0.
The sound source device 100 may be a mobile phone, a tablet computer, a PC (Personal computer), a wearable device, a Personal Digital Assistant (PDA), a vehicle-mounted device, an Augmented Reality (AR)/Virtual Reality (VR) device, a portable device (e.g., a laptop), an ultra-mobile Personal computer (UMPC), a netbook, a Personal Digital Assistant (PDA), or other devices capable of generating audio information.
The audio playing device 300 may be a sound box or an earphone.
Based on the above problem, an embodiment of the present application provides an electronic device, which includes a wireless Dongle, where the Dongle is configured to receive audio information sent by an audio source device, and send the audio information to an audio playing device. The audio information is transmitted between the Dongle and the sound source equipment through a standard communication protocol, and the audio information is transmitted between the Dongle and the audio playing equipment through a private communication protocol.
According to the electronic equipment, the audio information is transmitted between the Dongle and the sound source equipment through the standard communication protocol, the audio information is transmitted between the Dongle and the audio playing equipment through the private communication protocol, and the private communication protocol can have lower time delay relative to the standard communication protocol, so that the audio information is transmitted through the electronic equipment, the time delay of audio information transmission can be reduced, and the degree of sound and picture synchronization is improved.
Referring to fig. 3, an application scenario of audio transmission is provided in the embodiment of the present application. The audio source device 100, the electronic device 200, and the audio playback device 300 are included in the application scenario.
The electronic device 200 is capable of establishing a communication connection, such as a bluetooth connection, with the audio source device 100 and the audio playback device 300. The sound source device 100 transmits audio information to the electronic device 200, and the electronic device 200 receives the audio information through a standard communication protocol. The electronic device 200 then sends the audio information to the audio playback device via the private communication protocol.
Referring to fig. 4, at time T0, the sound source device 100 emits audio information; at time T2, the audio information is transmitted to the electronic device 200 and sent to the audio playback device 300; at time T3, the audio information is transmitted to the audio playback device 300. It can be seen that the time delay from the audio source device 100 emitting the audio information to the audio playback device 300 playing the audio information is T3-T0.
Since the time T2-T0 required for the audio information to be emitted from the audio source device 100 to be transmitted to the electronic device 200 is very small, much smaller than T1-T0, and the time T3-T2 can be made short (for example, smaller than 20 msec) by the private communication protocol, the time length of T3-T0 can be smaller than the time length of T1-T0. That is, in the embodiment of the present application, the time delay of playing the audio information by the audio playing device can be reduced by the electronic device with Dongle.
Referring to fig. 5, in an implementation manner, the electronic device 200 in the embodiment of the present application may include a Dongle circuit board 210 and a charging circuit board 220. The Dongle circuit board 210 is provided with a bluetooth chip, a first interface (for example, a Type-C interface), and a second interface. The charging circuit board 220 is provided with a charging IC (integrated circuit), a battery, and an MCU (micro controller Unit). The first interface is used for being electrically connected with an external power supply or sound source equipment, the second interface is electrically connected with the charging IC, and the charging IC is electrically connected with the battery.
In one scenario, if the first interface is connected to an external power source, the Dongle 210 converts the external power source into a predetermined voltage (e.g., 5V) and outputs the predetermined voltage to the charging IC on the charging circuit board 220, thereby charging the battery.
In another scenario, if the first interface is connected to the audio device, the Dongle function on the Dongle circuit board 210 is turned on to receive the audio information sent by the audio device 100 through the bluetooth chip and send the audio information to the audio playback device 300.
In another scenario, if the first interface is connected to the audio source device 100, the Dongle function on the Dongle circuit board 210 is turned on to receive the audio information sent by the audio source device 100 through the bluetooth chip and send the audio information to the audio playing device 300; meanwhile, the Dongle circuit board 210 converts the external power into a preset voltage and outputs the preset voltage to the charging IC on the charging circuit board 220, thereby charging the battery.
In another scenario, when the audio playback device 300 needs to be charged, the audio playback device 300 and the electronic device 200 may be connected via a data line. For example, the charging interface of the audio playback device 300 and the first interface of the electronic device 200 are connected via a data line. After the electronic device 200 detects that the audio playback device 300 is connected to the electronic device 200 through the data line, the electronic device 200 starts to charge the audio playback device 300. The battery transmits the electric energy to the first interface through the second interface of the charging IC and the Dongle circuit board 210, and then outputs the electric energy to the audio playing device 300 through the data line, so as to charge the audio playing device 300.
Referring to fig. 5, the electronic device 200 may further include an interposer 230, and the Dongle circuit board 210 is connected to the charging circuit board 220 through the interposer 230. Specifically, the second interface (e.g., the connection socket) of the Dongle circuit board 210 is connected to the charging IC of the charging circuit board 220 through the interposer 230.
In some embodiments, the electronic device 200 may include a housing in which the Dongle circuit board 210, the charging circuit board 220, and the interposer 230 are disposed. The Dongle circuit board 210 and the charging circuit board 220 form an integrated structure, and the electronic device 200 integrates the Dongle and the charging function.
In some embodiments, a function switching key may be disposed on the housing of the electronic device 200. The function switching key is connected to the Dongle circuit board 210 and the charging circuit board 220, and is used for controlling the operation mode of the electronic device 200. The operation modes of the electronic device 200 include: the Dongle circuit board 210 converts an external power supply into a preset voltage and outputs the preset voltage to the charging IC on the charging circuit board 220, thereby charging the battery; the Dongle on the Dongle circuit board 210 is turned on to receive the audio information transmitted from the audio source device 100 and transmit the audio information to the audio playback device 300.
In some embodiments, the bluetooth chip may include an Audio information receiving unit, an LE Audio chip, and a bluetooth transmission unit, where the LE Audio chip is provided with a codec unit, and the Audio information receiving unit, the codec unit, and the bluetooth transmission unit are connected in sequence. The audio information receiving unit is used for receiving the audio information sent by the audio source device 100, the coding and decoding unit performs coding processing on the audio information through an LC3 algorithm, and the bluetooth transmission unit is used for establishing bluetooth connection with the audio playing device and sending the audio information after the coding processing to the audio playing device 300.
According to the embodiment of the application, the coding and decoding unit carries out coding processing on the received Audio information through the LC3 algorithm, and due to the fact that the LC3 algorithm has a high compression ratio, the transmission time of the Audio information can be greatly reduced, meanwhile, the LE Audio chip can also improve the Audio tone quality, the tone quality of the Audio played through the Audio playing device is improved, and Hi-Res is supported.
Illustratively, the audio playing device may be a headphone, the sound source device may be any device capable of playing audio information, and the number of the audio playing devices is one or more. The Dongle can establish communication connection with one or more audio playing devices simultaneously, and play audio information sent by the sound source device through the one or more audio playing devices.
Based on the electronic equipment, the embodiment of the application also provides an audio information transmission method. Referring to fig. 6, the audio information transmission method includes steps 401 to 404.
Step 401, if it is detected that the first interface is connected with the sound source device, a Dongle on the Dongle circuit board is turned on.
In step 402, Dongle receives audio information sent by the audio source device through the standard communication protocol.
In step 403, Dongle sends audio information to the audio playing device through the private communication protocol.
In step 404, if it is detected that the first interface is connected to the external power source, the Dongle converts the external power source into a predetermined voltage and outputs the predetermined voltage to the charging IC on the charging circuit board, thereby charging the battery.
According to the audio transmission method, the audio information is transmitted between the Dongle and the sound source equipment through the standard communication protocol, the audio information is transmitted between the Dongle and the audio playing equipment through the private communication protocol, and the private communication protocol can have lower time delay compared with the standard communication protocol, so that the time delay of audio information transmission can be reduced, and the degree of sound and picture synchronization is improved. Moreover, the Dongle function and the charging function are integrated, and the Dongle function and the charging function are triggered through different conditions, so that the portable terminal is convenient for a user to carry.
Referring to fig. 7, in some embodiments, the audio transmission method may include: and the electronic equipment receives the audio information and processes the audio information. The above process includes steps 501 to 504.
Step 501, receiving audio information.
The audio information may be audio information sent by the sound source device.
In this embodiment, the electronic device is connected to the sound source device via bluetooth to receive audio information sent by the sound source device.
Illustratively, the process of establishing the bluetooth connection between the electronic device and the audio source device includes: the electronic equipment sends a broadcast packet to the outside; receiving response information sent by the external equipment, wherein the response information contains the equipment name of the external equipment; and the electronic equipment establishes Bluetooth connection with the sound source equipment according to the equipment names corresponding to the response information.
Step 502, the audio information is encoded by the LC3 algorithm.
The LC3 algorithm has a high compression ratio, and the transmission time of the audio information can be greatly reduced by encoding the processed audio information.
Step 503, establishing a communication connection with the audio playing device through a private communication protocol.
The audio playing device is determined based on preset conditions, wherein the preset conditions comprise at least one of the following conditions: the signal strength between the audio processing device and the audio processing device, and the number of times of establishing Bluetooth connection with the audio processing device in a preset time relative to the direction of the audio processing device.
In one scenario, the process of establishing a bluetooth connection between an electronic device and an audio playing device includes: the electronic equipment responds to user operation, enters a Bluetooth connection mode and sends a broadcast packet outwards; the electronic equipment receives response information sent by external audio playing equipment, wherein the response information is generated based on a broadcast packet; and the electronic equipment takes the external audio playing equipment with the maximum signal intensity as the first audio playing equipment according to the signal intensity corresponding to each response message, and establishes Bluetooth connection.
A plurality of audio playing devices may exist near the electronic device, and the audio playing device currently used by the user is usually the audio playing device closest to the electronic device, so that the audio playing device currently used by the user can be determined through the signal strength, and the bluetooth connection is established.
In one scenario, the process of establishing a bluetooth connection between an electronic device and an audio playing device includes: the electronic equipment responds to preset operation and sends a broadcast packet to the outside; receiving response information sent by audio playing equipment, wherein the response information is generated based on a broadcast packet; the electronic equipment determines the direction of each audio playing equipment relative to the electronic equipment according to the response information; and establishing Bluetooth connection with the audio playing device located in the preset position of the electronic device.
A plurality of audio playing devices may exist near the electronic device, and the audio playing device currently used by the user may be an audio playing device located in a certain position of the electronic device, and the position may be preset or determined according to the habit of the user, so that the audio playing device currently used by the user may be determined by the position to establish the bluetooth connection.
In one scenario, the process of establishing a bluetooth connection between an electronic device and an audio playing device includes: the electronic equipment responds to preset operation and sends a broadcast packet to the outside; receiving response information sent by audio playing equipment, wherein the response information is generated based on a broadcast packet; determining the number of times of establishing Bluetooth connection with each audio playing device based on the response information; and establishing Bluetooth connection with the audio playing device with the largest frequency.
A plurality of audio playing devices may exist near the electronic device, and the audio playing device currently used by the user may be the audio playing device that establishes the connection with the electronic device the most times within a preset time, so that the audio playing device currently used by the user may be determined by the number of times of establishing the connection, and the bluetooth connection is established.
Step 504, sending the encoded audio information to an audio playing device, so that the audio playing device plays the audio information.
In this step, after decoding the audio information, the audio playing device plays the decoded audio information to realize playing the audio with Hi-Res tone quality.
According to the embodiment of the application, the received Audio information is encoded through the LC3 algorithm, the LC3 algorithm has a high compression ratio, so that the transmission time of the Audio information can be greatly reduced, and meanwhile, the LE Audio chip can also improve the Audio tone quality, so that the tone quality of the Audio played through the Audio playing equipment is improved, and Hi-Res is supported.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
For example, step 404 may be performed in parallel with step 401. For another example, step 503 and step 502 may be performed simultaneously, or step 503 may be performed first and then step 502 may be performed, or step 502 may be performed first and then step 503 may be performed.
Fig. 8 is a schematic diagram of an electronic device provided in an embodiment of the present application. As shown in fig. 8, the electronic apparatus 600 of this embodiment includes: a processor 601, a storage unit 602, and a computer program 603 stored in said storage unit 602 and executable on said processor 601. The processor 601, when executing the computer program 603, implements the steps in the above-described audio transmission method embodiment, such as the steps 401 to 404 shown in fig. 6.
Illustratively, the computer program 603 may be partitioned into one or more modules/units, which are stored in the memory unit 602 and executed by the processor 601 to accomplish the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing certain functions, which are used to describe the execution of the computer program 603 in the electronic device 600.
The electronic processing device 600 may include, but is not limited to, a processor 601, a storage unit 602. Those skilled in the art will appreciate that fig. 8 is merely an example of an electronic device 600 and does not constitute a limitation of the electronic device 600 and may include more or less components than those shown, or combine certain components, or different components, e.g., the terminal may also include input-output devices, network access devices, buses, etc.
The Processor 601 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
An embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps in the embodiments of the audio transmission method described above.
The embodiment of the present application provides a computer program product, which when running on a mobile terminal, enables the mobile terminal to implement the steps in the embodiments of the audio transmission method described above when executed.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal and method may be implemented in other ways. For example, the above-described apparatus/terminal embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media which may not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. An electronic device is characterized by comprising a wireless Dongle, wherein the Dongle is used for receiving audio information sent by an audio source device and sending the audio information to an audio playing device;
and the Dongle and the audio playing equipment transmit audio information through a private communication protocol.
2. The electronic device of claim 1, wherein the electronic device comprises a charging circuit board for storing electrical energy, the charging circuit board comprising a charging integrated circuit and a battery; the electronic equipment comprises a Dongle circuit board, wherein the Dongle is arranged on the Dongle circuit board, and the Dongle circuit board further comprises a first interface and a second interface;
the first interface is used for being electrically connected with an external power supply or sound source equipment, the second interface is electrically connected with the charging integrated circuit, and the charging integrated circuit is electrically connected with the battery.
3. The electronic device of claim 2, wherein if the first interface is connected to an external power source, the Dongle circuit board converts the external power source into a predetermined voltage and outputs the predetermined voltage to the charging ic on the charging circuit board, thereby charging the battery.
4. The electronic device of claim 2, wherein if the first interface is connected to an audio source device, a Dongle on the Dongle circuit board is turned on to receive audio information sent by the audio source device and send the audio information to an audio playing device.
5. The electronic device of claim 2, further comprising a connection board through which the Dongle circuit board and the charging circuit board are electrically connected.
6. The electronic device of claim 2, further comprising a housing, wherein the Dongle circuit board and the charging circuit board are both disposed in the housing.
7. An electronic device is characterized by comprising a charging circuit board and a Dongle circuit board, wherein the charging circuit board is provided with a charging integrated circuit and a battery, and the Dongle circuit board is provided with a first interface, a Bluetooth chip and a second interface; the first interface is used for being electrically connected with an external power supply or sound source equipment, the second interface is electrically connected with the charging integrated circuit, and the charging integrated circuit is electrically connected with the battery;
if the first interface is connected with an external power supply, the Dongle circuit board converts the external power supply into a preset voltage and outputs the preset voltage to a charging integrated circuit on the charging circuit board so as to charge the battery;
if the first interface is connected with the sound source equipment, the Dongle function of the Dongle circuit board is turned on to receive the audio information sent by the sound source equipment through the Bluetooth chip and send the audio information to the audio playing equipment.
8. The electronic device of claim 7, wherein the bluetooth chip transmits audio information with the audio source device via a standard communication protocol, and the bluetooth chip transmits audio information with the audio playback device via a private communication protocol.
9. An audio transmission method applied to the electronic device as claimed in claim 1, the audio transmission method comprising:
the method comprises the following steps that a wireless software protector Dongle receives audio information sent by sound source equipment through a standard communication protocol;
and the Dongle sends the audio information to the audio playing device through a private communication protocol.
10. The audio transmission method according to claim 9, wherein the Dongle is disposed on a Dongle circuit board, and a first interface is disposed on the Dongle circuit board;
the audio transmission method further includes:
and if the first interface is detected to be connected with the sound source equipment, opening the Dongle on the Dongle circuit board to execute the step that the Dongle receives the audio information sent by the sound source equipment through the standard communication protocol.
CN202110707088.0A 2021-06-24 2021-06-24 Electronic device and audio transmission method Active CN113472764B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110707088.0A CN113472764B (en) 2021-06-24 2021-06-24 Electronic device and audio transmission method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110707088.0A CN113472764B (en) 2021-06-24 2021-06-24 Electronic device and audio transmission method

Publications (2)

Publication Number Publication Date
CN113472764A true CN113472764A (en) 2021-10-01
CN113472764B CN113472764B (en) 2024-03-08

Family

ID=77872836

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110707088.0A Active CN113472764B (en) 2021-06-24 2021-06-24 Electronic device and audio transmission method

Country Status (1)

Country Link
CN (1) CN113472764B (en)

Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119138A (en) * 2006-08-04 2008-02-06 技嘉科技股份有限公司 Blue tooth electronic device and control method
CN102710303A (en) * 2012-05-28 2012-10-03 深圳Tcl新技术有限公司 Wireless voice frequency transmission method, system and USB (universal serial bus) Dongle device
CN102752029A (en) * 2011-04-18 2012-10-24 中兴通讯股份有限公司 Method for matching Bluetooth accessory with Bluetooth devices and Bluetooth accessory
CN105872654A (en) * 2016-03-22 2016-08-17 广东欧珀移动通信有限公司 Method and device for switching Bluetooth connection in audio playing system, and system
CN108062950A (en) * 2017-12-20 2018-05-22 歌尔科技有限公司 The Dongle equipment and voice awakening method that a kind of voice wakes up
CN109194998A (en) * 2018-08-14 2019-01-11 Oppo广东移动通信有限公司 Data transmission method, device, electronic equipment and computer-readable medium
CN109769166A (en) * 2018-12-14 2019-05-17 珠海市杰理科技股份有限公司 The telecommunication circuit that charges and switching circuit, equipment, system, method
CN210112219U (en) * 2019-08-05 2020-02-21 深圳市小瑞科技股份有限公司 Multi-channel Bluetooth microphone system based on USB control
EP3629562A1 (en) * 2018-09-30 2020-04-01 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Data transmitting method and system
CN111294783A (en) * 2020-05-08 2020-06-16 深圳市汇顶科技股份有限公司 Audio data transmission method, device, chip and electronic equipment
CN111432331A (en) * 2020-03-30 2020-07-17 华为技术有限公司 Wireless connection method, device and terminal equipment
CN111436046A (en) * 2020-01-14 2020-07-21 珠海市杰理科技股份有限公司 Bluetooth-based audio data providing method and device, charging equipment and system
CN211352414U (en) * 2020-01-14 2020-08-25 珠海市杰理科技股份有限公司 Bluetooth headset charging box and communication circuit, chip and audio playing system thereof
CN111787633A (en) * 2020-08-13 2020-10-16 无锡中感微电子股份有限公司 Bluetooth low-power audio data packet transmission method and device
CN112135285A (en) * 2020-09-30 2020-12-25 深圳市烎潮科技有限公司 Real-time audio interaction method of multiple Bluetooth audio devices
CN112291661A (en) * 2020-10-23 2021-01-29 安声(重庆)电子科技有限公司 Bluetooth earphone
CN112489666A (en) * 2020-11-26 2021-03-12 北京百瑞互联技术有限公司 Bluetooth LE audio propagation data processing method and device and storage medium
CN112802440A (en) * 2019-10-28 2021-05-14 海信视像科技股份有限公司 Display device and sound low-delay processing method
CN113015057A (en) * 2021-03-16 2021-06-22 歌尔科技有限公司 Earphone and earphone system

Patent Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119138A (en) * 2006-08-04 2008-02-06 技嘉科技股份有限公司 Blue tooth electronic device and control method
CN102752029A (en) * 2011-04-18 2012-10-24 中兴通讯股份有限公司 Method for matching Bluetooth accessory with Bluetooth devices and Bluetooth accessory
CN102710303A (en) * 2012-05-28 2012-10-03 深圳Tcl新技术有限公司 Wireless voice frequency transmission method, system and USB (universal serial bus) Dongle device
CN105872654A (en) * 2016-03-22 2016-08-17 广东欧珀移动通信有限公司 Method and device for switching Bluetooth connection in audio playing system, and system
CN108062950A (en) * 2017-12-20 2018-05-22 歌尔科技有限公司 The Dongle equipment and voice awakening method that a kind of voice wakes up
CN109194998A (en) * 2018-08-14 2019-01-11 Oppo广东移动通信有限公司 Data transmission method, device, electronic equipment and computer-readable medium
EP3629562A1 (en) * 2018-09-30 2020-04-01 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Data transmitting method and system
CN109769166A (en) * 2018-12-14 2019-05-17 珠海市杰理科技股份有限公司 The telecommunication circuit that charges and switching circuit, equipment, system, method
CN210112219U (en) * 2019-08-05 2020-02-21 深圳市小瑞科技股份有限公司 Multi-channel Bluetooth microphone system based on USB control
CN112802440A (en) * 2019-10-28 2021-05-14 海信视像科技股份有限公司 Display device and sound low-delay processing method
CN111436046A (en) * 2020-01-14 2020-07-21 珠海市杰理科技股份有限公司 Bluetooth-based audio data providing method and device, charging equipment and system
CN211352414U (en) * 2020-01-14 2020-08-25 珠海市杰理科技股份有限公司 Bluetooth headset charging box and communication circuit, chip and audio playing system thereof
CN111432331A (en) * 2020-03-30 2020-07-17 华为技术有限公司 Wireless connection method, device and terminal equipment
CN111294783A (en) * 2020-05-08 2020-06-16 深圳市汇顶科技股份有限公司 Audio data transmission method, device, chip and electronic equipment
CN111787633A (en) * 2020-08-13 2020-10-16 无锡中感微电子股份有限公司 Bluetooth low-power audio data packet transmission method and device
CN112135285A (en) * 2020-09-30 2020-12-25 深圳市烎潮科技有限公司 Real-time audio interaction method of multiple Bluetooth audio devices
CN112291661A (en) * 2020-10-23 2021-01-29 安声(重庆)电子科技有限公司 Bluetooth earphone
CN112489666A (en) * 2020-11-26 2021-03-12 北京百瑞互联技术有限公司 Bluetooth LE audio propagation data processing method and device and storage medium
CN113015057A (en) * 2021-03-16 2021-06-22 歌尔科技有限公司 Earphone and earphone system

Also Published As

Publication number Publication date
CN113472764B (en) 2024-03-08

Similar Documents

Publication Publication Date Title
CN110166877B (en) Audio playing method and device of TWS earphone and charging box
CN107005800B (en) Audio file transmission and receiving method, device, equipment and system
CN202310099U (en) Wireless sounder and system for playing audio through same
US11425520B2 (en) Method for detecting blocking of microphone and related products
US10136209B2 (en) Method, apparatus, and system for supplying power to active noise reduction headset
CN109195055B (en) Wireless earphone, TWS earphone and Bluetooth connection method
CN103823655A (en) Audio output method, electronic equipment and first audio output device
CN105425951A (en) Application interaction control method and device
CN113472764B (en) Electronic device and audio transmission method
CN205545726U (en) 4G intelligent TV box of communicating based on windows system
CN112087591A (en) Interactive system and method for video conference
CN115022766B (en) Audio data playing method and equipment
CN104066033A (en) Bluetooth sound box system and using method thereof
CN106162399B (en) Earphone with data control board and use method thereof
WO2022041681A1 (en) Wireless earpieces, method for controlling wireless earpieces, and storage medium
CN110035346A (en) Communication means, device, bluetooth headset and the storage medium of bluetooth headset
CN111556406B (en) Audio processing method, audio processing device and earphone
CN211089779U (en) Audio output system for television
CN114885251A (en) TWS earphone system low-delay transmission method, device, equipment and storage medium
KR100559181B1 (en) Method For Controlling A Radio Handling Toy Using A Handphone
CN213547803U (en) Wireless receiving device and wireless transmission system
CN213754883U (en) Earphone capable of being charged by mobile terminal
CN1661938A (en) PDA device of handset in use for operating muic playing back
TWI837436B (en) Wireless storage device and wireless transmission system
CN218998230U (en) Microphone wireless audio real-time monitoring system

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
GR01 Patent grant
GR01 Patent grant