UML diagrams for online video database management system like YouTube

YouTube is the best example for an online video database management system. These are the nine commonly used UML diagrams not for the YouTube but for an online video database management system I will create if I have to. This is the OOAD mini project I have done at the end of my third year of engineering.


Online Video Database Management System refers to management of an online video database. The best example is the YouTube. So, users can watch videos without possessing them, upload videos and earn money etc,. Administrator must manage the online video database by adding or deleting videos from it etc,. The online video database management system for which the UML diagrams are drawn here is pretty much different from YouTube. A major difference in this system is that, user can access the online video database only if he/she has an account and logs in to the system which is not needed in YouTube.

User Interface

1) Login Page : Users can enter User Id and Password to login or can create a new account.
2) Search Page : This page is opened after a successful login. Users can enter a search term to search any video. The search results are displayed in the non-header part of the page. Each search result shows name, thumbnail, download button (for free videos), like and dislike icons, number of views etc., corresponding to a video. Also, an upload button is located at the top right corner of the page.
3) Download Page : If on the search page, download button corresponding to a video is clicked, a dialog box is displayed asking to set resolution and format. After selection of required resolution and format, this page is opened showing the percentage of download completed etc,. User cannot do any work until the download is completed or cancelled. So, network connection must be good.
4) Watch Page : If on the search page, name corresponding to a video is clicked, this page is opened if the video is a free video else a dialog box requesting to rent/purchase video is opened. A Non Free video is displayed if and only if it is taken for rent or purchased by the user. Unlike YouTube, video is shown full screen only and only play/pause, replay, close etc,. buttons are present on this page.
5) Upload Page : If on the search page, upload button is clicked, this page is opened and asks to select a video and fill the details required. After selection of video and filling the details, the video is uploaded to the administrator database and gets ready for processing.
6) Process Page : After the upload of video into the administrator database from the upload page, this page opens automatically showing the details of processing.

After 'close button click' on Watch Page or 'completion or cancellation of download' in Download Page or 'completion of processing' in Process Page, Search Page is automatically displayed. Sign In Page, Edit Profile Page etc,. are similar to YouTube in this system.

UML Diagrams

The nine commonly used Unified Modeling Language Diagrams are as follows:

Use Case Diagram

It shows the Actors, Use Cases and their Relationships in a system. Only one Use Case Diagram exists for a system. In this online video database management system, actors and use cases are as follows.

User : Uses the online video database.
Administrator : Manages the online video database.

Use Cases
Sign Up : User creates a new account.
Sign In : User logs in to the system.
Search Video : User enters a search term.
Watch Video : User watches a video.
Download Video : User downloads a video.
Upload Video : User uploads a video.
Manage Account : User performs edit profile or delete account.
Sign Out : User logs out from the system.
Verify Login : Administrator verifies login details of users.
Manage Accounts : Administrator manages user accounts.
Search Video : Administrator searches for a video in the database.
Play Video : Administrator streams a video from the database.
Rent/Sell Video : Administrator manages money transactions.
Process Video : Administrator processes video uploaded by users.
Maintain Database : Administrator maintains video database.

All the Include and Extends relationships can be understood from the diagram. As the diagram is large, It is divided into two parts. Hence, the Use Case Diagram of Online Video Database Management System is :

Use Case Diagram 1.0 for OVDMS

Use Case Diagram 1.1 for OVDMS

Class Diagram

It shows the Classes, Interfaces and their Relationships in a system. Only one Class Diagram exists for a system. Classes playing a key role in this Online Video Database Management System are as follows.
1) User : Uses the online video database.
2) Administrator : Manages the online video database.
3) Database : Contains the Video Details, User Details etc,.

All the other classes like Account, Video, Viewer, Uploader, Downloader etc,. can be understood from their names. Hence, the Class Diagram of Online Video Database Management System is :

Class Diagram for OVDMS

Object Diagram

It shows the instance of the Class Diagram in the form of Objects and Links. There are infinite Object Diagrams for a system. An Object Diagram of this Online Video Database Management System is :

Object Diagram for OVDMS

Above Object Diagram represents the instance in which three users are using the system in which the first user is a viewer watching a non free video, the second a downloader and the third an uploader.

Sequence Diagram

It shows the messages passed between different objects in a system. Number of Sequence Diagrams for a system is equal to the number of Use Cases in the system (one sequence diagram for one use case). Use Cases playing a key role in this Online Video Database Management System are Download Video, Watch Video and Upload Video. Hence, the Sequence Diagrams for these Use Cases respectively are :

Sequence Diagram - Download Video
Sequence Diagram 1 for OVDMS

Sequence Diagram - Watch Video
Sequence Diagram 2 for OVDMS

Sequence Diagram - Upload Video
Sequence Diagram 3 for OVDMS

Collaboration Diagram

It is another representation of a Sequence Diagram. Hence, the Collaboration Diagrams corresponding to the above Sequence Diagrams respectively are :

Collaboration Diagram - Download Video
Collaboration Diagram 1 for OVDMS

Collaboration Diagram - Watch Video
Collaboration Diagram 2 for OVDMS

Collaboration Diagram - Upload Video
Collaboration Diagram 3 for OVDMS

Activity Diagram

It represents the system as a flow of activities i.e. similar to a flow chart. Only one Activity Diagram exists for a system. Hence, the Activity Diagram for this Online Video Database Management System is :

Activity Diagram for OVDMS

State Chart Diagram

It represents the sequence of states an object goes through in working of a system. Therefore, number of state chart diagrams is equal to the number of classes in the system. The object which plays a key role in Online Video Database Management System is User. Hence, the State Chart Diagram for User is :

State Chart Diagram for OVDMS

Component Diagram

It shows the components which form the executable part of a system, interfaces and their relationships. Only one Component Diagram exists for a system. Here, Components are JSPs i.e. Java Server Pages and they are explained above in the User Interface category clearly. Hence, the Component Diagram for this Online Video Database Management System is :

Component Diagram for OVDMS

Deployment Diagram

It shows the nodes on which the components of a system execute. It represents the hardware topology of a system. Only one Deployment Diagram exists for a system. Hence, the Deployment Diagram for this Online Video Database Management System is :

Deployment Diagram for OVDMS

Database Server and Application Server respectively correspond to the Online Video Database and the Administrator. Clients are users and Web Server is their corresponding LAN Server. Hence, the UML diagrams of this Online Video Database Management System.

Related Articles

Durgadevi Saraf Institute Management Programs Admissions For Working Executives

This article gives information on the Master's management degree courses for working executives offered by the Durgadevi Saraf Institute of Management Studies (DSIMS), Mumbai for the 2012-2015 session. You will get details about the course structure, , eligibility criteria, fees and apply for admissions to these programs.

Career Option In Event Management

In this article on career guidance to aspirants candidates I have discussed briefly about the most glamorous and hot job opportunities in Event Management Company. This new type of job will not only give satisfaction but also have career prospect and lucrative pay package.

How To Apply For YouTube Partnership Program?

This piece of item has the full details of what YouTube expects to know about you when you apply for the YouTube programme. This also enlightens you with the advantages and disadvantages of being a YouTube partner as well as how much worth it is to be a partner. This will prove to be useful before putting in the application for becoming a YouTube partner.

IIM Indore Fellowship Programme in Management 2021 online applications

The Indian Institute of Management, Indore has released the notification for the Fellowship Programme in Management (FPM) for the year 2021 for which there are 30 seats. This article gives all the necessary information about the program, including the eligibility, application procedure, and the financial support available for students. Read on for more on this topic.

More articles: Management Video YouTube


Guest Author: Phani Jaya Vardhan18 Jan 2019

Thanks for providing valuable information about UML diagrams for video online database.

  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name: