Protoc的olDesignConcepts,IPandRouting的定稿.doc
Protocol Design Concepts, IP and Routing
Section 1: Introduction
A central idea in the design of protocols is that of layering; and a guiding principle of Internet protocols is the “end-to-end” principle. In this chapter, we review these ideas and describe the transport and network layers in the Internet stack.
1.1 Protocols and Layering
Protocols are complex, distributed pieces of software. Abstraction and modular design are standard techniques used by software engineers to deal with complexity. By abstraction, we mean that a subset of functions is carefully chosen and setup as a “black-box” or module (see Figure 1). The module has an interface describing its input/output behavior. The interface outlives the implementation the module in the sense that the technology used to implement the interface may change often, but the interface tends to remain constant. Modules may be built and maintained by different entities. The software modules are then used as building blocks in a larger design. Placement of functions to design the right building blocks and interfaces is a core activity in software engineering.
Input Interface Output Interface
Figure 1: Abstraction of Functionality into Modules
Protocols have an additional constraint of being distributed. Therefore software modules have to communicate with one or more software modules at a distance. Such interfaces across a distance are termed as “peer-to-peer” interfaces; and the local interfaces are termed as “service” interfaces (Figure 2). Since protocol function naturally tend to be a sequence of functions, the modules on each end are organized as a (vertical) sequence called “layers”. The set of modules organized as layers is also commonly called a “protocol stack”. The concept of layering is illustrated in Figure 3.
Service Interface Service Interface
Input Peer-to-Peer Interface Output
您可能关注的文档
最近下载
- 贵州省事业单位考试职业能力倾向测验(综合管理类A类)2026年备考策略精析.docx VIP
- 混凝土结构设计标准 GB_T 50010(最新修订版).docx VIP
- 江苏省重点高中2026届高三3月九校联考英语试卷(含答案解析)原卷.pdf
- 《数学(拓展模块一)上下册》中职数学课程全套教学课件.pptx
- 电磁阀课件PPT教学课件.pptx VIP
- 西安交大《大学物理(上册)》教学课件-NO5.ppt VIP
- 统编版 一年级下册道德与法治 第3课《错了就要改》(第二课时)教学课件.pptx
- 事故应急处置及应急知识培训.pptx VIP
- 2025年安徽警官职业学院单招职业适应性测试题库(历年真题).docx VIP
- 高额业绩承诺下的医药企业审计风险研究--以亚太药业为例.pdf
原创力文档

文档评论(0)