Supercharge Your Innovation With Domain-Expert AI Agents!

Memory optimization method, mobile terminal and computer readable storage medium

An optimization method and mobile terminal technology, applied in computing, energy-saving computing, program control design, etc., can solve the problem of reducing the frequency of recycling and generation of constant areas, so as to reduce the number of generation and recycling, reduce power consumption, and improve smooth use degree of effect

Active Publication Date: 2018-07-20
聘聘云(上海)智能科技有限公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The main purpose of the present invention is to propose a memory optimization method, mobile terminal and computer-readable storage medium, aiming to solve the problem of how to reduce the frequency of constant area recovery and generation

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
  • Memory optimization method, mobile terminal and computer readable storage medium
  • Memory optimization method, mobile terminal and computer readable storage medium
  • Memory optimization method, mobile terminal and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0063] Such as Figure 4 As shown, the first embodiment of the present invention proposes a memory optimization method, which includes the following steps:

[0064] S400. Obtain the shareable data index table and the shareable data block in the constant area from the server 2 at regular intervals.

[0065] Specifically, the server 2 can collect various constant area data blocks generated by the mobile terminal 4 when the system or application is started, and perform statistical analysis on the collected constant area data blocks, and find out data blocks that can be collected for the system and several data blocks. The data blocks in the constant area commonly used by two applications, that is, the sharable data blocks. For example, in the constant area data blocks corresponding to the system, application A, application B, application C, and application D, there is a data block whose content is 23BC, which is used by the system, application A, and application C, then this dat...

Embodiment 2

[0075] Such as Figure 5 As shown, the second embodiment of the present invention proposes a memory optimization method. In the second embodiment, steps S504-S510 of the memory optimization method are similar to steps S400-S406 of the first embodiment, except that the method further includes steps S500-S502.

[0076] The method includes the following steps:

[0077] S500. Collect various data blocks in the constant area generated when the system or application is started in the mobile terminal 4 .

[0078] Specifically, when the system or each application of the mobile terminal 4 is started, a corresponding constant area must be generated in the memory. The mobile terminal 4 can collect data blocks in each constant area, and the corresponding relationship between each constant area and the data blocks therein and the system or application.

[0079] S502. Report all the collected constant area data blocks to the server 2 for statistics.

[0080] Specifically, after the mobi...

Embodiment 3

[0094] Such as Image 6 As shown, the third embodiment of the present invention proposes a mobile terminal 4 . The mobile terminal 4 includes a memory 20 , a processor 22 and a memory optimization system 28 .

[0095] Wherein, the memory 20 includes at least one type of readable storage medium for storing the operating system installed in the mobile terminal 4 and various application software, such as the program code of the memory optimization system 28 . In addition, the memory 20 can also be used to temporarily store various types of data that have been output or will be output.

[0096] The processor 22 may be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor, or other data processing chips in some embodiments. The processor 22 is generally used to control the overall operation of the mobile terminal 4 . In this embodiment, the processor 22 is configured to run program codes stored in the memory 20 or process data, for...

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 memory optimization method. The method comprises the steps that a sharable data index table and a sharable data block of a const area are periodically obtained from a server;a shared const area is generated to save the sharable data block; when a system or an application is started, it is preferentially queried from the shared const area whether or not a useable sharabledata block exists; when the useable sharable data block exists in the shared const area, and the sharable data block is directly read from the shared const area in the operation process of the systemor application, so that the sharable data block can be used. The embodiment of the invention further discloses a mobile terminal and a computer readable storage medium. The memory optimization method, the mobile terminal and the computer readable storage medium have the advantages that the frequency of recycling and generating the const area is reduced, and the occupied memory space is reduced, thereby improving the use fluency of the system and application and reducing the power dissipation.

Description

technical field [0001] The invention relates to the technical field of memory optimization, in particular to a memory optimization method, a mobile terminal and a computer-readable storage medium. Background technique [0002] The applications in the Android operating system are all implemented in Java, based on the JVM virtual machine, and its memory management mechanism is to generate corresponding memory areas when the system or each application starts, including the stack, new generation, old generation, and constant area. Among them, the constant area stores the invariable data needed during the running of the program, such as constants, class names, method names, and so on. After each constant area is generated, it is necessary to write various data according to the operation of the program. And every time the system or application is shut down, the virtual machine must recycle the data in the constant area. However, with the startup and shutdown of the system or app...

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): G06F9/50
CPCG06F9/5016Y02D10/00
Inventor 倪秉炬
Owner 聘聘云(上海)智能科技有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More