Application program control method, device and electronic device

By obtaining and analyzing the historical power and timing information of applications, predicting their running status, and automatically controlling the startup and shutdown of applications, the problem of insufficient startup smoothness and battery life of electronic devices is solved, and more efficient resource management and user management are achieved. experience.

CN115033304BActive Publication Date: 2024-09-24VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210744372.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-27
Publication Date
2024-09-24
Estimated Expiration
2042-06-27

AI Technical Summary

Technical Problem

In the existing technology, electronic devices have poor fluency and insufficient battery life when launching applications. This is mainly due to the fact that applications running in the background occupy power, making user operations cumbersome and time-consuming.

Method used

By obtaining the historical power information and historical timing information of the target application, predict its startup and shutdown time, automatically run or stop the application when the system time reaches the corresponding time, avoid users from closing ads to display the interface, and clear the background at the predicted shutdown time running application.

Benefits of technology

It improves the smoothness and battery life of launching applications on electronic devices, simplifies user operations, and improves the running speed of the device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115033304B
    Figure CN115033304B
Patent Text Reader

Abstract

The present application discloses an application control method, device and electronic device, belonging to the field of communication technology. The method comprises: obtaining at least one historical power information and at least one historical timing information of a target application, each historical power information is used to indicate the historical power usage of the target application on a historical timing information; determining at least one of the start time and the shutdown time of the target application according to at least one historical power information and at least one historical timing information; running the target application when the system time of the electronic device reaches the start time of the target application; and stopping the target application when the system time of the electronic device reaches the shutdown time of the target application.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communication technology, and specifically relates to an application control method, device and electronic device. Background Art

[0002] Currently, the more resources (such as network resources) of the electronic device an application requires during operation, the greater the power consumption of the electronic device. In related technologies, in order to improve the battery life of the electronic device, the electronic device can shut down an application running in the background.

[0003] However, when the user opens the application again, it usually takes several seconds for the electronic device to start the application. Moreover, due to the implantation of startup ads, the user needs to first close the startup ads in the application before the electronic device opens the interface of the application. In this way, the user's operation of opening the application is cumbersome and time-consuming, and the smoothness of the electronic device starting the application is poor. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide an application control method, device, electronic device and storage medium, which can improve the battery life of the electronic device and solve the problem of poor fluency when the electronic device starts an application.

[0005] In a first aspect, an embodiment of the present application provides an application control method, which includes: obtaining at least one historical power information and at least one historical timing information of a target application, each historical power information being used to indicate a historical power usage of the target application on a historical timing information; determining at least one of a startup time and a shutdown time of the target application based on at least one historical power information and at least one historical timing information; running the target application when the system time of the electronic device reaches the startup time of the target application; and stopping running the target application when the system time of the electronic device reaches the shutdown time of the target application.

[0006] In a second aspect, an embodiment of the present application provides an application control device, which includes: an acquisition module, a determination module, a startup module, and a shutdown module. The acquisition module is used to acquire at least one historical power information and at least one historical timing information of the target application, and each historical power information is used to indicate the historical power usage of the target application on a historical timing information. The determination module is used to determine at least one of the startup time and the shutdown time of the target application based on at least one historical power information and at least one historical timing information. The startup module is used to run the target application when the system time of the electronic device reaches the startup time of the target application. The shutdown module is used to stop running the target application when the system time of the electronic device reaches the shutdown time of the target application.

[0007] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.

[0008] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0009] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.

[0010] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the first aspect.

[0011] In an embodiment of the present application, the electronic device can obtain at least one historical power information and at least one historical timing information of the target application, each historical power information in the at least one historical power information is used to indicate the historical power usage of the target application on a historical timing information, and determine at least one of the startup time and the shutdown time of the target application based on the at least one historical power information and the at least one historical timing information, so that when the system time of the electronic device reaches the startup time of the target application, the electronic device can run the target application, and when the system time of the electronic device reaches the shutdown time of the target application, the electronic device can stop running the target application. In the present solution, since the electronic device can predict at least one of the subsequent startup time and shutdown time of the target application based on at least one historical power usage of the target application and at least one historical timing information corresponding to the at least one historical power usage, the electronic device can run the target application when the system time of the electronic device reaches the startup time of the target application, and the electronic device can stop running the target application when the system time of the electronic device reaches the shutdown time of the target application. It can be understood that the electronic device can predict at least one of the subsequent startup time and shutdown time of the target application based on the historical usage time of the target application by the user, so as to start the target application when the startup time arrives. In this way, when the user needs to use the target application, the electronic device can directly display the started target application in the foreground, avoiding the user's need to close the startup advertisement in the target application before displaying the interface of the target application. In this way, the use fluency of the electronic device starting the target application is improved. Moreover, after the target application runs in the background, the electronic device can clear the target application running in the background according to the predicted shutdown time. In this way, while improving the battery life of the electronic device, the running speed of the electronic device is also improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 is a flow chart of an application control method provided by an embodiment of the present application;

[0013] Figure 2 is a schematic diagram of an example of a first timing curve diagram provided in an embodiment of the present application;

[0014] Figure 3 This is a schematic diagram of an example of an application startup and shutdown interval setting interface for a mobile phone provided in an embodiment of the present application;

[0015] Figure 4 is a structural diagram of an application control device provided in an embodiment of the present application;

[0016] Figure 5 This is one of the hardware structure diagrams of an electronic device provided in an embodiment of the present application;

[0017] Figure 6 This is the second schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0018] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0019] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0020] The following is a detailed description of the application startup method provided in the embodiment of the present application through specific embodiments and their application scenarios in conjunction with the accompanying drawings.

[0021] At present, with the improvement of electronic equipment hardware configuration, the computing power and processing performance of electronic equipment are getting stronger and stronger, so that more and more applications can be installed on electronic equipment, and the more powerful the function of each application is, the more electronic equipment resources it consumes, and thus the more power the electronic equipment consumes. In order to improve the battery life of electronic equipment, and under the premise of not affecting the user's use, electronic equipment can close the applications running in the background, thereby reducing unnecessary power consumption.

[0022] In the related art, there are usually the following three ways to reduce unnecessary power consumption of electronic devices.

[0023] 1. Active shutdown: users can long press the menu button to display all background running applications, and then selectively close background running applications or close all background running applications. Although this method is quick and effective, most users rarely consciously close unnecessary background running applications, especially the elderly who are not familiar with the operation of electronic devices. This increases the user's cost of use and the feasibility of its effect cannot be guaranteed.

[0024] 2. Monitoring reminders: electronic devices can monitor the power consumption of various applications in the mobile phone. If there are applications that have been running in the background for a long time but not used, or applications with abnormal power consumption, a prompt message can be displayed to the user to remind the user to close the application with abnormal power consumption. Although this method can actively prompt the user, it still requires the user to operate. Frequent prompts to the user also require frequent operations, which affects the user experience. If the electronic device automatically closes the application with abnormal power consumption, it is equivalent to interfering with the user's operation and will also cause the user to feel distrust.

[0025] 3. Planned shutdown. Electronic devices can support the planned mode, that is, certain applications can only be started during a certain period of time, and they will be automatically closed during a certain period of time. The planned mode is a user-initiated setting that allows electronic devices to automatically close applications, but the planned mode still requires users to frequently set up applications. Moreover, the planned mode is more to restrict user usage behavior, so the feasibility and effectiveness of this method cannot be guaranteed.

[0026] However, based on the above three solutions, after closing an application, if the user needs to open the application again, due to the implantation of startup ads in the application, the user needs to first close the startup ads in the application, and then the electronic device opens the interface of the application. In this way, the user's operation of opening the application is cumbersome and time-consuming, and the efficiency and convenience of launching the application by the electronic device are poor.

[0027] In an embodiment of the present application, the electronic device can obtain at least one historical power information and at least one historical timing information of the target application, each historical power information in the at least one historical power information is used to indicate the historical power usage of the target application on a historical timing information, and determine at least one of the startup time and the shutdown time of the target application based on the at least one historical power information and the at least one historical timing information, so that when the system time of the electronic device reaches the startup time of the target application, the electronic device can run the target application, and when the system time of the electronic device reaches the shutdown time of the target application, the electronic device can stop running the target application. In the present solution, since the electronic device can predict at least one of the subsequent startup time and shutdown time of the target application based on at least one historical power usage of the target application and at least one historical timing information corresponding to the at least one historical power usage, the electronic device can run the target application when the system time of the electronic device reaches the startup time of the target application, and the electronic device can stop running the target application when the system time of the electronic device reaches the shutdown time of the target application. It can be understood that the electronic device can predict at least one of the subsequent startup time and shutdown time of the target application based on the historical usage time of the target application by the user, so as to start the target application when the startup time arrives. In this way, when the user needs to use the target application, the electronic device can directly display the started target application in the foreground, avoiding the user's need to close the startup advertisement in the target application before displaying the interface of the target application. In this way, the use fluency of the electronic device starting the target application is improved. Moreover, after the target application runs in the background, the electronic device can clear the target application running in the background according to the predicted shutdown time. In this way, while improving the battery life of the electronic device, the running speed of the electronic device is also improved.

[0028] The present application embodiment provides an application control method. Figure 1 FIG. 1 is a flow chart of an application control method provided by an embodiment of the present application. Figure 1 As shown, the application control method provided in the embodiment of the present application may include the following steps 201 to 204.

[0029] Step 201: The electronic device obtains at least one historical power information and at least one historical timing information of a target application.

[0030] In an embodiment of the present application, each piece of historical power information in the at least one piece of historical power information is used to indicate the historical power usage of the target application on a piece of historical time series information.

[0031] In an embodiment of the present application, the electronic device can monitor at least one historical power information and at least one historical timing information of each application, and record at least one historical power information and at least one historical timing information of each application to obtain at least one historical power information and at least one historical timing information of the target application therefrom, so that the electronic device can predict at least one of the subsequent startup time and shutdown time of the target application based on the at least one historical power information and at least one historical timing information corresponding to the at least one historical power information.

[0032] Optionally, in the implementation of the present application, for each of the above historical power information, one historical power information may be a power value or a power range (for example, one historical power information may be the power consumed by the target application between 8 o'clock and 9 o'clock).

[0033] Optionally, in an embodiment of the present application, for each of the above-mentioned historical timing information, one piece of historical timing information may indicate a time point or a time period (for example, if the electronic device monitors that the target application consumes power between 8 o'clock and 9 o'clock, then the piece of historical timing information is the time period corresponding to the power consumption, i.e., 8 o'clock to 9 o'clock).

[0034] Optionally, in an embodiment of the present application, a user may input a first control in a setting interface so that the electronic device enables a function of monitoring at least one historical power information and at least one historical timing information of each application.

[0035] Exemplarily, taking the electronic device as a mobile phone as an example, the user can click and input the smart start and close application control (i.e., the above-mentioned first control) in the application startup and close interval setting interface (i.e., the above-mentioned setting interface) to enable the electronic device to enable the application startup and close interval setting function, thereby monitoring at least one historical power information and at least one historical timing information of all applications.

[0036] Step 202: The electronic device determines at least one of a start-up time and a shutdown time of a target application according to at least one historical power information and at least one historical timing information.

[0037] It should be noted that the startup time and shutdown time of the above-mentioned target application are both the future startup time and shutdown time of the target application, that is, the electronic device can predict the future usage of the target application based on the historical usage of the target application.

[0038] It can be understood that electronic devices use power consumption to indicate the usage period of target applications. The target application will inevitably consume electronic device hardware resources and thus power during use. Generally, when the electronic device detects that the power consumption corresponding to the target application is higher, it means that the target application is being used. When the electronic device detects that the power consumption corresponding to the target application is lower, it means that the target application is not being used. At the same time, by checking the data of the network, hardware and application class tables of these low-power consumption applications, it can be determined that these background running applications are no longer in use. Therefore, monitoring the power consumption corresponding to the target application can objectively reflect the use and non-use of the target application.

[0039] Optionally, in the embodiment of the present application, the above step 202 can be specifically implemented by the following steps 202a and 202b.

[0040] Step 202a: The electronic device draws a first timing curve graph according to at least one historical power information and at least one historical timing information.

[0041] In the embodiment of the present application, the above-mentioned first timing curve diagram is used to indicate the predicted power usage of the target application and the predicted timing information corresponding to the predicted power usage.

[0042] In an embodiment of the present application, the electronic device can predict at least one historical power information and at least one historical timing information corresponding to the target application through a first method to obtain the target power information of the target application and the target timing information corresponding to the target power information, and draw a first timing curve graph.

[0043] Optionally, in an embodiment of the present application, the first timing curve graph may be a continuous curve graph or a discontinuous curve graph.

[0044] Specifically, the above continuous curve graph may be a sine wave curve graph, a parabola curve graph, an involute curve graph, etc. The specific shape may be determined according to actual conditions, and the present application does not impose any limitation thereto.

[0045] Optionally, in an embodiment of the present application, the above-mentioned first method may include any one of the following: simple time series average method, weighted time series average method, moving average method, weighted moving average method, trend prediction method, exponential smoothing method.

[0046] Optionally, in the embodiment of the present application, the above step 202a can be specifically implemented through the following steps 202a1 to 202a3.

[0047] Step 202a1: The electronic device draws a second timing curve graph according to at least one historical power information and at least one historical timing information.

[0048] In an embodiment of the present application, the second timing curve diagram is used to indicate the historical power usage of the target application and the historical timing information corresponding to the historical power usage.

[0049] In an embodiment of the present application, the electronic device can obtain a second timing curve graph by recording and analyzing data of at least one historical power information and at least one historical timing information, and thereby predict at least one subsequent target power information and at least one target timing information of the target application based on the second timing curve graph.

[0050] Step 202a2: The electronic device predicts at least one target power information and at least one target timing information according to the second timing curve diagram.

[0051] In an embodiment of the present application, each target power information in the at least one target power information is used to indicate the predicted power usage of the target application on a target timing information.

[0052] In the embodiment of the present application, after obtaining the second timing curve diagram, the electronic device can predict at least one target power information and at least one target timing information by the first method mentioned above.

[0053] Step 202a3: The electronic device draws a first timing curve graph according to at least one target power information and at least one target timing information.

[0054] In an embodiment of the present application, the electronic device can predict at least one target power information and at least one target timing information of the target application based on the second timing curve graph, and draw a first timing curve graph, so that the electronic device can determine at least one of the startup time or shutdown time of the target application based on the first timing curve graph.

[0055] Step 202b: The electronic device determines at least one of a start-up time and a close-down time of the target application program according to the first timing curve diagram.

[0056] In the embodiment of the present application, the electronic device can determine at least one of at least one startup time and at least one shutdown time of the target application based on at least one target power information and at least one target timing information in the first timing curve diagram.

[0057] In an embodiment of the present application, the electronic device can draw a first timing curve graph based on at least one historical power information and at least one historical timing information of the target application, and determine at least one of the startup time and the shutdown time of the target application through the first timing curve graph, so that when the system time of the electronic device reaches the startup time of the target application, the electronic device can run the target application, and when the system time of the electronic device reaches the shutdown time of the target application, the electronic device can stop running the target application, avoiding the need for the user to close the startup advertisement in the target application before displaying the interface of the target application, thereby simplifying the user's operation and improving the fluency of using the electronic device to start the application, and the electronic device can clear the target application running in the background according to the predicted shutdown time, thus improving the battery life of the electronic device while also improving the running speed of the electronic device.

[0058] Optionally, in the embodiment of the present application, the above step 202 can be specifically implemented by the following steps 301 and 302.

[0059] Step 301: The electronic device determines at least one first time period and at least one second time period of a target application according to at least one target timing information and at least one target power information.

[0060] In the embodiment of the present application, the at least one first time period is at least one usage time period of the target application, and the at least one second time period is at least one background running time period of the target application.

[0061] In an embodiment of the present application, the electronic device can obtain at least one target timing information and at least one target timing information of the target application from the first timing curve graph, and obtain at least one usage time period and at least one background running time period of the target application based on the at least one target timing information and at least one target timing information.

[0062] For example, Figure 2 As shown, after the electronic device obtains the first timing curve graph through the second timing curve graph, the electronic device can determine 12:00 and 18:30 in the first timing curve graph as the startup time of the target application, and according to the predicted power usage information, determine 12:00-13:30 as a usage time period, and determine 13:30-20:00 as a background running time period.

[0063] Step 302: The electronic device determines at least one of a start-up time and a close-down time of a target application according to at least one first time period and at least one second time period.

[0064] In an embodiment of the present application, the electronic device may determine a time period corresponding to at least one first time period as at least one running time period of the target application, and then the electronic device may determine at least one second time period as at least one closing time period of the target application.

[0065] Step 203: When the system time of the electronic device reaches the start time of the target application, the electronic device runs the target application.

[0066] In an embodiment of the present application, when the system time of the electronic device is equal to the startup time of the target application predicted in the first timing curve diagram, the electronic device can start the target application in the background, so that when the user actually starts the target application, the electronic device can switch the target application from background operation to foreground operation.

[0067] Optionally, in the embodiment of the present application, the above step 203 can be specifically implemented by the following step 203a.

[0068] Step 203a: when the system time of the electronic device reaches a moment of a preset time length before at least one first time period, pre-start the target application.

[0069] For example, assuming that the predicted start time of the target application is 8:00, the electronic device can start the target application at 7:59.

[0070] In an embodiment of the present application, the electronic device can pre-start the target application before the predicted startup time, so that when the user needs to use the target application, it can directly switch from background operation to foreground operation, avoiding the need for the user to close the startup advertisement in the target application before displaying the interface of the target application, thereby improving the fluency of using the electronic device to start the application.

[0071] Step 204: When the system time of the electronic device reaches the closing time of the target application, the electronic device stops running the target application.

[0072] In an embodiment of the present application, when the system time of the electronic device is equal to the closing time of the target application predicted in the first timing curve diagram and no user input is received, the electronic device can close the target application and clear the background of the target application.

[0073] Optionally, in the embodiment of the present application, the above step 204 can be specifically implemented by the following step 204a.

[0074] Step 204a: When the system time of the electronic device reaches a moment of a preset time length after at least one second time period, the electronic device stops running the target application.

[0075] In an embodiment of the present application, when the system time of the electronic device is greater than the closing time of the target application predicted in the first timing curve diagram and no user input is received, the electronic device can close the target application and clear the background of the target application.

[0076] In an embodiment of the present application, after the system time of the electronic device reaches the predicted shutdown time and no user input is received, the electronic device may close the target application. It can be understood that after the system time of the electronic device reaches the predicted shutdown time, the electronic device may determine whether the user is currently using the target application based on whether the user has input into the target application. Thus, after the electronic device determines that the user is not using the target application, the electronic device may close the target application, thereby avoiding the electronic device from continuously running the target application in the background. In this way, the battery life of the electronic device is improved while the operating speed of the electronic device is also improved.

[0077] An embodiment of the present application provides an application control method, in which an electronic device can obtain at least one historical power information and at least one historical timing information of a target application, each historical power information in the at least one historical power information is respectively used to indicate the historical power usage of the target application on a historical timing information, and determine at least one of the start-up time and the shutdown time of the target application based on the at least one historical power information and the at least one historical timing information, so that when the system time of the electronic device reaches the start-up time of the target application, the electronic device can run the target application, and when the system time of the electronic device reaches the shutdown time of the target application, the electronic device can stop running the target application. In the present solution, since the electronic device can predict at least one of the subsequent startup time and shutdown time of the target application based on at least one historical power usage of the target application and at least one historical timing information corresponding to the at least one historical power usage, the electronic device can run the target application when the system time of the electronic device reaches the startup time of the target application, and the electronic device can stop running the target application when the system time of the electronic device reaches the shutdown time of the target application. It can be understood that the electronic device can predict at least one of the subsequent startup time and shutdown time of the target application based on the historical usage time of the target application by the user, so as to start the target application when the startup time arrives. In this way, when the user needs to use the target application, the electronic device can directly display the started target application in the foreground, avoiding the user's need to close the startup advertisement in the target application before displaying the interface of the target application. In this way, the use fluency of the electronic device starting the target application is improved. Moreover, after the target application runs in the background, the electronic device can clear the target application running in the background according to the predicted shutdown time. In this way, while improving the battery life of the electronic device, the running speed of the electronic device is also improved.

[0078] Optionally, in the embodiment of the present application, after the above step 202, the application control method provided in the embodiment of the present application further includes the following step 401.

[0079] Step 401: When receiving a first input from a user to an icon of a target application within a fourth time period, the electronic device updates a first timing curve graph according to first timing information and first power information.

[0080] In an embodiment of the present application, the above-mentioned first input is used to instruct the electronic device to adjust at least one of the shutdown time and the startup time of the target application, the fourth time period is the time period when the target application is not started, the first timing information is the usage timing information of the target application after receiving the first input of the user to the icon of the target application, and the first power information is the usage power information of the target application after receiving the first input of the user to the icon of the target application.

[0081] Optionally, in an embodiment of the present application, the fourth time period includes a time period before the target application is run and a time period after the target application is stopped.

[0082] It is understandable that the time period for users to use applications is not fixed. If the user uses the target application during the predicted shutdown time (for example, 13:30-18:30) and switches to background operation after using it for a period of time, the target application running in the background during the shutdown time will still be completely closed (i.e., the background operation of the target application will be cleared), but the data of this usage time will be recorded by the electronic device and used to update the first timing curve graph. The electronic device can then adjust the time periods of startup time and shutdown time to achieve a balance between the power consumption of the electronic device and the user experience. For example, if the target application is frequently started during a predicted shutdown time, then this period of time can be corrected to the startup time. If it is only started once or twice, then this period of time still belongs to the shutdown time.

[0083] In the embodiment of the present application, the electronic device detects the startup time and shutdown time of the application program to update the first timing curve graph in real time, thereby improving the accuracy of the electronic device in predicting the startup time of the application program.

[0084] Optionally, in an embodiment of the present application, after the above step 202, the application control method provided in the embodiment of the present application further includes the following steps 501 and 502.

[0085] Step 501: When displaying a setting interface, the electronic device receives a second input from a user.

[0086] In the embodiment of the present application, the above-mentioned setting interface includes a first timing curve graph, and the second input is the user's input to the first timing curve graph.

[0087] Optionally, in an embodiment of the present application, the electronic device may display a setting interface based on the user's input to the setting application, thereby receiving the user's second input to the first timing curve graph in the setting interface.

[0088] Optionally, in the embodiment of the present application, the user input to the setting application can be any of the following: click input (such as single-click input, double-click input, or input of a preset number of clicks, etc.), long press input, or sliding input, etc.; or the second input can be a combination of physical key inputs by the user (such as a power key and a volume key). The specific setting can be based on actual usage requirements and is not limited in the embodiment of the present application.

[0089] Optionally, in the embodiment of the present application, the second input may be any of the following: click input (e.g., single-click input, double-click input, or input of a preset number of clicks, etc.), long-press input, or sliding input, etc.; or the second input may be a combination of physical key inputs by the user (e.g., a power key and a volume key). The specific setting may be based on actual usage requirements and is not limited in the embodiment of the present application.

[0090] Step 502: The electronic device updates the first timing curve graph in response to the second input, and determines at least one of the start-up time and the close-down time of the target application based on the updated first timing curve graph.

[0091] In the embodiment of the present application, the user can directly make a second input to the first timing curve graph, so that the electronic device can adjust at least one of the startup time and the shutdown time of the target application.

[0092] In the embodiment of the present application, the electronic device updates the first timing curve diagram manually by the user to update at least one of the startup time and the shutdown time of the target application, thereby improving the accuracy of the electronic device in predicting the startup time of the application.

[0093] Optionally, in an embodiment of the present application, “updating the first timing curve diagram” in the above step 502 can be specifically implemented through the following steps 502a and 502b.

[0094] Step 502a: The electronic device obtains the stop position information of the second input.

[0095] In the embodiment of the present application, the electronic device can detect the stop position information of the user's second input, and thereby determine the start time or close time of the target application adjusted by the user according to the stop position information of the second input.

[0096] Step 502b: The electronic device adjusts at least one of the start time or the close time of the target application according to the time corresponding to the stop position information.

[0097] It can be understood that the user makes the second input to the first timing curve graph, and the first timing curve graph includes usage timing information and power usage information, so that the electronic device can determine that the user adjusts the start time or shutdown time of the target application to the target moment based on the user's stop position information, and the target moment is the moment corresponding to the user's stop position information.

[0098] In the embodiment of the present application, the electronic device updates the first timing curve diagram manually by the user to update at least one of the startup time and the shutdown time of the target application, thereby improving the accuracy of the electronic device in predicting the startup time of the application.

[0099] Optionally, in an embodiment of the present application, the above-mentioned setting interface includes a second control; the "updating the first timing curve graph" in the above-mentioned step 502 can be specifically implemented through the following steps 502c and 502f.

[0100] Step 502c: The electronic device receives a third input from the user to the second control.

[0101] In an embodiment of the present application, a user can input the second control in the setting interface so that the electronic device displays at least two identifiers in the first timing curve graph, and the user can input the at least two identifiers so that the electronic device can adjust the startup time or shutdown time of the target application based on the user's input.

[0102] Optionally, in the embodiment of the present application, the third input may be any of the following: click input (e.g., single-click input, double-click input, or input of a preset number of clicks, etc.), long-press input, or sliding input, etc.; or the second input may be a combination of physical key inputs by the user (e.g., a power key and a volume key). The specific setting may be based on actual usage requirements and is not limited in the embodiment of the present application.

[0103] Step 502d: The electronic device displays at least two identifiers in the first timing curve graph in response to the third input.

[0104] In the embodiment of the present application, the at least two identifiers are used to indicate at least one start-up time and at least one shutdown time in the first timing curve diagram.

[0105] Optionally, in an embodiment of the present application, the at least two identifications mentioned above may include at least one of the following: a vertical line identification (such as a solid line identification or a dotted line identification), a color identification, a special symbol identification, a direction identification, etc.

[0106] Step 502e: The electronic device receives a fourth input from the user regarding a target identifier among the at least one identifier.

[0107] Optionally, in the embodiment of the present application, the fourth input may be any of the following: click input (e.g., single-click input, double-click input, or input of a preset number of clicks, etc.), long-press input, or sliding input, etc.; or the second input may be a combination of physical key inputs by the user (e.g., a power key and a volume key). The specific setting may be based on actual usage requirements and is not limited in the embodiment of the present application.

[0108] Step 502f: The electronic device adjusts at least one of the start-up time or the close-down time of the target application in response to the fourth input.

[0109] For example, taking the electronic device as a mobile phone as an example, Figure 3 As shown, the user can input the setting application icon to make the mobile phone 10 display the application startup and shutdown interval setting interface 11 (that is, the above-mentioned setting interface), and the setting interface 11 displays a first timing curve graph 12, which includes 3 startup time identifiers ( Figure 3 ) and 3 closing time mark ( Figure 3 The user can drag the target mark in the 3 closing time mark in the first timing curve diagram to update the closing time or starting time of the target application. For a time point (for example, 20:30), the user can drag the target mark ( Figure 3 ), drag it to the time position corresponding to 22:30, so that the mobile phone can adjust the closing time of the target application from 20:30 to 22:30.

[0110] In an embodiment of the present application, the electronic device manually updates the first timing curve graph through the user to update at least one of the startup time and the shutdown time of the target application, thereby improving the accuracy of the electronic device in predicting the startup time of the application.

[0111] Optionally, in the embodiment of the present application, after the above step 203, the application control method provided in the embodiment of the present application further includes the following step 601.

[0112] Step 601: The electronic device displays at least one first application icon in a first window.

[0113] In the embodiment of the present application, the at least one first application icon is at least one application that is in the same startup time as the target application.

[0114] It should be noted that the electronic device displays the first window after the electronic device opens the target application, that is, when the electronic device runs the target application in the foreground, the electronic device can display at least one first application icon in the first window to prompt the user to view at least one application that is in the same startup time as the target application.

[0115] Optionally, in an embodiment of the present application, at least one application corresponding to at least one first application icon displayed in the first window is started (i.e., running in the background). In this way, the user can input at least one application icon in the first window to trigger the electronic device to quickly switch applications.

[0116] Optionally, in an embodiment of the present application, the above-mentioned first window can be displayed at a preset position (for example, the upper left position or the upper right position) of the electronic device desktop to prompt the user of at least one application that is in the same startup time as the target application, so that the user can view at least one application that is in the same startup time as the target application based on the first window.

[0117] Optionally, in an embodiment of the present application, the at least one first application icon may be displayed in the first window in the form of a thumbnail, thereby ensuring the convenience of the first window.

[0118] For example, if a user uses an instant messaging application between 8:00 and 12:00, during the user's use, the electronic device can display a first window in the upper left corner of the target application, and display at least one recommended application icon as a thumbnail in the first window, so that the user can input at least one application icon in the first window to trigger the electronic device to quickly switch applications.

[0119] Optionally, in the embodiment of the present application, the user can input the first window so that the electronic device can update the display position of the first window in the electronic device.

[0120] In an embodiment of the present application, the electronic device can display the icon of at least one application that is in the same startup time as the target application in the first window, thereby prompting the user that there is at least one application that is in the same startup time as the target application, thereby improving the convenience of the electronic device in displaying applications.

[0121] Optionally, in the embodiment of the present application, the above step 601 can be specifically implemented by the following steps 601a and 601b.

[0122] Step 601a: The electronic device obtains type information of the target application.

[0123] In an embodiment of the present application, the electronic device can recommend to the user an icon of at least one application that is of the same type as the target application and has the same predicted timing information as the target application based on the type information of the target application when the user uses the target application.

[0124] Step 601b: The electronic device displays at least one second application icon in the first window according to the type information of the target application.

[0125] In the embodiment of the present application, the at least one second application icon is at least one application that matches the type information of the target application and is in the same startup time as the target application.

[0126] Optionally, in an embodiment of the present application, at least one application corresponding to at least one first application icon displayed in the first window is started (i.e., running in the background). In this way, the user can input at least one second application icon in the first window to trigger the electronic device to quickly switch applications, so that the user can quickly switch through at least one application recommended by the electronic device. In this way, the operation of switching applications by the user is simplified and the efficiency of switching applications by the electronic device is improved.

[0127] In an embodiment of the present application, the electronic device can recommend to the user at least one application that matches the type of the target application currently being used by the user and has the same predicted timing information, thereby prompting the user to have at least one application of the same type and at the same startup time as the target application, thereby improving the convenience of the electronic device in displaying applications.

[0128] Optionally, in the embodiment of the present application, after the above step 203, the application control method provided in the embodiment of the present application further includes the following step 701.

[0129] Step 701: When no user input to the icon of the target application is received within a third time period, the electronic device closes the target application.

[0130] In the embodiment of the present application, the third time period is a time period between the start time of the target application and the close time of the target application.

[0131] In an embodiment of the present application, if the electronic device does not receive any input from the user to the icon of the target application within a first time period, the electronic device may close the target application after a preset time.

[0132] Optionally, in an embodiment of the present application, if the electronic device does not receive any user input on any interface in the target application within a first time period (ie, the target application has been switched to background operation), the electronic device may close the target application after a preset time.

[0133] In an embodiment of the present application, the electronic device determines whether to close the target application by detecting whether the user inputs the target application. If the electronic device determines that the user has not input the target application within a first time period, it can determine to close the target application, thereby saving power consumption of the electronic device and improving the operating speed of the electronic device.

[0134] It should be noted that the application control method provided in the embodiment of the present application can be executed by an application control device, or an electronic device, or can also be a functional module or entity in an electronic device. In the embodiment of the present application, the application control device provided in the embodiment of the present application is described by taking the application control device executing application startup control as an example.

[0135] Figure 4 A possible structural diagram of the application control device involved in the embodiment of the present application is shown. Figure 4 As shown, the application control device 70 may include: an acquisition module 71 , a determination module 72 , a start module 73 and a close module 74 .

[0136] Among them, the acquisition module 71 is used to obtain at least one historical power information and at least one historical timing information of the target application, and each historical power information is used to indicate the historical power usage of the target application on a historical timing information; the determination module 72 is used to determine at least one of the start-up time and the shutdown time of the target application based on at least one historical power information and at least one historical timing information; the start module 73 is used to run the target application when the system time of the electronic device reaches the start-up time of the target application; the shutdown module is used to stop running the target application when the system time of the electronic device reaches the shutdown time of the target application.

[0137] In one possible implementation, the above-mentioned determination module 72 is specifically used to draw a first timing curve graph based on at least one historical power information and at least one historical timing information, and the first timing curve graph is used to indicate the predicted power usage of the target application and the predicted timing information corresponding to the predicted power usage; and determine at least one of the startup time and the shutdown time of the target application based on the first timing curve graph.

[0138] In one possible implementation, the above-mentioned determination module 72 is specifically used to draw a second timing curve graph based on at least one historical power information and at least one historical timing information, and the second timing curve graph is used to indicate the historical power usage of the target application and the historical timing information corresponding to the historical power usage; and based on the second timing curve graph, predict at least one target power information and at least one target timing information, each target power information is used to indicate the predicted power usage of the target application on a target timing information; and draw the first timing curve graph based on at least one target power information and at least one target timing information.

[0139] In one possible implementation, the above-mentioned determination module 72 is specifically used to determine at least one first time period and at least one second time period of the target application based on at least one target power information and the at least one target timing information, the at least one first time period being at least one usage time period of the target application, and the at least one second time period being at least one background running time period of the target application; and determine at least one of the startup time and the shutdown time of the target application based on at least one first time period and at least one second time period.

[0140] In a possible implementation, the startup module 73 is specifically configured to pre-start the target application when the system time of the electronic device reaches a moment of a preset time length before at least one first time period.

[0141] In a possible implementation, the closing module 74 is specifically configured to stop the target application when the system time of the electronic device reaches a preset time after at least one second time period.

[0142] In a possible implementation, the application startup device provided in the embodiment of the present application further includes: a display module. The display module is used to display at least one first application icon in the first window, where the at least one first application icon is an icon of at least one application in the same startup time as the target application.

[0143] In one possible implementation, the above-mentioned display module is specifically used to obtain type information of the target application; and based on the type information of the target application, display at least one second application icon in the first window, and the at least one second application icon is at least one application that matches the type information of the target application and is in the same startup time as the target application.

[0144] In one possible implementation, the above-mentioned closing module is also used to close the target application after running the target application if no user input to the target application icon is received within a third time period, and the third time period is the time period between the startup time of the target application and the shutdown time of the target application.

[0145] In a possible implementation, the application startup device provided in the embodiment of the present application further includes: an update module. The update module is used to update the first timing curve graph according to the first timing information and the first power information when a first input from a user to the icon of the target application is received within a fourth time period after the determination module 72 determines at least one of the startup time and the shutdown time of the target application according to at least one historical power information and at least one historical timing information; wherein the first input is used to instruct the electronic device to adjust at least one of the shutdown time and the startup time of the target application, the fourth time period is a time period when the target application is not started, the first timing information is the usage timing information of the target application after the first input from the user to the icon of the target application is received, and the first power information is the usage power information of the target application after the first input from the user to the icon of the target application is received.

[0146] In a possible implementation, the application startup device provided in the embodiment of the present application further includes: a receiving module and an updating module. The receiving module is used to receive a second input from a user while displaying a setting interface after the determination module 72 determines at least one of the startup time and the shutdown time of the target application according to at least one historical power information and at least one historical timing information, wherein the second input is the user's input to the first timing curve graph; the updating module is used to update the first timing curve graph in response to the second input received by the receiving module, and determine at least one of the startup time and the shutdown time of the target application based on the updated first timing curve graph.

[0147] In a possible implementation, the update module is specifically configured to obtain stop position information of the second input; and adjust at least one of a start time or a close time of the target application according to a time corresponding to the stop position information.

[0148] In one possible implementation, the above-mentioned setting interface includes a second control; an update module, which is also used to receive a third input from the user to the second control; and in response to the third input, display at least two identifiers in the first timing curve graph, and the at least two identifiers are used to indicate at least one startup time and at least one shutdown time in the first timing curve graph; and receive a fourth input from the user to a target identifier in at least one identifier; and in response to the fourth input, adjust at least one of the startup time or shutdown time of the target application.

[0149] The embodiment of the present application provides an application control device. Since the application control device can predict at least one of the subsequent startup time and shutdown time of the target application based on at least one historical power usage of the target application and at least one historical timing information corresponding to the at least one historical power usage, the application control device can run the target application when the system time of the application control device reaches the startup time of the target application, and the application control device can stop running the target application when the system time of the application control device reaches the shutdown time of the target application. It can be understood that the application control device can predict at least one of the subsequent startup time and shutdown time of the target application based on the historical usage time of the target application by the user, so as to start the target application when the startup time arrives. In this way, when the user needs to use the target application, the application control device can directly display the started target application in the foreground, avoiding the user needing to close the startup advertisement in the target application before displaying the interface of the target application. In this way, the use fluency of the application control device starting the target application is improved. Moreover, after the target application runs in the background, the application control device can clear the target application running in the background according to the predicted shutdown time. In this way, while improving the battery life of the application control device, the running speed of the application control device is also improved.

[0150] The application control device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in an electronic device. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a car-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0151] The application control device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an IOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0152] The application program startup device provided in the embodiment of the present application can achieve Figures 1 to 3 To avoid repetition, the various processes implemented by the method embodiment are not described here.

[0153] Alternatively, if Figure 5 As shown, an embodiment of the present application also provides an electronic device 90, including a processor 91 and a memory 92, wherein the memory 92 stores programs or instructions that can be executed on the processor 91, and when the program or instructions are executed by the processor 901, the various steps of the above-mentioned application startup method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not repeated here.

[0154] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.

[0155] Figure 6 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.

[0156] The electronic device 100 includes but is not limited to components such as a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.

[0157] Those skilled in the art will appreciate that the electronic device 100 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 6 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0158] Among them, the processor 110 is used to obtain at least one historical power information and at least one historical timing information of the target application, each historical power information is used to indicate the historical power usage of the target application on a historical timing information; and determine at least one of the startup time and the shutdown time of the target application based on at least one historical power information and at least one historical timing information; and run the target application when the system time of the electronic device reaches the startup time of the target application; stop running the target application when the system time of the electronic device reaches the shutdown time of the target application.

[0159] An embodiment of the present application provides an electronic device. Since the electronic device can predict at least one of the subsequent startup time and shutdown time of the target application based on at least one historical power usage of the target application and at least one historical timing information corresponding to the at least one historical power usage, the electronic device can run the target application when the system time of the electronic device reaches the startup time of the target application, and the electronic device can stop running the target application when the system time of the electronic device reaches the shutdown time of the target application. It can be understood that the electronic device can predict at least one of the subsequent startup time and shutdown time of the target application based on the historical usage time of the target application by the user, so as to start the target application when the startup time arrives. In this way, when the user needs to use the target application, the electronic device can directly display the started target application in the foreground, avoiding the user needing to close the startup advertisement in the target application before displaying the interface of the target application. In this way, the use fluency of the electronic device starting the target application is improved. Moreover, after the target application runs in the background, the electronic device can clear the target application running in the background according to the predicted shutdown time. In this way, while improving the battery life of the electronic device, the running speed of the electronic device is also improved.

[0160] Optionally, in an embodiment of the present application, the processor 110 is specifically used to draw a first timing curve graph based on at least one historical power information and at least one historical timing information, wherein the first timing curve graph is used to indicate the predicted power usage of the target application and the predicted timing information corresponding to the predicted power usage; and determine at least one of the startup time and the shutdown time of the target application based on the first timing curve graph.

[0161] Optionally, in an embodiment of the present application, the processor 110 is specifically used to draw a second timing curve graph based on at least one historical power information and at least one historical timing information, where the second timing curve graph is used to indicate the historical power usage of the target application and the historical timing information corresponding to the historical power usage; based on the second timing curve graph, predict at least one target power information and at least one target timing information, each target power information is used to indicate the predicted power usage of the target application at a target timing information; and draw a first timing curve graph based on at least one target power information and at least one target timing information.

[0162] Optionally, in an embodiment of the present application, the processor 110 is specifically used to determine at least one first time period and at least one second time period of the target application based on at least one target power information and at least one target timing information, the at least one first time period being at least one usage time period of the target application, and the at least one second time period being at least one background running time period of the target application; and determine at least one of the startup time and the shutdown time of the target application based on at least one first time period and at least one second time period.

[0163] Optionally, in an embodiment of the present application, the processor 110 is specifically configured to pre-start a target application when the system time of the electronic device reaches a moment of a preset time length before at least one first time period.

[0164] Optionally, in an embodiment of the present application, the processor 110 is specifically configured to stop running the target application when the system time of the electronic device reaches a moment of a preset time length after at least one second time period.

[0165] Optionally, in an embodiment of the present application, the processor 110 is further used to display at least one first application icon in the first window after running the target application, and the at least one first application icon is an icon of at least one application in the same startup time as the target application.

[0166] Optionally, in an embodiment of the present application, the processor 110 is specifically used to obtain type information of the target application; and based on the type information of the target application, display at least one second application icon in the first window, and the at least one second application icon is at least one application that matches the type information of the target application and is in the same startup time as the target application.

[0167] Optionally, in an embodiment of the present application, the processor 110 is further used to close the target application after running the target application if no user input to the target application icon is received within a third time period, and the third time period is the time period between the start time of the target application and the close time of the target application.

[0168] Optionally, in an embodiment of the present application, the processor 110 is further used to update the first timing curve graph according to the first timing information and the first power information after determining at least one of the startup time and the shutdown time of the target application based on at least one historical power information and at least one historical timing information, when a first input from the user to the icon of the target application is received within a fourth time period; wherein the first input is used to instruct the electronic device to adjust at least one of the shutdown time and the startup time of the target application, the fourth time period is a time period in which the target application is not started, the first timing information is the usage timing information of the target application after receiving the first input from the user to the icon of the target application, and the first power information is the usage power information of the target application after receiving the first input from the user to the icon of the target application.

[0169] Optionally, in an embodiment of the present application, the user input unit 107 is used to receive a second input from the user while displaying a setting interface after determining at least one of the startup time and the shutdown time of the target application based on at least one historical power information and at least one historical timing information, and the setting interface includes a first timing curve graph, and the second input is the user's input to the first timing curve graph; the processor 110 is also used to update the first timing curve graph in response to the second input, and determine at least one of the startup time and the shutdown time of the target application based on the updated first timing curve graph.

[0170] Optionally, in an embodiment of the present application, the processor 110 is specifically configured to obtain stop position information of the second input; and adjust at least one of the start time or the close time of the target application according to the moment corresponding to the stop position information.

[0171] Optionally, in an embodiment of the present application, the above-mentioned setting interface includes a second control; the user input unit 107 is specifically used to receive a third input from the user to the second control. The display unit 106 is specifically used to display at least two identifiers in the first timing curve graph in response to the third input, and the at least two identifiers are used to indicate at least one startup time and at least one shutdown time in the first timing curve graph. The user input unit 107 is also used to receive a fourth input from the user to a target identifier in at least one identifier; the processor 110 is specifically used to adjust at least one of the startup time or shutdown time of the target application in response to the fourth input.

[0172] The electronic device provided in the embodiment of the present application can implement each process implemented in the above method embodiment and can achieve the same technical effect. To avoid repetition, it will not be described here.

[0173] The beneficial effects of various implementations in this embodiment can be specifically referred to the beneficial effects of the corresponding implementations in the above method embodiment. To avoid repetition, they will not be described again here.

[0174] It should be understood that in the embodiment of the present application, the input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 107 includes a touch panel 1071 and at least one of other input devices 1072. The touch panel 1071 is also called a touch screen. The touch panel 1071 may include two parts: a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0175] The memory 109 can be used to store software programs and various data. The memory 109 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 109 may include a volatile memory or a non-volatile memory, or the memory 109 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 109 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0176] The processor 110 may include one or more processing units; optionally, the processor 110 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 110.

[0177] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0178] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.

[0179] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0180] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0181] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned application startup method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0182] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0183] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0184] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. An application control method, characterized in that: The method comprises: Acquire at least one historical power information and at least one historical time series information of a target application, each historical power information is used to indicate a historical power usage of the target application on a historical time series information; Determine at least one of a start time and a shutdown time of the target application according to the at least one historical power information and the at least one historical timing information; When the system time of the electronic device reaches the start time of the target application, running the target application; When the system time of the electronic device reaches the shutdown time of the target application, stopping the target application; The determining at least one of the start time and the shutdown time of the target application according to the at least one historical power information and the at least one historical time sequence information comprises: Determine, according to the at least one target power information and the at least one target timing information, at least one first time period and at least one second time period of the target application, wherein the at least one first time period is at least one usage time period of the target application, and the at least one second time period is at least one background running time period of the target application; At least one of a start-up time and a close-down time of the target application is determined according to the at least one first time period and the at least one second time period.

2. The method according to claim 1, characterized in that The determining at least one of the start time and the shutdown time of the target application according to the at least one historical power information and the at least one historical time sequence information comprises: Draw a first timing curve graph according to the at least one historical power information and the at least one historical timing information, wherein the first timing curve graph is used to indicate the predicted power usage of the target application and the predicted timing information corresponding to the predicted power usage; At least one of a startup time and a shutdown time of the target application is determined according to the first timing curve diagram.

3. The method according to claim 2, characterized in that The step of drawing a first timing curve graph according to the at least one historical power information and the at least one historical timing information includes: Draw a second timing curve graph according to the at least one historical power information and the at least one historical timing information, wherein the second timing curve graph is used to indicate the historical power usage of the target application and the historical timing information corresponding to the historical power usage; According to the second timing curve diagram, predict at least one target power information and at least one target timing information, each target power information is used to indicate the predicted power usage of the target application on a target timing information; The first timing curve graph is drawn according to the at least one target power information and the at least one target timing information.

4. The method according to claim 1, characterized in that: The step of running the target application when the system time of the electronic device reaches the start time of the target application includes: When the system time of the electronic device reaches a moment of a preset time period before the at least one first time period, the target application is pre-started.

5. The method according to claim 1, characterized in that When the system time of the electronic device reaches the shutdown time of the target application, stopping the target application includes: When the system time of the electronic device reaches a preset time period after the at least one second time period, the target application is stopped.

6. The method according to claim 1, characterized in that After running the target application, the method further includes: At least one first application icon is displayed in the first window, where the at least one first application icon is an icon of at least one application that is in the same startup time as the target application.

7. The method according to claim 6, characterized in that The displaying at least one application icon in the first window includes: Obtaining type information of the target application; At least one second application icon is displayed in the first window according to the type information of the target application, and the at least one second application icon is at least one application that matches the type information of the target application and is in the same startup time as the target application.

8. The method according to claim 1, characterized in that: After running the target application, the method further includes: If no user input to the icon of the target application is received within a third time period, the target application is closed, and the third time period is a time period between the start time of the target application and the close time of the target application.

9. The method according to claim 2, characterized in that: After determining at least one of the start-up time and the shutdown time of the target application according to the at least one historical power information and the at least one historical time sequence information, the method further includes: When a first input to the icon of the target application is received from the user within a fourth time period, updating the first timing curve graph according to the first timing information and the first power information; Among them, the first input is used to instruct the electronic device to adjust at least one of the closing time and the starting time of the target application, the fourth time period is the time period when the target application is not started, the first timing information is the usage timing information of the target application after receiving the user's first input to the icon of the target application, and the first power information is the power usage information of the target application after receiving the user's first input to the icon of the target application.

10. The method according to claim 1, characterized in that After determining at least one of the start-up time and the shutdown time of the target application according to the at least one historical power information and the at least one historical time sequence information, the method further includes: In the case of displaying a setting interface, receiving a second input from a user, wherein the setting interface includes a first timing curve graph, and the second input is an input of the user to the first timing curve graph; In response to the second input, the first timing graph is updated, and at least one of a startup time and a shutdown time of the target application is determined based on the updated first timing graph.

11. The method according to claim 10, characterized in that The updating of the first timing curve diagram comprises: Acquire stop position information of the second input; At least one of the start time or the close time of the target application is adjusted according to the time corresponding to the stop position information.

12. The method according to claim 10, characterized in that The setting interface includes a second control; and the updating of the first timing curve graph includes: receiving a third input from the user to the second control; In response to the third input, displaying at least two identifiers in the first timing curve graph, the at least two identifiers being used to indicate at least one start time and at least one shut down time in the first timing curve graph; receiving a fourth input of a target identifier among the at least one identifier by a user; In response to the fourth input, at least one of a startup time or a shutdown time of the target application is adjusted.

13. An application control device, characterized in that: The application control device comprises: an acquisition module, a determination module, a start module and a close module; The acquisition module is used to acquire at least one historical power information and at least one historical time series information of the target application, each historical power information is used to indicate the historical power usage of the target application on a historical time series information; The determination module is used to determine at least one of the start time and the shutdown time of the target application according to the at least one historical power information and the at least one historical time sequence information; The startup module is used to run the target application when the system time of the electronic device reaches the startup time of the target application; The closing module is used to stop the target application when the system time of the electronic device reaches the closing time of the target application; The determination module is specifically configured to determine at least one first time period and at least one second time period of the target application according to the at least one target power information and the at least one target timing information, wherein the at least one first time period is at least one usage time period of the target application, and the at least one second time period is at least one background running time period of the target application; At least one of a start-up time and a close-down time of the target application is determined according to the at least one first time period and the at least one second time period.

14. An electronic device, characterized in that: It comprises a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the application control method as claimed in any one of claims 1 to 12.