10.07.2015 Views

Practical Industrial Data Networks:Design, Installation and ...

Practical Industrial Data Networks:Design, Installation and ...

Practical Industrial Data Networks:Design, Installation and ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

340 <strong>Practical</strong> <strong>Industrial</strong> <strong>Data</strong> <strong>Networks</strong>: <strong>Design</strong>, <strong>Installation</strong> <strong>and</strong> TroubleshootingB.13.2B.13.3B.13.4B.13.5Application layerThe application layer is the topmost layer in the OSI reference model. This layer isresponsible for giving applications access to the network. Examples of application-layertasks include file transfer, electronic mail (e-mail) services, <strong>and</strong> network management.Application-layer services are much more varied than the services in lower layers,because the entire range of application possibilities is available here. Applicationprograms can get access to the application-layer services in software through applicationservice elements (ASEs). There is a variety of such application service elements; eachdesigned for a class of tasks. To accomplish its tasks, the application layer passesprogram requests <strong>and</strong> data to the presentation layer, which is responsible for encoding theapplication layer’s data in the appropriate form.Presentation layerThe presentation layer is responsible for presenting information in a manner suitable forthe applications of users dealing with the information. Functions such as data conversionfrom EBCDIC to ASCII (or vice versa), use of special graphics or character sets, datacompression or expansion, <strong>and</strong> data encryption or decryption are carried out at this layer.The presentation layer provides services for the application layer above it, <strong>and</strong> uses thesession layer below it. In practice, the presentation layer rarely appears in pure form, <strong>and</strong>it is the least well defined of the OSI layers. Application- or session-layer programs willoften encompass some or all of the presentation layer functions.Session layerThe session layer is responsible for synchronizing <strong>and</strong> sequencing the dialog <strong>and</strong> packetsin a network connection. This layer is also responsible for making sure that theconnection is maintained until the transmission is complete, <strong>and</strong> ensuring that appropriatesecurity measures are taken during a ‘session’ (that is, a connection). The session layer isused by the presentation layer above it, <strong>and</strong> uses the transport layer below it.Transport layerIn the OSI reference model, the transport layer is responsible for providing data transferat an agreed-upon level of quality, such as at specified transmission speeds <strong>and</strong> errorrates. To ensure delivery, outgoing packets are sometimes assigned numbers in sequence.These numbers are then included in the packets that are transmitted by lower layers. Thetransport layer at the receiving end subsequently checks the packet numbers to make sureall have been delivered <strong>and</strong> to put the packet contents into the proper sequence for therecipient. The transport layer provides services for the session layer above it, <strong>and</strong> uses thenetwork layer below it to find a route between source <strong>and</strong> destination. The transport layeris crucial in many ways, because it sits between the upper layers (which are stronglyapplication-dependent) <strong>and</strong> the lower ones (which are network-based).The layers below the transport layer are collectively known as the ‘subnet’ layers.Depending on how well (or not) they perform their function, the transport layer has tointerfere less (or more) in order to maintain a reliable connection.Three types of subnet service (i.e. the service supplied by the underlying physicalnetwork between two hosts) are distinguished in the OSI model:• Type A: very reliable, connection-oriented service.• Type B: unreliable, connection-oriented service.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!