Internet Technologe

本文探讨了分组交换在网络传输中的作用,如何解决大消息阻塞小消息的问题,以及路由器在数据包传输中的关键角色。同时,文章深入介绍了TCP/IP模型、互联网标准制定过程、共享网络的工作原理、避免冲突的协议、IP层的功能与挑战、TTL的作用、传输层的可靠性保障、DNS系统和应用层协议等核心概念。
Store and Forward Networking

1593318-20190409232635070-80230047.png

Efficient Message Transmission:Packet Switching(分组交换)
  • Challenge: in a simple approach, like store-and-forward, large messages block small ones(延迟问题)
  • Break each message into packets(大化小)
  • Can allow the packets from a single message to travel over different paths, dynamically adjusting for use(可不同路径)
  • Use special-purpose computers, called routers, for the traffic control(路由器来控制数据移动)
Shared Network

1593318-20190409232702423-1210077125.png

  • In order to keep cost low and the connections short geographically - data would be forwarded through several routers.
  • Network Connection
    • Host A-->Router-->Router-->Host B
  • Getting across the country usually takes about 10 “hops”

Layered Network Model

  • A layered approach allows the problem of designing a network to be broken into more manageable sub problems(大问题拆分为小问题)
  • Best-known model: TCP/IP—the “Internet Protocol Suite”(TCP/IP模型)
  • There was also a 7 layer OSI: Open System Interconnection Model(7层模型)
    1593318-20190409232721000-1932774987.png
Internet Standards
  • The standards for all of the Internet protocols (inner workings) are developed by an organization——Internet Engineering Task Force (IETF)
  • Standards are called “RFCs” - “Request for Comments”(个人可以查看RFC并提出建议,建议-->草案-->审核通过-->新标准)

Layered Architecture

  • The Physical and Internet Layers are like trucks and trains - they haul stuff and get it to the right loading dock - it takes multiple steps
  • The Transport layer checks to see if the trucks made it and send the stuff again if necessary
    1593318-20190409233156394-695933630.png
  • phisical
  • the lowest layer in the Internet Protocol Suite
  • described in RFC 1122 and RFC 1123
  • Link Layer Addresses
    • Many physical layer devices have addresses built in to them by the manufacturer(制造时就有)
    • Wireless Ethernet (Wifi)
    • 1593318-20190409233226586-1081301645.png
  • 1593318-20190409233249886-647906781.png
Sharing Nicely - Avoiding Chaos
  • To avoid garbled messages, systems must observe “rules” (Protocols)
  • Ethernet rules are simple
  • steps(步骤 !!!)
    • Wait for silence
    • Begin Transmitting data
    • Listen for your own data
    • If you cannot hear your own data clearly, assume a collision, stop and wait before trying again
    • Each system waits a different amount of time to avoid “too much politeness”
Ethernet(第一个本地计算机网络)
  • Invented at PARC (Xerox)
  • The first Local-Area-Network
  • Connected PC's to laser printers
  • Inspired by an earlier wireless network called Aloha from the University of Hawaii

Internetwork Layer(IP)

1593318-20190409233423451-538221601.png

Internet Protocol Layer(实际移动)

  • Goal: Gets your data from this computer to the other computer half way across the world
  • Each router knows about nearby routers
  • IP Is best effort - it is OK to drop data if things go bad...(丢弃)
  • 1593318-20190409233503538-426642945.png
IP Addresses
  • The IP address is the worldwide number which is associated with one particular workstation or server(全球性)
  • network number(6 bit) + computer number within network(6 bit)
Router tables

The best outbound route for each router record to reach another router, dynamic update, an index

DHCP(dynamic host configuraton protocol动态主机配置协议)
  • is given a temporary address (被给了临时地址)
  • it can not run in the Internet network. It only applies to local network,
  • such as 192.168.xxx.xxxx and so on.
  • the non-routable website.(不可路由地址)
TTL(Time-to-live)
  • to control the count of hop
  • Abandoned from 255 to 0(减到0时认为无法到达,便舍弃)

Transport Layer(负责移动的可靠性)

TCP(Transport Protocol)

1593318-20190409235329433-1161448502.png

  • built on the IP Layer.
  • function:to solve some problems that may arise in the IP layer.(弥补Link Layer的不足)
  • steps(过程):
    • Send and receive feedback(先确认一下)
    • acknowledged --> Discard acknowledged packets(确认接受后丢弃)
    • Not confirmed --> again(未确认则再发知道成功确认)
Slow Start Algorithm(慢启动算法)(看不太懂)

1593318-20190409235810636-1878892801.png

  • First send slowly, then slowly increase the speed.
DNS(Domain Name System)(域名系统)
  • A way to remember more easily than an IP address.
  • IP:left to right : DNS:right to left
  • such as:www.si.umich.edu

1593318-20190410001353919-1466180902.png

Application Layer(应用层)

Application Protocol

1593318-20190410001516437-1006036988.png

port
  • Ports are dependent on IP, similar to branch paths of IP addresses. Different ports correspond to different functions and services.
  • such as:80 , 45
HTTP(Hyper Text Transfer Protocol)
  • base on TCP/IP
  • client --> click link--> generate links to server --> look up server --> show
  • "Hacking" HTTP:pretend browers ,ues "get" commond
    1593318-20190410001931980-1731805506.png
    1593318-20190410002742348-1278898726.png
    1593318-20190410002807745-1256052568.png

转载于:https://www.cnblogs.com/zlonglongago/p/10680787.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值