Unlock instant, AI-driven research and patent intelligence for your innovation.

Terminal, memory allocation control method thereof and computer readable storage medium

A control method and memory allocation technology, which is applied in the direction of memory address/allocation/relocation, resource allocation, multi-program device, etc., and can solve the problems of low resource utilization and large amount of calculation

Pending Publication Date: 2019-06-11
NUBIA TECHNOLOGY CO LTD
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The technical problem to be solved by the present invention is: the current memory allocation control method on the smart terminal requires frequent recalculation and allocation of the entire disk, which results in a large amount of calculation and low resource utilization

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
  • Terminal, memory allocation control method thereof and computer readable storage medium
  • Terminal, memory allocation control method thereof and computer readable storage medium
  • Terminal, memory allocation control method thereof and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0069] The memory allocation control method provided in this embodiment sets the memory space of the terminal to include basic storage unit space and shared storage space; when it is detected that a certain basic storage unit space does not meet the storage requirements of the It is required to allocate an incremental storage space for the basic storage unit space from the shared storage space, form a temporary storage space through the incremental storage space and the basic storage unit space, and then store the objects to be stored in the temporary storage space, Avoiding directly triggering full-disk recalculation for memory allocation due to insufficient storage space of a single basic storage unit can greatly reduce the amount of calculation, improve storage efficiency, and avoid resource waste caused by idle resources that cannot be allocated to other types of objects for storage.

[0070] For ease of understanding, this embodiment will be further described below with an...

no. 2 example

[0099] The first embodiment exemplifies the process of applying for incremental storage space from the shared storage space to form a temporary storage space for storing objects to be stored when the space of the basic storage unit is not enough. On the basis of the above-mentioned embodiments, this embodiment illustrates the resource reclamation process when the content stored in the temporary storage space is released.

[0100] In this embodiment, when it is detected that at least one storage object stored in a certain temporary storage space in the internal memory is currently released, at least a part of the storage space occupied by the released storage object may be allocated to the shared storage space, It can be applied for when other temporary storage space or basic storage unit space is not enough to improve resource utilization.

[0101] In this embodiment, allocating at least a part of the storage space occupied by the released storage object to the shared storage ...

no. 3 example

[0107] This embodiment provides a terminal, see Figure 9 As shown, the terminal in this embodiment further includes a processor 901, a memory 902, and a communication bus 903;

[0108] The communication bus 903 is used to realize the communication connection between the processor 901 and the memory 902;

[0109] The processor 901 is configured to execute one or more programs stored in the memory 902, so as to implement the steps of the terminal memory allocation control method exemplified in the above embodiments.

[0110] This embodiment also provides a computer-readable storage medium, which can be used in various electronic terminals, and stores one or more programs, and the one or more programs can be used by one or more The processor executes to implement the steps of the terminal memory allocation control method exemplified in the above embodiments.

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 terminal, a memory allocation control method thereof and a computer readable storage medium, the memory space of the terminal is set to comprise basic storage unit spaces andshared storage spaces, and each basic storage unit space is used for storing a type object corresponding to the basic storage unit space; when it is detected that a certain basic storage unit space does not meet the storage requirement of the current to-be-stored object, storing the to-be-stored object; if yes, allocating an incremental storage space for the basic storage unit space from the shared storage space according to the current storage requirement, forming a temporary storage space through the incremental storage space and the basic storage unit space, and then storing the to-be-stored object into the temporary storage space; the invention further discloses a terminal and a computer readable storage medium, by implementing the scheme, the calculation amount can be greatly reduced, the storage efficiency can be improved, resource waste caused by the fact that idle resources cannot be allocated to other types of objects for storage can be avoided, and the resource utilization rate can be improved.

Description

technical field [0001] The present invention relates to the field of terminal control, and more specifically, to a terminal, a memory allocation control method thereof, and a computer-readable storage medium. Background technique [0002] With the rapid development of mobile communication, the function of mobile terminal products is not only as a communication tool, but also as a tool for people's entertainment. At present, no matter what kind of place they are in, people can use mobile terminals, or read, or play games, or chat. In life and work, with the diversification of people's needs, the types and quantities of applications installed and running on terminals are also increasing, and people's requirements for comprehensive performance of terminals are also getting higher and higher. At present, all kinds of smart terminals allocate memory according to the type of object to be stored, and allocate an independent storage space for each object to be stored. When the stor...

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): G06F12/02G06F9/50
Inventor 柴启蕾
Owner NUBIA TECHNOLOGY CO LTD
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