240 likes | 250 Views
Learn the basics of data communication, communication systems, encoding methods, protocols, OSI model, and network standards.
E N D
LE324 Data communication and networks Jarree Chaicharn, Ph.D. รศ ดร จรี ไชยชาญ http://www.jarree.ee.engr.tu.ac.th/LE517/
Syllabus Introduction to Data Communication Communication system Source Coding Channel Coding Line Coding Data transmission Data Communication Interfacing Data Link control (HDLC) Midterm examination
Packet switching • X.25 • LAN Technology • Internetworking • TCP/IP • Delay models in data network
Midterm Examination 40 % • Homework & Quiz 10% • Final Examination 40% • Project 10% • Presentation 21 November2018
What is data communication? • Components • Message • Sender • Receiver • Medium • Protocol Medium Sender Receiver
Protocol • A set of rules that govern data communication • Syntax: data format • Semantics: control information for coordination and error handling • Timing: speed matching and sequencing
Communication system Source encoding Channel encoding Line encoding Source Modulation Channel Source decoding Channel decoding Line decoding Receiver Demodulation
Data networks • Performance • Number of users • Type of transmission medium • Capability of the connected hardware • Efficiency of the software • Reliability • Frequency of failure • Recovery time of a network after failure • Unforeseen damage (Fire, earthquake) • Security • Unauthorized access • Viruses
Standards organizations • The international Telecommunications Union-Telecommunication Standards sector (ITU-T formerly CCITT) • Related to the united nations that develops standards for telecommunications (V series, V.32 V.33 V.42 and X series X.25 X.400 X.500)
Standards organizations • The international standards organization (ISO) Dedicated to worldwide agreement on international standards in variety of fields Open system interconnection (OSI) model
OSI model • Is a layered framework for the design of network system • To open communication between different systems without requiring changes to the logic of underlying hardware and software
Layers of the OSI model 7 Application layer 6 Presentation layer 5 Session layer User support layers 4 Transport layer 3 Network layer 2 Data Link layer 1 Physical layer Network support layers
Application Layer • Provide user interfaces and support for services User Application layer L7 data To presentation layer
Presentation layer • Translation (format and code conversion) • Encryption • Compression L7 data Encoded, encrypted,compressed data H6 L6 data To session layer
Session Layer Provides the control structure for communication between applications; • Establishes, Manages and terminates a session • Synchronizes L6 data H5 syn syn syn L5 data To transport layer
Transport layer End-to end delivery, The entire message arrives at the receiving transport layer without error • Service-point addressing; specific process • Divides the message from session layer into transmittable segments • Connection control • Flow control (End-to-End) • Error control (End-to-End) Transmission control protocol (TCP) L5 data H4-1 H4-2 H4-3 L4 data L4 data L4 data To network layer
Network layer Source-to destination delivery of a packet • Network addressing • Routing: route the packets to their final destination L4 data Data H3 L3 data To data link layer
Addressing E A= network address 10=Physical address A 10 20 T2 Data A P 10 20 R 99 G T2 Data A P 99 33 H 33 R T2 Data A P 66 95 66 P M 95
Data link layer • Responsible for node-to-node delivery, error-free, reliable transmission (HDLC) • Framing: divides the stream of bits • Physical addressing: Sender and destination address • Flow control: Prevent overwhelming the receiver • Error control: Detect and retransmit damaged or lost frame (Trailer) • Access control L3 data Sender and destination address T2 Data S D To physical layer
Physical layer • Mechanical and Electrical specifications of the interface and transmission medium • Defines the procedures and functions that physical devices and interface has to perform for transmission to occur EIA-232 L2 data 10011000111100101
User Web Browser Application Get Web Page TCP Layer Get Web Page TCP Header IP Layer IP Header TCP Header Get Web Page Interface Layer LAN Header IP Header TCP Header Get Web Page LAN Trailer Local Router Interface Layer WAN WAN Header IP Header TCP Header Get Web Page
Web Page Get Web Page TCP Layer Get Web Page TCP Header IP Layer IP Header TCP Header Get Web Page Interface Layer LAN Header IP Header TCP Header Get Web Page LAN Trailer Remote Router Interface Layer WAN Header IP Header TCP Header Get Web Page