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

An internal memory management method

A memory management and memory block technology, which is applied in data exchange through path configuration, digital transmission system, electrical components, etc., can solve the problems of memory loss and low transmission efficiency, reduce memory loss and leakage, reduce the number of copies, cost reduction effect

Inactive Publication Date: 2009-03-25
ZTE CORP
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The present invention proposes a memory management method, which can make the message do not need to apply for memory multiple times during the transmission process, and copy information, thereby avoiding the problems of memory loss and low transmission efficiency caused by this.

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 internal memory management method
  • An internal memory management method
  • An internal memory management method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0015] The memory management method of the present invention is illustrated below in conjunction with the accompanying drawings and through specific embodiments: first introduce the memory block structure of the present invention, the size of the memory block can be set according to actual conditions in specific use, such as figure 1 As shown, each block of memory occupies 1536 bytes as an example. Each memory block is composed of memory block information, free area and message area. The 64 bytes of the free area are used to store header information, and the 1456 bytes of the message area are used to store messages. .

[0016] The processing steps of the method of the present invention are respectively as follows:

[0017] 1. If figure 2 As shown, the memory block initialization processing steps are:

[0018] Step 1: Apply for memory to form a memory pool, and adjust the starting address of the memory pool to a multiple of 256.

[0019] Step 2: Fill in the relevant informa...

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 a kind of internal memory managing method of a communication device, which includes following steps: applies an internal memory as internal memory pool in advance, divides internal memory block and initializes them, the applied internal memory block are read from the head of memory pool, the released internal memory blocks are stored in the caudal region of the pool; sets an idle area in the internal memory block, which is used to adds head information, the information read is set at back of the idle area of internal memory block; when needs to add head information, shifts the pointer forward about the length of the head information in idle area, then adds head information; when reading head information, the pointer is shifted to the correspondent position in idle area to read information.

Description

Technical field [0001] The invention relates to a memory management method of a communication device, in particular to an occasion requiring relatively high communication and efficiency, such as point-to-point communication and the like. Background technique [0002] With the rapid development of the Internet, more and more data communication products are put into use. In the process of information transmission, header information needs to be continuously added to identify messages from different levels. The traditional method of adding header information in the communication process needs to continuously apply for memory and copy information. Such multiple copies are likely to slow down the communication speed and reduce efficiency; and if the memory is not released in time for multiple applications, it may easily cause memory leaks and message loss. Contents of the invention [0003] The invention proposes a memory management method, which can avoid the memory loss and ...

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): H04L12/28H04L12/24
Inventor 冯敏
Owner ZTE CORP