Note for Computer Networks_Circuit Switching & Packet Switching

Packet Switching:

- In a packet switched network data is transmitted in blocks(packets), typically less than 1KB in length.

- Each packet contains a chunk of data and sufficient information for the packet to navigate to its destination and the original data reconstituted.

- A packet arriving at a switch is queued until it is possible to send it on to the next switch by the appropriate route.

1. Datagrams Switching

  1. Each datagramis a packet which is treated independently as it traverses the network, each switch in the network must decide where to send that datagram next.

  2. It is possible therefore that two datagrams from the same message may take entirely different routesto reach a destination, with the possibility that the order of packets may be changed or than packets may become lost (or terminally delayed) en route.

  3. Datagram protocols (such as IP) must therefore include sufficient information so that order can be re-instated, missing packets detected and that lost packets are eventually terminated.

  4. Users compete for bandwidth

   

2. Virtual Circuit Switching(Connection-oriented packet switching)

  1. Connection-oriented

  2. This kind of packet switching work as circuit switching, the lower layer shield higher layer from the action of cut the data into packge.

  3. It works in a similar way to the telephone system
    1.Establish a connection (“Are you there?”)
    2.Once the connection is established, use it for data transfer (push data in one end of the “wire” and take it out at the other)
    3.Release the connection (disconnect)

  4. In a virtual circuita preplannedrouteis set for all packets constituting a message.

  5. This is achieved by a control packet preceding all the data: each switch makes a decision as the where to send the control, but all subsequent packets follow the control.

  6. This does not constitute a dedicated route, the packets will still be queued at each switch and other virtual circuits may use the same equipment.

  7. The main advantage of the virtual circuit is that each of the switches makes only one route choice per message.

  8. There is an additional delay in setting up the virtual circuit and the switches must remember the next step of the route for every virtual circuit

  9. Users are guaranteed bandwidth

  

时间: 2024-10-27 19:46:14

Note for Computer Networks_Circuit Switching & Packet Switching的相关文章

Note for Computer Networks_1

Network Hardware 1. A computer network is a collection of computers connected by communication links 2. communication link: 1.Point to Point 2.Broadcast 3. Nodes: the entities in  the network(hosts, routers, servers, devices, programs, etc) Edges/Lin

[Network]Introduction and Basic concepts

[这个系列是复习计算机网路的知识. 因为立即要申请出国了,所以在写这个系列的博客时大部分使用英文. 尽管是英文.但绝大部分内容都是我自己的感受和理解,供大家一起学习和讨论] 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 t

Introduction and Basic concepts

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=e

Context Switching on the Cortex-M3

http://coactionos.com/embedded%20design%20tips/2013/10/09/Tips-Context-Switching-on-the-Cortex-M3/ The ARM Cortex-M3 architecture is designed with special features to facilitate implementing a pre-emptive RTOS. The system code takes advantage of thes

Computer Neworking: A Top-Down Approach

[TOC] 这本书是计算机网络最好的入门书籍,与传统的计算机网络书籍不同,它采用了自顶而下的方式去讲解.感谢两位十分出色的作者:Jim Kurose和Keith Ross, 他们生动的叙述方式使我觉得计算机网络如此有趣.单单引用文献就有33页,我十分佩服这么严谨又有耐心的人. Keep those cards and letters coming! --谚语 Chapter 1: Computer Networks and the Internet 计算机网络的概览,描绘了这本书蓝图.borad

Computer Networking: A Top Down Approach

目录 {:toc} 这本书是计算机网络最好的入门书籍,与传统的计算机网络书籍不同,它采用了自顶而下的方式去讲解.感谢两位十分出色的作者:Jim Kurose和Keith Ross, 他们生动的叙述方式使我觉得计算机网络如此有趣.单单引用文献就有33页,我十分佩服这么严谨又有耐心的人. Keep those cards and letters coming! --谚语 Chapter 1: Computer Networks and the Internet 计算机网络的概览,描绘了这本书蓝图.b

Computer Network学习笔记_5

4-1_Network_Layer_Overview 一个知识点:routing和forwarding的区别.Routing is the process of deciding in which direction to send traffic-Network wide(global)and expensive.Forwarding is the process of sending a packet on its way-Node process(local) and fast. 因为网络

computer network

Internet,计算机网和分组交换 什么是协议(protocol)?为计算机网络中进行数据交换而建立的规则.标准或约定的集合. 面向终端的网络: 多个终端共享一台主机,每个终端通过电缆可以对主机进行远距离访问.通过引入用于传输数字信息的调制解调器(modem)                        设备,终端可以通过电话网访问主机. 以下是几种不同的终端与主机间的通讯方式. 单线多点通信线路:中心计算机在输出线路上向某个特定的终端发送一个轮询消息,所有的终端都在监听此输出线路,但是只有

cs244a-Introduction to Computer Networking-Unit1

Unit 1 学习目标: how an application use the Internet The structure of the Internet:The 4 layer model The Internet protocol(IP) Basic architectural ideas and principles: Packet switching Layering Encapsulation 1.1 A Day in the life of an Application Domin