3. Finally, the forum module is standalone and it
manages the forum database and provides data for
interaction between the multi-layer map and the
forum, again in XML format.
According to the REST style, the data exchanged
between server and client are represented in XML.
Inspired by SensorML, we develop a simpler three-
part XML schema to represent sensor-network data
and add in it the support of history and statistics. The
three parts are Operation, Sensor, and Statistics.
The Operation element defines the visualization
operation to be applied to the retrieved XML doc-
ument. In addition to the operation ID, a transac-
tion ID is also included in the element, to prevent the
client from performing redundant or wrong visualiza-
tion operations.
The Sensor element is used to represent all the in-
dividualsensor information, including history. A Sen-
sor tag has seven potential elements: sensorID, loca-
tion X, location Y, location Z, typeID, typeDesc, and
states. The first four elements are mandatory and cor-
respond to the database table LOCATION. The fourth
and fifth elements, typeID and typeDesc, are also re-
quired and correspond to the entity ROLE. The last
element, named states, is optional and corresponds to
the entities STATE and OBSERVATION. The states
tag may consist of multiple child tags if it is carrying
history data. According to the database query per-
formed, child tags will be appended adaptively to the
XML.
The third part of the schema is the Statistics ele-
ment, and it is for sensor group data including sum-
mary statistics. It has two child tags: Sensor List and
Observations. Sensor List records all the node IDs,
and Observations has multiple child tags that repre-
sent different group statistics retrieved from the OB-
SERVATION table in the database.
While the Operation element is mandatory, the
Sensor and Statistics elements are optional and mu-
tually exclusive. This exclusiveness results from each
XML response document only containing the result of
a single query. For example, an XML document con-
taining the current state values of a sensor does not
need to include the Statistics tag. Similarly, an XML
document including the statistics of a sensor does not
need the Sensor tag. Moreover, if an error occurs and
no sensor data can be returned, the XML document
will only include the Operation tag.
4 CONCLUSIONS
We described SensorGIS, an extendible service-
oriented architecture for managing and analyzing the
data collected by WSNs. SensorGIS aims to improve
productivity by providing a library of functions that
collect, archive, visualize, and analyze WSN data. We
have incorporated SensorGIS into two significantly
different WSNs: the Intelligent Mousetrap and the
Smart Condo, representing respectively an outdoor
and an indoor WSN. In the context of the first project,
we augmented traps, used by biologists to live-catch
small animals for study purposes, with switches and
a radio, and we visualized the network and the traps’
states within SensorGIS. Biologists can view the data
in SensorGIS, either in the field or via the Internet,
and then focus only on occupied traps. The inter-
ested reader can find more information about the latter
project at (Boers et al., 2009). Its integration with the
intelligent mousetrap and Smart Condo project pro-
vides strong support for its applicability to diverse
WSNs.
REFERENCES
Boers, N. M., Chodos, D., Huang, J., Stroulia, E., Gburzyn-
ski, P., and Nikolaidis, I. (2009). The Smart Condo:
Visualizing independent living environments in a vir-
tual world. In PervasiveHealth ’09: Proceedings from
the 3rd International Conference on Pervasive Com-
puting Technologies for Healthcare, London, UK.
Buschmann, C., Pfisterer, D., Fischer, S., Fekete, S. P., and
Kr¨oller, A. (2005). SpyGlass: a wireless sensor net-
work visualizer. SIGBED Rev., 2(1):1–6.
Furuyama, M., Mukai, J., and Imai, M. (2007). New
Frontiers in Artificial Intelligence, volume 4384 of
LNCS, chapter Viewlon: Visualizing Information on
Semantic Sensor Network, pages 65–76. Springer
Berlin/Heidelberg.
Gburzynski, P. and Olesinski, W. (2008). On a practical ap-
proach to low-cost ad hoc wireless networking. JTIT,
2008(1):29–42.
Lawerence, A., Varadhan, A., and Gadiparthi, S. (2003). A
GIS application for remote surveillance of groundwa-
ter contamination. In Proc. 2003 ESRI User Conf.
Nath, S., Liu, J., and Zhao, F. (2007). SensorMap for wide-
area sensor webs. Computer, 40(7):90–93.
Selavo, L., Zhou, G., and Stankovic, J. (2006). SeeMote:
In-situ visualization and logging device for wireless
sensor networks. In Proc. of the 3rd Int. Conf. on
Broadband Comm. Networks and Syst., pages 1–9.
Turon, M. (2005). MOTE-VIEW: a sensor network moni-
toring and management tool. In Proc. 2nd IEEE Work-
shop Embedded Networked Sensors, pages 11–17.
Yang, Y., Xia, P., Huang, L., Zhou, Q., Xu, Y., and Li,
X. (2006). SNAMP: A multi-sniffer and multi-view
visualization platform for wireless sensor networks:
A multi-sniffer and multi-view visualization platform
for wireless sensor networks. In Proc. 1st IEEE Conf.
on Industrial Electron. and Applications, pages 1–4.
WEBIST 2010 - 6th International Conference on Web Information Systems and Technologies
202