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

Method for realizing DMA data transmission and apparatus thereof

A technology of data transmission and DMA controller, which is applied in the direction of multi-channel program device, electrical digital data processing, program startup/switching, etc., to achieve the effect of increasing speed

Inactive Publication Date: 2011-09-14
GUANGDONG VTRON TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For example, the bus transmission speed is 100 Mbytes / second, and a DMA transfer is 10 Mbytes of data. The time to complete the DMA operation is about 100 milliseconds. Assume that the application needs to perform an I / O read and write operation on the device when the DMA is just started. Operation, this I / O read and write operation must wait for this DMA to complete before proceeding, and the delay time is at least 100 milliseconds

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
  • Method for realizing DMA data transmission and apparatus thereof
  • Method for realizing DMA data transmission and apparatus thereof
  • Method for realizing DMA data transmission and apparatus thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0025] like figure 1 As shown, the present invention mainly includes a hardware module and a software module, the hardware module refers to the DMA module, and the software module refers to the device driver module.

[0026] In this embodiment, the device driver module refers to the device windows driver. The device driver module includes a main control module, a DMA transfer control module, an I / O read and write operation control module and an interrupt processing module. The main control module is connected with the DMA transmission control module, the I / O read and write operation control module, and the interrupt processing module respectively; the DMA transmission control module is connected with the DMA transmission module of the DMA module; the I / O read and write operation control module is connected with the I The / O read and write operation module is connected; the interrupt processing module is connected with the DMA transmission module of the DMA module.

[0027]Th...

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 method for realizing DMA data transmission and an apparatus thereof. The transmission process comprises: dividing total DMA transmission into a plurality of DMA transmission units and performing transmission one by one; sending an interruption after transmission of each DMA transmission unit is finished, obtaining the interruption and accumulating DMA transmission data volume, inquiring for any I / O read-write operation request, if yes, responding to the I / O read-write operation request, eliminating an interruption mark after the I / O read-write operation request is finished, if no, eliminating the interruption mark after the transmission of this DMA transmission unit is finished; and starting transmission of next DMA transmission unit until the total DMA transmission is finished. The method and the apparatus can rapidly perform I / O read-write operation on equipment in the process of mass data DMA.

Description

technical field [0001] The invention relates to a method and device for direct memory access (DMA) transmission of massive data without affecting the rapid realization of ordinary I / O read and write operations of equipment. Background technique [0002] In a system containing a central processing unit (hereinafter referred to as CPU), in order to improve the efficiency of system data transmission, when performing a large amount of data transmission between peripherals and memory, usually through the PCIE interface, the DMA method is used to achieve fast transmission of massive data operate. The DMA operation is mainly realized by the DMA controller. When the DMA controller transmits data, it sends addresses and read / write signals in a fixed order through the hardware logic circuit to realize high-speed data transmission; in this process, the data does not pass through the CPU but directly transfer between peripherals and memory. [0003] In the prior art, during the DMA da...

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/28G06F9/48
Inventor 赵群英田启金
Owner GUANGDONG VTRON TECH CO LTD