PTIN: Overview of a context platform for CaaS

10
Este documento é propriedade intelectual da PT e fica proibida a sua utilização ou propagação sem expressa autorização escrita. CaaS Meeting January 2014 PTIN Context Platform Telma Mota | [email protected] Ricardo Azevedo | [email protected]

description

These slides presents a brief overview of the context platform developed by Portugal Telecom Innovaçao. This platform will support the context-awareness features of the CDD environment of the CaaS project.

Transcript of PTIN: Overview of a context platform for CaaS

Page 1: PTIN: Overview of a context platform for CaaS

Este documento é propriedade intelectual da PT e fica proibida a sua utilização ou propagação sem expressa autorização escrita.

CaaS Meeting

January 2014

PTIN Context Platform

Telma Mota | [email protected] Ricardo Azevedo | [email protected]

Page 2: PTIN: Overview of a context platform for CaaS

10-04-2023 2

Outline

Context

Context Management

Context Architecture

Context Platform• Requirements

• The Platform

• The Technologies

Page 3: PTIN: Overview of a context platform for CaaS

10-04-2023 3

Typically what is context?

Information about an entity (e.g. person, room,

device)

Examples:• Location

• Sensors (e.g. temperature)

• Social Networks (e.g. likes, friends)

• Web (e.g. weather, calendar)

• Activity (e.g. running, sleeping)

• Well Being (e.g. heart beat)

• …

ToDo: Define what will be the business context

Page 4: PTIN: Overview of a context platform for CaaS

10-04-2023 4

Context Management

• Defines the architectural elements for creating non-vertical

context-aware services

• Context Sources detect context changes and inform Providers

• Context Providers publish the context information in the Broker

• Context Broker distributes the information to the Consumers

• Context Consumers use the information to provide a service

• Functions like

• aggregate, learn, infer and predict are usually supported by more

sophisticated Context Providers

• keep a single point of acccess and history are usually supported by the

Context Broker by is internal DB or external.

Page 5: PTIN: Overview of a context platform for CaaS

10-04-2023 5

Context Architetcture

. Context Architecture Overview

Page 6: PTIN: Overview of a context platform for CaaS

10-04-2023 6

Context Platform Requirements

• Take into account the ETSI M2M specifications

• Resource Oriented Architecture; M2M Information Model

• Protocol: CoAP

• Publish/Subscribe Model

• Typical from messaging architectures

• Protocols: MQTT, AMQP, XMPP

• History and Reporting

• Big Data; Cloudera

• Service Oriented Architecture

• Service Enablers (e.g. recommendations)

• JBoSS/Switchyard

Page 7: PTIN: Overview of a context platform for CaaS

The Platform

Context Broker

Support Services

API

Context Provider

Context Provider

Context Providers

BUS

External Context Consumers

Applications/CNA

Context Consumers

Context Provider

Context Provider

Context Sources

Page 8: PTIN: Overview of a context platform for CaaS

The Platform Details

APP

SESE SE

Network Service Cap.Layer Context Broker

Support Services

AMQPMQTTCoAPREST

API

Context Provider

Context Provider

Context Providers

Context Sources

Web(Weather, Calendar, ...

SNs(FB, Tweeter,...)

Mobile Device (location, net

measures

BUS

Context Consumers

Sensors(Humidity, luminosity,

temperature,...)

APPAPP

NA

Page 9: PTIN: Overview of a context platform for CaaS

10-04-2023 9

The Technologies

• Jboss

• Switchyard

• Apache Camel + Apache ActiveMQ

• ETSI Gateway: NA (Network Application) + NSCL (Network

Service Capability Layer )

• Cloudera

• Sentry, Hadoop, Impala, Hbase

• Interfaces:

• HTTP, REST/Jason

• Protocols MQTT, AMQP, CoAP

Page 10: PTIN: Overview of a context platform for CaaS

The Model

subscribes

Idname

Application

idattributeNameattributeVariancevalueunitytimestamp

Context

0...n

0...n

1...n

1

Provider

Source

owns0...n

1

Broker

Consumer

mediates0...n

relates to

typeName

Context ype

is a

0...n

identityName

Entity

is charaterised by

1...n

1has

belongs to

1

1