Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 The Construction QoS Management Model for Distributed Stream Services Based on CORBA Chang-won Jeong*, Su-Chong Joo*, and Jae-Wan Lee** *Dept. of Computer.

Similar presentations


Presentation on theme: "1 The Construction QoS Management Model for Distributed Stream Services Based on CORBA Chang-won Jeong*, Su-Chong Joo*, and Jae-Wan Lee** *Dept. of Computer."— Presentation transcript:

1 1 The Construction QoS Management Model for Distributed Stream Services Based on CORBA Chang-won Jeong*, Su-Chong Joo*, and Jae-Wan Lee** *Dept. of Computer Engineering Won-Kwang University **Dept. of Information Communication Engineering, Kun-San National University, Korea scjoo@wonkwang.ac.kr

2 2 Contents  Introduction  Research Backgrounds and Our Goals Stream Services and Quality of Service(QoS)  Stream Services and Quality of Service(QoS)  Definitions and Needs  Stream Control Mechanisms  Related Works Design : QoS Management Model  Design : QoS Management Model  Object Module  User Control Model, QoS Management Module  Resources Negotiation, Adaptation, Monitoring Procedures  Implementation : QoS Management Model  IDL Definition  DB Scheme Design  QoS MIB  Stream Objects for QoS  Results of Our Models  Conclusions : Summary and Future Works

3 3 Introduction  Research Background  Trends Text- Based Services toward Multimedia-Based Services  With An Advent of Distributed Object Computing Technology, Possible to develop Large Scaled Multimedia Applications  Requires Integrated Managements Model for Supporting Various Multimedia Services  Our Research Goal  Studies Integrated Management of Multimedia Stream Services in Distributed Object Computing Environment Based on CORBA  Suggests QoS Management Model Considering Resource Reservation, Negotiation, Adaptation Mechanisms  Ensuring Independent Distributed Platform  Easy to Implement User Distributed Applications  Reusable QoS Management Model

4 4 Stream Services  Definition  Behaviors of Real-Time Services sending and receiving multimedia stream data such as Audio/Video on Peer-to-Peer, or Client/Server Environment Based on Internet or Intranet  Properties  Continuous Traffics  Real-Time Services  Sensitive Transfer Delay and Propagation  Interactions Between End-Systems  Requirements for Considering Stream Service  Supporting Control Mechanism for QoS  Supporting Synchronization Mechanism for Sending and Receiving Stream Data  Requiring Replay And Reproduction Methods  Providing Distributed Services among Heterogeneous Systems over Networks  Providing Data Compression Method for Saving Network Bandwidth

5 5 QoS : Quality of Service  Definition  Says All Jobs Controlling for Maintaining Previous Promised Service of Quality in Accordance with SLA(Service Level Agreement) Between Requester And Provider, While Servicing Procedures are Executing.  Network Service  End-to-End System  Needs  Multimedia And Level Services  Using Limited Resources  Services Among Multi-Users  Appropriate Control Mechanisms  Classification  User-Level QoS  Application-Level QoS  System and Network –Level QoS

6 6 QoS Control Mechanism  Specification and Mapping  User-Centralized QoS Presentation, Supporting QoS Parameter Conversion Method Among Users, Applications, and End Systems  Resource Monitoring  Monitoring and Registering The QoS Parameters about Resources Use  Negotiation  Providing Negotiation Methodology Between End-to-End Systems  Resource Adaptation  Without Stopping Services, Maintaining A Sequences of Services through Readjust of QoS Parameters about Each Resources  Notification  Decides whether The Negotiated Service Can be Maintained or Not, If Not, It is necessary to Readjust of QoS Parameters about The Underlying Resources  Admission Control  Decides whether The Service Provides or Not  Resource reservation  Provides Network Resource Reservation functionality for maintaining Safe Services  Scheduling, Policing  Provide An Appropriate Scheduling Algorithm According to Negotiated Service Level Given Between Service Requester and Provider (Class of Service)  Traffic Control Via Dropping or Marking of Unnecessary Packets

7 7 ICSI’s CME BBN’s QuO Project OMG A/V Streaming Std. Microsoft & Sun Co. Co-working over Mbone, Supporting User-Controlled QoS Distributed Application Development for Supporting QoS Using QuOs Extending the Stream Technology of CORBA Spec. Development of Framework and API for Stream Services Research Institutes Contents Related Works  Domestic Researches  Outside Country’s Researches KAIST, KTA InHa University LG Institute BuSan University Implementation of Object-Oriented Distributed Multimedia Application Systems Using CORBA Design of Stream Communication Service Based on CORBA Environments Design And Implementation of Distributed Object Frameworks For Supporting Audio/Video Streaming Services A Study of Distributed Framework for Development of Multimedia Programs on CORBA Research Institutes Contents

8 8 Related Works’ Case 1: CME  Design Goals  Supporting Cooperation Environment for Co-work Project  QoS Control by User-Controlled Method Network COMMA Host User Media Service 1 Media Service 2 Media Service n User Interface QoS Mapper/Controller Resource Monitor/Controller Connection Manager Service Manager Session Manager COMMA = Cooperative Multimedia Application COMMA Host User COMMA Host User COMMA Host User

9 9 Related Works’ Case 2: QuO(Quality Object)  Design Goals  Distributed Application Development for Supporting QoS Using QuOs Client Delegate ORB Proxy Specialized ORB Object Specialized ORB Delegate ORB Proxy Mechanism/Property Manager SysCond Contract SysCond Contract SysCond ApplicationDeveloper QoSDesigner MechanismDeveloper Logical Method Call Server Client Network

10 10 Related Works’ Case 3 : OMG A/V Streaming Spec.  Design Goals  Supporting Stream Services Without Modifying CORBA Spec. Flow data End-point (Source) Stream Interface Control Object Stream Adaptor Basic Object Adaptor Control and ManagementObjects Stream Interface Control Object Flow data End-point (Sink) Basic Object Adaptor Stream Adaptor ORB Core Stream Flow stream control operation stream control operation data flow data flow Stream Endpoint client server

11 11 Related Works : Summary  Domestic Related Works  Work Trends  Developing Various Multimedia Control Algorithm for Saving Network Bandwidth  Focusing on Stream Services on CORBA Environments  Problems  Not Enough Works for Management of Multimedia Stream Services  Also, Not Enough Works of QoS Management Model  Being Suggested to Only Management Structures depended of Particular Applications  Foreign Related Works  Problems Focused of QoS  Suggesting Abstract Models  QoS Management Model with insufficient interoperability  QoS Management Model Depended on Distributed Platform  QoS Management Model Is difficult to extend or reuse

12 12 Design : Our QoS Management Environment UCM CORBA-Based Environments CO SO MO NO UIO CnO MpO MIO UIO MO CO NO SO Stream Object Stream Object Application Interface Various Applications VOD, Video Conferencing, Multicast Service, Remote Education Service Various Applications VOD, Video Conferencing, Multicast Service, Remote Education Service QoSM Stream Flow

13 13 Design : QoS Management Model  Design Goals  Independent Distributed Platform, And QoS Management Structure  Providing User-Based QoS Control mechanism  Easy to Implementation of Various Stream Services  Supporting Conveniences to extend and reuse Based on OO technology CORBA control flow DBLogic Monitor Notify connect Service User Interface UCM 1 DBLogic Monitor Notify connect Service User Interface UCM 2 Mapper Manager Interface Control QoSM Stream Receive Object Stream Send Object Stream flow adaptation negotiation connection Client SystemServer System control Network control flowstream flowUCM : User Control Module QoSM : QoS Management Module sampling control Control System

14 14 Design : Components in Our Model  Definition of Object Module  Unit, As A Package Grouped by Related Objects  Consisting of One or More Objects And Interface Objects Managing Them  In Details, Divide functionally to Two User Control Modules(UCM) and A QoS Management Module(QoSM). They Interoperates One Another So That Given Conditions of QoS Are Met  Functionality  Supporting Simplicity of Message Flows among Objects  Providing A Single Interface  UCM, QoSM  User Control Module(UCM)  User Interface Object(UIO)  Manages Connect, Service, Monitor, Notify Objects in UCM,  How to Distribute messages among Them  QoS Management Module(QoSM)  Manager Interface Object(MIO)  Manages references of Control and Mapper Objects in QoSM  How to Distribute messages

15 15  UCM: User Control Module  Provides Start, Stop And Reconfigure Functions for Stream Service Via Interactions  User Interface Object(UIO)  Provides Interfaces for Developing Distributed Applications, Manages Objects in UCM  Connect Object(CO)  Establishes and Releases with UCM in Side of Server(Provider)  Service Object(SO)  Controls Stream Services Between Stream Sending/Receiving Objects  Monitor Object(MO)  Registers Network Workload(bandwidth, packet delay time, transfer rate, delay rate) and System Workload(CPU, MM) to DB, For Doing This, Must Connect with DBS.  Notify Object(NO)  Analyzes The Registered Information above, Extracts Violated Situation of QoS, And Then Requests Resource Adaptation for Considering Violated Situation  DB Logic  Used by MO and BO. Design : Objects in UCM DBLogic Monitor Notify connect Service User Interface UCM CORBA

16 16 Design : Class Diagram of UCM

17 17  QoS Management Module(QoSM)  Executes QoS Maintenance and Control Functions for Stream Services  Manager Interface Object(MIO)  Requests ICM to QoS Control, Manages Object in QoSM  Mapper Object(MO)  Provides Register, Update and Delete Functions of QoS MIB in Accordance with Stream Service Situation  Maintains and Manages System Catalog  Control Object(CoO)  Supports Negotiation and Adaptation by Request of UCM  Stream Send/Receive Objects  Objects or Application Programs Executing for Sending/Receiving Stream Packets Design : Objects in QoSM Mapper Manager Interface Control QoSM CORBA

18 18 Design : Class Diagram of QoSM

19 19 Design : QoS Control Mechanism(Negotiation)  Negotiation Methodology  UCM Receiving Stream Data Requests QoS Reconfigure Via User Interface Object  UIO Requests CoO(Control Object) to Negotiate QoS Level for Appropriate Stream Service Between End-to-End Systems  In This Time, CoO Checks Whether It May Provide Desiring QoS Level or Not by Applying Given QoS Levels of Network Resources and The Receiving System Resource  Finishing Negotiation, The Stream Sending Object Resets Negotiated QoS Level MIB List : negotiation rule Control Object Mapper Object Stream Object reconfigure setup read status QoSMUCM(send)UCM(receive) User Interface Object

20 20 Design : Sequence Diagram of Negotiation UCM (receive) UCM (send) QoSM

21 21 Design : QoS Control mechanism(Monitoring)  Monitoring Methodology  Monitoring Object Writes Monitoring Data Acquired by Stream Object to DB Monitor Object write DB : JDBC & API Stream Object read status : DB UCM(receive)

22 22 Design : Sequence Diagram of Monitoring UCM (receive)

23 23 Design : QoS Control mechanism(Adaptation)  Adaptation Methodology  Reads Service Status Written by Monitoring Object From DB  After Analyzing Above Information, Checks Whether Negotiated QoS Is Violated or Not  If Violated, Notify Object Requests Resource Adaptation Methodology to Control Object Using Adaptation Message  Control Object Selects Appropriate QoS Level From QoS MIB, And Setup It to Stream Object violation detect DB Notify Object JDBC & API read DB Control Object adaptation Stream Object setup adaptation rule UCM(receive)QoSM UCM(send) read MIB List : Mapper Object

24 24 Design : Sequence Diagram of Adaptation UCM (receive) UCM (send) QoSM

25 25 Implementation : Developing Environment  Developing Environment QoSM UCM Client(Receiving Stream Data) Server(Sending Stream Data)  Systems : Sun UltraSparc 1s, UltraSparc 2i  OS : Solaris 2.5(client), Solaris 2.7(server)  Middleware : OrbixWeb3.1c  Developing Tool: Java,JDK1.2.x, JMF API 2.0  DB Engine : Mini SQL 1.0.16  Additional Devices: Sun Camera, SunVideo/SunVideoPlus Capture Board UltraSparc 1s Solaris 2.5 SunVideo UltraSparc 2i Solaris 2.7 SunVideoPlus + Sun Camera Control flow Stream flow

26 26 Implementation : Data Structure of IDL // User Information Structure struct member { string name; string ip; string hostname; }; // Video QoS MIB Structure struct videoMIB { long level; float framerate; stringencode; stringresolution; floatcpu; longbuffersize; longpacketsize; }; // Service Staus Factor struct qosparam { floatframerate; longresolution; floatcpu; }; // catalog, QoS MIB Index typedef sequence catalogList; typedef sequence mibList; // forwarding declaration interface ManagerInterface; interface UserInterface;

27 27 Implementation : IDL of User Control Model // IDL Definition of UCM interface UserInterface { // Attributes attribute Connect conManager; attribute Service servManager; attribute ManagerInterface miManager; // Operations boolean start(in string local, in string remote, in string manager, in string dbport); boolean stop(); boolean reconfigure(in long qoslevel); boolean refresh(); boolean start_media(in qosparam param); boolean setup_media(in qosparam param); boolean stop_media(); boolean rcall(in string local, in string remote, in string manager); }; // IDL Definition of Connect Object interface Connect { // Operations boolean start(in member receive, in member send); boolean stop(); boolean join(); boolean disjoin(); boolean initial(in UserInterface ui, in string manager); }; // IDL Definition of Service Object interface Service { // Operations void start(in boolean isSend, in long srate, in long drate, in qosparam param); boolean stop(); boolean setup(in qosparam param); boolean setup_notify(in long rate, in qosparam param); boolean setup_monitor(in long rate); qosparam getstatus(); boolean initial(in UserInterface ui, in string manager); };

28 28 Implementation : IDL of QoSM // IDL Definition of QoSM interface ManagerInterface { // Attributes attribute Mapper mapManager; attribute Control ctlManager; attribute UserInterface uiManager; // Operations boolean start(in string local, in string remote, in string manager); boolean stop(); boolean connect(in member receive, in member send); boolean disconnect(); boolean negotiation(in long qoslevel); boolean adaptation(in long qoslevel, in qosparam param); catalogList getServerTbl(); }; // IDL Definition of Control Object interface Control { // Operations boolean start(); boolean stop(); boolean negotiation(in long qoslevel); boolean adaptation(in long qoslevel, in qosparam param); boolean initial(in ManagerInterface mi, in string remote); }; // IDL Definition of Mapper Object interface Mapper { // Attributes attribute catalogList serverTbl; attribute mibList videoTbl; // Operations boolean start(); boolean stop(); boolean connect(in member receive, in member send); boolean disconnect(); boolean register(in member mem); boolean unregister(in member mem); catalogList getServerTbl(); mibList getVideoTbl(); boolean initial(in ManagerInterface mi, in string remote); };

29 29 Implementation : DB Scheme for Monitoring Implementation : DB Scheme for Monitoring  DB Engine  Use Mini SQL 1.0.16 (RDBMS)  Designs Control Routines Using imaginary JDBC 2.0 for Interconnecting with DBS  Schema Design Attribute NameAttribute TypeSampleTable Name A_CounterInteger251 A_MemberChar(25)root@210.112.129.32 A_CompressChar10)Jpeg/rtp A_FramerateReal15.0 A_ResolutionChar(10)160 x 120 A_BitrateInteger700,000 A_BufferSizeInteger270 A_PacketSizeInteger1024 A_QualityReal1.0 T_Monitor

30 30 Implementation : Definition of QoS MIB  At Point of View of User Level QoS  Matching Between User-Level QoS And Application-Level QoS  Matching Between Application-Level QoS And System & Network-Level QoS class Service Quality 5Excellent 4Good 3Fair 2Poor 1Bad classFrame Rate 525 ~ 30 415 ~ 24 36 ~ 14 23 ~ 5 11 ~ 2 Resolution 160 x 120 classFrame Rate 525 ~ 30 415 ~ 24 36 ~ 14 23 ~ 5 11 ~ 2 Resolution 160 x 120 525 ~ 30160 x 120 525 ~ 30160 x 120 415 ~ 24160 x 120 415 ~ 24160 x 120 36 ~ 14160 x 120 36 ~ 14160 x 120 23 ~ 5160 x 120 23 ~ 5160 x 120 Bit RateCPU 700,0001.0 650,0001.0 600,0001.0 550,0000.8 500,0000.8 450,0000.8 400,0000.6 350,0000.6 300,0000.6 250,0000.4 200,0000.4 150,0000.4 100,0000.2 Frame Rate, Resolution Frame Rate, Resolution Bit Rate, CPU Bit Rate, CPU

31 31 Implementation : Stream Object  Interfaces of Stream Object  Interfaces : start, stop, setup, getStatus  Implemented Detailed Contents  Using JMF 2.0 API  JPEG : Stream Send/Receive Functions of Encoding Formats  H261, H263 : Receive Function of Encoding Formats  Supporting Resolutions of 160 X 120, 320 X 240  Re-producing Stream Data And Capturing f 30 frames/Second  Sending/Receiving Stream Data Using RTP Protocol

32 32 Executing Result : The Side of Client(1)  Users Can Adjust Service of Quality on Window of Client’s Side via Interfaces with QoSM suggested Register IP addresses of Client’s UCM, Server’s and QoSM on below Panel Register Users’ Individual Information, DB Connection Port and Stream Sending/Receiving Ports to above Panel

33 33 Executing Result : The Side of Client(2) Left ProgressBar -> The QoS Level Receiving Current Service Right SliderBar -> Select The Desiring QoS Level The Parameters of Stream Receiving Status Shown on Right Screen; BitRate, FrameRate, Encoding, CPU capacity, Buffer Size

34 34 Executing Result : The Side of Server(1)  Selecting Capture Board  If Service Connection is Success, Set Stream Object into The Sending Mode  In This Procedure, Selecting The Appropriate Service Device Out of Menu Shown on Capture Device Box The Panel is showing Capture Device Index Registered on Server In Panel, Select The parameters of Encoding Format, Size, maximum And Frame Rate Supporting by Capture Device

35 35 Executing Result : The Side of Server(2) Encode Image Captured to JPEG(or H261, H263) File, And Then, Send RTP Packets Via Stream Object to Stream Object of Side of Client In This Window, Show Parameters of Receiving Status of Stream Data as follows; BitRate, FrameRate, Encoding, Resolution CPU Capacity, Buffer Size And etc.

36 36 Executing Result : Monitoring DB Monitored Data Obtained by Monitor Object

37 37 Executing Result : Negotiation Procedure Client Side Users Can Reset QoS Level Using Vertical Slide Bar Client Side Users Can Reset QoS Level Using Vertical Slide Bar Server Side Show A Procedure That Is Reset Appropriate QoS Level to Meet User Requirements Via Stream Object Server Side Show A Procedure That Is Reset Appropriate QoS Level to Meet User Requirements Via Stream Object

38 38 Executing Result : Adaptation Procedure Client Side Show A Status That Service is Not Met to QoS 4-Level Promised. That is, Appropriate Service is Not Supported. Client Side Show A Status That Service is Not Met to QoS 4-Level Promised. That is, Appropriate Service is Not Supported. Server Side Adapt The existing QoS Level To Appropriate Low- Level Considering Current Network Situation Server Side Adapt The existing QoS Level To Appropriate Low- Level Considering Current Network Situation

39 39 Executing Client And Server Screens  Executing Screens Executing Screen of Server Side Executing Screen of Client Side

40 40 Conclusions : Summaries  Trends Text- Based Services toward Multimedia-Based Services  Needs User-Centralized QoS  Specification of Analyzing QoS And Requirements  Supporting Independently Stream Services on Distributed  Suggested And Implemented QoS Management Model for Integrating Multimedia Service And QoS management  User Control Module(UCM)  QoS Management Module(QoSM)  Stream Object  Integration of Stream Technology And CORBA Technology

41 41 Future Works  Future Works  Extending the Management Structure Possible to Service for Multicasting  Supporting Multi-Stream Services  Adding Session Management to Our Model  Studying Interconnections Among Distributed Stream Objects Using Trading Service Object & ObjectGroup Application Stream Object Application StreamService Stream Object Application OperationService Distributed Computing MiddlewareMonitor Object & ObjectGroup QoS Network Trader TraderTrader Trader Federation


Download ppt "1 The Construction QoS Management Model for Distributed Stream Services Based on CORBA Chang-won Jeong*, Su-Chong Joo*, and Jae-Wan Lee** *Dept. of Computer."

Similar presentations


Ads by Google