CN110908775A - Application freezing control method and device, storage medium and electronic equipment - Google Patents

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

Info

Publication number
CN110908775A
CN110908775A CN201811076380.1A CN201811076380A CN110908775A CN 110908775 A CN110908775 A CN 110908775A CN 201811076380 A CN201811076380 A CN 201811076380A CN 110908775 A CN110908775 A CN 110908775A
Authority
CN
China
Prior art keywords
application
thread
directory
freezing
frozen
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
CN201811076380.1A
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 CN201811076380.1A priority Critical patent/CN110908775A/en
Priority to PCT/CN2019/101964 priority patent/WO2020052417A1/en
Publication of CN110908775A publication Critical patent/CN110908775A/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/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/329Power saving characterised by the action undertaken by task scheduling
    • 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/48Program initiating; Program switching, e.g. by interrupt

Abstract

The invention provides an application freezing control method and device, a storage medium and electronic equipment. Specifically, the freeze control method includes: after an application is started, establishing a thread directory of the application, and adding a thread created by the application to the thread directory; and controlling the freezing or unfreezing of the threads in the thread directory according to the running state of the application. By the method and the device, the problems that the application needs to be started repeatedly, the user experience is poor, the risk of data loss exists and the like caused by restarting after the application is stopped until management and control are completed in the related technology are solved, freezing management is performed on the application under the condition that the influence on the user is minimum, the use of the user is not influenced, and the user experience effect is improved.

Description

Application freezing control method and device, storage medium and electronic equipment
Technical Field
The present invention relates to the field of communications, and in particular, to a freezing control method and apparatus for an application, a storage medium, and an electronic device.
Background
The current terminal has more and more applications, and the functions of the applications are more and more abundant and powerful. People should have the experience that more applications are installed, and even if the applications are not used, the battery is more and more consumed and the memory is less and more reduced. This is because some applications frequently occupy system resources such as a CPU in the background even if they are not used. Resulting in a large power consumption of the terminal. Hardware resources such as terminal battery capacity and memory appear to be very popular in the presence of colorful applications, thereby influencing user experience. Especially for the third-party application, the currently used third-party application often carries additional functions. Some third party applications may also be associated with other applications. These functions and associated applications tend to incur additional power drain.
At present, the management and control of the application mainly include cleaning operation, that is, the application is cleaned and then opened after being closed. In addition, another popular application management and control method is realized by freezing technology. However, in the existing freezing scheme based on the application package management service (PackageManger), a user has obvious perception in the freezing and unfreezing processes, the application is stopped when being frozen, and is restarted after being unfrozen when needing to be used, so that the user experience is very poor.
Therefore, whether through the cleaning operation of the application or by using the freezing technology, there are problems that the application needs to be repeatedly started, the user experience is poor, and the risk of data loss exists, which are caused by the fact that the application needs to be stopped until the application is restarted after the management is completed before the application is managed.
Disclosure of Invention
The embodiment of the invention provides an application freezing control method and device, a storage medium and electronic equipment, and aims to at least solve the problems that in the related art, when the application is managed and controlled, the application needs to be started repeatedly, the user experience is poor, and the risk of data loss exists.
According to an embodiment of the present invention, there is provided a freezing control method of an application, including: after an application is started, establishing a thread directory of the application, and adding a thread created by the application to the thread directory; and controlling the freezing or unfreezing of the threads in the thread directory according to the running state of the application.
Optionally, establishing a thread directory of the application, and adding the thread created by the application to the thread directory, includes: establishing a thread directory of a corresponding application based on the user identification of the application, wherein the thread directory at least comprises the following record items: applying the created thread, applying the created thread identification and the frozen state of the application; adding the thread created by the application into the thread directory, and setting the frozen state of the application to be not frozen.
Optionally, controlling the freezing or unfreezing of the thread in the thread directory according to the running state of the application includes: freezing all threads in the thread directory when the application is monitored to meet freezing conditions, and setting the freezing state of the application to be frozen; and when the application is monitored to meet the unfreezing condition, unfreezing all threads in the thread directory, and setting the frozen state of the application as unfreezing.
Optionally, the freezing condition comprises at least one of: the application is switched from the foreground to the background, and the screen of the terminal where the application is located is extinguished; and/or, the thawing conditions comprise at least one of: and switching the application from the background to the foreground, and lighting a terminal screen where the application is positioned. Optionally, when the frozen state of the application is frozen, the method further includes: when other threads in the kernel access the application, unfreezing one or more target threads called by the access, wherein the frozen state of the application is kept frozen; and after the calling of the target thread is finished, freezing the target thread.
Optionally, the method further comprises: and after detecting that the application stops running or is deleted, deleting the thread directory and stopping the control of the frozen state of the application.
Optionally, the method further comprises: when the terminal is started, a freezing control point is created, a freezing strategy subsystem is mounted, and a freezing management directory is generated, so that the thread directory of the application is established in the freezing management directory when the application is started.
Optionally, when the frozen state of the application is frozen, the process created by the application is prohibited from using the system resource.
According to another embodiment of the present invention, there is provided a freezing control apparatus for an application, including: the creating module is used for creating a thread directory of the application after the application is started, and adding the thread created by the application to the thread directory; and the freezing processing module is used for controlling the freezing or unfreezing of the thread in the thread directory according to the running state of the application.
Optionally, the creating module is further configured to create a thread directory of the corresponding application based on the user identifier of the application, where the thread directory includes at least the following entries: applying the created thread, applying the created thread identification and the frozen state of the application; adding the thread created by the application into the thread directory, and setting the frozen state of the application to be not frozen.
Optionally, the freezing control module is further configured to freeze all threads in the thread directory when it is monitored that the application meets a freezing condition, and set a freezing state of the application to be frozen; and when the application is monitored to meet the unfreezing condition, unfreezing all threads in the thread directory, and setting the frozen state of the application as unfreezing.
Optionally, the freezing condition comprises at least one of: the application is switched from the foreground to the background, and the screen of the terminal where the application is located is extinguished; and/or, the thawing conditions comprise at least one of: and switching the application from the background to the foreground, and lighting a terminal screen where the application is positioned.
Optionally, the freezing control module is further configured to, when other threads in the kernel access the application, unfreeze one or more target threads called by the access, where a frozen state of the application remains frozen; and after the calling of the target thread is finished, freezing the target thread.
Optionally, the freeze control means is further configured to, after detecting that the application stops running or is deleted, delete the thread directory and stop controlling the application in the frozen state.
According to a further embodiment of the present invention, there is also provided a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
According to the invention, because the thread directory is established for the application, and the freezing control is carried out on the thread in the thread directory according to the state of the application, the application can be controlled without stopping the application. Therefore, the problems that the application needs to be repeatedly started and the user experience is poor, and the risk of data loss exists and the like caused by restarting the application until the management and control are completed in the related technology can be solved, the freezing management of the application under the condition of minimum influence on the user is achieved, the use of the user is not influenced, and the user experience effect is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a block diagram of a hardware configuration of a mobile terminal to which a freeze control method according to an embodiment of the present invention is applied;
FIG. 2 is a flow chart of freeze control for an application according to an embodiment of the present invention;
FIG. 3 is a flow diagram of initialization of an application according to an embodiment of the present invention;
FIG. 4 is a flow diagram of a thread freeze state switch for an application according to an embodiment of the present invention;
FIG. 5 is a block diagram of a freezing control device according to an embodiment of the present invention;
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
Example 1
The method provided by the first embodiment of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Taking an example of the application running on a mobile terminal, fig. 1 is a hardware structure block diagram of the mobile terminal of an application freezing control method according to an embodiment of the present invention. As shown in fig. 1, the mobile terminal 10 may include one or more (only one shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, and optionally may also include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration, and does not limit the structure of the mobile terminal. For example, the mobile terminal 10 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store a computer program, for example, a software program and a module of application software, such as a computer program corresponding to the freezing control method of the application in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, so as to implement the method described above. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the mobile terminal 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal 10. In one example, the transmission device 106 includes a network adapter (NIC), which can be connected to other network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In this embodiment, a freezing control method for an application running in the mobile terminal or the network architecture is provided, and fig. 2 is a flowchart of freezing control for an application according to an embodiment of the present invention, as shown in fig. 2, the flowchart includes the following steps:
step S202, after the application is started, establishing a thread directory of the application, and adding the thread created by the application to the thread directory;
and step S204, controlling the freezing or unfreezing of the thread in the thread directory according to the running state of the application.
Optionally, when the terminal is started, a freezing control point is created, the freezing policy subsystem is mounted, and a freezing management directory is generated, so that when the application is started, the thread directory of the application is created in the freezing management directory.
Specifically, after the system is started, the linux kernel completes cgourp initialization, and meanwhile mounts a greezer subsystem of cgroup, and generates a 'cpufreezer' directory.
Optionally, establishing a thread directory of the application, and adding the thread created by the application to the thread directory, includes: the thread directory of the corresponding application is established based on the user identifier of the application, for example, the thread directory is established based on the UID (user identifier) of the application, that is, the android application identification ID, so as to classify the thread corresponding to the UID. Wherein the thread directory includes at least the following entries: applying the created thread, applying the created thread identification and the frozen state of the application; adding the thread created by the application into the thread directory, and setting the frozen state of the application to be not frozen.
Optionally, after detecting that the application stops running or is deleted, deleting the thread directory and stopping the control of the frozen state of the application.
In particular, FIG. 3 is a flow diagram of initialization of an application according to an embodiment of the invention. As shown in fig. 3, each time an application starts, the system framework AMS service (taking the application with UID 10001 as an example) creates a unique folder "UID _ 10001" under the "cpufreezer" directory. The created "UID _ 10001" directory contains 3 files: procs "(record all process IDs created by the application)," tasks "(record all threads created by the application), and" freezer. If the AMS service then detects that the 10001 application created a new process, it writes all the thread ids (tid) of the new process into the "tasks" file under the "UID _ 10001" directory, writes the process ids (pid) corresponding to these threads into the "cgroup.
And when the framework AMS service judges that the application stops running or the user deletes the application, all files in the folder of the UID _10001 are deleted from the directory of the cpufreezer. While any freeze control for the application is stopped. Optionally, controlling the freezing or unfreezing of the thread in the thread directory according to the running state of the application includes: freezing all threads in the thread directory when the application is monitored to meet freezing conditions, and setting the freezing state of the application to be frozen; and when the application is monitored to meet the unfreezing condition, unfreezing all threads in the thread directory, and setting the frozen state of the application as unfreezing.
Optionally, when the frozen state of the application is frozen, the process created by the application is prohibited from using the system resource.
Specifically, system resources include, but are not limited to: CPU resource, Sensor, GPS, memory and other external resources. Meanwhile, the power consumption can be effectively saved by forbidding the resources, and the battery endurance time is prolonged.
Optionally, the freezing condition comprises at least one of: the application is switched from the foreground to the background, and the screen of the terminal where the application is located is extinguished; and/or, the thawing conditions comprise at least one of: and switching the application from the background to the foreground, and lighting a terminal screen where the application is positioned.
Specifically, fig. 4 is a flowchart of a thread freeze state switch of an application according to an embodiment of the present invention. As shown in fig. 4, taking an application with UID of 10001 as an example, when the framework AMS determines that the application is switched to be invisible in the background or detects that the terminal screen where the application is located is extinguished, configuring "freezer" in a corresponding "UID _ 10001" folder under the "cpufreezer" directory as a frozen state; and when the kernel detects that the state is switched to a frozen state, reading all TIDs in the tasks file in the UID-10001 folder, traversing all the threads of the application, calling a linux universal freezing function for each thread to freeze, and then enabling the application to be incapable of using CPU resources.
When the framework AMS service judges that the user clicks to switch the 10001 application to the foreground again or a terminal screen where the application is located is lightened, the 'freezer state' in the 'UID _ 10001' folder is configured to be in a unfreezing state, the kernel acquires that the state is switched to be in the unfreezing state, all TIDs in 'tasks' files in the 'UID _ 10001' folder are read, all threads of the application are traversed, a linux universal unfreezing function is called for each thread to unfreeze, and then the application can normally use CPU resources.
Optionally, when the frozen state of the application is frozen, the method further includes: when other threads in the kernel access the application, unfreezing one or more target threads called by the access, wherein the frozen state of the application is kept frozen; and after the calling of the target thread is finished, freezing the target thread.
Specifically, in some cases, for example, when a system state snoop callback registered by an application in a frozen state is executed or a driver of an external device reports data, it is necessary to first identify which thread the target thread of the operation is under the application, then unfreeze the corresponding thread, the thread may continue to use system resources, and when the callback execution of the thread is finished or the peripheral data is copied from a kernel state to a user state, the thread is frozen again. So that the data is not lost when the application freezes.
Through the steps, the problems that the application needs to be repeatedly started and the user experience is poor, and the risk of data loss exists and the like caused by restarting the application until the management and control are completed in the related technology are solved, the freezing management of the application under the condition of minimum influence on the user is achieved, the use of the user is not influenced, and the user experience effect is improved.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Example 2
In this embodiment, a freezing control device is further provided, and the freezing control device is used to implement the foregoing embodiments and preferred embodiments, which have already been described and are not described again. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 5 is a block diagram of a freezing control device according to an embodiment of the present invention, and as shown in fig. 5, the freezing control device includes: a creation module 52 and a freeze processing module 54.
The creating module 52 is configured to, after an application is started, create a thread directory of the application, and add a thread created by the application to the thread directory;
and the freezing processing module 54 is used for controlling the freezing or unfreezing of the threads in the thread directory according to the running state of the application.
Optionally, the creating module 52 is further configured to create a thread directory of the corresponding application based on the user identifier of the application, where the thread directory includes at least the following entries: applying the created thread, applying the created thread identification and the frozen state of the application; adding the thread created by the application into the thread directory, and setting the frozen state of the application to be not frozen.
Optionally, the freezing control module 54 is further configured to freeze all threads in the thread directory when it is monitored that the application satisfies a freezing condition, and set the frozen state of the application as frozen; and when the application is monitored to meet the unfreezing condition, unfreezing all threads in the thread directory, and setting the frozen state of the application as unfreezing.
Optionally, the freezing condition comprises at least one of: the application is switched from the foreground to the background, and the screen of the terminal where the application is located is extinguished; and/or, the thawing conditions comprise at least one of: and switching the application from the background to the foreground, and lighting a terminal screen where the application is positioned.
Optionally, the freezing control module is further configured to, when other threads in the kernel access the application, unfreeze one or more target threads called by the access, where a frozen state of the application remains frozen; and after the calling of the target thread is finished, freezing the target thread.
Optionally, the freeze control means is further configured to, after detecting that the application stops running or is deleted, delete the thread directory and stop controlling the application in the frozen state.
Example 3
Embodiments of the present invention also provide a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, after the application is started, establishing a thread directory of the application, and adding the thread created by the application to the thread directory;
and S2, controlling the freezing or unfreezing of the thread in the thread directory according to the running state of the application.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, after the application is started, establishing a thread directory of the application, and adding the thread created by the application to the thread directory;
and S2, controlling the freezing or unfreezing of the thread in the thread directory according to the running state of the application.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (16)

1. A method for freeze control of an application, comprising:
after an application is started, establishing a thread directory of the application, and adding a thread created by the application to the thread directory;
and controlling the freezing or unfreezing of the threads in the thread directory according to the running state of the application.
2. The method of claim 1, wherein establishing a thread directory for the application and adding threads created by the application to the thread directory comprises:
establishing a thread directory corresponding to the application based on the user identification UID of the application, wherein the thread directory at least comprises the following record items: applying the created thread, applying the created thread identification and the frozen state of the application;
adding the thread created by the application into the thread directory, and setting the frozen state of the application to be not frozen.
3. The method of claim 2, wherein controlling the freezing or thawing of the threads in the thread directory according to the running state of the application comprises:
when the application is monitored to meet freezing conditions, freezing all threads in the thread directory, and setting the freezing state of the application as freezing;
and when the application is monitored to meet the unfreezing condition, unfreezing all threads in the thread directory, and setting the frozen state of the application as unfreezing.
4. The method of claim 3, wherein,
the freezing condition includes at least one of: the application is switched from the foreground to the background, and the screen of the terminal where the application is located is extinguished;
and/or, the thawing conditions comprise at least one of: and switching the application from the background to the foreground, and lighting a terminal screen where the application is positioned.
5. The method of claim 3, wherein when the frozen state of the application is frozen, the method further comprises:
when other threads in the kernel access the application, unfreezing one or more target threads called by the access, wherein the frozen state of the application is kept frozen;
and after the calling of the target thread is finished, freezing the target thread.
6. The method according to any one of claims 1 to 5, further comprising:
and after detecting that the application stops running or is deleted, deleting the thread directory and stopping the control of the frozen state of the application.
7. The method of claim 1, further comprising:
when the terminal is started, a freezing control point is created, a freezing strategy subsystem is mounted, and a freezing management directory is generated, so that the thread directory of the application is established in the freezing management directory when the application is started.
8. The method of claims 1 to 7, wherein when the application is frozen, the process created by the application is prohibited from using system resources.
9. A freeze control apparatus for an application, comprising:
the creating module is used for creating a thread directory of the application after the application is started, and adding the thread created by the application to the thread directory;
and the freezing processing module is used for controlling the freezing or unfreezing of the thread in the thread directory according to the running state of the application.
10. The apparatus of claim 9, wherein the creation module is further configured to create a thread directory for the corresponding application based on the user identifier of the application, wherein the thread directory comprises at least the following entries: applying the created thread, applying the created thread identification and the frozen state of the application; adding the thread created by the application into the thread directory, and setting the frozen state of the application to be not frozen.
11. The apparatus of claim 10, wherein the freeze control module is further configured to freeze all threads in the thread directory when it is monitored that the application satisfies a freeze condition, and set the frozen state of the application as frozen; and when the application is monitored to meet the unfreezing condition, unfreezing all threads in the thread directory, and setting the frozen state of the application as unfreezing.
12. The apparatus of claim 11, wherein the freeze condition comprises at least one of: the application is switched from the foreground to the background, and the screen of the terminal where the application is located is extinguished; and/or, the thawing conditions comprise at least one of: and switching the application from the background to the foreground, and lighting a terminal screen where the application is positioned.
13. The apparatus of claim 11, wherein the freeze control module is further configured to unfreeze the one or more target threads invoked for access when other threads in a kernel access the application, and a frozen state of the application remains frozen; and after the calling of the target thread is finished, freezing the target thread.
14. The apparatus according to any of claims 9 to 13, wherein the freeze control means is further configured to delete the thread directory and stop controlling the application from being frozen after detecting that the application is stopped or deleted.
15. A storage medium, in which a computer program is stored, wherein the computer program is arranged to perform the method of any of claims 1 to 8 when executed.
16. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 8.
CN201811076380.1A 2018-09-14 2018-09-14 Application freezing control method and device, storage medium and electronic equipment Pending CN110908775A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201811076380.1A CN110908775A (en) 2018-09-14 2018-09-14 Application freezing control method and device, storage medium and electronic equipment
PCT/CN2019/101964 WO2020052417A1 (en) 2018-09-14 2019-08-22 Application freezing control method and apparatus, storage medium and electronic apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811076380.1A CN110908775A (en) 2018-09-14 2018-09-14 Application freezing control method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN110908775A true CN110908775A (en) 2020-03-24

Family

ID=69776497

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811076380.1A Pending CN110908775A (en) 2018-09-14 2018-09-14 Application freezing control method and device, storage medium and electronic equipment

Country Status (2)

Country Link
CN (1) CN110908775A (en)
WO (1) WO2020052417A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101923382A (en) * 2009-06-16 2010-12-22 联想(北京)有限公司 Computer system energy-saving method and computer system
CN104008330A (en) * 2014-05-23 2014-08-27 武汉华工安鼎信息技术有限责任公司 Data leakage prevention system based on file set storage and isolation technology and method thereof
CN105159756A (en) * 2014-05-26 2015-12-16 联想(北京)有限公司 Information processing method and information processing equipment
CN106648849A (en) * 2016-10-18 2017-05-10 上海传英信息技术有限公司 Process freezing method and mobile terminal
CN106681822A (en) * 2017-01-19 2017-05-17 努比亚技术有限公司 Signal-based progress freezing and unfreezing device and signal-based progress freezing and unfreezing method
CN107066320A (en) * 2017-01-19 2017-08-18 努比亚技术有限公司 The device and method that a kind of Android processes are freezed and thawed

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104199733A (en) * 2014-09-05 2014-12-10 广州金山网络科技有限公司 Disabling method and device for application program processes
CN105677460B (en) * 2015-12-28 2019-07-23 小米科技有限责任公司 Applied program processing method and device
CN106227590A (en) * 2016-07-27 2016-12-14 西安酷派软件科技有限公司 The control method of application process, the control device of application process and terminal
CN106406495A (en) * 2016-08-30 2017-02-15 宇龙计算机通信科技(深圳)有限公司 Application program management method, application program management device and terminal
CN107729088A (en) * 2017-10-31 2018-02-23 深圳依偎控股有限公司 A kind of application management method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101923382A (en) * 2009-06-16 2010-12-22 联想(北京)有限公司 Computer system energy-saving method and computer system
CN104008330A (en) * 2014-05-23 2014-08-27 武汉华工安鼎信息技术有限责任公司 Data leakage prevention system based on file set storage and isolation technology and method thereof
CN105159756A (en) * 2014-05-26 2015-12-16 联想(北京)有限公司 Information processing method and information processing equipment
CN106648849A (en) * 2016-10-18 2017-05-10 上海传英信息技术有限公司 Process freezing method and mobile terminal
CN106681822A (en) * 2017-01-19 2017-05-17 努比亚技术有限公司 Signal-based progress freezing and unfreezing device and signal-based progress freezing and unfreezing method
CN107066320A (en) * 2017-01-19 2017-08-18 努比亚技术有限公司 The device and method that a kind of Android processes are freezed and thawed

Also Published As

Publication number Publication date
WO2020052417A1 (en) 2020-03-19

Similar Documents

Publication Publication Date Title
EP2816467B1 (en) Method and device for checkpoint and restart of container state
CN106921506B (en) Data acquisition reporting method and system for mobile equipment
WO2019237797A1 (en) Data backup method and apparatus
CN111722906A (en) Method and device for deploying virtual machine and container
CN105677477A (en) Method and device for optimizing application program resources and electronic equipment
CN110149231B (en) Method, device, storage medium and equipment for updating virtual switch
CN110289993B (en) Connection pool management method, device, equipment and switching system
CN106201683A (en) A kind of manage the method for application, device and terminal
CN105786519B (en) Android device program management method and android device
US20220197690A1 (en) Application control method and apparatus, terminal, and computer-readable storage medium
CN106126305A (en) A kind of application freezing method, device and mobile terminal
US11816200B2 (en) Terminal and method for managing launch of an application of a terminal
CN106911741B (en) Method for balancing virtual network management file downloading load and network management server
CN105824660A (en) Application program updating method and terminal
JP2022501903A (en) Service delivery methods, equipment, and computer programs
CN104104701A (en) Online service configuration updating method and system
CN113434184A (en) Equipment upgrading method and device, storage medium and electronic device
CN110908775A (en) Application freezing control method and device, storage medium and electronic equipment
CN106156210B (en) Method and device for determining application identifier matching list
US20210218801A1 (en) Method, apparatus and storage medium for resource configuration
CN109784041B (en) Event processing method and device, storage medium and electronic device
CN112351476A (en) Network-based application power consumption regulation and control method, terminal and storage medium
CN111897543A (en) Software management method, device, management equipment and storage medium
CN114564211A (en) Cluster deployment method, cluster deployment device, equipment and medium
CN110365839B (en) Shutdown method, shutdown device, shutdown medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20200324

WD01 Invention patent application deemed withdrawn after publication