The Wayback Machine - https://web.archive.org/web/20240625191603/https://www.geeksforgeeks.org/soft-real-time-communication-in-lan/
Open In App

Soft Real-time Communication in LAN

Last Updated : 27 Jul, 2020
Improve
Improve
Like Article
Like
Save
Share
Report

Soft Real-time Communication is communication system that is used to support soft real-time applications is a LAN. Soft real-time communication networks do not provide absolute Quality of Service (QoS) guarantee to applications. These networks always ensure prioritized treatment for real-time messages. It also ensures that message deadline miss ratio for real-time messages is kept to a minimum and real-time messages can be provided statistical guarantees on delay bounds.

Protocols in Soft Real-time Communication :
Protocols used in soft real-time communication usually assume transmission of both soft real-time and hard real-time messages over network. Usually, it is assumed that soft real-time traffic is made up of CBR and VBR sources. It is also assumed that soft real-time message rates are very low as compared to channel capacity. Hard real-time messages arrive aperiodically in bursts. In the presence of bursts, it becomes very difficult to endure guarantee to real-time traffic. Therefore, bursts need to be smoothed for enduring statistical guarantees on deadline for real-time messages to hold.

Soft Real-time Communication Algorithm :
Soft real-time communication uses a fixed rate traffic smoothing algorithm. Fixed-rate traffic smoothing algorithm was developed by Kweon and Shin. It is based on network-wide transmission limits. The input limit for each node in system is derived from transmission limits. The traffic smoother is placed between MAC layer and TCP/IP layer. It is used to smooth a hard real-time system so that guarantees to real-time messages could not be violated. The traffic smoothing algorithm is just like a leaky bucket algorithm which is known as Credit Bucket Depth (CBD). It has two statically fixed parameters Credit Bucket Depth (CBD) and Refresh Period (RP).

  • Credit Bucket Depth (CBD) –
    CBD is maximum number of credits which are added to bucket at each refresh. It also represents maximum number of credits a bucket can hold.

  • Refresh Period (RP) –
    RP is refresh period with which bucket is filled with new credits.

Working :
CBD/RP ratio is average guaranteed throughput for non-real-time messages. Number of credits in bucket is known as Current Network Share (CNS). When the number of available credits is positive but it is smaller than size of message to be sent then credits are borrowed. Therefore, balance of credits can become negative at any time. The current network share may become negative if credits have been borrowed. Number of credits in bucket i.e. current network share is updated at each refresh.

CNS = min (CNS + CBD, CBD)

CBD amount of credits is filled such that CNS does not exceed CBD. Smoothing process is carried out when a hard real-time message arrives from TCP/IP layer.

if (CNS > 0)
     CNS = CNS - messageBytes
     /* where messageBytes is size of
        the message */
     transmit the message
else
     hold the message in buffer until CNS > 0

Similar Reads

Difference between data communication and digital communication
The terms Data Communication and Digital Communication share a common word, i.e. Communication between them. Communication that natively means to share something; makes these terms look similar, but they are quite different from each other. While one term relates more to what is being communicated other is closer to what is the type and process of
7 min read
Difference between Satellite Communication and Optical Communication
Satellite Communication: In satellite communication, geostationary communication satellites are used for the purpose of communication. A satellite works as a relay station in space through which communication takes place anywhere in the world. It takes the signal from one earth station, amplifies it, enhances the quality of signals, and transmits i
3 min read
Difference between Analog Communication and Digital Communication
1. Analog Communication: In analog communication the data is transferred with the help of analog signal in between transmitter and receiver. Any type of data is transferred in analog signal. Any data is converted into electric form first and after that it is passed through communication channel. Analog communication uses a continuous signal which v
3 min read
Types of area networks - LAN, MAN and WAN
The Network allows computers to connect and communicate with different computers via any medium. LAN, MAN, and WAN are the three major types of networks designed to operate over the area they cover. There are some similarities and dissimilarities between them. One of the major differences is the geographical area they cover, i.e. LAN covers the sma
7 min read
Virtual LAN (VLAN)
Virtual LAN (VLAN) is a concept in which we can divide the devices logically on layer 2 (data link layer). Generally, layer 3 devices divide the broadcast domain but the broadcast domain can be divided by switches using the concept of VLAN. A broadcast domain is a network segment in which if a device broadcast a packet then all the devices in the s
7 min read
Difference between LAN and MAN
Prerequisite - Types of area networks – LAN, MAN and WAN Local Area Network (LAN): LAN is a group of network devices which allow the communication between connected devices. The private ownership has the control over the local area network rather than public. LAN has short propagation delay than MAN as well as WAN. It covers the smallest area such
2 min read
Difference between LAN and VLAN
LAN stands for Local Area Network is a group of network devices which allow the communication between connected devices. Advantages Low-costSharing is easyEasy configuration Disadvantages- Issues in securityCovers limited areaInfected to viruses easily.VLAN VLAN stands for Virtual Local Area Network which is used to enhance the performance of LANs
2 min read
Difference between Ethernet and LAN
In practical, concept of LAN have possible because of Ethernet. The main difference between Ethernet and LAN is that Ethernet's working function is decentralized on the other hand LAN's working functions is centralized. And another difference is that, There is limitation take place in transmission of Ethernet while there is no limitation take place
1 min read
Difference between LAN and WAN
Prerequisite - Types of area networks – LAN, MAN, and WAN Local Area Network (LAN): LAN is a group of network devices that allow communication between connected devices. The private ownership has the control over the local area network rather than the public. LAN has a short propagation delay than MAN as well as WAN. It covers the smallest area suc
2 min read
Difference between LAN, MAN and WAN
Prerequisite - Types of area networks – LAN, MAN, and WAN LAN stands for local area network. It is a group of network devices that allow communication between various connected devices. Private ownership has control over the local area network rather than the public. LAN has a short propagation delay than MAN as well as WAN. It covers smaller areas
2 min read
Article Tags :