大连理工大学:《计算机网络》课程教学资源(PPT课件讲稿)Chapter 2 应用层 application layer

Lecture on Computer Network For 08 Spring 2010 Chapter 2 application layer W erTeng Wfsundlutegmail.com School of software Dalian University of Technology
Lecture on Computer Network For 08 Spring 2010 Weifeng Sun Wfsun.dlut@gmail.com School of Software Dalian University of Technology Chapter 2 application layer

Chapter 2 application layer 2. 1 Principles of 2.6 P2P applications network 2.7 Socket applications programming with 2.2 Web and Http tcp 2. 3 FTP 2. 8 Socket 24日 ectronic Mail programming with SMTP POP3, IMAP UDP 2,5 DNS uct by Weifeng Sun chapter 2-application layer 2/73
Introduct by Weifeng Sun chapter2- application layer 2/73 Chapter 2: Application layer • 2.1 Principles of network applications • 2.2 Web and HTTP • 2.3 FTP • 2.4 Electronic Mail – SMTP, POP3, IMAP • 2.5 DNS • 2.6 P2P applications • 2.7 Socket programming with TCP • 2.8 Socket programming with UDP

Some network apps e-mail voice over ip web real-time video instant messaging conferencing remote login grid computing P2P file sharing multi-user network games streaming stored go clips uct by Weiteng Sun chapter 2-application layer 3/73
Introduct by Weifeng Sun chapter2- application layer 3/73 Some network apps • e-mail • web • instant messaging • remote login • P2P file sharing • multi-user network games • streaming stored video clips • voice over IP • real-time video conferencing • grid computing • • •

FTP TELNET Http NFS SMTP SNMP TFTP DNS TCP UDP ICMP IGMP ARP RARP EtherNet, Token Ring, Token Bus, FDDI, PPP/SLIP, X 25 duct by Weifeng Sun d
Introduct by Weifeng Sun chapter2- application layer 4/73 EtherNet, Token Ring, Token Bus, FDDI, PPP/SLIP, X. 25 ICMP IP IGMP ARP RARP TCP UDP HTTP SMTP 。。。 FTP TELNET NFS 。。。 SNMP DNS TFTP

Creating a network app Freor ication data link write programs that run on ( differentend systems communicate over network e.g. web server software communicates with browser software applicati No need to write software transport network data link for network-core devices Network-core devices do link physIcal not run user applications applications on end systems aeWs for rapid app development, propagation uct by Weiteng Sun chapter 2-application layer 5/73
Introduct by Weifeng Sun chapter2- application layer 5/73 Creating a network app write programs that – run on (different) end systems – communicate over network – e.g., web server software communicates with browser software No need to write software for network-core devices – Network-core devices do not run user applications – applications on end systems allows for rapid app development, propagation application transport network data link physical application transport network data link physical application transport network data link physical

application architectures ppl Client-server Peer-to-peer( P2P) Hybrid of client-server and P2P uct by Weifeng Sun chapter 2-application layer 6/73
Introduct by Weifeng Sun chapter2- application layer 6/73 Application architectures • Client-server • Peer-to-peer (P2P) • Hybrid of client-server and P2P

Client-server architecture server. always-0 n host谷歌金永 在线主 permanent IP address server farms for scaling谷歌金山为扩大服务器群 clients communicate with server client/server may be intermittent!(间歇 地 connected may have dynamic IP addresses do not communicate directly with each other uct by Weifeng Sun chapter 2-application layer 7/73
Introduct by Weifeng Sun chapter2- application layer 7/73 Client-server architecture server: – always-on host(谷歌金山:永远 在线主机) – permanent IP address – server farms for scaling(谷歌金山:为扩大服务器群) clients: – communicate with server – may be intermittently(间歇 地)connected – may have dynamic IP addresses – do not communicate directly with each other client/server

Pure p2p architecture no always-on server Arbitrary任意的end systems directly peer-peer communicate peers are intermittently connected and change IP addresses Highly scalable(r扩展的but 2Dcult to manage uct by Weiteng Sun chapter 2-application layer 8/73
Introduct by Weifeng Sun chapter2- application layer 8/73 Pure P2P architecture • no always-on server • Arbitrary(任意的) end systems directly communicate` • peers are intermittently connected and change IP addresses Highly scalable(可扩展的) but difficult to manage peer-peer

Hybrid of client-server and P2P Skype voie-0Ver-IP(谷歌金山IP承载语)P2 P application centralized server finding address of remote party client-client connection: direct(not through server) Instant messaging chatting between two users is P2P centralized service: client presence detection/location user registers its IP address with central server when it comes online ser contacts central server to find IP addresses of buddies uct by Weifeng Sun chapter 2-application layer 9/73
Introduct by Weifeng Sun chapter2- application layer 9/73 Hybrid of client-server and P2P Skype – voice-over-IP(谷歌金山:IP承载语音) P2P application – centralized server: finding address of remote party: – client-client connection: direct (not through server) Instant messaging – chatting between two users is P2P – centralized service: client presence detection/location • user registers its IP address with central server when it comes online • user contacts central server to find IP addresses of buddies

Processes communicating Process: program running Client process: process within a host that initiates within same host. two communication processes communicate Server process:process using inter-process that waits to be communication(defined contacted by oS processes in different Note: applications with hosts communicate by P2P architectures have exchanging messages client processes server processes uct by Weiteng Sun chapter2-application layer 10/73
Introduct by Weifeng Sun chapter2- application layer 10/73 Processes communicating Process: program running within a host. • within same host, two processes communicate using inter-process communication (defined by OS). • processes in different hosts communicate by exchanging messages Client process: process that initiates communication Server process: process that waits to be contacted • Note: applications with P2P architectures have client processes & server processes
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
- 四川大学:《操作系统 Operating System》课程教学资源(PPT课件讲稿)Chapter 3 Process Description and Control 3.4 Process Control 3.5 Execution of the Operating System 3.6 Unix SVR4 Process Management 3.7 Linux Process management system calls.ppt
- 《数据结构》课程教学资源(PPT课件讲稿)第七章 图 Graph.ppt
- 《数据结构》课程教学资源:实践教学大纲.doc
- 《网络算法学》课程教学资源(PPT课件讲稿)第三章 实现原则.ppt
- 《电脑组装与维护实例教程》教学资源(PPT课件讲稿)第5章 多媒体设备介绍及选购.ppt
- 广西医科大学:《计算机网络 Computer Networking》课程教学资源(PPT课件讲稿)Chapter 02 Network Classification.pptx
- 清华大学:无线网和移动网(PPT课件讲稿)Mobile and wireless network.pptx
- 中国科学技术大学:《计算机体系结构》课程教学资源(PPT课件讲稿)第6章 Data-Level Parallelism in Vector, SIMD, and GPU Architectures.pptx
- 厦门大学:《分布式数据库》课程教学资源(PPT课件讲稿)专题一 分布式数据库介绍.ppt
- 《The C++ Programming Language》课程教学资源(PPT课件讲稿)Lecture 06 OOP with Templates.ppt
- 武汉科技大学中南分校:Windows 2000/XP网络组建与系统管理(系统安装,李燕).ppt
- 电子科技大学:《面向对象程序设计语言C++》课程教学资源(PPT课件讲稿)第五章 构造数据类型.ppt
- 《C语言程序设计》课程电子教案(PPT教学课件)第三章 分支结构.ppt
- 计算机维护与维修(PPT课件讲稿)第十二章 笔记本电脑维护维修.ppt
- 西安电子科技大学:《微机原理与接口技术》课程教学资源(PPT课件讲稿)第四章 汇编语言程序设计(主讲:王晓甜).pptx
- 厦门大学计算机科学系:《大数据技术原理与应用》课程教学资源(PPT课件)第12章 数据可视化.ppt
- 《计算机操作系统》课程教学资源(PPT讲稿)Windows 2003的安全.ppt
- 《计算机图形学》课程教学资源(PPT课件讲稿)Chapter 5 Attributes of Graphics Primitives.pptx
- 《计算机原理及应用》课程教学资源(PPT课件讲稿)第9章 单片机I/O接口扩展技术.pptx
- 《Access 2013数据库技术及应用》课程教学资源(PPT课件讲稿)第12章 VBA模块设计.ppt
- 3D Reconstruction from Images:Image-based Street-side City Modeling.ppt
- 《数据结构》课程教学资源(PPT课件讲稿)第七章 图及其应用.ppt
- 香港城市大学:基序检测的随机化算法(PPT讲稿)Randomized Algorithm for Motif Detection.ppt
- 《计算机组装与维护》课程教学资源(PPT课件讲稿)第9章 BIOS设置(设置BIOS).ppt
- 《Introduction to Java Programming》课程PPT教学课件(Sixth Edition)Chapter 16 Applets and Multimedia.ppt
- 上海交通大学:《挖掘海量数据集 Mining Massive Datasets》课程教学资源(PPT讲稿)Lecture 06 搜索引擎 Search Engines.ppt
- 《计算机系统安全》课程教学资源(PPT课件讲稿)第二章 黑客常用的系统攻击方法.ppt
- 《C语言程序设计》课程教学资源(PPT课件讲稿)第8章 结构体、共用体与枚举类型.ppt
- 香港浸会大学:Introduction to Linux and PC Cluster.ppt
- 南京大学:《计算机图形学》课程教学资源(PPT课件讲稿)第7讲 图元填充与裁剪算法.pptx
- 北京航空航天大学:SimplyDroid - Efficient Event Sequence Simplification for Android Application.pptx
- 《The C++ Programming Language》课程教学资源(PPT课件讲稿)Lecture 04 Object-Based Programming.ppt
- 中国科学技术大学:Linux内核源代码导读(PPT讲稿,陈香兰).ppt
- 《网上开店实务》课程教学资源(PPT讲稿)学习情境3 网店装修.ppt
- 北京大学:《项目成本管理》课程教学资源(PPT课件讲稿)项目范围计划(主讲:周立新).ppt
- 香港中文大学:Achieving Secure and Cooperative Wireless Networks with Trust Modeling and Game Theory.ppt
- MSCIT 5210/MSCBD 5002:Knowledge Discovery and Data Mining:Chapter 4:Data Warehousing, On-line Analytical Processing and Data Cube.ppt
- 《程序设计基础》课程PPT教学课件(C++)第3讲 C++程序控制结构.ppt
- 四川大学:《数据库技术》课程教学资源(PPT课件讲稿)数据库设计.ppt
- 云计算 Cloud Computing(PPT讲稿)MapReduce进阶.ppt