什么是bcd码数据传输通讯
资料传输 (Data Transmission)
When considering the transmission of data from one device to another is the wiring, and of primary concern when considering the wiring is the data stream.
在考虑将数据从一个设备传输到另一设备时,是布线,而在考虑布线时,首先要考虑的是数据流。
- It is the movement of data in the form of bits between two or more digital devices. 它是在两个或更多数字设备之间以位形式进行数据移动。
- data transmission is also referred to as digital transmission or digital communications.数据传输也称为数字传输或数字通信。
- Transfer of data is done via some form of transmission media such as coaxial cable, optical fiber, etc. 数据的传输是通过某种形式的传输介质完成的,例如同轴电缆,光纤等。
- Data transmission may be external or internal. External that is one device to another whereas internal means communication takes place between different parts of the same device.数据传输可以是外部的或内部的。 外部是一台设备与另一台设备之间的通信,而内部意味着在同一设备的不同部分之间进行通信。
- For example, data goes from the random access memory (RAM) or hard disk to a processor is a form of data transmission.
- 例如,数据从随机存取存储器(RAM)或硬盘传输到处理器是数据传输的一种形式。
数据通讯类型 (Types of Data Communication)
Data transmission can occur in two methods:
数据传输可以通过两种方法进行:
- Parallel Data Transmission 并行数据传输
- Serial Data Transmission 串行数据传输
1)并行数据传输 (1) Parallel Data Transmission)
Binary data includes 0s and 1s, maybe organized into groups of n bits. Computers produce and consume data in groups of bits much as we conceive of and use spoken language in the form of words rather than letters. We can send data n-bits at a time instead of one using grouping. This is called parallel transmission.
二进制数据包括0和1,可能被组织为n位组。 正如我们所设想的那样,计算机以位组的形式产生和使用数据,并且以单词而不是字母的形式使用口头语言。 我们可以一次发送n位数据,而不是使用分组发送数据。 这称为并行传输。
- The mechanism for parallel transmission is a conceptually simple one: use n wires to n bits at one time. In this way, each bit has its wire, and all n bits of one group can be transmitted with each clock pulse from one device to another. 并行传输的机制在概念上很简单:一次使用n根导线到n位。 这样,每个位都有其连线,并且可以使用每个时钟脉冲将一组中的所有n位从一个设备传输到另一个设备。
- The bits of a byte that is 8 bits are transmitted simultaneously on separate wires. If two devices are close together computer or printer so the communication within the computer. 字节的8位是在单独的导线上同时传输的。 如果两个设备靠近计算机或打印机,那么计算机内部的通信。
This figure shows how parallel transmission works for n=8. With a connector at each end, eight wires are bundled in a cable.
该图显示了n = 8时并行传输的工作方式。 两端各有一个连接器,八根电线捆扎在一起。
Parallel transmission is used when,
在以下情况下使用并行传输:
- A large amount of data is to be sent over communication lines. 大量数据将通过通信线路发送。
- When the data is time-sensitive. 当数据是时间敏感的。
- The requirement of sending data quickly to the receiver. 快速将数据发送到接收器的要求。
For Example: During video streaming the time when a video is streamed to a viewer, bits need to be sent quickly to prevent a video pausing or buffering.
例如:在视频流传输期间,即将视频流传输到查看器时,需要快速发送位以防止视频暂停或缓冲。
If we want to send large volumes of data then that data is also time-sensitive. If there are slow data streams, it will result in poor viewer experience.
如果我们要发送大量数据,那么该数据也是时间敏感的。 如果数据流很慢,将导致观看者体验不佳。
Advantages of Using Parallel Data Transmission
使用并行数据传输的优势
- It is easier to program. 编程更容易。
- Data is sent much faster as parallel transmission can increase the transfer speed by a factor of n over the serial transmission. 由于并行传输可以使传输速度比串行传输快n倍,因此数据的发送速度要快得多。
Disadvantages of Using Parallel Data Transmission
使用并行数据传输的缺点
- Transmission of n communication lines is required to transmit the data stream and for this n number of wires must be required. 为了传输数据流,需要传输n条通信线,为此,需要n条线。
- This is expensive so it is usually limited to shorter distances. 这很昂贵,因此通常仅限于较短的距离。
- If there is an increase in the number of users these wires will be too many to handle. 如果用户数量增加,这些电线将太多而无法处理。
2)串行数据传输 (2) Serial Data Transmission)
In serial transmission, one bit follows another that is in this transmission one bit flows at one clock pulse, so we need only one communication line rather than n to transmit the data between two communicating devices.
在串行传输中,一位紧随另一位,即在该传输中一位流过一个时钟脉冲,因此我们只需要一条通信线路,而不是n即可在两个通信设备之间传输数据。
- When serial data transmission is used to send or receive data, the data bits are organized in a particular order, since they can only be sent one after another. 当串行数据传输用于发送或接收数据时,数据位以特定顺序组织,因为它们只能一个接一个地发送。
- The order of the data bits is important as it determines the organization of the transmission when it is received. 数据位的顺序很重要,因为它决定了接收时传输的组织。
- It is supposed as a reliable and efficient data transmission method because, after the reception of the previous data bit, the next data bit is sent. 之所以被认为是可靠而有效的数据传输方法,是因为在接收到前一个数据位之后,将发送下一个数据位。
- Synchronous and Asynchronous Transmission.同步传输和异步传输 。
Serial Transmission is used when,
在以下情况下使用串行传输:
- It is generally used for medium to long-distance data transfer. 它通常用于中长距离数据传输。
- In USBs (Universal Serial Bus). 在USB(通用串行总线)中。
- It transfers the data bits in a specific order, one after another. In this way, data bits are received in-sync with one another so it maintains the data integrity. 它以特定顺序依次传输数据位。 通过这种方式,数据位彼此同步接收,因此可以保持数据完整性。
- Transmission to other devices that is external data transfer. 通过外部数据传输传输到其他设备。
Advantages of using Serial Transmission
使用串行传输的优点
- With only one communication channel serial transmission reduces the cost of transmission with a factor of n. 仅使用一个通信信道,串行传输将传输成本降低了n倍。
Disadvantages of using Serial Transmission
使用串行传输的缺点
- Slow Speed of data transfer. 数据传输速度慢。
- Increasing clock frequency is required to increase the speed of data transfer. 需要增加时钟频率以提高数据传输速度。
翻译自: https://www.includehelp.com/computer-networks/data-transmission.aspx
什么是bcd码数据传输通讯