计算机中的两次握手_计算机体系结构中的握手

计算机中的两次握手

握手 (Handshaking)

In a normal lifestyle, handshaking resembles establishing communication or a friendly bond between two people. In terms of the computer system also, it means somewhat the same. Through handshaking, a communication link is established between two different components of a computer. This communication is the transfer of data.

在正常的生活方式中, 握手类似于在两个人之间建立交流或友好纽带。 就计算机系统而言,其含义也相同。 通过握手 ,在计算机的两个不同组件之间建立了通信链接。 这种通信就是数据的传输。

So, in the handshaking process, first, a strobe signal is sent by the source channel to the destination. Then, the destination sends back the acknowledgment that the signal has been received with a signal informing whether the destination channel is free or not for receiving the data. By following these steps, communication is established between the sender and the receiver ends and then the further transfer of data takes place within the two through the data bus.

因此,在握手过程中 ,首先,选通信号由源通道发送到目的地。 然后,目的地发送回已确认信号的通知,其中该信号通知目的地信道是否空闲以接收数据。 通过遵循这些步骤,在发送器和接收器端之间建立通信,然后通过数据总线在两者之间进行进一步的数据传输。

handshakig in Computer science

It should be noted here that although this handshaking may look similar to the three-way handshaking process between different networks, here the case is different. Here, the communication is being done within the different components of the same system which are connected via physical means (through cables and cords). However, there may exist wireless communication between the components of the same system also as we have emerging technologies every day.

在此应注意,尽管此握手看上去与不同网络之间的三向握手过程相似,但这里的情况有所不同。 此处,通信是在同一系统的不同组件之间进行的,这些组件通过物理方式(通过电缆和软线)连接。 但是,由于我们每天都在使用新兴技术,因此同一系统的组件之间可能存在无线通信。

握手过程的类型 (Types of handshaking process)

There are two types of handshaking process:

握手过程有两种类型:

  1. Source Initiated Handshaking

    源发起的握手

  2. Destination Initiated Handshaking

    目的地发起的握手

1)源启动的握手过程 (1) Source Initiated Handshaking Process)

In the source Initiated the handshaking process, the source initiated the process of establishing the connection. This means that, in this process, the sender needs to send the data and so the handshaking process is initiated by the sender. So, in this process, after sending the valid data, the receiver sends the acknowledgment that the data has been received. Hence, the signals 'DATA VALID' is sent by the sender before sending the data and the signal 'DATA ACCEPTED' is sent by the receiver after getting the data.

在源启动握手过程中,源启动了建立连接的过程。 这意味着,在此过程中,发送方需要发送数据,因此握手过程由发送方启动。 因此,在此过程中,接收器在发送有效数据后发送确认已接收到数据的确认。 因此,信号“ DATA VALID”在发送数据之前由发送方发送,信号“ DATA ACCEPTED”在获取数据后由接收方发送。

2)目的地发起的握手过程 (2) Destination Initiated Handshaking Process)

In the destination Initiated the handshaking process, the process of establishing the connection is initiated by the destination. What this means is that, in this process, the receiver needs to receive the data form the sender, hence the handshaking process is initiated by the receiver. So, in this process, the receiver has to first send the request signal to the source channel. After that, the source sends the 'DATA VALID' signal before sending the data and the receiver then again sends a signal 'DATA ACCEPTED' after the data is received by it.

在目标发起的握手过程中,建立连接的过程由目标发起。 这意味着在此过程中,接收方需要从发送方接收数据,因此握手过程由接收方启动。 因此,在此过程中,接收器必须首先将请求信号发送到源通道。 此后,源在发送数据之前先发送“ DATA VALID”信号,然后接收器在接收到数据后再次发送“ DATA ACCEPTED”信号。

翻译自: https://www.includehelp.com/embedded-system/handshaking-in-computer-architecture.aspx

计算机中的两次握手

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值