ipso smart objects
play

IPSO Smart Objects and related IoT Standards Jaime Jimnez - PowerPoint PPT Presentation

IPSO Smart Objects and related IoT Standards Jaime Jimnez jaime.jimenez@ericsson.com 13 th February 2019 Table of Contents 1. IETF protocols : Short background on IETF work on various layers and current state. 2. CoAP: What is CoAP


  1. IPSO Smart Objects and related IoT Standards Jaime Jiménez jaime.jimenez@ericsson.com 13 th February 2019

  2. Table of Contents 1. IETF protocols : Short background on IETF work on various layers and current state. 2. CoAP: What is CoAP and what does it bring to IoT. 3. LwM2M : Overview on LwM2M and its device management features. 4. IPSO: Overview of the IPSO Objects, usage and registry.

  3. Internet Engineering Task Force (IETF)

  4. IETF: dozen+ years of IoT standards RFC RFC RFC RFC RFC RFC RFC 2689 3485 3544 3819 3940 3941 4629 RFC RFC RFC RFC RFC RFC RFC 4919 4944 5049 5401 5740 5856 5857 RFC RFC RFC RFC RFC RFC RFC 5858 6282 6469 6568 6606 6775 6690 RFC RFC RFC RFC RFC RFC RFC 7049 7228 7252 7388 7390 7400 7641 RFC RFC RFC RFC RFC RFC RFC 7668 7744 7925 7959 8075 8132 8152 RFC RFC RFC RFC RFC RFC 8307 8323 8376 8392 8424 8516 …and more Connectivity WGs Application WGs Security WGs 2/13/19 One Data Model Group 4

  5. Standards Device Stack Maturity level WG Resource Directory LwM2M discovery LwM2M interfaces discovery PuSub Custom Apps Core- Custom Apps conf 1.0 1.1 Links CBOR Links SenML CBOR OSCORE IESG CoAP CoAP WS DTLS DTLS TLS 2019 UDP UDP TCP IPv6 / v4 IPv6 IPv6 / v4 6lo 6lo Cellular Wired Wired WiFi Lora WiFi 802.15.4 BLE NFC 802.15.4 2014 2014 2019 13/2/19 One Data Model Group 5

  6. Constrained Application Protocol (CoAP)

  7. The Co Co nstrained A pplication P rotocol (C (CoA oAP) P) • CoAP (RFC7252) implements HTTP’s REST model o Simple devices: 100 to 250 KiB code and 10 to 50 KiB RAM -37°C o Each device can be client and server exposing resources /temperature o CoAP defines methods to access those resources (GET, POST, PUT,…) Client/Server o Same key concepts borrowed from HTTP (Media types, URL, URN...) • Has a compact 4-byte header, with simple options encoding • Simple protocol, datagram (UDP, DTLS) 2.05 content GET text/plain /temperature -37°C o Reliability through header message type “ CON/NON ” “Which temperature?” o With TCP/TLS (RFC8323) support for NAT-ed environments • The Resource Directory provides a directory service Client 13/2/19 One Data Model Group 7

  8. The Co Co nstrained A pplication P rotocol (C (CoA oAP) P) • CoRELink (RFC6690) provides a link format -37°C o Reuses Web Linking RFC5988 for IoT. o Enables query parameters for discovery (lt, gt…) / 3303/0/5700 /.well-known/core o Enables attribute and relation types (rt, if, sz). <3303/0/5700>;rt=“oma:lwm2m:temp”;ct=“0” Server • Notifications available through observe option (RFC7641) o Can observe and add query parameters to the observation GET 2.05 content /3303/0/5700; <3303/0/5700?lt=0> rt=“oma.lwm2m”; text/plain -37°C ct=“0” • The “/.well-known/core” URI provides discovery “Which temperature?” • Multiple serialization formats used with CoAP o SenML (RFC8428): Minimalistic JSON Client o CBOR (RFC7049): Binary serialization • Multiple implementations available at coap.technology 13/2/19 One Data Model Group 8

  9. Lightweight M2M Protocol (LwM2M)

  10. The L ight W eight M2 M2M Protocol (L (LwM wM2M) • Used for REST type of Device Management /3 Device /1 LwM2M Server o Runs on top of CoAP, on top of IP Security /0 o Device = LwM2M Client = at least CoAP Server /3303 -37°C /.well-known/core o LwM2M Server is the Manager entity Client/Server • Supports Resource Registration on LwM2M Server • Provides a set of interfaces for managing of constrained devices. POST o Bootstrap: provisions device, configures keying 2.04 changed /3/0/4 “Please reboot” o Client Registration: RFC6690 and RD o Information Reporting: enables event subscription o Device Management & Service Enablement: management operations Client/Server 13/2/19 One Data Model Group 10

  11. The L ight W eight M2 M2M Protocol (L (LwM wM2M) • Mapping of CoAP methods (GET,POST, PUT…) to CRUD operations /3 Device /1 LwM2M Server • Interaction with device through simple “Objects” Security /0 /3303 -37°C o RWX, Access Control, Observation, Notification /.well-known/core o Independent from underlying protocol stack (CoAP today) Client/Server o Simple resource structure o Objects’ resources are accessed with simple URIs: POST 2.04 changed /3/0/4 /{Object ID}/{Object Instance}/{Resource ID} “Please reboot” o Multiple serializations: For example JSON, CBOR and raw values. Client/Server • Common repository for all Objects (OMNA) • Enables interoperability and reusability 13/2/19 One Data Model Group 11

  12. The L ight W eight M2 M2M Protocol (L (LwM wM2M) Ob Object Na Name ID ID De Description on LwM2M Security 0 Keying material of a LwM2M Client to access a LwM2M server. LwM2M Server 1 Data related to a LwM2M server. Access Control 2 Information used to check whether a LwM2M Server has access to object. Device 3 Device related information, including device reboot and factory reset function. Connectivity Monitoring 4 Parameters related to network connectivity. Firmware 5 Capability to update firmware Location 6 Device location information Connectivity Statistics 7 Information like transmit and receive counters OSCORE 21 Provides security at the application layer 13/2/19 One Data Model Group 12

  13. IPSO Smart Objects (IPSO) + =

  14. The IP IP for S mart O bjects (IP IPSO SO) device stack (recap) Applications Application IPSO/LwM2M Objects Data Models Other IP Web Server LwM2M Client CoAP Server API / Services Stacks: MQTT, CoAP HTTP Application Protocol XMPP, etc. Non-IP 6LowPAN IPv4 / IPv6 Routing based Transport - 802.15.4 Wifi, Ethernet, Cellular, … HW Network BTLE MCU MPU Hardware 13/2/19 One Data Model Group 14

  15. IPSO Object Structure • Same URIs as LwM2M : /{Object ID}/{Object Instance}/{Resource ID} /3300/0/5700 - 3300 Temperature Sensor - 0 Instance 0 of a Temperature Sensor - 5700 Resource having the current value • Data Types (String, Integer, …) as LwM2M • Operations (Read, Write, Create…) as LwM2M • Object Linking and Core Link o Object Linking is used to refer to Objects within the device. o Allows composition without nasty large nested structures o Allows for complex objects (i.e. appliance made of several sensors) o CoRE Link enables query parameters: rt=“urn:oma:lwm2m:temp” • Extensible data model o Only few “Mandatory” Resources to enable interoperability o Use of versioning for model updates 13/2/19 One Data Model Group 15

  16. IPSO Example Temperature Object Object definition Name Object ID Instances Mandatory Object URN Temperature 3303 Multiple Mandatory urn:oma:lwm2m:3303 Resource definitions ID Name Operations Instances Mandatory Type Units Description … … R 5700 Sensor Value Single Mandatory Float Data Min Measured … … R 5601 Single Optional Float Value Max Measured … … R 5602 Single Optional Float Value … … R 5603 Min Range Value Single Optional Float Metadata … … R 5604 Max Range Value Single Optional Float … … R 5701 Sensor Units Single Optional String Reset Min and … … X Actions 5605 Single Optional Opaque Max 2/13/19 One Data Model Group 16

  17. Example new Object – Company X Thermostat 2/13/19 One Data Model Group 17

  18. IPSO Smart Objects Object Object ID Object Object ID Object Object ID Digital Input 3200 Current 3317 Gyrometer 3334 Digital Output 3201 Frequency 3318 Color 3335 Analogue Input 3202 Depth 3319 GPS Location 3336 Analogue Output 3203 Percentage 3320 Positioner 3337 Generic Sensor 3300 Altitude 3321 Buzzer 3338 Illuminance Sensor 3301 Load 3322 Audio Clip 3339 Presence sensor 3302 Pressure 3323 Timer 3340 Temperature Sensor 3303 Loudness 3324 Addressable Text Display 3341 Humidity Sensor 3304 Concentration 3325 On/Off Switch 3342 Power Measurement 3305 Acidity 3326 Dimmer 3343 Actuation 3306 Conductivity 3327 Up/Down Control 3344 Set Point 3308 Power 3328 Multiple Axis Joystick 3345 Load Control 3310 Power Factor 3329 Rate 3346 Light Control 3311 Distance 3330 Push Button 3347 Power Control 3312 Energy 3331 Multi-state Selector 3348 Accelerometer 3313 Direction 3332 Bitmap 3349 Magnetometer 3314 Time 3333 Stopwatch 3350 Barometer 3315 Voltage 3316 13/2/19 One Data Model Group 18

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend