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

A memory management method and device for an embedded system

An embedded system and memory management technology, which is applied in the field of embedded system memory management methods and devices, can solve problems such as system crashes, restarts, and impacts on memory usage, so as to increase memory size, increase the size of available memory, and prevent memory fragmentation the effect of

Active Publication Date: 2021-06-29
DEEPBLUE TECH (SHANGHAI) CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] At present, embedded systems are widely used. Considering the performance limitations of embedded products, the memory resources of embedded systems are usually limited, which may affect the use of memory. For example, during the aging test of embedded products, it is often encountered In the case of crashes or system restarts due to insufficient storage, how to efficiently manage and use memory is very necessary

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
  • A memory management method and device for an embedded system
  • A memory management method and device for an embedded system
  • A memory management method and device for an embedded system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0059] 1) Determine the difference between the reserved memory corresponding to the specific item and the corresponding memory threshold, and release the memory of the difference value for the reserved memory corresponding to the specific item.

[0060] Wherein, the memory threshold may be set according to requirements or experiences of different specific projects, which is not limited in this embodiment of the present invention.

[0061] For example, if it is confirmed that DSP1 is used, but actually only needs to use 50M, the memory threshold corresponding to DSP1 can be set to 50M, but DSP1 has 64M reserved memory, then a part of memory can be released, releasing (64-50)=14M memory, Change the reserved memory corresponding to DSP1 to 50M. In this way, 14M memory can be saved and the actual available memory size of the low-end memory area can be increased.

[0062] 2) Determine the difference between the reserved memory corresponding to the specific project and the correspon...

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 present invention relates to the field of embedded systems, in particular to an embedded system memory management method and device. The method is to determine the reserved memory for specific items in the low-end memory area in the embedded system; wherein, the embedded The memory of the system is divided into at least a low-end memory area, and the low-end memory area indicates a memory area whose memory size is smaller than a preset threshold; according to a preset strategy, determine the specific item corresponding to the reserved memory that needs to be released; release the specific item corresponding to the determined Reserve memory. In this way, releasing a part of reserved memory that does not affect the use can increase the actual available memory size, prevent memory fragmentation, optimize system memory usage, and reduce insufficient memory allocation, thereby improving system stability. Avoid crashes or system restarts due to insufficient storage.

Description

technical field [0001] The invention relates to the field of embedded systems, in particular to an embedded system memory management method and device. Background technique [0002] At present, embedded systems are widely used. Considering the performance limitations of embedded products, the memory resources of embedded systems are usually limited, which may affect the use of memory. For example, during the aging test of embedded products, it is often encountered In the case of crashes or system restarts due to insufficient storage, how to efficiently manage and use memory is very necessary. Contents of the invention [0003] Embodiments of the present invention provide a memory management method and device for an embedded system to optimize memory use in the embedded system. [0004] The specific technical scheme that the embodiment of the present invention provides is as follows: [0005] A memory management method for an embedded system, comprising: [0006] Determi...

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 Patents(China)
IPC IPC(8): G06F9/50
Inventor 陈海波
Owner DEEPBLUE TECH (SHANGHAI) CO LTD