CN108683801B - Method, device and terminal for controlling audio playing and computer readable storage medium - Google Patents

Method, device and terminal for controlling audio playing and computer readable storage medium Download PDF

Info

Publication number
CN108683801B
CN108683801B CN201810376385.XA CN201810376385A CN108683801B CN 108683801 B CN108683801 B CN 108683801B CN 201810376385 A CN201810376385 A CN 201810376385A CN 108683801 B CN108683801 B CN 108683801B
Authority
CN
China
Prior art keywords
audio playing
interface
terminal
playing control
control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810376385.XA
Other languages
Chinese (zh)
Other versions
CN108683801A (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 CN201810376385.XA priority Critical patent/CN108683801B/en
Publication of CN108683801A publication Critical patent/CN108683801A/en
Application granted granted Critical
Publication of CN108683801B publication Critical patent/CN108683801B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72442User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Telephone Function (AREA)

Abstract

The present application belongs to the technical field of electronic devices, and in particular, to a method, an apparatus, a terminal, and a computer-readable storage medium for controlling audio playing, wherein the method includes: detecting whether a music player of the terminal plays audio in a background; if the audio playing of the music player is detected to be carried out in the background, loading an audio playing control interface on a current display interface of the terminal, wherein the audio playing control interface is configured with an audio playing control; controlling the audio playing of the music player according to the triggering operation of the user on the audio playing control; the method has the advantages of simple and quick triggering mode and improvement of the operating efficiency of audio playing control in the music player.

Description

Method, device and terminal for controlling audio playing and computer readable storage medium
Technical Field
The present application belongs to the technical field of electronic devices, and in particular, to a method, an apparatus, a terminal, and a computer-readable storage medium for controlling audio playing.
Background
Currently, most users are accustomed to using mobile terminals such as mobile phones to read electronic books or browse web pages while listening to music.
Generally, when a user reads an electronic book or browses a web page, the user needs to perform operations such as audio switching or pausing, however, in the conventional technology, the user generally needs to turn on an audio player again to perform audio playing control operations such as audio switching or pausing, which has a disadvantage of low operation efficiency.
Disclosure of Invention
The embodiment of the application provides a method, a device, a terminal and a computer readable storage medium for controlling audio playing, which can solve the technical problem of low operation efficiency of the traditional audio playing control.
A first aspect of an embodiment of the present application provides a method for controlling audio playing, including:
detecting whether a music player of the terminal plays audio in a background;
if the audio playing of the music player is detected to be carried out in the background, loading an audio playing control interface on a current display interface of the terminal, wherein the audio playing control interface is configured with an audio playing control;
and controlling the audio playing of the music player according to the triggering operation of the user on the audio playing control.
A second aspect of the embodiments of the present application provides an apparatus for controlling audio playback, including:
the detection unit is used for detecting whether a music player of the terminal plays audio in a background;
the loading unit is used for loading an audio playing control interface on a current display interface of the terminal if the audio playing of the music player is detected to be carried out in the background, and the audio playing control interface is configured with an audio playing control piece;
and the control unit is used for controlling the audio playing of the music player according to the triggering operation of the user on the audio playing control.
A third aspect of the embodiments of the present application provides a terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the method when executing the computer program.
A fourth aspect of the embodiments of the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the steps of the above method.
In the embodiment of the application, when it is detected that the music player plays audio at the background, the audio playing control interface is loaded on the current display interface of the terminal, so that the audio playing of the music player is controlled according to the triggering operation of the audio playing control component on the audio playing control interface, that is, the audio playing control is performed without returning to the main interface of the music player, and the current display interface of the terminal is not required to be closed, but the audio playing control interface configured with the audio playing control component is loaded on the current display interface of the terminal, so that the audio playing control is performed.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a schematic flow chart illustrating an implementation of a method for controlling audio playing provided by an embodiment of the present application;
fig. 2 is a schematic diagram illustrating an audio playback control interface loaded above a current display interface of a terminal according to an embodiment of the present application;
fig. 3 is a schematic diagram illustrating an audio playing control interface loaded on a left side of a current display interface of a terminal according to an embodiment of the present application;
fig. 4 is a schematic diagram illustrating an audio playback control interface being hidden and a control of the hidden audio playback control interface being displayed;
FIG. 5 is a schematic diagram illustrating an audio playback control interface movably loaded on a current display interface of a terminal according to an embodiment of the present application;
fig. 6 is a schematic diagram illustrating a juxtaposed display of an audio playing control interface and a current display interface of a terminal according to an embodiment of the present application;
fig. 7 is a schematic flowchart of another implementation of a method for controlling audio playing according to an embodiment of the present application;
fig. 8 is a schematic flowchart illustrating an implementation flow of the method S703 for controlling audio playing according to the present application;
fig. 9 is a schematic structural diagram of an audio playback control scheme selection interface provided in an embodiment of the present application;
fig. 10 is a schematic structural diagram of an apparatus for controlling audio playback according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Fig. 1 shows a schematic flow chart of an implementation process of a method for controlling audio playing provided by an embodiment of the present application, where the method is applied to a terminal, and can be executed by a device configured on the terminal for controlling audio playing, and the device for controlling audio playing can be implemented in a hardware and/or software manner, and is suitable for a situation where audio playing control needs to be performed efficiently and conveniently. The method may comprise the steps of: s101 to S103.
S101, detecting whether a music player of the terminal plays audio in a background.
The terminal comprises terminal equipment such as a smart phone, a tablet computer, a Personal Digital Assistant (PDA), a learning machine, MP3, MP4, a Portable Multimedia Player (PMP) and the like. The terminal device may be equipped with applications such as a music player, a QQ, a WeChat, a game a, a game B, an e-book reader, and a browser. The music player may include: the terminal comprises cool dog music, Internet cloud music, QQ music and a music player carried by the terminal.
After a user opens the music player and selects the songs in the song play list to play, the user generally exits from the music player, and at this time, the music player plays audio in the background.
In some embodiments of the present application, by detecting whether the music player of the terminal performs audio playing in the background, when it is detected that the music player of the terminal performs audio playing in the background, S102 to S103 are performed.
And S102, if the audio playing of the music player is detected to be carried out in the background, loading an audio playing control interface on the current display interface of the terminal, wherein the audio playing control interface is configured with an audio playing control.
In some embodiments of the application, when it is detected that the music player performs audio playing in the background, an audio playing control interface is loaded on a current display interface of the terminal, so that audio playing control operation is performed according to a triggering operation of a user on the audio playing control interface on the audio playing control, and the operating efficiency of audio playing control in the music player is improved.
The audio playing control comprises an upward switching audio control, a downward switching audio control, an audio pause/start control, a volume increase control, a volume decrease control, a return music player main interface control, a music player closing control and a hidden audio playing control interface control. It should be noted that the illustration is merely an example and is not meant to limit the scope of the present disclosure, and in some embodiments, the audio playback control may include fewer controls and/or more controls.
Optionally, in some embodiments of the present application, the loading an audio playing control interface on a current display interface of the terminal includes: and loading the audio playing control interface at a fixed position of the current display interface of the terminal, or loading the audio playing control interface on the current display interface of the terminal movably.
Wherein, loading the audio playing control interface at the fixed position of the current display interface of the terminal comprises: and loading the audio playing control interface at a fixed position above, below, in the middle, on the left side or on the right side of the current display interface of the terminal.
For example, fig. 2 shows a schematic diagram of loading the audio playback control interface 21 above the current display interface 20 of the terminal according to the embodiment of the present application. The audio playing control interface 21 is configured with an up-switch audio control 22, a down-switch audio control 23, an audio pause/start control 24, a volume increase control 25, a volume decrease control 26, a return music player main interface control 27, a close music player control 28, and a hidden audio playing control interface control 29.
For example, fig. 3 shows a schematic diagram of loading the audio playback control interface 31 on the left side of the current display interface 30 of the terminal provided by the present application. It should be noted that, reference may be made to fig. 2 for the schematic diagram of loading the audio playing control interface at a fixed position below or in the middle of the current display interface of the terminal, and reference may be made to fig. 3 for the schematic diagram of loading the audio playing control interface at a fixed position on the right side of the current display interface of the terminal.
In some embodiments of the present application, the movably loading the audio playback control interface on the current display interface of the terminal further includes: and loading the audio playing control interface at the corresponding position of the current display interface of the terminal according to the position of the hidden audio playing control interface control in the audio playing control interface so as to realize that the audio playing control interface can be movably loaded on the current display interface of the terminal.
The hidden audio playing control interface control is used for loading the audio playing control interface on the current terminal display interface when being triggered, or hiding the display of the audio playing control interface on the current terminal display interface, and when the audio playing control interface is hidden, the display of the hidden audio playing control interface control is reserved, namely, the hidden audio playing control interface control is not hidden. Fig. 4 is a schematic diagram showing that the audio playing control interface is hidden and the hidden audio playing control interface control remains displayed.
The hidden audio playback control interface control 40 is movable when the audio playback control interface is hidden.
For example, as shown in fig. 5, when the hidden audio playing control interface control 40 is moved to the position of the hidden audio playing control interface control 40 ', and the hidden audio playing control interface control 40 ' is triggered, the audio playing control interface 41 loads the audio playing control interface 41 on the corresponding position of the current display interface of the terminal according to the position of the hidden audio playing control interface control 40 ', so as to implement that the audio playing control interface is movably loaded on the current display interface of the terminal.
Optionally, the loading, by the audio playback control interface, the audio playback control interface at a position corresponding to the current display interface of the terminal according to the position of the hidden audio playback control interface control includes: and the terminal calculates the current position information of the hidden audio playing control interface control to obtain the display position of the audio playing control interface, and loads the audio playing control interface at the display position.
For example, the terminal calculates the current position information of the hidden audio playback control interface control 40', obtains the display position of the audio playback control interface 41, and loads the audio playback control interface 41 at the display position.
In some embodiments of the present application, the loading the audio playback control interface in a fixed position on the current display interface of the terminal, or the loading the audio playback control interface movably on the current display interface of the terminal, includes: and the audio playing control interface and the current terminal display interface are displayed in parallel, or the audio playing control interface partially covers the current terminal display interface for displaying.
As shown in fig. 2 to 5, the audio playing control interfaces are all partially overlaid on the current display interface of the terminal for displaying, in some embodiments of the present application, as shown in fig. 6, the audio playing control interface 61 may also be displayed in parallel with the current display interface 62 of the terminal.
And S103, controlling the audio playing of the music player according to the triggering operation of the user on the audio playing control.
When the audio playing control is triggered, the audio playing of the music player can be controlled according to the triggering instruction for triggering the audio playing control.
Optionally, the controlling the audio playing of the music player according to the triggering operation of the audio playing control by the user includes: and controlling the music player to switch audio, adjust volume, pause playing, return to a main interface of the music player and close the music player according to the triggering operation of the audio playing control piece by the user.
For example, the music player is controlled to switch to the previous audio, to switch to the next audio, to pause/start audio play, to increase volume, to decrease volume, to return to the main interface of the music player, or to close the music player, based on a user-triggered operation of the up-switch audio control 22, the down-switch audio control 23, the audio pause/start control 24, the volume increase control 25, the volume decrease control 26, the return to the main interface of the music player 27, the close music player control 28, or the hidden audio play control interface control 29.
In the embodiment of the application, when it is detected that the music player plays audio at the background, the audio playing control interface is loaded on the current display interface of the terminal, so that the audio playing of the music player is controlled according to the triggering operation of the audio playing control component on the audio playing control interface, that is, the audio playing control is performed without returning to the main interface of the music player, and the current display interface of the terminal is not required to be closed, but the audio playing control interface configured with the audio playing control component is loaded on the current display interface of the terminal, so that the audio playing control is performed.
As shown in fig. 7, another implementation flow diagram of a method for controlling audio playback provided in an embodiment of the present application is shown, where the method further defines that, in S102 in the embodiment of fig. 1, an audio playback control interface is loaded on a current display interface of the terminal, and parts of this embodiment that are the same as those in the embodiment of fig. 1 are not repeated, and the method includes: s701 to S704.
S701, detecting whether a music player of the terminal plays audio in a background.
S702, if the audio playing of the music player in the background is detected, whether the current display interface of the terminal is the display interface of the preset application is detected.
S703, if the current display interface of the terminal is the display interface of a preset application, loading the audio playing control interface on the current display interface of the terminal; and the audio playing control interface is configured with an audio playing control.
S704, controlling the audio playing of the music player according to the triggering operation of the user on the audio playing control.
That is to say, in the embodiment of the present application, only when the current display interface of the terminal is the display interface of the preset application, the audio playing control interface is loaded on the current display interface of the terminal. And when the current display interface of the terminal is the display interface of the application other than the preset application, the audio playing control interface is not loaded on the current display interface of the terminal.
The preset application may be an application preset by a user, or an application set during development of an apparatus for controlling audio playing, for example, an application such as an e-book reader, WeChat, QQ, Hosta, browser, Taobao, microblog, and hot news. The examples are given solely for the purpose of illustration and are not intended to limit the scope of the invention, as other embodiments of the invention may include more or fewer applications.
In order to avoid that the audio playing control interface is loaded and the current display interface of the terminal is occupied by the audio playing control interface when the hidden audio playing control is frequently touched by mistake on the display interface, the display effect of the current display interface of the terminal is reduced. Therefore, in the embodiment of the present application, when the currently displayed interface of the terminal is a display interface of an application other than a preset application, the audio playing control interface is not loaded on the currently displayed interface of the terminal.
The applications other than the preset application may be applications that need to be frequently operated on an application interface, for example, game applications such as game a and game B. The application other than the preset application may be an application preset by a user or an application set when the device for controlling audio playback is developed.
Optionally, as shown in fig. 8, in S703, if the current display interface of the terminal is a display interface of a preset application, the loading the audio playing control interface on the current display interface of the terminal includes: s801 to S802.
And S801, if the current display interface of the terminal is the display interface of the preset application, loading an audio playing control scheme selection interface.
S802, loading the audio playing control interface on the current display interface of the terminal according to a determined instruction triggered on the audio playing control scheme selection interface, wherein the audio playing control interface is configured with an audio playing control.
For example, as shown in fig. 9, if the current display interface of the terminal is the display interface 90 of the electronic book reading application, when the electronic book reading application starts to run, it is detected whether the music player of the terminal performs audio playing in the background, and when it is detected that the music player of the terminal performs audio playing in the background, the audio playing control scheme selection interface 91 is loaded on the display interface 90 of the electronic book reading application.
For example, when the application currently running on the terminal is an electronic book reading application, the audio play control scheme running prompt message may be "the system detects that it is troublesome to listen to music while reading a book and change songs, we provide a solution for you, and do not run? "; for another example, when the application currently running on the terminal is a panning application, the audio playback control scheme running prompt message may be "the system detects that it is troublesome to listen to a song, go shopping for panning, and change songs, we provide a solution for you, do it run? And enabling the user to operate the prompt message according to the audio playing control scheme to select the audio playing control scheme.
The audio playing control scheme selection interface is further provided with a determination control 92 and a negation control 93, so that the audio playing control interface is loaded on the current terminal display interface according to a determination instruction triggered by the determination control 92 selected by a user on the audio playing control scheme selection interface, and the audio playing control interface is abandoned to be loaded on the current terminal display interface according to a negation instruction triggered by the negation control 92 selected by the user on the audio playing control scheme selection interface.
Optionally, when the terminal runs the preset application for the first time, the audio playing control scheme selection interface is loaded, and a determination instruction or a negative instruction triggered by a user on the audio playing control scheme selection interface is stored, so that when the terminal runs the preset application again, the audio playing control interface is loaded or the loading is abandoned according to the determination instruction or the negative instruction stored in the terminal in advance.
Optionally, after the audio playing control interface is loaded on the current display interface of the terminal, the method includes: hiding the audio playing control interface according to the triggering operation of the hidden control on the audio playing control interface; or hiding the audio playing control interface according to the triggering operation of the closing control on the audio playing control interface.
For example, as shown in fig. 2, after an audio playing control interface is loaded on a current display interface of the terminal, the audio playing control interface 21 is hidden according to a triggering operation on a hidden audio playing control interface control 29 on the audio playing control interface 21, or the audio playing control interface is hidden according to a triggering operation on a closing control 210 on the audio playing control interface 21.
Fig. 10 shows a schematic structural diagram of an apparatus 1000 for controlling audio playback according to an embodiment of the present application, which includes a detection unit 1001, a loading unit 1002, and a control unit 1003.
A detection unit 1001 configured to detect whether a music player of the terminal performs audio playing in the background;
the loading unit 1002 is configured to load an audio playing control interface on a current display interface of the terminal if it is detected that the music player performs audio playing in the background, where the audio playing control interface is configured with an audio playing control;
and the control unit 1003 is configured to control audio playing of the music player according to a triggering operation of the user on the audio playing control.
In some embodiments of the present application, the loading unit 1002 further includes a first detecting subunit and a first loading subunit, and is specifically configured to detect whether a current display interface of the terminal is a display interface of a preset application; and if the current display interface of the terminal is the display interface of the preset application, loading the audio playing control interface on the current display interface of the terminal.
In some embodiments of the present application, the loading unit 1002 further includes a second detecting subunit and a second loading subunit, and is specifically configured to load an audio playback control scheme selection interface if the current display interface of the terminal is a display interface of a preset application; and loading the audio playing control interface on the current display interface of the terminal according to the determined instruction triggered on the audio playing control scheme selection interface.
In some embodiments of the present application, the loading unit 1002 is specifically configured to load the audio playing control interface at a fixed position of the current display interface of the terminal, or movably load the audio playing control interface on the current display interface of the terminal.
Optionally, the loading unit 1002 is specifically configured to display the audio playing control interface in parallel with the current terminal display interface, or display the audio playing control interface partially covering the current terminal display interface.
Optionally, the control unit 1003 is specifically configured to control the music player to perform audio switching, volume adjustment, play pause, return to a main interface of the music player, and close the music player according to a triggering operation of the audio play control performed by the user.
Optionally, the apparatus for controlling audio playing further includes a hiding unit, specifically configured to hide the audio playing control interface according to a triggering operation on a hidden audio playing control interface control on the audio playing control interface after the audio playing control interface is loaded on the current display interface of the terminal; or after an audio playing control interface is loaded on the current display interface of the terminal, hiding the audio playing control interface according to the triggering operation of a closing control on the audio playing control interface.
It should be noted that, for convenience and brevity of description, the specific working process of the apparatus 1000 for controlling audio playing described above may refer to the corresponding process of the method described in fig. 1 to fig. 9, and is not described herein again.
As shown in fig. 11, the present application provides a terminal for implementing the method for controlling audio playing, where the terminal may be a terminal such as a smart phone, a tablet computer, a Personal Computer (PC), a Personal Digital Assistant (PDA), a learning machine, and includes: one or more input devices 113 (only one shown in fig. 11) and one or more output devices 114 (only one shown in fig. 11). The processor 111, memory 112, input device 113, and output device 114 are connected by a bus 115.
It should be understood that, in the embodiment of the present Application, the Processor 111 may be a Central Processing Unit (CPU), and the Processor may also be other general processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The input device 113 may include a keyboard, a touch pad, a fingerprint sensor (for collecting fingerprint information of a user and direction information of the fingerprint), a microphone, etc., and the output device 114 may include a display, a speaker, etc.
Memory 112 may include both read-only memory and random access memory and provides instructions and data to processor 111. Some or all of memory 111 may also include non-volatile random access memory. For example, the memory 112 may also store device type information.
The memory 112 stores a computer program that is executable on the processor 111, for example, a program of a method of controlling audio playback. The processor 111, when executing the computer program, implements the steps in the above-described method embodiment of controlling audio playback, for example, S101 to S103 shown in fig. 1. Alternatively, the processor 111, when executing the computer program, implements the functions of each module/unit in each device embodiment described above, for example, the functions of the units 1001 to 1003 shown in fig. 10.
The computer program may be divided into one or more modules/units, which are stored in the memory 112 and executed by the processor 111 to accomplish the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program in the terminal for controlling audio playing. For example, the computer program may be divided into a detection unit, a loading unit and a control unit, and the specific functions of each unit are as follows: the detection unit is used for detecting whether a music player of the terminal plays audio in a background; the loading unit is used for loading an audio playing control interface on a current display interface of the terminal if the audio playing of the music player is detected to be carried out in the background, and the audio playing control interface is configured with an audio playing control piece; and the control unit is used for controlling the audio playing of the music player according to the triggering operation of the user on the audio playing control.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal and method may be implemented in other ways. For example, the above-described apparatus/terminal embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (8)

1. A method of controlling audio playback, comprising:
detecting whether a music player of the terminal plays audio in a background;
if the audio playing of the music player in the background is detected, loading an audio playing control interface on the current display interface of the terminal, wherein the audio playing control interface is configured with an audio playing control, and the method comprises the following steps: detecting whether a current display interface of the terminal is a display interface of a preset application or not; if the current display interface of the terminal is a display interface of a preset application, loading the audio playing control interface on the current display interface of the terminal; when the terminal runs the preset application for the first time, loading an audio playing control scheme selection interface, and storing a determining instruction or a negative instruction triggered by a user on the audio playing control scheme selection interface, so that when the terminal runs the preset application again, the audio playing control interface is loaded or the loading is abandoned according to the determining instruction or the negative instruction pre-stored in the terminal; the audio playing control comprises an up-switching audio control, a down-switching audio control, an audio pause/start control, a volume increase control, a volume decrease control, a return music player main interface control, a music player closing control and a hidden audio playing control interface control; the audio playing control interface partially covers the current display interface of the terminal for displaying; hiding the audio playing control interface according to the triggering operation of the hidden audio playing control interface control on the audio playing control interface; or hiding the audio playing control interface according to the triggering operation of the closing control on the audio playing control interface; loading the audio playing control interface at the corresponding position of the current display interface of the terminal according to the position of the hidden audio playing control interface control in the audio playing control interface;
and controlling the audio playing of the music player according to the triggering operation of the user on the audio playing control.
2. The method of claim 1, wherein if the current display interface of the terminal is a display interface of a preset application, loading the audio playing control interface on the current display interface of the terminal comprises:
if the current display interface of the terminal is a display interface of a preset application, loading an audio playing control scheme selection interface;
and loading the audio playing control interface on the current display interface of the terminal according to the determined instruction triggered on the audio playing control scheme selection interface.
3. The method according to claim 1 or 2, wherein the loading of the audio playing control interface on the current display interface of the terminal comprises:
loading the audio playing control interface at a fixed position of a current display interface of the terminal;
alternatively, the first and second electrodes may be,
and movably loading the audio playing control interface on the current display interface of the terminal.
4. The method as claimed in claim 3, wherein the loading the audio playing control interface at a fixed position on the current display interface of the terminal or the loading the audio playing control interface movably on the current display interface of the terminal comprises:
and the audio playing control interface and the current display interface of the terminal are displayed in parallel.
5. The method of claim 1, wherein the controlling the audio playback of the music player according to the user-triggered operation of the audio playback control comprises:
and controlling the music player to switch audio, adjust volume, pause playing, return to a main interface of the music player and close the music player according to the triggering operation of the audio playing control piece by the user.
6. An apparatus for controlling audio playback, comprising:
the detection unit is used for detecting whether a music player of the terminal plays audio in a background;
the loading unit is used for loading an audio playing control interface on a current display interface of the terminal if the audio playing of the music player is detected to be carried out in the background, and the audio playing control interface is configured with an audio playing control piece; the audio playing control comprises an up-switching audio control, a down-switching audio control, an audio pause/start control, a volume increase control, a volume decrease control, a return music player main interface control, a music player closing control and a hidden audio playing control interface control; the audio playing control interface partially covers the current display interface of the terminal for displaying; hiding the audio playing control interface according to the triggering operation of the hidden audio playing control interface control on the audio playing control interface; or hiding the audio playing control interface according to triggering operation of a closing control on the audio playing control interface, and loading the audio playing control interface on a corresponding position of a current display interface of the terminal according to the position of the hidden audio playing control interface control in the audio playing control interface; the loading unit further comprises a first detection subunit and a first loading subunit, and is specifically used for detecting whether the current display interface of the terminal is a display interface of a preset application; if the current display interface of the terminal is a display interface of a preset application, loading the audio playing control interface on the current display interface of the terminal; when the terminal runs the preset application for the first time, loading an audio playing control scheme selection interface, and storing a determining instruction or a negative instruction triggered by a user on the audio playing control scheme selection interface, so that when the terminal runs the preset application again, the audio playing control interface is loaded or the loading is abandoned according to the determining instruction or the negative instruction pre-stored in the terminal;
and the control unit is used for controlling the audio playing of the music player according to the triggering operation of the user on the audio playing control.
7. A terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 5 when executing the computer program.
8. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
CN201810376385.XA 2018-04-24 2018-04-24 Method, device and terminal for controlling audio playing and computer readable storage medium Active CN108683801B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810376385.XA CN108683801B (en) 2018-04-24 2018-04-24 Method, device and terminal for controlling audio playing and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810376385.XA CN108683801B (en) 2018-04-24 2018-04-24 Method, device and terminal for controlling audio playing and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108683801A CN108683801A (en) 2018-10-19
CN108683801B true CN108683801B (en) 2020-10-20

Family

ID=63802561

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810376385.XA Active CN108683801B (en) 2018-04-24 2018-04-24 Method, device and terminal for controlling audio playing and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108683801B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109634549A (en) * 2018-10-23 2019-04-16 中国平安人寿保险股份有限公司 Audio frequency playing method, audio player, computer installation and readable storage medium storing program for executing
CN111694473A (en) * 2019-03-13 2020-09-22 青岛海尔电冰箱有限公司 Control method and control device for music suspension window of household appliance
CN110503979B (en) * 2019-08-01 2023-11-21 腾讯科技(深圳)有限公司 Audio output effect monitoring method, device, medium and electronic equipment
CN113849241A (en) * 2020-06-10 2021-12-28 Oppo(重庆)智能科技有限公司 Audio playing control method, intelligent watch and device with storage function
CN111831190B (en) * 2020-07-10 2022-05-03 维沃移动通信有限公司 Music application program control method and device and electronic equipment
CN112099755A (en) * 2020-10-15 2020-12-18 上海商米科技集团股份有限公司 Method for simultaneously calling input audio stream by multiple applications and readable medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105117228A (en) * 2015-08-27 2015-12-02 北京金山安全软件有限公司 Method for loading suspension window, suspension window loading device and electronic equipment
CN106155869A (en) * 2015-04-17 2016-11-23 宇龙计算机通信科技(深圳)有限公司 The running background control method of terminal applies and device thereof
CN106873869A (en) * 2017-01-06 2017-06-20 珠海格力电器股份有限公司 A kind of control method and device of music
CN107786735A (en) * 2017-10-12 2018-03-09 深圳天珑无线科技有限公司 Music display methods, mobile terminal and computer-readable recording medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6976216B1 (en) * 2000-11-17 2005-12-13 Streamzap, Inc. Computer system with remote key press events directed to a first application program and local key press events directed to a second application program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106155869A (en) * 2015-04-17 2016-11-23 宇龙计算机通信科技(深圳)有限公司 The running background control method of terminal applies and device thereof
CN105117228A (en) * 2015-08-27 2015-12-02 北京金山安全软件有限公司 Method for loading suspension window, suspension window loading device and electronic equipment
CN106873869A (en) * 2017-01-06 2017-06-20 珠海格力电器股份有限公司 A kind of control method and device of music
CN107786735A (en) * 2017-10-12 2018-03-09 深圳天珑无线科技有限公司 Music display methods, mobile terminal and computer-readable recording medium

Also Published As

Publication number Publication date
CN108683801A (en) 2018-10-19

Similar Documents

Publication Publication Date Title
CN108683801B (en) Method, device and terminal for controlling audio playing and computer readable storage medium
US20200183528A1 (en) Information Processing Device, Operation Input Method And Operation Input Program
JP6051338B2 (en) Page rollback control method, page rollback control device, terminal, program, and recording medium
CN109032470B (en) Screenshot method, screenshot device, terminal and computer-readable storage medium
US20160306880A1 (en) Method and apparatus for identifying audio information
WO2017032089A1 (en) Search method and terminal
EP2444887A2 (en) Method and apparatus for turning pages in e-book reader
CN108170342B (en) Application program interface display method and device, terminal and readable storage medium
TW201310324A (en) Electronic device with touch screen and method of moving icons on the touch screen
CN104536817B (en) Calculation method and device
EP1763208B1 (en) Mobile communication terminal adapted to scroll trough stored content data
CN103631506B (en) Reading method based on terminal and corresponding terminal
CN104216973A (en) Data search method and data search device
US20140215411A1 (en) Method and apparatus for controlling content playback
US20140240290A1 (en) Electronic-book page turning method and apparatus, and mobile device
CN107291355A (en) Screenshotss control method and device, terminal device and storage medium
CN103853439A (en) Terminal and page-turning method
CN105045516A (en) Method and terminal for switching working mode
CN105630241A (en) Scaling method and system for screen displayed content
CN105139848A (en) Data conversion method and apparatus
CN105573585A (en) Information display method and terminal
CN103425382A (en) Icon searching method, icon searching device and terminal
US9513796B2 (en) Method and device for controlling contents using touch, recording medium therefor, and user terminal having same
CN103577085A (en) Control method and device applied to page display
CN109298907B (en) Application program display method, application program display device and 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
GR01 Patent grant
GR01 Patent grant