CN109298846B - Audio transmission method and device, electronic equipment and storage medium - Google Patents

Audio transmission method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN109298846B
CN109298846B CN201811165208.3A CN201811165208A CN109298846B CN 109298846 B CN109298846 B CN 109298846B CN 201811165208 A CN201811165208 A CN 201811165208A CN 109298846 B CN109298846 B CN 109298846B
Authority
CN
China
Prior art keywords
bluetooth
earphone
audio data
earphones
headset
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
Application number
CN201811165208.3A
Other languages
Chinese (zh)
Other versions
CN109298846A (en
Inventor
龚金华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201811165208.3A priority Critical patent/CN109298846B/en
Publication of CN109298846A publication Critical patent/CN109298846A/en
Application granted granted Critical
Publication of CN109298846B publication Critical patent/CN109298846B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • H04B5/72

Abstract

The application discloses an audio transmission method, an audio transmission device, electronic equipment and a storage medium, which are applied to the electronic equipment of an audio transmission system, wherein the audio transmission system comprises a plurality of Bluetooth earphones and the electronic equipment, and the method comprises the following steps: detecting the size of audio data collected by each Bluetooth headset in the plurality of Bluetooth headsets in the process of receiving the audio data transmitted by the plurality of Bluetooth headsets through the connecting passage by the electronic equipment; acquiring a target Bluetooth earphone with the largest size of audio data acquired from the plurality of Bluetooth earphones in preset time every other preset time; and establishing connection with the target Bluetooth earphone by taking the target Bluetooth earphone as a relay earphone, wherein the relay earphone is used for transmitting the audio data collected by the relay earphone and the received audio data transmitted by other Bluetooth earphones except the relay earphone in the plurality of Bluetooth earphones to the electronic equipment. The method can realize that a plurality of Bluetooth headsets transmit audio data to the electronic equipment.

Description

Audio transmission method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of electronic devices, and more particularly, to an audio transmission method and apparatus, an electronic device, and a storage medium.
Background
Electronic devices, such as computers and mobile phones, have become one of the most common consumer electronic products in daily life. With the development of audio playing devices, music, video, games, and the like can be often listened to, watched, or played through an audio playing device connected to an electronic device. Especially, users with high requirements can use the Bluetooth headset to connect with the electronic equipment so as to receive and play audio data transmitted by the electronic equipment, so that data transmission between the headset and the electronic equipment does not depend on wired connection any more, and the convenience in use is greatly improved. However, the data transmission mode between the bluetooth headset and the electronic device is single, and the use requirement of the user cannot be well met.
Disclosure of Invention
In view of the foregoing problems, the present application provides an audio transmission method, an audio transmission apparatus, an electronic device, and a computer-readable storage medium to improve the foregoing problems.
In a first aspect, an embodiment of the present application provides an audio transmission method, which is applied to an electronic device of an audio transmission system, where the audio transmission system includes a plurality of bluetooth headsets and the electronic device, the electronic device and the plurality of bluetooth headsets form a connection path, the electronic device is connected to one of the plurality of bluetooth headsets, and a bluetooth headset connected to the electronic device is a relay headset in the connection path, and the method includes: detecting the size of audio data collected by each Bluetooth headset in the plurality of Bluetooth headsets in the process of receiving the audio data transmitted by the plurality of Bluetooth headsets through the connecting passage by the electronic equipment; acquiring a target Bluetooth earphone with the largest size of audio data acquired from the plurality of Bluetooth earphones in preset time every other preset time; and establishing connection with the target Bluetooth earphone by taking the target Bluetooth earphone as a relay earphone, wherein the relay earphone is used for transmitting the audio data collected by the relay earphone and the received audio data transmitted by other Bluetooth earphones except the relay earphone in the plurality of Bluetooth earphones to the electronic equipment.
In a second aspect, an embodiment of the present application provides an audio transmission apparatus, which is applied to an electronic device of an audio transmission system, where the audio transmission system includes a plurality of bluetooth headsets and the electronic device, the electronic device forms a connection path with the plurality of bluetooth headsets, the electronic device is connected with one of the plurality of bluetooth headsets, and a bluetooth headset connected with the electronic device is a relay headset in the connection path, the apparatus includes: the electronic equipment comprises a data detection module, a target earphone acquisition module and an earphone switching module, wherein the data detection module is used for detecting the size of audio data collected by each Bluetooth earphone in the plurality of Bluetooth earphones in the process of receiving the audio data transmitted by the plurality of Bluetooth earphones through the connecting channel by the electronic equipment; the target earphone acquisition module is used for acquiring a target Bluetooth earphone with the largest size of audio data acquired from the plurality of Bluetooth earphones every preset time; the earphone switching module is used for taking the target Bluetooth earphone as a relay earphone and establishing connection with the target Bluetooth earphone, and the relay earphone is used for transmitting the audio data collected by the relay earphone and the received audio data transmitted by other Bluetooth earphones except the relay earphone in the plurality of Bluetooth earphones to the electronic equipment.
In a third aspect, an embodiment of the present application provides an electronic device, including: one or more processors; a memory; one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the audio transmission method provided by the first aspect above.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where a program code is stored in the computer-readable storage medium, and the program code may be called by a processor to execute the audio transmission method provided in the first aspect.
Compared with the prior art, according to the scheme provided by the application, the electronic equipment and the Bluetooth earphones form a connecting path, the electronic equipment is connected with one of the Bluetooth earphones, and the Bluetooth earphone connected with the electronic equipment is used as a relay earphone in the connecting path. In the process that the electronic equipment receives audio data transmitted by a plurality of Bluetooth earphones through a connecting passage, the size of the audio data collected by each Bluetooth earphone in the plurality of Bluetooth earphones is detected, the target Bluetooth earphone with the largest size of the audio data collected in the plurality of Bluetooth earphones in the preset time is obtained at preset intervals, the target Bluetooth earphone is used as a relay earphone, connection with the target Bluetooth earphone is established, and the relay earphone is used for transmitting the audio data collected by the relay earphone and the audio data transmitted by other Bluetooth earphones except the relay earphone in the plurality of received Bluetooth earphones to the electronic equipment. According to the scheme, the transmission time of the audio data transmitted to the electronic equipment is reduced while the plurality of Bluetooth earphones transmit the audio data to the electronic equipment.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 shows a connection diagram of an audio transmission system according to an embodiment of the present application.
Fig. 2 shows another connection diagram of the audio transmission system provided in the embodiment of the present application.
Fig. 3 shows a flow diagram of an audio transmission method according to an embodiment of the application.
Fig. 4 shows a flow chart of an audio transmission method according to another embodiment of the present application.
Fig. 5 shows a block diagram of an audio transmission device according to an embodiment of the application.
Fig. 6 shows a block diagram of a target earpiece acquisition module in an audio transmission device according to an embodiment of the application.
Fig. 7 shows a block diagram of an earphone switching module in an audio transmission device according to an embodiment of the present application.
Fig. 8 is a block diagram of an electronic device for executing an audio transmission method according to an embodiment of the present application.
Fig. 9 is a storage unit according to an embodiment of the present application, configured to store or carry program code for implementing an ear audio transmission method according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
Currently, most electronic devices, such as computers, mobile phones, music playing devices, etc., can play audio data. With the further development of scientific technology and the increase of the demands of users, the electronic equipment can be connected with external audio playing equipment, so that the electronic equipment can play audio data through the external audio playing equipment. The audio playing device may include an earphone, a sound box, a vehicle-mounted device, and the like. The audio playing device can receive the audio data transmitted by the electronic device and play the audio data. The electronic device can be connected with the audio playing device in a wired mode or a wireless mode.
When the audio playing device is a wired earphone, the wired earphone is connected with the electronic device through a physical line, and the electronic device transmits audio to the wired earphone through the physical line so that the wired earphone can play the audio.
When the wired earphone is used, the connection between the earphone and the electronic equipment does not depend on a physical line, so that the use by a user is inconvenient. Therefore, wireless earphones are produced to increase the convenience of use of the earphones. The wireless earphone establishes a communication link according to a wireless communication protocol commonly supported by the wireless earphone and the electronic equipment in advance, and then the electronic equipment transmits audio to the wireless earphone through the communication link so that the wireless earphone can play the audio. The wireless communication protocol may include a WLAN protocol, a bluetooth protocol, or a ZigBee protocol, and in the embodiment of the present application, a wireless headset connected through a bluetooth protocol in the wireless headset is taken as an example for description.
In the embodiment of the present application, the headset that can establish a bluetooth connection with other devices such as an electronic device through a bluetooth protocol, a private protocol, or other commands, and perform data transmission is defined as a bluetooth headset, such as a TWS (true wireless Stereo) headset, a TWS Plus headset, and the like. Of course, the bluetooth headset may also be bluetooth connected to other bluetooth headsets.
In this embodiment, the electronic device may form a connection path with a plurality of bluetooth headsets, the electronic device may be connected with one of the plurality of bluetooth headsets, and the bluetooth headset connected with the electronic device serves as a relay headset in the connection path. The plurality of bluetooth headsets may be two or more than two bluetooth headsets.
Furthermore, in the audio transmission system formed by the electronic device and the plurality of bluetooth earphones, the electronic device can transmit data to the relay earphone, and the relay earphone can transmit data to the bluetooth earphones connected with the relay earphone. The relay headset may also receive data transmitted by a bluetooth headset connected thereto and transmit the data to the electronic device. The other bluetooth earphones except the relay earphone in the plurality of bluetooth earphones can transmit data according to a data transmission channel established by bluetooth connection between the bluetooth earphones, namely, the other bluetooth earphones can transmit the data to the relay earphone through the connection channel, the relay earphone transmits the received data and the data acquired by the relay earphone to the electronic equipment, and the data can be audio data, so that the transmission of the audio data between the electronic equipment and the plurality of bluetooth earphones is realized.
In one embodiment, a plurality of bluetooth headsets are sequentially connected to form a connection loop, and the electronic device is connected with one bluetooth headset in the connection loop, wherein only one bluetooth headset is connected with the electronic device. For example, as shown in fig. 1, bluetooth headset a is connected with bluetooth headset B, and bluetooth headset B removes to be connected with bluetooth headset a, still is connected with bluetooth headset C, and bluetooth headset C removes to be connected with bluetooth headset B, still is connected with bluetooth headset D to follow in the same direction out and connect with this, until being connected to bluetooth headset E, bluetooth headset E is connected with bluetooth headset a again, thereby forms the connecting loop. The electronic device may be connected to one bluetooth headset in the connection loop, and the bluetooth headset connected to the electronic device serves as a relay headset, for example, connected to the bluetooth headset a in fig. 1, where the relay headset is the bluetooth headset a. Of course, in this embodiment, the number of bluetooth headsets between the bluetooth headset D and the bluetooth headset E is not limited, and may be one or more, or may be 0.
As shown in fig. 1, in this embodiment, the bluetooth headsets on the connection loop may transmit the audio data to the relay headset (bluetooth headset a) through the connection loop by the mutual connection relationship between the bluetooth headsets, and the relay headset may then mix the audio data transmitted by other headsets and the audio data collected by the relay headset and transmit the mixed audio data to the electronic device.
In addition, each bluetooth headset except the relay headset has two transmission paths for transmitting audio data to the electronic device, namely, a transmission path shown in a direction 1 and a transmission path shown in a direction 2 in fig. 1. The two transmission paths corresponding to each bluetooth headset transmit corresponding paths to the direction of two adjacent devices, and the two adjacent devices are on the two transmission paths respectively.
For example, in fig. 1, in two transmission paths corresponding to the bluetooth headset C, the transmission path shown in the direction 1 is that the bluetooth headset C transmits audio data to the bluetooth headset B, and the bluetooth headset B transmits the audio data to the bluetooth headset a again until the bluetooth headset a transmits the audio data to the electronic device. The transmission path shown in the direction 2 is that the bluetooth headset C transmits audio data to the bluetooth headset D, and the bluetooth headset D transmits the audio data to the next bluetooth headset again until the audio data is sequentially transmitted to the bluetooth headset a in the direction shown in the direction 2 in fig. 1, and the bluetooth headset a transmits the audio data to the electronic device again. For bluetooth headset C, its adjacent bluetooth headset B is on the transmission path in direction 1 and its adjacent bluetooth headset D is on the transmission path in direction 2.
In one embodiment, a plurality of bluetooth headsets are sequentially connected to form a non-closed loop connecting path, and the electronic equipment is connected with one bluetooth headset which is connected with only one bluetooth headset in the non-closed loop connecting path. For example, as shown in fig. 2, a bluetooth headset a is connected to a bluetooth headset b, the bluetooth headset b is connected to a bluetooth headset a and is also connected to a bluetooth headset c, and the bluetooth headset c is connected to a bluetooth headset b and is also connected to a bluetooth headset d, so as to be connected to a bluetooth headset e, thereby forming a non-closed loop connection path. The electronic device may be connected to one bluetooth headset in the non-closed loop path, and the bluetooth headset connected to the electronic device serves as a relay headset, for example, connected to the bluetooth headset c in fig. 2, where the relay headset is the bluetooth headset c. Of course, the number of bluetooth headsets between the bluetooth headset d and the bluetooth headset e is not limited, and may be one or more, or may be 0. In this embodiment, the bluetooth headsets on the connection loop may transmit the audio data to the relay headset (bluetooth headset c) through the connection loop by the mutual connection relationship between the bluetooth headsets, and the relay headset may mix the audio data transmitted by other headsets and the audio data collected by the relay headset and transmit the mixed audio data to the electronic device.
In the above embodiments, the bluetooth headset other than the relay headset may transmit the audio data to the relay headset, and the relay headset may transmit the received audio data and the audio data collected by the voice collecting unit (e.g., a microphone) thereof to the electronic device. The embodiment of the application provides an audio transmission method, which is used for adjusting a relay earphone in the process of receiving audio data transmitted by a plurality of Bluetooth earphones through a connecting passage by electronic equipment so as to reduce the transmission time of the audio data.
The following describes in detail an audio transmission method, an audio transmission apparatus, an electronic device, and a storage medium according to embodiments of the present application.
Referring to fig. 3, an embodiment of the present application provides an audio transmission method applicable to an electronic device, where the audio transmission method includes:
step S110: and in the process that the electronic equipment receives the audio data transmitted by the plurality of Bluetooth earphones through the connecting passage, detecting the size of the audio data collected by each Bluetooth earphone in the plurality of Bluetooth earphones.
In the embodiment of the application, the plurality of bluetooth headsets transmit the audio data to the electronic equipment through the connecting channel. The audio data transmitted by the bluetooth headset may be voice information input by a user corresponding to the bluetooth headset through an audio acquisition module of the bluetooth headset. For example, a user inputs voice through a microphone of a bluetooth headset, and the bluetooth headset converts voice information into audio data after acquiring the voice information. For example, the sound input by the user is converted into a series of signals with voltage changes through a microphone of the bluetooth headset, and the signals are converted into digitized audio data through sampling.
Of course, the audio data transmitted by the bluetooth headset may also be the audio data transmitted by other bluetooth headsets to the headset, that is, the audio data acquired by other bluetooth headsets needs to pass through the bluetooth headset in the process of transmitting the audio data acquired by other bluetooth headsets to the electronic device. The other earphones except the relay earphone in the plurality of Bluetooth earphones transmit the acquired audio data to the electronic equipment, and finally the relay earphone transmits the acquired audio data to the relay earphone, and finally the relay earphone can transmit the audio data of the other Bluetooth earphones and the audio data acquired by the audio acquisition module of the relay earphone to the electronic equipment.
In this embodiment of the application, in the audio transmission system, the size of the audio data acquired by each bluetooth headset may change, and the size of the audio data acquired by the relay headset may be the largest in a period of time, and the size of the audio data acquired by one of the other bluetooth headsets may also be the largest in a period of time.
In one scenario, when the audio transmission system is used for a conference, each bluetooth headset corresponds to one participant, each bluetooth headset transmits audio data acquired by the bluetooth headset to the electronic equipment through the connecting passage, and the electronic equipment can transmit the received audio data acquired by all the bluetooth headsets to other electronic equipment, so that a teleconference is realized. Because different people speak during the conference, the voice time length input by each user in different time periods is different, that is, the voice time length input by a certain participant user in a certain time period is the longest, and the voice time length input by another certain participant user in a certain time period is the longest, so that the Bluetooth earphones with the largest voice data collected in different time periods are different.
When the audio transmission system is used for transmitting audio data between the plurality of Bluetooth earphones and the electronic equipment, the audio data of the Bluetooth earphones which are far away from the relay earphone in the connecting passage are transmitted to the relay earphone after passing through the plurality of Bluetooth earphones, and finally the audio data are transmitted to the electronic equipment by the relay earphone. When the bluetooth headset with the largest audio data collected within a period of time is far away from the relay headset in the connection path, the audio data collected by the bluetooth headset with the larger size is transmitted to the relay headset after being transmitted by the plurality of bluetooth headsets, so that the transmission time of the audio data is longer. Therefore, the relay earphones can be adjusted according to the size of the audio data actually collected by each Bluetooth earphone, so that the transmission time of the audio data is reduced.
Therefore, in the embodiment of the application, the electronic device may detect the size of the audio data collected by each of the plurality of bluetooth headsets in the process of receiving the audio data transmitted by the plurality of bluetooth headsets through the connection path, so as to adjust the relay headset. As a mode, the audio data that every bluetooth headset transmitted can carry different identification, and electronic equipment can determine the audio data that received audio data gathered for which bluetooth headset after receiving the audio data of bluetooth headset transmission, through calculating the size of the audio data that every bluetooth headset gathered, can realize the detection to the size of the audio data that bluetooth headset gathered. As another mode, the electronic device may also send a detection instruction to each of the plurality of bluetooth headsets, the bluetooth headsets only detect the size of the audio data acquired by the bluetooth headsets according to the detection instruction, and finally transmit the size of the audio data acquired by the bluetooth headsets to the electronic device through the connection path, and correspondingly, the electronic device acquires the size of the audio data acquired by each bluetooth headset.
Step S120: and acquiring the target Bluetooth earphone with the largest size of the audio data collected in the plurality of Bluetooth earphones within the preset time every other preset time.
In this embodiment of the present application, the relay headset may be adjusted at intervals according to the detected audio data collected by each of the plurality of bluetooth headsets.
Furthermore, the target bluetooth headset with the largest size of the audio data collected in the plurality of bluetooth headsets within the preset time can be obtained at preset time intervals. The specific size of the preset time may be limited in the embodiment of the present application, and may be set to 1 minute, 2 minutes, or 3 minutes, for example.
It can be understood that according to the size of the audio data collected by each bluetooth headset in the above-mentioned detected plurality of bluetooth headsets, the size of each section of audio data collected by each bluetooth headset can be known, and according to the size of each section of audio data collected by the bluetooth headset in the preset time, the size of the audio data collected by the bluetooth headset in the preset time can be counted. After the size of the audio data collected by each bluetooth headset within the preset time is obtained, the relay headset can be adjusted subsequently according to the target bluetooth headset with the largest size of the audio data collected by each bluetooth headset within the preset time.
Step S130: and establishing connection with the target Bluetooth earphone by taking the target Bluetooth earphone as a relay earphone, wherein the relay earphone is used for transmitting the audio data collected by the relay earphone and the received audio data transmitted by other Bluetooth earphones except the relay earphone in the plurality of Bluetooth earphones to the electronic equipment.
In this embodiment of the present application, after the target bluetooth headset is determined, the target bluetooth headset may be used as a relay headset to establish a connection with the target bluetooth headset. That is, the electronic device may disconnect from the current relay headset and establish a connection with the target bluetooth headset according to the stored address of the target bluetooth headset. Therefore, in the connecting path between the electronic equipment and the plurality of Bluetooth earphones, the Bluetooth earphones connected with the electronic equipment become target Bluetooth earphones, other Bluetooth earphones except the target Bluetooth earphones can transmit audio data to the target Bluetooth earphones through the connecting path through the connection between the Bluetooth earphones, and the target Bluetooth earphones transmit the received audio data and the audio data acquired by the audio acquisition module of the target Bluetooth earphones to the electronic equipment. The Bluetooth headset connected with the electronic equipment, namely the relay headset, is adjusted to be the target Bluetooth headset with the largest size of the audio data collected by the plurality of Bluetooth headsets within the preset time, so that the audio data collected by the target Bluetooth headset can be transmitted to the electronic equipment without passing through other Bluetooth headsets, and the time for transmitting the audio data collected by the Bluetooth headset to the electronic equipment in the audio transmission system is reduced.
According to the audio transmission method provided by the embodiment of the application, in the process that the electronic equipment receives audio data transmitted by a plurality of Bluetooth earphones through a connecting passage, the size of the audio data collected by each Bluetooth earphone in the plurality of Bluetooth earphones is detected, the target Bluetooth earphone with the largest size of the audio data collected by the plurality of Bluetooth earphones in the preset time is obtained at preset intervals, the target Bluetooth earphone is used as a relay earphone, and connection with the target Bluetooth earphone is established, so that the plurality of Bluetooth earphones transmit the audio data to the electronic equipment, the audio data collected by the target Bluetooth earphone is transmitted to the electronic equipment without passing through other Bluetooth earphones, and the time for transmitting the audio data collected by the Bluetooth earphones in an audio transmission system to the electronic equipment is shortened.
Referring to fig. 4, another embodiment of the present application provides an audio transmission method applicable to an electronic device, where the audio transmission method includes:
step S210: and in the process that the electronic equipment receives the audio data transmitted by the plurality of Bluetooth earphones through the connecting passage, detecting the size of the audio data collected by each Bluetooth earphone in the plurality of Bluetooth earphones.
In the embodiment of the present application, the content in the above embodiment can be referred to in step S210, and is not described herein again.
Step S220: and acquiring the size of the audio data acquired by each Bluetooth earphone in the plurality of Bluetooth earphones in the preset time every other preset time.
In this embodiment of the application, when a target bluetooth headset with the largest size of audio data collected by a plurality of bluetooth headsets in a preset time is obtained, the size of the audio data collected by each bluetooth headset in the preset time may be obtained first. Specifically, the size of each section of audio data collected by each bluetooth headset in the plurality of bluetooth headsets can be known according to the size of the audio data collected by each bluetooth headset in the detected plurality of bluetooth headsets, and the size of the audio data collected by each bluetooth headset in the preset time can be counted according to the size of each section of audio data collected by each bluetooth headset in the preset time.
Step S230: when the maximum value of the size of the audio data collected within the preset time corresponds to a plurality of Bluetooth earphones, selecting one Bluetooth earphone from the plurality of Bluetooth earphones corresponding to the maximum value as a target Bluetooth earphone; and when the maximum value of the size of the audio data collected in the preset time corresponds to one Bluetooth earphone, determining the Bluetooth earphone corresponding to the maximum value as a target Bluetooth earphone.
According to the size of the audio data collected by each of the plurality of Bluetooth headsets in the preset time, the maximum value in the size of the audio data collected by each of the plurality of Bluetooth headsets can be obtained. Since there may be some cases where the sizes of the audio data collected by some bluetooth headsets within the preset time are equal, it is necessary to determine whether the maximum value of the sizes of the audio data collected within the preset time corresponds to one bluetooth headset.
When the maximum value of the size of the audio data collected within the preset time is judged to correspond to one Bluetooth headset, the Bluetooth headset corresponding to the maximum value can be directly used as a target Bluetooth headset.
When the maximum size of the audio data collected within the preset time is judged to correspond to the plurality of Bluetooth earphones, one Bluetooth earphone needs to be selected from the Bluetooth earphones corresponding to the maximum size as a target Bluetooth earphone.
As an embodiment, when the maximum value of the size of the audio data collected within the preset time corresponds to a plurality of bluetooth headsets, selecting one bluetooth headset from the plurality of bluetooth headsets corresponding to the maximum value as a target bluetooth headset may include:
when the maximum value of the size of the audio data collected within the preset time corresponds to a plurality of Bluetooth earphones, judging whether the Bluetooth earphones which are currently connected with the electronic equipment exist in the plurality of Bluetooth earphones which correspond to the maximum value; and if the current Bluetooth earphone connected with the electronic equipment does not exist, selecting any Bluetooth earphone from the plurality of Bluetooth earphones corresponding to the maximum value as a target Bluetooth earphone.
It can be understood that, when the data size of the audio collected within the preset time corresponds to a plurality of bluetooth headsets, if there is a bluetooth headset currently connected with the electronic device, that is, a current relay headset, in the plurality of bluetooth headsets corresponding to the maximum value, in order to reduce power consumption and time caused by switching the connected bluetooth headset, the current relay headset may be kept unchanged. If the bluetooth headset currently connected with the electronic device does not exist in the plurality of bluetooth headsets corresponding to the maximum value, any one of the plurality of bluetooth headsets corresponding to the maximum value can be selected as the target bluetooth headset, so that the relay headset can be adjusted to the target bluetooth headset subsequently.
As another embodiment, when the maximum value of the size of the audio data collected within the preset time corresponds to a plurality of bluetooth headsets, selecting one bluetooth headset from the plurality of bluetooth headsets corresponding to the maximum value as the target bluetooth headset may include:
when the maximum value of the size of the audio data collected within the preset time corresponds to a plurality of Bluetooth earphones, judging whether the Bluetooth earphones which are currently connected with the electronic equipment exist in the plurality of Bluetooth earphones which correspond to the maximum value; and if the Bluetooth earphone which is connected with the electronic equipment currently does not exist, selecting the Bluetooth earphone with the strongest signal intensity as the target Bluetooth earphone from the plurality of Bluetooth earphones corresponding to the maximum value.
It can be understood that, when the data size of the audio collected within the preset time corresponds to a plurality of bluetooth headsets, if there is a bluetooth headset currently connected with the electronic device, that is, a current relay headset, in the plurality of bluetooth headsets corresponding to the maximum value, in order to reduce power consumption and time caused by switching the connected bluetooth headset, the current relay headset may be kept unchanged. If the bluetooth headset connected with the electronic device does not exist in the plurality of bluetooth headsets corresponding to the maximum value, the bluetooth headset with the strongest bluetooth signal intensity can be selected from the plurality of bluetooth headsets corresponding to the maximum value as the target bluetooth headset according to the signal intensity (bluetooth signal intensity) of each bluetooth headset detected by the electronic device, so that the relay headset is adjusted to be the target bluetooth headset subsequently, the signal intensity of the relay headset connected with the electronic device is strong, the efficiency is high when the audio data of other bluetooth headsets and the audio data collected by the relay headset are transmitted to the bluetooth headset, and the audio transmission time is shortened.
As another embodiment, when the maximum value of the size of the audio data collected within the preset time corresponds to a plurality of bluetooth headsets, selecting one bluetooth headset from the plurality of bluetooth headsets corresponding to the maximum value as the target bluetooth headset may include:
when the maximum value of the size of the audio data collected within the preset time corresponds to a plurality of Bluetooth earphones, judging whether the Bluetooth earphones which are currently connected with the electronic equipment exist in the plurality of Bluetooth earphones which correspond to the maximum value; and if the Bluetooth earphones which are currently connected with the electronic equipment do not exist, selecting the Bluetooth earphones which are close to the other Bluetooth earphones corresponding to the maximum value in the connecting passage from the Bluetooth earphones corresponding to the maximum value as target Bluetooth earphones.
It can be understood that, when the data size of the audio collected within the preset time corresponds to a plurality of bluetooth headsets, if there is a bluetooth headset currently connected with the electronic device, that is, a current relay headset, in the plurality of bluetooth headsets corresponding to the maximum value, in order to reduce power consumption and time caused by switching the connected bluetooth headset, the current relay headset may be kept unchanged. If the plurality of Bluetooth earphones corresponding to the maximum value do not have the current Bluetooth earphone connected with the electronic device, the Bluetooth earphone close to the Bluetooth earphone corresponding to the other maximum value can be obtained according to the distribution situation of the plurality of Bluetooth earphones corresponding to the maximum value in the connecting passage and is used as the target Bluetooth earphone, namely the obtained target Bluetooth earphone is closer to the Bluetooth earphones corresponding to the other maximum value, the transmission of audio data can be optimized, and the time of audio data transmission is reduced. For example, as shown in fig. 1, when the bluetooth headset corresponding to the maximum value is a bluetooth headset B, a bluetooth headset C, or a bluetooth headset D, the bluetooth headset C may be selected as the target bluetooth headset.
Step S240: and establishing connection with the target Bluetooth earphone by taking the target Bluetooth earphone as a relay earphone, wherein the relay earphone is used for transmitting the audio data collected by the relay earphone and the received audio data transmitted by other Bluetooth earphones except the relay earphone in the plurality of Bluetooth earphones to the electronic equipment.
In this embodiment, after the target bluetooth headset is determined, the relay headset may be adjusted to the target bluetooth headset and a connection with the target bluetooth headset may be established. Therefore, in the connecting path between the electronic equipment and the plurality of Bluetooth earphones, the Bluetooth earphones connected with the electronic equipment become target Bluetooth earphones, other Bluetooth earphones except the target Bluetooth earphones can transmit audio data to the target Bluetooth earphones through the connecting path through the connection between the Bluetooth earphones, and the target Bluetooth earphones transmit the received audio data and the audio data acquired by the audio acquisition module of the target Bluetooth earphones to the electronic equipment.
In this embodiment of the present application, the position of the target bluetooth headset in the connection path may also be determined, so as to further determine whether the target bluetooth headset needs to be adjusted. Specifically, the method may include: judging whether the target Bluetooth headset is adjacent to a Bluetooth headset currently connected with the electronic equipment; and if the target Bluetooth earphone is not adjacent to the Bluetooth earphone which is connected with the electronic equipment currently, the target Bluetooth earphone is used as a relay earphone, and the connection with the target Bluetooth earphone is established, wherein the relay earphone is used for transmitting the audio data collected by the relay earphone and the received audio data transmitted by the other Bluetooth earphones except the relay earphone in the plurality of Bluetooth earphones to the electronic equipment.
It can be understood that, when it is determined that the target bluetooth headset is adjacent to the current relay headset in the connection path, that is, adjacent to the bluetooth headset currently connected to the electronic device, the current relay headset may be kept unchanged in order to reduce power consumption and time caused by switching the connected bluetooth headset. When the target bluetooth headset is adjacent to the current relay headset in the connection path, the relay headset may be adjusted to the target bluetooth headset and a connection with the target bluetooth headset may be established for transmission of audio data. For example, as shown in fig. 2, the bluetooth headset (relay headset) currently connected to the electronic device is a bluetooth headset a, and if the determined target bluetooth headset is a bluetooth headset B, the target bluetooth headset is adjacent to the bluetooth headset currently connected to the electronic device, that is, the bluetooth headset a is adjacent to the bluetooth headset B, the relay headset may not be adjusted; if the determined target Bluetooth earphone is the Bluetooth earphone C, the target Bluetooth earphone is not adjacent to the Bluetooth earphone which is currently connected with the electronic equipment, the relay earphone can be adjusted to be the Bluetooth earphone C, and connection between the relay earphone and the Bluetooth earphone C is established.
According to the audio transmission method provided by the embodiment of the application, in the process of receiving audio data transmitted by a plurality of Bluetooth earphones through a connecting passage through electronic equipment, the size of the audio data collected by each Bluetooth earphone in the plurality of Bluetooth earphones is detected, the Bluetooth earphone corresponding to the maximum value of the size of the audio data collected by the plurality of Bluetooth earphones in the preset time is obtained at preset intervals, the mode of determining a target Bluetooth earphone when the maximum value corresponds to one Bluetooth earphone or the plurality of Bluetooth earphones is provided, and finally, the relay is adjusted, so that when the audio data is transmitted subsequently, the transmission time of the audio data can be reduced, the condition of sound delay is avoided, and the user experience is improved.
Referring to fig. 5, a block diagram of an audio transmission apparatus 400 according to an embodiment of the present application is shown, where the audio transmission apparatus 400 is applied to an electronic device of an audio transmission system, the audio transmission system includes a plurality of bluetooth headsets and the electronic device, the electronic device forms a connection path with the plurality of bluetooth headsets, the electronic device is connected with one of the plurality of bluetooth headsets, and the bluetooth headset connected with the electronic device is a relay headset in the connection path. The audio transmission apparatus 400 includes: a data detection module 410, a target earphone acquisition module 420, and an earphone switching module 430. The data detection module 410 is configured to detect the size of audio data collected by each of the bluetooth headsets in the process that the electronic device receives the audio data transmitted by the bluetooth headsets through the connection path; the target earphone obtaining module 420 is configured to obtain, every preset time, a target bluetooth earphone with a largest size of audio data collected in the plurality of bluetooth earphones within the preset time; the earphone switching module 430 is configured to use the target bluetooth earphone as a relay earphone to establish a connection with the target bluetooth earphone, where the relay earphone is configured to transmit the audio data collected by the relay earphone and the received audio data transmitted by other bluetooth earphones except the relay earphone to the electronic device.
In the embodiment of the present application, please refer to fig. 6, the target earphone acquiring module 420 may include: an audio size acquisition unit 421, a first headphone determination unit 422, and a second headphone determination unit 423. The audio size obtaining unit 421 is configured to obtain the size of audio data collected by each of the multiple bluetooth headsets in the preset time; the first earphone determining unit 422 is configured to, when a maximum value of the size of the audio data acquired within the preset time corresponds to a plurality of bluetooth earphones, select one bluetooth earphone from the plurality of bluetooth earphones corresponding to the maximum value as a target bluetooth earphone; the second earphone determining unit 423 is configured to determine, when a maximum value of the size of the audio data acquired within the preset time corresponds to one bluetooth earphone, a bluetooth earphone corresponding to the maximum value as a target bluetooth earphone.
As a way, the first earphone determining unit 422 may be specifically configured to: when the maximum value of the size of the audio data collected within the preset time corresponds to a plurality of Bluetooth earphones, judging whether the Bluetooth earphones which are currently connected with the electronic equipment exist in the plurality of Bluetooth earphones which correspond to the maximum value; and if the current Bluetooth earphone connected with the electronic equipment does not exist, selecting any Bluetooth earphone from the plurality of Bluetooth earphones corresponding to the maximum value as a target Bluetooth earphone.
As another way, the first earphone determining unit 423 may be specifically configured to: when the maximum value of the size of the audio data collected within the preset time corresponds to a plurality of Bluetooth earphones, judging whether the Bluetooth earphones which are currently connected with the electronic equipment exist in the plurality of Bluetooth earphones which correspond to the maximum value; and if the Bluetooth earphone which is connected with the electronic equipment currently does not exist, selecting the Bluetooth earphone with the strongest signal intensity as the target Bluetooth earphone from the plurality of Bluetooth earphones corresponding to the maximum value.
As another way, the first earphone determining unit 423 may specifically be configured to: when the maximum value of the size of the audio data collected within the preset time corresponds to a plurality of Bluetooth earphones, judging whether the Bluetooth earphones which are currently connected with the electronic equipment exist in the plurality of Bluetooth earphones which correspond to the maximum value; and if the Bluetooth earphones which are currently connected with the electronic equipment do not exist, selecting the Bluetooth earphones which are close to the other Bluetooth earphones corresponding to the maximum value in the connecting passage from the Bluetooth earphones corresponding to the maximum value as target Bluetooth earphones.
In the embodiment of the present application, please refer to fig. 7, the earphone switching module 430 may include: a headphone determining unit 431 and a switching executing unit 432. The earphone determination unit 431 is configured to determine whether the target bluetooth earphone is adjacent to a bluetooth earphone currently connected to the electronic device; the switching execution unit 432 is configured to, if the current bluetooth headset connected to the electronic device is not adjacent to the target bluetooth headset, switch the bluetooth headset connected to the electronic device to the target bluetooth headset, and establish a connection with the target bluetooth headset.
In this embodiment, in a connection path formed by the electronic device and the plurality of bluetooth headsets, the plurality of bluetooth headsets are sequentially connected, and the electronic device is connected with one of the plurality of bluetooth headsets in a bluetooth manner.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and modules may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, the coupling between the modules may be electrical, mechanical or other type of coupling.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
To sum up, according to the scheme provided by the application, when the electronic device is connected with the first bluetooth playing device and the second bluetooth playing device, whether the electronic device plays the audio data of the target type at present is detected, when the electronic device plays the audio data of the target type, the audio data of the target type is transmitted to the first bluetooth playing device and/or the second bluetooth playing device to be played, when the electronic device is detected to perform voice call, the audio data corresponding to the voice call is transmitted to the first bluetooth playing device to be played, the audio data of the target type is transmitted to the second bluetooth playing device to be played, so that when the voice call is performed in the process of playing the audio data of the target type, the audio data of the target type and the audio data corresponding to the voice call can be played simultaneously, and the user experience is improved.
Referring to fig. 8, a block diagram of an electronic device according to an embodiment of the present disclosure is shown. The electronic device 100 may be a smart phone, a tablet computer, an electronic book, or other electronic devices capable of running an application. The electronic device 100 in the present application may include one or more of the following components: a processor 110, a memory 120, a bluetooth module 130, and one or more applications, wherein the one or more applications may be stored in the memory 120 and configured to be executed by the one or more processors 110, the one or more programs configured to perform the methods as described in the foregoing method embodiments.
Processor 110 may include one or more processing cores. The processor 110 connects various parts within the overall electronic device 100 using various interfaces and lines, and performs various functions of the electronic device 100 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 120 and calling data stored in the memory 120. Alternatively, the processor 110 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 110 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 110, but may be implemented by a communication chip.
The Memory 120 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). The memory 120 may be used to store instructions, programs, code sets, or instruction sets. 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 implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like. The storage data area may also store data created by the terminal 100 in use, such as a phonebook, audio-video data, chat log data, and the like.
The bluetooth module 130 is used for implementing bluetooth connection between the electronic device and two bluetooth headsets and data interaction between the electronic device and two bluetooth headsets, wherein the number of the bluetooth module 130 may be one, or may be multiple integrated together, which is not limited herein. Specifically, the bluetooth protocol may be used with the bluetooth device by 5.0/4.2/4.1/2.1/2.0, or may also be used by Bluetooth Low Energy (BLE), bluetooth Enhanced Data Rate (EDR), or bluetooth Basic Rate (BR). The basic circuit structure is similar to the WiFi module, and can also be composed of a power amplifier, a wireless transceiver, a transceiver switcher, a low noise amplifier, an antenna, and the like. The bluetooth module 130 may use a first communication frequency band, wherein the first communication frequency band may be 2.4 GHZ.
Referring to fig. 9, a block diagram of a computer-readable storage medium according to an embodiment of the present application is shown. The computer-readable medium 800 has stored therein a program code that can be called by a processor to execute the method described in the above-described method embodiments.
The computer-readable storage medium 800 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Alternatively, the computer-readable storage medium 800 includes a non-volatile computer-readable storage medium. The computer readable storage medium 800 has storage space for program code 810 to perform any of the method steps of the method described above. The program code can be read from or written to one or more computer program products. The program code 810 may be compressed, for example, in a suitable form.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (10)

1. An audio transmission method applied to an electronic device of an audio transmission system, wherein the audio transmission system includes at least three bluetooth headsets and the electronic device, the electronic device and the at least three bluetooth headsets form a connection path, the electronic device is connected with one of the at least three bluetooth headsets, and the bluetooth headset connected with the electronic device is a relay headset in the connection path, the method comprising:
detecting the size of audio data collected by each Bluetooth earphone in the at least three Bluetooth earphones in the process that the electronic equipment receives the audio data transmitted by the at least three Bluetooth earphones through the connecting passage;
acquiring a target Bluetooth earphone with the largest size of audio data acquired from the at least three Bluetooth earphones in preset time every other preset time;
and establishing connection with the target Bluetooth earphone by taking the target Bluetooth earphone as a relay earphone, wherein the relay earphone is used for transmitting the audio data collected by the relay earphone and the received audio data transmitted by other Bluetooth earphones except the relay earphone in the at least three Bluetooth earphones to the electronic equipment.
2. The method of claim 1, wherein the obtaining of the target bluetooth headset with the largest size of the audio data collected in the at least three bluetooth headsets within the preset time before the obtaining comprises:
acquiring the size of audio data acquired by each of the at least three Bluetooth headsets in the preset time;
when the maximum value of the size of the audio data collected within the preset time corresponds to at least three Bluetooth earphones, selecting one Bluetooth earphone from the at least three Bluetooth earphones corresponding to the maximum value as a target Bluetooth earphone;
and when the maximum value of the size of the audio data collected in the preset time corresponds to one Bluetooth earphone, determining the Bluetooth earphone corresponding to the maximum value as a target Bluetooth earphone.
3. The method of claim 2, wherein when the maximum value of the size of the audio data collected within the preset time corresponds to at least three bluetooth headsets, selecting one bluetooth headset from the at least three bluetooth headsets corresponding to the maximum value as a target bluetooth headset comprises:
when the maximum value of the size of the audio data collected within the preset time corresponds to at least three Bluetooth earphones, judging whether the Bluetooth earphones currently connected with the electronic equipment exist in the at least three Bluetooth earphones corresponding to the maximum value;
and if the current Bluetooth earphone connected with the electronic equipment does not exist, selecting any one Bluetooth earphone from the at least three Bluetooth earphones corresponding to the maximum value as a target Bluetooth earphone.
4. The method of claim 2, wherein when the maximum value of the size of the audio data collected within the preset time corresponds to at least three bluetooth headsets, selecting one bluetooth headset from the at least three bluetooth headsets corresponding to the maximum value as a target bluetooth headset comprises:
when the maximum value of the size of the audio data collected within the preset time corresponds to at least three Bluetooth earphones, judging whether the Bluetooth earphones currently connected with the electronic equipment exist in the at least three Bluetooth earphones corresponding to the maximum value;
and if the Bluetooth earphone which is connected with the electronic equipment currently does not exist, selecting the Bluetooth earphone with the strongest signal intensity as the target Bluetooth earphone from the at least three Bluetooth earphones corresponding to the maximum value.
5. The method of claim 2, wherein when the maximum value of the size of the audio data collected within the preset time corresponds to at least three bluetooth headsets, selecting one bluetooth headset from the at least three bluetooth headsets corresponding to the maximum value as a target bluetooth headset comprises:
when the maximum value of the size of the audio data collected within the preset time corresponds to at least three Bluetooth earphones, judging whether the Bluetooth earphones currently connected with the electronic equipment exist in the at least three Bluetooth earphones corresponding to the maximum value;
and if the Bluetooth earphones which are currently connected with the electronic equipment do not exist, selecting the Bluetooth earphones which are close to the other Bluetooth earphones corresponding to the maximum value in the connecting passage from the Bluetooth earphones corresponding to the maximum value as target Bluetooth earphones.
6. The method according to any of claims 1-5, wherein establishing a connection with the target Bluetooth headset using the target Bluetooth headset as a relay headset comprises:
judging whether the target Bluetooth headset is adjacent to a Bluetooth headset currently connected with the electronic equipment;
and if the target Bluetooth earphone is not adjacent to the Bluetooth earphone which is connected with the electronic equipment currently, the target Bluetooth earphone is used as a relay earphone, and connection with the target Bluetooth earphone is established.
7. The method of any of claims 1-5, wherein the electronic device is connected to the at least three Bluetooth headsets in series in a connection path formed by the electronic device and the at least three Bluetooth headsets, and wherein the electronic device is Bluetooth connected to one of the at least three Bluetooth headsets.
8. An audio transmission apparatus, applied to an electronic device of an audio transmission system, the audio transmission system including at least three bluetooth headsets and the electronic device, the electronic device and the at least three bluetooth headsets forming a connection path, the electronic device being connected to one of the at least three bluetooth headsets, the bluetooth headset connected to the electronic device being a relay headset in the connection path, the apparatus comprising: a data detection module, a target earphone acquisition module and an earphone switching module, wherein,
the data detection module is used for detecting the size of the audio data collected by each Bluetooth earphone in the at least three Bluetooth earphones in the process that the electronic equipment receives the audio data transmitted by the at least three Bluetooth earphones through the connecting passage;
the target earphone acquisition module is used for acquiring a target Bluetooth earphone with the largest size of audio data acquired from the at least three Bluetooth earphones every preset time;
the earphone switching module is used for taking the target Bluetooth earphone as a relay earphone to establish connection with the target Bluetooth earphone, and the relay earphone is used for transmitting the audio data collected by the relay earphone and the received audio data transmitted by other Bluetooth earphones except the relay earphone in the at least three Bluetooth earphones to the electronic equipment.
9. An electronic device, comprising:
one or more processors;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method of any of claims 1-7.
10. A computer-readable storage medium, having stored thereon program code that can be invoked by a processor to perform the method according to any one of claims 1 to 7.
CN201811165208.3A 2018-09-30 2018-09-30 Audio transmission method and device, electronic equipment and storage medium Active CN109298846B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811165208.3A CN109298846B (en) 2018-09-30 2018-09-30 Audio transmission method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811165208.3A CN109298846B (en) 2018-09-30 2018-09-30 Audio transmission method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109298846A CN109298846A (en) 2019-02-01
CN109298846B true CN109298846B (en) 2021-10-22

Family

ID=65161667

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811165208.3A Active CN109298846B (en) 2018-09-30 2018-09-30 Audio transmission method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109298846B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114430528B (en) * 2021-12-17 2023-08-11 珠海格力电器股份有限公司 Sound data playing method and device, electronic equipment and storage medium
CN115278623A (en) * 2022-07-20 2022-11-01 哲库科技(上海)有限公司 Multimedia packet transmission method, apparatus, device and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102256007A (en) * 2011-06-03 2011-11-23 深圳市同洲电子股份有限公司 Method and device for controlling audio playing list according to Bluetooth earphone command and mobile terminal
CN103391118A (en) * 2013-07-23 2013-11-13 广东欧珀移动通信有限公司 Bluetooth headset and audio sharing method by virtue of Bluetooth headsets
CN107145330A (en) * 2017-04-26 2017-09-08 歌尔科技有限公司 A kind of method and apparatus for connecting ears bluetooth earphone

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000023977A (en) * 1999-12-29 2000-05-06 최상호 Wireless ear phone for hand held phone and loss prevention method
DE102004051091B4 (en) * 2004-10-19 2018-07-19 Sennheiser Electronic Gmbh & Co. Kg Method for transmitting data with a wireless headset
CN104135339A (en) * 2014-07-08 2014-11-05 福建联迪商用设备有限公司 Bluetooth low-power-consumption communication method, Bluetooth equipment and system
AU2015371631B2 (en) * 2014-12-23 2020-06-18 Timothy DEGRAYE Method and system for audio sharing
CN106649484B (en) * 2016-09-30 2019-08-06 Oppo广东移动通信有限公司 A kind of storage method and device of audio log
CN106303933B (en) * 2016-09-30 2017-11-17 广东欧珀移动通信有限公司 The power regulating method and device of a kind of bluetooth

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102256007A (en) * 2011-06-03 2011-11-23 深圳市同洲电子股份有限公司 Method and device for controlling audio playing list according to Bluetooth earphone command and mobile terminal
CN103391118A (en) * 2013-07-23 2013-11-13 广东欧珀移动通信有限公司 Bluetooth headset and audio sharing method by virtue of Bluetooth headsets
CN107145330A (en) * 2017-04-26 2017-09-08 歌尔科技有限公司 A kind of method and apparatus for connecting ears bluetooth earphone

Also Published As

Publication number Publication date
CN109298846A (en) 2019-02-01

Similar Documents

Publication Publication Date Title
CN109445740B (en) Audio playing method and device, electronic equipment and storage medium
CN109257500B (en) Audio playing method and device, electronic equipment and storage medium
CN109246671B (en) Data transmission method, device and system
EP3629561B1 (en) Data transmission method and system, and bluetooth headphone
US9838062B2 (en) Wireless headset system with two different radio protocols
CN109151194B (en) Data transmission method, device, electronic equipment and storage medium
CN109041024B (en) Code rate optimization method and device, electronic equipment and storage medium
CN109274407B (en) Data transmission method, device, electronic equipment and storage medium
US10950238B2 (en) Bluetooth speaker base, method and system for controlling thereof
CN109151212B (en) Equipment control method and device and electronic equipment
CN109101216B (en) Sound effect adjusting method and device, electronic equipment and storage medium
CN109165005B (en) Sound effect enhancement method and device, electronic equipment and storage medium
CN109151789B (en) Translation method, device and system and Bluetooth headset
CN109107158B (en) Sound effect processing method and device, electronic equipment and computer readable storage medium
CN111124351B (en) Audio output method, audio output device, electronic equipment and storage medium
CN107749299B (en) Multi-audio output method and device
CN109379490B (en) Audio playing method and device, electronic equipment and computer readable medium
CN110602683B (en) Bluetooth control method, device, mobile terminal and storage medium
CN109257732B (en) Equipment control method and device and electronic equipment
CN113038316A (en) Earphone control method and device, Bluetooth earphone and storage medium
CN109298846B (en) Audio transmission method and device, electronic equipment and storage medium
CN105260159A (en) Audio play method and apparatus
CN107277208B (en) Communication method, first communication device and terminal
CN110248347B (en) Call abnormity detection method, device, equipment and storage medium
CN111556406B (en) Audio processing method, audio processing device and earphone

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