Memory allocation method for application program, mobile terminal, server and storage medium

An application program and memory allocation technology, applied in the computer field, can solve problems such as slow memory data generation speed and memory addressing speed, and achieve the effect of increasing generation speed and improving fluency

Active Publication Date: 2019-03-08
NUBIA TECHNOLOGY CO LTD
View PDF7 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, an embodiment of the present invention provides a memory allocation method for an application program, a mobile terminal, a server, and a storage medium, so as to solve the above-mentioned existing memory allocation methods that generate memory data at a slow rate and when the number of objects in the memory is very large. For a long time, the memory addressing speed is slow

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 allocation method for application program, mobile terminal, server and storage medium
  • Memory allocation method for application program, mobile terminal, server and storage medium
  • Memory allocation method for application program, mobile terminal, server and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0052] image 3 Shown is a schematic flow chart of the implementation of the memory allocation method for application programs provided by Embodiment 1 of the present invention, and the execution subject of the method is the mobile terminal described in the embodiment of the present invention. see image 3 As shown, the memory allocation method of the application program provided in this embodiment may include the following steps:

[0053] Step S301, obtain the memory allocation request of the application program, send the memory allocation request to the server, and make the server determine the Whether the application is the target application.

[0054] In this embodiment, the target application program is an application program that is frequently used or an application program that generates a large number of objects during use and has a relatively small data block size of each object.

[0055] Preferably, before step S301, it also includes:

[0056]recording the usage ...

Embodiment 2

[0069] Figure 4 It is a schematic flowchart of the realization of the memory generation method of the application program provided by the second embodiment of the present invention, and the executing subject of the method is the server described in the embodiment of the present invention. see Figure 4 As shown, the application memory generation method provided in this embodiment may include the following steps:

[0070] Step S401, receiving an application memory allocation request sent by a mobile terminal, and judging whether the application is a target application according to the application identifier carried in the memory allocation request and a pre-stored list of target applications.

[0071] In this embodiment, the target application program is an application program that is frequently used or an application program that generates a large number of objects during use and has a relatively small data block size of each object.

[0072] Preferably, before step S401, i...

Embodiment 3

[0086] Embodiment 3 of the present invention provides a mobile terminal. The mobile terminal includes a memory, a processor, and a computer program stored in the memory and operable on the processor. When the processor executes the computer program, the The steps of the method described in the first embodiment above.

[0087] The mobile terminal in the embodiment of the present invention belongs to the same idea as the method described in the first embodiment above, and its specific implementation process is detailed in the corresponding method embodiment, and the technical features in the method embodiment are correspondingly applicable in this device embodiment, I won't go into details here.

[0088] Those skilled in the art can understand that all or some of the steps in the method disclosed in this embodiment can be implemented as software, firmware, hardware and an appropriate combination thereof.

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 embodiment of the invention provides a memory allocation method of an application program, a mobile terminal, a server and a storage medium, which relate to the computer technical field. The method comprises the following steps of obtaining the memory allocation request of the application program, sending the memory allocation request to the server, enabling the server to judge whether the application program is a target application program or not according to the identification of the application program carried by the memory allocation request and the pre-stored target application program list; receiving the judgment result returned by the server, determining the memory allocation strategy according to the judgment result, and allocating the memory for the application program according to the memory allocation strategy, wherein when the application program is the target application program, the memory allocation strategy is to set a specific area in the memory of the mobile terminal, and generate the memory data of the application program according to the column generation mode in the specific area. The embodiment of the invention can improve the generation speed of the memory data, the addressing and recovery speed of the memory, and greatly improves the fluency of the application.

Description

technical field [0001] The embodiments of the present invention belong to the technical field of computers, and in particular relate to a memory allocation method for application programs, a mobile terminal, a server, and a storage medium. Background technique [0002] Memory allocation refers to the method of allocating or reclaiming storage space during program execution. With the continuous reduction of hardware costs, the memory of mobile phones launched by various mobile phone manufacturers is also increasing. Currently, the memory of mobile phones is 4G, 6G, or even 8G. How to make better use of the memory space of mobile phones and improve user fluency is an increasingly important topic. [0003] In the traditional solution, the memory allocation of the application is carried out in the way of increasing the memory address. This memory allocation method has the problems of slow memory data generation speed and slow memory addressing speed when the number of objects i...

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
CPCG06F9/5016
Inventor 倪秉炬
Owner NUBIA TECHNOLOGY CO LTD
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