《计算机网络 COMPUTER NETWORKS》课程教学资源(PPT课件讲稿)Chapter 18 互联网协议 Internet Protocols(IP)

COMPUTER NETWORKS Chapter 18 Internet protocols
1 COMPUTER NETWORKS Chapter 18 Internet Protocols

Protocol functions Small set of functions that form basis of all protocols Not all protocols have all functions Reduce duplication of effort May have same type of function in protocols at different levels Encapsulation(封装) Fragmentation and reassembly(分片和重装) Connection control(连接控制) Ordered delivery(顺序交付) Flow contro(流量控制 Error control(差错控制) Addressing(寻址) Multiplexing(复用) Transmission services(传输服务)
2/76 Protocol Functions • Small set of functions that form basis of all protocols • Not all protocols have all functions - Reduce duplication of effort - May have same type of function in protocols at different levels • Encapsulation(封装) • Fragmentation and reassembly (分片和重装) • Connection control (连接控制) • Ordered delivery (顺序交付) • Flow control (流量控制) • Error control (差错控制) • Addressing (寻址) • Multiplexing (复用) • Transmission services (传输服务)

Encapsulation Data usually transferred in blocks Protocol data units(PDUs) Each Pdu contains data and control information Some PdUs only control Three categories of control(三类控制字段) Address Of sender and/or receiver Error-detecting code E.g. frame check sequence Protocol control Additional information to implement protocol functions Addition of control information to data is encapsulation(在数据外添加控制信息称之为 封装) Data accepted or generated by entity and encapsulated into PDU Containing data plus control information e.g. TFTP, HDLC, frame relay, ATM, AAL5 Figure 11.15), LLC, IEEE 802.3, EEE802.11
3/76 Encapsulation • Data usually transferred in blocks - Protocol data units (PDUs) - Each PDU contains data and control information - Some PDUs only control • Three categories of control (三类控制字段) • Address - Of sender and/or receiver • Error-detecting code - E.g. frame check sequence • Protocol control - Additional information to implement protocol functions • Addition of control information to data is encapsulation(在数据外添加控制信息称之为 封装) • Data accepted or generated by entity and encapsulated into PDU - Containing data plus control information - e.g. TFTP, HDLC, frame relay, ATM, AAL5 (Figure 11.15), LLC, IEEE 802.3, IEEE 802.11

Fragmentation and Reassembly (Segmentation -OSI) EXchange data between two entities Characterized as sequence of pDUs of some bounded size Application level message in the form of datagram or continuous data stream R∈ eason Lower-level protocols may need to break data up into smaller blocks Communications network may only accept blocks of up to a certain size OATM 53 octets Ethernet 1526 octets olEEE802.11 2304 octets More efficient error control o Smaller retransmission -Faer(公平 oPrevent station monopolizing medium(防止长期霸占) Smaller buffers Provision of checkpoint and restart/recovery operations
4/76 Fragmentation and Reassembly (Segmentation – OSI) • Exchange data between two entities • Characterized as sequence of PDUs of some bounded size • Application level message in the form of datagram or continuous data stream • Reason: - Lower-level protocols may need to break data up into smaller blocks - Communications network may only accept blocks of up to a certain size oATM 53 octets oEthernet 1526 octets oIEEE802.11 2304 octets - More efficient error control oSmaller retransmission - Fairer(公平) oPrevent station monopolizing medium(防止长期霸占) - Smaller buffers - Provision of checkpoint and restart/recovery operations

Disadvantages of Fragmentation Make pdUs as large as possible because PDU contains some control information(分割都要加控制信息) Smaller block, larger overhead PDu arrival generates interrupt Smaller blocks, more interrupts More time processing smaller, more numerous pdus 5/76
5/76 Disadvantages of Fragmentation • Make PDUs as large as possible because - PDU contains some control information(分割都要加控制信息) - Smaller block, larger overhead • PDU arrival generates interrupt - Smaller blocks, more interrupts • More time processing smaller, more numerous PDUs

Reassembly Segmented data must be reassembled into messages More complex if pdUs out of order 6/76
6/76 Reassembly • Segmented data must be reassembled into messages • More complex if PDUs out of order

PDUS and Fragmentation (Copied from chapter 2 fig 2. 4) Application Data Transport I Header Transport rotocol data units Transport Header protocol data units (packets Network Network Header Header
7/76 PDUS and Fragmentation (Copied from chapter 2 fig 2.4)

Connection Control Connectionless data transfer(无连接的传输) Each PDU treated independently -Eg. datagram(数据报) Connection- oriented data transfer(面向连接的传输) Eg. virtual circuit(虚电路) Connection-oriented preferred (even required) for lengthy exchange of data Logical association, or connection, established between entities Three phases occur Connection establishment Data transfer Connection termination May be interrupt and recovery phases to handle errors
8/76 Connection Control • Connectionless data transfer(无连接的传输) - Each PDU treated independently - E.g. datagram(数据报) • Connection-oriented data transfer(面向连接的传输) - E.g. virtual circuit(虚电路) • Connection-oriented preferred (even required) for lengthy exchange of data • Logical association, or connection, established between entities • Three phases occur - Connection establishment - Data transfer - Connection termination • May be interrupt and recovery phases to handle errors

Phases of Connection Oriented Transfer Protocol Protocol Entity Entity C connection red quest Connection acc Data Multiple Acknowledgement exchanges Te erminate-connect ion request Termin te-connection accep
9/76 Phases of Connection Oriented Transfer

Connection establishment Entities agree to exchange data Typically, one station issues connection request Receiving entity accepts or rejects(simple) May include negotiation Syntax, semantics, and timing(语法、语义、定时) Both entities must use same protocol May allow optional features Must be agreed E.g. protocol may specify max PdU size 8000 octets one station may wish to restrict to 1000 octets
10/76 Connection Establishment • Entities agree to exchange data • Typically, one station issues connection request • Receiving entity accepts or rejects (simple) • May include negotiation • Syntax, semantics, and timing(语法、语义、定时) • Both entities must use same protocol • May allow optional features • Must be agreed • E.g. protocol may specify max PDU size 8000 octets; one station may wish to restrict to 1000 octets
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
- 淮阴工学院:《数据库原理》课程教学资源(PPT课件讲稿)第4章 结构化查询语言SQL.ppt
- 《C++语言程序设计》课程教学资源(PPT课件)第14讲 运算符重载.ppt
- 东南大学:《C++语言程序设计》课程教学资源(PPT课件讲稿)Chapter 13 Object-Oriented Programming - Polymorphism.ppt
- 山东大学:《微机原理及单片机接口技术》课程教学资源(PPT课件讲稿)第四章 指令系统及汇编语言程序设计(4.1-4.4).ppt
- 多媒体技术及应用(PPT讲稿)多媒体音频技术.ppt
- 《网络搜索和挖掘关键技术 Web Search and Mining》课程教学资源(PPT讲稿)Lecture 13 Matrix Factorization and Latent Semantic Indexing.ppt
- 计算机网络技术基础(PPT课件讲稿).ppt
- PROGRAMMING METHDOLODGY AND SOFTWARE ENGINEERING(PPT讲稿)C Programming Review.ppt
- 《神经网络 Neural Networks》课程教学资源(PPT课件讲稿)Ch 8 Artificial Neural networks.pptx
- 电子工业出版社:《计算机网络》课程教学资源(第五版,PPT课件讲稿)第五章 运输层.ppt
- 《Web编程实用技术教程》课程教学资源(PPT课件讲稿)第5章 MFC WinSock类的编程.ppt
- 《数字图像处理》课程PPT教学课件(讲稿)第二章 图像获取、显示和表示.ppt
- 香港中文大学:《Topics in Theoretical Computer Science》课程教学资源(PPT课件讲稿)量子计算 Quantum computing.pptx
- 香港科技大学:深度学习导论(PPT讲稿)Introduction to Deep Learning.pptx
- 北京大学软件研究所:高级软件工程(PPT讲稿)云计算与平台即服务.ppt
- 合肥学院:《数据库原理与应用》课程教学资源(PPT课件)第1章 数据库系统概述(主讲:叶潮流).ppt
- 《数据库原理与应用》课程PPT教学课件(SQL Server)第9章 存储过程和触发器.ppt
- 《The C++ Programming Language》课程教学资源(PPT课件讲稿)Lecture 02 Procedure-Based Programming.ppt
- 东南大学:《数据结构》课程教学资源(PPT课件讲稿)第七章 图.ppt
- 北京大学:《高级软件工程》课程教学资源(PPT课件讲稿)第一讲 软件与软件开发.ppt
- 计算机应用专业《计算机网络》教学大纲.doc
- 《计算机网络安全》课程教学资源(PPT课件讲稿)第四章 数据加密技术.ppt
- 西安培华学院:《计算机网络工程》课程教学资源(PPT课件讲稿)第1章 网络工程知识(主讲:张伟).ppt
- 对外经济贸易大学:《大学计算机基础》课程电子教案(PPT课件)第5章 PowerPoint幻灯片制作(PowerPoint 2010).pptx
- 中国地质大学(武汉):R语言入门教程(PPT讲稿).ppt
- 西南民族大学:软件需求分析与总体设计(PPT讲稿,主讲:殷锋).ppt
- 《软件测试 Software Testing》教学资源(PPT讲稿)Part 1 The Big Picture.ppt
- 系统编程工具REXX和CLIST.ppt
- 北京大学:基于信息利用的烟花算法研究(PPT讲稿)Research on Fireworks Algorithms from the Perspective of Information Utilization.pptx
- 《ARM嵌入式软件开发》课程教学资源(PPT课件讲稿)第三章 ARM体系结构及编程模型.ppt
- 《大型机系统管理技术》课程教学资源(PPT课件讲稿)第2章 大型服务器外存管理.ppt
- 《计算机组成原理》课程PPT教学课件(讲稿)第三章 计算机核心部件及其工作原理.ppt
- 《计算机网络概述》教学资源(PPT课件讲稿).ppt
- 面积对象编程(PPT讲稿)Object-Oriented Programming and Classes.ppt
- 同济大学:《大数据分析与数据挖掘 Big Data Analysis and Mining》课程教学资源(PPT课件讲稿)Evaluation & other classifiers.pptx
- 香港中文大学:Arm board tutorial Part 1 Using the ARM board And start working with C Tutorial 5 and 6.pptx
- 清华大学出版社:《JAVA程序设计实例教程》课程教材电子教案(PPT课件讲稿,共七章,主编:关忠).ppt
- 香港浸会大学:Community Search over Big Graphs:Models, Algorithms, and Opportunities.ppt
- 《数字图像处理》课程教学资源(PPT课件讲稿)第5章 图像编码与压缩.ppt
- 厦门理工学院:《网页设计》培训课件教学资源(PPT课件).ppt