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

  

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

  1. Casual Note of Computer Network

    20170605 本地环回地址(loopback): IPV4:127.0.0.1-127.255.255.254 IPV6:::1 (即 0000:0000:0000:0000:0000:0000: ...

  2. [Network]Introduction and Basic concepts

    [该系列是检讨计算机网络知识.因为现在你想申请出国.因此,在写这篇博客系列的大多数英语.虽然英语,但大多数就是我自己的感受和理解,供大家学习和讨论起来] 1 Network Edge The devi ...

  3. Multiprotocol Label Switching (MPLS)

    Posted by: Margaret Rouse WhatIs.com   Contributor(s): Robert Sturt This definition is part of our E ...

  4. Cortex-M3 Context Switching

    http://www.embedded.com/design/embedded/4231326/Taking-advantage-of-the-Cortex-M3-s-pre-emptive-cont ...

  5. Context Switching on the Cortex-M3

    http://coactionos.com/embedded%20design%20tips/2013/10/09/Tips-Context-Switching-on-the-Cortex-M3/ T ...

  6. Computer Networking: A Top Down Approach

    目录 Chapter 1: Computer Networks and the Internet 1. What is the Internet? 2. The Network Edge 3. The ...

  7. Computer Neworking: A Top-Down Approach

    目录 Chapter 1: Computer Networks and the Internet 1. What is the Internet? 2. The Network Edge 3. The ...

  8. cs244a-Introduction to Computer Networking-Unit1

    Unit 1 学习目标: how an application use the Internet The structure of the Internet:The 4 layer model The ...

  9. WEB urllib2 module note

    收藏好文,看的懂文档,但效率太慢 cookie 清空 import urllib2 import cookielib from time import sleep cookie=cookielib.C ...

随机推荐

  1. 替换、恢复Html中的特殊字符

    public static string HtmlEncode(string theString){theString = theString.Replace(">", &q ...

  2. 关于css中列表(ul ol)存在默认间距的问题

    一.总结: 有时候我们要给列表(ul ol 本身就是属于块级元素)的上表框或下边框设置颜色,如下: 但是在给内联块级元素(inline-block)的上表框或下边框设置颜色的时候,就没有这么简单: 在 ...

  3. 【1-4】jQuery代码风格-导航栏

    实现一个导航栏,单机不同的商品名称链接,显示相应的内容,同时高亮显示当前选择的商品. 实现功能如图: css: /* reset */ ;padding:0 0 12px 0;font-size:12 ...

  4. TX Textcontrol 使用总结四——打印

    使用内置的打印对话框在Text Control中只需一行代码就可以实现打印操作,通过调研 TextControl.Print 方法将打开一个打印对话框,用户可以设置打印机和其他打印参数.==>t ...

  5. ResultSet的getInt(),getString()方法

     数据库tt的examstudent数据表如下:   在MySQL中执行查询语句如下: ResultSet rs = null; String sql="SELECT flow_id,Typ ...

  6. sql语句(mysql)

    MySQL1.数据库数据类型 int 整型 double 浮点型 如double(5,2)最多5位,其中有两位小数 char:固定长度字符串,如char(255),数据长度不足会用空格补足 varch ...

  7. C++ 常见崩溃问题分析

    一.前言 从事自动化测试平台开发的编程实践中,遭遇了几个程序崩溃问题,解决它们颇费了不少心思,解决过程中的曲折和彻夜的辗转反侧却历历在目,一直寻思写点东西,为这段难忘的经历留点纪念,总结惨痛的教训带来 ...

  8. C#托管代码与C++非托管代码互相调用

    http://www.cnblogs.com/Jianchidaodi/archive/2009/03/11/1407270.html#1473515 http://www.cnblogs.com/J ...

  9. [JS]Javascript的this用法

    转自:阮一峰 this是Javascript语言的一个关键字. 它代表函数运行时,自动生成的一个内部对象,只能在函数内部使用.比如, function test(){ this.x = 1; } 随着 ...

  10. Redis常用方法

    首先构建非切片连接池jedisPool对象,写好配置redis连接的方法. /** * 构建redis切片连接池 * * @param ip * @param port * @return Jedis ...