Internal memory buffer area management method and system

A memory buffer and management method technology, which is applied in the memory buffer management method and system field, can solve problems such as reducing product work efficiency, achieve the effects of avoiding null pointer judgment, ensuring access efficiency, and reducing memory application consumption

Active Publication Date: 2009-02-18
北京紫光通信科技集团有限公司
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Especially for low-end hardware forwarding products, with less memory, the use of the above MBUF structure will reduce the work efficiency of the entire product

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
  • Internal memory buffer area management method and system
  • Internal memory buffer area management method and system
  • Internal memory buffer area management method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0058] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0059] figure 2 The composition diagram of the MBUF management system provided by Embodiment 1 of the present invention, such as figure 2 As shown, it mainly includes: a characteristic module 21 and an MBUF management module 22, wherein:

[0060] The characteristic module 21: monitors the characteristic switching state of each protocol module, and notifies the MBUF management module 22 of the characteristic switching state of each protocol module.

[0061] MBUF management module 22: receive message, create MBUF structure for this message, including: MBUF header data, message basic information, message original data and the characteristic information pointer of each protocol module; The feature switch status of each protocol module is to apply for memory for the feature information of each protocol module whose feature status is "o...

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 buffer management method and system. In the invention, setting characteristic information pointer of every protocol module only in MBUF structure, if characteristic of protocol module has already opened, then applying for memory for the characteristic information of protocol module; or when processing characteristic of protocol module, applying for memory for characteristic information of the protocol module. So unopened characteristic or unprocessed characteristic can not be applied for memory during message processing to guarantee working efficiency of forwarding equipment, reduces memory occupied by MBUF structure.

Description

technical field [0001] The invention relates to the technical field of memory management, in particular to a memory buffer (MBUF, MemoryBuffer) management method and system. Background technique [0002] Data is stored in the forwarding device, usually in MBUF. As the carrier of the message, MBUF needs to meet the following requirements: be able to carry the original data of the message; be able to carry some control data except the original data of the message, and be used for information transmission between protocol modules, including: basic information and characteristic information of the message transmission; data access from MBUF should be efficient to meet the needs of high-speed forwarding; the length of MBUF should be reasonable to reduce the waste of device memory. [0003] When the communication forwarding device receives a message, it will create an MBUF structure for the message; when the message is processed, it will release the MBUF structure. figure 1 The ...

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): H04L12/56H04L29/06H04L12/861
Inventor 赵丽娜
Owner 北京紫光通信科技集团有限公司
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