chapter 2 technology infrastructure. 2 learning objectives 1.origins, growth and current structure...

81
Chapter 2 Technology Infrastructure

Upload: iris-alexander

Post on 11-Jan-2016

216 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

Chapter 2

Technology Infrastructure

Page 2: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

2

Learning Objectives

1. Origins, growth and current structure of the Internet

2. Packet-switching

3. Internet protocols

4. History of Markup languages

5. Internets, Intranets and Extranets

Page 3: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

• 1858 – let there be transatlantic cables– But it was not right … technical failures

• 1866 – let there be transatlantic cables 2– Great success which remained in operation for 100 years

• 1957 – The USSR launched Sputnik– The first satellite

• 1958 – The US setup ARPA– Advanced Research Projects Agency

The beginning …

Page 5: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

• Plan:– University of California, Los Angeles hoped to log onto the Stanford

computer and try to send it the word “LOGIN”

"We set up a telephone connection between us and the guys at SRI...,"

"We typed the L and we asked on the phone, "Do you see the L?" "Yes, we see the L," came the response. "We typed the O, and we asked, "Do you see the O." "Yes, we see the O." "Then we typed the G, and the system crashed"

• On the second attempt, it worked perfectly!

• The revolution had begun …

ARPANET’s first transmision …

Page 6: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

• Financed by Defence ARPA (DARPA)

• Made up of a few nodes initially

• 1971 first Terminal Interface Processor enable direct dial-in into the net

• 1972 first public demonstration with 24 sites (NASA, National Science Foundation, Defence, etc) Email was born when Ray Tomlinson wrote a program that could send messages

• 1973 connections with England and Norway. First satellite connection.

• 1974 62 computers online

1969 ARPANET

Page 7: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

The ARPANET started growing (1974)

Page 8: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

• 1975 opened to the public with 111 computers online by 1977

• 1979 Students at Duke Uni and North Carolina Uni started UseNet to share news

• 1983 the Department of Defence Data Network (called MILNET) split off from ARPANET

• 1985 public links existed across North America, Europe and Australia

• 1989 the National Science foundation permitted two commercial email services, MCI Mail and CompuServe

• 1990 ARPANET retired and computers were moved to the new network, NSFNET to be known as the Internet

• 1995 privitzation completed with several Network Acces Points in place through which access could be sold to ISPs, etc.

1975 ARPANET

Page 9: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

• 1945 Vannevar Bush director of US Scientific Research speculated on the creation of a machine called a memex which would hold all documents

• Hypertext– Created by Ted Nelson in the 60s– Text, Pictures, anything can be

linked– Move from one item to the other– Browser is used to

interpret hypermedia

• http://www.xanadu.com

Concept behind the WWW

Page 10: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

• Proposed by Sir Tim Burners-Lee while working at CERN (Large Physics European Research Centre)

• Originally for record keeping and links

• Read – Original WWW proposal

• http://www.w3.org/History/1989/proposal.html

– WWW past, present, future • http://www.w3.org/People/Berners-Lee/1996/ppf.html

World Wide Web (1)

Page 11: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

• CERN had an ARPANET connection via EUnet since 1990

• 1991 Tim posted a note on alt.hypertext.newsgroup about– Web server– Line browser

• Servers started appearing everywhere

• 1993 MOSAIC (first to embed images)

• 1994 W3C created (http://www.w3.org)

World Wide Web (2)

Page 12: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

• Enormous network of computers

• E-mail

• Mailing List

• Bulletin boards

• Web pages

• Intranets

• Distribution of information, software, etc

• What else?

The Internet as we know it …

Page 13: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

13

Why a packet switching network?

Page 14: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

14

Why a packet switching network?

Page 15: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

15

Packet-Switched Networks (1)

• Local area network (LAN)

– Network of computers located close together

• Wide area networks (WANs)

– Networks of computers connected over greater distances

• Circuit

– Combination of telephone lines and closed switches that connect them to each other

Page 16: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

16

Packet-Switched Networks (2)

• Circuit switching is used in telephone communication

• The Internet uses packet switching

• Packet switching needs computers called ‘routers’ and the programs called ‘routing algorithms’

Page 17: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

17

Packet-Switched Networks (3)

• Information is divided into packets

• It is passed from node to node

• It is recomposed as one chunk on the destination server

Page 18: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

18

Routing Packets

• Routing computers– Computers that decide how best to forward packets

• Routing algorithms– Rules contained in programs on router computers

that determine the best path on which to send packets

– Programs apply their routing algorithms to information they have stored in routing tables

Page 19: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

19

ARPANET

• ARPANET is the earliest packet-switched network

• This wide area network used the Network Control Protocol (NCP)

• A protocol is a collection of rules for formatting, ordering, and error-checking data sent across a network

Page 21: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

21

Open Architecture of ARPANET

1. Independent networks should not require any internal changes in order to be connected to the network

2. Packets that do not arrive at their destinations must be retransmitted from their source network

3. The router computers do not retain information about the packets that they handle

4. No global control exists over the network.

Page 22: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

The Internet

22

Page 23: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

23

The TCP/IP Protocol

• The Transmission Control Protocol (TCP) and the Internet Protocol (IP) are the two protocols that support the Internet operation

• TCP controls the assembly of a message into smaller packets before it is transmitted over the Internet

• The IP protocol includes rules for routing individual data packets from their source to their destination

Page 24: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

24

Open Systems Interconnections Model

OSI Model (also called TCP/IP protocol suite) layers (from the highest to the lowest):

7 Application

{ HTTP, SMTP, FTP, Telnet, SSH, Whois, etc.

6 Presentation

5 Session

4 Transport TCP, UDP

3 Network IP

2 Data Link Ethernet

1 Physical Wire, Radio, Fibre Optic

Page 25: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

25

Some jargon …

• HTTP HyperText Transfer Protocol• SMTP Simple Mail Transfer Protocol• FTP File Transfer Protocol• SSH Secure Shell• Telnet Telephone Network • Whois Who Is?• TCP Transmission Control Protocol• UDP User Datagram Protocol• IP Internet Protocol

Page 26: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

26

IP Address

• Internet addresses are based on a 32-bit number called an IP address

• IP addresses appear as a series of up to four separate numbers delineated by a period

• An address such as 126.204.89.56 uniquely identifies a computer connected to the Internet

• IP Subnetting conceptually divides a large network into smaller sub-networks

Page 27: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

27

IP Classes (1)

Page 28: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

28

IP Classes (2)

Class Leading Value

Network Numbers

Addresses Per Network

Class A     0     126     16,777,214

Class B     10     16,384     65,534

Class C     110     2,097,152     254

Page 29: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

29

Subnetting

Page 30: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

30

Without subnetting …

• Explosion in size of IP routing tables.

• Every time more address space was needed, the administrator would have to apply for a new block of addresses.

• Any changes to the internal structure of a company's network would potentially affect devices and sites outside the organization.

• Keeping track of all those different Class C networks would be a bit of a headache in its own right.

Page 31: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

31

Benefits of Subnetting

• Better Match to Physical Network Structure

• Flexibility

• Invisibility To Public Internet

• No Need To Request New IP Addresses

• No Routing Table Entry Proliferation

Alexiei Dingli
Better Match to Physical Network Structure: Hosts can be grouped into subnets that reflect the way they are actually structured in the organization's physical network. Flexibility: The number of subnets and number of hosts per subnet can be customized for each organization. Each can decide on its own subnet structure and change it as required. Invisibility To Public Internet: Subnetting was implemented so that the internal division of a network into subnets is visible only within the organization; to the rest of the Internet the organization is still just one big, flat, “network”. This also means that any changes made to the internal structure are not visible outside the organization. No Need To Request New IP Addresses: Organizations don't have to constantly requisition more IP addresses, as they would in the workaround of using multiple small Class C blocks. No Routing Table Entry Proliferation: Since the subnet structure exists only within the organization, routers outside that organization know nothing about it. The organization still maintains a single (or perhaps a few) routing table entries for all of its devices. Only routers inside the organization need to worry about routing between subnets.
Page 32: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

32

IP Vr6 (or IP Next Generation)

• Network Layer• Developed in 1994

• Will replace the IP Vr4 standard– limits on network addresses will eventually lead to exhaustion

of available addresses (by 2023)– supports only 4,294,967,296 addresses (32bits)

• Improvements include– providing future cell phones and mobile devices their own

unique & permanent addresses– supports about 3.4 × 1038 (128bits)

Page 33: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

33

Domain Names

• A Uniform Resource Locator (URL) consists of names and abbreviations that are much easier to remember than IP addresses

• The HTTP protocol defines how an Internet resource is accessed

• An address such as www.microsoft.com is called a domain name

Page 34: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

34

Top-Level Domain Names

• Internet Corporation for Assigned Names and Numbers (ICANN)

– Responsible for managing domain names and coordinating them with IP address registrars

Page 35: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

35

More Top-Level Domain Names

• Unsponsored .biz  .com  .edu  .gov  .info  .mil  .name  .net  .orgSponsored .aero  .cat  .coop  .int  .jobs  .museum  .pro  .travel

• Infrastructure .arpa  .root• Startup phase .mobi  .post  .tel• Proposed .asia  .cym  .geo  .kid  .kids  .mail  

.sco  .web  .xxx• Deleted/retired .nato• Reserved .example  .invalid  .localhost  .test

Pseudo-domains .bitnet  .csnet  .local  .onion  .uucp

Page 36: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

36

Country Top Level Domains

•  .ac  .ad  .ae  .af  .ag  .ai  .al  .am  .an  .ao  .aq  .ar  .as  .at  .au  .aw  .ax  .az  .ba  .bb  .bd  .be  .bf  .bg  .bh  .bi  .bj  .bm  .bn  .bo  .br  .bs  .bt  .bv  .bw  .by  .bz  .ca  .cc  .cd  .cf  .cg  .ch  .ci  .ck  .cl  .cm  .cn  .co  .cr  .cu  .cv  .cx  .cy  .cz  .de  .dj  .dk  .dm  .do  .dz  .ec  .ee  .eg  .er  .es  .et  .eu  .fi  .fj  .fk  .fm  .fo  .fr  .ga  .gd  .ge  .gf  .gg  .gh  .gi  .gl  .gm  .gn  .gp  .gq  .gr  .gs  .gt  .gu  .gw  .gy  .hk  .hm  .hn  .hr  .ht  .hu  .id  .ie  .il  .im  .in  .io  .iq  .ir  .is  .it  .je  .jm  .jo  .jp  .ke  .kg  .kh  .ki  .km  .kn  .kr  .kw  .ky  .kz  .la  .lb  .lc  .li  .lk  .lr  .ls  .lt  .lu  .lv  .ly  .ma  .mc  .md  .mg  .mh  .mk  .ml  .mm  .mn  .mo  .mp  .mq  .mr  .ms  .mt  .mu  .mv  .mw  .mx  .my  .mz  .na  .nc  .ne  .nf  .ng  .ni  .nl  .no  .np  .nr  .nu  .nz  .om  .pa  .pe  .pf  .pg  .ph  .pk  .pl  .pm  .pn  .pr  .ps  .pt  .pw  .py  .qa  .re  .ro  .ru  .rw  .sa  .sb  .sc  .sd  .se  .sg  .sh  .si  .sk  .sl  .sm  .sn  .sr  .st  .sv  .sy  .sz  .tc  .td  .tf  .tg  .th  .tj  .tk  .tl  .tm  .tn  .to  .tr  .tt  .tv  .tw  .tz  .ua  .ug  .uk  .us  .uy  .uz  .va  .vc  .ve  .vg  .vi  .vn  .vu  .wf  .ws  .ye  .yt  .yu  .za  .zm  .zw

Page 37: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

37

HTTP

• Hypertext Transfer Protocol (HTTP) is responsible for transferring and displaying Web pages

• A user’s Web browser opens an HTTP session and sends a request for a Web page to a remote server

• In response, the sever creates an HTTP response message that is sent back to the client’s Web browser

Page 38: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

38

Internet Utility Programs• Finger

– Lists information about the user

• Ping (Packet Internet Groper) – forwards data packets to check the quality of a link or verify the

connection of a machine to the Internet.

• Tracert– Used to visually see a network packet being sent and received and

the amount of hops required for that packet to get to its destination

• VisualRoute

11

Page 39: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

39

Internet Applications

Three representative Internet applications:

• Electronic mail

• Telnet

• FTP

Page 40: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

40

SMTP, POP, and IMAP (1)

• E-mail is sent across the Internet is managed and stored by mail servers

• Simple Mail Transfer Protocol (SMTP) is the standard for e-mail client program

• Post Office Protocol (POP) is the standard for e-mail server program

• The Interactive Mail Access Protocol (IMAP) is a newer e-mail protocol

Page 41: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

41

SMTP, POP, and IMAP (2)

Page 42: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

42

FTP

• The File Transfer Protocol (FTP) implements a mechanism to transfer files between TCP/IP-connected computers

• FTP transfers both binary and ASCII text

• Full privilege FTP allows remote uploading and downloading files

• Anonymous FTP allows you to log on as a guest

Page 43: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

43

Controlling Unsolicited Commercial E-Mail (UCE) better known as Spam

• Use complex email addresses rather than name and surname combination– Why? Bots? Name Directories?

• Control exposure of email address– How? Java script? JPEG?

• Use multiple email addresses for different purposes– In what occasions?

• Use content-filtering software– black list spam filter – white list spam filter – challenge response using graphical challenges ?

Page 44: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

44

Overview of Markup Languages

• SGML is a rich meta language that is useful for defining markup languages

• HTML is particularly useful for displaying Web pages

• XML defines data structures for electronic commerce (and much more …)

Page 45: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

45

Development of Markup Languages

http://www.w3.org/

Page 46: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

46

More Markup Languages …• Address XML • Computing Environment XML • Content Syndication XML • Customer Information XML • Electronic Data Interchange (EDI)

XML • Geospatial XML • Human XML • Localization XML • Math XML • Open Office XML • Topic maps XML • Trade XML • Translation XML • Universal Business Language (UBL) • Universal Data Element Framework

(UDEF) • Accounting XML • Advertising XML • Astronomy XML • Building XML

• Chemistry XML • Construction XML • Education XML • Food XML • Finance XML • Government XML • Healthcare XML • Human Resources XML • Instruments XML • Insurance XML • Legal XML • Manufacturing XML • News XML • Photo XML • Physics XML • Publishing XML • Real Estate XML • Telecommunications XML • Travel XML

Page 47: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

47

Standard Generalized Markup Language

• The ISO adopted SGML standard in 1986

• SGML is nonproprietary and platform-independent

• SGML supports user-defined tags and architecture to complement the required richness of documents

Page 48: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

48

Hypertext Markup Language

• Tim Berners-Lee invented HTML

• HTML is a document production language that includes a set of tags that define the format and style of a document

• HTML is based on SGML

• HTML is an instance of one particular SGML document type – Document Type Definition (DTD)

Page 49: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

49

HTML Tags

• An HTML document contains both document content and tags

• The tags are the HTML codes inserted in a document to specify the format on screen

• Each tag is enclosed in brackets (< >)

• Most tags are two-sided – opening and closing tags

• Well formed tags, bots, meta tags?? Why are they important?

Page 50: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

50

HTML Links

• Hyperlinks are bits of text that connect the current document to:– Another location in the same document– Another document on the same host machine– Another document on the Internet– Can they link to a toaster at home?

• Hyperlinks are created using the HTML anchor tag

• Two popular link structures:– Linear hyperlink structure– Hierarchical hyperlink structure

Page 51: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

51

HTML Editors (1)

• Low end editor displays HTML code on the screen and allow you to insert HTML tag pairs by clicking selected buttons

• High end editor are Web site builder programs, they provide a rich environment that displays the Web page, not the HTML code

• Macromedia Dreamweaver is an example of Web site builders

Page 52: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

52

HTML Editors (2)

Page 53: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

53

Extensible Markup Language

• XML is a descendant of SGML (subset)

• XML allows designers to easily describe and deliver structured data from any application in a standard, consistent way

• XML can be embedded within an HTML document

• XML allows you to create your own customized markup language.

Page 54: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

54

Learn XML in a slide • Tag – a piece of Markup

– An opening tag <name>– A closing tag </name>

• Element – well formed usage of tags– <name>Alexiei</name>

• Attribute – properties– <name length=“7”>Alexiei</name>

• Rules to keep XML well formed1. Can be nested but not overlapping 2. Case sensitivity3. Quoted attributes4. Required end tag

• Short hand– <abc></abc> is equivalent to <abc/>

Page 55: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

55

Which is valid XML?

<book pages=100>E-Commerce</book>

<book pages=“100”><title>E-Commerce</title></book>

<book>E-Commerce</booK>

<book pages=“100”><title>E-Commerce</title><author>

<name>Gary</name><surname>Schneider</surname>

</author></book>

<book pages=“100”><title>E-Commerce</book></title>

Page 56: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

56

Answers

<book pages=100>E-Commerce</book>

<book pages=“100”><title>E-Commerce</title></book>

<book>E-Commerce</booK>

<book pages=“100”><title>E-Commerce</title><author>

<name>Gary</name><surname>Schneider</surname>

</author></book>

<book pages=“100”><title>E-Commerce</book></title>

Page 57: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

57

XML exercise

• Create an XML ID card having – ID number must be an attribute of the top element– And using the following tags

• Name• Surname• DOB• Address subdivided by

– House Number

– House Name

– Street

– Locality

Page 58: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

58

Processing a Request for an XML Page

• Why going through all this hassle?• How would you go about displaying HTML on a

– PC– Handheld – Mobile

Page 59: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

59

HTML + XML Version History

• HTML version 1.0 was introduced in 1991

• HTML 2.0 was released in Sept. 1995

• HTML 3.2 was introduced in 1997

• HTML 4.0 was released by W3C in Dec 1997

• HTML 4.01 was released in Dec 1999

• XHTML 1.0 became a W3C recommendation in Jan 2000

Page 60: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

60

Web Clients and Severs

• Your PC is a Web client in a worldwide client/server network

• Web software is platform-neutral

• Computers that are connected to the Internet and contain documents made publicly available are called Web servers

Page 61: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

61

What’s happening to web software?

Page 62: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

62

Web Client/Server Architecture

• Client/server architecture may be used on LANs, WANs, and the Web

• The server’s workload is heavy

• It needs to be high-ended computers with lots of disk capacity, fault-tolerant processors, and ample memory

• The term thin client describes a client’s relatively low workload, compared with that of a server– Where’s the workload done?

Page 63: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

63

Two-Tier Client/Server

• A two-tier architecture is one in which only a client (tier 1) and a server (tier 2) are involved in the requests and the responses that flow between them over the Internet

• A typical request message from a client to a server consists of three major parts:– A request line– Optional request headers– An optional entity body

Page 64: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

64

Example message …

Page 65: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

65

Three-Tier Client/Server

• A three-tier architecture builds on the traditional two-tier approach

• The first tier is the client, the second tier is the Web server, and the third tier consists of applications and their databases

• A Common Gateway Interface (CGI) is a protocol which allows Web servers to interact dynamically with clients

Page 66: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

66

Web-Site Types

• Development Sites

• Intranets

• Extranets

• Transaction-Processing sites

• Content-Delivery Sites

Page 67: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

67

Intranets

• An intranet is a Web-based private network that hosts Internet applications on a LAN

• Intranets are an extremely popular and low-cost way to distribute corporate information

• The intranet infrastructure includes a TCP/IP network, Web authoring software, Web server hardware and software, Web clients, and a firewall server

Page 68: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

68

Intranet Benefits

• Increased, less expensive, environmentally friendly internal communication

• Low acquisition and deployment costs

• Low maintenance costs

• Increased information accessibility

• Timely, current information availability

• Easy information publication, distribution, and training

Page 69: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

69

Extranets

• Extranets connect companies with suppliers or other business partners

• An extranet can be: a public network, a secure (private) network, or a virtual private network (VPN)

• Extranets provide the private infrastructure for companies to coordinate their purchase and communications with one another

Page 70: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

70

Extranets (Cont.)

• A public network extranet exists when an organization allows the public to access its intranet from any public network

• A private network is a private, leased-line connection between two companies that physically connects their intranets to one another

• A VPN extranet is a network that uses public networks and their protocols to send sensitive data to partners, customers, suppliers, and employees using a system called “tunneling”

Page 71: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

71

Virtual Private Network (VPN)

• Extranet that uses public networks and their protocols

• IP tunneling – Effectively creates a private passageway through the

public Internet

• Encapsulation– Process used by VPN software

• VPN software– Must be installed on the computers at both ends of the

transmission

Page 72: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

72

VPN Architecture Example

Page 73: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

73

Internet Connectivity

• Internet Service Providers (ISPs) provide Internet access services to other businesses.

• Ways to connect to an ISP:

Page 74: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

WiMax

• Covers a much wider range than WiFi

74

Page 75: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

75

Internet 2

• Future of Internet

• Consortium of 220 members

• High speed network

• 1999

– Capacity of 2.5 GBits/second

• 2003

– Capacity of 10 GBits/second

• 2006

– Speed record of 9.08 GBits/second over 30,000 km for 5 hours

Page 76: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

76

Web X.0

• It was though that the next web would be the Semantic Web, instead Web 2.0 came along …

• But is it really a new Web or just hype?

Page 77: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

77

Semantic Web (SW)

• Problem of information overload– A lot of data on the internet– Too much, much more than a human can process

• Idea– Make automated agents process the data for people

• They’re fast,

• don’t get tired and

• don’t get bored

• How to achieve it?– Create the SW, a web understandable by both humans and

machines

Page 78: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

78

SW Example

Page 79: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

79

SW stages (cake)

Page 80: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

Questions?

80

Page 81: Chapter 2 Technology Infrastructure. 2 Learning Objectives 1.Origins, growth and current structure of the Internet 2.Packet-switching 3.Internet protocols

81

Questions

• Compare the two-tier and three-tier architectures. Which do you think is the likely candidate for an E-commerce site?

• Design and Explain how it would work.