CN116414553A - Application freezing management method and device, electronic equipment and storage medium - Google Patents

Application freezing management method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116414553A
CN116414553A CN202111667021.5A CN202111667021A CN116414553A CN 116414553 A CN116414553 A CN 116414553A CN 202111667021 A CN202111667021 A CN 202111667021A CN 116414553 A CN116414553 A CN 116414553A
Authority
CN
China
Prior art keywords
application
freezing
strategy
management
background system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111667021.5A
Other languages
Chinese (zh)
Inventor
吴鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN202111667021.5A priority Critical patent/CN116414553A/en
Priority to PCT/CN2022/136518 priority patent/WO2023124801A1/en
Publication of CN116414553A publication Critical patent/CN116414553A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5022Mechanisms to release resources
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3243Power saving in microcontroller unit
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3287Power saving characterised by the action undertaken by switching off individual functional units in the computer system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Stored Programmes (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the application relates to the technical field of terminals and discloses a freezing management method, a freezing management device, electronic equipment and a storage medium for an application, wherein the method comprises the following steps: detecting whether an operation system of an application is switched, wherein the operation system comprises a foreground system and a background system; determining a freezing management policy of the application under the condition that an operation system of the application is switched to the background system; and obtaining a final freezing management strategy of the application according to the determined freezing management strategy of the application and the background system scene strategy determined based on the application, and performing freezing management of the application by using the final freezing management strategy. The freezing management strategy of the background system is dynamically regulated, and freezing management is efficiently carried out according to the freezing management strategy, so that the problems of poor freezing flexibility, low freezing efficiency, low freezing accuracy and poor user experience are solved.

Description

Application freezing management method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of terminal technologies, and in particular, to a freezing management method and apparatus for an application, an electronic device, and a storage medium.
Background
The freezing technology is mainly a method for limiting the application to occupy the system resources based on the intelligent terminal. The method mainly comprises the step of prohibiting occupation of CPU resources, sensors, GPS, memory and other external resources. The power consumption can be effectively saved, and the battery endurance time can be prolonged.
However, the dual system application freezing management method in the related art has the problems of incapability of dynamically adjusting freezing management strategies, poor freezing flexibility, low freezing efficiency, low freezing accuracy and poor user experience.
Disclosure of Invention
The invention aims to solve the problems, and provides an application freezing management method, an application freezing management device, an application freezing management electronic device and an application freezing management storage medium, which are used for dynamically adjusting a background system freezing management strategy and efficiently carrying out freezing management according to the freezing management strategy, so that the problems of poor freezing flexibility, low freezing efficiency, low freezing accuracy and poor user experience are solved.
To solve the above problems, embodiments of the present application provide a method, including: detecting whether an operation system of an application is switched, wherein the operation system comprises a foreground system and a background system; determining a freezing management strategy of the application under the condition that an operation system of the application is switched to a background system; and obtaining a final freezing management strategy of the application according to the determined freezing management strategy of the application and the background system scene strategy determined based on the application, and performing freezing management of the application by using the final freezing management strategy.
To solve the above-mentioned problems, embodiments of the present application provide an apparatus, including: and a detection module: the method comprises the steps of detecting whether an operation system of an application is switched or not, wherein the operation system comprises a foreground system and a background system; and a determination module: determining a freezing management policy of the application in the case that the running system of the application is switched to a background system; a final strategy determination module: and the method is used for obtaining the final freezing management strategy of the application according to the determined freezing management strategy of the application and the background system scene strategy determined based on the application, and carrying out freezing management of the application according to the final freezing management strategy.
To solve the above problems, embodiments of the present application further provide an electronic device, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the freeze management method of the application.
To solve the above-mentioned problems, embodiments of the present application also provide a computer-readable storage medium storing a computer program that when executed by a processor implements the freezing management method of the above-mentioned application.
In the embodiment of the application, when the application running system is switched to the background, the applied freezing management strategy is determined, and based on the freezing management strategy, the final freezing management strategy is determined again based on the background system scene strategy determined by the application, so that the background system freezing management strategy is dynamically regulated, and the freezing management is efficiently carried out according to the freezing management strategy, the problems of poor freezing flexibility, low freezing efficiency, low freezing accuracy and poor user use experience are solved, and the purposes of improving performance and cruising duration are achieved.
Drawings
One or more embodiments are illustrated by way of example and not limitation in the figures of the accompanying drawings, in which like references indicate similar elements, and in which the figures of the drawings are not to be taken in a limiting sense, unless otherwise indicated.
FIG. 1 is a flow chart of a freeze management method for an application provided in an embodiment of the present application;
FIG. 2 is a flow chart of adjusting a freezing policy provided by an embodiment of the present application;
FIG. 3 is a schematic diagram of a freezing management device for providing an application according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the following detailed description of each embodiment of the present application will be given with reference to the accompanying drawings. However, those of ordinary skill in the art will understand that in various embodiments of the present application, numerous technical details have been set forth in order to provide a better understanding of the present application. However, the technical solutions claimed in the present application can be implemented without these technical details and with various changes and modifications based on the following embodiments.
An embodiment of the present application relates to a freezing management method for an application, including: detecting whether an operation system of an application is switched, wherein the operation system comprises a foreground system and a background system; determining a freezing management strategy of the application under the condition that an operation system of the application is switched to a background system; and obtaining a final freezing management strategy of the application according to the determined freezing management strategy of the application and the background system scene strategy determined based on the application, and performing freezing management of the application by using the final freezing management strategy.
The embodiment of the application consists of a dual-system operation detection module and a dual-system background system freezing management module, which are all implemented by pure software, wherein the dual-system operation detection module is responsible for detecting system switching and notifying a freezing system, and after a terminal is started, the dual-system operation detection module starts to detect the front-background switching condition of the dual-system and notifies the dual-system background system freezing management module in real time; the dual-system background system freezing management module dynamically adjusts the application freezing management strategy according to the foreground and background states of the system where the dual-system background system freezing management module operates, and the purpose of controlling power consumption and improving user experience is achieved.
The implementation details of the method in this embodiment are specifically described below, and the following is only for facilitating understanding of the implementation details of this embodiment, and is not necessary for implementing this embodiment. The specific flow is shown in fig. 1, and may include the following steps:
in step 101, it is detected whether an operating system of the application is switched, wherein the operating system comprises a foreground system and a background system.
In step 102, in the case where the running system of the application is switched to the background system, a freeze management policy of the application is determined. The freezing management strategy comprises a freezing strategy and a thawing strategy, wherein the freezing strategy is used for freezing the application by the terminal, and the thawing strategy is used for thawing the application in real time by the terminal.
Specifically, when an application running system is switched to the background system and the application is not frozen, determining a freezing strategy of the application according to the freezing type of the application, and detecting whether the freezing type of the application needs to be modified before determining the freezing strategy of the application according to the freezing type of the application; and under the condition that the freezing type of the application needs to be modified, modifying the freezing type of the application, wherein the freezing range of the modified freezing type is larger than the freezing range of the freezing type before modification. And detecting whether the freezing type of the application needs to be modified according to the application type of the application and/or a preset freezing management type.
In one example, when the terminal detects that the application a is running in the foreground system, performing freezing judgment and check on the application a by using an original strategy M1, and in the case that the current running system of the application a is switched to the background system, judging whether to dynamically modify the original freezing type T1 of the application a into a freezing type T2 according to the application type of the application a by the terminal, wherein the freezing rate of the freezing type T2 is greater than the freezing type T1, and if the freezing type of the application a is not modified, maintaining the original freezing strategy M1; if the terminal judges that the freezing type of the application A needs to be modified to be T2, the freezing strategy of the application A in the operation of the background system is dynamically modified to be M2. Among them, the freezing type includes cyclic freezing, immediate freezing, never freezing, or periodic freezing.
In one example, in the event that the running system of the application is switched to a background system and the application is frozen, the thawing policy of the application is determined. For example, the freezing management type of the application a is defined as T1, the thawing policy is N1, and the freezing policy is M1, when the application a is frozen, and when the current running system of the application a is switched to the background system, the current freezing management policy is determined as the thawing policy M1.
In step 103, according to the determined freezing management policy of the application and the background system scene policy determined based on the application, a final freezing management policy of the application is obtained, and the freezing management of the application is performed according to the final freezing management policy.
The background system scene strategy comprises the following steps: the background system freezes the scene strategy and the background system unfreezes the scene strategy.
Specifically, according to the determined freezing management policy of the application and the background system scene policy determined based on the application, the final freezing management policy of the application is obtained, for example, after judging whether to modify the freezing type of the application a, the freezing management policy to be executed finally is obtained according to the obtained freezing policy of the judgment result and the determined background system freezing scene policies P1 to Pn, wherein P1 to Pn represent whether the application should be frozen under various scenes when running in the background system. For example, under the condition that the freezing policy of the application A is M1, obtaining a final freezing policy M1' of the application A in a background system on the basis of M1 and the determined background system freezing scene policies P1-Pn; under the condition that the freezing policy of the application A is M2, the final freezing policy M2' of the application A in the background system is obtained on the basis of M2 and determination of the background system freezing scene policies P1-Pn. And judging and checking before freezing according to the final freezing strategy M2'.
In addition, the more the determined background system freezes the scene strategy, the larger the freezing rate of the final freezing strategy, namely, the application A uses the freezing strategy M1' to carry out judgment check before freezing in the running process, and compared with the application A which uses the freezing strategy M1, the application A is easier to freeze and has higher freezing rate; since the freezing rate of T2 is greater than the freezing type T1, application a uses the freezing policy M2 'to perform a judgment check before freezing during operation, and is more likely to be frozen and has a higher freezing rate than using the freezing policy M1'.
Further, according to the determined freezing management strategy of the application as a defrosting strategy and based on the background system scene defrosting strategy determined by the application, obtaining the final freezing management strategy of the application; for example: when the application A operates in the foreground system, if the application A is in a frozen state at the moment, the terminal performs thawing judgment and check according to the original thawing strategy N1 of the application A, and when the current operating system of the application A is switched to the background system, the terminal judges whether the final thawing strategy N1' is required to be determined according to the corresponding background system thawing scene strategies Q1-Qn, wherein the thawing range of the thawing strategy N1' is smaller than the thawing range of the thawing strategy N1, that is, when the frozen application A performs thawing judgment and check according to the final thawing strategy N1', the application A is not easy to defrost, and the thawing rate is lower.
In order to make the specific implementation process of the freezing management method of the application provided in the embodiment of the present application clearer, a specific description is made of the adjustment process of the freezing policy with reference to fig. 2, and the specific flow is as follows:
in step 201, a dual system operation switching condition of an application is detected.
In step 202, after detecting the operation switching condition, determining whether the current operation system is switched to the background, if not, executing step 203; if the switch to background is made, step 204 is performed.
In step 203, the applied single system freeze policy is restored.
In step 204, it is determined whether the application freeze type needs to be switched, and if the application freeze type does not need to be switched, step 205 is executed; if a switch of application freeze type is required, step 206 is performed.
In step 205, the applied single system freeze policy M1 is maintained.
In step 206, the freeze management policy M2 after the handover is acquired.
In step 207, the background scene management policies P1 to Pn are determined.
In step 208, the final background management policy is output.
In step 209, freeze management is performed according to the finally outputted freeze management policy.
In the related means of the embodiment, a specific condition triggers a specific method operation to clean or freeze a background running program, so as to improve the endurance and usability of the terminal. The specific implementation methods are different, and an Android intelligent platform is taken as an example, a common method with frozen application makes the application unavailable or closes the application forcedly through a 'pm disable' system interface and an application cleaning method through an 'am force-stop' system interface, and the other method is a freezing technology, so that the same optimization effect is achieved by a method for limiting the application to occupy the system resources based on the intelligent terminal. Regardless of the method, management and control optimization is finally performed for specific applications, and if the types of the applications are different, the corresponding management and control strategies or forces are different.
The freezing management methods based on the above various freezing techniques in the related means of the embodiment have been widely applied to a single system, but on a dual system, the common method is to perform freezing management on the application to be frozen according to the preset target application information, the policy of freezing management cannot be flexibly adjusted, the flexibility and accuracy of freezing are not good, in addition, since the common freezing management method also needs to freeze or defrost the application by the user himself, the problem of inconvenient operation of the user also exists,
the freezing management method of the dual-system application is applied to the An Zhuoshuang system intelligent terminal, and the freezing management strategy of the foreground system (the system is being used by a user) and the background system is dynamically adjusted when the user switches the foreground system and the background system through the switching of the monitoring system, so that the foreground system and the background system respectively reach the maximum freezing rate and the minimum thawing rate of the foreground system and the background system, the power consumption is reduced to the greatest extent, and the cruising duration is ensured.
According to the application freezing management method, the background system freezing management strategy is dynamically adjusted according to the state of the current running system of the application, when the fact that the application runs on the background system is detected, the double-system background freezing management module can dynamically form the final freezing management strategy of the application under the background system by changing the application freezing type and determining the corresponding background system freezing scene strategies P1-Pn, the problems of poor freezing flexibility, low freezing efficiency, low freezing accuracy and poor user experience are solved, freezing is carried out through the freezing management strategy, information safety of a terminal is protected, cruising and performance are improved, and safe use environment and good user experience are provided for a user.
The above steps of the methods are divided, for clarity of description, and may be combined into one step or split into multiple steps when implemented, so long as they include the same logic relationship, and they are all within the protection scope of this patent; it is within the scope of this patent to add insignificant modifications to the algorithm or flow or introduce insignificant designs, but not to alter the core design of its algorithm and flow.
The embodiment of the application also relates to a freezing management device of the application, as shown in fig. 3, comprising: a detection module 301, a determination module 302 and a final policy determination module 303.
Specifically, the detection module 301: the method comprises the steps of detecting whether an operation system of an application is switched or not, wherein the operation system comprises a foreground system and a background system; determination module 302: determining a freezing management policy of the application in the case that the running system of the application is switched to a background system; the final policy determination module 303: and the method is used for obtaining the final freezing management strategy of the application according to the determined freezing management strategy of the application and the background system scene strategy determined based on the application, and carrying out freezing management of the application according to the final freezing management strategy.
In one example, when the terminal detects that the application a is running in the foreground system, the application a performs a freezing judgment check with the original policy M1, and in the case that the current running system of the application a is switched to the background system, the determining module 302 determines whether to dynamically modify the original freezing type T1 of the application a into the freezing type T2 according to the application type of the application a, where the freezing rate of the freezing type T2 is greater than the freezing type T1, and if the freezing type of the application a is not modified, the original freezing policy M1 is maintained; if the terminal judges that the freezing type of the application A needs to be modified to be T2, the freezing strategy of the application A in the operation of the background system is dynamically modified to be M2. Among them, the freezing type includes cyclic freezing, immediate freezing, never freezing, or periodic freezing.
In one example, where the running system of the application is switched to a background system and the application is frozen, the determination module 302 determines the thawing policy of the application. For example, the freezing management type of the application a is defined as T1, the thawing policy is N1, and the freezing policy is M1, when the application a is frozen, and when the current running system of the application a is switched to the background system, the current freezing management policy is determined as the thawing policy M1.
In one example, the final policy determining module 303 determines a responsive background system scene freezing policy based on the application based on the freezing management policy of the application, for example, after determining whether to modify the freezing type of the application a, based on the freezing policy obtained according to the determination result, and based on the corresponding background system freezing scene policies P1 to Pn, where P1 to Pn represent whether freezing should be implemented in various scenes when the application is running in the background system. For example, under the condition that the freezing policy of the application A is M1, obtaining a final freezing policy M1' of the application A in a background system on the basis of M1 and the determined background system freezing scene policies P1-Pn; under the condition that the freezing policy of the application A is M2, the final freezing policy M2' of the application A in the background system is obtained on the basis of M2 and the determined background system freezing scene policies P1-Pn. And judging and checking before freezing according to the final freezing strategy M2'.
In one example, based on the applied freeze management policy being a defrost policy, the final policy determination module 303 determines a responsive background system scenario defrost policy based on the application, for example: when the application A operates in the foreground system, if the application A is in a frozen state at the moment, the terminal performs thawing judgment and check according to the original thawing strategy N1 of the application A, and when the current operating system of the application A is switched to the background system, the terminal judges whether corresponding background system thawing scene strategies Q1-Qn are needed to respond or not to obtain a final thawing strategy N1', wherein the thawing range of the thawing strategy N1' is smaller than the thawing range of the thawing strategy N1, that is, when the frozen application A performs thawing judgment and check according to the final thawing strategy N1', the application A is not easy to defrost, and the thawing rate is lower.
According to the freezing management method and device for the application, the background system freezing management strategy is dynamically adjusted according to the state of the current running system of the application, when the fact that the application runs on the background system is detected, the double-system background freezing management module can dynamically form the final freezing management strategy of the application under the background system by changing the application freezing type and determining the corresponding background system freezing scene strategies P1-Pn, the problems of poor freezing flexibility, low freezing efficiency, low freezing accuracy and poor user experience are solved, freezing is carried out through the freezing management strategy, namely information safety of a terminal is protected, cruising and performance are improved, and safe use environment and good user experience are provided for a user.
It is to be noted that, in this embodiment, the device example corresponding to the above-described freezing management method example of the application may be implemented in cooperation with the above-described freezing management method example of the application. The relevant technical details mentioned in the above-mentioned embodiment of the freezing management method are still valid in this embodiment, and in order to reduce repetition, details are not repeated here. Accordingly, the related technical details mentioned in the present embodiment may also be applied to the above-described applied freezing management method example.
It should be noted that, each module in the foregoing embodiments of the present application is a logic module, and in practical application, one logic unit may be one physical unit, or may be a part of one physical unit, or may be implemented by a combination of multiple physical units. In addition, in order to highlight the innovative part of the present application, elements that are not so close to solving the technical problem presented in the present application are not introduced in the present embodiment, but it does not indicate that other elements are not present in the present embodiment.
Embodiments of the present application also provide an electronic device, as shown in fig. 4, comprising at least one processor 401; and a memory 402 communicatively coupled to the at least one processor 401; wherein the memory 402 stores instructions executable by the at least one processor 401, the instructions being executable by the at least one processor 401 to enable the at least one processor to perform the freeze management method of the application.
Where the memory and the processor are connected by a bus, the bus may comprise any number of interconnected buses and bridges, the buses connecting the various circuits of the one or more processors and the memory together. The bus may also connect various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or may be a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor is transmitted over the wireless medium via the antenna, which further receives the data and transmits the data to the processor.
The processor is responsible for managing the bus and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And memory may be used to store data used by the processor in performing operations.
The product may perform the method provided by the embodiment of the present application, and have corresponding functional modules and beneficial effects of the performing method, and technical details not described in detail in the embodiment of the present application may be referred to the method provided by the embodiment of the present application.
Embodiments of the present application also provide a computer-readable storage medium storing a computer program. The computer program implements the above-described method embodiments when executed by a processor.
Those skilled in the art will appreciate that all or part of the steps in implementing the methods of the embodiments described above may be implemented by a program stored in a storage medium, where the program includes several instructions for causing a device (which may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The embodiments described hereinabove are intended to provide those of ordinary skill in the art with a variety of modifications and variations to the embodiments described herein without departing from the inventive concepts of the present application, and thus the scope of the present application is not limited by the embodiments described hereinabove, but is to be accorded the broadest scope of the innovative features recited in the claims.

Claims (10)

1. A freeze management method for an application, comprising:
detecting whether an operation system of an application is switched, wherein the operation system comprises a foreground system and a background system;
determining a freezing management policy of the application under the condition that an operation system of the application is switched to the background system;
and obtaining a final freezing management strategy of the application according to the determined freezing management strategy of the application and a background system scene strategy determined based on the application, and carrying out freezing management of the application according to the final freezing management strategy.
2. The method for freezing management of an application according to claim 1, wherein the freezing management policy of the application comprises: freezing and thawing strategies;
the determining, in a case where the running system of the application is switched to the background system, a freezing management policy of the application includes:
determining a freezing strategy of the application according to the freezing type of the application under the condition that the running system of the application is switched to the background system and the application is not frozen;
determining a thawing policy of the application in case the running system of the application is switched to the background system and the application is frozen.
3. The freezing management method of an application according to claim 2, wherein, in a case where an operating system of the application is switched to the background system and the application is not frozen, before the freezing policy of the application is determined according to the freezing type of the application, further comprising:
detecting whether the freezing type of the application needs modification;
and under the condition that the freezing type of the application needs to be modified, modifying the freezing type of the application, wherein the freezing range of the modified freezing type is larger than the freezing range of the freezing type before modification.
4. The method for freezing management of an application according to claim 2, wherein said detecting whether the freezing type of the application needs modification comprises:
and detecting whether the freezing type of the application needs to be modified according to the application type of the application.
5. The method for freeze management of an application according to any one of claims 2-4, wherein the background system scenario policy comprises: a background system freezing scene strategy and a background system thawing scene strategy;
obtaining a final freezing management strategy of the application according to the determined freezing management strategy of the application and a background system scene strategy determined based on the application, wherein the final freezing management strategy comprises the following steps:
obtaining a final freezing management strategy of the application according to the determined freezing management strategy of the application as the freezing strategy and a background system scene freezing strategy determined based on the application;
and obtaining a final freezing management strategy of the application according to the determined freezing management strategy of the application as a thawing strategy and a background system scene thawing strategy determined based on the application.
6. A freezing management method for an application according to any one of claims 2 to 4,
the freezing type includes: cycle freeze, immediate freeze, never freeze, or cycle freeze.
7. The method for freezing management of an application according to any one of claims 1 to 4, wherein before obtaining a final freezing management policy of the application according to the determined freezing management policy of the application and the background system scene policy determined based on the application, further comprises:
selecting a target background system scene strategy from a plurality of preset background system scene strategies according to the application type of the application;
obtaining a final freezing management strategy of the application according to the determined freezing management strategy of the application and a background system scene strategy determined based on the application, wherein the final freezing management strategy comprises the following steps:
and obtaining the final freezing management strategy of the application according to the determined freezing management strategy of the application and the target background system scene strategy.
8. An application freeze management device, comprising:
and a detection module: the method comprises the steps of detecting whether an operation system of an application is switched or not, wherein the operation system comprises a foreground system and a background system;
and a determination module: determining a freezing management policy of the application in the case that the running system of the application is switched to the background system;
a final curare determination module: and the freezing management module is used for obtaining a final freezing management strategy of the application according to the determined freezing management strategy of the application and a background system scene strategy determined based on the application, and carrying out freezing management of the application according to the final freezing management strategy.
9. An electronic device, comprising:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the freezing management method of the application of any one of claims 1 to 7.
10. A computer readable storage medium storing a computer program, characterized in that the computer program, when executed by a processor, implements the freezing management method of an application according to any one of claims 1 to 7.
CN202111667021.5A 2021-12-31 2021-12-31 Application freezing management method and device, electronic equipment and storage medium Pending CN116414553A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111667021.5A CN116414553A (en) 2021-12-31 2021-12-31 Application freezing management method and device, electronic equipment and storage medium
PCT/CN2022/136518 WO2023124801A1 (en) 2021-12-31 2022-12-05 Freeze management method and apparatus for application, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111667021.5A CN116414553A (en) 2021-12-31 2021-12-31 Application freezing management method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116414553A true CN116414553A (en) 2023-07-11

Family

ID=86997590

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111667021.5A Pending CN116414553A (en) 2021-12-31 2021-12-31 Application freezing management method and device, electronic equipment and storage medium

Country Status (2)

Country Link
CN (1) CN116414553A (en)
WO (1) WO2023124801A1 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106095515B (en) * 2016-06-21 2019-12-03 东莞酷派软件技术有限公司 A kind of processing method and system of application program
CN109992361B (en) * 2017-12-29 2021-08-31 Oppo广东移动通信有限公司 Application freezing method and device, terminal and computer readable storage medium
CN111381952B (en) * 2020-03-12 2023-05-12 腾讯科技(深圳)有限公司 Process freezing method, device, terminal and storage medium
CN112433831A (en) * 2020-11-17 2021-03-02 珠海格力电器股份有限公司 Application freezing method, storage medium and electronic device

Also Published As

Publication number Publication date
WO2023124801A1 (en) 2023-07-06

Similar Documents

Publication Publication Date Title
US20210305638A1 (en) Method and apparatus for controlling temperature of battery pack, battery management system and storage medium
CN112187505A (en) Adaptive service degradation method, electronic device and storage medium
CN103200257A (en) Node in high availability cluster system and resource switching method of node in high availability cluster system
CN106231602A (en) A kind of active spectrum changing method based on forecasting mechanism and threshold decision
CN109032324B (en) Data center power management and control method, device, equipment and computer readable medium
CN110837456A (en) Control method and device and electronic equipment
CN116414553A (en) Application freezing management method and device, electronic equipment and storage medium
US11943127B2 (en) Network-based control method for power consumption of applications, terminal and storage medium
US20150194827A1 (en) Information processing device including battery and charging method of battery
US20090217066A1 (en) Controlling connection status of network adapters
CN105207818A (en) Node control method and device
CN111050372B (en) 5G RRC state transition method, device, terminal and readable storage medium
CN107396428B (en) Frequency switching method and device
CN109922453B (en) Safety precaution analysis alarm system and method based on artificial intelligence
US20240061480A1 (en) Method and device for processing overheat and storage medium
CN110661542A (en) Terminal control method and terminal
CN114237380A (en) Intelligent power consumption control method, electronic device and storage medium
CN112540666A (en) Application unfreezing method, terminal device, computer device and computer readable medium
CN113590205A (en) SOC (System on chip) sleep control method and device
CN115514032A (en) Power supply control method and device and electronic equipment
CN112486310A (en) Data service control method, device and terminal
JP2020141215A (en) Electronic apparatus, terminal, processing method, temperature rise suppression system, control program and storage medium
CN109888736A (en) Motor protection method, device, cook's machine and its storage medium
CN117411152B (en) Control method, control device and computer readable storage medium of energy storage system
CN116339833A (en) Communication transmission control method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication