计算机科学基础-network-讲稿6.ppt_第1页
计算机科学基础-network-讲稿6.ppt_第2页
计算机科学基础-network-讲稿6.ppt_第3页
计算机科学基础-network-讲稿6.ppt_第4页
计算机科学基础-network-讲稿6.ppt_第5页
已阅读5页,还剩31页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、ComputerNetworks,Chapter 6,天津大学软件学院,计算机网络?,Transportation service: move objects horse, train, truck, airplane . Communication network: move information bird, fire, telegraph, telephone, Internet 计算机网络,计算机网络是自主计算机的互连集合。 这些计算机各自是独立的,地位是平等的,他们通过有线或无线的传输介质连接起来,在计算机之间使用统一的通信协议。 不同的计算机网络可以采用网络设备实现互连,构成更大范

2、围的互联网络。 在计算机网络上达到信息的高速传送以及硬件、软件和信息资源的共享。,OSI MODEL(开放系统互联模型),SEVEN LAYERS,The Open Systems Interconnection model is a theoretical model that shows how any two different systems can communicate with each other.,位,帧,信息包,会话层协议数据单元,传输层协议数据单元,表示层协议数据单元,应用层协议数据单元,Flow of data in the OSI model,CATEGORIES O

3、F NETWORKS,LAN(局域网),MAN(城域网),WAN(广域网),LOCAL AREA NETWORK (LAN),METROPOLITAN AREA NETWORK (MAN),WIDE AREA NETWORK (WAN),计算机与外界局域网的连接是通过主机箱内插入一块网络接口板(或者是在笔记本电脑中插入一块PCMCIA卡)。网络接口板又称为通信适配器或网络适配器(adapter)或网络接口卡NIC(Network Interface Card),PCMCIA :PC机内存卡国际联合会,双绞线4对8条 线,八根线的布线规则是1236线有用,4578线闲置。 双绞线RJ45水晶头的

4、制作线序 :T568B标准描述的线序从左到右依次为:1-白橙、2-橙、3-白绿、4-蓝、5-白蓝、6-绿、7-白棕、8-棕。,CONNECTING DEVICES,REPEATERS (中继器) A repeater is an electronic device that regenerates data. It extends the physical length of a network. As a signal is transmitted, it may lose strength, and a weak signal may be interpreted erroneously

5、by a receiver. A repeater can regenerate the signal and send it to the rest of the network.,Repeaters operate at the first layer of the OSI model.,BRIDGES (网桥) A bridge is a traffic controller. It can divide a long bus into smaller segments so that each segment is independent trafficwise. The bridge

6、 uses a table to decide if the frame needs to be forwarded to another segment. With a bridge, two or more pairs of stations can communicate at the same time.,ROUTERS (路由器) Routers are devices that connect LANs, MANs, and WANs. A router operates at the third layer of the OSI model. Whereas a bridge f

7、ilters a frame based on the physical (data-link layer) address of the frame, a router routes a packet based on the logical address (network layer) of the packet.,THE INTERNET AND TCP/IP,TCP/IP and OSI model,NETWORK LAYER At the network layer, TCP/IP supports the Internet Protocol (IP). IP is an unre

8、liable protocol and a best-effort delivery service. The term best-effort means that IP provides no error checking or tracking. The data unit at the IP layer is called an IP datagram, an independent packet that travels from the source to the destination.,Protocol:协议 Datagram:数据报,自带寻址信息的,独立地从数据源行走到终点的

9、数据包,Addressing TCP/IP requires that every computer connected to the Internet be identified by a unique international address. This address is sometimes referred to as the Internet address, or IP address. Each Internet address consists of 4 bytes (32 bits). To make the 32-bit form shorter and easier

10、to read, Internet addresses are usually written in decimal form with decimal points separating the bytes: dotted-decimal notation.,域名系统,主机名由计算机名加域名构成 nc: 计算机名 域名 由两个或多个部分组成,说明计算机所属的组织或组织的一个子集 域名的最后一部分(top-level domain)顶级域名 声明所属国家或组织类型 .cn 中国 .au澳大利亚 .ca加拿大 .uk英国 域名系统(domain name system DNS) 把域名翻译成数字

11、IP地址,Host Name:,1字节网络地址,2字节网络地址,3字节网络地址,TRANSPORT LAYER At the transport layer, TCP/IP defines two protocols: Transmission Control Protocol (TCP) and User Datagram Protocol (UDP). The TCP provides full transport layer services to applications. TCP is a reliable transport protocol.,APPLICATION LAYER

12、TCP/IP中的应用层等同于OSI中会话层、表示层和应用层的组合。,File Transfer Protocol (FTP,文件传输协议) The standard protocol on the Internet for transferring a file from one machine to another is the File Transfer Protocol (FTP). FTP was designed to respond to traditional problems related to file transfer, one problem is the differ

13、ent coding systems in use; one machine may use ASCII, and the other may use Unicode. Another problem is the different file formats in use. FTP was designed to resolve these problems.,Simple Mail Transfer Protocol (SMTP,简单邮件传输协议) By far the most popular application on the Internet today is electronic

14、 mail (email). The protocol that supports email on the Internet is Simple Mail Transfer Protocol (SMTP). To send and receive email, the user must install both client and server SMTP software on a computer. SMTP is often used with another protocol such as Post Office Protocol (POP邮局协议).,Address SMIP

15、uses a unique addressing system that consists of two parts: a local part and a domain name separated by an sign. The local part defines the name of a special file, called the user mailbox, where all the mail received for a user is stored for retrieval by the user agent. The domain name defines the c

16、omputer (often symbolically) that serves as the SMTP server.,本地部分 域名,Hypertext Transfer Protocol (HTTP,超文本传输协议) Hypertext Transfer Protocol (HTTP) is a client-server program that is used to access and transfer documents in the World Wide Web. Uniform Resource locator (URL统一资源定位器) HTTP uses a special

17、 kind of addressing called the Uniform Resource Locator (URL), which is a standard for specifying any kind of information on the Internet. The URL defines four things: method, host computer, port, and path.,For example: /hypertext/project.html method: http, host: ,pathname

18、and name of file: hypertext/project.html。,作业,6-18,6-19 6-306-32 6-436-48,A computer network is a combination of devices connected by transmission media. The Open Systems Interconnection (OSI) model is a theoretical model that shows how any two different systems can communicate with each other. The s

19、even layers of the OSI model are the physical layer, data-link layer, Network layer, transport layer, session layer, presentation layer, and application layer. A local area network (LAN) allows resource sharing (hardware, software, and data) between computers. A LAN can de configured in a bus, ring,

20、 or star topology. A metropolitan area network (MAN) uses the services provided by a common carrier.,SUMMARY,A wide area network (WAN) is the connection of individual computers or LANs over a large area. WANs are installed and run by common carriers. A repeater is a connecting device that regenerate

21、s data and extends the physical length of a network. A bridge is a connecting device that filters traffic. A router is a connecting device that routes packets. A gateway allows two networks, each with a completely different protocol suite, to communicate. An internetwork is two or more LANs, MANs, o

22、r WANs. Transmission Control Protocol/Internet Protocol (TCP/IP) is the set of protocols used by the Internet, a worldwide internetwork of computers.,SUMMARY (continued),The Internet Protocol (IP) is TCP/IPs unreliable protocol at the internet layer. An IP address identifies each computer connected to the Internet. User Datagram Protocol (UDP) and Transmission Control Protocol (TCP) are protocols at the transport layer. File Transfer Protocol (FTP) is a TCP/I

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论