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

Transmission control method and device for 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: 2019-05-03
HUAWEI TECH CO LTD
View PDF6 Cites 0 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 processing of the DMA tasks in the front before processing the DMA tasks with higher priority or emergency DMA tasks in the back. Therefore, the existing DMA technology cannot adjust the order of data transmission according to the importance of the actual tasks. sequence, resulting in reduced computer system processing efficiency and service quality

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 device for direct memory access
  • Transmission control method and device for direct memory access
  • Transmission control method and device for 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. Such as 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 inpu...

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 present invention disclose a direct memory access transmission control method and apparatus. The direct memory access transmission control method includes: when a DMA transmission request for transmitting data of a target DMA task is received, selecting a target channel for the target DMA task according to a priority corresponding to the target DMA task; if another DMA task exists on a DMA channel, querying a task type and a priority of the another DMA task that has occupied the channel and a task type of the target DMA task; comparing the task type and the priority of the another DMA task that has occupied the channel with the task type and the priority of the target DMA task; and controlling data transmission on the DMA channel according to a comparison result. According to the present invention, data transmission can be properly planned according to a priority and a task type of a DMA task; and even if there is an urgent DMA task, the urgent DMA task can be preferentially processed, thereby improving processing efficiency and service quality of a computer system.

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