University of Toulouse
INSA Toulouse
Supervisors
August, 24th 2018
Om2m Architecture for the SMART Building
Fabian HO
4th year student in engineering School at INSA
Toulouse - France
University of Wollongong
Smart Infrastructure Facility
Senior Prof. Thierry MONTEIL Senior Prof. Pascal PEREZ Dr. Nicolas VERSTAEVEL Dr. Johan BARTHELEMY
Table of contents
Introduction
OneM2M on SMART Building
1. Architecture
1. Physical architecture
2. Virtual visualisation
1. Application
1. Discovery
2. Node Red
Conclusion
Context
Introduction ● OneM2M on Smart Building ● Conclusion
Fabian HO OneM2M standard - Smart’s Building- June, 22th 2018 1
● Building SMART Infrastructure Facility
○ Several protocole of communication:
■ 125 LoRa Sensors
● Send every 30 secondes
● 7 Data by sensor
● 2 520 000 data by day
■ Sigfox network
■ Bluetooth Low Energy (BLE) network
■ Wifi network
○ Middleware by protocole of communication
Situation
Problematics:
Introduction ● OneM2M on Smart Building ● Conclusion
Fabian HO OneM2M standard - Smart’s Building- June, 22th 2018 2
Server for
LoRa
● First case MiddleWare
LoRa
Add another protocol of communication ?
Server for
LoRa
MiddleWare
LoRa
New protocol Server for
Protocol
MiddleWare
of protocol
Gateway
Gateway
Gateway
Situation
Problematics:
Introduction ● OneM2M on Smart Building ● Conclusion
Fabian HO OneM2M standard - Smart’s Building- June, 22th 2018 3
● Second case:
Server
MiddleWare LoRa
MiddleWare BLE
Server
API 1
API 2
Communication between API 1 and API 2?
Server
MiddleWare LoRa
MiddleWare BLE
Server
API 1
API 2
API Interface
Gateway
Gateway
Gateway
Gateway
OM2M Eclipse
● Open source service platform for M2M interoperability
based on the oneM2M standard.
● Follows a RESTful approach
● Middleware of system/application
● Extented via plugins
● Communication with different technologies:
○ Lora
○ Zigbee
○ Sigfox
○ Bluetooth Low Energy
○ Z-wave
Introduction ● OneM2M on Smart Building ● Conclusion
Fabian HO OneM2M standard - Smart’s Building- June, 22th 2018 4
OneM2M on Smart
Architecture
Physical visualisation
Virtual visualisation
Application
Architecture
Physical architecture of UOW: Before Om2m Architecture
Introduction ● OneM2M on Smart Building ● Conclusion
Server for
LoRa
Server for
BLE
Server for
Wifi
Application
Application
Application
Fabian HO OneM2M standard - Smart’s Building- June, 22th 2018 5
MiddleWare
MiddleWare
MiddleWare
Architecture
Physical architecture of UOW: Om2m Architecture
Introduction ● OneM2M on Smart Building ● Conclusion
Application
Application
Fabian HO OneM2M standard - Smart’s Building- June, 22th 2018 6
Application
Server
OneM2m
MiddleWare
OneM2m
Physical architecture:
Gateway N
Gateway
N+1
125 Sensors Every 30s
DataToMnServer
MN-Building_6
Tree
representation of
AE
UOW Network
Gateway
IN-Smart_Campus
Tree representation of
MN
Internet
APIs
Introduction ● OneM2M on Smart Building ● Conclusion
Fabian HO OneM2M standard - Smart’s Building- June, 22th 2018 7
MN : Middle Node
IN : Infrastructure node
CSE : Common Service Entity
AE : Application Entity
Protocol of communication
APIs
Om2m Architecture
Subscribe
Post HTTP
MiddleWare
Om2m
System
Application
Architecture
Architecture
Building N
OM2M Eclipse
Building N+1
OM2M Eclipse IN
Smart_Campus
Physical architecture of UOW: With Om2m Architecture
Building 6
Room N+1
Room N Room 203
Introduction ● OneM2M on Smart Building ● Conclusion
Fabian HO OneM2M standard - Smart’s Building- June, 22th 2018 8
MN-Building N
MN-Building N+1
Building Vision Rooms Vision
MN : Middle Node
IN : Infrastructure node
Room N+2
Architecture
Virtual visualisation of Building 6:
● Design choices:
○ No data duplication
○ Limit http requests
○ Architecture by building then rooms
Introduction ● OneM2M on Smart Building ● Conclusion
Fabian HO OneM2M standard - Smart’s Building- June, 22th 2018 9
MN : Middle Node
IN : Infrastructure node
CSE : Common Service Entity
• Example
OneM2M on Smart
Application
Application
Discovery of the data with Labels :
Goal:
● Recover Latest Data with Labels
● Treatment: Median of the data
● Post on Tree ressource of MN
Labels of Data
Introduction ● OneM2M on Smart Building ● Conclusion
Fabian HO OneM2M standard - Smart’s Building- June, 22th 2018 10
Temperature
Humidity
Voltage
Movement
…
Rooms Building
Recover all the
Temperature in
each rooms
?
Application
Complete architecture:
Gateway N
Gateway
N+1
125 Sensors Every 30s
DataToMnServer
MN-Building_6
Tree
representation of
AE
UOW Network
Gateway
IN-Smart_Campus
Tree representation of
MN Discovery_Median
Req: Discovery
Response
Post HTTP
Introduction ● OneM2M on Smart Building ● Conclusion
Fabian HO OneM2M standard - Smart’s Building- June, 22th 2018 11
MN : Middle Node
IN : Infrastructure node
CSE : Common Service Entity
AE : Application Entity
Application
Om2m Architecture
Subscribe
Post HTTP
Application
Om2m Eclipse and Node Red:
Introduction ● OneM2M on Smart Building ● Conclusion
Fabian HO OneM2M standard - Smart’s Building- June, 22th 2018 12
● Make a simple application with Node-RED
○ Recover: Temperature Room 203
○ Send Email
● Use Node-RED to make a complexe Dashboard
• Different Protocol
of communication
• A lot of data
Rooms Building
How make a simple
application ?
How make a complex
application ?
And do it easily
Application
Complete architecture:
Gateway N
Gateway
N+1
125 Sensors Every 30s
DataToMnServer
MN-Building_6
Tree
representation of
AE
UOW Network
Gateway
IN-Smart_Campus
Tree representation of
MN
Discovery_Median
Req: Discovery
Response
Post HTTP
Introduction ● OneM2M on Smart Building ● Conclusion
Fabian HO OneM2M standard - Smart’s Building- June, 22th 2018 13
MN : Middle Node
IN : Infrastructure node
CSE : Common Service Entity
AE : Application Entity
Application
Om2m Architecture
Subscribe
Post HTTP
Dashboard
Introduction ● OneM2M on Smart Building ● Conclusion
Conclusion
Fabian HO OneM2M standard - Smart’s Building- June, 22th 2018 14
• Each plugin offers specific functionalities
Remotely
• Installation
• Started / Stopped / Updated
• Uninstalled
without requiring a reboot
• OM2M exposes a RESTful API providing
primitive procedures for:
• Machines authentication
• Resources discovery
• Applications registration
• Containers management
• Access rights authorization
• Groups organization and retargeting.
• Highly extended via plugins
• Interoperability
• Discoverability
Advantages:
Introduction ● OneM2M on Smart Building ● Conclusion
Conclusion
Fabian HO OneM2M standard - Smart’s Building- June, 22th 2018 15
● Realisation:
○ Implementation of OneM2M architecture
○ Developing an open-source data collection
○ Visualisation of sensors deployed
● Future Perspective:
○ Implemented in the several Smart Campus based on OneM2M
Standard
Introduction ● OneM2M on Smart Building ● Conclusion
Conclusion
Fabian HO
Student Engineering School
Departement GEI - IR/RT
Mail: fho@etud.insa-toulouse.fr
Téléphone: +33 603 957 595
Linkedin: www.linkedin.com/in/ho-
fabian-ingenieur
INSA Toulouse
135 avenue de Rangueil
31077 Toulouse CEDEX 04
France
Site: www.insa-toulouse.fr
Thanks for your
attention
Fabian HO OneM2M standard - Smart’s Building- June, 22th 2018 16

SMART Seminar Series: "From an IoT cloud based architecture to Edge for dynamic service". Presented by Prof Theirry Monteil & Fabian Ho

  • 1.
    University of Toulouse INSAToulouse Supervisors August, 24th 2018 Om2m Architecture for the SMART Building Fabian HO 4th year student in engineering School at INSA Toulouse - France University of Wollongong Smart Infrastructure Facility Senior Prof. Thierry MONTEIL Senior Prof. Pascal PEREZ Dr. Nicolas VERSTAEVEL Dr. Johan BARTHELEMY
  • 2.
    Table of contents Introduction OneM2Mon SMART Building 1. Architecture 1. Physical architecture 2. Virtual visualisation 1. Application 1. Discovery 2. Node Red Conclusion
  • 3.
    Context Introduction ● OneM2Mon Smart Building ● Conclusion Fabian HO OneM2M standard - Smart’s Building- June, 22th 2018 1 ● Building SMART Infrastructure Facility ○ Several protocole of communication: ■ 125 LoRa Sensors ● Send every 30 secondes ● 7 Data by sensor ● 2 520 000 data by day ■ Sigfox network ■ Bluetooth Low Energy (BLE) network ■ Wifi network ○ Middleware by protocole of communication
  • 4.
    Situation Problematics: Introduction ● OneM2Mon Smart Building ● Conclusion Fabian HO OneM2M standard - Smart’s Building- June, 22th 2018 2 Server for LoRa ● First case MiddleWare LoRa Add another protocol of communication ? Server for LoRa MiddleWare LoRa New protocol Server for Protocol MiddleWare of protocol Gateway Gateway Gateway
  • 5.
    Situation Problematics: Introduction ● OneM2Mon Smart Building ● Conclusion Fabian HO OneM2M standard - Smart’s Building- June, 22th 2018 3 ● Second case: Server MiddleWare LoRa MiddleWare BLE Server API 1 API 2 Communication between API 1 and API 2? Server MiddleWare LoRa MiddleWare BLE Server API 1 API 2 API Interface Gateway Gateway Gateway Gateway
  • 6.
    OM2M Eclipse ● Opensource service platform for M2M interoperability based on the oneM2M standard. ● Follows a RESTful approach ● Middleware of system/application ● Extented via plugins ● Communication with different technologies: ○ Lora ○ Zigbee ○ Sigfox ○ Bluetooth Low Energy ○ Z-wave Introduction ● OneM2M on Smart Building ● Conclusion Fabian HO OneM2M standard - Smart’s Building- June, 22th 2018 4
  • 7.
    OneM2M on Smart Architecture Physicalvisualisation Virtual visualisation Application
  • 8.
    Architecture Physical architecture ofUOW: Before Om2m Architecture Introduction ● OneM2M on Smart Building ● Conclusion Server for LoRa Server for BLE Server for Wifi Application Application Application Fabian HO OneM2M standard - Smart’s Building- June, 22th 2018 5 MiddleWare MiddleWare MiddleWare
  • 9.
    Architecture Physical architecture ofUOW: Om2m Architecture Introduction ● OneM2M on Smart Building ● Conclusion Application Application Fabian HO OneM2M standard - Smart’s Building- June, 22th 2018 6 Application Server OneM2m MiddleWare OneM2m
  • 10.
    Physical architecture: Gateway N Gateway N+1 125Sensors Every 30s DataToMnServer MN-Building_6 Tree representation of AE UOW Network Gateway IN-Smart_Campus Tree representation of MN Internet APIs Introduction ● OneM2M on Smart Building ● Conclusion Fabian HO OneM2M standard - Smart’s Building- June, 22th 2018 7 MN : Middle Node IN : Infrastructure node CSE : Common Service Entity AE : Application Entity Protocol of communication APIs Om2m Architecture Subscribe Post HTTP MiddleWare Om2m System Application Architecture
  • 11.
    Architecture Building N OM2M Eclipse BuildingN+1 OM2M Eclipse IN Smart_Campus Physical architecture of UOW: With Om2m Architecture Building 6 Room N+1 Room N Room 203 Introduction ● OneM2M on Smart Building ● Conclusion Fabian HO OneM2M standard - Smart’s Building- June, 22th 2018 8 MN-Building N MN-Building N+1 Building Vision Rooms Vision MN : Middle Node IN : Infrastructure node Room N+2
  • 12.
    Architecture Virtual visualisation ofBuilding 6: ● Design choices: ○ No data duplication ○ Limit http requests ○ Architecture by building then rooms Introduction ● OneM2M on Smart Building ● Conclusion Fabian HO OneM2M standard - Smart’s Building- June, 22th 2018 9 MN : Middle Node IN : Infrastructure node CSE : Common Service Entity • Example
  • 13.
  • 14.
    Application Discovery of thedata with Labels : Goal: ● Recover Latest Data with Labels ● Treatment: Median of the data ● Post on Tree ressource of MN Labels of Data Introduction ● OneM2M on Smart Building ● Conclusion Fabian HO OneM2M standard - Smart’s Building- June, 22th 2018 10 Temperature Humidity Voltage Movement … Rooms Building Recover all the Temperature in each rooms ?
  • 15.
    Application Complete architecture: Gateway N Gateway N+1 125Sensors Every 30s DataToMnServer MN-Building_6 Tree representation of AE UOW Network Gateway IN-Smart_Campus Tree representation of MN Discovery_Median Req: Discovery Response Post HTTP Introduction ● OneM2M on Smart Building ● Conclusion Fabian HO OneM2M standard - Smart’s Building- June, 22th 2018 11 MN : Middle Node IN : Infrastructure node CSE : Common Service Entity AE : Application Entity Application Om2m Architecture Subscribe Post HTTP
  • 16.
    Application Om2m Eclipse andNode Red: Introduction ● OneM2M on Smart Building ● Conclusion Fabian HO OneM2M standard - Smart’s Building- June, 22th 2018 12 ● Make a simple application with Node-RED ○ Recover: Temperature Room 203 ○ Send Email ● Use Node-RED to make a complexe Dashboard • Different Protocol of communication • A lot of data Rooms Building How make a simple application ? How make a complex application ? And do it easily
  • 17.
    Application Complete architecture: Gateway N Gateway N+1 125Sensors Every 30s DataToMnServer MN-Building_6 Tree representation of AE UOW Network Gateway IN-Smart_Campus Tree representation of MN Discovery_Median Req: Discovery Response Post HTTP Introduction ● OneM2M on Smart Building ● Conclusion Fabian HO OneM2M standard - Smart’s Building- June, 22th 2018 13 MN : Middle Node IN : Infrastructure node CSE : Common Service Entity AE : Application Entity Application Om2m Architecture Subscribe Post HTTP Dashboard
  • 18.
    Introduction ● OneM2Mon Smart Building ● Conclusion Conclusion Fabian HO OneM2M standard - Smart’s Building- June, 22th 2018 14 • Each plugin offers specific functionalities Remotely • Installation • Started / Stopped / Updated • Uninstalled without requiring a reboot • OM2M exposes a RESTful API providing primitive procedures for: • Machines authentication • Resources discovery • Applications registration • Containers management • Access rights authorization • Groups organization and retargeting. • Highly extended via plugins • Interoperability • Discoverability Advantages:
  • 19.
    Introduction ● OneM2Mon Smart Building ● Conclusion Conclusion Fabian HO OneM2M standard - Smart’s Building- June, 22th 2018 15 ● Realisation: ○ Implementation of OneM2M architecture ○ Developing an open-source data collection ○ Visualisation of sensors deployed ● Future Perspective: ○ Implemented in the several Smart Campus based on OneM2M Standard
  • 20.
    Introduction ● OneM2Mon Smart Building ● Conclusion Conclusion Fabian HO Student Engineering School Departement GEI - IR/RT Mail: fho@etud.insa-toulouse.fr Téléphone: +33 603 957 595 Linkedin: www.linkedin.com/in/ho- fabian-ingenieur INSA Toulouse 135 avenue de Rangueil 31077 Toulouse CEDEX 04 France Site: www.insa-toulouse.fr Thanks for your attention Fabian HO OneM2M standard - Smart’s Building- June, 22th 2018 16