บทที่ 1 ความรู้เบื้องต้นเกี่ยวกับคอมพิวเตอร์

Download Report

Transcript บทที่ 1 ความรู้เบื้องต้นเกี่ยวกับคอมพิวเตอร์

บทที่ 7
เครือข่ายคอมพิวเตอร์
จัดทำโดย อำจำรย์ ภำควิชำคณิตศำสตร์ (สำขำวิชำวิทยำกำรคอมพิวเตอร์ )
มหำวิทยำลัยศรีนครินทรวิโรฒ
เนื้ อหาประจาบท
• ความรูพ้ นฐานการสื
ื้
อ่ สารข้อมูล
• การประมวลผลข้อมูลกับการสือ่ สารข้อมูล
• ช่องทางการสือ่ สารข้อมูล
• อุปกรณ์สือ่ สารข้อมูล
• เครือข่ายคอมพิวเตอร์
page 2
CP101 : Introduction to Computer and Data Processing
เนื้ อหาประจาบท (ต่อ)
• ระบบเครือข่ายแบบ LAN
• Network Protocol
• ระบบเครือข่ายแบบ WAN
• Internetworking
• การประยุกต์ใช้งานของระบบเครือข่าย
page 3
CP101 : Introduction to Computer and Data Processing
ความรูพ้ ื้ นฐานของการสือ่ สารข้อมูล
• การสือ่ สารเพือ่ ส่งข่าวสาร ผ่านทางสือ่ ต่าง ๆ
ที่ใช้กนั มา เช่น
–โทรเลข โทรศัพท์ ไปรษณีย ์ วิทยุ โทรทัศน์
วารสาร หนังสือพิมพ์
• ในยุคคอมพิวเตอร์เกิด Data
Communication และ
Computer Networks
page 4
CP101 : Introduction to Computer and Data Processing
ความรูพ้ ื้ นฐานของการสือ่ สารข้อมูล
• Data communication is
defined as the electronic
transfer of digital data
from one place to another
• องค์ประกอบพื้ นฐานของการสือ่ สารข้อมูล
page 5
–Source system,
Destination system,
CP101 : Introduction to Computer and Data Processing
ความรูพ้ ื้ นฐานของการสือ่ สารข้อมูล
page 6
CP101 : Introduction to Computer and Data Processing
ความรูพ้ ื้ นฐานของการสือ่ สารข้อมูล
• ชนิดของสัญญาณ (Signal) ทาง
อิเลคทรอนิคส์
–สัญญาณ Analog
–สัญญาณ Digital
page 7
CP101 : Introduction to Computer and Data Processing
ความรูพ้ ื้ นฐานของการสือ่ สารข้อมูล
–สัญญาณ Analog
•เป็ นสัญญาณแบบต่อเนือ่ ง
•ถูกรบกวนทาให้แปลความหมายผิดพลาดได้
ง่าย
•เป็ นสัญญาณที่สือ่ กลางในการสือ่ สารส่วนมาก
ใช้ เช่น สัญญาณเสียงในสายโทรศัพท์
page 8
CP101 : Introduction to Computer and Data Processing
ความรูพ้ ื้ นฐานของการสือ่ สารข้อมูล
–สัญญาณ Digital
•ประกอบขึ้ นจากระดับสัญญาณเพียง 2
ค่า อาจเป็ น on/off หรือ 0/1 หรือ มี
อานาจแม่เหล็ก/ไม่มีอานาจแม่เหล็ก
•มีประสิทธิภาพและความน่าเชื่อถือสูง
•เป็ นสัญญาณที่คอมพิวเตอร์
page 9
CP101 : Introduction to Computer and Data Processing
ความรูพ้ ื้ นฐานของการสือ่ สารข้อมูล
–เครือ่ งมือในการแปลงสัญญาณ
•MODEM (MOdulatorDEModulator)
–อุปกรณ์แปลงสัญญาณดิจิตอลเป็ น
อนาลอก และแปลงกลับ
page 10
CP101 : Introduction to Computer and Data Processing
ความรูพ้ ื้ นฐานของการสือ่ สารข้อมูล
–เครือ่ งมือในการแปลงสัญญาณ (ต่อ)
•CODEC (COder-DECoder)
–อุปกรณ์แปลงสัญญาณอนาลอกเป็ น
ดิจิตอล และแปลงกลับ
page 11
CP101 : Introduction to Computer and Data Processing
สัญญาณ
Analog
& Digital
page 12
CP101 : Introduction to Computer and Data Processing
สัญญาณ Analog & Digital
page 13
CP101 : Introduction to Computer and Data Processing
ความรูพ้ ื้ นฐานของการสือ่ สารข้อมูล
page 14
CP101 : Introduction to Computer and Data Processing
ความรูพ้ ื้ นฐานของการสือ่ สารข้อมูล
page 15
CP101 : Introduction to Computer and Data Processing
ความรูพ้ ื้ นฐานของการสือ่ สารข้อมูล
• วิธีการสือ่ สารข้อมูลระหว่างอุปกรณ์ทาง
อิเลคทรอนิคส์ มี 2 แบบ
–การสือ่ สารแบบไม่ประสานจังหวะ
(Asynchronous
transmission)
–การสือ่ สารแบบประสานจังหวะ
(Synchronous
page 16
CP101 : Introduction to Computer and Data Processing
Asynchronous &
Synchronous Transmission
ส่งทีละตัวอักษร ความเร็วต่า เช่น การต่อโมเด็มจากบ้ าน
ส่งเป็ นกลุ่ม รวดเร็วกว่า ใช้ ในการติดต่อระหว่าง
คอมพิวเตอร์
page 17
CP101 : Introduction to Computer and Data Processing
ความรูพ้ นฐานของการสื
ื้
อ่ สารข้อมูล
• ทิศทางของการสือ่ สารข้อมูล มี 3 แบบ
–1. แบบทิศทางเดียว (Simplex)
•เช่น วิทยุ หรือโทรทัศน์
–2. แบบกึง่ สองทิศทาง (Half
Duplex)
•เช่น วิทยุสือ่ สารแบบผลัดกันพูด
page 18
CP101 : Introduction to Computer and Data Processing
ความรูพ้ นฐานของการสื
ื้
อ่ สารข้อมูล
• ทิศทางของการสือ่ สารข้อมูล มี 3 แบบ
–3. แบบสองทิศทาง (Full
Duplex)
•เช่น ระบบโทรศัพท์
page 19
CP101 : Introduction to Computer and Data Processing
page 20
CP101 : Introduction to Computer and Data Processing
ความรูพ้ ื้ นฐานของการสือ่ สารข้อมูล
• การสือ่ สารข้อมูล แบบอนุ กรม และ แบบ
ขนาน (Serial & Parallel
1
1
1
1
Transmission)
0
0
0
0
0
ตัวส่ ง 1
1
1
0
1
page 21
ตัวรับ
0
1
1
1
0
1
ตัวส่ ง
0
1
1
1
0
1
0
1 ตัวรับ
1
1
0
1
CP101 : Introduction to Computer and Data Processing
ความรูพ้ ื้ นฐานของการสือ่ สารข้อมูล
• การสือ่ สารข้อมูล แบบ Baseband และ
แบบ Broadband
–แบบ Baseband ที่เวลาใดเวลาหนึง่ จะม
สัญญาณข้อมูลเพียงตัวเดียววิง่ อยู่บน
สายสัญญาณ
page 22
CP101 : Introduction to Computer and Data Processing
ความรูพ้ นฐานของการสื
ื้
อ่ สารข้อมูล
• การสือ่ สารข้อมูล แบบ Baseband และ
แบบ Broadband
–แบบ Broadband ที่เวลาใดเวลาหนึง่
สามารถมีสญ
ั ญาณข้อมูลหลายสัญญาณวิ่งอยู่
บนสาย
page 23
CP101 : Introduction to Computer and Data Processing
การประมวลผลข้อมูลกับการสือ่ สารข้อมูล
• ระบบการประมวลผลที่ศูนย์กลาง
(Centralized Processing)
• ระบบการประมวลผลแบบไคลเอนต์เซิรฟ์ เวอร์ (Client-Server
Processing)
• ระบบการประมวลผลแบบกระจาย
(Distributed Processing)
page 24
CP101 : Introduction to Computer and Data Processing
page 25
CP101 : Introduction to Computer and Data Processing
page 26
CP101 : Introduction to Computer and Data Processing
page 27
CP101 : Introduction to Computer and Data Processing
ช่องทางการสือ่ สารข้อมูล
(Data Transmission
Channels)
• แบบมีสาย
–สายคู่บดิ เกลียว สายโคแอกเชียล
สายใยแก้วนาแสง
• แบบไม่มีสาย
–ไมโครเวฟ ดาวเทียม อินฟราเรด ระบบ
วิทยุ
page 28
CP101 : Introduction to Computer and Data Processing
สายคู่บิดเกลียวแบบไม่มีชีลต์
Unshielded Twisted-Pair - UTP
สายใยแก้ วนาแสง
Fiber Optic Cable
page 29
สายโคแอกเชียล
Coaxial
CP101 : Introduction to Computer and Data Processing
page 30
CP101 : Introduction to Computer and Data Processing
อุปกรณ์สอื่ สารข้อมูล
• เครือ่ งทวนซ้ า
สัญญาณ
(Repeater
)
• ฮับ (Hub)
• สวิตช์
(Switch)
page 31
CP101 : Introduction to Computer and Data Processing
อุปกรณ์สอื่ สารข้อมูล
• เราท์เตอร์
(Router)
page 32
CP101 : Introduction to Computer and Data Processing
อุปกรณ์สอื่ สารข้อมูล
• มัลติเพล็กซ์เซอร์ (Multiplexer)
page 33
CP101 : Introduction to Computer and Data Processing
Computer Networks
• A network is created
whenever two or more
computers are connected to
one another
page 34
CP101 : Introduction to Computer and Data Processing
เครือข่ายคอมพิวเตอร์
page 35
CP101 : Introduction to Computer and Data Processing
ชนิดของระบบเครือข่าย
• Local Area Network: LAN
• Wide Area Network: WAN
page 36
CP101 : Introduction to Computer and Data Processing
LAN
• ประโยชน์ของ LAN
–Sharing of peripheral
devices
–Sharing of programs and
data
–Better communication
–Access
to
database
page 37
CP101 : Introduction to Computer and Data Processing
LAN
• ชนิดของ LAN
–client/server LAN
–peer-to-peer LAN
page 38
CP101 : Introduction to Computer and Data Processing
LAN
• Components of a LAN
–PC with Network Interface
Card (NIC)
–Connection or Cabling system
–Network operating system
•Windows 9x, Windows NT,
Windows 2000, Netware,
Linux, UNIXCP101 : Introduction to Computer and Data Processing
page 39
NIC - Network Interface
Card
หรือ แลนการ์ด - LAN Card
page 40
CP101 : Introduction to Computer and Data Processing
LAN
• Topology of LANs
–The layout or shape of
LAN is called topology
• Three LAN topologies
–Star, Ring and Bus
page 41
CP101 : Introduction to Computer and Data Processing
page 42
CP101 : Introduction to Computer and Data Processing
LAN
• Media Access Control
(MAC) Method
–CSMA/CD (Carrier Sense
Multiple Access Collision
Detect)
–Token Passing
page 43
CP101 : Introduction to Computer and Data Processing
CSMA/CD
page 44
CP101 : Introduction to Computer and Data Processing
Token Passing
page 45
CP101 : Introduction to Computer and Data Processing
page 46
CP101 : Introduction to Computer and Data Processing
LAN
• LANs Architecture
–Ethernet/IEEE 802.3
•10Base2, 10Base5, 10Base-T
10Base-F
–Fast Ethernet/IEEE 802.3
(100 Mbps)
•100Base-TX, 100Base-FX
page 47
CP101 : Introduction to Computer and Data Processing
LAN
• LANs Architecture (ต่อ)
–Gigabit Ethernet/IEEE 802.3z
(1000 Mbps)
•1000Base-T, 1000Base-LX,
1000Base-SX
page 48
CP101 : Introduction to Computer and Data Processing
LAN
• LANs Architecture (ต่อ)
–Token Bus/IEEE 802.4
–Token Ring/IEEE 802.5
–FDDI (Fiber Distributed
Data Interface)
page 49
CP101 : Introduction to Computer and Data Processing
Network Protocol
Protocol stack หรือ Protocol suit คือ ชุด
ของกฎหรือข้ อตกลงในกำรแลกเปลีย่ นข้ อมูล
ผ่ ำนเครือข่ ำยคอมพิวเตอร์
• ต.ย.โปรโตคอลแสตก
–NetBEUI, IPX/SPX,
TCP/IP
page 50
CP101 : Introduction to Computer and Data Processing
Network Protocol
page 51
CP101 : Introduction to Computer and Data Processing
Network Protocol
page 52
CP101 : Introduction to Computer and Data Processing
WAN
• Circuit-Switching Networks
• Packet-Switching Networks
• ISDN : Integrated Services
Digital Network
• ATM : Asynchronous
Transfer Mode
page 53
CP101 : Introduction to Computer and Data Processing
Switching
Network
page 54
CP101 : Introduction to Computer and Data Processing
Internetworking
• เป็ นการเชื่อมโยงระบบเครือข่ายเข้าด้วยกัน
เพือ่ ให้เครือ่ งในแต่ละเครือข่ายสามารถ
ติดต่อถึงกันได้
page 55
CP101 : Introduction to Computer and Data Processing
Internetworking
• Internet เป็ นตัวอย่างหนึง่ ของการทา
Internetworking สามารถ
เชื่อมโยงเครือข่ายทั้งโลกเข้าด้วยกัน โดย
ใช้โปรโตคอล TCP/IP
• Intranet เป็ นการประยุกต์ใช้
Internet เฉพาะภายในองค์กร
page 56
CP101 : Introduction to Computer and Data Processing
การประยุกต์ใช้งานเครือข่ายคอมพิวเตอร์
• Electronic mail
• Telnet
• Ftp
• Electronic Bulletin Boards
• World Wide Web
page 57
CP101 : Introduction to Computer and Data Processing
การประยุกต์ใช้งานเครือข่ายคอมพิวเตอร์
• Electronic Teleconference,
Videoconferencing
• Electronic Data
Interchange - EDI
• Electronic Funds Transfer EFT
• E-commerce, E-Banking,
page 58
CP101 : Introduction to Computer and Data Processing
จบ
page 59
CP101 : Introduction to Computer and Data Processing