Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

What are the control methods of information transmission between hosts and peripherals in the Internet?

Shulou Source: shulou.com Published: 2022-06-02 03:54:14 10月04日 Update

This article mainly introduces what are the control methods of information transmission between hosts and peripherals in the Internet. What is introduced in this article is very detailed and has a certain reference value. Interested friends must finish reading it!

The control modes of information transmission between host and peripheral devices are: 1, unconditional transmission, suitable for peripherals which are always ready; 2, query mode transmission; 3, interrupt mode transmission; 4, direct memory access.

The operating environment of this tutorial: windows7 system, Dell G3 computer.

There are four ways to control the data transfer between the host and the peripheral:

Unconditional transmission

Inquiry transmission

Interrupted mode transmission

  Direct   Memory   Access (DMA)  

1. Unconditional transmission mode

Suitable for peripherals that are always ready

Advantages: simple software and interface hardware

Disadvantages: only suitable for simple peripherals, narrow range of application

2. Query transmission

It is suitable for situations where peripherals are not always ready and do not require high transmission rate and transmission efficiency.

External equipment requirements: equipment status information should be provided

Interface requirements: a status port is required

Advantages: the software is relatively simple

Disadvantages: low efficiency of CPU, poor real-time data transmission, slow speed

3. Interruption of transmission

CPU has the advantages of high efficiency, good real-time performance and high speed, and the programming is complicated.

4. Direct memory access

Data transmission is controlled by DMA hardware, and data is directly exchanged between memory and peripherals, which can achieve a very high transmission rate (up to several MB/ seconds).

These are all the contents of this article entitled "what is the control mode of information transmission between hosts and peripherals in the Internet?" Thank you for your reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Tags: Mode peripherals between controls hosts information devices data status memory efficiency preparation storage access query Internet interconnection advantages content real-time Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi MariaDB Huawei Apple Shulou Tech Info