Method for regulating and controlling memories, equipment and computer readable medium
A computer program and memory technology, applied in the field of equipment, computer-readable storage media, and memory control methods, can solve the problems of high cost, low efficiency, optimization lag, etc., achieve accurate control, improve use efficiency, and enrich memory control methods Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0086] A memory control method, the method comprising:
[0087] S1, dividing the memory area into a first memory area and a second memory area;
[0088] S2. Triggering a second memory release mechanism when the target application program is running in the second memory area;
[0089] S3. Regulate the memory release operation corresponding to the target application program according to the second memory release mechanism.
[0090] In this embodiment, in order to solve the technical defects of low efficiency, high cost, and optimization lag in the memory management and control methods of mobile terminal devices in the prior art, this embodiment proposes a memory control method.
[0091] In this embodiment, firstly, the memory area is divided into a first memory area and a second memory area. Specifically, because each application of the Android system is implemented based on java, its memory management is based on the JVM memory management mechanism of java, that is, the memor...
Embodiment 2
[0097] Based on the foregoing embodiments, the dividing the memory area into a first memory area and a second memory area includes:
[0098] S11. Determine the capacity of the memory area and the software and hardware environment in the terminal device;
[0099] S12. Determine the first memory area and the second memory area according to the capacity of the memory area and the hardware and software environment;
[0100] S13. Execute a first memory release mechanism in the first memory area, and execute a second memory release mechanism in the second memory area, where the first memory release mechanism includes but is not limited to a conventional memory release mechanism.
[0101] In this embodiment, firstly, the capacity of the memory area and the software and hardware environment are determined in the terminal device. For example, determine whether the memory capacity of the terminal device is 2G, 4G or 8G, etc., and the software and hardware environment of the terminal de...
Embodiment 3
[0111] Based on the above embodiment, when the target application program is running in the second memory area, triggering the second memory release mechanism includes:
[0112] S21. Analyze the memory release requirements of the target application program;
[0113] S22. Determine an additional code package corresponding to the target application program according to the memory release requirement.
[0114] In this embodiment, firstly, the memory release requirement of the target application is analyzed; then, an additional code package corresponding to the target application is determined according to the memory release requirement.
[0115] Specifically, an additional code package corresponding to the application is automatically generated according to the timing of memory release. Similarly, taking a game application program as an example, after the game additional code package is generated, the code package is triggered to start when the game is running.
[0116] Record w...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com