This Website for Those Students who are searching for a platform to study online in their own Language Hindi, on this website they will learn all courses like IAS, programming, web designing, data science, and competitive exam preparation, etc.


OSI Model In Hindi

OSI MODEL

OSI Model





दोस्तों. आज के Post के माध्यम से हम OSI Model यानी की open system interconnection model के बारे में जानकारी प्राप्त करेंगे. इसके माध्यम से हम यह जान पाएंगे कि जो सूचना भेजता है (sender) और जो सूचना प्राप्त करता है (receiver) किस तरह से एक डाटा को send करते हैं या फिर उसको receive करते हैं.

इसके बारे में आपको थोड़ा विस्तार से बताती हूं कि आखिर OSI Model होता क्या है और ये कितने प्रकार के होते हैं |

1970 के दशक के अंत में, एक प्रोजेक्ट को International Organization for Standardization (ISO) द्वारा प्रशासित किया गया था, जबकि दूसरा इंटरनेशनल टेलीग्राफ एंड टेलिनल कंसल्टेंसी कमेटी (CCITT) ने किया था। इन दोनों इंटरनेशनल स्‍टैंडर्ड बॉडिज ने एक ऐसा नेटवर्क डेवलप किया जिसने समान नेटवर्किंग मॉडल को डिफाइन किया।

1983 में, इन दो डयॉक्‍युमेंट को मर्ज किया गया और उसे Open Systems Interconnection का बेसिक रेफरेंस मॉडल नाम दिया गया। यह स्‍टैंडर्ड आमतौर पर Open Systems Interconnection Reference Model, जिसे OSI Reference Model, या बस OSI मॉडल के रूप में जाना जाता है को रेफर करता हैं।

इसे 1984 में दोनों, ISO ने standard ISO 7498 के रूप में और CCITT (जिसे अब Telecommunications Standardization Sector of the International Telecommunication Union or ITU-T के नाम से जाना जाता हैं) ने standard X.200 के रूप में पब्लिश किया गया।

OSI के दो प्रमुख कंपोनेंट्स थे, नेटवर्किंग का ऐब्स्ट्रैक्ट मॉडल, जिसे बेसिक रेफरेंस मॉडल या सेवन-लेयर मॉडल कहा जाता है, और स्पेसिफिक प्रोटोकॉल का एक सेट।

यहाँ Open System Interconnection से मतलब है की जो भी Network hardware Company अपना कोई भी hardware develop करेगी जो Company OSI model को Follow करते हुए अपने Network Hardware Develop करेगी उनके Devices आपस में Connect हो सकेंगे ! OSI model आने से पहले जो भी Hardware Company जब कोई Hardware बनाती तो वो उसमे अपने द्वारा ही बनाये गए Network Standard और Protocol को यूज़ करते थे

जिससे Only उसी Company के द्वारा बनाये गए Hardware Connect हो सकते थे और जब कोई IT Company अलग-अलग Wanders से Hardware ख़रीद लेती तो उसको आपस में Computer को interconnect करने में परेशानी होती थी इसी समस्या के Solution के लिए एक ऐसे Network Standard की आवस्य्क्ता महसूस हुई की वह किसी भी प्रकार के Hardware से Connect हो सके !

यह एक Reference model है !इसके Reference को ध्यान में रखकर ही कम्पनिया अपने Device Develop करती रहेगी हालाँकि आज कल जो हम Network device या Computer को जो यूज़ करते है उनकी Working इसके ऊपर नहीं होती है ! हम जो आज Networking Device यूज़ करते है उनकी Working में TCP /IP Model यूज़ होता है ! OSI model के Reference से Network की Understanding बहुध ही अछि तरह से होती है इस Model का उद्देस्य Network की traveling को समझना है ! अर्थात Network में data को एक Node से दूसरे Node तक जाने में किस तरह की यात्रा करनी पड़ती है !

हम अन्य सरल सब्दो में कह सकते है की OSI Model एक Complex Network task को 7 Parts में divide कर देता है जिसको समझने में बहुध ही आसानी होती है OSI Model में 7 Layers होती है ! जिसमे हर Layer का अपने आप में यूनिक work होता है जिसको यहाँ हम विस्तार से समझेंगे यह 7 layer receiver से Sender की तरफ और Sender से Receiver की तरफ दोनों तरफ होती है

OSI मॉडल में 7 layers होती है| OSI model किसी नेटवर्क में दो यूज़र्स के मध्य कम्युनिकेशन के लिए एक reference मॉडल है।

Layers Of OSI Model.



OSI model में Seven layers होती है आईये उनके बारे में समझते है |

Classification of OSI Model

OSI Model के reference में Network की एक Complex task को 7 parts में divide किया जिसमे Network को आसानी से समझाजा सकता है इसलिए इसको Teaching model के नाम से भी जाना जाता है! osi model में



1st layer Physical Layer है

2nd Data link Layer

3rd Layer Network layer

4th Layer Transport layer

5th session Layer

6th Presentation Layer

7th Application Layer है

इन 7 layers को OSI Stack भी कहते है ! इस Model को 2 parts में Divide किया गया है

Upper layer and Lower layer



Upper layer

  • Application Layer
  • Presentation Layer
  • Session Layer


Lower Layer

  • Transport Layer
  • Network Layer
  • Data link Layer
  • Physical Layer


PHYSICAL LAYER (फिजिकल लेयर)



यह physical layer, OSI Model का सबसे lowest layer होता है, और ये पूरी तरह से concerned होता है unstructured raw bit stream की transmission और reception के लिए over एक physical medium में.

ये describe करता है electrical/optical, mechanical, और functional interfaces को इसके physical medium में, और साथ में signals को भी carry करता है सभी higher layers के लिए. Physical layer ही define करते हैं cables, network cards और physical aspects को.

ये असल में responsible होता है actual physical connection के लिए devices के बीच. ऐसी physical connection को बनाया जा सकता है twisted pair cable, fiber-optic, coaxial cable या wireless communication media के इस्तमाल से.

यह layer frames को receive करते हैं जिन्हें की Data Link layer के द्वारा भेजा गया होता है और उन्हें ये convert करती है ऐसे signals में जो की compatible होती हैं दुसरे transmission media के साथ.

जैसे की अगर एक metallic cable का इस्तमाल किया जाये, तब ये data को convert कर देगा electrical signals में; वहीँ अगर एक fiber optical cable का इस्तमाल किया गया, तब ये data को convert कर देगा luminous signals में; अगर एक wireless network का इस्तमाल किया गया, तब ये data को convert कर देगा electromagnetic signals में; और ऐसे ही आगे चलता रहेगा.

जब data receive कर रहे होते हैं, तब ये layer उस signal को receive करते हैं और उन्हें convert कर देते हैं 0s और 1s में और फिर उन्हें send कर देते हैं Data Link layer को, जो की फिर उन frame को एक साथ back together रखते हैं और फिर उसकी integrity को check करती हैं. ये X.25 protocols काम करती हैं physical, data link, और network layers में.

Functions Of Physical layer



Data Encoding

Data Encoding: ये modify करती हैं simple digital signal pattern (1s और 0s) को जिसे की PC के द्वारा इस्तमाल किया जाता है, इससे बेहतर रूप से physical medium की characteristics को accommodate किया जा सके, और साथ में इसमें bit और frame synchronization को aid भी करें.

ये इस बात को determine करता है की :
1. क्या signal state एक binary 1 को represent करता है?
2. कैसे receiving station ये जनता है कब एक “bit-time” start होता है.
3. कैसे ये receiving station delimits करता है एक frame को.



Transmission Technique

Transmission Technique: ये determine करता है की क्या encoded bits को transmit किया जाता है baseband (digital) या broadband (analog) signaling के द्वारा.


Physical Medium Transmission : ये transmit करता है bits को electrical या optical signals में जो की appropriate होते हैं physical medium के लिए, और determine करते हैं :

1. किन physical medium options का इस्तमाल किया जा सकता है.
2. कितने volts/db का इस्तमाल किया जाये जिससे की एक given signal state को represent किया जा सके , एक given physical medium के इस्तमाल से.


Protocols जिनका इस्तमाल physical layer में होता है वो हैं ISDN, IEEE 802 और IEEE 802.2.


Bit synchronization


Bit synchronization: ये physical layer प्रदान करता है synchronization of the bits, जिसके लिए वो एक clock का इस्तमाल करते हैं. ये clock control करता है दोनों transmitter और receiver जिससे की ये synchronization प्रदान करता है bit level में.


Interfaces और medium की Physical characteristics प्रदान करता है: Physical layer ये manage करता है की कैसे एक device connect होते हैं network media के साथ. उदाहरण के लिए, अगर किसी device का physical connection network से जुड़ने के लिए coaxial cable का इस्तमाल करती है,

तब hardware जो की functions करता है physical layer में उसे कुछ इस प्रकार से design किया जाये जिससे की specific type of network में काम कर सके. सभी components जिसमें connectors भी शामिल है उन्हें specify किया जाता है Physical Layer में.



Bit Rate Control

Bit rate control: Physical layer define करती है transmission rate i.e. number of bits जिन्हें send किया जाता है एक second में. ये define करती है duration of a bit को.


Line Configuration


Line configuration: Physical layer ये फिर define करती हैं की कैसे devices को connect किया जाये medium के साथ. दो different line configurations का इस्तमाल point to point configuration और multipoint configuration के लिए होता है. इसका इस्तमाल activate, maintain और deactivate करने के लिए physical connection को.


Transmission Mode


Transmission mode: Physical layer इस बात को define करती है की कैसे data flows होती है दो connected devices के बीच. इसमें जो various transmission modes possible हो सकते हैं वो हैं – Simplex, half-duplex और full-duplex.


Physical Topologies


Physical topologies: Physical layer ये specify करती है की कैसे different, devices/nodes को arranged किया जाये एक network में i.e. bus, star या mesh.


Multiplexing


Multiplexing: Physical layer अलग अलग techniques का इस्तमाल कर सकती हैं multiplexing में, जिससे की channel efficiency को improve किया जा सके.


Circuit Switching

Circuit Switching: Physical layer ये भी प्रदान करती है की circuit switching से कैसे दुसरे networks के साथ interconnect किया जा सके.

OSI model में physical लेयर सबसे निम्नतम लेयर है। यह लेयर फिजिकल तथा इलेक्ट्रिकल कनेक्शन के लिए जिम्मेदार रहता है जैसे:- वोल्टेज, डेटा रेट्स आदि।

इस लेयर में डिजिटल सिग्नल, इलेक्ट्रिकल सिग्नल में बदल जाता है।

इस लेयर में नेटवर्क की topology अर्थात layout of network(नेटवर्क का आकार) का कार्य भी इसी लेयर में होता है।

फिजिकल लेयर यह भी describe करता है कि कम्युनिकेशन wireless होगा या wired होगा।

इस लेयर को बिट यूनिट भी कहा जाता है।

Data link layer

OSI MODEL में डेटा लिंक लेयर नीचे से दूसरे नंबर की लेयर है। इस लेयर की दो sub-layers होती है:-

MAC(मीडिया एक्सेस कण्ट्रोल)
LLC(लॉजिक लिंक कण्ट्रोल)


इस लेयर में नेटवर्क लेयर द्वारा भेजे गए डेटा के पैकेटों को decode तथा encode किया जाता है तथा यह लेयर यह भी ensure करता है कि डेटा के ये पैकेट्स त्रुटि रहित हो।

इस लेयर को फ्रेम यूनिट भी कहा जाता है। इस layer में डेटा ट्रांसमिशन के लिए दो प्रोटोकॉल प्रयोग होते है.

1) high-level data link control (HDLC)

2) PPP (Point-to-Point Protocol)


Data Link layer में दो मुख्य sub-layers होते हैं

1. Logical Link Control (LLC) sublayer
2. Medium Access Control (MAC) sublayer


LLC sublayer प्रदान करता है interface वो भी media access methods और network layer protocols के बीच जैसे की Internet protocol जो की एक हिस्सा होता है TCP/IP protocol suite का.


LLC sublayer ये भी निर्धारित करता है की ये जो communication होने वाला है वो connectionless होगा या फिर connection-oriented होगा data link layer में.


MAC sublayer हो responsible होता है physical media के साथ connect होने के लिए. Data Link Layer के MAC sublayer में, device की actual physical address जिसे की >MAC address भी कहा जाता है, उसे packet में add किया जाता है.


ऐसे ही packet को एक Frame कहा जाता है जो की सभी addressing information store करती है जो की necessary होते हैं travel करने के लिए source device से destination device तक.


MAC address एक 12 digit hexadecimal number होता है, और ये unique होता है प्रत्येक computer के लिए पूरी दुनिया भर में.


एक device का MAC address उनके Network Interface Card (NIC) में located होता है. MAC address की 12 digits में, पहली six digits indicate करती है NIC manufacturer को और last six digits पूरी तरह से unique होते हैं.


उदाहरण के लिए. 31-16-a6-32-72-0c एक 12 digit hexadecimal MAC address होता है. इसलिए MAC address represent करता है device का physical address एक network में.



Function Of The Application Layer.


Link Establishment और Termination: ये establish और terminate करती है logical link को दो nodes के बीच.

Physical addressing

Physical addressing: Frames को create करने के बाद, Data link layer add करती है physical addresses (MAC address) दोनों sender और receiver के प्रत्येक frame के header में.

Frame Traffic Control

Frame Traffic Control: ये transmitting node को बताती है “back-off algorithm” जब कोई frame buffers available नहीं होती है.

Frame Sequencing: ये Transmits/receives करती हैं frames sequentially.

Frame Acknowledgment:

Frame Acknowledgment: ये Provide/expect करती हैं frame acknowledgments. ये Detect और recover करती हैं errors से जो की physical layer में occur होता है, इसके लिए वो retransmit करते हैं non-acknowledged

frames और साथ में duplicate को भी handle करते हैं frame receipt से.

Frame Delimiting: Create और recognize करती हैं frame boundaries.

Frame Error Checking: ये Check करती हैं received frames को integrity के लिए.

Media Access Management: ये निर्धारित करती हैं कब node “के पास right” होता है physical medium को इस्तमाल करने के लिए.

Flow control

Flow control: यह एक traffic regulatory mechanism होती है जिसे की implement किया जाता है Data Link layer के द्वारा और ये prevent करता है fast sender को डूबा देने से slow receiver को. अगर वो rate जिसमें data को absorb की जाती है receiver के द्वारा कम हो, उस rate से जिससे की sender उसे पैदा करे, तब data link layer impose करता है flow control mechanism के ऊपर.

Error control

Error control: Data link layer वो mechanism प्रदान करती हैं error control की जिसमें ये detect और retransmit करती है damaged और lost frames को. ये duplicate frame के समस्या से भी deal करती है, इसलिए ये physical layer को reliability प्रदान करती है.

Access control

Access control: जब एक single communication channel को share किया जाता है multiple devices के साथ, तब data link layer का MAC sub-layer मदद करता है ये निर्धारित करने के लिए की कौन सी device के पास control होती है channel के ऊपर एक given time में.

Feedback

Feedback: एक बार frames को transmit कर देने के बाद system wait करता है feedback के लिए. फिर receiving device send करता है acknowledgment frames वो भी back source तक, जिससे ये frames को receipt प्रदान करता है.

Network Layer

नेटवर्क लेयर OSI model का तीसरा लेयर है इस लेयर में switching तथा routing तकनीक का प्रयोग किया जाता है। इसका कार्य लॉजिकल एड्रेस अर्थात I.P. address भी उपलब्ध कराना है।

नेटवर्क लेयर में जो डेटा होता है वह पैकेट(डेटा के समूह) के रूप में होता है और इन पैकेटों को source से destination तक पहुँचाने का काम नेटवर्क लेयर का होता है।

इस लेयर को पैकेट यूनिट भी कहा जाता है।

Function Of Network layer



नेटवर्क लेयर की मुख्य जिम्मेदारी internetworking की होती है. यह अलग-अलग devices में logical connection उपलब्ध करवाती है. यह frame के header में source और destination address को add करती है. address का इस्तेमाल इन्टरनेट में devices को identify करने के लिए किया जाता है. इस layer का काम Routing का भी है. यह सबसे अच्छे Path को निर्धारित करती है.

Packet- Network Layer पर Data को Packet कहा जाता है जैसे की Data link layer पर Data को Frame कहा जाता है.



Logical addressing

Logical addressing :- वो सभी Devices जो Network या internet में Communicate करती है उनको Logical address की आवश्य्कता होती है Logical address को IP Address भी कहा जाता है ! यह IP address IPV4 या IPV6 कुछ भी हो सकता है ! और IPV6 128 bit का Digit होता है IPV4 32 bit का एक Digit होता है ! IP address बिना किसी acknowledgement के Sender और Receiver के बीच Communicate करता है यह Logical address/IP Address किसी भी Particular type के Hard ware पर defended नहीं होता है ! और पुरे Internet में यह यूनिक होता है ! इसके बारे में बहुद ही विस्तार से जानने के लिए की IP Address क्या होते है और कितने तरह के होते है इसके ऊपर हिन्दी.आई.टी सलूशन द्वारा विस्तार में एक article है ! यहाँ इस Link पर Click करके आप देख सकते है.



Inter Networking

Inter Networking:- जब दो या दो से अधिक Network के बीच Data का का Communication होता है तो इसको Internetworking कहा जाता है



Error Handling and Diagnostic

Error Handling and Diagnostic : -इसमें वो सभी Protocol का यूज़ किया जाता है जो Network में Error Search करने का काम करते है इसमें कुछ Protocol का यूज़ किया जाता है जो निम्न प्रकार है



IGMP- Internet Group Management Protocol

IGMP- Internet Group Management Protocol – इस Protocol का यूज़ multicast के लिए किया जाता है ! अर्थात इसमें एक से कहि Network को आपस में जोड़ा जासकता है ! इसका उदाहरण online Gaming , video streaming इसका सबसे अच्छा उदाहरण है.



ICMP = Internet Control message Protocol

ICMP = Internet Control message Protocol इस Protocol का यूज़ Network में कहि भी Error ढूंढ़ने के लिए किया जाता है ! उदाहरण के लिए हम समझते है की एक Router है Router नंबर xyz कोई भी उस पर हम कोई Data send कर रहे है ! और वो Respond नहीं कर रहा है तो इस Protocol के माध्य्म से हमे error मिल जाये गा.



EGP (Exterior Gateway Protocol) = यह Protocol अभी यूज़ नहीं किया जाता है ! इसका यूज़ Nearby Getaway के साथ Data Exchange करने को किया जाता है ! इस तरह की Protocol का यूज़ Tree Topology मि किया जाता था.



Routing

Routing- Routing से आशय एक Network से दूसरे Network में Data के Traveling के Path या Best Path को Routing कहते है ! routing के कुछ Types से जैसे EIGRP ,RIP ,OSPF आदि Network layer में Multiple Resource से Data को लिया जाता है और फिर उनके Destination path पर Data को Send किया जाता है इसमें Routing की अहम भूमिका होती है !

Fragmentation

1. Fragmentation का मतलब होता है बड़े packets को छोटे fragments में divide करना.

2. एक transportable packet का maximum size defined किया जाता है physical layer protocol के द्वारा.

3. इसके लिए, network layer divide करती है large packets को fragments में जिससे की उन्हें आसानी से send किया जा सके physical medium में.

4. अगर ये निर्धारित होता है की एक downstream router की maximum transmission unit (MTU) size कम होती है उसके frame size से, तब एक router उस frame को fragment कर सकता है transmission के लिए और फिर re-assembly कर सकता है destination station में.

Protocols: वो protocols जो काम करते हैं network layer में वो हैं IP, ICMP, ARP, RIP, OSI, IPX और OSPF.



Transport layer

ट्रांसपोर्ट लेयर OSI मॉडल की चौथी लेयर है। इस लेयर का प्रयोग डेटा को नेटवर्क के मध्य में से सही तरीके से ट्रान्सफर किया जाता है। इस लेयर का कार्य दो कंप्यूटरों के मध्य कम्युनिकेशन को उपलब्ध कराना भी है।

इसे सेगमेंट यूनिट भी कहा जाता है।

Transport layer प्रदान करती है दो प्रकार की services:

Connection Oriented Transmission
(a) इस प्रकार के transmission में receiving device send करता है एक acknowledgment, back source को एक बार जब एक packet या group of packet receive हो जाये तब.

(b) इस प्रकार की transmission को reliable transport method भी कहा जाता है.

(c) चूँकि connection oriented transmission में ज्यादा packets की जरुरत होई है उसे network के across send करने के लिए, इसलिए इसे एक slower transmission method consider किया गया है.

(d) अगर data जिन्हें भेजा गया है उसमें problems हैं, तब destination request करता है source को retransmission करने के लिए, जहाँ केवल उन्ही packets को acknowledged किया जाता है जो की received हुए हैं और वो recognizable होते हैं.

(e) एक बार destination computer सभी data को receive कर लिया जो की necessary होते हैं उन्हें एक packet में reassemble करने के लिए, फिर transport layer उस data को assemble करती है एक correct sequence में और फिर उसे pass कर देती है session layer को.



Connectionless Transmission
(a) इस प्रकार के transmission में receiver packet के receipt को acknowledge नहीं करती है.

(b) Sending device ये assume करती है की packet ठीक से arrive कर चुकी है.

(c) ये approach बहुत ही faster communication allow करती है दो devices के बीच में.

(d) इसकी जो demerit है वो ये की connectionless transmission कम reliable होता है connection oriented की तुलना में.

Funtion Of Transport layer



Transport layer का मुख्य कार्य data को एक कंप्यूटर से दूसरे computer तक transmit करना है. जब यह layer उपरी layers से message को recieve करती है तो यह message को बहुत सारें segments में विभाजित कर देती है. और प्रत्येक segment का एक sequence number होता है जिससे प्रत्येक segment को आसानी से identify किया जा सके. यह दो प्रकार की service प्रदान करती है:- connection oriented और connection less. यह flow control और error control दोनों प्रकार के कार्यों को करती है.

Segmentation

Segmentation Transport layer ऐसी Functioning Provide करती है जिसमे Application का बड़ा Data को छोटे-छोटे Block में Divide किया जाता है इसी Process को Segmentation कहा जाता है

Multiplexing And De-multiplexing

Multiplexing And De-multiplexing : – transport layer multiplexing और,demultiplexing का काम करती है अर्थात multiplexing से आशय May to one और demultiplexing से आशय one to many जैसा की हमने पढ़ा Transport layer में ऐसी Functioning होती है जिससे identify कर लेती है की कोनसा डाटा किस Application से आर हा है और उस Data को Combine करके Lower layer को Send कर देती है इस Process में यह एक Multiplexing का उदारण है क्यों की यहाँ इस Process में बहुद सारी Application के Data को Combine कर रही है और इसी का Reverse Process है एक साथ बहुद सारे Device को service देना जैसा की lower layer से receive data को Split कर अलग-अलग application के लिए send करना है

(Note -Multiplexing demultiplexing एक बहुद ही विस्तृत topic है आने वाले समय में हिंदी आईटी सलूशन द्वारा इसके ऊपर एक Article publish किया जायेगा )

Process level Addressing

Process level Addressing – इस Process में हर Application को Network या अन्य Resource से Communicate करने के लिए एक Port Number दिया जाता है और जब वह data send या Receive करती है तो वो एक Particular port को यूज़ करते हुए ही work करती है जैसे web सर्विस के लिए Port number 80 यूज़ होता है ssh के लिए 22 ftp के लिए 21 इस पोर्ट number से transport layer data को identify करके Data को Send या receive कर लेती है

Connection Services

Connection Services Transport layer application और Service को Connection provide करती है ! यह Connection दो तरह के होते है Connection Orientate और Connection less Connection Orientate वो Connection होता है जिसमे Data send होने के बाद sender को acknowledgement मिलती है और Connection less में acknowledgement नहीं मिलती है इस प्रकार के दोनों Connection के अपनी feature है

Error Control

Error Control Transport layer में कहि ऐसी Algorithm होती है जिसकी Help से Connection Reliable और Efficient रहता है ! Error Control में Data को किस Rate पर send करना है ! Data transmission के समय पर data loss को Deduct करना जैसे Function और Feature इसमें Include होते है !



Session layer

सेशन लेयर OSI model की पांचवी लेयर है जो कि बहुत सारें कंप्यूटरों के मध्य कनेक्शन को नियंत्रित करती है।

सेशन लेयर दो डिवाइसों के मध्य कम्युनिकेशन के लिए सेशन उपलब्ध कराता है अर्थात जब भी कोई यूजर कोई भी वेबसाइट खोलता है तो यूजर के कंप्यूटर सिस्टम तथा वेबसाइट के सर्वर के मध्य तक सेशन का निर्माण होता है।

Session layer की जो primary responsibility होती है वो है की दो devices के बीच की communication की beginning, maintaining और ending करने में मदद करें, इसे ही session कहा जाता है.

ये इसके साथ orderly communication प्रदान करता है devices के बीच इसके लिए उन्हें data के flow को regulate करना होता है.

ये session protocol define करता है उस data के format को जिसे की connections में sent किया जाता है. Session layer establish और manage करता है session को किन्ही दो users के बीच में वो भी एक network के दो अलग अलग ends में.

Session layer ये भी manage करता है की कौन data को transfer करे एक certain amount of time में और वो भी कितने समय तक.

Session Layers के उदाहरण हैं interactive logins और file transfer sessions. Session layer session को फिर से reconnect कर देता है अगर वो disconnect हो जाये तब. ये साथ में report भी करता है और log भी करता है upper layer errors को.

ये session layer allow करता है session establishment करने के लिए वो भी दो ऐसे processes के बीच जो की अलग अलग stations में run कर रहे होंते हैं.

ये dialogue control और token management दोनों Session Layer के ही responsibility हैं.

आसान शब्दों में कहें तो सेशन लेयर का मुख्य कार्य यह देखना है कि किस प्रकार कनेक्शन को establish, maintain तथा terminate किया जाता है।

Funtion Of Session Layer



Session establishment, maintenance और termination : ये allow करता है दो application processes को अलग अलग machines में establish, use और terminate a connection, जिसे की एक session कहा जाता है, होने के लिए.

Session support

Session support: ये उन function perform करता है जो की allow करता है इन processes को आपस में communicate होने के लिए over the network, performing security, name recognition, logging और ऐसे ही बहुत कुछ.

Dialog control

Dialog control: Dialog control वो function होता है session layer की जो की ये determine करती है की कौन सी device पहले communicate करेगी और कितनी मात्रा की data को sent किया जाये.

जब एक device को पहले contact किया जाता है, तब session layer ही responsible होता है ये determine करने के लिए की कौन सी device जो की इस communication में participate कर रही हो एक fixed समय में transmit करेगी और साथ साथ उस data के amount को भी control करे जिसे की transmission में भेजा जा रहा हो. इसे ही dialog control कहा जाता है.

Dialog Control के प्रकार जो की होते हैं, वो हैं simplex, half duplex और full duplex.

Dialog separation और Synchronization: ये session layer इस बात के लिए भी responsible है जिसमें message में checkpoint और markers add किया जाता है.

इस process को जिसमें की stream of data में markers insert किया जाता है, उसे dialog separation कहा जाता है.

Protocols

Protocols: वो protocols जो की session layer में काम करते हैं वो हैं NetBIOS, Mail Slots, Names Pipes, और RPC.





Presentation layer



presentation लेयर OSI मॉडल का छटवां लेयर है। इस लेयर का प्रयोग डेटा का encryption तथा decryption के लिए किया जाता है। इसे डेटा compression के लिए भी प्रयोग में लाया जाता है। यह लेयर ऑपरेटिंग सिस्टम से सम्बंधित है।

Session establishment, maintenance और termination : ये allow करता है दो application processes को अलग अलग machines में establish, use और terminate a connection, जिसे की एक session कहा जाता है, होने के लिए.



Session support

Session support: ये उन function perform करता है जो की allow करता है इन processes को आपस में communicate होने के लिए over the network, performing security, name recognition, logging और ऐसे ही बहुत कुछ.



Dialog control

Dialog control: Dialog control वो function होता है session layer की जो की ये determine करती है की कौन सी device पहले communicate करेगी और कितनी मात्रा की data को sent किया जाये.



जब एक device को पहले contact किया जाता है, तब session layer ही responsible होता है ये determine करने के लिए की कौन सी device जो की इस communication में participate कर रही हो एक fixed समय में transmit करेगी और साथ साथ उस data के amount को भी control करे जिसे की transmission में भेजा जा रहा हो. इसे ही dialog control कहा जाता है.



Dialog Control के प्रकार जो की होते हैं, वो हैं

simplex

half duplex

full duplex.



Dialog separation And Synchronization: ये session layer इस बात के लिए भी responsible है जिसमें message में checkpoint और markers add किया जाता है.



इस process को जिसमें की stream of data में markers insert किया जाता है, उसे dialog separation कहा जाता है.



Protocols: वो protocols जो की session layer में काम करते हैं वो हैं NetBIOS, Mail Slots, Names Pipes, और RPC.



Function Of Presentation layer



Transnational -Network में अलग-अलग System के अलग-अलग Platform होते है ! और उनका File System File Structure और System के work करने का तरीका भी अलग अलग ही होता है ! presentation Layer Platform को Identify कर data को उसी Format में Show करती है जैसा की Windows दूसरे System पर होता है उदाहरण के लिए हम google या Facebook को किसी भी Operating में Open करे वो हमे सभी में एक जैसी ही show होगी



Encryption -Presentation layer Encryption का work करती है यानि Data को Coding की Form में या कोई Garbage type की Value में Encrypt कर देती है जिससे डाटा travel करते वक्त अगर Hacker द्वारा Hack भी किया जाये तो वो show नहीं हो सकता है यहाँ एक ध्यान देने योग्य बात है की OSI model में Only presentation layer ही Data को Encrypt नहीं करती है यह काम Network layer के द्वारा भी किया जाता है



परन्तु उससे पहले जो SSL protocol होती है उसका work यहाँ Presentation layer पर कर लिया जाता है (Note – SSL Secure socket Layer एक ऐसी Encryption है जो website पर Security के लिए यूज़ ली जाती है ! अगर कोई Website https:// तो मतलब वह एक Secure website आप के द्वारा के और उस Server के बिच से कोई भी Data और Session चोरी नहीं कर सकता है क्यों की आप के द्वारा उस Website पर की गई हर request और Response SSL से Encryption होगा )



Compression : Compression से आशय data को उसके मूल रूप से छोटा करने से है यह Compression का काम ऐसी Presentation layer पर किया जाता है



Application layer (एप्लीकेशन लेयर)

एप्लीकेशन लेयर OSI model का सातवाँ (सबसे उच्चतम) लेयर है। एप्लीकेशन लेयर का मुख्य कार्य हमारी वास्तविक एप्लीकेशन तथा अन्य लयरों के मध्य interface कराना है।

एप्लीकेशन लेयर end user के सबसे नजदीक होती है। इस लेयर के अंतर्गत HTTP, FTP, SMTP तथा NFS आदि प्रोटोकॉल आते है।

यह लेयर यह नियंत्रित करती है कि कोई भी एप्लीकेशन किस प्रकार नेटवर्क से access करती है।

Function Of The Application Layer

  • Resource sharing और device redirection

  • Remote file access

  • Remote printer access

  • Inter-process communication

  • Network management

  • Directory services

  • Electronic messaging (जैसे की mail)



Network Virtual Terminal


एक network virtual terminal ऐसा software version होता है एक physical terminal जो की user को allow करता है log on करने के लिए वो भी एक remote host में. इसके लिए application layer एक software emulation create करता है एक terminal का एक remote host में.



अब user का computer बात करता है software terminal के साथ जो की in turn, बात करता है host के साथ और vice-versa. इसमें remote host ये मानता है की ये communicate कर रहा है अपने ही कोई terminals के साथ और वो allow करता है user को log on करने के लिए.



File transfer, access और management (FTAM):

ये application allow करता है एक user को एक file को access करने के लिए एक remote host में, जिससे वो changes कर सकें या data को read कर सकें, या files retrieve कर remote computer से जिन्हें वो local computer में इस्तमाल कर सकें, और manage या control कर सकें files को एक remote computer में locally.



Mail services

Mail services: ये application various e-mail services प्रदान करता है जैसे की email forwarding और storage.



Directory services

Directory services: ये application प्रदान करता है distributed database sources और access global information के वो भी बहुत से अलग अलग objects और services के बारे में.



Protocols जिनका इस्तमाल होता है application layer में वो हैं FTP, DNS, SNMP, SMTP, FINGER, और TELNET.



Advantage of OSI model



1:- यह एक generic model है तथा इसे standard model माना जाता है.

2:- OSI model की layers जो है वह services, interfaces, तथा protocols के लिए बहुत ही विशिष्ट है.

3:- यह बहुत ही flexible मॉडल होता है क्योंकि इसमें किसी भी protocol को implement किया जा सकता है.

4:- यह connection oriented तथा connection less दोनों प्रकार की services को support करता है.

5:- यह divide तथा conquer तकनीक का प्रयोग करता है जिससे सभी services विभिन्न layers में कार्य करती है. इसके कारण OSI model को administrate तथा maintain करना आसान हो जाता है.

6:- इसमें अगर एक layer में change कर भी दिया जाए तो दूसरी लेयर में इसका प्रभाव नहीं पड़ता है.

7:- यह बहुत ही ज्यादा secure तथा adaptable है.

Disadvantage Of OSI Model



1;- यह किसी विशेष protocol को डिफाइन नहीं करता है.

2:- इसमें कभी कभी नए protocols को implement करना मुश्किल होता है क्योंकि यह model इन protocols के invention से पहले ही बना दिया गया था.

3:- इसमें services का duplication हो जाता है जैसे कि transport तथा data link layer दोनों के पास error control विधी होती है.

4:- यह सभी layers एक दूसरे पर interdependent होती है.

Characteristics of OSI model



यह मॉडल दो layers में विभाजित होता है. एक upper layers और दूसरा lower layers. इसकी upper layer मुख्यतया application से सम्बन्धित issues को handle करती है और ये केवल software पर लागू होती हैं. application लेयर, end user के सबसे नजदीक होती है.



ओएसआई मॉडल की lower layers जो है वह data transport के issues को हैंडल करती है. data link layer और physical लेयर hardware और software में लागू होती है. फिजिकल लेयर सबसे निम्नतम लेयर होती है और यह physical medium के सबसे नजदीक होती है. फिजिकल लेयर का मुख्या कार्य physical medium में data या information को रखना होता है.



Trick To Learn OSI Model



OSI model में 7 layers होती है उनको याद करना थोडा मुश्किल होता है इसलिए नीचे आपको एक आसान तरीका दिया गया है जिससे कि आप इसे आसानी से याद कर सकें:-
P-Pyare(प्यारे)
D-Dost(दोस्त)
N-Naveen(नवीन)
T-tumhari(तुम्हारी)
S-Shaadi(शादी)
P-Pe(पे)
A-Aaunga(आऊंगा).


मुझे उम्मीद है की आपको मेरी यह लेख जरुर पसंद आई होगी. मेरी हमेशा से यही कोशिश रहती है की readers को OSI Layer Model के विषय में पूरी जानकारी प्रदान की जाये जिससे उन्हें किसी दुसरे sites या internet में उस article के सन्दर्भ में खोजने की जरुरत ही नहीं है.



इससे उनकी समय की बचत भी होगी और एक ही जगह में उन्हें सभी information भी मिल जायेंगे. यदि आपके मन में इस article को लेकर कोई भी Doubts हैं या आप चाहते हैं की इसमें कुछ सुधार होनी चाहिए तब इसके लिए आप नीच comments लिख सकते हैं.



keep learning……

Previous
Next Post »

4 Comments

  1. thank you sir bahut ache se samjaya aapne

    ReplyDelete
  2. very nice and informative article thanks for this you can visit in desi news

    ReplyDelete
    Replies
    1. Thanks for your Valuable feedback and I visited your website, nice work dear keeps it up.

      Delete

Quote

"Educationists should build the capacities of the spirit of inquiry, creativity, entrepreneurial and moral leadership among students and become their role model."

Dr. Abdual Kalam