WO2017206884A1 - Procédé et appareil d'arrêt de programme d'application, support d'informations et dispositif électronique - Google Patents

Procédé et appareil d'arrêt de programme d'application, support d'informations et dispositif électronique Download PDF

Info

Publication number
WO2017206884A1
WO2017206884A1 PCT/CN2017/086481 CN2017086481W WO2017206884A1 WO 2017206884 A1 WO2017206884 A1 WO 2017206884A1 CN 2017086481 W CN2017086481 W CN 2017086481W WO 2017206884 A1 WO2017206884 A1 WO 2017206884A1
Authority
WO
WIPO (PCT)
Prior art keywords
power consumption
function level
historical power
preset
application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2017/086481
Other languages
English (en)
Chinese (zh)
Inventor
黄宏用
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Publication of WO2017206884A1 publication Critical patent/WO2017206884A1/fr
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44568Immediately runnable code
    • G06F9/44578Preparing or optimising for loading
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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 OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to an application shutdown method, apparatus, storage medium, and electronic device.
  • the embodiment of the invention provides an application closing method, device, storage medium and electronic device, which can improve the restart speed of the application while reducing the power consumption of the terminal.
  • an embodiment of the present invention provides an application closing method, including:
  • an embodiment of the present invention further provides an application closing apparatus, including:
  • a function level setting module for setting a function level to a function in an application
  • a power consumption information obtaining module configured to acquire historical power consumption information of the application
  • a function level obtaining module configured to acquire a first target function level corresponding to the historical power consumption information
  • And closing a module configured to close a function corresponding to the first target function level in the application.
  • an embodiment of the present invention provides a storage medium storing a plurality of instructions, the instructions being adapted to be loaded by a processor and to execute an application shutdown method as described above in whole or in part.
  • an embodiment of the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and operable in the processor, when the processor executes the computer program Implement an application shutdown method as described above, in whole or in part.
  • the embodiment of the invention provides an application closing method, device, storage medium and electronic device, which can improve the restart speed of the application while reducing the power consumption of the terminal.
  • FIG. 1 is a schematic flowchart diagram of an application shutdown method according to an embodiment of the present invention.
  • FIG. 2 is another schematic flowchart of an application shutdown method according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of an application shutdown apparatus according to an embodiment of the present invention.
  • FIG. 4 is a schematic flowchart diagram of a specific embodiment of an application shutdown method and apparatus according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • FIG. 6 is another schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • the embodiment of the invention provides an application closing method, device, storage medium and electronic device. The details will be described separately below.
  • a smart terminal In order to implement various functions to meet various needs of users, a smart terminal usually installs various kinds of applications (which may be simply referred to as applications). However, when the application installed on the smart terminal is running, it consumes a large amount of power and reduces the endurance of the smart terminal.
  • the inventor of the present application designed a smart terminal to close the application program in order to reduce the consumption of the smart terminal and improve the endurance of the intelligent terminal, specifically to close all functions in the application (including the main function). For example, the smart terminal automatically closes the application, or closes the application according to the user's operation; specifically, the smart terminal can monitor the user's operation on the smart terminal, and then close the corresponding application based on the operation.
  • the inventor of the present application in the design of the design, turns off all functions in the smart terminal at one time, although the power consumption of the smart terminal can be reduced.
  • the smart terminal restarts the application that has closed all functions, the smart terminal needs to recall all the functions of the application, which will cause the application to restart slowly.
  • the present application provides a new scheme for closing an application, as follows:
  • An application shutdown method includes:
  • the historical power consumption information is a historical power consumption rate; and the step of acquiring the first target function level corresponding to the historical power consumption information specifically includes:
  • the first preset function level is set to a first target function level.
  • the historical power consumption information is historical power consumption; the step of acquiring the first target function level corresponding to the historical power consumption information specifically includes:
  • the second preset function level is set to a first target function level.
  • the historical power consumption information includes a historical power consumption rate and a historical power consumption.
  • the step of acquiring the first target function level corresponding to the historical power consumption information specifically includes:
  • the historical power consumption information includes a historical power consumption rate and a historical power consumption.
  • the step of acquiring the first target function level corresponding to the historical power consumption information specifically includes:
  • the first target function level is lower than a highest function level; the step of closing a function corresponding to the first target function level in the application specifically includes:
  • the function corresponding to the first objective function level in the application is closed, and the function level is lower than the function of the first target function level.
  • the step of setting a function level for a function in an application specifically includes:
  • the function level is set for the function in the application based on the call relationship.
  • FIG. 1 is a schematic flowchart diagram of an application shutdown method according to an embodiment of the present invention.
  • the method is used for shutting down an application in a terminal, where the terminal can be an electronic device such as a smart phone or a tablet computer.
  • the application shutdown method of the preferred embodiment includes:
  • Step S101 setting a function level to a function in the application
  • Step S102 Obtain historical power consumption information of the application.
  • Step S103 Acquire a first target function level corresponding to the historical power consumption information
  • Step S104 the function corresponding to the first target function level in the application is closed.
  • the terminal sets a function level for a function in the application.
  • the application may be an application such as a photo application, a video playing application, or a music playing application, and is not specifically limited herein.
  • An application contains multiple functions, and there is a call relationship between these functions to implement the functions of the application.
  • Each application has a main function, which is the entry point of the program, which can be called on other functions, and the functions called by the main function can also call other functions.
  • the main function is still the exit of the program. Therefore, when closing an application, you should first exit the called function, then exit the calling function, and finally exit the main function. Such a layer of exit will take some time and power, but it can ensure that the application will not be abnormal. If you directly exit the calling function or directly exit the main function, although it can effectively reduce the power consumption, it may cause the application to be abnormal. Therefore, you can set the function level for functions in your application based on the calling relationship of the function. Then, the process proceeds to step S102.
  • step S102 the terminal acquires historical power consumption information of the application.
  • the historical power consumption information may be a historical power consumption rate of the application. If the historical power consumption rate is fast, the higher-level function and the lower-level function should be turned off, so that the power consumption can be reduced. If the historical power consumption rate is slow, you should turn off the lower level function to ensure that the next application can be started quickly.
  • the historical power consumption information can also be set to the historical power consumption of the application. If the historical power consumption is large, you should turn off the higher-level function and the lower-level function, which can reduce the power consumption; if the historical power consumption is small, you should turn off the lower-level function. To ensure that the next application can be launched quickly.
  • the historical power consumption information may also include the historical power consumption rate and the historical power consumption.
  • the historical power consumption rate is high, and the historical power consumption is large, the historical power consumption rate is prioritized. And closing the corresponding higher level function and the function lower than the higher level, and then, according to the historical power consumption, the corresponding higher level function and the lower level function are turned off.
  • the historical power consumption is prioritized, and the corresponding higher-level function and the function lower than the higher-level function are turned off, and then, according to the historical power consumption rate, the corresponding comparison is turned off. High-level functions and functions below this higher level are also possible. Then, the process proceeds to step S103.
  • step S103 the terminal acquires a first target function level corresponding to the historical power consumption information. Specifically, it is first determined whether the historical power consumption rate or the historical power consumption in the historical power consumption information is in a certain value interval; wherein if the historical power consumption rate is in a certain value interval, the terminal acquires the historical power consumption information. The first preset function level; the last terminal sets the first preset function level to the first target function level. If the historical power consumption is in a certain value interval, the terminal acquires a second preset function level corresponding to the historical power consumption information; and finally the terminal sets the second preset function level to the first target function level.
  • the process of determining the processing there is a sequence, in which the historical power consumption is judged.
  • the rate is first used as an example. Specifically, it is first determined whether the historical power consumption rate in the historical power consumption information is in a certain value interval. If the historical power consumption rate is in a certain value interval, the terminal acquires the first preset function level corresponding to the historical power consumption information. The terminal sets the first preset function level to the first target function level.
  • the terminal acquires a second preset function level corresponding to the historical power consumption information, and the terminal sets the second preset function level as the first target function level. Then, the process proceeds to step S104. It should be noted that, in some embodiments, it is also possible to determine historical power consumption first.
  • step S104 the terminal closes the function corresponding to the first objective function level in the application. Specifically, the function included in the first preset function level or the second preset function level acquired in step S103 is closed.
  • the application closing processing method of the preferred embodiment sets a function level to a function in the application; acquires historical power consumption information of the application; acquires a first target function level corresponding to the historical power consumption information; and closes the first in the application program
  • the function corresponding to the target function level is used to close the application.
  • the solution can close related functions in the application according to the historical power consumption information of the application, instead of directly closing the application, which not only reduces power consumption, but also ensures rapid startup of the application.
  • FIG. 2 is another schematic flowchart of an application shutdown method according to an embodiment of the present invention.
  • the method is used for shutting down an application in a terminal, where the terminal can be an electronic device such as a smart phone or a tablet computer.
  • the application shutdown method of the preferred embodiment includes:
  • Step S201 Acquire a call relationship between functions in the application, and set a function level to the function in the application according to the calling relationship.
  • Step S202 acquiring historical power consumption information of the application
  • Step S203 acquiring a first target function level corresponding to the historical power consumption information
  • Step S204 determining whether the first objective function level is the lowest function level
  • Step S205 if yes, closing a function corresponding to the first target function level in the application
  • Step S206 if no, close the function corresponding to the first objective function level in the application, and the function whose function level is lower than the first target function level.
  • step S201 the terminal acquires a calling relationship between functions in the application, and sets a function level for the function in the application according to the calling relationship.
  • the application may be an application such as a photo application, a video playing application, or a music playing application, and is not specifically limited herein.
  • An application contains multiple functions, and there is a call relationship between these functions to implement the functions of the application.
  • Each application has a main function, which is the entry point of the program, which can be called on other functions, and the functions called by the main function can also call other functions. At the same time, the main function is still the exit of the program. Therefore, when closing an application, you should first exit the called function, then exit the calling function, and finally exit the main function. Such a layer of exit will take some time and power, but it can ensure that the application will not be abnormal. If you directly exit the calling function or directly exit the main function, although it can effectively reduce the power consumption, it may cause the application to be abnormal. Therefore, you can set the function level for functions in your application based on the calling relationship of the function.
  • the main function can be set to the first function level (the highest function level); the function called by the main function is set to the second function level; the remaining function is set to the third function level (the lowest function level). Then, the process proceeds to step S202.
  • step S202 the terminal acquires historical power consumption information of the application.
  • the historical power consumption information may be a historical power consumption rate of the application. If the historical power consumption rate is fast, the higher-level function and the lower-level function should be turned off, so that the power consumption can be reduced. If the historical power consumption rate is slow, you should turn off the lower level function to ensure that the next application can be started quickly.
  • the historical power consumption information can also be set to the historical power consumption of the application. If the historical power consumption is large, you should turn off the higher-level function and the lower-level function, which can reduce the power consumption; if the historical power consumption is small, you should turn off the lower-level function. To ensure that the next application can be launched quickly. Then, the process proceeds to step S203.
  • step S203 the terminal acquires a first target function level corresponding to the historical power consumption information.
  • the step of acquiring the first target function level corresponding to the historical power consumption information comprises: first, determining, by the terminal, whether the historical power consumption rate is within a preset power consumption rate interval; The terminal acquires a first preset function level corresponding to the historical power consumption rate; finally, the terminal sets the first preset function level to the first target function level.
  • the step of acquiring the first target function level corresponding to the historical power consumption information specifically includes: determining whether the historical power consumption is within a preset power consumption interval; if yes, Obtaining a second preset function level corresponding to the historical power consumption; setting the second preset function level to the first target function level.
  • the historical power consumption information may also include the historical power consumption rate and the historical power consumption. Please refer to the above content, and details are not described herein again.
  • step S204 the terminal determines whether the first target function level is the lowest function level, if the first target function level is the lowest function level, then proceeds to step S205; if the first target function level is not the lowest function level, then the transfer proceeds to Step S206.
  • step S205 if it is determined in step S204 that the first objective function level is the lowest function level, the terminal closes the function corresponding to the first objective function level in the application.
  • the method for determining whether the first target function level is the lowest function level is to determine whether there is still a function level lower than the first target function level, and if not, indicating that the first target function level is the lowest
  • the function level directly closes the function corresponding to the first objective function level; if it exists, it indicates that the first target function level is not the lowest function level, and the specific function closing method is provided by step S206.
  • step S206 if it is determined in step S204 that the first target function level is not the lowest function level, the terminal closes the function corresponding to the first objective function level in the application, and the function level lower than the function of the first objective function level.
  • the terminal closes the function corresponding to the first objective function level in the application, and the function level lower than the function of the first objective function level.
  • the first target function level is the third function level
  • the function whose function level is less than or equal to the third function level is turned off, specifically the functions in the third function level, the fourth function level, and the fifth function level (when When the function level is 1-5 level).
  • the application closing processing method of the preferred embodiment obtains a function level for a function in an application according to a calling relationship by acquiring a calling relationship between functions in the application; acquiring historical power consumption information of the application; and acquiring historical power consumption information Corresponding first target function level; determining whether the first target function level is the lowest function level; if yes, closing the function corresponding to the first target function level in the application; if not, closing the first target function level corresponding to the application.
  • the function as well as a function whose function level is lower than the first objective function level, further closes the application.
  • the solution can close the relevant functions in the application according to the historical power consumption rate and historical power consumption of the application, instead of directly closing the application, which not only further reduces the power consumption, but also further ensures the rapid startup of the application.
  • an embodiment of the present invention further provides an application closing device, which can be integrated in a terminal, which can be a mobile Internet device (such as a smart phone or a tablet), and smart wear.
  • a terminal which can be a mobile Internet device (such as a smart phone or a tablet), and smart wear.
  • Various electronic devices such as devices (such as smart watches).
  • An embodiment of the invention provides an application closing device, which includes:
  • a function level setting module for setting a function level to a function in an application
  • a power consumption information obtaining module configured to acquire historical power consumption information of the application
  • a function level obtaining module configured to acquire a first target function level corresponding to the historical power consumption information
  • And closing a module configured to close a function corresponding to the first target function level in the application.
  • the historical power consumption information is a historical power consumption rate
  • the function level acquisition module includes:
  • a first determining submodule configured to determine whether the historical power consumption rate is within a preset power consumption rate interval
  • a first acquiring submodule configured to acquire a first preset function level corresponding to the historical power consumption rate when yes;
  • the first setting submodule is configured to set the first preset function level to a first target function level.
  • the historical power consumption information is historical power consumption
  • the function level acquisition module includes:
  • a second determining sub-module configured to determine whether the historical power consumption is within a preset power consumption interval
  • a second obtaining submodule configured to acquire a second preset function level corresponding to the historical power consumption when yes;
  • a second setting submodule configured to set the second preset function level to a first target function level.
  • the historical power consumption information includes a historical power consumption rate and a historical power consumption.
  • the function level obtaining module includes: a first determining submodule, a first obtaining submodule, a first setting submodule, and a first a second determining submodule, a second obtaining submodule, and a second setting submodule;
  • the first determining submodule is configured to determine whether the historical power consumption rate is within a preset power consumption rate interval
  • the first acquisition sub-module is configured to acquire a first preset function level corresponding to the historical power consumption rate, where the historical power consumption rate is within a preset power consumption rate interval;
  • the first setting submodule is configured to set the first preset function level to a first target function level
  • the second determining sub-module is configured to determine whether the historical power consumption is within a preset power consumption interval
  • the second acquisition sub-module is configured to acquire a second preset function level corresponding to the historical power consumption, as the historical power consumption is in a preset power consumption interval;
  • the second setting submodule is configured to set the second preset function level to a first target function level.
  • the historical power consumption information includes a historical power consumption rate and a historical power consumption.
  • the function level obtaining module includes: a first determining submodule, a first obtaining submodule, a first setting submodule, and a first a second determining submodule, a second obtaining submodule, and a second setting submodule;
  • the second determining sub-module is configured to determine whether the historical power consumption is within a preset power consumption interval
  • the second acquisition sub-module is configured to acquire a second preset function level corresponding to the historical power consumption, as the historical power consumption is in a preset power consumption interval;
  • the second setting sub-module sets the second preset function level to a first target function level
  • the first determining sub-module is configured to determine whether the historical power consumption rate is within a preset power consumption rate interval
  • the first acquisition sub-module is configured to acquire a first preset function level corresponding to the historical power consumption rate, where the historical power consumption rate is within a preset power consumption rate interval;
  • the first setting submodule is configured to set the first preset function level to a first target function level.
  • the first objective function level is lower than a highest function level; the shutdown module includes:
  • a determining submodule configured to determine whether the first target function level is the lowest function level
  • a first closing submodule configured to, when yes, close a function corresponding to the first target function level in the application
  • a second closing submodule configured to: when not, close a function corresponding to the first target function level in the application, and a function whose function level is lower than the first target function level.
  • the function level setting module includes:
  • a submodule is provided for setting a function level to a function in the application according to the calling relationship.
  • FIG. 3 is a schematic structural diagram of an application closing apparatus according to an embodiment of the present invention.
  • the application shutdown device 30 includes a function level setting module 301, a power consumption information acquisition module 302, a function level acquisition module 303, and a shutdown module 304.
  • the specific description is as follows:
  • the function level setting module 301 is configured to set a function level for a function in the application
  • the power consumption information obtaining module 302 is configured to acquire historical power consumption information of the application program
  • the function level obtaining module 303 is configured to acquire a first target function level corresponding to the historical power consumption information
  • the closing module 304 is configured to close a function corresponding to the first target function level in the application.
  • the function level obtaining module 303 includes a first determining sub-module, a first obtaining sub-module and a first setting sub-module.
  • the specific description is as follows:
  • a first determining sub-module configured to determine whether the historical power consumption rate is within a preset power consumption rate interval
  • a first acquiring submodule configured to acquire a first preset function level corresponding to a historical power consumption rate when yes;
  • the first setting submodule is configured to set the first preset function level to the first target function level.
  • the function level obtaining module 303 includes a second determining submodule, a second obtaining submodule, and a second setting submodule.
  • the specific description is as follows:
  • a second determining sub-module configured to determine whether the historical power consumption is within a preset power consumption interval
  • a second obtaining sub-module configured to acquire a second preset function level corresponding to the historical power consumption when yes;
  • the second setting submodule is configured to set the second preset function level to the first target function level.
  • the closing module 304 comprises a determining sub-module, a first closing sub-module and a second closing sub-module.
  • the specific description is as follows:
  • a first closing sub-module configured to close a function corresponding to the first target function level in the application when yes;
  • the second close submodule is configured to, when no, close a function corresponding to the first target function level in the application, and a function whose function level is lower than the first target function level.
  • the function level setting module 301 includes an acquisition submodule and a setting submodule.
  • acquisition submodule and a setting submodule.
  • setting submodule The specific description is as follows:
  • the application closing processing device of the preferred embodiment sets a function level to a function in the application; acquires historical power consumption information of the application; acquires a first target function level corresponding to the historical power consumption information; and closes the first in the application program
  • the function corresponding to the target function level is used to close the application.
  • the solution can close related functions in the application according to the historical power consumption information of the application, instead of directly closing the application, which not only reduces power consumption, but also ensures rapid startup of the application.
  • FIG. 4 is a flowchart of a specific embodiment of an application shutdown method and apparatus according to an embodiment of the present invention, which is specifically as follows:
  • step S401 the user opens a function level setting interface to set a function level for a function in the application.
  • the main function is set to the first function level (highest function level); the function called by the main function is set to the second function level; the remaining function is set to the third function level (lowest function level).
  • the first function level is associated with the historical power consumption of 20%-30% of the total power
  • the second function level is associated with the historical power consumption of 10%-20% of the total power, the third function level and the historical power consumption. Associated with less than 10% of total electricity.
  • step S402 the user closes the WeChat application, and the mobile phone finds that the historical power consumption of the WeChat application is less than 10% of the total power, so the third function level is set to the first target function level.
  • step S403 the mobile phone closes the function corresponding to the first objective function level.
  • the application closing processing method and apparatus of the preferred embodiment sets a function level to a function in an application; acquires a historical power consumption of the application; acquires a corresponding first target function level according to the historical power consumption; and closes the application
  • the function corresponding to the first target function level is used to close the application.
  • the solution can close related functions in the application according to the historical power consumption of the application, instead of directly closing the application, which not only reduces power consumption, but also ensures rapid startup of the application.
  • the foregoing modules may be implemented as a separate entity, or may be implemented in any combination, and may be implemented as the same or a plurality of entities.
  • the foregoing modules refer to the foregoing method embodiments, and details are not described herein again.
  • FIG. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure
  • FIG. 6 is another schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • the electronic device 500 includes a processor 501, a memory 502, a display unit 503, and a control circuit 504.
  • Those skilled in the art will appreciate that the structure of the electronic device 500 illustrated in FIG. 5 does not constitute a limitation to the electronic device 500.
  • Electronic device 500 may include more or fewer components than illustrated, or some components in combination, or different component arrangements.
  • the electronic device 500 includes a terminal, such as a smart phone, a tablet computer, and the like.
  • the processor 501 is a control center of the electronic device 500.
  • the processor 501 connects various portions of the entire electronic device 500 using various interfaces and lines, performs various functions of the electronic device 500 by running or executing an application stored in the memory 502, and recalling data stored in the memory 502. The data is processed to provide overall monitoring of the electronic device 500.
  • the processor 501 loads the executable file corresponding to one or more program processes into the memory 502 according to the following instructions, and the processor 501 runs the program stored in the memory 502, thereby implementing various functions: a function in the application sets a function level; acquires historical power consumption information of the application; acquires a first target function level corresponding to the historical power consumption information; and closes a first target function level corresponding to the application function.
  • the processor 501 is further configured to: determine whether the historical power consumption rate is within a preset power consumption rate interval; if yes, obtain a first preset function corresponding to the historical power consumption rate Level; setting the first preset function level to a first target function level.
  • the processor 501 is further configured to: determine whether the historical power consumption is within a preset power consumption interval; if yes, obtain a second preset function corresponding to the historical power consumption. Level; the second preset function level is set to a first target function level.
  • the processor 501 is further configured to: determine whether the historical power consumption rate is within a preset power consumption rate interval; if the historical power consumption rate is within a preset power consumption rate interval, Obtaining a first preset function level corresponding to the historical power consumption rate; and setting the first preset function level to a first target function level; if the historical power consumption rate is not within a preset power consumption rate interval, Further determining whether the historical power consumption is within a preset power consumption interval; if the historical power consumption is in a preset power consumption interval, acquiring a second preset function level corresponding to the historical power consumption; And setting the second preset function level to the first target function level.
  • the processor 501 is further configured to: determine whether the historical power consumption is within a preset power consumption interval; if the historical power consumption is in a preset power consumption interval, obtain The second preset function level corresponding to the historical power consumption; and setting the second preset function level to the first target function level; if the historical power consumption is not in the preset power consumption interval, further determining Whether the historical power consumption rate is within a preset power consumption rate interval; if the historical power consumption rate is within a preset power consumption rate interval, obtaining a first preset function level corresponding to the historical power consumption rate; The first preset function level is set to a first target function level.
  • the processor 501 is further configured to: determine whether the first target function level is a lowest function level; if yes, close a function corresponding to the first target function level in the application; If not, the function corresponding to the first objective function level in the application is closed, and the function level is lower than the function of the first target function level.
  • the processor 501 is further configured to: acquire a call relationship between functions in an application; and set a function level to a function in the application according to the call relationship.
  • Memory 502 can be used to store applications and data.
  • the application stored in the memory 502 contains executable program code.
  • Applications can form various functional modules.
  • the processor 501 executes various functional applications and data processing by running an application stored in the memory 502.
  • the display screen 503 can be used to display information input by the user to the electronic device 500 or information provided to the user and various graphical user interfaces of the electronic device 500. These graphical user interfaces can be composed of graphics, text, icons, video, and any combination thereof.
  • the control circuit 504 is electrically connected to the display screen 503 for controlling the state of the display screen 503 under the scheduling of the processor 501.
  • the electronic device 500 can also include a radio frequency circuit 505.
  • the radio frequency circuit 505 is configured to send and receive radio frequency signals, such as establishing a communication link with a plurality of servers, and receiving data packets sent from the server.
  • electronic device 500 also includes a power source 506.
  • Power source 506 is used to power various components of electronic device 500.
  • the power source 506 can be logically coupled to the processor 501 through a power management system to manage functions such as charging, discharging, and power management through the power management system.
  • the electronic device 500 may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
  • the electronic device 500 sets a function level to a function in an application according to a calling relationship by acquiring a calling relationship between functions in an application; acquiring historical power consumption information of the application; acquiring history The first target function level corresponding to the power consumption information; determining whether the first target function level is the lowest function level; if yes, closing the function corresponding to the first target function level in the application; if not, closing the first target in the application.
  • the function corresponding to the function level, and the function whose function level is lower than the first objective function level further closes the application.
  • the solution can close the relevant functions in the application according to the historical power consumption rate and historical power consumption of the application, instead of directly closing the application, which not only further reduces the power consumption, but also further ensures the rapid startup of the application.
  • the storage is stored in a memory of the electronic device and executed by at least one processor within the electronic device, and may include a flow of an embodiment of the information distribution method during execution.
  • the storage medium may include: a read only memory (ROM, Read) Only Memory), Random Access Memory (RAM), disk or CD.
  • each functional module may be integrated into one processing chip, or each module may exist physically separately, or may have two or more modules. Integrated in one module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules.
  • the principles and embodiments of the present invention are described herein with reference to specific examples. The description of the above embodiments is only for the purpose of understanding the method of the present invention and the core idea thereof. Also, those skilled in the art according to the present invention The present invention is not limited by the scope of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Stored Programmes (AREA)
  • Power Sources (AREA)

Abstract

L'invention concerne un procédé et un appareil d'arrêt de programme d'application, un support d'informations et un dispositif électronique. Le procédé consiste : à régler des niveaux de fonction pour des fonctions dans un programme d'application (S101) ; à obtenir des informations d'historique de consommation énergétique du programme d'application (S102) ; à obtenir un premier niveau de fonction cible correspondant aux informations d'historique de consommation énergétique (S103) ; à arrêter des fonctions correspondant au premier niveau de fonction cible dans le programme d'application (S104).
PCT/CN2017/086481 2016-05-31 2017-05-29 Procédé et appareil d'arrêt de programme d'application, support d'informations et dispositif électronique Ceased WO2017206884A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610383703.6 2016-05-31
CN201610383703.6A CN106055365B (zh) 2016-05-31 2016-05-31 一种应用程序关闭方法和装置

Publications (1)

Publication Number Publication Date
WO2017206884A1 true WO2017206884A1 (fr) 2017-12-07

Family

ID=57173183

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/086481 Ceased WO2017206884A1 (fr) 2016-05-31 2017-05-29 Procédé et appareil d'arrêt de programme d'application, support d'informations et dispositif électronique

Country Status (2)

Country Link
CN (1) CN106055365B (fr)
WO (1) WO2017206884A1 (fr)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106055365B (zh) * 2016-05-31 2019-10-25 Oppo广东移动通信有限公司 一种应用程序关闭方法和装置
CN107272873B (zh) * 2017-06-09 2020-05-05 北京字节跳动网络技术有限公司 一种智能设备的应用控制方法和装置
CN115033304B (zh) * 2022-06-27 2024-09-24 维沃移动通信有限公司 应用程序控制方法、装置及电子设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092691A (zh) * 2013-01-23 2013-05-08 广东欧珀移动通信有限公司 一种安卓系统的进程管理方法和管理单元
CN104866069A (zh) * 2015-06-12 2015-08-26 广东小天才科技有限公司 一种自动清理后台应用程序的方法及装置
WO2015196967A1 (fr) * 2014-06-24 2015-12-30 北京奇虎科技有限公司 Procédé et appareil permettant à une application de résider en permanence dans un arrière-plan d'un système d'exploitation
CN105468409A (zh) * 2015-11-20 2016-04-06 北京金山安全软件有限公司 一种应用程序关闭方法、装置及电子设备
CN105528055A (zh) * 2015-12-30 2016-04-27 小米科技有限责任公司 运行对象的处理方法及装置
CN106055365A (zh) * 2016-05-31 2016-10-26 广东欧珀移动通信有限公司 一种应用程序关闭方法和装置

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103176842B (zh) * 2013-03-15 2016-04-27 广东欧珀移动通信有限公司 后台进程管理方法及其移动终端
CN105260117B (zh) * 2015-09-30 2020-11-10 北京小米移动软件有限公司 应用程序控制方法及装置
CN105338188A (zh) * 2015-11-18 2016-02-17 广东欧珀移动通信有限公司 一种日程提示方法及移动终端
CN105516476B (zh) * 2015-12-01 2018-12-11 成都中科创达软件有限公司 一种关闭高能耗应用来控制应用节电的方法

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092691A (zh) * 2013-01-23 2013-05-08 广东欧珀移动通信有限公司 一种安卓系统的进程管理方法和管理单元
WO2015196967A1 (fr) * 2014-06-24 2015-12-30 北京奇虎科技有限公司 Procédé et appareil permettant à une application de résider en permanence dans un arrière-plan d'un système d'exploitation
CN104866069A (zh) * 2015-06-12 2015-08-26 广东小天才科技有限公司 一种自动清理后台应用程序的方法及装置
CN105468409A (zh) * 2015-11-20 2016-04-06 北京金山安全软件有限公司 一种应用程序关闭方法、装置及电子设备
CN105528055A (zh) * 2015-12-30 2016-04-27 小米科技有限责任公司 运行对象的处理方法及装置
CN106055365A (zh) * 2016-05-31 2016-10-26 广东欧珀移动通信有限公司 一种应用程序关闭方法和装置

Also Published As

Publication number Publication date
CN106055365B (zh) 2019-10-25
CN106055365A (zh) 2016-10-26

Similar Documents

Publication Publication Date Title
WO2017206878A1 (fr) Procédé et appareil de traitement basé sur un verrou d'activation, support d'informations et dispositif électronique
WO2018076812A1 (fr) Procédé et dispositif de réponse à une demande de données, support de stockage, serveur et système
WO2017206885A1 (fr) Procédé et appareil d'arrêt de programme d'application, support de stockage et dispositif électronique
WO2017206883A1 (fr) Procédé et appareil de traitement d'applications, support de stockage, et dispositif électronique
WO2017206875A1 (fr) Procédé et appareil de traitement basés sur un paquet de données, support de stockage et dispositif électronique
WO2018076869A1 (fr) Procédé sauvegarde de données, appareil, support de stockage et dispositif électronique
WO2017206862A1 (fr) Procédé et appareil de traitement basés sur un verrouillage d'écran lumineux, support de stockage, et dispositif électronique
WO2018076868A1 (fr) Procédé, dispositif et système de synchronisation de données, support de stockage et serveur
WO2018161585A1 (fr) Procédé et appareil de commande de fréquence de trames d'un dispositif électronique, support de stockage et dispositif électronique
WO2018076889A1 (fr) Procédé de sauvegarde de données, dispositif, système, support de stockage et serveur
WO2018076861A1 (fr) Procédé, appareil, support d'informations, serveur et système de commande de transmission de données
WO2018166199A1 (fr) Procédé de réglage de niveau de précision de positionnement, dispositif, support de stockage et dispositif électronique
WO2018076829A1 (fr) Serveur, support d'informations, système, appareil et procédé de traitement de données de terminal
WO2017206870A1 (fr) Procédé et appareil d'arrêt de capteur, support d'informations et dispositif électronique
WO2018161580A1 (fr) Procédé et appareil de commande de diffusion, support de stockage, et dispositif électronique
WO2018161572A1 (fr) Procédé et appareil de commande de débit de trame de terminal mobile, support de stockage et dispositif électronique
WO2017206867A1 (fr) Procédé et appareil d'arrêt de capteurs, support d'informations, et dispositif électronique
WO2018076867A1 (fr) Procédé, dispositif et système de suppression de sauvegarde de données, support de mémoire et serveur
WO2018076840A1 (fr) Procédé de partage de données, dispositif, support de stockage et serveur
WO2018161581A1 (fr) Procédé de commande, dispositif, support de stockage et appareil électronique d'envoi de diffusion
WO2017206879A1 (fr) Procédé et appareil de traitement de programme d'application de terminal mobile, support de stockage, et dispositif électronique
WO2018161588A1 (fr) Procédé, appareil, support de stockage et dispositif électronique d'ajustement de file d'attente de récepteur de diffusion
WO2017206865A1 (fr) Procédé et appareil d'arrêt de programme d'application, support d'informations et dispositif électronique
WO2017206886A1 (fr) Procédé et appareil de déverrouillage d'activation, support d'informations et dispositif électronique
WO2017206877A1 (fr) Procédé et appareil de déverrouillage de verrou d'activation, support d'informations, et dispositif électronique

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17805829

Country of ref document: EP

Kind code of ref document: A1