Featured Post

80186 Microprocessors: Introduction and Architecture

Hello friends, today we are going to discuss the 80186 microprocessor with integrated peripherals. The Intel 80186 is an improved version of the 8086 microprocessor. 80186 is a 16-bit microprocessor with a 16-bit data bus and a 20-bit address bus. It has a programmable peripheral device integrated into the same package. The instruction set of the 80186 is a superset of the instruction set of the 8086. The term super-set means that all of the 8086 instructions will execute properly on an 80186, but the 80186 has a few additional instructions. The following figure shows the block diagram and pin diagram of 80186. The CPU is divided into seven independent functional parts. 80186 internal block diagram  80186 68-pins pin diagram  Functional parts of 80186 Microprocessor The Bus Interface Unit (BIU) Execution Unit (EU) Clock Generator Programmable interrupt controller Programmable Chip Select Unit (CSU) Programmable DMA Unit Programmable counter/timers The Bus Interface Unit ...

Service Primitives in Computer Network

Hello friends, today we are going to discuss the service primitives in computer networks. 
A service primitive is a set of operations that the user can invoke to access the service.
In the data transmission in the OSI model, when one layer requires help from its adjacent layer, i.e. the communication between the two layers is carried out through a set of operations called service primitives that are available to a user or other entity to access the service.  

These primitives tell the service to perform some action or report on an action taken by a peer entity. 

Operations:

  • The initiating entity does CONNECT. Request: An entity wants to do some work Or a packet being sent.
  • The receiver then gets a CONNECT. Indication: An entity is to be announcing that somewhere wants to set up a connection to it.
  • The CONNECT. Response is primitive to tell whether it wants to accept or reject the proposed connection.
  • The entity issuing the initial CONNECT. request finds out what happened via a CONNECT. Confirm primitive.
According to these actions service primitives have the following types.

Types of Service Primitives:

  • Request: A service user wants some service from its adjacent layer to pass the parameters to specify the requested service.
  • Indication: Another Service user or receiver user gets an indication that a procedure has been invoked by the adjacent service user.
  • Response: A receiver service user acknowledge or complete some procedure i.e accept or reject the proposed connection.
  • Confirm: service user gets acknowledge the permission to get connect or not.
Four classes of service primitives
Types of service Primitives 
 

Parameters of Service Primitives

Primitives can have parameters such as CONNECT, DATA, and DISCONNECT to establish a connection, send data, and Disconnect a connection through these four primitives.
Services can be either confirmed or unconfirmed. 
In a confirmed service called connection-oriented service, there is a request, an indication, a response, and a confirmation.
In an unconfirmed service called connectionless service, there is just a request and an indication. 
These parameters are as follows.

For Connection-Oriented Service


1. CONNECT.request: Request a connection to be established. 
2. CONNECT.indication: Signal the called party (phone ringing).
3. CONNECT.response: Accept / reject calls. 
4. CONNECT.confirm: Tell the caller whether the call was accepted.
5. DATA.request: Request that data be sent.
6. DATA.indication: Signal the arrival of data.
7. DISCONNECT.request: Request that a connect be released.
8. DISCONNECT.indication: Signal the peer about the request.
Example: Modern Telephone and Intenet Services

For Connection Less Service:


1. SENDING.data: Sender just sending data (traditional postal service).
2. REPORT.confirm: availability of reports the data reached at the destination (registered post) 

You might also like these posts:

If you want more posts on communication networks please click here

Well, how you found this article, is it useful? I'm sure this will help you a lot. If you would like more information please feel free to write me a comment right below.

Subscribed to the My Computer Tutors for the latest updates. I will keep updating you with the latest tutorials. 

Comments

  1. nice tutorial of service primitives... Also visit my Blog for more info about all subjects of CS -
    codevidyalay.blogspot.com

    ReplyDelete
  2. Very useful... thanks

    ReplyDelete

Post a Comment

Your comment will inspire me, Please leave your comment