The Landscape of Pervasive & Mobile Computing Standards Sumi Helal Synthesis Lectures on Mobile and Pervasive Computing Preface



Download 0.57 Mb.
Page28/45
Date25.06.2017
Size0.57 Mb.
#21767
1   ...   24   25   26   27   28   29   30   31   ...   45

5.4.1 Service registration


The Salutation manager contains a registry to keep information about services, and a client can register or unregister itself. All registrations are done with the local Salutation manager or a nearby one connected to the client.

Service discovery The Salutation manager discovers other Salutation managers and registered services. It discovers remote services by matching types and sets of attributes specified by the local Salutation manager. This unique feature, called capability exchange, is needed because services are basically registered with the local Salutation manager in the same equipment. This cooperation among Salutation managers forms a conceptually similar lookup service to Jini. One difference, though, is that it is distributed over the network.


5.4.2 Service availability


A client application can ask the local Salutation manager to periodically check the availability of services. This procedure is done between the local manager and the corresponding manager. This is a weaker version of Jini and UPnP’s eventing services.

5.4.3 Service session management


The service session is operated in one of three modes: native, emulated, or salutation. The Salutation manager might not be involved in message exchanges in the service session, depending on the modes. The native mode exchanges through a native protocol—the Salutation manager is never involved in the message exchange. In the emulated mode, the Salutation manager protocol carries messages between the client and service but does-n’t inspect the contents, and in the salutation mode, Salutation managers not only carry messages but also define the formats to be used in the session.

A functional unit is a basic building block in the Salutation architecture. It is the minimal meaningful function to constitute a client or service. A collection of functional units defines a service record. For example, the functional units [Print], [Scan], and [Fax Data Send] can define a fax service. Each functional unit is composed of a descriptive attribute record, specified in ISO 8824 ASN.1.


5.4.4 Salutation-Lite


Salutation-Lite is a scaled-down version of the Salutation architecture targeted at devices with small footprints. It is obviously more applicable to small information appliances such as palm-size and handheld computers. Salutation-Lite also lends itself well to low-bandwidth networks such as IR and Bluetooth.

The Salutation standard is overseen by the Salutation Consortium (www. salutation.org), which provides five levels of membership.


5.5 SERVICE LOCATION PROTOCOL


Service Location Protocol is an Internet Engineering Task Force (IETF) standard for decentralized, lightweight, and extensible service discovery. It uses service URLs, which defines the service type and address for a particular service. For example, “service:printer:lpr://hostname” is the service URL for a line printer service available at hostname. Based on the service URL, users (or applications) can browse available services in their domain and select and use the one they want.

There are three agents in SLP: the user, service, and directory. The UA is a software entity that sends service discovery requests on a user application’s behalf. The SA broadcasts advertisements on behalf of a service. As a centralized service information repository, the DA caches advertisements from SAs and processes discovery queries from UAs. An SA advertises itself by registering with a DA. The registration message contains the URL for the advertised service and for the service’s lifetime, and a set of descriptive attributes for the service. The SA periodically renews its registration with the DA, which caches the registration and sends an acknowledge message to the SA. A UA sends a service request message to the DA to request the service’s location. The DA responds with a service reply message that includes the URLs of all services matched against the UA request. Now, the UA can access one of the services pointed to by the returned URL. In SLP, the DA is optional. A DA might not exist in a small network, in which case the UAs’ service request messages are directly sent to the SAs.

SLP supports service browsing and string-based querying for service attributes, which let UAs select the most appropriate services from among available services in the network. SLP lets UAs issue query operators such as AND, OR, comparators, and substring matching. This is more powerful than Jini and UPnP service attribute matching, which can be done only against equality.

The SLP standard is accessible from the IETF SvrLoc working group Web site (see www.ietf.org).





Figure 5.4. A Zilog’s eZ80 Micro Web server running Metrolink IPWorks with UPnP support.

5.6 BLUETOOTH SDP


Unlike Jini, UPnP, Salutation, or SLP, the Bluetooth SDP is specific only to Bluetooth devices (see www.bluetooth. com). It primarily addresses the service discovery problem. It doesn’t provide access to services, brokering of services, service advertisements, or service registration, and there’s no event notification when services become unavailable. SDP supports search by service class, search by service attributes, and service browsing. The latter is used when a Bluetooth client has no prior knowledge of the services available in the client’s vicinity. SDP is structured as a Bluetooth profile and runs on a predefined connection-oriented channel of the L2CAP Logical Link layer. Salutation has proposed a mapping between its service discovery and Bluetooth SDP. Such mapping is synergistic because it complements Bluetooth by adding advertisements, brokering, and eventing. Bluetooth, on the other hand, serves Salutation by fitting in as a transport (Salutation is transport-independent) in the heart of the devices.

Download 0.57 Mb.

Share with your friends:
1   ...   24   25   26   27   28   29   30   31   ...   45




The database is protected by copyright ©ininet.org 2024
send message

    Main page