Memory management method and device

A memory management and memory technology, applied in the storage field, can solve problems such as discontinuous memory fragmentation, reduced memory utilization, and resource waste

Inactive Publication Date: 2016-05-18
SHENZHEN INST OF ADVANCED TECH CHINESE ACAD OF SCI
View PDF5 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the actual situation, the sensor node program needs to frequently apply for memory and release memory, but according to the existing memory management method, due to the uncertainty of the memory size applied by the

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

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0023] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.

[0024] The memory management method described in the embodiment of the present invention can be applied to the memory management scenario of the sensor node operating system, for example: when the sensor node operating system receives a memory request for any node program, memory is allocated to any node program Block, and mark the memory block as occupied in the memory pool linked list. When a memory release request from any node program...

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. The method comprises the following steps: when receiving a memory application request of any node program, distributing a memory block to any node program, and marking the memory block into an occupancy state in a memory pool linked list; when receiving a memory release request of any node program, releasing a memory release block according to the memory release request, and marking the memory release block in the memory pool linked list into an idle state; and when the memory release block is a first split block and a second split block corresponding to the first split block is in the idle state, combining the first split block and the second split block into a combined memory block. By releasing the memory block corresponding to the memory release request of any node program, memory fragments generated by an uncertain memory application size are reduced, so that waste of resources is avoided. The node memory can be reasonably utilized by splitting and combining the memory block, so that the memory utilization rate is improved.

Description

technical field [0001] The invention relates to the field of storage, in particular to a memory management method and device. Background technique [0002] Wireless sensor network is currently a research field that has attracted much attention. It is composed of a large number of micro sensor nodes deployed in the monitoring area, and forms a network system through wireless communication. It can cooperatively perceive, collect, and process the perceived Object information can be used in military defense, industrial and agricultural control, environmental detection, emergency rescue and disaster relief, remote control of dangerous areas and other fields. Among them, the sensor node is a miniature embedded system with very limited hardware resources, and the operating system needs to be able to use its limited memory, processor and communication modules in an energy-efficient and efficient manner. In the actual situation, the sensor node program needs to frequently apply for ...

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/02
Inventor 李烨李洪刚
Owner SHENZHEN INST OF ADVANCED TECH CHINESE ACAD OF SCI
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products