[JDEV] Annotating user's presence with extra information

Jean-Louis Seguineau /EXC/TEC jean-louis.seguineau at antepo.com
Fri Apr 12 17:17:10 CDT 2002


Hi,

IMHO, the Jabber protocole already provides all necessary extension
mechanism through the <x/> tags that perfectly allow to transport location
based information. This way you don't have to rely on any specific server to
transport your extension, you just need to add some external transport
component that will generate the appropriate messages. A simple registration
process like the one which is available for any transport will allow a user
to register to the location service. Simply sending a presence available to
the transport will start the location to be braodcaste, and a presence
unavailable to the transport will disable the braodcast.
Indeed extending the presence tag is certainly the best place to place the
extension tag, and the client should be able to handle this extension.

We do provide this kind of location service extension to jabber servers for
wireless carriers. We are using the method described above with the
following extension tag:

<presence to="whoever at server" >
    <x xmlns="xmpp:x:location">
        <item from="someplace at someservice">
            <location>nameoftheplace</location>
            <latitude>latvalue</latitude>
            <longitude>longvalue</logitude>
            <uncertainty>uncvalue</uncertainty>
        </item>
    </x>
</presence>

____________________________
Jean-Louis Seguineau
Chief Technology Officer
Antepo, Inc.

ACCEPT, by Antepo
Advanced Converging Communication and Enhanced Presence for the Telecom

>
Date: Fri, 12 Apr 2002 16:29:23 +0200
> From: Arjan Peddemors <Arjan.Peddemors at telin.nl>
> Organization: Telematica Instituut
> To: jdev at jabber.org
> Subject: Re: [JDEV] Annotating user's presence with extra information
> Reply-To: jdev at jabber.org
>
> Hi,
>
> We have been working on a context-aware mobile application
> framework that handles location as well as presence information.
> We use an extended version of the jabber server that can deal
> with location data. The extended server handles the <location>
> element at the same level as the common data types <message>,
> <presence>, and <iq>; i.e. <location> is defined as a common data
> type itself and is not part of <presence>. The <location> element
> currently has a single child element, <position>, that indicates
> the location of the user.
>
> The framework is used to update indoor location information.
> It uses an infrastructure of Bluetooth access points. The
> target mobile device is, at this moment, the Compaq iPAQ
> PocketPC equipped with a Bluetooth card. The instant
> messaging application running on the iPAQ detects in which
> Bluetooth cell it resides and sends the location information
> provided by the Bluetooth access point to the extended Jabber
> server. The <location> elements has its own subscription
> mechanism, which is the same as for <presence>. This means
> that a user can subscribe to both the presence AND the location
> information of another user, as seperate items.
>
> Currently, the framework is in the experimental phase. We use
> it for our research on context-aware mobile applications and
> pervasive computing. We plan to provide more details on this
> project, as well as the source code for the extended server
> and the mobile client application, within the coming few
> months. I'll keep you posted.
>
>
> Arjan Peddemors
> Telematica Instituut
> http://www.telin.nl/
>
>
> -------- Original Message --------
> Subject: [JDEV] Annotating user's presence with extra information
> Date: Wed, 10 Apr 2002 12:17:09 -0400
> From: Henry Minsky <hqm at ai.mit.edu>
> Reply-To: jdev at jabber.org
> To: jdev at jabber.org
>
>
> I am working on a project where we have a server that is tracking users'
> locations
> via various technologies, and recording them in a realtime database.
>
> I would like to be able to annotate each jabber user on the server with
> some information about their physical location. This information would
most
> likely be
> retrieved in the presence information for each user, although might there
> be some better place to put it, such as a new separate iq query?
>
> Note that the clients themselves do not necessarily know their own
> locations,
> that information is derived on the server, so I need my "location server"
to
> somehow inject the location information for each user into the jabber
> server, where it can be accessed by custom clients, or perhaps also
stuffed
> into the english-readable status strings, for backward compatibility with
> existing
> clients.
>
> Anyone else working on something like this?
>
> Thanks,
>      Henry Minsky
>
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
>





More information about the JDev mailing list