Académique Documents
Professionnel Documents
Culture Documents
Marcel Amende
Master Principal Sales Consultant
Business Unit Middleware
Oracle
Sensor Configuration
%
Reed Contact
(magnetic sensor)
DHT11
Temperature &
Humidity Sensor
(analog bit banger)
Pharmaceutical Products
< 25C
Anti-theft protection
esp. for valuable and/or prescription
drugs
< 25C
50 65%
Rest
HTTP
Socket REST
Event
Processing
Java
DB
Java ME Embedded
Java SE Embedded
Linux OS
Raspberry Pi
11
Event-Processing Network(EPN)
Example: sensor-driven transport logistics
25
12
13
CQL Query
Pattern Matching
<query id="FilterQuery"><![CDATA[
ISTREAM(
select
MATCH.sensorName as sensorName,
MATCH.tempC as tempC,
MATCH.tempCDiff as tempCDiff,
from EnvironmentEventChannel
MATCH_RECOGNIZE (
PARTITION BY sensorName
MEASURES
B.sensorName as sensorName,
B.tempC as tempC,
B.tempC-A.tempC as tempCDiff
ALL MATCHES PATTERN (A B)
DEFINE
A as 1=1,
B as (B.tempC<>A.tempC) and B.sensorName=A.sensorName
) as MATCH)
]]></query>
Copyright 2014 Oracle and/or its affiliates. All rights reserved. |
14
CQL Query
15
16