2.2网络体系结构 层和协议的集合 协议体系(protocol architecture) ·网络协议:是指通信双方(或多方)关于如何进行通信的一种约定[山。 协议分层:为了降低设计的复杂度,增加网络的可扩展性,具有概念化、 结构化的优点,有利于新业务的导入。 ■分层的原则: ■将相似的功能集中在同一层内,必要时可将层的功能再分成子块,层数 不宜过多,以避免层间接口的开销变大。 ■当功能差别较大时应分层处理。 ·各层只对相邻的上下层定义接口。 协议栈(protocol stack):一个特定的系统所使用的一组协 议(每一层一个或几个协议),网络协议图(参见其它文件)
2.2网络体系结构 ——层和协议的集合 ◼ 协议体系(protocol architecture) ◼ 网络协议:是指通信双方(或多方)关于如何进行通信的一种约定[1]。 ◼ 协议分层:为了降低设计的复杂度,增加网络的可扩展性,具有概念化、 结构化的优点,有利于新业务的导入。 ◼ 分层的原则: ◼ 将相似的功能集中在同一层内,必要时可将层的功能再分成子块,层数 不宜过多,以避免层间接口的开销变大。 ◼ 当功能差别较大时应分层处理。 ◼ 各层只对相邻的上下层定义接口。 ◼ 协议栈(protocol stack):一个特定的系统所使用的一组协 议(每一层一个或几个协议),网络协议图(参见其它文件)
2.2网络体系结构 层和协议的集合 Host 1 T Host 2 参考模型的核心: 7 Layer 5 protocol Layer 5 Layer 5 ■ 服务(service) 接口(interface) Layer 4/5interface Layer 4 protocol 协议(protocol) Layer 4 Layer 4 Layer 3/4 interface Layer 3 protocol Layer 3 -- Layer 3 Layer 2/3interface Layer 2 protocol Layer 2 Layer 2 Layer 1/2 interface Layer 1 protocol Layer 1 Layer 1 Physical medium
2.2网络体系结构 ——层和协议的集合 参考模型的核心: ◼ 服务(service) ◼ 接口(interface) ◼ 协议(protocol) R R
2.2网络体系结构 层和协议的集合 Host 1 Host 2 参考模型的核心: Layer 5 protocol Layer 5 Layer 5 ■ 服务(service) 接口(interface) Layer 4/5interface Layer 4 protocol 协议(protocol) Layer 4 Layer 4 Layer 3/4 interface Layer 3--- Layer 3 protocol Layer 3 2/3 interface Layer 2 Layer 2 protocol ---- Layer 2 相邻上下层之间都有 Layer 1/2 interface 接口,接口定义下层 Layer 1 protocol Layer 1 Layer 1 向上层提供的服务。 Physical medium
2.2网络体系结构 ——层和协议的集合 相邻上下层之间都有 接口,接口定义下层 向上层提供的服务。 R R 参考模型的核心: ◼ 服务(service) ◼ 接口(interface) ◼ 协议(protocol)
2.2网络体系结构 层和协议的集合 参考模型的核心: Host 1 Host 2 7 Layer 5 protocc 服务(service) Layer 5 Layer 5 接口(interface) Layer 4/5 interface 协议(protocol)) Layer 4 prote Layer 4 Layer 4 Layer terface Layer 3 protocol 不同主机中对应的 - Layer 3 层称为对等实体 erface (peer entity) Layer 2 protocol Layer 2 Layer 2 Layer 172 interface Layer 1 、-l.-Layer1 Protocol Layer 1 Physical medium
2.2网络体系结构 ——层和协议的集合 不同主机中对应的 层称为对等实体 (peer entity) R R 参考模型的核心: ◼ 服务(service) ◼ 接口(interface) ◼ 协议(protocol)
2.2网络体系结构 层和协议的集合 Host 1 Host2 参考模型的核心: 7 Layer 5 protoc Layer 5 Layer 5 服务(service) 接口(interface) Layer 4/5interface Layer 4 protocol 协议(protocol) Layer 4 Layer 4 Layer 3/4 interface Layer 3 protocol Layer 3 Layer 3 Layer 2/3 interface Layer 2 protocol Layer 2 Layer 2 第n层的通信规则 和功能由该层的协 Layer 1/2interface 议描述 Layer 1 、-l.-Layer1 Protocol Layer 1 Physical medium
2.2网络体系结构 ——层和协议的集合 第n层的通信规则 和功能由该层的协 议描述 R R 参考模型的核心: ◼ 服务(service) ◼ 接口(interface) ◼ 协议(protocol)