Transmission control method and apparatus of direct memory access

A memory access and transmission control technology, applied in the computer field, can solve the problems of not being able to adjust the sequence of data transmission, reducing the processing efficiency and service quality of the computer system, etc.

Active Publication Date: 2017-01-04
HUAWEI TECH CO LTD
View PDF6 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the existing DMA transmission control device is only used as a hardware unit responsible for data transmission. It executes tasks according to the input time sequence of DMA tasks. For DMA tasks with different priorities in the transmission process, even emergency DMA In the case of tasks, it is necessary to complete the proces

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
  • Transmission control method and apparatus of direct memory access
  • Transmission control method and apparatus of direct memory access
  • Transmission control method and apparatus of direct memory access

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0076] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0077] See figure 1 , which provides a structural diagram of a direct memory access transmission control device for an embodiment of the present invention. like figure 1 As mentioned above, the direct memory access transmission control device 1 of this embodiment includes a DMA channel 11, and the DMA channel 11 includes at least one DMA channel for data transmission, and each DMA channel includes an input queue 111 and an output queue 112. Both the input q...

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

Embodiments of the invention disclose a transmission control method and apparatus of direct memory access. The transmission control method of the direct memory access comprises the steps of selecting a target channel for a target DMA task according to a priority corresponding to the target DMA task when a DMA transmission request of transmitting the target DMA task is received; and when other DMA tasks exist in a DMA channel, querying the task types and the priorities of other DMA tasks of an occupied channel and the task type of the target DMA task, comparing the task types and the priorities of other DMA tasks of the occupied channel with the task type and the priority of the target DMA task, and controlling data transmission of the DMA channel according to a comparison result. By adopting the method and the apparatus, the data transmission can be reasonably planned according to the priorities and the task types of the DMA tasks, and even if an emergent DMA task is met, the DMA task can be preferentially processed, so that the processing efficiency and the service quality of a computer system are improved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a transmission control method and device for direct memory access. Background technique [0002] Direct memory access (Direct Memory Access, DMA) is a fast data exchange mode, which can be completed between the external device and the memory without passing through the central processing unit (CPU, Central Processing Unit) and without CPU intervention. direct data transfer. In DMA mode, the CPU only needs to issue instructions to the DMA transmission control device, let the DMA transmission control device process the data transmission, and then feed back the transmission end information to the CPU after the data transmission is completed, which greatly reduces the CPU resource occupation rate. , can greatly save system resources. Wherein, the DMA transmission control device carries out data transmission through the DMA channel, and the DMA channel is provided with an input qu...

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
IPC IPC(8): G06F13/28
CPCG06F13/28G06F7/74G06F7/76G06F7/78G06F9/5038G06F13/18G06F13/30G06F2213/2802
Inventor 陈昊许慧锋郭海涛
Owner HUAWEI TECH CO LTD
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