CN110764730A - Method and device for playing audio data - Google Patents

Method and device for playing audio data Download PDF

Info

Publication number
CN110764730A
CN110764730A CN201810825819.XA CN201810825819A CN110764730A CN 110764730 A CN110764730 A CN 110764730A CN 201810825819 A CN201810825819 A CN 201810825819A CN 110764730 A CN110764730 A CN 110764730A
Authority
CN
China
Prior art keywords
audio
playing
equipment
terminal
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810825819.XA
Other languages
Chinese (zh)
Other versions
CN110764730B (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.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN201810825819.XA priority Critical patent/CN110764730B/en
Publication of CN110764730A publication Critical patent/CN110764730A/en
Application granted granted Critical
Publication of CN110764730B publication Critical patent/CN110764730B/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
    • 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 disclosure provides a method and a device for playing audio data, and belongs to the technical field of multimedia. The method is applied to a terminal, at least two audio devices are connected with the terminal, and the method comprises the following steps: acquiring current audio playing information; determining a first audio device corresponding to the current audio playing information in the at least two audio devices according to the corresponding relation between the pre-stored audio playing information and the audio devices; and playing audio data through the first audio equipment. By adopting the method, the terminal can play the audio data according to the audio equipment determined by the preset priority order, can also play the audio data through the audio equipment manually selected by the user, and can also select the audio equipment corresponding to the current audio playing information to play the audio data according to the corresponding relation between the audio playing information and the audio equipment, so that the flexibility of the terminal for selecting the audio equipment to play the audio data can be improved.

Description

Method and device for playing audio data
Technical Field
The present disclosure relates to the field of multimedia technologies, and in particular, to a method and an apparatus for playing audio data.
Background
Terminals, such as notebook computers, tablet computers, mobile phones, etc., can be used to play audio data, for example, the terminal can use its own configured speaker to play, and can also play by means of other audio devices (such as earphones and speakers). In the case where at least two audio devices are connected to the terminal, if the environment in which the user is located changes and the changed environment is not suitable for playing audio data using the currently used audio device, the user may manually select another audio device to play audio data.
In implementing the present disclosure, the inventors found that the related art has at least the following problems:
under the condition that the terminal is connected with at least two audio devices, a user needs to manually select one audio device to play audio data, so that the flexibility of playing the audio data through the audio device by the terminal is poor.
Disclosure of Invention
The embodiment of the disclosure provides a method and a device for playing audio data, so as to solve the problems of the related art. The technical scheme is as follows:
according to an embodiment of the present disclosure, a method for playing audio data is provided, where the method is applied to a terminal, and the terminal is connected with at least two audio devices, and the method includes:
acquiring current audio playing information;
determining a first audio device corresponding to the current audio playing information in the at least two audio devices according to the corresponding relation between the pre-stored audio playing information and the audio devices;
and playing audio data through the first audio equipment.
Optionally, the determining, in the at least two audio devices, a first audio device corresponding to the current audio playing information according to a correspondence between pre-stored audio playing information and the audio devices includes:
determining a second audio device currently in use;
and determining the current audio playing information and the first audio equipment to be used corresponding to the second audio equipment to be used in the at least two audio equipment according to the pre-stored audio playing information and the corresponding relation between the currently used audio equipment and the audio equipment to be used.
Optionally, the playing, by the target audio device, the audio data includes:
and if the terminal plays the audio data through the second audio equipment currently, playing the audio data through the first audio equipment when the preset time length is reached after the target audio equipment corresponding to the current audio playing information is determined.
Optionally, the playing, by the target audio device, the audio data includes:
if the terminal plays audio data through the second audio equipment currently, displaying a prompt window switched to the first audio equipment;
and when receiving a switching confirmation instruction triggered by the prompt window, playing audio data through the first audio equipment.
Optionally, the audio playing information includes one or more of the following information:
the audio playing volume, the ambient noise volume, the echo attribute information, and the preset relative position information of the target device and each audio device.
Optionally, the method further includes:
acquiring the playing noise volume of the currently used audio equipment;
and if the volume of the playing noise is larger than a preset threshold value, determining fourth audio equipment except the currently used audio equipment in the at least two audio equipment, and playing audio data through the fourth audio equipment.
According to an embodiment of the present disclosure, there is provided an apparatus for playing audio data, the apparatus being connected with at least two audio devices, the apparatus including:
the acquisition module is used for acquiring current audio playing information;
the determining module is used for determining a first audio device corresponding to the current audio playing information in the at least two audio devices according to the corresponding relation between the pre-stored audio playing information and the audio devices;
and the playing module is used for playing the audio data through the first audio equipment.
Optionally, the determining module is specifically configured to:
determining a second audio device currently in use;
and determining the current audio playing information and the first audio equipment to be used corresponding to the second audio equipment to be used in the at least two audio equipment according to the pre-stored audio playing information and the corresponding relation between the currently used audio equipment and the audio equipment to be used.
Optionally, the playing module is specifically configured to:
and if the terminal plays the audio data through the second audio equipment currently, playing the audio data through the first audio equipment when the preset time length is reached after the target audio equipment corresponding to the current audio playing information is determined.
Optionally, the playing module is specifically configured to:
if the terminal plays audio data through the second audio equipment currently, displaying a prompt window switched to the first audio equipment;
and when receiving a switching confirmation instruction triggered by the prompt window, playing audio data through the first audio equipment.
Optionally, the audio playing information includes one or more of the following information:
the audio playing volume, the ambient noise volume, the echo attribute information, and the preset relative position information of the target device and each audio device.
Optionally, the obtaining module is further configured to obtain a playing noise volume of the currently used audio device;
the determining module is further configured to determine, if the volume of the playing noise is greater than a preset threshold, a fourth audio device other than the currently used audio device in the at least two audio devices;
the playing module is further configured to play audio data through the fourth audio device.
According to an embodiment of the present disclosure, a system for playing audio data is provided, the system including a terminal and at least two audio devices, the terminal being electrically connected to the at least two audio devices;
the terminal is used for acquiring current audio playing information; determining a first audio device corresponding to the current audio playing information in the at least two audio devices according to the corresponding relation between the pre-stored audio playing information and the audio devices; transmitting audio data to the first audio device;
the first audio device is used for playing the audio data.
According to the embodiment of the disclosure, a terminal is provided, which comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete mutual communication through the bus; a memory for storing a computer program; and the processor is used for executing the program stored in the memory and realizing the steps of the method.
According to an embodiment of the present disclosure, a computer-readable storage medium is provided, in which a computer program is stored, which, when being executed by a processor, carries out the above-mentioned method steps.
The technical scheme provided by the embodiment of the invention has the beneficial effects that at least:
in the embodiment of the present disclosure, in the process of playing the audio data, the terminal may obtain current audio playing information, determine, according to a correspondence between pre-stored audio playing information and audio devices, a first audio device corresponding to the current audio playing information in at least two audio devices in a connection state with the terminal, and then play the audio data through the first audio device. Therefore, the terminal can play the audio data according to the audio equipment determined by the preset priority sequence, can also play the audio data through the audio equipment manually selected by the user, and can also select the audio equipment corresponding to the current audio playing information to play the audio data according to the corresponding relation between the audio playing information and the audio equipment, so that the flexibility of the terminal for selecting the audio equipment to play the audio data can be improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, 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 disclosure, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a method for playing audio data according to an embodiment of the present disclosure;
fig. 2 is a schematic view of a scene for playing audio data according to an embodiment of the present disclosure;
fig. 3 is a schematic view of a scene for playing audio data according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an apparatus for playing audio data according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an apparatus for playing audio data according to an embodiment of the present disclosure.
Detailed Description
To make the objects, technical solutions and advantages of the present disclosure more apparent, embodiments of the present disclosure will be described in detail with reference to the accompanying drawings.
The embodiment of the disclosure provides a method for playing audio data, which can be implemented by a terminal connected with at least two audio devices. The terminal can be a terminal with an audio playing function, such as a notebook computer, a tablet computer or a mobile phone, and can be provided with a music playing application program; the audio equipment can be an earphone and a speaker of the terminal, and can also be an external speaker, such as a Bluetooth sound box and the like, and is used for playing audio data; there are also various connection modes between the terminal and at least two audio devices, for example, the connection may be through a data line, a bluetooth connection, a wireless connection, or the like.
The terminal may include a processor, memory, etc. The processor, which may be a CPU (Central processing unit), may be configured to determine, according to a correspondence between pre-stored audio playing information and audio devices, a first audio device corresponding to current audio playing information in the at least two audio devices, and perform other processing. The Memory may be a RAM (Random Access Memory), a Flash Memory, and the like, and may be configured to store received data, data required by the processing procedure, data generated in the processing procedure, and the like, such as audio data, audio playing information, and the like. The terminal may also include a transceiver, input components, display components, audio input components, and the like. The transceiver may be used for data transmission with a server, for example, may obtain audio data from the server, and may include an antenna, a matching circuit, a modem, and the like. The input means may be a touch screen, keyboard, mouse, etc. The audio input means may be a microphone or the like.
As shown in fig. 1, the processing flow of the method may include the following steps:
in step 101, the terminal obtains current audio playing information.
The audio playing information may include one or more of audio playing volume, ambient noise volume, echo attribute information, and preset relative position information of the target device and each audio device. The preset target device is a portable device that can be carried by the user, and is used to detect the relative position between the user and each audio device, for example, the preset target device may be the terminal, such as a mobile phone that the user carries with, or a bracelet that is worn on the user.
In a possible implementation process, when a user wants to listen to a song, the music playing application program can be started on the terminal, the song that the user wants to listen to (which can be recorded as a target song) is selected from a song list provided by the music playing application program, and the playing key is clicked, so that the terminal can select the audio device used last time to play the target song, or the audio device can be determined to play the target song according to a pre-configured priority order of the audio device. When the user clicks the play key, the terminal is also triggered to acquire current audio play information, for example, the current audio play volume can be detected, environmental noise volume and echo attribute information can be acquired through an audio input component (such as a microphone), and relative position information of the target device and each audio device can also be acquired.
In step 102, the terminal determines, according to a correspondence between pre-stored audio playing information and audio devices, a first audio device corresponding to the current audio playing information among the at least two audio devices.
In a possible implementation process, a storage of the terminal may be pre-stored with a corresponding relationship between the audio playing information and the audio device, for example, when echo attribute information exists and the echo attribute information is greater than a preset threshold, the corresponding audio device is an audio device with an echo cancellation function, such as an earphone. For another example, the corresponding relationship between the audio playing volume and the audio device, such as the audio playing volume being smaller than the first volume threshold corresponding to the earphone, the audio playing volume being larger than the first volume threshold and smaller than the second volume threshold corresponding to the own speaker, the audio playing volume being larger than the second volume threshold corresponding to the external speaker, wherein, for determining the external speaker, the terminal may select an appropriate external speaker from the external speakers according to the audio playing volume. Therefore, the terminal can determine the first audio device corresponding to the current audio playing information in at least two audio devices in a connection state with the terminal according to the corresponding relationship between the pre-stored audio playing information and the audio devices, for example, when the terminal detects that the current audio playing volume exceeds the second volume threshold, the terminal can determine the external speaker corresponding to the current audio playing volume in the self-contained speaker and the external speaker in the connection state with the terminal according to the corresponding relationship between the audio playing volume and the audio devices.
In step 103, the terminal plays the audio data through the first audio device.
After the terminal determines the first audio device, it may first detect the audio device in the current use state, if the currently used audio device is the first audio device, continue to play the audio data through the first audio device, and if the currently used audio device is not the first audio device, switch the currently used audio device to the first audio device, and play the audio data through the first audio device.
For example, after the user selects the target song and clicks the play button, the terminal may play the target song according to the audio device that was most recently used (e.g., with its own speaker), or according to the audio devices determined by the pre-configured priority order. In the process of playing the target song, the terminal may periodically acquire current audio playing information, for example, when the terminal detects that the current audio playing volume exceeds a second volume threshold, the external speaker corresponding to the current audio playing volume may be determined in the self-contained speaker and the external speaker connected to the terminal according to a corresponding relationship between the audio playing volume and the audio device. And then, the terminal switches the self-contained loudspeaker into an external loudspeaker and plays the target song through the external loudspeaker.
Based on the above, in the process of playing the audio data, the terminal can not only play the audio data according to the audio device determined by the preset priority order, but also select the audio device corresponding to the current audio playing information to play the audio data according to the corresponding relationship between the audio playing information and the audio device, so that the flexibility of the terminal in selecting the audio device to play the audio data can be improved.
In addition, the terminal determines the audio equipment based on the audio playing information, so that the determined audio equipment is matched with the audio playing information, the effect of the audio equipment is better exerted, the effect of playing audio data by the terminal can be further improved, and the auditory effect of a user is improved. For example, for an audio device with an echo cancellation function, playing audio data in an environment where echoes are easily generated can better exert the effect, so that when the terminal detects echo attribute information, the audio device corresponding to the echo attribute information can be selected to play the audio data, and the effect of playing the audio data by the terminal is further improved. For example, for an external speaker (such as an external speaker) with a shocking sound effect, the effect of playing the audio data is better under the condition that the audio playing volume is larger, so that when the terminal detects that the audio playing volume is larger, the audio device corresponding to the audio playing volume can be selected to play the audio data, and further, the effect of playing the audio data by the terminal is improved.
Optionally, the terminal determines the audio device according to the audio playing information, and the terminal may further select the audio device to be used according to the audio playing information and the currently used audio device, and correspondingly, the terminal determines the currently used second audio device first, and then determines, in the at least two audio devices, the current audio playing information and the first audio device to be used corresponding to the currently used second audio device according to the pre-stored audio playing information, the correspondence between the currently used audio device and the audio device to be used.
In a possible implementation process, in the process of playing audio data, when it is detected that audio playing information changes, if the volume of ambient noise in the audio playing information is greater than a preset threshold, a second audio device currently used is further detected, and then the current audio playing information and a first audio device to be used corresponding to the second audio device currently used are determined according to pre-stored audio playing information and a corresponding relationship between the audio device currently used and the audio device to be used.
For example, when the terminal detects that the volume of the environmental noise in the audio playing information is greater than a preset threshold, it is further determined that the currently used audio device, such as a self-contained speaker, corresponds to the self-contained speaker according to that the volume of the environmental noise stored in advance is less than the preset threshold, and corresponds to an external speaker according to that the volume of the environmental noise is greater than the preset threshold, it is further determined that the audio device to be used is an external speaker, and then the self-contained speaker is switched to the external speaker by the terminal.
One possible application scenario may be that the user plays music using the self-contained speaker in an environment where the ambient noise volume is smaller than a preset threshold, and in the process of playing music, the environment becomes noisy suddenly, and accordingly, the terminal detects that the ambient noise volume is larger than the preset threshold, so that the terminal can switch the self-contained speaker to an external speaker, continue to play music for the user through the external speaker, and does not need to manually switch the audio device.
For another example, when the terminal detects that the volume of the environmental noise in the audio playing information is greater than the preset threshold, but further detects that the currently used audio device is an earphone, the terminal may not switch the audio device, that is, the terminal continues to play the audio data through the earphone.
One possible application scenario may be that the user uses the earphone to play music in an environment where the volume of the ambient noise is smaller than a preset threshold, and in the process of playing music, the environment becomes noisy suddenly, and accordingly, although the terminal detects that the volume of the ambient noise is larger than the preset threshold, since the currently used audio device is the earphone and the ability of the earphone to resist the ambient noise is strong, in order not to affect the music listening effect of the user, the audio device may not be switched, and the terminal continues to play music through the earphone.
The foregoing introduces a situation that the terminal determines the audio device based on the audio playing volume, the environmental noise volume, and the echo attribute information, and certainly, the terminal may also determine the audio device according to the comprehensive information of the audio playing volume, the environmental noise volume, and the echo attribute information, for example, when the terminal detects that the environmental noise volume is greater than a preset threshold, the audio playing volume is further determined, if the audio playing volume is greater than a first volume threshold and less than a second volume threshold, the terminal may select a speaker to play the audio data, and if the audio playing volume is greater than the second volume threshold, the terminal may select an external speaker to play the audio data. For another example, the terminal may further determine the audio device according to the audio playing volume, the ambient noise volume, and the component occupied by the echo attribute information, for example, if the audio playing volume is greater than the maximum component occupied by the second volume threshold, the terminal may select an external speaker to play the audio data, the echo attribute information exists in the environment where the terminal is located, and the echo is still relatively large, that is, the component occupied by the echo attribute information is relatively large, and the terminal may select an audio device with echo cancellation, such as an earphone, to play the audio data.
In the above description, the terminal determines the audio devices based on the audio playing volume, the ambient noise volume, and the echo attribute information, and may also determine the audio devices according to the preset corresponding relationship between the target device and each audio device and the audio devices, where correspondingly, the terminal may first determine the relative positions between the target device and each audio device, and then determine the audio device closest to the target device, and play the audio data through the audio device.
It can be known from the foregoing that the target device may be an execution main body terminal of this embodiment, such as a mobile phone, or a portable device carried by a user, such as a bracelet, a wristwatch, and the like, and the target device is used for reflecting relative position information between the user and each audio device. In the following, the target device is taken as an example of a portable device carried by a user, and the situation that the target device is a terminal is similar to the target device, and thus, the description is omitted.
In one possible implementation, the relative location information of the target device and each audio device may be the coordinate location of the target device in a coordinate system established with each audio device as a coordinate origin. For example, a plurality of audio devices (e.g., sound boxes) are placed in a room where a user is located, as shown in fig. 2, four audio devices, denoted as A, B, C and D, are placed in the room, and all of the four audio devices are in a connected state with the terminal, and four coordinate systems are established with A, B, C and D as coordinate origins, respectively, so that the coordinate positions of the target device in the four coordinate systems, respectively, are the relative position information of the target device and each audio device.
As shown in fig. 2, a region a is a better auditory effect for playing audio data using the a audio device, a region B is a better auditory effect for playing audio data using the B audio device, a region C is a better auditory effect for playing audio data using the C audio device, and a region D is a better auditory effect for playing audio data using the D audio device. Then, when the terminal detects that the target device is in the area a, the audio device corresponding to the audio device a may be selected to play the audio data, and when the terminal detects that the target device moves to the area B, the audio device corresponding to the audio device a may be switched to the audio device corresponding to the audio device B.
One possible application scenario may be that the user places an audio device in each room, for example, places an audio device in each of rooms E, F, and G, and the audio devices are connected to a terminal for controlling the audio devices to play audio data. The terminal can be a computer and can be placed in any room, the target device can be a portable device worn on a user, therefore, when the user is in the E room, the audio device in the E room plays audio data, the audio devices in other rooms do not need to play, when the user is transferred from the E room to the F room, at the moment, the terminal switches the audio device in the E room into the audio device in the F room, and the audio device in the F room plays audio data. Therefore, the user can hear the audio data when walking to any room, the flexibility of listening to the music of the user is improved, and the situation that the user cannot hear the music when changing to another room is avoided.
Optionally, the terminal may determine the audio device according to one or more of the audio playing volume, the ambient noise volume, the echo attribute information, and the preset relative position information between the target device and each audio device, and may switch the audio device in use according to the playing noise volume of the audio device, correspondingly, the terminal may acquire the playing noise volume of the currently used audio device in the process of playing the audio data, and if the playing noise volume is greater than the preset threshold, determine a fourth audio device other than the currently used audio device in the at least two audio devices, and play the audio data through the fourth audio device.
The volume of the playing noise of the audio device is the volume of the playing noise related to the audio device, for example, the playing noise generated when the audio device is faulty, for example, the playing noise generated when data loss occurs in the transmission process from the terminal to the audio device of the audio data, for example, the playing noise generated when the audio data is interfered by other signals in the transmission process, for example, the playing noise generated when a microphone is too close to the audio device in use also generates howling, and the like.
In a possible implementation process, in the process of playing the audio data, the terminal may detect the playing noise through the microphone, and when it is detected that the volume of the playing noise is greater than a preset threshold, determine, among the at least two audio devices, a fourth audio device other than the currently used audio device, and play the audio data through the fourth audio device. That is to say, when the terminal detects that the audio device in use is playing audio data, the terminal sends out playing noise, and the volume of the playing noise is greater than the preset threshold, the audio device in use is switched. And if the switched audio equipment also emits playing noise, and the volume of the playing noise is greater than the preset threshold value, switching the audio equipment again until the volume of the playing noise emitted by the audio equipment is less than the preset threshold value. Therefore, when the audio equipment in use breaks down and the volume of playing noise is larger than the preset threshold value, the terminal can automatically switch the audio equipment without manually switching the audio equipment by a user, and compared with the related art, the user experience can be improved.
Optionally, when the terminal switches the audio device being used, the terminal may perform a delayed switching for a less abrupt switching, and correspondingly, if the terminal currently plays the audio data through the second audio device, the terminal plays the audio data through the first audio device when a preset time is reached after determining the target audio device corresponding to the current audio playing information.
In a possible implementation process, if the terminal is playing audio data using the second audio device, when it is detected that the audio playing information changes and the audio device corresponding to the changed audio playing information is the first audio device, the terminal determines that the time length of the first audio device reaches a preset time length, for example, when it is determined that the time length of the first audio device reaches 1 second, the second audio device is switched to the first audio device, and the audio data is played through the first audio device. Therefore, the user experience can be improved by switching the audio equipment in a delayed manner, and the discomfort of hearing of the user caused by suddenly switching the audio equipment is avoided.
Optionally, after the terminal determines the first audio device and before the audio device being used is switched, a switching prompt may be sent to the user, and correspondingly, if the terminal currently plays audio data through the second audio device, a prompt window for switching to the first audio device is displayed; and when the terminal receives a switching confirmation instruction triggered by the prompt window, the terminal plays the audio data through the first audio equipment.
In one possible implementation, after the terminal determines the first audio device to be used and the second audio device being used, as shown in fig. 3, a prompt window for switching to the first audio device may be displayed through a display screen of the terminal. After the user sees the prompt window, if the user intends to switch, the user can click to determine, the terminal can receive a switching confirmation instruction triggered by the prompt window, then the terminal switches the second audio device to the first audio device, and the audio data is played through the first audio device. And if the user does not intend to switch and can click to cancel, the terminal can receive a switching canceling instruction triggered by the prompt window, and then the terminal continues to play the audio data through the second audio equipment. In another case, if the user does not notice the prompt window displayed on the display screen of the terminal, and correspondingly, the terminal does not receive the switching confirmation instruction or the switching cancellation instruction triggered by the prompt window within the preset time period, the terminal may automatically switch the second audio device to the first audio device from the viewpoint of improving the audio data playing effect, and play the audio data through the first audio device.
Optionally, the terminal determines an audio device according to a change of the audio playing information, of course, the user may also select an audio device according to his/her own will, and after the audio device is determined by the terminal based on the selection instruction of the user, the terminal may no longer switch the audio device according to the audio playing information. If the second audio equipment used currently is detected not to be set by the user or not selected by the user, current audio playing information is obtained; and if the second audio equipment used currently is detected to be set by the user or selected by the user, no current audio playing information is acquired, and the audio equipment is selected no longer based on the corresponding relation between the pre-stored audio playing information and the audio equipment and the current audio playing information. In this way, the user can manually select an audio device to play audio data, and after the user manually selects the audio device, the terminal does not select the audio device based on the current audio playing information any more so as not to affect the user experience.
In the embodiment of the present disclosure, in the process of playing the audio data, the terminal may obtain current audio playing information, determine, according to a correspondence between pre-stored audio playing information and audio devices, a first audio device corresponding to the current audio playing information in at least two audio devices in a connection state with the terminal, and then play the audio data through the first audio device. Therefore, the terminal can play the audio data according to the audio equipment determined by the preset priority sequence, can also play the audio data through the audio equipment manually selected by the user, and can also select the audio equipment corresponding to the current audio playing information to play the audio data according to the corresponding relation between the audio playing information and the audio equipment, and further, the method can improve the flexibility of the terminal for selecting the audio equipment to play the audio data.
Based on the same technical concept, an embodiment of the present disclosure further provides an apparatus for playing audio data, where the apparatus is connected with at least two audio devices, and the apparatus may be a terminal in the foregoing embodiment, as shown in fig. 4, the apparatus includes:
an obtaining module 410, configured to obtain current audio playing information;
a determining module 420, configured to determine, according to a correspondence between pre-stored audio playing information and audio devices, a first audio device corresponding to current audio playing information in the at least two audio devices;
the playing module 430 is configured to play audio data through the first audio device.
Optionally, the determining module 420 is specifically configured to:
determining a second audio device currently in use;
and determining the current audio playing information and the first audio equipment to be used corresponding to the second audio equipment to be used in the at least two audio equipment according to the pre-stored audio playing information and the corresponding relation between the currently used audio equipment and the audio equipment to be used.
Optionally, the playing module 430 is specifically configured to:
and if the terminal plays the audio data through the second audio equipment currently, playing the audio data through the first audio equipment when the preset time length is reached after the target audio equipment corresponding to the current audio playing information is determined.
Optionally, the playing module 430 is specifically configured to:
if the terminal plays audio data through the second audio equipment currently, displaying a prompt window switched to the first audio equipment;
and when receiving a switching confirmation instruction triggered by the prompt window, playing audio data through the first audio equipment.
Optionally, the audio playing information includes one or more of audio playing volume, ambient noise volume, echo attribute information, and preset relative position information between the target device and each audio device.
Optionally, the obtaining module 410 is further configured to obtain a playing noise volume of the currently used audio device;
a determining module 420, further configured to determine, if the volume of the playing noise is greater than a preset threshold, a fourth audio device other than the currently used audio device in the at least two audio devices;
the playing module 430 is further configured to play audio data through the fourth audio device.
In the embodiment of the present disclosure, in the process of playing the audio data, the apparatus may obtain current audio playing information, determine, according to a correspondence between pre-stored audio playing information and audio devices, a first audio device corresponding to the current audio playing information in at least two audio devices connected to the apparatus, and then play the audio data through the first audio device. The device can play the audio data according to the audio equipment determined by the preset priority sequence, can also play the audio data through the audio equipment manually selected by a user, and can also select the audio equipment corresponding to the current audio playing information to play the audio data according to the corresponding relation between the audio playing information and the audio equipment, so that the flexibility of the device for selecting the audio equipment to play the audio data can be improved.
It should be noted that: in the device for playing audio data according to the above embodiment, when playing audio data, only the division of the above functional modules is used for illustration, and in practical applications, the above functions may be distributed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the above described functions. In addition, the apparatus for playing audio data and the method for playing audio data provided by the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and will not be described herein again.
The embodiment of the disclosure further provides a system for playing audio data, which includes a terminal and at least two audio devices, wherein the terminal is electrically connected to the at least two audio devices. The terminal is used for acquiring current audio playing information, determining first audio equipment corresponding to the current audio playing information in the at least two pieces of audio equipment according to the corresponding relation between the pre-stored audio playing information and the audio equipment, and sending audio data to the first audio equipment; the first audio device is used for playing the audio data.
With regard to the system in the above-described embodiment, the specific manner in which the terminal, the at least two audio devices, and the like perform operations has been described in detail in the embodiment related to the method, and will not be elaborated upon here.
Fig. 5 shows a block diagram of a terminal 500 according to an exemplary embodiment of the present invention. The terminal may be configured to implement the method for playing audio data described above. The terminal 500 may be: a smartphone, a tablet, a laptop, or a desktop computer. Terminal 500 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, and the like.
In general, the terminal 500 includes: a processor 501 and a memory 502.
The processor 501 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 501 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 501 may also include a main processor and a coprocessor, where the main processor is a processor for processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 501 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, processor 501 may also include an AI (Artificial Intelligence) processor for processing computational operations related to machine learning.
Memory 502 may include one or more computer-readable storage media, which may be non-transitory. Memory 502 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 502 is used to store at least one instruction for execution by processor 501 to implement the method of playing audio data provided by the method embodiments herein.
In some embodiments, the terminal 500 may further optionally include: a peripheral interface 503 and at least one peripheral. The processor 501, memory 502 and peripheral interface 503 may be connected by a bus or signal lines. Each peripheral may be connected to the peripheral interface 503 by a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 504, touch screen display 505, camera 506, audio circuitry 507, positioning components 508, and power supply 509.
The peripheral interface 503 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 501 and the memory 502. In some embodiments, the processor 501, memory 502, and peripheral interface 503 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 501, the memory 502, and the peripheral interface 503 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 504 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 504 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 504 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 504 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 504 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 504 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 505 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 505 is a touch display screen, the display screen 505 also has the ability to capture touch signals on or over the surface of the display screen 505. The touch signal may be input to the processor 501 as a control signal for processing. At this point, the display screen 505 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display screen 505 may be one, providing the front panel of the terminal 500; in other embodiments, the display screens 505 may be at least two, respectively disposed on different surfaces of the terminal 500 or in a folded design; in still other embodiments, the display 505 may be a flexible display disposed on a curved surface or on a folded surface of the terminal 500. Even more, the display screen 505 can be arranged in a non-rectangular irregular figure, i.e. a shaped screen. The Display screen 505 may be made of LCD (liquid crystal Display), OLED (Organic Light-Emitting Diode), and the like.
The camera assembly 506 is used to capture images or video. Optionally, camera assembly 506 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 506 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
Audio circuitry 507 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 501 for processing, or inputting the electric signals to the radio frequency circuit 504 to realize voice communication. For the purpose of stereo sound collection or noise reduction, a plurality of microphones may be provided at different portions of the terminal 500. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 501 or the radio frequency circuit 504 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, audio circuitry 507 may also include a headphone jack.
The positioning component 508 is used to locate the current geographic position of the terminal 500 for navigation or LBS (location based Service). The positioning component 508 may be a positioning component based on the GPS (global positioning System) in the united states, the beidou System in china, the graves System in russia, or the galileo System in the european union.
Power supply 509 is used to power the various components in terminal 500. The power source 509 may be alternating current, direct current, disposable or rechargeable. When power supply 509 includes a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, terminal 500 also includes one or more sensors 510. The one or more sensors 510 include, but are not limited to: acceleration sensor 511, gyro sensor 512, pressure sensor 513, fingerprint sensor 514, optical sensor 515, and proximity sensor 516.
The acceleration sensor 511 may detect the magnitude of acceleration on three coordinate axes of the coordinate system established with the terminal 500. For example, the acceleration sensor 511 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 501 may control the touch screen 505 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 511. The acceleration sensor 511 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 512 may detect a body direction and a rotation angle of the terminal 500, and the gyro sensor 512 may cooperate with the acceleration sensor 511 to acquire a 3D motion of the user on the terminal 500. The processor 501 may implement the following functions according to the data collected by the gyro sensor 512: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
The pressure sensor 513 may be disposed on a side bezel of the terminal 500 and/or an underlying layer of the touch display screen 505. When the pressure sensor 513 is disposed on the side frame of the terminal 500, a user's holding signal of the terminal 500 may be detected, and the processor 501 performs left-right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 513. When the pressure sensor 513 is disposed at the lower layer of the touch display screen 505, the processor 501 controls the operability control on the UI interface according to the pressure operation of the user on the touch display screen 505. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 514 is used for collecting a fingerprint of the user, and the processor 501 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 514, or the fingerprint sensor 514 identifies the identity of the user according to the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, the processor 501 authorizes the user to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings, etc. The fingerprint sensor 514 may be provided on the front, back, or side of the terminal 500. When a physical button or a vendor Logo is provided on the terminal 500, the fingerprint sensor 514 may be integrated with the physical button or the vendor Logo.
The optical sensor 515 is used to collect the ambient light intensity. In one embodiment, the processor 501 may control the display brightness of the touch display screen 505 based on the ambient light intensity collected by the optical sensor 515. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 505 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 505 is turned down. In another embodiment, processor 501 may also dynamically adjust the shooting parameters of camera head assembly 506 based on the ambient light intensity collected by optical sensor 515.
A proximity sensor 516, also referred to as a distance sensor, is typically disposed on the front panel of the terminal 500. The proximity sensor 516 is used to collect the distance between the user and the front surface of the terminal 500. In one embodiment, when the proximity sensor 516 detects that the distance between the user and the front surface of the terminal 500 gradually decreases, the processor 501 controls the touch display screen 505 to switch from the bright screen state to the dark screen state; when the proximity sensor 516 detects that the distance between the user and the front surface of the terminal 500 becomes gradually larger, the processor 501 controls the touch display screen 505 to switch from the screen-rest state to the screen-on state.
Those skilled in the art will appreciate that the configuration shown in fig. 5 is not intended to be limiting of terminal 500 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present disclosure and should not be taken as limiting the invention, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.

Claims (13)

1. A method for playing audio data, wherein the method is applied to a terminal, and at least two audio devices are connected to the terminal, and the method comprises:
acquiring current audio playing information;
determining a first audio device corresponding to the current audio playing information in the at least two audio devices according to the corresponding relation between the pre-stored audio playing information and the audio devices;
and playing audio data through the first audio equipment.
2. The method according to claim 1, wherein the determining, in the at least two audio devices, a first audio device corresponding to the current audio playing information according to the pre-stored correspondence between the audio playing information and the audio devices comprises:
determining a second audio device currently in use;
and determining the current audio playing information and the first audio equipment to be used corresponding to the second audio equipment to be used in the at least two audio equipment according to the pre-stored audio playing information and the corresponding relation between the currently used audio equipment and the audio equipment to be used.
3. The method of claim 1, wherein the playing audio data through the target audio device comprises:
and if the terminal plays the audio data through the second audio equipment currently, playing the audio data through the first audio equipment when the preset time length is reached after the target audio equipment corresponding to the current audio playing information is determined.
4. The method of claim 1, wherein the playing audio data through the target audio device comprises:
if the terminal plays audio data through the second audio equipment currently, displaying a prompt window switched to the first audio equipment;
and when receiving a switching confirmation instruction triggered by the prompt window, playing audio data through the first audio equipment.
5. The method of claim 1, wherein the audio playback information comprises one or more of the following:
the audio playing volume, the ambient noise volume, the echo attribute information, and the preset relative position information of the target device and each audio device.
6. The method according to any one of claims 1-5, further comprising:
acquiring the playing noise volume of the currently used audio equipment;
and if the volume of the playing noise is larger than a preset threshold value, determining fourth audio equipment except the currently used audio equipment in the at least two audio equipment, and playing audio data through the fourth audio equipment.
7. An apparatus for playing audio data, wherein at least two audio devices are connected to the apparatus, the apparatus comprising:
the acquisition module is used for acquiring current audio playing information;
the determining module is used for determining a first audio device corresponding to the current audio playing information in the at least two audio devices according to the corresponding relation between the pre-stored audio playing information and the audio devices;
and the playing module is used for playing the audio data through the first audio equipment.
8. The apparatus of claim 7, wherein the determining module is specifically configured to:
determining a second audio device currently in use;
and determining the current audio playing information and the first audio equipment to be used corresponding to the second audio equipment to be used in the at least two audio equipment according to the pre-stored audio playing information and the corresponding relation between the currently used audio equipment and the audio equipment to be used.
9. The apparatus of claim 7, wherein the playback module is specifically configured to:
and if the terminal plays the audio data through the second audio equipment currently, playing the audio data through the first audio equipment when the preset time length is reached after the target audio equipment corresponding to the current audio playing information is determined.
10. The apparatus of claim 7, wherein the playback module is specifically configured to:
if the terminal plays audio data through the second audio equipment currently, displaying a prompt window switched to the first audio equipment;
and when receiving a switching confirmation instruction triggered by the prompt window, playing audio data through the first audio equipment.
11. The apparatus of claim 7, wherein the audio playback information comprises one or more of the following information:
the audio playing volume, the ambient noise volume, the echo attribute information, and the preset relative position information of the target device and each audio device.
12. The apparatus according to any one of claims 7 to 11,
the acquisition module is also used for acquiring the playing noise volume of the currently used audio equipment;
the determining module is further configured to determine, if the volume of the playing noise is greater than a preset threshold, a fourth audio device other than the currently used audio device in the at least two audio devices;
the playing module is further configured to play audio data through the fourth audio device.
13. A system for playing audio data is characterized in that the system comprises a terminal and at least two audio devices, wherein the terminal is electrically connected with the at least two audio devices;
the terminal is used for acquiring current audio playing information; determining a first audio device corresponding to the current audio playing information in the at least two audio devices according to the corresponding relation between the pre-stored audio playing information and the audio devices; transmitting audio data to the first audio device;
the first audio device is used for playing the audio data.
CN201810825819.XA 2018-07-25 2018-07-25 Method and device for playing audio data Active CN110764730B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810825819.XA CN110764730B (en) 2018-07-25 2018-07-25 Method and device for playing audio data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810825819.XA CN110764730B (en) 2018-07-25 2018-07-25 Method and device for playing audio data

Publications (2)

Publication Number Publication Date
CN110764730A true CN110764730A (en) 2020-02-07
CN110764730B CN110764730B (en) 2023-11-14

Family

ID=69327185

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810825819.XA Active CN110764730B (en) 2018-07-25 2018-07-25 Method and device for playing audio data

Country Status (1)

Country Link
CN (1) CN110764730B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111312250A (en) * 2020-02-21 2020-06-19 珠海荣邦电子科技有限公司 Voice-based multi-device adaptation control method, device and system
CN111338221A (en) * 2020-02-21 2020-06-26 珠海荣邦电子科技有限公司 Multi-equipment self-adaptive control method, device and system
CN112118472A (en) * 2020-09-04 2020-12-22 三星电子(中国)研发中心 Method and apparatus for playing multimedia
WO2021052202A1 (en) * 2019-09-18 2021-03-25 华为技术有限公司 Method and device for selecting audio output apparatus
CN112764710A (en) * 2021-01-22 2021-05-07 维沃移动通信有限公司 Audio playing mode switching method and device, electronic equipment and storage medium
CN113190207A (en) * 2021-04-26 2021-07-30 北京小米移动软件有限公司 Information processing method, information processing device, electronic equipment and storage medium
CN113423007A (en) * 2021-06-17 2021-09-21 元心信息科技集团有限公司 Control method and device for multi-audio playing, electronic equipment and storage medium
CN113784001A (en) * 2021-09-16 2021-12-10 Oppo广东移动通信有限公司 Audio data playing method and device, electronic equipment and storage medium
CN113791887A (en) * 2021-09-28 2021-12-14 杭州中河电子器材有限公司 Audio task priority management method, device and system
CN114063968A (en) * 2021-11-11 2022-02-18 北京字节跳动网络技术有限公司 Audio device selection method and device and electronic device
WO2022068476A1 (en) * 2020-09-29 2022-04-07 中兴通讯股份有限公司 Method for activating audio device, and terminal and computer-readable storage medium
CN114302247A (en) * 2021-04-30 2022-04-08 海信视像科技股份有限公司 Display device and multi-window audio parameter adjusting method
CN115086473A (en) * 2022-08-19 2022-09-20 荣耀终端有限公司 Sound channel selection system, method and related device
WO2022228573A1 (en) * 2021-04-30 2022-11-03 海信视像科技股份有限公司 Display device and method for outputting audio

Citations (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070174645A1 (en) * 2005-12-29 2007-07-26 Chung-Hung Lin Multimedia video and audio player
US20070288227A1 (en) * 2006-06-13 2007-12-13 Korea Advanced Institute Of Science And Technology Emulator module controlling input/output process of communication terminal via peripheral device of computer and method of operating the emulator module
CN101304619A (en) * 2007-05-11 2008-11-12 鸿富锦精密工业(深圳)有限公司 Wireless earphone and audiofrequency apparatus as well as audio frequency play method
EP2071577A1 (en) * 2007-12-14 2009-06-17 Lg Electronics Inc. Mobile terminal and method of playing data therein
CN103200311A (en) * 2013-02-25 2013-07-10 华为终端有限公司 Control method and control device of communication terminal conversation audio passage and communication terminal
CN103699501A (en) * 2013-12-17 2014-04-02 上海斐讯数据通信技术有限公司 Audio equipment managing method and system of mobile terminal
US20140107820A1 (en) * 2012-10-16 2014-04-17 Shih-Yao Chen Audio Equipment and Wireless Electronic Device Combination System
WO2014173221A1 (en) * 2013-04-27 2014-10-30 Tencent Technology (Shenzhen) Company Limited Method and apparatus for audio playing
US20150078557A1 (en) * 2013-09-16 2015-03-19 Janky Technology Co., Ltd. Audio system
CN105023593A (en) * 2014-04-18 2015-11-04 联想移动通信科技有限公司 Terminal audio playing method, terminal audio playing device and terminal
WO2017020422A1 (en) * 2015-07-31 2017-02-09 宇龙计算机通信科技(深圳)有限公司 Audio circuit selection method, device, circuit, and handheld terminal
WO2017029946A1 (en) * 2015-08-19 2017-02-23 ヤマハ株式会社 Audio system, audio device, and audio device setting method
WO2017035968A1 (en) * 2015-09-02 2017-03-09 广东欧珀移动通信有限公司 Audio playing method and apparatus for multiple playing devices
EP3147907A1 (en) * 2015-09-25 2017-03-29 Xiaomi Inc. Control method and apparatus for playing audio
CN106686519A (en) * 2017-03-09 2017-05-17 广东欧珀移动通信有限公司 Method and device for pairing stereophonic sound of audio players as well as terminal
CN106776793A (en) * 2016-11-23 2017-05-31 广州酷狗计算机科技有限公司 A kind of method and apparatus of playing audio-fequency data
US20170171696A1 (en) * 2015-12-11 2017-06-15 Xiaomi Inc. Audio/video playing method and apparatus
CN106911956A (en) * 2017-03-14 2017-06-30 广东欧珀移动通信有限公司 A kind of audio data play method, device and mobile terminal
US20170214966A1 (en) * 2016-01-26 2017-07-27 Le Holdings (Beijing) Co., Ltd. Audio and video playing system and method
CN106990935A (en) * 2017-03-30 2017-07-28 维沃移动通信有限公司 A kind of audio frequency playing method and mobile terminal
CN107040660A (en) * 2017-04-18 2017-08-11 广东欧珀移动通信有限公司 Control method, device and the mobile terminal of mobile terminal playing volume
CN107197101A (en) * 2017-06-23 2017-09-22 努比亚技术有限公司 Audio regulation method, mobile terminal and computer-readable recording medium
CN107623776A (en) * 2017-08-24 2018-01-23 维沃移动通信有限公司 A kind of method for controlling volume, system and mobile terminal
CN107870758A (en) * 2016-09-26 2018-04-03 北京小米移动软件有限公司 Audio frequency playing method and device, electronic equipment
CN108040176A (en) * 2017-12-08 2018-05-15 维沃移动通信有限公司 A kind of playback method, device and mobile terminal
CN108134875A (en) * 2017-12-20 2018-06-08 腾讯音乐娱乐科技(深圳)有限公司 Control method, device, storage medium and the equipment that audio plays

Patent Citations (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070174645A1 (en) * 2005-12-29 2007-07-26 Chung-Hung Lin Multimedia video and audio player
US20070288227A1 (en) * 2006-06-13 2007-12-13 Korea Advanced Institute Of Science And Technology Emulator module controlling input/output process of communication terminal via peripheral device of computer and method of operating the emulator module
CN101304619A (en) * 2007-05-11 2008-11-12 鸿富锦精密工业(深圳)有限公司 Wireless earphone and audiofrequency apparatus as well as audio frequency play method
EP2071577A1 (en) * 2007-12-14 2009-06-17 Lg Electronics Inc. Mobile terminal and method of playing data therein
US20140107820A1 (en) * 2012-10-16 2014-04-17 Shih-Yao Chen Audio Equipment and Wireless Electronic Device Combination System
CN103200311A (en) * 2013-02-25 2013-07-10 华为终端有限公司 Control method and control device of communication terminal conversation audio passage and communication terminal
WO2014127712A1 (en) * 2013-02-25 2014-08-28 华为终端有限公司 Method and device for controlling call audio channel of communication terminal, and communication terminal
US20150110262A1 (en) * 2013-02-25 2015-04-23 Huawei Device Co., Ltd. Method and Apparatus for Controlling Call Audio Channel on Communications Terminal, and Communications Terminal
WO2014173221A1 (en) * 2013-04-27 2014-10-30 Tencent Technology (Shenzhen) Company Limited Method and apparatus for audio playing
US20150078557A1 (en) * 2013-09-16 2015-03-19 Janky Technology Co., Ltd. Audio system
CN103699501A (en) * 2013-12-17 2014-04-02 上海斐讯数据通信技术有限公司 Audio equipment managing method and system of mobile terminal
CN105023593A (en) * 2014-04-18 2015-11-04 联想移动通信科技有限公司 Terminal audio playing method, terminal audio playing device and terminal
WO2017020422A1 (en) * 2015-07-31 2017-02-09 宇龙计算机通信科技(深圳)有限公司 Audio circuit selection method, device, circuit, and handheld terminal
WO2017029946A1 (en) * 2015-08-19 2017-02-23 ヤマハ株式会社 Audio system, audio device, and audio device setting method
WO2017035968A1 (en) * 2015-09-02 2017-03-09 广东欧珀移动通信有限公司 Audio playing method and apparatus for multiple playing devices
EP3147907A1 (en) * 2015-09-25 2017-03-29 Xiaomi Inc. Control method and apparatus for playing audio
US20170171696A1 (en) * 2015-12-11 2017-06-15 Xiaomi Inc. Audio/video playing method and apparatus
US20170214966A1 (en) * 2016-01-26 2017-07-27 Le Holdings (Beijing) Co., Ltd. Audio and video playing system and method
CN107870758A (en) * 2016-09-26 2018-04-03 北京小米移动软件有限公司 Audio frequency playing method and device, electronic equipment
CN106776793A (en) * 2016-11-23 2017-05-31 广州酷狗计算机科技有限公司 A kind of method and apparatus of playing audio-fequency data
CN106686519A (en) * 2017-03-09 2017-05-17 广东欧珀移动通信有限公司 Method and device for pairing stereophonic sound of audio players as well as terminal
CN106911956A (en) * 2017-03-14 2017-06-30 广东欧珀移动通信有限公司 A kind of audio data play method, device and mobile terminal
CN106990935A (en) * 2017-03-30 2017-07-28 维沃移动通信有限公司 A kind of audio frequency playing method and mobile terminal
CN107040660A (en) * 2017-04-18 2017-08-11 广东欧珀移动通信有限公司 Control method, device and the mobile terminal of mobile terminal playing volume
CN107197101A (en) * 2017-06-23 2017-09-22 努比亚技术有限公司 Audio regulation method, mobile terminal and computer-readable recording medium
CN107623776A (en) * 2017-08-24 2018-01-23 维沃移动通信有限公司 A kind of method for controlling volume, system and mobile terminal
CN108040176A (en) * 2017-12-08 2018-05-15 维沃移动通信有限公司 A kind of playback method, device and mobile terminal
CN108134875A (en) * 2017-12-20 2018-06-08 腾讯音乐娱乐科技(深圳)有限公司 Control method, device, storage medium and the equipment that audio plays

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021052202A1 (en) * 2019-09-18 2021-03-25 华为技术有限公司 Method and device for selecting audio output apparatus
CN111338221A (en) * 2020-02-21 2020-06-26 珠海荣邦电子科技有限公司 Multi-equipment self-adaptive control method, device and system
CN111312250A (en) * 2020-02-21 2020-06-19 珠海荣邦电子科技有限公司 Voice-based multi-device adaptation control method, device and system
CN111338221B (en) * 2020-02-21 2023-07-25 珠海荣邦电子科技有限公司 Multi-device self-adaptive control method, device and system
CN112118472A (en) * 2020-09-04 2020-12-22 三星电子(中国)研发中心 Method and apparatus for playing multimedia
WO2022068476A1 (en) * 2020-09-29 2022-04-07 中兴通讯股份有限公司 Method for activating audio device, and terminal and computer-readable storage medium
CN112764710A (en) * 2021-01-22 2021-05-07 维沃移动通信有限公司 Audio playing mode switching method and device, electronic equipment and storage medium
WO2022156662A1 (en) * 2021-01-22 2022-07-28 维沃移动通信有限公司 Method and apparatus for switching audio playing mode, and electronic device and storage medium
CN113190207A (en) * 2021-04-26 2021-07-30 北京小米移动软件有限公司 Information processing method, information processing device, electronic equipment and storage medium
CN114302247A (en) * 2021-04-30 2022-04-08 海信视像科技股份有限公司 Display device and multi-window audio parameter adjusting method
WO2022228573A1 (en) * 2021-04-30 2022-11-03 海信视像科技股份有限公司 Display device and method for outputting audio
CN113423007B (en) * 2021-06-17 2023-03-14 元心信息科技集团有限公司 Control method and device for multi-audio playing, electronic equipment and storage medium
CN113423007A (en) * 2021-06-17 2021-09-21 元心信息科技集团有限公司 Control method and device for multi-audio playing, electronic equipment and storage medium
CN113784001A (en) * 2021-09-16 2021-12-10 Oppo广东移动通信有限公司 Audio data playing method and device, electronic equipment and storage medium
WO2023040517A1 (en) * 2021-09-16 2023-03-23 Oppo广东移动通信有限公司 Audio data playback method, device, electronic equipment, and storage medium
CN113784001B (en) * 2021-09-16 2023-11-24 Oppo广东移动通信有限公司 Audio data playing method and device, electronic equipment and storage medium
CN113791887A (en) * 2021-09-28 2021-12-14 杭州中河电子器材有限公司 Audio task priority management method, device and system
CN114063968A (en) * 2021-11-11 2022-02-18 北京字节跳动网络技术有限公司 Audio device selection method and device and electronic device
CN115086473A (en) * 2022-08-19 2022-09-20 荣耀终端有限公司 Sound channel selection system, method and related device
CN115086473B (en) * 2022-08-19 2023-02-28 荣耀终端有限公司 Sound channel selection system, method and related device

Also Published As

Publication number Publication date
CN110764730B (en) 2023-11-14

Similar Documents

Publication Publication Date Title
CN110764730B (en) Method and device for playing audio data
CN111050250B (en) Noise reduction method, device, equipment and storage medium
CN110166890B (en) Audio playing and collecting method and device and storage medium
CN111402913B (en) Noise reduction method, device, equipment and storage medium
CN110740340B (en) Video live broadcast method and device and storage medium
CN110618805B (en) Method and device for adjusting electric quantity of equipment, electronic equipment and medium
CN109068008B (en) Ringtone setting method, device, terminal and storage medium
US20220164159A1 (en) Method for playing audio, terminal and computer-readable storage medium
CN112965683A (en) Volume adjusting method and device, electronic equipment and medium
CN110996305B (en) Method and device for connecting Bluetooth equipment, electronic equipment and medium
CN110708630B (en) Method, device and equipment for controlling earphone and storage medium
CN110401898B (en) Method, apparatus, device and storage medium for outputting audio data
CN110797042B (en) Audio processing method, device and storage medium
CN111142838A (en) Audio playing method and device, computer equipment and storage medium
CN110856152A (en) Method, device, electronic equipment and medium for playing audio data
CN111092991B (en) Lyric display method and device and computer storage medium
CN110234036B (en) Method, device and system for playing multimedia file
CN111818358A (en) Audio file playing method and device, terminal and storage medium
CN109089137B (en) Stuck detection method and device
CN110933454B (en) Method, device, equipment and storage medium for processing live broadcast budding gift
CN111984222A (en) Method and device for adjusting volume, electronic equipment and readable storage medium
CN108196813B (en) Method and device for adding sound effect
CN108966026B (en) Method and device for making video file
CN110473562B (en) Audio data processing method, device and system
CN110808021A (en) Audio playing method, device, terminal and storage medium

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