!!!Chapter 1 Introduction

原创 2013年12月04日 06:32:29



Computer network: a collection of autonomous computers interconnected by a single technology.

Interconnect: two computers are said to be interconnected if they are able to exchange information.

Distributed system: a software system in which components located on networked computers communicate and coordinate their actions by passing messages. It appears to its users as a single coherent system.

Internet: It's a network of networks.

World Wide Web: It's a distributed system.

1.1 Uses of Computer Networks

Some forms of e-commerce

Tag Full name Example
B2C Business-to-consumer Ordering books on-line
B2B Business-to-business Car manufacturer ordering tires from supplier
G2C Government-to-consumer Government distributing tax forms electronically
C2C Consumer-to-consumer Auctioning second-hand products on-line
P2P Peer-to-peer File sharing

1.2 Network Hardware

There are two types of transmission technology that are in widespread use:

  • broadcast
    • The communication channel is shared by all the machines on the network; packets sent by any machine are received by all the others
  • point-to-point
    • packets may have to first visit one or more intermediate machines

1.2.1 Personal Area Networks

PANs mainly use Bluetooth, which use the master-slave paradigm.

1.2.2 Local Area Networks

  • Wireless

There is a standard for wireless LANs called IEEE 802.11 popular known asWiFi.

  • Wired

The most popular wired LANs is IEEE 802.3 called Ethernet.

(Access point is also called wireless router,base station)

1.2.3 Metropolitan Area Networks

A MAN covers a city

1.2.4 Wide Area Networks

  • Host
  • subnet
    • Transmission lines
    • switches => router


  • The host and subnet are owned and operated by different people
  • The routers will usually connect different kinds of networking technology
  • Both PC and LAN can connect to subnet

WAN varieties:

  • VPN(virtual private network)
  • ISP(Internet Service Provider)

WAN problems: routing algorithm, forwarding algorithm

1.2.5 Internetworks

A collection of interconnected networks is called an internetwork orinternet.

The general name for a machine that makes a connection between two or more networks and provides the necessary translation, both in terms of hardware and software, is agateway.

1.3 Network Software

1.3.1 Protocol Hierarchies

To reduce their design complexity, most networks are organized as a stack of layers or levels.

A protocol is an agreement between the communicating parties on how communication is to proceed.

The entities comprising the corresponding layers on different machines are calledpeers.

In reality, no data are directly transferred from layer n on one machine to layer n on another machine. Instead, each layer passes data and control information to the layer immediately below it, until the lowest layer.

Between each pair of adjacent layers is an interface. The interface defines which primitive operations and services the lower layer makes available to the upper one.

A set of layers and protocols is called a network architecture.

A list of the protocols used by a certain system, one protocol per layer, is called aprotocol stack.

1.3.3 Connection-Oriented vs. Connectionless Services

  • Connection-oriented: establishes a connection, uses the connection, and then release the connection.
  • Connectionless: Each message carries the full destination address, and each one is routed through the intermediate nodes independent of all the subsequent messages.

1.3.4 Service Primitives

A service is formally specified by a set of primitives available to user processes to access the service.

1.3.5 The Relationship of Services to Protocols

Service is a set of primitives that a layer provides to the layer above it

Protocol is a set of rules governing the format and meaning of the packets, or messages that are exchanged by the peer entities within a layer.

1.4 Reference Models

1.4.1 The OSI Reference Model

Open Systems Interconnection Reference Model:

Layer 1 through 3 are chained, the protocol is between a machine and its immediate neighbors.

Layer 4 through 7 are end-to-end.

  • The Physical Layer: concerned with transmitting raw bits over a communication channel               物理层
  • The Data Link Layer: transform a raw transmission facility into a line that appears free of undetected transmission errors.     数据链路层
  • The Network Layer: controls the operation of subnet.        网络层
  • The Transport Layer: accept data from above it, split it up into smaller units if need be, pass these to the network layer, and ensure that the pieces all arrive correctly at the other end.          传输层
  • The Session Layer: allows users on different machines to establish sessions between them.           会话层
  • The Presentation Layer: concerned with the syntax and semantics of the information transmitted.          表示层
  • The Application Layer: contains a variety of protocols that are commonly needed by users.             应用层

One widely used application protocol is HTTP(HyperText Transfer Protocol 超文本传输协议)

1.4.2 The TCP/IP Reference Model

Java学习笔记(1)Introduction to Computers, Programs, and Java

学习教材为《Introducition to Java Programming》。 Chapter1 Introduction to Computers, Programs, and Java 1...
  • Musetisa
  • Musetisa
  • 2016年06月23日 00:19
  • 553

CLRS (Introduction to Algorithms 2nd) reading notes 5

Summer vacation is always pleasant not only because it offers you much entertainment time, but also ...
  • saintony
  • saintony
  • 2010年06月30日 01:23
  • 540


  • pigfunny
  • pigfunny
  • 2017年02月02日 16:52
  • 198

!!!Chapter 1 Introduction

1.1 What Operating System Do Operating system is the one program running at all times on the compute...
  • b_end_an
  • b_end_an
  • 2013年09月11日 04:03
  • 318

MLaPP Chapter 1 Introduction

1.1 Machine Learning: what and why?由于现在处于信息爆炸的时代,机器学习的意义在于,发现数据中的模式,并用于新数据的预测之中。而本书则会偏向于概率论的角度来看待机器学...
  • zhangxb35
  • zhangxb35
  • 2017年02月08日 13:54
  • 987

Chapter 1 Introduction to Winsock

Winsock is a standard application programming interface (API) that allows two or more applications (...
  • matthewmaureen
  • matthewmaureen
  • 2009年06月16日 17:05
  • 481

chapter 1 Introduction to objects

OOP五大特点:everything is an object.所有的均是对象每一个程序均是由对象组成,对象之间相互传递消息。每一个对象均由其它的对象组合而成自己的存储???each object h...
  • caoeryingzi
  • caoeryingzi
  • 2010年06月28日 22:19
  • 368

Chapter 1 Introduction

  • Peter_Ouyang
  • Peter_Ouyang
  • 2016年12月28日 23:49
  • 66

Chapter 1:Introduction to objects

面向对象程序设计语言五大基本特征1. Everything is an object. Think of an object as a fancy variable2. A program is a ...
  • leon_sandy
  • leon_sandy
  • 2005年01月18日 12:01
  • 620

《ZooKeeper》 Chapter 1 Introduction

  • 2016年04月04日 21:06
  • 667
您举报文章:!!!Chapter 1 Introduction