Method and device for removing processes applied to Android platform

An Android platform and process technology, applied in the field of storage, can solve problems such as the inability to meet the continuous large memory allocation of the system

Active Publication Date: 2014-01-29
SAMSUNG ELECTRONICS CHINA R&D CENT +1
View PDF7 Cites 55 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0016] The Low Memory Killer on the Android platform is more active than the native OOM Killer on the Linux platform, but its strategy is to kill only one process at a time, which cannot meet the needs of the system for continuous large memory allocation

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 device for removing processes applied to Android platform
  • Method and device for removing processes applied to Android platform
  • Method and device for removing processes applied to Android platform

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0033] The method provided by the embodiment of the present invention includes figure 2 Process shown:

[0034] see figure 2 , figure 2 The flowchart provided for the embodiment of the present invention. Such as figure 2 As shown, the process may include the following steps:

[0035] Step 201, when the memory application request is currently known, count the amount of memory allocated in a fixed period of time before.

[0036] Usually, when a process needs to be started, a memory application request is sent to request the memory required by the process to be started. Based on this, in step 201, when it is known that there is a new memory request, step 201 is executed.

[0037] As an embodiment of the present invention, in step 201, the ...

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 device for removing processes applied to an Android platform. The method comprises the steps of calculating the memory amount possibly required in a setting time period in the future by conducting statistics on the memory allocation amount in a previous fixed time period and according to the memory allocation amount after the statistics, and selecting the certain processes in a system to be removed according to the calculated memory amount so as to exchange the processes for more free memory to meet the calculated memory amount. The processes can be recovered to be exchanged for the enough memory within a short time, and the requirement of the system for continuous large-memory allocation is met.

Description

technical field [0001] The present application relates to storage technology, in particular to a process clearing method and device applied to an Android (Android) platform. Background technique [0002] In the Android platform, the life cycle of the process is controlled by the system. Even if the user closes the program, the process still exists in the memory. The purpose of this design is to start quickly next time. However, as the system runs longer, it will cause less and less memory. [0003] Based on this, the Android platform proposes a process clearing mechanism (Low Memory Killer), which checks the memory regularly, kills some processes, releases the memory, and avoids insufficient memory. [0004] The Low memory killer of the Android platform is based on the memory overflow clearing of its underlying Linux system (OOM Killer: Out Of Memory Killer). OOM Killer scores the process through a complex scoring mechanism, and then determines the process with the highes...

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/50
Inventor 潘影波刘桦金学烈李文洸
Owner SAMSUNG ELECTRONICS CHINA R&D CENT
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