design and implementation of data management scheme to...
TRANSCRIPT
![Page 1: Design and Implementation of Data Management Scheme to ...clout-project.eu/wp-content/uploads/2015/06/... · Intelligent Knowledge -as a Service 1 Design and Implementation of Data](https://reader033.vdocument.in/reader033/viewer/2022060310/5f0a81da7e708231d42bf952/html5/thumbnails/1.jpg)
1 Intelligent Knowledge-as-a-Service
Design and Implementation of Data Management
Scheme to Enable Efficient Analysis of Sensing Data
Yuichi Hashi†, Kazuyoshi Matsumoto†, Yoshinori Seki†,
Masahiro Hiji‡, Toru Abe‡, Takuo Suganuma‡ †Hitachi Solutions East Japan, Ltd.
‡Tohoku University
Self-IoT 2015, 7 July 2015, Grenoble, France
![Page 2: Design and Implementation of Data Management Scheme to ...clout-project.eu/wp-content/uploads/2015/06/... · Intelligent Knowledge -as a Service 1 Design and Implementation of Data](https://reader033.vdocument.in/reader033/viewer/2022060310/5f0a81da7e708231d42bf952/html5/thumbnails/2.jpg)
2 2 Intelligent Knowledge-as-a-Service
Contents
1) Introduction
2) Community Environment Sensing Platform
3) Data Management Scheme
4) Use Case scenario
5) Conclusion
![Page 3: Design and Implementation of Data Management Scheme to ...clout-project.eu/wp-content/uploads/2015/06/... · Intelligent Knowledge -as a Service 1 Design and Implementation of Data](https://reader033.vdocument.in/reader033/viewer/2022060310/5f0a81da7e708231d42bf952/html5/thumbnails/3.jpg)
3 Intelligent Knowledge-as-a-Service
Smart Community
Build efficient and sustainable social infrastructure
Sensing data (big data) analysis
Current status Focus on analysis of sensing data
Depend on Volume of the data and Variety is insufficient
limit exists to the acquisition of useful knowledge
Only sensing data is not enough It is necessary to analyze sensing data in conjunction with
information of human activities (social context)
Social context widens Variety, new knowledge will be obtained
Introduction
![Page 4: Design and Implementation of Data Management Scheme to ...clout-project.eu/wp-content/uploads/2015/06/... · Intelligent Knowledge -as a Service 1 Design and Implementation of Data](https://reader033.vdocument.in/reader033/viewer/2022060310/5f0a81da7e708231d42bf952/html5/thumbnails/4.jpg)
4 Intelligent Knowledge-as-a-Service
Volume and Variety
Sensing Data human activities, environment
Event Data repair, ownership
Social Context …………….
Volume
Variety
![Page 5: Design and Implementation of Data Management Scheme to ...clout-project.eu/wp-content/uploads/2015/06/... · Intelligent Knowledge -as a Service 1 Design and Implementation of Data](https://reader033.vdocument.in/reader033/viewer/2022060310/5f0a81da7e708231d42bf952/html5/thumbnails/5.jpg)
5 Intelligent Knowledge-as-a-Service
CESP is a platform to monitor a variety of statuses of each element in a smart community to manage and analyze the monitored data for the benefit of the community.
CESP – Community Environment Sensing Platform
for community-care
Security Gateway
Sensing Data
CESP
Application Application new knowledge
analysis
energy weather road, building
• ownership
• multi-media data
• time-series
• relationship
human activity trafic flow
![Page 6: Design and Implementation of Data Management Scheme to ...clout-project.eu/wp-content/uploads/2015/06/... · Intelligent Knowledge -as a Service 1 Design and Implementation of Data](https://reader033.vdocument.in/reader033/viewer/2022060310/5f0a81da7e708231d42bf952/html5/thumbnails/6.jpg)
6 Intelligent Knowledge-as-a-Service
Data is collected from various owners
Owners of each data are different
Each owner sets consents for use of data individually
Ownership and Consent Agreement
consents for use personal
open
![Page 7: Design and Implementation of Data Management Scheme to ...clout-project.eu/wp-content/uploads/2015/06/... · Intelligent Knowledge -as a Service 1 Design and Implementation of Data](https://reader033.vdocument.in/reader033/viewer/2022060310/5f0a81da7e708231d42bf952/html5/thumbnails/7.jpg)
7 Intelligent Knowledge-as-a-Service
Sensing data
Data measured by the sensors of IoT devices installed in a community
The size of each Sensing data is small, but a large volume of data is accumulated over time
Data source information (meta-data)
Information about the instrument that generates data
The size of Data source information is small and is rarely updated
Event information
Information of events that affects the usage and interpretation of the collected data at the time of data analysis
The size of Event information is small and is rarely updated
Data managed in CESP and its features
![Page 8: Design and Implementation of Data Management Scheme to ...clout-project.eu/wp-content/uploads/2015/06/... · Intelligent Knowledge -as a Service 1 Design and Implementation of Data](https://reader033.vdocument.in/reader033/viewer/2022060310/5f0a81da7e708231d42bf952/html5/thumbnails/8.jpg)
8 Intelligent Knowledge-as-a-Service
Conventional application
Owner of Application = Owner of Data Owner needs to prepare the Data for Application to use
Current application (Cloud application)
Owner of Application ≠ Owner of Data
Data from various owners each owner sets consents for use of data individually
Application should use the data in accordance with the intention of each owner
Design of application
consents for use
![Page 9: Design and Implementation of Data Management Scheme to ...clout-project.eu/wp-content/uploads/2015/06/... · Intelligent Knowledge -as a Service 1 Design and Implementation of Data](https://reader033.vdocument.in/reader033/viewer/2022060310/5f0a81da7e708231d42bf952/html5/thumbnails/9.jpg)
9 Intelligent Knowledge-as-a-Service
Local C
lou
d
CESP Architecture
Configuration Manager
Policy DB Local Cloud DB
Security Gateway Access Control Function
Privacy Control Function
Query Function
Activity meter
Store Functions
Application App. Knowledge
New App. New App. Kn.
Loca
l Clo
ud
…
Sensors
new knowledge
Sensing Data
Data Source Info. Event Info.
query
Sensors
![Page 10: Design and Implementation of Data Management Scheme to ...clout-project.eu/wp-content/uploads/2015/06/... · Intelligent Knowledge -as a Service 1 Design and Implementation of Data](https://reader033.vdocument.in/reader033/viewer/2022060310/5f0a81da7e708231d42bf952/html5/thumbnails/10.jpg)
10 Intelligent Knowledge-as-a-Service
To achieve both high-speed search of large volumes of data, and flexible search of data/information for data analysis and application knowledge acquisition.
Data Mangement Scheme
query function
Query
Graph-type DB
Other data
Document-type DB
Sensing data
Dataset.k+1
Dataset.k
Event Info.
Data source Info.
It combines a schema-free, Document-type database and a Graph-type database suited for flexible search.
Local Cloud DB
![Page 11: Design and Implementation of Data Management Scheme to ...clout-project.eu/wp-content/uploads/2015/06/... · Intelligent Knowledge -as a Service 1 Design and Implementation of Data](https://reader033.vdocument.in/reader033/viewer/2022060310/5f0a81da7e708231d42bf952/html5/thumbnails/11.jpg)
11 Intelligent Knowledge-as-a-Service
Create
New Dataset
Dataset and Event
Key.1-value.1 Kea.2-value.2 :
Dataset Sensor
sensing
sensing Key.k-value.k Key.l-value.l :
Modify Repair Change policy
Event
![Page 12: Design and Implementation of Data Management Scheme to ...clout-project.eu/wp-content/uploads/2015/06/... · Intelligent Knowledge -as a Service 1 Design and Implementation of Data](https://reader033.vdocument.in/reader033/viewer/2022060310/5f0a81da7e708231d42bf952/html5/thumbnails/12.jpg)
12 Intelligent Knowledge-as-a-Service
CESP Data Model
Storage
User
Composite Data Source
Owner
Data Source Thing
Dataset
Dataset Fragment
Data Content
Kind
:ConnectTo
:ComposeOf
:Own
:HasAccountOf
:TargetOf
:Measure
:KindOf
Location :InstalledTo
Gateway
:ConnectTo :ConnectTo
:ConnectTo :HasAccountOf
:Own
User :TargetOf
Environment :TargetOf
:Own
:HasAccountOf
Source Event
Owner Event
Target Event
Data Source Information
Sensing Data
Event information
Event information
Event information
Social Context
![Page 13: Design and Implementation of Data Management Scheme to ...clout-project.eu/wp-content/uploads/2015/06/... · Intelligent Knowledge -as a Service 1 Design and Implementation of Data](https://reader033.vdocument.in/reader033/viewer/2022060310/5f0a81da7e708231d42bf952/html5/thumbnails/13.jpg)
13 Intelligent Knowledge-as-a-Service
Type of Event Information – sensor/device
Devices type description
device
Installed new installation of a device
Modified modification of device parameters
Repaired repair of a device
Stopped stop of use of a device
gateway
Installed new installation of a gateway
Modified modification of gateway parameters
Repaired repair of a gateway
Stopped stop of use of a gateway
Change Route Change of the route of a device to a gateway
![Page 14: Design and Implementation of Data Management Scheme to ...clout-project.eu/wp-content/uploads/2015/06/... · Intelligent Knowledge -as a Service 1 Design and Implementation of Data](https://reader033.vdocument.in/reader033/viewer/2022060310/5f0a81da7e708231d42bf952/html5/thumbnails/14.jpg)
14 Intelligent Knowledge-as-a-Service
Type of Event Information –owner/things
target type Description
ownership Set set ownership to device
Changed change owner
policy Set set policy to device
Changed change policy
target type description
things
Installed new installation of thing
Repaired repair of thing
Broken broken of thing
![Page 15: Design and Implementation of Data Management Scheme to ...clout-project.eu/wp-content/uploads/2015/06/... · Intelligent Knowledge -as a Service 1 Design and Implementation of Data](https://reader033.vdocument.in/reader033/viewer/2022060310/5f0a81da7e708231d42bf952/html5/thumbnails/15.jpg)
15 Intelligent Knowledge-as-a-Service
Document-type DB
CouchDB
Graph-type DB
Neo4j
Query Function by Java/Java script
Dispatch Query to CouchDB or Neo4j
Rewrite parameter in query (automatic range calibration)
Implementation of Data Management Scheme
query function
Query
Neo4j
Other data
CouchDB
Sensing data
Dataset.k+1
Dataset.k
Event Info.
Data source Info.
![Page 16: Design and Implementation of Data Management Scheme to ...clout-project.eu/wp-content/uploads/2015/06/... · Intelligent Knowledge -as a Service 1 Design and Implementation of Data](https://reader033.vdocument.in/reader033/viewer/2022060310/5f0a81da7e708231d42bf952/html5/thumbnails/16.jpg)
16 Intelligent Knowledge-as-a-Service
Relationship between Dataset, Data source
information and Event information
Sensor
ref:Seq ref:Seq
Event.k Event.k+1
installed
contents
http://.../Dataset.current
http://.../Dataset.old
http://.../Dataset.current
http://.../Dataset.old
Dataset. current
Dataset. old
60
Output
Interval
beAffected
rdf:_k rdf:_k+1 influence
before
after
description
kind
rdf:_1
rdf:_2
![Page 17: Design and Implementation of Data Management Scheme to ...clout-project.eu/wp-content/uploads/2015/06/... · Intelligent Knowledge -as a Service 1 Design and Implementation of Data](https://reader033.vdocument.in/reader033/viewer/2022060310/5f0a81da7e708231d42bf952/html5/thumbnails/17.jpg)
17 Intelligent Knowledge-as-a-Service
Graph representation of Data source
information
Storage
Gateway
Device
ref:Seq
Specification
GeoLocation
Opened
Noopened
Owner
Sensor.1
Sensor.2
Community.A
Thermo
CO2
ComposedOf
Own
Installed
ConnectTo
hasSpec.
ConnectTo
rdf:_1
rdf:_2
type
type
type
kind
kind
measure
![Page 18: Design and Implementation of Data Management Scheme to ...clout-project.eu/wp-content/uploads/2015/06/... · Intelligent Knowledge -as a Service 1 Design and Implementation of Data](https://reader033.vdocument.in/reader033/viewer/2022060310/5f0a81da7e708231d42bf952/html5/thumbnails/18.jpg)
18 Intelligent Knowledge-as-a-Service
Performance Measurement Environment
CouchDB
100Mbps 100Mbps
Client Server
Client Server
CPU Core i3-1.70GHz,2Core/4thread Core i7-3.9Ghz,4Core/8Thread
Memory 8GB 8GB
Disk 256GB SDD 256GB SDD
OS Windows7 Pro. 64bit CentOS Linux7.0.1406 64bit
Sensors collect data every 5 minutes ⇒288 records by one sensor per day
![Page 19: Design and Implementation of Data Management Scheme to ...clout-project.eu/wp-content/uploads/2015/06/... · Intelligent Knowledge -as a Service 1 Design and Implementation of Data](https://reader033.vdocument.in/reader033/viewer/2022060310/5f0a81da7e708231d42bf952/html5/thumbnails/19.jpg)
19 Intelligent Knowledge-as-a-Service
Search time (msec)
Registration time (msec)
Measured Times
Position of search data
record size n (B)
28,800 288,000 2,880,000 28,800,000
1st 24.0 23.0 24.0 24.0
n/2-th 24.0 23.0 24.0 25.0
n-th 23.0 25.0 22.0 25.0
registered record size (B)
record size (B)
2,880 28,800 288,000 2,880,000
288 233.0 233.0 229.0 222.0
2,880 262.0 264.0 265.0 264.0
28,800 665.0 610.0 627.0 606.0
![Page 20: Design and Implementation of Data Management Scheme to ...clout-project.eu/wp-content/uploads/2015/06/... · Intelligent Knowledge -as a Service 1 Design and Implementation of Data](https://reader033.vdocument.in/reader033/viewer/2022060310/5f0a81da7e708231d42bf952/html5/thumbnails/20.jpg)
20 Intelligent Knowledge-as-a-Service
Validation of Data Management Scheme
Flexibility to process various data query patterns
Performance to retrieve the data
Effectiveness of Event information to the analysis
Use case scenario
Town Management Service
Health Support Service
Use case scenario of Data Management
Scheme
Mash-up
Town management service (VR/AR applications)
Health support service
![Page 21: Design and Implementation of Data Management Scheme to ...clout-project.eu/wp-content/uploads/2015/06/... · Intelligent Knowledge -as a Service 1 Design and Implementation of Data](https://reader033.vdocument.in/reader033/viewer/2022060310/5f0a81da7e708231d42bf952/html5/thumbnails/21.jpg)
21 Intelligent Knowledge-as-a-Service
Forecast amount of snowfall at a specific geolocation Mr. S noticed that snowfall is predicted for tomorrow morning. He executes the
community support application. The application fetches the real-time environmental sensor data (temperature, amount of snowfall) and that of last year from the database. From analysis of the data, the amount of snowfall of tomorrow morning is predicted and the work plan of snow shoveling is represented.
Use Case: Towm management service
QueryDataSource(Location=“T-area” & kind = “Temp” & kind = “snowfall”)
QueryData(Sensor IDs, StartDate=2014/12/10, EndDate=2015/3/20)
Local Cloud DB
Sensor IDs
Sensing Data
Analyze the sensing data and forecast amount of snowfall
![Page 22: Design and Implementation of Data Management Scheme to ...clout-project.eu/wp-content/uploads/2015/06/... · Intelligent Knowledge -as a Service 1 Design and Implementation of Data](https://reader033.vdocument.in/reader033/viewer/2022060310/5f0a81da7e708231d42bf952/html5/thumbnails/22.jpg)
22 Intelligent Knowledge-as-a-Service
Propose a data management scheme to realize CESP
high-speed search of large volumes of data
flexible search of data/information
Measure performance
Search time is independent of the data size and position of the data in CouchDB
Show several use case scenarios in a community
Town management service
health support service
Future work
implement a data management scheme and evaluate performance using various use case scenarios
Conclusion
![Page 23: Design and Implementation of Data Management Scheme to ...clout-project.eu/wp-content/uploads/2015/06/... · Intelligent Knowledge -as a Service 1 Design and Implementation of Data](https://reader033.vdocument.in/reader033/viewer/2022060310/5f0a81da7e708231d42bf952/html5/thumbnails/23.jpg)
23 Intelligent Knowledge-as-a-Service
The work is supported by the collaborative European Union and Ministry of Internal Affairs and Communication, Japan, Research and Innovation action: iKaaS. EU Grant number 643262.
Acknowledgement
![Page 24: Design and Implementation of Data Management Scheme to ...clout-project.eu/wp-content/uploads/2015/06/... · Intelligent Knowledge -as a Service 1 Design and Implementation of Data](https://reader033.vdocument.in/reader033/viewer/2022060310/5f0a81da7e708231d42bf952/html5/thumbnails/24.jpg)
24 24 Intelligent Knowledge-as-a-Service
Partners
Contac
t
Yuichi Hashi
This project has received funding from the European Union’s Seventh Framework Programme for research, technological development and demonstration under grant agreement no 643262