ការទំនាក់ទំនង
ទិន្នន័យ
Data Communication គឺជាការបញ្ជូន និងទទួលទិន្នន័យ (Data) រវាងឧបករណ៍ ឬប្រព័ន្ធ ២ ឬ ច្រើន ដោយប្រើ Medium (ខ្សែ/ខ្យល់) — គ្របដណ្ដប់ Signals, Protocols, Network Layers, Security, Wireless, 5G Network ។
- Data Communication គឺជាអ្វី
- Signal Analog vs Digital
- Transmission Media (Wired/Wireless)
- Digital Encoding Techniques
- Multiplexing (TDM/FDM/WDM)
- Data Link Layer, MAC Address
- Network Layer, IP Address, Routing
- Transport Layer, TCP vs UDP
- Wireless Technology, WiFi Standards
- OSI Model 7 Layers & TCP/IP
- Network Security, Encryption
- Protocol Suite (HTTP/HTTPS/FTP/DNS)
- Error Detection (CRC, Hamming)
- Internet, Cloud, SDN
- 5G, IoT, Future Networks
- Packet Tracer / Wireshark
- Network Simulation Tools
- Real-world Protocol Analysis
- IP Addressing & Subnetting
ការណែនាំ
Data Communication
ស្វែងយល់ពី Data Communication គឺជាអ្វី, គ្រប់ Component, Direction, Bandwidth, Throughput, Latency ។
Data Communication គឺជាដំណើរការផ្ញើ (Transmit) និងទទួល (Receive) ទិន្នន័យ (Data) ពី Source ទៅ Destination ដោយប្រើ Transmission Medium ។
Source
Transmitter
Channel
Receiver
Destination
- Message — ព័ត៌មាន/ទិន្នន័យ (text, image, video, audio)
- Sender — ឧបករណ៍ផ្ញើ (computer, phone)
- Receiver — ឧបករណ៍ទទួល
- Medium — ច្រកបញ្ជូន (cable, wifi)
- Protocol — ច្បាប់ / Rule (TCP/IP)
ផ្ញើបានតែ ទិសតែមួយ ។ ឧ: Keyboard → Computer, TV Broadcast
ផ្ញើម្ខាងម្ដង, មិនអាចស្ដាប់ + និយាយ ក្នុងពេលតែមួយ ។ ឧ: Walkie-Talkie
ផ្ញើទាំងពីរទិសក្នុងពេលតែមួយ ។ ឧ: Phone Call, Chat
| ពាក្យ | និយមន័យ | ឯកតា | ឧទាហរណ៍ |
|---|---|---|---|
| Bandwidth | ចំនួន Data អតិបរមា ដែលបញ្ជូនបាន/វិនាទី | bps, Kbps, Mbps, Gbps | 100 Mbps Connection |
| Throughput | ចំនួន Data ដែលបញ្ជូនបានពិតប្រាកដ | bps | ទូទៅ < Bandwidth |
| Latency | ពេលវេលារង់ចាំ (Delay) ក្នុងការបញ្ជូន | ms (milliseconds) | Ping 20ms |
| Jitter | ការប្រែប្រួលនៃ Latency | ms | Video call quality |
| BER | Bit Error Rate — កំហុស bits ក្នុង 1 second | ratio | 10⁻⁶ |
សញ្ញាន (Signals)
Analog Signal, Digital Signal, Periodic/Aperiodic, Frequency, Amplitude, Phase, Modulation Techniques ។
Analog Signal ជា Signal ដែលមានតម្លៃ ប្រែប្រួលជាបន្ដបន្ទាប់ (Continuous) — ដូចជា Wave ។
- Amplitude (A) — កម្ពស់ Wave
- Frequency (f) — Hz — ចំនួនវដ្ដ/វិនាទី
- Period (T) — T = 1/f
- Phase (φ) — ទីតាំងចាប់ផ្ដើម Wave
Digital Signal ជា Signal ដែលមានតម្លៃ ថេរ 2 ប្រភេទ — High (1) ឬ Low (0) ។
- Bit Rate — bps (bits per second)
- Bit Length — ចម្ងាយ 1 bit ក្នុង Medium
- 0 / 1 — ច្បាស់លាស់, ងាយ Error Correct
- ប្រើក្នុង Computer Networks
Modulation គឺការបំប្លែង Digital → Analog ដើម្បីបញ្ជូនតាម Analog Channel (ឧ: Telephone, Radio) ។
| Modulation | ការបំប្លែង | ការប្រើប្រាស់ |
|---|---|---|
ASK — Amplitude Shift Keying | ប្ដូរ Amplitude (0=Low, 1=High) | Optical Fiber |
FSK — Frequency Shift Keying | ប្ដូរ Frequency (0=f₁, 1=f₂) | Radio, Modem |
PSK — Phase Shift Keying | ប្ដូរ Phase (0=0°, 1=180°) | WiFi, Satellite |
QAM — Quadrature Amplitude Mod | ប្ដូរ Amplitude + Phase | Cable Modem, LTE |
QAM-64 ប្រើ 64 Signal States → ផ្ញើបាន 6 bits ក្នុង 1 Symbol ។ ប្រើក្នុង 4G LTE, Cable TV ។
Transmission Media
Wired Media (Twisted Pair, Coaxial, Fiber Optic) និង Wireless Media (Radio, Microwave, Infrared, Satellite) ។
| ប្រភេទ | Bandwidth | ចម្ងាយ | ការប្រើប្រាស់ | គុណសម្បត្តិ |
|---|---|---|---|---|
| Twisted Pair (UTP/STP) | Cat5e: 1 Gbps Cat6: 10 Gbps |
100 m | LAN, Telephone, DSL | ថោក, ងាយដំឡើង |
| Coaxial Cable | Up to 10 Gbps | 500 m – km | Cable TV, Internet | Noise ទាប |
| Fiber Optic | Tbps+ | 100+ km | WAN, Backbone, Internet | លឿន, ចម្ងាយឆ្ងាយ, មិន Interfere |
Unshielded Twisted Pair — ខ្សែ Copper ២ ចំណូលប្រជែ ។ Cat5e (1Gbps), Cat6 (10Gbps), Cat8 (40Gbps) ។
មាន Inner Conductor, Insulator, Shield, Outer Jacket ។ ប្រើ Cable TV, Old Ethernet (10Base2) ។
ប្រើ Light (photon) ជំនួស Electricity ។ Single-mode (ចម្ងាយ) vs Multi-mode (ខ្លី) ។
| ប្រភេទ | Frequency | ចម្ងាយ | ការប្រើប្រាស់ |
|---|---|---|---|
| Radio Wave | 3 kHz – 1 GHz | គ្មានដែន | FM Radio, WiFi, LTE |
| Microwave | 1 GHz – 300 GHz | 50+ km | Satellite, 5G Backhaul, WiMAX |
| Infrared | 300 GHz – 400 THz | ខ្លី (ចន្លោះ) | Remote Control, IrDA |
| Satellite | ខ្ញបៗ | Global | GPS, Starlink, DirectTV |
Digital Encoding
Line Coding (NRZ, RZ, Manchester, Differential Manchester), Block Coding, Scrambling ។
| Scheme | ការពិពណ៌នា | DC Component | Sync |
|---|---|---|---|
NRZ-L (Non-Return-to-Zero Level) |
1=High, 0=Low — ថេរ | មាន | ខ្សោយ |
NRZ-I (NRZ Inverted) |
1=ប្ដូរ Level, 0=ថេរ | មាន | ប្រសើរ |
Manchester |
1=High→Low, 0=Low→High ។ Transition ពាក់កណ្ដាល bit | គ្មាន | ល្អ |
Differential Manchester |
1=គ្មាន Transition ដើម, 0=មាន Transition ដើម | គ្មាន | ល្អ |
AMI (Alternate Mark Inversion) |
0=Zero Voltage, 1=+/-V ស្លប់គ្នា | គ្មាន | មធ្យម |
4B/5B |
រៀងរាល់ 4 bits encode ជា 5 bits | គ្មាន | ល្អ |
Input
Nyquist
Level
Binary
Output
Multiplexing
FDM, TDM, WDM, OFDM — ការចែករំលែក Bandwidth ក្នុង Single Medium ។
| ប្រភេទ | ការពណ៌នា | ការប្រើប្រាស់ |
|---|---|---|
| FDM Frequency Division |
ចែក Bandwidth ជា Sub-Channels តាម Frequency ។ ស្ដើៗ run ក្នុងពេលតែមួយ | Cable TV, Analog Phone, FM Radio, DSL |
| TDM Time Division |
ចែក Time ជា Slots ។ User ម្នាក់ប្រើ Slot ១ ។ Synchronous vs Statistical | T1/E1 Line, ISDN, GSM |
| WDM Wavelength Division |
Fiber Optic — ចែក Wavelength (Color) ។ DWDM: 100+ channels per fiber | Fiber Optic Internet Backbone |
| OFDM Orthogonal FDM |
Sub-carriers ចំហៀៗ គ្នា (Orthogonal) — ប្រឆាំង Multipath | WiFi (802.11a/g/n/ac), 4G LTE, 5G |
| CDMA Code Division |
User ម្នាក់ប្រើ Code (Chip Sequence) ពិសេស — share Frequency+Time | 3G, GPS, CDMA Phone |
FDM — ចែក Frequency
TDM — ចែក Time Slots
T1
T2
T3
T4
T5
T6
Data Link Layer
OSI Layer 2, Framing, MAC Address, Ethernet, CSMA/CD, CSMA/CA, Error Detection, Flow Control ។
Data Link Layer ទទួលខុសត្រូវ: Framing (ដាក់ Data ជា Frame), Physical Addressing (MAC Address), Error Control, Flow Control, Access Control ។
48-bit Hardware Address ។ ប្រើ Hexadecimal ។
OUI (3 bytes) + NIC (3 bytes)
Collision Detection — ប្រើដោយ Ethernet (Wired) ។
- Carrier Sense — ស្ដាប់ Medium
- Multiple Access — ច្រើននាក់ share
- Collision Detection — ស្ដាប់ Collision
- ប្រសិន Collision → Stop → Wait Random → Retry
Collision Avoidance — ប្រើដោយ WiFi (Wireless) ។
- ស្ដាប់ Medium មុនផ្ញើ
- ប្រើ RTS/CTS (Request/Clear To Send)
- Random Backoff ជៀសវាង Collision
- ACK បញ្ជាក់ទទួល Frame
Network Layer & IP
IP Address (IPv4/IPv6), Subnetting, CIDR, Routing Protocols (RIP, OSPF, BGP), NAT, ARP ។
IPv4 ជា 32-bit address ។ សរសេរជា Dotted Decimal ។ មាន 4.3 Billion addresses ។
11000000.10101000.00000001.01100100
| Class | Range | Default Mask | ប្រើ |
|---|---|---|---|
A | 1.0.0.0 – 126.255.255.255 | /8 (255.0.0.0) | Large Network |
B | 128.0.0.0 – 191.255.255.255 | /16 (255.255.0.0) | Medium Network |
C | 192.0.0.0 – 223.255.255.255 | /24 (255.255.255.0) | Small Network |
D | 224.0.0.0 – 239.255.255.255 | — | Multicast |
E | 240.0.0.0 – 255.255.255.255 | — | Reserved/Research |
192.168.1.0/25 → 128 hosts per subnet × 2 subnets
Usable hosts = 2ⁿ – 2 (ដក Network + Broadcast)
128-bit = 340 Undecillion addresses ។ Format: 2001:db8::1
- No NAT needed
- Built-in IPsec Security
- Auto-configuration (SLAAC)
- Better Multicast support
- RIP — Distance Vector, max 15 hops
- OSPF — Link State, Fast Convergence
- EIGRP — Cisco Hybrid Protocol
- BGP — Internet Routing (ISP to ISP)
- ICMP — Ping, Traceroute
Transport Layer
TCP vs UDP, Port Numbers, 3-Way Handshake, Flow Control, Congestion Control, Socket ។
| Feature | TCP | UDP |
|---|---|---|
| Connection | Connection-oriented | Connectionless |
| Reliability | Reliable (ACK, Retransmit) | Unreliable (Best Effort) |
| Order | In-order delivery | No ordering |
| Speed | យឺតជាង (overhead) | លឿន (less overhead) |
| Header Size | 20 bytes+ | 8 bytes |
| Use Cases | HTTP, FTP, Email, SSH | DNS, DHCP, Video Stream, VoIP, Gaming |
TCP 4-Way Handshake ប្រើដើម្បី Close Connection — FIN → ACK → FIN → ACK ។
Wireless & WiFi
WiFi Standards (802.11), Bluetooth, WiMAX, Cellular (2G/3G/4G/5G), Infrared, Satellite Internet ។
| Standard | ឈ្មោះ | Frequency | Max Speed | Range |
|---|---|---|---|---|
802.11b | WiFi 1 | 2.4 GHz | 11 Mbps | 35m |
802.11a | WiFi 2 | 5 GHz | 54 Mbps | 35m |
802.11g | WiFi 3 | 2.4 GHz | 54 Mbps | 38m |
802.11n | WiFi 4 | 2.4/5 GHz | 600 Mbps | 70m |
802.11ac | WiFi 5 | 5 GHz | 3.5 Gbps | 35m |
802.11ax | WiFi 6/6E | 2.4/5/6 GHz | 9.6 Gbps | 35m+ |
802.11be | WiFi 7 | 2.4/5/6 GHz | 46 Gbps | 35m+ |
OSI Model & TCP/IP
OSI 7 Layers, TCP/IP 4 Layers, Protocol ក្នុងនីមួយៗ Layer, Data Encapsulation, PDU Names ។
| TCP/IP Layer | OSI Layers | PDU Name | Devices |
|---|---|---|---|
| Application | 7 + 6 + 5 | Data / Message | Server, PC |
| Transport | 4 | Segment (TCP) / Datagram (UDP) | Firewall |
| Internet | 3 | Packet | Router |
| Network Access | 2 + 1 | Frame / Bit | Switch, Hub |
Network Security
Threats (DoS, MITM, Phishing), Encryption (Symmetric/Asymmetric), Firewall, VPN, SSL/TLS, Digital Signature ។
- DoS/DDoS — Flood packets ធ្វើ Server ដាច់
- MITM — Man-in-the-Middle intercept
- Replay Attack — ចម្លង + ផ្ញើ Packet ម្ដងទៀត
- Spoofing — ក្លែងបន្លំ IP/MAC
- Eavesdropping — ស្ដាប់ Traffic
- Traffic Analysis — វិភាគ Pattern
- Phishing — ក្លែង Website
- Sniffing — ចាប់ Packets
ប្រើ Key តែមួយ Encrypt & Decrypt ។ លឿន ប៉ុន្ដែ Key Exchange ពិបាក ។
ប្រើ Public + Private Key Pair ។ Public Key Encrypt, Private Key Decrypt ។ យឺត ប៉ុន្ដែ Safe ។
HTTPS ប្រើ Hybrid Encryption — Asymmetric (RSA/ECC) ដើម្បី Exchange Session Key, បន្ទាប់មកប្រើ Symmetric (AES) Encrypt Data ។
Protocol Suite
HTTP/HTTPS, FTP, SMTP/POP3/IMAP, DNS, DHCP, SSH, SNMP — Port Numbers & Functions ។
| Protocol | Port | Transport | ការប្រើប្រាស់ |
|---|---|---|---|
HTTP | 80 | TCP | Web Pages (Unencrypted) |
HTTPS | 443 | TCP/TLS | Secure Web (SSL/TLS) |
FTP | 20/21 | TCP | File Transfer |
SFTP/SCP | 22 | TCP/SSH | Secure File Transfer |
SSH | 22 | TCP | Secure Remote Shell |
SMTP | 25/587 | TCP | Send Email |
POP3 | 110/995 | TCP | Download Email |
IMAP | 143/993 | TCP | Email Sync (Server-based) |
DNS | 53 | UDP/TCP | Domain → IP Resolution |
DHCP | 67/68 | UDP | Auto IP Assignment |
SNMP | 161/162 | UDP | Network Management |
RDP | 3389 | TCP | Remote Desktop |
www.example.com
HIT?
Resolver
.com NS?
example.com NS?
93.184.216.34
Error Detection & Correction
Parity Bit, CRC, Hamming Code, Checksum, Forward Error Correction (FEC), ARQ Protocols ។
| Method | ការពណ៌នា | ភាព Detect | ការប្រើ |
|---|---|---|---|
| Parity Bit | បន្ថែម 1 bit ដើម្បីឱ្យ 1s ជាចំនួនគូ (Even) ឬ សេស (Odd) | 1-bit error | Simple memory check |
| Checksum | បូក bytes ទាំងអស់ → 1s complement → ផ្ញើ | Multiple bits | IP, TCP, UDP header |
| CRC (Cyclic Redundancy Check) | Polynomial Division — Remainder ជា CRC code | Burst errors | Ethernet, WiFi, Disk |
| Hamming Code | Error Detection + Correction — ប្រើ Parity bits ច្រើន | 2-bit detect, 1-bit correct | RAM ECC, Telecom |
ផ្ញើ Frame ១ → Wait ACK → ផ្ញើ Frame ២ ។ ស្ទើរ ប៉ុន្ដែ ងាយ ។
ផ្ញើ N Frames ។ Error → ផ្ញើ Error Frame + Frames ក្រោយ ម្ដងទៀត ។ Window Size = N-1 ។
ផ្ញើ Window ។ Error → ផ្ញើ Error Frame តែ ១ ។ ប្រើ Buffer ។ Efficient ជាង ។
Internet & Cloud
Internet Architecture, ISP Tiers, CDN, Cloud Computing (IaaS/PaaS/SaaS), SDN, NFV, Edge Computing ។
Infrastructure as a Service — VM, Storage, Networking ។ ឧ: AWS EC2, Azure VM, GCP Compute ។
Platform as a Service — Dev Environment, DB, Runtime ។ ឧ: Heroku, AWS Elastic Beanstalk, Google App Engine ។
Software as a Service — Ready-to-use Apps ។ ឧ: Gmail, Zoom, Salesforce, Office 365 ។
SDN (Software Defined Networking) — ញែក Control Plane ពី Data Plane ។ Network ត្រូវបានគ្រប់គ្រងដោយ Software Controller ទៅ Switches ពីចម្ងាយ ។
5G & Future Tech
5G Architecture (RAN/Core), Network Slicing, IoT, eMBB/mMTC/URLLC, 6G Research, Quantum Networking ។
Enhanced Mobile Broadband — ល្បឿន Data ខ្ពស់ (20 Gbps) ។ 8K Video, AR/VR ។
Massive Machine Type Comm — ១ km² = ១ million devices ។ IoT Sensors, Smart City ។
Ultra-Reliable Low Latency — 1ms Latency, 99.9999% Reliability ។ Self-driving, Surgery Robot ។
| Feature | 4G LTE | 5G NR | 6G (2030+) |
|---|---|---|---|
| Peak Speed | 1 Gbps | 20 Gbps | 1 Tbps |
| Latency | 30-50 ms | 1 ms | 0.1 ms |
| Frequency | 700 MHz–2.5 GHz | 1–100 GHz | 100 GHz–10 THz |
| Connection Density | 100K/km² | 1M/km² | 10M/km² |
- Quantum Key Distribution (QKD)
- Quantum Entanglement Communication
- Hack-proof Encryption
- Quantum Internet (2030+)
- Starlink (SpaceX) — LEO Satellites
- OneWeb — Global Coverage
- Amazon Kuiper
- Latency 20-40ms (LEO)
សូមអបអរ! អ្នកបានបញ្ចប់មេរៀន Data Communication ទាំងអស់ ១៥ — ពី Signal Basics រហូតដល់ 5G, Cloud, Quantum Networking! ជំហានបន្ទាប់: Computer Networks (Tanenbaum), CCNA Certification, Network+ !