Android process freezing and unfreezing device and method
A process and application process technology, which is applied in the field of Android process freezing and unfreezing devices, and can solve problems such as application unresponsiveness and system failure
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0074] Such as image 3 As shown, in this embodiment, a device for freezing and unfreezing an Android process includes:
[0075] The freeze request module 10 is used for the mobile terminal to send a freeze request to the application process through communication, and the application process includes a working thread and a communication thread;
[0076] The freezing processing module 20 is used to judge whether the connection between the application process and other application processes has been processed through the communication thread, and if so, freeze the working thread and keep the active state of the communication thread;
[0077] The unfreezing module 30 is configured to unfreeze the worker thread when the communication thread receives a connection request from another application process.
[0078] In this embodiment, the process is frozen and thawed through the communication thread. When freezing, only the working thread is frozen, and the communication thread is n...
Embodiment 2
[0098] In this embodiment, different from Embodiment 1, the communication thread is a socket thread, also known as a socket thread, and the mobile terminal sends a freeze request to the application process through a socket dedicated processing thread, and the application process also passes Threads communicate with other application processes and the central control center.
[0099] In this embodiment, the socket thread essentially provides an endpoint for process communication. Before process communication, both parties must first create an endpoint, otherwise there is no way to establish contact and communicate with each other.
[0100] In this embodiment, the specific process of the freeze request module is:
[0101] The mobile terminal is provided with a central control center, and the central control center is used to collect the operating status of the system, and judge whether the application process in the system meets the preset freezing condition according to the op...
Embodiment 3
[0117] Such as Figure 8 As shown, in this embodiment, a method for freezing and unfreezing an Android process includes:
[0118] S10. The mobile terminal sends a freezing request to the application process through communication, and the application process includes a working thread and a communication thread;
[0119] S20, judge whether the connection between the application process and other application processes has been processed through the communication thread, if so, enter step S30, freeze the working thread, and keep the active state of the communication thread, otherwise enter step S21, wait Freezing after the connection between the application process and other application processes is completed;
[0120] S40. When the communication thread receives a connection request from another application process, unfreeze the working thread.
[0121] In this embodiment, the process is frozen and thawed through the communication thread. When freezing, only the working thread i...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com