Management method of stack buffer area

A management method and buffer technology, applied in the direction of electronic digital data processing, special data processing applications, data processing according to predetermined rules, etc., can solve problems such as business interruption, data forwarding confusion, conflicts, etc., to avoid conflicts and maintain correctness , the effect of improving robustness

Inactive Publication Date: 2009-08-19
ZTE CORP +1
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

According to the above, the index in the stack represents a free buffer, and there are duplicate indexes in the stack. When an external module applies for buffer allocation, the buffer manager may allocate the same buffer index index3 at the same time. Used by different external modules, causing conflicts
The consequences of this are very serious. If it is used in data communication, there will be packet loss, and the data forwarding will be completely confused and the business will be interrupted.
And the current buffer manager has no way of detecting this happening, and no way of recovering from this mess

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
  • Management method of stack buffer area
  • Management method of stack buffer area
  • Management method of stack buffer area

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment

[0024] First, the reliable buffer manager 3 system of the present invention is described, as Figure 4 As shown, it includes four components: control logic 101, stack pointer 102, free buffer stack 103, buffer information recorder 401 for recording buffer usage information table. The memory 104 is a managed object, and the memory 104 is divided into many small block buffers, and each buffer is represented by an index index. The index map 105 does not exist physically, and is used to illustrate the one-to-one correspondence between the buffer index and the buffer and information recorder entries for the convenience of understanding. An entry is created for each index in the buffer information recorder 401, and each entry corresponds to the index one by one, for example, index0 corresponds to info0, index1 corresponds to info1, index2 corresponds to info2, and so on.

[0025] The second step illustrates the allocation process and release process of the buffer manager of the pre...

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 stack buffer management method. When the idle buffer stack (103) is used for PUSH operation, it is allowed or rejected to be written into the idle buffer stack (103) according to whether the released index is used or not. This method avoids repeated indexes in the free buffer stack, refuses to push repeated indexes into the free buffer stack, and directly sends a release buffer response signal to the buffer user who provided the repeated index; this mechanism maintains The correctness of the internal index of the free buffer stack avoids buffer allocation conflicts; on the other hand, it will not cause confusion inside the buffer management due to errors in external modules, which improves the robustness and reliability of the buffer manager sex.

Description

technical field [0001] The invention relates to the fields of computer and communication, in particular to a stack type buffer management method. Background technique [0002] In the field of communication and computer, it is often necessary to use a large block of fast read-write memory to temporarily store received data, data waiting to be processed, and data waiting to be sent out. This large block of memory is logically divided into many small blocks. These small chunks are called buffers. The mechanism for effectively managing these buffers and its implementation are called buffer managers. The main functions completed by the buffer manager are: when there is an external buffer application request, reply according to the allocation strategy, allocate a specific buffer or refuse to allocate a buffer; when there is an external buffer release request, respond to the release request, and will be released The buffers are listed in the free buffer pool for future allocatio...

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): G06F7/78G06F17/30
Inventor 娄本刚吴春华刁瑞强
Owner ZTE CORP
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