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

Memory allocation method and device

A memory allocation and memory technology, applied in the storage field, can solve problems such as application failures, and achieve the effect of avoiding application exceptions or the entire system.

Active Publication Date: 2016-04-20
QINGDAO HISENSE MOBILE COMM TECH CO LTD
View PDF7 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides a memory allocation method and device to solve the problem that the subsystem can only apply for memory from the fixed memory allocated to itself, and the application fails when the remaining memory of its own fixed memory is insufficient.

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 and device
  • Memory allocation method and device
  • Memory allocation method and device

Examples

Experimental program
Comparison scheme
Effect test

no. 1 Embodiment

[0050] The first specific embodiment, such as image 3 As shown, the detailed process of subsystem 1 applying for memory from other subsystems is as follows:

[0051] Step 301: Subsystem 1 applies for memory in its own memory space, and fails to apply for memory due to insufficient memory space;

[0052] Step 302: Subsystem 1 applies for memory from Subsystem 2 in a memory sharing manner;

[0053] Step 303: Subsystem 2 applies for memory for Subsystem 1 from its own memory space;

[0054] Step 304: Subsystem 2 judges whether the memory application of Subsystem 1 is successful according to its own allocatable memory space, if successful, performs a reserve operation on the memory space allocated to Subsystem 1, and saves the The location information is used as the allocation result, and the allocation result is sent to subsystem 1 through memory sharing; otherwise, the application failure indication information is used as the allocation result, and the allocation result is se...

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 allocation method and device. The memory allocation method and device are used for solving the problem that due to the fact that subsystems can only apply for memories from fixed memories allocated to the subsystems, applications or the whole system is abnormal when the remaining fixed memories of the subsystems are insufficient is solved. The method comprises the steps that the first subsystem determines that the first memory space is insufficient and sends a memory application to the second subsystem, the memory application contains the size of the memory space requested to be allocated, the second subsystem allocates memory space for the first subsystem in the second memory space according to the memory application, and returns an allocation result to the first subsystem; the first subsystem receives the allocation result returned by the second subsystem, and carries out memory processing according to the allocation result.

Description

technical field [0001] The invention relates to the technical field of storage, in particular to a memory allocation method and device. Background technique [0002] A System-on-a-Chip (SOC) has multiple subsystems. Taking the SOC chip of a mobile phone as an example, there are application (Application, APP) subsystem, modem (modem) subsystem, wireless connection (Wireless Connectivity, WCN), advanced digital signal processing (advanced digital signal processor, ADSP) and other subsystems in the SOC chip, among which , APP is responsible for running the andriod application subsystem, modem is responsible for the communication protocol subsystem, WCN is responsible for the wireless connection system, ADSP is responsible for the audio subsystem, etc. The memory of these subsystems is allocated in advance, and the memory space that the subsystem can access is fixed. [0003] At present, the memory allocation mechanism adopts the allocation of fixed memory for multiple subsyst...

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): G06F15/78G06F12/02
CPCG06F12/0223G06F15/7839
Inventor 孔志强
Owner QINGDAO HISENSE MOBILE COMM TECH CO LTD