Context Manager
The Context Manager is responsible for gathering context knowledge from local sensors and from distributed context sources like other smart products. It is important that smart products can gather context information in a distributed way since equipping each smart product with all the necessary sensors is infeasible. The Context Manager processes the context information to gain additional higher level context from it, e.g., starting to prepare coffee if the coffee machine knows that its owner will soon have breakfast. The context information is used by other components to trigger and adapt the interaction with the user.
The Context Manager can be used in two ways:
- Querying for context information
- Subscribing to specific context information
For both ways a filter can be specified on the content (CtxItemSimpleFilter) to retrieve only the information that is really relevant for the application. For subcriptions furthermore a FrequencyFilter can be specified to reduce the amount of delivered context information.
Context information is represented as CtxItems that contain a nested map specifying key-value pairs of the actual content and some meta information.
The Context Manager consists of several components that are linked to each other via the configuration file and exchange data with a reaoning component. There exist three different types of components:
Developer: Melanie Hartmann
License
MPL
Download
- WidgetEditor (standalone)
Usage: load configuration file of ContextManager, start ContextManager and see how the data is processed
API Documentation
Additional Material
- D6.2.1 Initial Architecture and Specification of Platform Core Services. [PDF]
- D6.3.1 & D6.4.1 & D6.5.1 Initial Smart Products Communication Middleware, Initial Sensor and Actuator Integration Framework & Initial Context and Environment Model Framework. [PDF]