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

Memory management method and device and embedded system

A memory management and memory technology, applied in the computer field, can solve the problems of inability to realize continuous memory space, memory application failure, allocation and other problems

Inactive Publication Date: 2014-08-06
SHANGHAI HUAWEI TECH CO LTD
View PDF6 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the purpose of the embodiments of the present invention is to provide a memory management method, device and embedded system to solve the problem that although the current remaining memory resources are greater than or equal to the requested memory space size, due to the scattered physical memory space, it cannot Realize the allocation of continuous memory space, which leads to the failure of memory application

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 and device and embedded system
  • Memory management method and device and embedded system
  • Memory management method and device and embedded system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is only some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0036] The embedded system can be applied in various scenarios, and the various scenarios involve the management of on-chip memory of a system-on-chip (System On Chip, SOC) in the embedded system.

[0037]Taking base station baseband processing as an example, the inventors found that most of the memory management in the baseband is static manual m...

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 embodiment of the invention discloses a memory management method and device and an embedded system. The method includes the steps that when current memory residual resources of a memory in an SOC are larger than or equal to K and an idle physical memory block of which the space is larger than or equal to K does not exist in the memory in the SOC, N idle physical memory blocks in the memory of the SOC are used for constructing virtual memory blocks of which the virtual addresses are continuous and the size of the space is K, and the virtual memory blocks are distributed, wherein K represents the size of memory space to be applied, the size of total space of the N idle physical memory blocks is K, N is an integer larger than or equal to 2, and the physical address of the physical memory blocks is continuous; in the initial process, the memory of the SOC is a whole idle memory block. Thus, the discrete idle physical memory blocks are combined into the virtual memory blocks of which the addresses are continuous, and therefore distribution of space with the continuous addresses is achieved.

Description

technical field [0001] The present invention relates to the field of computer technology, more specifically, to a memory management method, device and embedded system. Background technique [0002] The embedded system can be applied in various scenarios, and the various scenarios involve the management of on-chip memory of a system-on-chip (System On Chip, SOC) in the embedded system. [0003] In the existing method, a dynamic method can be used to manage the SOC on-chip memory. However, after the system has been running for a period of time, discrete physical address segments often exist. In some scenarios, although the current remaining memory resources are greater than or equal to the size of the requested memory space, the allocation of continuous address space cannot be realized due to the scattered physical address segments, resulting in memory application failure. [0004] For example, assuming that the size of a physical address is b, the current physical address s...

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
IPC IPC(8): G06F12/08G06F3/06
Inventor 宁科谢传波
Owner SHANGHAI HUAWEI TECH 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