[go: up one dir, main page]

CN107562405A - Audio playing control method and device, storage medium and mobile terminal - Google Patents

Audio playing control method and device, storage medium and mobile terminal Download PDF

Info

Publication number
CN107562405A
CN107562405A CN201710710703.7A CN201710710703A CN107562405A CN 107562405 A CN107562405 A CN 107562405A CN 201710710703 A CN201710710703 A CN 201710710703A CN 107562405 A CN107562405 A CN 107562405A
Authority
CN
China
Prior art keywords
audio
application program
audio playback
sound volume
mobile terminal
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
CN201710710703.7A
Other languages
Chinese (zh)
Other versions
CN107562405B (en
Inventor
甘高亭
严锋贵
许钊铵
郑志勇
杨海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710710703.7A priority Critical patent/CN107562405B/en
Publication of CN107562405A publication Critical patent/CN107562405A/en
Application granted granted Critical
Publication of CN107562405B publication Critical patent/CN107562405B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The embodiment of the invention discloses an audio playing control method, an audio playing control device, a storage medium and a mobile terminal. The method comprises the following steps: when detecting that an audio playing event is triggered, determining the current position of the mobile terminal and an application program for triggering the audio playing event; determining an audio playing mode according to the current position and the application program; and controlling the mobile terminal to play audio according to the audio playing mode. The technical scheme provided by the embodiment of the invention can reasonably control the playing of the audio according to the position of the mobile terminal and the running application program.

Description

音频播放控制方法、装置及存储介质和移动终端Audio playback control method, device, storage medium and mobile terminal

技术领域technical field

本发明实施例涉及播放控制技术领域,尤其涉及一种音频播放控制方法、装置及存储介质和移动终端。The embodiments of the present invention relate to the technical field of playback control, and in particular, to an audio playback control method, device, storage medium, and mobile terminal.

背景技术Background technique

手机等移动终端中的功能越来越多,为人们的生活和工作提供了便利,人们可以利用手机接打电话,还可以听音乐、观看视频、玩游戏等。在用户进行这些操作时,移动终端的音频播放控制系统控制这些应用的音频进行播放。相关技术中的音频播放控制方法存在缺陷,需要改进。There are more and more functions in mobile terminals such as mobile phones, which provide convenience for people's life and work. People can use mobile phones to make and receive calls, listen to music, watch videos, play games, etc. When the user performs these operations, the audio playback control system of the mobile terminal controls the audio of these applications to play. The audio playback control method in the related art has defects and needs to be improved.

发明内容Contents of the invention

本发明实施例提供一种音频播放控制方法、装置及存储介质和移动终端,可以根据移动终端的位置和运行的应用程序合理的控制音频的播放。Embodiments of the present invention provide an audio playback control method, device, storage medium, and mobile terminal, which can reasonably control audio playback according to the location of the mobile terminal and the running application program.

在第一方面,本发明实施例提供了一种音频播放控制方法,包括:In a first aspect, an embodiment of the present invention provides an audio playback control method, including:

在检测到音频播放事件被触发时,确定移动终端的当前位置和触发所述音频播放事件的应用程序;When detecting that the audio playback event is triggered, determine the current location of the mobile terminal and the application program that triggers the audio playback event;

根据所述当前位置和所述应用程序,确定音频播放模式;determining an audio playback mode according to the current location and the application;

控制所述移动终端按照所述音频播放模式进行音频的播放。controlling the mobile terminal to play audio according to the audio playing mode.

在第二方面,本发明实施例提供了一种音频播放控制装置,包括:In a second aspect, an embodiment of the present invention provides an audio playback control device, including:

位置和应用程序确定模块,用于在检测到音频播放事件被触发时,确定移动终端的当前位置和触发所述音频播放事件的应用程序;The location and application program determination module is used to determine the current location of the mobile terminal and the application program that triggers the audio playback event when it is detected that the audio playback event is triggered;

音频播放模式确定模块,用于根据所述当前位置和所述应用程序,确定音频播放模式;An audio playback mode determination module, configured to determine an audio playback mode according to the current location and the application program;

音频播放控制模块,用于控制所述移动终端按照所述音频播放模式进行音频的播放。An audio playback control module, configured to control the mobile terminal to play audio according to the audio playback mode.

第三方面,本发明实施例提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如第一方面所提供的音频播放控制方法。In a third aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the audio playback control method provided in the first aspect is implemented.

在第四方面,本发明实施例提供了一种移动终端,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行时实现如第一方面所提供的音频播放控制方法。In a fourth aspect, an embodiment of the present invention provides a mobile terminal, including a memory, a processor, and a computer program stored in the memory and operable on the processor. The audio playback control method.

本发明实施例通过在检测到音频播放事件被触发时,确定移动终端的当前位置和触发所述音频播放事件的应用程序,根据所述当前位置和所述应用程序,确定音频播放模式,控制所述移动终端按照所述音频播放模式进行音频的播放,可以根据移动终端的位置和运行的应用程序合理的控制音频的播放。In this embodiment of the present invention, when an audio playback event is detected to be triggered, determine the current location of the mobile terminal and the application program that triggers the audio playback event, determine the audio playback mode according to the current location and the application program, and control the mobile terminal. The mobile terminal performs audio playback according to the audio playback mode, and the audio playback can be reasonably controlled according to the location of the mobile terminal and the running application program.

附图说明Description of drawings

图1a是本发明实施例提供的一种音频系统架构的框图;Fig. 1a is a block diagram of an audio system architecture provided by an embodiment of the present invention;

图1b是本发明实施例提供的一种智能手机的音频处理硬件系统结构示意图;Fig. 1b is a schematic structural diagram of an audio processing hardware system of a smart phone provided by an embodiment of the present invention;

图2是本发明实施例提供的一种音频播放控制方法的流程图;Fig. 2 is a flow chart of an audio playback control method provided by an embodiment of the present invention;

图3是本发明实施例提供的另一种音频播放控制方法的流程图;FIG. 3 is a flow chart of another audio playback control method provided by an embodiment of the present invention;

图4是本发明实施例提供的另一种音频播放控制方法的流程图;FIG. 4 is a flow chart of another audio playback control method provided by an embodiment of the present invention;

图5是本发明实施例提供的另一种音频播放控制方法的流程图;Fig. 5 is a flowchart of another audio playback control method provided by an embodiment of the present invention;

图6是本发明实施例提供的一种音频播放控制装置的结构示意图;Fig. 6 is a schematic structural diagram of an audio playback control device provided by an embodiment of the present invention;

图7是本发明实施例提供的一种移动终端的结构示意图。Fig. 7 is a schematic structural diagram of a mobile terminal provided by an embodiment of the present invention.

具体实施方式Detailed ways

为了使本发明的目的、技术方案和优点更加清楚,下面结合附图对本发明具体实施例作进一步的详细描述。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部内容。在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各项操作(或步骤)描述成顺序的处理,但是其中的许多操作可以被并行地、并发地或者同时实施。此外,各项操作的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。In order to make the object, technical solution and advantages of the present invention clearer, specific embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, only parts related to the present invention are shown in the drawings but not all content. Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe various operations (or steps) as sequential processing, many of the operations may be performed in parallel, concurrently, or simultaneously. In addition, the order of operations can be rearranged. The process may be terminated when its operations are complete, but may also have additional steps not included in the figure. The processing may correspond to a method, function, procedure, subroutine, subroutine, or the like.

为便于理解,下面以Android系统为例,对Android系统中的音频系统架构进行简单说明。For ease of understanding, the Android system is taken as an example below to briefly describe the audio system architecture in the Android system.

如图1a所示,本实施例提供的音频系统架构主要包括用户空间、内核空间和硬件系统。用户空间包括应用(Application)层、应用框架(Framework)层和硬件抽象层(Hardware Abstraction Layer,HAL),内核空间包括驱动(Driver)层,硬件系统包括扬声器、音频编解码器等,还可以包括耳机。应用层是音频体系的最上层,可通过编写一个应用程序来执行对应的逻辑操作,例如检测触发音频播放事件的应用程序,预先设置设定第一类应用程序、设定第二类应用程序和第三类应用程序或者第一播放音量至第五播放音量,下发音频播放指令等。应用框架层包括音频控制接口和标准化插件模块负责提供音频播放形式控制接口,以及扬声器音量大小控制接口等。应用框架层提供了AudioTrack和AudioRecorder两个类,以及AudioManager、AudioService及AudioSystem类。在应用框架层和硬件抽象层之间还包括一个系统运行库(Libraries)层。我们知道,framework层的很多类,实际上只是应用程序使用Android库文件的“中介”而已。因为上层应用采用java语言编写,它们需要最直接的java接口的支持,这就是framework层存在的意义之一。而作为“中介”,它们并不会真正去实现具体的功能,或者只实现其中的一部分功能,而把主要重心放在库中来完成。比如上面的AudioTrack、AudioRecorder、MediaPlayer和MediaRecorder等等在库中都能找到相对应的类。这一部分代码集中放置在工程的frameworks/av/media/libmedia中,多数是C++语言编写的。音频方面的硬件抽象层主要分为两部分,即AudioFlinger和AudioPolicyService,实际上后者并不是一个真实的设备,只是采用虚拟设备的方式来让厂商可以方便地定制出自己的策略。根据产品的不同,音频设备存在很大差异,在Android的音频架构中,这些问题都是由HAL层的audio.primary等来解决的,而不需要大规模地修改上层实现。硬件抽象层是应用框架层到驱动层的过渡,以实现底层硬件的兼容。驱动层按照音频编解码器的特性对其进行控制,确保音频编解码器可以正常工作,将音频编解码器获取到的音频数据提供给系统层。硬件系统包括扬声器和音频编解码器,扬声器用于播放音频数据控制音量大小,音频编解码器用于解析音频数据的格式,如MP3、WMA,负责音频可以正常播放。As shown in Fig. 1a, the audio system architecture provided by this embodiment mainly includes user space, kernel space and hardware system. User space includes application (Application) layer, application framework (Framework) layer and hardware abstraction layer (Hardware Abstraction Layer, HAL), kernel space includes driver (Driver) layer, hardware system includes speakers, audio codec, etc., and can also include earphone. The application layer is the top layer of the audio system. You can write an application to perform corresponding logical operations, such as detecting the application that triggers the audio playback event, presetting the first type of application, setting the second type of application and The third type of application program or the first playback volume to the fifth playback volume, issue audio playback instructions, etc. The application framework layer includes an audio control interface and a standardized plug-in module responsible for providing an audio playback form control interface and a speaker volume control interface. The application framework layer provides two classes, AudioTrack and AudioRecorder, as well as AudioManager, AudioService and AudioSystem classes. A system runtime (Libraries) layer is also included between the application framework layer and the hardware abstraction layer. We know that many classes in the framework layer are actually just "intermediaries" for applications to use Android library files. Because upper-layer applications are written in java language, they need the most direct support of java interface, which is one of the meanings of the framework layer. As "intermediaries", they don't really implement specific functions, or only implement part of them, but focus on the library to complete. For example, the above AudioTrack, AudioRecorder, MediaPlayer and MediaRecorder, etc. can find corresponding classes in the library. This part of the code is centrally placed in the frameworks/av/media/libmedia of the project, most of which are written in C++ language. The audio hardware abstraction layer is mainly divided into two parts, namely AudioFlinger and AudioPolicyService. In fact, the latter is not a real device, but a virtual device is used to allow manufacturers to easily customize their own policies. According to different products, there are great differences in audio devices. In the Android audio architecture, these problems are solved by the audio.primary of the HAL layer, without the need to modify the upper layer implementation on a large scale. The hardware abstraction layer is the transition from the application framework layer to the driver layer to achieve the compatibility of the underlying hardware. The driver layer controls the audio codec according to its characteristics, ensures that the audio codec can work normally, and provides the audio data obtained by the audio codec to the system layer. The hardware system includes a speaker and an audio codec. The speaker is used to play audio data to control the volume. The audio codec is used to analyze the format of the audio data, such as MP3 and WMA, and is responsible for the normal playback of the audio.

图1b为本发明实施例提供的一种智能手机的音频处理硬件系统结构示意图。音频处理电路一般处于主控电路板中,由于不同手机的设计不同,音频处理电路的具体位置也可能不同。智能手机的音频处理电路主要包括音频信号处理电路、基带信号处理电路、音频功率放大器、耳机信号放大器、听筒、扬声器、麦克风及耳机接口等。其中,音频信号处理电路是整个音频处理电路的核心。音频处理电路主要由接收音频电路、送话电路、耳机通话电路等组成,包括模拟音频的模拟/数字(A/D)转换、数字/模拟(A/D)转换、数字语音信号处理及模拟音频放大电路等。Fig. 1b is a schematic structural diagram of an audio processing hardware system of a smartphone provided by an embodiment of the present invention. The audio processing circuit is generally located in the main control circuit board. Due to the different designs of different mobile phones, the specific location of the audio processing circuit may also be different. The audio processing circuit of a smart phone mainly includes an audio signal processing circuit, a baseband signal processing circuit, an audio power amplifier, an earphone signal amplifier, an earpiece, a speaker, a microphone, and an earphone jack, etc. Among them, the audio signal processing circuit is the core of the entire audio processing circuit. The audio processing circuit is mainly composed of receiving audio circuit, sending circuit, earphone call circuit, etc., including analog/digital (A/D) conversion of analog audio, digital/analog (A/D) conversion, digital voice signal processing and analog audio amplifier circuit, etc.

在通话时,首先通话本地端麦克风把声音的机械声波信号转化为模拟音频信号,通过模拟音频放大电路进行放大,经内部的多模转换器进行A/D转换,得到数字音频信号;其次把此数字音频信号送到基带处理器,进行语音编码、信道编码等处理;再次进行加密、交织等一系列处理;最后送到基带处理器中的数字窄带制调模块进行调制,产生发射基带信号送入射频电路调制成发射中频,发送给通话对方。在接听电话时,首先从射频电路解调出接收基带信息,送到基带处理器内部进行数字窄带解调,分离出控制信号和语音信号;其次把语音信号进行解密、去交织、重组等一系列处理,然后进行信道解码、语音解码;最后得到纯正数字语音信号,送入语音信号处理器中的多模转换器进行D/A转换;还原成模拟音频信号后,经过音频功率放大后推动听筒发声。若选择免提受话,基带处理器则关闭听筒受话放大器,启动免提受话放大管(振铃放大管)工作,把音频信号功率放大后推动扬声器发声。During a call, the microphone at the local end of the call first converts the mechanical sound wave signal of the sound into an analog audio signal, amplifies it through an analog audio amplifier circuit, and performs A/D conversion through an internal multi-mode converter to obtain a digital audio signal; The digital audio signal is sent to the baseband processor for processing such as speech coding and channel coding; it is then processed again for encryption and interleaving; finally it is sent to the digital narrowband modulation module in the baseband processor for modulation to generate the baseband signal for transmission and send it to the The radio frequency circuit modulates to transmit the intermediate frequency and sends it to the other party. When answering the phone, first demodulate the received baseband information from the radio frequency circuit, send it to the baseband processor for digital narrowband demodulation, and separate the control signal and voice signal; secondly, decrypt, deinterleave, and recombine the voice signal. After processing, channel decoding and voice decoding are performed; finally the pure digital voice signal is obtained, which is sent to the multi-mode converter in the voice signal processor for D/A conversion; after being restored to an analog audio signal, the earpiece is pushed to make a sound after the audio power is amplified . If the hands-free receiver is selected, the baseband processor closes the earpiece receiver amplifier, starts the hands-free receiver amplifier tube (ringing amplifier tube) to work, amplifies the audio signal power and promotes the loudspeaker to sound.

在录音时,与上述过程类似,首先由麦克风把声音的机械声波信号转化为模拟音频信号,通过模拟音频放大电路进行放大,经过A/D转换后得到数字音频信号,按照预设的音频格式进行编码及存储。在播放录音或其他音频文件时,将音频文件进行解码得到数字音频信号,经过D/A换后还原成模拟音频信号,把音频信号功率放大后推动扬声器发声。When recording, similar to the above process, the mechanical sound wave signal of the sound is first converted into an analog audio signal by the microphone, amplified by an analog audio amplifier circuit, and a digital audio signal is obtained after A/D conversion, which is performed according to the preset audio format. encoding and storage. When playing recordings or other audio files, the audio files are decoded to obtain digital audio signals, which are restored to analog audio signals after D/A conversion, and the power of the audio signals is amplified to drive the speaker to produce sound.

本发明实施例中可预先在终端中存储预设音频文件,对该预设音频文件进行播放。预存音频文件以及预设音量等级可由设计人员根据实际情况进行选取,不同的声音播放器件对应的预设音频文件和/或预设音量等级可以不同,本发明实施例不做限定。麦克风采集的音频信号可以是上述的由机械声波信号转换而来的模拟音频信号,也可以是经过放大后的模拟音频信号,可根据两者的不同分别设置相应的下文中的预设条件,本发明实施例不作限定。为了方便终端与用户之间的交互,终端一般会向用户提供音量调节功能,用户可采用调节音量调节按钮或音量调节进度条等方式对终端播放声音的音量等级进行调整,而终端根据用户调整后的音量等级对需要播放的音频信号进行相应的放大处理,如功率放大,以满足用户的收听需求。不同的终端中对音量等级的划分策略可能不同,即具体的音量等级的总数量以及每个音量等级对应的音量大小都可能不同,本发明实施例不作限定。In the embodiment of the present invention, a preset audio file may be stored in the terminal in advance, and the preset audio file may be played. The pre-stored audio files and preset volume levels can be selected by the designer according to the actual situation, and the preset audio files and/or preset volume levels corresponding to different sound playback devices can be different, which is not limited in the embodiment of the present invention. The audio signal collected by the microphone can be the above-mentioned analog audio signal converted from the mechanical sound wave signal, or an amplified analog audio signal. The corresponding preset conditions below can be set according to the difference between the two. The embodiments of the invention are not limited. In order to facilitate the interaction between the terminal and the user, the terminal generally provides the user with a volume adjustment function. The user can adjust the volume level of the sound played by the terminal by adjusting the volume adjustment button or the volume adjustment progress bar. The volume level of the audio signal to be played is amplified accordingly, such as power amplification, to meet the listening needs of the user. Different terminals may have different strategies for dividing volume levels, that is, the total number of specific volume levels and the volume corresponding to each volume level may be different, which is not limited in this embodiment of the present invention.

图2给出了本发明实施例提供的一种音频播放控制方法的流程图,本实施例的方法可以由音频播放控制装置来执行,该装置可通过硬件和/或软件的方式实现,所述装置可作为移动终端一部分设置在所述移动终端的内部,本实施例可适用于根据移动终端的当前位置和运行的应用程序对移动终端的音频播放模式进行控制的情况。Fig. 2 shows a flow chart of an audio playback control method provided by an embodiment of the present invention. The method of this embodiment can be executed by an audio playback control device, which can be implemented by hardware and/or software. The device can be installed inside the mobile terminal as a part of the mobile terminal. This embodiment is applicable to the situation where the audio playback mode of the mobile terminal is controlled according to the current location of the mobile terminal and the running application program.

如图2所示,本实施例提供的音频播放控制方法包括以下步骤:As shown in Figure 2, the audio playback control method provided by this embodiment includes the following steps:

步骤101、在检测到音频播放事件被触发时,确定移动终端的当前位置和触发所述音频播放事件的应用程序。Step 101. When it is detected that an audio play event is triggered, determine the current location of the mobile terminal and the application that triggers the audio play event.

本实施例所述的移动终端包括手机、笔记本、平板电脑等具有音频播放功能的设备。The mobile terminal described in this embodiment includes devices with audio playback functions such as mobile phones, notebooks, and tablet computers.

示例性的,在来电响铃、歌曲播放、视频播放或者游戏声音播放等应用场景下,在播放这些铃声、歌曲、视频或者游戏的音频之前,检测到相应音频播放事件被触发时,比如,接收到来电信号时,或者检测到用户作用于播放按键的触摸指令时,确定移动终端的当前所处的位置和触发音频播放事件的应用程序。相应的,如示例所述触发音频播放事件的应用程序可为电话、音乐播放器、视频播放器或者游戏等。Exemplarily, in application scenarios such as ringing a call, playing a song, playing a video, or playing a game sound, before playing the audio of these ringtones, songs, videos, or games, it is detected that the corresponding audio playback event is triggered, for example, receiving When an incoming call signal is received, or when a user's touch instruction on the play button is detected, the current location of the mobile terminal and the application program that triggers the audio play event are determined. Correspondingly, the application that triggers the audio playback event as described in the example may be a phone, a music player, a video player, or a game.

其中,可通过全球定位系统(Global Positioning System,GPS)定位、移动基站定位、WiFi辅助定位或者辅助全球卫星定位系统(Assisted Global Positioning System)定位方式对移动终端进行定位,确定移动终端的当前位置。所述移动终端的当前位置可以为家、商店、游乐场或者教室、图书馆、公司等。Wherein, the mobile terminal may be positioned by means of Global Positioning System (GPS) positioning, mobile base station positioning, WiFi-assisted positioning or Assisted Global Positioning System (Assisted Global Positioning System) positioning to determine the current location of the mobile terminal. The current location of the mobile terminal may be home, shop, playground or classroom, library, company and so on.

步骤102、根据所述当前位置和所述应用程序,确定音频播放模式。Step 102: Determine an audio playback mode according to the current location and the application program.

其中,所述根据所述当前位置和所述应用程序,确定音频播放模式可以包括:根据所述当前位置和所述应用程序的类型或者所述应用程序的运行内存占用率或者所述应用程序的优先级,确定音频的播放模式。所述音频播放模式包括音频播放形式和/或音频播放音量,所述音频播放形式包括耳机播放形式和扬声器播放形式。Wherein, the determining the audio playback mode according to the current location and the application may include: according to the current location and the type of the application or the running memory usage of the application or the Priority, which determines the playback mode of the audio. The audio playback mode includes an audio playback format and/or an audio playback volume, and the audio playback format includes an earphone playback format and a speaker playback format.

可以根据获取到位置和应用程序两个因素后来确定音频播放模式,例如可以预先设定位置和应用程序与音频播放模式的对应关系表,从所述对应关系表中查找所述当前位置和所述应用程序对应的音频播放模式。The audio playback mode can be determined based on the obtained location and the application program. For example, the corresponding relationship table between the location and the application program and the audio playback mode can be preset, and the current location and the audio playback mode can be found from the corresponding relationship table. The audio playback mode corresponding to the application.

也可以先根据位置信息在位置信息为设定的位置时,确定音频播放模式,在当前位置不为设定位置时,可进行一步根据所述应用程序的类型或者运行内存占用率,来确定音频播放模式。示例性的,在当前位置为野外、集市等户外不方便充电的场所时,若所述应用程序的运行内存占用率大于设定比值,则可将音频播放音量确定为小于移动终端当前默认音量的音量,或者,根据所述应用程序的优先级确定与所述优先级匹配的音频播放音量等级,或者,根据所述应用程序的类型确定与所述类型匹配的音频播放音量。It is also possible to first determine the audio playback mode according to the location information when the location information is the set location. When the current location is not the set location, a step can be performed to determine the audio playback mode according to the type of the application program or the running memory usage rate. play mode. Exemplarily, when the current location is in the field, a market and other places where outdoor charging is inconvenient, if the running memory usage rate of the application is greater than the set ratio, the audio playback volume can be determined to be less than the current default volume of the mobile terminal or, determine the audio playback volume level matching the priority according to the priority of the application program, or determine the audio playback volume level matching the type according to the type of the application program.

步骤103、控制所述移动终端按照所述音频播放模式进行音频的播放。Step 103, controlling the mobile terminal to play audio according to the audio playing mode.

在确定了相应的音频播放模式后,进行待播放音频的播放,例如,来电响铃,播放歌曲、播放视频或者播放游戏中的声音等。After the corresponding audio playback mode is determined, the audio to be played is played, for example, an incoming call rings, a song is played, a video is played, or a sound in a game is played.

本实施例提供的音频播放控制方法,通过在检测到音频播放事件被触发时,确定移动终端的当前位置和触发所述音频播放事件的应用程序,根据所述当前位置和所述应用程序,确定音频播放模式,控制所述移动终端按照所述音频播放模式进行音频的播放,可以根据移动终端的位置和运行的应用程序合理的控制音频的播放。The audio playback control method provided in this embodiment determines the current location of the mobile terminal and the application program that triggers the audio playback event when it is detected that the audio playback event is triggered, and determines according to the current location and the application program The audio playback mode controls the mobile terminal to play audio according to the audio playback mode, and the audio playback can be reasonably controlled according to the location of the mobile terminal and the running application program.

在上述实施例的基础上,还可以包括以下步骤:在检测到用户的音频播放模式调整指令时,根据所述音频播放调整指令调整音频播放模式。On the basis of the above embodiments, the following step may be further included: when the user's audio playback mode adjustment instruction is detected, the audio playback mode is adjusted according to the audio playback adjustment instruction.

示例性的,在根据移动终端的当前位置和运行的应用程序确定了音频播放模式为扬声器播放形式后,若检测到用户调整音频播放形式为耳机播放形式的调整指令时,或者检测到耳机插入耳机孔的信号时,可将音频播放形式调整为耳机播放形式。示例性的,在检测到用户的音频播放音量的调整指令时,例如检测到用户按压音量加/减键的操作指令时,增加/减小音频播放音量。Exemplarily, after the audio playback mode is determined to be the speaker playback mode based on the current location of the mobile terminal and the running application program, if an adjustment instruction from the user to adjust the audio playback mode to the earphone playback mode is detected, or it is detected that the earphone is plugged into the earphone When the signal from the hole is connected, the audio playback mode can be adjusted to the headphone playback mode. Exemplarily, when an adjustment instruction of the user's audio playback volume is detected, for example, an operation instruction of pressing the volume up/down key by the user is detected, the audio playback volume is increased/decreased.

图3给出了本发明实施例提供的另一种音频播放控制方法的流程图。其中,所述音频播放模式为音频播放形式,本实施例可适用于根据移动终端的当前位置和运行的应用程序对移动终端的音频播放形式进行控制的情况。如图3所示,本实施例提供的方法包括以下步骤:Fig. 3 shows a flow chart of another audio playback control method provided by an embodiment of the present invention. Wherein, the audio playback mode is an audio playback mode, and this embodiment is applicable to the situation where the audio playback mode of the mobile terminal is controlled according to the current location of the mobile terminal and the running application program. As shown in Figure 3, the method provided in this embodiment includes the following steps:

步骤201、在检测到音频播放事件被触发时,确定移动终端的当前位置和触发所述音频播放事件的应用程序。Step 201, when it is detected that an audio play event is triggered, determine the current location of the mobile terminal and the application that triggers the audio play event.

步骤202、判断所述当前位置是否为第一设定位置,若是,则执行步骤203,否则执行步骤204。Step 202 , judging whether the current location is the first set location, if yes, execute step 203 , otherwise execute step 204 .

若当前位置为第一设定位置时,则执行步骤203,若当前位置为除所述第一设定位置之外的其他位置,则执行步骤204。If the current position is the first set position, execute step 203, and if the current position is other than the first set position, execute step 204.

其中,所述第一设定位置可以为家、商店或者游乐场等对音频播放音量没有要求的场所。所述第一设定位置可以为预先设定的存储在移动终端中的。所述其他设定位置可以为教室、图书馆、公司等对音频播放音量有一定要求的场所。当然,也可以将位置进行更细的划分,例如可将公司的办公区域和会议室确定为第一设定位置,将公司的娱乐休闲区域确定为其他位置。Wherein, the first set location may be a place where there is no requirement for audio playback volume, such as a home, a store, or an amusement park. The first set location may be preset and stored in the mobile terminal. The other setting locations may be classrooms, libraries, companies and other places that have certain requirements for audio playback volume. Of course, the location can also be further divided, for example, the company's office area and conference room can be determined as the first set location, and the company's entertainment and leisure area can be determined as other locations.

步骤203、确定所述音频播放形式为耳机播放形式或者扬声器播放形式。Step 203, determine that the audio playback format is an earphone playback format or a speaker playback format.

在当前位置为对音频播放音量没有要求的第一设定位置时,可确定所述音频播放形式为耳机播放形式或者扬声器播放形式,例如可将移动终端当前默认的音频播放形式确定为待播放音频的播放形式。When the current location is the first set location that does not require audio playback volume, it can be determined that the audio playback format is the headset playback format or the speaker playback format, for example, the current default audio playback format of the mobile terminal can be determined as the audio to be played playback format.

步骤204、根据所述应用程序,确定音频播放形式。Step 204: Determine the audio playback format according to the application program.

若当前位置为其他位置,则根据触发音频播放事件的应用程序,来确定音频播放形式。例如,根据所述应用程序的类型或者运行内存占用率或者优先级,确定音频播放形式。If the current location is another location, the audio playback format is determined according to the application that triggers the audio playback event. For example, the audio playback form is determined according to the type of the application program or the running memory usage rate or priority.

本实施例提供的方法,通过在检测到音频播放事件被触发时,确定移动终端的当前位置和触发所述音频播放事件的应用程序,根据所述当前位置和所述应用程序,确定音频播放形式,控制所述移动终端按照所述音频播放形式进行音频的播放,可以根据用户的位置和运行的应用程序合理的控制音频的播放形式,更加贴合移送终端的当前运行状态进行音频播放形式的控制。The method provided in this embodiment determines the current location of the mobile terminal and the application program that triggers the audio playback event when it is detected that the audio playback event is triggered, and determines the audio playback form according to the current location and the application program , controlling the mobile terminal to play audio according to the audio playback form, the audio playback form can be reasonably controlled according to the user's location and the running application program, and the audio playback form is controlled more closely to the current operating state of the transfer terminal .

在上述实施例的基础上,所述步骤204可以包括:判断所述应用程序是否为设定第一类应用程序,若是则确定音频播放形式为耳机播放形式,否则确定音频播放形式为扬声器播放形式。On the basis of the above-mentioned embodiments, the step 204 may include: judging whether the application program is a set first type application program, if so, determining that the audio playback format is an earphone playback format, otherwise determining that the audio playback format is a speaker playback format .

其中,所述设定第一类应用程序为预先设定的休闲娱乐型的应用程序,例如视频播放器、歌曲播放器、游戏或者汤姆猫等。当移动终端在除第一设定位置之外的其他位置,且触发音频播放的应用程序为设定第一类应用程序时,确定音频播放形式为耳机播放形式。这样设置的原因是:在移动终端处于对音频播放音量有要求追求安静环境的场所下,若触发音频播放的应用程序为娱乐休闲类型的应用程序时,自动确定音频播放模式为耳机播放,这样可以避免这类应用程序的音频通过扬声器播放而扰乱安静环境的尴尬,例如,用户在使用耳机听歌时不小心拽掉了耳机而歌曲音频数据通过扬声器播放的尴尬,移动终端可以自行避免这种尴尬情况的发生,更加贴合用户的自身需求,提升了用户的体验满意度。Wherein, the set first type of application program is a preset leisure and entertainment application program, such as a video player, a song player, a game, or Tom Cat. When the mobile terminal is in a position other than the first set position, and the application program triggering the audio playing is set as the first type of application program, it is determined that the audio playing form is the earphone playing form. The reason for this setting is: when the mobile terminal is in a place where the audio playback volume is required to pursue a quiet environment, if the application that triggers the audio playback is an entertainment and leisure application, the audio playback mode is automatically determined to be earphone playback, which can Avoid the embarrassment that the audio of this type of application is played through the speaker and disturb the quiet environment. For example, the user accidentally pulls off the earphone while listening to a song and the audio data of the song is played through the speaker. The mobile terminal can avoid this embarrassment by itself The occurrence of the situation is more suitable for the user's own needs and improves the user's experience satisfaction.

若触发音频播放的应用程序为除设定第一类应用程序之外的应用程序,则确定音频播放形式为扬声器播放。例如,若触发音频播放的应用程序为电话或者社交应用等,则确定为扬声器播放。当然,所述设定第一类应用程序可根据用户的需求进行设定,例如也可以将社交应用例如微信、微博或者QQ等应用设置为设定第一类应用程序。If the application program that triggers the audio playback is an application program other than the set first type application program, then it is determined that the audio playback form is speaker playback. For example, if the application program that triggers the audio playback is a phone or a social application, it is determined to be played by the speaker. Of course, the setting of the first type of application program can be set according to the needs of the user, for example, social applications such as WeChat, Weibo or QQ can also be set as the setting of the first type of application program.

图4给出了本发明实施例提供的另一种音频播放控制方法的流程图。其中,所述音频播放模式为音频播放音量,本实施例可适用于根据移动终端的当前位置和运行的应用程序对移动终端的音频播放音量进行控制的情况。如图4所示,本实施例提供的音频播放控制方法包括以下步骤:Fig. 4 shows a flowchart of another audio playback control method provided by an embodiment of the present invention. Wherein, the audio playback mode is audio playback volume, and this embodiment is applicable to the situation where the audio playback volume of the mobile terminal is controlled according to the current location of the mobile terminal and the running application program. As shown in Figure 4, the audio playback control method provided by this embodiment includes the following steps:

步骤301、在检测到音频播放事件被触发时,确定移动终端的当前位置和触发所述音频播放事件的应用程序。Step 301, when it is detected that an audio play event is triggered, determine the current location of the mobile terminal and the application that triggers the audio play event.

步骤302、判断所述当前位置是否为第一设定位置,若是,则执行步骤203,否则执行步骤204。Step 302 , judging whether the current location is the first set location, if yes, execute step 203 , otherwise execute step 204 .

若当前位置为第一设定位置时,则执行步骤303,若当前位置为除所述第一设定位置之外的其他位置,则执行步骤304。If the current position is the first set position, execute step 303, and if the current position is other than the first set position, execute step 304.

步骤303、确定音频播放音量为第一播放音量。Step 303. Determine the audio playback volume as the first playback volume.

若所述当前位置为对音频播放音量没有要求的场所,则确定音频播放音量为第一播放音量。所述第一播放音量可以为一个较大的播放音量或者确定为默认播放音量。If the current location is a place that does not require audio playback volume, then determine the audio playback volume as the first playback volume. The first playback volume may be a higher playback volume or be determined as a default playback volume.

步骤304、根据所述应用程序,确定音频播放音量。Step 304. Determine the audio playback volume according to the application program.

若当前位置为其他位置,则根据触发音频播放事件的应用程序,来确定音频播放音量。例如,根据所述应用程序的类型或者运行内存占用率或者优先级,确定音频播放形式。If the current location is another location, the audio playback volume is determined according to the application that triggers the audio playback event. For example, the audio playback form is determined according to the type of the application program or the running memory usage rate or priority.

本实施例提供的方法,通过在检测到音频播放事件被触发时,确定移动终端的当前位置和触发所述音频播放事件的应用程序,根据所述当前位置和所述应用程序,确定音频播放音量,控制所述移动终端按照所述音频播放音量进行音频的播放,可以根据用户的位置和运行的应用程序合理的控制音频的播放音量,更加贴合移送终端的当前运行状态进行音频播放音量的控制。The method provided in this embodiment determines the current location of the mobile terminal and the application program that triggers the audio playback event when it is detected that the audio playback event is triggered, and determines the audio playback volume according to the current location and the application program , controlling the mobile terminal to play audio according to the audio playback volume, the audio playback volume can be reasonably controlled according to the user's location and the running application program, and the audio playback volume can be controlled more in line with the current operating state of the transfer terminal .

在上述实施例的基础上,所述步骤304可以包括:判断所述应用程序是否为设定第二类应用程序,若是,则确定音频播放音量为第二播放音量,否则确定音频播放音量为第三播放音量。其中,所述第三播放音量大于所述第二播放音量且小于所述第一播放音量。On the basis of the above-mentioned embodiment, the step 304 may include: judging whether the application program is a set second type application program, if so, determining the audio playback volume as the second playback volume, otherwise determining the audio playback volume as the second playback volume Three playback volume. Wherein, the third playback volume is greater than the second playback volume and smaller than the first playback volume.

其中,所述设定第二类应用程序为预先设定的休闲娱乐型的应用程序,可以与所述设定第一类应用程序相同或者不同。当移动终端在除第一设定位置之外的其他位置,且触发音频播放的应用程序为设定第二类应用程序时,确定音频播放音量为第二播放音量,所述第二播放音量小于所述第一播放音量,这样设置的原因是:在移动终端处于对音频播放音量有要求追求安静环境的场所下,若触发音频播放的应用程序为娱乐休闲类型的应用程序时,自动确定音频播放音量为较小的第二播放音量,这样可以避免这类应用程序的音频通过扬声器播放而扰乱安静环境的尴尬,且可以以较小的第二播放音量提醒用户该音频的播放,更加贴合用户的自身需求,提升了用户的体验满意度。Wherein, the setting of the second type of application program as a preset leisure and entertainment type application program may be the same as or different from the setting of the first type of application program. When the mobile terminal is in a position other than the first set position, and the application program that triggers the audio playback is set to the second type of application program, it is determined that the audio playback volume is the second playback volume, and the second playback volume is less than The reason for setting the first playback volume in this way is: when the mobile terminal is in a place where the volume of the audio playback is required to pursue a quiet environment, if the application program that triggers the audio playback is an application program of the entertainment and leisure type, the audio playback volume will be automatically determined. The volume is a smaller second playback volume, which can avoid the embarrassment of disturbing the quiet environment when the audio of such applications is played through the speaker, and can remind the user of the audio playback at a smaller second playback volume, which is more suitable for the user improve user experience satisfaction.

若触发音频播放的应用程序为除设定第二类应用程序之外的应用程序,则确定音频播放音量为第三播放音量。例如,若触发音频播放的应用程序为电话或者社交应用等,则以第三播放音量进行音频的播放。当然,所述设定第二类应用程序可根据用户的需求进行设定,例如也可以将社交应用例如微信、微博或者QQ等应用设置为设定第二类应用程序。If the application program that triggers the audio playback is an application program other than the second type of application program, then the audio playback volume is determined to be the third playback volume. For example, if the application that triggers the audio playing is a phone or a social application, the audio is played at the third volume. Of course, the setting of the second type of application program can be set according to the needs of the user, for example, social applications such as WeChat, Weibo or QQ can also be set as the setting of the second type of application program.

图5给出了本发明实施例提供的另一种音频播放控制方法的流程图。其中,所述音频播放模式为音频播放模式为音频播放形式和音频播放音量,本实施例可适用于根据移动终端的当前位置和运行的应用程序对移动终端的音频播放形式和音频播放音量进行控制的情况。如图5所示,本实施例提供的音频播放控制方法包括以下步骤:FIG. 5 shows a flow chart of another audio playback control method provided by an embodiment of the present invention. Wherein, the audio playback mode is the audio playback mode and the audio playback volume, and this embodiment is applicable to controlling the audio playback form and the audio playback volume of the mobile terminal according to the current location of the mobile terminal and the running application program Case. As shown in Figure 5, the audio playback control method provided by this embodiment includes the following steps:

步骤401、在检测到音频播放事件被触发时,确定移动终端的当前位置和触发所述音频播放事件的应用程序。Step 401, when it is detected that an audio play event is triggered, determine the current location of the mobile terminal and the application that triggers the audio play event.

步骤402、判断所述当前位置是否为第一设定位置,若是,则执行步骤403,否则执行步骤404。Step 402 , judging whether the current location is the first set location, if yes, execute step 403 , otherwise execute step 404 .

若当前位置为第一设定位置时,则执行步骤403,若当前位置为除所述第一设定位置之外的其他位置,则执行步骤404。If the current position is the first set position, perform step 403 , and if the current position is other than the first set position, perform step 404 .

步骤403、确定所述音频播放形式为耳机播放形式或者扬声器播放形式,并确定音频播放音量为第一播放音量。Step 403. Determine that the audio playback format is an earphone playback format or a speaker playback format, and determine that the audio playback volume is the first playback volume.

若所述当前位置为对音频播放音量没有要求的场所即第一设定位置,则可确定所述音频播放形式为耳机播放形式或者扬声器播放形式,并确定音频播放音量为第一播放音量。If the current location is a place that does not require audio playback volume, that is, the first set location, then the audio playback format can be determined to be earphone playback or speaker playback, and the audio playback volume can be determined to be the first playback volume.

步骤404、判断所述应用程序是否为设定第三类应用程序,若是,则执行步骤405,否则执行步骤406。Step 404 , judging whether the application program is a set third type application program, if yes, execute step 405 , otherwise execute step 406 .

其中,所述设定第三类应用程序为预先设定的休闲娱乐型的应用程序,可以与所述设定第一类应用程序相同或者不同。Wherein, the setting of the third type of application program is a preset leisure and entertainment application program, which may be the same as or different from the setting of the first type of application program.

步骤405、确定音频播放形式为耳机播放形式,并确定音频播放音量为第一播放音量或者第四播放音量。Step 405: Determine the audio playback format as the earphone playback format, and determine the audio playback volume as the first playback volume or the fourth playback volume.

若当前位置为对音频播放音量有要求的其他位置,且触发音频播放的应用程序为设定第三类应用程序,则可确定音频播放形式为耳机播放形式,并确定音频播放音量为第一播放音量或者第四播放音量。其中,所述音频播放音量可以为默认的第一播放音量,即以耳机的形式和第一播放音量进行音频的播放,所述播放音量还可以为用户设定的与触发音频播放的应用程序对应的第四播放音量。If the current location is another location that requires audio playback volume, and the application that triggers the audio playback is a third-class application, then the audio playback format can be determined to be the headset playback format, and the audio playback volume can be determined to be the first playback volume or fourth playback volume. Wherein, the audio playback volume can be the default first playback volume, that is, the audio is played in the form of headphones and the first playback volume, and the playback volume can also be set by the user to correspond to the application that triggers the audio playback fourth playback volume.

步骤406、确定音频播放形式为扬声器播放形式,并确定播放音量为第五播放音量。Step 406: Determine that the audio playback format is a speaker playback format, and determine that the playback volume is a fifth playback volume.

若当前位置为对音频播放音量有要求的其他位置,且触发音频播放的应用程序不是设定第三类应用程序,例如触发音频播放的应用程序为电话,则可确定音频播放形式为扬声器播放,并确定播放音量为第五播放音量,其中,所述第五播放音量可以小于第一播放音量。If the current location is another location that requires the audio playback volume, and the application that triggers the audio playback is not the third type of application, for example, the application that triggers the audio playback is a phone, then the audio playback format can be determined to be speaker playback, And determine the playback volume as the fifth playback volume, wherein the fifth playback volume may be smaller than the first playback volume.

本实施例提供的方法,通过在检测到音频播放事件被触发时,确定移动终端的当前位置和触发所述音频播放事件的应用程序,根据所述当前位置和所述应用程序,确定音频播放形式和音频播放音量,控制所述移动终端按照所述音频播放形式和所述音频播放音量进行音频的播放,可以根据用户的位置和运行的应用程序合理的控制音频的播放形式和音量,更加贴合移送终端的当前运行状态进行音频播放形式和音量的控制。The method provided in this embodiment determines the current location of the mobile terminal and the application program that triggers the audio playback event when it is detected that the audio playback event is triggered, and determines the audio playback form according to the current location and the application program and audio playback volume, control the mobile terminal to play audio according to the audio playback form and the audio playback volume, and can reasonably control the audio playback form and volume according to the user's location and running applications, which is more suitable The current operating state of the mobile terminal is used to control the audio playback form and volume.

图6为本发明实施例提供的一种音频播放控制装置的结构示意图,该装置可由软件和/或硬件实现,集成在移动终端中。如图6所示,该装置包括位置和应用程序确定模块51、音频播放模式确定模块52和音频播放控制模块53。FIG. 6 is a schematic structural diagram of an audio playback control device according to an embodiment of the present invention. The device can be implemented by software and/or hardware and integrated in a mobile terminal. As shown in FIG. 6 , the device includes a location and application determination module 51 , an audio playback mode determination module 52 and an audio playback control module 53 .

所述位置和应用程序确定模块51,用于在检测到音频播放事件被触发时,确定移动终端的当前位置和触发所述音频播放事件的应用程序;The position and application program determination module 51 is configured to determine the current location of the mobile terminal and the application program that triggers the audio playback event when it is detected that the audio playback event is triggered;

所述音频播放模式确定模块52,用于根据所述当前位置和所述应用程序,确定音频播放模式;The audio playback mode determination module 52 is configured to determine an audio playback mode according to the current location and the application program;

所述音频播放控制模块53,用于控制所述移动终端按照所述音频播放模式进行音频的播放。The audio playback control module 53 is configured to control the mobile terminal to play audio according to the audio playback mode.

本实施例提供的装置,通过在检测到音频播放事件被触发时,确定移动终端的当前位置和触发所述音频播放事件的应用程序,根据所述当前位置和所述应用程序,确定音频播放模式,控制所述移动终端按照所述音频播放模式进行音频的播放,可以根据移动终端的位置和运行的应用程序合理的控制音频的播放。The device provided in this embodiment determines the current location of the mobile terminal and the application program that triggers the audio playback event when it detects that the audio playback event is triggered, and determines the audio playback mode according to the current location and the application program Controlling the mobile terminal to play audio according to the audio playing mode, the audio playing can be reasonably controlled according to the location of the mobile terminal and the running application program.

在上述实施例的基础上,所述音频播放模式包括音频播放形式和/或音频播放音量,所述音频播放形式包括耳机播放形式和扬声器播放形式。On the basis of the foregoing embodiments, the audio playback mode includes an audio playback format and/or an audio playback volume, and the audio playback format includes an earphone playback format and a speaker playback format.

在上述实施例的基础上,所述音频播放模式为音频播放形式,所述音频播放模式确定模块包括:On the basis of the foregoing embodiments, the audio playback mode is in the form of audio playback, and the audio playback mode determination module includes:

第一音频播放形式确定单元,用于若所述当前位置为第一设定位置,则确定所述音频播放形式为耳机播放形式或者扬声器播放形式;A first audio playback format determining unit, configured to determine that the audio playback format is an earphone playback format or a speaker playback format if the current position is the first set position;

第二音频播放形式确定单元,若所述当前位置为除所述第一设定位置之外的其他位置,则根据所述应用程序,确定音频播放形式。The second audio playback format determining unit is configured to determine an audio playback format according to the application program if the current location is other than the first set location.

在上述实施例的基础上,所述第二音频播放形式确定单元根据所述应用程序,确定音频播放形式包括:On the basis of the above embodiments, the second audio playback form determination unit determines the audio playback form according to the application program includes:

若所述应用程序为设定第一类应用程序,则确定音频播放形式为耳机播放形式;If the application program is set as the first type of application program, it is determined that the audio playback form is the earphone playback form;

否则,确定音频播放形式为扬声器播放形式。Otherwise, it is determined that the audio playback mode is a speaker playback mode.

在上述实施例的基础上,所述音频播放模式为音频播放音量,所述音频播放模式确定模块包括:On the basis of the foregoing embodiments, the audio playback mode is audio playback volume, and the audio playback mode determination module includes:

第一播放音量确定单元,用于若所述当前位置为第一设定位置,则确定音频播放音量为第一播放音量;A first playback volume determination unit, configured to determine that the audio playback volume is the first playback volume if the current position is the first set position;

第二播放音量确定单元,用于若所述当前位置为除所述第一设定位置之外的其他位置,则根据所述应用程序,确定音频播放音量。The second playback volume determining unit is configured to determine the audio playback volume according to the application program if the current location is other than the first set location.

在上述实施例的基础上,所述第二播放音量确定单元根据所述应用程序,确定音频播放音量包括:On the basis of the above embodiments, the second playback volume determination unit determines the audio playback volume according to the application program includes:

若所述应用程序为设定第二类应用程序,则确定音频播放音量为第二播放音量;If the application program is a set second type application program, then determine the audio playback volume as the second playback volume;

否则,确定音频播放音量为第三播放音量,所述第三播放音量大于所述第二播放音量且小于所述第一播放音量。Otherwise, determine that the audio playback volume is a third playback volume, and the third playback volume is greater than the second playback volume and smaller than the first playback volume.

在上述实施例的基础上,所述音频播放模式为音频播放形式和音频播放音量,所述音频播放模式确定模块具体用于:On the basis of the foregoing embodiments, the audio playback mode is an audio playback form and an audio playback volume, and the audio playback mode determination module is specifically used for:

若所述当前位置为第一设定位置,则确定所述音频播放形式为耳机播放形式或者扬声器播放形式,并确定音频播放音量为第一播放音量;If the current position is the first set position, then determine that the audio playback form is an earphone playback form or a speaker playback form, and determine that the audio playback volume is the first playback volume;

若所述当前位置为除所述第一设定位置之外的其他位置,则判断所述应用程序是否为设定第三类应用程序:If the current location is a location other than the first set location, it is determined whether the application is a set third type of application:

若所述应用程序为设定第三类应用程序,则确定音频播放形式为耳机播放形式,并确定音频播放音量为第一播放音量或者第四播放音量;If the application program is to set the third type of application program, it is determined that the audio playback form is the earphone playback form, and the audio playback volume is determined to be the first playback volume or the fourth playback volume;

否则,确定音频播放形式为扬声器播放形式,并确定播放音量为第五播放音量。Otherwise, determine that the audio playback form is a speaker playback form, and determine that the playback volume is the fifth playback volume.

在上述实施例的基础上,所述装置还包括:On the basis of the foregoing embodiments, the device also includes:

音频播放模式调整模块,用于在检测到用户的音频播放模式调整指令时,根据所述音频播放调整指令调整音频播放模式。The audio playback mode adjustment module is configured to adjust the audio playback mode according to the audio playback adjustment instruction when the user's audio playback mode adjustment instruction is detected.

本发明实施例还提供一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行一种音频播放控制方法,该方法包括:An embodiment of the present invention also provides a storage medium containing computer-executable instructions, the computer-executable instructions are used to execute an audio playback control method when executed by a computer processor, the method comprising:

在检测到音频播放事件被触发时,确定移动终端的当前位置和触发所述音频播放事件的应用程序;When detecting that the audio playback event is triggered, determine the current location of the mobile terminal and the application program that triggers the audio playback event;

根据所述当前位置和所述应用程序,确定音频播放模式;determining an audio playback mode according to the current location and the application;

控制所述移动终端按照所述音频播放模式进行音频的播放。controlling the mobile terminal to play audio according to the audio playing mode.

存储介质——任何的各种类型的存储器设备或存储设备。术语“存储介质”旨在包括:安装介质,例如CD-ROM、软盘或磁带装置;计算机系统存储器或随机存取存储器,诸如DRAM、DDR RAM、SRAM、EDO RAM,兰巴斯(Rambus)RAM等;非易失性存储器,诸如闪存、磁介质(例如硬盘或光存储);寄存器或其它相似类型的存储器元件等。存储介质可以还包括其它类型的存储器或其组合。另外,存储介质可以位于程序在其中被执行的第一计算机系统中,或者可以位于不同的第二计算机系统中,第二计算机系统通过网络(诸如因特网)连接到第一计算机系统。第二计算机系统可以提供程序指令给第一计算机用于执行。术语“存储介质”可以包括可以驻留在不同位置中(例如在通过网络连接的不同计算机系统中)的两个或更多存储介质。存储介质可以存储可由一个或多个处理器执行的程序指令(例如具体实现为计算机程序)。storage medium - any of various types of memory devices or storage devices. The term "storage medium" is intended to include: installation media such as CD-ROMs, floppy disks or tape drives; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Rambus RAM, etc. ; non-volatile memory, such as flash memory, magnetic media (eg hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. Also, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network such as the Internet. The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations, such as in different computer systems connected by a network. The storage medium may store program instructions (eg embodied as computer programs) executable by one or more processors.

当然,本发明实施例所提供的一种包含计算机可执行指令的存储介质,其计算机可执行指令不限于如上所述的音频播放控制操作,还可以执行本发明任意实施例所提供的音频播放控制方法中的相关操作。Certainly, a storage medium containing computer-executable instructions provided by an embodiment of the present invention, the computer-executable instructions are not limited to the above-mentioned audio playback control operations, and may also perform the audio playback control provided by any embodiment of the present invention. Related operations in the method.

本发明实施例提供了一种移动终端,该移动终端可以包括本发明任意实施例提供的音频播放控制装置。图7为本发明实施例提供的一种移动终端的结构示意图,如图7所示,该移动终端可以包括:存储器601、中央处理器(Central Processing Unit,CPU)602(又称处理器,以下简称CPU)、所述存储器601,用于存储可执行程序代码;所述处理器602通过读取所述存储器601中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于执行:在检测到音频播放事件被触发时,确定移动终端的当前位置和触发所述音频播放事件的应用程序;根据所述当前位置和所述应用程序,确定音频播放模式;控制所述移动终端按照所述音频播放模式进行音频的播放。An embodiment of the present invention provides a mobile terminal, and the mobile terminal may include the audio playback control device provided in any embodiment of the present invention. FIG. 7 is a schematic structural diagram of a mobile terminal provided by an embodiment of the present invention. As shown in FIG. 7, the mobile terminal may include: a memory 601, a central processing unit (Central Processing Unit, CPU) 602 (also known as a processor, hereinafter Referred to as CPU), the memory 601 is used to store executable program codes; the processor 602 runs the program corresponding to the executable program codes by reading the executable program codes stored in the memory 601, so as to For execution: when it is detected that the audio playback event is triggered, determine the current location of the mobile terminal and the application program that triggers the audio playback event; determine the audio playback mode according to the current location and the application program; control the The mobile terminal performs audio playback according to the audio playback mode.

所述移动终端还包括:外设接口603、RF(Radio Frequency,射频)电路605、音频电路606、扬声器611、电源管理芯片608、输入/输出(I/O)子系统609、触摸屏612、其他输入/控制设备610以及外部端口604,这些部件通过一个或多个通信总线或信号线607来通信。The mobile terminal also includes: peripheral interface 603, RF (Radio Frequency, radio frequency) circuit 605, audio circuit 606, speaker 611, power management chip 608, input/output (I/O) subsystem 609, touch screen 612, other Input/control devices 610 and external ports 604 , these components communicate via one or more communication buses or signal lines 607 .

应该理解的是,图示移动终端600仅仅是移动终端的一个范例,并且移动终端600可以具有比图中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。It should be understood that the illustrated mobile terminal 600 is only an example of a mobile terminal, and the mobile terminal 600 may have more or fewer components than those shown in the figure, and two or more components may be combined, Or can have a different component configuration. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and/or application specific integrated circuits.

下面就本实施例提供的用于控制音频播放的移动终端进行详细的描述,该移动终端以手机为例。The mobile terminal for controlling audio playback provided in this embodiment will be described in detail below, and the mobile terminal is taken as an example.

存储器601,所述存储器601可以被CPU602、外设接口603等访问,所述存储器601可以包括高速随机存取存储器,还可以包括非易失性存储器,例如一个或多个磁盘存储器件、闪存器件、或其他易失性固态存储器件。Memory 601, the memory 601 can be accessed by the CPU 602, the peripheral interface 603, etc., the memory 601 can include a high-speed random access memory, and can also include a non-volatile memory, such as one or more disk storage devices, flash memory devices , or other volatile solid-state storage devices.

外设接口603,所述外设接口603可以将设备的输入和输出外设连接到CPU502和存储器601。Peripheral interface 603 , which can connect the input and output peripherals of the device to CPU 502 and memory 601 .

I/O子系统609,所述I/O子系统609可以将设备上的输入输出外设,例如触摸屏612和其他输入/控制设备610,连接到外设接口603。I/O子系统609可以包括显示控制器6091和用于控制其他输入/控制设备610的一个或多个输入控制器6092。其中,一个或多个输入控制器6092从其他输入/控制设备610接收电信号或者向其他输入/控制设备610发送电信号,其他输入/控制设备610可以包括物理按钮(按压按钮、摇臂按钮等)、拨号盘、滑动开关、操纵杆、点击滚轮。值得说明的是,输入控制器6092可以与以下任一个连接:键盘、红外端口、USB接口以及诸如鼠标的指示设备。The I/O subsystem 609 , the I/O subsystem 609 can connect input and output peripherals on the device, such as a touch screen 612 and other input/control devices 610 , to the peripheral interface 603 . I/O subsystem 609 may include a display controller 6091 and one or more input controllers 6092 for controlling other input/control devices 610 . Among them, one or more input controllers 6092 receive electrical signals from or send electrical signals to other input/control devices 610, which may include physical buttons (push buttons, rocker buttons, etc.) ), dials, slide switches, joysticks, click wheels. It is worth noting that the input controller 6092 can be connected to any of the following: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.

触摸屏612,所述触摸屏612是用户终端与用户之间的输入接口和输出接口,将可视输出显示给用户,可视输出可以包括图形、文本、图标、视频等。A touch screen 612, the touch screen 612 is an input interface and an output interface between the user terminal and the user, and displays visual output to the user. The visual output may include graphics, text, icons, videos, and the like.

I/O子系统609中的显示控制器6091从触摸屏612接收电信号或者向触摸屏612发送电信号。触摸屏612检测触摸屏上的接触,显示控制器6091将检测到的接触转换为与显示在触摸屏612上的用户界面对象的交互,即实现人机交互,显示在触摸屏612上的用户界面对象可以是运行游戏的图标、联网到相应网络的图标等。值得说明的是,设备还可以包括光鼠,光鼠是不显示可视输出的触摸敏感表面,或者是由触摸屏形成的触摸敏感表面的延伸。The display controller 6091 in the I/O subsystem 609 receives electrical signals from the touch screen 612 or sends electrical signals to the touch screen 612 . The touch screen 612 detects the contact on the touch screen, and the display controller 6091 converts the detected contact into an interaction with the user interface object displayed on the touch screen 612, that is, realizes human-computer interaction, and the user interface object displayed on the touch screen 612 can be a running Icons for games, icons for networking to appropriate networks, etc. It is worth noting that the device may also include an optical mouse, which is a touch-sensitive surface that does not display visual output, or that is an extension of a touch-sensitive surface formed by a touchscreen.

RF电路605,主要用于建立手机与无线网络(即网络侧)的通信,实现手机与无线网络的数据接收和发送。例如收发短信息、电子邮件等。具体地,RF电路605接收并发送RF信号,RF信号也称为电磁信号,RF电路605将电信号转换为电磁信号或将电磁信号转换为电信号,并且通过该电磁信号与通信网络以及其他设备进行通信。RF电路605可以包括用于执行这些功能的已知电路,其包括但不限于天线系统、RF收发机、一个或多个放大器、调谐器、一个或多个振荡器、数字信号处理器、CODEC(COder-DECoder,编译码器)芯片组、用户标识模块(Subscriber Identity Module,SIM)等等。The RF circuit 605 is mainly used to establish communication between the mobile phone and the wireless network (that is, the network side), and realize data reception and transmission between the mobile phone and the wireless network. Such as sending and receiving short messages, e-mails, etc. Specifically, the RF circuit 605 receives and sends RF signals, which are also called electromagnetic signals, and the RF circuit 605 converts electrical signals into electromagnetic signals or converts electromagnetic signals into electrical signals, and communicates with communication networks and other devices through the electromagnetic signals to communicate. RF circuitry 605 may include known circuitry for performing these functions including, but not limited to, an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC ( COder-DECoder, Codec) Chipset, Subscriber Identity Module (Subscriber Identity Module, SIM) and so on.

音频电路606,主要用于从外设接口603接收音频数据,将该音频数据转换为电信号,并且将该电信号发送给扬声器611。The audio circuit 606 is mainly used to receive audio data from the peripheral interface 603 , convert the audio data into electrical signals, and send the electrical signals to the speaker 611 .

扬声器611,用于将手机通过RF电路605从无线网络接收的语音信号,还原为声音并向用户播放该声音。The speaker 611 is used to restore the voice signal received by the mobile phone from the wireless network through the RF circuit 605 into sound and play the sound to the user.

电源管理芯片608,用于为CPU602、I/O子系统及外设接口603所连接的硬件进行供电及电源管理。The power management chip 608 is used for power supply and power management for the hardware connected to the CPU 602 , the I/O subsystem and the peripheral interface 603 .

上述移动终端可执行本发明任意实施例所提供的方法,具备执行方法相应的功能模块,本实施例提供的移动终端,通过在检测到音频播放事件被触发时,确定移动终端的当前位置和触发所述音频播放事件的应用程序,根据所述当前位置和所述应用程序,确定音频播放模式,控制所述移动终端按照所述音频播放模式进行音频的播放,可以根据移动终端的位置和运行的应用程序合理的控制音频的播放。The above-mentioned mobile terminal can execute the method provided by any embodiment of the present invention, and has corresponding functional modules for executing the method. The mobile terminal provided by this embodiment determines the current location of the mobile terminal and triggers the triggering event when an audio playback event is detected. The application program of the audio playback event determines the audio playback mode according to the current location and the application program, and controls the mobile terminal to play audio according to the audio playback mode. The application reasonably controls the playback of the audio.

上述仅为本发明的较佳实施例及所运用的技术原理。本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行的各种明显变化、重新调整及替代均不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由权利要求的范围决定。The foregoing are only preferred embodiments of the present invention and the applied technical principles. The present invention is not limited to the specific embodiments described here, and various obvious changes, readjustments and substitutions that can be made by those skilled in the art will not depart from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present invention, and the present invention The scope is determined by the scope of the claims.

Claims (11)

  1. A kind of 1. audio play control method, it is characterised in that including:
    When detecting that audio broadcast event is triggered, determine the current location of mobile terminal and trigger the audio broadcast event Application program;
    According to the current location and the application program, audio-frequency play mode is determined;
    The mobile terminal is controlled to carry out the broadcasting of audio according to the audio-frequency play mode.
  2. 2. according to the method for claim 1, it is characterised in that the audio-frequency play mode include audio play form and/ Or audio broadcast sound volume, the audio, which plays form, includes earphone broadcasting form and loudspeaker broadcasting form.
  3. 3. according to the method for claim 2, it is characterised in that the audio-frequency play mode is that audio plays form, described According to the current location and the application program, determine that audio-frequency play mode includes:
    If the current location is the first setting position, it is determined that it is that earphone plays form or raised one's voice that the audio, which plays form, Device plays form;
    If the current location is the other positions in addition to first setting position, according to the application program, it is determined that Audio plays form.
  4. 4. according to the method for claim 3, it is characterised in that it is described according to the application program, determine that audio plays shape Formula includes:
    If the application program is setting first kind application program, it is determined that it is that earphone plays form that audio, which plays form,;
    Otherwise, it determines it is that loudspeaker plays form that audio, which plays form,.
  5. 5. according to the method for claim 2, it is characterised in that the audio-frequency play mode is audio broadcast sound volume, described According to the current location and the application program, determine that audio-frequency play mode includes:
    If the current location is the first setting position, it is determined that audio broadcast sound volume is the first broadcast sound volume;
    If the current location is the other positions in addition to first setting position, according to the application program, it is determined that Audio broadcast sound volume.
  6. 6. according to the method for claim 5, it is characterised in that it is described according to the application program, determine that audio plays sound Amount includes:
    If the application program is the second class application program of setting, it is determined that audio broadcast sound volume is the second broadcast sound volume;
    Otherwise, it determines audio broadcast sound volume is the 3rd broadcast sound volume, the 3rd broadcast sound volume is more than second broadcast sound volume And it is less than first broadcast sound volume.
  7. 7. according to the method for claim 2, it is characterised in that the audio-frequency play mode is that audio plays form and audio Broadcast sound volume, it is described according to the current location and the application program, determine that audio-frequency play mode includes:
    If the current location is the first setting position, it is determined that it is that earphone plays form or raised one's voice that the audio, which plays form, Device plays form, and determines that audio broadcast sound volume is the first broadcast sound volume;
    If the current location is other positions in addition to first setting position, judge the application program whether be Set the 3rd class application program:
    If the application program is the 3rd class application program of setting, it is determined that it is that earphone plays form that audio, which plays form, and really Accordatura frequency broadcast sound volume is the first broadcast sound volume or the 4th broadcast sound volume;
    Otherwise, it determines it is that loudspeaker plays form that audio, which plays form, and determine that broadcast sound volume is the 5th broadcast sound volume.
  8. 8. the method according to claim requires any one of 1-7, it is characterised in that also include:
    When detecting the audio-frequency play mode adjust instruction of user, adjust instruction adjustment audio is played according to the audio and played Pattern.
  9. A kind of 9. audio broadcast control device, it is characterised in that including:
    Position and application program determining module, for when detecting that audio broadcast event is triggered, determining working as mobile terminal Front position and the application program for triggering the audio broadcast event;
    Audio-frequency play mode determining module, for according to the current location and the application program, determining audio-frequency play mode;
    Audio play control module, for controlling broadcasting of the mobile terminal according to audio-frequency play mode progress audio.
  10. 10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is by processor The audio play control method as described in any in claim 1-8 is realized during execution.
  11. 11. a kind of mobile terminal, including memory, processor and storage are on a memory and the calculating that can run on a processor Machine program, it is characterised in that realized described in the computing device during computer program as described in any in claim 1-8 Audio play control method.
CN201710710703.7A 2017-08-18 2017-08-18 Audio playback control method, device, storage medium and mobile terminal Active CN107562405B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710710703.7A CN107562405B (en) 2017-08-18 2017-08-18 Audio playback control method, device, storage medium and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710710703.7A CN107562405B (en) 2017-08-18 2017-08-18 Audio playback control method, device, storage medium and mobile terminal

Publications (2)

Publication Number Publication Date
CN107562405A true CN107562405A (en) 2018-01-09
CN107562405B CN107562405B (en) 2020-09-22

Family

ID=60976344

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710710703.7A Active CN107562405B (en) 2017-08-18 2017-08-18 Audio playback control method, device, storage medium and mobile terminal

Country Status (1)

Country Link
CN (1) CN107562405B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108512990A (en) * 2018-02-08 2018-09-07 上海爱优威软件开发有限公司 A kind of terminal operation method and terminal device based on audio adjusting
CN109445740A (en) * 2018-09-30 2019-03-08 Oppo广东移动通信有限公司 Audio playing method and device, electronic equipment and storage medium
CN110032356A (en) * 2019-03-29 2019-07-19 联想(北京)有限公司 Information processing method and electronic equipment
WO2020010755A1 (en) * 2018-07-10 2020-01-16 南昌黑鲨科技有限公司 Audio playback and acquisition control method and system, and computer readable storage medium
WO2020048175A1 (en) * 2018-09-04 2020-03-12 Oppo广东移动通信有限公司 Sound effect processing method, device, electronic device and storage medium
WO2020097914A1 (en) * 2018-11-16 2020-05-22 深圳市欢太科技有限公司 Audio mode adjustment method and apparatus, and electronic device
WO2020124541A1 (en) * 2018-12-21 2020-06-25 深圳市欢太科技有限公司 Audio processing method and apparatus, computer readable storage medium, and electronic device
CN111654743A (en) * 2020-05-27 2020-09-11 海信视像科技股份有限公司 Audio playing method and display device
CN112394901A (en) * 2020-11-24 2021-02-23 维沃移动通信有限公司 Audio output mode adjusting method and device and electronic equipment
CN113296728A (en) * 2021-05-24 2021-08-24 Oppo广东移动通信有限公司 Audio playing method and device, electronic equipment and storage medium
CN114374767A (en) * 2022-01-17 2022-04-19 Oppo广东移动通信有限公司 Volume adjustment method, volume adjustment device, electronic device and storage medium
CN114822506A (en) * 2022-04-15 2022-07-29 广州易而达科技股份有限公司 A message broadcasting method, device, mobile terminal and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104427075A (en) * 2013-08-26 2015-03-18 深圳富泰宏精密工业有限公司 Volume adjusting system and method
CN105025415A (en) * 2015-06-08 2015-11-04 广东欧珀移动通信有限公司 A sound effect switching method and user terminal
CN105872746A (en) * 2015-11-26 2016-08-17 乐视网信息技术(北京)股份有限公司 Muting method according to use scenes and terminal device
CN106406803A (en) * 2016-08-31 2017-02-15 青岛海信移动通信技术股份有限公司 Volume control method and device of terminal application

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104427075A (en) * 2013-08-26 2015-03-18 深圳富泰宏精密工业有限公司 Volume adjusting system and method
CN105025415A (en) * 2015-06-08 2015-11-04 广东欧珀移动通信有限公司 A sound effect switching method and user terminal
CN105872746A (en) * 2015-11-26 2016-08-17 乐视网信息技术(北京)股份有限公司 Muting method according to use scenes and terminal device
CN106406803A (en) * 2016-08-31 2017-02-15 青岛海信移动通信技术股份有限公司 Volume control method and device of terminal application

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108512990A (en) * 2018-02-08 2018-09-07 上海爱优威软件开发有限公司 A kind of terminal operation method and terminal device based on audio adjusting
WO2020010755A1 (en) * 2018-07-10 2020-01-16 南昌黑鲨科技有限公司 Audio playback and acquisition control method and system, and computer readable storage medium
WO2020048175A1 (en) * 2018-09-04 2020-03-12 Oppo广东移动通信有限公司 Sound effect processing method, device, electronic device and storage medium
CN109445740B (en) * 2018-09-30 2022-05-20 Oppo广东移动通信有限公司 Audio playback method, device, electronic device and storage medium
CN109445740A (en) * 2018-09-30 2019-03-08 Oppo广东移动通信有限公司 Audio playing method and device, electronic equipment and storage medium
WO2020097914A1 (en) * 2018-11-16 2020-05-22 深圳市欢太科技有限公司 Audio mode adjustment method and apparatus, and electronic device
CN112771495A (en) * 2018-11-16 2021-05-07 深圳市欢太科技有限公司 Audio mode adjusting method and device and electronic equipment
CN112771495B (en) * 2018-11-16 2024-06-18 深圳市欢太科技有限公司 Method, device and electronic equipment for adjusting audio mode
WO2020124541A1 (en) * 2018-12-21 2020-06-25 深圳市欢太科技有限公司 Audio processing method and apparatus, computer readable storage medium, and electronic device
CN110032356A (en) * 2019-03-29 2019-07-19 联想(北京)有限公司 Information processing method and electronic equipment
CN111654743A (en) * 2020-05-27 2020-09-11 海信视像科技股份有限公司 Audio playing method and display device
CN112394901A (en) * 2020-11-24 2021-02-23 维沃移动通信有限公司 Audio output mode adjusting method and device and electronic equipment
CN113296728A (en) * 2021-05-24 2021-08-24 Oppo广东移动通信有限公司 Audio playing method and device, electronic equipment and storage medium
CN113296728B (en) * 2021-05-24 2025-01-14 Oppo广东移动通信有限公司 Audio playback method, device, electronic device and storage medium
CN114374767A (en) * 2022-01-17 2022-04-19 Oppo广东移动通信有限公司 Volume adjustment method, volume adjustment device, electronic device and storage medium
CN114822506A (en) * 2022-04-15 2022-07-29 广州易而达科技股份有限公司 A message broadcasting method, device, mobile terminal and storage medium

Also Published As

Publication number Publication date
CN107562405B (en) 2020-09-22

Similar Documents

Publication Publication Date Title
CN107562405B (en) Audio playback control method, device, storage medium and mobile terminal
US11251763B2 (en) Audio signal adjustment method, storage medium, and terminal
CN107509153B (en) Detection method and device of sound playing device, storage medium and terminal
CN107580113B (en) Prompting method, prompting device, storage medium and terminal
CA2740581C (en) System and method for resuming media
CN107371102B (en) Audio playing volume control method and device, storage medium and mobile terminal
CN108449507B (en) Voice call data processing method and device, storage medium and mobile terminal
CN107483731A (en) Audio playback volume control method, device, storage medium and mobile terminal
CN107770759B (en) Bluetooth voice link establishing method and device, storage medium and mobile terminal
CN107040660A (en) Method and device for controlling playback volume of mobile terminal and mobile terminal
CN108494954B (en) Voice call data detection method and device, storage medium and mobile terminal
CN107483735A (en) Volume control method, device and storage medium of mobile terminal and mobile terminal
CN108449502A (en) Voice call data processing method and device, storage medium and mobile terminal
CN106095387A (en) A terminal sound effect setting method and terminal
CN108449496A (en) Voice call data detection method, device, storage medium and mobile terminal
CN108418982A (en) Voice call data processing method, device, storage medium and mobile terminal
CN107040661A (en) Method and device for controlling playback volume of mobile terminal and mobile terminal
CN108449506A (en) Voice call data processing method, device, storage medium and mobile terminal
CN107483732A (en) Volume control method, device and storage medium of mobile terminal and mobile terminal
CN108449497B (en) Voice call data processing method and device, storage medium and mobile terminal
CN110730946B (en) Volume control method and device of mobile terminal, storage medium and mobile terminal
CN107508983A (en) Volume adjustment method, device, storage medium and terminal equipment
CN107566595A (en) Volume control method, device and storage medium of mobile terminal and mobile terminal
CN106506646A (en) Playing device control method, device, mobile terminal and playing system
CN108449504A (en) Voice call data detection method, device, storage medium and mobile terminal

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

GR01 Patent grant
GR01 Patent grant