Location-to-Service Translation Protocol (LoST) Extension: ServiceListBoundary
nic.at GmbH
Karlsplatz 1/2/9
Wien
A-1010
Austria
+43 1 5056416 37
karlheinz.wolf@nic.at
http://www.nic.at/
RAI
ECRIT
LoST
listservicesbylocation
boundary
LoST maps service identifiers and location information to service contact URIs. If a LoST client wants to discover available services for a particular location, it will perform a <listServicesByLocation> query to the LoST server. However, the response from the LoST server does not provide information about the geographical region for which the returned service list is valid. Therefore, this document proposes a ServiceListBoundary to assist the client to not miss a change in available services when moving.
Location based service providers as well as Public Safety Answering Points (PSAPs) only serve a specific geographic region. Therefore the LoST protocol defines the ServiceBoundary, which indicates the service region for a specific service URL.
However, not all services are available everywhere. Clients can discover available services for a particular location by the <listServicesByLocation> query in LoST. The LoST server returns a list of services that are available at this particular location. But the server does not inform the client for which geographical region the returned service list is valid. This may lead to the situation where a client initially discoveres all available services by the <listServicesByLocation> query, and then moves to a different location (while refreshing the service mappings), but without noticing the availability of other services.
The following imaginary example illustrates the problem for emergency calling:
The client is powered-up, does location determination (resulting in location A) and performs an initial <listServicesByLocation> query with location A requesting urn:services:sos.
The LoST server returns the following services list:
The client does the initial LoST mapping and discovers the dialstrings for each service. Then the client moves, refreshing the individual service mappings when necessary as told by the ServiceBoundary. However, when arriving in location B (close to a mountain), service sos.mountainrescue is available, which was not available in location A. Nevertheless, the client does not detect this, because only the mapping of the initially discovered services (police, ambulance, fire) are refreshed. Consequently, the dialstring for the mountain rescue is not known by the client, and the emergency call to the mountain rescue service will certainly fail.
Note that the ServiceBoundary (service region for an individual service) cannot be considered as an indicator for the region a specific service list is valid for. The service list may even change within the ServiceBoundary of another service. For example, the ambulance mapping is valid for a whole state, but for a part of the state there is an additional mountain rescue service.
Consequently, there are two ways to tackle this issue:
clients continuously ask for the service list, although it may not have changed
a boundary information (telling the client that the service list does not change inside this area)
Since the LoST protocol has the ServiceBoundary concept in order to avoid that clients continuously try to refresh the mapping of a specific service, a ServiceListBoundary would provide a similar mechanism for service lists.
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in
this document are to be interpreted as described in
RFC 2119.
This chapter describes the necessary modifications to the LoST protocol in order to support the proposed ServiceListBoundary in a similar way as the ServiceBoundary.
The query <listServicesByLocation> may contain an additional serviceListBoundary element to request the boundary for the service list, either by value or by reference. In the example below the value of the serviceListBoundary element ist set to "value":
AT
Lower Austria
Wolfsthal
Hauptplatz
1
2412
urn:service:sos
value
]]>
A possible response is shown below:
xmlns:slb="urn:ietf:params:xml:schema:lost1:slb"
urn:service:sos.ambulance
urn:service:sos.fire
urn:service:sos.gas
urn:service:sos.mountain
urn:service:sos.poison
urn:service:sos.police
AT
Lower Austria
]]>
This response above indicates that the service list is valid for Lower Austria. The <listServicesByLocation> request has to be repeated by the client only when moving out of Lower Austria. However, the mappings of the services itself may have other service boundaries. Additionally, the expires attribute indicates the absolute time when this service list becomes invalid.
The boundary can also be requested by reference when setting the attribute serviceListBoundary to "reference". Then the response contains a serviceListBoundaryReference element, as shown below.
xmlns:slb="urn:ietf:params:xml:schema:lost1:slb"
urn:service:sos.ambulance
urn:service:sos.fire
urn:service:sos.gas
urn:service:sos.mountain
urn:service:sos.poison
urn:service:sos.police
]]>
In order to retrieve the boundary corresponding a specific serviceListKey, the client issues a <getServiceListBoundary> request, similar to the <getServiceBoundary> request.
An example is shown below:
]]>
The LoST server response is shown below:
AT
Lower Austria
]]>
The serviceListKey uniquely identifies a serviceListBoundary as the key does for the service boundary (see Section 5.6 in RFC 5222). Therefore the serviceListKey is a random token with at least 128 bits of entropy and can be assumed globally unique. Whenever the boundary changes, a new serviceListKey MUST be assigned.
Note: since LoST does not define an attribute to indicate which profile the clients understands in a <getServiceListBoundary> request, this document also does not define one for the <getServiceListBoundary> request.
The service list boundary indicates a region within which all <listServicesByLocation> queries with the same service identifiers result in the same serviceList. A service list boundary may consist of geometric shapes (both in civic and geodetic location format), and may be non-contiguous, like the service boundary.
The mapping of the specific services within the service list boundary may be different at different locations.
The server may return the boundary information in multiple profiles, but has to use at least one profile that the client used in the request in order to ensure that the client is able to process the boundary information.
There is no need to include boundary information to a <listServicesResponse>. <ListServices> requests are purely for diagnostic purposes and do not contain location information at all, so no boundary information is reasonable.
Also note that the serviceListBoundary is optional and the LoST server may return it or not based on its local policy - like it is the case with the service boundary. However, especially for emergency services, the serviceListBoundary might be crucial to ensure that moving clients do not miss changes in the available services.
The subsections below discuss implementations issues for the LoST server and client for the serviceListBoundary support.
The mapping architecture and framework describes that each tree announces its coverage region (for one type of service, e.g. sos.police) to one or more forest guides. Forest guides peer with each other and synchronize their data. Hence, a forest guide has sufficient knowledge (it knows all the services and their coverage regions) to answer a listServicesByLocation query and additionally add the serviceListBoundary as well.
The calculation of the largest possible area for which the service list stays the same might be a complex task. An alternative would be to return smaller areas that are easier to compute. In such a case some unneeded queries to the LoST server are the consequence, but still the main purpose of the serviceListBoundary is achieved: Never miss a change of available services. So a reasonable trade-off between the effort to generate the boundary information and the saved queries to the LoST server has to be considered.
Probably for some countries the county (or disrict, canton, state, ...) borders would be suitable as serviceListBoundary. Some neighbouring counties may have implemented different services while a listServicesByLocation query in other neighbouring counties still results in the same serviceList. So when moving across a county border, it is at least ensured, that every device fetches a new service list from the LoST server.
Other countries might have different structures and the generation of the serviceListBoundary might follow other rules as long as it is ensured that a client is able to notice any change in the service list when moving.
A mobile client that already implements LoST and evaluates the serviceBoundary has almost everything that is needed to make use of the serviceListBoundary. Since the integration into LoST follows the concept of the serviceBoundary (and also makes use of the same location profiles), just the additional serviceListBoundary has to be evaluated. Whenever moving outside a serviceListBoundary, the client must perform a new listServicesByLocation query with the new location information in order to determine a change in available services.
Security considerations are discussed in .
This document requests two actions by IANA: a XML schema registration and namespace registration, according to the description in the following sections.
This document requests registration of the following Relax NG Schema to the IETF XML Registry :
URI: urn:ietf:params:xml:schema:lost1:slb
Registrant Contact: IETF ECRIT Working Group, Karl Heinz Wolf (karlheinz.wolf@nic.at)
Relax NG Schema:
...
...
Allows requesting the serviceListBoundary by reference or by value
value
reference
...
...
Returns the serviceListBoundary by Reference
...
...
Returns the serviceListBoundary by Value
Request for the serviceListBoundary
Response to getServiceListBoundary
END
]]>
This document requests registration of the following namespace (below the LoST namespace defined in ) to the IETF XML Registry :
URI: urn:ietf:params:xml:ns:lost1:slb
Registrant Contact: IETF ECRIT Working Group, Karl Heinz Wolf (karlheinz.wolf@nic.at)
XML:
LoST serviceListBoundary Namespace
Namespace for the LoST serviceListBoundary
urn:ietf:params:xml:ns:lost1:slb
See
RFCXXXX.
END
]]>
The author would like to thank Henning Schulzrinne for the discussion on the draft.