WO2016165405A1 - 终端应用的后台运行控制方法及其装置 - Google Patents

终端应用的后台运行控制方法及其装置 Download PDF

Info

Publication number
WO2016165405A1
WO2016165405A1 PCT/CN2015/100265 CN2015100265W WO2016165405A1 WO 2016165405 A1 WO2016165405 A1 WO 2016165405A1 CN 2015100265 W CN2015100265 W CN 2015100265W WO 2016165405 A1 WO2016165405 A1 WO 2016165405A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
control
terminal
background
floating
Prior art date
Application number
PCT/CN2015/100265
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 WO2016165405A1 publication Critical patent/WO2016165405A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance

Definitions

  • the present invention relates to the field of intelligent control, and in particular, to a background operation control method and apparatus for a terminal application.
  • the application in some scenarios should not be interrupted.
  • the user needs to operate other applications in the terminal.
  • the call or recording application needs to be placed in the background to facilitate user operation.
  • Other applications in the terminal such as when users use music playback, timely communication, and other applications, the user wants to operate other applications of the terminal at the same time. At this time, applications such as music playback and timely communication are also required to be placed in the background.
  • the application After the application is placed in the background of the terminal, when the working parameters (such as the running mode) of the application need to be adjusted, the application needs to be restored to the foreground to adjust the working parameters.
  • the call application After the call application is placed in the background, when the user needs to change the current answer mode, such as changing the headset answer mode to the hands-free mode, the silent mode, or the like, the call application needs to be restored to the foreground to perform the corresponding operation.
  • recording applications, music playback applications, and instant messaging applications are placed in the background, if you need to change their working mode, you need to restore the application to the foreground to perform the corresponding operations. As a result, the operation is complicated and the user experience is poor.
  • the main object of the present invention is to provide a background operation control method and device for a terminal application, which aims to solve the technical problem that the application needs to be restored to the foreground to adjust the working parameters.
  • the present invention provides a background operation control method for a terminal application, and the background operation control method of the terminal application includes the following steps:
  • the terminal Upon receiving an instruction to run in the background, the terminal determines the application to be switched;
  • the terminal runs the to-be-switched application in the background
  • the terminal displays a floating control in a preset display area in the current display interface, so that the user adjusts the working parameter of the to-be-switched application based on the floating button.
  • the terminal displays a floating control in a preset display area in the current display interface, so that the user adjusts the waiting according to the floating button.
  • the steps to switch the application's working parameters include:
  • the terminal determines an operating parameter corresponding to the current working mode
  • the terminal generates a hovering control based on the working parameter
  • the terminal displays the floating control for the user to adjust an operating parameter of the to-be-switched application based on the floating button.
  • the terminal displays a floating area in a preset display area in the current display interface.
  • the background running control method of the terminal application includes:
  • the terminal Receiving, by the user, an operating mode adjustment instruction triggered by the floating control, the terminal adjusting an operating mode of the background application based on the adjustment instruction;
  • the terminal adjusts the hovering control according to the determined display parameter.
  • the background running control method of the terminal application further includes the following steps:
  • the terminal When the current working mode of the to-be-switched application is a preset mode, and the current display interface displays a floating control, the terminal generates a combination based on the floating control corresponding to the to-be-switched application and the floating control displayed at the preset position. Floating control
  • the terminal displays the combined suspension control at a preset position of the current display interface.
  • control terminal displays the combined suspension control at a preset position of the current display interface.
  • background running control method of the terminal application further includes the following steps:
  • the terminal Upon receiving a control instruction triggered by the user based on the combined floating control, the terminal displays a floating control selection interface for the user to select a corresponding floating control to trigger a control parameter adjustment instruction;
  • the terminal Upon receiving the control parameter adjustment instruction, the terminal determines a background application corresponding to the control parameter adjustment instruction;
  • the terminal adjusts an operating parameter of the background application based on the control parameter adjustment instruction.
  • the present invention further provides a background operation control device for a terminal application, where the background operation control device of the terminal application includes:
  • a determining module configured to determine an application to be switched when receiving an instruction to run in the background
  • a processing module configured to: run the to-be-switched application in the background;
  • a display module configured to: when the current working mode of the to-be-switched application is a preset mode, display a floating control in a preset display area in the current display interface, so that the user adjusts the to-be-switched application based on the floating button Working parameters.
  • the determining module comprises:
  • a determining unit configured to determine an operating parameter corresponding to the current working mode when the current working mode of the to-be-switched application is a preset mode
  • a generating unit configured to generate a floating control based on the working parameter
  • a display unit configured to display the floating control, so that the user adjusts an operating parameter of the to-be-switched application based on the floating button.
  • the background running control device of the terminal application comprises:
  • An adjustment module configured to adjust an operation mode of the background application based on the adjustment instruction when receiving an operation parameter adjustment instruction triggered by the user based on the floating control;
  • the determining module is further configured to determine, according to a mapping relationship between the preset working mode and the display parameter, a display parameter corresponding to the switched working mode;
  • the adjustment module is further configured to adjust the floating control according to the determined display parameter.
  • the background running control device of the terminal application comprises:
  • a generating module configured to: when the current working mode of the to-be-switched application is a preset mode, and currently When the display interface displays the floating control, the combined floating control is generated based on the floating control corresponding to the to-be-switched application and the floating control displayed at the preset position;
  • the display module is further configured to display the combined floating control at a preset position of the current display interface.
  • the display module is further configured to: when receiving a control instruction triggered by the user based on the combined floating control, display a floating control selection interface for the user to select a corresponding floating control to trigger a control parameter adjustment instruction; a determining module, configured to determine a background application corresponding to the control parameter adjustment instruction when receiving the control parameter adjustment instruction, where the adjustment module is further configured to adjust the background application based on the control parameter adjustment instruction Working parameters.
  • the background running control method and device of the terminal application when receiving an instruction to run in the background, the application to be switched is placed in the background, and when the current working mode of the to-be-switched application is a preset mode
  • the terminal displays a floating control in a preset display area in the current display interface, so that the user adjusts the working parameter of the to-be-switched application based on the floating button. It can adjust the working parameters of the background application directly based on the floating control displayed on the display interface, which is very convenient and flexible.
  • FIG. 1 is a schematic flowchart of a first embodiment of a background running control method of a terminal application according to the present invention
  • FIG. 2 is a schematic diagram of a refinement process of step S30 in FIG. 1;
  • FIG. 3 is a schematic flowchart of a second embodiment of a background operation control method of a terminal application according to the present invention.
  • FIG. 4 is a schematic flowchart of a third embodiment of a background operation control method of a terminal application according to the present invention.
  • FIG. 5 is a schematic flowchart diagram of a fourth embodiment of a background operation control method of a terminal application according to the present invention.
  • FIG. 6 is a schematic diagram of functional modules of a first embodiment of a background running control device of a terminal application according to the present invention.
  • FIG. 7 is a schematic diagram of a refinement function module of the display module in FIG. 6;
  • FIG. 8 is a schematic diagram of functional modules of a second embodiment of a background running control device of a terminal application according to the present invention.
  • FIG. 9 is a schematic diagram of functional modules of a third embodiment of a background operation control apparatus for a terminal application according to the present invention.
  • the invention provides a background operation control method for a terminal application.
  • FIG. 1 is a schematic flowchart diagram of a first embodiment of a background running control method for a terminal application according to the present invention.
  • the embodiment of the present invention provides a background running control method for a terminal application, where the background running control method of the terminal application includes:
  • Step S10 when receiving an instruction to run in the background, the terminal determines that the application is to be switched;
  • the user can trigger the instruction of running in the background in multiple manners, for example, in the process of running the foreground of the application, dragging the working interface (such as the call interface) of the application to a preset direction, that is, triggering the background running.
  • the manner of triggering the instructions for running in the background is merely exemplary. Those skilled in the art can use the technical idea of the present invention to provide other instructions for triggering the background operation according to the specific requirements of the present invention. Within the scope of protection, it is not exhaustive here.
  • the to-be-switched application can be applications such as call, recording, music playing, and instant messaging (such as WeChat and SMS).
  • Step S20 the terminal places the to-be-switched application in the background
  • the step S20 includes: the terminal displays a switching selection interface, so that the user selects to reject or determine to enter the background mode based on the selection interface; and enters the background after receiving the determination of the user input.
  • the terminal runs the to-be-switched application in the background.
  • step S30 when the current working mode of the to-be-switched application is a preset mode, the terminal displays a floating control in a preset display area in the current display interface, so that the user adjusts the to-be-switched application based on the floating button.
  • Working parameters when the current working mode of the to-be-switched application is a preset mode, the terminal displays a floating control in a preset display area in the current display interface, so that the user adjusts the to-be-switched application based on the floating button.
  • the working parameter may be an operating mode of the application.
  • the working mode when the application to be switched is a call application, the working mode includes a handset mode, a hands-free mode, and a headset mode, and may also be a volume and the like; when the to-be-switched application is a recording application, The working mode may include a headphone mode and an earpiece mode, and may also be a parameter adjustment such as a volume; when the music playing application is to be switched, the working parameter may be a currently playing song, a song switching operation by a floating control, or The working parameter may be a volume parameter or a sound mode; when the to-be-switched application is an instant messaging application, the working mode may include stealth, online, busy, and the like.
  • the display priority of the floating control can be set to the highest so that the floating control is always displayed on the display interface of the terminal.
  • step S30 includes:
  • Step S31 when the current working mode of the to-be-switched application is a preset mode, the terminal determines an operating parameter corresponding to the current working mode;
  • Step S32 the terminal generates a floating control based on the working parameter
  • Step S33 the terminal displays the floating control, so that the user adjusts the working parameter of the to-be-switched application based on the floating button.
  • the background running control method of the terminal application when receiving the instruction of running in the background, placing the to-be-switched application in the background, and when the current working mode of the to-be-switched application is a preset mode,
  • the terminal displays a floating control in a preset display area in the current display interface, so that the user adjusts the working parameter of the to-be-switched application based on the floating button.
  • the user can directly adjust the working parameters of the background application based on the floating control displayed on the display interface, which is very convenient and flexible.
  • the application running in the background of the terminal may be multiple, if multiple applications running in the background are displayed on the current display interface, the current display interface may be confusing, so as to improve the simplicity of the interface, refer to FIG. 3, based on An embodiment provides a second embodiment of the background running control method of the terminal application of the present invention.
  • the method includes:
  • Step S40 When the current working mode of the to-be-switched application is a preset mode, and the current display interface displays a floating control, the terminal is based on the floating control corresponding to the to-be-switched application and the floating display at the preset position. The control generates a combined floating control;
  • the combined floating control when the combined floating control is generated, multiple separate floating controls can be directly combined.
  • the combination floating control displays multiple identifiers of the application floating control; or when the combined floating control is generated, the identifier of the floating control does not change, and when the user clicks on the identifier of the combined floating control, the floating control identifier corresponding to each application is displayed, for example,
  • the combined floating control is composed of an instant messaging application and a floating control of the song playing application
  • the user displays the floating control of the instant messaging application and the song playing application when the user clicks on the combined floating control.
  • Step S50 the terminal displays the combined suspension control at a preset position of the current display interface.
  • the icon of the combined floating control may include an icon of each floating space, or may be a preset icon.
  • the terminal displays a selection interface including each floating space icon. Referring to FIG. 4, After the step S50, the background running control method of the terminal application includes:
  • Step S60 when receiving a control instruction triggered by the user based on the combined floating control, the terminal displays a floating control selection interface for the user to select a corresponding floating control to trigger a control parameter adjustment instruction;
  • Step S70 when receiving the control parameter adjustment instruction, the terminal determines a background application corresponding to the control parameter adjustment instruction;
  • Step S80 The terminal adjusts an operating parameter of the background application based on the control parameter adjustment instruction.
  • the application to be switched is a call application
  • the current call mode is determined, and when the current call mode is the handset mode, the call application is placed.
  • the call application In the background, and displaying a hovering control at a preset position of the current display interface, for the user to switch the current working mode to the earpiece mode or the earphone mode based on the floating control; in the current call mode, the earphone mode or the hands-free mode,
  • the call application can be placed in the background, and a floating control is displayed at the preset position of the current display interface, so that the user can switch the current working mode to the earphone mode based on the floating control, and the display is performed.
  • the current display interface displays a floating control (such as a floating control of an instant messaging application)
  • the floating control of the instant messaging application is combined with the floating control of the call application to generate a combined floating control, which may include a call in the floating control.
  • the floating control identifier of the application and the hovering control identifier of the instant messaging application are associated with the application in the background of the recording instruction.
  • the current operation mode is determined when the headset mode, the recording application in the background, and a predetermined bit of the currently displayed screen
  • the display displays a hovering control for the user to switch the current working mode to the earpiece mode or adjust the volume based on the floating control.
  • the floating control When the floating control is displayed, if the current display interface displays a floating control (such as an instant messaging application) The floating control) combines the floating control of the instant messaging application with the floating control of the recording application to generate a combined floating control, which may include a floating control identifier of the recording application and a floating control identifier of the instant communication application; 3)
  • the application to be switched is a song playing application
  • the current working mode when receiving the instruction that the song playing application is placed in the background, when the current working mode is determined to be the normal mode, the song playing application is placed in the background, and the preset position of the current display interface is
  • the floating control is displayed for the user to switch the current working mode to the mixing mode, the rock mode, and the like based on the floating control, and the parameters such as the volume and the cut song are also adjusted, and when the floating control is displayed, if the current
  • the display interface displays a floating control (such as a floating control for instant messaging applications), which will The floating control of the communication application is combined with the
  • the floating control For the user to switch the current working mode to online and busy based on the floating control, when the floating control is displayed, if the current display interface displays a floating control (such as a floating control of the song playing application), the instant messaging application
  • the floating control is combined with the floating control of the song playing application to generate a combined floating control, which may include a floating control identifier of the song playing application and a floating control identifier of the instant messaging application.
  • the application to be switched is not limited to the above four types, and may be other applications.
  • the background running control method of the terminal application includes:
  • Step S90 when receiving an operation parameter adjustment instruction triggered by the user based on the floating control, the terminal adjusts an operation mode of the background application based on the adjustment instruction;
  • Step S100 The terminal determines, according to a mapping relationship between the preset working mode and the display parameter, a display parameter corresponding to the working mode after the switching;
  • Step S110 the terminal adjusts the floating control according to the determined display parameter.
  • the display parameters can include the display color and/or shape and/or area of the hover icon.
  • Floating diagram The target display parameter indicates the working state of the floating application, so that the user can know the working state of the background application more quickly.
  • the invention further provides a background operation control device for a terminal application.
  • FIG. 6 is a schematic diagram of functional modules of a first embodiment of a background operation control apparatus for a terminal application according to the present invention.
  • the functional block diagram shown in FIG. 6 is merely an exemplary diagram of a preferred embodiment, and those skilled in the art will surround the background running control device of the terminal application shown in FIG. 6.
  • the function module can be easily supplemented by a new function module; the name of each function module is a custom name, which is only used to assist in understanding various program function blocks of the background operation control device of the terminal application, and is not used to limit the technical solution of the present invention.
  • the embodiment of the present invention provides a background operation control device for a terminal application, where the background operation control device of the terminal application includes:
  • the determining module 10 is configured to determine an application to be switched when receiving an instruction to run in the background;
  • the user can trigger the instruction of running in the background in multiple manners, for example, in the process of running the foreground of the application, dragging the working interface (such as the call interface) of the application to a preset direction, that is, triggering the background running.
  • the manner of triggering the instructions for running in the background is merely exemplary. Those skilled in the art can use the technical idea of the present invention to provide other instructions for triggering the background operation according to the specific requirements of the present invention. Within the scope of protection, it is not exhaustive here.
  • the to-be-switched application can be applications such as call, recording, music playing, and instant messaging (such as WeChat and SMS).
  • the processing module 20 is configured to run the to-be-switched application in the background
  • the processing module 20 includes: a display unit, configured to display a switch selection interface, for the user to select to reject or determine to enter the background mode based on the selection interface; and the processing unit is configured to Receiving the to-be-switched application when receiving the information input by the user that determines to enter the background mode Background process.
  • a display unit configured to display a switch selection interface, for the user to select to reject or determine to enter the background mode based on the selection interface
  • the processing unit is configured to Receiving the to-be-switched application when receiving the information input by the user that determines to enter the background mode Background process.
  • the display module 30 is configured to: when the current working mode of the to-be-switched application is a preset mode, display a floating control in a preset display area in the current display interface, so that the user adjusts the to-be-switched application based on the floating button.
  • Working parameters when the current working mode of the to-be-switched application is a preset mode, display a floating control in a preset display area in the current display interface, so that the user adjusts the to-be-switched application based on the floating button.
  • the working parameter may be an operating mode of the application.
  • the working mode when the application to be switched is a call application, the working mode includes a handset mode, a hands-free mode, and a headset mode, and may also be a volume and the like; when the to-be-switched application is a recording application, The working mode may include a headphone mode and an earpiece mode, and may also be a parameter adjustment such as a volume; when the music playing application is to be switched, the working parameter may be a currently playing song, a song switching operation by a floating control, or The working parameter may be a volume parameter or a sound mode; when the to-be-switched application is an instant messaging application, the working mode may include stealth, online, busy, and the like.
  • the display priority of the floating control can be set to the highest so that the floating control is always displayed on the display interface of the terminal.
  • the display module 30 includes:
  • the obtaining unit 31 is configured to acquire a display parameter corresponding to the current working mode when the current working mode of the to-be-switched application is a preset mode;
  • the display unit 32 is configured to display the floating control according to the display parameter preset in the current display interface, so that the user adjusts the working parameter of the to-be-switched application based on the floating button.
  • the background running control device of the terminal application in the embodiment is configured to: when the instruction to run in the background is received, the application to be switched is placed in the background, and when the current working mode of the to-be-switched application is a preset mode,
  • the terminal displays a floating control in a preset display area in the current display interface, so that the user adjusts the working parameter of the to-be-switched application based on the floating button.
  • the user can directly adjust the working parameters of the background application based on the floating control displayed on the display interface, which is very convenient and flexible.
  • the background running control device of the terminal application includes:
  • a generating module 40 configured to: when the current working mode of the to-be-switched application is a preset mode, and When the current display interface displays the floating control, the combined floating control is generated based on the floating control corresponding to the to-be-switched application and the floating control displayed at the preset position;
  • the generating module 40 when the generating module 40 generates the combined floating control, the plurality of separate floating controls may be directly combined, and the combined floating control displays the identifiers of the plurality of floating controls; or the generating module 40 generates the combined floating control.
  • the identifier of the floating control is not changed, when the user clicks on the identifier of the combined floating control, the floating control identifier corresponding to each application is displayed.
  • the combined floating control is composed of the instant communication application and the floating control of the song playing application, The user displays the hovering control of the instant messaging application and the song playing application when the user clicks on the combined floating control.
  • the display module 30 is further configured to display the combined floating control at a preset position of the current display interface.
  • the icon of the combined floating control may include an icon of each floating space, or may be a preset icon.
  • the terminal displays a selection interface including each floating space icon.
  • the display module 30 is further configured to: when receiving a control instruction triggered by the user based on the combined floating control, display a floating control selection interface, so that the user selects a corresponding floating control to trigger a control parameter adjustment instruction; the determining module 10: The method further includes: determining, by the control parameter adjustment instruction, a background application corresponding to the control parameter adjustment instruction; the background operation control device of the terminal application further includes: an adjustment module 50, configured to be based on the control The parameter adjustment command adjusts the operating parameters of the background application.
  • the application to be switched is a call application: when receiving an instruction that the call application is placed in the background, the determining module 10 determines the current call mode.
  • the processing module 20 When the current call mode is the handset mode, the processing module 20 The call application is placed in the background, and the display module 30 displays a hovering control at a preset position of the current display interface for the user to switch the current working mode to the earpiece mode or the earphone mode or the like based on the hovering control.
  • the processing module 20 places the call application in the background, and the display module 30 displays the hovering control at the preset position of the current display interface for the user to base on.
  • the floating control switches the current working mode to the earphone mode.
  • the floating control is displayed, if the current display interface displays a floating control (such as a floating control of an instant messaging application), the generating module 40 activates the floating control of the instant messaging application.
  • the floating control of the call application is combined to generate a combined floating control, which may include a floating control identifier of the call application and a floating control identifier of the instant messaging application; 2) the application to be switched is a recording application: receiving the recording application
  • the determination module 10 determines the current work.
  • the processing module 20 places the recording application in the background, and the display module 30 displays a floating control at a preset position of the current display interface, so that the user can switch the current working mode to the earpiece mode based on the floating control or Adjusting the volume, when the floating control is displayed, if the current display interface displays a floating control (such as a floating control of an instant messaging application), the generating module 40 combines the floating control of the instant messaging application with the floating control of the recording application.
  • a floating control such as a floating control of an instant messaging application
  • the combination suspension control may include a floating control identifier of the recording application and a floating control identifier of the instant messaging application; 3) the application to be switched is a song playing application: when receiving the instruction of the song playing application placed in the background
  • the processing module 20 places the song playing application in the background
  • the display module 30 displays a floating control at the preset position of the current display interface, so that the user will present the current based on the floating control. Switch the working mode to mixing mode, rock mode, etc.
  • the generating module 40 will use the floating control and the song playing application of the instant messaging application.
  • the floating control is combined to generate a combined floating control, which may include a floating control identifier of the song playing application and a floating control identifier of the instant messaging application; 4) the to-be-switched application is an instant messaging application, and receives the instant communication
  • the processing module 20 places the instant messaging application in the background, and the display module 30 displays the floating control at the preset position of the current display interface for the user. Switching the current working mode to online and busy based on the floating control, when the floating control is displayed, if the current display interface displays a floating control (such as a floating control of the song playing application), the generating module 40 will apply the instant messaging application.
  • the floating control is combined with the floating control of the song playback application.
  • the combined floating control may include a floating control identifier of the song playing application and a floating control identifier of the instant messaging application.
  • the application to be switched is not limited to the above four types, and may be other applications.
  • the background running control device of the terminal application comprises:
  • An adjustment module configured to adjust an operation mode of the background application based on the adjustment instruction when receiving an operation parameter adjustment instruction triggered by the user based on the floating control;
  • the determining module is further configured to determine, according to a mapping relationship between the preset working mode and the display parameter, a display parameter corresponding to the switched working mode;
  • the adjustment module is further configured to adjust the floating control according to the determined display parameter.
  • the display parameters can include the display color and/or shape and/or area of the hover icon.
  • the display state of the floating icon indicates the working state of the floating application, so that the user can know the working state of the background application more quickly.
  • the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better.
  • Implementation Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present invention.

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

一种终端应用的后台运行控制方法和装置,在接收到后台运行的指令时,终端确定待切换应用(S10);所述终端将所述待切换应用置于后台运行(S20);在所述待切换应用当前工作模式为预设的模式时,所述终端在当前显示界面中预设的显示区域显示悬浮控件,以供用户基于所述悬浮按键调节所述待切换应用的工作参数(S30)。该方法和装置可直接基于显示界面显示的悬浮控件对后台应用的工作参数进行调节,非常便捷,灵活性高。

Description

终端应用的后台运行控制方法及其装置
本申请要求于2015年04月17日提交中国专利局,申请号为201510185672.9、发明名称为“终端应用的后台运行控制方法及其装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及智能控制领域,尤其涉及终端应用的后台运行控制方法和装置。
背景技术
在使用终端应用的过程中,某些场景下的应用不宜中断,如通话或者录音过程中用户需要操作终端里的其他应用,则此时需要将通话或录音应用置于后台运行,以利于用户操作终端中的其它应用。而在其他一些场景中,如用户使用音乐播放、及时通信等应用时,用户希望同时操作终端的其他一些应用,此时同样需要将音乐播放、及时通信等应用置于后台运行。
而在将应用置于终端后台运行后,当需要对应用的工作参数(如运行模式)进行调节时,此时需要先将应用还原至前台运行才能进行工作参数的调节。比如通话应用置于后台运行后,当用户需要改变当前的接听模式,如将使用耳机接听模式改变为免提模式、静音模式或者其他时,需要将通话应用还原至前台运行才能进行相应的操作。同样,在录音应用、音乐播放应用、及时通信应用置于后台运行时,若需要改变他们的工作模式,也需要将应用还原至前台才能进行相应的操作。由此导致操作复杂,用户体验差。
发明内容
本发明的主要目的在于提出一种终端应用的后台运行控制方法和装置,旨在解决需要先将应用还原至前台运行才能进行工作参数的调节的技术问题。
为实现上述目的,本发明提供的一种终端应用的后台运行控制方法,所述终端应用的后台运行控制方法包括以下步骤:
在接收到后台运行的指令时,终端确定待切换应用;
所述终端将所述待切换应用置于后台运行;
在所述待切换应用当前工作模式为预设的模式时,所述终端在当前显示界面中预设的显示区域显示悬浮控件,以供用户基于所述悬浮按键调节所述待切换应用的工作参数。
优选地,所述在所述待切换应用当前工作模式为预设的模式时,所述终端在当前显示界面中预设的显示区域显示悬浮控件,以供用户基于所述悬浮按键调节所述待切换应用的工作参数的步骤包括:
在所述待切换应用当前工作模式为预设的模式时,所述终端确定当前工作模式所对应的工作参数;
所述终端基于所述工作参数生成悬浮控件;
所述终端显示所述悬浮控件,以供用户基于所述悬浮按键调节所述待切换应用的工作参数。
优选地,在所述工作参数为所述应用的工作模式时,所述在所述待切换应用当前工作模式为预设的模式时,所述终端在当前显示界面中预设的显示区域显示悬浮控件,以供用户基于所述悬浮按键调节所述待切换应用的工作参数的步骤之后,所述终端应用的后台运行控制方法包括:
在接收到用户基于所述悬浮控件触发的工作参数调节指令时,所述终端基于所述调节指令调节后台应用的工作模式;
所述终端基于预设的工作模式与显示参数之间的映射关系,确定切换后的工作模式对应的显示参数;
所述终端按照确定的显示参数调节所述悬浮控件。
优选地,所述终端将所述待切换应用置于后台运行的步骤之后,所述终端应用的后台运行控制方法还包括步骤:
在所述待切换应用当前工作模式为预设的模式时,且当前显示界面显示有悬浮控件时,所述终端基于所述待切换应用对应的悬浮控件以及预设位置处显示的悬浮控件生成组合悬浮控件;
所述终端在当前显示界面的预设位置处显示所述组合悬浮控件。
优选地,所述控制终端在当前显示界面的预设位置处显示所述组合悬浮控 件的步骤之后,所述终端应用的后台运行控制方法还包括步骤:
在接收到用户基于所述组合悬浮控件触发的控制指令时,所述终端显示悬浮控件选择界面,以供用户选择相应的悬浮控件以触发控制参数调节指令;
在接收到所述控制参数调节指令时,所述终端确定所述控制参数调节指令对应的后台应用;
所述终端基于所述控制参数调节指令调节所述后台应用的工作参数。
此外,为实现上述目的,本发明还提出一种终端应用的后台运行控制装置,所述终端应用的后台运行控制装置包括:
确定模块,用于在接收到后台运行的指令时,确定待切换应用;
处理模块,用于将所述待切换应用置于后台运行;
显示模块,用于在所述待切换应用当前工作模式为预设的模式时,在当前显示界面中预设的显示区域显示悬浮控件,以供用户基于所述悬浮按键调节所述待切换应用的工作参数。
优选地,所述确定模块包括:
确定单元,用于在所述待切换应用当前工作模式为预设的模式时,确定当前工作模式所对应的工作参数;
生成单元,用于基于所述工作参数生成悬浮控件;
显示单元,用于显示所述悬浮控件,以供用户基于所述悬浮按键调节所述待切换应用的工作参数。
优选地,在所述工作参数为所述应用的工作模式时,所述终端应用的后台运行控制装置包括:
调节模块,用于在接收到用户基于所述悬浮控件触发的工作参数调节指令时,基于所述调节指令调节后台应用的工作模式;
所述确定模块,还用于基于预设的工作模式与显示参数之间的映射关系,确定切换后的工作模式对应的显示参数;
所述调节模块,还用于按照确定的显示参数调节所述悬浮控件。
优选地,所述终端应用的后台运行控制装置包括:
生成模块,用于在所述待切换应用当前工作模式为预设的模式时,且当前 显示界面显示有悬浮控件时,基于所述待切换应用对应的悬浮控件以及预设位置处显示的悬浮控件生成组合悬浮控件;
所述显示模块,还用于在当前显示界面的预设位置处显示所述组合悬浮控件。
优选地,所述显示模块,还用于在接收到用户基于所述组合悬浮控件触发的控制指令时,显示悬浮控件选择界面,以供用户选择相应的悬浮控件以触发控制参数调节指令;所述确定模块,还用于在接收到所述控制参数调节指令时,确定所述控制参数调节指令对应的后台应用;所述调节模块,还用于基于所述控制参数调节指令调节所述后台应用的工作参数。
本发明提出的终端应用的后台运行控制方法和装置,在接收到后台运行的指令时,将所述待切换应用置于后台运行,并在所述待切换应用当前工作模式为预设的模式时,所述终端在当前显示界面中预设的显示区域显示悬浮控件,以供用户基于所述悬浮按键调节所述待切换应用的工作参数。可直接基于显示界面显示的悬浮控件对后台应用的工作参数进行调节,非常便捷,灵活性高。
附图说明
图1为本发明终端应用的后台运行控制方法第一实施例的流程示意图;
图2为图1中步骤S30的细化流程示意图;
图3本发明终端应用的后台运行控制方法第二实施例的流程示意图;
图4本发明终端应用的后台运行控制方法第三实施例的流程示意图;
图5本发明终端应用的后台运行控制方法第四实施例的流程示意图;
图6为本发明终端应用的后台运行控制装置第一实施例的功能模块示意图;
图7为图6中显示模块的细化功能模块示意图;
图8为本发明终端应用的后台运行控制装置第二实施例的功能模块示意图;
图9为本发明终端应用的后台运行控制装置第三实施例的功能模块示意图。
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
本发明提供一种终端应用的后台运行控制方法。
参照图1,图1为本发明终端应用的后台运行控制方法第一实施例的流程示意图。
本实施例提出一种终端应用的后台运行控制方法,所述终端应用的后台运行控制方法包括:
步骤S10,在接收到后台运行的指令时,终端确定待切换应用;
在本实施例中,用户可通过多种方式触发后台运行的指令,例如在应用前台运行的过程中,将应用的工作界面(如通话界面)向预设的方向拖动,即触发后台运行的指令;或者,基于应用工作界面上的控件触发后台运行的指令。以上所列举出的触发后台运行的指令的方式仅仅为示例性的,本领域技术人员利用本发明的技术思想,根据其具体需求所提出的其他触发后台运行的指令的方式均在本实用新型的保护范围内,在此不进行一一穷举。
在本实施例中,该待切换应用可为通话、录音、音乐播放以及即时通信(如微信以及短信)等应用。
步骤S20,所述终端将所述待切换应用置于后台运行;
将应用置于后台,即将应用的显示界面缩小或者隐藏。为保证待切换应用切换至后台更加准确,所述步骤S20包括:所述终端显示切换选择界面,以供用户基于所述选择界面选择拒绝或者确定进入后台模式;在接收到用户输入的确定进入后台模式的信息时,所述终端将所述待切换应用置于后台运行。上述方案可防止用户误触发。
步骤S30,在所述待切换应用当前工作模式为预设的模式时,所述终端在当前显示界面中预设的显示区域显示悬浮控件,以供用户基于所述悬浮按键调节所述待切换应用的工作参数。
该工作参数可为应用的工作模式,如待切换应用为通话应用时,工作模式包括听筒模式、免提模式以及耳机模式,也可为音量等参数;在所述待切换应用为录音应用时,工作模式可包括耳机模式以及听筒模式,也可为音量等参数调节;在所述待切换应用音乐播放应用时,所述工作参数可为当前播放的歌曲,通过悬浮控件进行歌曲切换的操作,或者该工作参数可为音量参数或者音效模式;在所述待切换应用为即时通信应用时,该工作模式可包括隐身、在线以及忙碌等。该悬浮控件的显示优先级可设置为最高,以使悬浮控件一直显示于终端的显示界面上。
本领域技术人员可以理解的是,在待切换应用当前工作模式不是预设的工作模式时,可不做任何处理。本领域技术人员可以理解的是,可基于当前工作模式对应的工作参数生成相应的悬浮控件,参照图2,步骤S30包括:
步骤S31,在所述待切换应用当前工作模式为预设的模式时,所述终端确定当前工作模式所对应的工作参数;
步骤S32,所述终端基于所述工作参数生成悬浮控件;
步骤S33,所述终端显示所述悬浮控件,以供用户基于所述悬浮按键调节所述待切换应用的工作参数。
本实施例提出的终端应用的后台运行控制方法,在接收到后台运行的指令时,将所述待切换应用置于后台运行,并在所述待切换应用当前工作模式为预设的模式时,所述终端在当前显示界面中预设的显示区域显示悬浮控件,以供用户基于所述悬浮按键调节所述待切换应用的工作参数。用户可直接基于显示界面显示的悬浮控件对后台应用的工作参数进行调节,非常便捷,灵活性高。
进一步地,由于终端后台运行的应用可能为多个,若多个后台运行的应用均在当前显示界面显示,则会导致当前显示界面较为混乱,则为提高界面的简洁,参照图3,基于第一实施例提出本发明终端应用的后台运行控制方法第二实施例,在本实施例中,所述步骤S20之后,包括:
步骤S40,在所述待切换应用当前工作模式为预设的模式时,且当前显示界面显示有悬浮控件时,所述终端基于所述待切换应用对应的悬浮控件以及预设位置处显示的悬浮控件生成组合悬浮控件;
在本实施例中,生成组合悬浮控件时,可将多个单独悬浮控件直接组合, 该组合悬浮控件中显示有多个应用悬浮控件的标识;或者在生成组合悬浮控件时,该悬浮控件的标识不改变,用户点击组合悬浮控件的标识时,显示各个应用对应的悬浮控件标识,例如,该组合悬浮控件由即时通信应用以及歌曲播放应用的悬浮控件组合而成时,用户在点击组合悬浮控件时,显示即时通信应用以及歌曲播放应用的悬浮控件。
步骤S50,所述终端在当前显示界面的预设位置处显示所述组合悬浮控件。
该组合悬浮控件的图标可包括各个悬浮空间的图标,也可为一个预设的图标,用户在点击所述组合悬浮控件的图标时,终端显示包括各个悬浮空间图标的选择界面,参照图4,所述步骤S50之后,所述终端应用的后台运行控制方法包括:
步骤S60,在接收到用户基于所述组合悬浮控件触发的控制指令时,所述终端显示悬浮控件选择界面,以供用户选择相应的悬浮控件以触发控制参数调节指令;
步骤S70,在接收到所述控制参数调节指令时,所述终端确定所述控制参数调节指令对应的后台应用;
步骤S80,所述终端基于所述控制参数调节指令调节所述后台应用的工作参数。
以下通过实例进行说明:1)在待切换应用为通话应用时,在接收到通话应用置于后台的指令时,确定当前的通话模式,在当前的通话模式为听筒模式时,将通话应用置于后台,并在当前显示界面的预设位置处显示悬浮控件,以供用户基于所述悬浮控件将当前工作模式切换为听筒模式或者耳机模式等;在当前的通话模式为听筒模式或者免提模式,且终端连接有耳机时,可将通话应用置于后台,并在当前显示界面的预设位置处显示悬浮控件,以供用户基于所述悬浮控件将当前工作模式切换为耳机模式,在显示所述悬浮控件时,若当前显示界面显示有悬浮控件(如即时通信应用的悬浮控件),将即时通信应用的悬浮控件与通话应用的悬浮控件进行组合生成组合悬浮控件,该组合悬浮控件中可包含通话应用的悬浮控件标识以及即时通信应用的悬浮控件标识;2)在所述待切换应用为录音应用时,在接收到录音应用置于后台的指令时,确定当前工作模式为耳机模式时,将录音应用置于后台,并在当前显示界面的预设位 置处显示悬浮控件,以供用户基于所述悬浮控件将当前工作模式切换为听筒模式或者进行音量的调节,在显示所述悬浮控件时,若当前显示界面显示有悬浮控件(如即时通信应用的悬浮控件),将即时通信应用的悬浮控件与录音应用的悬浮控件进行组合生成组合悬浮控件,该组合悬浮控件中可包含录音应用的悬浮控件标识以及即时通信应用的悬浮控件标识;;3)在所述待切换应用为歌曲播放应用时,在接收到歌曲播放应用置于后台的指令时,确定当前工作模式为正常模式时,将歌曲播放应用置于后台,并在当前显示界面的预设位置处显示悬浮控件,以供用户基于所述悬浮控件将当前工作模式切换为混音模式、摇滚模式等等,也可进行音量以及切歌等参数的调节,在显示所述悬浮控件时,若当前显示界面显示有悬浮控件(如即时通信应用的悬浮控件),将即时通信应用的悬浮控件与歌曲播放应用的悬浮控件进行组合生成组合悬浮控件,该组合悬浮控件中可包含歌曲播放应用的悬浮控件标识以及即时通信应用的悬浮控件标识;4)在所述待切换应用为即时通信应用时,在接收到即时通信应用置于后台的指令时,确定当前工作模式为在线模式时,将即时通信应用置于后台,并在当前显示界面的预设位置处显示悬浮控件,以供用户基于所述悬浮控件将当前工作模式切换为在线以及忙碌等,在显示所述悬浮控件时,若当前显示界面显示有悬浮控件(如歌曲播放应用的悬浮控件),将即时通信应用的悬浮控件与歌曲播放应用的悬浮控件进行组合生成组合悬浮控件,该组合悬浮控件中可包含歌曲播放应用的悬浮控件标识以及即时通信应用的悬浮控件标识。在本实施例中,待切换应用并不局限于上述四种,还可为其它应用。
为提高后台应用工作参数调节的准确性,在所述工作参数为所述应用的工作模式时,参照图5,所述步骤S30之后,所述终端应用的后台运行控制方法包括:
步骤S90,在接收到用户基于所述悬浮控件触发的工作参数调节指令时,所述终端基于所述调节指令调节后台应用的工作模式;
步骤S100,所述终端基于预设的工作模式与显示参数之间的映射关系,确定切换后的工作模式对应的显示参数;
步骤S110,所述终端按照确定的显示参数调节所述悬浮控件。
该显示参数可包括悬浮图标的显示颜色及/或形状及/或面积。通过悬浮图 标的显示参数表示悬浮应用的工作状态,使得用户更加快捷地知晓后台应用的工作状态。
在本领域技术人员可以理解的是,后台应用切换工作模式之后,切换后的工作模式不属于预设的工作模式时,隐藏所述悬浮图标。
本发明进一步提供一种终端应用的后台运行控制装置。
参照图6,图6为本发明终端应用的后台运行控制装置第一实施例的功能模块示意图。
需要强调的是,对本领域的技术人员来说,图6所示功能模块图仅仅是一个较佳实施例的示例图,本领域的技术人员围绕图6所示的终端应用的后台运行控制装置的功能模块,可轻易进行新的功能模块的补充;各功能模块的名称是自定义名称,仅用于辅助理解该终端应用的后台运行控制装置的各个程序功能块,不用于限定本发明的技术方案,本发明技术方案的核心是,各自定义名称的功能模块所要达成的功能。
本实施例提出一种终端应用的后台运行控制装置,所述终端应用的后台运行控制装置包括:
确定模块10,用于在接收到后台运行的指令时,确定待切换应用;
在本实施例中,用户可通过多种方式触发后台运行的指令,例如在应用前台运行的过程中,将应用的工作界面(如通话界面)向预设的方向拖动,即触发后台运行的指令;或者,基于应用工作界面上的控件触发后台运行的指令。以上所列举出的触发后台运行的指令的方式仅仅为示例性的,本领域技术人员利用本发明的技术思想,根据其具体需求所提出的其他触发后台运行的指令的方式均在本实用新型的保护范围内,在此不进行一一穷举。
在本实施例中,该待切换应用可为通话、录音、音乐播放以及即时通信(如微信以及短信)等应用。
处理模块20,用于将所述待切换应用置于后台运行;
将应用置于后台即将应用的显示界面缩小或者隐藏。为保证待切换应用切换至后台更加准确,所述处理模块20包括:显示单元,用于显示切换选择界面,以供用户基于所述选择界面选择拒绝或者确定进入后台模式;处理单元,用于在接收到用户输入的确定进入后台模式的信息时,将所述待切换应用置于 后台运行。上述方案可防止用户误触发。
显示模块30,用于在所述待切换应用当前工作模式为预设的模式时,在当前显示界面中预设的显示区域显示悬浮控件,以供用户基于所述悬浮按键调节所述待切换应用的工作参数。
该工作参数可为应用的工作模式,如待切换应用为通话应用时,工作模式包括听筒模式、免提模式以及耳机模式,也可为音量等参数;在所述待切换应用为录音应用时,工作模式可包括耳机模式以及听筒模式,也可为音量等参数调节;在所述待切换应用音乐播放应用时,所述工作参数可为当前播放的歌曲,通过悬浮控件进行歌曲切换的操作,或者该工作参数可为音量参数或者音效模式;在所述待切换应用为即时通信应用时,该工作模式可包括隐身、在线以及忙碌等。该悬浮控件的显示优先级可设置为最高,以使悬浮控件一直显示于终端的显示界面上。
本领域技术人员可以理解的是,在待切换应用当前工作模式不是预设的工作模式时,可不做任何处理。本领域技术人员可以理解的是,可通过悬浮控件的显示状态标识应用当前的工作模式,参照图7,显示模块30包括:
获取单元31,用于在所述待切换应用当前工作模式为预设的模式时,获取当前工作模式所对应的显示参数;
显示单元32,用于按照所述显示参数在当前显示界面中预设的显示区域显示所述悬浮控件,以供用户基于所述悬浮按键调节所述待切换应用的工作参数。
本实施例提出的终端应用的后台运行控制装置,在接收到后台运行的指令时,将所述待切换应用置于后台运行,并在所述待切换应用当前工作模式为预设的模式时,所述终端在当前显示界面中预设的显示区域显示悬浮控件,以供用户基于所述悬浮按键调节所述待切换应用的工作参数。用户可直接基于显示界面显示的悬浮控件对后台应用的工作参数进行调节,非常便捷,灵活性高。
进一步地,由于终端后台运行的应用可能为多个,若多个后台运行的应用均在当前显示界面显示,则会导致当前显示界面较为混乱,则为提高界面的简洁,参照图8,所述终端应用的后台运行控制装置包括:
生成模块40,用于在所述待切换应用当前工作模式为预设的模式时,且 当前显示界面显示有悬浮控件时,基于所述待切换应用对应的悬浮控件以及预设位置处显示的悬浮控件生成组合悬浮控件;
在本实施例中,生成模块40生成组合悬浮控件时,可将多个单独悬浮控件直接组合,该组合悬浮控件中显示有多个应用悬浮控件的标识;或者,生成模块40在生成组合悬浮控件时,该悬浮控件的标识不改变,用户点击组合悬浮控件的标识时,显示各个应用对应的悬浮控件标识,例如,该组合悬浮控件由即时通信应用以及歌曲播放应用的悬浮控件组合而成时,用户在点击组合悬浮控件时,显示即时通信应用以及歌曲播放应用的悬浮控件。
所述显示模块30,还用于在当前显示界面的预设位置处显示所述组合悬浮控件。
该组合悬浮控件的图标可包括各个悬浮空间的图标,也可为一个预设的图标,用户在点击所述组合悬浮控件的图标时,终端显示包括各个悬浮空间图标的选择界面,参照图9,所述显示模块30,还用于在接收到用户基于所述组合悬浮控件触发的控制指令时,显示悬浮控件选择界面,以供用户选择相应的悬浮控件以触发控制参数调节指令;所述确定模块10,还用于在接收到所述控制参数调节指令时,确定所述控制参数调节指令对应的后台应用;所述终端应用的后台运行控制装置还包括:调节模块50,用于基于所述控制参数调节指令调节所述后台应用的工作参数。
以下通过实例进行说明:1)待切换应用为通话应用:在接收到通话应用置于后台的指令时,确定模块10确定当前的通话模式,在当前的通话模式为听筒模式时,处理模块20将通话应用置于后台,显示模块30在当前显示界面的预设位置处显示悬浮控件,以供用户基于所述悬浮控件将当前工作模式切换为听筒模式或者耳机模式等。在当前的通话模式为听筒模式或者免提模式,且终端连接有耳机时,处理模块20将通话应用置于后台,显示模块30在当前显示界面的预设位置处显示悬浮控件,以供用户基于所述悬浮控件将当前工作模式切换为耳机模式,在显示所述悬浮控件时,若当前显示界面显示有悬浮控件(如即时通信应用的悬浮控件),生成模块40将即时通信应用的悬浮控件与通话应用的悬浮控件进行组合生成组合悬浮控件,该组合悬浮控件中可包含通话应用的悬浮控件标识以及即时通信应用的悬浮控件标识;2)所述待切换应用为录音应用:在接收到录音应用置于后台的指令时,确定模块10确定当前工 作模式为耳机模式时,处理模块20将录音应用置于后台,显示模块30在当前显示界面的预设位置处显示悬浮控件,以供用户基于所述悬浮控件将当前工作模式切换为听筒模式或者进行音量的调节,在显示所述悬浮控件时,若当前显示界面显示有悬浮控件(如即时通信应用的悬浮控件),生成模块40将即时通信应用的悬浮控件与录音应用的悬浮控件进行组合生成组合悬浮控件,该组合悬浮控件中可包含录音应用的悬浮控件标识以及即时通信应用的悬浮控件标识;3)所述待切换应用为歌曲播放应用:在接收到歌曲播放应用置于后台的指令时,确定模块10确定当前工作模式为正常模式时,处理模块20将歌曲播放应用置于后台,显示模块30在当前显示界面的预设位置处显示悬浮控件,以供用户基于所述悬浮控件将当前工作模式切换为混音模式、摇滚模式等等,也可进行音量以及切歌等参数的调节,在显示所述悬浮控件时,若当前显示界面显示有悬浮控件(如即时通信应用的悬浮控件),生成模块40将即时通信应用的悬浮控件与歌曲播放应用的悬浮控件进行组合生成组合悬浮控件,该组合悬浮控件中可包含歌曲播放应用的悬浮控件标识以及即时通信应用的悬浮控件标识;4)所述待切换应用为即时通信应用,在接收到即时通信应用置于后台的指令时,确定模块10确定当前工作模式为在线模式时,处理模块20将即时通信应用置于后台,显示模块30在当前显示界面的预设位置处显示悬浮控件,以供用户基于所述悬浮控件将当前工作模式切换为在线以及忙碌等,在显示所述悬浮控件时,若当前显示界面显示有悬浮控件(如歌曲播放应用的悬浮控件),生成模块40将即时通信应用的悬浮控件与歌曲播放应用的悬浮控件进行组合生成组合悬浮控件,该组合悬浮控件中可包含歌曲播放应用的悬浮控件标识以及即时通信应用的悬浮控件标识。在本实施例中,待切换应用并不局限于上述四种,还可为其它应用。
为提高后台应用工作参数调节的准确性,在所述工作参数为所述应用的工作模式时,所述终端应用的后台运行控制装置包括:
调节模块,用于在接收到用户基于所述悬浮控件触发的工作参数调节指令时,基于所述调节指令调节后台应用的工作模式;
所述确定模块,还用于基于预设的工作模式与显示参数之间的映射关系,确定切换后的工作模式对应的显示参数;
所述调节模块,还用于按照确定的显示参数调节所述悬浮控件。
该显示参数可包括悬浮图标的显示颜色及/或形状及/或面积。通过悬浮图标的显示参数表示悬浮应用的工作状态,使得用户更加快捷地知晓后台应用的工作状态。
在本领域技术人员可以理解的是,后台应用切换工作模式之后,切换后的工作模式不属于预设的工作模式时,隐藏所述悬浮图标。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。

Claims (10)

  1. 一种终端应用的后台运行控制方法,其特征在于,所述终端应用的后台运行控制方法包括以下步骤:
    在接收到后台运行的指令时,终端确定待切换应用;
    所述终端将所述待切换应用置于后台运行;
    在所述待切换应用当前工作模式为预设的模式时,所述终端在当前显示界面中预设的显示区域显示悬浮控件,以供用户基于所述悬浮按键调节所述待切换应用的工作参数。
  2. 如权利要求1所述的终端应用的后台运行控制方法,其特征在于,所述在所述待切换应用当前工作模式为预设的模式时,所述终端在当前显示界面中预设的显示区域显示悬浮控件,以供用户基于所述悬浮按键调节所述待切换应用的工作参数的步骤包括:
    在所述待切换应用当前工作模式为预设的模式时,所述终端确定当前工作模式所对应的工作参数;
    所述终端基于所述工作参数生成悬浮控件;
    所述终端显示所述悬浮控件,以供用户基于所述悬浮按键调节所述待切换应用的工作参数。
  3. 如权利要求1或2所述的终端应用的后台运行控制方法,其特征在于,在所述工作参数为所述应用的工作模式时,所述在所述待切换应用当前工作模式为预设的模式时,所述终端在当前显示界面中预设的显示区域显示悬浮控件,以供用户基于所述悬浮按键调节所述待切换应用的工作参数的步骤之后,所述终端应用的后台运行控制方法还包括:
    在接收到用户基于所述悬浮控件触发的工作参数调节指令时,所述终端基于所述调节指令调节后台应用的工作模式;
    所述终端基于预设的工作模式与显示参数之间的映射关系,确定切换后的工作模式对应的显示参数;
    所述终端按照确定的显示参数调节所述悬浮控件。
  4. 如权利要求1或2所述的终端应用的后台运行控制方法,其特征在于,所述终端将所述待切换应用置于后台运行的步骤之后,所述终端应用的后台运行控制方法还包括步骤:
    在所述待切换应用当前工作模式为预设的模式时,且当前显示界面显示有悬浮控件时,所述终端基于所述待切换应用对应的悬浮控件以及预设位置处显示的悬浮控件生成组合悬浮控件;
    所述终端在当前显示界面的预设位置处显示所述组合悬浮控件。
  5. 如权利要求4所述的终端应用的后台运行控制方法,其特征在于,所述控制终端在当前显示界面的预设位置处显示所述组合悬浮控件的步骤之后,所述终端应用的后台运行控制方法还包括步骤:
    在接收到用户基于所述组合悬浮控件触发的控制指令时,所述终端显示悬浮控件选择界面,以供用户选择相应的悬浮控件以触发控制参数调节指令;
    在接收到所述控制参数调节指令时,所述终端确定所述控制参数调节指令对应的后台应用;
    所述终端基于所述控制参数调节指令调节所述后台应用的工作参数。
  6. 一种终端应用的后台运行控制装置,其特征在于,所述终端应用的后台运行控制装置包括:
    确定模块,用于在接收到后台运行的指令时,确定待切换应用;
    处理模块,用于将所述待切换应用置于后台运行;
    显示模块,用于在所述待切换应用当前工作模式为预设的模式时,在当前显示界面中预设的显示区域显示悬浮控件,以供用户基于所述悬浮按键调节所述待切换应用的工作参数。
  7. 如权利要求6所述的终端应用的后台运行控制装置,其特征在于,所述确定模块包括:
    确定单元,用于在所述待切换应用当前工作模式为预设的模式时,确定当前工作模式所对应的工作参数;
    生成单元,用于基于所述工作参数生成悬浮控件;
    显示单元,用于显示所述悬浮控件,以供用户基于所述悬浮按键调节所述待切换应用的工作参数。
  8. 如权利要求6或7所述的终端应用的后台运行控制装置,其特征在于,所述终端应用的后台运行控制装置还包括:
    调节模块,用于在所述工作参数为所述应用的工作模式,接收到用户基于所述悬浮控件触发的工作参数调节指令时,基于所述调节指令调节后台应用的工作模式;
    所述确定模块,还用于基于预设的工作模式与显示参数之间的映射关系,确定切换后的工作模式对应的显示参数;
    所述调节模块,还用于按照确定的显示参数调节所述悬浮控件。
  9. 如权利要求8所述的终端应用的后台运行控制装置,其特征在于,所述终端应用的后台运行控制装置还包括:
    生成模块,用于在所述待切换应用当前工作模式为预设的模式时,且当前显示界面显示有悬浮控件时,基于所述待切换应用对应的悬浮控件以及预设位置处显示的悬浮控件生成组合悬浮控件;
    所述显示模块,还用于在当前显示界面的预设位置处显示所述组合悬浮控件。
  10. 如权利要求9所述的终端应用的后台运行控制装置,其特征在于,所述显示模块,还用于在接收到用户基于所述组合悬浮控件触发的控制指令时,显示悬浮控件选择界面,以供用户选择相应的悬浮控件以触发控制参数调节指令;所述确定模块,还用于在接收到所述控制参数调节指令时,确定所述控制参数调节指令对应的后台应用;所述调节模块,还用于基于所述控制参数调节指令调节所述后台应用的工作参数。
PCT/CN2015/100265 2015-04-17 2015-12-31 终端应用的后台运行控制方法及其装置 WO2016165405A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510185672.9 2015-04-17
CN201510185672.9A CN106155869A (zh) 2015-04-17 2015-04-17 终端应用的后台运行控制方法及其装置

Publications (1)

Publication Number Publication Date
WO2016165405A1 true WO2016165405A1 (zh) 2016-10-20

Family

ID=57127950

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/100265 WO2016165405A1 (zh) 2015-04-17 2015-12-31 终端应用的后台运行控制方法及其装置

Country Status (2)

Country Link
CN (1) CN106155869A (zh)
WO (1) WO2016165405A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108076229A (zh) * 2017-12-28 2018-05-25 维沃移动通信有限公司 一种应用运行状态控制方法及移动终端

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106791138A (zh) * 2016-12-29 2017-05-31 努比亚技术有限公司 移动终端的录音系统及方法
CN106899817B (zh) * 2017-01-04 2019-09-17 深圳市广和通无线股份有限公司 媒体数据录制方法和装置
CN106886331B (zh) * 2017-01-12 2020-04-24 青岛海信移动通信技术股份有限公司 一种触摸终端的数据处理方法、装置及触摸终端
CN106980441A (zh) * 2017-03-29 2017-07-25 杭州弗凡科技有限公司 车载导航终端的悬浮窗口交互方法及车载导航终端
CN107180569A (zh) * 2017-06-26 2017-09-19 广东电网有限责任公司惠州供电局 一种面向主网电力系统的智能仿真培训系统和方法
CN107315613A (zh) * 2017-06-29 2017-11-03 努比亚技术有限公司 一种后台应用快捷控制方法、终端及计算机可读存储介质
CN107391914B (zh) * 2017-07-06 2021-03-02 东软医疗系统股份有限公司 一种参数显示方法、装置及设备
CN108170362B (zh) * 2017-12-28 2020-04-28 维沃移动通信有限公司 一种应用运行状态控制方法及移动终端
CN108062190B (zh) * 2017-12-28 2020-06-09 维沃移动通信有限公司 一种应用运行状态控制方法及移动终端
CN108446156B (zh) * 2018-03-16 2021-01-08 维沃移动通信有限公司 一种应用程序控制方法及终端
CN108683801B (zh) * 2018-04-24 2020-10-20 Oppo广东移动通信有限公司 控制音频播放的方法、装置、终端及计算机可读存储介质
CN108845729A (zh) * 2018-05-07 2018-11-20 珠海格力电器股份有限公司 一种应用功能的实现方法及终端设备
CN109032450B (zh) * 2018-08-10 2021-07-23 上海传英信息技术有限公司 移动终端及其悬浮标识显示方法
CN109189536A (zh) * 2018-08-30 2019-01-11 上海爱优威软件开发有限公司 一种终端应用显示方法及系统
CN109213402A (zh) * 2018-09-26 2019-01-15 徐文娟 一种移动终端的界面显示的方法及移动终端
CN111797271A (zh) * 2020-07-08 2020-10-20 杭州网易云音乐科技有限公司 多人听音乐实现方法、装置、存储介质及电子设备
CN114461106B (zh) * 2021-07-02 2024-04-12 北京字跳网络技术有限公司 展示方法、装置和电子设备
CN113660446A (zh) * 2021-08-17 2021-11-16 深圳市唐为电子有限公司 一种智能手机对讲通话优化系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546952A (zh) * 2012-02-07 2012-07-04 深圳市同洲电子股份有限公司 一种移动终端界面的显示方法及移动终端
CN103475784A (zh) * 2013-09-18 2013-12-25 广东欧珀移动通信有限公司 一种手机应用程序窗口模式显示和操作方法
CN104166458A (zh) * 2014-08-12 2014-11-26 广州华多网络科技有限公司 控制多媒体播放器的方法及装置
CN104298417A (zh) * 2013-07-19 2015-01-21 北京三星通信技术研究有限公司 移动终端管理应用程序的视图的方法及装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929478A (zh) * 2012-09-25 2013-02-13 东莞宇龙通信科技有限公司 应用切换方法及通信终端
CN103197911A (zh) * 2013-04-12 2013-07-10 广东国笔科技股份有限公司 一种提供语音输入的方法、系统和装置
CN103793138A (zh) * 2014-01-24 2014-05-14 宇龙计算机通信科技(深圳)有限公司 移动终端及后台应用程序的显示方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546952A (zh) * 2012-02-07 2012-07-04 深圳市同洲电子股份有限公司 一种移动终端界面的显示方法及移动终端
CN104298417A (zh) * 2013-07-19 2015-01-21 北京三星通信技术研究有限公司 移动终端管理应用程序的视图的方法及装置
CN103475784A (zh) * 2013-09-18 2013-12-25 广东欧珀移动通信有限公司 一种手机应用程序窗口模式显示和操作方法
CN104166458A (zh) * 2014-08-12 2014-11-26 广州华多网络科技有限公司 控制多媒体播放器的方法及装置

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108076229A (zh) * 2017-12-28 2018-05-25 维沃移动通信有限公司 一种应用运行状态控制方法及移动终端

Also Published As

Publication number Publication date
CN106155869A (zh) 2016-11-23

Similar Documents

Publication Publication Date Title
WO2016165405A1 (zh) 终端应用的后台运行控制方法及其装置
US11573688B2 (en) Method, apparatus, and terminal for processing notification information
JP6640909B2 (ja) テーマ表示方法および関連装置
EP2226715A2 (en) Music playback apparatus and method for music selection and playback
CN112947823A (zh) 会话处理方法、装置、设备及存储介质
WO2021104271A1 (zh) 控制方法、触控笔及电子组件
AU2014293763B2 (en) Method and apparatus for providing Graphic User Interface
KR20090025260A (ko) 장치의 동작을 변환하는 방법 및 컴퓨터 판독가능 매체
US20180365527A1 (en) Method and device for controlling expression classification identifier, and a storage medium
US20120159387A1 (en) Icon display method and apparatus in portable terminal
KR20100120740A (ko) 멀티 음성 시스템의 동작 제어 장치 및 방법
WO2015106510A1 (zh) 应用的分屏方法与装置、智能终端、存储介质
KR20170023744A (ko) 어플리케이션의 인터랙션 방법, 장치, 프로그램 및 기록매체
EP3472699B1 (en) Method and electronic device for managing functionality of applications
JP2018514819A (ja) 操作処理方法、装置、プログラム、及び記録媒体
CN107357501B (zh) 桌面壁纸的更新方法、装置以及终端
WO2015106727A1 (en) Method and apparatus for switching audio output device
CN105306817A (zh) 一种拍照的控制方法及移动终端
EP2850610B1 (en) Systems and methods to manage zooming
EP3076642B1 (en) Operation processing method and device
CN105100447A (zh) 一种应用属性的设置及消息处理方法、装置
CN108803891A (zh) 一种信息展示方法、装置、电子设备以及存储介质
US20110115788A1 (en) Method and apparatus for setting stereoscopic effect in a portable terminal
CA2768418C (en) Apparatus and method for managing call notes in a wireless device
US20150241958A1 (en) Electronic device and control method thereof

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 19.04.2018)

122 Ep: pct application non-entry in european phase

Ref document number: 15889101

Country of ref document: EP

Kind code of ref document: A1