Download presentation
Presentation is loading. Please wait.
Published byIrma Parrish Modified over 9 years ago
1
Thoughts on oneM2M resource tree Group Name: WG2 Architecture at TP#7 (Sophia, October 2013) Source: Nicolas Damour, Sierra Wireless (ndamour@sierrawireless.com) Meeting Date: 2013-10-16 Agenda Item: 6 - Contributions
2
Current Tree in TS © 2013 oneM2M Partners oneM2M-ARC-2013-0479 2
3
Benefits of flatter tree In ETSI M2M TC, where do I store data? – http://sclBase/applications/myApp1/containers/myData – http://sclBase/containers/myApp1/myData – http://sclBase/scls/smartMeter567/applications/myEmbedde dApp1/containers/myData – http://sclBase/scls/smartMeter567/containers/myData © 2013 oneM2M Partners oneM2M-ARC-2013-0479 3
4
Resource tree depth What should the tree depth be? – Tree depth 2: current oneM2M TS /baseURI/C1 – Tree depth 3: another option /baseURI/containers/C1 – Tree depth 6+: current ETSI M2M TC /baseURI/applications/A1/containers/C1 Proposal: – Agree that each resource has a URI – Let us not standardize the tree depth © 2013 oneM2M Partners oneM2M-ARC-2013-0479 4
5
Sample use case – depth 2 First step: discover – Request: RETRIEVE /baseURI/ Resource-type: container Filter-criteria: foobar – Response: /baseURI/Container-687bc5ad Second step: retrieve data – Request: RETRIEVE /baseURI/Container-687bc5ad/latest – Response: [somedata] © 2013 oneM2M Partners oneM2M-ARC-2013-0479 5
6
Sample use case – depth 6 First step: discover – Request: RETRIEVE /baseURI/applications/A1/containers/ Resource-type: container Filter-criteria: foobar – Response: /baseURI/applications/A1/containers/Container-687bc5ad Second step: retrieve data – Request: RETRIEVE /baseURI/applications/A1/containers/Container-687bc5ad/latest – Response: [somedata] © 2013 oneM2M Partners oneM2M-ARC-2013-0479 6
7
Benefits We allow any tree depth We leave it up to the implementation More efficiency with shorter URIs is permitted Easier enforcement of security is permitted (especially on http, “separating” URI spaces) Additional bonus: Easy migration path for ETSI-compliant implems. © 2013 oneM2M Partners oneM2M-ARC-2013-0479 7
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.