热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

tcp/ip参考模型_TCP/IP参考模型

tcpip参考模型TCPIPmeansTransmissionControlProtocolandInternetProtocol.Itisthenetworkmodelusedi

tcp/ip参考模型

TCP/IP means Transmission Control Protocol and Internet Protocol. It is the network model used in the current Internet architecture as well. Protocols are set of rules which govern every possible communication over a network. These protocols describe the movement of data between the source and destination or the internet. They also offer simple naming and addressing schemes.

TCP / IP表示传输控制协议和Internet协议。 它也是当前Internet体系结构中使用的网络模型。 协议是一组规则,用于管理网络上所有可能的通信。 这些协议描述了源与目的地或互联网之间的数据移动。 它们还提供简单的命名和寻址方案。

Diagram Representation of TCP/IP Model

Protocols and networks in the TCP/IP model:

TCP / IP模型中的协议和网络:

Diagram Representation of TCP/IP Model

TCP / IP参考模型概述 (Overview of TCP/IP reference model)

TCP/IP that is Transmission Control Protocol and Internet Protocol was developed by Department of Defence's Project Research Agency (ARPA, later DARPA) as a part of a research project of network interconnection to connect remote machines.

国防部的项目研究机构 (ARPA,后来的DARPA)开发了TCP / IP,即传输控制协议和Internet协议,这是网络互连研究项目的一部分,用于连接远程机器。

The features that stood out during the research, which led to making the TCP/IP reference model were:

在研究过程中脱颖而出的功能导致建立TCP / IP参考模型:

  • Support for a flexible architecture. Adding more machines to a network was easy.

    支持灵活的体系结构。 向网络添加更多计算机非常容易。

  • The network was robust, and connections remained intact untill the source and destination machines were functioning.

    网络很健壮,并且连接保持完整,直到源计算机和目标计算机正常运行为止。

The overall idea was to allow one application on one computer to talk to(send data packets) another application running on different computer.

总体思路是允许一台计算机上的一个应用程序与运行在另一台计算机上的另一应用程序进行对话(发送数据包)。

TCP / IP参考模型的不同层 (Different Layers of TCP/IP Reference Model)

Below we have discussed the 4 layers that form the TCP/IP reference model:

下面我们讨论了构成TCP / IP参考模型的4个层:

第1层:主机到网络层 (Layer 1: Host-to-network Layer)

  1. Lowest layer of the all.

    最低的一层。

  2. Protocol is used to connect to the host, so that the packets can be sent over it.

    协议用于连接主机,以便可以通过主机发送数据包。

  3. Varies from host to host and network to network.

    因主机而异,因网络而异。

第2层:互联网层 (Layer 2: Internet layer)

  1. Selection of a packet switching network which is based on a connectionless internetwork layer is called a internet layer.

    基于无连接互联网层的分组交换网络的选择被称为互联网层。

  2. It is the layer which holds the whole architecture together.

    这是将整个体系结构结合在一起的层。

  3. It helps the packet to travel independently to the destination.

    它帮助数据包独立地到达目的地。

  4. Order in which packets are received is different from the way they are sent.

    数据包的接收顺序与发送方式不同。

  5. IP (Internet Protocol) is used in this layer.

    在此层中使用IP(Internet协议)。

  6. The various functions performed by the Internet Layer are:

    Internet层执行的各种功能是:

    • Delivering IP packets
    • Performing routing
    • Avoiding congestion

第三层:传输层 (Layer 3: Transport Layer)

  1. It decides if data transmission should be on parallel path or single path.

    它决定数据传输应该在并行路径还是单路径上。

  2. Functions such as multiplexing, segmenting or splitting on the data is done by transport layer.

    对数据的复用,分段或拆分等功能由传输层完成。

  3. The applications can read and write to the transport layer.

    应用程序可以读取和写入传输层。

  4. Transport layer adds header information to the data.

    传输层将标头信息添加到数据中。

  5. Transport layer breaks the message (data) into small units so that they are handled more efficiently by the network layer.

    传输层将消息(数据)分解为较小的单元,以便网络层可以更有效地处理它们。

  6. Transport layer also arrange the packets to be sent, in sequence.

    传输层还按顺序安排要发送的数据包。

第四层:应用层 (Layer 4: Application Layer)

The TCP/IP specifications described a lot of applications that were at the top of the protocol stack. Some of them were TELNET, FTP, SMTP, DNS etc.

TCP / IP规范描述了位于协议栈顶部的许多应用程序。 其中一些是TELNET,FTP,SMTP,DNS等。

  1. TELNET is a two-way communication protocol which allows connecting to a remote machine and run applications on it.

    TELNET是一种双向通信协议,它允许连接到远程计算机并在其上运行应用程序。

  2. FTP(File Transfer Protocol) is a protocol, that allows File transfer amongst computer users connected over a network. It is reliable, simple and efficient.

    FTP (文件传输协议)是一种协议,它允许在通过网络连接的计算机用户之间传输文件。 它可靠,简单且高效。

  3. SMTP(Simple Mail Transport Protocol) is a protocol, which is used to transport electronic mail between a source and destination, directed via a route.

    SMTP (简单邮件传输协议)是一种协议,用于通过路由在源和目标之间传输电子邮件。

  4. DNS(Domain Name Server) resolves an IP address into a textual address for Hosts connected over a network.

    DNS (域名服务器)将IP地址解析为通过网络连接的主机的文本地址。

  5. It allows peer entities to carry conversation.

    它允许对等实体进行对话。

  6. It defines two end-to-end protocols: TCP and UDP

    它定义了两个端到端协议:TCP和UDP

    • TCP(Transmission Control Protocol): It is a reliable connection-oriented protocol which handles byte-stream from source to destination without error and flow control.TCP(传输控制协议):这是一种可靠的面向连接的协议,可以处理从源到目标的字节流,而不会发生错误和流控制。
    • UDP(User-Datagram Protocol): It is an unreliable connection-less protocol that do not want TCPs, sequencing and flow control. Eg: One-shot request-reply kind of service.UDP(用户数据报协议):这是一种不可靠的无连接协议,不需要TCP,排序和流控制。 例如:一站式请求-答复类型的服务。

TCP / IP模型的优点 (Merits of TCP/IP model)

  1. It operated independently.

    它独立运行。

  2. It is scalable.

    它是可扩展的。

  3. Client/server architecture.

    客户端/服务器架构。

  4. Supports a number of routing protocols.

    支持多种路由协议。

  5. Can be used to establish a connection between two computers.

    可用于在两台计算机之间建立连接。

TCP / IP的缺点 (Demerits of TCP/IP)

  1. In this, the transport layer does not guarantee delivery of packets.

    在这种情况下,传输层不能保证包的传送。

  2. The model cannot be used in any other application.

    该模型不能在任何其他应用程序中使用。

  3. Replacing protocol is not easy.

    更换协议并不容易。

  4. It has not clearly separated its services, interfaces and protocols.

    它尚未明确区分其服务,接口和协议。

翻译自: https://www.studytonight.com/computer-networks/tcp-ip-reference-model

tcp/ip参考模型



推荐阅读
  • Python正则表达式学习记录及常用方法
    本文记录了学习Python正则表达式的过程,介绍了re模块的常用方法re.search,并解释了rawstring的作用。正则表达式是一种方便检查字符串匹配模式的工具,通过本文的学习可以掌握Python中使用正则表达式的基本方法。 ... [详细]
  • 【shell】网络处理:判断IP是否在网段、两个ip是否同网段、IP地址范围、网段包含关系
    本文介绍了使用shell脚本判断IP是否在同一网段、判断IP地址是否在某个范围内、计算IP地址范围、判断网段之间的包含关系的方法和原理。通过对IP和掩码进行与计算,可以判断两个IP是否在同一网段。同时,还提供了一段用于验证IP地址的正则表达式和判断特殊IP地址的方法。 ... [详细]
  • 本文介绍了brain的意思、读音、翻译、用法、发音、词组、同反义词等内容,以及脑新东方在线英语词典的相关信息。还包括了brain的词汇搭配、形容词和名词的用法,以及与brain相关的短语和词组。此外,还介绍了与brain相关的医学术语和智囊团等相关内容。 ... [详细]
  • 本文讨论了在Windows 8上安装gvim中插件时出现的错误加载问题。作者将EasyMotion插件放在了正确的位置,但加载时却出现了错误。作者提供了下载链接和之前放置插件的位置,并列出了出现的错误信息。 ... [详细]
  • sklearn数据集库中的常用数据集类型介绍
    本文介绍了sklearn数据集库中常用的数据集类型,包括玩具数据集和样本生成器。其中详细介绍了波士顿房价数据集,包含了波士顿506处房屋的13种不同特征以及房屋价格,适用于回归任务。 ... [详细]
  • ALTERTABLE通过更改、添加、除去列和约束,或者通过启用或禁用约束和触发器来更改表的定义。语法ALTERTABLEtable{[ALTERCOLUMNcolu ... [详细]
  • 本文讨论了clone的fork与pthread_create创建线程的不同之处。进程是一个指令执行流及其执行环境,其执行环境是一个系统资源的集合。在调用系统调用fork创建一个进程时,子进程只是完全复制父进程的资源,这样得到的子进程独立于父进程,具有良好的并发性。但是二者之间的通讯需要通过专门的通讯机制,另外通过fork创建子进程系统开销很大。因此,在某些情况下,使用clone或pthread_create创建线程可能更加高效。 ... [详细]
  • 深度学习中的Vision Transformer (ViT)详解
    本文详细介绍了深度学习中的Vision Transformer (ViT)方法。首先介绍了相关工作和ViT的基本原理,包括图像块嵌入、可学习的嵌入、位置嵌入和Transformer编码器等。接着讨论了ViT的张量维度变化、归纳偏置与混合架构、微调及更高分辨率等方面。最后给出了实验结果和相关代码的链接。本文的研究表明,对于CV任务,直接应用纯Transformer架构于图像块序列是可行的,无需依赖于卷积网络。 ... [详细]
  • 基于dlib的人脸68特征点提取(眨眼张嘴检测)python版本
    文章目录引言开发环境和库流程设计张嘴和闭眼的检测引言(1)利用Dlib官方训练好的模型“shape_predictor_68_face_landmarks.dat”进行68个点标定 ... [详细]
  • node.jsurlsearchparamsAPI哎哎哎 ... [详细]
  • Iamtryingtomakeaclassthatwillreadatextfileofnamesintoanarray,thenreturnthatarra ... [详细]
  • 本文介绍了[从头学数学]中第101节关于比例的相关问题的研究和修炼过程。主要内容包括[机器小伟]和[工程师阿伟]一起研究比例的相关问题,并给出了一个求比例的函数scale的实现。 ... [详细]
  • 成功安装Sabayon Linux在thinkpad X60上的经验分享
    本文分享了作者在国庆期间在thinkpad X60上成功安装Sabayon Linux的经验。通过修改CHOST和执行emerge命令,作者顺利完成了安装过程。Sabayon Linux是一个基于Gentoo Linux的发行版,可以将电脑快速转变为一个功能强大的系统。除了作为一个live DVD使用外,Sabayon Linux还可以被安装在硬盘上,方便用户使用。 ... [详细]
  • C++中的三角函数计算及其应用
    本文介绍了C++中的三角函数的计算方法和应用,包括计算余弦、正弦、正切值以及反三角函数求对应的弧度制角度的示例代码。代码中使用了C++的数学库和命名空间,通过赋值和输出语句实现了三角函数的计算和结果显示。通过学习本文,读者可以了解到C++中三角函数的基本用法和应用场景。 ... [详细]
  • Ihavethefollowingonhtml我在html上有以下内容<html><head><scriptsrc..3003_Tes ... [详细]
author-avatar
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有