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

Active Publication Date: 2017-08-18
NUBIA TECHNOLOGY CO LTD
View PDF6 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] This way of managing applications will ideally improve the user experience if the control is good, but if th

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Android process freezing and unfreezing device and method
  • Android process freezing and unfreezing device and method
  • Android process freezing and unfreezing device and method

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses an Android process freezing and unfreezing device and method, and relates to the technical field of mobile terminals. The device comprises a freezing request module, a freezing processing module and an unfreezing module, wherein the freezing request module is used for sending a freezing request to an application process by a mobile terminal through communication; the application process comprises a work thread and a communication thread; the freezing processing module is used for judging whether the connection between the application process and another application process is completely processed or not through the communication thread, and freezing the work thread and keeping the activity state of the communication thread if the judging result is positive; and the unfreezing module is used for unfreezing the work thread when the communication thread receives a connection request from another application process, and carrying out freezing and unfreezing on the process through the communication thread. During the freezing, only the work thread is frozen and the communication thread is not frozen, so that the communication thread can be timely unfrozen when required, thereby improving the process freezing and unfreezing efficiencies, and greatly reducing the system risks caused by the freezing and unfreezing behaviors.

Description

technical field [0001] The invention relates to the technical field of mobile terminals, in particular to a device and method for freezing and unfreezing an Android process. Background technique [0002] Android phones can run any application (APK) developed based on its API. This kind of openness has a great degree of freedom: an application can run in the background according to its designer's wishes-for advertising push, collecting user status, etc., but these The behavior is not necessarily what the user wants, but it will occupy the CPU, increase power consumption, and affect the user experience. Process freezing is a better way to manage background applications. It identifies a process that is not necessary for the user to run, suspends it, prohibits it from running, and waits until the user really needs the process to unfreeze and resume operation. [0003] This way of managing applications, if well controlled, will ideally improve the user experience, but if the ti...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F9/48
CPCG06F9/485G06F2209/482
Inventor 李爵宇罗晓明
Owner NUBIA TECHNOLOGY CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products