Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

ID

Acronym: Simulation Environment Monitoring

Use-cases: Loire Flooding, HelloDiag

Description

R-IOSEMIT enables you to simulate a predefined set of data called events. An event has to follow a predefined structure and a topic. In R-IOSuite three types of sensors can be simulated: the events emitted from webservices, from tweets or from the Maple location tags.

Summary

Table of Contents
maxLevel3


How does the interpretation work?


R-IOSEMIT enables R-IOSUITE to interpret events in real-time. It uses a Complex Event Processing (CEP) engine to apply the interpretation rules available in your Use-Case (at src/main/resources/webjars/gind/usecases/loireflooding/interpretation-rules.

R-IORED will be design to update these rules through a dedicated tool.

  • The first event is notified to the CEP engine by the notify() method of the CEP rules manager
  • The second event is notified to the CEP engine etc.
    ...
  • When an event fulfills the conditions of an interpretation rule, the High level interpretation engine notifies that a node or a edge has to be deleted/updated or added to the ACTIVE WORLD (stored in Neo4J). This action is stated in the interpretation rule.
  • Then, the interpretation manager uses the notification to update the ACTIVE WORLD with the interpret() method.


Gliffy
nameInterpretation engine
pagePin2


How to add a sensor?


Concept of Data Source

Last update:

Type: Data Source

Extends: SemanticConcept

Category: Context

Origin: Native/Dedicated

ProtocolWSN/Twitter/Mapple

Type: SIMULATED/REAL


Simulated Data Source

Files (.xml) to be linked to a simulated WSN data source:

Illustration: Loire Flooding

  • Topic Set Producer - Topics corresponding to the events to be simulated
  • Sensors Event Topic Namespace - List of topics available
  • Event - file with the events to be simulated
  • Configuration - file with the configuration of the simulation: the frequency of the simulation and the configuration of the graph to be fed (on the interface during the simulation)

Files (.xml) to be linked to a simulated Mapple data source:

Illustration: HelloDiag

  • Event - file with the events to be simulated
  • Configuration - file with the configuration of the simulation, especially to configure the graph to be fed (on the interface during the simulation)

Structure of the configuration file

<datasetConfiguration>:

  • <emissions>: <frequency> (n <time>) OR <period>
  • <chartConfig>:
    • <title>
    • <lineChart> OR <map>

<lineChart>:

  • <eventType>
  • <axisX (1 fois)> : <title> <title> 
    AND <mappingEventElement>
  • <axisY (n fois)> : <title>
    AND <mappingEventElement>
    AND <color (hexa)>
    AND <referenceLine> (<name> AND <value>)
  • <preview (boolean)>

<map>: <mapEvent> :

  • <eventType>
  • <latitudeMappingEventElement>
  • <longitudeMappingEventElement>
  • <preview (boolean)>
  • <polyline>: <color (hexa)>

How to configure the graph to be displayed on R-IOSEMIT during the simulation?


Example of event

Example of graph

Example of Mapping file