You are on page 1of 9

1.

Function requirements
 System Administrator
o Login to the system through username and password
(through google or facebook)
o Register an account
o Add new songs to the database
o Edit song
o Delete song
o Log out
 Customers do not have an account
o Search songs
o Listen to sample music
o Register an account
 Customers already have an account
o Login
o Choose music download packages by month or year
o Search songs
o Listen to sample music
o Add song to cart
o Download music
o Pay through momo wallet, bank card or scratch card,…
o Remove song from album
o Log out
2. Non-functional requirements
 Performance requirements
o Loading time no more than 10s
o 1 million people can access at the same time
o Website access time is about 2-3s
  Security requirements
o Everyone who has an account can access it
o To download music, you must login
o 3-layer security system (phone number, email, ask 3
questions)
 Operational requirements
o The system can be run on all browsers 

3. Use case
 

Actor  Use case 


Admin  Register, Login, Logout, adding new product,
editing product, Adding new customer, Editing
customer, Searching product, searching user,. 
Customer Register, Login, Logout, Editing               account,
having an searching product,paying for product, evaluating
account product, download product.
Customer not Listen to music samples, searching for music.
having an
account

4. Use case description.


number  Code  Name  Brief description 

1   UC01  Login  Allow actors who have an account to access


the system. 
2  UC02  Register  Actor provides information to create an
account to access the system 
3  UC03  Logout   Actor stops accessing the system. 
4   UC04  Add new user  Add new user with their personal information
provided 
5  UC05  Add new product  Add new product with their information  

6  UC06  Search product  Search product by their name 


7   UC07  Edit product  Edit the product’s information 

8  UC08  Evaluate product  Give personal comment for the product 

9  UC09  Paying for product  Customers pay for the product they chose.

10 Edit account Actor changes information about their


UC10 account.
11 Listen to music Allow customers to listen to the music
UC11 sample sample they chose
12 Downloadproduct Download the product they bought
UC12
       

5. Use case description operations

Name Add new Code UC04


user
Description Enable actor add new user

Actor Admin Trigger Actor click button [Add] in User management


page
Pre-condition Actor logged in successfully!
Post Add new user successfully!
condition

System
Main Flow: Add new user successfully
1 From any screen, the
actor
selects the menu item
Manage
Users -> Add New

2 Load page Add new user information


(SC03)

3 Enter the required


information.
4 Validation input information.
5 Edit (if wrong password or
username).
6 Save user information in database, notify
successfully and redirect to … (SC02)

Name Login Code UC01


Description Allow actors who have an account to access the system. 
Actor Admin, Customer Trigger Actor click button [Login] in  every page
Pre-condition Actor has an account
Post Login successfully!
condition

System
Main Flow: Add new user successfully
1 From any screen, the actor
selects  Login

2 Load page Login

3 Enter the required information.

4 Validation input information.


5 Edit (if wrong password or
username).
6 Load the main page

Name Register Code UC02


Description Actor provides information to create an account to access the
system 
Actor Admin, Customer TriggerActor click button [Register] in  every
page
Pre-condition the actor does not have an account
Post Register successfully!
condition

System
Main Flow: Add new user successfully
1 From any screen, the actor
selects  Register

2 Load page Register


3 Enter the required information.

4 Validation input information.


5 Edit (if wrong password or
username).
6 Load the main page

Name Logout Code UC03


Description Actor stops accessing the system
Actor Admin, Customer Trigger Actor click button [logout] in  every page
Pre-condition User has logged in account
Post Logout successfully!
condition

System
Main Flow: Add new user successfully
1 From any screen, the actor
selects  Logout

2 Load main page

Name Add new Code UC05


product
Description Add new product with their information  
Actor Admin, Trigger Actor click button [Add new Product] in 
Customer every page
Pre-condition Actor logged in successfully!
Post Add new product successfully!
condition

System
Main Flow: Add new user successfully
1 From any screen, the actor
selects the menu item
Manage
Users -> Add New Product

2 Load page Add new prodcut information

3 Enter the required


information.

4 Validation input information.


5 Edit (if wrong name ỏ ID,...
of the product).
6 Save product information in database, notify
successfully and redirect to … 

Name Search product Code UC06


Description Search product by their name 
Actor Admin, Trigger Actor click button [Search] in  every page
Customer
Pre-condition Actor Searched successfully!
Post Searched successfully!
condition

System
Main Flow: Add new user successfully
1 From any screen, the actor
selects Search

2
3 Enter the required information.

4 Load page the actor is looking for

Name Edit product  Code UC07


Description Edit the product’s information 
Actor Admin Trigger Actor click button [Edit Product] in  every page
Pre-condition Actor loggin successfully!
Post Actor Edit product successfully
condition

System
Main Flow: Add new user successfully
1 From any screen, the actor
selects Edit

2 Load page Edit product


3 Edit the product’s
information.

4 Load page Edit product successfully


Name Evaluate code UC08
product 
Description Give personal comment for the product 
Actor Admin,customer trigger Actor click button [Comment] in  every
page
Pre-condition Actor loggin successfully!
Post Actor Comment successfully
condition

System
Main Flow: Add new user successfully
1 From any screen, the actor
selects Comment

2
3 write the lines you want to Evaluate

4 Display on the line you just wrote

Name Paying for code UC09


product 
Description Customers pay for the product they chose.
Actor customer trigge Actor click button [Buy product] in  every
r page
Pre-condition Actor loggin successfully!
Post Actor buy product successfully
condition

System
Main Flow: Add new user successfully
1 From any screen, the actor
selects Buy product

2 Load page of the product that the customer


want to buy
3 Fill in the information and payment
method
4 Load page payment successfully

Name Edit code UC10


account
Description Actor changes information about their account.
Actor Actor trigger Actor click button [Edit account] in  every page
Pre-condition Actor loggin successfully!
Post Actor edit account  successfully
condition

System
Main Flow: Add new user successfully
1 From any screen, the
actor
selects Edit account

2 Load page Edit account


3 Edit account’s ìnormation

4 Load page edit account successfully

Name Listen to music code UC11


sample

Description Allow customers to listen to the music sample they chose

Actor Actor,costumor trigger Actor click button [Listen to music] in 


every page
Pre-condition Actor loggin successfully!
Post Actor listen to music  successfully
condition

System
Main Flow: Add new user successfully
1 From any screen, the
actor
selects Listen to music

2 Load page music that the actors,customer selected

Name Download code UC12


product
Description Download the product they bought
Actor Actor,costumor trigge Actor click button [Download the product]
r in  every page
Pre- Actor loggin successfully!
condition
Post Actor Download the product  successfully
condition

System
Main Flow: Add new user successfully
1 From any screen, the actor
selects Download product

2 Load page Download product


3 Download the product
4 Load page Download product successfully

You might also like