免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1040 | 回复: 0
打印 上一主题 下一主题

计算机网络 第四版 §1.4 参考模型 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-04-25 10:53 |只看该作者 |倒序浏览

§1.4  参考模型
       OSI参考模型的模型有用,协议无用。TCP/IP则刚好相反。

      §1.4.1     The
OSI Reference Model
ISO OSI (Open Systems Interconnection) Reference Model, 1983第一版,1995修正。


  
  
  
  
  
  
  
  
  
  
  
  




file:///C:/DOCUME%7E1/sz081474/LOCALS%7E1/Temp/msohtml1/01/clip_image002.jpg
设计原则如下:
1.   
A layer should be created where
a different abstraction is needed.
2.   
Each layer should perform a
well-defined function.
3.   
The function of each layer
should be chosen with an eye toward defining internationally standardized
protocols.
4.   
The layer boundaries should be
chosen to minimize the information flow across the interfaces.
5.   
The number of layers should be
large enough that distinct functions need not be thrown together in the same
layer out of necessity and small enough that the architecture does not become
unwieldy.
OSI model本身不是网络架构,因为没有指出每层使用的协议和服务。所以ISO另外有其他很多的标准。
各层的介绍参见教材。
物理层:涉及0和1的表示,使用什么电压,持续时间多久。如何实现并发的双向传输。连接的建立和释放。网络连接器使用多少针,每针的含义是什么。涉及机械,电子,同步接口。往下是物理媒质层。
数据链路层中针对以太网有一个MAC子层,用于控制共享信道。(还不是很理解)。
网络层的主要功能是路由,网络互通。以太网等广播网络中网络层很小甚至没有。
传输层:接收上层数据,如果需要的话,切分为小块,传送只网络层。保证正确传到对端。
会话层:比如dialog
control,token management, synchronization
表示层:注重于语法和语义
应用层:


      §1.4.2     The
TCP/IP Reference Model
       ARPANET及其继承者使用的是TCP/IP。前者由DoD (U.S. Department of
Defense).发起。除了电话线之外,还要连接卫星和无线电,故产生了TCP/IP Reference Model。It was
first defined in (Cerf and Kahn, 1974). A later perspective is given in (Leiner
et al., 1985). The design philosophy behind the model is discussed in (Clark, 1988).


file:///C:/DOCUME%7E1/sz081474/LOCALS%7E1/Temp/msohtml1/01/clip_image004.jpg
       Internet
Layer:又称为IP层。它有IP (Internet Protocol).,Packet routing 是主要任务。
       Transport
Layer:TCP (Transmission
Control Protocol)和UDP (User Datagram Protocol),后者广泛用于语音传输等。
      

file:///C:/DOCUME%7E1/sz081474/LOCALS%7E1/Temp/msohtml1/01/clip_image006.jpg
应用层:
The
Host-to-Network Layer:又称为网络接口层,

      §1.4.3     OSI
and TCP/IP Reference Models的比较
       OSI
model的核心概念如下:Services,Interfaces,Protocols。TCP/IP model在这点区分得不好。比如IP层只提供了SEND IP PACKET and RECEIVE IP
PACKET这2个真正的服务。
       OSI
model层次在先,TCP/IP则是协议在先。前者在网络层中提供了面向连接和无连接的通信,在传输层中只提供面向连接的通信。

      §1.4.4     OSI
Model and Protocols的缺点
错误的时间:

file:///C:/DOCUME%7E1/sz081474/LOCALS%7E1/Temp/msohtml1/01/clip_image008.jpg
       OSI出来的时候TCP/IP已经广泛使用
      
错误的科技:
       政治高于科技,会话和表示层无用。数据链路层和网络层负荷太重。OSI
model及其协议和服务定义过于复杂,难于实现,效率低。addressing, flow control, and error control在各层重复,一般在传输层实现就可以了。
错误的实现:
       实现复杂,但是Berkeley UNIX 的第一个TCP/IP实现很好,又免费。
错误的政治:考虑了太多的官方因素

      §1.4.5     TCP/IP
Reference Model的缺点
       没有区分好service, interface, and
protocol。不适合使用新的科技设计网络。
       不通用,只合适描述TCP/ip协议。
       the
host-to-network过于简单,仅仅是个接口
       没有描述physical and data link layers。
       一些协议草草发布,却已广泛流传。比如telnet。

我们使用混合模型,模型以OSI去掉会话,表示层为主,协议以TCP/IP为主,另加802, SONET, and Bluetooth等协议。

               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/21908/showart_585252.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP