Application alignment wake-up control method and device, storage medium and electronic equipment
By calculating the wake-up level of candidate applications and combining the linear interval coefficient of the device usage state, linear calculations are performed to obtain the target wake-up alignment time, which solves the problem of unreasonable wake-up alignment time in the prior art, and improves the rationality and user experience of the application alignment awakening.
Patent Information
- Application Number
- CN202411571831.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-06
- Publication Date
- 2025-03-18
AI Technical Summary
In the prior art, the application of the alignment wake-up mechanism is prone to the problem of the wake-up alignment time being too long or too short, resulting in a sudden increase in the power consumption index of the device and a poor user experience.
By determining candidate applications that meet the application wake-up alignment conditions, calculating their wake-up level, and performing linear calculations based on the linear interval coefficient of the device's usage state and the pre-wake-up alignment time to obtain the target wake-up alignment time to reasonably wake up the candidate applications.
It effectively improves the rationality of application alignment wake-up, which not only ensures power saving effect, but also does not delay the application's wake-up needs, thereby improving the user experience.
Smart Images

Figure CN119645500A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of software technology, and in particular to an application alignment wake-up control method, device, storage medium and electronic device. Background Art
[0002] At present, for devices such as smartphones, various applications in the device usually have a wake-up demand, and the device will wake up various applications at irregular intervals to perform network message detection, data exchange, etc. However, the irregular wake-up of a large number of applications leads to a sharp increase in the power consumption index of the device.
[0003] Therefore, a wake-up alignment mechanism is usually used to align applications to a new wake-up alignment time for wake-up. However, the current wake-up alignment mechanism is prone to unreasonable situations where the wake-up alignment time is too long or too short. For example, although a long wake-up alignment time has a better power saving effect, it also means that the application's wake-up requirements for network detection, data exchange, etc. cannot be responded to for a longer period of time.
[0004] Therefore, the current application alignment wakeup method has the problem of unreasonable application alignment wakeup, and the user experience is poor. Summary of the invention
[0005] The embodiment of the present application provides an application alignment wake-up control solution, which can effectively improve the rationality of application alignment wake-up and enhance user experience.
[0006] The embodiments of the present application provide the following technical solutions:
[0007] According to one embodiment of the present application, an application alignment wake-up control method includes: determining candidate applications that meet application wake-up alignment conditions, and calculating the wake-up level of the candidate applications based on multi-dimensional reference data corresponding to the candidate applications; detecting the device usage status, and determining the linear interval coefficient corresponding to the device usage status; performing a pre-wake-up alignment time calculation based on the trigger time of the application wake-up alignment condition and the specified wake-up interval of the candidate application to obtain the pre-wake-up alignment time; performing a linear calculation based on the wake-up level, the linear interval coefficient, and the pre-wake-up alignment time to obtain the target wake-up alignment time of the candidate application, so as to wake up the candidate application at the target wake-up alignment time.
[0008] In some embodiments of the present application, the calculation of the wake-up level of the candidate application based on the multi-dimensional reference data corresponding to the candidate application includes: obtaining the multi-dimensional reference data corresponding to the candidate application, and determining the multi-dimensional reference level corresponding to the multi-dimensional reference data; performing weighted average calculation based on the multi-dimensional reference level and the multi-dimensional weight coefficient to obtain the wake-up level of the candidate application.
[0009] In some embodiments of the present application, obtaining multidimensional reference data corresponding to the candidate application and determining the multidimensional reference level corresponding to the multidimensional reference data includes: obtaining the application type, usage frequency and device temperature corresponding to the candidate application; determining the multidimensional reference level based on the application type, usage frequency and device temperature corresponding to the candidate application, the multidimensional reference level including the application type level, usage frequency level and device temperature level.
[0010] In some embodiments of the present application, the linear calculation is performed according to the wake-up level, the linear interval coefficient and the pre-wake-up alignment time to obtain the target wake-up alignment time of the candidate application, including: calculating the target wake-up alignment time of the candidate application according to the formula y=f(x)=a(x-1)+b, wherein y refers to the target wake-up alignment time, x refers to the wake-up level, a refers to the linear interval coefficient, and b refers to the pre-wake-up alignment time.
[0011] In some embodiments of the present application, determining the linear interval coefficient corresponding to the device usage status includes: if the device usage status is the screen on, determining that the linear interval coefficient is equal to a first value; if the device usage status is the screen off, determining that the linear interval coefficient is equal to a second value, and the first value is less than the second value.
[0012] In some embodiments of the present application, the pre-wake-up alignment time is calculated according to the trigger time of the application wake-up alignment condition and the specified wake-up interval of the candidate application to obtain the pre-wake-up alignment time, including: calculating the pre-wake-up alignment time according to the formula b=c+j*(c / j), wherein b refers to the pre-wake-up alignment time, c refers to the trigger time, and j refers to the specified wake-up interval.
[0013] In some embodiments of the present application, the determination of candidate applications that meet the application wake-up alignment conditions includes one of the following methods: when a new application wake-up event is detected, the application corresponding to the new application wake-up event is determined as a candidate application that meets the application wake-up alignment conditions; when the detected device turns on or off the screen, non-system applications, non-whitelist applications, non-applications with precise alarm permissions, and non-foreground applications in the device are detected, and the detected applications are determined as candidate applications that meet the application wake-up alignment conditions.
[0014] According to one embodiment of the present application, an application alignment wake-up control device includes: a level determination module, used to: determine candidate applications that meet the application wake-up alignment conditions, and calculate the wake-up level of the candidate applications based on the multi-dimensional reference data corresponding to the candidate applications; a coefficient determination module, used to: detect the device usage status, and determine the linear interval coefficient corresponding to the device usage status; a pre-calculation module, used to: perform pre-wake-up alignment time calculation according to the trigger time of the application wake-up alignment condition and the specified wake-up interval of the candidate application to obtain the pre-wake-up alignment time; a comprehensive calculation module, used to: perform linear calculation according to the wake-up level, the linear interval coefficient and the pre-wake-up alignment time to obtain the target wake-up alignment time of the candidate application, so as to wake up the candidate application at the target wake-up alignment time.
[0015] In some embodiments of the present application, the level determination module is used to: obtain multidimensional reference data corresponding to the candidate application, and determine the multidimensional reference level corresponding to the multidimensional reference data; perform weighted average calculation based on the multidimensional reference level and the multidimensional weight coefficient to obtain the wake-up level of the candidate application.
[0016] In some embodiments of the present application, the level determination module is used to: obtain the application type, usage frequency and device temperature corresponding to the candidate application; determine the multi-dimensional reference level according to the application type, usage frequency and device temperature corresponding to the candidate application, and the multi-dimensional reference level includes the application type level, usage frequency level and device temperature level.
[0017] In some embodiments of the present application, the comprehensive calculation module is used to: calculate the target wake-up alignment time of the candidate application according to the formula y=f(x)=a(x-1)+b, wherein y refers to the target wake-up alignment time, x refers to the wake-up level, a refers to the linear interval coefficient, and b refers to the pre-wake-up alignment time.
[0018] In some embodiments of the present application, the coefficient determination module is used to: if the device is in a screen-on state, determine that the linear interval coefficient is equal to a first value; if the device is in a screen-off state, determine that the linear interval coefficient is equal to a second value, and the first value is smaller than the second value.
[0019] In some embodiments of the present application, the pre-calculation module is used to: calculate the pre-wake-up alignment time according to the formula b=c+j*(c / j), where b refers to the pre-wake-up alignment time, c refers to the trigger time, and j refers to the specified wake-up interval.
[0020] In some embodiments of the present application, the level determination module is used to implement one of the following methods: when a new application wake-up event is detected, the application corresponding to the new application wake-up event is determined as a candidate application that meets the application wake-up alignment conditions; when the detected device turns on or off the screen, non-system applications, non-whitelist applications, non-precise alarm permission applications, and non-foreground applications in the device are detected, and the detected application is determined as a candidate application that meets the application wake-up alignment conditions.
[0021] According to another embodiment of the present application, a storage medium stores a computer program thereon, and when the computer program is executed by a processor of a computer, the computer executes the method described in the embodiment of the present application.
[0022] According to another embodiment of the present application, an electronic device may include: a memory storing a computer program; and a processor reading the computer program stored in the memory to execute the method described in the embodiment of the present application.
[0023] According to another embodiment of the present application, a computer program product or a computer program includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the method provided in various optional implementations described in the embodiments of the present application.
[0024] In an embodiment of the present application, candidate applications that meet the application wake-up alignment conditions are determined, and the wake-up level of the candidate applications is calculated based on the multi-dimensional reference data corresponding to the candidate applications; the device usage status is detected, and the linear interval coefficient corresponding to the device usage status is determined; the pre-wake-up alignment time is calculated based on the trigger time of the application wake-up alignment condition and the specified wake-up interval of the candidate application to obtain the pre-wake-up alignment time; a linear calculation is performed based on the wake-up level, the linear interval coefficient, and the pre-wake-up alignment time to obtain the target wake-up alignment time of the candidate application, so as to wake up the candidate application at the target wake-up alignment time.
[0025] In this way, the wake-up level of the candidate application is calculated according to the multi-dimensional reference data corresponding to the candidate application, the linear interval coefficient corresponding to the device usage status is determined, and the pre-wake-up alignment time is calculated through the pre-wake-up alignment time. Finally, a linear calculation is performed based on the wake-up level, the linear interval coefficient and the pre-wake-up alignment time to obtain the target wake-up alignment time of the candidate application. The target wake-up alignment time can be used to wake up the candidate application more reasonably, that is, it can ensure the power saving effect without delaying the wake-up needs of the candidate application, thereby effectively improving the rationality of application alignment wake-up and improving user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0027] Figure 1 A flowchart of an application alignment wake-up control method according to an embodiment of the present application is shown.
[0028] Figure 2 A flowchart of a wake-up level calculation according to an embodiment of the present application is shown.
[0029] Figure 3 A multi-dimensional level classification flow chart according to an embodiment of the present application is shown.
[0030] Figure 4 A block diagram of an application alignment wakeup control device according to an embodiment of the present application is shown.
[0031] Figure 5 A block diagram of an electronic device according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0032] The present disclosure is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the embodiments provided herein are only used to explain the present disclosure and are not intended to limit the present disclosure. In addition, the embodiments provided below are partial embodiments for implementing the present disclosure, rather than providing all embodiments for implementing the present disclosure. In the absence of conflict, the technical solutions recorded in the embodiments of the present disclosure can be implemented in any combination.
[0033] It should be noted that, in the embodiments of the present disclosure, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a method or apparatus including a series of elements includes not only the elements explicitly recorded, but also includes other elements not explicitly listed, or also includes elements inherent to the implementation of the method or apparatus. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the presence of other related elements in the method or apparatus including the element (such as a step in the method or a unit in the apparatus, for example, a unit may be a part of a circuit, a part of a processor, a part of a program or software, etc.).
[0034] For example, the application alignment wake-up control method provided by the embodiment of the present disclosure includes a series of steps, but the application alignment wake-up control method provided by the embodiment of the present disclosure is not limited to the recorded steps. Similarly, the application alignment wake-up control device provided by the embodiment of the present disclosure includes a series of units, but the device provided by the embodiment of the present disclosure is not limited to including the units explicitly recorded, and may also include units that need to be set to obtain relevant information or perform processing based on the information.
[0035] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present disclosure belongs. The terms used herein are only for the purpose of describing specific embodiments and are not intended to limit the present disclosure.
[0036] It is understandable that in the specific implementation of this application, relevant data is involved. When the embodiments in this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.
[0037] Figure 1 The flowchart of the application alignment wakeup control method according to an embodiment of the present application is schematically shown. The execution subject of the application alignment wakeup control method can be any device with processing capabilities, such as a TV, a computer, a mobile phone, a smart watch, and a home appliance.
[0038] like Figure 1 As shown, the application alignment wake-up control method may include steps S110 to S140.
[0039] Step S110, determine the candidate applications that meet the application wake-up alignment conditions, and calculate the wake-up level of the candidate applications based on the multi-dimensional reference data corresponding to the candidate applications; step S120, detect the device usage status, and determine the linear interval coefficient corresponding to the device usage status; step S130, perform a pre-wake-up alignment time calculation based on the trigger time of the application wake-up alignment condition and the specified wake-up interval of the candidate application to obtain the pre-wake-up alignment time; step S140, perform a linear calculation based on the wake-up level, the linear interval coefficient and the pre-wake-up alignment time to obtain the target wake-up alignment time of the candidate application, so as to wake up the candidate application at the target wake-up alignment time.
[0040] The application wake-up alignment condition is a predetermined condition for triggering the wake-up alignment setting of the application. When it is determined that there is a candidate application that meets the application wake-up alignment condition, the multi-dimensional reference data corresponding to the candidate application can be first obtained, and the wake-up level of the candidate application can be calculated based on the multi-dimensional reference data.
[0041] Furthermore, the device usage status can be detected, which may include whether the screen is on or off, and the linear interval coefficient corresponding to the device usage status can be determined. The linear interval coefficient is a coefficient that conforms to the device usage status and is used for subsequent linear calculations.
[0042] Furthermore, the pre-wake-up alignment time is calculated according to the trigger time of the application wake-up alignment condition and the specified wake-up interval of the candidate application, and the pre-wake-up alignment time can be obtained, wherein the pre-wake-up alignment time is the wake-up alignment time obtained by preliminary calculation, wherein the trigger time of the application wake-up alignment condition is the time when the device detects that the application wake-up alignment condition is met.
[0043] Finally, a linear calculation is performed by combining the wake-up level, linear interval coefficient, and pre-wake-up alignment time to obtain the target wake-up alignment time of the candidate application, so that the candidate application can be awakened at the target wake-up alignment time. Among them, the linear calculation using the linear interval coefficient can make the original candidate applications with different wake-up times calculate the same target wake-up alignment time as much as possible, so that they are awakened at the same time, avoiding the high power consumption behavior of awakening multiple times at different times.
[0044] In this way, the wake-up level of the candidate application is calculated according to the multi-dimensional reference data corresponding to the candidate application, the linear interval coefficient corresponding to the device usage status is determined, and the pre-wake-up alignment time is calculated through the pre-wake-up alignment time. Finally, a linear calculation is performed based on the wake-up level, the linear interval coefficient and the pre-wake-up alignment time to obtain the target wake-up alignment time of the candidate application. The target wake-up alignment time can be used to wake up the candidate application more reasonably, that is, it can ensure the power saving effect without delaying the wake-up needs of the candidate application, thereby effectively improving the rationality of application alignment wake-up and improving user experience.
[0045] Described below Figure 1 When performing application alignment wake-up control under the embodiment, further optional specific embodiments are provided for each step performed.
[0046] In one embodiment, determining the candidate application that meets the application wake-up alignment condition includes one of the following methods:
[0047] First, when a new application wake-up event is detected, the application corresponding to the new application wake-up event is determined as a candidate application that meets the application wake-up alignment condition;
[0048] The second method is to detect non-system applications, non-whitelist applications, non-applications with precise alarm permissions, and non-foreground applications in the device when the detected device turns on or off the screen, and determine the detected applications as candidate applications that meet the application wake-up alignment conditions.
[0049] In the first method, the user or the system can set a wake-up event for a certain application (i.e., set when to wake up the certain application). When a new application wake-up event is detected in the device, the application corresponding to the new application wake-up event is determined as a candidate application that meets the application wake-up alignment conditions. Thus, the application of each new application wake-up event can be wake-up time aligned based on the method in the embodiment of the present application.
[0050] In the second method, when the detected device turns the screen on or off, non-system applications, non-whitelist applications, non-applications with precise alarm permission, and non-foreground applications in the device are detected, and the detected applications are determined as candidate applications that meet the application wake-up alignment conditions. That is, "non-system applications, non-whitelist applications, non-applications with precise alarm permission, and non-foreground applications" included in the device are determined as candidate applications. Wake-up event alignment is performed based on the method in the embodiment of the present application, and the wake-up time alignment of applications in the device can be reliably performed according to the screen-on or screen-off operation.
[0051] In one embodiment, see Figure 2 , the step of calculating the wake-up level of the candidate application based on the multi-dimensional reference data corresponding to the candidate application may include: step S210, obtaining the multi-dimensional reference data corresponding to the candidate application, and determining the multi-dimensional reference level corresponding to the multi-dimensional reference data; step S220, performing weighted average calculation based on the multi-dimensional reference level and the multi-dimensional weight coefficient to obtain the wake-up level of the candidate application.
[0052] When determining a candidate application that meets the application wake-up alignment condition, obtain multi-dimensional reference data corresponding to the candidate application, the multi-dimensional reference data includes reference data of multiple dimensions, and determine the level corresponding to the data of each dimension in the multi-dimensional reference data, so as to obtain a multi-dimensional reference level. Then, obtain the weight coefficients of the multiple dimensions to obtain the multi-dimensional weight coefficients.
[0053] A weighted average calculation is performed based on the multi-dimensional reference levels and the multi-dimensional weight coefficients, and the weighted average calculated is used as the wake-up level of the candidate application. Therefore, the wake-up level takes into account the reference data of multiple dimensions of the candidate application, and further considers the weights of different dimensions for the reference data of these multiple dimensions. The wake-up level can effectively reflect the wake-up importance of the candidate application.
[0054] For further information, see Figure 3, the obtaining of multidimensional reference data corresponding to the candidate application and determining the multidimensional reference level corresponding to the multidimensional reference data may specifically include: step S310, obtaining the application type, usage frequency and device temperature corresponding to the candidate application; step S320, determining the multidimensional reference level according to the application type, usage frequency and device temperature corresponding to the candidate application, the multidimensional reference level including the application type level, usage frequency level and device temperature level.
[0055] In this embodiment, the multi-dimensional reference data specifically includes application type, usage frequency and device temperature. The application type is the classification of the candidate application, the usage frequency is the frequency of use of the candidate application in a certain period of time in the past, and the device temperature is the temperature of the device when determining the candidate application.
[0056] Furthermore, the application type level corresponding to the application type can be determined by referring to the application type level classification table, the usage frequency level corresponding to the usage frequency can be determined by referring to the application usage frequency level classification table, and the device temperature level corresponding to the device temperature can be determined by referring to the device temperature level classification table.
[0057] By comprehensively considering the reference data of the three dimensions of application type, usage frequency and device temperature, the wake-up level of the candidate application can be accurately calculated. Moreover, the wake-up level is used to calculate the target wake-up alignment time, which can further effectively ensure the rationality of the target wake-up alignment time.
[0058] In one example, the application type classification table is shown in the following table, wherein the application type classification table includes seven types, namely, important applications, daily applications, TOP applications, game applications, general applications, and blacklist applications, and the application type level corresponding to each type. It can be understood that other types can be divided in the application type classification table according to actual conditions.
[0059]
[0060]
[0061] In one example, the application usage frequency level classification table is shown in the following table, wherein the application usage frequency level classification table of this example includes 5 frequency ranges (unit: day / time) of 0-5, 6-10, 11--20, 21+ and the usage frequency level corresponding to each frequency range.
[0062]
[0063] In one example, the equipment temperature level classification table is shown in the following table, wherein the equipment temperature level classification table of this example includes 5 temperature ranges of 0-35, 36-50, 51-60, and 61+, and the equipment temperature level corresponding to each temperature range.
[0064]
[0065] Furthermore, in an example, the multi-dimensional reference data specifically includes application type, usage frequency and device temperature, and correspondingly, the multi-dimensional weight coefficients respectively include application type weight coefficient, usage frequency weight coefficient and device temperature weight coefficient. Thus, a weighted average calculation is performed based on the application type level A, usage frequency level B, device temperature level C, application type weight coefficient U, usage frequency weight coefficient V and device temperature weight coefficient W to obtain the wake-up level x of the candidate application, which can be specifically calculated according to the formula x = (W*C+V*B+U*A) / (U+W+V). Furthermore, in an example, the application type weight coefficient U, usage frequency weight coefficient V and device temperature weight coefficient W increase in sequence.
[0066] Furthermore, in one embodiment, determining the linear interval coefficient corresponding to the device usage status includes: if the device usage status is the screen on, determining that the linear interval coefficient is equal to a first value; if the device usage status is the screen off, determining that the linear interval coefficient is equal to a second value, and the first value is less than the second value.
[0067] For example, if the device is in the screen-on state, the linear interval coefficient is equal to the first value of 3 minutes. If the device is in the screen-off state, the linear interval coefficient is equal to the second value of 5 minutes. In this way, a more reasonable target wake-up alignment time can be set when the device is in the screen-off state and the screen-on state respectively.
[0068] In one embodiment, the pre-wake-up alignment time is calculated according to the trigger time of the application wake-up alignment condition and the specified wake-up interval of the candidate application to obtain the pre-wake-up alignment time, including: calculating the pre-wake-up alignment time according to the formula b=c+j*(c / j), wherein b refers to the pre-wake-up alignment time, c refers to the trigger time, and j refers to the specified wake-up interval.
[0069] The trigger time may specifically be the time when the candidate application is determined to meet the application wake-up alignment conditions, or the trigger time may specifically be the time when the pre-wake-up alignment time is started to be calculated. The specified wake-up interval is the preset wake-up interval of the candidate application. The pre-wake-up alignment time can be rounded off and calculated according to the formula b=c+j*(c / j). In some scenarios, the pre-wake-up alignment time can be directly determined as the target wake-up alignment time of the candidate application.
[0070] In one embodiment, performing a linear calculation based on the wake-up level, the linear interval coefficient, and the pre-wake-up alignment time to obtain the target wake-up alignment time of the candidate application may include: calculating the target wake-up alignment time of the candidate application according to the formula y=f(x)=a(x-1)+b, wherein y refers to the target wake-up alignment time, x refers to the wake-up level, a refers to the linear interval coefficient, and b refers to the pre-wake-up alignment time.
[0071] According to the formula y=f(x)=a(x-1)+b, the wake-up level, the linear interval coefficient and the pre-wake-up alignment time can be accurately combined to perform linear calculation, and a reasonable target wake-up alignment time can be calculated, thereby further effectively ensuring the rationality of the wake-up alignment.
[0072] It is understandable that in other embodiments, a linear calculation may be performed based on other linear functions in combination with the wake-up level, the linear interval coefficient, and the pre-wake-up alignment time to obtain the target wake-up alignment time of the candidate application.
[0073] In order to facilitate better implementation of the application alignment wakeup control method provided in the embodiment of the present application, the embodiment of the present application also provides an application alignment wakeup control device based on the above application alignment wakeup control method. The meanings of the terms are the same as those in the above application alignment wakeup control method, and the specific implementation details can refer to the description in the method embodiment. Figure 4 A block diagram of an application alignment wakeup control device according to an embodiment of the present application is shown.
[0074] like Figure 4 As shown, the application alignment wake-up control device 400 may include: a level determination module 410 can be used to: determine candidate applications that meet the application wake-up alignment conditions, and calculate the wake-up level of the candidate applications based on the multi-dimensional reference data corresponding to the candidate applications; a coefficient determination module 420 can be used to: detect the device usage status, and determine the linear interval coefficient corresponding to the device usage status; a pre-calculation module 430 can be used to: perform pre-wake-up alignment time calculation according to the trigger time of the application wake-up alignment condition and the specified wake-up interval of the candidate application to obtain the pre-wake-up alignment time; a comprehensive calculation module 440 can be used to: perform linear calculation according to the wake-up level, the linear interval coefficient and the pre-wake-up alignment time to obtain the target wake-up alignment time of the candidate application, so as to wake up the candidate application at the target wake-up alignment time.
[0075] In some embodiments of the present application, the level determination module is used to: obtain multidimensional reference data corresponding to the candidate application, and determine the multidimensional reference level corresponding to the multidimensional reference data; perform weighted average calculation based on the multidimensional reference level and the multidimensional weight coefficient to obtain the wake-up level of the candidate application.
[0076] In some embodiments of the present application, the level determination module is used to: obtain the application type, usage frequency and device temperature corresponding to the candidate application; determine the multi-dimensional reference level according to the application type, usage frequency and device temperature corresponding to the candidate application, and the multi-dimensional reference level includes the application type level, usage frequency level and device temperature level.
[0077] In some embodiments of the present application, the comprehensive calculation module is used to: calculate the target wake-up alignment time of the candidate application according to the formula y=f(x)=a(x-1)+b, wherein y refers to the target wake-up alignment time, x refers to the wake-up level, a refers to the linear interval coefficient, and b refers to the pre-wake-up alignment time.
[0078] In some embodiments of the present application, the coefficient determination module is used to: if the device is in a screen-on state, determine that the linear interval coefficient is equal to a first value; if the device is in a screen-off state, determine that the linear interval coefficient is equal to a second value, and the first value is smaller than the second value.
[0079] In some embodiments of the present application, the pre-calculation module is used to: calculate the pre-wake-up alignment time according to the formula b=c+j*(c / j), where b refers to the pre-wake-up alignment time, c refers to the trigger time, and j refers to the specified wake-up interval.
[0080] In some embodiments of the present application, the level determination module is used to implement one of the following methods: when a new application wake-up event is detected, the application corresponding to the new application wake-up event is determined as a candidate application that meets the application wake-up alignment conditions; when the detected device turns on or off the screen, non-system applications, non-whitelist applications, non-precise alarm permission applications, and non-foreground applications in the device are detected, and the detected application is determined as a candidate application that meets the application wake-up alignment conditions.
[0081] It should be noted that, although several modules or units of the equipment for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being embodied by multiple modules or units.
[0082] In addition, the present application also provides an electronic device, such as Figure 5 As shown, Figure 5 A block diagram of an electronic device according to an embodiment of the present application is shown, specifically:
[0083] The electronic device may include components such as a processor 501 with one or more processing cores, a memory 502 with one or more computer-readable storage media, a power supply 503, and an input unit 504. Those skilled in the art will appreciate that Figure 5 The electronic device structure shown in the figure does not constitute a limitation of the electronic device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0084] in:
[0085] The processor 501 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire computer device. By running or executing software programs and / or modules stored in the memory 502 and calling data stored in the memory 502, it executes various functions of the computer device and processes data, thereby monitoring the electronic device as a whole. Optionally, the processor 501 may include one or more processing cores; preferably, the processor 501 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user pages and application programs, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 501.
[0086] The memory 502 can be used to store software programs and modules. The processor 501 executes various functional applications and data processing by running the software programs and modules stored in the memory 502. The memory 502 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 502 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 502 may also include a memory controller to provide the processor 501 with access to the memory 502.
[0087] The electronic device also includes a power supply 503 for supplying power to each component. Preferably, the power supply 503 can be logically connected to the processor 501 through a power management system, so as to manage charging, discharging, power consumption and other functions through the power management system. The power supply 503 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators and other arbitrary components.
[0088] The electronic device may further include an input unit 504, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
[0089] Although not shown, the electronic device may further include a display unit, etc., which will not be described in detail herein. Specifically in this embodiment, the processor 501 in the electronic device will load the executable files corresponding to the processes of one or more computer programs into the memory 502 according to the following instructions, and the processor 501 will run the computer program stored in the memory 502, thereby realizing various functions in the aforementioned embodiments of the present application, such as the processor 501 may perform the following steps:
[0090] Determine candidate applications that meet the application wake-up alignment conditions, and calculate the wake-up level of the candidate applications based on the multi-dimensional reference data corresponding to the candidate applications; detect the device usage status, and determine the linear interval coefficient corresponding to the device usage status; perform pre-wake-up alignment time calculation based on the trigger time of the application wake-up alignment conditions and the specified wake-up interval of the candidate application to obtain the pre-wake-up alignment time; perform linear calculation based on the wake-up level, the linear interval coefficient and the pre-wake-up alignment time to obtain the target wake-up alignment time of the candidate application, so as to wake up the candidate application at the target wake-up alignment time.
[0091] In some embodiments of the present application, the calculation of the wake-up level of the candidate application based on the multi-dimensional reference data corresponding to the candidate application includes: obtaining the multi-dimensional reference data corresponding to the candidate application, and determining the multi-dimensional reference level corresponding to the multi-dimensional reference data; performing weighted average calculation based on the multi-dimensional reference level and the multi-dimensional weight coefficient to obtain the wake-up level of the candidate application.
[0092] In some embodiments of the present application, obtaining multidimensional reference data corresponding to the candidate application and determining the multidimensional reference level corresponding to the multidimensional reference data includes: obtaining the application type, usage frequency and device temperature corresponding to the candidate application; determining the multidimensional reference level based on the application type, usage frequency and device temperature corresponding to the candidate application, the multidimensional reference level including the application type level, usage frequency level and device temperature level.
[0093] In some embodiments of the present application, the linear calculation is performed according to the wake-up level, the linear interval coefficient and the pre-wake-up alignment time to obtain the target wake-up alignment time of the candidate application, including: calculating the target wake-up alignment time of the candidate application according to the formula y=f(x)=a(x-1)+b, wherein y refers to the target wake-up alignment time, x refers to the wake-up level, a refers to the linear interval coefficient, and b refers to the pre-wake-up alignment time.
[0094] In some embodiments of the present application, determining the linear interval coefficient corresponding to the device usage status includes: if the device usage status is the screen on, determining that the linear interval coefficient is equal to a first value; if the device usage status is the screen off, determining that the linear interval coefficient is equal to a second value, and the first value is less than the second value.
[0095] In some embodiments of the present application, the pre-wake-up alignment time is calculated according to the trigger time of the application wake-up alignment condition and the specified wake-up interval of the candidate application to obtain the pre-wake-up alignment time, including: calculating the pre-wake-up alignment time according to the formula b=c+j*(c / j), wherein b refers to the pre-wake-up alignment time, c refers to the trigger time, and j refers to the specified wake-up interval.
[0096] In some embodiments of the present application, the determination of candidate applications that meet the application wake-up alignment conditions includes one of the following methods: when a new application wake-up event is detected, the application corresponding to the new application wake-up event is determined as a candidate application that meets the application wake-up alignment conditions; when the detected device turns on or off the screen, non-system applications, non-whitelist applications, non-applications with precise alarm permissions, and non-foreground applications in the device are detected, and the detected applications are determined as candidate applications that meet the application wake-up alignment conditions.
[0097] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by a computer program, or by controlling related hardware through a computer program. The computer program may be stored in a computer-readable storage medium and loaded and executed by a processor.
[0098] To this end, an embodiment of the present application further provides a storage medium, in which a computer program is stored. The computer program can be loaded by a processor to execute the steps in any method provided in the embodiment of the present application.
[0099] The storage medium may be a computer-readable storage medium, and the storage medium may include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.
[0100] Since the computer program stored in the storage medium can execute the steps in any method provided in the embodiments of the present application, the beneficial effects that can be achieved by the method provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.
[0101] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the embodiments disclosed herein. The present application is intended to cover any variations, uses or adaptations of the present application, which follow the general principles of the present application and include common knowledge or customary technical means in the art that are not disclosed in the present application.
[0102] It should be understood that the present application is not limited to the embodiments that have been described above and shown in the accompanying drawings, but various modifications and changes may be made without departing from the scope thereof.
Claims
1. An application alignment wake-up control method, characterized in that: include: Determine a candidate application that meets the application wake-up alignment condition, and calculate the wake-up level of the candidate application according to the multi-dimensional reference data corresponding to the candidate application; Detecting a device usage state and determining a linear interval coefficient corresponding to the device usage state; Calculate the pre-wake-up alignment time according to the trigger time of the application wake-up alignment condition and the specified wake-up interval of the candidate application to obtain the pre-wake-up alignment time; A linear calculation is performed according to the wake-up level, the linear interval coefficient, and the pre-wake-up alignment time to obtain a target wake-up alignment time of the candidate application, so as to wake up the candidate application at the target wake-up alignment time.
2. The method according to claim 1, characterized in that The calculating the wake-up level of the candidate application according to the multi-dimensional reference data corresponding to the candidate application includes: Acquire multidimensional reference data corresponding to the candidate application, and determine a multidimensional reference level corresponding to the multidimensional reference data; A weighted average calculation is performed according to the multi-dimensional reference level and the multi-dimensional weight coefficient to obtain the wake-up level of the candidate application.
3. The method according to claim 2, characterized in that The acquiring the multi-dimensional reference data corresponding to the candidate application and determining the multi-dimensional reference level corresponding to the multi-dimensional reference data includes: Obtaining application type, usage frequency, and device temperature corresponding to the candidate application; The multi-dimensional reference level is determined according to the application type, usage frequency and device temperature corresponding to the candidate application, and the multi-dimensional reference level includes an application type level, a usage frequency level and a device temperature level.
4. The method according to claim 1, characterized in that: The performing linear calculation according to the wake-up level, the linear interval coefficient, and the pre-wake-up alignment time to obtain the target wake-up alignment time of the candidate application includes: The target wake-up alignment time of the candidate application is calculated according to the formula y=f(x)=a(x-1)+b, wherein y refers to the target wake-up alignment time, x refers to the wake-up level, a refers to the linear interval coefficient, and b refers to the pre-wake-up alignment time.
5. The method according to claim 1, characterized in that The determining of the linear interval coefficient corresponding to the device usage state includes: If the device usage state is a bright screen, determining that the linear interval coefficient is equal to a first value; If the device usage status is screen off, it is determined that the linear interval coefficient is equal to a second value, and the first value is smaller than the second value.
6. The method according to claim 1, characterized in that The calculating the pre-wake-up alignment time according to the triggering time of the application wake-up alignment condition and the specified wake-up interval of the candidate application to obtain the pre-wake-up alignment time includes: The pre-wake-up alignment time is calculated according to the formula b=c+j*(c / j), wherein b refers to the pre-wake-up alignment time, c refers to the trigger time, and j refers to the specified wake-up interval.
7. The method according to claim 1, characterized in that The determining of the candidate application that meets the application wake-up alignment condition includes one of the following methods: When a new application wake-up event is detected, determining the application corresponding to the new application wake-up event as a candidate application that meets the application wake-up alignment condition; When the detected device turns the screen on or off, non-system applications, non-whitelist applications, non-precise alarm permission applications, and non-foreground applications in the device are detected, and the detected applications are determined as candidate applications that meet the application wakeup alignment conditions.
8. An application alignment wake-up control device, characterized in that: include: The level determination module is used to: determine candidate applications that meet the application wake-up alignment conditions, and calculate the wake-up level of the candidate applications according to the multi-dimensional reference data corresponding to the candidate applications; A coefficient determination module is used to: detect the use status of the device and determine the linear interval coefficient corresponding to the use status of the device; A pre-calculation module, used to: calculate the pre-wake-up alignment time according to the triggering time of the application wake-up alignment condition and the specified wake-up interval of the candidate application to obtain the pre-wake-up alignment time; The comprehensive calculation module is used to: perform linear calculation according to the wake-up level, the linear interval coefficient and the pre-wake-up alignment time to obtain the target wake-up alignment time of the candidate application, so as to wake up the candidate application at the target wake-up alignment time.
9. A storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor of a computer, the computer is caused to execute the method according to any one of claims 1 to 7.
10. An electronic device, characterized in that: include: a memory storing a computer program; A processor reads a computer program stored in a memory to execute the method according to any one of claims 1 to 7.