计算机网络-计算机网络介绍

计算机网络-计算机网络介绍

注:此文章为计网接近满绩的巨佬博主“忧伤的小马”所做。其博客主页地址和github传送门如下:

忧伤的小马博客主页:https://blog.csdn.net/qq_45504981
github传送门:https://github.com/rzy0901

What’s the Internet: “nuts and bolts” view.

  • ISP: Internet Service Provider(因特网提供商)

  • 在这里插入图片描述

  • End systems (端系统) = host (主机)

    端系统由通信链路和分组交换机连接

  • communication links(通信链路):

    wireless and wired links

  • packet switches (分组交换机): forward packets (chunks of data)

    routers(路由器) and switches(交换机)

    通过一个队列“推”packets?

  • Internet: Interconnected Internet Service Provider

  • Protocols: control sending, receiving of messages.

    protocols define format, order of msgs sent and received among network entities,and actions taken on msg transmission, receipt

  • Internet structure:

    • End systems connect to Internet via access ISPs.

      Residential, company and university ISPs.

    • Access ISPs in turn must be interconnected.

Network edge.

  • network edge:

    • hosts
    • access network
    • physic media
  • network core:

    • interconnected routers
    • network of networks
  • end systems (hosts) :

    Web, email
    在这里插入图片描述

  • client server model: client host requests, receives service from always-on server.

    Web browser/server; email client/server

  • P2P model: minimal (or no) use of dedicated servers.

    Skype, BitTorrent

Host: sends packets of data.

  • L L L: length of packet (bits).

  • R R R: transmission rate.

  • p a c k e t   t r a n s m i s s i o n   d e l a y = t i m e   n e e d e d   t o   t r a n s m i t   L   b i t s   t o   l i n k = L ( b i t s ) R ( b i t s / s ) packet\ transmission\ delay=time\ needed\ to\ transmit\ L\ bits\ to\ link=\frac{L(bits)}{R(bits/s)} packet transmission delay=time needed to transmit L bits to link=R(bits/s)L(bits)

Network core.

  • Network core:

    • packet-switching

    • circuit-switching

  • Packet-switching: hosts break application-layer messages into packets:

    • forward packets from one router to the next, across links on path from source to destination.
    • each packet transmitted at full link capacity.
  • Packet-switching: store-and-forward:

在这里插入图片描述

  • takes L/R seconds to transmit (push out) L-bit packet into link at R bps.

  • store and forward: entire packet must arrive at router before it can be transmitted on next link.

  • e n d − e n d   d e l a y = 2 L R end-end \ delay=\frac{2L}{R} endend delay=R2L

    (assuming zero propagation delay)

  • queuing and loss: If arrival rate (in bits) to link exceeds transmission rate of link for a period of time:

    • packets will queue, wait to be transmitted on link.
    • packets can be dropped (lost) if memory (buffer) fills up.
    • 在这里插入图片描述
      在这里插入图片描述
  • Circuit switching: end-end resources allocated to, reserved for “call”
    between source & dest:
    在这里插入图片描述

    • dedicated resources (专用资源,专用线路,如上图深色绿线)

    • circuit segment idle(闲置) if not used by call (no sharing)

      e.p. Commonly used in traditional telephone networks 在这里插入图片描述

      FDM:

      在这里插入图片描述

      TDM:

      在这里插入图片描述

  • 对比:

    • Packet switching allows more users to use network!

    • Packet switching: excessive congestion possible. (packet loss and delay)

      protocols needed for reliable data transfer, congestion control

    • Circuit-like behavior: bandwidth guarantees needed.

  • Internet structure:

在这里插入图片描述
在这里插入图片描述

  1. “tier-1” commercial ISPs (e.g., Level 3, Sprint, AT&T, NTT), national & international coverage
  2. content provider network (e.g, Google)
  3. IXP: Internet Exchange Point 互联网交换中心

delay, loss, throughput in networks.

  • How do loss and delay occur?

    packets queue in router buffers:

    • packet arrival rate to link (temporarily) exceeds output link capacity.

    • packets queue, wait for turn.

      前两条都是queuing delay?

    • 在这里插入图片描述

  • Four sources of packet delay:
    在这里插入图片描述

    d_{nodal}=d_{proc}+d_{queue}+d_{tran}+d_{prop}
    $$

    Where,

    • d p r o c d_{proc} dproc: nodal processing.

    • checksum(有无bit error).

    • determine output link .

    • 很小(<msec).

    • d q u e u e d_{queue} dqueue: queuing delay (排队等待时间).

    • depends on congestion level of router.

    • 如下图所示。

    • d t r a n s d_{trans} dtrans: transmission delay.

    • d t r a n s = L R . d_{trans}=\frac{L}{R}. dtrans=RL.

    • L L L packet length (bits).

    • R R R link bandwidth (bps).

    • d p r o p d_{prop} dprop: propagation delay:

    • d p r o p = d / s d_{prop}=d/s dprop=d/s.

    • d d d: length of physic link.

    • s s s: propagation speed in medium.

  • Queuing delay:

    在这里插入图片描述

    • L L L packet length (bits).
    • R R R link bandwidth (bps).
    • a a a average packet arrival rate.

在这里插入图片描述

  • packet loss:
    在这里插入图片描述

    Buffer 有一定capacity, buffer满了丢包

  • Throughput: rate (bits/time unit) at which bits transferred between sender/receiver.

    • instantaneous: rate at given point in time.
    • average: rate over longer period of time.

Protocol layers.

在这里插入图片描述
在这里插入图片描述

网络安全,计算机网络历史略。。。。。

  • 转载请注明出处:

https://blog.csdn.net/weixin_44077955/article/details/112068499

文章难免有疏漏错误之处,欢迎私信博主及时更正,大家共同进步😜。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值