WO2024109209A1 - 音频播放方法和系统、电子设备、计算机可读介质 - Google Patents

音频播放方法和系统、电子设备、计算机可读介质 Download PDF

Info

Publication number
WO2024109209A1
WO2024109209A1 PCT/CN2023/114297 CN2023114297W WO2024109209A1 WO 2024109209 A1 WO2024109209 A1 WO 2024109209A1 CN 2023114297 W CN2023114297 W CN 2023114297W WO 2024109209 A1 WO2024109209 A1 WO 2024109209A1
Authority
WO
WIPO (PCT)
Prior art keywords
audio
output device
played
playback output
target
Prior art date
Application number
PCT/CN2023/114297
Other languages
English (en)
French (fr)
Inventor
许梅
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2024109209A1 publication Critical patent/WO2024109209A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups

Definitions

  • the embodiments of the present disclosure relate to the field of communication technology, and in particular, to an audio playback method and system, an electronic device, and a computer-readable medium.
  • Embodiments of the present disclosure provide an audio playback method and system, an electronic device, and a computer-readable medium.
  • an embodiment of the present disclosure provides an audio playback method, the method comprising: determining the type of audio to be played; and determining a target playback output device or a combination of target playback output devices in a multi-play output system for playing the audio to be played according to the type of audio to be played.
  • an embodiment of the present disclosure provides an electronic device, comprising: at least one processor; a memory, wherein at least one program is stored in the memory, and when the at least one program is executed by the at least one processor, any one of the above-mentioned audio playback methods is implemented.
  • an embodiment of the present disclosure provides a computer-readable medium, on which a computer program is stored, and when the computer program is executed by a processor, any one of the above-mentioned audio playback methods is implemented.
  • an embodiment of the present disclosure provides an audio playback system, including: a terminal, used to determine the type of audio to be played; determining a target playback output device or a target playback output device combination in a multi-play output system for playing the audio to be played according to the type of the audio to be played; sending the audio to be played to the target playback output device or the target playback output device combination through a communication channel between the target playback output device or the target playback output device combination, so as to play the audio to be played through the target playback output device or the target playback output device combination; the playback output device in the multi-play output system is used to receive the audio to be played sent by the terminal through the communication channel between the terminal and the target playback output device, and play the audio to be played.
  • FIG1 is a flow chart of an audio playback method provided by an embodiment of the present disclosure.
  • FIG2 is a flowchart of an audio playback method provided in Example 1 of an embodiment of the present disclosure
  • FIG3 is a flow chart of an audio playback method provided in Example 2 of an embodiment of the present disclosure.
  • FIG4 is a block diagram of an electronic device according to another embodiment of the present disclosure.
  • FIG5 is a block diagram of a composition of an audio playback system provided by another embodiment of the present disclosure.
  • the cockpit environment can be regarded as a multi-play output.
  • the speaker system in the smart cockpit there is no solution for the speaker system in the smart cockpit.
  • FIG1 is a flow chart of an audio playback method provided by an embodiment of the present disclosure.
  • an embodiment of the present disclosure provides an audio playback method, which is applied to a mobile terminal.
  • the method includes:
  • Step 100 determine the type of audio to be played.
  • the types of audio to be played are divided into call audio type and other audio types.
  • the type of audio to be played includes at least one of the following: a normal call audio type, a non-call audio type, a conference audio type, a network call audio type, an entertainment application audio type, and an educational application audio type.
  • the non-call audio type refers to other audio types except the normal call audio type and the network call audio type.
  • the type of the audio to be played can be determined according to the application that plays the audio to be played. For example, when the application that plays the audio to be played is a call application, the type of the audio to be played is determined to be a common call audio type; when the application that plays the audio to be played is not a call application, the type of the audio to be played is determined to be a non-common call audio type; when the application that plays the audio to be played is an entertainment application, the type of the audio to be played is determined to be an entertainment application audio type; when the application that plays the audio to be played is an education application, the type of the audio to be played is determined to be an education application audio type; when the application that plays the audio to be played is a conference application, the type of the audio to be played is determined to be a conference audio type; when the application that plays the audio to be played is determined to be an instant messaging application, the type of the audio to be played is determined to be a network call audio type.
  • Step 101 determining a target playback output device or a combination of target playback output devices in a multi-play output system for playing the audio to be played according to the type of the audio to be played.
  • the playback output device includes at least one of the following: a speaker device, headphones, an augmented reality (AR) device, etc.
  • the target playback output device or target playback output device combination can be determined directly according to the type of the audio to be played. For example, when the type of the audio to be played is a non-call audio type, the target playback output device or target playback output device combination is determined to be all playback output devices in the multi-play output system.
  • determining a target playback output device or a target playback output device combination for playing audio to be played in a multi-play output system according to the type of audio to be played includes: determining the target playback output device or the target playback output device combination according to the type of audio to be played and at least one of the following: a correspondence between pre-stored application information and regional information; a current state of the mobile terminal; and a region where the mobile terminal is located.
  • determining the target playback output device or target playback output device combination for playing the audio to be played in the multi-play output system according to the type of the audio to be played includes: determining the target playback output device or target playback output device combination according to the type of the audio to be played and the correspondence between the pre-stored application information and the area information where the playback output device or the playback output device combination is located. For example, when the type of the audio to be played is a non-call audio type, the target playback output device or the target playback output device combination is determined according to the pre-stored correspondence.
  • determining the target playback output device or target playback output device combination according to the pre-stored correspondence relationship includes at least one of the following:
  • the target playback output device or the target playback output device combination is determined to be a playback output device in the region corresponding to the found region information
  • the target playback output device or the target playback output device combination is determined to be all playback output devices in the multi-play output system.
  • determining the target playback output device or target playback output device combination for playing the audio to be played in the multi-play output system according to the type of the audio to be played includes: determining the target playback output device or target playback output device combination according to the type of the audio to be played, and the correspondence between the pre-stored application information and the area information where the playback output device or the playback output device combination is located, and the current state of the terminal playing the audio to be played and the area where the terminal is located.
  • the target playback output device or the target playback output device combination is determined to be a playback output device in other areas of the multi-play output system except the area where the mobile terminal is located.
  • determining a target playback output device or a target playback output device combination for playing audio to be played in a multi-play output system according to the type of audio to be played includes: determining the target playback output device or the target playback output device combination according to the type of audio to be played and the current state of a terminal that plays the audio to be played.
  • determining a target playback output device or a target playback output device combination for playing the audio to be played in a multi-play output system according to the type of the audio to be played includes: determining the target playback output device or the target playback output device combination according to the audio type of the audio to be played and the area where the terminal playing the audio to be played is located. For example, when the type of the audio to be played is a common call audio type or an Internet call audio type, the target playback output device or the target playback output device combination is determined to be a playback output device in the area where the mobile terminal is located.
  • determining a target playback output device or a target playback output device combination for playing the audio to be played in a multi-play output system according to the type of the audio to be played includes: determining a target playback output device or a target playback output device combination for playing the audio to be played according to the type of the audio to be played, The current state of the terminal where the audio is to be played and the area where the terminal is located determine the target playback output device or target playback output device combination.
  • the target playback output device or target playback output device combination is determined to be a playback output device in other areas of the multi-play output system except the area where the mobile terminal is located.
  • the corresponding relationship is preset by the user, or obtained according to the user's playing habits.
  • the current state of the terminal includes at least one of the following: a call state and a non-call state.
  • the call status may be a normal call status or a network call status.
  • the multi-play output system includes a smart cockpit, and the area where the mobile terminal is located includes any one of the following: a front left cabin, a front right cabin, a rear left cabin, a rear middle cabin, and a rear right cabin.
  • the front left cabin may also be referred to as a cockpit.
  • the front right cabin may also be referred to as the co-cockpit.
  • the rear cabin may also be referred to as a children's cabin.
  • the area where the mobile terminal is located may be set to the front left compartment by default.
  • the area where the mobile terminal is located can also be manually set by the user to any one of the front right compartment, the rear left compartment, the rear middle compartment, and the rear right compartment.
  • the area where the mobile terminal is located includes any one of the following: a bedroom area, a kitchen area, a bathroom area, a guest area, and a dining room area.
  • the method further includes:
  • Step 102 Send the audio to be played to the target playback output device or the target playback output device combination through the communication channel between the target playback output device or the target playback output device combination, so that the audio to be played is played through the target playback output device or the target playback output device combination.
  • the method further includes: displaying a playback output device distribution map interface to provide an option to select a playback output device or a combination of playback output devices; and performing audio playback according to the playback output device or the combination of playback output devices selected by the user.
  • the playback output device distribution map interface may be displayed before the type of audio to be played is determined, or after the type of audio to be played is determined and before the target playback output device or target playback output device combination is determined, or after the target playback output device or target playback output device combination is determined.
  • the target playback output device or the target playback output device combination After determining the target playback output device or the target playback output device combination, jump to the display interface of the pre-generated playback output device distribution map, and display prompt information whether to manually select the playback output device or the playback output device combination; when receiving the user's instruction to confirm the manual selection of the playback output device or the playback output device combination, receive the playback output device or the playback output device combination selected by the user; and update the target playback output device or the target playback output device combination to the playback output device or the playback output device combination selected by the user.
  • the step of sending the audio to be played to the target playback output device or the target playback output device combination through the communication channel between the target playback output device or the target playback output device combination is continued, so as to play the audio to be played through the target playback output device or the target playback output device combination.
  • This embodiment allows the user to manually change the target playback output device or the target playback output device combination, which provides greater convenience to the user and improves the user experience.
  • the method before displaying the playback output device distribution map interface, the method further includes: acquiring area information of two or more playback output devices in the multi-play output system in the multi-play output environment; and generating a playback output device distribution map according to the area information.
  • the area information may be the name of the area, such as the front left cabin, front right cabin, rear left cabin, rear middle cabin, rear right cabin, etc. in the above-mentioned smart cockpit.
  • the area in the multi-play output environment includes at least one of the following: front left cabin, front right cabin, rear left cabin, rear middle cabin, and rear right cabin.
  • the area in the multi-play output environment includes at least one of the following: a bedroom area, a kitchen area, a bathroom area, a living room area, and a dining room area.
  • obtaining the region information of two or more playback output devices in the multi-play output system in the multi-play output environment includes: receiving the region information of the region reported by the playback output device.
  • the playback output device may report the area information of the area in which it is located in an active manner or a passive manner.
  • the active mode means that after the playback output device establishes a communication channel with the mobile terminal, it actively reports the area information of the area where it is located to the mobile terminal.
  • the passive mode means that after the playback output device establishes a communication channel with the mobile terminal, the mobile terminal sends a region information acquisition request to the playback output device, and after receiving the region information acquisition request, the playback output device reports the region information of the region where it is located.
  • the playback output device may be a Bluetooth low energy audio (LE audio) speaker, then the communication channel between the mobile terminal and the playback output device is a Generic Attribute Profile (GATT) channel, and the mobile terminal and the playback output device communicate based on the LE audio protocol.
  • LE audio Bluetooth low energy audio
  • GATT Generic Attribute Profile
  • the communication channel between the playback output device and the mobile terminal may be a communication channel based on a connection state, or may be a broadcast communication channel based on a non-connection state.
  • the communication channel between the playback output device and the mobile terminal may be established via near field communication, such as Bluetooth.
  • generating a distribution map of playback output devices based on regional information includes: generating a map of multiple playback output environments based on regional shape features and positional relationships between regions in multiple playback output environments; determining position information of playback output devices in the map of multiple playback output environments based on the regional information; and adding playback output devices to the map of multiple playback output environments based on the position information to obtain a distribution map of playback output devices.
  • the method further includes: storing a correspondence between application information corresponding to the audio to be played and area information of the area where the target playback output device or the target playback output device combination is located.
  • the area where the target playback output device or the target playback output device combination is located includes at least one pre-set target area, and the area where the target playback output device or the target playback output device combination is located does not include other areas outside the pre-set target area, the corresponding relationship between the application information corresponding to the audio to be played and the area information of the area where the target playback output device or the target playback output device combination is located can be stored. In any case, the correspondence between the application information corresponding to the audio to be played and the area information of the area where the target playback output device or the target playback output device combination is located can be stored.
  • This embodiment stores the corresponding relationship, that is, records the user's playing habits, and plays again based on the user's playing habits. It plays audio based on user needs, that is, based on humanized settings, thereby improving the user experience.
  • the audio playback method provided by the embodiment of the present disclosure determines a target playback output device or a target playback output device combination for playing the audio to be played based on the type of the audio to be played, plays the audio to be played through the target playback output device or the target playback output device combination, and realizes detailed control of the playback output devices in the multi-play output system through a mobile terminal, thereby improving the user experience.
  • This example describes a method for a mobile terminal to control a speaker device in a smart cockpit to play audio.
  • the area where the mobile terminal is located is taken as an example of a cockpit.
  • the method includes:
  • Step 200 The mobile terminal and the speaker device in the smart cockpit establish a GATT channel.
  • Step 201 The speaker device reports the area information of the area where it is located to the mobile terminal through the GATT channel.
  • Step 202 The mobile terminal generates a speaker device distribution map according to the area information of the area where the speaker device is located.
  • Step 203 The mobile terminal determines the type of audio to be played.
  • step 204 the mobile terminal determines whether the type of the audio to be played is a common call audio type or an Internet call type. If yes, step 205 is executed; if not, step 206 is executed.
  • step 205 the mobile terminal determines that the target speaker device for playing the audio to be played is the speaker device in the cockpit, and executes step 207 .
  • Step 206 the mobile terminal determines that the target speaker devices for playing the audio to be played are the speaker devices in the cockpit, the co-pilot cabin, the children's cabin, the rear middle cabin, and the rear right cabin, and executes step 207 .
  • Step 207 the mobile terminal jumps to the display interface of the speaker device distribution map and displays a prompt message indicating whether to manually select a speaker device.
  • step 208 the mobile terminal determines whether it has received an instruction from the user to confirm manual selection of the speaker device or an instruction to cancel manual selection of the speaker device. If it is an instruction to confirm manual selection of the speaker device, execute steps 209 and 210; if it is an instruction to cancel manual selection of the speaker device, execute step 210.
  • Step 209 the mobile terminal receives the speaker device selected by the user, and updates the target speaker device to the speaker device selected by the user.
  • Step 210 The mobile terminal sends the audio to be played to the target speaker device through the GATT channel between the mobile terminal and the target speaker device, so that the audio to be played is played through the target speaker device.
  • This example describes a method for playing audio based on the user's playing habits.
  • the area where the mobile terminal is located is taken as a cockpit as an example.
  • the method includes:
  • Step 300 The mobile terminal and the speaker device in the smart cockpit establish a GATT channel.
  • Step 301 The speaker device reports the area information of the area where it is located to the mobile terminal through the GATT channel.
  • Step 302 The mobile terminal generates a speaker device distribution map according to the area information of the area where the speaker device is located.
  • Step 303 The mobile terminal determines the type of audio to be played.
  • step 304 the mobile terminal determines whether the type of the audio to be played is a normal call type or an Internet call audio type. If yes, step 305 is executed; if not, step 306 is executed.
  • step 305 the mobile terminal determines that the target speaker device for playing the audio to be played is the speaker device in the cockpit, and executes step 309 .
  • Step 306 the mobile terminal searches for the target area corresponding to the audio source application corresponding to the audio to be played in the pre-set correspondence between the audio source application and the target area. If the target area corresponding to the audio source application corresponding to the audio to be played is found, step 307 is executed; if the target area corresponding to the audio source application corresponding to the audio to be played is not found, step 308 is executed.
  • step 307 the mobile terminal determines that the target speaker device for playing the audio to be played is the speaker device in the found target area, and executes step 309 .
  • step 308 the mobile terminal determines that the target speaker devices for playing the audio to be played are the speaker devices in the cockpit, the co-pilot cabin, the children's cabin, the rear middle cabin, and the rear right cabin, and executes step 309 .
  • Step 309 the mobile terminal jumps to the display interface of the speaker device distribution map and displays a prompt message indicating whether to manually select a speaker device.
  • step 310 the mobile terminal determines whether it has received an instruction from the user to confirm manual selection of a speaker device or an instruction to cancel manual selection of a speaker device. If it is an instruction to confirm manual selection of a speaker device, execute steps 311 and 312; if it is an instruction to cancel manual selection of a speaker device, execute step 312.
  • Step 311 The mobile terminal receives the speaker device selected by the user and updates the target speaker device to the speaker device selected by the user.
  • Step 312 The mobile terminal sends the audio to be played to the target speaker device through the GATT channel between the mobile terminal and the target speaker device, so that the audio to be played is played through the target speaker device.
  • FIG. 4 another embodiment of the present disclosure provides an electronic device, including: at least one processor 401 ; a memory 402 , wherein at least one program is stored in the memory 402 , and when the at least one program is executed by the at least one processor 401 , any one of the above-mentioned audio playback methods is implemented.
  • the electronic device further includes: one or more I/O interfaces 403 connected between the processor 401 and the memory 402 , and configured to implement information interaction between the processor 401 and the memory 402 .
  • the processor 401 is a device with data processing capabilities, including but not limited to a central processing unit (CPU);
  • the memory 402 is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory (FLASH);
  • the I/O interface (read-write interface) 403 is connected between the processor 401 and the memory 402, and can realize information interaction between the processor 401 and the memory 402, including but not limited to a data bus (Bus), etc.
  • the processor 401 , the memory 402 , and the I/O interface 403 are connected to each other via a bus 404 , and further connected to other components of the computing device.
  • another embodiment of the present disclosure provides a computer-readable medium, on which a computer program is stored, and when the computer program is executed by a processor, any one of the above-mentioned audio playback methods is implemented.
  • FIG5 is a block diagram of a composition of an audio playback system provided by another embodiment of the present disclosure.
  • an audio playback system comprising: a terminal 501, configured to determine the type of audio to be played; determining a target playback output device or a target playback output device combination in a multi-play output system for playing the audio to be played according to the type of the audio to be played; and transmitting the audio to be played to the target playback output device or the target playback output device combination.
  • the communication channel between the target playback output device combination is sent to the target playback output device or the target playback output device combination, so as to play the audio to be played through the target playback output device or the target playback output device combination;
  • the playback output device 502 in the multi-play output system is used to receive the audio to be played sent by the terminal through the communication channel between the terminal and play the audio to be played.
  • terminal 501 is specifically used to determine the target playback output device or target playback output device combination for playing the audio to be played in the multi-play output system according to the type of the audio to be played by adopting the following implementation: determining the target playback output device or target playback output device combination according to the type of the audio to be played and at least one of the following: the correspondence between pre-stored application information and regional information; the current state of the mobile terminal; the region where the mobile terminal is located.
  • terminal 501 is specifically used to determine a target playback output device or a target playback output device combination for playing audio to be played in a multi-play output system according to the type of audio to be played by adopting the following implementation: determining the target playback output device or the target playback output device combination according to the type of audio to be played, and the correspondence between pre-stored application information and area information where the playback output device or the playback output device combination is located.
  • terminal 501 is specifically used to determine a target playback output device or a target playback output device combination for playing audio to be played in a multi-play output system according to the type of audio to be played by adopting the following implementation: determining the target playback output device or the target playback output device combination according to the type of the audio to be played and the current state of the terminal that plays the audio to be played.
  • terminal 501 is specifically used to determine a target playback output device or a target playback output device combination for playing audio to be played in a multi-play output system according to the type of audio to be played by adopting the following implementation: determining the target playback output device or the target playback output device combination according to the type of the audio to be played, and the correspondence between pre-stored application information and the area information where the playback output device or the playback output device combination is located, as well as the current state of the terminal playing the audio to be played and the area where the terminal is located.
  • terminal 501 is specifically used to determine a target playback output device or a target playback output device combination for playing audio to be played in a multi-play output system according to the type of audio to be played by adopting the following implementation: determining the target playback output device or the target playback output device combination according to the audio type of the audio to be played and the area where the terminal playing the audio to be played is located.
  • terminal 501 is specifically used to determine a target playback output device or a target playback output device combination for playing audio to be played in a multi-play output system according to the type of audio to be played by adopting the following implementation: determining the target playback output device or the target playback output device combination according to the audio type of the audio to be played, the current state of the terminal playing the audio to be played, and the area where the terminal is located.
  • the terminal 501 is further used to: display a playback output device distribution map interface, provide an option to select a playback output device or a playback output device combination; and perform audio playback according to the playback output device or playback output device combination selected by the user.
  • the terminal 501 is further used to: obtain area information of two or more playback output devices in the multi-play output system in the multi-play output environment; and generate a playback output device distribution map according to the area information.
  • the terminal 501 is further used to: store the correspondence between the application information corresponding to the audio to be played and the area information of the area where the target playback output device or the target playback output device combination is located.
  • control device 503 in the multi-play output system which is used to display a distribution map of the play output devices; and display the status of the speaker device in the play output device distribution map.
  • control device 503 in a multi-play output system which is used to determine a play output device in an idle state, and play audio or network music in a built-in player or a play application through the play output device in an idle state; or receive voice information, and perform voice recognition based on the voice information to obtain corresponding control instructions.
  • the playback output device in an idle state refers to a playback output device that is not occupied by an audio stream.
  • Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium).
  • a computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data).
  • Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage, or any other medium that can be used to store the desired information and can be accessed by a computer.
  • communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Telephone Function (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

一种音频播放方法和系统、电子设备、计算机可读介质,音频播放方法包括:确定待播放音频的类型(100);根据待播放音频的类型确定多播放输出系统中用于播放待播放音频的目标播放输出设备或目标播放输出设备组合(101)。

Description

音频播放方法和系统、电子设备、计算机可读介质
相关申请的交叉引用
本公开基于2022年11月21日提交的发明名称为“音频播放方法和系统、电子设备、计算机可读介质”的中国专利申请202211463750.3,并且要求该专利申请的优先权,通过引用将其所公开的内容全部并入本公开。
技术领域
本公开实施例涉及通信技术领域,特别涉及音频播放方法和系统、电子设备、计算机可读介质。
背景技术
智能家居越来越普遍,对智能家居内的设备的控制目前还不够人性化和细致,用户体验较低。
发明内容
本公开实施例提供一种音频播放方法和系统、电子设备、计算机可读介质。
第一方面,本公开实施例提供一种音频播放方法,方法包括:确定待播放音频的类型;根据待播放音频的类型确定多播放输出系统中用于播放待播放音频的目标播放输出设备或目标播放输出设备组合。
第二方面,本公开实施例提供一种电子设备,包括:至少一个处理器;存储器,存储器上存储有至少一个程序,当至少一个程序被至少一个处理器执行时,实现上述任意一种音频播放方法。
第三方面,本公开实施例提供一种计算机可读介质,计算机可读介质上存储有计算机程序,计算机程序被处理器执行时实现上述任意一种音频播放方法。
第四方面,本公开实施例提供一种音频播放系统,包括:终端,用于确定待播放音频的类型;根据待播放音频的类型确定多播放输出系统中用于播放待播放音频的目标播放输出设备或目标播放输出设备组合;将待播放音频通过与目标播放输出设备或目标播放输出设备组合之间的通信通道发送给目标播放输出设备或目标播放输出设备组合,以通过目标播放输出设备或目标播放输出设备组合播放待播放音频;多播放输出系统中的播放输出设备,用于通过与终端之间的通信通道接收终端发送的待播放音频,播放待播放音频。
附图说明
图1为本公开一个实施例提供的音频播放方法的流程图;
图2为本公开实施例的示例1提供的音频播放方法的流程图;
图3为本公开实施例的示例2提供的音频播放方法的流程图;
图4为本公开另一个实施例提供的电子设备的组成框图;
图5为本公开另一个实施例提供的音频播放系统的组成框图。
具体实施方式
为使本领域的技术人员更好地理解本公开的技术方案,下面结合附图对本公开提供的音频播放方法和系统、电子设备、计算机可读介质进行详细描述。
在下文中将参考附图更充分地描述示例实施例,但是所述示例实施例可以以不同形式来体现且不应当被解释为限于本文阐述的实施例。反之,提供这些实施例的目的在于使本公开透彻和完整,并将使本领域技术人员充分理解本公开的范围。
在不冲突的情况下,本公开各实施例及实施例中的各特征可相互组合。
如本文所使用的,术语“和/或”包括至少一个相关列举条目的任何和所有组合。
本文所使用的术语仅用于描述特定实施例,且不意欲限制本公开。如本文所使用的,单数形式“一个”和“该”也意欲包括复数形式,除非上下文另外清楚指出。还将理解的是,当本说明书中使用术语“包括”和/或“由……制成”时,指定存在所述特征、整体、步骤、操作、元件和/或组件,但不排除存在或添加至少一个其它特征、整体、步骤、操作、元件、组件和/或其群组。
除非另外限定,否则本文所用的所有术语(包括技术和科学术语)的含义与本领域普通技术人员通常理解的含义相同。还将理解,诸如那些在常用字典中限定的那些术语应当被解释为具有与其在相关技术以及本公开的背景下的含义一致的含义,且将不解释为具有理想化或过度形式上的含义,除非本文明确如此限定。
以智能座舱为例,如果智能座舱配置包括两个或两个以上音箱设备的音箱系统,那么座舱环境可以视为一个多播放输出。目前智能座舱中尚未有音箱系统的解决方案。
图1为本公开一个实施例提供的音频播放方法的流程图。
第一方面,参照图1,本公开一个实施例提供一种音频播放方法,应用于移动终端,所述方法包括:
步骤100,确定待播放音频的类型。
在一些示例性实施例中,由于通话音频的优先级最高,因此将待播放音频的类型分为通话音频类型和其他音频类型。
在一些示例性实施例中,待播放音频的类型包括以下至少之一:普通通话音频类型、非通话音频类型、会议音频类型、网络通话音频类型、娱乐应用音频类型、教育应用音频类型。
在一些示例性实施例中,非通话音频类型是指除了普通通话音频类型和网络通话音频类型之外的其他音频类型。
在一些示例性实施例中,可以根据播放待播放音频的应用程序确定待播放音频的类型。例如,在播放待播放音频的应用程序是通话应用程序的情况下,确定待播放音频的类型为普通通话音频类型;在播放待播放音频的应用程序不是通话应用程序的情况下,确定待播放音频的类型为非普通通话音频类型;在播放待播放音频的应用程序为娱乐应用程序的情况下,确定待播放音频的类型为娱乐应用音频类型;在播放待播放音频的应用程序为教育应用程序的情况下,确定待播放音频的类型为教育应用音频类型;在播放待播放音频的应用程序为会议应用程序的情况下,确定待播放音频的类型为会议音频类型;在确定播放待播放音频的应用程序为即时聊天应用程序的情况下,确定待播放音频的类型为网络通话音频类型。
步骤101,根据待播放音频的类型确定多播放输出系统中用于播放待播放音频的目标播放输出设备或目标播放输出设备组合。
在一些示例性实施例中,播放输出设备包括以下至少之一:音箱设备、耳机、增强现实(AR,Augmented Reality)设备等。
在一些示例性实施例中,直接根据待播放音频的类型即可确定目标播放输出设备或目标播放输出设备组合。例如,在待播放音频的类型为非通话音频类型的情况下,确定目标播放输出设备或目标播放输出设备组合为多播放输出系统中的所有播放输出设备。
在一些示例性实施例中,根据待播放音频的类型确定多播放输出系统中用于播放待播放音频的目标播放输出设备或目标播放输出设备组合包括:根据待播放音频的类型和以下至少之一确定目标播放输出设备或目标播放输出设备组合:预先存储的应用程序信息和区域信息之间的对应关系;移动终端当前所处的状态;移动终端所在的区域。
在一些示例性实施例中,根据待播放音频的类型确定多播放输出系统中用于播放待播放音频的目标播放输出设备或目标播放输出设备组合包括:根据待播放音频的类型,以及预先存储的应用程序信息和播放输出设备或播放输出设备组合所在的区域信息之间的对应关系确定目标播放输出设备或目标播放输出设备组合。例如,在待播放音频的类型为非通话音频类型的情况下,根据预先存储的对应关系确定目标播放输出设备或目标播放输出设备组合。
在一些示例性实施例中,根据预先存储的对应关系确定目标播放输出设备或目标播放输出设备组合包括以下至少之一:
在对应关系中查找到待播放音频对应的应用程序信息对应的区域信息的情况下,确定目标播放输出设备或目标播放输出设备组合为查找到的区域信息对应的区域中的播放输出设备;
在对应关系中查找不到待播放音频对应的应用程序信息对应的区域信息的情况下,确定目标播放输出设备或目标播放输出设备组合为多播放输出系统中的所有播放输出设备。
在一些示例性实施例中,根据待播放音频的类型确定多播放输出系统中用于播放待播放音频的目标播放输出设备或目标播放输出设备组合包括:根据待播放音频的类型,以及预先存储的应用程序信息和播放输出设备或播放输出设备组合所在的区域信息之间的对应关系,以及播放待播放音频的终端当前所处的状态和终端所在的区域确定目标播放输出设备或目标播放输出设备组合。例如,在对应关系中查找不到待播放音频对应的应用程序信息对应的区域信息,且移动终端当前处于通话状态的情况下,确定目标播放输出设备或目标播放输出设备组合为多播放输出系统中除移动终端所在的区域之外的其他区域中的播放输出设备。
在一些示例性实施例中,根据待播放音频的类型确定多播放输出系统中用于播放待播放音频的目标播放输出设备或目标播放输出设备组合包括:根据待播放音频的类型和播放待播放音频的终端当前所处的状态确定目标播放输出设备或目标播放输出设备组合。
在一些示例性实施例中,根据待播放音频的类型确定多播放输出系统中用于播放待播放音频的目标播放输出设备或目标播放输出设备组合包括:根据待播放音频的音频类型和播放待播放音频的终端所在的区域确定目标播放输出设备或目标播放输出设备组合。例如,在待播放音频的类型为普通通话音频类型或网络通话音频类型的情况下,确定目标播放输出设备或目标播放输出设备组合为移动终端所在的区域中的播放输出设备。
在一些示例性实施例中,根据待播放音频的类型确定多播放输出系统中用于播放待播放音频的目标播放输出设备或目标播放输出设备组合包括:根据待播放音频的音频类型、播放 待播放音频的终端当前所处的状态和终端所在的区域确定目标播放输出设备或目标播放输出设备组合。例如,在待播放音频的类型为非通话音频类型,且移动终端当前处于通话状态的情况下,确定目标播放输出设备或目标播放输出设备组合为多播放输出系统中除移动终端所在的区域之外的其他区域中的播放输出设备。
在一些示例性实施例中,对应关系由用户预先设置,或者根据用户的播放习惯得到。
在一些示例性实施例中,终端当前所处的状态包括以下至少之一:通话状态、非通话状态。
在一些示例性实施例中,通话状态可以是普通通话状态,也可以是网络通话状态。
在一些示例性实施例中,多播放输出系统包括智能座舱,移动终端所在的区域包括以下任意一个:前左舱、前右舱、后左舱、后中舱、后右舱。
在一些示例性实施例中,前左舱也可以称为驾驶舱。
在一些示例性实施例中,前右舱也可以称为副驾驶舱。
在一些示例性实施例中,后座舱也可以称为儿童舱。
在一些示例性实施例中,移动终端所在的区域可以默认设置为前左舱。
在一些示例性实施例中,移动终端所在的区域也可以由用户手动设置为前右舱、后左舱、后中舱、后右舱中的任意一个。
在一些示例性实施例中,移动终端所在的区域包括以下任意一个:卧室区域、厨房区域、卫生间区域、客体区域、餐厅区域。
在一些示例性实施例中,根据待播放音频的类型确定多播放输出系统中用于播放待播放音频的目标播放输出设备或目标播放输出设备组合后,该方法还包括:
步骤102,将待播放音频通过与目标播放输出设备或目标播放输出设备组合之间的通信通道发送给目标播放输出设备或目标播放输出设备组合,以通过目标播放输出设备或目标播放输出设备组合播放待播放音频。
在一些示例性实施例中,该方法还包括:显示播放输出设备分布图界面,提供选择播放输出设备或播放输出设备组合的选项;依用户选择的播放输出设备或播放输出设备组合执行音频播放。
在一些示例性实施例中,可以在确定待播放音频的类型之前显示播放输出设备分布图界面,也可以在确定待播放音频的类型后,确定目标播放输出设备或目标播放输出设备组合之前显示播放输出设备分布图界面,也可以在确定目标播放输出设备或目标播放输出设备组合后显示播放输出设备分布图界面。
例如,在确定目标播放输出设备或目标播放输出设备组合后,跳转到预先生成的播放输出设备分布图的显示界面,并显示是否手动选择播放输出设备或播放输出设备组合的提示信息;在接收到用户的确认手动选择播放输出设备或播放输出设备组合的指令的情况下,接收用户选择的播放输出设备或播放输出设备组合;将目标播放输出设备或目标播放输出设备组合更新为用户选择的播放输出设备或播放输出设备组合。
在接收到用户的取消手动选择播放输出设备或播放输出设备组合的指令,或在预设时间段内没有接收到用户的任何指令的情况下,继续执行将待播放音频通过与目标播放输出设备或目标播放输出设备组合之间的通信通道发送给目标播放输出设备或目标播放输出设备组合,以通过目标播放输出设备或目标播放输出设备组合播放待播放音频的步骤。
该实施例允许用户手动更改目标播放输出设备或目标播放输出设备组合,给用户提供了更大的便利,提高了用户体验。
在一些示例性实施例中,显示播放输出设备分布图界面之前,该方法还包括:获取多播放输出系统中的两个或两个以上播放输出设备在多播放输出环境中的区域信息;根据区域信息生成播放输出设备分布图。
在一些示例性实施例中,区域信息可以是区域的名称,如上述智能座舱中的前左舱、前右舱、后左舱、后中舱、后右舱等。
在一些示例性实施例中,多播放输出环境中的区域包括以下至少之一:前左舱、前右舱、后左舱、后中舱、后右舱。
在一些示例性实施例中,多播放输出环境中的区域包括以下至少之一:卧室区域、厨房区域、卫生间区域、客厅区域、餐厅区域。
在一些示例性实施例中,获取多播放输出系统中的两个或两个以上播放输出设备在多播放输出环境中的区域信息包括:接收播放输出设备上报的所在区域的区域信息。
在一些示例性实施例中,播放输出设备可以采用主动方式或被动方式上报所在区域的区域信息。
在一些示例性实施例中,主动方式是指播放输出设备与移动终端建立通信通道后,主动向移动终端上报所在区域的区域信息。
在一些示例性实施例中,被动方式是指播放输出设备与移动终端建立通信通道后,移动终端向播放输出设备发送区域信息获取请求,播放输出设备接收区域信息获取请求后,上报所在区域的区域信息。
在一些示例性实施例中,播放输出设备可以是蓝牙低功耗音频(LE audio,Low Energy audio)音箱,那么移动终端和播放输出设备之间的通信通道为通用属性配置(GATT,Generic Attribute Profile)通道,移动终端和播放输出设备基于LE audio协议进行通信。
在一些示例性实施例中,播放输出设备与移动终端之间的通信通道可以是基于连接状态的通信通道,也可以是基于非连接状态的广播通信通道。
在一些示例性实施例中,播放输出设备与移动终端之间的通信通道可以通过近场通信方式建立。近场通信方式例如可以是蓝牙等。
在一些示例性实施例中,根据区域信息生成播放输出设备分布图包括:根据多播放输出环境中的区域形状特征和区域之间的位置关系生成多播放输出环境图;根据区域信息确定播放输出设备在多播放输出环境图中的位置信息;根据位置信息在多播放输出环境图中添加播放输出设备得到播放输出设备分布图。
在一些示例性实施例中,根据待播放音频的类型确定多播放输出系统中用于播放待播放音频的目标播放输出设备或目标播放输出设备组合后,该方法还包括:存储待播放音频对应的应用程序信息和目标播放输出设备或目标播放输出设备组合所在的区域的区域信息之间的对应关系。
在一些示例性实施例中,可以在目标播放输出设备或目标播放输出设备组合所在的区域包括至少一个预先设置的目标区域,且目标播放输出设备或目标播放输出设备组合所在的区域不包括预先设置的目标区域之外的其他区域的情况下,存储待播放音频对应的应用程序信息和目标播放输出设备或目标播放输出设备组合所在的区域的区域信息之间的对应关系。也 可以在任何情况下均存储待播放音频对应的应用程序信息和目标播放输出设备或目标播放输出设备组合所在的区域的区域信息之间的对应关系。
该实施例通过存储对应关系,也就是记录用户的播放习惯,基于用户的播放习惯进行再次播放,是基于用户需求进行音频播放的,也就是基于人性化设置的,提高了用户体验。
本公开实施例提供的音频播放方法,基于待播放音频的类型确定用于播放待播放音频的目标播放输出设备或目标播放输出设备组合,通过目标播放输出设备或目标播放输出设备组合播放待播放音频,通过移动终端实现对多播放输出系统中的播放输出设备的细致化控制,提升了用户体验。
为了更直观呈现本公开实施例的音频播放方法的实现过程,下面列举两个示例进行说明,所列举的示例不用于限定本公开实施例的保护范围。
示例1
本示例描述移动终端控制智能座舱中的音箱设备进行音频播放的方法,本示例中以移动终端所在的区域为驾驶舱为例进行说明,如图2所示,该方法包括:
步骤200,移动终端和智能座舱中的音箱设备建立GATT通道。
步骤201,音箱设备通过GATT通道向移动终端上报所在区域的区域信息。
步骤202,移动终端根据音箱设备所在区域的区域信息生成音箱设备分布图。
步骤203,移动终端确定待播放音频的类型。
步骤204,移动终端判断待播放音频的类型是否是普通通话音频类型或网络通话类型,如果是,则执行步骤205;如果不是,则执行步骤206。
步骤205,移动终端确定用于播放待播放音频的目标音箱设备为驾驶舱中的音箱设备,并执行步骤207。
步骤206,移动终端确定用于播放待播放音频的目标音箱设备为驾驶舱、副驾驶舱、儿童舱、后中舱和后右舱中的音箱设备,并执行步骤207。
步骤207,移动终端跳转到音箱设备分布图的显示界面,并显示是否手动选择音箱设备的提示信息。
步骤208,移动终端确定接收到用户的确认手动选择音箱设备的指令还是取消手动选择音箱设备的指令,如果是确认手动选择音箱设备的指令,则执行步骤209和步骤210;如果是取消手动选择音箱设备的指令,则执行步骤210。
步骤209,移动终端接收用户选择的音箱设备,将目标音箱设备更新为用户选择的音箱设备。
步骤210,移动终端将待播放音频通过与目标音箱设备之间的GATT通道发送给目标音箱设备,以通过目标音箱设备播放待播放音频。
示例2
本示例描述基于用户的播放习惯进行音频播放的方法,本示例中以移动终端所在的区域为驾驶舱为例进行说明,如图3所示,该方法包括:
步骤300,移动终端和智能座舱中的音箱设备建立GATT通道。
步骤301,音箱设备通过GATT通道向移动终端上报所在区域的区域信息。
步骤302,移动终端根据音箱设备所在区域的区域信息生成音箱设备分布图。
步骤303,移动终端确定待播放音频的类型。
步骤304,移动终端判断待播放音频的类型是否是普通通话类型或网络通话音频类型,如果是,则执行步骤305;如果不是,则执行步骤306。
步骤305,移动终端确定用于播放待播放音频的目标音箱设备为驾驶舱中的音箱设备,并执行步骤309。
步骤306,移动终端在预先设置的音频源应用和目标区域之间的对应关系中,查找待播放音频对应的音频源应用对应的目标区域,如果查找到待播放音频对应的音频源应用对应的目标区域,则执行步骤307;如果查找不到待播放音频对应的音频源应用对应的目标区域,则执行步骤308。
步骤307,移动终端确定用于播放待播放音频的目标音箱设备为查找到的目标区域中的音箱设备,并执行步骤309。
步骤308,移动终端确定用于播放待播放音频的目标音箱设备为驾驶舱、副驾驶舱、儿童舱、后中舱和后右舱中的音箱设备,并执行步骤309。
步骤309,移动终端跳转到音箱设备分布图的显示界面,并显示是否手动选择音箱设备的提示信息。
步骤310,移动终端确定接收到用户的确认手动选择音箱设备的指令还是取消手动选择音箱设备的指令,如果是确认手动选择音箱设备的指令,则执行步骤311和步骤312;如果是取消手动选择音箱设备的指令,则执行步骤312。
步骤311,移动终端接收用户选择的音箱设备,将目标音箱设备更新为用户选择的音箱设备。
步骤312,移动终端将待播放音频通过与目标音箱设备之间的GATT通道发送给目标音箱设备,以通过目标音箱设备播放待播放音频。
第二方面,参照图4,本公开另一个实施例提供一种电子设备,包括:至少一个处理器401;存储器402,存储器402上存储有至少一个程序,当至少一个程序被至少一个处理器401执行时,实现上述任意一种音频播放方法。
在一些示例性实施例中,电子设备还包括:一个或多个I/O接口403,连接在处理器401与存储器402之间,配置为实现处理器401与存储器402的信息交互。
其中,处理器401为具有数据处理能力的器件,其包括但不限于中央处理器(CPU)等;存储器402为具有数据存储能力的器件,其包括但不限于随机存取存储器(RAM,更具体如SDRAM、DDR等)、只读存储器(ROM)、带电可擦可编程只读存储器(EEPROM)、闪存(FLASH);I/O接口(读写接口)403连接在处理器401与存储器402间,能实现处理器401与存储器402的信息交互,其包括但不限于数据总线(Bus)等。
在一些实施例中,处理器401、存储器402和I/O接口403通过总线404相互连接,进而与计算设备的其它组件连接。
第三方面,本公开另一个实施例提供一种计算机可读介质,计算机可读介质上存储有计算机程序,计算机程序被处理器执行时实现上述任意一种音频播放方法。
图5为本公开另一个实施例提供的音频播放系统的组成框图。
第四方面,参照图5,本公开另一个实施例提供一种音频播放系统,包括:终端501,用于确定待播放音频的类型;根据待播放音频的类型确定多播放输出系统中用于播放待播放音频的目标播放输出设备或目标播放输出设备组合;将待播放音频通过与目标播放输出设备或 目标播放输出设备组合之间的通信通道发送给目标播放输出设备或目标播放输出设备组合,以通过目标播放输出设备或目标播放输出设备组合播放待播放音频;多播放输出系统中的播放输出设备502,用于通过与终端之间的通信通道接收终端发送的待播放音频,播放待播放音频。
在一些示例性实施例中,终端501具体用于采用以下实现根据待播放音频的类型确定多播放输出系统中用于播放待播放音频的目标播放输出设备或目标播放输出设备组合:根据待播放音频的类型和以下至少之一确定目标播放输出设备或目标播放输出设备组合:预先存储的应用程序信息和区域信息之间的对应关系;移动终端当前所处的状态;移动终端所在的区域。
在一些示例性实施例中,终端501具体用于采用以下实现根据待播放音频的类型确定多播放输出系统中用于播放待播放音频的目标播放输出设备或目标播放输出设备组合:根据所述待播放音频的类型,以及预先存储的应用程序信息和播放输出设备或播放输出设备组合所在的区域信息之间的对应关系确定所述目标播放输出设备或所述目标播放输出设备组合。
在一些示例性实施例中,终端501具体用于采用以下实现根据待播放音频的类型确定多播放输出系统中用于播放待播放音频的目标播放输出设备或目标播放输出设备组合:根据所述待播放音频的类型和播放所述待播放音频的终端当前所处的状态确定所述目标播放输出设备或所述目标播放输出设备组合。
在一些示例性实施例中,终端501具体用于采用以下实现根据待播放音频的类型确定多播放输出系统中用于播放待播放音频的目标播放输出设备或目标播放输出设备组合:根据所述待播放音频的类型,以及预先存储的应用程序信息和播放输出设备或播放输出设备组合所在的区域信息之间的对应关系,以及播放所述待播放音频的终端当前所处的状态和所述终端所在的区域确定所述目标播放输出设备或所述目标播放输出设备组合。
在一些示例性实施例中,终端501具体用于采用以下实现根据待播放音频的类型确定多播放输出系统中用于播放待播放音频的目标播放输出设备或目标播放输出设备组合:根据所述待播放音频的音频类型和播放所述待播放音频的终端所在的区域确定所述目标播放输出设备或所述目标播放输出设备组合。
在一些示例性实施例中,终端501具体用于采用以下实现根据待播放音频的类型确定多播放输出系统中用于播放待播放音频的目标播放输出设备或目标播放输出设备组合:根据所述待播放音频的音频类型、播放所述待播放音频的终端当前所处的状态和所述终端所在的区域确定所述目标播放输出设备或所述目标播放输出设备组合。
在一些示例性实施例中,终端501还用于:显示播放输出设备分布图界面,提供选择播放输出设备或播放输出设备组合的选项;依用户选择的播放输出设备或播放输出设备组合执行音频播放。
在一些示例性实施例中,终端501还用于:获取多播放输出系统中的两个或两个以上播放输出设备在多播放输出环境中的区域信息;根据区域信息生成播放输出设备分布图。
在一些示例性实施例中,终端501还用于:存储待播放音频对应的应用程序信息和目标播放输出设备或目标播放输出设备组合所在的区域的区域信息之间的对应关系。
在一些示例性实施例中,还包括:多播放输出系统中的控制设备503,用于显示播放输出设备分布图;在播放输出设备分布图中显示音箱设备的状态。
在一些示例性实施例中,还包括:多播放输出系统中的控制设备503,用于确定处于空闲状态的播放输出设备,通过处于空闲状态的播放输出设备播放自带播放器或播放应用中的音频或网络音乐;或接收语音信息,基于语音信息进行语音识别得到对应的控制指令。
在一些示例性实施例中,处于空闲状态的播放输出设备是指没有被音频流占用的播放输出设备。
上述音频播放系统的具体实现过程与前述实施例的音频播放方法的具体实现过程相同,这里不再赘述。
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其它数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其它存储器技术、CD-ROM、数字多功能盘(DVD)或其它光盘存储、磁盒、磁带、磁盘存储或其它磁存储器、或者可以用于存储期望的信息并且可以被计算机访问的任何其它的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其它传输机制之类的调制数据信号中的其它数据,并且可包括任何信息递送介质。
本文已经公开了示例实施例,并且虽然采用了具体术语,但它们仅用于并仅应当被解释为一般说明性含义,并且不用于限制的目的。在一些实例中,对本领域技术人员显而易见的是,除非另外明确指出,否则可单独使用与特定实施例相结合描述的特征、特性和/或元素,或可与其它实施例相结合描述的特征、特性和/或元件组合使用。因此,本领域技术人员将理解,在不脱离由所附的权利要求阐明的本公开的范围的情况下,可进行各种形式和细节上的改变。

Claims (12)

  1. 一种音频播放方法,所述方法包括:
    确定待播放音频的类型;
    根据所述待播放音频的类型确定多播放输出系统中用于播放所述待播放音频的目标播放输出设备或目标播放输出设备组合。
  2. 根据权利要求1所述的音频播放方法,其中,所述根据所述待播放音频的类型确定多播放输出系统中用于播放所述待播放音频的目标播放输出设备或目标播放输出设备组合包括:
    根据所述待播放音频的类型,以及预先存储的应用程序信息和播放输出设备或播放输出设备组合所在的区域信息之间的对应关系确定所述目标播放输出设备或所述目标播放输出设备组合。
  3. 根据权利要求1所述的音频播放方法,其中,所述根据所述待播放音频的类型确定多播放输出系统中用于播放所述待播放音频的目标播放输出设备或目标播放输出设备组合包括:
    根据所述待播放音频的类型和播放所述待播放音频的终端当前所处的状态确定所述目标播放输出设备或所述目标播放输出设备组合。
  4. 根据权利要求1所述的音频播放方法,其中,所述根据所述待播放音频的类型确定多播放输出系统中用于播放所述待播放音频的目标播放输出设备或目标播放输出设备组合包括:根据所述待播放音频的类型,以及预先存储的应用程序信息和播放输出设备或播放输出设备组合所在的区域信息之间的对应关系,以及播放所述待播放音频的终端当前所处的状态和所述终端所在的区域确定所述目标播放输出设备或所述目标播放输出设备组合。
  5. 根据权利要求1所述的音频播放方法,其中,所述根据所述待播放音频的类型确定多播放输出系统中用于播放所述待播放音频的目标播放输出设备或目标播放输出设备组合包括:
    根据所述待播放音频的音频类型和播放所述待播放音频的终端所在的区域确定所述目标播放输出设备或所述目标播放输出设备组合。
  6. 根据权利要求1所述的音频播放方法,其中,所述根据所述待播放音频的类型确定多播放输出系统中用于播放所述待播放音频的目标播放输出设备或目标播放输出设备组合包括:
    根据所述待播放音频的音频类型、播放所述待播放音频的终端当前所处的状态和所述终端所在的区域确定所述目标播放输出设备或所述目标播放输出设备组合。
  7. 根据权利要求1-6任意一项所述的音频播放方法,该方法还包括:
    显示播放输出设备分布图界面,提供选择播放输出设备或播放输出设备组合的选项;
    依用户选择的播放输出设备或播放输出设备组合执行音频播放。
  8. 根据权利要求7所述的音频播放方法,所述显示播放输出设备分布图界面之前,该方法还包括:
    获取多播放输出系统中的两个或两个以上播放输出设备在多播放输出环境中的区域信息;
    根据所述区域信息生成播放输出设备分布图。
  9. 根据权利要求1-6任意一项所述的音频播放方法,所述根据所述待播放音频的类型确定多播放输出系统中用于播放所述待播放音频的目标播放输出设备或目标播放输出设备组合后,该方法还包括:
    存储所述待播放音频对应的应用程序信息和所述目标播放输出设备或所述目标播放输出 设备组合所在的区域的区域信息之间的对应关系。
  10. 一种电子设备,包括:
    至少一个处理器;
    存储器,所述存储器上存储有至少一个程序,当所述至少一个程序被所述至少一个处理器执行时,实现权利要求1-9任意一项所述的音频播放方法。
  11. 一种计算机可读介质,所述计算机可读介质上存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1-9任意一项所述的音频播放方法。
  12. 一种音频播放系统,包括:
    终端,用于确定待播放音频的类型;根据所述待播放音频的类型确定多播放输出系统中用于播放所述待播放音频的目标播放输出设备或目标播放输出设备组合;将所述待播放音频通过与所述目标播放输出设备或所述目标播放输出设备组合之间的通信通道发送给所述目标播放输出设备或所述目标播放输出设备组合,以通过所述目标播放输出设备或所述目标播放输出设备组合播放所述待播放音频;
    多播放输出系统中的播放输出设备,用于通过与所述终端之间的通信通道接收所述终端发送的待播放音频,播放所述待播放音频。
PCT/CN2023/114297 2022-11-21 2023-08-22 音频播放方法和系统、电子设备、计算机可读介质 WO2024109209A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211463750.3A CN118057840A (zh) 2022-11-21 2022-11-21 音频播放方法和系统、电子设备、计算机可读介质
CN202211463750.3 2022-11-21

Publications (1)

Publication Number Publication Date
WO2024109209A1 true WO2024109209A1 (zh) 2024-05-30

Family

ID=91069209

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/114297 WO2024109209A1 (zh) 2022-11-21 2023-08-22 音频播放方法和系统、电子设备、计算机可读介质

Country Status (2)

Country Link
CN (1) CN118057840A (zh)
WO (1) WO2024109209A1 (zh)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3128767A2 (en) * 2015-08-06 2017-02-08 Dolby Laboratories Licensing Corporation System and method to enhance speakers connected to devices with microphones
CN109151566A (zh) * 2018-09-30 2019-01-04 Oppo广东移动通信有限公司 音频播放方法、装置、电子设备及计算机可读介质
CN113296728A (zh) * 2021-05-24 2021-08-24 Oppo广东移动通信有限公司 音频播放方法、装置、电子设备及存储介质
CN113885827A (zh) * 2021-10-09 2022-01-04 Oppo广东移动通信有限公司 音频播放方法、装置、电子设备、计算机可读介质及产品
CN114125791A (zh) * 2020-08-31 2022-03-01 荣耀终端有限公司 一种音频推送方法及音频推送系统
WO2022052760A1 (zh) * 2020-09-14 2022-03-17 华为技术有限公司 一种组合音箱的配置方法、音箱和电子设备
WO2022228048A1 (zh) * 2021-04-29 2022-11-03 华为技术有限公司 一种电子设备间的交互方法及电子设备

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3128767A2 (en) * 2015-08-06 2017-02-08 Dolby Laboratories Licensing Corporation System and method to enhance speakers connected to devices with microphones
CN109151566A (zh) * 2018-09-30 2019-01-04 Oppo广东移动通信有限公司 音频播放方法、装置、电子设备及计算机可读介质
CN114125791A (zh) * 2020-08-31 2022-03-01 荣耀终端有限公司 一种音频推送方法及音频推送系统
WO2022052760A1 (zh) * 2020-09-14 2022-03-17 华为技术有限公司 一种组合音箱的配置方法、音箱和电子设备
WO2022228048A1 (zh) * 2021-04-29 2022-11-03 华为技术有限公司 一种电子设备间的交互方法及电子设备
CN113296728A (zh) * 2021-05-24 2021-08-24 Oppo广东移动通信有限公司 音频播放方法、装置、电子设备及存储介质
CN113885827A (zh) * 2021-10-09 2022-01-04 Oppo广东移动通信有限公司 音频播放方法、装置、电子设备、计算机可读介质及产品

Also Published As

Publication number Publication date
CN118057840A (zh) 2024-05-21

Similar Documents

Publication Publication Date Title
JP6963581B2 (ja) デバイスのグループの識別方法
JP6298173B2 (ja) 再生ゾーンの認識に基づいたメディアコンテンツの提供
US11902606B2 (en) Methods, systems, and media for presenting notifications indicating recommended content
JP6884245B2 (ja) アービトレーションに基づく音声認識
JP6132987B1 (ja) 再生ゾーン表示
US9432365B2 (en) Streaming music using authentication information
JP6214676B2 (ja) メディア視聴ソーシャルインタフェースのためのシステム及び方法
JP6216083B2 (ja) メディアの好みの認識アカウント
US8611559B2 (en) Dynamic adjustment of master and individual volume controls
JP2018110401A (ja) 再生デバイスのキャリブレーション
JP2016523017A (ja) メディア再生システムの再生待ち列の転送
JP2017528861A (ja) クラウド・キューの管理
WO2024109209A1 (zh) 音频播放方法和系统、电子设备、计算机可读介质
US11019440B1 (en) Methods and devices for managing transmission of synchronized audio based on user location
US11050579B2 (en) Distribution destination specifying device and distribution destination specifying method
US12041280B2 (en) Methods, systems, and media for providing dynamic media sessions with video stream transfer features
US20170169852A1 (en) Method for resuming playing audio-video file after muting and electronic device
CN116801035A (zh) 电视音量的调整方法及装置、电子设备和存储介质
EP3301941A1 (en) Smart start-up of audio/visual equipment
KR20150010427A (ko) 음악파일 재생기

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23893303

Country of ref document: EP

Kind code of ref document: A1