or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing
xxxxxxxxxx
ST-CS120: Computer Network
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →OSI Model
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →Performance
b
stands forbits
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →L1: Physical Layer
网线一类的东西
Upper bound of throughout
Shannon-Hartley Theorem
The theoretical throughput upper bound:
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →Transmission Method
Baseband Transmission (Line Coding)
Passband Modulation
Frequency Shift Keying (FSK)
Phase Shift Keying (PSK)
Frequencty shift passing
Amplitude shift passing
Quadrature Amplitude Modulation
纠错与恢复
2D Parity Check
是不是有偶数个 0
Check sum
CRC Performance
多项式 https://users.ece.cmu.edu/~koopman/crc/
汉明码
多路复用
Rate Selection
ACK
🐱:喵
😺:喵
🐱:喵喵
😺:喵喵
Stop and Wait
http://www2.rad.com/networks/2004/sliding_window
规定时间内收不到就等,效率不高(利用 buffer 解决)
https://en.wikipedia.org/wiki/Bandwidth-delay_product
https://github.com/shadowsocks/shadowsocks/wiki/Optimizing-Shadowsocks
NACK (Negative ACK)
接收方定时把所有未收到的包序号通过反馈报文通知到发送方进行重传。
Sliding Window
并行
Random Access
Transmit and Pray
Slotted ALOHA
L2: 链路层,介质访问子层
Main function
Ethernet
WIFI and Cecullar
https://blog.csdn.net/qq_27847237/article/details/104098817
RTS/CTS
通过监听其它 client 之间的通讯来推测 server 与它的连接情况
IEEE 802.11 MAC
WIFI 包经过再打包走 Ethernet
See https://github.com/SpacehuhnTech/esp8266_deauther for a security issue for WIFI
Switch
learning Bridge
Switching method
Learning Switch
Cycle:
Distributed Spanning Tree Algorithm
L3: 网络层
Internet Protocal
多协议之间的网络通信
IP Addressing
IP Forward
IP jisuanqi
ipjisuanqi.com
IP Packet
Dynamic Host Configuration Protocol (DHCP)
分配 IP 地址并记录
Address Resolution Protocol (ARP)
Fragmentation and Reassembly
包会分割成 MTU 的大小传输,之后再重组 (There is Offset-bits in IP packet)
Routing
The basic problem of routing is to find the lowest-cost path between any two nodes
RIP
Dijastra
OSPF
BGP
bgp.he.net
IPV6
NAT
随机端口映射到主机
Mobile
L4: 传输层
UDP
TCP
TCP Congestion in Network
Additive Increase/Multiplicative Decrease (AIMD)