1 Lecture 9 The Internet Introduction to Information Technology With thanks to Dr. Haipeng Guo Dr....

49
1 Lecture 9 The Internet Introduction to Information Technology h thanks to Dr. Haipeng Guo Dr. Ken Tsang 曾曾曾 Email: [email protected] http://www.uic.edu.hk/~kentsang/IT/IT3.htm Room E408 R9

Transcript of 1 Lecture 9 The Internet Introduction to Information Technology With thanks to Dr. Haipeng Guo Dr....

Page 1: 1 Lecture 9 The Internet Introduction to Information Technology With thanks to Dr. Haipeng Guo Dr. Ken Tsang 曾镜涛 Email: kentsang@uic.edu.hk kentsang@uic.edu.hk.

1

Lecture 9

The Internet

Introduction to Information Technology

With thanks to Dr. Haipeng Guo

Dr. Ken Tsang 曾镜涛Email: [email protected]://www.uic.edu.hk/~kentsang/IT/IT3.htmRoom E408 R9

Page 2: 1 Lecture 9 The Internet Introduction to Information Technology With thanks to Dr. Haipeng Guo Dr. Ken Tsang 曾镜涛 Email: kentsang@uic.edu.hk kentsang@uic.edu.hk.

2

Outline What is the Internet? History of the Internet How to connect to the Internet How the Internet works Software and services supported

by the Internet WWW Email FTP Search Engines

Page 3: 1 Lecture 9 The Internet Introduction to Information Technology With thanks to Dr. Haipeng Guo Dr. Ken Tsang 曾镜涛 Email: kentsang@uic.edu.hk kentsang@uic.edu.hk.

3

What is a Network? Collection of computers and

devices connected to share information and resources

Page 4: 1 Lecture 9 The Internet Introduction to Information Technology With thanks to Dr. Haipeng Guo Dr. Ken Tsang 曾镜涛 Email: kentsang@uic.edu.hk kentsang@uic.edu.hk.

4

What is a LAN? Local Area Network Network in limited geographical area

such as home or office building

Page 5: 1 Lecture 9 The Internet Introduction to Information Technology With thanks to Dr. Haipeng Guo Dr. Ken Tsang 曾镜涛 Email: kentsang@uic.edu.hk kentsang@uic.edu.hk.

5

What is a WAN? Wide Area Network Network that covers large geographic

area using many types of media

Page 6: 1 Lecture 9 The Internet Introduction to Information Technology With thanks to Dr. Haipeng Guo Dr. Ken Tsang 曾镜涛 Email: kentsang@uic.edu.hk kentsang@uic.edu.hk.

6

What is the Internet? A network of computer networks

worldwide The Internet is world’s largest WAN Also called the information highway,

the net, or cyberspace

Page 7: 1 Lecture 9 The Internet Introduction to Information Technology With thanks to Dr. Haipeng Guo Dr. Ken Tsang 曾镜涛 Email: kentsang@uic.edu.hk kentsang@uic.edu.hk.

7

History of the Internet

1957 - the USSR launched Sputnik, the first artificial earth satellite

1958 - In response, the US Department of Defense established the Advanced Research Projects Agency (ARPA)

Several years later ARPA began to focus on computer networking and communications technology

Page 8: 1 Lecture 9 The Internet Introduction to Information Technology With thanks to Dr. Haipeng Guo Dr. Ken Tsang 曾镜涛 Email: kentsang@uic.edu.hk kentsang@uic.edu.hk.

8

Idea of Package Switching In 1961, Dr. Leonard Kleinrock created

the basic principles of packet switching, the technology underpinning the Internet, while a graduate student at MIT

First node on the Internet

Page 9: 1 Lecture 9 The Internet Introduction to Information Technology With thanks to Dr. Haipeng Guo Dr. Ken Tsang 曾镜涛 Email: kentsang@uic.edu.hk kentsang@uic.edu.hk.

9

ARPANET In 1969 ARPANET was constructed It is a network of four computers

UCLA SRI (Stanford) UCSB University of Utah

The first message: lo….gin

Page 10: 1 Lecture 9 The Internet Introduction to Information Technology With thanks to Dr. Haipeng Guo Dr. Ken Tsang 曾镜涛 Email: kentsang@uic.edu.hk kentsang@uic.edu.hk.

10

Internet Today The Internet has grown from four host

computer systems to many millions By 1984, ARPANET had more than 1,000

individual computers linked as hosts In 1992, the Web Wide Web protocol was

released ARPANET had more than 1 million computers

linked as hosts Today, more than 150 million hosts

connect to the Internet In 2005, China’s Internet population was

111 million

Page 11: 1 Lecture 9 The Internet Introduction to Information Technology With thanks to Dr. Haipeng Guo Dr. Ken Tsang 曾镜涛 Email: kentsang@uic.edu.hk kentsang@uic.edu.hk.

11

Who owns the Internet? Nobody owns the Internet! It doesn't mean it is not monitored and

maintained in different ways The computers and devices connected to the

Internet belong to a person or an organization

The Internet Society, a non-profit group established in 1992, oversees the formation of the policies and protocols that define how we use and interact with the Internet

Page 12: 1 Lecture 9 The Internet Introduction to Information Technology With thanks to Dr. Haipeng Guo Dr. Ken Tsang 曾镜涛 Email: kentsang@uic.edu.hk kentsang@uic.edu.hk.

12

Connecting to the Internet At home

Through Phone modem Through DSL / ADSL Through Cable modem

At office Through LAN

Wireless connection Through hotspots

Page 13: 1 Lecture 9 The Internet Introduction to Information Technology With thanks to Dr. Haipeng Guo Dr. Ken Tsang 曾镜涛 Email: kentsang@uic.edu.hk kentsang@uic.edu.hk.

13

The Internet Backbone

• Typically fiber optic lines• 5 Mbps to over 600 Mbps • Provided by companies such as AT&T, GTE, and IBM

Page 14: 1 Lecture 9 The Internet Introduction to Information Technology With thanks to Dr. Haipeng Guo Dr. Ken Tsang 曾镜涛 Email: kentsang@uic.edu.hk kentsang@uic.edu.hk.

14

ChinaNet: the largest Internet backbone in China

• Owned by China Telecom• 336 Mbps connection to the Global Internet

Page 15: 1 Lecture 9 The Internet Introduction to Information Technology With thanks to Dr. Haipeng Guo Dr. Ken Tsang 曾镜涛 Email: kentsang@uic.edu.hk kentsang@uic.edu.hk.

15

• Chinese Education and Research network• 8 Mbps connection to the Global Internet

ChinaNet: the largest Internet backbone in China

Page 16: 1 Lecture 9 The Internet Introduction to Information Technology With thanks to Dr. Haipeng Guo Dr. Ken Tsang 曾镜涛 Email: kentsang@uic.edu.hk kentsang@uic.edu.hk.

16

Internet Service Provider (ISP)

User PC

Network Access Point

Page 17: 1 Lecture 9 The Internet Introduction to Information Technology With thanks to Dr. Haipeng Guo Dr. Ken Tsang 曾镜涛 Email: kentsang@uic.edu.hk kentsang@uic.edu.hk.

17

Connecting via Phone ModemA computer

A phone modem card

Connecting to a phone jack

Username and passwordand a number to dial up to the ISP’s computer

Usually 64 kbps (bits per second) at most

Page 18: 1 Lecture 9 The Internet Introduction to Information Technology With thanks to Dr. Haipeng Guo Dr. Ken Tsang 曾镜涛 Email: kentsang@uic.edu.hk kentsang@uic.edu.hk.

18

Connecting via DSL/ADSL DSL: Digital Subscriber Line

ADSL:Asymmetric DSL

Downloading faster than uploading

Page 19: 1 Lecture 9 The Internet Introduction to Information Technology With thanks to Dr. Haipeng Guo Dr. Ken Tsang 曾镜涛 Email: kentsang@uic.edu.hk kentsang@uic.edu.hk.

19

Cable Modem

DSL and Cable Modem connections are both broadband connections

Faster than 128 kbps

Page 20: 1 Lecture 9 The Internet Introduction to Information Technology With thanks to Dr. Haipeng Guo Dr. Ken Tsang 曾镜涛 Email: kentsang@uic.edu.hk kentsang@uic.edu.hk.

20

Connecting via LANA computer

Hub or switch or router

network card

Page 21: 1 Lecture 9 The Internet Introduction to Information Technology With thanks to Dr. Haipeng Guo Dr. Ken Tsang 曾镜涛 Email: kentsang@uic.edu.hk kentsang@uic.edu.hk.

21

DSL and telephone-related terminologies NAP – Network Access Point POP - Point of Presence POTS - Plain Old Telephone Service ISDN - Integrated Services Digital Network PSTN - Public Switched Telephone Network TELCO - Telephone Company

Page 22: 1 Lecture 9 The Internet Introduction to Information Technology With thanks to Dr. Haipeng Guo Dr. Ken Tsang 曾镜涛 Email: kentsang@uic.edu.hk kentsang@uic.edu.hk.

22

Wireless Connection

Wireless adapters can plug into a computer's PC card slot A wireless router send signals to

wireless devices and has a wire to send signals to the Internet

Page 23: 1 Lecture 9 The Internet Introduction to Information Technology With thanks to Dr. Haipeng Guo Dr. Ken Tsang 曾镜涛 Email: kentsang@uic.edu.hk kentsang@uic.edu.hk.

23

How the Internet works Every computer connected to the

Internet must have a unique address. This is called the IP address. IP stands for Internet Protocol

5.6.7.81.2.3.4

Internet

Page 24: 1 Lecture 9 The Internet Introduction to Information Technology With thanks to Dr. Haipeng Guo Dr. Ken Tsang 曾镜涛 Email: kentsang@uic.edu.hk kentsang@uic.edu.hk.

24

IP Address An IP address can be split into

network address, which specifies a specific network

host number, which specifies a particular machine in that network

Page 25: 1 Lecture 9 The Internet Introduction to Information Technology With thanks to Dr. Haipeng Guo Dr. Ken Tsang 曾镜涛 Email: kentsang@uic.edu.hk kentsang@uic.edu.hk.

25

Try it – ipconfig & ping

Page 26: 1 Lecture 9 The Internet Introduction to Information Technology With thanks to Dr. Haipeng Guo Dr. Ken Tsang 曾镜涛 Email: kentsang@uic.edu.hk kentsang@uic.edu.hk.

26

Domain Name System (DNS) A hostname consists of the computer

name followed by the domain name uic.edu.hk is the domain name

A domain name is separated into two or more sections that specify the organization, and possibly a subset of an organization, of which the computer is a part

Two organizations can have a computer named the same thing because the domain name makes it clear which one is being referred to

Page 27: 1 Lecture 9 The Internet Introduction to Information Technology With thanks to Dr. Haipeng Guo Dr. Ken Tsang 曾镜涛 Email: kentsang@uic.edu.hk kentsang@uic.edu.hk.

27

Domain Name System The very last section of the domain is

called its top-level domain (TLD) name

Page 28: 1 Lecture 9 The Internet Introduction to Information Technology With thanks to Dr. Haipeng Guo Dr. Ken Tsang 曾镜涛 Email: kentsang@uic.edu.hk kentsang@uic.edu.hk.

28

Domain Name System Organizations based in countries other than

the United States use a top-level domain that corresponds to their two-letter country codes

Page 29: 1 Lecture 9 The Internet Introduction to Information Technology With thanks to Dr. Haipeng Guo Dr. Ken Tsang 曾镜涛 Email: kentsang@uic.edu.hk kentsang@uic.edu.hk.

29

Domain Name System The domain name server is used to

translate hostnames into numeric IP addresses it is an example of a distributed database If that server can resolve the hostname, it

does so If not, that server asks another domain

name server

Page 30: 1 Lecture 9 The Internet Introduction to Information Technology With thanks to Dr. Haipeng Guo Dr. Ken Tsang 曾镜涛 Email: kentsang@uic.edu.hk kentsang@uic.edu.hk.

30

nslookup

Page 31: 1 Lecture 9 The Internet Introduction to Information Technology With thanks to Dr. Haipeng Guo Dr. Ken Tsang 曾镜涛 Email: kentsang@uic.edu.hk kentsang@uic.edu.hk.

31

Client/Server ModelAll of the machines on the Internet are either servers or clients.

Web server, e-mail server, DNS server, ftp server, game server……

Page 32: 1 Lecture 9 The Internet Introduction to Information Technology With thanks to Dr. Haipeng Guo Dr. Ken Tsang 曾镜涛 Email: kentsang@uic.edu.hk kentsang@uic.edu.hk.

32

How data travels the Internet Messages are divided into fixed-sized,

numbered packets Network devices called routers are used

to direct packets between networks

Page 33: 1 Lecture 9 The Internet Introduction to Information Technology With thanks to Dr. Haipeng Guo Dr. Ken Tsang 曾镜涛 Email: kentsang@uic.edu.hk kentsang@uic.edu.hk.

33

Routers

Routers determine the path between you and an Internet server

Page 34: 1 Lecture 9 The Internet Introduction to Information Technology With thanks to Dr. Haipeng Guo Dr. Ken Tsang 曾镜涛 Email: kentsang@uic.edu.hk kentsang@uic.edu.hk.

34

Try it – Tracert (trace route)

Page 35: 1 Lecture 9 The Internet Introduction to Information Technology With thanks to Dr. Haipeng Guo Dr. Ken Tsang 曾镜涛 Email: kentsang@uic.edu.hk kentsang@uic.edu.hk.

35

Network Protocols Network protocols are layered such that

each one relies on the protocols that underlie it

Sometimes referred to as a protocol stack

Page 36: 1 Lecture 9 The Internet Introduction to Information Technology With thanks to Dr. Haipeng Guo Dr. Ken Tsang 曾镜涛 Email: kentsang@uic.edu.hk kentsang@uic.edu.hk.

36

TCP/IP TCP stands for Transmission Control

Protocol TCP software breaks messages into

packets, hands them off to the IP software for delivery, and then orders and reassembles the packets at their destination

IP stands for Internet Protocol IP software deals with the routing of

packets through the maze of interconnected networks to their final destination

Page 37: 1 Lecture 9 The Internet Introduction to Information Technology With thanks to Dr. Haipeng Guo Dr. Ken Tsang 曾镜涛 Email: kentsang@uic.edu.hk kentsang@uic.edu.hk.

37

High-Level Protocols Other protocols built on the

foundation established by the TCP/IP protocol suite Simple Mail Transfer Protocol (SMTP) File Transfer Protocol (FTP) Telnet Hyper Text Transfer Protocol (http)

Page 38: 1 Lecture 9 The Internet Introduction to Information Technology With thanks to Dr. Haipeng Guo Dr. Ken Tsang 曾镜涛 Email: kentsang@uic.edu.hk kentsang@uic.edu.hk.

38

Internet Applications: WWW World Wide Web Worldwide collection of electronic

documents web browser

web server

Page 39: 1 Lecture 9 The Internet Introduction to Information Technology With thanks to Dr. Haipeng Guo Dr. Ken Tsang 曾镜涛 Email: kentsang@uic.edu.hk kentsang@uic.edu.hk.

39

Internet Applications: E-mail E-mail address: [email protected] e-mail client E-mail server

SMTP server POP3 server

Sending email

SMTP (Simple Mail Transfer Protocol) Server handles outgoing mail

Page 40: 1 Lecture 9 The Internet Introduction to Information Technology With thanks to Dr. Haipeng Guo Dr. Ken Tsang 曾镜涛 Email: kentsang@uic.edu.hk kentsang@uic.edu.hk.

40

Internet Applications: E-mail Receiving the email

POP3 (Post Office Protocol) serverhandles incoming mails

When you check your e-mail, your e-mail client program connects to the POP3 server

Page 41: 1 Lecture 9 The Internet Introduction to Information Technology With thanks to Dr. Haipeng Guo Dr. Ken Tsang 曾镜涛 Email: kentsang@uic.edu.hk kentsang@uic.edu.hk.

41

Internet Applications: FTP FTP stands for File Transfer Protocol FTP client program FTP server Basic steps

Connect to the FTP server Navigate the file structure to find the file

you want Transfer the file End the file transfer session

Page 42: 1 Lecture 9 The Internet Introduction to Information Technology With thanks to Dr. Haipeng Guo Dr. Ken Tsang 曾镜涛 Email: kentsang@uic.edu.hk kentsang@uic.edu.hk.

42

FTP Commands

Page 43: 1 Lecture 9 The Internet Introduction to Information Technology With thanks to Dr. Haipeng Guo Dr. Ken Tsang 曾镜涛 Email: kentsang@uic.edu.hk kentsang@uic.edu.hk.

43

Example of using FTP

Page 44: 1 Lecture 9 The Internet Introduction to Information Technology With thanks to Dr. Haipeng Guo Dr. Ken Tsang 曾镜涛 Email: kentsang@uic.edu.hk kentsang@uic.edu.hk.

44

Internet Applications: Search Engine

Examples: Google, Baidu Web crawling: Search engines use

software called spiders to build lists of the words found on Web sites

Indexing: Keep an index of the words found, and where they

Searching: User builds a query and submits it to the search engine

Page 45: 1 Lecture 9 The Internet Introduction to Information Technology With thanks to Dr. Haipeng Guo Dr. Ken Tsang 曾镜涛 Email: kentsang@uic.edu.hk kentsang@uic.edu.hk.

45

Web Crawling

Page 46: 1 Lecture 9 The Internet Introduction to Information Technology With thanks to Dr. Haipeng Guo Dr. Ken Tsang 曾镜涛 Email: kentsang@uic.edu.hk kentsang@uic.edu.hk.

46

Indexing

Page 47: 1 Lecture 9 The Internet Introduction to Information Technology With thanks to Dr. Haipeng Guo Dr. Ken Tsang 曾镜涛 Email: kentsang@uic.edu.hk kentsang@uic.edu.hk.

47

Searching

Page 48: 1 Lecture 9 The Internet Introduction to Information Technology With thanks to Dr. Haipeng Guo Dr. Ken Tsang 曾镜涛 Email: kentsang@uic.edu.hk kentsang@uic.edu.hk.

48

Summary What is the Internet History of the Internet How to connect to the Internet How the Internet works

Client/Server Model, IP Address, DNS, TCP/IP Applications on the Internet

WWW, Email, FTP, Search Engine