热门标签 | 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和数学基础的重要性,并提供了一些建议。 ... [详细]
  • 本文介绍了brain的意思、读音、翻译、用法、发音、词组、同反义词等内容,以及脑新东方在线英语词典的相关信息。还包括了brain的词汇搭配、形容词和名词的用法,以及与brain相关的短语和词组。此外,还介绍了与brain相关的医学术语和智囊团等相关内容。 ... [详细]
  • 本文讨论了在Windows 8上安装gvim中插件时出现的错误加载问题。作者将EasyMotion插件放在了正确的位置,但加载时却出现了错误。作者提供了下载链接和之前放置插件的位置,并列出了出现的错误信息。 ... [详细]
  • Python正则表达式学习记录及常用方法
    本文记录了学习Python正则表达式的过程,介绍了re模块的常用方法re.search,并解释了rawstring的作用。正则表达式是一种方便检查字符串匹配模式的工具,通过本文的学习可以掌握Python中使用正则表达式的基本方法。 ... [详细]
  • SpringBoot整合SpringSecurity+JWT实现单点登录
    SpringBoot整合SpringSecurity+JWT实现单点登录,Go语言社区,Golang程序员人脉社 ... [详细]
  • 本文介绍了闭包的定义和运转机制,重点解释了闭包如何能够接触外部函数的作用域中的变量。通过词法作用域的查找规则,闭包可以访问外部函数的作用域。同时还提到了闭包的作用和影响。 ... [详细]
  • 向QTextEdit拖放文件的方法及实现步骤
    本文介绍了在使用QTextEdit时如何实现拖放文件的功能,包括相关的方法和实现步骤。通过重写dragEnterEvent和dropEvent函数,并结合QMimeData和QUrl等类,可以轻松实现向QTextEdit拖放文件的功能。详细的代码实现和说明可以参考本文提供的示例代码。 ... [详细]
  • Android Studio Bumblebee | 2021.1.1(大黄蜂版本使用介绍)
    本文介绍了Android Studio Bumblebee | 2021.1.1(大黄蜂版本)的使用方法和相关知识,包括Gradle的介绍、设备管理器的配置、无线调试、新版本问题等内容。同时还提供了更新版本的下载地址和启动页面截图。 ... [详细]
  • 知识图谱——机器大脑中的知识库
    本文介绍了知识图谱在机器大脑中的应用,以及搜索引擎在知识图谱方面的发展。以谷歌知识图谱为例,说明了知识图谱的智能化特点。通过搜索引擎用户可以获取更加智能化的答案,如搜索关键词"Marie Curie",会得到居里夫人的详细信息以及与之相关的历史人物。知识图谱的出现引起了搜索引擎行业的变革,不仅美国的微软必应,中国的百度、搜狗等搜索引擎公司也纷纷推出了自己的知识图谱。 ... [详细]
  • 推荐系统遇上深度学习(十七)详解推荐系统中的常用评测指标
    原创:石晓文小小挖掘机2018-06-18笔者是一个痴迷于挖掘数据中的价值的学习人,希望在平日的工作学习中,挖掘数据的价值, ... [详细]
  • 无详细内容MySQLmysqlmysqlDELIMITERmysqlCREATEFUNCTIONmyProc(costDECIMAL(10,2))-RETURNSDECIMAL(1 ... [详细]
  • Android日历提醒软件开源项目分享及使用教程
    本文介绍了一款名为Android日历提醒软件的开源项目,作者分享了该项目的代码和使用教程,并提供了GitHub项目地址。文章详细介绍了该软件的主界面风格、日程信息的分类查看功能,以及添加日程提醒和查看详情的界面。同时,作者还提醒了读者在使用过程中可能遇到的Android6.0权限问题,并提供了解决方法。 ... [详细]
  • 本文介绍了贝叶斯垃圾邮件分类的机器学习代码,代码来源于https://www.cnblogs.com/huangyc/p/10327209.html,并对代码进行了简介。朴素贝叶斯分类器训练函数包括求p(Ci)和基于词汇表的p(w|Ci)。 ... [详细]
  • 本文介绍了Windows Vista操作系统中的用户账户保护功能,该功能是为了增强系统的安全性而设计的。通过对Vista测试版的体验,可以看到系统在安全性方面的进步。该功能的引入,为用户的账户安全提供了更好的保障。 ... [详细]
  • Jboss的EJB部署描述符standardjaws.xml配置步骤详解
    本文详细介绍了Jboss的EJB部署描述符standardjaws.xml的配置步骤,包括映射CMP实体EJB、数据源连接池的获取以及数据库配置等内容。 ... [详细]
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社区 版权所有