Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A device and method for freezing and unfreezing an android process

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 system failures and application unresponsiveness

Active Publication Date: 2021-06-15
NUBIA TECHNOLOGY CO LTD
View PDF6 Cites 0 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 the timing of freezing is wrong or unfreezing is not timely, the application will not respond or the system will fail

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
  • A device and method for freezing and unfreezing an android process
  • A device and method for freezing and unfreezing an android process
  • A device and method for freezing and unfreezing an android process

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 thawing device and method, and relates to the technical field of mobile terminals. The device includes: a freezing request module, which is used by the mobile terminal to send a freezing request to an application process through communication, and the application process includes a working thread and a communication thread; a freezing processing module is used to judge whether the connection between the application process and other application processes is processed through the communication thread, and if so, freeze the working thread and keep the active state of the communication thread; the thawing module , used to unfreeze the working thread when the communication thread receives a connection request from another application process, freeze and thaw the process through the communication thread, and freeze only the working thread and not the communication thread when freezing, so as to The communication thread can be thawed in time when needed, which improves the freezing and thawing efficiency of the process, and greatly reduces the system risk caused by the freezing and thawing behavior.

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
Patent Type & Authority Patents(China)
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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products