Digital Subscriber System No. 1 (DSS1)

Slides:



Advertisements
Similar presentations
Telecommunication Technologies
Advertisements

Data Link Protocols(HDLC & PPP). Data Link Protocols The set of specifications used to implement the DLL. DLL Protocols Synchronous Protocols Character-oriented.
HIGH-LEVEL DATA LINK CONTROL (HDLC) HDLC was defined by ISO for use on both point-to-point and multipoint data links. It supports full-duplex communication.
William Stallings Data and Computer Communications 7th Edition
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 7 – Data Link Control Protocols.
Data and Computer Communications Updated: 2/9/2009.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Data Link Control Slide 1 Data Link Control Chapter 7.
Piggybacking A method to combine a data frame with ACK. Station A and B both have data to send. Instead of sending separately, station A sends a data frame.
D Channel Data Link Protocol Link access procedure on the D channel - LAPD.
11-6 HDLC High-level Data Link Control (HDLC) is a bit-oriented protocol for communication over point-to-point and multipoint links. It implements the.
Data Link Control Protocols Data link control protocol Provides a layer of control between systems on a transmission medium referred to as data link. DLC.
11-6 HDLC High-level Data Link Control (HDLC) is a bit-oriented protocol for communication over point-to-point and multipoint links. It implements the.
William Stallings Data and Computer Communications 7 th Edition Chapter 7 Data Link Control Protocols.
Chapter 9: Data Link Control Business Data Communications, 4e.
FLAG-8 bit sequence with a bit pattern (7E) ADDRESS-address of secondary station that is either the originator or destination of the frame (or.
Example Data Link Protocols Quick review Reference Models? Layers? Flow Control? Bit stuffing? Connection Oriented? Synchronous transmission?
HDLC and PPP. The Data Link Layer in the Internet A home personal computer acting as an internet host. Technology like Ethernet cannot provide “high-level”
MODULE I NETWORKING CONCEPTS.
1 Basic ISDN Course Layer 2 Q ITU-T Q.921 ISDN user-network interface – Data link layer specification.
Data and Computer Communications Eighth & Ninth Edition by William Stallings Chapter 7 – Data Link Control Protocols.
Data Link Control Protocols Dr. Muazzam A. Khan. Flow Control Ensuring the sending entity does not overwhelm the receiving entity —Preventing buffer overflow.
Aegis School of Telecommunication Chapter 7 Data Link Control Protocols Telecom Systems I by Dr. M. G. Sharma, Phd.
Data and Computer Communications Tenth Edition by William Stallings Data and Computer Communications, Tenth Edition by William Stallings, (c) Pearson Education.
Giuseppe Bianchi Layer 2 Framing HDLC (High-level Data Linl Control)
Chi-Cheng Lin, Winona State University CS 313 Introduction to Computer Networking & Telecommunication Data Link Layer Part I – Designing Issues and Elementary.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Data Link Control and Protocols.
1 Kyung Hee University Data Link Protocols. 2 Kyung Hee University 11 장 Data Link Control and Protocols 11.1 Flow and Error Control 11.2 Stop-and-Wait.
Data Link Layer: Data Link Control : Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D.
CIS : Data Link Control. Flow Control Ensuring the sending entity does not overwhelm the receiving entity —Preventing buffer overflow Transmission.
1 Reliable stream service--TCP 1.TCP accepts byte stream, segments 2.It is over IP, so out-of-sequence is very common --lost or error frame results in.
FIT – Monash University High-Level Data Link Control
1 Copyright © Monash University ECS5365 Lecture 2 ISDN Protocols and Standards Philip Branch Centre for Telecommunications and Information Engineering.
Protocol Technology Common Channel Signaling System 7 (SS7) Part 1 Gusztáv Adamis BME TMIT 2016.
Data and Computer Communications Data Link Control Protocols.
11.1 Chapter 11 Data Link Control Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 9: Data Link Control Business Data Communications, 4e.
HDLC High-level Data Link Control. 10/1/2016 Telecom & Management SudParis 2 Summary ● Overview and features ● The frame structure.
Data Link Control Protocols  need layer of logic above Physical  to manage exchange of data over a link frame synchronization frame synchronization flow.
2.10 Flow and Error Control Before that ...
Chapter 3 The Data Link Layer.
High level Data Link Layer Protocol - HDLC
HDLC and PPP.
Chapter 9: Data Link Control
William Stallings Data and Computer Communications 7th Edition
Chapter 11 Data Link Control
Chapter 11 Data Link Control (DLC)
Chapter 11 Data Link Control and Protocols
X.25 Protocol.
Chapter 11 - Part 2 Data Link Control.
3.2 Data Link Layer : Error & Flow Control
ICSA 341 Data Communications & Networking
CIS 321 Data Communications & Networking
Chapter 14: Data Link Control
CS412 Introduction to Computer Networking & Telecommunication
Chapter 11 Data Link Control and Protocols.
Chapter 14: Data Link Control
Chapter 14: Data Link Control
Flow control refers to a set of procedures used to restrict the amount of data that the sender can send before waiting for acknowledgment. Error control.
Kendali Data Link dan Protokol
Chapter 14: Data Link Control
Instructor Mazhar Hussain
Jiying Zhao SITE, University of Ottawa Canada.
EEC4113 Data Communication & Multimedia System Chapter 4: Flow Control by Muhazam Mustapha, August 2010.
William Stallings Data and Computer Communications
Chapter 9: Data Link Control
Protocols and the TCP/IP Suite ECE405- Computer Networks
Introduction Communication Modes Transmission Modes
Presentation transcript:

Digital Subscriber System No. 1 (DSS1) Protocol Technology Digital Subscriber System No. 1 (DSS1) Gusztáv Adamis BME TMIT 2016

Overview – DSS1 Introduction LAPD DSS1 Layer 3 – Call Control Terminology, protocol stack LAPD Tasks Frame formats Automatic TEI management DSS1 Layer 3 – Call Control Message formats Call establishment and release Additional messages

BRA - refreshment 2B+D16: BRA/BRI: Basic Rate Access/Interface, 144 kb/s on single wire pair typically for private/small company subscribers possible combinations: 2 independent voice calls 1 voice call + 1 fax 1 voice call + 64 kb/s data transfer (e.g. Internet access) 128 kb/s data transfer dynamically adjustable 16kb/s D (signaling) channel Originally for low speed data transfer D – Data channel Nowdays for call control only DSS1

Digital Subscriber System No. 1 (DSS1) DSS1: Digital Subscriber System No. 1. 1. Physical layer: ISDN D channel 2. LAPD: Link Access Procedure on D channel framing error-free signal transfer between a terminal equipment (TE) and a switch (NT – Network Termination) connection-oriented 3. DSS1 3rd layer: call control

LAPD – Link Access Procedure on D channel Classic 2nd layer (Data Link layer) protocol Services: Framing Error free transmission Error Detection Error Correction HDLC – High Level Data Link Control family member Original version – 1960s Connecting a Terminal to a Host

LAPD framing Special bit pattern (Flag) to indicate the beginning/end of a frame 01111110 – 7EH Transparent transmission prevent the occurence of this pattern inside of a frame Transmitter: inserts a bit0 after 5 consecutive bit1(bit stuffing) Flag-pattern cannot occur for sure – flag contains 6 consecutive bit1s Receiver: after receiving 5 consecutive bit1s – analyzes the next bit If 1: Flag If 0: „inserted” bit – throw, not part of the message

Bit stuffing - example Original message: Transmitted message: (end) 011111011111110110 (beginning) Transmitted message: 011111100011111011011111011001111110 Length of the message depends on its value Later slides: field lengths given BEFORE bit stuffing

Error detection and Correction Detecting transmissional errors Transmitter: Generates a 2 octet long checksum CRC – Cyclic Redundancy Code Receiver: Generates according to the same rules from the received message If the same as in the message – considered to be received correctly If different – thrown away, WITHOUT ANY FURTHER PROCESSING Detecting a lost frame Sequence numbers (not in all frame types!) Receiving a message with a „wrong” sequence number Request to repeat

General format of a LAPD frame ADDRESS CONTROL Information Sequence 2. 3. 4. 5. N-2. 0 1 1 1 1 1 1 0 (Only in I and UI frames) 1 or 2 octet Frame Check 1. Flag 2 octet Flag N-1. N.

Address SAPI – Service Access Point Identifier 7 6 5 4 3 2 1 0 SAPI TEI C/R E A 1 Command/Response SAPI – Service Access Point Identifier 0 – signaling, 63 – LAPD management TEI – Terminal Endpoint Identifier 0 – 63 fix, 64 – 126 automatic, 127 - broadcast SAPI Service Access Point Identifier Szolgálat Elérési Pont Azonosító TEI Terminal Endpoint Identifier Terminál Végpont Azonosító C/R Command / Response bit Parancs / Válasz bit EA0 Extension of Address 0 - 1 EA1 Cím kiterjesztés 0 - 1

LAPD frame types 3 frame types: U (Unnumbered): Signaling connection establishment, release and control I (Information): transmit DSS1 Layer 3 (Call control) messages S (Supervisory): Flow control of the I frames

Control – U frame Unnumbered – U frame Mainly for controlling a LAPD connection (establishment – release) Additionally: Unnumbered Information (UI) LAPD: Automatic TEI management DSS1 Layer 3: NT  TE Setup (see later) P/F: Poll / Final bit M P / F 1 7 6 5 4 3 2

U frame types

Control – I frame Information – I frame Transmission of DSS1 Layer 3 info (Call control) N(S) – sent number N(R) – receive number sequence number of the frame waited for acknovledgement for all the previous trame N (S) N (R) P/F 7 6 5 4 3 2 1

Control – S frame Supervisory – S frame Flow control for I frames P / 7 6 5 4 3 2 1 X S N (R)

S frame types

Example of using sequence numbers TE NT 0 sent I-frame (Ctrl field: N(S)=0, N(R)=0) 0 received 0 received (0 ack'ed) I-frame (Ctrl field : N(S)=0, N(R)=1) 0 sent (0 ack'ed) I-frame (Ctrl field : N(S)=1, N(R)=1) 1 sent (0 ack'ed) 1 received (0 ack'ed) S-frame (RR) (Ctrl field : N(R)=2) 1 ack'ed I-frame (Ctrl field : N(S)=2, N(R)=1) 2 sent (0 ack'ed) 2 received (0 ack'ed) S-frame (RR) (Ctrl field : N(R)=3) 2 ack'ed I-frame (Ctrl field : N(S)=3, N(R)=1) 3 sent (0 ack'ed) 3 received (0 ack'ed) I-frame (Ctrl field : N(S)=1, N(R)=4) 1 received (3 ack'ed) 1 sent (3 ack'ed)

Example of using S frames TE NT 0 sent I-frame (Ctrl field: N(S)=0, N(R)=0) 0 received 0 received, 0 ack'ed I-frame (Ctrl field : N(S)=0, N(R)=1) 0 sent, 0 ack'ed I-frame (Ctrl field : N(S)=1, N(R)=1) 1 sent, 0 ack'ed 1 received, 0 ack'ed S-frame (RNR) (Ctrl field : N(R)=2) 1 ack'ed 1 ack'ed, indicating temp. unavailability Receiver ready again S-frame (RR) (Ctrl field : N(R)=2) I-frame (Ctrl field : N(S)=2, N(R)=1) 2 sent 0 ack'ed 2 wrong I-frame (Ctrl field : N(S)=1, N(R)=2) 1 received, 1 ack'ed 1 sent, 1 ack'ed I-frame (Ctrl field : N(S)=3, N(R)=2) 3 sent, 1 ack'ed 3 received – ERROR!!! S-frame (REJ) (Ctrl field : N(R)=2) 1 ack'ed 1 ack'ed – error after 1 I-frame (Ctrl field : N(S)=2, N(R)=2) 2 repeated, 1 ack'ed

Automatc TEI management Processes TEI assignment TEI check TEI removal Messages Broadcast UI (TEI = 127) LAPD management (SAPI = 63)

Automatic TEI management message structure C/R 0 0 0 P/F 0 0 (M) (M) (M) (M) (M) TEI = 127 SAPI = 63 1 (EA) 0000 1111 (TEI Management) RN MT Ai (U) CRC 0111 1110 RN: Random Number (Transaction ID) MT: Message Type code Ai: Action indicator (Managed TEI, or if 127: all TEI)

TEI management message types

TEI request / denial (TE) (NT) UI (SAPI, TEI) [ TEI Request, Ri, Ai] UI (SAPI, TEI) [TEI Assigned, Ri, Ai] OR UI (SAPI, TEI) [ TEI Denied, Ri, Ai] Ri : 16 bit random number for identifying the request, in response the same value used to be able to match request/response Ai : in request: the requested TEI or if 127: any TEI accepted, in response: the assigned/denied TEI

TEI check and removal (TE) (NT) TEI Check Request (0, Ai) Ai= TEI value to be checked TEI Check Response (Ri, Ai) 200 ms TEI Check Request (0, Ai) If no answer 200ms If no answer – TEI removed TEI Check Response (Ri, Ai) TEI Check Response (Ri, Ai) If more answers – TEI value Ai removed or Ai=127 TEI Remove(0, Ai) all TEIs removed

DSS1 Layer 3 DSS1 Layer3: this is referred as DSS1 shortly Call establishment and release Formats, parameters

DSS1 Layer 3 message format Call Reference N(R) 0000 1000 (DSS1) IE ID IE Length C/R TEI = x SAPI = 0 1 (EA) 0111 1110 Address Control Info field CRC Checksum Flag N(S) (I) P/F IE Value MT Flag

Call Reference Identification of a call Assigned by the side that generates the call Valid only for one NT-TE connection Makes it possible to have multiple calls on the same TE

Call Reference 2 or 3 octet long 1. octet: length (1 or 2 more octets) 2. octet MSB - indicator: 0: message sent by the assignee of the call ref. 1: message sent to the assignee of the call ref.

Message Type Determines the type of the message Determines the set of the possible IEs – Information Elements

Information Elements Mandatory or optional 2 main versions: One octet long: MSB = 1, 3 bit: type, 4 bit: value More octet long MSB = 0 Variable length: 1st octet: type, 2nd octet: length 3..255th octet: value (as many value octets as indicated by length)

DSS1 Layer 3 Call establishment and release next slides blue: LAPD U frames red: optional

DSS1 call establishment ISDN ISDN TE ISDN switch ISDN ISDN TE ISDN Call attempt SABME UA I (Setup) I (Setup Ack.) I (Information) I (Call Proceeding) UI (Setup) SABME UA I (Call Proceeding) I (Alerting) Ringing I (Alerting) Ringing tone I (Connect) Answer I (Connect) I (Connect Ack.) I (Connect Ack.) B channel connection B

DSS1 call release Release can be initiated caller or called party DSS1 ISDN TE ISDN ISDN ISDN switch ISDN TE ISDN B channel connection B Call ended I (Disconnect) I (Disconnect) I (Release) I (Rel. Complete) DISC UA I (Release) I (Rel. Complete) DISC UA Release can be initiated caller or called party

Setup (important) parameters Sending complete – if dialled number presented Bearer capability (important parts): Information transfer – speech, (un)restricted digital, audio, stb. Transfer mode – circuit/packet + transfer rate (e.g. 64kb/s) Modem type Layer 1 protocol (A/) Layer 2 protocol (Q.921 – LAPD, X.25) Layer 3 protocol (Q.931 – DSS1, X.25) Calling/Called party number

Disconnect – Cause parameter Indicates the reason of disconnection (7 bits) Class (000, 001): normal event 16 – normal call clearing 17 – busy 19 – no answer Class (010): resource unavailable Class (011): service or option not available Class (100): service or option not implemented Class (101): invalid message (e.g. parameter out of range) Class (110): protocol error (e.g. unknown message) Class (111): interworking

Other DSS1 messages Q.931 call info SUSPEND SUSPEND ACKNOWLEDGE SUSPEND REJECT RESUME RESUME ACKNOWLEDGE RESUME REJECT USER INFORMATION

Other DSS1 messages Q.932 supplementary services: HOLD HOLD ACKNOWLEDGE HOLD REJECT RETRIEVE RETRIEVE ACKNOWLEDGE RETRIEVE REJECT

Other DSS1 messages RESTART RESTART ACKNOWLEDGE