‘Containers’ are an element in oneM2M’s Technical Specifications which are used to define and construct data models. An example might be the digital twin data structure for a streetlight comprising it’s on/off status or its red/green/blue color temperature settings among other possible parameters.
In this talk we show how to pack multiple data points of a data model into a single rather than multiple resources for greater operating efficiency. One advantage of working with a single resource is to synchronize access and manipulation of multiple data points. This possibility is offered by oneM2M’s FlexContainer resource which also provides IoT developers with a convenient way to define their own data model schemas. As with normal Container resources, FlexContainers also support versioning, meaning that FlexContainers can store older versions for applications that need historical information.
In this short talk, Andreas and Ken discuss the functionality and benefits of FlexContainer resources using code samples in an easily accessible Jupyter Notebook.
Link to Jupyter Notebook series and explanations on oneM2M Wiki: https://wiki.onem2m.org/index.php?tit...
Presentation: https://wiki.onem2m.org/images/5/5b/O...
Jupyter Notebook for this episode (online): https://mybinder.org/v2/gh/oneM2M/one...
Join the discussions on GitHub: https://github.com/oneM2M/onem2m-jupy...
ACME oneM2M CSE: https://github.com/ankraft/ACME-oneM2...
oneM2M Homepage: https://onem2m.org