อ.ปริญญา น้อยดอนไพร ( v.1.101202)

48
อ.ออออออ ออออออออออ (V.1.101202) อออออออออออออออออออ อออออออออ (Data Communications and Networks) อออออ 2 ออออออออออออออออออออออ ออออออออออออออออออออออออออ

Upload: dex

Post on 16-Feb-2016

83 views

Category:

Documents


0 download

DESCRIPTION

การสื่อสารข้อมูลและเครือข่าย (Data Communications and Networks) บทที่ 2 มาตรฐานสากลและรหัสสากลที่ใช้ในการส่งสัญญาณข้อมูล (International Standards and International code used in computer data transmission). อ.ปริญญา น้อยดอนไพร ( V.1.101202). วัตถุประสงค์เชิงพฤติกรรม. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: อ.ปริญญา  น้อยดอนไพร  ( V.1.101202)

อ.ปรญญา นอยดอนไพร (V.1.101202)

การสอสารขอมลและเครอขาย

(Data Communications and Networks)

บทท 2 มาตรฐานสากลและรหสสากลทใชในการสงสญญาณขอมล

(International Standards and International code used in

computer data transmission)

Page 2: อ.ปริญญา  น้อยดอนไพร  ( V.1.101202)

Data Communications and Networks :: Mr.Parinya Noidonphrai (www.freebsd.sru.ac.th)

วตถประสงคเชงพฤตกรรม เรยนรและทำ คว มเข ใจม ตรฐ นส กล

บนระบบเครอข ยคอมพวเตอร ส ม รถอธบ ยม ตรฐ นส กลแตละแบบ

ได เรยนร ทำ คว มเข ใจ และส ม รถอธบ ย

ลกษณะของรหสส กลทใชในก รสงสญญ ณขอมลคอมพวเตอร

Page 3: อ.ปริญญา  น้อยดอนไพร  ( V.1.101202)

Data Communications and Networks :: Mr.Parinya Noidonphrai (www.freebsd.sru.ac.th)

มาตรฐานสากล (INTERNATIONAL STANDARDS) ในระหว งทำ ก รสอส รขอมล อปกรณเครอง

มอทเปนผรบจะตองรจกหรอเข ใจข วส รหรอขอมลทอปกรณเครองมอของผสงสงม ให

อปกรณของผรบและผสงจะตอง ใชวธก รสง (Transmission) ก รเชอมตอ (Interface) ก รเข รหส (Coding) และวธก รตรวจสอบปญห ขอผดพล ด (Error Detection) ใหเปนรปแบบเดยวกนหรอส ม รถแปลงใหเปนรปแบบเดยวกนได

เพอคว มเปนระเบยบและใหเกดคว มสะดวกแกผใชผลตภณฑ ส ม รถใชอปกรณจ กต งผผลต ในลกษณะระบบเปด (Open System)

Page 4: อ.ปริญญา  น้อยดอนไพร  ( V.1.101202)

Data Communications and Networks :: Mr.Parinya Noidonphrai (www.freebsd.sru.ac.th)

มาตรฐานสากล (INTERNATIONAL STANDARDS) ตอองคกรทมบทบ ทตอก รกำ หนดม ตรฐ นหนวยง นทมหน ทกำ หนดม ตรฐ นมบทบ ท

สำ คญสำ หรบก รพฒน ก รท งด นเทคโนโลยคอมพวเตอรและระบบเครอข ย

ทำ หน ทกำ หนดม ตรฐ นในเอกส รหรอ บทคว มท งเทคนคบอยๆ ในสวนตอไปนจะอธบ ยเกยวกบองคกรกำ หนดม ตรฐ น ซงมสวนเกยวของกบระบบเครอข ยและเครอข ยอนเทอรเนต

Page 5: อ.ปริญญา  น้อยดอนไพร  ( V.1.101202)

Data Communications and Networks :: Mr.Parinya Noidonphrai (www.freebsd.sru.ac.th)

มาตรฐานสากล (INTERNATIONAL STANDARDS) ตอม ตรฐ น ISO (The International

Standards Organization)ม ตรฐ น CCITT (the International

Telegraph and Telephone Consultative Committee (CCITT), (from the French name "Comité Consultatif International Téléphonique et Télégraphique"))

ม ตรฐ น ANSI (The American National Standards Institute)

ม ตรฐ น IEEE (The Institute of Electrical and Electronic Engineers)

ม ตรฐ น EIA (The Electronics Industries Association)

Page 6: อ.ปริญญา  น้อยดอนไพร  ( V.1.101202)

Data Communications and Networks :: Mr.Parinya Noidonphrai (www.freebsd.sru.ac.th)

มาตรฐาน ISO (THE INTERNATIONAL STANDARDS ORGANIZATION) ISO (International Standard

Organization หรอ International Organization for Standardization) เปนองคกรทรวบรวมองคกรม ตรฐ นจ กประเทศต งๆ 130 ประเทศ ISO เปนภ ษ กรก หม ยถงคว มเท เทยมกนหรอคว มเปนม ตรฐ น

ไมใชองคกรของรฐ มจดมงหม ยในก รสงเสรมใหมม ตรฐ นส กล ซงไมเพยงแตในเรองทเกยวกบเทคโนโลยและก รสอส ร แตยงรวมไปถงก รค ก รพ ณชย และผลตภณฑอนๆ สำ หรบในสวนของระบบเครอข ยนน ISO เปนผกำ หนดม ตรฐ นโครงสร ง 7 เลเยอรของ ISO/OSI Reference Model นนเอง

Page 7: อ.ปริญญา  น้อยดอนไพร  ( V.1.101202)

Data Communications and Networks :: Mr.Parinya Noidonphrai (www.freebsd.sru.ac.th)

มาตรฐาน CCITT (THE INTERNATIONAL TELEGRAPH AND TELEPHONE CONSULTATIVE COMMITTEE)

องคกรพฒน ม ตรฐ นส กลในเรองของก รสอส รขอมลผ นระบบโทรคมน คม

ม ตรฐ น V และ X ม ตรฐ น V ประยกตใชสำ หรบวงจร

โทรศพทและโมเดม เชน ม ตรฐ น V.29, V.56 และ V.90 เปนตน

ม ตรฐ น X ประยกตใชกบเครอข ยขอมลส ธ รณะ เชน X.25 แพกเกตสวตซ เปนตน

ปจจบนเปลยนชอเปน ITU-T ต มชอองคกรผดแลม ตรฐ น CCITT คอ International Telecommunication Union (http://en.wikipedia.org/wiki/ITU-T)

Page 8: อ.ปริญญา  น้อยดอนไพร  ( V.1.101202)

Data Communications and Networks :: Mr.Parinya Noidonphrai (www.freebsd.sru.ac.th)

มาตรฐาน ANSI (THE AMERICAN NATIONAL STANDARDS INSTITUTE) เปนองคกรอ ส สมครทไมมผลกำ ไร ประกอบ

ดวยกลมนกธรกจและกลมอตส หกรรมในประเทศสหรฐอเมรก กอตงในป ค.ศ. 1918

มสำ นกง นใหญอยทนวยอรค ทำ หน ทพฒน ม ตรฐ นต งๆ ของอเมรก รใหเหม ะสม จ กนนจะรบรองขนไปเปนม ตรฐ นส กล ANSI ยงเปนตวแทนของอเมรก ในองคกรม ตรฐ นส กล ISO และ IEC (International Electro-technical Commission) ANSI เปนทรจกในก รเสนอภ ษ ก รเขยนโปรแกรม ไดแก ANSI C

กำ หนดม ตรฐ นเทคโนโลยระบบเครอข ยอกหล ยแบบ เชน ระบบเครอข ยคว มเรวสงทใชเคเบลใยแกวนำ แสง SONET เปนตน

Page 9: อ.ปริญญา  น้อยดอนไพร  ( V.1.101202)

Data Communications and Networks :: Mr.Parinya Noidonphrai (www.freebsd.sru.ac.th)

มาตรฐาน IEEE (THE INSTITUTE OF ELECTRICAL AND ELECTRONIC ENGINEERS)

เปนกลมนกวช ก รและผประกอบอ ชพส ข ไฟฟ และอเลกทรอนกสในประเทศสหรฐอเมรก

สนใจท งด นไฟฟ อเลกทรอนกส วศวกรรม และวทย ก รคอมพวเตอร มชอเสยงอย งม กในก รกำ หนด คณลกษณะเฉพ ะต งๆ ของระบบเครอข ย เกณฑก รจดตงเครอข ยต งๆ ถกกำ หนดเปนกลมยอยของคณลกษณะเฉพ ะม ตรฐ น 802 เชน IEEE 802.3,IEEE 802.5 และ IEEE 802.11 เปนตน

http://en.wikipedia.org/wiki/Institute_of_Electrical_and_Electronics_Engineers

Page 10: อ.ปริญญา  น้อยดอนไพร  ( V.1.101202)

IEEE 802.11

Page 11: อ.ปริญญา  น้อยดอนไพร  ( V.1.101202)

Data Communications and Networks :: Mr.Parinya Noidonphrai (www.freebsd.sru.ac.th)

ความรเบองตนเกยวกบมาตรฐาน IEEE 802.11ม ตรฐ น IEEE 802.11 ซงไดรบก รตพมพ

ครงแรกเมอปพ.ศ. 2540 โดย IEEE (The Institute of Electronics and Electrical Engineers) และเปนเทคโนโลยสำ หรบ WLAN

ในสวนของ Physical (PHY) Layer และ Media Access Control (MAC) Layer

มคว มส ม รถในก รรบสงขอมลดวยคว มเรว 1, 2, 5.5, 11 และ 54 Mbps โดยมสอ 3 ประเภทใหเลอกใชไดแก คลนวทยทคว มถส ธ รณะ 2.4 และ 5 GHz, และ อนฟร เรด (Infrared) (1 และ 2 Mbps เท นน)

Page 12: อ.ปริญญา  น้อยดอนไพร  ( V.1.101202)

Data Communications and Networks :: Mr.Parinya Noidonphrai (www.freebsd.sru.ac.th)

ความรเบองตนเกยวกบมาตรฐาน IEEE 802.11 (ตอ)MAC Layer ม ตรฐ น IEEE 802.11 ได

กำ หนดใหมกลไกก รทำ ง นทเรยกว CSMA/CA (Carrier Sense Multiple Access/Collision Avoidance) ซงมคว มคล ยคลงกบหลกก ร CSMA/CD (Collision Detection)

กลไกก รเข รหสขอมล (Encryption) และก รตรวจสอบผใช (Authentication) ทมชอเรยกว WEP (Wired Equivalent Privacy)

ทม ::http://www.thaicert.nectec.or.th/paper/wireless/IEEE80211_1.php

Page 13: อ.ปริญญา  น้อยดอนไพร  ( V.1.101202)

Data Communications and Networks :: Mr.Parinya Noidonphrai (www.freebsd.sru.ac.th)

ความรเบองตนเกยวกบมาตรฐาน IEEE 802.11 (ตอ) IEEE 802.11a, IEEE 802.11b และ

IEEE 802.11g กำ ลงจะ IEEE 802.11nIEEE 802.11a ไดตพมพม ตรฐ นเพม

เตมนเมอป พ.ศ. 2542 ใชเทคโนโลยทเรยกว OFDM (Orthogonal Frequency Division Multiplexing) เพอปรบปรงคว มส ม รถของอปกรณใหรบสงขอมลไดดวยคว มเรวสงสดท 54 Mbps

ใชคลนวทยทคว มถ 5 GHz ซงเปนย นคว มถส ธ รณะสำ หรบใชง นในประเทศสหรฐอเมรก ทมสญญ ณรบกวนจ กอปกรณอนนอยกว ในย นคว มถ 2.4 GHz

Page 14: อ.ปริญญา  น้อยดอนไพร  ( V.1.101202)

Data Communications and Networks :: Mr.Parinya Noidonphrai (www.freebsd.sru.ac.th)

ความรเบองตนเกยวกบมาตรฐาน IEEE 802.11 (ตอ)IEEE 802.11a รศมของสญญ ณมขน ด

คอนข งสน (ประม ณ 30 เมตร ซงสนกว รศมสญญ ณของอปกรณ IEEE 802.11b WLAN ทมขน ดประม ณ 100 เมตร สำ หรบก รใชง นภ ยในอ ค ร)

IEEE 802.11b ไดตพมพม ตรฐ นเพมเตมนเมอป พ.ศ. 2542 ใชเทคโนโลยทเรยกว CCK (Complimentary Code Keying) ผนวกกบ DSSS (Direct Sequence Spread Spectrum) เพอปรบปรงคว มส ม รถของอปกรณใหรบสงขอมลไดดวยคว มเรวสงสดท 11 Mbps ผ นคลนวทยคว มถ 2.4 GHz (เปนย นคว มถทเรยกว ISM (Industrial Scientific and Medical)

Page 15: อ.ปริญญา  น้อยดอนไพร  ( V.1.101202)

Data Communications and Networks :: Mr.Parinya Noidonphrai (www.freebsd.sru.ac.th)

ความรเบองตนเกยวกบมาตรฐาน IEEE 802.11 (ตอ)IEEE 802.11b ถกจดสรรไวอย งส กล

สำ หรบก รใชง นอย งส ธ รณะด นวทย ศ สตร อตส หกรรม และก รแพทย โดยอปกรณทใชคว มถย นนกเชน IEEE 802.11, Bluetooth, โทรศพทไรส ย, และเต ไมโครเวฟ)

ใชเครองหม ยก รค ทรจกกนดในน ม Wi-Fi (Wireless Fidelity) ซงเครองหม ยก รค ดงกล วถกกำ หนดขนโดยสม คม WECA (Wireless Ethernet Compatibility Alliance)

Page 16: อ.ปริญญา  น้อยดอนไพร  ( V.1.101202)

Data Communications and Networks :: Mr.Parinya Noidonphrai (www.freebsd.sru.ac.th)

ความรเบองตนเกยวกบมาตรฐาน IEEE 802.11 (ตอ) IEEE 802.11g ไดใชนำ เทคโนโลย OFDM ม

ประยกตใชในชองสญญ ณวทยคว มถ 2.4 GHz ซงอปกรณ IEEE 802.11g WLAN มคว มส ม รถในก รรบสงขอมลดวยคว มเรวสงสดท 54 Mbps

สวนรศมสญญ ณของอปกรณ IEEE 802.11g WLAN จะอยระหว งรศมสญญ ณของอปกรณ IEEE 802.11a และ IEEE 802.11b เนองจ กคว มถ 2.4 GHz เปนย นคว มถส ธ รณะส กล อกทงอปกรณ IEEE 802.11g WLAN ส ม รถทำ ง นรวมกบอปกรณ IEEE 802.11b WLAN ได (backward-compatible) ไดรบก รตพมพประม ณชวงกล งป พ.ศ. 2546

Page 17: อ.ปริญญา  น้อยดอนไพร  ( V.1.101202)

IEEE 802.3

Page 18: อ.ปริญญา  น้อยดอนไพร  ( V.1.101202)

Data Communications and Networks :: Mr.Parinya Noidonphrai (www.freebsd.sru.ac.th)

IEEE 802.3 ใชบน Topology แบบ BUS และแบบstar ใชหลก

ก รสงขอมลแบบ CSMA/CDทมคว มเรว 10 Mbps หรอ 100 Mbps Fast Ethernet (IEEE802.3u) ฮ รดแวรทใชจะตองรองรบแบบใด แบบหนงหรอทงสองแบบ

Page 19: อ.ปริญญา  น้อยดอนไพร  ( V.1.101202)

Data Communications and Networks :: Mr.Parinya Noidonphrai (www.freebsd.sru.ac.th)

IEEE 802.3 (ตอ)สำ หรบก รเดนส ยสญญ ณและคว มหม ย

ของรหสม ตรฐ นมร ยละเอยดดงตอไปน

10Base2-Ethernet specification for thin coaxial cable, transmits signals at 10 Mbps (megabits per second) with a distance limit of185 meters per segment.

10Base5-Ethernet specification for thick coaxial cable, transmits signals at 10 Mbps (megabits per second) with a distance limit of 500 meters per segment.

Page 20: อ.ปริญญา  น้อยดอนไพร  ( V.1.101202)

Data Communications and Networks :: Mr.Parinya Noidonphrai (www.freebsd.sru.ac.th)

IEEE 802.3 (ตอ)10Base5-Ethernet

Page 21: อ.ปริญญา  น้อยดอนไพร  ( V.1.101202)

Data Communications and Networks :: Mr.Parinya Noidonphrai (www.freebsd.sru.ac.th)

IEEE 802.3 (ตอ) 10BaseF-Ethernet specification for

fiber optic cable, transmits signals at 10 Mbps(megabits per second) with a distance limit of 2000 meters per segment.

10BaseT-Ethernet specification for unshielded twisted pair cable (category 3, 4, or 5) ,transmits signals at 10 Mbps ( megabits per second) with a distance limit of 100metersper segment.

100BaseT-Ethernet specification for unshielded twisted pair cabling that is used to transmit data at 100 Mbps (megabits per second) with a distance limit of 100 meters per segment

Page 22: อ.ปริญญา  น้อยดอนไพร  ( V.1.101202)

Data Communications and Networks :: Mr.Parinya Noidonphrai (www.freebsd.sru.ac.th)

IEEE 802.3 (ตอ) 100BaseTX-Ethernet specification for

unshielded twisted pair cabling that is used to transmit data at 1 Gbps (gigabits per second) with a distance limitation of 220 meters per segment

Page 23: อ.ปริญญา  น้อยดอนไพร  ( V.1.101202)

IEEE 802.5

Page 24: อ.ปริญญา  น้อยดอนไพร  ( V.1.101202)

Data Communications and Networks :: Mr.Parinya Noidonphrai (www.freebsd.sru.ac.th)

IEEE 802.5 พฒน ขนโดย IBM ก รเชอมตอ (Topology) เปน

แบบ Ring ใชก รเชอมส ยรอยเปนวงหรออ จใชก รเชอมตอโดยใช HUB ซงเปนแบบเฉพ ะใชรวมกบแบบอนไมได หรอเรยกว Media Access Unit (MAU) มคว มเรวในก รสงรบขอมล 4 Mbps และ 16 Mbps

Page 25: อ.ปริญญา  น้อยดอนไพร  ( V.1.101202)

Data Communications and Networks :: Mr.Parinya Noidonphrai (www.freebsd.sru.ac.th)

มาตรฐาน EIA (THE ELECTRONICS INDUSTRIES ASSOCIATION) เปนองคกรกำ หนด

ม ตรฐ นทเกยวของกบอปกรณด นฮ รดแวร อปกรณท งด นโทรคมน คม และก รสอส รของเครองคอมพวเตอร

ม ตรฐ นของ EIA มกจะขนตนดวย EIS หรอ RS (Recommended Standard) เชน RS-232 ทใชในก รเชอมโยงก รสอส รแบบอนกรม เปนตน

Page 26: อ.ปริญญา  น้อยดอนไพร  ( V.1.101202)

Data Communications and Networks :: Mr.Parinya Noidonphrai (www.freebsd.sru.ac.th)

EIA/TIA T568A และ T568Bม ตรฐ นกำ หนดเพอก รเข หวทถกตองและม

ประสทธภ พไวดวย ซงก รเข หว UTP นนมอย 2 ม ตรฐ น คอ EIA/TIA T568A และ T568B ร ยละเอยดเกยวกบก รเรยงลำ ดบส ย ดงแสดงในภ พ ดงตอไปน

Page 27: อ.ปริญญา  น้อยดอนไพร  ( V.1.101202)

Data Communications and Networks :: Mr.Parinya Noidonphrai (www.freebsd.sru.ac.th)

EIA/TIA T568A และ T568B (ตอ)

ทมา :: เอกสาร INTERLINK NEWS, VOL10 NO118 JULY 2008

ตวอยาง

Page 28: อ.ปริญญา  น้อยดอนไพร  ( V.1.101202)

Data Communications and Networks :: Mr.Parinya Noidonphrai (www.freebsd.sru.ac.th)

EIA/TIA T568A และ T568B (ตอ) UTP Crossover and Straight Cable UTP cabling connections are specified

by the Electronics Industry Alliance/Telecommunications Industry Association (EIA/TIA). The RJ-45 connector is the male component crimped on the end of the cable. When viewed from the front, the pins are numbered from 8 to 1. When viewed from above with the opening gate facing you, the pins are numbered 1 through 8, from left to right. The orientation is important to remember when identifying a cable. Here EIA/TIA has two standards for UTP cable

ทม :: http://netcom4us.com/utp-crossover-and-straight-cable/

Page 29: อ.ปริญญา  น้อยดอนไพร  ( V.1.101202)

Data Communications and Networks :: Mr.Parinya Noidonphrai (www.freebsd.sru.ac.th)

EIA/TIA T568A และ T568B (ตอ)

ทม :: http://netcom4us.com/utp-crossover-and-straight-cable/

Page 30: อ.ปริญญา  น้อยดอนไพร  ( V.1.101202)

Data Communications and Networks :: Mr.Parinya Noidonphrai (www.freebsd.sru.ac.th)

EIA/TIA T568A และ T568B (ตอ) To achieve crossover connection with

UTP cable, one end must be terminated as EIA/TIA T568 pin out, and the other end terminated with T568B pin out. To summarize, UTP crossover cable directly connect same type of device on LAN such switch to switch, switch to hub, hub to hub, router to router Ethernet port connection, computer to computer and computer to a router Ethernet port. See the picture below!ทม :: http://netcom4us.com/utp-crossover-and-straight-cable/

Page 31: อ.ปริญญา  น้อยดอนไพร  ( V.1.101202)

Data Communications and Networks :: Mr.Parinya Noidonphrai (www.freebsd.sru.ac.th)

EIA/TIA T568A และ T568B (ตอ) An UTP straight cable

has connectors on each end that are terminated the same in accordance with either the T568A or T568B standards. Use an UTP straight cable when connecting different type of device such switch to a router Ethernet port, computer to switch and computer to hub. See the picture.

ทม :: http://netcom4us.com/utp-crossover-and-straight-cable/

Page 32: อ.ปริญญา  น้อยดอนไพร  ( V.1.101202)

Data Communications and Networks :: Mr.Parinya Noidonphrai (www.freebsd.sru.ac.th)

EIA/TIA T568A และ T568B (ตอ)

ทม :: http://www.situsinformasiinternet.com/2009/08/how-to-making-network-cable-utp-rj45.html

How to makePrepare the UTP cable along which

we want to use. The most important rule should note the length of the cable, that is at least 1 meter and a maximum of 100 meters. If more than 100 meters, the level of LOS (Loss of Signal) be high.

In short, I explain through the following stages :

1. Cut the length of cable;2. Use Cable stripper for UTP cable

skin (see picture);

Page 33: อ.ปริญญา  น้อยดอนไพร  ( V.1.101202)

Data Communications and Networks :: Mr.Parinya Noidonphrai (www.freebsd.sru.ac.th)

EIA/TIA T568A และ T568B (ตอ)

ทม :: http://www.situsinformasiinternet.com/2009/08/how-to-making-network-cable-utp-rj45.html

Page 34: อ.ปริญญา  น้อยดอนไพร  ( V.1.101202)

Data Communications and Networks :: Mr.Parinya Noidonphrai (www.freebsd.sru.ac.th)

EIA/TIA T568A และ T568B (ตอ)

ทม :: http://www.situsinformasiinternet.com/2009/08/how-to-making-network-cable-utp-rj45.html

To make cable Straight Through Cable we stay cables such as composing a picture to the second end T568B (T568B – T568B) and to make a Crossover Cable, Arrange a cable to the end of the first order in the image T568A and T568B one edge (T568A – T568B).

Once arranged neatly and in accordance with the order of the color, make sure that the tip end of the cable is flat. If not the average, cut using the Crimping Tool.

Page 35: อ.ปริญญา  น้อยดอนไพร  ( V.1.101202)

Data Communications and Networks :: Mr.Parinya Noidonphrai (www.freebsd.sru.ac.th)

EIA/TIA T568A และ T568B (ตอ)THEN, ENTER THE PLUG IN THE RJ-45 CRIMPING TOOL AND PUSH HANDLE FROM CRIMPING TOOL WITH STRONG ENOUGH, SO THAT THE COPPER PIN CLAMP CLOSELY WITH UTP CABLE. DO THE SAME THING ON THE TIP OF ONE

Page 36: อ.ปริญญา  น้อยดอนไพร  ( V.1.101202)

Data Communications and Networks :: Mr.Parinya Noidonphrai (www.freebsd.sru.ac.th)

EIA/TIA T568A และ T568B (ตอ)

ทม :: http://www.situsinformasiinternet.com/2009/08/how-to-making-network-cable-utp-rj45.html

Last stage is to test the cable network that was created by using the network cable tester. How very easy to use, enter the second end of the connector on each – for each port on the RJ-45 tester and turn the tester, note the second part of the indicator lamp 8 lights plus 1 indicator lights for grounding. If all the lights in a sequence of life on both tester, means for making the type of cable Straight Through has been successful.

Page 37: อ.ปริญญา  น้อยดอนไพร  ( V.1.101202)

รหสส กลทใชในก รสงสญญ ณขอมลคอมพวเตอร

Page 38: อ.ปริญญา  น้อยดอนไพร  ( V.1.101202)

Data Communications and Networks :: Mr.Parinya Noidonphrai (www.freebsd.sru.ac.th)

รหสสากลทใชในการสงสญญาณขอมลคอมพวเตอรรหส (Code) ส กลรปแบบแรกทเกดขนใน

โลกก รสอส รขอมล คอ รหสมอส (Morse Code)

ปจจบน คว มก วหน ท งเทคโนโลย ขอมลข วส รส ม รถเปนไดทง ตวอกษร ตวเลข สญลกษณ (รวมเรยกว อกขระ)

เพอคว มเหม ะสมในก รสอส รขอมล จงมก รแปลงอกขระ ใหเปนสญญ ณพลสไฟฟ หรอบต (bit) แทนรหส รหสส กลในก รสอส รขอมลคอมพวเตอรไดแก รหสแอสก (ASSCII) รหสโบดอต (Baudot) รหสเอบซดก (EBCDIC)

Page 39: อ.ปริญญา  น้อยดอนไพร  ( V.1.101202)

Data Communications and Networks :: Mr.Parinya Noidonphrai (www.freebsd.sru.ac.th)

รหสแอสก (ASSCII CODE)รหสแอสก (ASSCII Code) ยอม จ ก

American Standard Code for Information Interchange

เปนรหสม ตรฐ น กำ หนดขนโดยองคกร ANSI ประกอบดวยรหส 7 บต + 1 พ รตบต รวมเท กบ 8 บต ตอหนงอกขระ

แตละบตจะแทนดวยเลข 0 หรอ 1จำ นวนอกขระหรอสญลกษณทงหมดทแทน

ดวยรหสแอสก คำ นวณไดจ ก 7 บตแรกทเปน 0 หรอ 1 คอ 27 = 128

Page 40: อ.ปริญญา  น้อยดอนไพร  ( V.1.101202)

Data Communications and Networks :: Mr.Parinya Noidonphrai (www.freebsd.sru.ac.th)

รหสแอสก (ASSCII CODE) ตอจำ นวนอกขระหรอสญลกษณทงหมดทแทน

ดวยรหสแอสก คำ นวณไดจ ก 7 บตแรกทเปน 0 หรอ 1 คอ 27 = 128

แบงเปนตวอกขระทพมพได 96 อกขระ และอกขระควบคม (Control Characters) อก 32 อกขระ

ขอมลเพมเตม http://en.wikipedia.org/wiki/ASCII

Page 41: อ.ปริญญา  น้อยดอนไพร  ( V.1.101202)

Data Communications and Networks :: Mr.Parinya Noidonphrai (www.freebsd.sru.ac.th)

Page 42: อ.ปริญญา  น้อยดอนไพร  ( V.1.101202)

Data Communications and Networks :: Mr.Parinya Noidonphrai (www.freebsd.sru.ac.th)ทม ::http://www.asciitable.com/

Page 43: อ.ปริญญา  น้อยดอนไพร  ( V.1.101202)

Data Communications and Networks :: Mr.Parinya Noidonphrai (www.freebsd.sru.ac.th)

รหสโบดอต (BAUDOT CODE)รหสโบดอตเปนม ตรของ CCITT ใชในระบบ

โทรเลข ประกอบดวยรหส 5 บต ดงนนจงใชแทนรหสได 25 = 32 อกขระ

เพมอกขระขนอก 2 อกขระ ประกอบดวย 11111 หรอ LS (Letter Shift Character) เพอเลอกเปลยนเปนกลมขระตวพมพเลก (Lowercase)

11011 หรอ FS (Figure Shift Character) เพอเลอกเปลยนเปนกลมขระตวพมพใหญ (Uppercase)

Page 44: อ.ปริญญา  น้อยดอนไพร  ( V.1.101202)

Data Communications and Networks :: Mr.Parinya Noidonphrai (www.freebsd.sru.ac.th)

รหสโบดอต (BAUDOT CODE) ตอจ กกรณดงกล วจะเหนไดว มรหสแทนอกขระ

เพมอก 32 อกขระ โดยมอกขระซำ กบกลมอกขระเดม 6 อกขระ ดงนนรหสโบดอตจงส ม รถใชแทนอกขระไดทงหมด 32 + 32 – 6 = 58 อกขระ

สำ หรบรหสโบดอตทก รสอส รแหงประเทศไทยใชจะเปนขน ด 6 บต

ขอมลเพมเตมไดท http://en.wikipedia.org/wiki/Baudot_code

Page 45: อ.ปริญญา  น้อยดอนไพร  ( V.1.101202)

Data Communications and Networks :: Mr.Parinya Noidonphrai (www.freebsd.sru.ac.th)

รหสโบดอต (BAUDOT CODE) ตอ

Page 46: อ.ปริญญา  น้อยดอนไพร  ( V.1.101202)

Data Communications and Networks :: Mr.Parinya Noidonphrai (www.freebsd.sru.ac.th)

รหสเอบซดก (EBCDIC)EBCDIC ยอม จ ก Extended Binary

Coded Decimal Interchange Code พฒน โดยบรษท IBM (used on IBM mainframe operating systems)

รหสเอบซดกมขน ด 8 บตตอหนงอกขระ บตท 9 เปนพ รตบต

ดงนนส ม รถใชแทนอกขระได 28 = 256 อกขระ หรอสองเท ของรหสแอสก

รหสเอบซดกถอว เปนรหสม ตรฐ นในก รเข รหสตวอกษรของเครองคอมพวเตอรในปจจบน

Page 47: อ.ปริญญา  น้อยดอนไพร  ( V.1.101202)

Data Communications and Networks :: Mr.Parinya Noidonphrai (www.freebsd.sru.ac.th)

รหสเอบซดก (EBCDIC) (ตอ) ตวอย ง --->

ทม ::http://andrewgray.name/odds_and_ends/ebcdic.html

Page 48: อ.ปริญญา  น้อยดอนไพร  ( V.1.101202)

Data Communications and Networks :: Mr.Parinya Noidonphrai (www.freebsd.sru.ac.th)

Q/A