Mining Minds Platform Open Source Presentation Service Orchestrator - - PowerPoint PPT Presentation

mining minds platform
SMART_READER_LITE
LIVE PREVIEW

Mining Minds Platform Open Source Presentation Service Orchestrator - - PowerPoint PPT Presentation

SCL Service Orchestrator Mining Minds Platform Open Source Presentation Service Orchestrator is released as a part of Recommendation Builder ( RB ) and Recommendation Interpreter ( RI ). The open source 10 step process can be observed in the RB


slide-1
SLIDE 1

Mining Minds Platform

SCL Service Orchestrator Open Source Presentation

Service Orchestrator is released as a part of Recommendation Builder (RB) and Recommendation Interpreter (RI). The open source 10 step process can be observed in the RB and RI open source presentations.

slide-2
SLIDE 2

/

2

Open Source Release Process - Roadmap

Library Functions Code Review Code Refactoring Unit Testing

S

API Design Build Creation API Documentation Demo Harness Open Source Release

E

1 2 3 4 5 7 8 9

10 Integration Testing

6

slide-3
SLIDE 3

/

3

Open Source Release Process - Roadmap

  • Service Orchestrator is released as a part of Recommendation

Builder (RB) and Recommendation Interpreter (RI).

  • The open source 10 step process can be observed in the RB and RI
  • pen source presentations.
  • In following slides, an overview of the packages, classes, and code
  • f overall SCL particularly the service orchestrator is provided.
slide-4
SLIDE 4

/

User App

SCL Communication- Service Orchestrator

4

KCL

Rule Index base Rule-base

Recommendation Builder Rule-based Reasoner

Uid, Data Request Index- based Reasoning Situation Event Set of Rules Uid, Situation Event Uid, Recommendations Uid, Data Pattern Matcher Conflict Resolver Result Generator

DCL

1 2 3 5 8 7 6 Uid, Data Request Uid, Data RESTful Web Services RESTful Web Services 9 Uid, Context, preferences 10 Uid, Context 11 Uid, Context Uid 13 Uid, Situation Event 5

SL (UI/UX)

14 RESTful Web Services

Recommendation Interpreter Interpretation

Context Interpreter Content Interpreter Explanation Generator

Service Orchestrator

Input/output Adapter Event Handler RESTful Web Services 12 Uid, Personalized Recommendation Uid, Request 1
slide-5
SLIDE 5

/

SCL Package Distribution

5

Service Orchestrator Recommendation Builder Recommendation Interpreter

16 Packages

17 22 7 12 2 9 7 10 6 4 2 1 3 2 2 6

112 Classes

3 8 10
slide-6
SLIDE 6

/

SCL Logical Structure

6

SCL Service Communication Logic Modules Recommendation Builder Recommendation Interpreter Service Orchestrator Utilities

slide-7
SLIDE 7

/

SCL Logic Module Design

class kr.ac.khu.uclab.mm.scl.logicmodules «abstract» T : Class U : Class V : Class RecommendationFactsPacket # factsOutput :V # recommendationInput :T # recommendationOutput :U + getFactsOutput() :V + getRecommendationInput() :T + getRecommendationOuput() :U + setFactsOutput(V) :void + setRecommendationInput(T) :void + setRecommendationOutput(U) :void PhysicalActivityRMLRecommendationFactsPacket + getFactsOutput() :V + getRecommendationInput() :T + getRecommendationOuput() :U + setFactsOutput(V) :void + setRecommendationInput(T) :void + setRecommendationOutput(U) :void «abstract» T : Class V : Class ExceptionPacket # exceptionOutPut :V # interpretationIngredients :T + getExceptionOutPut() :V + getInterpretationIngredients() :T + setExceptionOutPut(V) :void + setInterpretationIngredients(T) :void PhysicalActivityIMLExceptionPacket + getExceptionOutPut() :V + getInterpretationIngredients() :T + setExceptionOutPut(V) :void + setInterpretationIngredients(T) :void «interface» T : Class RecommendationLogicModuleInterface + execute(T) :T + interprateRecommendation(T) :T «abstract» T : Class > «abstract»RecommendationFactsPacket AbstractRecommendationBuilder + execute(T) :T + interprateRecommendation(T) :T PhysicalActivityRML + execute(T) :T T : Class > «abstract»ExceptionPacket AbstractRecommendationInterprater + execute(T) :T + interprateRecommendation(T) :T PhysicalActivityInterpretationManager + interprateRecommendation(T) :T «singleton» RuleBaseReasoner + getPhysicalActivityReasoner(LogicModuleReasonerEnum) :void + getRuleBaseReasoner() :RuleBaseReasoner < T->InterpretationIngredients, V->PhyActivityException > < T->RecommendationFactsPacket > < T->RecommendationIngredients, U->PhyActivityRecommendations, V->PhyActivityFacts > < T->PhysicalActivityRMLRecommendationFactsPacket > < T->ExceptionPacket > < T->PhysicalActivityIMLExceptionPacket >

SCL logic modules implements two-level bridging

Recommendation Interface Abstract RB Abstract RI Implementation RB Implementation RI

Level 1 bridging Level 2 bridging

Abstract Packet Implementation Packet

Packet Design Pattern

  • An example of Observer

design pattern

  • It separate the logical module

to know the semantics of the data

slide-8
SLIDE 8

/

Service Orchestrator: Communication Design

Communication structure is based on three design patterns Bridge Pattern

  • For flexibility of adding new

clients

Factory pattern

  • For object instantiation control

Facade pattern

  • For outer world

communication

Singleton pattern

  • For ensuring single

instantiation of an object

slide-9
SLIDE 9

/

Service Orchestrator: Sample Package/Classes

9

Package org.uclab.scl.communication.dcl This class provides the abstraction to communication of SCL with DCL This is an implementation class of abstract DCL client that implements current context client

slide-10
SLIDE 10

/

Service Orchestrator: Sample Package/Classes

10

Package org.uclab.scl.communication.dcl Code Excerpt

slide-11
SLIDE 11

/

11

Service Orchestrator: Sample Package/Classes

Two way communication through restful service/ clients. GetData PostData

slide-12
SLIDE 12

/

Thanks

12