⭐⭐⭐⭐⭐⭐
Github主页👉https://github.com/A-BigTree
项目链接👉https://github.com/A-BigTree/college_assignment
⭐⭐⭐⭐⭐⭐
Introduction to the Link Layer
The Service Provide by the Link Layer
Where Is the Link Layer Implemented
链路层的主体部分在网络适配器(network adapter)中实现,网络适配器有时也称为网络接口卡(Network Interface Card,NIC),一个典型的主机体系结构如下图所示:

Error-Detection and -Correction Techniques
差错检测与纠正的场景如下图所示:

Parity Checks
单个奇偶校验位(parity bit):发送d比特信息附加一个比特使d+1比特中1的总数是偶数(偶校验)或奇数(奇校验),偶校验如下图所示:

二维奇偶校验(two-dimension parity) 如下图所示:

Checksumming Methods
因特网检验和(Internet checksum) 基于这种方法,即数据的字节作为16比特的整数对待并求和。
Cyclic Redundancy Check(CRC)
计算机网络中广泛应用的差错检测技术基于循环冗余检测(Cyclic Redundancy Check,CRC)编码,也称为多项式编码(polynomial code),CRC如下图所示:

R计算:
R=remainderD⋅2rGR=remainder\frac{D\cdot2^r}{G} R=remainderGD⋅2r

Multiple Acess Links and Protocol
Channel Partitioning Protocols
前两种传输速率:R\N bps
Random Access Protocols
在每个节点中,时隙ALOHA的操作如下:

在纯ALOHA中,当一帧首次到达,节点立刻将该帧完整地传输进广播信道;
Carrier Sense Multiple Access with Collision Detection
局域网(LANs)部分还没有来得及整理,可以参照黑皮书了解学习,因为时间关系就不再去补充啦 (主要是考完期末了😝)
⭐⭐⭐⭐⭐⭐
Github主页👉https://github.com/A-BigTree
项目链接👉https://github.com/A-BigTree/college_assignment
⭐⭐⭐⭐⭐⭐