CN110830970B - Audio transmission method, device, equipment and storage medium between Bluetooth equipment - Google Patents
Audio transmission method, device, equipment and storage medium between Bluetooth equipment Download PDFInfo
- Publication number
- CN110830970B CN110830970B CN201911134466.XA CN201911134466A CN110830970B CN 110830970 B CN110830970 B CN 110830970B CN 201911134466 A CN201911134466 A CN 201911134466A CN 110830970 B CN110830970 B CN 110830970B
- Authority
- CN
- China
- Prior art keywords
- bluetooth
- audio
- slave
- bluetooth device
- chips
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Transmitters (AREA)
Abstract
The embodiment of the application discloses an audio transmission method, device and equipment among Bluetooth devices and a storage medium, and belongs to the technical field of Bluetooth. The method comprises the following steps: the first Bluetooth device establishes m Bluetooth connections with the second Bluetooth device through m Bluetooth chips in the n Bluetooth chips, at least m Bluetooth chips are arranged in the second Bluetooth device, m is more than or equal to 2, and m is less than or equal to n; receiving an audio playing instruction, wherein the audio playing instruction is used for indicating to play audio in the first Bluetooth device through the second Bluetooth device; according to the audio playing instruction, audio data are sent to the second Bluetooth device through m Bluetooth connections, wherein different Bluetooth connections are used for sending audio data of the same audio. The transmission bandwidth between bluetooth equipment has improved in this embodiment, and then can realize high-quality audio playback, has improved bluetooth audio's broadcast tone quality.
Description
Technical Field
The embodiment of the application relates to the technical field of Bluetooth, in particular to an audio transmission method, device and equipment among Bluetooth equipment and a storage medium.
Background
Bluetooth (Bluetooth) is widely used in electronic devices such as mobile terminals, headphones, and speakers, as a short-range wireless communication technology, because of its low power consumption and low cost.
In the related art, for mobile terminal and the audio amplifier that are provided with bluetooth chip, after mobile terminal and audio amplifier establish bluetooth and be connected, mobile terminal can send audio data to the audio amplifier through bluetooth connection, and the audio amplifier is received and is analyzed the broadcast after audio data to get rid of the constraint of connecting wire between mobile terminal and the audio amplifier. However, limited to the bluetooth audio transmission protocol, the maximum transmission bandwidth between bluetooth devices is limited to 1M/s, resulting in poor playback quality of bluetooth audio.
Disclosure of Invention
The embodiment of the application provides an audio transmission method, device and equipment among Bluetooth equipment and a storage medium. The technical scheme is as follows:
in one aspect, an audio transmission method between bluetooth devices is provided, where the method is used for a first bluetooth device, n bluetooth chips are set in the first bluetooth device, and n is greater than or equal to 2, and the method includes:
m Bluetooth connection is established with a second Bluetooth device through m Bluetooth chips in the n Bluetooth chips, wherein at least m Bluetooth chips are arranged in the second Bluetooth device, m is more than or equal to 2, and m is less than or equal to n;
Receiving an audio playing instruction, wherein the audio playing instruction is used for indicating to play audio in the first Bluetooth device through the second Bluetooth device;
and sending audio data to the second Bluetooth device through the m Bluetooth connections according to the audio playing instruction, wherein different Bluetooth connections are used for sending audio data of the same audio.
In another aspect, there is provided a method for audio transmission between bluetooth devices, the method being used for a second bluetooth device in which at least two bluetooth chips are disposed, the method including:
m Bluetooth connection is established with a first Bluetooth device through m Bluetooth chips in the at least two Bluetooth chips, n Bluetooth chips are arranged in the first Bluetooth device, m is more than or equal to 2, and m is less than or equal to n;
receiving audio data sent by the first Bluetooth device through the m Bluetooth connections, wherein different Bluetooth connections are used for sending audio data of the same audio;
and playing the audio according to the audio data.
On the other hand, an audio transmission device between bluetooth devices is provided, the device is used for first bluetooth device, be provided with n bluetooth chips in the first bluetooth device, n is greater than or equal to 2, the device includes:
The first connection module is used for establishing m Bluetooth connections with second Bluetooth equipment through m Bluetooth chips in the n Bluetooth chips, wherein at least m Bluetooth chips are arranged in the second Bluetooth equipment, m is more than or equal to 2, and m is less than or equal to n;
the instruction receiving module is used for receiving an audio playing instruction, and the audio playing instruction is used for instructing the second Bluetooth device to play the audio in the first Bluetooth device;
and the data sending module is used for sending audio data to the second Bluetooth device through the m Bluetooth connections according to the audio playing instruction, wherein different Bluetooth connections are used for sending audio data of the same audio.
In another aspect, an audio transmission apparatus between bluetooth devices is provided, where the apparatus is used for a second bluetooth device, and at least two bluetooth chips are disposed in the second bluetooth device, and the apparatus includes:
the second connection module is used for establishing m Bluetooth connections with the first Bluetooth device through m Bluetooth chips in the at least two Bluetooth chips, wherein n Bluetooth chips are arranged in the first Bluetooth device, m is greater than or equal to 2, and m is less than or equal to n;
the data receiving module is used for receiving the audio data sent by the first Bluetooth device through the m Bluetooth connections, wherein different Bluetooth connections are used for sending the audio data of the same audio;
And the playing module is used for playing the audio according to the audio data.
In another aspect, a bluetooth device is provided, the bluetooth device including a processor, a memory, and at least two bluetooth chips; the memory stores at least one instruction for execution by the processor to implement the method of audio transmission between bluetooth devices as described in the above aspects.
In another aspect, a computer-readable storage medium is provided, the storage medium storing at least one instruction for execution by a processor to implement the method of audio transmission between bluetooth devices as described in the above aspect.
In another aspect, there is provided a computer program product storing at least one instruction that is loaded and executed by a processor to implement the method of audio transmission between bluetooth devices as described in the above aspect.
In the embodiment of the application, at least two Bluetooth chips are arranged in the Bluetooth equipment, and at least two Bluetooth connections are established between the Bluetooth equipment through the at least two Bluetooth chips, so that when audio transmission is performed, audio data transmission is performed through the at least two Bluetooth connections; compared with the related art, the transmission bandwidth between the Bluetooth devices is improved, so that high-quality audio playing can be realized, and the playing tone quality of the Bluetooth audio is improved.
Drawings
Fig. 1 is a block diagram illustrating a bluetooth device according to an exemplary embodiment of the present application;
FIG. 2 illustrates a schematic diagram of an implementation environment provided by an exemplary embodiment of the present application;
FIG. 3 illustrates a schematic diagram of an implementation environment provided by another exemplary embodiment of the present application;
FIG. 4 illustrates a flow chart of a method of audio transmission between Bluetooth devices according to an exemplary embodiment of the present application;
fig. 5 illustrates a flowchart of an audio transmission method between bluetooth devices according to another exemplary embodiment of the present application;
fig. 6 is a flowchart of a process by which a first bluetooth device establishes a slave bluetooth connection;
fig. 7 is a flowchart of a process by which a secondary bluetooth device establishes a secondary bluetooth connection;
fig. 8 is a schematic diagram of a bluetooth protocol stack provided by an exemplary embodiment;
fig. 9 is a block diagram showing an audio transmission apparatus between bluetooth devices according to an embodiment of the present application;
fig. 10 is a block diagram illustrating an audio transmission apparatus between bluetooth devices according to another embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.
References herein to "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.
Referring to fig. 1, a block diagram of a bluetooth device 100 according to an exemplary embodiment of the present application is shown. The bluetooth device 100 may be a smart phone, tablet computer, notebook computer, bluetooth speaker, bluetooth headset, etc. Bluetooth device 100 in the present application may include one or more of the following components: a processor 110, a memory 120, and at least two bluetooth chips 130.
The Memory 120 may include a random access Memory (Random Access Memory, RAM) or a Read-Only Memory (ROM). Optionally, the memory 120 includes a non-transitory computer readable medium (non-transitory computer-readable storage medium). Memory 120 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 120 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described below, etc.; the storage data area may store data (such as audio data, phonebook) created according to the use of the bluetooth device 100, etc.
The bluetooth chip 130 is a chip for performing bluetooth communication. At least two bluetooth chips 130 are disposed in the bluetooth device 100 in the embodiment of the present application, where different bluetooth chips 130 correspond to different bluetooth media access control (Media Access Control, MAC) addresses. Alternatively, each bluetooth chip 130 may conform to the same bluetooth protocol, such as bluetooth 4.0 protocol, bluetooth 5.0 protocol, etc., which is not limited in this application.
In one possible implementation, at least two bluetooth chips 130 include a master bluetooth chip and at least one slave bluetooth chip, wherein the master bluetooth chip implements the main bluetooth functions of bluetooth device 100, including bluetooth data transmission, bluetooth audio playback, bluetooth positioning, etc., and the slave bluetooth chip provides additional bluetooth audio playback functions. Alternatively, each bluetooth chip 130 may operate alone, or a plurality of bluetooth chips 130 may operate simultaneously.
In addition, those skilled in the art will appreciate that the configuration of the Bluetooth device 100 illustrated in the above figures does not constitute a limitation of the Bluetooth device 100, and that the Bluetooth device 100 may include more or less components than illustrated, or may combine certain components, or may have a different arrangement of components. For example, when the bluetooth device 100 is a smart phone, the bluetooth device 100 further includes a display screen, a radio frequency circuit, a wireless fidelity (WirelessFidelity, wiFi) module, a sensor, a power supply, and the like; when the bluetooth device 100 is a bluetooth speaker, the bluetooth device 100 further includes an audio circuit, a speaker, a power source, and the like, which are not described herein.
Referring to fig. 2, a schematic diagram of an implementation environment including a first bluetooth device 210 and a second bluetooth device 220 is provided according to an exemplary embodiment of the present application.
At least two bluetooth chips are provided in each of the first bluetooth device 210 and the second bluetooth device 220. In fig. 2, a first bluetooth device 210 is taken as a smart phone provided with two bluetooth chips, and a second bluetooth device 220 is taken as an example of a smart speaker provided with two bluetooth chips.
In a possible application scenario, when the audio in the first bluetooth device 210 needs to be played through the second bluetooth device 220, two bluetooth connections are established between the first bluetooth device 210 and the second bluetooth device 220, and audio data is sent to the second bluetooth device 220 through the two bluetooth connections, and the second bluetooth device 220 plays the audio according to the received audio data.
Compared with the prior art, only audio data transmission can be carried out between Bluetooth devices through a single Bluetooth chip, and in the embodiment of the application, a plurality of Bluetooth connections can be established by a single Bluetooth device through the arrangement of a plurality of Bluetooth chips, so that the transmission bandwidth between the Bluetooth devices is increased. For example, when the transmission bandwidth of a single bluetooth chip is 1M/s, if two bluetooth chips are set in the bluetooth device, the transmission bandwidth of the bluetooth device can be increased to 2M/s, so that the bluetooth device can play high-quality lossless audio (the code rate is above 1.4M/s) through bluetooth connection.
Of course, besides establishing at least two bluetooth connections with the same bluetooth device, in other possible application scenarios, the first bluetooth device provided with at least two bluetooth chips may also simultaneously establish bluetooth connections with a plurality of conventional bluetooth devices (provided with one bluetooth chip), so as to respectively control the plurality of conventional bluetooth devices to perform bluetooth audio playback. Illustratively, as shown in fig. 3, the first bluetooth device 210 may establish bluetooth connection with the bluetooth headset 230 and the conventional bluetooth speaker 240 (each provided with a bluetooth chip), respectively, so as to control the bluetooth headset 230 and the conventional bluetooth speaker 240 to play the same or different audio.
In addition, in the embodiment of the present application, in addition to audio transmission through a plurality of bluetooth chips, in other possible embodiments, data transmission may be performed between bluetooth devices through a plurality of bluetooth chips, so that the rate of data transmission is improved, which is not limited in the embodiment.
Referring to fig. 4, a flowchart of an audio transmission method between bluetooth devices according to an exemplary embodiment of the present application is shown. This embodiment is illustrated by the application of the method to the implementation environment shown in fig. 2. The method comprises the following steps:
Step 401, the first bluetooth device establishes m bluetooth connections with the second bluetooth device through m bluetooth chips in the n bluetooth chips, at least m bluetooth chips are arranged in the second bluetooth device, m is greater than or equal to 2, and m is less than or equal to n.
In one possible implementation manner, after the bluetooth function is turned on by the first bluetooth device, bluetooth scanning is performed through at least one bluetooth chip of the n bluetooth chips, and the scanned at least one bluetooth device is displayed in a bluetooth scanning interface, where the at least one bluetooth device includes the second bluetooth device. When receiving the selected operation of the second Bluetooth device, the first Bluetooth device establishes at least two Bluetooth connections with the second Bluetooth device through at least two Bluetooth chips.
In an illustrative example, 2 bluetooth chips are provided in a first bluetooth device and 2 bluetooth chips are provided in a second bluetooth device, and the first bluetooth device can establish 2 bluetooth connections with the second bluetooth device.
In another illustrative example, 3 bluetooth chips are provided in a first bluetooth device and 2 bluetooth chips are provided in a second bluetooth device, the first bluetooth device being capable of establishing 2 bluetooth connections with the second bluetooth device.
In step 402, the second bluetooth device establishes m bluetooth connections with the first bluetooth device through m bluetooth chips of the at least two bluetooth chips.
Correspondingly, the second Bluetooth device establishes m Bluetooth connections with the first Bluetooth device.
In step 403, the first bluetooth device receives an audio playing instruction, where the audio playing instruction is used to instruct playing of audio in the first bluetooth device by the second bluetooth device.
In this embodiment, the second bluetooth device is a bluetooth device with an audio playing function, for example, the second bluetooth device is a bluetooth speaker or a bluetooth headset, and after the bluetooth connection is established with the second bluetooth device, the first bluetooth device can play audio through the second bluetooth device.
Optionally, the audio playing instruction is manually triggered by the user, for example, when a playing operation of the audio and video file in the first bluetooth device is received, it is determined that the audio playing instruction is received; alternatively, the audio playing instruction may be triggered automatically after the bluetooth connection is established, for example, after the bluetooth device is established with the second bluetooth device, the first bluetooth device plays all the audio of the local terminal, such as game audio, key sound, alert sound, etc., which is not limited in this embodiment.
In step 404, the first bluetooth device sends audio data to the second bluetooth device through m bluetooth connections according to the audio playing instruction, wherein different bluetooth connections are used for sending audio data of the same audio.
Further, the first bluetooth device transmits audio data (audio data stream) to the second bluetooth device through m bluetooth connections. Compared with the prior art that audio data transmission is carried out through a single Bluetooth connection, audio data transmission is carried out through m Bluetooth connections, and the transmission rate can reach m times of the original transmission rate, so that the transmission rate is improved under the condition of guaranteeing transmission delay, and transmission and playing of higher-quality audio are realized.
Optionally, before the first bluetooth device sends the audio data, the audio data is divided into m paths of audio data by the audio processing chip, so that the m paths of audio data are transmitted.
In one possible implementation, different bluetooth connections are used to transmit different audio data of the same audio, e.g., different bluetooth connections are used to transmit audio data of different channels, or different bluetooth connections are used to transmit the same audio data of the same audio, e.g., different bluetooth connections are used to transmit audio data of both the left and right channels.
In step 405, the second bluetooth device receives audio data sent by the first bluetooth device through m bluetooth connections.
Correspondingly, the second Bluetooth device receives the audio data through m Bluetooth connections. Optionally, the second bluetooth device sends the received audio data to the audio processing chip, so that the audio processing chip parses and plays the received audio data.
In step 406, the second bluetooth device performs audio playback according to the audio data.
In this embodiment of the present application, the second bluetooth device has an audio playing component, such as a speaker, and after parsing the audio data, the second bluetooth device performs audio playing through the audio playing component.
In summary, in the embodiment of the present application, at least two bluetooth chips are set in a bluetooth device, and at least two bluetooth connections are established between bluetooth devices through the at least two bluetooth chips, so that when audio transmission is performed, audio data transmission is performed through the at least two bluetooth connections; compared with the related art, the transmission bandwidth between the Bluetooth devices is improved, so that high-quality audio playing can be realized, and the playing tone quality of the Bluetooth audio is improved.
In one possible implementation, the bluetooth chip in the first bluetooth device (or the second bluetooth device) includes a master bluetooth chip and a slave bluetooth chip, and in the bluetooth connection establishment phase, the first bluetooth device first establishes a master bluetooth connection with the second bluetooth device through the master bluetooth chip, and further establishes a slave bluetooth connection with the second bluetooth device based on the established master bluetooth connection, which is described below using an exemplary embodiment.
Referring to fig. 5, a flowchart of an audio transmission method between bluetooth devices according to another exemplary embodiment of the present application is shown. This embodiment is illustrated by the application of the method to the implementation environment shown in fig. 2. The method comprises the following steps:
in step 501, the first bluetooth device establishes a master bluetooth connection with a second master bluetooth chip in the second bluetooth device through a first master bluetooth chip in the n bluetooth chips.
In one possible embodiment, for a bluetooth device provided with at least two bluetooth chips, when the bluetooth function is turned on, the bluetooth device starts a master bluetooth chip among the bluetooth chips and searches for other bluetooth devices of the accessory through the master bluetooth chip. Wherein, at least two bluetooth chips include a master bluetooth chip, and remaining n-1 bluetooth chips are all from bluetooth chip.
In one possible implementation, when the first bluetooth device starts the bluetooth function, i.e. bluetooth scanning is performed by the first main bluetooth chip, and when the second bluetooth device starts the bluetooth function, i.e. bluetooth scanning is performed by the second main bluetooth chip. When the first main Bluetooth chip scans the second Bluetooth device, the first Bluetooth device displays the second Bluetooth device on a Bluetooth scanning interface, and establishes main Bluetooth connection with a second main Bluetooth chip in the second Bluetooth device when receiving the selection operation of the second Bluetooth device. The process of establishing the main bluetooth connection between the main bluetooth chips is similar to the conventional bluetooth connection establishment manner, and this embodiment is not described herein.
Optionally, after the first bluetooth device and the second bluetooth device establish the main bluetooth connection for the first time, the first bluetooth device and the second bluetooth device both record the opposite bluetooth device, and when the opposite bluetooth device is scanned again subsequently, the main bluetooth connection can be directly established.
Step 502, the second bluetooth device establishes a master bluetooth connection with a first master bluetooth chip in the first bluetooth device through a second master bluetooth chip in the m bluetooth chips.
Correspondingly, the second Bluetooth device establishes a master Bluetooth connection with the first Bluetooth device through the second master Bluetooth chip.
In step 503, the first bluetooth device establishes m-1 slave bluetooth connections with the second bluetooth device via the master bluetooth connection.
After the main Bluetooth connection is established, the first Bluetooth device can perform data communication with the second Bluetooth device. For the bluetooth device provided with a plurality of bluetooth chips, if users need to manually establish a plurality of bluetooth connections between bluetooth devices, a lot of time will be consumed and connection establishment errors are easily caused.
In one possible implementation, in order to determine whether the opposite bluetooth device that establishes the master bluetooth connection has at least two bluetooth chips, i.e., whether a slave bluetooth connection can be established with the opposite bluetooth device, the first bluetooth device and the second bluetooth device perform information interaction through the master bluetooth connection, and further establish the slave bluetooth connection when it is determined that the opposite bluetooth device has at least two bluetooth chips.
Alternatively, as shown in fig. 6, the present step may include the following steps.
In step 503A, the first bluetooth device performs bluetooth information interaction with the second bluetooth device through the master bluetooth connection, where the bluetooth information at least includes the number of bluetooth chips in the bluetooth device.
In one possible implementation, after the main bluetooth connection is established, the second bluetooth device sends second bluetooth information to the first bluetooth device through the main bluetooth connection, where the second bluetooth information includes the number of bluetooth chips in the second bluetooth device. Alternatively, the number of bluetooth chips is the number of available bluetooth chips, i.e. bluetooth chips for which bluetooth connections have been established are removed.
Further, if the number of bluetooth chips in the second bluetooth device is greater than or equal to 2, determining that the second bluetooth device supports to establish a plurality of bluetooth connections, thereby executing step 503B; if the number of Bluetooth chips in the second Bluetooth device is smaller than 2, determining that the second Bluetooth device does not support establishing a plurality of Bluetooth connections, and thus establishing a main Bluetooth connection with the second Bluetooth device only.
It should be noted that, for the bluetooth device provided with a single bluetooth chip, the number of bluetooth chips at the home end will not be sent to the opposite end after the bluetooth connection is established, and correspondingly, if the bluetooth information sent by the second bluetooth device is not received, the first bluetooth device determines that the second bluetooth device does not support establishing multiple bluetooth connections.
In step 503B, if the number of bluetooth chips in the second bluetooth device is at least two, the first bluetooth device starts the first slave bluetooth chip in the first bluetooth device.
Optionally, in view of power consumption, after the bluetooth device provided with at least two bluetooth chips starts the bluetooth function, only the master bluetooth chip is started, so that when it is determined that a plurality of bluetooth connections can be established with the second bluetooth device, the first bluetooth device needs to start the first slave bluetooth chip, so that a slave bluetooth connection is established subsequently. Wherein the number of the first slave Bluetooth chips is at least one.
After the first slave Bluetooth chip is started, bluetooth broadcasting can be performed so as to be discovered by other Bluetooth devices.
In step 503C, the first bluetooth device establishes a slave bluetooth connection with a second slave bluetooth chip in the second bluetooth device through the first slave bluetooth chip.
In one possible implementation manner, after the first bluetooth device determines that the second bluetooth device includes at least two bluetooth chips, bluetooth information of each slave bluetooth chip in the second bluetooth device is further obtained through the master bluetooth connection, so that the slave bluetooth chip of the local terminal and each slave bluetooth chip of the opposite terminal are controlled to establish a slave bluetooth connection according to the bluetooth information.
Optionally, the step includes the following steps.
1. And acquiring the Bluetooth MAC address of the second slave Bluetooth chip through the master Bluetooth connection.
In one possible implementation, after the second bluetooth device determines that the first bluetooth device includes a plurality of bluetooth chips, the second bluetooth device sends a bluetooth MAC address of the second slave bluetooth chip to the first bluetooth device through the master bluetooth connection, so that the first bluetooth device establishes a slave bluetooth connection with the second bluetooth device according to the bluetooth MAC address. Correspondingly, the first Bluetooth device acquires the Bluetooth MAC address through the main Bluetooth connection.
In this embodiment of the present application, different bluetooth chips in the bluetooth device have different bluetooth MAC addresses, and the bluetooth MAC addresses have uniqueness, so that different bluetooth chips can be distinguished according to the bluetooth MAC addresses, thereby establishing a slave bluetooth connection.
2. And establishing a slave Bluetooth connection with the second slave Bluetooth chip through the first slave Bluetooth chip according to the Bluetooth MAC address.
Further, the first Bluetooth device establishes a slave Bluetooth connection with a second slave Bluetooth device indicated by the Bluetooth MAC address through the first slave Bluetooth chip.
In one possible implementation, the first bluetooth device matches the acquired bluetooth MAC address with each scanned bluetooth device, thereby establishing a bluetooth connection with the matched bluetooth device (i.e., the second slave bluetooth chip).
Optionally, when a slave bluetooth connection needs to be established between at least two first slave bluetooth chips and at least two second slave bluetooth chips, the first bluetooth device matches the first slave bluetooth chips with the second slave bluetooth chips one by one, so that a slave bluetooth connection is established between the matched first slave bluetooth chips and the second slave bluetooth chips, and multiple bluetooth connections are avoided being established by the same slave bluetooth chip.
In step 504, the second bluetooth device establishes m-1 slave bluetooth connections with the first bluetooth device via the master bluetooth connection.
Corresponding to step 503 above, the second bluetooth device establishes a slave bluetooth connection with the first bluetooth device when it recognizes that it is provided with at least two bluetooth chips. In one possible embodiment, as shown in fig. 7, this step includes the following steps.
In one possible implementation, after the main bluetooth connection is established, the first bluetooth device sends first bluetooth information to the second bluetooth device through the main bluetooth connection, where the first bluetooth information includes the number of bluetooth chips in the first bluetooth device. Alternatively, the number of bluetooth chips is the number of available bluetooth chips, i.e. bluetooth chips for which bluetooth connections have been established are removed.
Further, if the number of bluetooth chips in the first bluetooth device is greater than or equal to 2, determining that the first bluetooth device supports to establish a plurality of bluetooth connections, thereby executing step 504B; if the number of Bluetooth chips in the first Bluetooth device is smaller than 2, it is determined that the first Bluetooth device does not support establishment of a plurality of Bluetooth connections, and therefore only a main Bluetooth connection is established with the first Bluetooth device.
It should be noted that, for the bluetooth device provided with a single bluetooth chip, the number of bluetooth chips at the home end will not be sent to the opposite end after the bluetooth connection is established, and correspondingly, if the bluetooth information sent by the first bluetooth device is not received, the second bluetooth device determines that the first bluetooth device does not support to establish multiple bluetooth connections.
In step 504B, if the number of bluetooth chips in the first bluetooth device is at least two, a second slave bluetooth chip in the second bluetooth device is started.
Optionally, upon determining that multiple bluetooth connections can be established with the first bluetooth device, the second bluetooth device needs to activate a second slave bluetooth chip in order to subsequently establish slave bluetooth connections. Wherein the number of the second slave Bluetooth chips is at least one.
After the second slave Bluetooth chip is started, bluetooth broadcasting can be performed so as to be discovered by other Bluetooth devices.
In step 504C, a slave bluetooth connection is established with a first slave bluetooth chip in the first bluetooth device via the second slave bluetooth chip.
In one possible implementation, after the second bluetooth device determines that the first bluetooth device includes at least two bluetooth chips, the first bluetooth device further transmits bluetooth information of the second slave bluetooth chip through the master bluetooth connection, so that the first bluetooth device controls the first slave bluetooth chip to establish a slave bluetooth connection with the second slave bluetooth chip according to the bluetooth information.
Optionally, the second bluetooth device sends the bluetooth MAC address of the second slave bluetooth chip to the first bluetooth device via the master bluetooth connection.
It should be noted that, the second bluetooth device may also obtain, through the master bluetooth connection, the bluetooth MAC address of the first slave bluetooth chip in the first bluetooth device, so that when the slave bluetooth connection is established, authentication is performed according to the bluetooth MAC address, which is not described herein in detail.
In step 505, the first bluetooth device receives an audio playing instruction, where the audio playing instruction is used to instruct playing of audio in the first bluetooth device by the second bluetooth device.
The implementation of this step may refer to step 403, and this embodiment is not described herein.
In step 506, the first bluetooth device determines an audio code rate of the target audio indicated by the audio play instruction.
When the tone quality of the target audio to be played is poor (for example, the audio rate is lower than 1M/s), the audio rate of the target audio can be achieved through the single Bluetooth connection, and at the moment, the audio data transmission is not needed through a plurality of Bluetooth connections. Therefore, in one possible implementation, before the first bluetooth device sends bluetooth data, the audio code rate of the target audio is performed, if the audio code rate is higher than the code rate threshold, step 507 is performed, and if the audio code rate is lower than the code rate threshold, the audio data is transmitted only through the master bluetooth connection.
The code rate threshold may be a transmission bandwidth of a single bluetooth connection, for example, the code rate threshold is 1M/S.
In step 507, if the audio code rate is higher than the code rate threshold, the first bluetooth device sends audio data to the second bluetooth device through m bluetooth connections.
When the audio code rate is higher than the code rate threshold, the first Bluetooth device sends the audio data to the second Bluetooth device through m Bluetooth connections, so that the transmission rate and the bandwidth of the audio data are improved.
In one possible implementation, when the target audio is multi-channel audio, the first bluetooth device processes the audio data based on the channels before transmitting the audio data, thereby transmitting the processed audio output to the second bluetooth device over the m bluetooth connections. Optionally, the step includes the following steps.
1. And generating m paths of audio data according to the target audio, wherein each path of audio data corresponds to each audio channel.
Optionally, the first bluetooth device divides the target audio into m paths of audio data according to the audio channel through the audio processing component. For example, when the target audio is two-channel audio, the first bluetooth device divides the target audio into left-channel audio data and right-channel audio data. Of course, when the target audio is 2.1 channels, 3.1 channels or 5.1 channels, the first bluetooth device may divide the target audio into m channels of audio data, which is not limited in this embodiment.
2. And sending m paths of audio data to the second Bluetooth device through m Bluetooth connections, wherein the m paths of audio data are subjected to time synchronization.
In the embodiment of the application, in order to ensure that the multiple paths of audio data are synchronous when the second bluetooth device plays audio, when the first bluetooth device sends m paths of audio data, time synchronization needs to be performed on the m paths of audio data, namely, the multiple paths of audio data at the same moment in the target audio are simultaneously sent.
In one possible implementation, the first bluetooth device may set an audio time stamp for each path of audio data, thereby achieving audio synchronization.
In step 508, the second bluetooth device receives the audio data sent by the first bluetooth device through m bluetooth connections.
Correspondingly, the second Bluetooth device receives m paths of audio data sent by the first Bluetooth device through m Bluetooth connections.
Step 509, performing audio playing according to the audio data.
Because different Bluetooth connection transmission rates may have differences, in order to ensure synchronism in multipath audio playing, when audio playing is performed according to m paths of audio data, the second Bluetooth device performs synchronous audio playing through audio channels corresponding to m paths of audio data, wherein the second Bluetooth device can perform audio synchronization according to audio time stamps of all paths of audio data.
In this embodiment, the bluetooth devices first establish a master bluetooth connection through a master bluetooth chip, so that information interaction is performed based on the master bluetooth connection, and then a slave bluetooth connection is established between slave bluetooth chips, so that users do not need to manually establish a plurality of bluetooth connections one by one, and the bluetooth connection establishment process of the bluetooth devices with multiple bluetooth chips is simplified.
In addition, in this embodiment, when the bluetooth device performs multi-channel audio data transmission and playing, time synchronization is performed on the multi-channel audio data, so that the problem of asynchronous audio playing is avoided, and the audio playing quality is improved.
In implementing the audio transmission method provided in the above embodiment, improvement is required from the software level in addition to improvement from the hardware (i.e., adding a bluetooth chip) level.
In one possible implementation, an additional bluetooth protocol stack is required to be implemented separately on the basis of the existing bluetooth protocol stack in the system, through which the newly added bluetooth chip is controlled and managed. As shown in fig. 8, the system of the bluetooth device 810 includes a master bluetooth protocol stack 811 and a slave bluetooth protocol stack 812, wherein the master bluetooth protocol stack 811 is used for managing a master bluetooth chip 813, and the slave bluetooth protocol stack 812 is used for managing a slave bluetooth chip 814. And, the system of the bluetooth device 810 further comprises a bluetooth management framework 815, and the bluetooth management framework 815 is used for managing the master bluetooth protocol stack 811 and the slave bluetooth protocol stack 812, so as to realize state management, information interaction and information synchronization between the two protocol stacks.
Optionally, in order to realize compatibility to the traditional bluetooth device, the original bluetooth protocol stack in the system is used as a main protocol stack to realize support of main bluetooth functions of the system, and the newly added slave bluetooth protocol stack at least provides support for supporting an advanced audio distribution protocol (Advanced Audio Distribution Profile, A2 DP) and a bottom bluetooth protocol, that is, realizes most basic audio data transmission from the bluetooth protocol stack, which is lighter than the main bluetooth protocol stack.
Referring to fig. 9, a block diagram of an audio transmission apparatus between bluetooth devices according to an embodiment of the present application is shown. The apparatus may be implemented as all or part of the first bluetooth device by software, hardware, or a combination of both. The device comprises:
the first connection module 910 is configured to establish m bluetooth connections with a second bluetooth device through m bluetooth chips of the n bluetooth chips, where at least m bluetooth chips are disposed in the second bluetooth device, m is greater than or equal to 2, and m is less than or equal to n;
an instruction receiving module 920, configured to receive an audio playing instruction, where the audio playing instruction is used to instruct the second bluetooth device to play the audio in the first bluetooth device;
and the data sending module 930 is configured to send audio data to the second bluetooth device through the m bluetooth connections according to the audio playing instruction, where different bluetooth connections are used to send audio data of the same audio.
Optionally, the first connection module 910 includes:
the first connection unit is used for establishing main Bluetooth connection with a second main Bluetooth chip in the second Bluetooth device through a first main Bluetooth chip in the n Bluetooth chips;
And the second connection unit is used for establishing m-1 slave Bluetooth connection with the second Bluetooth device through the master Bluetooth connection.
Optionally, the second connection unit is configured to:
performing Bluetooth information interaction with the second Bluetooth device through the main Bluetooth connection, wherein the Bluetooth information at least comprises the number of Bluetooth chips in the Bluetooth device;
if the number of the Bluetooth chips in the second Bluetooth device is at least two, a first slave Bluetooth chip in the first Bluetooth device is started;
and establishing the slave Bluetooth connection with a second slave Bluetooth chip in the second Bluetooth device through the first slave Bluetooth chip.
Optionally, the second connection unit is further configured to:
acquiring a Bluetooth MAC address of the second slave Bluetooth chip through the master Bluetooth connection;
and establishing the slave Bluetooth connection through the first slave Bluetooth chip and the second slave Bluetooth chip according to the Bluetooth MAC address.
Optionally, the system of the first bluetooth device includes a bluetooth management framework, a master bluetooth protocol stack and a slave bluetooth protocol stack, where the bluetooth management framework is configured to manage the master bluetooth protocol stack and the slave bluetooth protocol stack, and the slave bluetooth protocol stack is independent of the master bluetooth protocol stack;
The master Bluetooth protocol stack is used for managing the first master Bluetooth chip, the slave Bluetooth protocol stack is used for managing the first slave Bluetooth chip, and the slave Bluetooth protocol stack supports A2DP.
Optionally, the data sending module 930 includes:
the determining unit is used for determining the audio code rate of the target audio indicated by the audio playing instruction;
and the data sending unit is used for sending the audio data to the second Bluetooth device through the m Bluetooth connections if the audio code rate is higher than the code rate threshold.
Optionally, the data sending unit is configured to:
generating m paths of audio data according to the target audio, wherein each path of audio data corresponds to each audio channel;
and sending the m paths of audio data to the second Bluetooth device through the m Bluetooth connections, wherein the m paths of audio data are subjected to time synchronization.
Referring to fig. 10, a block diagram of an audio transmission apparatus between bluetooth devices according to another embodiment of the present application is shown. The apparatus may be implemented as all or part of the second bluetooth device by software, hardware or a combination of both. The device comprises:
the second connection module 1010 is configured to establish m bluetooth connections with a first bluetooth device through m bluetooth chips of the at least two bluetooth chips, where n bluetooth chips are disposed in the first bluetooth device, m is greater than or equal to 2, and m is less than or equal to n;
A data receiving module 1020, configured to receive audio data sent by the first bluetooth device through the m bluetooth connections, where different bluetooth connections are used to send audio data of the same audio;
and the playing module 1030 is configured to perform audio playing according to the audio data.
Optionally, the second connection module 1010 includes:
the third connection unit is used for establishing main Bluetooth connection with the first main Bluetooth chip in the first Bluetooth device through the second main Bluetooth chip in the m Bluetooth chips;
and the fourth connection unit is used for establishing m-1 slave Bluetooth connection with the first Bluetooth device through the master Bluetooth connection.
Optionally, the fourth connection unit is configured to:
performing Bluetooth information interaction with the first Bluetooth device through the main Bluetooth connection, wherein the Bluetooth information at least comprises the number of Bluetooth chips in the Bluetooth device;
if the number of the Bluetooth chips in the first Bluetooth device is at least two, a second slave Bluetooth chip in the second Bluetooth device is started;
and establishing the slave Bluetooth connection with a first slave Bluetooth chip in the first Bluetooth device through the second slave Bluetooth chip.
Optionally, the apparatus further includes:
the address sending module is used for sending the Bluetooth MAC address of the second slave Bluetooth chip to the first Bluetooth device through the master Bluetooth connection, and the first Bluetooth device is used for establishing the slave Bluetooth connection with the second Bluetooth device according to the Bluetooth MAC address.
Optionally, the system of the second bluetooth device includes a bluetooth management framework, a master bluetooth protocol stack and a slave bluetooth protocol stack, where the bluetooth management framework is used to manage the master bluetooth protocol stack and the slave bluetooth protocol stack, and the slave bluetooth protocol stack is independent of the master bluetooth protocol stack;
the master Bluetooth protocol stack is used for managing the second master Bluetooth chip, the slave Bluetooth protocol stack is used for managing the second slave Bluetooth chip, and the slave Bluetooth protocol stack supports A2DP.
Optionally, the data receiving module 1020 is configured to:
receiving m paths of audio data sent by the first Bluetooth device through the m Bluetooth connections, wherein each path of audio data corresponds to each audio channel, and the m paths of audio data are subjected to time synchronization;
the playing module 1030 is configured to:
and playing synchronous audio through the audio channels corresponding to the m paths of audio data.
Embodiments of the present application also provide a computer readable medium storing at least one instruction that is loaded and executed by the processor to implement the method for audio transmission between bluetooth devices according to the above embodiments.
Embodiments of the present application also provide a computer program product storing at least one instruction that is loaded and executed by the processor to implement the method for audio transmission between bluetooth devices according to the above embodiments.
Those skilled in the art will appreciate that in one or more of the examples described above, the functions described in the embodiments of the present application may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, these functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
The foregoing description of the preferred embodiments is merely exemplary in nature and is in no way intended to limit the invention, since it is intended that all modifications, equivalents, improvements, etc. that fall within the spirit and scope of the invention.
Claims (15)
1. An audio transmission method between bluetooth devices is characterized in that the method is used for a first bluetooth device, n bluetooth chips are arranged in the first bluetooth device, n is greater than 2, and the method comprises:
establishing a master Bluetooth connection with a second master Bluetooth chip in a second Bluetooth device through a first master Bluetooth chip in the n Bluetooth chips;
through the master Bluetooth connection, m-1 slave Bluetooth connections are established with the second Bluetooth device, at least m Bluetooth chips are arranged in the second Bluetooth device, m is greater than 2, and m is less than or equal to n;
receiving an audio playing instruction, wherein the audio playing instruction is used for indicating to play audio in the first Bluetooth device through the second Bluetooth device;
and sending audio data to the second Bluetooth device through the m Bluetooth connections according to the audio playing instruction, wherein different Bluetooth connections are used for sending audio data of the same audio.
2. The method of claim 1, wherein said establishing m-1 slave bluetooth connections with said second bluetooth device via said master bluetooth connection comprises:
performing Bluetooth information interaction with the second Bluetooth device through the main Bluetooth connection, wherein the Bluetooth information at least comprises the number of Bluetooth chips in the Bluetooth device;
if the number of the Bluetooth chips in the second Bluetooth device is at least two, a first slave Bluetooth chip in the first Bluetooth device is started;
and establishing the slave Bluetooth connection with a second slave Bluetooth chip in the second Bluetooth device through the first slave Bluetooth chip.
3. The method of claim 2, wherein said establishing said slave bluetooth connection with a second slave bluetooth chip in said second bluetooth device via said first slave bluetooth chip comprises:
acquiring a Bluetooth Media Access Control (MAC) address of the second slave Bluetooth chip through the master Bluetooth connection;
and establishing the slave Bluetooth connection through the first slave Bluetooth chip and the second slave Bluetooth chip according to the Bluetooth MAC address.
4. The method of claim 2, wherein the system of the first bluetooth device includes a bluetooth management framework, a master bluetooth protocol stack, and a slave bluetooth protocol stack, wherein the bluetooth management framework is configured to manage the master bluetooth protocol stack and the slave bluetooth protocol stack, and wherein the slave bluetooth protocol stack is independent of the master bluetooth protocol stack;
The master Bluetooth protocol stack is used for managing the first master Bluetooth chip, the slave Bluetooth protocol stack is used for managing the first slave Bluetooth chip, and the slave Bluetooth protocol stack supports an advanced audio distribution protocol A2DP.
5. The method according to any one of claims 1 to 4, wherein said sending audio data to the second bluetooth device via the m bluetooth connections according to the audio play instruction comprises:
determining an audio code rate of the target audio indicated by the audio playing instruction;
and if the audio code rate is higher than the code rate threshold, sending the audio data to the second Bluetooth device through the m Bluetooth connections.
6. The method of claim 5, wherein said transmitting said audio data to said second bluetooth device over said m bluetooth connections comprises:
generating m paths of audio data according to the target audio, wherein each path of audio data corresponds to each audio channel;
and sending the m paths of audio data to the second Bluetooth device through the m Bluetooth connections, wherein the m paths of audio data are subjected to time synchronization.
7. An audio transmission method between bluetooth devices, wherein the method is used for a second bluetooth device, and at least two bluetooth chips are arranged in the second bluetooth device, and the method comprises:
Establishing a master Bluetooth connection with a first master Bluetooth chip in a first Bluetooth device through a second master Bluetooth chip in m Bluetooth chips in the at least two Bluetooth chips;
through the master Bluetooth connection, m-1 slave Bluetooth connections are established with the first Bluetooth device, n Bluetooth chips are arranged in the first Bluetooth device, m is greater than 2, m is less than or equal to n, and n is greater than 2;
receiving audio data sent by the first Bluetooth device through the m Bluetooth connections, wherein different Bluetooth connections are used for sending audio data of the same audio;
and playing the audio according to the audio data.
8. The method of claim 7, wherein said establishing m-1 slave bluetooth connections with said first bluetooth device via said master bluetooth connection comprises:
performing Bluetooth information interaction with the first Bluetooth device through the main Bluetooth connection, wherein the Bluetooth information at least comprises the number of Bluetooth chips in the Bluetooth device;
if the number of the Bluetooth chips in the first Bluetooth device is at least two, a second slave Bluetooth chip in the second Bluetooth device is started;
and establishing the slave Bluetooth connection with a first slave Bluetooth chip in the first Bluetooth device through the second slave Bluetooth chip.
9. The method of claim 8, wherein after said activating a second slave bluetooth chip in said second bluetooth device, said method further comprises:
and sending a Bluetooth Media Access Control (MAC) address of the second slave Bluetooth chip to the first Bluetooth device through the master Bluetooth connection, wherein the first Bluetooth device is used for establishing the slave Bluetooth connection with the second Bluetooth device according to the Bluetooth MAC address.
10. The method of claim 8, wherein the system of the second bluetooth device comprises a bluetooth management framework, a master bluetooth protocol stack, and a slave bluetooth protocol stack, wherein the bluetooth management framework is configured to manage the master bluetooth protocol stack and the slave bluetooth protocol stack, and wherein the slave bluetooth protocol stack is independent of the master bluetooth protocol stack;
the master Bluetooth protocol stack is used for managing the second master Bluetooth chip, the slave Bluetooth protocol stack is used for managing the second slave Bluetooth chip, and the slave Bluetooth protocol stack supports an advanced audio distribution protocol A2DP.
11. The method according to any one of claims 7 to 10, wherein said receiving audio data transmitted by said first bluetooth device over said m bluetooth connections comprises:
Receiving m paths of audio data sent by the first Bluetooth device through the m Bluetooth connections, wherein each path of audio data corresponds to each audio channel, and the m paths of audio data are subjected to time synchronization;
the audio playing according to the audio data comprises the following steps:
and playing synchronous audio through the audio channels corresponding to the m paths of audio data.
12. An audio transmission device between bluetooth equipment, wherein, the device is used for first bluetooth equipment, be provided with n bluetooth chips in the first bluetooth equipment, n is greater than 2, the device includes:
the first connection module is used for establishing main Bluetooth connection with a second main Bluetooth chip in the second Bluetooth device through a first main Bluetooth chip in the n Bluetooth chips; through the master Bluetooth connection, m-1 slave Bluetooth devices are established with the second Bluetooth device, at least m Bluetooth chips are arranged in the second Bluetooth device, m is more than 2, and m is less than or equal to n;
the instruction receiving module is used for receiving an audio playing instruction, and the audio playing instruction is used for instructing the second Bluetooth device to play the audio in the first Bluetooth device;
And the data sending module is used for sending audio data to the second Bluetooth device through the m Bluetooth connections according to the audio playing instruction, wherein different Bluetooth connections are used for sending audio data of the same audio.
13. An audio transmission device between bluetooth devices, wherein the device is used for a second bluetooth device, at least two bluetooth chips are arranged in the second bluetooth device, and the device comprises:
the second connection module is used for establishing main Bluetooth connection with a first main Bluetooth chip in the first Bluetooth device through a second main Bluetooth chip in m Bluetooth chips in the at least two Bluetooth chips; through the master Bluetooth connection, m-1 slave Bluetooth connections are established with the first Bluetooth device, n Bluetooth chips are arranged in the first Bluetooth device, m is greater than 2, m is less than or equal to n, and n is greater than 2;
the data receiving module is used for receiving the audio data sent by the first Bluetooth device through the m Bluetooth connections, wherein different Bluetooth connections are used for sending the audio data of the same audio;
and the playing module is used for playing the audio according to the audio data.
14. A bluetooth device, wherein the bluetooth device comprises a processor, a memory, and at least two bluetooth chips; the memory stores at least one instruction for execution by the processor to implement the method of audio transmission between bluetooth devices according to any one of claims 1 to 6 or to implement the method of audio transmission between bluetooth devices according to any one of claims 7 to 11.
15. A computer readable storage medium having stored thereon at least one instruction for execution by a processor to implement the method of audio transmission between bluetooth devices according to any one of claims 1 to 6 or to implement the method of audio transmission between bluetooth devices according to any one of claims 7 to 11.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911134466.XA CN110830970B (en) | 2019-11-19 | 2019-11-19 | Audio transmission method, device, equipment and storage medium between Bluetooth equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911134466.XA CN110830970B (en) | 2019-11-19 | 2019-11-19 | Audio transmission method, device, equipment and storage medium between Bluetooth equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110830970A CN110830970A (en) | 2020-02-21 |
CN110830970B true CN110830970B (en) | 2023-05-30 |
Family
ID=69556705
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911134466.XA Active CN110830970B (en) | 2019-11-19 | 2019-11-19 | Audio transmission method, device, equipment and storage medium between Bluetooth equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110830970B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111510900B (en) * | 2020-04-20 | 2023-08-25 | Oppo广东移动通信有限公司 | Bluetooth transmission method, terminal device and computer readable storage medium |
CN111885555B (en) * | 2020-06-08 | 2022-05-20 | 广州安凯微电子股份有限公司 | TWS earphone based on monitoring scheme and implementation method thereof |
CN113411796B (en) * | 2021-06-30 | 2024-09-17 | 雅迪科技集团有限公司 | Layer-entering group type Bluetooth equipment audio transmission system, method and storage medium |
CN115567086B (en) * | 2022-09-09 | 2024-03-26 | 安克创新科技股份有限公司 | Audio transmission device, audio playing device and audio transmission and synchronization system |
CN116761110B (en) * | 2023-08-18 | 2023-11-14 | 江西斐耳科技有限公司 | Multi-point bluetooth headset control method, system, storage medium and equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1741407A (en) * | 2004-08-26 | 2006-03-01 | 华为技术有限公司 | Method for expanding blue-tooth chip |
CN108881990A (en) * | 2018-06-25 | 2018-11-23 | 努比亚技术有限公司 | Audio frequency playing method, terminal and computer storage medium |
CN108924805A (en) * | 2018-07-13 | 2018-11-30 | 杭州网易云音乐科技有限公司 | Bluetooth connecting method, medium and the first, second electronic equipment and calculating equipment |
CN109379653A (en) * | 2018-09-30 | 2019-02-22 | Oppo广东移动通信有限公司 | Audio frequency transmission method, device, electronic equipment and storage medium |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9112986B2 (en) * | 2012-06-08 | 2015-08-18 | Apple Inc. | Supplemental audio signal processing for a bluetooth audio link |
US10225098B2 (en) * | 2015-01-30 | 2019-03-05 | Cassia Networks Inc. | Methods, devices and systems for supporting wireless communication |
US10681479B2 (en) * | 2015-01-30 | 2020-06-09 | Cassia Networks Inc. | Methods, devices and systems for bluetooth audio transmission |
-
2019
- 2019-11-19 CN CN201911134466.XA patent/CN110830970B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1741407A (en) * | 2004-08-26 | 2006-03-01 | 华为技术有限公司 | Method for expanding blue-tooth chip |
CN108881990A (en) * | 2018-06-25 | 2018-11-23 | 努比亚技术有限公司 | Audio frequency playing method, terminal and computer storage medium |
CN108924805A (en) * | 2018-07-13 | 2018-11-30 | 杭州网易云音乐科技有限公司 | Bluetooth connecting method, medium and the first, second electronic equipment and calculating equipment |
CN109379653A (en) * | 2018-09-30 | 2019-02-22 | Oppo广东移动通信有限公司 | Audio frequency transmission method, device, electronic equipment and storage medium |
Non-Patent Citations (4)
Title |
---|
Point-to-Multipoint Stereo Audio Transmitting System Based on Bluetooth;Jian He;《2010 International Conference on Communications and Mobile Computing》;20100524;全文 * |
基于Linux平台的蓝牙API设计与实现;赖明辉;《中国优秀硕士学位论文全文数据库信息科技辑》;20190515;全文 * |
蓝牙芯片功能测试软件的实现;舒春林等;《计算机工程与应用》;20040201(第02期);全文 * |
蓝牙车载信息系统的设计与实现;刘媛等;《山东科学》;20100615(第03期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN110830970A (en) | 2020-02-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110830970B (en) | Audio transmission method, device, equipment and storage medium between Bluetooth equipment | |
CN109347581B (en) | Bluetooth headset connection method and device, electronic equipment and storage medium | |
CN109246671B (en) | Data transmission method, device and system | |
CN109445740B (en) | Audio playing method and device, electronic equipment and storage medium | |
US20200245386A1 (en) | Wireless connection method and device | |
EP4033773B1 (en) | Connection method for multimedia playing device, multimedia playing device and control terminal | |
CN109445741B (en) | Data transmission method and device, electronic equipment and storage medium | |
US10567900B2 (en) | Audio system, audio device, and audio device setting method | |
CN109450851B (en) | Device connection method, electronic device, and computer-readable medium | |
CN108848360B (en) | Intelligent projector, projection screen control method and related product | |
CN111132111B (en) | BLE-based audio sharing method, system and computer readable storage medium | |
CN114915947A (en) | Bluetooth communication system and computer-readable storage medium | |
CN114786139B (en) | Connection establishment method, device, apparatus, storage medium, and program product | |
WO2016072160A1 (en) | Audio reproduction apparatus and audio reproduction system | |
KR20170107397A (en) | Method for configuring an audio rendering and/or acquiring device, and corresponding audio rendering and/or acquiring device, system, computer readable program product and computer readable storage medium | |
CN110856086A (en) | Method and device for controlling sound system and readable storage medium | |
CN113473319A (en) | Bluetooth multi-channel audio playing method, device and system | |
CN115278624A (en) | Information updating method and device, audio sharing method and system and electronic equipment | |
CN116761110B (en) | Multi-point bluetooth headset control method, system, storage medium and equipment | |
CN115175149A (en) | Equipment adding method and device, bluetooth chip and equipment | |
CN112188361A (en) | Audio data transmission method, sound box system and computer readable storage medium | |
WO2023185589A1 (en) | Volume control method and electronic device | |
WO2022237353A1 (en) | Method, apparatus, and device for configuring earphones in earphone holding case, and program product | |
CN115665671A (en) | Audio data sharing method and device, electronic equipment and storage medium | |
CN115442778B (en) | Method and device for establishing Bluetooth link, bluetooth chip and equipment |
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 |