<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Demonstration: Defining and Detecting Complex Events in Sensor Networks</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Lucas Leidinger</string-name>
          <email>lucas.leidinger@gmx.de</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Kerry Taylor</string-name>
          <email>kerry.taylor@csiro.au</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>CSIRO ICT Centre GPO</institution>
          <addr-line>Box 664, Canberra, ACT, 2602</addr-line>
          ,
          <country country="AU">Australia</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Improvements in technology and manufacturing reduce prices for sensing technology and allow the internet-connection of more and more base stations; therefore growing both the scale and application areas for wireless sensor networks. Reconfigurable, general purpose networks are replacing classic black-box sensor technology in the fields of environmental observations, for example conservation and disaster prevention, production, logistics, medicine and security.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>This demonstration deals with the idea of using semantic technologies and
Complex Event Processing (CEP) to define and to detect complex events arising
in the data collected by heterogeneous wireless sensor networks. A complex event
has to be understood as a combination of filtered measurement values from
particular sensors and locations in a well defined order within a specific period
of time. The problem of programming the sensors and configuring the CEP
system in several different low-level programming languages will be abstracted.
The use of semantic ontologies allows the definition and detection of complex
events independent from the type of sensor or kind of CEP system. For this
purpose, event definitions, sensor programs and CEP queries are modelled in a
custom ontology. The use of dynamic ontology assertions allows the recognition
and reuse of existing sensor programs and available data streams. It makes it
possible to perform semantic optimizations and to dynamically build a user
control interface.</p>
    </sec>
    <sec id="sec-2">
      <title>Architecture</title>
      <p>To prove the idea of ontology-driven complex event processing in heterogeneous
sensor networks and for demonstrating the use of semantic technologies
combined with sensor networks, an Event Framework was developed.</p>
      <p>An OWL2 EventOntology is the central part of the entire Event Framework. It
is designed to store definitions of complex events and allows the use of reasoning
and classification over event information to obtain additional knowledge and to
perform semantic optimizations. Semantic optimizations for both sensor node
programs and data streams are applied: ontology definitions of existing sensor
programs and CEP streams are checked (by concept subsumption in the first case
and concept membership in the latter) prior to creating new ones. If suitable
preexisting concepts are found in the ontology then the corresponding pre-existing
sensor and instrument resources and CEP stream configurations, respectively,
can be reused: saving instrument resources and reducing the amount of data
which must be transferred between data source and event processing application.
Hermit is used for the reasoning services.</p>
      <p>The User Interface, an extension of the popular OWL ontology editor
Protégé, allows one to define events in a logical and expressive way and to store
this definition in an ontology. The entire complex event definition is composed
of different parts: Events, Alerts, Observations, Triggers and Sensor Programs.</p>
      <p>Semantic Event Middleware is the counterpart to the user interface. All
created complex event descriptions which have been transformed into ontology data
are forwarded from the User Interface to the Semantic Event Middleware. Here,
the reverse process to transforming a user description into ontology data is
performed.</p>
      <p>To abstract the specification and access of event data streams, a Management
Module Interface has been designed which allows the implementation of an
independent solution for each specific kind of instrument or event source. Each
distinct sensor network technology requires an implementation of the interface
as a wrapper over the heterogenous aspects of the sensor network that are not
modelled in the ontology (such as the native programming language grammar
and the compilation/downloading tools).</p>
      <p>The (Coral8 1 CEP-platform performs the actual complex event detection.
For this, the server receives a stream with information about the event data
sources and a query which contains the program for the complex event detection.
The CEP server is also responsible for sending the user defined alert message if
an event has been detected.
3</p>
    </sec>
    <sec id="sec-3">
      <title>Demonstration</title>
      <p>The demonstration will show the interaction of the individual components of
the Event Framework. While some sensor data will be simulated, we plan to also
1 The Coral8
coral8-engine</p>
      <p>CEP-platform.</p>
      <p>http://www.aleri.com/products/aleri-cep/
use a live Environdata WeatherMaster1600 instrument to make environmental
observations and to show the Event Framework :
4</p>
    </sec>
    <sec id="sec-4">
      <title>Conclusion</title>
      <p>
        The sensor programming function and it’s ontology modelling allows high-level
programming for sensor instruments, and can be used quite independently of the
event detection function[
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. The event processing capability is described in more
detail here[
        <xref ref-type="bibr" rid="ref2">2</xref>
        ].
      </p>
      <p>
        The Event Framework is now being upgraded to work with an alternative
data stream management system (GSN[
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]) and will be deployed in February
2012, over a network of soil moisture sensors and smart ear-tagged cattle on a
demonstration farm near Armidale, New South Wales, Australia. In this case
it will be used as part of a system for precision agriculture: to alert the farmer
to issues associated with livestock management (e.g. herd location, herd state),
pasture management (e.g. plant water availability, pasture yield estimates), and
joint management (e.g. that a herd should be moved from one paddock to
another).
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>Karl</given-names>
            <surname>Aberer</surname>
          </string-name>
          , Manfred Hauswirth, and
          <string-name>
            <given-names>Ali</given-names>
            <surname>Salehi</surname>
          </string-name>
          .
          <article-title>A middleware for fast and flexible sensor network deployment</article-title>
          .
          <source>In Proceedings of the 32nd international conference on Very large data bases</source>
          ,
          <source>VLDB '06</source>
          , pages
          <fpage>1199</fpage>
          -
          <lpage>1202</lpage>
          . VLDB Endowment,
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>Kerry</given-names>
            <surname>Taylor</surname>
          </string-name>
          and Lucas Leidinger.
          <article-title>Ontology-driven complex event processing in heterogeneous sensor networks</article-title>
          .
          <source>In The Semantic Web: Research and Applications: Proc. 8th Extended Semantic Web Conference</source>
          , volume
          <volume>2</volume>
          <source>of LNCS 6644</source>
          , pages
          <fpage>285</fpage>
          -
          <lpage>299</lpage>
          , Heraklion, Greece, 29th May to 2nd
          <source>June 2nd 2011</source>
          . Springer.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>Kerry</given-names>
            <surname>Taylor</surname>
          </string-name>
          and Patrick Penkala.
          <article-title>Using explicit semantic representations for user programming of sensor devices</article-title>
          .
          <source>In Advances in Ontologies: Proceedings of the Australasian Ontology Workshop</source>
          , volume
          <volume>112</volume>
          of Conferences in Research and Practice in Information Technology, Melbourne, Australia, 1
          <article-title>December 2009</article-title>
          . Australasian Computer Society.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>