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

Memory management method

A memory management and memory technology, applied in the field of memory management, can solve problems such as unreasonable embedded systems, and achieve the effect of improving use efficiency

Inactive Publication Date: 2011-01-05
WUXI ZGMICRO ELECTRONICS CO LTD
View PDF4 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If you still adopt the method of dynamic memory allocation during system initialization, you can only create a memory pool according to the minimum available memory to prevent memory leaks and other problems, and this method is obviously unreasonable for embedded systems with relatively tight memory resources. of

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 management method
  • Memory management method
  • Memory management method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0027] The memory management method described in the present invention is applicable to the embedded system of the new architecture adopting the code coverage technology. The implementation of the present invention may be carried out in different forms. For example, the memory management method may be implemented as a method or product through software, hardware or a combination of the two, and may also be implemented as a part of a system through a computer program.

[0028] Please refer to figure 1 , which shows a method flowchart of the memory management method 100 in one embodiment of the present invention. The memory management method 100 includes:

[0029] Step 101, pre-defining public codes and proprietary codes, in the p...

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 management method which comprises the following steps of predefining a public code and a private code; dividing memory space with preset size to the public code; selecting the private code according to actual scene; dividing corresponding memory space according to the selected private code to load the private code; and establishing a memory pool according to the rest available memory. Compared with the prior art, the establishing time of the memory pool of the memory management method provided by the invention is in the stage after program codes for specific operation of systems are determined, instead of the initialization stage of the systems so that when the memory pool is established, the rest available memory of the systems is known and is capable of maximizing the available space for establishing the memory pool, and thus, the use efficiency of memory is greatly improved.

Description

【Technical field】 [0001] The invention relates to memory management of an embedded system, in particular to a method for dynamically creating a memory pool. 【Background technique】 [0002] In the use of resources in embedded systems, memory resources are usually relatively tight. At present, most embedded systems use dynamic allocation of memory. When applications need to use memory resources, they apply for them and release memory resources after use. In embedded systems with traditional architecture, especially in real-time operating systems (RTOS), the dynamic allocation of system memory is done in the system initialization stage, and is not done during the entire program running cycle. Modified way. Since the embedded system of the traditional architecture can determine the size of the remaining available memory after initialization in the system initialization stage, there is no problem in this way. [0003] However, for embedded systems with new architectures using c...

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/08G06F12/06
Inventor 李志刚
Owner WUXI ZGMICRO ELECTRONICS CO LTD
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