-->

What is OSI Model

 

What is OSI Model?

It is abbreviation of Open Systems Interconnection, it was developed by ISO (International Organization for Standardization) in 1978 and this model has 7 layers.

The OSI model is a reference model for communication between two users in a network. Each layer of this model does not depend on the other layer but there is transmission of data from one layer to another. The OSI model describes how data or information is sent and received in a network.

All the layers of the OSI model have their different functions so that the data can easily reach from one system to another. The OSI model also describes how network hardware and software act as layers with each other.

OSI model का पूरा नाम Open Systems Interconnection है इसे ISO (International Organization for Standardization) ने 1978 में विकसित किया था और इस मॉडल में 7 layers होती है l

ओएसआई मॉडल किसी नेटवर्क में दो यूज़र्स के मध्य कम्युनिकेशन के लिए एक reference मॉडल है। इस मॉडल की प्रत्येक लेयर दूसरे लेयर पर निर्भर नही रहती है लेकिन एक लेयर से दूसरे लेयर में डेटा का ट्रांसिमिशन होता है। OSI model यह describe करता है कि किसी नेटवर्क में डेटा या सूचना कैसे send तथा receive होती है।

OSI मॉडल के सभी layers का अपना अलग अलग काम होता है जिससे कि डेटा एक सिस्टम से दूसरे सिस्टम तक आसानी से पहुँच सके। OSI मॉडल यह भी describe करता है कि नेटवर्क हार्डवेयर तथा सॉफ्टवेयर एक दूसरे के साथ लेयर के रूप में कैसे कार्य करते है।

7 Layers of OSI MODEL

The OSI model consists of the following 7 layers.

OSI model में निम्नलिखित 7 layers होती हैं l

Layers No

Layers Name

Tricks

Layer 7

Application Layer

आज

Layer 6

Presentation layer

फिर

Layer 5

Session Layer

से

Layer 4

Transport Layer

तुम

Layer 3

Network Layer

ने

Layer 2

Data Link Layer

दूध

Layer 1

Physical Layer

पिया

 

Layer.1 - PHYSICAL LAYER

The physical layer is the lowest layer in the OSI model. This layer is responsible for physical and electrical connections such as voltage, data rates, etc.

In this layer, the digital signal is converted into an electrical signal.

In this layer, the work of network topology i.e. layout of network (network size) is also done in this layer.

The physical layer also describes whether the communication will be wireless or wired.

This layer is also called the bit unit.

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

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

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

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

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

Functions

·         The physical layer defines how two or more devices physically connect with each other.

·         By this it is defined which transmission mode will be between two devices in the network.

·         It determines the signal to transmit the information.

 

·         Physical layer यह define करती है कि दो या दो से ज्यादा devices आपस में physically कैसे connect होती है l

·         इसके द्वारा यह डिफाइन किया जाता है कि नेटवर्क में दो devices के मध्य कौनसा transmission mode होगा l

·         यह information को ट्रांसमिट करने वाले सिग्नल को निर्धारित करता है l

Layer.2 - DATA LINK LAYER

The data link layer is the second layer from the bottom in the OSI model. This layer has two sub-layers:-

*MAC (Media Access Control), and

*LLC (Logic Link Control)

In this layer the packets of data sent by the network layer are decoded and encoded and this layer also ensures that these packets of data are error free.

This layer is also called the frame unit. In this layer, two protocols are used for data transmission.

1) High-level data link control - HLDLC

2) Point-to-Point Protocol -PPP

 

OSI MODEL में डेटा लिंक लेयर नीचे से दूसरे नंबर की लेयर है। इस लेयर की दो sub-layers होती है:-
*MAC (मीडिया एक्सेस कण्ट्रोल), तथा
*LLC (लॉजिक लिंक कण्ट्रोल)

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

इस लेयर को फ्रेम यूनिट भी कहा जाता है। इस layer में डेटा ट्रांसमिशन के लिए दो प्रोटोकॉल प्रयोग होते है.
1)  High-level data link control - HLDLC
2) Point-to-Point Protocol -PPP

Functions

·         This layer translates the physical raw bit stream into packets. We call these packets frames. And this layer adds header and trailer to these frames.

·         Its main function is to control the flow. In this, a fixed data rate is maintained from both the receiver and the sender side. So that no data is corrupt.

·         It also controls the error. In this, CRC (cyclic redundancy check) is added to the trailer so that there is no error in the data.

·         When two or more devices are connected to a communication channel, then this layer determines which device is given access.

 

·         यह लेयर, physical raw bit stream को packets में translate करती है l इन packets को हम frames कहते है l और यह layer इन frames में header और trailer को add करती है l

·         इसका मुख्य कार्य flow control करना है lइसमें receiver और sender दोनों तरफ से एक नियत data rate को maintain किया जाता है l जिससे कि कोई भी data corrupt ना हो l

·         यह error को भी control करता है l इसमें trailer के साथ CRC (cyclic redundancy check) को add किया जाता है जिससे डेटा में कोई error ना आये l

·         जब दो या दो से अधिक devices एक communication channel से जुडी रहती है तब यह layer यह निर्धारित करती है कि किस डिवाइस को access दिया जाए l

Layer.3 - NETWORK LAYER

Network layer is the third layer of the OSI model, in this layer switching and routing technology is used. Its function is to access the logical address i.e. I.P. The address is also to be provided.

The data in the network layer is in the form of packets (groups of data) and works to transport these packets from source to destination.

This layer is also called packet unit.

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

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

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

Functions

·         The main responsibility of the network layer is inter-networking. It provides logical connections to different devices.

·         It adds the source and destination address to the header of the frame. The address is used to identify devices on the Internet.

·         The work of this layer is also of routing. It determines the best path.

 

·         नेटवर्क लेयर की मुख्य जिम्मेदारी inter-networking की होती है l यह अलग-अलग devices में logical connection उपलब्ध करवाती है l

·         यह frame के header में source और destination address को add करती है l Address का इस्तेमाल इन्टरनेट में devices को identify करने के लिए किया जाता है l

·         इस layer का काम routing का भी है l यह सबसे अच्छे path (रास्ते) को निर्धारित करती है l

Layer.4 - TRANSPORT LAYER

The transport layer is the fourth layer of the OSI model. Using this layer, the data is transferred correctly through the middle of the network. The function of this layer is also to provide communication between two computers.

It is also called segment unit.

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

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

Functions

·         The main function of the transport layer is to transmit data from one computer to another.

·         When this layer receives the message from the upper layers, it divides the message into many segments. And each segment has a sequence number so that each segment can be easily identified.

·         It provides two types of service:- connection oriented and connection less l

·         It performs both flow control and error control functions.

 

·         Transport layer का मुख्य कार्य data को एक कंप्यूटर से दूसरे computer तक transmit करना है l

·         जब यह layer उपरी layers से message को receive करती है तो यह message को बहुत सारें segments में विभाजित कर देती है l और प्रत्येक segment का एक sequence number होता है जिससे प्रत्येक segment को आसानी से identify किया जा सके l

·         यह दो प्रकार की service प्रदान करती है:- connection oriented और connection less l

·         यह flow control और error control दोनों प्रकार के कार्यों को करती है l

Layer.5 - SESSION LAYER

The session layer is the fifth layer of the OSI model that controls the connections between multiple computers.

Session layer provides session for communication between two devices i.e. whenever a user opens any website; the session is created between the user's computer system and the server of the website.

 

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

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

Functions

·         Session layer which is there it acts like dialog controller. It creates dialog between two processes.

·         It also completes the task of synchronization. That is, whenever an error occurs in the transmission, the transmission is repeated.

 

·         Session layer जो है वह dialog controller की भांति कार्य करती है l यह दो processes के मध्य dialog को create करती है l

·         यह synchronization के कार्य को भी पूरा करती है l अर्थात् जब भी transmission में कोई error आ जाती है तो ट्रांसमिशन को दुबारा किया जाता है l

Layer.6 - PRESENTATION LAYER

The presentation layer is the sixth layer of the OSI model. This layer is used for encryption and decryption of data. It is also used for data compression. This layer is related to the operating system.

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

Functions

·         The work of this layer is of encryption. It is used for privacy.

·         Its main work is also of compression. Compression is very important because we can reduce its size by compressing the data.

 

  • इस layer का कार्य encryption का होता है l Privacy के लिए इसका use किया जाता है l
  • इसका मुख्य काम compression का भी है l Compression बहुत जरुरी होता है क्योंकि हम data को compress करके उसके size को कम कर सकते है l

Layer.7 - APPLICATION LAYER

The application layer is the seventh (highest) layer of the OSI model. The main function of application layer is to interface between our actual application and other layers.

The application layer is closest to the end user. Protocols like HTTP, FTP, SMTP and NFS come under this layer.

This layer controls how any application accesses the network.

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

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

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

Functions

·         Through the application layer, the user can access the files from the remote computer and retrieve the files.

·         It also gives the facility to forward and store email.

·         Through this we can access the directory from the database.

 

·         Application layer के द्वारा यूजर remote computer से files को access कर सकता है और files को retrieve कर सकता है l

·         यह email को forward और स्टोर करने की सुविधा भी देती है l

·         इसके द्वारा हम डेटाबेस से directory को access कर सकते हैं l