osi七层网络层

介绍 (Introduction)

Have you ever wondered how data is sent through the network from one machine to another? If yes, then the Open System Interconnected model is what you are looking for.

您是否曾经想过如何通过网络将数据从一台机器发送到另一台机器? 如果是,那么您正在寻找开放系统互连模型。

The OSI model is used to help standardize and characterize how data should flow from sender to receiver without taking into consideration the underlying internal structure of the endpoint (sender, receiver).

OSI模型用于帮助标准化和表征数据应如何从发送方流向接收方,而无需考虑端点(发送方,接收方)的内部结构。

The organisation that came up with this model is the International Standardisation Organisation and hence this model is formally referred to as ISO - OSI.

提出此模型的组织国际标准化组织 ,因此该模型正式称为ISO-OSI

建筑 (Architecture)

As in the figure below the model divides the network into 7 layers. Data communication in the OSI model starts with the top layer ( Application Layer ) of the stack at the sending side, travels down the stack to the sender’s lowest layer ( Physical Layer ), then traverses the physical network connection to the bottom layer on the receiving side, and up its OSI model stack.

如下图所示,模型将网络分为7层 。 OSI模型中的数据通信从发送方的堆栈的顶层(应用程序层)开始,向下沿堆栈行进到发送方的最低层(物理层),然后遍历物理网络连接到接收方的底层方面,以及其OSI模型堆栈。

We go for a layered approach because it is easy to design independent layers with dedicated functions which interact with each other as compared to a single complex model.

我们之所以采用分层方法,是因为与单个复杂模型相比,设计具有相互交互的专用功能的独立层很容易。

重要观察 (Important Observations)

  • End-to-end layers: In the diagram above, you would notice that the upper layers of the protocol (Application - Transport), the sender’s and receiver’s layers are directly connected via arrows. This is because these layers are not aware of intermediate devices that are used to transport data (such as switches and routers). These layers appear to communicate directly with each other.

    端到端层:在上图中,您会注意到协议的上层(应用程序-传输),发送者和接收者的层通过箭头直接连接。 这是因为这些层不知道用于传输数据的中间设备(例如交换机和路由器)。 这些层似乎彼此直接通信。

  • Unit of Data: In the diagram above, to the extreme left is the unit of data that is used in each of the layer. The transport layer (and the layers below it) have a unique name for the unit of data being transferred from sender to receiver.

    数据单位:在上图中,最左端是每个图层中使用的数据单位。 传输层(及其下面的层)对于从发送方到接收方的数据单位具有唯一的名称。

图层功能 (Functions of Layers)

  • Layer 1 - Physical Layer: The physical layer is the lowest of the OSI Layers and the most complex. This is because of the underlying hardware technologies used. The function of this layer is to define how the bit stream will be transmitted rather than the logical data packet. It deals with defining which frequency will the bit be transmitted on, what kind of modulation will be used, how the bits will be grouped and other low lying physical parameters needed for transmission of bits.

    第1层-物理层:物理层是OSI层中最低的,也是最复杂的。 这是因为所使用的基础硬件技术。 该层的功能是定义如何传输位流,而不是逻辑数据包。 它涉及定义将在哪个频率上传输比特,将使用哪种调制方式,如何对比特进行分组以及传输比特所需的其他低层物理参数。

  • Layer 2 - Data Link Layer: The data link layer is responsible for transferring data to adjacent devices on the same Local Area Network (LAN). This layer also has provisions to make sure that error-free data is being passed on to the higher layers from the physical layer. Hence, it contains error detection and correction mechanisms to ensure the integrity of data is maintained.

    第2层-数据链路层:数据链路层负责将数据传输到同一局域网(LAN)上的相邻设备。 该层还提供了确保无错误数据从物理层传递到更高层的规定。 因此,它包含错误检测和纠正机制,以确保维持数据的完整性。

  • Layer 3 - Network Layer: The network layer is responsible for forwarding packets to other networks. Usually a network is divided into multiple subnets and the network layer with the help of routers forwards packets between such networks to establish a Wide Area Network (WAN).

    第3层-网络层:网络层负责将数据包转发到其他网络。 通常,一个网络被分为多个子网,网络层借助路由器在这些网络之间转发数据包以建立广域网(WAN)。

  • Layer 4 - Transport Layer: The transport layer ensures that messages are delivered error-free, in sequence, and with no losses or duplication. It relieves the higher layer protocols from any concern with the transfer of data between them and their peers.

    第4层-传输层:传输层可确保按顺序无错误地传递消息,并且不会丢失或重复。 它使高层协议不必担心它们与对等方之间的数据传输。

  • Layer 5 - Session Layer: The session layer allows session establishment between processes running on different stations.

    第5层-会话层:会话层允许在不同工作站上运行的进程之间建立会话。

  • Layer 6 - Presentation Layer: The presentation layer formats the data to be presented to the application layer.

    第6层-表示层:表示层格式化要呈现给应用程序层的数据。

  • Layer 7 - Application Layer: The application layer serves as the window for users and application processes to access network services.

    第7层-应用程序层:应用程序层充当用户和应用程序进程访问网络服务的窗口。

翻译自: https://www.freecodecamp.org/news/a-crash-course-in-osi-layers/

osi七层网络层

osi七层网络层_OSI层速成课程相关推荐

  1. OSI 七层模型之大白话

    [注意]此文章是最简单的概念的理解,不涉及具体的数据结构 ​​​​​​OSI七层协议大白话解读_陶通宁的博客-CSDN博客_osi七层 网络的分层有三种模式:七层  五层  四层,  这三种模式的关系 ...

  2. OSI七层模型每层的功能及包含的协议

    OSI七层模型          应用层     表示层    会话层    传输层    网络层    数据链路层     物理层 TCP/IP五层模型     应用层     传输层    网络层 ...

  3. OSI七层、TCP/IP五层、UDP、TCP的socket编程(服务端及客户端)、字节序转换、多进程以及多线程服务端的实现

    1.网络以覆盖范围划分:局域网/城域网/广域网   互联网/因特网   以太网/令牌环网--组网方式 2.在网络中必须能够为一表示每一台主机,才能实现点到点的精确通信            IP地址: ...

  4. OSI七层参考模型详解

    原址 https://blog.csdn.net/qq_16093323/article/details/79582554 话不多说先上图! OSI七层模型基础知识及各层常见应用 目录 二. OSI基 ...

  5. OSI七层模型基础知识及各层常见应用

    OSI七层模型基础知识及各层常见应用 目录 二. OSI基础知识 三. OSI的七层结构 四. OSI分层的优点 五. OSI模型与TCP/IP模型的比较 六.OSI七层模式简单通俗理解 模型把网络通 ...

  6. OSI七层协议和TCP/IP四层协议比较

    网络协议设计者不应当设计一个单一.巨大的协议来为所有形式的通信规定完整的细节,而应把通信问题划分成多个小问题,然后为每一个小问题设计一个单独的协议.这样做使得每个协议的设计.分析.时限和测试比较容易. ...

  7. OSI七层模型和TCP/IP协议

    1. OSI七层模型 OSI(Open System InterConnection)开放式系统互联 应用层 直接为用户提供服务,如HTTP.FTP.STMP(邮件服务).DNS.Telnet(远程控 ...

  8. 【网络】OSI七层模型

    一些常见的术语简单说明参考其他博文辅助理解 [网络]常识与术语 [网络]交换机 VLAN 网关 路由器 [网络]常见协议 含义 开放式系统互联通信参考模型,Open System Interconne ...

  9. 【计算机网络】计算机网络 OSI 参考模型 ( 计算机网络分层结构 | OSI 七层参考模型 | 应用层 | 表示层 | 会话层 | 传输层 | 网络层 | 数据链路层 | 物理层 )

    文章目录 一.计算机网络分层结构 二.OSI 七层参考模型 三.应用层 四.表示层 五.会话层 六.传输层 七.网络层 八.数据链路层 九.物理层 一.计算机网络分层结构 计算机网络分层结构 : ① ...

最新文章

  1. python: how to delete a given item if it exist in the list
  2. 运维的shell小编(1)
  3. OC语言--SEL类型小记
  4. LR学习笔记三 之 界面分析
  5. debian 7上安装svn
  6. 为什么本地图片都不能直接浏览器_微软工程师帮助谷歌解决Chromium浏览器中一个很长久的细节问题...
  7. Not so Mobile(二叉树递归输入同时建树){天平}
  8. 维珍银河创始人布兰森成功进入太空 早于贝佐斯9天
  9. centos6.8 配置mysql赋予mysql远程连接权限
  10. 主要知识产权(专利权,著作权,商标权)的申请与保护
  11. OpenMP模式下多线程文件操作 (转)
  12. 9.iterm 颜色
  13. NFT,一种新型社交网络
  14. 帮嫦娥五号登月的AI还能用来玩游戏,20行Python代码带你领略强化学习的风采
  15. 2021年春季PAT乙级题解(C语言)
  16. CASE WHEN THEN 判断
  17. 如何在Windows 10中扫描文档
  18. 第二周-第07章节-Python3.5-列表的使用(1)
  19. Android聊天室(客户端)
  20. AI指导你练出马甲线的“神操作”已不再遥远

热门文章

  1. 【Linux】Linux简单操作之安装jdk
  2. nodejs回调函数理解
  3. 小程序 url 对象转字符串编码传参 url 字符串转对象解码接收参数
  4. UIActivityViewController使用
  5. 二叉树的路径(根节点到叶节点)Binary Tree Paths
  6. 通讯组基本管理任务一
  7. BZOJ4245 : [ONTAK2015]OR-XOR
  8. C# Winform 启动和停止进程
  9. 用WinForm/WPF代码来为.NET Core 3.0功能投票
  10. Flask与Django对比