Framing In Computer Networks

0
136
Framing In Computer Networks

Framing In Computer Networks

 

 

There are several protocols that use framing in a computer network.

There is character-oriented framing, bit-oriented framing, and the Stop-and-wait protocol.

If you want to learn more about framing in computer networks, keep reading. This article will provide an overview of these protocols.

Once you understand them, you can choose the right one for your network. You can also learn more about the advantages and disadvantages of each protocol.

Character-oriented framing.

framing in computer network

 

 

 

 

 

 


Character-oriented framing in computer networks uses an 8-bit header and trailer for each frame.

The header contains control information and the destination address, while the trailer carries error-detecting and correction bits.

Frames can be separated by flag bits. Traditionally, character-oriented framing was used to send only text, such as letters and numbers.

However, more recent protocols have added multimedia capabilities to network traffic. One of the most prominent differences between the two is how the frames are created.

Using character-oriented framing results in more data being stored in each frame.

But while character-oriented framing makes data transfer faster, it does add more overhead to the message. Additionally, recent coding systems conflict with 8-bit encoding.

This makes character-oriented framing a poor choice for most applications.

Unlike traditional encoding schemes, character-oriented framing does not preserve frame synchronization, making it susceptible to loss of synchronization.

Similarly, bit-oriented framing has similar problems but has fewer advantages. This technique is also known as byte-stuffing.

Network protocol designers often add extra bits to data to avoid requiring unnecessary control sequences.

While it works better for encoding text than for sending images, it may also cause internal fragmentation. In that case, padding is recommended.

In addition to character-oriented framing, it is also important to keep in mind that some protocols are not full-duplex.

A full-duplex is used when a data stream involves multiple channels. A physical link is interpreted as eight or sixteen logical links.

The stop and wait protocol procedure determine the flow of frames across each link. This method requires the use of several frames, which are called “frames”.

The physical layer transforms bits into equivalent signals or frames.

If the transmission medium is in the form of a frame, a device transmitting 100 bits of data will receive all the bits in the frame.

READ ALSO:  Who Made The First Computer?

In a variable frame size, the transmitter will transmit a sequence of bits to make sure the receiver recognizes the start and end of the frame.

The packet can contain flags in the data. The formal bit-oriented standard, High-level Data Link Control, is a common example.

The receiver of a frame must wait for the next SYN character before collecting the bytes. If the receiver receives back-to-back frames, it will not be able to interpret them properly.

As such, the frame receiver is required to wait for the next SYN character before it can begin processing the data.

Once this is done, the receiver will receive the first frame in error and proceed to the next.

Bit-oriented framing

Bit-oriented framing


While character-oriented framing has long been used in communications systems, recent developments in computer networks have seen the introduction of byte-oriented framing.

In byte-oriented framing, each character is encoded with a combination of 8 bits, known as bytes.

In early examples of byte-oriented framings, such as the IBM BISYNC protocol, a sentinel character is inserted into the data section.

Its predefined bit pattern causes the receiver to remove the character and treat the next one as data.

There are several ways to handle this problem. Bit-oriented protocols use a sequence of bits to carry the data, which the upper layer interprets accordingly.

Each frame is comprised of a header and a trailer, and most use a special 8-bit pattern flag called 01111110 as a delimiter.

Several other protocols have similar schemes, but one is preferred over the others. As a result, bit-oriented framing is generally more robust in multiple-access networks.

One of the main problems with connectionless protocols is the lack of frame order. This problem is particularly problematic for bit-oriented protocols.

Connectionless protocols, which do not initiate logical connections, drop frames into the network, and cannot guarantee frame order.

Thus, end-to-end layers must be able to handle this issue. One such program is Kermit. It comes in many flavors, including continuous ARQ (full-duplex) versions.

Bit-oriented protocols are more efficient in data transmission than byte-oriented protocols.

They do not use control characters but instead rely on defined bit patterns to transmit information.

Rather than transmitting the entire byte, the receiver searches for a known start and end-of-frame bit pattern. Bit stuffing makes flags within the data transparent.

READ ALSO:  What Is A Bug In A Computer?

A formal bit-oriented standard, HDLC, is based on IBM’s Synchronous Data Link Control protocol, which was later standardized as High-level Data Link Control.

High-level Data Link Control (HDLC) is an international body of rules and protocols for synchronizing data on a network.

This protocol consists of a set of rules for the transmission of data and is bit-oriented. The format of a frame is described in the High-Level Data Link Control (HDLC).

Another example is in the field of optical communications. Bit-oriented framing is also used in digital networks. Bit-oriented protocols work for any sequence of bits, including flag bits.

In this case, the last byte in the frame is an ETX character. This form of framing ensures that all frames are the same size so that each message is not lost in the process.

The definition of bit-oriented framing is not exhaustive. Flags are bit patterns that serve as the frames’ delimiters.

Generally, they are eight bits long and consist of six consecutive 1s. The pattern 01111110 is often used as the flag in most protocols.

But there is a second type of flag, known as an end-of-frame marker. Flag patterns can contain information other than the message itself.

For instance, if a flag pattern is present, the receiver will interpret it as the end of a frame.

Stop & Wait Protocol

Stop And Wait Protocol


The Stop and wait protocol in computer network framing work with one data packet at a time.

The sender sends the first data packet and waits for an acknowledgment from the receiver before sending the next packet.

If the receiver does not acknowledge the first packet, then the Sender will send the next one, and so on.

This process continues until all of the data packets are not sent. Flow control is essential in computer network framing.

When a sender tries to send a frame, they must set a timer so that the frame can be sent and received.

Once the timer has expired, the Sender will re-send the frame if the ACK has not yet been received.

This mechanism is called the Stop and Wait for protocol and is also known as the automatic repeat request protocol.

It is characterized by the use of a timeout timer and sequence number. The Stop and Wait protocol is easy to implement but has several disadvantages.

READ ALSO:  The Difference Between A Hardware And Software Computers

One of its main benefits is its accuracy. Because a frame cannot be lost in a stop and wait for protocol, the next frame can only be sent after the first one has been acknowledged.

Another disadvantage is that the propagation delay can exceed the transmission delay, reducing efficiency.

Additionally, the sender must wait for the acknowledgment after every transmission, which increases the overall transmission time and slows down the transmission process.

The disadvantage of the stop and wait protocol is that it is slow. A frame can only be sent once in this protocol and it will take some time to complete.

The Sender must wait for the acknowledgment before he can send another frame. This causes unnecessary retransmission of data.

Sliding window protocols overcome this problem. They use a sliding window protocol to eliminate the stop and wait for protocol’s drawbacks.

The other disadvantage of Stop and Wait is that the transmission time of each packet exceeds its propagation time.

In this case, the Sender may wait until an acknowledgment arrives before sending the next frame.

If a frame has a high Bandwidth-Delay product, the Stop and Wait protocol may not be effective.

The time spent waiting for an acknowledgment is called the delay. The propagation delay is measured as a multiplier of the data size.

Another disadvantage of the Stop and Wait protocol is that it performs better on LANs than on WANs.

The Distance between the sender and the receiver is inversely proportional to the efficiency of Stop and Wait. This can cause infinite waiting.

It is a common protocol in the computer network framing world. However, if the distance between the sender and the receiver is large, the protocol can be inefficient.

 

 

 

 


 

 

 

We appreciate you for taking the time to read!

 

 

Finally, we hope you found this article interesting? And what do you think about ”Framing In Computer Networks!?”

 

 

Please you should feel free to share or inform your friends about this article and this site, thanks!

 

 

And let us know if you observe something that isn’t quite right.

 

 

 

 

LEAVE A REPLY

Please enter your comment!
Please enter your name here