governing bot-as-a-service in sustainability platforms - issues and approaches

19
GOVERNING BOT-AS-A-SERVICE IN SUSTAINABILITY PLATFORMS - ISSUES AND APPROACHES Hong-Linh Truong a , Phu H. Phung b , and Schahram Dustdar a a Vienna University of Technology, Austria b Chalmers University of Technology, Sweden August 27-29, 2012, Niagara Falls, Ontario, Canada 1

Upload: phu-phung

Post on 25-May-2015

71 views

Category:

Software


0 download

DESCRIPTION

Presented at the 9th International Conference on Mobile Web Information Systems, MobiWIS 2012, Niagara Falls, Ontario, Canada, August 27-29, 2012 by Phu Phung More detail: http://www.cs.uic.edu/~phu/

TRANSCRIPT

Page 1: Governing Bot-as-a-Service in Sustainability Platforms - Issues and Approaches

1

GOVERNING BOT-AS-A-SERVICE IN SUSTAINABILITY PLATFORMS - ISSUES AND APPROACHES

Hong-Linh Truonga, Phu H. Phungb,

and Schahram Dustdara

aVienna University of Technology, Austria bChalmers University of Technology, Sweden

August 27-29, 2012, Niagara Falls, Ontario, Canada

Page 2: Governing Bot-as-a-Service in Sustainability Platforms - Issues and Approaches

2

CONTEXT:FACILITY MONITORING IN SMART CITIES

Sensors are deployed in buildings to monitor building

MEP (Mechanical, Electrical, and Plumbing) systems and the surrounding environments

Sensor data is aggregated and propagated to cloud-based data services

Onlinemonitoring

cloud services

Page 3: Governing Bot-as-a-Service in Sustainability Platforms - Issues and Approaches

3

BOT PLATFORM-AS-A-SERVICE – IN A RECENT EMERGING CONCEPT

Bots can be deployed at the facility sites to detect problems andfix them automatically

A bot is a lightweight application that is

executed by a hosting environment

supports the development, composition of bots, management, and deploymentof bots, and the definition and management of governance policies for bots

stores bots and templates for building bots

Page 4: Governing Bot-as-a-Service in Sustainability Platforms - Issues and Approaches

4

OUR INTELLIGENT BOT EXECUTION MODEL

The code of a bot is generated on-demand when a possible problem is detected

Cloud service finds suitable rules and algorithms for the logic of the bot

Cloud service builds bots (using template) and rules/algorithms

Cloud service sends bots to the gateway which executes bots for fixing problems

Page 5: Governing Bot-as-a-Service in Sustainability Platforms - Issues and Approaches

5

THE LIFECYCLE OF A BOT

(i) Development bots are compiled from source code or

bots are composed from existing objects/bots

(ii) Deployment bots are transferred from clouds to

hosting environments for execution

(iii) Executionbots are running in hosting

environments

Page 6: Governing Bot-as-a-Service in Sustainability Platforms - Issues and Approaches

6

GOVERNANCE ISSUES

1. System/network security and access control

protect systems and networks in order to prevent unauthorized access that can compromise BoP.

2. Application integrity and service verification

ensure that the bot content is sent by the trusted party and is unchanged

3. Service contract management bot capabilities are depending on a service

contract (pay-per-use model)

Page 7: Governing Bot-as-a-Service in Sustainability Platforms - Issues and Approaches

7

GOVERNANCE ISSUES

4. System and application performance

ensure that the execution of bots will not prevent the correct operation and the availability of hosting environments.

5. Data acquisition and control Bots will access data from local hosting

environments and sensor integration gateways as well as data from the cloud platform.

Page 8: Governing Bot-as-a-Service in Sustainability Platforms - Issues and Approaches

8

MOTIVATION

Is the state of the art in policy enforcement can applied in the Bot-as-a-Service (BaaS) governance issues?

If not, What are the issues?How can we enforce governance

policies for the BaaS ?

Page 9: Governing Bot-as-a-Service in Sustainability Platforms - Issues and Approaches

9

STATE-OF-THE-ART & OPEN CHALLENGES Static analysis cannot check runtime

violations. Code signing can only certify the

integrity of the code Execution monitoring techniques are not

targeted to our BaaS modelservice contract for bot instances of a

consumerapplication-level data access monitoring for

data acquisition and control Policies for application performance can

be defined in the development or deployment phases

Page 10: Governing Bot-as-a-Service in Sustainability Platforms - Issues and Approaches

10

DISCUSSION ON THE STATE-OF-THE-ART

No existing techniques supportsmultiple types of governance and diverse types of hosting

environments (capabilities are limited)

No existing governance policy specifications Allows different types of governance

Page 11: Governing Bot-as-a-Service in Sustainability Platforms - Issues and Approaches

11

OUR APPROACHES

A policy enforcement framework specifically for the BaaSPolicy definition and management Different types of governance

Policy enforcement Multi-phase enforcement of different types of governance

Page 12: Governing Bot-as-a-Service in Sustainability Platforms - Issues and Approaches

12

POLICY DEFINITION AND MANAGEMENT

Bot-specific policiesE.g. the bot can only access a Samsung TV

Consumer’s business service contractE.g. 50 USD for 1 month use

Bot hosting context-specific policies

E.g. host platform, capabilities

Bot instances-with runtime context-specific policies

Policy templates for bot-specific and context-specific policies are based on API calls

Bot instances-with runtime context-specific policies

Bot instances-with runtime context-specific policies

Page 13: Governing Bot-as-a-Service in Sustainability Platforms - Issues and Approaches

13

POLICY ENFORCEMENT Static analysis and code rewriting for bot

context specific policies (Development phase)

Code signing for deployment Inlined execution monitoring (Runtime

phase) Policy-inlined bot instance

The framework should provide extensible

mechanisms to enable plug-ins of different techniques

Page 14: Governing Bot-as-a-Service in Sustainability Platforms - Issues and Approaches

14

OUR APPROACHES

Page 15: Governing Bot-as-a-Service in Sustainability Platforms - Issues and Approaches

15

CONCLUSIONS AND FUTURE WORKBot-as-a-Service architecture is

presented together with critical reviews of governance issues and existing techniques

New Approaches for governance and enforcement in sustainability platforms.

Future work focuses on the development ofpolicy definition, management and

enforcement frameworksupport cross governance issues for bots

Page 16: Governing Bot-as-a-Service in Sustainability Platforms - Issues and Approaches

16

Thank you!

Page 17: Governing Bot-as-a-Service in Sustainability Platforms - Issues and Approaches

18

POLICY DEFINITION AND MANAGEMENT Policy templates for bot-specific and context-

specific policies are based on API calls provided by the hosting environment and by cloud services

Page 18: Governing Bot-as-a-Service in Sustainability Platforms - Issues and Approaches

19

POLICY DEFINITION AND MANAGEMENT Bot-specific policies

E.g. the bot can only access a Samsung TV Consumer’s business service contract

E.g. 50 USD for 1 month use Bot hosting context-specific policies

E.g. host platform, capabilities Bot runtime context-specific policies

Policy templates for bot-specific and context-specific policies are based on API calls

bot context-specific policies

Page 19: Governing Bot-as-a-Service in Sustainability Platforms - Issues and Approaches

20

STATE-OF-THE-ART