Data communication and networking

CHARACTER ORIENTED PROTOCOL AND BIT ORIENTED PROTOCOL

CHARACTER ORIENTED PROTOCOL:

The character-oriented protocol is of an 8-bit size frame, the header which covers the source and destination address and some other control information, whereas the trailer carries error detection or error correction redundancy bits. In order to separate one frame from the next frame, the designer added a flag bit at the beginning and end of the frame. The most popular protocol which used to exchange only text by the data link layer.

If the receiver encounters other information rather than text in the middle of the data the user thinks of the end of the problem. To overcome this problem a byte-stuffing strategy was added to character-oriented framing. If the same pattern of the data found in the frame a special byte is added to the data section is called character stuffing (byte stuffing). This is called an escape character (ESC), which has a predetermined bit pattern. If we add ESC character in the middle of the data section means it treated has the next character as data, not a delimiting flag.

But it again creates a problem if the data contain an Escape character followed by a flag, by this the receiver will remove the ESC  character from the data section but keeps the flag, which is incorrectly interpreted because of the end of the frame. To over the encountered problem, if the escape character is part of the text, an extra ESC character added to show that the second one is the part of the text.

BIT ORIENTED PROTOCOL:

Bit stuffing is the process of adding one extra 0 whenever five consecutive is follow a 0 in the data so that the receiver does not mistake the pattern 0111110 for a flag. In this, the data section of a frame is a sequence of bits to be interpreted by the upper layer as text, audio, video, and audio, etc.  Where in addition to the header, the designer will require a delimiter to separate one frame from other frames. Well, most protocols use a special 8-bit pattern flag as the delimiter to determine the starting and end of the frame.  

Rajeshwari Chiluveru

Share
Published by
Rajeshwari Chiluveru

Recent Posts

What are Template Tags in WordPress? How to Use Template Tags

In wordpress if you are developing new or custom wordpress theme or wordpress plugin then…

2 months ago

Google Search Indexing Issues Started on 31st January to February 2024

If you are experiencing indexing issues of your website then you are not alone and…

3 months ago

Create QR Code for Pages & Post using Plugin in WordPress

On your wordpress website if you want to generate qr code for pages and posts…

3 months ago

Add Google Search Console HTML File Upload on WordPress

If you are trying to verify your WordPress website with google search console with html…

3 months ago

How Do I Add Google Search Console Verification HTML Tag in WordPress?

If you are on wordpress website and wondering how to keep search console html verification…

3 months ago

Why WordPress Too Many Redirects After URL Change

If you are getting too many redirects error on your WordPress website after changing url…

3 months ago