Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

An Embedded Software Memory Management Method

An embedded software and memory management technology, applied in the direction of electrical digital data processing, multi-channel program device, program control design, etc., can solve the problems of poor flexibility and inflexibility, so as to reduce time consumption, increase flexibility and improve dynamic The effect of memory management efficiency

Active Publication Date: 2021-11-02
TIANJIN JINHANG COMP TECH RES INST
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The traditional memory pool management mechanism can only allocate memory blocks of fixed size, which has poor flexibility; although other memory pool management methods can realize dynamic allocation of memory blocks, the memory space managed by the memory pool is created by defining a global array, and the array name is used as The memory pool address pointer is passed to the generation function, which is obviously not flexible enough

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
  • An Embedded Software Memory Management Method
  • An Embedded Software Memory Management Method
  • An Embedded Software Memory Management Method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In order to make the purpose, content, and advantages of the present invention clearer, the specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments.

[0024] In order to improve the utilization rate of embedded system memory, effectively solve the problems of memory fragmentation and memory leakage, and realize fast allocation and release of memory, the present invention proposes an embedded software memory management method. This method adopts the method of static allocation, presets the number of partitions in the system memory area and the number and size of memory blocks in each partition, and then adopts the method of dynamic memory allocation to the user memory area based on the pool memory management mechanism. The memory allocator handles memory application and release requests, and improves the traditional dynamic memory allocation and release algorithms. Th...

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 relates to an embedded software memory management method, and relates to the technical field of embedded software memory management. The present invention adopts the method of static allocation, presets the number of partitions in the system memory area and the number and size of memory blocks in each partition, and then adopts a dynamic memory allocation method for the user memory area based on the pool memory management mechanism. The memory allocator handles memory application and release requests, and improves the traditional dynamic memory allocation and release algorithms. This method uses a combination of static allocation of system memory area and dynamic allocation of user memory area, which increases the flexibility of the system, and at the same time limits the generation of a large number of fragments, avoiding the occurrence of memory leaks, and this method can effectively reduce the application and It takes time to release memory and improve the efficiency of dynamic memory management.

Description

technical field [0001] The invention relates to the technical field of embedded software memory management, in particular to an embedded software memory management method. Background technique [0002] Due to the real-time, flexibility and stability requirements of embedded systems, there are special strategies for memory management. Good program performance partly depends on its effective memory management capabilities, while the performance of conventional heap memory managers will be affected by memory fragmentation and memory recovery requirements, especially in application environments where memory is frequently allocated and released, it is more likely to become bottleneck in system performance. Not only that, but a potential memory leak could exhaust a long-running system's memory, causing a drastic drop in system performance and eventually crashing. In order to solve the problems of memory fragmentation in the heap brought about by the embedded system during memory...

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
CPCG06F9/5016G06F9/5022G06F2209/5011
Inventor 赵昶宇蓝仁恩
Owner TIANJIN JINHANG COMP TECH RES INST
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products