CN117833963A - Classical Bluetooth audio data transmission method, system and electronic equipment - Google Patents

Classical Bluetooth audio data transmission method, system and electronic equipment Download PDF

Info

Publication number
CN117833963A
CN117833963A CN202410239783.2A CN202410239783A CN117833963A CN 117833963 A CN117833963 A CN 117833963A CN 202410239783 A CN202410239783 A CN 202410239783A CN 117833963 A CN117833963 A CN 117833963A
Authority
CN
China
Prior art keywords
bluetooth
receiving end
audio data
target configuration
audio
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
CN202410239783.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.)
Flaircomm Microelectronics Inc
Original Assignee
Flaircomm Microelectronics Inc
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 Flaircomm Microelectronics Inc filed Critical Flaircomm Microelectronics Inc
Priority to CN202410239783.2A priority Critical patent/CN117833963A/en
Publication of CN117833963A publication Critical patent/CN117833963A/en
Pending legal-status Critical Current

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides a classical Bluetooth audio data transmission method, a classical Bluetooth audio data transmission system and electronic equipment, wherein the classical Bluetooth audio data transmission method comprises the following steps: the Bluetooth transmitting end determines a target configuration parameter corresponding to an LC3 codec supported by the Bluetooth receiving end together; according to the target configuration parameters, an LC3 encoder is adopted to encode the original audio data into LC3 encoded data; packaging the LC3 coded data into an AVDTP audio data packet; and sending the AVDTP audio data packet to the Bluetooth receiving end. The Bluetooth receiving end determines a target configuration parameter corresponding to an LC3 codec supported by the Bluetooth transmitting end together; receiving an AVDTP audio data packet sent by the Bluetooth sending end; extracting LC3 coding data from the AVDTP audio data packet; and according to the target configuration parameters, decoding the LC3 coded data by adopting an LC3 decoder to obtain original audio data. The method and the device can improve the audio transmission quality under the condition that the existing standard Bluetooth communication mode is not affected.

Description

Classical Bluetooth audio data transmission method, system and electronic equipment
Technical Field
The application relates to the technical field of Bluetooth communication, in particular to a classical Bluetooth audio data transmission method, a classical Bluetooth audio data transmission system and electronic equipment.
Background
In the field of internet of things products, bluetooth is often required for audio data transmission. One method commonly used in bluetooth audio data transmission is to use AVDTP protocol in BR/EDR connection mode to transmit audio data, where the basic coding mode is SBC, and SBC is a coding format forcedly specified by A2DP (Advanced Audio Distribution Profile, bluetooth audio transmission protocol) protocol. Another type of bluetooth audio data is transmitted through the ISO channel of BLE (bluetooth Low Energy), the basic encoding mode of which is LC3.LC3 is known collectively as a low complexity communication codec (Low Complexity Communications Codec).
The SBC coding mode used by the AVDTP protocol has the defects of relatively higher complexity, poor tone quality and the like, and the coding modes of other manufacturers have corresponding authorization problems; although the LC3 coding under ISO channel transmission has the advantages of low complexity, low delay, relatively good audio frequency, etc., it is currently required to use a chip and a protocol stack of 5.2 or more versions of bluetooth, and the advantages of the chip and the protocol stack cannot be exerted for bluetooth which does not support BLE or which does not support 5.2 or more versions of bluetooth.
Disclosure of Invention
The purpose of the application is to provide a classical Bluetooth audio data transmission method, a classical Bluetooth audio data transmission system and electronic equipment, which can improve the transmission quality of classical Bluetooth music.
In a first aspect, an embodiment of the present application provides a classical bluetooth audio data transmission method, applied to a classical bluetooth audio data transmission system, where the system includes: the method comprises the following steps of:
determining a target configuration parameter corresponding to an LC3 codec supported by the Bluetooth transmitting end and the Bluetooth receiving end together;
the Bluetooth transmitting end adopts an LC3 encoder to encode the original audio data into LC3 encoded data according to the target configuration parameters; packaging the LC3 coded data into an AVDTP audio data packet; sending the AVDTP audio data packet to the Bluetooth receiving end;
the Bluetooth receiving end receives the AVDTP audio data packet sent by the Bluetooth sending end; extracting LC3 coding data from the AVDTP audio data packet; and according to the target configuration parameters, decoding the LC3 coded data by adopting an LC3 decoder to obtain original audio data.
In a possible implementation manner, the determining the target configuration parameter corresponding to the LC3 codec supported by the bluetooth sender and the bluetooth receiver includes:
the Bluetooth transmitting end reads a first LC3 audio capability parameter supported by the Bluetooth transmitting end and transmits the first LC3 audio capability parameter to the Bluetooth receiving end;
the Bluetooth receiving end determines a target configuration parameter corresponding to an LC3 codec supported by the Bluetooth transmitting end and the Bluetooth receiving end together according to a second LC3 audio capability parameter supported by the Bluetooth receiving end and the first LC3 audio capability parameter;
and the Bluetooth transmitting end receives the target configuration parameters transmitted by the Bluetooth receiving end.
In a possible implementation, the LC3 audio capability parameter includes: codec type, sampling frequency, frame length, audio distribution channel, number of frame bytes, and coding block size.
In a possible implementation manner, before determining the target configuration parameter corresponding to the LC3 codec supported by the bluetooth sender and the bluetooth receiver together, the method further includes:
the Bluetooth transmitting end and the Bluetooth receiving end exchange encoding and decoding capability, and the Bluetooth transmitting end judges whether the Bluetooth receiving end supports LC3 encoding and decoding;
when the Bluetooth receiving end supports LC3 encoding and decoding, a step of determining target configuration parameters corresponding to the LC3 encoding and decoding supported by the Bluetooth transmitting end and the Bluetooth receiving end together is carried out;
when the Bluetooth receiving end does not support LC3 encoding and decoding, determining SBC encoding and decoding parameters supported by the Bluetooth sending end and the Bluetooth receiving end together.
In a second aspect, embodiments of the present application provide a classical bluetooth audio data transmission system, including: a Bluetooth transmitting end and a Bluetooth receiving end;
the Bluetooth sending end and the Bluetooth receiving end are used for determining target configuration parameters corresponding to LC3 codecs supported by both ends together;
the Bluetooth transmitting end is used for encoding the original audio data into LC3 encoded data by adopting an LC3 encoder according to the target configuration parameters; packaging the LC3 coded data into an AVDTP audio data packet; sending the AVDTP audio data packet to the Bluetooth receiving end;
the Bluetooth receiving end is used for receiving the AVDTP audio data packet sent by the Bluetooth sending end; extracting LC3 coding data from the AVDTP audio data packet; and according to the target configuration parameters, decoding the LC3 coded data by adopting an LC3 decoder to obtain original audio data.
In a possible implementation manner, the bluetooth transmitting end is specifically configured to read a first LC3 audio capability parameter supported by the bluetooth transmitting end, and transmit the first LC3 audio capability parameter to the bluetooth receiving end;
the Bluetooth receiving end is specifically configured to determine a target configuration parameter corresponding to an LC3 codec supported by the Bluetooth transmitting end and the Bluetooth receiving end together according to a second LC3 audio capability parameter supported by the Bluetooth receiving end and the first LC3 audio capability parameter;
the Bluetooth transmitting end is also used for receiving the target configuration parameters transmitted by the Bluetooth receiving end.
In a possible implementation, the LC3 audio capability parameter includes: codec type, sampling frequency, frame length, audio distribution channel, number of frame bytes, and coding block size.
In a possible implementation manner, before determining the target configuration parameters corresponding to the LC3 codec supported by the two ends together, the bluetooth transmitting end and the bluetooth receiving end are further configured to:
the Bluetooth transmitting end and the Bluetooth receiving end exchange encoding and decoding capability, and the Bluetooth transmitting end judges whether the Bluetooth receiving end supports LC3 encoding and decoding;
when the Bluetooth receiving end supports LC3 encoding and decoding, a step of determining target configuration parameters corresponding to the LC3 encoding and decoding supported by the Bluetooth transmitting end and the Bluetooth receiving end together is carried out;
when the Bluetooth receiving end does not support LC3 encoding and decoding, determining SBC encoding and decoding parameters supported by the Bluetooth sending end and the Bluetooth receiving end together.
In a third aspect, an embodiment of the present application provides an electronic device, including the classical bluetooth audio data transmission system described in the second aspect.
Compared with the prior art, the classical Bluetooth audio data transmission method provided by the application has the advantages that the Bluetooth transmitting end determines the target configuration parameters corresponding to the LC3 codec supported by the Bluetooth transmitting end and the Bluetooth receiving end together; according to the target configuration parameters, an LC3 encoder is adopted to encode the original audio data into LC3 encoded data; packaging the LC3 coded data into an AVDTP audio data packet; and sending the AVDTP audio data packet to the Bluetooth receiving end. The Bluetooth receiving end determines a target configuration parameter corresponding to an LC3 codec supported by the Bluetooth receiving end and the Bluetooth transmitting end together; receiving an AVDTP audio data packet sent by the Bluetooth sending end; extracting LC3 coding data from the AVDTP audio data packet; and according to the target configuration parameters, decoding the LC3 coded data by adopting an LC3 decoder to obtain original audio data. Therefore, the audio data can be encoded and decoded by LC3, and the audio transmission quality can be improved under the condition that the existing standard Bluetooth communication mode is not influenced.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the application. Also, like reference numerals are used to designate like parts throughout the figures. In the drawings:
fig. 1 shows one of the flowcharts of a classical bluetooth audio data transmission method provided in the embodiments of the present application;
FIG. 2 is a flow chart illustrating a method of determining a coding scheme according to an embodiment of the present application;
fig. 3 shows a second flowchart of a classical bluetooth audio data transmission method according to an embodiment of the present application;
fig. 4 shows a flowchart of a bluetooth module according to an embodiment of the present application for transmitting LC3 audio data based on BR/EDR;
fig. 5 shows a schematic diagram of a bluetooth transmitting end according to an embodiment of the present application;
fig. 6 shows a schematic diagram of a bluetooth receiving end according to an embodiment of the present application.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
It is noted that unless otherwise indicated, technical or scientific terms used herein should be given the ordinary meaning as understood by one of ordinary skill in the art to which this application belongs.
In addition, the terms "first" and "second" etc. are used to distinguish different objects and are not used to describe a particular order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
The classical Bluetooth audio data transmission system consists of a Bluetooth receiving end and a Bluetooth transmitting end, wherein the Bluetooth receiving end and the Bluetooth transmitting end operate corresponding Bluetooth protocol stacks. After classical Bluetooth (BR/EDR) pairing is completed, the Bluetooth receiving end negotiates coding capacity with the Bluetooth transmitting end through a classical music transmission control protocol-AVDTP (A/V Distribution Transport Protocol, audio-video distribution transmission protocol) protocol, and under the condition that the existing Bluetooth transmission standard is not affected, the method and the device encode and decode PCM (Pulse-Code Modulation) audio data by adopting an LC3 (Low Complexity Communications Codec, low-complexity codec) encoding and decoding algorithm so as to improve classical Bluetooth music transmission quality.
In the classical Bluetooth audio data transmission method provided by the application, firstly, a target configuration parameter corresponding to an LC3 codec supported by a Bluetooth transmitting end and a Bluetooth receiving end together is determined; the Bluetooth transmitting end adopts an LC3 encoder to encode the original audio data into LC3 encoded data according to the target configuration parameters; packaging the LC3 coded data into an AVDTP audio data packet; sending the AVDTP audio data packet to the Bluetooth receiving end; the Bluetooth receiving end receives the AVDTP audio data packet sent by the Bluetooth sending end; extracting LC3 coding data from the AVDTP audio data packet; and according to the target configuration parameters, decoding the LC3 coded data by adopting an LC3 decoder to obtain original audio data.
The following describes the execution process of the method of the bluetooth transmitting end and the bluetooth receiving end in detail.
Referring to fig. 1, fig. 1 is a flowchart of a classical bluetooth audio data transmission method provided in an embodiment of the present application, which is applied to a bluetooth communication module of a bluetooth transmitting end, where the bluetooth communication module includes a bluetooth chip, a power management circuit, an antenna, a bluetooth core protocol stack, and application software supporting bluetooth protocols such as AVDTP. The method comprises the following steps S101-S104:
s101, determining target configuration parameters corresponding to LC3 codecs supported by a Bluetooth transmitting end and a Bluetooth receiving end together.
Specifically, the step S101 may be implemented as follows: reading a first LC3 audio capability parameter supported by a Bluetooth transmitting end, and transmitting the first LC3 audio capability parameter to the Bluetooth receiving end, so that the Bluetooth receiving end determines a target configuration parameter corresponding to an LC3 codec supported by the Bluetooth transmitting end and the Bluetooth receiving end together according to a second LC3 audio capability parameter supported by the Bluetooth receiving end and the first LC3 audio capability parameter; and receiving the target configuration parameters sent by the Bluetooth receiving end.
Specifically, the LC3 audio capability parameters include: the codec type, sampling frequency, frame length, audio distribution channel, number of frame bytes, and coding block size may of course also include other parameters, which are not limited in this application.
In a possible implementation manner, before the step S101, the method may further include:
the Bluetooth transmitting end and the Bluetooth receiving end are capable of exchanging coding and decoding, and whether the Bluetooth receiving end supports LC3 coding and decoding is judged;
when the Bluetooth receiving end supports LC3 encoding and decoding, the step of determining target configuration parameters corresponding to the LC3 encoding and decoding supported by the Bluetooth transmitting end and the Bluetooth receiving end together is carried out;
when the Bluetooth receiving end does not support LC3 encoding and decoding, determining SBC encoding and decoding parameters supported by the Bluetooth transmitting end and the Bluetooth receiving end together.
For ease of understanding, the present embodiment provides a flowchart for determining the coding scheme as shown in fig. 2. Firstly, the Bluetooth transmitting end and the receiving end exchange coding capacity (LC 3 and SBC) and relevant configuration, judge whether both sides support LC3, if so, select LC3 coding mode and configure LC3 coding parameter to encode and decode audio data, otherwise, select SBC coding mode and configure SBC coding parameter to encode and decode audio data.
S102, according to the target configuration parameters, an LC3 encoder is adopted to encode the original audio data into LC3 encoded data.
S103, packaging the LC3 coding data into an AVDTP audio data packet.
The step S103 may be specifically implemented as: and writing the LC3 Coding data into an AVDTP audio data packet, and simultaneously writing a basic SBC (Sub-Band Coding) Coding type and transmission parameters into the AVDTP audio data packet so as to meet the basic requirements of BR/EDR transmission.
S104, sending the AVDTP audio data packet to the Bluetooth receiving end.
Referring to fig. 3, fig. 3 is a flowchart of a classical bluetooth audio data transmission method provided in an embodiment of the present application, and is applied to a bluetooth communication module of a bluetooth receiving end, where the bluetooth communication module includes a bluetooth chip, a power management circuit, an antenna, a bluetooth core protocol stack, and application software supporting bluetooth protocols such as AVDTP, and the method includes steps S201 to S204:
s201, determining a target configuration parameter corresponding to an LC3 codec supported by a Bluetooth receiving end and a Bluetooth transmitting end together;
specifically, the step S201 may be specifically implemented as: receiving a first LC3 audio capability parameter supported by a Bluetooth transmitting end; reading a second LC3 audio capability parameter supported by the Bluetooth receiving end; and determining a target configuration parameter corresponding to the LC3 codec supported by the Bluetooth transmitting end and the Bluetooth receiving end together according to the first LC3 audio capability parameter and the second LC3 audio capability parameter.
S202, receiving an AVDTP audio data packet sent by the Bluetooth sending end;
s203, extracting LC3 coding data from the AVDTP audio data packet;
s204, according to the target configuration parameters, an LC3 decoder is adopted to decode the LC3 encoded data, and original audio data are obtained.
In order to solve the problem of poor BR/EDR Bluetooth music transmission quality, in the method provided by the application, when a Bluetooth receiving end and a sending end are started, LC3 audio capability parameters which are locally supported are respectively read, wherein the LC3 audio capability parameters comprise sampling frequency, channel number, frame interval time, frame byte number and block size, and the LC3 audio capability parameters are written into an AVDTP data packet. Meanwhile, in order to meet the basic requirement of BR/EDR transmission, the basic SBC coding type and transmission parameters are also written in the AVDTP data;
in order to enable the Bluetooth receiving end module and the sending end module to quickly find the setting of the LC3 coding capability, the Bluetooth receiving end and the sending end are started to set broadcast data, the broadcast data can be set based on the definition of EIR (Extended Inquiry Response) format in the Bluetooth standard protocol, and the LC3 coding capability is supported through the custom broadcast data to be identified so as to be convenient for the opposite end to find.
Based on the setting, the Bluetooth module initiates scanning and discovers interested equipment after starting, senses the LC3 coding capability supported by the opposite end through acquiring EIR information of the opposite end, and initiates connection and pairing to the interested equipment. After the connection pairing is completed, the scanning and connection of the AVDTP protocol are completed. Then the Bluetooth receiving end discovers the SBC and LC3 encoders in the AVDTP stream endpoint instruction, and obtains the configuration related to the encoders through the stream endpoint, and carries out encoder configuration on stream transmission according to the configuration supported by the Bluetooth receiving end; and then, the stream end point is utilized to establish audio stream transmission, so that the aim of improving the music transmission quality under BR/EDR connection is fulfilled.
For easy understanding, the embodiment of the application also provides a flowchart for transmitting LC3 audio data based on BR/EDR by the bluetooth module as shown in fig. 4.
In the classical bluetooth audio data transmission method provided by the embodiment of the application, a bluetooth transmitting end determines a target configuration parameter corresponding to an LC3 codec supported by the bluetooth transmitting end and a bluetooth receiving end together; according to the target configuration parameters, an LC3 encoder is adopted to encode the original audio data into LC3 encoded data; packaging the LC3 coded data into an AVDTP audio data packet; and sending the AVDTP audio data packet to the Bluetooth receiving end. The Bluetooth receiving end determines a target configuration parameter corresponding to an LC3 codec supported by the Bluetooth receiving end and the Bluetooth transmitting end together; receiving an AVDTP audio data packet sent by the Bluetooth sending end; extracting LC3 coding data from the AVDTP audio data packet; and according to the target configuration parameters, decoding the LC3 coded data by adopting an LC3 decoder to obtain original audio data. Therefore, the audio data can be encoded and decoded by LC3, and the audio transmission quality can be improved under the condition that the existing standard Bluetooth communication mode is not influenced.
In the above embodiment, a classical bluetooth audio data transmission method is provided, and correspondingly, the present application further provides a bluetooth transmitting end. Referring to fig. 5, the bluetooth transmitting end 1010 includes:
a first determining module 101, configured to determine a target configuration parameter corresponding to an LC3 codec supported by the bluetooth transmitting end and the bluetooth receiving end together;
the encoding module 102 is configured to encode the original audio data into LC3 encoded data by using an LC3 encoder according to the target configuration parameter;
the packaging module 103 is configured to package the LC3 encoded data into an AVDTP audio data packet;
and the sending module 104 is configured to send the AVDTP audio data packet to the bluetooth receiving end.
In a possible implementation manner, the first determining module 101 is specifically configured to:
reading a first LC3 audio capability parameter supported by the Bluetooth transmitting end, and transmitting the first LC3 audio capability parameter to the Bluetooth receiving end, so that the Bluetooth receiving end determines a target configuration parameter corresponding to an LC3 codec supported by the Bluetooth transmitting end and the Bluetooth receiving end together according to a second LC3 audio capability parameter supported by the Bluetooth receiving end and the first LC3 audio capability parameter;
and receiving the target configuration parameters sent by the Bluetooth receiving end.
In a possible implementation, the LC3 audio capability parameter includes: codec type, sampling frequency, frame length, audio distribution channel, number of frame bytes, and coding block size.
In a possible implementation manner, the packaging module 103 is specifically configured to:
acquiring SBC coding data corresponding to original audio data;
writing the LC3 coding data into an AVDTP audio data packet, and simultaneously writing the SBC coding data into the AVDTP audio data packet.
In the above embodiment, a classical bluetooth audio data transmission method is provided, and correspondingly, the present application further provides a bluetooth receiving terminal. Referring to fig. 6, the bluetooth receiving end 1020 includes:
a second determining module 201, configured to determine a target configuration parameter corresponding to an LC3 codec supported by the bluetooth receiving end and the bluetooth transmitting end together;
a receiving module 202, configured to receive an AVDTP audio data packet sent by the bluetooth transmitting end;
an extracting module 203, configured to extract LC3 encoded data from the AVDTP audio data packet;
and the decoding module 204 is configured to decode the LC3 encoded data by using an LC3 decoder according to the target configuration parameter, so as to obtain original audio data.
The second determining module 201 is specifically configured to:
receiving a first LC3 audio capability parameter supported by a Bluetooth transmitting end;
reading a second LC3 audio capability parameter supported by the Bluetooth receiving end;
and determining a target configuration parameter corresponding to the LC3 codec supported by the Bluetooth transmitting end and the Bluetooth receiving end together according to the first LC3 audio capability parameter and the second LC3 audio capability parameter.
The embodiment of the application also provides a classical Bluetooth audio data transmission system, which comprises: a Bluetooth transmitting end and a Bluetooth receiving end;
the Bluetooth sending end and the Bluetooth receiving end are used for determining target configuration parameters corresponding to LC3 codecs supported by both ends together;
the Bluetooth transmitting end is used for encoding the original audio data into LC3 encoded data by adopting an LC3 encoder according to the target configuration parameters; packaging the LC3 coded data into an AVDTP audio data packet; sending the AVDTP audio data packet to the Bluetooth receiving end;
the Bluetooth receiving end is used for receiving the AVDTP audio data packet sent by the Bluetooth sending end; extracting LC3 coding data from the AVDTP audio data packet; and according to the target configuration parameters, decoding the LC3 coded data by adopting an LC3 decoder to obtain original audio data.
In a possible implementation manner, the bluetooth transmitting end is specifically configured to read a first LC3 audio capability parameter supported by the bluetooth transmitting end, and transmit the first LC3 audio capability parameter to the bluetooth receiving end;
the Bluetooth receiving end is specifically configured to determine a target configuration parameter corresponding to an LC3 codec supported by the Bluetooth transmitting end and the Bluetooth receiving end together according to a second LC3 audio capability parameter supported by the Bluetooth receiving end and the first LC3 audio capability parameter;
the Bluetooth transmitting end is also used for receiving the target configuration parameters transmitted by the Bluetooth receiving end.
In a possible implementation, the LC3 audio capability parameter includes: codec type, sampling frequency, frame length, audio distribution channel, number of frame bytes, and coding block size.
In a possible implementation manner, before determining the target configuration parameters corresponding to the LC3 codec supported by the two ends together, the bluetooth transmitting end and the bluetooth receiving end are further configured to:
the Bluetooth transmitting end and the Bluetooth receiving end exchange encoding and decoding capability, and the Bluetooth transmitting end judges whether the Bluetooth receiving end supports LC3 encoding and decoding;
when the Bluetooth receiving end supports LC3 encoding and decoding, a step of determining target configuration parameters corresponding to the LC3 encoding and decoding supported by the Bluetooth transmitting end and the Bluetooth receiving end together is carried out;
when the Bluetooth receiving end does not support LC3 encoding and decoding, determining SBC encoding and decoding parameters supported by the Bluetooth sending end and the Bluetooth receiving end together.
The above-mentioned bluetooth transmitting end 1010 and bluetooth receiving end 1020 form a classical bluetooth audio data transmission system provided in the embodiments of the present application, and the classical bluetooth audio data transmission system provided in the embodiments of the present application and the classical bluetooth audio data transmission method provided in the embodiments of the present application are the same inventive concept, and have the same beneficial effects as the method adopted, operated or implemented by the same inventive concept.
The embodiment of the application also provides electronic equipment, which comprises the classical Bluetooth audio data transmission system in the embodiment, wherein the electronic equipment can be a mobile phone, a notebook computer, a tablet personal computer, a desktop computer and the like.
The electronic device provided by the embodiment of the application and the classical Bluetooth audio data transmission system provided by the embodiment of the application have the same beneficial effects as the method adopted, operated or realized by the electronic device and the classical Bluetooth audio data transmission system provided by the embodiment of the application due to the same inventive concept.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution 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 scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the embodiments, and are intended to be included within the scope of the claims and description.

Claims (9)

1. A classical bluetooth audio data transmission method, characterized in that it is applied to a classical bluetooth audio data transmission system, said system comprising: the method comprises the following steps of:
determining a target configuration parameter corresponding to an LC3 codec supported by the Bluetooth transmitting end and the Bluetooth receiving end together;
the Bluetooth transmitting end adopts an LC3 encoder to encode the original audio data into LC3 encoded data according to the target configuration parameters; packaging the LC3 coded data into an AVDTP audio data packet; sending the AVDTP audio data packet to the Bluetooth receiving end;
the Bluetooth receiving end receives the AVDTP audio data packet sent by the Bluetooth sending end; extracting LC3 coding data from the AVDTP audio data packet; and according to the target configuration parameters, decoding the LC3 coded data by adopting an LC3 decoder to obtain original audio data.
2. The method of claim 1, wherein determining the target configuration parameter corresponding to the LC3 codec supported by the bluetooth sender and the bluetooth receiver includes:
the Bluetooth transmitting end reads a first LC3 audio capability parameter supported by the Bluetooth transmitting end and transmits the first LC3 audio capability parameter to the Bluetooth receiving end;
the Bluetooth receiving end determines a target configuration parameter corresponding to an LC3 codec supported by the Bluetooth transmitting end and the Bluetooth receiving end together according to a second LC3 audio capability parameter supported by the Bluetooth receiving end and the first LC3 audio capability parameter;
and the Bluetooth transmitting end receives the target configuration parameters transmitted by the Bluetooth receiving end.
3. The method of claim 2, wherein the LC3 audio capability parameter comprises: codec type, sampling frequency, frame length, audio distribution channel, number of frame bytes, and coding block size.
4. The method according to claim 1, wherein before determining the target configuration parameter corresponding to the LC3 codec supported by the bluetooth sender and the bluetooth receiver, the method further comprises:
the Bluetooth transmitting end and the Bluetooth receiving end exchange encoding and decoding capability, and the Bluetooth transmitting end judges whether the Bluetooth receiving end supports LC3 encoding and decoding;
when the Bluetooth receiving end supports LC3 encoding and decoding, a step of determining target configuration parameters corresponding to the LC3 encoding and decoding supported by the Bluetooth transmitting end and the Bluetooth receiving end together is carried out;
when the Bluetooth receiving end does not support LC3 encoding and decoding, determining SBC encoding and decoding parameters supported by the Bluetooth sending end and the Bluetooth receiving end together.
5. A classical bluetooth audio data transmission system, comprising: a Bluetooth transmitting end and a Bluetooth receiving end;
the Bluetooth sending end and the Bluetooth receiving end are used for determining target configuration parameters corresponding to LC3 codecs supported by both ends together;
the Bluetooth transmitting end is used for encoding the original audio data into LC3 encoded data by adopting an LC3 encoder according to the target configuration parameters; packaging the LC3 coded data into an AVDTP audio data packet; sending the AVDTP audio data packet to the Bluetooth receiving end;
the Bluetooth receiving end is used for receiving the AVDTP audio data packet sent by the Bluetooth sending end; extracting LC3 coding data from the AVDTP audio data packet; and according to the target configuration parameters, decoding the LC3 coded data by adopting an LC3 decoder to obtain original audio data.
6. The system of claim 5, wherein the system further comprises a controller configured to control the controller,
the Bluetooth transmitting end is specifically configured to read a first LC3 audio capability parameter supported by the Bluetooth transmitting end, and transmit the first LC3 audio capability parameter to the Bluetooth receiving end;
the Bluetooth receiving end is specifically configured to determine a target configuration parameter corresponding to an LC3 codec supported by the Bluetooth transmitting end and the Bluetooth receiving end together according to a second LC3 audio capability parameter supported by the Bluetooth receiving end and the first LC3 audio capability parameter;
the Bluetooth transmitting end is also used for receiving the target configuration parameters transmitted by the Bluetooth receiving end.
7. The system of claim 6, wherein the LC3 audio capability parameter comprises: codec type, sampling frequency, frame length, audio distribution channel, number of frame bytes, and coding block size.
8. The system of claim 5, wherein the bluetooth transmitting end and the bluetooth receiving end, before determining the target configuration parameters corresponding to the LC3 codec commonly supported by the two ends, are further configured to:
the Bluetooth transmitting end and the Bluetooth receiving end exchange encoding and decoding capability, and the Bluetooth transmitting end judges whether the Bluetooth receiving end supports LC3 encoding and decoding;
when the Bluetooth receiving end supports LC3 encoding and decoding, a step of determining target configuration parameters corresponding to the LC3 encoding and decoding supported by the Bluetooth transmitting end and the Bluetooth receiving end together is carried out;
when the Bluetooth receiving end does not support LC3 encoding and decoding, determining SBC encoding and decoding parameters supported by the Bluetooth sending end and the Bluetooth receiving end together.
9. An electronic device comprising the classical bluetooth audio data transmission system according to any of claims 5 to 8.
CN202410239783.2A 2024-03-04 2024-03-04 Classical Bluetooth audio data transmission method, system and electronic equipment Pending CN117833963A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410239783.2A CN117833963A (en) 2024-03-04 2024-03-04 Classical Bluetooth audio data transmission method, system and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410239783.2A CN117833963A (en) 2024-03-04 2024-03-04 Classical Bluetooth audio data transmission method, system and electronic equipment

Publications (1)

Publication Number Publication Date
CN117833963A true CN117833963A (en) 2024-04-05

Family

ID=90513758

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410239783.2A Pending CN117833963A (en) 2024-03-04 2024-03-04 Classical Bluetooth audio data transmission method, system and electronic equipment

Country Status (1)

Country Link
CN (1) CN117833963A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101552830B1 (en) * 2014-11-10 2015-09-14 리모트솔루션주식회사 Method for implementing a bluetooth headset using smart devices
CN110753330A (en) * 2019-10-14 2020-02-04 合肥星空物联信息科技有限公司 Bluetooth pairing method and Bluetooth headset
US20210160673A1 (en) * 2019-11-26 2021-05-27 Tap Sound System Bluetooth Audio Streaming Passthrough
CN113825125A (en) * 2021-09-15 2021-12-21 国芯科技(广州)有限公司 Audio sharing method for multiple groups of wireless Bluetooth headsets
CN114026896A (en) * 2019-07-26 2022-02-08 谷歌有限责任公司 Method for managing multiple multimedia communication links in a point-to-multipoint bluetooth network
CN114760616A (en) * 2022-05-19 2022-07-15 恒玄科技(北京)有限公司 Wireless communication method and wireless audio playing assembly
CN114765761A (en) * 2021-01-15 2022-07-19 Oppo广东移动通信有限公司 Audio data transmission method, electronic device and storage medium
CN115273869A (en) * 2022-07-20 2022-11-01 哲库科技(上海)有限公司 Audio data transmission method, device, chip, electronic equipment and storage medium
CN115811720A (en) * 2021-09-15 2023-03-17 北京小米移动软件有限公司 Audio data processing method and device, storage medium and electronic equipment
CN116137747A (en) * 2021-11-17 2023-05-19 昆腾微电子股份有限公司 Dual-channel audio wireless microphone communication method, device, receiver and system
CN116418798A (en) * 2021-12-31 2023-07-11 上海海思技术有限公司 Media file transmission method and device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101552830B1 (en) * 2014-11-10 2015-09-14 리모트솔루션주식회사 Method for implementing a bluetooth headset using smart devices
CN114026896A (en) * 2019-07-26 2022-02-08 谷歌有限责任公司 Method for managing multiple multimedia communication links in a point-to-multipoint bluetooth network
CN110753330A (en) * 2019-10-14 2020-02-04 合肥星空物联信息科技有限公司 Bluetooth pairing method and Bluetooth headset
US20210160673A1 (en) * 2019-11-26 2021-05-27 Tap Sound System Bluetooth Audio Streaming Passthrough
CN114765761A (en) * 2021-01-15 2022-07-19 Oppo广东移动通信有限公司 Audio data transmission method, electronic device and storage medium
CN113825125A (en) * 2021-09-15 2021-12-21 国芯科技(广州)有限公司 Audio sharing method for multiple groups of wireless Bluetooth headsets
CN115811720A (en) * 2021-09-15 2023-03-17 北京小米移动软件有限公司 Audio data processing method and device, storage medium and electronic equipment
CN116137747A (en) * 2021-11-17 2023-05-19 昆腾微电子股份有限公司 Dual-channel audio wireless microphone communication method, device, receiver and system
CN116418798A (en) * 2021-12-31 2023-07-11 上海海思技术有限公司 Media file transmission method and device
CN114760616A (en) * 2022-05-19 2022-07-15 恒玄科技(北京)有限公司 Wireless communication method and wireless audio playing assembly
CN115273869A (en) * 2022-07-20 2022-11-01 哲库科技(上海)有限公司 Audio data transmission method, device, chip, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN101123730B (en) Apparatus and method for transmitting moving picture stream using bluetooth
US8818277B2 (en) Method, apparatus and system for transmitting multimedia data by bluetooth and real-time playing
CN101286770B (en) Method and system for automatically configuring audio encoding format transmitted by bluetooth A2DP
US8335577B2 (en) Method of generating advanced audio distribution profile (A2DP) source code and chipset using the same
WO2007027060A1 (en) Accessory apparatus of mobile terminal for receiving and reproducing dmb data and method thereof
CN102652458B (en) Method for transmitting object between devices having multi-radio interface
CN101616494A (en) The sharing mobile TV in real time method
EP4354433A2 (en) Codec configuration adaptation based on packet loss rate
TWI225343B (en) Method for video data transmission in a wireless network
CN117833963A (en) Classical Bluetooth audio data transmission method, system and electronic equipment
WO2023124587A1 (en) Media file transmission method and device
US8159970B2 (en) Method of transmitting image data in video telephone mode of a wireless terminal
WO2010025744A1 (en) Method and apparatus for indicating wireless connectivity options
JP2005184567A (en) Transmission apparatus, reception apparatus, communication system and communication program
CN103220410B (en) Frequency modulation (FM) broadcasting sharing method on mobile intelligent devices utilizing Bluetooth
US20080051131A1 (en) Method and system for transporting FM data over a Bluetooth HCI link
US20050159143A1 (en) Mobile communication terminal and automatic answering method thereof
WO2011147145A1 (en) Device, method and system for outputting network streaming media audio information
US20240112688A1 (en) Audio compression device, audio compression system, and audio compression method
KR100670449B1 (en) Searching method of audio stream
JP2007049242A (en) Wireless transmission system and wireless transmission method
KR100269268B1 (en) Mobile terminal having the functions of storing and retrieving encoded data
CN2924958Y (en) DVB-H receiving terminal
CN1331344C (en) Conversion device and realizing method for public interfacing digital television CI to family network
KR100645146B1 (en) Mobile phone improved the function of multimedia services

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