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

Data transmission method and system

A data transmission and data message technology, applied in the field of data transmission, can solve the problems of reducing data transmission efficiency and achieve the effect of improving data transmission efficiency

Inactive Publication Date: 2012-01-04
NEW H3C TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0012] It can be seen that when using a BD without a Valid bit to transmit a data packet, the CPU can only start to recycle the BD when all the data packets in the cache pointed to by all source cache address information in the BD linked list have been transmitted. Only then can the cache information storing the next round of data packets to be sent be written into the recovered BD, that is, the writing of cache information to the BD and the transmission of data packets are performed serially, which greatly reduces the efficiency of data transmission

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
  • Data transmission method and system
  • Data transmission method and system
  • Data transmission method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0046] The core idea of ​​the present invention is: form a queue with all BDs without Valid bits, send out the data message in the buffer pointed to by the source buffer address of the occupied BD in the queue, and send the Cache information is written to unoccupied BDs in the queue.

[0047] image 3 It is a flow chart of using a BD ring queue without a Valid bit to transmit data in a DMA mode provided by an embodiment of the present invention, as shown in image 3 As shown, the specific steps are as follows:

[0048] Step 301: The CPU preliminarily forms N+1 (N>0) BDs without Valid bits into a circular queue, and sequentially numbers each BD as: 0-N according to the order in which the BDs are arranged in the circular queue.

[0049] Step 302: The CPU presets three pointers: Head, Tail and Last, and initializes Head=Tail=Last=0, t...

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 data transmitting method and system, which is characterized by the following: constructing all BD without Valid bit to a queue; meeting the condition of data transition; sending out the pointing data message of the occupied BD source buffer address; writing the buffer message of waiting send data message to the unoccupied BD. This invention improves the sending efficiency of data greatly.

Description

technical field [0001] The invention relates to the technical field of data transmission, in particular to a data transmission method and system. Background technique [0002] The buffer descriptor (BD, Buffer Descriptor) is used to store information such as the first address of the buffer and the state of the buffer. When the system is initialized, the driver software constructs BDs in memory according to the requirements of the chips that will use BDs. A certain number of BDs can form data structures such as queues or linked lists. BDs can be classified into BDs with a Valid bit and BDs without a Valid bit, wherein the Valid bit is used to indicate whether the BD is already occupied. figure 1 A schematic diagram of a BD linked list composed of BDs with Valid bits is given, such as figure 1 As shown, the BD linked list is composed of N+1 BDs: BD0-N, and each BD includes fields such as Valid bit, next BD address, source cache address, destination cache address, and cache l...

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): G06F13/28
Inventor 刘玉印易莉向邦柱张国良余永飞张耀
Owner NEW H3C TECH CO LTD