博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
[Network]Introduction and Basic concepts
阅读量:7190 次
发布时间:2019-06-29

本文共 4122 字,大约阅读时间需要 13 分钟。

【这个系列是复习计算机网路的知识。

因为立即要申请出国了,所以在写这个系列的博客时大部分使用英文。

尽管是英文。但绝大部分内容都是我自己的感受和理解,供大家一起学习和讨论】

1 Network Edge

The device such as computers and mobiles connect to the Internet. So they are referred as end systems(who run the application programs) sitting at the edge of the Internet. And we use host and end system interchangeably, that is host=end system which is divided into  two categories: clients and servers.

2 Network Core

Network Core is the set of router-like and the Internet that implement the network and communication. And there are two type of Network Cores: circuit-switching and packet-switching.

2.1 Circuit Switching

Circuit-switching reserves dedicated circuit for each call or communication. When there are several circuits the network will divide the link bandwidth or switch capacity into several pieces - FDM and TDM.
In fact, the resource are divided according to the amount of users or links. For details in the example below: the 24 denotes that there are 24 circuits.

2.2 Packet Switching

Users share network resources in packet-switching. And the properties of packet-switching as follows:
  • each packet uses full link bandwidth;
  • Share network resources;
The free way of switching must take some disadvantages, as follows:
  • the demanded resources in network may exceed the available - because of the second character
  • the free link may cause congestions, build a waiting queue - because the packets are put into network sharing the resources and links.
The freedom is not absolute but relative. The resources in network are used on demand. So we also use the idea of multiplexing like circuit-switching. But the difference is that each slot or bandwidth is used on demand not fixed for a particular link or something else.
Be care of the delay affairs in the Packet-Switching Network. Briefly, transmission delay -> propagation delay.

2.3 Packet Switching versus Circuit Switching

Packet Switching allows more users to use network.
The disadvantages of packet switching.

3 Delay, Loss, and Throughput

3.1 Four sources of packet delay

1. Nodal processing

In this part of work, the router or switch is going to process the packet to be sent. It will check the bit errors and determine the output link. So the processing cause some time consuming.

2. queueing 

It is the time waiting at some output link to be transmitted. The length depends on the congestion level of each router.
 La/R (a is the average packet arrival rate). The more the large time to wait.
a is about input, L/R is about output. Queueing delay is effected by both of input and output.

3. Transmission delay

We should distinguish the transmission and propagation first. The transmission is the work before propagation to transmit a packet to the next link. 
There usually is a defination that: R=link
bandwidth(1)(bps), L=packet length(bits), the time is
L/R.

4. Propagation delay

The propagation delay is actually the time during which the packet will be propagated in the network.
There usually is a defination that: d=length of physical link, s=propagation  speed in medium, the time is
d/s.
NOTE: in some calculation, we simply assume that propagation is totally after the transmission. But this is just fit in low-speed links(which means the propagation take relatively long time), so we have the following formula

3.2 Packet Loss

This problem exists because the buffers of processing link has infinite capacity. Packets arriving the full buffered link will be dropped.

3.3 Throughput

We first distinguish the concepts of bandwidth and throughput. 
Throughput is the rate at which the bits transferred between sender and receiver. So the throughput is a abstract concept that is just the result of a real Internet. 
The throughput of a link is decided by the bottleneck link in it.

4 Protocol Layers and Service Models

4.1 Why layering

1. Build relationships between the complex components of a network.
2. Modularization.
============================================================================================
(1) bandwidth: 在我查看了维基并结合网络上带宽的使用,我认为在这里带宽的解释能够是这种:单位时间内,能够通过某个port的数据。

转载于:https://www.cnblogs.com/clnchanpin/p/6936128.html

你可能感兴趣的文章
洛谷——P2958 [USACO09OCT]木瓜的丛林Papaya Jungle
查看>>
top Universities in Mechanical Engineering
查看>>
ios之UIScrollView
查看>>
DO,DTO和VO的使用
查看>>
C++函数重载,重写,重定义
查看>>
Babelfish
查看>>
一:Newtonsoft.Json 支持序列化与反序列化的.net 对象类型;
查看>>
jquery特效 商品SKU属性规格选择实时联动
查看>>
vue之后台管理系统遇到的几个痛点
查看>>
使用keytool生成ssl密钥文件keystore和truststore
查看>>
Elastic Search Java Api 创建索引结构,添加索引
查看>>
Password
查看>>
文件操作练习之统计目录大小
查看>>
在vs2010 .net 4.0 引用dll .net 2.0(转)
查看>>
【JAVA练习】- 接收三个班各四个学员的成绩,算平均分
查看>>
Python3新特性 类型注解 以及 点点点
查看>>
【解决】node的环境变量
查看>>
Can’t connect to local MySQL server through socket的解决方法
查看>>
<input type="file">上传文件
查看>>
图论总结
查看>>