Skip to content

Commit f713321

Browse files
committed
upload 0914 log of computer net
1 parent 978bd57 commit f713321

219 files changed

Lines changed: 4136 additions & 1725 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

content/posts/0914.md

Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
1+
+++
2+
date = '2025-09-17T23:42:11+08:00'
3+
draft = false
4+
title = '0914学习日志'
5+
6+
categories="log"
7+
8+
tags=['计算机网络',"链路层"]
9+
10+
+++
11+
12+
## 计算机网络-数据链路层
13+
14+
### 数据链路层的功能
15+
16+
基本问题
17+
18+
* 封装成帧
19+
* 透明传输
20+
* 差错检测
21+
22+
信道:
23+
24+
* 点对点信道
25+
* 广播信道
26+
27+
1. 数据链路层所处的地位
28+
2. 基本概念
29+
1. 链路
30+
2. 数据链路
31+
3.
32+
3. 为网络层提供服务
33+
4. 链路管理
34+
5. 封装成帧与透明传输
35+
6. 流量控制
36+
7. 差错检测
37+
* 位错
38+
* 帧错
39+
40+
### 组帧
41+
42+
1. 字符计数法 首部添加字节数
43+
2. 字节填充法
44+
* SOH 最前面
45+
* EOT 帧结束
46+
* 特殊字符 使用ESC 转义字符
47+
3. 零比特填充法
48+
4. 违规编码法
49+
50+
51+
52+
### 差错控制
53+
54+
1. 检错编码
55+
1. 奇偶校验
56+
2. 循环冗余码CRC
57+
2. 纠错编码
58+
* 海明码
59+
60+
### 流量控制与可靠传输机制
61+
62+
1. 流量控制与滑动窗口机制
63+
64+
1. 停止-等待流量控制基本原理
65+
66+
2. 滑动窗口流量控制基本原理
67+
68+
| 协议 | 发送窗口$W_T$ | 接收窗口$W_R$ |
69+
| ------------- | ------------- | ------------- |
70+
| 停止-等待协议 | 1 | 1 |
71+
| 后退N帧协议 | $>1$ | 1 |
72+
| 选择重传协议 | $>1$ | $>1$ |
73+
74+
若采用n比特对帧编号,则后两种滑动窗口协议还需满足$W_T+W_R\leq 2^n$
75+
76+
2. 可靠传输机制
77+
78+
1. 单帧滑动窗口与停止-等待协议(S-W)
79+
80+
2. 多帧滑动窗口与后退N帧协议(GBN)
81+
82+
3. 多帧滑动窗口与选择重传协议(SR)
83+
84+
4. 信道利用率分析
85+
86+
1. 停止等待($T_D$分组发送时延,$T_A$确认发送时延)
87+
$$
88+
U=\frac{T_D}{T_D+ RTT+T_A}
89+
$$
90+
91+
2. 连续ARQ协议的新年到利用率
92+
93+
1. $nT_D<T_D+RTT+R_A$:
94+
$$
95+
U=\frac{nT_D}{T_D+ RTT+T_A}
96+
$$
97+
98+
2. 否则:
99+
$$
100+
1
101+
$$
102+
103+
104+
105+
### 介质访问控制
106+
107+
1. 信道划分介质访问控制
108+
1. 频分复用FDM
109+
2. 时分复用TDM
110+
3. 波分复用WDM
111+
4. 码分复用CDM
112+
2. 随机访问介质访问控制
113+
1. ALOHA协议
114+
1. 纯ALOHA协议
115+
2. 时隙ALOHA
116+
2. CSMA协议(载波监听多路访问)
117+
1. 1-坚持CSMA
118+
2. 非坚持CSMA
119+
3. p-坚持CSMA
120+
3. CSMA/DA协议(载波监听多路访问/冲突检测)
121+
4. CSMA/CA协议
122+
3. 轮询访问:令牌传递协议
123+
124+

content/posts/0915.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
+++
2+
date = '2025-09-17T23:42:14+08:00'
3+
draft = true
4+
title = '0915'
5+
+++

content/posts/0916.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
+++
2+
date = '2025-09-17T23:42:18+08:00'
3+
draft = true
4+
title = '0916'
5+
+++

content/posts/0917.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
+++
2+
date = '2025-09-17T23:42:21+08:00'
3+
draft = true
4+
title = '0917'
5+
+++

public/404.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<meta property='og:description' content="無職受験生 ~408に挑んだら本気だす~">
1111
<meta property='og:url' content='https://auroraemiya.github.io/npee_learning_log.github.io/404.html'>
1212
<meta property='og:site_name' content='shyの考研日志'>
13-
<meta property='og:type' content='website'><meta property='og:updated_time' content=' 2025-09-14T00:58:10&#43;08:00 '/>
13+
<meta property='og:type' content='website'><meta property='og:updated_time' content=' 2025-09-17T23:42:21&#43;08:00 '/>
1414
<meta name="twitter:title" content="404 Page not found">
1515
<meta name="twitter:description" content="無職受験生 ~408に挑んだら本気だす~">
1616

public/categories/diary/index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<meta property='og:description' content="無職受験生 ~408に挑んだら本気だす~">
1111
<meta property='og:url' content='https://auroraemiya.github.io/npee_learning_log.github.io/categories/diary/'>
1212
<meta property='og:site_name' content='shyの考研日志'>
13-
<meta property='og:type' content='website'><meta property='og:updated_time' content=' 2025-09-14T00:58:10&#43;08:00 '/>
13+
<meta property='og:type' content='website'><meta property='og:updated_time' content=' 2025-09-17T23:42:21&#43;08:00 '/>
1414
<meta name="twitter:title" content="Category: Diary - shyの考研日志">
1515
<meta name="twitter:description" content="無職受験生 ~408に挑んだら本気だす~"><link rel="alternate" type="application/rss&#43;xml" href="https://auroraemiya.github.io/npee_learning_log.github.io/categories/diary/index.xml">
1616

@@ -280,7 +280,7 @@ <h2 class="widget-title section-title">Archives</h2>
280280
<a href="/npee_learning_log.github.io/page/archives/#2025-09">
281281

282282
<span class="year">2025-09</span>
283-
<span class="count">13</span>
283+
<span class="count">14</span>
284284

285285
</a>
286286
</div>
@@ -341,12 +341,12 @@ <h2 class="widget-title section-title">Tags</h2>
341341
英语
342342
</a>
343343

344-
<a href="/npee_learning_log.github.io/tags/%E5%90%8C%E6%AD%A5/" class="font_size_3">
345-
同步
344+
<a href="/npee_learning_log.github.io/tags/%E8%AE%A1%E7%AE%97%E6%9C%BA%E7%BD%91%E7%BB%9C/" class="font_size_4">
345+
计算机网络
346346
</a>
347347

348-
<a href="/npee_learning_log.github.io/tags/%E8%AE%A1%E7%AE%97%E6%9C%BA%E7%BD%91%E7%BB%9C/" class="font_size_3">
349-
计算机网络
348+
<a href="/npee_learning_log.github.io/tags/%E5%90%8C%E6%AD%A5/" class="font_size_3">
349+
同步
350350
</a>
351351

352352
<a href="/npee_learning_log.github.io/tags/cache/" class="font_size_2">

public/categories/index.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<meta property='og:description' content="無職受験生 ~408に挑んだら本気だす~">
1111
<meta property='og:url' content='https://auroraemiya.github.io/npee_learning_log.github.io/categories/'>
1212
<meta property='og:site_name' content='shyの考研日志'>
13-
<meta property='og:type' content='website'><meta property='og:updated_time' content=' 2025-09-14T00:58:10&#43;08:00 '/>
13+
<meta property='og:type' content='website'><meta property='og:updated_time' content=' 2025-09-17T23:42:21&#43;08:00 '/>
1414
<meta name="twitter:title" content="Categories">
1515
<meta name="twitter:description" content="無職受験生 ~408に挑んだら本気だす~"><link rel="alternate" type="application/rss&#43;xml" href="https://auroraemiya.github.io/npee_learning_log.github.io/categories/index.xml">
1616

@@ -280,7 +280,7 @@ <h2 class="widget-title section-title">Archives</h2>
280280
<a href="/npee_learning_log.github.io/page/archives/#2025-09">
281281

282282
<span class="year">2025-09</span>
283-
<span class="count">13</span>
283+
<span class="count">14</span>
284284

285285
</a>
286286
</div>
@@ -341,12 +341,12 @@ <h2 class="widget-title section-title">Tags</h2>
341341
英语
342342
</a>
343343

344-
<a href="/npee_learning_log.github.io/tags/%E5%90%8C%E6%AD%A5/" class="font_size_3">
345-
同步
344+
<a href="/npee_learning_log.github.io/tags/%E8%AE%A1%E7%AE%97%E6%9C%BA%E7%BD%91%E7%BB%9C/" class="font_size_4">
345+
计算机网络
346346
</a>
347347

348-
<a href="/npee_learning_log.github.io/tags/%E8%AE%A1%E7%AE%97%E6%9C%BA%E7%BD%91%E7%BB%9C/" class="font_size_3">
349-
计算机网络
348+
<a href="/npee_learning_log.github.io/tags/%E5%90%8C%E6%AD%A5/" class="font_size_3">
349+
同步
350350
</a>
351351

352352
<a href="/npee_learning_log.github.io/tags/cache/" class="font_size_2">
@@ -392,7 +392,7 @@ <h1 class="section-term">Categories</h1>
392392
<div class="article-details">
393393
<h2 class="article-title">Log</h2>
394394
<footer class="article-time">
395-
<time datetime='2025-09-14T00:58:10&#43;08:00'>Sep 14, 2025</time>
395+
<time datetime='2025-09-17T23:42:11&#43;08:00'>Sep 17, 2025</time>
396396
</footer>
397397
</div>
398398
</a>

public/categories/index.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
<description>Recent content in Categories on shyの考研日志</description>
77
<generator>Hugo -- gohugo.io</generator>
88
<language>zh-cn</language>
9-
<lastBuildDate>Sun, 14 Sep 2025 00:58:10 +0800</lastBuildDate><atom:link href="https://auroraemiya.github.io/npee_learning_log.github.io/categories/index.xml" rel="self" type="application/rss+xml" /><item>
9+
<lastBuildDate>Wed, 17 Sep 2025 23:42:11 +0800</lastBuildDate><atom:link href="https://auroraemiya.github.io/npee_learning_log.github.io/categories/index.xml" rel="self" type="application/rss+xml" /><item>
1010
<title>Log</title>
1111
<link>https://auroraemiya.github.io/npee_learning_log.github.io/categories/log/</link>
12-
<pubDate>Sun, 14 Sep 2025 00:58:10 +0800</pubDate>
12+
<pubDate>Wed, 17 Sep 2025 23:42:11 +0800</pubDate>
1313

1414
<guid>https://auroraemiya.github.io/npee_learning_log.github.io/categories/log/</guid>
1515
<description></description>

public/categories/interests/index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<meta property='og:description' content="無職受験生 ~408に挑んだら本気だす~">
1111
<meta property='og:url' content='https://auroraemiya.github.io/npee_learning_log.github.io/categories/interests/'>
1212
<meta property='og:site_name' content='shyの考研日志'>
13-
<meta property='og:type' content='website'><meta property='og:updated_time' content=' 2025-09-14T00:58:10&#43;08:00 '/>
13+
<meta property='og:type' content='website'><meta property='og:updated_time' content=' 2025-09-17T23:42:21&#43;08:00 '/>
1414
<meta name="twitter:title" content="Category: Interests - shyの考研日志">
1515
<meta name="twitter:description" content="無職受験生 ~408に挑んだら本気だす~"><link rel="alternate" type="application/rss&#43;xml" href="https://auroraemiya.github.io/npee_learning_log.github.io/categories/interests/index.xml">
1616

@@ -280,7 +280,7 @@ <h2 class="widget-title section-title">Archives</h2>
280280
<a href="/npee_learning_log.github.io/page/archives/#2025-09">
281281

282282
<span class="year">2025-09</span>
283-
<span class="count">13</span>
283+
<span class="count">14</span>
284284

285285
</a>
286286
</div>
@@ -341,12 +341,12 @@ <h2 class="widget-title section-title">Tags</h2>
341341
英语
342342
</a>
343343

344-
<a href="/npee_learning_log.github.io/tags/%E5%90%8C%E6%AD%A5/" class="font_size_3">
345-
同步
344+
<a href="/npee_learning_log.github.io/tags/%E8%AE%A1%E7%AE%97%E6%9C%BA%E7%BD%91%E7%BB%9C/" class="font_size_4">
345+
计算机网络
346346
</a>
347347

348-
<a href="/npee_learning_log.github.io/tags/%E8%AE%A1%E7%AE%97%E6%9C%BA%E7%BD%91%E7%BB%9C/" class="font_size_3">
349-
计算机网络
348+
<a href="/npee_learning_log.github.io/tags/%E5%90%8C%E6%AD%A5/" class="font_size_3">
349+
同步
350350
</a>
351351

352352
<a href="/npee_learning_log.github.io/tags/cache/" class="font_size_2">

public/categories/log/index.html

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<meta property='og:description' content="無職受験生 ~408に挑んだら本気だす~">
1111
<meta property='og:url' content='https://auroraemiya.github.io/npee_learning_log.github.io/categories/log/'>
1212
<meta property='og:site_name' content='shyの考研日志'>
13-
<meta property='og:type' content='website'><meta property='og:updated_time' content=' 2025-09-14T00:58:10&#43;08:00 '/>
13+
<meta property='og:type' content='website'><meta property='og:updated_time' content=' 2025-09-17T23:42:21&#43;08:00 '/>
1414
<meta name="twitter:title" content="Category: Log - shyの考研日志">
1515
<meta name="twitter:description" content="無職受験生 ~408に挑んだら本気だす~"><link rel="alternate" type="application/rss&#43;xml" href="https://auroraemiya.github.io/npee_learning_log.github.io/categories/log/index.xml">
1616

@@ -280,7 +280,7 @@ <h2 class="widget-title section-title">Archives</h2>
280280
<a href="/npee_learning_log.github.io/page/archives/#2025-09">
281281

282282
<span class="year">2025-09</span>
283-
<span class="count">13</span>
283+
<span class="count">14</span>
284284

285285
</a>
286286
</div>
@@ -341,12 +341,12 @@ <h2 class="widget-title section-title">Tags</h2>
341341
英语
342342
</a>
343343

344-
<a href="/npee_learning_log.github.io/tags/%E5%90%8C%E6%AD%A5/" class="font_size_3">
345-
同步
344+
<a href="/npee_learning_log.github.io/tags/%E8%AE%A1%E7%AE%97%E6%9C%BA%E7%BD%91%E7%BB%9C/" class="font_size_4">
345+
计算机网络
346346
</a>
347347

348-
<a href="/npee_learning_log.github.io/tags/%E8%AE%A1%E7%AE%97%E6%9C%BA%E7%BD%91%E7%BB%9C/" class="font_size_3">
349-
计算机网络
348+
<a href="/npee_learning_log.github.io/tags/%E5%90%8C%E6%AD%A5/" class="font_size_3">
349+
同步
350350
</a>
351351

352352
<a href="/npee_learning_log.github.io/tags/cache/" class="font_size_2">
@@ -378,7 +378,7 @@ <h3 class="section-title">
378378

379379
<div class="section-card">
380380
<div class="section-details">
381-
<h3 class="section-count">39 pages</h3>
381+
<h3 class="section-count">40 pages</h3>
382382
<h1 class="section-term">Log</h1>
383383

384384
</div>
@@ -387,6 +387,17 @@ <h1 class="section-term">Log</h1>
387387

388388
<section class="article-list--compact">
389389

390+
<article>
391+
<a href="/npee_learning_log.github.io/posts/0914/">
392+
<div class="article-details">
393+
<h2 class="article-title">0914学习日志</h2>
394+
<footer class="article-time">
395+
<time datetime='2025-09-17T23:42:11&#43;08:00'>Sep 17, 2025</time>
396+
</footer>
397+
</div>
398+
</a>
399+
</article>
400+
390401
<article>
391402
<a href="/npee_learning_log.github.io/posts/0913/">
392403
<div class="article-details">
@@ -486,17 +497,6 @@ <h2 class="article-title">0904学习日志</h2>
486497
</a>
487498
</article>
488499

489-
<article>
490-
<a href="/npee_learning_log.github.io/posts/0903/">
491-
<div class="article-details">
492-
<h2 class="article-title">0903学习日志</h2>
493-
<footer class="article-time">
494-
<time datetime='2025-09-05T23:00:46&#43;08:00'>Sep 05, 2025</time>
495-
</footer>
496-
</div>
497-
</a>
498-
</article>
499-
500500
</section>
501501
<nav class='pagination'>
502502

0 commit comments

Comments
 (0)