Sunday, March 3, 2024

Simplex and full-duplex modes of communication in link layer लिंक लेयर पर सिम्प्लेक्स और फुल-डुप्लेक्स संचार के तरीके

Simplex and full-duplex are two modes of communication in network protocols, particularly at the link layer. In the context of the link layer protocol, both simplex and full-duplex modes can be implemented depending on the requirements and capabilities of the network hardware and protocols. Simplex communication is often used in scenarios where one-way communication is sufficient, while full-duplex communication is more common in situations where bidirectional communication is necessary for efficient data exchange. Here's a brief explanation of each:-

सिम्प्लेक्स और फुल-डुप्लेक्स नेटवर्क प्रोटोकॉल में संचार के दो तरीके हैं, खासकर लिंक परत पर। लिंक लेयर प्रोटोकॉल के संदर्भ में, नेटवर्क हार्डवेयर और प्रोटोकॉल की आवश्यकताओं और क्षमताओं के आधार पर सिम्प्लेक्स और फुल-डुप्लेक्स दोनों मोड लागू किए जा सकते हैं। सिंप्लेक्स संचार का उपयोग अक्सर उन परिदृश्यों में किया जाता है जहां एक-तरफ़ा संचार पर्याप्त होता है, जबकि पूर्ण-डुप्लेक्स संचार उन स्थितियों में अधिक सामान्य होता है जहां कुशल डेटा विनिमय के लिए द्विदिश संचार आवश्यक होता है। यहां प्रत्येक का संक्षिप्त विवरण दिया गया है:-

1. Simplex Communication सिंप्लेक्स कम्युनिकेशन:- 

Simplex communication is a one-way communication mode where data flows in only one direction. It means that data can only be transmitted from one end (the sender) to the other end (the receiver), and the receiver cannot send data back to the sender over the same communication channel. For example In a simplex communication mode, a keyboard is a typical example where data is only sent (typed) from the keyboard to the computer, but the keyboard cannot receive data from the computer. another examples are broadcasting television signals, radio transmissions, or sensors sending data to a central monitoring system.

सिंप्लेक्स कम्युनिकेशन एक तरफा संचार मोड है जहां डेटा केवल एक दिशा में प्रवाहित होता है। इसका मतलब है कि डेटा केवल एक छोर (प्रेषक) से दूसरे छोर (रिसीवर) तक प्रेषित किया जा सकता है, और रिसीवर उसी संचार चैनल पर प्रेषक को डेटा वापस नहीं भेज सकता है। उदाहरण के लिए सिंप्लेक्स संचार मोड में, एक कीबोर्ड एक विशिष्ट उदाहरण है जहां डेटा केवल कीबोर्ड से कंप्यूटर पर भेजा (टाइप किया गया) जाता है, लेकिन कीबोर्ड कंप्यूटर से डेटा प्राप्त नहीं कर सकता है। अन्य उदाहरण टेलीविज़न सिग्नल, रेडियो प्रसारण, या केंद्रीय निगरानी प्रणाली को डेटा भेजने वाले सेंसर प्रसारित कर रहे हैं।

2. Full-Duplex Communication फुल-डुप्लेक्स कम्युनिकेशन:- Full-duplex communication is a two-way communication mode where data can flow in both directions simultaneously. This means that both communicating devices can send and receive data at the same time over the same communication channel. For example Many modern Ethernet connections and most telephone systems operate in full-duplex mode. In Ethernet, full-duplex mode is achieved through the use of separate transmit and receive channels, allowing data to be sent and received simultaneously.

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

Basic transmission and receipt in data link layer डेटा लिंक परत में बुनियादी संचरण और प्राप्ति

In the data link layer of the OSI model, transmission and receipt of data involve several key processes that ensure reliable communication between nodes on a network. The data link layer is responsible for providing error-free transmission of data frames over the physical layer, which deals with the actual transmission of bits over the network medium.Here's a basic overview of the transmission and receipt processes in the data link layer:-

ओएसआई मॉडल की डेटा लिंक परत में, डेटा के प्रसारण और प्राप्ति में कई प्रमुख प्रक्रियाएं शामिल होती हैं जो नेटवर्क पर नोड्स के बीच विश्वसनीय संचार सुनिश्चित करती हैं। डेटा लिंक परत भौतिक परत पर डेटा फ्रेम के त्रुटि मुक्त संचरण प्रदान करने के लिए जिम्मेदार है, जो नेटवर्क माध्यम पर बिट्स के वास्तविक संचरण से संबंधित है। यहां डेटा लिंक परत में ट्रांसमिशन और रसीद प्रक्रियाओं का एक बुनियादी अवलोकन दिया गया है:-

1. Frame Encapsulation फ्रेम एनकैप्सुलेशन:-  Data from the network layer is encapsulated into frames at the data link layer. A frame typically includes a header containing control information, the data itself, and a trailer for error detection.
नेटवर्क लेयर से डेटा को डेटा लिंक लेयर पर फ्रेम में एनकैप्सुलेट किया जाता है। एक फ़्रेम में आम तौर पर एक हेडर शामिल होता है जिसमें नियंत्रण जानकारी, स्वयं डेटा और त्रुटि का पता लगाने के लिए एक ट्रेलर होता है।

2. Addressing संबोधन:- Each frame includes source and destination addresses to indicate where the data is coming from and where it's going. This addressing allows nodes on the network to determine if the frame is intended for them.
प्रत्येक फ्रेम में स्रोत और गंतव्य पते शामिल होते हैं जो यह दर्शाते हैं कि डेटा कहां से आ रहा है और कहां जा रहा है। यह एड्रेसिंग नेटवर्क पर नोड्स को यह निर्धारित करने की अनुमति देता है कि फ़्रेम उनके लिए अभिप्रेत है या नहीं।

3. Error Detection and Correction त्रुटि का पता लगाना और सुधार:- The data link layer employs error detection mechanisms, such as cyclic redundancy check (CRC), to ensure the integrity of the data during transmission. If errors are detected, the frame may be re-transmitted.
डेटा लिंक परत ट्रांसमिशन के दौरान डेटा की अखंडता सुनिश्चित करने के लिए चक्रीय अतिरेक जांच (सीआरसी) जैसे त्रुटि पहचान तंत्र को नियोजित करती है। यदि त्रुटियाँ पाई जाती हैं, तो फ़्रेम को पुनः प्रेषित किया जा सकता है।

4. Flow Control प्रवाह नियंत्रण:- Flow control mechanisms regulate the flow of data between sender and receiver to prevent the receiver from being overwhelmed by a fast sender. Techniques like sliding window protocol are often used for this purpose.
प्रवाह नियंत्रण तंत्र प्रेषक और रिसीवर के बीच डेटा के प्रवाह को नियंत्रित करते हैं ताकि रिसीवर को तेज प्रेषक द्वारा अभिभूत होने से बचाया जा सके। इस उद्देश्य के लिए अक्सर स्लाइडिंग विंडो प्रोटोकॉल जैसी तकनीकों का उपयोग किया जाता है।

5. Acknowledgment पावती:- Once a frame is successfully received, the receiver sends an acknowledgment (ACK) back to the sender to confirm that the frame was received without errors. If the sender doesn't receive an ACK within a specified time frame, it may retransmit the frame.
एक बार एक फ्रेम सफलतापूर्वक प्राप्त हो जाने के बाद, रिसीवर यह पुष्टि करने के लिए प्रेषक को एक पावती (एसीके) भेजता है कि फ्रेम बिना किसी त्रुटि के प्राप्त हुआ था। यदि प्रेषक को निर्दिष्ट समय सीमा के भीतर ACK प्राप्त नहीं होता है, तो वह फ़्रेम को दोबारा भेज सकता है।

6. Re-transmission पुनः प्रसारण:- In case a frame is lost or corrupted during transmission, the sender may re-transmit the frame based on timeouts or requests from the receiver.
यदि ट्रांसमिशन के दौरान कोई फ्रेम खो जाता है या दूषित हो जाता है, तो प्रेषक टाइमआउट या रिसीवर के अनुरोध के आधार पर फ्रेम को फिर से प्रसारित कर सकता है।

7. Medium Access Control (MAC) मीडियम एक्सेस कंट्रोल (मैक):- In shared media environments like Ethernet, the MAC sub-layer of the data link layer manages access to the physical medium to avoid collisions between frames transmitted by different nodes.
ईथरनेट जैसे साझा मीडिया वातावरण में, डेटा लिंक परत की मैक उप-परत विभिन्न नोड्स द्वारा प्रेषित फ़्रेमों के बीच टकराव से बचने के लिए भौतिक माध्यम तक पहुंच का प्रबंधन करती है।

Overall, these processes ensure reliable transmission and receipt of data at the data link layer, which forms the foundation for higher-level protocols and applications to communicate effectively over a network.
कुल मिलाकर, ये प्रक्रियाएं डेटा लिंक परत पर डेटा का विश्वसनीय प्रसारण और प्राप्ति सुनिश्चित करती हैं, जो नेटवर्क पर प्रभावी ढंग से संचार करने के लिए उच्च-स्तरीय प्रोटोकॉल और अनुप्रयोगों की नींव बनाती है।