计算机网路相关的教材很少,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. JavaScript星形评分

    <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <m ...

  2. 【WebService】WebService的创建和使用——文件名称生成器

    简介 之前做过一个文件名称生成器,通过Webservice读取XML文件并将其通过Json传到客户端中的combobx,用户通过combobox选择要生成文件的名称模板,点击生成则会产生一个文件名称并 ...

  3. 从C#到Objective-C,循序渐进学习苹果开发(2)--Objective-C和C#的差异

    本随笔系列主要介绍从一个Windows平台从事C#开发到Mac平台开发苹果开发的一系列感想和体验历程,本系列文章是在起步阶段逐步积累的,希望带给大家更好,更真实的转换历程体验. 在上篇<从C#到 ...

  4. ASP.NET中Request.RawUrl、Request.Url的区别

    如果访问的地址是: http://hovertree.com/guestbook/addmessage.aspx?key=hovertree%3C&n=myslider#zonemenu 那么 ...

  5. C# POST Https请求的一些坑

    写在前面: 从上次,跟合作方的站点对接开始就产生了这个问题,当时用C#进行POST提交,总是会出现问题,找了很久发现对方的站点居然是TLS 1.2 的. 正文: 然而,在.NET FrameWork ...

  6. 互联网背景时代下的大机遇,为什么用nosql

    1.单机MySQL的美好年代 在90年代,一个网站的访问量一般都不大,用单个数据库完全可以轻松应付.在那个时候,更多的都是静态网页,动态交互类型的网站不多. 上述架构下,我们来看看数据存储的瓶颈是什么 ...

  7. NYOJ 737---石子归并(GarsiaWachs算法)

    原题链接 描述    有N堆石子排成一排,每堆石子有一定的数量.现要将N堆石子并成为一堆.合并的过程只能每次将相邻的两堆石子堆成一堆,每次合并花费的代价为这两堆石子的和,经过N-1次合并后成为一堆.求 ...

  8. JVM内存格局总结

    最近一次面试,面试官让我讲讲JVM的内存这一块的理解.我回答的不满意,今天做一个总结. 做一个产品,最终要做到高并发.高可靠.归根结底,是对CPU.内存等资源受限所作出的解决方案.就内存而言,我们写的 ...

  9. Scalaz(3)- 基础篇:函数概括化-Generalizing Functions

    Scalaz是个通用的函数式编程组件库.它提供的类型.函数组件都必须具有高度的概括性才能同时支持不同数据类型的操作.可以说,scalaz提供了一整套所有编程人员都需要的具有高度概括性的通用函数,它是通 ...

  10. 2005年IT行业趋势Top10

    未来三年内对组织有潜在的重大影响IT趋势.这里的IT趋势的摘要: 1. 计算位于任何地方 智能手机,平板,电视盒,可穿戴设备,可连接的屏幕,对于适应移动用户所求要的整体环境的需求在不断增强.这会继续提 ...