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

Process fragment cleaning method based on Android system

A cleaning method and Android system technology, applied in the direction of program control design, multi-program installation, program startup/switching, etc., can solve the problem of less memory, reduce memory usage, ensure data privacy, and prevent malicious theft Effect

Pending Publication Date: 2020-05-15
XIAN HAIDE ELECTRONICS TECH
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, as the system runs longer, it will cause less and less memory

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] The present invention will be further described in detail below in conjunction with specific embodiments, but the present invention is not limited to the specific embodiments.

[0021] A method for cleaning process fragments based on an Android system, characterized in that, comprising the following steps:

[0022] Step 1: Estimate the total amount of memory required by the current process when the memory application request is currently received.

[0023] Step 2: Count the amount of memory allocated for a fixed period of time before;

[0024] Step 3: When the current free memory is less than the required memory,

[0025] Step 4: Select at least one process from all current processes according to the calculated amount of memory and add it to the list of processes to be cleared;

[0026] Step 5: Enable Android underlying services;

[0027] Step 6: Clear all fragmented data in the free area;

[0028] Step 7 Clear all fragmented data in the normal area

[0029] Step 8...

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 a process fragment cleaning method based on an Android system, which comprises the following steps of: when a memory application request is obtained currently, estimating a total memory amount required by a current process and counting a memory allocation amount in a previous fixed time period; when the current idle memory is smaller than the required memory, selecting at least one process from all the current processes according to the calculated memory amount and adding the at least one process into the to-be-cleared process list; starting an Android underlying service; clearing all fragment data in the idle area; clearing all fragment data in the normal area, and clearing the processes which are not started overtime; and finishing data clearing of the Android device to meet the total memory amount requested by the current process. Compared with an existing process clearing method, the method has the advantages that under the same condition, the number of processes killed by the system is greatly reduced, the memory usage amount of the system is also reduced, and no obvious negative effect is brought to other performance indexes of the platform.

Description

technical field [0001] The invention belongs to the technical field of sound positioning, and in particular relates to a process debris cleaning method based on an Android system. Background technique [0002] Android smartphones have an independent operating system, independent operating space, and can install third-party software by themselves. They have powerful expansion functions and are inseparable from people's lives. The mobile phone data information involves people's work, study, life, communication, finance, leisure. , entertainment, emotions, etc., are very precious intangible assets for individuals or companies. The file management mechanism of the Android system will lead to fragmented data in the phone's memory and SD card, and when performing file management, the phone's memory and SD card will be defragmented, and the fragments are likely to contain the user's private data. Fragmented data can be recovered by some data recovery software on the market, result...

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 Applications(China)
IPC IPC(8): G06F9/48G06F9/50
CPCG06F9/485G06F9/5016G06F9/5022
Inventor 蔡航
Owner XIAN HAIDE ELECTRONICS TECH
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