CN109445739B - Audio playing method and device, electronic equipment and computer readable medium - Google Patents

Audio playing method and device, electronic equipment and computer readable medium Download PDF

Info

Publication number
CN109445739B
CN109445739B CN201811161323.3A CN201811161323A CN109445739B CN 109445739 B CN109445739 B CN 109445739B CN 201811161323 A CN201811161323 A CN 201811161323A CN 109445739 B CN109445739 B CN 109445739B
Authority
CN
China
Prior art keywords
playing
wireless audio
audio data
wireless
audio
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811161323.3A
Other languages
Chinese (zh)
Other versions
CN109445739A (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 CN201811161323.3A priority Critical patent/CN109445739B/en
Publication of CN109445739A publication Critical patent/CN109445739A/en
Priority to PCT/CN2019/096216 priority patent/WO2020063047A1/en
Application granted granted Critical
Publication of CN109445739B publication Critical patent/CN109445739B/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
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path

Abstract

The application discloses an audio playing method, an audio playing device, electronic equipment and a computer readable medium, and belongs to the technical field of communication. The method comprises the following steps: when detecting that the electronic equipment is playing audio data through the first wireless audio playing equipment, judging whether a switching instruction is acquired; if the switching instruction is acquired, the first wireless audio playing device is kept to continue playing the audio data, the audio data are sent to the second wireless audio playing device, and the second wireless audio playing device is instructed to store the acquired audio data; acquiring the playing progress of the audio data; and sending the playing progress to the second wireless audio playing device, and instructing the second wireless audio playing device to play the stored audio data according to the playing progress. According to the method and the device, the phenomenon that the second wireless audio playing device plays the audio data and is clamped and suspended due to the fact that the audio data are not sent to the second wireless audio playing device after the switching instruction is obtained can be avoided.

Description

Audio playing method and device, electronic equipment and computer readable medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to an audio playing method and apparatus, an electronic device, and a computer readable medium.
Background
At present, the inconvenience brought by a wired earphone can be reduced by playing audio data in electronic equipment by using a wireless audio playing device, but when the electronic equipment uses the wireless audio playing device to play music, if the electronic equipment is switched from one wireless audio playing device to another wireless audio playing device, the music being played is paused or a pause phenomenon of pausing the music for a while occurs, a user needs to manually start the music to continue playing, the operation is complex, and the user experience is not high.
Disclosure of Invention
The application provides an audio playing method, an audio playing device, an electronic device and a computer readable medium, so as to overcome the above defects.
In a first aspect, an embodiment of the present application provides an audio playing method, which is applied to an electronic device, where the electronic device can be connected to a first wireless audio playing device and a second wireless audio playing device simultaneously. The method comprises the following steps: when detecting that the electronic equipment is playing audio data through the first wireless audio playing equipment, judging whether a switching instruction is acquired; if a switching instruction is acquired, the first wireless audio playing device is kept to continue playing the audio data, the audio data is sent to the second wireless audio playing device, and the second wireless audio playing device is instructed to store the acquired audio data; acquiring the playing progress of the audio data; and sending the playing progress to the second wireless audio playing device, and instructing the second wireless audio playing device to play the stored audio data according to the playing progress.
In a second aspect, an embodiment of the present application further provides an audio playing apparatus, which is applied to an electronic device, where the electronic device can be connected to a first wireless audio playing device and a second wireless audio playing device simultaneously. The playback apparatus includes: the device comprises a judging unit, a storage unit, an acquisition unit and a playing unit. And the judging unit is used for judging whether a switching instruction is acquired or not when the electronic equipment is detected to play audio data through the first wireless audio playing equipment. And the storage unit is used for keeping the first wireless audio playing device to continue playing the audio data if a switching instruction is obtained, sending the audio data to the second wireless audio playing device, and indicating the second wireless audio playing device to store the obtained audio data. And the acquisition unit is used for acquiring the playing progress of the audio data. And the playing unit is used for sending the playing progress to the second wireless audio playing equipment and indicating the second wireless audio playing equipment to play the stored audio data according to the playing progress.
In a third aspect, an embodiment of the present application further provides an electronic device, including: one or more processors capable of simultaneously connecting a first wireless audio playback device and a second wireless audio playback device; 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 above-described methods.
In a fourth aspect, the present application also provides a computer-readable medium having program code executable by a processor, where the program code causes the processor to execute the above method.
Compared with the prior art, according to the scheme provided by the application, when the first wireless audio playing device is used for playing the audio data, the first wireless audio playing device is switched to the second wireless audio playing device, at the moment, the first wireless audio playing device can be firstly kept to continue playing the audio data, and meanwhile, the audio data are sent to the second wireless audio playing device to indicate the second wireless audio playing device to store the obtained audio data. And then, acquiring the playing progress of the audio data, and indicating the second wireless audio playing device to play the stored audio data according to the playing progress. Therefore, the time period from the acquisition of the switching instruction to the control of the second wireless audio playing device to play the audio data is used for sending the audio data to the second wireless audio playing device for storage, so that the phenomenon that the second wireless audio playing device plays the audio data due to the fact that the audio data is not sent to the second wireless audio playing device yet and is blocked and suspended when the audio data is not sent to the second wireless audio playing device is avoided.
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 illustrates a block diagram of a speech system provided by an embodiment of the present application;
FIG. 2 illustrates a block diagram of a speech system provided in another embodiment of the present application;
fig. 3 is a flowchart illustrating a method of playing audio according to an embodiment of the present application;
FIG. 4 is a schematic diagram illustrating a device management interface provided by an embodiment of the present application;
FIG. 5 is a schematic diagram illustrating an audio playing interface provided by an embodiment of the present application;
FIG. 6 is a diagram illustrating an audio play progress bar provided by an embodiment of the present application;
FIG. 7 is a diagram illustrating an audio play progress bar according to another embodiment of the present application;
FIG. 8 is a flowchart illustrating a method of playing audio according to another embodiment of the present application;
FIG. 9 is a flowchart illustrating a method of playing audio according to another embodiment of the present application;
FIG. 10 is a diagram illustrating an audio play progress bar according to another embodiment of the present application;
fig. 11 shows a block diagram of an audio playing apparatus provided in an embodiment of the present application;
FIG. 12 shows a block diagram of an electronic device provided by an embodiment of the present application;
fig. 13 illustrates a storage unit provided in an embodiment of the present application and used for storing or carrying program codes for implementing an audio playing 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.
With the increase of the types of audio playing devices and the improvement of playing sound effects, more users can select to output the audio to be played by electronic devices such as mobile phones and tablet computers to the audio playing devices for playing. Common audio playing devices include a vehicle-mounted music player, a sound box, an earphone, and the like.
And the audio playing device can be divided into a wired audio playing device and a wireless audio playing device according to different connection modes, and the electronic device can interact with the wireless audio playing device through a wireless network to transmit signals, wherein the wireless network can be Bluetooth, wifi, LTE network or NFC and the like.
Illustratively, as shown in fig. 1, a block diagram of a speech system 1 provided by an embodiment of the present application is shown. Specifically, the speech system 1 includes an electronic device 100, a first wireless audio playing device 210 and a second wireless audio playing device 220, and the electronic device 100 can be connected to the first wireless audio playing device 210 and the second wireless audio playing device 220 at the same time.
In the embodiment of the present invention, an application capable of playing audio is installed in the electronic device 100, and specifically, the application may be audio playing software, video playing software, or call software. The electronic device 100 sends the audio to be played to the first wireless audio playing device 210 or the second wireless audio playing device 220, and the first wireless audio playing device 210 or the second wireless audio playing device 220 plays the voice.
In this embodiment of the present invention, the first wireless audio playing device 210 and the second wireless audio playing device 220 may be a bluetooth sound or a bluetooth earphone, the first wireless audio playing device 210 and the second wireless audio playing device 220 may realize connection with the electronic device 100 by starting a bluetooth function, and after the connection is established, the electronic device 100 sends a voice to be played to the bluetooth sound, and the bluetooth sound realizes voice playing.
When the first wireless audio playing device 210 and the second wireless audio playing device 220 are both bluetooth devices, the electronic device 100 may be simultaneously connected to the first wireless audio playing device 210 and the second wireless audio playing device 220 through a bluetooth module, as an implementation manner, the bluetooth module in the electronic device may support multipoint connection, so that the electronic device shown in fig. 1 can be connected to the first wireless audio playing device 210 and the second wireless audio playing device 220, respectively, and after the connection is established, the electronic device 100 may obtain identifiers of the first wireless audio playing device 210 and the second wireless audio playing device 220, where the identifiers may be MAC addresses. Specifically, when the bluetooth function of the electronic device is turned on, the electronic device scans the bluetooth devices within a certain distance range around, and specifically, after receiving a scan command, a bluetooth chip or other underlying network module of the electronic device scans according to a preset channel scanning sequence, such as scanning common channels 1, 7, and 13 first, and then scanning other channels that are not common, thereby obtaining the identifiers of all bluetooth devices within the current range, and displaying the identifiers in the bluetooth list interface of the electronic device.
If the Bluetooth device which is already connected and has better signal strength exists in the scanned Bluetooth device identification, the electronic device can automatically connect with the Bluetooth device, and the user can also select one Bluetooth device in the Bluetooth list interface for connection.
When the electronic device connects to an external bluetooth device, the system of the electronic device may go to a status value indicating that the electronic device is currently connected to the bluetooth device. Therefore, the electronic device can detect the Bluetooth device, and acquire the device identifier of the Bluetooth device.
As another embodiment, the electronic device 100 is connected to the first wireless audio playing device 210 through bluetooth, and then the first wireless audio playing device 210 is connected to the second wireless audio playing device 220 through bluetooth, so that the electronic device 100, the first wireless audio playing device 210, and the second wireless audio playing device 220 are connected simultaneously through networking, that is, the first wireless audio playing device 210 serves as a relay for the electronic device 100 and the second wireless audio playing device 220.
Therefore, after the electronic device 100 is connected to the first wireless audio playing device 210 and the second wireless audio playing device 220 at the same time, different audio playing devices can play different audio data, and certainly, different audio playing devices can play the same audio data to achieve effects such as stereo. Or one of the wireless audio playing devices may be used to play audio data, and the other wireless audio playing device is in a standby state and does not play audio.
However, the inventor finds in research that if switching is performed from one wireless audio playing device to another wireless audio playing device, and the other wireless audio playing device does not have audio data to be played at the time, the electronic device is required to send the audio data to the wireless audio playing device, and then a certain time is consumed in both the transmission process and the decoding process of the audio data, because if playing is performed after switching, the other wireless audio playing device may not be able to play due to the fact that the audio data is not acquired or is not completely decompressed, and a stuttering phenomenon may occur, which may affect user experience.
Therefore, in order to solve the technical defect, an embodiment of the present application provides an audio playing method applied to the electronic device, and specifically, the method includes: s301 to S304.
S301: and when the electronic equipment is detected to be playing audio data through the first wireless audio playing equipment, judging whether a switching instruction is acquired.
The electronic device is connected with the first wireless audio playing device and the second wireless audio playing device at the same time, so that when the user plays audio data, the user can select music to be played on an audio playing interface of the electronic device, such as the displayed interfaces of the electronic device shown in fig. 1 and 2, select one or more audio data, and click a playing button to play the selected audio data. In addition, the user can also select the wireless audio playing device for playing the audio data through the electronic device.
For example, as shown in fig. 4, a device management interface of the electronic device is shown, in which an operation interface of two wireless audio playing devices connected to the electronic device is displayed, specifically, selection buttons of the two wireless audio playing devices are included, and the selection button corresponding to each device in fig. 4, for example, when a circular button is located on the left side, the electronic device selects the wireless audio playing device to play audio data. The audio data played by the electronic device can be played by the connected wireless audio playback device after the connection is established.
In addition, in the interface, each wireless audio playing device further corresponds to a pull-down menu, and a user can configure an application program for the wireless audio playing device to play audio through the pull-down menu, for example, configure a first application program for the device 1 and configure a second application program for the device 2, so that if the electronic device can respectively control the first application program to play the first audio data and the second application program to play the second audio data, the device 1 can be enabled to play the first audio data of the first application program, and the device 2 can be enabled to play the second audio data of the second application program.
Therefore, whether the electronic device is connected with the first wireless audio playing device or not can be determined through the button state in the interface, and whether the device connected with the electronic device through the Bluetooth is the audio playing device or not can be detected, wherein in the electronic device based on the android operating system, the type of the device connected through the Bluetooth currently can be determined through a return value obtained by instantiating the Bluetooth class. If the returned value is AUDIO _ VIDEO _ CAMCORDER, the image acquisition equipment is characterized; if the returned value is AUDIO _ VIDEO _ CAR _ AUDIO, the vehicle-mounted equipment is characterized; if the returned value is AUDIO _ VIDEO _ HIFI _ AUDIO, the AUDIO or VIDEO playing device is characterized as an AUDIO playing device or a VIDEO playing device, such as a bluetooth headset; if the returned value is AUDIO _ VIDEO _ MICROPHONE, it is characterized as a MICROPHONE.
When the electronic equipment is determined to be connected with the wireless audio playing equipment, that is, after the electronic equipment is connected with the wireless audio playing equipment, whether the electronic equipment receives a playing request which is a request for requesting to play audio data is detected, if the electronic equipment is connected with the first wireless audio playing equipment and the first wireless audio playing equipment is selected as equipment for playing the audio data of the electronic equipment, whether the playing request of the audio data of the data, which is obtained by operating the electronic equipment by a user, is acquired, and if the playing request is acquired, the electronic equipment is determined to be playing the audio data through the first wireless audio playing equipment.
Specifically, the play request may be a reminder message or a voice play request. The reminding information comprises information for reminding a user that some events are triggered, such as call reminding information, short message reminding information, alarm reminding information and the like. For example, the call reminding information is used for reminding the user of the current incoming call.
As another embodiment, the utterance request may be a request to play a voice every time the electronic device utters a voice. The utterance request may be an audio utterance request, a video utterance request, or a call utterance request.
Specifically, a plurality of audio playing software are installed in the electronic device, and the software may be a music playing APP, a video playing APP, or a recording APP. For example, a video playing key is arranged on a video playing interface, and by detecting the touch of the video playing key, whether the electronic device currently receives a playing request of audio data can be determined, for example, a user selects a video, enters the video playing interface, and clicks a playing button of the playing interface, and an application program can detect what type of video the user currently clicks through monitoring the user touch operation, specifically, the playing button is provided with a preset attribute, and by detecting the attribute of the obtained playing button corresponding to the touch operation, the video to be played selected by the user can be determined, so that the playing request and the audio corresponding to the playing request can be obtained.
Then, it is detected whether the electronic device acquires the switching instruction, specifically, when the electronic device uses one wireless audio playing device to play audio data, the user may use another wireless audio playing device to play audio data, for example, when the electronic device uses a first wireless audio playing device to play audio data, it is detected whether to request to use a second wireless audio playing device to play audio data, and if so, it is determined that the switching instruction is acquired.
As an implementation manner, the audio data used for playing the electronic device may be switched within a certain interface of the electronic device, as shown in fig. 4, when a user uses a first wireless audio playing device, the first wireless audio playing device is selected in the interface, and when the user selects a second wireless audio playing device at the time of switching, by detecting a selection button corresponding to the second wireless audio playing device, it is possible to determine whether to request to play the audio data using the second wireless audio playing device, and if so, it is determined that the switching instruction is obtained.
As another embodiment, it may also be that what kind of wireless audio playing device is used to play the audio data may be selected in the audio playing interface of the electronic device, specifically, as shown in fig. 5, when the wireless audio playing device selected by the selection menu bar is used to play the audio data, the user switches the selection from the device 1 to the device 2, and inputs a request to play the audio data using the second wireless audio playing device, that is, inputs a switching instruction.
S302: and keeping the first wireless audio playing device to continuously play the audio data, sending the audio data to the second wireless audio playing device, and instructing the second wireless audio playing device to store the acquired audio data.
After detecting that the switching instruction is obtained, the playing of the audio data by the first wireless audio playing device is not paused, that is, the user can still listen to the audio data in the first wireless audio playing device, at this time, the user does not turn off the first wireless audio playing device, and if the first wireless audio playing device is a bluetooth headset, the user does not take off the first wireless audio playing device from the ear.
Specifically, the electronic device transmits all audio data and the playing progress to the second wireless audio playing device according to a certain bluetooth protocol, specifically, encodes the audio data according to an encoding format under the supported bluetooth protocol, for example, for audio, an Apt-X, SBC, AAC, or LDAC encoding algorithm is often adopted, generates an audio data packet after encoding the audio data, and transmits the audio data packet to the second wireless audio playing device through a bluetooth transmission channel between the electronic device and the second wireless audio playing device.
In addition, a part of the audio data after the playing progress in the audio data may be sent to the second wireless audio playing device, specifically, the time point at which the switching instruction is determined to be acquired is taken as a first playing time node, the audio data after the first playing time node in the audio data is taken as audio data to be sent, and the audio data to be sent is sent to the second wireless audio playing device.
After the second wireless audio playing device acquires the audio data, the audio data is decoded through a transmission protocol to obtain audio data to be played, and the audio data to be played is stored.
In addition, when the second wireless audio playing device plays the audio data, it is necessary to perform audio decoding on the audio data to be played according to a certain audio coding, for example, music in MP3 format or HQV format, and it is necessary to decode the audio data into audio data in PCM format and then play the audio data in PCM format.
Specifically, the audio data is sent to the second wireless audio playing device, and the specific implementation manner of instructing the second wireless audio playing device to store the acquired audio data is as follows: and sending the audio data to the second wireless audio playing device, instructing the second wireless audio playing device to perform audio decoding on the acquired audio data, and storing the audio data after audio decoding. As an implementation manner, after the second wireless audio playing device acquires the audio data which is sent by the electronic device and encoded by the transmission protocol, the second wireless audio playing device decodes the audio data to obtain the audio data to be played, then performs audio decoding on the audio data to be played, so as to obtain the audio data after audio decoding, and then stores the audio data after audio decoding to the preset storage space. When the second audio playing device plays, the audio data after audio decoding can be directly acquired from the preset storage space and directly played, so that the time delay caused by the audio decoding process is reduced.
In some embodiments, the electronic device is currently connected to both the first wireless audio playing device and the second wireless audio playing device, that is, when it is determined that the switching instruction is acquired, the electronic device is already connected to the second wireless audio playing device, and then the operations of keeping the first wireless audio playing device to continue playing the audio data and sending the audio data to the second wireless audio playing device may be performed.
In other embodiments, if the electronic device is not connected to the second wireless audio playing device, the first wireless audio playing device needs to continue playing the audio data and send the audio data to the second wireless audio playing device after the connection is established. Because a certain time point is needed in the process of establishing the connection, and the audio data is being played, the operation of keeping the first wireless audio playing device to continue playing the audio data and sending the audio data to the second wireless audio playing device is executed after the connection is ensured to be established, so that the time delay caused by the increase of the switching due to the time needed for establishing the connection can be avoided.
Specifically, the first wireless audio playing device is kept playing the audio data continuously, and the audio data is sent to the second wireless audio playing device, and the specific implementation manner of instructing the second wireless audio playing device to store the acquired audio data is as follows:
judging whether the electronic equipment is connected with the second wireless audio playing equipment or not, if so, keeping the first wireless audio playing equipment to continue playing the audio data, sending the audio data to the second wireless audio playing equipment, and instructing the second wireless audio playing equipment to store the acquired audio data; if the connection is not established, sending a connection playing instruction to the second wireless audio playing device, keeping the first wireless audio playing device continuously playing the audio data, sending the audio data to the second wireless audio playing device, and instructing the second wireless audio playing device to store the obtained audio data, wherein the connection playing instruction is used for instructing the second wireless audio playing device to be connected with the electronic device. Specifically, when the connection is not made, a connection playing instruction may be sent to the second wireless audio playing device, and the second wireless audio playing device is instructed to connect with the electronic device; detecting whether successful connection information returned by second wireless audio playing equipment is received or not, wherein the successful connection information is used for indicating that the second wireless audio playing equipment is successfully connected with the electronic equipment, if the successful connection information is received, executing the operation of keeping the first wireless audio playing equipment to continuously play the audio data, sending the audio data to the second wireless audio playing equipment, and indicating the second wireless audio playing equipment to store the obtained audio data.
S303: and acquiring the playing progress of the audio data.
And sending the audio data to the second wireless audio playing device, and acquiring the playing progress of the current electronic device for playing the audio data.
As shown in fig. 6, t1 is the current playing time point of the audio data, and the current playing time point of the audio data is obtained as the playing progress of the audio data obtained this time. For example, if the total playing time of one audio data is 3:56, the current playing time point is 1:03, and 0 to 1:03 are the current playing progress.
As another embodiment, a specific implementation manner of acquiring the playing progress of the audio data is as follows: and acquiring the current playing time point of the audio data, and taking the time point obtained by subtracting a preset value from the current playing time point as the playing progress of the audio data acquired this time. As shown in fig. 7, t1 is the current playing time point of the audio data, t2 is the playing time point before the current playing time point t1 of the audio data, the time difference between t1 and t2 is Δ t, and the time length of Δ t is a preset value. The preset value is a value set by a user according to a requirement, for example, the value is 4 to 10 seconds, and specifically, may be 6 seconds.
For example, if a piece of speech is "i is a person in the four-channel world, i love eating vinegar and pepper powder", the current playing time point is a time point corresponding to the "person", and the playing time point of the preset value before the current playing time point is a time point corresponding to the "i", then the playing progress of the audio data acquired this time is not the time point corresponding to the "person", but is the time point corresponding to the "i", and although the "person" has been played at present, when the second audio playing device is switched to, the user can rewind to the "i" to start playing, so that the user can recall the previously played content when the second audio playing device is used to play the speech, and the user experience is improved.
S304: and sending the playing progress to the second wireless audio playing device, and instructing the second wireless audio playing device to play the stored audio data according to the playing progress.
After the second wireless audio playing device acquires the playing progress, the time point corresponding to the playing progress is located again, and the audio data is continuously played by taking the time point as a starting point. Therefore, before the second wireless audio playing device is instructed to play the audio data, the audio data is already stored in the storage space in the second wireless audio playing device, and the phenomenon that the audio data is obtained from the electronic device when the second wireless audio playing device is instructed to play, so that time delay is caused, and the phenomenon of blocking is avoided.
In addition, when the electronic device sends the playing progress to the second wireless audio playing device, a reminding message is sent, where the reminding message is used to instruct the user to switch the audio playing device, for example, the above "please switch the earphone" voice. At this time, the user abandons the first wireless audio playing device to play the audio data, and the second wireless audio playing device is used to seamlessly switch the audio playing. Taking the bluetooth headset as an example, when the electronic device sends the playing progress to the second wireless audio playing device, the first bluetooth headset sends a reminding message of "please switch the headset", so that the user takes the first bluetooth headset off or closes the first bluetooth headset, and then the second bluetooth headset can continue to play following the playing progress of the first bluetooth headset.
In addition, although in the operation of S302, when the first bluetooth headset is kept to continuously play the audio data, the user may not turn off the first bluetooth headset most probably when the first bluetooth headset can hear the sound, in order to avoid that the user takes the first bluetooth headset off during the switching, when it is determined that the switching instruction is obtained, a warning voice may be played in the first wireless audio playing device to remind the user to switch the wireless audio playing device later according to the prompt.
Moreover, after the audio data is played by switching to the second wireless hidden playing device, the first wireless audio playing device can be controlled not to output the sound corresponding to the audio data any more. Specifically, a specific embodiment of controlling the first wireless audio playing device not to output the sound corresponding to the audio data any more may be:
as an implementation manner, the first wireless audio playing device may be disabled. Specifically, the electronic device may send a sound-prohibiting instruction to the first wireless audio playing device, so as to minimize the volume output by the first wireless audio playing device. Of course, the user may click the disable button in fig. 4 and input the disable instruction, and then the electronic device sends the disable instruction to the first wireless audio playing device, so that the volume output by the first wireless audio playing device is the lowest, that is, the first wireless audio playing device is disabled.
As another embodiment, the first wireless audio playing device may be further controlled to stop playing the audio data, and specifically, a pause instruction is sent to the first wireless audio playing device, so that the first wireless audio playing device pauses playing the audio data. Then, the user may operate the selection button corresponding to the first wireless audio device in the interface shown in fig. 4, and switch the selection button to the unselected state, and when detecting the change, the electronic device sends a pause instruction to the first wireless audio playback device.
As another embodiment, the first wireless audio playing device may be turned off. Specifically, the electronic device sends a closing instruction to the first wireless audio playing device, so that the first wireless audio playing device is closed.
Illustratively, if the first wireless audio playing device and the second wireless audio playing device are both bluetooth sound boxes, when a user inputs a switching instruction, the first wireless audio playing device continues to play audio data, and then the user can continue to listen to the audio data, and meanwhile, the electronic device sends the audio data to the second wireless audio playing device for storage, and then obtains a playing progress of the first wireless audio playing device in playing the audio data, and controls the second wireless audio playing device to continue to play the audio data according to the playing progress, so that the user can listen to the audio data uninterruptedly and continuously.
As another example, if the first wireless audio playing device and the second wireless audio playing device are both bluetooth headsets, when the user inputs the switching instruction, the first wireless audio playing device continues to play the audio data, and the user can continue to play the audio data through the first wireless audio playing device, the user will not detach, close or disable the first wireless audio playing device, further, the user can be reminded through the warning voice that the user does not need to switch, and then, the electronic device sends the audio data to the second wireless audio playing device for storage, then, obtains the playing progress of the first wireless audio playing device playing the audio data, controls the second wireless audio playing device to continue playing the audio data according to the playing progress, and then the user can detach, close or disable the first wireless audio playing device, thereby, the uninterrupted and continuous listening of audio data by the user can also be realized.
In addition, a specific implementation manner of turning off the first wireless audio playing device may refer to the steps shown in fig. 8, specifically, fig. 8 shows an audio playing method provided by another embodiment of the present application, which is applied to the electronic device, and specifically, the method includes: s801 to S806.
S801: and when the electronic equipment is detected to be playing audio data through the first wireless audio playing equipment, judging whether a switching instruction is acquired.
S802: and keeping the first wireless audio playing device to continuously play the audio data, sending the audio data to the second wireless audio playing device, and instructing the second wireless audio playing device to store the acquired audio data.
S803: and acquiring the playing progress of the audio data.
S804: and sending the playing progress to the second wireless audio playing device, and instructing the second wireless audio playing device to play the stored audio data according to the playing progress.
S805: and acquiring a distance value between the first wireless audio playing device and the electronic device.
In the embodiment of the present application, the first wireless audio playing device and the second wireless audio playing device are both wireless headsets, and specifically, may be bluetooth headsets, and are 2 bluetooth devices supporting A2 dp/HFP.
As an implementation manner, the electronic device obtains a strength value of a wireless signal between the electronic device and the first wireless audio playing device, and determines a distance value between the first wireless audio playing device and the electronic device according to the strength value of the wireless signal. Specifically, the electronic device stores a corresponding relationship between the strength value and the distance value of the wireless signal, and then, after obtaining the strength value of the wireless signal between the electronic device and the first wireless audio playing device, searches for the distance value corresponding to the strength value of the wireless signal between the electronic device and the first wireless audio playing device in the corresponding relationship, and uses the searched distance value as the distance value between the first wireless audio playing device and the electronic device.
As another embodiment, the second wireless audio playing device and the first wireless audio playing device are both provided with a positioning device, the first wireless audio playing device can determine its own position information through the positioning device, and can determine a distance value between the first wireless audio playing device and the electronic device according to the position information, for example, by detecting a change in the position information of the first wireless audio playing device, a change in the distance between the first wireless audio playing device and the electronic device can be determined, and the determined distance change is recorded as the distance value.
As another implementation, the electronic device may send a test signal to the first wireless audio playing device, where the first wireless audio playing device returns a test result signal to the electronic device after acquiring the test signal, and the electronic device acquires a time period between sending the test signal and receiving the test result signal, and determines a distance value between the first wireless audio playing device and the electronic device according to the time period.
S806: and if the distance value is greater than a preset threshold value, closing the first wireless audio playing device.
The preset threshold is a value set by a user according to a requirement, and when the distance is greater than the preset threshold, it indicates that the distance between the electronic device and the first wireless audio playing device is far enough, and it indicates that the user may have abandoned playing the audio data by using the first wireless audio playing device. For example, when a user uses an electronic device, the first wireless audio playing device is used to play audio data, and then the second wireless audio playing device is switched to play audio data, but the first wireless audio playing device does not stop playing audio data but is lost by the user, and generally, the user of the electronic device carries the electronic device with him, so that the distance between the first wireless audio playing device and the electronic device is far, the electronic device determines that the distance value between the first wireless audio playing device and the electronic device is greater than a preset threshold value, and turns off the first wireless audio playing device, thereby reducing unnecessary consumption of electric quantity of the first wireless audio playing device and the electronic device.
In addition, can also detect first wireless audio playback device and be not worn in user's the ear, specifically, first wireless audio playback device includes the casing, first audio playback module and pressure sensor, first audio playback module sets up inside the casing, and pressure sensor sets up on the casing surface, then when wearing first wireless audio playback device into the ear, pressure sensor can contact with user's ear, the pressure value that detects this moment is great, when taking first wireless audio playback device off in user's the ear, the pressure value that detects is less, then can confirm whether first wireless audio playback device still is worn in user's ear through the change of pressure value. If not, the first wireless audio playing device is turned off.
Specifically, a distance value between the first wireless audio playing device and the electronic device may be obtained, whether the distance value is greater than a preset threshold value is determined, if the distance value is greater than the preset threshold value, whether the first wireless audio playing device is still worn in the ear of the user is detected, and if the first wireless audio playing device is not worn, the first wireless audio playing device is turned off.
It should be noted that, for the parts not described in detail in the above steps, reference may be made to the foregoing embodiments, and details are not described herein again.
In order to ensure that the second wireless audio playing device has successfully stored the audio data when executing the process of acquiring the playing progress of the audio data, a specific implementation manner of acquiring the playing progress of the audio data is as follows: and detecting whether storage success information is acquired, wherein the storage success information is indication information sent after the second wireless audio playing device successfully stores the audio data, and specifically, the storage success information may be character information or voice information. And if the storage success information is acquired, acquiring the playing progress of the audio data.
As another implementation manner, after the audio data is sent to the second wireless audio playing device, a certain time is delayed, and the playing progress of the audio data is obtained after the delay is finished. Specifically, referring to fig. 9, an audio playing method provided by another embodiment of the present application is shown and applied to the electronic device, specifically, the method includes: s901 to S905.
S901: and when the electronic equipment is detected to be playing audio data through the first wireless audio playing equipment, judging whether a switching instruction is acquired.
S902: and keeping the first wireless audio playing device to continuously play the audio data, sending the audio data to the second wireless audio playing device, and instructing the second wireless audio playing device to store the acquired audio data.
S903: the timing is started.
Specifically, the electronic device starts a timing function, and specifically, a timing device or a timing program may be set inside the electronic device, and after S902 is executed, the timely device or the timing program is started, so as to start timing.
As another implementation, the electronic device may send a timing instruction to the second wireless audio playing device, and the second wireless audio playing device starts an internal timer to count time after receiving the timing instruction.
S904: and if the timing length is greater than or equal to the preset time length, acquiring the playing progress of the audio data.
And the electronic equipment or the second wireless audio playing equipment monitors the timing length, judges whether the timing length is greater than or equal to the preset time length or not, and adjusts the playing volume of the second wireless audio playing equipment to the preset volume if the timing length is greater than or equal to the preset time length. The preset volume is greater than the sound-forbidden volume, and can be a default playing volume value of the electronic device or the second wireless audio playing device.
It should be noted that, in S903, if the second wireless audio playing device starts an internal timer to time after receiving the timing instruction, the second wireless audio playing device determines that the timing length is greater than or equal to the preset time length, adjusts the volume value of the second wireless audio playing device to the preset volume, and feeds back the timing result to the electronic device, at this time, the user can listen to the audio through the second wireless audio playing device, and then the user can select to take off the first wireless audio playing device, or stop the first wireless audio playing device from playing the audio data.
S905: and sending the playing progress to the second wireless audio playing device, and instructing the second wireless audio playing device to play the stored audio data according to the playing progress.
Specifically, suppose the audio data is a segment of speech, i.e., "i are all four, i love eating hot and sour rice, and i also like eating a hot pot. "a schematic diagram of the playing progress bar of the audio data is shown in fig. 10.
When the switching instruction is obtained, the user already listens to the voice of "i are a person in the four kingdoms" through the first wireless audio playing device by the electronic device when the electronic device obtains the switching instruction, assuming that the content of the audio data corresponding to t1 is "person", where t1 is the first playing time point corresponding to the playing progress of the audio data when the switching instruction is obtained.
And then, the electronic equipment sends the audio data to the second wireless audio playing equipment, and the second wireless audio playing equipment decodes the audio data and then stores the decoded audio data.
Then, the timing function is started, and when it is determined that the timing length is greater than or equal to the preset time length, where the preset time length is Δ t 'in fig. 10 and the time point corresponding to t1 plus Δ t' is t3, at the position of t3, the user can hear through the first wireless audio playback device, but cannot hear through the second wireless audio playback device, assuming that the corresponding content is "pink", that is, "i love eating sour and hot pink", because the second wireless audio playback device is still receiving audio data and not playing audio data during this time period.
Then, at a time point T3, the electronic device obtains a playing progress of the audio data played by the first wireless audio playing device, and records the playing progress as a second playing progress, that is, T3, and then sends T3 to the second wireless audio playing device, where the second wireless audio playing device plays the audio data at a time point at a position T3, that is, a position T3, and then, at this time, the electronic device controls the first wireless audio playing device to pause playing, and then the voice of "after T3 and i like eating a hot pot" is played, and the user can hear the voice through the second wireless audio playing device.
Then at the time point of t3, the user no longer listens to the voice of "and i like eating a hot pot" through the first wireless audio playing device, thereby enabling the playing of the audio data to be more seamlessly engaged while avoiding a jam or pause when the first wireless audio playing device switches to the second wireless audio playing device.
It should be noted that, for the parts not described in detail in the above steps, reference may be made to the foregoing embodiments, and details are not described herein again.
Referring to fig. 11, a block diagram of an audio playing apparatus 1100 according to an embodiment of the present application is shown, where the apparatus is applied to an electronic device, and the electronic device is capable of simultaneously connecting a first wireless audio playing device and a second wireless audio playing device. Specifically, the audio playback apparatus 1100 may include: a determination unit 1101, a storage unit 1102, an acquisition unit 1103, and a playback unit 1104.
The determining unit 1101 is configured to determine whether a switching instruction is acquired when it is detected that the electronic device is playing audio data through the first wireless audio playing device.
The storage unit 1102 is configured to, if a switching instruction is obtained, keep the first wireless audio playing device to continue playing the audio data, send the audio data to the second wireless audio playing device, and instruct the second wireless audio playing device to store the obtained audio data.
An obtaining unit 1103, configured to obtain a playing progress of the audio data.
A playing unit 1104, configured to send the playing progress to the second wireless audio playing device, and instruct the second wireless audio playing device to play the stored audio data according to the playing progress.
The wireless audio playing device further comprises a closing unit used for closing the first wireless audio playing device. Specifically, the method is used for acquiring a distance value between the first wireless audio playing device and the electronic device; and if the distance value is greater than a preset threshold value, closing the first wireless audio playing device. More specifically, if the distance value is greater than a preset threshold, acquiring a wearing state of the first wireless audio playing device; and if the first wireless audio playing device is in an unworn state, closing the first wireless audio playing device.
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.
Referring to fig. 12, 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 140, 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. Specifically, the processor 110 can be connected to the first wireless audio playing device and the second wireless audio playing device at the same time, and can send the audio data to be played by the electronic device to the first wireless audio playing device and the second wireless audio playing device for playing, and also can send some instructions to the first wireless audio playing device and the second wireless audio playing device for playing, and also can play and receive some data and instructions from the first wireless audio playing device and the second wireless audio playing device.
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 140 is used for implementing bluetooth connection between the electronic device and the bluetooth device, and data interaction between the electronic device and the bluetooth device. 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 bluetooth module 140 may include a power amplifier, a wireless transceiver, a transceiver switch, a low noise amplifier, an antenna, and the like. When sending signals, the transceiver itself will directly output a low-Power weak rf signal, which is sent to a Power Amplifier (PA) for Power amplification, and then radiated to the space through an Antenna (Antenna) by a Transmit/Receive Switch (Transmit/Receive Switch). When receiving signals, the antenna can sense electromagnetic signals in the space, and the electromagnetic signals are sent to a Low Noise Amplifier (LNA) for amplification after passing through the switcher, so that the amplified signals can be directly sent to a transceiver for processing and demodulation, and the bluetooth module 140 can use a 2.4GHz frequency band.
Referring to fig. 13, a block diagram of a computer-readable storage medium according to an embodiment of the present application is shown. The computer-readable medium 1300 has stored therein 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 1300 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. Optionally, the computer-readable storage medium 1300 includes a non-volatile computer-readable storage medium. The computer readable storage medium 1300 has storage space for program code 1310 for performing 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 1310 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 (9)

1. An audio playing method is applied to an electronic device, wherein the electronic device can be connected with a first wireless audio playing device and a second wireless audio playing device simultaneously, and the method comprises the following steps:
when detecting that the electronic equipment is playing audio data through the first wireless audio playing equipment, judging whether a switching instruction is acquired;
if a switching instruction is acquired, the first wireless audio playing device is kept to continue playing the audio data, the audio data is sent to the second wireless audio playing device, and the second wireless audio playing device is instructed to store the acquired audio data;
starting timing;
if the timing length is greater than or equal to the preset time length, acquiring the playing progress of the audio data;
and sending the playing progress to the second wireless audio playing device, and instructing the second wireless audio playing device to play the stored audio data according to the playing progress.
2. The method of claim 1, wherein sending the audio data to the second wireless audio playback device instructing the second wireless audio playback device to store the retrieved audio data comprises:
and sending the audio data to the second wireless audio playing device, instructing the second wireless audio playing device to perform audio decoding on the acquired audio data, and storing the audio data after audio decoding.
3. The method of claim 1, wherein the obtaining the playing progress of the audio data comprises:
detecting whether storage success information is acquired, wherein the storage success information is indication information sent after the second wireless audio playing device successfully stores audio data;
and if the storage success information is acquired, acquiring the playing progress of the audio data.
4. The method according to any of claims 1-3, wherein after sending the playing schedule to the second wireless audio playing device and instructing the second wireless audio playing device to play the stored audio data according to the playing schedule, further comprising:
and turning off the first wireless audio playing device.
5. The method of claim 4, wherein turning off the first wireless audio playback device comprises:
acquiring a distance value between the first wireless audio playing device and the electronic device;
and if the distance value is greater than a preset threshold value, closing the first wireless audio playing device.
6. The method of claim 5, wherein turning off the first wireless audio playback device if the distance value is greater than a predetermined threshold comprises:
if the distance value is larger than a preset threshold value, acquiring the wearing state of the first wireless audio playing device;
and if the first wireless audio playing device is in an unworn state, closing the first wireless audio playing device.
7. The utility model provides an audio playing device which characterized in that is applied to electronic equipment, electronic equipment can connect first wireless audio playback equipment and second wireless audio playback equipment simultaneously, audio playing device includes:
the judging unit is used for judging whether a switching instruction is acquired or not when the electronic equipment is detected to play audio data through the first wireless audio playing equipment;
the storage unit is used for keeping the first wireless audio playing device to continue playing the audio data if a switching instruction is obtained, sending the audio data to the second wireless audio playing device, and indicating the second wireless audio playing device to store the obtained audio data;
the acquisition unit is used for starting timing, and if the timing length is greater than or equal to the preset time length, the playing progress of the audio data is acquired;
and the playing unit is used for sending the playing progress to the second wireless audio playing equipment and indicating the second wireless audio playing equipment to play the stored audio data according to the playing progress.
8. An electronic device, comprising:
one or more processors capable of simultaneously connecting a first wireless audio playback device and a second wireless audio playback device;
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 applications configured to perform the method of any of claims 1-6.
9. A computer-readable medium, in which a program code is stored, the program code being called by a processor to perform the method of any of claims 1-6.
CN201811161323.3A 2018-09-30 2018-09-30 Audio playing method and device, electronic equipment and computer readable medium Active CN109445739B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201811161323.3A CN109445739B (en) 2018-09-30 2018-09-30 Audio playing method and device, electronic equipment and computer readable medium
PCT/CN2019/096216 WO2020063047A1 (en) 2018-09-30 2019-07-16 Audio playback method and apparatus, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811161323.3A CN109445739B (en) 2018-09-30 2018-09-30 Audio playing method and device, electronic equipment and computer readable medium

Publications (2)

Publication Number Publication Date
CN109445739A CN109445739A (en) 2019-03-08
CN109445739B true CN109445739B (en) 2020-05-19

Family

ID=65544642

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811161323.3A Active CN109445739B (en) 2018-09-30 2018-09-30 Audio playing method and device, electronic equipment and computer readable medium

Country Status (2)

Country Link
CN (1) CN109445739B (en)
WO (1) WO2020063047A1 (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109445739B (en) * 2018-09-30 2020-05-19 Oppo广东移动通信有限公司 Audio playing method and device, electronic equipment and computer readable medium
CN110347248B (en) * 2019-06-24 2023-01-24 歌尔科技有限公司 Interactive processing method, device, equipment and audio equipment
CN111182456B (en) * 2019-09-12 2020-12-25 广东小天才科技有限公司 Audio playing switching method and system based on intelligent sound box and related equipment
CN110782909A (en) * 2019-10-10 2020-02-11 惠州迪芬尼声学科技股份有限公司 Method for switching audio decoder and intelligent sound box
CN111208969A (en) * 2020-01-03 2020-05-29 海信视像科技股份有限公司 Selection control method of sound output equipment and display equipment
CN111177453B (en) * 2020-01-07 2023-11-14 百度在线网络技术(北京)有限公司 Method, apparatus, device and computer readable storage medium for controlling audio playing
CN112764710A (en) * 2021-01-22 2021-05-07 维沃移动通信有限公司 Audio playing mode switching method and device, electronic equipment and storage medium
CN113079246B (en) * 2021-03-23 2023-02-17 Oppo广东移动通信有限公司 Audio playing method and device, equipment and storage medium
CN113157238A (en) * 2021-04-19 2021-07-23 深圳市艾酷通信软件有限公司 Audio playing method and device, earphone, electronic equipment and storage medium
CN115243236A (en) * 2021-04-23 2022-10-25 华为技术有限公司 Seamless switching method for audio data
CN114430528B (en) * 2021-12-17 2023-08-11 珠海格力电器股份有限公司 Sound data playing method and device, electronic equipment and storage medium
CN115277921B (en) * 2022-06-20 2023-07-07 荣耀终端有限公司 Audio control method, electronic equipment, bluetooth headset and storage medium

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9641925B2 (en) * 2014-01-02 2017-05-02 Zippy Technology Corp. Headphone wireless expansion device capable of switching among multiple targets and voice control method thereof
CN103780943B (en) * 2014-01-24 2017-04-12 华为技术有限公司 Audio channel switching method, device and system
CN105679350B (en) * 2016-01-11 2019-05-03 Oppo广东移动通信有限公司 A kind of method and device that audio plays
CN206147589U (en) * 2016-08-05 2017-05-03 深圳中电长城信息安全系统有限公司 Audio playback equipment and because audio frequency control circuit of desktop optical drive
CN106341546B (en) * 2016-09-29 2019-06-28 Oppo广东移动通信有限公司 A kind of playback method of audio, device and mobile terminal
CN106452512B (en) * 2016-09-30 2019-02-12 Oppo广东移动通信有限公司 A kind of role transforming method and device based on bluetooth connection
CN106649484B (en) * 2016-09-30 2019-08-06 Oppo广东移动通信有限公司 A kind of storage method and device of audio log
CN107707742B (en) * 2017-09-15 2020-01-03 维沃移动通信有限公司 Audio file playing method and mobile terminal
CN107894881A (en) * 2017-10-18 2018-04-10 恒玄科技(上海)有限公司 The method that principal and subordinate link switching, conversation monitoring and the Mike of bluetooth earphone switch
CN109445739B (en) * 2018-09-30 2020-05-19 Oppo广东移动通信有限公司 Audio playing method and device, electronic equipment and computer readable medium

Also Published As

Publication number Publication date
WO2020063047A1 (en) 2020-04-02
CN109445739A (en) 2019-03-08

Similar Documents

Publication Publication Date Title
CN109445739B (en) Audio playing method and device, electronic equipment and computer readable medium
WO2020063046A1 (en) Audio playback method and device, electronic device and storage medium
CN109379490B (en) Audio playing method and device, electronic equipment and computer readable medium
US11032675B2 (en) Electronic accessory incorporating dynamic user-controlled audio muting capabilities, related methods and communications terminal
CN111713141B (en) Bluetooth playing method and electronic equipment
CN109151194B (en) Data transmission method, device, electronic equipment and storage medium
CN109151566B (en) Audio playing method and device, electronic equipment and computer readable medium
US10950238B2 (en) Bluetooth speaker base, method and system for controlling thereof
US20120294454A1 (en) Mobile terminal and earphone identifying method
CN109150399A (en) Data transmission method, device, electronic equipment and computer-readable medium
KR20170139534A (en) Multi-source wireless headphones and audio switching devices
CN109271131B (en) Earphone control method and device, electronic equipment and storage medium
US7660602B2 (en) Full-duplex radio speaker system and associated method
CN109257732B (en) Equipment control method and device and electronic equipment
WO2014069368A1 (en) Receiver device
CN112565876B (en) Screen projection method, device, equipment, system and storage medium
WO2021088784A1 (en) Earphone device, call system, apparatus and device, and call method
CN104980583A (en) Event reminding method and terminal
CN107861704A (en) Control method for playing back, device, terminal and readable storage medium storing program for executing
US20130039154A1 (en) Remote control of a portable electronic device and method therefor
JP2007049358A (en) Portable terminal and program
JP4835911B2 (en) Voice input device, method, program, and wireless communication device
JP2008092210A (en) Reproducing device
JP5008797B2 (en) Mobile phone equipment
US20190230486A1 (en) Operating method of a mobile communication device

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