计算机网路相关的教材很少,TCP/IP,HTTP 协议非常多,很难找到一个合适的材料去学习。

《计算机网络》自上而下方法是这个方面的经典之作。

1.what is internet?

1.1 nuts and bolts  基本元素

Millions of devices connect in network.

If we let devices connect each other, it 's too complex and unrealistic.

So the real network is like the picture.

pc,mobile ,server are called end-systems or hosts

In today's world, most all devices can access to network. we call it "network apps".

There are many ways for connect in network in today's world.

fiber,copper,radio,satellite ...

The key quota is bandwidth.

routers is the network core.

as you see with below pic, the real network is connect with routers.

when them connect each other, how they communicate each other。

It called "protocols". eg: TCP, IP,HTTP, FTP,UDP etc.

network of networks:

loosely hierarchical----serven or five layer for network。

IP Address:

Because of so many devices, if each devices has been given one ip address, it will not enough for every one.

So, we consider :some of them can get the ip address and others may share this address,or devided them with two region。

public Internet versus & private intranet。

Each router can get one ip address like "112.100.120.224" and every end-system may got one address like "192.168.0.100"

For many protocols, there need one org. to manager these protocols.

RTF:Request for comments

IETF:Internet Engineering Task Force

1.2 A Service View

Web,eMail,game etc. All these are network applications.

communication services:

connectionless:not need connectoion with one line. like Post system. sample say is :UDP

connection-oriented:need connection with line. like call sysntem. sample say is : TCP

For internet: it might be lost, & delay.

connection-oriented:no loss , and delay is control

UDP: quick response DNS

2.What's A protocol?

protocol is like two people talking about.

… specific messages sent
… specific actions taken when messages received, or other events.

protocols define:

format,

order of messages sent and received among network entities,

and actions taken on the transmission/receipt of a message.

2.1 A closer look at network structure

Network edge:

hosts & applications

Network core: routers & network of networks

Access network: between edge & core lines.

They using real line call physical media.

3.Network Edge

End Systems:

run web,email at edge of network.

2 model :

client/server model:

client request, server receive , server is always on.

For lost of client may request,so server should always on.

peer-peer model:

eg. skype. client to client.

min (or no ) use of server, just side to side client.

But for some reason,may contury has forbid these software.

3.1 connection-oriented service

network is lost,delay. but we may want to data not lost.

we want to tansfer data between end systems.

TCP Transmission Control Protocol

The most important protocol in network.

TCP RFC793

1)reliable,in order byte-stream data transfer. For loss problem, it using acknowledgements  & retransmissions. Detail will talking about later.

2)flow control: sender and receiver in most case , they will have different bandwidth.So we get the min of the Upper limit of each other.

3)congestion control:sender will put one byte, two byte,exponent. Until, lost packet happen. Then ,it will slow down the packet size.

most using 1/2 of last one.

3.2 connectionless service

data transfer between end systems.

UDP User Datagram Protocol

1)unreliable. may lost data

2)unflow control. so receiver's bandwidth may not enough. normally, it will just pass little data. or transfer video/media data.

3)un congestion control.

fast,using resource small.

TCP:HTTP,FTP,SMTP

UDP:stream media,DNS

Computer Network and Internet(1)的更多相关文章

  1. computer network layers architecture (TCP/IP)

    computer network layers architecture (TCP/IP) 计算机网络分层架构 TCP/IP 协议簇 OSI 模型(7 层) TCP/IP (4 层) Applicat ...

  2. codeforces GYM 100114 J. Computer Network 无相图缩点+树的直径

    题目链接: http://codeforces.com/gym/100114 Description The computer network of “Plunder & Flee Inc.” ...

  3. codeforces GYM 100114 J. Computer Network tarjan 树的直径 缩点

    J. Computer Network Time Limit: 1 Sec Memory Limit: 256 MB 题目连接 http://codeforces.com/gym/100114 Des ...

  4. SGU 149. Computer Network( 树形dp )

    题目大意:给N个点,求每个点的与其他点距离最大值 很经典的树形dp...很久前就想写来着...看了陈老师的code才会的...mx[x][0], mx[x][1]分别表示x点子树里最长的2个距离, d ...

  5. (中等) CF 555E Case of Computer Network,双连通+树。

    Andrewid the Android is a galaxy-known detective. Now he is preparing a defense against a possible a ...

  6. [J]computer network tarjan边双联通分量+树的直径

    https://odzkskevi.qnssl.com/b660f16d70db1969261cd8b11235ec99?v=1537580031 [2012-2013 ACM Central Reg ...

  7. Computer Network Homework2’s hard question

    Computer Network Homework2’s hard question 2. What is the signal which is used to modulate the origi ...

  8. Computer Network Homework3’ s hard question

    Computer Network Homework3’ s hard question 1. Which kind of protocol does CSMA belong to? A. Random ...

  9. [Codeforces 555E]Case of Computer Network(Tarjan求边-双连通分量+树上差分)

    [Codeforces 555E]Case of Computer Network(Tarjan求边-双连通分量+树上差分) 题面 给出一个无向图,以及q条有向路径.问是否存在一种给边定向的方案,使得 ...

随机推荐

  1. MySQL 函数大全

    mysql函数大全 对于针对字符串位置的操作,第一个位置被标记为1. ASCII(str) 返回字符串str的最左面字符的ASCII代码值.如果str是空字符串,返回0.如果str是NULL,返回NU ...

  2. C#DbHelperOleDb,Access数据库帮助类

    /// <summary> /// 编 码 人:苏飞 /// 联系方式:361983679 /// 更新网站:[url=http://www.sufeinet.com/thread-655 ...

  3. MySQL远程登录设置

    可以在一台机器上访问另一台机器的MySQL,但是需要一些设置. 进入MySQL后,输入以下命令: GRANT ALL PRIVILEGES ON *.* TO 'tigase'@'%' IDENTIF ...

  4. 修正 ListView 搜寻问题

    问题:如果 SearchEdit 里已输入过搜寻字,再新建 ListView 项目后,会无法显示. 适用:Delphi XE5 源码下载:[原创]修正ListView搜寻问题.zip procedur ...

  5. Word, PPT和Excel的常用技巧(持续更新)

    本文的目的是记录平时使用Word, PowerPoint和Excel的过程中的一些小技巧,用于提升工作效率. 此文会不定期的更新,更新频率完全取决于实际使用遇到的问题的次数. 目录 Word Powe ...

  6. 一个java实习生两周八次的面试经历

    以前从来没有因为求职出去面试过,一直觉得面试很可怕,没想到最近两周我也成为了面霸,两周面试八次,我的找工作之路就这样开始了!大概两个星期之前,我看着自己在招聘网站上写好的简历连投出去的勇气都没有,战战 ...

  7. pymysql 操作数据库

    一.简介 pymsql是Python中操作MySQL的模块,其使用方法和MySQLdb几乎相同,但目前pymysql支持python3.x而后者不支持3.x版本 其执行语句与sql源码相似 二.使用 ...

  8. Struts1 中提交中文表单到ActionForm后出现乱码问题的原因及处理方法

    问题: 在你所有页面设置的编码都是utf-8的情况下仍然会出现中文乱码现象. 一.乱码出现原因 由于Struts框架直接把表单数据发送给了ActionForm,所以这里面没有对HttpRequestS ...

  9. C#利用SqlDataAdapte对DataTable进行批量数据操作

    C#利用SqlDataAdapte对DataTable进行批量数据操作,可以让我们大大简化操作数据的代码量,我们几乎不需要循环和不关心用户到底是新增还是修改,更不用编写新增和修改以及删除的SQL语句, ...

  10. SharePoint 2010商业智能组件

    Microsoft Office SharePoint Server (MOSS) 2007中,就已经提供了很多支持商业智能的能力.其中主要的组件包含Excel Services, Reporting ...