Use Case Diagram
Design Description:
MucMuc divided into two categories: ordinary users and administrators.
general user:
basic skills:
Song: can play and listen to the song Favorite song to song single, song tagging.
Song Single: Single Duige to have to create, delete, modify operation.
Interactive: the ability to review the song; thumbs comments of others; reply to comments made by others.
administrator
Administrators also have the basic functions of a normal user
High administrator permissions feature:
Song management: Increase music library songs, remove songs, modify song information (such as artist, lyrics, etc.), remove unreasonable label.
User Management: banned for ordinary users, removing illegal users.
Plaza Management: add user comments in the square, remove the comment.
Class Diagram
By way of example a timing diagram
Add a song:
Administrators create and fill song song information song information and then check the legality of the last call database user interface, will be inserted into the song information database
Banned Users:
Administrator to select a user, after calling database user interface, query the user information, check whether the user has been banned, and finally banned users
Remove a song:
Administrators select a song, and then call the database interface operation, delete the corresponding song, first check whether there is deleted
Remove users:
The administrator selects a user interface operation after calling the database, query the corresponding user and Compare rights (insufficient permissions can not be deleted), and finally delete the target user, first check whether there is deleted
Update song information:
Administrators select songs and fill out the song information, song information and then check the legality of the last call database interface, the update information, the update process to check whether there is a song