@[TOC](Computer Networks&Applications Notes–计算机网络与应用笔记1)1
1.What is the Internet.
- Internet: “networks of networks”
- protocol(协议): 控制接收和发送消息
e.g. TCP, IP, HTTP. - Internet standerds.网络标准
- Infrastructure that provides services to applications.为应用程序提供服务的基础架构
- provides programming interfacing to apps. 提供与应用程序接口的项目
2. What is the protocol.
- protocols define format, order of msgs sent and received among network entities, and actions taken on msg transmission, receipt.
- 协议定义在网络实体之间发送和接收的消息的顺序和格式,以及对消息传输,接收所采取的动作。
- all communication activity in Internet governed by protocols.
- 互联网中的所有交流活动都被协议管理
3.Packet Switching
- Data is sent as chunks of formatted bits (Packets). 数据以chunk的形式被发送
- Packets consist of a “header” and “payload”.数据包包含header 和 payload两部分组成
- Switches “forward” packets based on their headers. 交互是基于头部的
- Each packet travels independently. 每个数据包独立传播
4.Delay延迟
- Four sources of packet delay: Processing, queueing, transmission, propagation
- Processing Delay: check bit error, determine output link
- Queueing Delay: time watching at output link for transmission, depends on congestion level of router.
- Transmission delay: L-- packet length(bits), R-- link bandwidth(bps). D E L A Y t r a n s = L / R DELAY_{trans} = L / R DELAYtrans=L/R
- Propagation delay: d – length of physical link, s – propagation speed in medium. D E L A Y p r o p = d / s DELAY_{prop} = d / s DELAYprop=d/s
5. Quiz
Q1. Which of the following delays is significantly affected by the load in the network?
Answer: Queuing delay
Q2. Packet switching, instead of circuit switching, is generally used to transfer data in the Internet.
Answer: True
Q3. Propagation delay depends on the size of the packet.
Answer: False
Q4. Consider a packet that has just arrived at a router. What is the correct order of the delays encountered by the packet until it reaches the next-hop router?
Answer: Processing, queuing, transmission, propagation Correct
Q5. It seems you need very small delay in the network to be able to control such machines remotely. Which of the following improvements could help reduce the delay most effectively?
Answer: Reduce packet header size
UNSW COMP9311 Computer Networks&Applications week1 lecture slide ↩︎