Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data transmission method and a data transmission device for a Scaler-Gather DMA (Direct Memory Access)

A data transmission method and data transmission technology, applied in the field of computer data transmission, can solve the problem that CPU and DMA cannot participate in data transmission at the same time, and achieve the effect of improving efficiency

Inactive Publication Date: 2019-03-19
SHANDONG CHAOYUE DATA CONTROL ELECTRONICS CO LTD
View PDF5 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In view of this, the purpose of the embodiment of the present invention is to propose a data transmission method and device for SG DMA. The method and device create two SG DMA data transmission linked lists and two sets of kernel space buffers to transfer data in SG DMA. At the same time, the CPU copies the user space data into the buffer to realize parallel data transmission from user space to kernel space and from kernel space to IO device space, which solves the problem that CPU and DMA cannot participate in data transmission at the same time, and improves the efficiency of data transmission in DMA

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 a data transmission device for a Scaler-Gather DMA (Direct Memory Access)
  • Data transmission method and a data transmission device for a Scaler-Gather DMA (Direct Memory Access)

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] In order to make the object, technical solution and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings.

[0029] It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are to distinguish two entities with the same name but different parameters or parameters that are not the same, see "first" and "second" It is only for the convenience of expression, and should not be construed as a limitation on the embodiments of the present invention, which will not be described one by one in the subsequent embodiments.

[0030] Based on the above purpose, the first aspect of the embodiments of the present invention proposes an embodiment of an SGDMA data transmission method. figure 2 What is shown is a schematic flowchart of an embodiment of the SGDMA data transmis...

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 SG DMA data transmission method. The method comprises the steps that a first SG DMA data transmission link table and a second SG DMA data transmission link table are createdin an array mode, and a first set of buffer areas and a second set of buffer areas are created; copying the user space data into a first group of buffer areas through a CPU (Central Processing Unit),and writing the address of the linked list I into IO (Input / Output) equipment; When SG DMA data transmission is started, user space data is copied into the second group of buffer areas through the CPU; creating an interrupt processing program, and after the SG DMA transmission is completed, receiving a transmission completion interrupt instruction sent by the SG DMA by the CPU, and writing the address of the linked list II into IO equipment; and circulating in sequence until the user space data is completely written into the IO equipment memory position. The invention also discloses a data transmission device of the SG DMA. The method and the device solve the problem that the CPU and the DMA cannot participate in data transmission at the same time, and the DMA transmission efficiency of the data is improved.

Description

technical field [0001] The present invention relates to the field of computer data transmission, and more specifically, to a Scatter-GatherDMA data transmission method and device. Background technique [0002] DMA (Direct Memory Access), that is, direct memory access, is a mechanism for quickly transferring data. Data transfer can be from IO device to memory, from memory to IO device or from one piece of memory to another. It does not require the participation of the CPU when using it for data transfer. Every computer motherboard has a DMA controller, which is usually programmed by the computer and uses a ROM on the adapter (such as the ROM on the floppy disk drive controller) to store the programs that control the DMA to transfer data. Once the controller is initialized and the data is transferred, the DMA can complete the data transfer independently from the CPU. [0003] The Scatter-gather DMA (SG DMA, scatter-gather DMA) method is a DMA method corresponding to the blo...

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): G06F13/28
CPCG06F13/28G06F2213/2806
Inventor 赵瑞东王朝晖陈亮甫贾国强
Owner SHANDONG CHAOYUE DATA CONTROL ELECTRONICS CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products