English Theoretical Concept & Technical Breakdown:
Created by the International Organization for Standardization (ISO), the Open Systems Interconnection model decouples complex network communication into seven independent functional layers.
| Layer Number & Name | Primary Functionality | Protocol Data Unit (PDU) | Associated Protocols & Hardware |
|---|---|---|---|
| **7. Application Layer** | Human-computer interface; presents network services directly to software applications. | Data (پیغام) | HTTP, HTTPS, DNS, SMTP, FTP, Telnet |
| **6. Presentation Layer** | Character translation, data compression, and cryptographic encryption/decryption. | Data | SSL, TLS, ASCII, Unicode, JPEG, MP3 |
| **5. Session Layer** | Initiates, manages, checkpoints, and terminates interactive communication sessions. | Data | NetBIOS, RPC, Sockets |
| **4. Transport Layer** | End-to-end transport reliability, packet sequencing, flow control, and port multiplexing. | Segments (سیگمنٹس) | TCP (Reliable), UDP (Fast, Connectionless) |
| **3. Network Layer** | Logical addressing (IP address) and dynamic routing across intermediate networks. | Packets (پیکٹس) | IPv4, IPv6, ICMP, Routers |
| **2. Data Link Layer** | Physical MAC addressing, error detection, data framing, and media access control. | Frames (فریمز) | Ethernet (802.3), Wi-Fi (802.11), Switches, Bridges |
| **1. Physical Layer** | Electrical transmission of raw binary bits over copper, fiber optics, or radio airwaves. | Bits (0s and 1s) | Twisted Pair, Coaxial, Fiber, Hubs, Modems |
**Data Encapsulation Principle:** When an application generates a message, it travels DOWN the sender stack (Layers 7 to 1). Each layer prepends its own control header (and trailer at Layer 2). At the destination, the packet travels UP the stack (Layers 1 to 7) where each layer strips off its corresponding header (Decapsulation).
آسان اردو میں مکمل اور تفصیلی وضاحت:
بین الاقوامی ادارہ برائے معیار سازی (ISO) نے کمپیوٹر نیٹ ورکنگ کے پیچیدہ نظام کو ۷ درجات (Layers) میں تقسیم کیا ہے تاکہ مختلف کمپنیوں کے کمپیوٹر آپس میں آسانی سے رابطہ کر سکیں:
۱. **ایپلیکیشن لیئر (Layer 7):** صارف اور انٹرنیٹ کے درمیان براہِ راست رابطہ (جیسے براؤزر، واٹس ایپ، ای میل)۔
۲. **پریزنٹیشن لیئر (Layer 6):** ڈیٹا کا ترجمہ، فائل کو چھوٹا کرنا (Compression) اور خفیہ بنانا (Encryption جیسے SSL/TLS)۔
۳. **سیشن لیئر (Layer 5):** دو کمپیوٹرز کے درمیان رابطہ شروع کرنا، برقرار رکھنا اور صحیح طریقے سے بند کرنا۔
۴. **ٹرانسپورٹ لیئر (Layer 4):** پورے ڈیٹا کو چھوٹے چھوٹے ٹکڑوں یعنی سیگمنٹس (Segments) میں بانٹنا اور ڈیٹا پہنچنے کی تصدیق کرنا (TCP اور UDP)۔
۵. **نیٹ ورک لیئر (Layer 3):** ڈیٹا کے ٹکڑوں پر بھیجنے والے اور وصول کنندہ کا آئی پی ایڈریس (IP Address) لگانا اور راؤٹر کے ذریعے بہترین راستہ تلاش کرنا (Packets)۔
۶. **ڈیٹا لنک لیئر (Layer 2):** ہارڈویئر کے میک ایڈریس (MAC Address) کی مدد سے ڈیٹا کو فریمز (Frames) میں بدلنا اور سوئچ کے ذریعے آگے بھیجنا۔
۷. **فزیکل لیئر (Layer 1):** ڈیٹا کو برقی سگنلز، روشنی کی لہروں (Fiber Optic) یا ریڈیو ویوز کی شکل میں بٹس (0s اور 1s) کی صورت میں تار پر بھیجنا۔