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

Android system memory management method and device

A memory management, Android system technology, applied in the directions of multi-programming devices, program control devices, resource allocation, etc., can solve the problems of memory management methods that are difficult to clean up memory, etc., and achieve the effect of improving efficiency

Active Publication Date: 2019-09-17
TCL CORPORATION
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The embodiment of the present invention provides a memory management method and device for an Android system, aiming to solve the problem that it is difficult to clean up the memory in a timely and rapid manner in the existing memory management method

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 system memory management method and device
  • Android system memory management method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0026] figure 1 A flow chart of a memory management method for an Android system provided in the first embodiment of the present invention is shown, and the details are as follows:

[0027] Step S11, when applying for memory for the application to be started, acquire the memory size required to start the application to be started.

[0028] Usually, after the application is started, the system collects the memory occupied by the application, and records and updates the collected information corresponding to the memory occupied by the application. In this way, when the application needs to be started and applies for memory from the system, the system obtains the memory size required to start the application from the recorded information.

[0029] Step S12, judging whether the remaining memory of the current system satisfies the requirement of the memory size required to start the application to be started.

[0030] In this step, the remaining memory of the current system is me...

Embodiment 2

[0060] figure 2 It shows a structural diagram of a memory management device for an Android system provided by a second embodiment of the present invention. The memory management device for an Android system can be applied to a terminal device, and the terminal device can include One or more core network user equipment for communication, the user equipment may be a mobile phone (or called "cellular" phone), a computer with a mobile device, etc., for example, the user equipment may also be portable, pocket, hand-held , computer-built-in or vehicle-mounted mobile devices that exchange voice and / or data with the wireless access network. For another example, the mobile device may include a smart phone, a tablet computer, a personal digital assistant PDA, a sales terminal POS, or a vehicle-mounted computer. For ease of description, only parts related to the embodiments of the present invention are shown.

[0061] The memory management device of the Android system includes: an app...

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 is applicable to the field of software, and provides an internal memory management method and an internal memory management device of an Android system. The method comprises the following steps of: when applying an internal memory for a to-be-started application, obtaining the size of the internal memory needing to be occupied to start the to-be-started application; judging whether the current residual internal memory of the system meets the requirements of the size of the internal memory needing to be occupied to start the to-be-started application; if not, carrying out priority empowerment on a currently started application according to the start information of the currently started application, wherein the start information comprises the application start times and the time corresponding to starting the corresponding application; selecting a preset number of applications with low priority, and judging whether the sum of the internal memory occupied by the selected application and the current residual internal memory of the system meets the requirements of the size of the internal memory needing to be occupied to start the to-be-started application; and when the judgment result is yes, clearing the selected applications. By virtue of the internal memory management method and internal memory management device provided by the embodiment of the invention, the internal memory occupied by the applications can be released quickly.

Description

technical field [0001] The embodiments of the present invention belong to the field of software, and in particular relate to a memory management method and device for an Android system. Background technique [0002] At present, terminal devices based on the Android system usually save the opened application in the background, so as to quickly start the application next time. However, because the applications saved in the background need to occupy a certain amount of memory, if there are too many applications saved in the background, the running speed of the terminal device will be slowed down. [0003] In order to improve the running speed of the terminal device, the Android system uses the memory cleaning tool that comes with the underlying Linux system itself --- Out of Memory Killer (OOM Killer) tool to clean up the applications saved in the background. The OOM Killer first cleans the The application is prioritized, and then the application with the lowest priority (the ...

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/50G06F9/445
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