WO2018059220A1 - Application control method and device, and terminal - Google Patents

Application control method and device, and terminal Download PDF

Info

Publication number
WO2018059220A1
WO2018059220A1 PCT/CN2017/101117 CN2017101117W WO2018059220A1 WO 2018059220 A1 WO2018059220 A1 WO 2018059220A1 CN 2017101117 W CN2017101117 W CN 2017101117W WO 2018059220 A1 WO2018059220 A1 WO 2018059220A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
target
application
target application
working mode
Prior art date
Application number
PCT/CN2017/101117
Other languages
French (fr)
Chinese (zh)
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 WO2018059220A1 publication Critical patent/WO2018059220A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3287Power saving characterised by the action undertaken by switching off individual functional units in the computer system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/329Power saving characterised by the action undertaken by task scheduling

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to an application control method, apparatus, and terminal.
  • the user in order to minimize the consumption speed of the terminal power and extend the usage time of the terminal after charging, the user can usually lower the screen brightness of the terminal, close the background program, close the unused network or the positioning function, and turn off the push notification to avoid the program plug-in running. , stop the background application information interaction and other ways to achieve.
  • the present invention aims to solve at least one of the technical problems in the related art to some extent.
  • the first object of the present invention is to provide an application control method, which realizes a target application according to a target working mode corresponding to a target application to be activated, thereby saving terminal power while not affecting the terminal foreground.
  • the use of the application optimizes the power saving effect and improves the user experience.
  • a second object of the present invention is to provide an application control device.
  • a third object of the present invention is to propose a terminal.
  • a fourth object of the present invention is to provide a storage medium.
  • a fifth object of the present invention is to propose an executable program code.
  • the first aspect of the present invention provides an application control method, which is applied to a terminal, including: receiving a request for starting an application, where the request includes an identifier of a target application to be started; And determining an target working mode corresponding to the target application; adjusting an operating state of the terminal according to the target working mode; and starting a target application corresponding to the identifier of the target application.
  • the method before determining the target working mode corresponding to the target application according to the identifier of the target application, the method further includes:
  • Determining, according to the identifier of the target application, a target working mode corresponding to the target application including:
  • the determining, according to the identifier of the target application, the target working mode corresponding to the target application including:
  • the target working mode is determined according to a mapping relationship between a preset usage scenario and a working mode.
  • the method before the adjusting the working state of the terminal according to the target working mode, the method further includes:
  • the method further includes:
  • the working mode of the target application is adjusted.
  • the working mode includes one or more of the following information: screen brightness of the terminal, network connection status of the terminal, location service of the terminal, and information of the background application. Interactive state.
  • the application control method provided by the embodiment of the present invention firstly receives a request for starting an application, where the request includes an identifier of a target application to be started; and then determining, according to the identifier of the target application, a target working mode corresponding to the target application; And adjusting the working state of the terminal according to the target working mode; and finally starting the target application corresponding to the identifier of the target application. Therefore, the target application mode corresponding to the target application to be activated is activated, and the target application is started, thereby saving the power of the terminal and not affecting the use of the foreground application of the terminal, optimizing the power saving effect and improving the user experience.
  • the second aspect of the present invention provides an application control apparatus, which is applied to a terminal, and includes: a first receiving module, configured to receive a request for starting an application, where the request includes an identifier of a target application to be started. a determining module, configured to determine a target working mode corresponding to the target application according to the identifier of the target application; a first adjusting module, configured to adjust a working state of the terminal according to the target working mode; And a target application corresponding to the identifier of the target application.
  • the device further includes:
  • An obtaining module configured to acquire a remaining power value of the terminal
  • the determining module is specifically configured to:
  • the determining module is specifically configured to:
  • the target working mode is determined according to a mapping relationship between a preset usage scenario and a working mode.
  • the device further includes:
  • a prompting module configured to prompt, by the prompt window, whether the user starts the target application in the target working mode
  • a second receiving module configured to receive, by the prompt window, an instruction that the user starts the target application in the target working mode.
  • the device further includes:
  • a monitoring module configured to monitor a remaining power value of the terminal at a preset time interval
  • a second adjusting module configured to adjust an operating mode of the target application when a remaining power value of the terminal meets a preset condition.
  • the working mode includes one or more of the following information: screen brightness of the terminal, network connection status of the terminal, location service of the terminal, and information of the background application. Interactive state.
  • the application control device provided in this embodiment first receives a request for starting an application, where the request includes an identifier of a target application to be started; and then determining, according to the identifier of the target application, a target working mode corresponding to the target application; Adjusting an operating state of the terminal according to the target working mode; and finally starting a target application corresponding to the identifier of the target application.
  • the target application mode corresponding to the target application starts the target application, thereby saving the terminal power while not affecting the use of the terminal foreground application, optimizing the power saving effect and improving the user experience.
  • a third aspect of the present invention provides a terminal, comprising: one or more of the following components: a circuit board, a housing, a processor, a memory, a power supply circuit, a display screen, an audio component, An input/output (I/O) interface, a sensor assembly, and a communication assembly; wherein the circuit board is disposed inside a space enclosed by the housing, and the processor and the memory are disposed on the circuit board
  • the power circuit for powering various circuits or devices of the terminal; the memory for storing executable program code; the processor running by reading executable program code stored in the memory A program corresponding to the executable program code for performing the application control method of the first aspect.
  • the terminal provided by the embodiment first receives a request for starting an application, where the request includes an identifier of a target application to be started; and then determining, according to the identifier of the target application, a target working mode corresponding to the target application; Determining a working mode of the target, adjusting an operating state of the terminal; and finally starting a target application corresponding to the identifier of the target application. Therefore, the target application mode corresponding to the target application to be activated is activated, and the target application is started, thereby saving the power of the terminal and not affecting the use of the foreground application of the terminal, optimizing the power saving effect and improving the user experience.
  • a fourth aspect of the present invention provides a storage medium for storing executable program code for executing the application control method of the first aspect.
  • an embodiment of the fifth aspect of the present invention provides an executable program code for performing the application control method of the first aspect.
  • FIG. 1 is a flow chart of an application control method according to an embodiment of the present invention.
  • FIG. 2 is a flow chart of an application control method according to another embodiment of the present invention.
  • Figure 3 is a structural diagram of an application control device according to an embodiment of the present invention.
  • FIG. 4 is a structural diagram of an application control device according to another embodiment of the present invention.
  • FIG. 5 is a structural diagram of a terminal according to an embodiment of the present invention.
  • FIG. 1 is a flow chart of an application control method in accordance with an embodiment of the present invention.
  • the application control method includes:
  • Step 101 Receive a request to start an application, where the request includes an identifier of a target application to be started.
  • the application control method provided by the embodiment of the present invention may be performed by the application control apparatus provided by the embodiment of the present invention.
  • the application control device can be configured in any terminal to reduce the power consumption of the terminal and extend the usage time of the terminal.
  • the embodiments of the present invention are directed to an existing method for power saving a terminal, which may affect the use of the foreground application, and propose an application control method to start the target application by applying a corresponding target working mode according to the target to be activated. To minimize the consumption of terminal power during the use of the target application.
  • the request for starting the application may be triggered by the user clicking, long pressing, or sliding the identifier of the target application to be started, which is not limited herein.
  • Step 102 Determine, according to the identifier of the target application, a target working mode corresponding to the target application.
  • Step 103 Adjust an operating state of the terminal according to the target working mode.
  • Step 104 Start a target application corresponding to the identifier of the target application.
  • the working mode may be a normal working mode, a power saving working mode, a flying working mode, and the like.
  • the working mode may include one or more of the following information: a screen brightness of the terminal, a network connection status of the terminal, a positioning service of the terminal, and an information interaction status of the background application.
  • different target applications can correspond to different working modes.
  • different working modes can be implemented by setting one or more of the above information.
  • the screen brightness of the terminal is 70%
  • the network connection status of the terminal is the connection
  • the positioning service of the terminal is enabled
  • the information interaction status of the background application is enabled
  • the working mode is set to save power.
  • the screen brightness of the terminal is 50%
  • the network connection status of the terminal is disconnected
  • the positioning service of the terminal is closed
  • the information interaction status of the background application is closed, and the like.
  • the target application is a stand-alone game application
  • the working mode corresponding to the stand-alone game can be set to the power-saving working mode, and the above information is set to
  • the brightness of the terminal screen is 50%, the network connection status of the terminal is disconnected, the location service of the terminal is closed, and the information interaction status of the background application is closed.
  • the browser application because the application consumes less power and needs to be connected to the network, the working mode corresponding to the browser application can be set to the normal working mode, and the above information is set to: the screen brightness of the terminal is 70%, and the network connection status of the terminal is The connection, the location service of the terminal is enabled, the information interaction status of the background application is enabled, and the like.
  • the embodiment of the present invention adjusts the working mode of the terminal according to different target applications, so that the power consumption of the terminal is saved, and the use of the foreground application of the terminal is not affected.
  • the working mode of the target application it may be determined according to the usage scenario of the target application. For example, if the scene of the game scene, playing music, or playing a video consumes a large amount of power, the scene in which the game scene is set, the music is played, or the video is played in advance corresponds to the power-saving working mode; if the power consumption of the scene such as browsing the webpage is small, Pre-set browsing webpage scenes correspond to regular working modes, and so on.
  • the application control device may first determine the usage scenario of the application according to the identifier of the application, and then determine the working mode corresponding to the target application according to the mapping relationship between the usage scenario and the working mode, and adjust the terminal according to the target working mode. After the working state, start the target application.
  • the prompting window may prompt the user whether to The target working mode starts the target application, receives the user's target working mode through the prompt window, starts the target application instruction, and then adjusts the working state of the terminal according to the target working mode, and starts the target application;
  • the target working mode, starting the target application's instructions continues to launch the target application in the previous mode.
  • the window may prompt the user whether to start the game application in the power saving working mode. If the user wants to start the game application in the power-saving working mode, he can select “Yes” on the prompt window, and after receiving the user's request, the application control device can control the game application to start in the power-saving working mode; if the user does not want to Power-saving work mode to start the game should Alternatively, you can select “No” on the prompt window. After receiving the user's request, the application control device can control the game application to still start in the normal working mode.
  • the application control method provided by the embodiment of the present invention firstly receives a request for starting an application, where the request includes an identifier of a target application to be started; and then determining, according to the identifier of the target application, a target working mode corresponding to the target application; And adjusting the working state of the terminal according to the target working mode; and finally starting the target application corresponding to the identifier of the target application. Therefore, the target application mode corresponding to the target application to be activated is activated, and the target application is started, thereby saving the power of the terminal and not affecting the use of the foreground application of the terminal, optimizing the power saving effect and improving the user experience.
  • the target working mode corresponding to the target application may be determined according to the identifier of the target application to be activated, and then the working state of the terminal is adjusted according to the target working mode, and the target application is started to save the terminal power. At the same time, it does not affect the use of the foreground application. In actual implementation, when the remaining power of the terminal is different, the target working mode corresponding to the same target application may be different. The above situation will be specifically described below with reference to FIG. 2 .
  • FIG. 2 is a flow chart of an application control method according to another embodiment of the present invention.
  • the application control method includes:
  • Step 201 Receive a request to start an application, where the request includes an identifier of a target application to be started.
  • step 201 For the specific implementation process and principle of the foregoing step 201, refer to the detailed description of step 101 in the foregoing embodiment, and details are not described herein again.
  • Step 202 Acquire a remaining power value of the terminal.
  • Step 203 Determine the target working mode according to the remaining power value of the terminal and the identifier of the target application.
  • the information included in the working mode may be used according to the screen of the terminal.
  • One or more settings of the brightness of the screen, the network connection status of the terminal, the location service of the terminal, and the information interaction status of the background application divide the power saving operation mode into several different levels. For example, by setting the brightness of the screen of the terminal and turning on or off one or more of the other pieces of information, the power saving working mode is divided into a first power saving working mode, a second power saving working mode, and the like. .
  • setting the screen brightness of the terminal is low, the network connection of the terminal is disconnected, the positioning service of the terminal is closed, and the information exchange of the background application is closed, corresponding to the first power saving working mode; setting the screen brightness of the terminal is low, and the network connection of the terminal is Disconnected, the location service of the terminal is closed, and the information exchange of the background application is enabled, corresponding to the second power-saving working mode; setting the screen brightness of the terminal is low, the network connection of the terminal is disconnected, the positioning service of the terminal is enabled, and the information interaction of the background application is performed. Turn on, corresponding to the third power saving mode, and so on.
  • the remaining power value of the terminal, the correspondence between the target application and the target working mode may be preset, and then the target working mode is determined according to the remaining power value of the terminal and the identifier of the target application.
  • different remaining power values of the terminal and the same target application may be preset in advance, corresponding to different target working modes. For example, setting the remaining power value of the terminal to be 60%-79%, the target application is a game application, corresponding to the third power saving working mode; setting the remaining power value of the terminal to 40%-59%, and the target application is a game application, corresponding to the first The second power saving working mode; setting the remaining power value of the terminal to be 20% - 39%, the target application is a game application, corresponding to the first power saving working mode, and the like.
  • the same remaining power value of the terminal and different target applications may be preset in advance, corresponding to different target working modes.
  • the remaining power value of the terminal is set to be 20%-39%
  • the target application is a game application, corresponding to the first power saving working mode
  • the remaining power value of the setting terminal is 20%-39%
  • the target application is a music application, corresponding to the first The second power-saving working mode
  • the target application is a browser application, corresponding to the third power-saving working mode, and the like.
  • the target working mode may be determined to be the third power saving working mode; if the remaining power value of the obtained terminal is 50%, the remaining power value of the terminal and the identifier of the game application are determined according to the terminal
  • the target working mode can be determined to be the second power saving working mode; if the obtained remaining power value of the terminal is 30%, the target working mode can be determined to be the first power saving working mode.
  • Step 204 Adjust an operating state of the terminal according to the target working mode.
  • Step 205 Start a target application corresponding to the identifier of the target application.
  • Step 206 Monitor the remaining power value of the terminal at a preset time interval.
  • the preset time interval may be determined according to the power consumption speed of the target application. For example, if the target application consumes faster power, the preset time interval may be 2 minutes, 5 minutes, etc., if the target application consumes more power. Slow, the preset time interval can be 10 minutes, 20 minutes, and so on.
  • Step 207 Adjust the working mode of the target application when the remaining power value of the terminal meets a preset condition.
  • the working mode of the target application is adjusted when the preset condition is met. .
  • the target application is a game application
  • the remaining power of the monitored terminal is 50%
  • the corresponding working mode of the game application is the second power saving working mode
  • the remaining power of the monitored terminal is 40%
  • the corresponding working mode of the game application is still the second power saving working mode
  • the working mode corresponding to the game application is adjusted to the first power saving working mode.
  • the application control method provided by the embodiment of the present invention first receives a request to start an application; and then obtains a remaining power value of the terminal; and determines the target working mode according to the remaining power value of the terminal and the identifier of the target application; And adjusting, according to the target working mode, the working state of the terminal; starting a target application corresponding to the identifier of the target application; and after starting the target application, monitoring the remaining power of the terminal at a preset time interval a value; adjusting a working mode of the target application when a remaining power value of the terminal meets a preset condition.
  • the target application mode corresponding to the target application to be activated is activated, and the target application is started, so that the power consumption of the terminal is saved, and the use of the foreground application of the terminal is not affected, and when the remaining power value of the terminal changes.
  • the target working mode corresponding to the target application can be adjusted, the power saving effect is optimized, and the user experience is improved.
  • Fig. 3 is a structural diagram of an application control device according to an embodiment of the present invention.
  • the application control device 30 includes:
  • the first receiving module 31 is configured to receive a request for starting an application, where the request includes an identifier of a target application to be started;
  • a determining module 32 configured to determine, according to the identifier of the target application, a target working mode corresponding to the target application
  • the first adjustment module 33 is configured to adjust an operating state of the terminal according to the target working mode
  • the startup module 34 is configured to start a target application corresponding to the identifier of the target application.
  • the application control device provided in this embodiment may be configured in any terminal to reduce the power consumption of the terminal and extend the usage time of the terminal.
  • the determining module 32 is specifically configured to:
  • the target working mode is determined according to a mapping relationship between a preset usage scenario and a working mode.
  • the working mode includes one or more of the following information: screen brightness of the terminal, network connection status of the terminal, location service of the terminal, and information of the background application. Interactive state.
  • the application control device provided in this embodiment first receives a request for starting an application, where the request includes an identifier of a target application to be started; and then determining, according to the identifier of the target application, a target working mode corresponding to the target application; Adjusting an operating state of the terminal according to the target working mode; and finally starting a target application corresponding to the identifier of the target application. Therefore, the target application mode corresponding to the target application to be activated is activated, and the target application is started, thereby saving the power of the terminal and not affecting the use of the foreground application of the terminal, optimizing the power saving effect and improving the user experience.
  • Fig. 4 is a structural diagram of an application control device according to another embodiment of the present invention.
  • the application control device 30 further includes:
  • An obtaining module 35 configured to acquire a remaining power value of the terminal
  • determining module 32 is specifically configured to:
  • the application control device 30 further includes:
  • a prompting module 36 configured to prompt, by the prompt window, whether the user starts the target application in the target working mode
  • the second receiving module 37 is configured to receive, by the prompting window, an instruction that the user starts the target application in the target working mode.
  • the monitoring module 38 is configured to monitor a remaining power value of the terminal at a preset time interval
  • the second adjustment module 39 is configured to adjust an operation mode of the target application when a remaining power value of the terminal meets a preset condition.
  • the application control device provided by the embodiment of the present invention first receives a request to start an application; and then obtains a remaining power value of the terminal; and determines the target working mode according to the remaining power value of the terminal and the identifier of the target application; And adjusting, according to the target working mode, the working state of the terminal; starting a target application corresponding to the identifier of the target application; and after starting the target application, monitoring the remaining power of the terminal at a preset time interval a value; adjusting a working mode of the target application when a remaining power value of the terminal meets a preset condition.
  • the target application mode corresponding to the target application to be activated is activated, and the target application is started, so that the power consumption of the terminal is saved, and the use of the foreground application of the terminal is not affected, and when the remaining power value of the terminal changes.
  • the target working mode corresponding to the target application can be adjusted, the power saving effect is optimized, and the user experience is improved.
  • FIG. 5 is a structural diagram of a terminal according to an embodiment of the present invention.
  • terminals such as a mobile phone, a palmtop computer, a notebook computer, etc., which is not limited in this embodiment.
  • the terminal includes one or more of the following components: a circuit board 501, a housing 502, a processor 503, a memory 504, a power supply circuit 505, a display screen 506, an audio component 507, and an input/output (I/).
  • the power supply circuit 505 is configured to supply power to each circuit or device of the terminal; the memory 504 is configured to store executable program code; and the processor 503 reads the stored in the memory 504 by reading Executable program code to run with the executable program A program corresponding to the code for performing the application control method described in the first aspect.
  • the terminal provided by the embodiment of the present invention first receives a request for starting an application, where the request includes an identifier of a target application to be started; and then determining, according to the identifier of the target application, a target working mode corresponding to the target application; And the target working mode, adjusting an working state of the terminal; and starting a target application corresponding to the identifier of the target application. Therefore, the target application mode corresponding to the target application to be activated is activated, and the target application is started, thereby saving the power of the terminal and not affecting the use of the foreground application of the terminal, optimizing the power saving effect and improving the user experience.
  • another aspect of the present invention provides a storage medium for storing executable program code.
  • the application control method provided by the embodiments of the present invention may be implemented when the executable program code is executed.
  • Another aspect of the present invention provides an executable program code for implementing the application control method provided by the foregoing embodiments.
  • first and second are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated.
  • features defining “first” or “second” may include at least one of the features, either explicitly or implicitly.
  • the meaning of "a plurality” is at least two, such as two, three, etc., unless specifically defined otherwise.
  • portions of the invention may be implemented in hardware, software, firmware or a combination thereof.
  • multiple steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system.
  • a suitable instruction execution system For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or combination of the following techniques well known in the art: having logic gates for implementing logic functions on data signals. Discrete logic circuits, application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
  • the above mentioned storage medium may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Power Sources (AREA)
  • Stored Programmes (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

An application control method and device, and a terminal. The method is applied to the terminal, and comprises: firstly, receiving a request to start an application, the request comprising an identifier of a target application to be started (101); then, according to the identifier of the target application, determining a target working mode corresponding to the target application (102); further according to the target working mode, adjusting a working state of the terminal (103); finally, starting a target application corresponding to the identifier of the target application (104). Therefore, starting a target application according to a target working mode corresponding to a target application to be started is realized, thus the use of a foreground application of a terminal is not affected while saving on the electricity of the terminal, optimizing the power saving effect, and improving the user experience.

Description

一种应用控制方法、装置及终端Application control method, device and terminal
相关申请的交叉引用Cross-reference to related applications
本申请要求北京金山安全软件有限公司于2016年9月29日提交的、发明名称为“一种应用控制方法、装置及终端”的、中国专利申请号“201610867768.8”的优先权。This application claims the priority of the Chinese Patent Application No. 201610867768.8, filed on Sep. 29, 2016, which is filed on September 29, 2016, entitled "Application Control Method, Apparatus and Terminal".
技术领域Technical field
本发明涉及通信技术领域,尤其涉及一种应用控制方法、装置及终端。The present invention relates to the field of communications technologies, and in particular, to an application control method, apparatus, and terminal.
背景技术Background technique
随着计算机及通信技术的发展,越来越多的应用被开发出来,应用于终端中,例如各种游戏应用、拍照应用、视频应用及音乐应用等,各个应用的使用,给用户带来便利的同时,也极大的增加了终端电量的消耗。With the development of computer and communication technology, more and more applications have been developed and applied to terminals, such as various game applications, camera applications, video applications and music applications, etc., and the use of various applications brings convenience to users. At the same time, it also greatly increases the consumption of terminal power.
现有技术,为了尽量降低终端电量的消耗速度,延长终端充电后的使用时间,用户通常可以降低终端的屏幕亮度、关闭后台程序、关闭不用的网络或定位功能、关闭推送通知以避免程序插件运行,停止后台应用的信息交互等方式实现。In the prior art, in order to minimize the consumption speed of the terminal power and extend the usage time of the terminal after charging, the user can usually lower the screen brightness of the terminal, close the background program, close the unused network or the positioning function, and turn off the push notification to avoid the program plug-in running. , stop the background application information interaction and other ways to achieve.
但是上述方式,虽然能够节省一定的电量,但也影响了前台应用的使用,用户体验差。However, although the above method can save a certain amount of power, it also affects the use of the foreground application, and the user experience is poor.
发明内容Summary of the invention
本发明旨在至少在一定程度上解决相关技术中的技术问题之一。The present invention aims to solve at least one of the technical problems in the related art to some extent.
为此,本发明的第一个目的在于提出一种应用控制方法,实现了根据待启动的目标应用对应的目标工作模式,启动目标应用,从而在节省终端电量的同时,也不会影响终端前台应用的使用,优化了省电效果,提高了用户体验。 Therefore, the first object of the present invention is to provide an application control method, which realizes a target application according to a target working mode corresponding to a target application to be activated, thereby saving terminal power while not affecting the terminal foreground. The use of the application optimizes the power saving effect and improves the user experience.
本发明的第二个目的在于提出一种应用控制装置。A second object of the present invention is to provide an application control device.
本发明的第三个目的在于提出一种终端。A third object of the present invention is to propose a terminal.
本发明的第四个目的在于提出一种存储介质。A fourth object of the present invention is to provide a storage medium.
本发明的第五个目的在于提出一种可执行程序代码。A fifth object of the present invention is to propose an executable program code.
为达上述目的,本发明第一方面实施例提出了一种应用控制方法,应用于终端,包括:接收启动应用的请求,所述请求中包括待启动的目标应用的标识;根据所述目标应用的标识,确定所述目标应用对应的目标工作模式;根据所述目标工作模式,调整所述终端的工作状态;启动与所述目标应用的标识对应的目标应用。In order to achieve the above objective, the first aspect of the present invention provides an application control method, which is applied to a terminal, including: receiving a request for starting an application, where the request includes an identifier of a target application to be started; And determining an target working mode corresponding to the target application; adjusting an operating state of the terminal according to the target working mode; and starting a target application corresponding to the identifier of the target application.
在第一方面的一种可能的实现形式中,根据所述目标应用的标识,确定所述目标应用对应的目标工作模式之前,还包括:In a possible implementation form of the first aspect, before determining the target working mode corresponding to the target application according to the identifier of the target application, the method further includes:
获取所述终端的剩余电量值;Obtaining a remaining power value of the terminal;
所述根据所述目标应用的标识,确定所述目标应用对应的目标工作模式,包括:Determining, according to the identifier of the target application, a target working mode corresponding to the target application, including:
根据所述终端的剩余电量值及所述目标应用的标识,确定所述目标工作模式。Determining the target working mode according to the remaining power value of the terminal and the identifier of the target application.
在第一方面的另一种可能的实现形式中,所述根据所述目标应用的标识,确定所述目标应用对应的目标工作模式,包括:In another possible implementation manner of the first aspect, the determining, according to the identifier of the target application, the target working mode corresponding to the target application, including:
根据所述目标应用的标识,确定所述目标应用的使用场景;Determining a usage scenario of the target application according to the identifier of the target application;
根据预设的使用场景与工作模式的映射关系,确定所述目标工作模式。The target working mode is determined according to a mapping relationship between a preset usage scenario and a working mode.
在第一方面的另一种可能的实现形式中,所述根据所述目标工作模式,调整所述终端的工作状态之前,还包括:In another possible implementation manner of the first aspect, before the adjusting the working state of the terminal according to the target working mode, the method further includes:
通过提示窗口提示用户是否以所述目标工作模式,启动所述目标应用; Prompting the user whether to start the target application in the target working mode by using a prompt window;
通过所述提示窗口接收用户以所述目标工作模式,启动所述目标应用的指令。Receiving, by the prompt window, an instruction of the user to start the target application in the target working mode.
在第一方面的另一种可能的实现形式中,所述启动与所述目标应用的标识对应的目标应用之后,还包括:In another possible implementation manner of the first aspect, after the starting the target application corresponding to the identifier of the target application, the method further includes:
以预设的时间间隔,监控所述终端的剩余电量值;Monitoring the remaining power value of the terminal at a preset time interval;
在所述终端的剩余电量值满足预设的条件时,调整所述目标应用的工作模式。When the remaining power value of the terminal meets a preset condition, the working mode of the target application is adjusted.
在第一方面的另一种可能的实现形式中,所述工作模式包括以下信息中的一个或多个:所述终端的屏幕亮度、终端的网络连接状态、终端的定位服务、后台应用的信息交互状态。In another possible implementation manner of the first aspect, the working mode includes one or more of the following information: screen brightness of the terminal, network connection status of the terminal, location service of the terminal, and information of the background application. Interactive state.
本发明实施例提供的应用控制方法,首先接收启动应用的请求,所述请求中包括待启动的目标应用的标识;然后根据所述目标应用的标识,确定所述目标应用对应的目标工作模式;再根据所述目标工作模式,调整所述终端的工作状态;最后启动与所述目标应用的标识对应的目标应用。由此,实现了根据待启动的目标应用对应的目标工作模式,启动目标应用,从而在节省终端电量的同时,也不会影响终端前台应用的使用,优化了省电效果,提高了用户体验。The application control method provided by the embodiment of the present invention firstly receives a request for starting an application, where the request includes an identifier of a target application to be started; and then determining, according to the identifier of the target application, a target working mode corresponding to the target application; And adjusting the working state of the terminal according to the target working mode; and finally starting the target application corresponding to the identifier of the target application. Therefore, the target application mode corresponding to the target application to be activated is activated, and the target application is started, thereby saving the power of the terminal and not affecting the use of the foreground application of the terminal, optimizing the power saving effect and improving the user experience.
为达上述目的,本发明第二方面实施例提出一种应用控制装置,应用于终端,包括:第一接收模块,用于接收启动应用的请求,所述请求中包括待启动的目标应用的标识;确定模块,用于根据所述目标应用的标识,确定所述目标应用对应的目标工作模式;第一调整模块,用于根据所述目标工作模式,调整所述终端的工作状态;启动模块,用于启动与所述目标应用的标识对应的目标应用。To achieve the above objective, the second aspect of the present invention provides an application control apparatus, which is applied to a terminal, and includes: a first receiving module, configured to receive a request for starting an application, where the request includes an identifier of a target application to be started. a determining module, configured to determine a target working mode corresponding to the target application according to the identifier of the target application; a first adjusting module, configured to adjust a working state of the terminal according to the target working mode; And a target application corresponding to the identifier of the target application.
在第二方面的一种可能的实现形式中,该装置,还包括: In a possible implementation form of the second aspect, the device further includes:
获取模块,用于获取所述终端的剩余电量值;An obtaining module, configured to acquire a remaining power value of the terminal;
所述确定模块,具体用于:The determining module is specifically configured to:
根据所述终端的剩余电量值及所述目标应用的标识,确定所述目标工作模式。Determining the target working mode according to the remaining power value of the terminal and the identifier of the target application.
在第二方面的另一种可能的实现形式中,所述确定模块,具体用于:In another possible implementation form of the second aspect, the determining module is specifically configured to:
根据所述目标应用的标识,确定所述目标应用的使用场景;Determining a usage scenario of the target application according to the identifier of the target application;
根据预设的使用场景与工作模式的映射关系,确定所述目标工作模式。The target working mode is determined according to a mapping relationship between a preset usage scenario and a working mode.
在第二方面的另一种可能的实现形式中,该装置,还包括:In another possible implementation form of the second aspect, the device further includes:
提示模块,用于通过提示窗口提示用户是否以所述目标工作模式,启动所述目标应用;a prompting module, configured to prompt, by the prompt window, whether the user starts the target application in the target working mode;
第二接收模块,用于通过所述提示窗口接收用户以所述目标工作模式,启动所述目标应用的指令。And a second receiving module, configured to receive, by the prompt window, an instruction that the user starts the target application in the target working mode.
在第二方面的另一种可能的实现形式中,该装置,还包括:In another possible implementation form of the second aspect, the device further includes:
监控模块,用于以预设的时间间隔,监控所述终端的剩余电量值;a monitoring module, configured to monitor a remaining power value of the terminal at a preset time interval;
第二调整模块,用于在所述终端的剩余电量值满足预设的条件时,调整所述目标应用的工作模式。And a second adjusting module, configured to adjust an operating mode of the target application when a remaining power value of the terminal meets a preset condition.
在第二方面的另一种可能的实现形式中,所述工作模式包括以下信息中的一个或多个:所述终端的屏幕亮度、终端的网络连接状态、终端的定位服务、后台应用的信息交互状态。In another possible implementation form of the second aspect, the working mode includes one or more of the following information: screen brightness of the terminal, network connection status of the terminal, location service of the terminal, and information of the background application. Interactive state.
本实施例提供的应用控制装置,首先接收启动应用的请求,所述请求中包括待启动的目标应用的标识;然后根据所述目标应用的标识,确定所述目标应用对应的目标工作模式;再根据所述目标工作模式,调整所述终端的工作状态;最后启动与所述目标应用的标识对应的目标应用。由此,实现了根据待启动的 目标应用对应的目标工作模式,启动目标应用,从而在节省终端电量的同时,也不会影响终端前台应用的使用,优化了省电效果,提高了用户体验。The application control device provided in this embodiment first receives a request for starting an application, where the request includes an identifier of a target application to be started; and then determining, according to the identifier of the target application, a target working mode corresponding to the target application; Adjusting an operating state of the terminal according to the target working mode; and finally starting a target application corresponding to the identifier of the target application. Thereby, according to the to be activated The target application mode corresponding to the target application starts the target application, thereby saving the terminal power while not affecting the use of the terminal foreground application, optimizing the power saving effect and improving the user experience.
为达上述目的,本发明第三方面实施例提出了一种终端,其特征在于,包括以下一个或多个组件:电路板、壳体、处理器,存储器,电源电路,显示屏,音频组件,输入/输出(I/O)的接口,传感器组件、以及通信组件;其中,所述电路板安置在所述壳体围成的空间内部,所述处理器和所述存储器设置在所述电路板上;所述电源电路,用于为所述终端的各个电路或器件供电;所述存储器用于存储可执行程序代码;所述处理器通过读取所述存储器中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于执行第一方面所述的应用控制方法。To achieve the above object, a third aspect of the present invention provides a terminal, comprising: one or more of the following components: a circuit board, a housing, a processor, a memory, a power supply circuit, a display screen, an audio component, An input/output (I/O) interface, a sensor assembly, and a communication assembly; wherein the circuit board is disposed inside a space enclosed by the housing, and the processor and the memory are disposed on the circuit board The power circuit for powering various circuits or devices of the terminal; the memory for storing executable program code; the processor running by reading executable program code stored in the memory A program corresponding to the executable program code for performing the application control method of the first aspect.
本实施例提供的终端,首先接收启动应用的请求,所述请求中包括待启动的目标应用的标识;然后根据所述目标应用的标识,确定所述目标应用对应的目标工作模式;再根据所述目标工作模式,调整所述终端的工作状态;最后启动与所述目标应用的标识对应的目标应用。由此,实现了根据待启动的目标应用对应的目标工作模式,启动目标应用,从而在节省终端电量的同时,也不会影响终端前台应用的使用,优化了省电效果,提高了用户体验。The terminal provided by the embodiment first receives a request for starting an application, where the request includes an identifier of a target application to be started; and then determining, according to the identifier of the target application, a target working mode corresponding to the target application; Determining a working mode of the target, adjusting an operating state of the terminal; and finally starting a target application corresponding to the identifier of the target application. Therefore, the target application mode corresponding to the target application to be activated is activated, and the target application is started, thereby saving the power of the terminal and not affecting the use of the foreground application of the terminal, optimizing the power saving effect and improving the user experience.
为达上述目的,本发明第四方面实施例提出了一种存储介质,用于存储可执行程序代码,所述可执行程序代码用于执行第一方面所述的应用控制方法。To achieve the above object, a fourth aspect of the present invention provides a storage medium for storing executable program code for executing the application control method of the first aspect.
为达上述目的,本发明第五方面实施例提出了一种可执行程序代码,用于执行第一方面所述的应用控制方法。In order to achieve the above object, an embodiment of the fifth aspect of the present invention provides an executable program code for performing the application control method of the first aspect.
本发明附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明的实践了解到。 The additional aspects and advantages of the invention will be set forth in part in the description which follows.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1是本发明一个实施例的应用控制方法的流程图;1 is a flow chart of an application control method according to an embodiment of the present invention;
图2是本发明另一个实施例的应用控制方法的流程图;2 is a flow chart of an application control method according to another embodiment of the present invention;
图3是本发明一个实施例的应用控制装置的结构图;Figure 3 is a structural diagram of an application control device according to an embodiment of the present invention;
图4是本发明另一个实施例的应用控制装置的结构图;4 is a structural diagram of an application control device according to another embodiment of the present invention;
图5是根据本发明一个实施例的终端的结构图。FIG. 5 is a structural diagram of a terminal according to an embodiment of the present invention.
具体实施方式detailed description
下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,仅用于解释本发明,而不能理解为对本发明的限制。相反,本发明的实施例包括落入所附加权利要求书的精神和内涵范围内的所有变化、修改和等同物。The embodiments of the present invention are described in detail below, and the examples of the embodiments are illustrated in the drawings, wherein the same or similar reference numerals are used to refer to the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are intended to be illustrative of the invention and are not to be construed as limiting. Rather, the invention is to cover all modifications, modifications and equivalents within the spirit and scope of the appended claims.
下面参考附图描述本发明实施例的应用控制方法、装置及终端。The application control method, device and terminal of the embodiment of the present invention are described below with reference to the accompanying drawings.
图1是本发明一个实施例的应用控制方法的流程图。1 is a flow chart of an application control method in accordance with an embodiment of the present invention.
如图1所示,该应用控制方法包括:As shown in FIG. 1, the application control method includes:
步骤101,接收启动应用的请求,所述请求中包括待启动的目标应用的标识。Step 101: Receive a request to start an application, where the request includes an identifier of a target application to be started.
具体的,本发明实施例提供的应用控制方法,可以由本发明实施例提供的应用控制装置执行。其中,应用控制装置,可以被配置在任何终端中,以减少终端的耗电量,延长终端的使用时间。 Specifically, the application control method provided by the embodiment of the present invention may be performed by the application control apparatus provided by the embodiment of the present invention. The application control device can be configured in any terminal to reduce the power consumption of the terminal and extend the usage time of the terminal.
本发明各实施例针对现有的对终端进行省电的方法,会对前台应用使用造成影响的问题,提出一种应用控制方法,通过根据待启动的目标应用对应的目标工作模式,启动目标应用,以最大程度减少目标应用使用过程中对终端电量的消耗。The embodiments of the present invention are directed to an existing method for power saving a terminal, which may affect the use of the foreground application, and propose an application control method to start the target application by applying a corresponding target working mode according to the target to be activated. To minimize the consumption of terminal power during the use of the target application.
其中,启动应用的请求,可以是用户通过点击、长按或者滑动待启动的目标应用的标识触发的,此处不作限定。The request for starting the application may be triggered by the user clicking, long pressing, or sliding the identifier of the target application to be started, which is not limited herein.
步骤102,根据所述目标应用的标识,确定所述目标应用对应的目标工作模式。Step 102: Determine, according to the identifier of the target application, a target working mode corresponding to the target application.
步骤103,根据所述目标工作模式,调整所述终端的工作状态;Step 103: Adjust an operating state of the terminal according to the target working mode.
步骤104,启动与所述目标应用的标识对应的目标应用。Step 104: Start a target application corresponding to the identifier of the target application.
其中,工作模式可以是常规工作模式、省电工作模式、飞行工作模式,等等。具体的,工作模式可以包括以下信息中的一个或多个:所述终端的屏幕亮度、终端的网络连接状态、终端的定位服务、后台应用的信息交互状态。The working mode may be a normal working mode, a power saving working mode, a flying working mode, and the like. Specifically, the working mode may include one or more of the following information: a screen brightness of the terminal, a network connection status of the terminal, a positioning service of the terminal, and an information interaction status of the background application.
具体实现时,不同的目标应用可以对应不同的工作模式。其中,不同的工作模式,可以通过设置上述信息中的一个或多个实现。例如,可以设置工作模式为常规工作模式时,终端的屏幕亮度为70%,终端的网络连接状态为连接、终端的定位服务为开启、后台应用的信息交互状态为开启;设置工作模式为省电工作模式时,终端的屏幕亮度为50%,终端的网络连接状态为断开、终端的定位服务为关闭、后台应用的信息交互状态为关闭,等等。In specific implementation, different target applications can correspond to different working modes. Among them, different working modes can be implemented by setting one or more of the above information. For example, when the working mode is set to the normal working mode, the screen brightness of the terminal is 70%, the network connection status of the terminal is the connection, the positioning service of the terminal is enabled, the information interaction status of the background application is enabled, and the working mode is set to save power. In the working mode, the screen brightness of the terminal is 50%, the network connection status of the terminal is disconnected, the positioning service of the terminal is closed, the information interaction status of the background application is closed, and the like.
举例来说,假设目标应用为单机游戏应用,由于游戏应用耗电量较大,且单机游戏不需要连接网络或定位,可以设置单机游戏对应的工作模式为省电工作模式,上述信息设置为,终端屏幕亮度为50%,终端的网络连接状态为断开、终端的定位服务为关闭、后台应用的信息交互状态为关闭;假设目标应用为浏 览器应用,由于该应用耗电量较小,且需要连接网络,可以设置浏览器应用对应的工作模式为常规工作模式,上述信息设置为,终端屏幕亮度为70%,终端的网络连接状态为连接、终端的定位服务为开启、后台应用的信息交互状态为开启,等等。由于本发明实施例根据不同的目标应用,对终端的工作模式进行调整,从而使在节省终端电量的同时,也不会影响终端前台应用的使用。For example, if the target application is a stand-alone game application, since the game application consumes a large amount of power, and the stand-alone game does not need to be connected to the network or positioned, the working mode corresponding to the stand-alone game can be set to the power-saving working mode, and the above information is set to The brightness of the terminal screen is 50%, the network connection status of the terminal is disconnected, the location service of the terminal is closed, and the information interaction status of the background application is closed. The browser application, because the application consumes less power and needs to be connected to the network, the working mode corresponding to the browser application can be set to the normal working mode, and the above information is set to: the screen brightness of the terminal is 70%, and the network connection status of the terminal is The connection, the location service of the terminal is enabled, the information interaction status of the background application is enabled, and the like. The embodiment of the present invention adjusts the working mode of the terminal according to different target applications, so that the power consumption of the terminal is saved, and the use of the foreground application of the terminal is not affected.
具体的,在确定目标应用的工作模式时,可以根据目标应用的使用场景确定。例如,游戏场景、播放音乐或播放视频等场景的耗电量大,则预先设置游戏场景、播放音乐或播放视频等场景与省电工作模式对应;浏览网页等场景的耗电量较小,则预先设置浏览网页场景与常规工作模式对应,等等。Specifically, when determining the working mode of the target application, it may be determined according to the usage scenario of the target application. For example, if the scene of the game scene, playing music, or playing a video consumes a large amount of power, the scene in which the game scene is set, the music is played, or the video is played in advance corresponds to the power-saving working mode; if the power consumption of the scene such as browsing the webpage is small, Pre-set browsing webpage scenes correspond to regular working modes, and so on.
具体实现时,应用控制装置中,可以首先根据应用的标识确定应用的使用场景,然后再根据预先设置使用场景与工作模式的映射关系,确定目标应用对应的工作模式,并根据目标工作模式调整终端的工作状态后,再启动目标应用。In a specific implementation, the application control device may first determine the usage scenario of the application according to the identifier of the application, and then determine the working mode corresponding to the target application according to the mapping relationship between the usage scenario and the working mode, and adjust the terminal according to the target working mode. After the working state, start the target application.
值得注意的是,某些情况下,用户可能不希望根据目标工作模式,启动目标应用,那么,在本发明实施例中,确定目标应用对应的目标工作模式后,可以通过提示窗口提示用户是否以目标工作模式,启动目标应用,在通过提示窗口接收用户以目标工作模式,启动目标应用的指令后,再根据目标工作模式,调整终端的工作状态,并启动目标应用;若接收到用户不需要以目标工作模式,启动目标应用的指令,则继续以之前的模式启动目标应用。It is to be noted that, in some cases, the user may not want to start the target application according to the target working mode. Then, in the embodiment of the present invention, after determining the target working mode corresponding to the target application, the prompting window may prompt the user whether to The target working mode starts the target application, receives the user's target working mode through the prompt window, starts the target application instruction, and then adjusts the working state of the terminal according to the target working mode, and starts the target application; The target working mode, starting the target application's instructions, continues to launch the target application in the previous mode.
举例来说,假设终端目前的工作模式为常规工作模式,目标应用为游戏应用,确定游戏应用的工作模式为省电工作模式后,可以通过窗口提示用户是否以省电工作模式,启动游戏应用,若用户希望以省电工作模式启动游戏应用,可以在提示窗口上选择“是”,在接收到用户的请求后,应用控制装置即可控制游戏应用以省电工作模式启动;若用户不希望以省电工作模式启动游戏应 用,可以在提示窗口上选择“否”,在接收到用户的请求后,应用控制装置即可控制游戏应用仍以常规工作模式启动。For example, suppose the current working mode of the terminal is a normal working mode, and the target application is a game application. After determining that the working mode of the game application is the power saving working mode, the window may prompt the user whether to start the game application in the power saving working mode. If the user wants to start the game application in the power-saving working mode, he can select “Yes” on the prompt window, and after receiving the user's request, the application control device can control the game application to start in the power-saving working mode; if the user does not want to Power-saving work mode to start the game should Alternatively, you can select “No” on the prompt window. After receiving the user's request, the application control device can control the game application to still start in the normal working mode.
本发明实施例提供的应用控制方法,首先接收启动应用的请求,所述请求中包括待启动的目标应用的标识;然后根据所述目标应用的标识,确定所述目标应用对应的目标工作模式;再根据所述目标工作模式,调整所述终端的工作状态;最后启动与所述目标应用的标识对应的目标应用。由此,实现了根据待启动的目标应用对应的目标工作模式,启动目标应用,从而在节省终端电量的同时,也不会影响终端前台应用的使用,优化了省电效果,提高了用户体验。The application control method provided by the embodiment of the present invention firstly receives a request for starting an application, where the request includes an identifier of a target application to be started; and then determining, according to the identifier of the target application, a target working mode corresponding to the target application; And adjusting the working state of the terminal according to the target working mode; and finally starting the target application corresponding to the identifier of the target application. Therefore, the target application mode corresponding to the target application to be activated is activated, and the target application is started, thereby saving the power of the terminal and not affecting the use of the foreground application of the terminal, optimizing the power saving effect and improving the user experience.
通过上述分析可知,可以根据待启动的目标应用的标识,确定目标应用对应的目标工作模式,再根据所述目标工作模式,调整所述终端的工作状态,并启动目标应用,以节省终端电量的同时,也不影响前台应用的使用。在实际实现时,终端剩余电量不同时,同一目标应用对应的目标工作模式可能会不同,下面结合图2,对上述情况进行具体的说明。According to the foregoing analysis, the target working mode corresponding to the target application may be determined according to the identifier of the target application to be activated, and then the working state of the terminal is adjusted according to the target working mode, and the target application is started to save the terminal power. At the same time, it does not affect the use of the foreground application. In actual implementation, when the remaining power of the terminal is different, the target working mode corresponding to the same target application may be different. The above situation will be specifically described below with reference to FIG. 2 .
图2是本发明另一个实施例的应用控制方法的流程图。2 is a flow chart of an application control method according to another embodiment of the present invention.
如图2所示,该应用控制方法,包括:As shown in FIG. 2, the application control method includes:
步骤201,接收启动应用的请求,所述请求中包括待启动的目标应用的标识。Step 201: Receive a request to start an application, where the request includes an identifier of a target application to be started.
其中,上述步骤201的具体实现过程和原理,可以参照上述实施例中步骤101的详细描述,此处不再赘述。For the specific implementation process and principle of the foregoing step 201, refer to the detailed description of step 101 in the foregoing embodiment, and details are not described herein again.
步骤202,获取所述终端的剩余电量值。Step 202: Acquire a remaining power value of the terminal.
步骤203,根据所述终端的剩余电量值及所述目标应用的标识,确定所述目标工作模式。Step 203: Determine the target working mode according to the remaining power value of the terminal and the identifier of the target application.
具体的,在本发明实施例中,可以根据对工作模式包括的信息(终端的屏 幕亮度、终端的网络连接状态、终端的定位服务及后台应用的信息交互状态)的一个或多个的设置,将省电工作模式分为几个不同的等级。举例来说,通过设置终端的屏幕亮度高低及上述其它几个信息中的一个或多个开启或关闭,将省电工作模式分为第一省电工作模式、第二省电工作模式,等等。例如,设置终端的屏幕亮度较低、终端的网络连接断开、终端的定位服务关闭、后台应用的信息交互关闭,对应第一省电工作模式;设置终端的屏幕亮度较低、终端的网络连接断开、终端的定位服务关闭、后台应用的信息交互开启,对应第二省电工作模式;设置终端的屏幕亮度较低、终端的网络连接断开、终端的定位服务开启、后台应用的信息交互开启,对应第三省电模式,等等。Specifically, in the embodiment of the present invention, the information included in the working mode may be used according to the screen of the terminal. One or more settings of the brightness of the screen, the network connection status of the terminal, the location service of the terminal, and the information interaction status of the background application divide the power saving operation mode into several different levels. For example, by setting the brightness of the screen of the terminal and turning on or off one or more of the other pieces of information, the power saving working mode is divided into a first power saving working mode, a second power saving working mode, and the like. . For example, setting the screen brightness of the terminal is low, the network connection of the terminal is disconnected, the positioning service of the terminal is closed, and the information exchange of the background application is closed, corresponding to the first power saving working mode; setting the screen brightness of the terminal is low, and the network connection of the terminal is Disconnected, the location service of the terminal is closed, and the information exchange of the background application is enabled, corresponding to the second power-saving working mode; setting the screen brightness of the terminal is low, the network connection of the terminal is disconnected, the positioning service of the terminal is enabled, and the information interaction of the background application is performed. Turn on, corresponding to the third power saving mode, and so on.
具体实现时,在本发明实施例中,可以预先设置终端的剩余电量值、目标应用及目标工作模式的对应关系,进而,根据终端的剩余电量值及目标应用的标识,确定目标工作模式。In a specific implementation, in the embodiment of the present invention, the remaining power value of the terminal, the correspondence between the target application and the target working mode may be preset, and then the target working mode is determined according to the remaining power value of the terminal and the identifier of the target application.
具体的,可以预先设置终端的不同剩余电量值、同一目标应用,对应不同的目标工作模式。例如,设置终端的剩余电量值为60%-79%、目标应用为游戏应用,对应第三省电工作模式;设置终端的剩余电量值为40%-59%、目标应用为游戏应用,对应第二省电工作模式;设置终端的剩余电量值为20%-39%、目标应用为游戏应用,对应第一省电工作模式,等等。Specifically, different remaining power values of the terminal and the same target application may be preset in advance, corresponding to different target working modes. For example, setting the remaining power value of the terminal to be 60%-79%, the target application is a game application, corresponding to the third power saving working mode; setting the remaining power value of the terminal to 40%-59%, and the target application is a game application, corresponding to the first The second power saving working mode; setting the remaining power value of the terminal to be 20% - 39%, the target application is a game application, corresponding to the first power saving working mode, and the like.
或者,可以预先设置终端的同一剩余电量值、不同目标应用,对应不同的目标工作模式。例如,设置终端的剩余电量值为20%-39%、目标应用为游戏应用,对应第一省电工作模式;设置终端的剩余电量值为20%-39%、目标应用为音乐应用,对应第二省电工作模式;设置终端的剩余电量值为20%-39%、目标应用为浏览器应用,对应第三省电工作模式,等等。Alternatively, the same remaining power value of the terminal and different target applications may be preset in advance, corresponding to different target working modes. For example, the remaining power value of the terminal is set to be 20%-39%, the target application is a game application, corresponding to the first power saving working mode; the remaining power value of the setting terminal is 20%-39%, and the target application is a music application, corresponding to the first The second power-saving working mode; setting the remaining power value of the terminal to be 20% - 39%, the target application is a browser application, corresponding to the third power-saving working mode, and the like.
举例来说,假设目标应用为游戏应用,若获取的终端的剩余电量值为70%, 则根据终端的剩余电量值及游戏应用的标识,可以确定目标工作模式为第三省电工作模式;若获取的终端的剩余电量值为50%,则根据终端的剩余电量值及游戏应用的标识,可以确定目标工作模式为第二省电工作模式;若获取的终端的剩余电量值为30%,则可以确定目标工作模式为第一省电工作模式。For example, if the target application is a game application, if the acquired battery has a remaining battery value of 70%, According to the remaining power value of the terminal and the identifier of the game application, the target working mode may be determined to be the third power saving working mode; if the remaining power value of the obtained terminal is 50%, the remaining power value of the terminal and the identifier of the game application are determined according to the terminal The target working mode can be determined to be the second power saving working mode; if the obtained remaining power value of the terminal is 30%, the target working mode can be determined to be the first power saving working mode.
步骤204,根据所述目标工作模式,调整所述终端的工作状态。Step 204: Adjust an operating state of the terminal according to the target working mode.
步骤205,启动与所述目标应用的标识对应的目标应用。Step 205: Start a target application corresponding to the identifier of the target application.
其中,上述步骤204-步骤205的具体实现过程和原理,可以参照上述实施例中步骤103-步骤104的详细描述,此处不再赘述。For the specific implementation process and the principle of the foregoing steps 204-205, reference may be made to the detailed description of the steps 103-104 in the foregoing embodiment, and details are not described herein again.
步骤206,以预设的时间间隔,监控所述终端的剩余电量值。Step 206: Monitor the remaining power value of the terminal at a preset time interval.
其中,预设的时间间隔可以根据目标应用的耗电速度确定,比如,目标应用耗电速度较快,则预设的时间间隔可以是2分钟、5分钟等等,若目标应用耗电速度较慢,则预设的时间间隔可以是10分钟、20分钟等等。The preset time interval may be determined according to the power consumption speed of the target application. For example, if the target application consumes faster power, the preset time interval may be 2 minutes, 5 minutes, etc., if the target application consumes more power. Slow, the preset time interval can be 10 minutes, 20 minutes, and so on.
步骤207,在所述终端的剩余电量值满足预设的条件时,调整所述目标应用的工作模式。Step 207: Adjust the working mode of the target application when the remaining power value of the terminal meets a preset condition.
具体实现时,可以根据预先设置的终端的剩余电量值、目标应用的标识及目标工作模式的对应关系,在终端的剩余电量值发生变化后,满足预设的条件时,调整目标应用的工作模式。In a specific implementation, according to the preset remaining power value of the terminal, the identifier of the target application, and the corresponding relationship between the target working mode, after the remaining power value of the terminal changes, the working mode of the target application is adjusted when the preset condition is met. .
举例来说,假设预设的时间间隔为10分钟,目标应用为游戏应用,启动游戏应用时,监控到终端的剩余电量为50%,则游戏应用对应的工作模式为第二省电工作模式;启动游戏应用10分钟后,监控到终端的剩余电量为40%,则游戏应用对应的工作模式仍为第二省电工作模式;启动游戏应用20分钟后,监控到终端的剩余电量为25%,则游戏应用对应的工作模式调整为第一省电工作模式。 For example, if the preset time interval is 10 minutes, the target application is a game application, and when the game application is started, the remaining power of the monitored terminal is 50%, and the corresponding working mode of the game application is the second power saving working mode; After the game application is started for 10 minutes, the remaining power of the monitored terminal is 40%, and the corresponding working mode of the game application is still the second power saving working mode; after the game application is started for 20 minutes, the remaining power of the monitored terminal is 25%. Then, the working mode corresponding to the game application is adjusted to the first power saving working mode.
本发明实施例提供的应用控制方法,首先接收启动应用的请求;然后获取所述终端的剩余电量值;根据所述终端的剩余电量值及所述目标应用的标识,确定所述目标工作模式;再根据所述目标工作模式,调整所述终端的工作状态;启动与所述目标应用的标识对应的目标应用;并且在启动目标应用之后,以预设的时间间隔,监控所述终端的剩余电量值;在所述终端的剩余电量值满足预设的条件时,调整所述目标应用的工作模式。由此,实现了根据待启动的目标应用对应的目标工作模式,启动目标应用,从而在节省终端电量的同时,也不会影响终端前台应用的使用,且在终端的剩余电量值发生变化时,可以调整目标应用对应的目标工作模式,优化了省电效果,提高了用户体验。The application control method provided by the embodiment of the present invention first receives a request to start an application; and then obtains a remaining power value of the terminal; and determines the target working mode according to the remaining power value of the terminal and the identifier of the target application; And adjusting, according to the target working mode, the working state of the terminal; starting a target application corresponding to the identifier of the target application; and after starting the target application, monitoring the remaining power of the terminal at a preset time interval a value; adjusting a working mode of the target application when a remaining power value of the terminal meets a preset condition. Therefore, the target application mode corresponding to the target application to be activated is activated, and the target application is started, so that the power consumption of the terminal is saved, and the use of the foreground application of the terminal is not affected, and when the remaining power value of the terminal changes. The target working mode corresponding to the target application can be adjusted, the power saving effect is optimized, and the user experience is improved.
图3是本发明一个实施例的应用控制装置的结构图。Fig. 3 is a structural diagram of an application control device according to an embodiment of the present invention.
如图3所示,该应用控制装置30,包括:As shown in FIG. 3, the application control device 30 includes:
第一接收模块31,用于接收启动应用的请求,所述请求中包括待启动的目标应用的标识;The first receiving module 31 is configured to receive a request for starting an application, where the request includes an identifier of a target application to be started;
确定模块32,用于根据所述目标应用的标识,确定所述目标应用对应的目标工作模式;a determining module 32, configured to determine, according to the identifier of the target application, a target working mode corresponding to the target application;
第一调整模块33,用于根据所述目标工作模式,调整所述终端的工作状态;The first adjustment module 33 is configured to adjust an operating state of the terminal according to the target working mode;
启动模块34,用于启动与所述目标应用的标识对应的目标应用。The startup module 34 is configured to start a target application corresponding to the identifier of the target application.
其中,本实施例提供的应用控制装置,可以被配置在任何终端中,以减少终端的耗电量,延长终端的使用时间。The application control device provided in this embodiment may be configured in any terminal to reduce the power consumption of the terminal and extend the usage time of the terminal.
在本实施例的一种可能的实现形式中,所述确定模块32,具体用于:In a possible implementation form of the embodiment, the determining module 32 is specifically configured to:
根据所述目标应用的标识,确定所述目标应用的使用场景;Determining a usage scenario of the target application according to the identifier of the target application;
根据预设的使用场景与工作模式的映射关系,确定所述目标工作模式。 The target working mode is determined according to a mapping relationship between a preset usage scenario and a working mode.
在本实施例的另一种可能的实现形式中,所述工作模式包括以下信息中的一个或多个:所述终端的屏幕亮度、终端的网络连接状态、终端的定位服务、后台应用的信息交互状态。In another possible implementation manner of the embodiment, the working mode includes one or more of the following information: screen brightness of the terminal, network connection status of the terminal, location service of the terminal, and information of the background application. Interactive state.
需要说明的是,上述对图1所示的应用控制方法实施例的说明,也适用于本实施例提供的应用控制装置,此处不再赘述。It should be noted that the description of the application control method embodiment shown in FIG. 1 is also applicable to the application control device provided in this embodiment, and details are not described herein again.
本实施例提供的应用控制装置,首先接收启动应用的请求,所述请求中包括待启动的目标应用的标识;然后根据所述目标应用的标识,确定所述目标应用对应的目标工作模式;再根据所述目标工作模式,调整所述终端的工作状态;最后启动与所述目标应用的标识对应的目标应用。由此,实现了根据待启动的目标应用对应的目标工作模式,启动目标应用,从而在节省终端电量的同时,也不会影响终端前台应用的使用,优化了省电效果,提高了用户体验。The application control device provided in this embodiment first receives a request for starting an application, where the request includes an identifier of a target application to be started; and then determining, according to the identifier of the target application, a target working mode corresponding to the target application; Adjusting an operating state of the terminal according to the target working mode; and finally starting a target application corresponding to the identifier of the target application. Therefore, the target application mode corresponding to the target application to be activated is activated, and the target application is started, thereby saving the power of the terminal and not affecting the use of the foreground application of the terminal, optimizing the power saving effect and improving the user experience.
图4是本发明另一个实施例的应用控制装置的结构图。Fig. 4 is a structural diagram of an application control device according to another embodiment of the present invention.
如图4所示,在图3的基础上,该应用控制装置30,还包括:As shown in FIG. 4, on the basis of FIG. 3, the application control device 30 further includes:
获取模块35,用于获取所述终端的剩余电量值;An obtaining module 35, configured to acquire a remaining power value of the terminal;
进一步的,所述确定模块32,具体用于:Further, the determining module 32 is specifically configured to:
根据所述终端的剩余电量值及所述目标应用的标识,确定所述目标工作模式。Determining the target working mode according to the remaining power value of the terminal and the identifier of the target application.
该应用控制装置30,还包括:The application control device 30 further includes:
提示模块36,用于通过提示窗口提示用户是否以所述目标工作模式,启动所述目标应用;a prompting module 36, configured to prompt, by the prompt window, whether the user starts the target application in the target working mode;
第二接收模块37,用于通过所述提示窗口接收用户以所述目标工作模式,启动所述目标应用的指令。The second receiving module 37 is configured to receive, by the prompting window, an instruction that the user starts the target application in the target working mode.
监控模块38,用于以预设的时间间隔,监控所述终端的剩余电量值; The monitoring module 38 is configured to monitor a remaining power value of the terminal at a preset time interval;
第二调整模块39,用于在所述终端的剩余电量值满足预设的条件时,调整所述目标应用的工作模式。The second adjustment module 39 is configured to adjust an operation mode of the target application when a remaining power value of the terminal meets a preset condition.
需要说明的是,上述对图1及图2所示的应用控制方法实施例的说明,也适用于本实施例提供的应用控制装置,此处不再赘述。It should be noted that the description of the application control method embodiment shown in FIG. 1 and FIG. 2 is also applicable to the application control device provided in this embodiment, and details are not described herein again.
本发明实施例提供的应用控制装置,首先接收启动应用的请求;然后获取所述终端的剩余电量值;根据所述终端的剩余电量值及所述目标应用的标识,确定所述目标工作模式;再根据所述目标工作模式,调整所述终端的工作状态;启动与所述目标应用的标识对应的目标应用;并且在启动目标应用之后,以预设的时间间隔,监控所述终端的剩余电量值;在所述终端的剩余电量值满足预设的条件时,调整所述目标应用的工作模式。由此,实现了根据待启动的目标应用对应的目标工作模式,启动目标应用,从而在节省终端电量的同时,也不会影响终端前台应用的使用,且在终端的剩余电量值发生变化时,可以调整目标应用对应的目标工作模式,优化了省电效果,提高了用户体验。The application control device provided by the embodiment of the present invention first receives a request to start an application; and then obtains a remaining power value of the terminal; and determines the target working mode according to the remaining power value of the terminal and the identifier of the target application; And adjusting, according to the target working mode, the working state of the terminal; starting a target application corresponding to the identifier of the target application; and after starting the target application, monitoring the remaining power of the terminal at a preset time interval a value; adjusting a working mode of the target application when a remaining power value of the terminal meets a preset condition. Therefore, the target application mode corresponding to the target application to be activated is activated, and the target application is started, so that the power consumption of the terminal is saved, and the use of the foreground application of the terminal is not affected, and when the remaining power value of the terminal changes. The target working mode corresponding to the target application can be adjusted, the power saving effect is optimized, and the user experience is improved.
图5是根据本发明一个实施例的终端的结构图。FIG. 5 is a structural diagram of a terminal according to an embodiment of the present invention.
其中,终端的类型很多,比如可以为手机、掌上电脑、笔记本电脑等,本实施例对此不作限定。There are many types of terminals, such as a mobile phone, a palmtop computer, a notebook computer, etc., which is not limited in this embodiment.
如图5所示,该终端,包括以下一个或多个组件:电路板501,壳体502,处理器503,存储器504,电源电路505,显示屏506,音频组件507,输入/输出(I/O)的接口508,传感器组件509,以及通信组件510;其中,所述电路板501安置在所述壳体502围成的空间内部,所述处理器503和所述存储器504设置在所述电路板501上;所述电源电路505,用于为所述终端的各个电路或器件供电;所述存储器504用于存储可执行程序代码;所述处理器503通过读取所述存储器504中存储的可执行程序代码来运行与所述可执行程序 代码对应的程序,以用于执行第一方面所述的应用控制方法。As shown in FIG. 5, the terminal includes one or more of the following components: a circuit board 501, a housing 502, a processor 503, a memory 504, a power supply circuit 505, a display screen 506, an audio component 507, and an input/output (I/). An interface 508 of O), a sensor component 509, and a communication component 510; wherein the circuit board 501 is disposed inside a space enclosed by the housing 502, and the processor 503 and the memory 504 are disposed in the circuit The power supply circuit 505 is configured to supply power to each circuit or device of the terminal; the memory 504 is configured to store executable program code; and the processor 503 reads the stored in the memory 504 by reading Executable program code to run with the executable program A program corresponding to the code for performing the application control method described in the first aspect.
需要说明的是,前述对应用控制方法实施例的解释说明也适用于该实施例的终端,其实现原理类似,此处不再赘述。It should be noted that the foregoing description of the application control method embodiment is also applicable to the terminal in this embodiment, and the implementation principle is similar, and details are not described herein again.
本发明实施例提供的终端,首先接收启动应用的请求,所述请求中包括待启动的目标应用的标识;然后根据所述目标应用的标识,确定所述目标应用对应的目标工作模式;再根据所述目标工作模式,调整所述终端的工作状态;启动与所述目标应用的标识对应的目标应用。由此,实现了根据待启动的目标应用对应的目标工作模式,启动目标应用,从而在节省终端电量的同时,也不会影响终端前台应用的使用,优化了省电效果,提高了用户体验。The terminal provided by the embodiment of the present invention first receives a request for starting an application, where the request includes an identifier of a target application to be started; and then determining, according to the identifier of the target application, a target working mode corresponding to the target application; And the target working mode, adjusting an working state of the terminal; and starting a target application corresponding to the identifier of the target application. Therefore, the target application mode corresponding to the target application to be activated is activated, and the target application is started, thereby saving the power of the terminal and not affecting the use of the foreground application of the terminal, optimizing the power saving effect and improving the user experience.
基于上述各实施例提供的应用控制方法,本发明再一方面提供一种存储介质,用于存储可执行程序代码。Based on the application control method provided by the above embodiments, another aspect of the present invention provides a storage medium for storing executable program code.
其中,可执行程序代码在执行时,可以实现本发明各实施例提供的应用控制方法。The application control method provided by the embodiments of the present invention may be implemented when the executable program code is executed.
进一步的,本发明再一方面提供一种可执行程序代码,用于实现上述各实施例提供的应用控制方法。Further, another aspect of the present invention provides an executable program code for implementing the application control method provided by the foregoing embodiments.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。 In the description of the present specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" and the like means a specific feature described in connection with the embodiment or example. A structure, material or feature is included in at least one embodiment or example of the invention. In the present specification, the schematic representation of the above terms is not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in a suitable manner in any one or more embodiments or examples. In addition, various embodiments or examples described in the specification, as well as features of various embodiments or examples, may be combined and combined.
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本发明的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。Moreover, the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, features defining "first" or "second" may include at least one of the features, either explicitly or implicitly. In the description of the present invention, the meaning of "a plurality" is at least two, such as two, three, etc., unless specifically defined otherwise.
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本发明的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本发明的实施例所属技术领域的技术人员所理解。Any process or method description in the flowcharts or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a particular logical function or process. And the scope of the preferred embodiments of the invention includes additional implementations, in which the functions may be performed in a substantially simultaneous manner or in an opposite order depending on the functions involved, in the order shown or discussed. It will be understood by those skilled in the art to which the embodiments of the present invention pertain.
应当理解,本发明的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that portions of the invention may be implemented in hardware, software, firmware or a combination thereof. In the above-described embodiments, multiple steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or combination of the following techniques well known in the art: having logic gates for implementing logic functions on data signals. Discrete logic circuits, application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。One of ordinary skill in the art can understand that all or part of the steps carried by the method of implementing the above embodiments can be completed by a program to instruct related hardware, and the program can be stored in a computer readable storage medium. When executed, one or a combination of the steps of the method embodiments is included.
上述提到的存储介质可以是只读存储器,磁盘或光盘等。尽管上面已经示出和描述了本发明的实施例,可以理解的是,上述实施例是示例性的,不能理 解为对本发明的限制,本领域的普通技术人员在本发明的范围内可以对上述实施例进行变化、修改、替换和变型。 The above mentioned storage medium may be a read only memory, a magnetic disk or an optical disk or the like. Although the embodiments of the present invention have been shown and described above, it will be understood that the above-described embodiments are exemplary and are not Variations, modifications, substitutions and variations of the above-described embodiments may be made by those skilled in the art without departing from the scope of the invention.

Claims (15)

  1. 一种应用控制方法,应用于终端,其特征在于,包括以下步骤:An application control method is applied to a terminal, which is characterized in that it comprises the following steps:
    接收启动应用的请求,所述请求中包括待启动的目标应用的标识;Receiving a request to launch an application, where the request includes an identifier of a target application to be started;
    根据所述目标应用的标识,确定所述目标应用对应的目标工作模式;Determining, according to the identifier of the target application, a target working mode corresponding to the target application;
    根据所述目标工作模式,调整所述终端的工作状态;Adjusting an operating state of the terminal according to the target working mode;
    启动与所述目标应用的标识对应的目标应用。Launching a target application corresponding to the identity of the target application.
  2. 如权利要求1所述的方法,其特征在于,根据所述目标应用的标识,确定所述目标应用对应的目标工作模式之前,还包括:The method of claim 1, wherein before determining the target working mode corresponding to the target application according to the identifier of the target application, the method further includes:
    获取所述终端的剩余电量值;Obtaining a remaining power value of the terminal;
    所述根据所述目标应用的标识,确定所述目标应用对应的目标工作模式,包括:Determining, according to the identifier of the target application, a target working mode corresponding to the target application, including:
    根据所述终端的剩余电量值及所述目标应用的标识,确定所述目标工作模式。Determining the target working mode according to the remaining power value of the terminal and the identifier of the target application.
  3. 如权利要求1所述的方法,其特征在于,所述根据所述目标应用的标识,确定所述目标应用对应的目标工作模式,包括:The method according to claim 1, wherein the determining a target working mode corresponding to the target application according to the identifier of the target application comprises:
    根据所述目标应用的标识,确定所述目标应用的使用场景;Determining a usage scenario of the target application according to the identifier of the target application;
    根据预设的使用场景与工作模式的映射关系,确定所述目标工作模式。The target working mode is determined according to a mapping relationship between a preset usage scenario and a working mode.
  4. 如权利要求1所述的方法,其特征在于,所述根据所述目标工作模式,调整所述终端的工作状态之前,还包括:The method according to claim 1, wherein before the adjusting the working state of the terminal according to the target working mode, the method further comprises:
    通过提示窗口提示用户是否以所述目标工作模式,启动所述目标应用;Prompting the user whether to start the target application in the target working mode by using a prompt window;
    通过所述提示窗口接收用户以所述目标工作模式,启动所述目标应用的指令。 Receiving, by the prompt window, an instruction of the user to start the target application in the target working mode.
  5. 如权利要求1所述的方法,其特征在于,所述启动与所述目标应用的标识对应的目标应用之后,还包括:The method according to claim 1, wherein after the initiating the target application corresponding to the identifier of the target application, the method further comprises:
    以预设的时间间隔,监控所述终端的剩余电量值;Monitoring the remaining power value of the terminal at a preset time interval;
    在所述终端的剩余电量值满足预设的条件时,调整所述目标应用的工作模式。When the remaining power value of the terminal meets a preset condition, the working mode of the target application is adjusted.
  6. 如权利要求1-5任一所述的方法,其特征在于,所述工作模式包括以下信息中的一个或多个:所述终端的屏幕亮度、终端的网络连接状态、终端的定位服务、后台应用的信息交互状态。The method according to any one of claims 1-5, wherein the working mode comprises one or more of the following: a screen brightness of the terminal, a network connection status of the terminal, a positioning service of the terminal, and a background The information interaction status of the application.
  7. 一种应用控制装置,应用于终端,其特征在于,包括:An application control device is applied to a terminal, and includes:
    第一接收模块,用于接收启动应用的请求,所述请求中包括待启动的目标应用的标识;a first receiving module, configured to receive a request for starting an application, where the request includes an identifier of a target application to be started;
    确定模块,用于根据所述目标应用的标识,确定所述目标应用对应的目标工作模式;a determining module, configured to determine, according to the identifier of the target application, a target working mode corresponding to the target application;
    第一调整模块,用于根据所述目标工作模式,调整所述终端的工作状态;a first adjustment module, configured to adjust an operating state of the terminal according to the target working mode;
    启动模块,用于启动与所述目标应用的标识对应的目标应用。And a startup module, configured to start a target application corresponding to the identifier of the target application.
  8. 如权利要求7所述的装置,其特征在于,该装置,还包括:The device of claim 7 further comprising:
    获取模块,用于获取所述终端的剩余电量值;An obtaining module, configured to acquire a remaining power value of the terminal;
    所述确定模块,具体用于:The determining module is specifically configured to:
    根据所述终端的剩余电量值及所述目标应用的标识,确定所述目标工作模式。Determining the target working mode according to the remaining power value of the terminal and the identifier of the target application.
  9. 如权利要求7所述的装置,其特征在于,所述确定模块,具体用于:The device according to claim 7, wherein the determining module is specifically configured to:
    根据所述目标应用的标识,确定所述目标应用的使用场景;Determining a usage scenario of the target application according to the identifier of the target application;
    根据预设的使用场景与工作模式的映射关系,确定所述目标工作模式。 The target working mode is determined according to a mapping relationship between a preset usage scenario and a working mode.
  10. 如权利要求7所述的装置,其特征在于,该装置,还包括:The device of claim 7 further comprising:
    提示模块,用于通过提示窗口提示用户是否以所述目标工作模式,启动所述目标应用;a prompting module, configured to prompt, by the prompt window, whether the user starts the target application in the target working mode;
    第二接收模块,用于通过所述提示窗口接收用户以所述目标工作模式,启动所述目标应用的指令。And a second receiving module, configured to receive, by the prompt window, an instruction that the user starts the target application in the target working mode.
  11. 如权利要求7所述的装置,其特征在于,该装置,还包括:The device of claim 7 further comprising:
    监控模块,用于以预设的时间间隔,监控所述终端的剩余电量值;a monitoring module, configured to monitor a remaining power value of the terminal at a preset time interval;
    第二调整模块,用于在所述终端的剩余电量值满足预设的条件时,调整所述目标应用的工作模式。And a second adjusting module, configured to adjust an operating mode of the target application when a remaining power value of the terminal meets a preset condition.
  12. 如权利要求7-11任一所述的装置,其特征在于,所述工作模式包括以下信息中的一个或多个:所述终端的屏幕亮度、终端的网络连接状态、终端的定位服务、后台应用的信息交互状态。The device according to any one of claims 7-11, wherein the working mode comprises one or more of the following: a screen brightness of the terminal, a network connection status of the terminal, a positioning service of the terminal, and a background. The information interaction status of the application.
  13. 一种终端,其特征在于,包括以下一个或多个组件:电路板、壳体、处理器,存储器,电源电路,显示屏,音频组件,输入/输出(I/O)的接口,传感器组件、以及通信组件;其中,所述电路板安置在所述壳体围成的空间内部,所述处理器和所述存储器设置在所述电路板上;所述电源电路,用于为所述终端的各个电路或器件供电;所述存储器用于存储可执行程序代码;所述处理器通过读取所述存储器中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于执行权利要求1-6任意一项所述的应用控制方法。A terminal characterized by comprising one or more of the following components: a circuit board, a housing, a processor, a memory, a power supply circuit, a display screen, an audio component, an input/output (I/O) interface, a sensor component, And a communication component; wherein the circuit board is disposed inside a space enclosed by the housing, the processor and the memory are disposed on the circuit board; and the power circuit is configured to be the terminal Each of the circuits or devices is powered; the memory is for storing executable program code; the processor is operative to read a program corresponding to the executable program code by reading executable program code stored in the memory for use in The application control method according to any one of claims 1 to 6 is executed.
  14. 一种存储介质,其特征在于,用于存储可执行程序代码,所述可执行程序代码用于执行权利要求1-6任意一项所述的应用控制方法。A storage medium for storing executable program code for performing the application control method of any one of claims 1-6.
  15. 一种可执行程序代码,其特征在于,用于执行权利要求1-6任意一项所述的应用控制方法。 An executable program code for performing the application control method according to any one of claims 1-6.
PCT/CN2017/101117 2016-09-29 2017-09-08 Application control method and device, and terminal WO2018059220A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610867768.8A CN106468943A (en) 2016-09-29 2016-09-29 Application control method and device and terminal
CN201610867768.8 2016-09-29

Publications (1)

Publication Number Publication Date
WO2018059220A1 true WO2018059220A1 (en) 2018-04-05

Family

ID=58230787

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/101117 WO2018059220A1 (en) 2016-09-29 2017-09-08 Application control method and device, and terminal

Country Status (2)

Country Link
CN (1) CN106468943A (en)
WO (1) WO2018059220A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112068688A (en) * 2020-09-09 2020-12-11 北京字节跳动网络技术有限公司 Power saving method and device, electronic equipment and computer readable medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106468943A (en) * 2016-09-29 2017-03-01 北京金山安全软件有限公司 Application control method and device and terminal
CN109254803A (en) * 2018-08-16 2019-01-22 中国平安人寿保险股份有限公司 Application program launching control method, device, terminal and readable storage medium storing program for executing
CN115080149B (en) * 2022-07-20 2023-06-27 荣耀终端有限公司 Control method of terminal equipment and terminal equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102129287A (en) * 2011-03-17 2011-07-20 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and power supply management method for application program thereof
CN103513748A (en) * 2012-06-29 2014-01-15 联想(北京)有限公司 Method for processing information, information processor and electronic device
CN103677214A (en) * 2013-12-31 2014-03-26 北京金山网络科技有限公司 Electricity consumption control method and device used for mobile terminal and mobile terminal
CN105677386A (en) * 2015-12-29 2016-06-15 北京金山安全软件有限公司 Application program management method and device and electronic equipment
CN106468943A (en) * 2016-09-29 2017-03-01 北京金山安全软件有限公司 Application control method and device and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102129287A (en) * 2011-03-17 2011-07-20 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and power supply management method for application program thereof
CN103513748A (en) * 2012-06-29 2014-01-15 联想(北京)有限公司 Method for processing information, information processor and electronic device
CN103677214A (en) * 2013-12-31 2014-03-26 北京金山网络科技有限公司 Electricity consumption control method and device used for mobile terminal and mobile terminal
CN105677386A (en) * 2015-12-29 2016-06-15 北京金山安全软件有限公司 Application program management method and device and electronic equipment
CN106468943A (en) * 2016-09-29 2017-03-01 北京金山安全软件有限公司 Application control method and device and terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112068688A (en) * 2020-09-09 2020-12-11 北京字节跳动网络技术有限公司 Power saving method and device, electronic equipment and computer readable medium

Also Published As

Publication number Publication date
CN106468943A (en) 2017-03-01

Similar Documents

Publication Publication Date Title
WO2018059220A1 (en) Application control method and device, and terminal
US11914446B2 (en) Electronic device control method and apparatus, and electronic device
CN108336778B (en) Charging control method and electronic device supporting same
JP5743245B2 (en) Mobile device and method for publishing and managing a set of performance scaling algorithms
US20060288243A1 (en) Automatically controlling processor mode of multi-core processor
WO2016165078A1 (en) Method and terminal for controlling application
WO2017028425A1 (en) Energy-saving mode activation method and device
US9329663B2 (en) Processor power and performance manager
US10283168B2 (en) Audio file re-recording method, device and storage medium
US20100048139A1 (en) Battery power consumption control
CN105653418B (en) Terminal, terminal control method and terminal control device
WO2018121064A1 (en) Live streaming account recharging method, device, and terminal
KR20180048993A (en) Systems and methods for dynamically adjusting memory state transition timers
WO2018024071A1 (en) Application-specific, performance-aware energy optimization
KR20160086874A (en) Method and system for optimizing a core voltage level and operating frequency of individual subcomponents for reducing power consumption within a portable computing device
WO2019047924A1 (en) Terminal and power consumption control method therefor, device and computer readable storage medium
WO2018219118A1 (en) Interface displaying method and related product
CN112655278B (en) Activating a light source according to a previous power cycle duration
CN105653297A (en) Electronic device and control method thereof
CN112701736A (en) Charging method, charging device, electronic device and storage medium
JP4030408B2 (en) Operating frequency control system and method
CN108710558A (en) Progress control method and device for computer
TW201416979A (en) Method for accelerating boot and computer system device
CN108040362B (en) Mobile terminal, boot key enabling control method and storage medium
CN112860352A (en) Application loading method and device, storage medium and terminal

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

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 4.7.19)

122 Ep: pct application non-entry in european phase

Ref document number: 17854670

Country of ref document: EP

Kind code of ref document: A1