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

Method and apparatus for protecting application program data

An application program and data technology, applied in the direction of platform integrity maintenance, etc., can solve problems such as error-prone killing, user experience degradation, etc., and achieve the effect of improving experience

Active Publication Date: 2016-06-29
TCL CORPORATION
View PDF6 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to provide a method and device for protecting application program data, aiming to solve the technical problem that the existing LowMemoryKiller mechanism is easy to mistakenly kill some processes that should not be killed, resulting in reduced user experience

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
  • Method and apparatus for protecting application program data
  • Method and apparatus for protecting application program data
  • Method and apparatus for protecting application program data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] In order to make the object, technical solution and beneficial effects of the present invention more clear, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0032] An embodiment of the present invention provides a method for protecting application program data, the method comprising: receiving warning information issued by the system, the warning information at least including the identification of the process to be killed; judging the process to be killed Whether it is the current process; if the process to be killed is the current process, then protect the data of the application program corresponding to the current process; when restarting the application program, according to the protection data executed Resume operation of the applicati...

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 provides a method and an apparatus for protecting application program data, and aims to solve the technical problem that user experience is lowered caused by the reason that certain processes are killed wrongly in the existing Low Memory Killer mechanism. The method comprises the steps of receiving alarm information issued by a system, wherein the alarm information at least comprises identification of a to-be-killed process; judging whether the to-be-killed process is the current process or not; if the to-be-killed process is the current process, protecting the data of the application program corresponding to the current process; and when the application program is restarted, restoring the data of the application program according to the implemented protection. Compared with the Low Memory Killer mechanism which kills certain process ''forcefully'' provided by the prior art, the method provided by the invention can ensure that the process is not killed wrongly even under an out-of-memory state; and instead, measures are taken in advance to effectively protect the data of the currently-operated application program, so that the user experience is improved.

Description

technical field [0001] The invention belongs to the field of intelligent terminals, and in particular relates to a method and a device for protecting application program data. Background technique [0002] The Android system is a multitasking system that can run multiple processes at the same time. The life cycle of the process is controlled by the system. Even if the user turns off the screen display of the program, the process still exists in the memory for the next time. Can start quickly. In this way, as the system runs longer, the memory will become less and less, and the system kernel (kernel) will perform a check periodically to kill some processes to release memory. This mechanism is called the Low Memory Killer (LowMemoryKiller) mechanism. [0003] The existing LowMemoryKiller mechanism is based on the improvement of the OutOfMemory (OOM) rule of the Linux operating system. The process to be killed is determined by the parameter oom_adj of the process and the size ...

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): G06F21/52
Inventor 崔艳
Owner TCL CORPORATION
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