A management method for network data transmission of zero copy buffer queue

A management method and network data technology, which is applied in the field of network data transmission in which zero-copy data buffer queues are managed through separate handles, can solve problems such as the inability to realize simultaneous access to data buffer queues, and achieve improved flexibility and efficiency, flexible and efficient management , Improve the effect of timeliness
CN101150485AInactive Publication Date: 2008-03-26DAWNING INFORMATION IND BEIJING

Patent Information

Authority / Receiving Office
CN ยท China
Patent Type
Applications(China)
Current Assignee / Owner
DAWNING INFORMATION IND BEIJING
Publication Date
2008-03-26
Estimated Expiration
Not applicable ยท inactive patent

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a management method for network data transmission of zero copy buffer queue, which belongs to the field of management method of data buffer queue of network data zero copy. The technical proposal of the invention includes the following operating steps: A. a continuous-memory allocated in a user space is taken as a DMA buffer for messages; B. a control handle of the buffer is established inside a kernel-mode driver; C. the control handle is mapped by an application program through an interface repository so as to realize operation of the buffer; and D. when messages are transmitted, the physical address of a full buffer is written into a network card by the driver, a buffer filled with messages taken out from the full buffer is applied, then the buffer is positioned inside an empty buffer queue after the messages are transmitted. The invention is applicable to the flexible management of a message buffer by a zero copy driver.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to a method for managing network data transmission of a zero-copy buffer queue, in particular to a method for managing network data transmission of a zero-copy data buffer queue through a separate handle. Background technique

[0002] In the existing data transmission technology of the computer, the data structure of the data queue is often used to store the data. The elements (data) in the data queue and the control information (queue control items) of the data queue are tightly coupled together, which is convenient to increase Cohesion of software, which is very beneficial for single-process operation. In zero-copy network transmission, it is necessary for the kernel driver and the user memory application to simultaneously access the queue space composed of message buffers, which brings about whether the queue control structure is constructed in the user memory space or in the kernel space. problem, and the mutual exclusion pro...

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