Title: OPERA Technical Workshop 07 July 2000
1OPERA Technical Workshop 07 July 2000
- Case Study Applying OPERA
- Seven Steps to OPERA
2Case Study Applying OPERA
External Player Mode
Embedded Player Mode
3Seven Steps to OPERA
- System Requirements
- Basic MNS Configuration
- Determine the Video Server Policy
- Building Redirection Criteria
- Setting Up CMS to Control Content Replication
- Using the OPERA Module to Customize the Web
Output - Managing Multimedia Content by CMA
MNS
CMS
CMA
OPERAscript
4System Requirements
WWW
Video
MNS
CMA
CMS
Internet Service Provider
Internet Content Provider
5System Requirements
- Multimedia Name Server (MNS)
- Developed in C
- SUN SPARC Solaris 2.6 later
- Basic Memory 64MB
- UMRL 5KB
- Virtual Host 20KB
- Disk Storage 5MB
6System Requirements
- Content Management System (CMS)
- Developed in Java
- SUN SPARC Solaris 2.6 or later
- Basic Memory 64MB
- Disk Storage
- System 5MB
- Temporary Storage Depends on Content Size
7System Requirements
- Content Management Agent (CMA)
- Developed in C
- MS Windows 98 2000 / C
- Basic Memory 32MB
- Disk Storage 5MB
8CUHK Demo Site
- Video Server Information
- Server Type and Host Name
- operareal.hkcl.org Real Server
- operamedia.hkcl.org MediaService Server
- qtss.hkcl.org QuickTime Server
- Redirection Criteria
- Client Network Location,
- Player, Language and Bit-rate
- Multimedia Name Server
- Domain and Host Name
- hkcl.org / beta2.hkcl.org
9Basic MNS Configuration
- UMRL Format
- http//beta2.hkcl.org8008/understanding_cuhk.umrl
- Virtual Host
- One MNS can serves multiple domains using virtual
hosting - /conf/mns_config_file
MNS Host Name
Port
UMRL Path
10Determine the Video Server Policy
- Specify which server to serve client requests
from a particular network - Configure the network mapping group
- Form server groups to increase the throughput
- Configure the server group
11Network Mapping Group
Hong Kong group 1 ip 202.0.77.0/24 ip
202.0.78.0/24
Taiwan group 2 ip 202.2.52.0/22 ip
202.5.224.0/19
Route IP Address/Bitmask Client IP
Address Server Group Number
Singapore group 3 ip 202.0.71.0/24 ip
202.0.88.0/23
group 0 is special If no match for IP The default
group number is 0
12Server Group
server_name operareal.hkcl.org server_group
0 server_group 1 server_group 2
Hong Kong Group 1
server_name operamedia.hkcl.org server_group
0 server_group 2 server_group 3
operareal.hkcl.org
qtss.hkcl.org
Taiwan Group 2
Singapore Group 3
server_name qtss.hkcl.org server_group
0 server_group 1 server_group 3
operamedia.hkcl.org
13Load Balancing
- Round Robin Load Balancing is the default which
applies on the servers within the same group and
having the required content - Other Load Balancing Algorithm is coming.
14Building Redirection Criteria
- Two Types of Criteria
- System Criteria
- Determined by System
- Clients cannot specify their preferences directly
- e.g. Network and Server Group
- Personal Criteria
- Clients can choose their personal choices
15Building Redirection Criteria
- Two Types of Personal Criteria
- Pre-defined Criteria
- Player Real, WindowsMedia and QuickTime
- Multiple Selections with order
- Custom Criteria
- Single Selection
- e.g. Language and Bandwidth
16Building Redirection Criteria
- Criteria Matching Order
- For the Personal Criteria, the order of criteria
defined is used - For the Custom Criteria, the order of criteria
value defined is used - For the Pre-define Criteria, the client
preference order is used
17Criteria Matching Tree
criteria Player 0 Real 1 MediaService 2
QuickTime
criteria Language 0 Cantonese 1 Putonghua 2
English
Network
Real
MS
criteria Bandwidth 0 45Mbps 1 1.5Mbps 2
512Kbps 3 256Kbps 4 128Kbps 5 56Kbps 6
28.8Kbps
English
English
Cantonese
1.5Mbps
512Kbps
256Kbps
18Setting Up CMS to Control Content Replication
- Acting as a staging server to receive physical
files from CMA with user authentication - Replicating the physical files to video servers
with bit-rate control to avoid overfeeding - Replication according to media type
- Scheduled file upload available soon
- Updating MNS for latest changes
19Setting Up CMS to Control Content Replication
- CMA User
- username, password, virtual host, list of video
servers - Video Server
- Hostname, directory path, mediatype, video
format, file upload maximum bit-rate - MNS
- Virtual host, username, password, CMS port number
20Using the OPERAscript to Customize the Web Output
- OPERAscript consists of two HTML script libraries
- Javascript opera.js, VBscript opera.vbs
- HTML formatting and Automatic Player Detection
- Web output
- A set of web pages called CGI Group can be
specified per UMRL via CMA
21Web Output Types and Attributes
- 4 Kinds of Web Output Types
- Setup Page
- External Player Page
- Embedded Player Page
- Not Found Page
- 2 Types of Web Output Attributes
- Popup New window
- Window Width and Height
22Setup Page
- Client can select their personal choices
- Automatic Player Detection
OPERA_Pref()
23External Player Page
OPERA_PrintCriteriaValue("Player")
24Embedded Player Page
OPERA_EmbedPlayer()
25Not Found Page
OPERA_PrintCriteriaValue("umrl")