Chapter 3: Context-Aware Computing Flashcards

1
Q

Describe a context aware situation of a photo application. What information are involved?

A

Face detection: Detects Faces
Clock: Stores time for each picture
GPS: Receives and stores location for each picture
Brightness: Adjust screen to current brightness
Tilt: Change orientation based on camera position

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Give some examples for context and their sensor

A
Location (Outdoor); GPS
Location (Indoor); RFID, WiFi
Orientation; Compass
Temperature; Temperature Sensor
Ambient sound; Microphone
Identitiy; Email
Time; Clock
Activity; Accelerometers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the motivation for context aware computing ?

A

It enables smart behavior because it can act and react with respect to the current situation.

  • It can adapt the operation to the context without explicit user intervention
  • Increases usability & effectiveness by considering the environmental context
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are economic motivations for context aware systems

A
  • Location based ads lead consumers to visit stores or make purchases
  • Context aware computing market surpass 125 billion USD
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is context?

A

Any information that can characterize the situation of an entity.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is an entity in the context of context?

A

An entity is a person, place, or object that is relevant to the interaction between a user and an application.

User and Application are also an entity.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What makes a system context-aware?

A

If the system uses context to provide relevant information and / or services to the user. Relevancy depends on the users task.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the different context categories according to the conceptual classification

A
  • Physical Environment Context
  • User context
  • ICT Context / Virtual Environment Context
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Explain Physical environment context

A

Refers to some physical world dimension (location, time, temperature)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Explain User Context

A

Interactions constrained by users:

  • by identity
  • preferences
  • task requirements
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Explain ICT Context / Virtual Environment Context

A

Awareness of the services that are available (internally, externally, local, remote, distributed system)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are the different context categories according to the operational classification

A

Persistence

  • Static Context
  • Dynamic Context (Source: Sensed, Derived, Profiled)
  • ——Other Literature——-
  • Primary Context
  • Secondary Context
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Explain Static context

A

Context is created and never or rarely changed e.g. road maps

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Explain Dynamic context

A

Context varies with time. Exhibits different persistence characteristics.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Explain the dynamic context from the source sensed

A
  • Obtained from HW or SW sensors
  • Changes frequently
  • Often requires transformation of the raw data

E.g. GPS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Explain the dynamic context from the source derived

A
  • Obtained by a derivation function (simple math or AI)
  • Precision needs to be considered

E.g. “located-near”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Explain the dynamic context from the source profiled

A
  • Supplied byu ser
  • longer-lived / more reliable

E.g. job position

18
Q

Explain Primary context according to the operational classification

A

Any information that is retrieved without using existing context. Also no retrieve by sensor data fusion operations.

e.g. GPS sensor readings as location information

19
Q

Explain Secondary context according to the operational classification

A

Information that can be computed using primary context. By sensor data fusion or data retrieval operations (web service calls)

e.g. List of friends based on personal identity as primary context

20
Q

Describe the Architecture of a generic context-aware system

A
Three layers:
Context-Aware Applications (update application state in context model)
Context Model (query / notify context-aware applications)
Physical World (has sensors that update the context model)
21
Q

Categorize Context-Aware Applications by level of user interaction

A
  • Personalization (e.g. Smart Home)
  • Passive context-awareness (Time zone change, ask user to adjust time to new time zone)
  • Active context-awareness (Time zone change, adjust time to new time zone)
22
Q

Categorize Context-Aware Applications by supported features

A
  • Presentation (of information/services to user based on context)
  • Automatic execution (of a service for a user based on context)
  • Tagging (of context to information for later retrieval)
23
Q

Give an example of a context-aware application that supports the feature presentation

A

Multi-model interfaces (change presentation based on):

  • Device properties (screen resolution)
  • User Preferences (auto-rotate)

Navigation (dynamic information):

  • construction work
  • traffic jam
24
Q

Give an example of a context-aware application that supports the feature automatic execution

A

Sentient Computing:
- physical environment (light) reacts according to user profiles
Spatial events:
- Notify when near shop
Teleporting:
- user interfaces follow user and use nearest device

25
Q

Give an example of a context-aware application that supports the feature tagging

A

Apply virtual objects (information) to physical objects

Augments the environment: E.g.

  • Virtual post-its: attached to location
  • Tourism: show extra info based on location
  • Games: geolocate objects (Pokemon Go)
26
Q

What are the steps of the Context Management Lifecycle?

A
  1. Context Acquisition
  2. Context Modelling
  3. Context Reasoning
  4. Context Dissemination
27
Q

What sources are available for the context acquisition?

A
  • Application State
  • Sensors: Device, module, or system that detects physical / logical phenomena
  • Sensor Fusion: Software combines data from several sensor to improve application/system performance
28
Q

Describe three different sensors.

A

Physical sensors:

  • tangible
  • generate raw sensor data (primary context)
  • modern devices have usually several of them

Virtual sensors:

  • no physical presence
  • retrieve data from many sources and publish it as sensor data
    e. g. calendar, twitter status

Logical sensors:

  • combine physical+virtual sensors
  • produce more meaningful information
29
Q

Give an example for a context-aware app running on a virtual sensor

A

If this then that:

Twitter sensor: get an email when there is a tweet from a specified person
Instagram sensor: share photos on twitter if post includes a specific #

30
Q

Give an example for a context-aware app running on a logical sensor

A

Webservice to provide weather information

  • Weather station: physical sensors collect information
  • Virtual Sensors: maps, calendars provide additional information
31
Q

Explain Push and Pull operation in the context acquisition stage

A

Pull: Software makes request to sensor
Push: The sensor pushes data to the context software component

32
Q

Explain the different event frequencies in the context acquisition

A

Instant / Threshold violation:

  • Events occur instantly
  • Sensor data is acquired when event occurs
    e. g. State of Bulb, Motion Sensor

Interval / Periodically:

  • Events span a period of time
  • Sensor data is acquired periodically

Both push and pull methods can be used for Instant and Interval events

33
Q

Describe the Context Model

A
  • identifies a concrete subset of the context that is realistically reachable from sensors, applications, and users.
  • usually explicitly specified by the application developer

Is composed of context attributes:

  • Identifier
  • Type
  • Value
  • (optionally specific properties)
34
Q

What different context modeling approaches exist

A
  • Key value models

- Object based model (composed of Entities, Attributes, Associations)

35
Q

Describe the key value modeling approach.

A
  • Key value pair of (environmental variable, value)
    e. g. (temperature, 20)
  • Simplest data structure for modeling context
  • Easy to manage
  • Low expressiveness (no hierarchies / relationships possible, not scalable)
  • Frequently used in distributed service frameworks (List of attributes to describe services, simple matching algorithms)
36
Q

Explain the context lifecycle stage context reasoning.

A
  • a method to deduce new knowledge based on the available context (refers to step 3)

Steps:

  1. Context pre-processing (cleanse collected sensor data)
  2. Sensor data fusion
  3. Context inference (Generate high-level context information using lower-level context in single / multiple iterations)
37
Q

How is information categorized at the stage context reasoning

A

Data Range (Low-level context):

  • Information without interpretation
    e. g. what the network sees

Context (somewhere in the middle):

  • information related to the situation of the user / real world
  • needed to determine situation

Situation (high-level context):
- information that can be directly used by context-aware applications for adaption

38
Q

Name some inference techniques for the stage context reasoning

A

Most of the inference techniques originated from AI:

- Decision Tree, Naive Bayes, SVM, KNN

39
Q

Give an inference example for activity recognition.

A

There is a API for activity recognition.

Uses: accelerometer, barometer, bluetooth and WiFi
Determines: activity of user (walking, running, biking, in vehicle)

40
Q

Explain context prediction for the stage context reasoning

A
  • Reasoning about the future
  • Enables proactive adaption:
    • prepare for upcoming context events
    • optimize adaption over time
41
Q

Explain how context can be delivered to applications by using a query

A

Query:

  • context-aware application makes requests
  • context management system uses queries to produce results

To use when sensors don’t know when to send data to user or when data is not monitored continuously

42
Q

Explain how context can be delivered to applications by using a subscription

A

Subscription (publish / subscribe)

  • context-aware application subscribes to context management system with requirements
  • system return results periodically or when event occurs

Can be used when sensors know about when to send the data and have enough processing power and knowledge