410 likes | 486 Views
Introduction & Course Overview. Lesson 1. Teacher. Martin Hjorth Stender Room: 426 mhs@iha.dk. Course Overview. Generel communication in Protocol stacks Peer-to-peer communication Upper and lower layer Syntaxes for describing PDU (messages exchanged between peer layers)
E N D
Introduction & Course Overview Lesson 1 IHA præsentation
Teacher Martin Hjorth Stender Room: 426 mhs@iha.dk IHA præsentation
Course Overview • Generel communication in Protocol stacks • Peer-to-peer communication • Upper and lower layer • Syntaxes for describing PDU (messages exchanged between peer layers) • Protocol Design (Patterns) • Testing protocols IHA præsentation
Outline for today • Fundamentals of Computer Networks (Rep.) • Circuit Switching vs. Packet Switching • Connection-Oriented vs. Connectionless • Communication Protocol Stacks in Action • Standard Organizations • 3GPP • IETF • BlueTooth • Zigbee IHA præsentation
Outline for today • Fundamentals of protocols in a multi-service network • Layers of Communication • Horizontal Communication • Vertical Communication • Protocols in Real • 3GPP Long Term Evolution • ZigBee • ETSI Digital Enhanced Cordless Telecommunications • TCP IHA præsentation
Fundamentals of Computer Networks IHA præsentation
Fundamentals of Computer Networks Two fundamental types of Network Switching: Circuit Switching Packet Switching *TDM/FDM *Time-Division Multiplexing Frequency-Division Multiplexing IHA præsentation
Network core – Circuit switching Circuit Switching • Requires a Setup/release phase • for ressource reservation • Quaranteed end-to-end connection • Quaranteed constant rate (bandwidth) IHA præsentation
10 Mb/s Ethernet C A statistical multiplexing 1.5 Mb/s B queue of packets waiting for output link D E Fundamentals of Computer Networks Packet Switching • data stream divided into packets • packets share network resources • packets uses full link bandwidth and as needed • packets are stored & forwarded and queued. IHA præsentation
Packet- and Circuit switched Packet switching allows more users to use network! • 1 Mb/s link • each user: • 100 kb/s when “active” • active 10% of time • circuit-switching: • 10 users • packet switching: • with 35 users, probability > 10 active less than .0004 = 0.04% N users 1 Mbps link IHA præsentation
Connection-Oriented Service • Before two computers can communicate, they: • Establish a ’connection’ through the network, by • One computer requests a connection • Second computer accepts the connection • Data is transferred (full duplex…) • Connection is terminated IHA præsentation
Connectionless Service • When computer wants to send data, it: • Place data in an appropriate frame format • Attach the address of the destination computer • Pass the frame to the network for delivery IHA præsentation
Communication Protocol Stacks in Action GSM GPRS HTTP TCP/IP EDGE SIP RTP/RTCP HSPA UMTS UDP/IP FTP LTE DECT LTE-A SDP TETRA BlueTooth Zigbee IHA præsentation
Standard Organizations • 3GPP • Specifies mobile communication protocols • GSM, GPRS, EDGE, UMTS, HSPA, LTE, LTE-A The 3rd Generation Partnership Project (3GPP) is a collaboration between groups of telecommunications associations, to make a globally applicable third generation (3G) mobile phone system specification within the scope of the International Mobile Telecommunications-2000 project of the International Telecommunication Union (ITU). IHA præsentation
Standard Organizations • IETF • Specifies all Internet related protocols • TCP, UDP, IP, HTTP, FTP, SIP, SDP…… The Internet Engineering Task Force (IETF) develops and promotes Internet standards, cooperating closely with the W3C and ISO/IEC standard bodies and dealing in particular with standards of the TCP/IP and Internet protocol suite IHA præsentation
Standard Organizations • BlueTooth • Specifies (surprise surprise) BlueTooth (core + profiles) IHA præsentation
Standard Organizations • Zigbee Alliance • Specifies (surprise) Zigbee (core + profiles) ZigBee is a specification for a suite of high level communication protocols using small, low-power digital radios based on the IEEE 802.15.4-2003standard for wireless personal area networks (WPANs), such as wireless headphones connecting with cell phones via short-range radio. IHA præsentation
Fundamentals of protocols in a multi-service network IHA præsentation
Layered Communication Computer Networks & Communication Systems - a need for structure? Ressource Management Integrity protection Modulation Channel coding Flow control Interleaving Error concealment Authentication Encryption Connection Management Addressing Error correction Re-transmission Identification Assembly Link adaptation Segmentation File transfer Location Tracking Web browsing Error detection IHA præsentation
Layered Communication Conclusion: - Computer Networks & Communication Systems are complicated processes. - To cope with this complexity we organize the systems into: LAYERS • A layer performs some of the functions necessary to achive communication • between systems • Each layer built upon the layer below (except for the lowest layer) • The layers provide levels of abstraction IHA præsentation
Layered Communication The OSI Reference Model Intermediate Systems IHA præsentation
Layered Communication OSI Reference Model – Lower layers The physical layer Provides the mechanical, electrical and procedural means for transmitting bits over a communication medium. The data link layer Provides services for the transmission of data between directly connected systems in a communication network. The network layer Handles the routing of data through communication networks. IHA præsentation
Layered Communication OSI Reference Model – Upper layers The transport layer Provides reliable end-to-end services without being concerned about the route through communication networks. The Session layer provides facilities to organise and synchronise dialogues, i.e. communications that consist of several strands such as audio and video components. The Presentation layer deals with issues about how data is represented and ensures that the systems agree on how the information is transferred. The Application layer provides the means for application programs to access the communication system represented by the OSI reference model. For instance, the application layer can provide services for supporting file transfer and email. IHA præsentation
Layered Communication OSI Reference Model – Reflections • There should not be more layers than is necessary. • Boundaries should be located where they have proved successful in the past. • Boundaries should be located to minimise the interactions between layers. • Boundaries should be located where a standardised interface may be useful. • Separate layers should be created to perform functions that are associated with different technologies or levels of abstraction. • Functions associated with similar technology should be collected together in the same layers. IHA præsentation
Layered Communication Example – 4 layered protocol stack peer-to-peer communication IHA præsentation
Layered Communication Definition: - The rules for sending blocks of data (each known as a Protocol Data Unit (PDU)) from one node in a network to another node. • A protocol specification defines the operation of the protocol and may also suggest how the protocol should be implemented. It consists of three parts: • Definition of Protocol Control Information (PCI) format which forms the PDU header • Definition of procedures for transmitting and receiving PDUs • Definition of services provided by the protocol layers IHA præsentation
Layered Communication Protocol Data Unit • Header (PCI - Protocol Control Information • Payload (SDU - Service Data Unit) • The protocol does not define or constrain the data carried in the payload part. • It does specify the format of the PCI, defining the fields which are present and the way in which the patterns of bits are to be interpreted Packet Payload Packet Header IHA præsentation
Layered Communication • A protocol also defines the procedures which determine how the PDU will be processed at the transmit and receive nodes. The procedures specify the valid values for the PCI fields, and the action be taken upon reception of each PCI value (usually based on stored control information). Examples of procedures which are implemented in protocols include : • error recovery (e.g. the go-back-n procedure) • flow control • segmentation • service access point selection • connection management IHA præsentation
Horizontal Communication PDU PCI IHA præsentation
Vertical Communication Protocol Header Processing for Transmission by Layer N Layer N+1 Protocol Data Unit becomes a Layer N Service Data Unit PDU PCI + SDU PCI SDU Layer N PDU PCI + SDU IHA præsentation
Vertical Communication Protocol Header Processing on Reception by Layer N Layer N+1 Protocol Data Unit is formed from the Layer N Service Data Unit PDU PCI + SDU PCI SDU Layer N PDU PCI + SDU IHA præsentation
Vertical Communication Summary: • A layer encapsulates the SDU by adding a protocol header (PCI) • The combined PCI and SDU are known as a PDU • The PDU of Layer N forms the SDU of the layer below (N-1) Reflections: - Layer N does NOT know anything about the content of the PDU received How do we cope with a layer below that is providing multi-services? IHA præsentation
Vertical Communication How do communication takes place between two adjacent layers in the same system? • OSI view of adjacent layer communication • Service Access Points (SAP) • Processes that communicates across the interface are called entities IHA præsentation
Vertical Communication The interaction between adjacent layers is expressed in terms of issuing and receiving primitives • For each primitive up to four basic types are available • request – an entity invokes a service • indication – an entity is informed of an event • response – an entity reacts to an event • confirm – an entity is infromed of the result of an earlier request IHA præsentation
Vertical Communication IHA præsentation
Vertical Communication • Example: DECT Call Control (NWK Layer) services: • Setup • Setup a phone call to remote (called party) • Alert service • Alert to the caller that the call is received (but not answered) • Connect • Connect to an incoming call • Release • Release (terminate) a call IHA præsentation
Vertical Communication • Example: DECT Call Control (NWK Layer) services: • Setup service • Setup.req, Setup.ind, Setup.res, Setup.cfm primitives • Alerting service • Alert.req, Alert.ind • Connect service • Connect.req, Connect.ind, Connect.res, Connect.cfm • Release service • Release.req, Release.ind, Release.res, Release.cfm IHA præsentation
Vertical Communication Example: DECT Call Control (NWK Layer) services: PDUs IHA præsentation
Vertical Communication Most primitives carries data • Example DECT Setup.req: • Called party number • Calling party number • Transaction Identifier • Presentation Indication (may my number be displayed?) IHA præsentation
Vertical Communication Most primitives carries data • Example DECT Setup.req: • Called party number • Calling party number • Transaction Identifier • Presentation Indication (may my number be displayed?) IHA præsentation
3G – Access Stratum Example IHA præsentation