204325 data communication and computer networks · 1 data communication and computer networks...
TRANSCRIPT
![Page 1: 204325 Data Communication and Computer Networks · 1 Data Communication and Computer Networks รศ.ดร.อนันต์ผลเพิ่ม Asso. Prof. Anan Phonphoem, Ph.D](https://reader036.vdocuments.net/reader036/viewer/2022071022/5fd63a713cb40c0de42d7888/html5/thumbnails/1.jpg)
1
Data Communication and Computer Networks
รศ.ดร.อนนัต์ ผลเพิ่มAsso. Prof. Anan Phonphoem, Ph.D.
http://www.cpe.ku.ac.th/~anan
Computer Engineering Department
Kasetsart University, Bangkok, Thailand
Aug 2016
![Page 2: 204325 Data Communication and Computer Networks · 1 Data Communication and Computer Networks รศ.ดร.อนันต์ผลเพิ่ม Asso. Prof. Anan Phonphoem, Ph.D](https://reader036.vdocuments.net/reader036/viewer/2022071022/5fd63a713cb40c0de42d7888/html5/thumbnails/2.jpg)
2
Outline
Growth of Computer Networking
Motivation
Data Communication
Networks
Protocols and Standards
Standard Organizations
![Page 3: 204325 Data Communication and Computer Networks · 1 Data Communication and Computer Networks รศ.ดร.อนันต์ผลเพิ่ม Asso. Prof. Anan Phonphoem, Ph.D](https://reader036.vdocuments.net/reader036/viewer/2022071022/5fd63a713cb40c0de42d7888/html5/thumbnails/3.jpg)
Recent and Future Trends
The availability of high-quality teleconferencing systems
Some social networking applications such as
Google+
Many others
The Internet of Things (IoT) 3
![Page 4: 204325 Data Communication and Computer Networks · 1 Data Communication and Computer Networks รศ.ดร.อนันต์ผลเพิ่ม Asso. Prof. Anan Phonphoem, Ph.D](https://reader036.vdocuments.net/reader036/viewer/2022071022/5fd63a713cb40c0de42d7888/html5/thumbnails/4.jpg)
4
Future of the Internet
http://www.computerworld.com/s/article/9207961/Update_ICANN_assigns_its_last_IPv4_addresses
![Page 5: 204325 Data Communication and Computer Networks · 1 Data Communication and Computer Networks รศ.ดร.อนันต์ผลเพิ่ม Asso. Prof. Anan Phonphoem, Ph.D](https://reader036.vdocuments.net/reader036/viewer/2022071022/5fd63a713cb40c0de42d7888/html5/thumbnails/5.jpg)
Internet of Things
5
http://www.opinno.com/en/content/internet-things-0
![Page 6: 204325 Data Communication and Computer Networks · 1 Data Communication and Computer Networks รศ.ดร.อนันต์ผลเพิ่ม Asso. Prof. Anan Phonphoem, Ph.D](https://reader036.vdocuments.net/reader036/viewer/2022071022/5fd63a713cb40c0de42d7888/html5/thumbnails/6.jpg)
Connected Living
6https://devcentral.f5.com/articles/security-sidebar-defending-the-internet-of-things
![Page 7: 204325 Data Communication and Computer Networks · 1 Data Communication and Computer Networks รศ.ดร.อนันต์ผลเพิ่ม Asso. Prof. Anan Phonphoem, Ph.D](https://reader036.vdocuments.net/reader036/viewer/2022071022/5fd63a713cb40c0de42d7888/html5/thumbnails/7.jpg)
Connected Living
7http://www.jumpthecurve.net/wp-content/uploads/2014/03/ericssonthings1.jpg
![Page 8: 204325 Data Communication and Computer Networks · 1 Data Communication and Computer Networks รศ.ดร.อนันต์ผลเพิ่ม Asso. Prof. Anan Phonphoem, Ph.D](https://reader036.vdocuments.net/reader036/viewer/2022071022/5fd63a713cb40c0de42d7888/html5/thumbnails/8.jpg)
8
Future of the Internet
http://www.itworld.com/networking/231929/usenix-google-deploys-ipv6-internal-network
![Page 9: 204325 Data Communication and Computer Networks · 1 Data Communication and Computer Networks รศ.ดร.อนันต์ผลเพิ่ม Asso. Prof. Anan Phonphoem, Ph.D](https://reader036.vdocuments.net/reader036/viewer/2022071022/5fd63a713cb40c0de42d7888/html5/thumbnails/9.jpg)
#Mobile Phone Subscribers
9http://www.itu.int/en/ITU-D/Statistics/Pages/stat/default.aspx
![Page 10: 204325 Data Communication and Computer Networks · 1 Data Communication and Computer Networks รศ.ดร.อนันต์ผลเพิ่ม Asso. Prof. Anan Phonphoem, Ph.D](https://reader036.vdocuments.net/reader036/viewer/2022071022/5fd63a713cb40c0de42d7888/html5/thumbnails/10.jpg)
10
Internet Users in Thailand
http://internet.nectec.or.th
13.4 M
![Page 11: 204325 Data Communication and Computer Networks · 1 Data Communication and Computer Networks รศ.ดร.อนันต์ผลเพิ่ม Asso. Prof. Anan Phonphoem, Ph.D](https://reader036.vdocuments.net/reader036/viewer/2022071022/5fd63a713cb40c0de42d7888/html5/thumbnails/11.jpg)
Internet Users in Thailand
11
1991
1995
2000
2005
2010
2015
2016
#People
(M
illio
n)
http://internet.nectec.or.th
![Page 12: 204325 Data Communication and Computer Networks · 1 Data Communication and Computer Networks รศ.ดร.อนันต์ผลเพิ่ม Asso. Prof. Anan Phonphoem, Ph.D](https://reader036.vdocuments.net/reader036/viewer/2022071022/5fd63a713cb40c0de42d7888/html5/thumbnails/12.jpg)
12
Ping
![Page 13: 204325 Data Communication and Computer Networks · 1 Data Communication and Computer Networks รศ.ดร.อนันต์ผลเพิ่ม Asso. Prof. Anan Phonphoem, Ph.D](https://reader036.vdocuments.net/reader036/viewer/2022071022/5fd63a713cb40c0de42d7888/html5/thumbnails/13.jpg)
13
Trace Route
![Page 14: 204325 Data Communication and Computer Networks · 1 Data Communication and Computer Networks รศ.ดร.อนันต์ผลเพิ่ม Asso. Prof. Anan Phonphoem, Ph.D](https://reader036.vdocuments.net/reader036/viewer/2022071022/5fd63a713cb40c0de42d7888/html5/thumbnails/14.jpg)
14
“Warriors of The Net”
Sit Back and Relax
… Enjoy the show
http://www.warriorsofthe.net/
![Page 15: 204325 Data Communication and Computer Networks · 1 Data Communication and Computer Networks รศ.ดร.อนันต์ผลเพิ่ม Asso. Prof. Anan Phonphoem, Ph.D](https://reader036.vdocuments.net/reader036/viewer/2022071022/5fd63a713cb40c0de42d7888/html5/thumbnails/15.jpg)
15
Motivation
People
Communication Goal
Exchange / Share information (data)
Communication method
Past Present
Local Talk
Gesture
Printed document Electronic Document
Remote Mail
Telephone
TV
Wireless Phone, Video Phone
Video conferencing
![Page 16: 204325 Data Communication and Computer Networks · 1 Data Communication and Computer Networks รศ.ดร.อนันต์ผลเพิ่ม Asso. Prof. Anan Phonphoem, Ph.D](https://reader036.vdocuments.net/reader036/viewer/2022071022/5fd63a713cb40c0de42d7888/html5/thumbnails/16.jpg)
16
Motivation
The Changes
Efficiency way to communicate
Sharing data and resources
Time – Faster
Size – bigger
Correctness – Accurate
Accessibility – Easier
![Page 17: 204325 Data Communication and Computer Networks · 1 Data Communication and Computer Networks รศ.ดร.อนันต์ผลเพิ่ม Asso. Prof. Anan Phonphoem, Ph.D](https://reader036.vdocuments.net/reader036/viewer/2022071022/5fd63a713cb40c0de42d7888/html5/thumbnails/17.jpg)
17
Networks
SD
iMac
Set of Devices
Media Links
![Page 18: 204325 Data Communication and Computer Networks · 1 Data Communication and Computer Networks รศ.ดร.อนันต์ผลเพิ่ม Asso. Prof. Anan Phonphoem, Ph.D](https://reader036.vdocuments.net/reader036/viewer/2022071022/5fd63a713cb40c0de42d7888/html5/thumbnails/18.jpg)
18
How can the communication happen ?
![Page 19: 204325 Data Communication and Computer Networks · 1 Data Communication and Computer Networks รศ.ดร.อนันต์ผลเพิ่ม Asso. Prof. Anan Phonphoem, Ph.D](https://reader036.vdocuments.net/reader036/viewer/2022071022/5fd63a713cb40c0de42d7888/html5/thumbnails/19.jpg)
19
Data Communication
Hi
How are you
doing?
How are youdoing?
Hi
01010001 01010001
Hi
10010001 10010001
How are you
01010100 01010100
doing?
Hi
How are you
doing?
UserComputer
![Page 20: 204325 Data Communication and Computer Networks · 1 Data Communication and Computer Networks รศ.ดร.อนันต์ผลเพิ่ม Asso. Prof. Anan Phonphoem, Ph.D](https://reader036.vdocuments.net/reader036/viewer/2022071022/5fd63a713cb40c0de42d7888/html5/thumbnails/20.jpg)
20
Data Comm. Components
Hi
How are you
doing?
5 Protocol
4 Medium
3 Receiver2 Sender
1 Message
![Page 21: 204325 Data Communication and Computer Networks · 1 Data Communication and Computer Networks รศ.ดร.อนันต์ผลเพิ่ม Asso. Prof. Anan Phonphoem, Ph.D](https://reader036.vdocuments.net/reader036/viewer/2022071022/5fd63a713cb40c0de42d7888/html5/thumbnails/21.jpg)
21
Client-Server Paradigm
Client
Server
![Page 22: 204325 Data Communication and Computer Networks · 1 Data Communication and Computer Networks รศ.ดร.อนันต์ผลเพิ่ม Asso. Prof. Anan Phonphoem, Ph.D](https://reader036.vdocuments.net/reader036/viewer/2022071022/5fd63a713cb40c0de42d7888/html5/thumbnails/22.jpg)
22
Application Program Interface (API)
Set of operation for application programmer
Specify arguments and semantics
![Page 23: 204325 Data Communication and Computer Networks · 1 Data Communication and Computer Networks รศ.ดร.อนันต์ผลเพิ่ม Asso. Prof. Anan Phonphoem, Ph.D](https://reader036.vdocuments.net/reader036/viewer/2022071022/5fd63a713cb40c0de42d7888/html5/thumbnails/23.jpg)
23
Example API
![Page 24: 204325 Data Communication and Computer Networks · 1 Data Communication and Computer Networks รศ.ดร.อนันต์ผลเพิ่ม Asso. Prof. Anan Phonphoem, Ph.D](https://reader036.vdocuments.net/reader036/viewer/2022071022/5fd63a713cb40c0de42d7888/html5/thumbnails/24.jpg)
24
send_eofrecv
API Calls
send
recv
await_contact
Server
recv
send
make_contact
Client
![Page 25: 204325 Data Communication and Computer Networks · 1 Data Communication and Computer Networks รศ.ดร.อนันต์ผลเพิ่ม Asso. Prof. Anan Phonphoem, Ph.D](https://reader036.vdocuments.net/reader036/viewer/2022071022/5fd63a713cb40c0de42d7888/html5/thumbnails/25.jpg)
25
API Data Type
To make it independent of OS and Network software
![Page 26: 204325 Data Communication and Computer Networks · 1 Data Communication and Computer Networks รศ.ดร.อนันต์ผลเพิ่ม Asso. Prof. Anan Phonphoem, Ph.D](https://reader036.vdocuments.net/reader036/viewer/2022071022/5fd63a713cb40c0de42d7888/html5/thumbnails/26.jpg)
26
Example API Calls
send_eofrecv
send
recv
await_contact
Server
recv
send
make_contact
Client
connection await_contact(appnum a)
connection make_contact(computer c, appnum a)
int send(connection con, char *buffer, int length, int flag)
int recv(connection con, char *buffer, int length, int flag)
![Page 27: 204325 Data Communication and Computer Networks · 1 Data Communication and Computer Networks รศ.ดร.อนันต์ผลเพิ่ม Asso. Prof. Anan Phonphoem, Ph.D](https://reader036.vdocuments.net/reader036/viewer/2022071022/5fd63a713cb40c0de42d7888/html5/thumbnails/27.jpg)
27
Echo Application
echoserver.c
echoclient.c
> echoserver 3800
> echoclient master.cpe.ku.ac.th 3800
![Page 28: 204325 Data Communication and Computer Networks · 1 Data Communication and Computer Networks รศ.ดร.อนันต์ผลเพิ่ม Asso. Prof. Anan Phonphoem, Ph.D](https://reader036.vdocuments.net/reader036/viewer/2022071022/5fd63a713cb40c0de42d7888/html5/thumbnails/28.jpg)
HW assignment
1. Plot trend of #computer growth
2. Plot trend of #mobile phone growth
• Thailand
• Average of South East Asia Countries
• Select one country by your own
28
![Page 29: 204325 Data Communication and Computer Networks · 1 Data Communication and Computer Networks รศ.ดร.อนันต์ผลเพิ่ม Asso. Prof. Anan Phonphoem, Ph.D](https://reader036.vdocuments.net/reader036/viewer/2022071022/5fd63a713cb40c0de42d7888/html5/thumbnails/29.jpg)
29
Summary
Data Communication components
Network application program and API