WO2014131277A1 - 音频播放的控制方法、装置及终端 - Google Patents

音频播放的控制方法、装置及终端 Download PDF

Info

Publication number
WO2014131277A1
WO2014131277A1 PCT/CN2013/083459 CN2013083459W WO2014131277A1 WO 2014131277 A1 WO2014131277 A1 WO 2014131277A1 CN 2013083459 W CN2013083459 W CN 2013083459W WO 2014131277 A1 WO2014131277 A1 WO 2014131277A1
Authority
WO
WIPO (PCT)
Prior art keywords
audio playback
playback control
terminal
audio
touch screen
Prior art date
Application number
PCT/CN2013/083459
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 WO2014131277A1 publication Critical patent/WO2014131277A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text

Definitions

  • Audio playback control method device and terminal
  • the present disclosure relates to the field of mobile terminals, and in particular, to a method, device, and terminal for controlling audio playback. Background technique
  • mobile terminals Due to the advantages of low power consumption and high precision of touch screens, mobile terminals mostly use touch screens, and fewer external mechanical buttons are used. With the continuous popularization and development of mobile terminal technologies, mobile terminals can be used not only for telephone and short message communication, but also for image playback, video playback, and audio playback control.
  • the mobile terminal is used for audio playback control, if the mobile terminal is in the awake state, the audio play control can be performed by clicking a soft button on the touch screen; and if the mobile terminal is in the sleep state, the soft button on the touch screen is unavailable. Therefore, how to control audio playback when the mobile terminal is in a sleep state has become an urgent problem to be solved.
  • Method 1 The mechanical buttons of the earphone are preset to correspond one-to-one with the audio playback control type; After the button is pressed, the audio playback control type corresponding to the mechanical button is pressed; the corresponding audio playback control operation is performed according to the audio playback control type.
  • Method 2 For a mobile terminal with a sensor, the sensor of the mobile terminal senses the shaking mode of the mobile terminal; the audio playback control type is determined according to the shaking mode; and the corresponding audio playback control operation is performed according to the audio playback control type.
  • the shaking method may be shaking to the left, shaking to the right, and the like.
  • the above method of controlling audio playback has at least the following problems:
  • the first method when the mechanical button of the earphone is pressed, a digital control signal is transmitted to the mobile terminal, which will cause interference to the audio signal, and the mechanical button is greatly affected by the temperature, and the sensitivity of the mechanical button is low under low temperature conditions.
  • the second method when the user is in a running state such as running, the mobile terminal cannot be shaken normally for audio playback control, and thus the applicable scenario of the audio playback control is limited.
  • the present disclosure provides a method, device, and terminal for controlling audio playback.
  • the technical solution is as follows:
  • a method for controlling audio playback includes: After the audio player of the terminal is activated and the terminal enters a sleep state, acquiring an audio play control gesture on the touch screen of the terminal;
  • a corresponding audio playback control operation is performed according to the determined audio playback control type.
  • the method may further include:
  • the audio playback control gesture includes at least one of sliding to the left, sliding to the right, sliding upward, sliding downward, multi-finger sliding, single click, and multiple clicks; the audio playback control type includes at least switching to the previous one. Audio, switch to next audio, currently playing audio forward fast forward, currently playing audio backward fast forward, pause, play, and volume control.
  • the setting the correspondence between the audio play control gesture and the audio play control type may include:
  • the method may further include:
  • the detecting whether the terminal enters a sleep state may include:
  • the touch screen of the terminal If the touch screen of the terminal is in a lighting state, detecting whether the touch screen of the terminal displays a lock screen interface, and if the touch screen of the terminal is in a lighting state and displaying a lock screen interface, determining the The terminal enters a sleep state.
  • the performing the corresponding audio playback control operation according to the determined audio playback control type may include:
  • a control device for audio playback comprising:
  • An acquiring module configured to acquire a touch screen of the terminal after the audio player of the terminal is started and the terminal enters a sleep state Audio playback control gestures;
  • a determining module configured to determine, according to a correspondence between the audio playback control gesture and the audio playback control type, an audio playback control type corresponding to the audio playback control gesture acquired by the acquiring module;
  • an execution module configured to perform a corresponding audio playback control operation according to the audio playback control type determined by the determining module.
  • the device may further include:
  • a setting module configured to set a correspondence between an audio playback control gesture and an audio playback control type
  • the audio playback control gesture includes at least one of sliding to the left, sliding to the right, sliding upward, sliding downward, multi-finger sliding, single click, and multiple clicks; the audio playback control type includes at least switching to the previous one. Audio, switch to next audio, currently playing audio forward fast forward, currently playing audio backward fast forward, pause, play, and volume control.
  • the setting module may include:
  • An obtaining unit configured to pre-acquire an audio play control gesture input by the user for each type of audio play control set
  • a setting unit configured to respectively set each audio playback control type and an audio playback control gesture input by the user acquired by the acquiring unit for the audio playback control type into a set of correspondences.
  • the device further includes:
  • a first detecting module configured to detect whether an audio player of the terminal is activated
  • the second detecting module is configured to detect whether the terminal enters a sleep state.
  • the second detecting module may include:
  • a first detecting unit configured to detect whether the touch screen of the terminal is in a lighting state
  • a second detecting unit configured to: when the first detecting unit detects that the touch screen of the terminal is in a lighting state, detect whether the touch screen of the terminal displays a lock screen interface;
  • a determining unit if the first detecting unit detects that the touch screen of the terminal is in an unlit state, determining that the terminal enters a sleep state; and if the second detecting unit detects a touch screen display lock of the terminal The screen interface determines that the terminal enters a sleep state.
  • the execution module includes:
  • a generating unit configured to generate a corresponding audio play control signal according to the audio play control type determined by the determining module
  • An output unit configured to output an audio playback control signal generated by the generating unit to an audio playback control of the terminal And causing the audio play controller of the terminal to perform a corresponding audio play control operation on the audio player of the terminal according to the audio play control signal.
  • a terminal where the terminal includes:
  • the main processor is configured to acquire a pre-stored module, and perform an audio play control operation according to a processing result of the coprocessor;
  • the coprocessor is configured to execute a module acquired by the main processor
  • the module has the following functions:
  • the main processor sends the execution result of the coprocessor to the audio play controller of the terminal, so that the audio play controller of the terminal plays the audio player of the terminal according to the execution result. Perform the corresponding audio playback control operation.
  • the audio playback control type corresponding to the obtained audio playback control gesture is determined according to the correspondence between the audio playback control gesture and the audio playback control type, and is played according to the determined audio.
  • the control type performs the corresponding audio playback control operation, so that the terminal can perform the audio playback control operation directly according to the audio playback control gesture on the touch screen in the sleep state, and the audio playback control method is simple and convenient, and is applicable to various scenarios.
  • Embodiment 1 is an exemplary flowchart of a method for controlling audio playback according to Embodiment 1 of the present disclosure
  • Embodiment 2 is an exemplary flowchart of a method for controlling audio playback provided by Embodiment 2 of the present disclosure
  • FIG. 3 is a correspondence between an audio playback control gesture and an audio playback control type according to Embodiment 2 of the present disclosure.
  • FIG. 4 is a schematic structural diagram of a first audio playback control apparatus according to Embodiment 3 of the present disclosure
  • FIG. 5 is a schematic structural diagram of a second audio playback control apparatus according to Embodiment 3 of the present disclosure
  • 6 is a schematic structural diagram of a setting module according to Embodiment 3 of the present disclosure
  • FIG. 7 is a schematic structural diagram of a third audio playback control apparatus according to Embodiment 3 of the present disclosure.
  • FIG. 8 is a schematic structural diagram of a terminal according to Embodiment 4 of the present disclosure.
  • An embodiment of the present disclosure provides a method for controlling audio playback.
  • the method flow includes the following steps.
  • step 101 after the audio player of the terminal is activated and the terminal enters a sleep state, an audio play control gesture on the touch screen of the terminal is acquired.
  • the method in the first embodiment may further include: detecting whether the audio player of the terminal is activated, and detecting whether the terminal enters a sleep state.
  • detecting whether the terminal enters a sleep state includes:
  • the touch screen of the terminal is in the lighting state, it is detected whether the touch screen of the terminal displays the lock screen interface. If the touch screen of the terminal is in the lighting state and displayed, it is determined that the terminal enters the sleep state.
  • step 102 according to the correspondence between the audio playback control gesture and the audio playback control type, it is determined that the acquisition is The audio playback control gesture corresponds to the type of audio playback control.
  • the method further includes:
  • the audio playback control gesture includes at least one of sliding to the left, sliding to the right, sliding upward, sliding downward, multi-finger sliding, single click, and multiple clicks; the audio playback control type includes at least switching to the previous one. Audio, switch to next audio, currently playing audio forward fast forward, currently playing audio backward fast forward, pause, play, and volume control.
  • presetting the correspondence between the audio play control gesture and the audio play control type includes: pre-acquiring the audio play control gesture input by the user for each audio play control type set; respectively, respectively, each audio play control type and user
  • the audio playback control gestures input for the audio playback control type are set to a set of correspondences.
  • step 103 a corresponding audio playback control operation is performed in accordance with the determined audio playback control type.
  • the corresponding audio playback control operation is performed according to the determined audio playback control type, including but not limited to:
  • the audio playback controller of the terminal is configured to perform an audio playback control operation on the audio player of the terminal, and after receiving the audio playback control signal, the audio playback controller performs a corresponding operation on the audio player of the terminal according to the received audio playback control signal. Audio playback control operation.
  • the method provided by the embodiment of the present disclosure determines the acquired audio according to the corresponding relationship between the preset audio play control gesture and the audio play control type after the audio player of the terminal is activated and the terminal enters the sleep state.
  • the audio playback control type corresponding to the playback control gesture is performed, and the corresponding audio playback control operation is performed according to the determined audio playback control type, so that the terminal can directly perform audio playback according to the audio playback control gesture on the touch screen in the sleep state.
  • Control operation, audio playback control method is simple and convenient, suitable for a variety of scenarios.
  • the embodiment of the present disclosure provides a method for controlling audio playback.
  • the method flow includes the following steps.
  • step 201 after the audio player of the terminal is activated and the terminal enters a sleep state, an audio play control gesture on the touch screen of the terminal is acquired.
  • the terminal has a touch screen and has an audio player.
  • the touch screen of the terminal can capture the touch track such as click or slide on the touch screen, and collect data such as the direction or speed of the slide, thereby obtaining an audio play control gesture on the touch screen.
  • the types of touch screens include, but are not limited to, resistive touch screens, capacitive touch screens, optical touch screens, pressure sensitive touch screens, etc., in addition to other types of touch screens, implementations of the present disclosure.
  • the type of the touch screen is not specifically limited herein.
  • the audio may or may not be played.
  • the sleep state may include multiple types. For example, when the touch screen of the terminal is in an unlit state, the sleep state is set to a first sleep state, and the touch screen of the terminal is in a light state but a real lock screen interface, that is, the screen is still When the device is not unlocked, it is set to the second sleep state.
  • the sleep state does not necessarily mean that all the function modules in the terminal are dormant, but different sleep modes in the terminal can be set to be in the awake state.
  • detecting whether the terminal is in a sleep state may include: detecting whether the touch screen of the terminal is in a lighting state; if the touch screen of the terminal is in an unlighted state, determining that the terminal enters a sleep state; if the touch screen of the terminal is In the lighting state, it is detected whether the touch screen of the terminal displays the lock screen interface. If the touch screen of the terminal is in the lighting state and displayed, it is determined that the terminal enters the sleep state.
  • the provided audio playback control method performs an operation of acquiring an audio playback control gesture on the touch screen of the terminal.
  • the terminal is in the awake state or the terminal enters the sleep state but the audio player of the terminal is not activated, the operation of acquiring the audio playback control gesture on the touch screen is not performed.
  • the touch screen of the terminal After detecting that the audio player of the terminal is activated and the terminal enters the sleep state, the touch screen of the terminal acquires its own audio playback control gesture.
  • the touch screen of the terminal may continuously detect an audio play control gesture on the touch screen, and acquire an audio play control gesture after detecting.
  • the touch screen can also obtain an audio play control gesture in other manners, for example, the touch screen of the terminal acquires an audio play control gesture on the touch screen every other time interval, and the embodiment of the present disclosure does not Specific restrictions are made.
  • the audio playback control gesture on the touch screen of the terminal may be acquired in other manners, and the embodiment of the present disclosure does not touch the acquisition terminal.
  • the manner in which the audio playback control gestures on the control screen are specifically limited.
  • the audio playback control After obtaining the audio playback control gesture on the touch screen of the terminal, the audio playback control can be continued.
  • the operation of determining the type of the audio playback control corresponding to the acquired audio playback control gesture is determined by the corresponding relationship between the gesture and the audio playback control type. For details, refer to the following steps 202 and 203.
  • step 202 the obtained audio playback control gesture is matched with the audio playback control gesture in the correspondence between the audio playback control gesture and the audio playback control type.
  • the method provided by the embodiment further includes: presetting the correspondence between the audio play control gesture and the audio play control type.
  • the audio playback control gesture includes at least one of sliding to the left, sliding to the right, sliding upward, sliding downward, multi-finger sliding, single click, and multiple clicks; and each audio playback control gesture has a corresponding
  • sliding to the left means that the touch track on the touch screen slides from right to left and slides to the right means that the touch track on the touch screen slides from left to right and slides downward. It means that the touch track on the touch screen slides from top to bottom, and the upward touch means that the touch track on the touch screen slides from bottom to top, and the single click refers to the touch track on the touch screen.
  • One click and multiple clicks means that the touch track on the touch screen is continuous multiple clicks, which can be two clicks or three clicks.
  • the audio playback control type includes at least one of switching to the previous audio, switching to the next audio, forward playback of the currently playing audio, fast forward playback of the currently playing audio, pause, play, and volume control, and the volume control is also This includes volume up and volume down.
  • it can control the gesture and audio playback control type for other audio playback; the correspondence between the audio playback control gesture and the audio playback control type can be arbitrarily set, and an audio playback control gesture can correspond to an audio playback control type, There may be multiple audio playback control gestures corresponding to one audio playback control type. In addition, other corresponding manners may also be adopted.
  • Embodiments of the present disclosure do not control specific audio playback control gestures, specifically audio playback control types, and The specific correspondence between the audio playback control gesture and the audio playback control type is limited.
  • Presetting the correspondence between the audio playback control gesture and the audio playback control type includes, but is not limited to, pre-acquiring the audio playback control gestures respectively input by the user for each audio playback control type set; respectively, each audio playback control type and user
  • the audio playback control gestures input for the audio playback control type are set to a set of correspondences.
  • the user's audio playback control gesture “swipe to the left” for the set audio playback control type "switch to previous audio” input is pre-acquired, and the audio playback control gesture is "slid left”.
  • the audio playback control type "switch to previous audio” is set to a set of correspondence; pre-acquisition of the user's audio playback control gesture “swipe to the right” for the set audio playback control type “switch to next audio” input, will The audio playback control gesture “slide to the right” and the audio playback control type “switch to next audio” are set as a set of correspondences; the user is pre-acquired for the set audio playback control type "currently playing audio forward fast forward” input Audio playback control gesture Slide up “, slide the audio playback control gesture” up and “audio playback control type "current playback audio forward fast forward” to a set of correspondence; pre-acquire the user for the set audio playback control type "current playback audio direction After fast forwarding "Input audio playback control gesture” slide down “, slide the audio playback control gesture” down and “audio playback control type "current playback audio backward fast forward” is set to a set of correspondence; pre-fetch user The audio play control
  • the touch track of the obtained audio play control gesture and the touch track of the audio play control gesture in the corresponding relationship between the audio play control gesture and the audio play control type may be matched.
  • the touch track of the audio play control gesture A on the touch screen of the terminal is swiped from right to left
  • the touch track of the acquired audio play control gesture A is from right to right.
  • the left slide matches the touch track of the audio play control gesture in Table 1 set in advance. Since the touch track of the audio play control gesture in Table 1 is "slide left" from right to left, the audio play control gesture matching the acquired audio play control gesture A is "slide left”.
  • each acquired audio playback control gesture will be acquired.
  • the audio playback control gesture is matched with the audio playback control gesture in the correspondence between the audio playback control gesture and the audio playback control type. If the obtained audio play control gesture matches the audio play control gesture in the correspondence between the preset audio play control gesture and the audio play control type, proceed to step 203; if the acquired audio play control gesture and the audio play control gesture Audio playback control gesture in correspondence with audio playback control type If there is no match, you can return to step 201 or the process ends.
  • other operations may be performed, and the embodiment of the present disclosure does not specifically perform the operation after the obtained audio play control gesture does not match the audio play control gesture in the corresponding relationship between the audio play control gesture and the audio play control type. limited.
  • step 203 an audio playback control type corresponding to the matched audio playback control gesture is determined.
  • the audio playback control type corresponding to the matched audio playback control gesture is determined in the correspondence between the audio playback control gesture and the audio playback control type.
  • the audio play control gesture matching the acquired audio play control gesture A is "slide left” in step 202, it is determined in Table 1 that the matched audio play control gesture is "slide left”
  • the corresponding audio playback control type "switch to the previous audio”
  • the determined audio playback control type "switch to the previous audio” as the audio playback control type corresponding to the acquired audio playback control gesture A.
  • step 204 a corresponding audio playback control operation is performed in accordance with the determined audio playback control type.
  • the device performs a corresponding audio playback control operation.
  • each audio playback control type corresponds to one audio playback control signal
  • each audio playback control signal corresponds to an audio playback control operation
  • the device performs an audio playback control operation that switches to the previous audio.
  • the corresponding audio playback control operation can be performed in accordance with the determined audio playback control type in other manners.
  • the embodiment of the present disclosure is not specifically limited herein, and the specific audio playback control operation is performed according to the determined audio playback control type.
  • the method provided by the embodiment of the present disclosure determines the acquired audio according to the corresponding relationship between the preset audio play control gesture and the audio play control type after the audio player of the terminal is activated and the terminal enters the sleep state.
  • the audio playback control type corresponding to the playback control gesture is performed, and the corresponding audio playback control operation is performed according to the determined audio playback control type, so that the terminal can directly perform audio playback according to the audio playback control gesture on the touch screen in the sleep state.
  • Control operation, audio playback control method is simple and convenient, suitable for a variety of scenarios.
  • Embodiments of the present disclosure provide a control device for audio playback, which is used to perform the above embodiment or The control method of audio playback provided by the second embodiment.
  • the device includes:
  • the obtaining module 401 is configured to acquire an audio play control gesture on the touch screen of the terminal after the audio player of the terminal is started and the terminal enters a sleep state;
  • the determining module 402 is configured to determine, according to the correspondence between the audio playback control gesture and the audio playback control type, the audio playback control type corresponding to the audio playback control gesture acquired by the obtaining module 401;
  • the executing module 403 is configured to perform a corresponding audio playback control operation according to the audio playback control type determined by the determining module 402.
  • the apparatus further includes:
  • the setting module 404 is configured to set a correspondence between the audio playback control gesture and the audio playback control type; wherein, the audio playback control gesture includes at least sliding to the left, sliding to the right, sliding upward, sliding downward, multi-finger sliding, and single click And more than one of multiple clicks; the audio playback control type includes at least switching to the previous audio, switching to the next audio, playing the current forward fast forward, currently playing the audio backward fast forward, pause, play, and volume control More than one of them.
  • the setting module 404 includes:
  • the obtaining unit 4041 is configured to pre-acquire an audio play control gesture input by the user for each of the set audio play control types;
  • the setting unit 4042 is configured to respectively set the audio playback control gesture input by the audio capture control type and the acquisition unit 4041 to the audio playback control type input into a set of correspondence relationship.
  • the device further includes:
  • the first detecting module 405 is configured to detect whether the audio player of the terminal is activated.
  • the second detecting module 406 is configured to detect whether the terminal enters a sleep state.
  • the second detecting module 406 includes:
  • the first detecting unit 4061 is configured to detect whether the touch screen of the terminal is in a lighting state
  • the second detecting unit 4062 is configured to detect, when the first detecting unit 4061 detects that the touch screen of the terminal is in a lighting state, whether the touch screen of the terminal displays the lock screen interface;
  • the determining unit 4063 if the first detecting unit 4061 detects that the touch screen of the terminal is in an unlit state, determines that the terminal enters a sleep state; if the second detecting unit 4062 detects that the touch screen of the terminal displays the lock screen interface, the determining terminal enters Sleep state.
  • the execution module 403 includes:
  • the generating unit 4031 is configured to generate a corresponding audio play control signal according to the determined audio play control type;
  • the output unit 4032 is configured to output the audio play control signal generated by the generating unit 4031 to the audio play controller of the terminal, so that the audio play controller of the terminal performs a corresponding audio play control operation on the audio player of the terminal according to the audio play control signal. .
  • the apparatus determines the acquired audio according to the correspondence between the preset audio play control gesture and the audio play control type after the audio player of the terminal is activated and the terminal enters the sleep state.
  • the audio playback control type corresponding to the playback control gesture is performed, and the corresponding audio playback control operation is performed according to the determined audio playback control type, so that the terminal can directly perform audio playback according to the audio playback control gesture on the touch screen in the sleep state.
  • Control operation, audio playback control method is simple and convenient, suitable for a variety of scenarios.
  • the terminal includes a main processor 801 and a coprocessor 802, such as a CPU (Central Processing Unit).
  • a main processor 801 such as a CPU (Central Processing Unit).
  • a coprocessor 802 such as a CPU (Central Processing Unit).
  • the main processor 801 is configured to acquire a pre-stored module, and perform an audio play control operation according to the processing result of the coprocessor;
  • a coprocessor 802 configured to execute a module acquired by the main processor 801;
  • the above module has the following functions:
  • the main processor 801 sends the execution result of the coprocessor 802 to the audio play controller of the terminal, so that the audio play controller of the terminal plays the audio player of the terminal according to the execution result. Perform the corresponding audio playback control operation.
  • the terminal provided by the embodiment of the present disclosure performs the audio playback control according to the preset setting after the audio player of the terminal is started and the terminal enters the sleep state in the module acquired by the main processor by using the coprocessor.
  • the correspondence between the gesture and the audio playback control type determines the operation of the audio playback control type corresponding to the acquired audio playback control gesture, and the main processor also sends the execution result of the coprocessor to the audio playback controller of the terminal, thereby causing the terminal
  • the audio playback controller performs a corresponding audio playback control operation on the audio player of the terminal according to the execution result, so that the terminal can perform the audio playback control operation according to the audio playback control gesture on the touch screen in the sleep state, and the audio playback is performed.
  • the control method is simple and convenient, and is suitable for various scenarios. It should be noted that: the audio playback control device and the terminal provided by the foregoing embodiment are only exemplified by the division of the foregoing functional modules during the audio playback control. In actual applications, the functions may be allocated differently according to requirements.
  • the function module is completed, that is, the control device of the audio play and the internal structure of the terminal are divided into different functional modules to complete all or part of the functions described above.
  • the control device and the terminal for the audio playback provided by the foregoing embodiments are the same as the embodiment of the audio playback control method. For details, refer to the method embodiment, and details are not described herein.
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

本发明公开了一种音频播放的控制方法、装置及终端,属于移动终端领域。所述方法包括:在终端的音频播放器启动且终端进入休眠状态后,获取终端的触控屏上的音频播放控制手势;根据音频播放控制手势与音频播放控制类型的对应关系确定获取到的音频播放控制手势所对应的音频播放控制类型;根据确定的音频播放控制类型执行对应的音频播放控制操作。本发明通过在终端的音频播放器启动且终端进入休眠状态后,确定获取到的音频播放控制手势所对应的音频播放控制类型,并根据确定的音频播放控制类型执行音频播放控制操作,实现了终端在休眠状态下直接根据触控屏上的音频播放控制手势即可进行音频播放控制操作,音频播放的控制方法简单方便,适用多种场景。

Description

音频播放的控制方法、 装置及终端 技术领域
本公开涉及移动终端领域, 特别涉及一种音频播放的控制方法、 装置及终端。 背景技术
由于触控屏具有功耗低、 精度高等优势, 移动终端大多使用触控屏, 外部机械按键越 来越少。而随着移动终端技术的不断普及和发展,移动终端不仅能够用于电话和短信通信, 还能够用于图像播放、 视频播放和音频播放控制等。 当移动终端用于音频播放控制时, 如 果移动终端处于唤醒状态, 可以通过点击触控屏上的软按键进行音频播放控制; 而如果移 动终端处于休眠状态, 则触控屏上的软按键不可用, 因此, 在移动终端处于休眠状态下, 如何对音频播放进行控制, 成为了一个亟待解决的问题。
目前, 在移动终端处于休眠状态下, 对音频播放进行控制的方法一般有以下两种: 方法一: 将耳机的机械按键预先设置为与音频播放控制类型一一对应; 在用户按动耳 机的机械按键后, 确定被按动机械按键对应的音频播放控制类型; 根据音频播放控制类型 执行对应的音频播放控制操作。
方法二:对于具有传感器的移动终端,由移动终端的传感器感应移动终端的晃动方式; 根据晃动方式确定音频播放控制类型;根据音频播放控制类型执行对应的音频播放控制操 作。 其中, 晃动方式可以为向左晃动、 向右晃动等。
上述音频播放的控制方法至少存在以下问题:
方法一中按动耳机的机械按键时会传输数字控制信号给移动终端,将对音频信号造成 干扰, 并且机械按键受温度影响较大, 低温条件下机械按键的灵敏度较低。 方法二中当用 户处于跑步等运动状态时, 无法正常晃动移动终端进行音频播放控制, 因此音频播放控制 的适用场景受到限制。 发明内容
为了解决上述问题, 本公开提供了一种音频播放的控制方法、 装置及终端。 所述技术 方案如下:
一方面, 提供了一种音频播放的控制方法, 所述方法包括: 在终端的音频播放器启动且终端进入休眠状态后,获取终端的触控屏上的音频播放控 制手势;
根据音频播放控制手势与音频播放控制类型的对应关系,确定获取到的音频播放控制 手势所对应的音频播放控制类型;
根据确定的音频播放控制类型执行对应的音频播放控制操作。
作为一个实施例, 所述方法还可以包括:
设置音频播放控制手势和音频播放控制类型的对应关系;
其中, 音频播放控制手势至少包括向左滑动、 向右滑动、 向上滑动、 向下滑动、 多手 指滑动、单次点击和多次点击中的一种以上;音频播放控制类型至少包括切换到上一音频、 切换到下一音频、 当前播放音频向前快进、 当前播放音频向后快进、 暂停、 播放和音量控 制中的一种以上。
所述设置音频播放控制手势和音频播放控制类型的对应关系, 可以包括:
获取用户针对设定的每一音频播放控制类型分别输入的音频播放控制手势; 分别将每一音频播放控制类型和用户针对该音频播放控制类型输入的音频播放控制 手势设置为一组对应关系。
作为一个实施例, 所述方法还可以包括:
检测终端的音频播放器是否启动;
检测终端是否进入休眠状态。
所述检测终端是否进入休眠状态, 可以包括:
检测所述终端的触控屏是否处于点亮状态;
如果所述终端的触控屏处于未点亮状态, 则判断所述终端进入休眠状态;
如果所述终端的触控屏处于点亮状态, 则检测所述终端的触控屏是否显示锁屏界面, 如果所述终端的触控屏处于点亮状态且显示锁屏界面, 则判断所述终端进入休眠状态。
作为一个实施例, 所述根据确定的音频播放控制类型执行对应的音频播放控制操作, 可以包括:
根据确定的音频播放控制类型生成对应的音频播放控制信号;
输出所述音频播放控制信号给终端的音频播放控制器,使所述终端的音频播放控制器 根据所述音频播放控制信号对所述终端的音频播放器执行对应的音频播放控制操作。
另一方面, 提供了一种音频播放的控制装置, 所述装置包括:
获取模块, 用于在终端的音频播放器启动且终端进入休眠状态后, 获取终端的触控屏 上的音频播放控制手势;
确定模块, 用于根据音频播放控制手势与音频播放控制类型的对应关系, 确定所述获 取模块获取到的音频播放控制手势所对应的音频播放控制类型;
执行模块,用于根据所述确定模块确定的音频播放控制类型执行对应的音频播放控制 操作。
作为一个实施例, 所述装置, 还可以包括:
设置模块, 用于设置音频播放控制手势和音频播放控制类型的对应关系;
其中, 音频播放控制手势至少包括向左滑动、 向右滑动、 向上滑动、 向下滑动、 多手 指滑动、单次点击和多次点击中的一种以上;音频播放控制类型至少包括切换到上一音频、 切换到下一音频、 当前播放音频向前快进、 当前播放音频向后快进、 暂停、 播放和音量控 制中的一种以上。
所述设置模块, 可以包括:
获取单元,用于预先获取用户针对设定的每一音频播放控制类型分别输入的音频播放 控制手势;
设置单元,用于分别将每一音频播放控制类型和所述获取单元获取到的用户针对该音 频播放控制类型输入的音频播放控制手势设置为一组对应关系。
作为一个实施例, 所述装置还包括:
第一检测模块, 用于检测所述终端的音频播放器是否启动;
第二检测模块, 用于检测所述终端是否进入休眠状态。
所述第二检测模块可以包括:
第一检测单元, 用于检测所述终端的触控屏是否处于点亮状态;
第二检测单元, 用于在所述第一检测单元检测所述终端的触控屏处于点亮状态时, 检 测所述终端的触控屏是否显示锁屏界面;
判断单元, 如果所述第一检测单元检测所述终端的触控屏处于未点亮状态, 则判断所 述终端进入休眠状态; 如果所述第二检测单元检测所述终端的触控屏显示锁屏界面, 则判 断所述终端进入休眠状态。
作为一个实施例, 所述执行模块包括:
生成单元,用于根据所述确定模块确定的音频播放控制类型生成对应的音频播放控制 信号;
输出单元,用于将所述生成单元生成的音频播放控制信号输出给终端的音频播放控制 器,使所述终端的音频播放控制器根据所述音频播放控制信号对所述终端的音频播放器执 行对应的音频播放控制操作。
另一方面, 还提供了一种终端, 所述终端包括:
所述主处理器, 用于获取预先存储的模块, 并根据协处理器的处理结果执行音频播放 控制操作;
所述协处理器, 用于执行所述主处理器获取到的模块;
其中, 所述模块具有如下功能:
在终端的音频播放器启动且终端进入休眠状态后,获取终端的触控屏上的音频播放控 制手势;
根据音频播放控制手势与音频播放控制类型的对应关系,确定所述获取模块获取到的 音频播放控制手势所对应的音频播放控制类型。
作为一个实施例,所述主处理器将所述协处理器的执行结果发送给终端的音频播放控 制器,使所述终端的音频播放控制器根据所述执行结果对所述终端的音频播放器执行对应 的音频播放控制操作。
本公开提供的技术方案带来的一些有益效果可以包括:
通过在终端的音频播放器启动且终端进入休眠状态后,根据音频播放控制手势与音频 播放控制类型的对应关系确定获取到的音频播放控制手势所对应的音频播放控制类型,并 根据确定的音频播放控制类型执行对应的音频播放控制操作,实现了终端在休眠状态下直 接根据触控屏上的音频播放控制手势即可进行音频播放控制操作,音频播放的控制方法简 单方便, 适用于多种场景。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性的,并不能限制本公开。 附图说明
为了更清楚地说明本公开的实施例中的技术方案,下面将对实施例描述中所需要使用 的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本公开的一些实施例, 对于 本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他 的附图。
图 1是本公开的实施例一提供的一种音频播放的控制方法示例性流程图;
图 2是本公开的实施例二提供的一种音频播放的控制方法示例性流程图;
图 3 是本公开的实施例二提供的一种音频播放控制手势和音频播放控制类型的对应 关系的示例性示意图;
图 4是本公开的实施例三提供的第一种音频播放的控制装置的示例性结构示意图; 图 5是本公开的实施例三提供的第二种音频播放的控制装置的示例性结构示意图; 图 6是本公开的实施例三提供的一种设置模块的示例性结构示意图;
图 7是本公开的实施例三提供的第三种音频播放的控制装置的示例性结构示意图; 图 8是本公开的实施例四提供的一种终端的示例性结构示意图。
通过上述附图, 已示出本公开明确的实施例, 后文中将有更详细的描述。 这些附图和 文字描述并不是为了通过任何方式限制本公开构思的范围,而是通过参考特定实施例为本 领域技术人员说明本公开的概念。 具体实施方式
为使本公开的目的、技术方案和优点更加清楚, 下面将结合附图和实施例对本公开作 进一步地详细描述。
实施例一
本公开的实施例提供了一种音频播放的控制方法,参见图 1,方法流程包括如下步骤。 在步骤 101中, 在终端的音频播放器启动且终端进入休眠状态后, 获取终端的触控屏 上的音频播放控制手势。
作为可选的一种实施方式, 本实施例一的方法还可以包括: 检测终端的音频播放器是 否启动, 以及检测终端是否进入休眠状态。
进一步,通过检测音频播放器对应的应用函数中的启动标识来确定音频播放器是否已 启动。
进一步, 检测终端是否进入休眠状态包括:
检测终端的触控屏是否处于点亮状态;
如果终端的触控屏处于未点亮状态, 则判断终端进入休眠状态;
如果终端的触控屏处于点亮状态, 则检测终端的触控屏是否显示锁屏界面, 如果终端 的触控屏处于点亮状态且显示, 则判断终端进入休眠状态。
作为另一种可选的实施方式, 接收终端的音频播放器启动后发送的第一触发信号、 且 接收终端处于休眠状态后发送的第二触发信号,然后判定终端的音频播放器启动且终端进 入休眠状态。
在步骤 102中, 根据音频播放控制手势与音频播放控制类型的对应关系, 确定获取到 的音频播放控制手势所对应的音频播放控制类型。
作为可选的实施方式, 该方法还包括:
设置音频播放控制手势和音频播放控制类型的对应关系,该设置在流程开始之前预先 执行;
其中, 音频播放控制手势至少包括向左滑动、 向右滑动、 向上滑动、 向下滑动、 多手 指滑动、单次点击和多次点击中的一种以上;音频播放控制类型至少包括切换到上一音频、 切换到下一音频、 当前播放音频向前快进、 当前播放音频向后快进、 暂停、 播放和音量控 制中的一种以上。
进一步, 预先设置音频播放控制手势和音频播放控制类型的对应关系, 包括: 预先获取用户针对设定的每一音频播放控制类型分别输入的音频播放控制手势; 分别将每一音频播放控制类型和用户针对该音频播放控制类型输入的音频播放控制 手势设置为一组对应关系。
在步骤 103中, 根据确定的音频播放控制类型执行对应的音频播放控制操作。
作为可选的实施方式, 根据确定的音频播放控制类型执行对应的音频播放控制操作, 包括但不限于:
根据确定的音频播放控制类型生成对应的音频播放控制信号,将生成的音频播放控制 信号输出给终端的音频播放控制器,使终端的音频播放控制器根据音频播放控制信号对终 端的音频播放器执行对应的音频播放控制操作。
终端的音频播放控制器用于对终端的音频播放器进行音频播放控制操作,音频播放控 制器在接收到音频播放控制信号后, 根据接收到的音频播放控制信号, 对终端的音频播放 器执行对应的音频播放控制操作。
综上所述, 本公开的实施例提供的方法, 通过在终端的音频播放器启动且终端进入休 眠状态后,根据预先设置的音频播放控制手势与音频播放控制类型的对应关系确定获取到 的音频播放控制手势所对应的音频播放控制类型,并根据确定的音频播放控制类型执行对 应的音频播放控制操作,实现了终端在休眠状态下直接根据触控屏上的音频播放控制手势 即可进行音频播放控制操作, 音频播放的控制方法简单方便, 适用于多种场景。 实施例二
为了解决终端在休眠状态下进行音频播放的控制的问题,本公开的实施例提供了 音频播放的控制方法, 结合上述实施例一的内容, 参见图 2, 方法流程包括如下步骤 在步骤 201中, 在终端的音频播放器启动且终端进入休眠状态后, 获取终端的触控屏 上的音频播放控制手势。
其中, 终端具有触控屏且具有音频播放器。 终端的触控屏能够捕获用户在触控屏上的 点击或滑动等触控轨迹, 并采集滑动的方向或者速度等数据, 从而得到触控屏上的音频播 放控制手势。 触控屏的类型包括但不限于电阻触控屏、 电容触控屏、 光触控屏、 压敏触控 屏等, 除此之外, 还可以为其他类型的触控屏, 本公开的实施例在此不对触控屏的类型进 行具体限定。
在该步骤中, 终端的音频播放器启动后, 可以播放音频, 也可以不播放音频。
在该步骤中, 休眠状态可以包括多种, 例如终端的触控屏处于未点亮状态时设定为第 一休眠状态, 终端的触控屏处于点亮状态但现实锁屏界面, 即屏幕仍未解锁时设定为第二 休眠状态, 休眠状态并不一定指终端内的所有功能模块都休眠, 而是不同的休眠状态下可 以设定终端内的不同功能模块处于唤醒状态。基于此, 检测终端是否处于休眠状态可以包 括: 检测终端的触控屏是否处于点亮状态; 如果终端的触控屏处于未点亮状态, 则判断终 端进入休眠状态; 如果终端的触控屏处于点亮状态, 则检测终端的触控屏是否显示锁屏界 面, 如果终端的触控屏处于点亮状态且显示, 则判断终端进入休眠状态。
由于终端的触控屏处于未点亮状态或者终端的触控屏处于点亮状态且显示锁屏界面 时, 终端触控屏上的控制音频播放的软按键不可用, 需要采用本公开的实施例提供的音频 播放的控制方法, 执行获取终端的触控屏上的音频播放控制手势的操作。 当终端处于唤醒 状态时或者终端进入休眠状态但终端的音频播放器未启动时,则不会执行获取触控屏上的 音频播放控制手势的操作。
在检测到终端的音频播放器启动且终端进入休眠状态后,终端的触控屏获取自身的音 频播放控制手势。
需要说明的是, 终端的触控屏可以是持续地检测触控屏上的音频播放控制手势, 并在 检测到之后获取音频播放控制手势。 除此之外, 触控屏还可以采用其他方式获取音频播放 控制手势, 例如终端的触控屏每隔一个时间间隔获取一次触控屏上的音频播放控制手势, 本公开的实施例对此不进行具体限定。
除了上述由终端的触控屏获取自身的音频播放控制手势的方式之外,还可以采用其他 方式获取终端的触控屏上的音频播放控制手势,本公开的实施例在此不对获取终端的触控 屏上的音频播放控制手势的方式进行具体限定。
在获取到终端的触控屏上的音频播放控制手势之后,还可以继续执行根据音频播放控 制手势与音频播放控制类型的对应关系,确定获取到的音频播放控制手势所对应的音频播 放控制类型的操作, 具体详见以下步骤 202和步骤 203。
在步骤 202中,将获取到的音频播放控制手势与音频播放控制手势与音频播放控制类 型的对应关系中的音频播放控制手势进行匹配。
针对该步骤, 为了能够匹配音频播放控制手势, 本实施例提供的方法还包括: 预先设 置音频播放控制手势和音频播放控制类型的对应关系。
其中, 音频播放控制手势至少包括向左滑动、 向右滑动、 向上滑动、 向下滑动、 多手 指滑动、单次点击和多次点击中的一种以上; 并且每个音频播放控制手势都有相应的触控 轨迹, 向左滑动是指触控屏上的触控轨迹为从右向左地滑动、 向右滑动是指触控屏上的触 控轨迹是从左向右地滑动、 向下滑动是指触控屏上的触控轨迹为从上向下地滑动、 向上滑 动是指触控屏上的触控轨迹为从下向上地滑动、单次点击是指触控屏上的触控轨迹为一次 点击、多次点击是指触控屏上的触控轨迹为连续多次点击,可以为两次点击或三次点击等。 音频播放控制类型至少包括切换到上一音频、 切换到下一音频、 当前播放音频向前快进、 当前播放音频向后快进、 暂停、 播放和音量控制中的一种以上, 并且音量控制还包括音量 增高和音量降低。 除此之外, 还可以为其他音频播放控制手势和音频播放控制类型; 音频 播放控制手势和音频播放控制类型的对应关系可以任意设置,并且可以一个音频播放控制 手势对应一个音频播放控制类型,也可以是多个音频播放控制手势对应一个音频播放控制 类型, 除此之外, 还可以采用其他的对应方式, 本公开的实施例在此不对具体的音频播放 控制手势、具体地音频播放控制类型以及音频播放控制手势和音频播放控制类型的具体对 应方式进行限定。
预先设置音频播放控制手势和音频播放控制类型的对应关系包括但不限于:预先获取 用户针对设定的每一音频播放控制类型分别输入的音频播放控制手势;分别将每一音频播 放控制类型和用户针对该音频播放控制类型输入的音频播放控制手势设置为一组对应关 系。
举例来说, 如图 3所示, 预先获取用户针对设定的音频播放控制类型 "切换到上一音 频"输入的音频播放控制手势 "向左滑动", 将音频播放控制手势 "向左滑动"和音频播 放控制类型 "切换到上一音频"设置为一组对应关系; 预先获取用户针对设定的音频播放 控制类型 "切换到下一音频"输入的音频播放控制手势 "向右滑动", 将音频播放控制手 势 "向右滑动"和音频播放控制类型 "切换到下一音频"设置为一组对应关系; 预先获取 用户针对设定的音频播放控制类型"当前播放音频向前快进"输入的音频播放控制手势"向 上滑动", 将音频播放控制手势 "向上滑动"和音频播放控制类型 "当前播放音频向前快 进"设置为一组对应关系; 预先获取用户针对设定的音频播放控制类型 "当前播放音频向 后快进"输入的音频播放控制手势 "向下滑动", 将音频播放控制手势 "向下滑动"和音 频播放控制类型 "当前播放音频向后快进"设置为一组对应关系; 预先获取用户针对设定 的音频播放控制类型 "暂停"输入的音频播放控制手势 "单次点击", 将音频播放控制手 势 "单次点击"和音频播放控制类型 "暂停"设置为一组对应关系; 预先获取用户针对设 定的音频播放控制类型 "播放"输入的音频播放控制手势 "两次点击", 将音频播放控制 手势 "两次点击"和音频播放控制类型 "播放"设置为一组对应关系; 得到音频播放控制 手势和音频播放控制类型的对应关系如下表 1所示:
表 1
Figure imgf000011_0001
本步骤中,可以将获取到的音频播放控制手势的触控轨迹与音频播放控制手势与音频 播放控制类型的对应关系中的音频播放控制手势的触控轨迹进行匹配。
举例来说,在步骤 201获取到终端的触控屏上的音频播放控制手势 A的触碰轨迹为从 右向左滑动后,将获取到的音频播放控制手势 A的触碰轨迹为从右向左滑动与预先设置的 表 1中的音频播放控制手势的触控轨迹进行匹配。 由于表 1中的音频播放控制手势为 "向 左滑动"的触碰轨迹为从右向左滑动, 因而得到与获取到的音频播放控制手势 A匹配的音 频播放控制手势为 "向左滑动" 。
需要说明的是, 由于获取到的音频播放控制手势可能是用户无意触碰触控屏而产生的 无意义的触控轨迹, 因此, 对于每一个获取到的音频播放控制手势, 都将获取到的音频播 放控制手势与音频播放控制手势与音频播放控制类型的对应关系中的音频播放控制手势 进行匹配。如果获取到的音频播放控制手势与预先设置的音频播放控制手势与音频播放控 制类型的对应关系中的音频播放控制手势匹配, 继续执行步骤 203 ; 如果获取到的音频播 放控制手势与音频播放控制手势与音频播放控制类型的对应关系中的音频播放控制手势 都不匹配, 则可以返回执行步骤 201或者流程结束。 此外, 还可以执行其他操作, 本公开 的实施例在此不对获取到的音频播放控制手势与音频播放控制手势与音频播放控制类型 的对应关系中的音频播放控制手势都不匹配之后的操作进行具体限定。
在步骤 203中, 确定匹配的音频播放控制手势所对应的音频播放控制类型。
在音频播放控制手势和音频播放控制类型的对应关系中确定匹配的音频播放控制手 势所对应的音频播放控制类型。
举例来说,在步骤 202中得到与获取到的音频播放控制手势 A匹配的音频播放控制手 势为 "向左滑动"之后, 在表 1中确定匹配的音频播放控制手势为 "向左滑动"所对应的 音频播放控制类型 "切换到上一音频" , 将确定的音频播放控制类型 "切换到上一音频" 作为获取到的音频播放控制手势 A所对应的音频播放控制类型。
在步骤 204中, 根据确定的音频播放控制类型执行对应的音频播放控制操作。
根据确定的音频播放控制类型生成对应的音频播放控制信号,并将生成的音频播放控 制信号输出给终端的音频播放控制器,使终端的音频播放控制器根据音频播放控制的信号 对终端的音频播放器执行对应的音频播放控制操作。
其中, 每个音频播放控制类型对应一个音频播放控制信号, 每个音频播放控制信号对 应一个音频播放控制操作。
举例来说, 根据确定的音频播放控制类型 "切换到上一音频"输出对应的音频播放控 制信号给终端的音频播放控制器,使终端的音频播放控制器根据音频播放控制信号对终端 的音频播放器执行切换到上一音频的音频播放控制操作。
除了上述方法之外,还可以采用其他方式根据确定的音频播放控制类型执行对应的音 频播放控制操作。对于具体采用哪种方式根据确定的音频播放控制类型执行对应的音频播 放控制操作, 本公开的实施例在此不进行具体限定。
综上所述, 本公开的实施例提供的方法, 通过在终端的音频播放器启动且终端进入休 眠状态后,根据预先设置的音频播放控制手势与音频播放控制类型的对应关系确定获取到 的音频播放控制手势所对应的音频播放控制类型,并根据确定的音频播放控制类型执行对 应的音频播放控制操作,实现了终端在休眠状态下直接根据触控屏上的音频播放控制手势 即可进行音频播放控制操作, 音频播放的控制方法简单方便, 适用于多种场景。 实施例三
本公开的实施例提供了一种音频播放的控制装置,该装置用于执行上述实施例一或实 施例二提供的音频播放的控制方法。 参见图 4, 该装置包括:
获取模块 401, 用于在终端的音频播放器启动且终端进入休眠状态后, 获取终端的触 控屏上的音频播放控制手势;
确定模块 402, 用于根据音频播放控制手势与音频播放控制类型的对应关系, 确定获 取模块 401获取到的音频播放控制手势所对应的音频播放控制类型;
执行模块 403, 用于根据确定模块 402确定的音频播放控制类型执行对应的音频播放 控制操作。
作为可选的实施方式, 参见图 5, 该装置还包括:
设置模块 404, 用于设置音频播放控制手势和音频播放控制类型的对应关系; 其中, 音频播放控制手势至少包括向左滑动、 向右滑动、 向上滑动、 向下滑动、 多手 指滑动、单次点击和多次点击中的一种以上;音频播放控制类型至少包括切换到上一音频、 切换到下一音频、 当前播放音频向前快进、 当前播放音频向后快进、 暂停、 播放和音量控 制中的一种以上。
进一步, 参见图 6, 设置模块 404, 包括:
获取单元 4041,用于预先获取用户针对设定的每一音频播放控制类型分别输入的音频 播放控制手势;
设置单元 4042, 用于分别将每一音频播放控制类型和获取单元 4041获取到的用户针 对该音频播放控制类型输入的音频播放控制手势设置为一组对应关系。
作为一种可选的实施方式, 参见图 7, 该装置还包括:
第一检测模块 405, 用于检测终端的音频播放器是否启动;
第二检测模块 406, 用于检测终端是否进入休眠状态。
进一步, 第二检测模块 406包括:
第一检测单元 4061, 用于检测终端的触控屏是否处于点亮状态;
第二检测单元 4062, 用于在第一检测单元 4061检测终端的触控屏处于点亮状态时, 检测终端的触控屏是否显示锁屏界面;
判断单元 4063, 如果第一检测单元 4061检测终端的触控屏处于未点亮状态, 则判断 终端进入休眠状态; 如果第二检测单元 4062检测终端的触控屏显示锁屏界面, 则判断终 端进入休眠状态。
作为可选的实施方式, 执行模块 403包括:
生成单元 4031, 用于根据确定的音频播放控制类型生成对应的音频播放控制信号; 输出单元 4032, 用于将生成单元 4031生成的音频播放控制信号输出给终端的音频播 放控制器,使终端的音频播放控制器根据音频播放控制信号对终端的音频播放器执行对应 的音频播放控制操作。
综上所述, 本公开的实施例提供的装置, 通过在终端的音频播放器启动且终端进入休 眠状态后,根据预先设置的音频播放控制手势与音频播放控制类型的对应关系确定获取到 的音频播放控制手势所对应的音频播放控制类型,并根据确定的音频播放控制类型执行对 应的音频播放控制操作,实现了终端在休眠状态下直接根据触控屏上的音频播放控制手势 即可进行音频播放控制操作, 音频播放的控制方法简单方便, 适用于多种场景。 实施例四
本公开的实施例提供了一种终端,参见图 8,该终端包括主处理器 801和协处理器 802, 例如 CPU (Central Processing Unit, 中央处理单元) 等;
主处理器 801, 用于获取预先存储的模块, 并根据协处理器的处理结果执行音频播放 控制操作;
协处理器 802, 用于执行主处理器 801获取到的模块;
其中, 上述模块具有如下功能:
在终端的音频播放器启动且终端进入休眠状态后,获取终端的触控屏上的音频播放控 制手势;
根据音频播放控制手势与音频播放控制类型的对应关系,确定所述获取模块获取到的 音频播放控制手势所对应的音频播放控制类型。
作为可选的实施方式,主处理器 801将协处理器 802的执行结果发送给终端的音频播 放控制器,使所述终端的音频播放控制器根据所述执行结果对所述终端的音频播放器执行 对应的音频播放控制操作。
综上所述, 本公开的实施例提供的终端, 通过协处理器执行主处理器获取到的模块中 相应的在终端的音频播放器启动且终端进入休眠状态后,根据预先设置的音频播放控制手 势与音频播放控制类型的对应关系确定获取到的音频播放控制手势所对应的音频播放控 制类型的操作, 主处理器还将协处理器的执行结果发送给终端的音频播放控制器, 从而使 终端的音频播放控制器根据执行结果对终端的音频播放器执行对应的音频播放控制操作, 实现了终端在休眠状态下直接根据触控屏上的音频播放控制手势即可进行音频播放控制 操作, 音频播放的控制方法简单方便, 适用于多种场景。 需要说明的是: 上述实施例提供的音频播放的控制装置及终端在音频播放的控制时, 仅以上述各功能模块的划分进行举例说明, 实际应用中, 可以根据需要而将上述功能分配 由不同的功能模块完成, 即将音频播放的控制装置及终端的内部结构划分成不同的功能模 块, 以完成以上描述的全部或者部分功能。 另外, 上述实施例提供的音频播放的控制装置 及终端与音频播放的控制方法实施例属于同一构思, 其具体实现过程详见方法实施例, 这 里不再赘述。
上述本公开的实施例序号仅仅为了描述, 不代表实施例的优劣。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完 成, 也可以通过程序来指令相关的硬件完成, 所述的程序可以存储于一种计算机可读存储 介质中, 上述提到的存储介质可以是只读存储器, 磁盘或光盘等。
以上所述仅为本公开的实施例,并不用以限制本公开,凡在本公开的精神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本公开的保护范围之内。

Claims

权利要求
1、 一种音频播放的控制方法, 其特征在于, 所述方法包括:
在终端的音频播放器启动且终端进入休眠状态后,获取终端的触控屏上的音频播放控 制手势;
根据音频播放控制手势与音频播放控制类型的对应关系,确定获取到的音频播放控制 手势所对应的音频播放控制类型;
根据确定的音频播放控制类型执行对应的音频播放控制操作。
2、 根据权利要求 1所述的方法, 其特征在于, 所述方法还包括:
设置音频播放控制手势和音频播放控制类型的对应关系;
其中, 音频播放控制手势至少包括向左滑动、 向右滑动、 向上滑动、 向下滑动、 多手 指滑动、单次点击和多次点击中的一种以上;音频播放控制类型至少包括切换到上一音频、 切换到下一音频、 当前播放音频向前快进、 当前播放音频向后快进、 暂停、播放和音量控 制中的一种以上。
3、 根据权利要求 2所述的方法, 其特征在于, 所述设置音频播放控制手势和音频播 放控制类型的对应关系, 包括:
获取用户针对设定的每一音频播放控制类型分别输入的音频播放控制手势; 分别将每一音频播放控制类型和用户针对该音频播放控制类型输入的音频播放控制 手势设置为一组对应关系。
4、 根据权利要求 1所述的方法, 其特征在于, 所述方法还包括:
检测终端的音频播放器是否启动;
检测终端是否进入休眠状态。
5、如权利要求 4所述的方法, 其特征在于, 所述检测终端是否进入休眠状态, 包括: 检测所述终端的触控屏是否处于点亮状态;
如果所述终端的触控屏处于未点亮状态, 则判断所述终端进入休眠状态;
如果所述终端的触控屏处于点亮状态, 则检测所述终端的触控屏是否显示锁屏界面, 如果所述终端的触控屏处于点亮状态且显示锁屏界面, 则判断所述终端进入休眠状态。
6、 根据权利要求 1所述的方法, 其特征在于, 所述根据确定的音频播放控制类型执 行对应的音频播放控制操作, 包括:
根据确定的音频播放控制类型生成对应的音频播放控制信号;
输出所述音频播放控制信号给终端的音频播放控制器,使所述终端的音频播放控制器 根据所述音频播放控制信号对所述终端的音频播放器执行对应的音频播放控制操作。
7、 一种音频播放的控制装置, 其特征在于, 所述装置包括:
获取模块,用于在终端的音频播放器启动且终端进入休眠状态后,获取终端的触控屏 上的音频播放控制手势;
确定模块,用于根据音频播放控制手势与音频播放控制类型的对应关系,确定所述获 取模块获取到的音频播放控制手势所对应的音频播放控制类型;
执行模块,用于根据所述确定模块确定的音频播放控制类型执行对应的音频播放控制 操作。
8、 根据权利要求 7所述的装置, 其特征在于, 所述装置, 还包括:
设置模块, 用于设置音频播放控制手势和音频播放控制类型的对应关系;
其中, 音频播放控制手势至少包括向左滑动、 向右滑动、 向上滑动、 向下滑动、 多手 指滑动、单次点击和多次点击中的一种以上;音频播放控制类型至少包括切换到上一音频、 切换到下一音频、 当前播放音频向前快进、 当前播放音频向后快进、 暂停、播放和音量控 制中的一种以上。
9、 根据权利要求 8所述的装置, 其特征在于, 所述设置模块, 包括:
获取单元,用于预先获取用户针对设定的每一音频播放控制类型分别输入的音频播放 控制手势;
设置单元,用于分别将每一音频播放控制类型和所述获取单元获取到的用户针对该音 频播放控制类型输入的音频播放控制手势设置为一组对应关系。
10、 根据权利要求 7所述的装置, 其特征在于, 所述装置还包括:
第一检测模块, 用于检测所述终端的音频播放器是否启动; 第二检测模块, 用于检测所述终端是否进入休眠状态。
11、 如权利要求 10所述的装置, 其特征在于, 所述第二检测模块包括:
第一检测单元, 用于检测所述终端的触控屏是否处于点亮状态;
第二检测单元,用于在所述第一检测单元检测所述终端的触控屏处于点亮状态时,检 测所述终端的触控屏是否显示锁屏界面;
判断单元,如果所述第一检测单元检测所述终端的触控屏处于未点亮状态,则判断所 述终端进入休眠状态;如果所述第二检测单元检测所述终端的触控屏显示锁屏界面,则判 断所述终端进入休眠状态。
12、 根据权利要求 7所述的装置, 其特征在于, 所述执行模块包括:
生成单元,用于根据所述确定模块确定的音频播放控制类型生成对应的音频播放控制 信号;
输出单元,用于将所述生成单元生成的音频播放控制信号输出给终端的音频播放控制 器,使所述终端的音频播放控制器根据所述音频播放控制信号对所述终端的音频播放器执 行对应的音频播放控制操作。
13、 一种终端, 其特征在于, 所述终端包括主处理器和协处理器;
所述主处理器,用于获取预先存储的模块,并根据协处理器的处理结果执行音频播放 控制操作;
所述协处理器, 用于执行所述主处理器获取到的模块;
其中, 所述模块具有如下功能:
在终端的音频播放器启动且终端进入休眠状态后,获取终端的触控屏上的音频播放控 制手势;
根据音频播放控制手势与音频播放控制类型的对应关系,确定所述获取模块获取到的 音频播放控制手势所对应的音频播放控制类型。
14、 根据权利要求 13所述的终端, 其特征在于, 所述主处理器将所述协处理器的执 行结果发送给终端的音频播放控制器,使所述终端的音频播放控制器根据所述执行结果对 所述终端的音频播放器执行对应的音频播放控制操作。
PCT/CN2013/083459 2013-02-28 2013-09-13 音频播放的控制方法、装置及终端 WO2014131277A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310064355.2A CN103150112B (zh) 2013-02-28 2013-02-28 音频播放的控制方法、装置及终端
CN201310064355.2 2013-02-28

Publications (1)

Publication Number Publication Date
WO2014131277A1 true WO2014131277A1 (zh) 2014-09-04

Family

ID=48548221

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/083459 WO2014131277A1 (zh) 2013-02-28 2013-09-13 音频播放的控制方法、装置及终端

Country Status (2)

Country Link
CN (1) CN103150112B (zh)
WO (1) WO2014131277A1 (zh)

Families Citing this family (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103150112B (zh) * 2013-02-28 2017-03-01 小米科技有限责任公司 音频播放的控制方法、装置及终端
CN103729111A (zh) * 2013-12-31 2014-04-16 联想(北京)有限公司 一种信息处理方法和电子设备
CN103941998A (zh) * 2014-03-25 2014-07-23 惠州Tcl移动通信有限公司 敲击屏幕或手势识别控制移动终端音乐播放的方法及系统
CN103838512A (zh) * 2014-03-26 2014-06-04 联想(北京)有限公司 控制方法和电子设备
CN104571859B (zh) * 2014-12-22 2019-09-20 惠州Tcl移动通信有限公司 一种控制播放器的方法及其终端
CN104636065A (zh) * 2014-12-31 2015-05-20 小米科技有限责任公司 终端唤醒方法和装置
US20160210109A1 (en) * 2015-01-19 2016-07-21 Mediatek Inc. Method for controlling audio playing of an electronic device, and associated apparatus and associated computer program product
CN104820571A (zh) * 2015-03-20 2015-08-05 广东欧珀移动通信有限公司 一种切换歌曲的方法及装置
CN104935739A (zh) * 2015-05-29 2015-09-23 努比亚技术有限公司 音视频应用控制方法和装置
CN104965648B (zh) * 2015-06-09 2019-02-05 联想(北京)有限公司 一种控制方法及电子设备
CN105137819B (zh) * 2015-07-28 2019-07-02 Oppo广东移动通信有限公司 一种音乐播放的方法及智能手表
CN106406716B (zh) * 2015-07-28 2020-10-13 腾讯科技(深圳)有限公司 锁屏状态下的音频播放方法及音频播放系统
CN105183290A (zh) * 2015-09-02 2015-12-23 深圳市金立通信设备有限公司 一种音频播放界面的操作方法及终端
CN105487751A (zh) * 2015-11-25 2016-04-13 广州华多网络科技有限公司 播放控制方法及装置
CN105824429A (zh) * 2016-05-12 2016-08-03 深圳市联谛信息无障碍有限责任公司 基于红外传感器的读屏应用指令输入方法及装置
CN107591166B (zh) * 2016-07-07 2021-02-23 中兴通讯股份有限公司 一种录音标记与回放的方法和装置
CN106383660A (zh) * 2016-09-30 2017-02-08 维沃移动通信有限公司 一种音频文件的操作控制方法及移动终端
CN106527951A (zh) * 2016-11-16 2017-03-22 珠海格力电器股份有限公司 一种播放指定音频文件的方法、装置和电子设备
CN106708402A (zh) * 2016-11-25 2017-05-24 努比亚技术有限公司 控制终端应用的方法及装置
CN107845391B (zh) * 2017-09-18 2019-10-15 维沃移动通信有限公司 一种音乐播放方法及移动终端
CN108519913B (zh) * 2018-04-04 2021-08-27 广州酷狗计算机科技有限公司 应用程序的运行状态管理方法、装置、存储介质及终端
CN108647074B (zh) * 2018-05-09 2022-01-07 北京微播视界科技有限公司 锁屏状态下展示动态信息的方法、装置、硬件装置和介质
CN110851046A (zh) * 2018-08-01 2020-02-28 珠海格力电器股份有限公司 一种音频播放方法、装置、介质和设备
CN112748799A (zh) * 2019-10-31 2021-05-04 深圳市冠旭电子股份有限公司 音频播放的控制方法、装置、存储介质及终端设备

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100328224A1 (en) * 2009-06-25 2010-12-30 Apple Inc. Playback control using a touch interface
CN103150112A (zh) * 2013-02-28 2013-06-12 北京小米科技有限责任公司 音频播放的控制方法、装置及终端

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102768840A (zh) * 2011-05-03 2012-11-07 联想移动通信科技有限公司 一种视频播放控制方法和终端设备
CN102902453A (zh) * 2012-08-07 2013-01-30 北京小米科技有限责任公司 一种播放器控制面板显示方法及装置

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100328224A1 (en) * 2009-06-25 2010-12-30 Apple Inc. Playback control using a touch interface
CN103150112A (zh) * 2013-02-28 2013-06-12 北京小米科技有限责任公司 音频播放的控制方法、装置及终端

Also Published As

Publication number Publication date
CN103150112A (zh) 2013-06-12
CN103150112B (zh) 2017-03-01

Similar Documents

Publication Publication Date Title
WO2014131277A1 (zh) 音频播放的控制方法、装置及终端
US10146430B2 (en) Mobile terminal device, operation method, program, and storage medium
US9213467B2 (en) Interaction method and interaction device
TWI592021B (zh) 生成視頻的方法、裝置及終端
CA2841524C (en) Method and apparatus for controlling content using graphical object
KR102113683B1 (ko) 문지르기 제스처를 검출하여 미리보기를 제공하는 모바일 장치 및 그 제어 방법
US20150177903A1 (en) Method and apparatus for controlling scale resolution in electronic device
US20140344697A1 (en) Method, apparatus and terminal for adjusting playback progress
WO2014032431A1 (zh) 终端设备及快速启动程序的方法
CN104636065A (zh) 终端唤醒方法和装置
KR20160014481A (ko) Idle 모드에서 동작하는 전자 장치 및 방법
RU2619089C2 (ru) Способ и устройство для воспроизведения множества видео
TWI692705B (zh) 可攜式電子裝置、及其操作方法、與使用此方法之記錄媒體
WO2013173968A1 (zh) 终端和应用功能界面的切换方法
WO2020024890A1 (zh) 一种触控装置及方法
WO2015103846A1 (zh) 控制手机应用程序的方法、手机保护盖及手机保护盖套件
WO2015131590A1 (zh) 一种控制黑屏手势处理的方法及终端
WO2016173307A1 (zh) 一种消息复制方法和装置、以及智能终端
WO2016112791A1 (zh) 移动终端应用程序页面的展现方法和装置
TW201510772A (zh) 手勢判斷方法及電子裝置
WO2015117526A1 (zh) 一种触控处理方法和装置
US20200019366A1 (en) Data Processing Method and Mobile Device
CN103179277A (zh) 手机音视频播放模式切换方法及装置
WO2020103544A1 (zh) 应用启动方法及相关设备
WO2015127883A1 (en) Method, apparatus and medium for continuous playback of sound file

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: 13876753

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13876753

Country of ref document: EP

Kind code of ref document: A1