Service Primitives Sequence Diagrams
1.4. Protocol Notations
OSI network protocols are specified in a variety of notations. This section describes two popular notations, sequence diagrams and state transition diagrams , which are extensively used in standards and the literature. Both rely on the notion of a service primitive which is described first.1.4.1. Service Primitives
A service primitive is an abstract representation of the interaction between a service provider and a service user. Service primitives are concerned with what interactions take place rather than how such interactions are implemented. Service primitives may be of one of the following four types: • Request Primitive . This is issued by a service user to the service provider to request the invocation of a procedure. • Indication Primitive . This is issued by the service provider to a peer service user usually in response to a request primitive to indicate that a procedure has been requested. • Response Primitive . This is issued by a peer service user to the service provider usually in response to an indication primitive to indicate that the requested procedure has been invoked. • Confirm Primitive . This is issued by the service provider to a service user to indicate that an earlier request for the invocation of a procedure has been completed. An actual service primitive consists of a command and, if appropriate, a set of associated parameters. A simple convention is used for naming primitives: a primitive name consists of the first letter of the layer to which it belongs, followed by its 12 Communication Networks Copyright © 2005 PragSoft command name, followed by its type. For example, a request type primitive at the network layer for initiating a connection is named ‘N-CONNECT request’.1.4.2. Sequence Diagrams
A sequence diagram defines a service protocol by specifying the permissible sequence of service primitives that may be exchanged between service users and service providers. Service users and service providers are represented by vertical bars. Service primitives are represented by directed lines between the bars. For clarity, primitive parameters are not included. Figure 1.7 shows a simplified example of requesting a connection at the network layer. According to the diagram, a service user can request, from the service provider, a connection to a peer service user. The service provider in turn issues a connection indication to the peer service user. The peer service user responds to the service provider which, in turn, confirms the cycle with the original service user. Figure 1.7 A simple sequence diagram. Service User Service User Service Provider N-CONNECT request N-CONNECT N-CONNECT N-CONNECT indicate response confirm1.4.3. State Transition Diagrams
Parts
» | Komputasi | Suatu Permulaan
» Introduction 1 The Physical Layer 18 The Data Link Layer 36 The Network Layer 52
» Integrated Services Digital Network 140 Broadband ISDN and ATM 161
» Network Components Network Types
» The Physical Layer The Data Link Layer
» The Network Layer The Transport Layer
» The Session Layer The Presentation Layer
» Service Primitives Sequence Diagrams
» Signal Types Modulation Transmission
» Space Division Multiplexing SDM Frequency Division Multiplexing FDM Time Division Multiplexing TDM
» RS-232 Physical Layer Standards
» Further Reading Summary Exercises
» Synchronous Protocols Asynchronous Protocols
» Acknowledgments Timers Link Protocol Functions
» Error Checking Link Protocol Functions
» Retransmission Flow Control Link Protocol Functions
» Sliding Window Protocol The Data Link Layer
» BSC Data Link Layer Standards
» HDLC Data Link Layer Standards
» Further Reading Summary The Data Link Layer
» Exercises The Data Link Layer
» Network Services The Network Layer
» Circuit Switching Switching Methods
» Packet Switching Switching Methods
» Packet Structure Routing Packet Handling
» Congestion Control Error Handling
» CCITT X.25 Network Layer Standards
» CCITT X.75 IP Network Layer Standards
» ISO 8473 Network Layer Standards
» Further Reading Summary The Network Layer
» supports three types of packets: data packets, control packets, and interrupt
» Network Types Transport Services
» Classes of Protocol Transport Protocol
» Splitting and Recombining Transport Protocol
» Flow Control Transport Protocol
» Error Checking Transport Protocol
» TCP Transport Layer Standards
» Further Reading The Transport Layer
» Session Layer Role Session Services
» Functional Units Session Services
» Activities and Dialogue Units
» Error Reporting and Resynchronization
» Session Layer Standards The Session Layer
» Further Reading The Session Layer
» Service Primitives Presentation Services
» Definitions in ASN.1 Abstract Syntax Notation One
» Basic Encoding Rules Abstract Syntax Notation One
» Presentation Protocol The Presentation Layer
» Presentation Standards The Presentation Layer
» Further Reading The Presentation Layer
» Application Entity Application Services
» Association Control Common Application Service Elements
» Reliable Transfer Common Application Service Elements
» Virtual Terminal Specific Application Service Elements
» Message Handling Systems Specific Application Service Elements
» File Transfer, Access, and Management
» Other Standards The Application Layer
» Further Reading The Application Layer
» Topologies and Access Protocols
» Logical Link Control IEEE 802 Standards
» Token Ring Protocol ANSI FDDI Standard
» Further Reading Local Area Networks
» A Simple Network Basic Concepts
» Networks Topologies Basic Concepts
» Switching Systems Basic Concepts
» Common Channel Signaling Signaling
» Signaling Data Link Signaling Link Control
» Signaling Network Functions Signaling System Number 7
» Signaling Connection Control Part
» User Parts Signaling System Number 7
» PBX Networks Private Telephone Networks
» Corporate Networks Private Telephone Networks
» Intelligent Networks Private Telephone Networks
» Further Reading Telephone Networks
» ISDN Channels Basic Concepts
» Functional Groupings and Reference Points
» ISDN Services Basic Concepts
» The Physical Layer Protocol Architecture
» The Network Layer Protocol Architecture
» Internetworking Integrated Services Digital Network
» ISDN Standards Integrated Services Digital Network
» Further Reading Integrated Services Digital Network
» B-ISDN Services Broadband ISDN
» B-ISDN User-Network Interface Broadband ISDN
» B-ISDN Protocol Architecture Broadband ISDN
» Channels and Paths Asynchronous Transfer Mode
» ATM Cells Asynchronous Transfer Mode
» SDH-Based Interface Physical Layer
» Cell-Based Interface Physical Layer
» Cell Delineation Physical Layer
» HEC Generation and Verification
» Cell Rate Decoupling Physical Layer
» Virtual Channel Identifier ATM Layer
Show more