View on GitHub

我的博客

杂七杂八啥都有

Network and WWW(网络与万维网)

1. Goals

  1. Core Issues related to computer networks
  2. Types of networks and characteristics
  3. Open System
  4. Home Internet Connections
  5. Packet Switching(包交换)
  6. Protocols(协议)
  7. Hostnames and IP Addresses (域名与IP地址)
  8. Domain Name

2.Networking

Goal:

  1. Communicate(交流)
  2. Share resources(分享资源)

Method:

  1. Physical wires or cables(五类线,超五类线,双绞线)
  2. Wireless(WI-FI,蓝牙,LI-FI)

术语

  1. Node/Host(节点/主机)
  2. Data Transfer Rate(数据传输速度):Bits Per Second(用字节换算的话需要除以8)
    • 传输速度距离是计算机网络研究的核心问题(光纤减衰减)

Client/Server Model

1. File Server(文件服务器)

2. Web Server(网页服务器)

3. 点拨服务器

4. 各种各样的应用服务器

Types of Network

1. Local-area Network(LAN,局域网)

  1. 大小:一般不会超过256个
  2. 拓扑图:
    • Ring topology(环状)
    • Star topology(星型)
    • Bus topology(类似于计算机的总线,结构简单,可靠性强——一节点坏,不影响其他节点;只能共享,分时段使用):Ethernet(以太网)

2. Wide-area Network(WAN,广域网)

  1. Gateway网关):将局域网和其他局域网连接在一起(例如,路由器)
  2. 广域网内地址分配是允许重复的,但是局域网内不允许

3. Metropolitan-area Network(MAN,城域网)

4. Internet Backbone(骨干网)

  1. 方式:一般使用环状
  2. These networks are provided by companies such as CISCO, 华为, AT&T, GTE, and IBM

5. Internet Service Provider(互联网服务提供商)

  1. 中国进出口负责:中国电信,中国联通
  2. 常见接入方式:DSL

6. 接入方式

  1. Phone Modem:使用电话线,打电话时会被占用
  2. Digital Subscriber Line(DSL):使用电话线数字通道
  3. Cable Modem:光纤

三网融合:电视网(机顶盒可当路由器用),计算机网电话网融合

IP电话:使用网络来打电话;以前使用模拟信号通讯,现在都是数字信号通讯(IP电话)

7. Broadband(带宽)

  1. 定义:A connection in which transfer speeds are faster than 128K bps
  2. 上传速度和下载速度不对等(避免占用过多)

Packet Switching(包交换)

  1. 作用:提高信息交换的可靠性与效率
  2. 描述:将信息分成若干个片段(包)分开传输
    • 由于物理原因,信息传递会有出错的概率–>减少出错所造成的危害,加快传输效率
    • 大型域网交换信息的时候,传输的路径不一定一样,在传输速度较慢的时候,发送和接受的顺序不一定相同(视频缓冲,语音/电话)

Open System(开放系统)

发展

  1. Proprietary System(私人系统):A system that uses technologies kept private by a particufen pei delar commercial vendor
  2. Interoperability(出现接口)
  3. Open Systems

传输协议

  1. 定义方:ISO
  2. 内容:7层协议(重要!!!
    1. 物理层
    2. 数据层
    3. 网络层:防火墙所在位置(一般集成在路由器上)
    4. 传输层
    5. Session layer(会话层)
    6. Presentation layer(表示层)
    7. Application layer(应用层):http

路由器:管理层1、2、3

  1. 常见的协议:
    1. Simple Mail Transfer Protoco:邮件传输协议
    2. File Transfer Protoco:文件上传下载协议
    3. Hyper Text Transfer Protocol:超文本传输协议
    4. Telnet:
    5. Transmission Control Protocol(一般用于传输重要文件):
      1. 分包
      2. 将分包发送给接收方
      3. 要求接收方校验
    6. User Datagram Protocol(一般用于视频/语音):
      1. It is an alternative to TCP
      2. TCP is highly reliable, at the cost of decreased performance, while UDP is less reliable, but generally faster
    7. Internet Protocol:IP software deals with the routing of packets through the maze of interconnected networks to their final destination
    8. Multipurpose Internet Mail Extension
  2. 防火墙
    1. 是什么:A machine and its software that serve as a special gateway to a network, protecting it from inappropriate access
    2. 作用方式:Filters the network traffic that comes in, checking the validity of the messages as much as possible and perhaps denying some messages altogether
    3. 有啥用:Enforces an organization’s access control policy
    4. 在那里:一般作用于第三层(网络层)

域名与IP地址

1. 域名(Hostname)

  1. 是什么:A unique identification that specifies a particular computer on the Internet

    例如:www.baidu.com

2. IP地址

  1. 是啥?Network software translates a hostname into its corresponding IP address.是你真正的地址

    例如:172.18.157.8

中国需要根据分配的IP(v4)地址向美国付费

  1. 有什么:
    1. 网络地址(network address):用于分辨网络
    2. 域名(host number):与IP地址关联

3.域名系统(Domain Name System)

  1. 作用:输入域名–>DNS服务器翻译–>前往转译的IP地址

    常规DNS服务器一般由网络供应商提供

  2. 常见的域名(顶级域名):
    1. .com
    2. .net
    3. .org
    4. .edu
    5. .int
    6. .mil
    7. .gov
    8. .cn
  3. 实质:数据库

www与internet

  1. 互联网:互相连接的局域网,物理上有联系
  2. 万维网:物理上没有联系,但是网页之间建立了(逻辑上的)联系,互相有联系的网页合起来,最终构成了万维网
TOP