Ministry of education and training fpt university



tải về 1.87 Mb.
trang8/24
Chuyển đổi dữ liệu09.10.2016
Kích1.87 Mb.
1   ...   4   5   6   7   8   9   10   11   ...   24

1.2. Admin User Interfaces

The main functions of program that run on Server is view all songs in server and create playlist. Therefore, user interfaces must ensure displaying song information well. Admin GUIs must friendly as other manager programs to help user easy to use and interact. It must ensure these features:



  • Simple

  • Almost screen area is display song’s information

  • Edit information directly in displayed-information area

  • Use command bar

  • Easy to view data

1.3. Hardware Interfaces


KA Plus has two main modules, one run on mobile phone and one run on Personal Computer. Therefore, hardware interface must ensure requirement for application working properly.
There are some requirements for hardware interfaces:

Mobile phone:

  • Android Operating System compatible ( version 2.2 )

  • 320*480 screen resolution

  • Touch screen

  • Wi-Fi connection requested

  • RAM:256MB (recommended)

  • Memory free space: 5MB at lease

Server:

  • Windows 7 Professional Operating System(recommended)

  • 2TB hard disk space (for storing about1500 karaoke songs)

  • 4Gb RAM(recommended)

  • LAN connection

  • PC:

  • Windows 7 Professional Operating System (recommended)

  • 200MB free disk space

  • LAN, WLAN connection

  • HD audio output

1.4. Software Interfaces (Runtime environment)


Product runs on PC and mobile phone environments. Therefore, environment for developing and running this product is:

Computer:

  • Windows 7 Professional Operating System (recommended)

  • VLC Player

  • .Net Framework 4.0

  • Microsoft Visual studio 2010

  • Eclipse (Development tool)

  • SQLite

  • Java Development Kit (JDK) 1.6 or higher

  • Java Runtime Environment (JRE) 1.6 or higher

  • Android SDK r06 or higher


Mobile phone:

  • Android OS version 2.2

1.5. Communication protocol


          • Common

            • Communication Standards: HTTP

          • Client-Server communication protocol:

            • Each mobile application is connected to Pc - Client throw WIFI

            • Each Pc – Client is connected to Pc – Server throw Lan network

            • Therefore, data (karaoke video file) will be read from Pc - server to Pc - client.

2. System Features


2.1. Download and setup application


2.1.1. Use Case Diagram

Picture 2.1 Download and setup application


2.1.2. Use Case Specification


USE CASE- Connection SPECIFICATION

Use-case No.

UC001

Use-case Version

1.0

Use-case Name

Download and setup application

Author

PhuuongBM

Date

12/06/2011

Priority

Normal

Actor:

  • Mobile user

Summary:

  • For the first time using KAPlus application, users have to down load setup file form server via web site link or copy from Computer to mobile through usb -cable.

Goal:

  • The goal of use case: when mobile connected to wifi, they easy to download the newest version of application with shortest time

Triggers


Preconditions:

  • Version of mobile must be supported by application.

  • Mobile is connected wifi internet

Main Success Scenario:


Step

Actor Action

System Response

1

User click to icon web browser on mobile

Web browser is opened

2

Type address: “http://code.google.com/p/my-karaoke/downloads/list

Web browser display a files application to download

3

User click symbol download nearly the name of file has name “KAPlus_version_xxx” they want.

The file will be downloaded on mobile

4

Click the file “KAPlus_version_xxx” after download done

Application will be installed and can be run

Alternative Scenario:



Step

Actor Action

System Response

1

User click to “Menu, Browser or List” button

System displays the PickServer page

2

Click button “Add server”

System displays the Add server page to request user adding server Hostname or IP and Port

3

User enter Hostname or IP address and Port in the textbox




4

Click button “Cancel”

Redirect to PickServer page


Exceptions:

  • Application error

Relationships:
Business Rules:

None

2.2. Connection


2.2.1. Use Case Diagram

Picture 2.2 Connection


2.2.2. Use Case Specification


USE CASE- Connection SPECIFICATION

Use-case No.

UC002

Use-case Version

1.0

Use-case Name

Connection with PC

Author

ChungBT

Date

01/06/2011

Priority

Normal

Actor:

  • Mobile user

Summary:

This use case allows the actor add server Hostname or IP and Port to connect with PC



Goal:

Connected



Triggers

Click to “Browser or List” button in the Home page



Preconditions:

User is in the home page.



Post Conditions:

Display home page



Main Success Scenario:

Step

Actor Action

System Response

1

User click to “Menu, Browser or List” button

System displays the PickServer page

2

Click button “Add server”

System displays the Add server page to request user adding server Hostname or IP and Port

3

User enter Hostname or IP address and Port in the textbox




4

Click button “OK”

Redirect to Home page

Alternative Scenario:



Step

Actor Action

System Response

1

User click to “Menu, Browser or List” button

System displays the PickServer page

2

Click button “Add server”

System displays the Add server page to request user adding server Hostname or IP and Port

3

User enter Hostname or IP address and Port in the textbox




4

Click button “Cancel”

Redirect to PickServer page


Exceptions:

None


Relationships:
Business Rules:

None


Description:

When users want to use KA Plus, they need create connection to mobile phone with PC. Connect via IP address or Hostname and Port. User need click “Menu, Browser or List” button to connect with PC. In order create connection , users need enter IP address or Hostname and Port.

IP Address or Hostname : required

Port : required

When users click “OK” button, the system will create connection and redirect Home page. By click “Cancel” button, the system redirect to PickServer page.



2.3. Play a list song available


2.3.1. Use Case Diagram


System

Picture 2.3. Play a playlist available
2.3.2. Use Case Specification


USE CASE- Play List song SPECIFICATION

Use-case No.

UC003

Use-case Version

1.0

Use-case Name

“Chủ đề”

Author

ChungBT

Date

01/06/2011

Priority

Normal

Actor:

  • Mobile user

Summary:

This use case allows user choose a playlist available and play all songs of list.



Goal:

  • Display and play lists songs

Triggers

  • Click to “Chủ đề” button in the Home page

Preconditions:

  • User is in the home page and connected with PC

Post Conditions:

  • Display list view page

Main Success Scenario:

Step

Actor Action

System Response

1

User click to “Chủ đề” button

System displays the list view of list song with different topic music, choose a list song and play them.

2

Click a list songs

System send request to VLC Player to open list or song.


Exceptions:

When mobile phone and PC isn’t connection



Step

Actor Action

System Response

1

User click to “Chủ đề” button

System send error message on the list view page


Relationships:

  • This case relates to “Connection” use case

Business Rules:

  • None

Description:

When users want open list or song to sing, they need click “Chủ đề” button to find and choose list or song. User click “Browser” button, system open driver on PC where contain lists songs. These lists can available or created by users. When users double touch in list, it will be open on VLC Player.



2.4. List playing songs


2.4.1 Use Case Diagram


System

Picture 2.4 List playing songs
2.4.2 Use Case Specification


USE CASE- List Playing SPECIFICATION

Use-case No.

UC004

Use-case Version

1.0


Use-case Name

List all list of VLC Player use

Author

ChungBT

Date

01/06/2011

Priority

Normal

Actor:

  • Mobile user

Summary:

  • This use case allows the actor view all lists and songs used by VLC Player. User can remove song in lists or play any song in lists.

Goal:

  • View the song is playing and will play. And can select another or delete songs.

Triggers

  • Click to “Đang chạy” button in the Home page

Preconditions:

  • User is in the home page and connected with PC

Post Conditions:

Display List page



Main Success Scenario:

Step

Actor Action

System Response

1

User click to “Đang chạy” button

System displays the current play songs and other song selected




Exceptions:

When mobile phone and PC isn’t connection



Step

Actor Action

System Response

1

User click to “Đang chạy” button

System send error message on the List page and screen have a message: “Playlist is empty”

Relationships:

  • This case relates to “Connection” use case

Business Rules:

None


Description:

When user want view all lists and songs opened and list and songs play, they can click “List” button. User can remove a song or many songs on list by touch this song about 3 second and choose remove this. User can play any song on this list when double touch on this song.


2.5. Remote VLC (Video LAN Media Player)


2.5.1. Use Case Diagram


System

Picture 2.5 Remote VLC


2.5.2. Use Case Specification


USE CASE- Control SPECIFICATION

Use-case No.

UC005

Use-case Version

1.0

Use-case Name

Remote VLC with functions: Play, Pause, Next, Preview song in the list song, control volume and full screen.

Author

ChungBT

Date

01/06/2011

Priority

Normal

Actor:

  • Mobile user

Summary:

  • This use case allows the actor add control PC. Sample: Play, Pause, Next, Preview song in the list song, control volume and Full screen.

Goal:

  • Control VLC Player running on PC by mobile phone

Triggers

  • Click to “Play, Next, Preview, volume and Full screen” button in the Home page

Preconditions:

  • User is in the home page and connected with PC

Post Conditions:

  • Display home page

Main Success Scenario:

Step

Actor Action

System Response

1

User click to “Play, Next, Preview, volume and Full screen” button

System send request to PC and implementation request control VLC Player


Exceptions:

  • None

Relationships:

  • This case relates to “Connection” use case

Business Rules:

None


Description:

Users want control VLC Player, they need use “Play, Pause, Next, Preview, volume and Fullscreen” buttons. “Play” button which play a song in list, when users touch on “Play” button, a song will play and status of button change “Pause” button. When users touch on “Pause” button, song will pause and status of button change “Play”. “Next” and “Preview” button used change song which will play in the list. “Volume” button change volume and “Fullscreen” button used watching full screen.





2.6 Search songs


2.6.1. Use Case Diagram

Systemmm

Picture 2.6 Search songs

2.6.2. Use Case Specification


USE CASE- Search SPECIFICATION

Use-case No.

UC006

Use-case Version

1.0

Use-case Name

Search song

Author

NgocDM

Date

01/06/2011

Priority

Normal

Actor:

  • Mobile User

Summary:

  • This is one of the main functions of the system. This use case allows the actor can search a song from list to add to playlist or favorites.

Goal:

  • Search for songs

Triggers

  • Enter a word or more into EditText in tab Search

Preconditions:

  • User is in the tab Search.

Post Conditions:

  • The page navigates to search result screen with the result displayed

Main Success Scenario:

Step

Actor Action

System Response

1

User click to tab Search

System displays the Search screen

2

Click EditText

System displays the virtual keyboard

3

User enter character string into EditText

The system displays suggestions which have similar spellings with the text entered

Alternative Scenario – No result



Step

Actor Action

System Response

1

Enter category which has no place belong to

Display “Không tìm thấy bài hát nào!”


Exceptions:

None


Relationships:

  • This case relates case “Connection”

Business Rules:

None


Description:

When users want to sing a song, they need find song and send request to server. User touch tab “Search” to view list of song. In order search song, users need enter characters in name of song.

A song is included in the search result if it matches all the search criteria. For example, if a user enters “ha noi” as the name of song, then all song have name include “ha noi” will in the search result, example: “Hà Nội ngày trở về”, “Hà Nội niềm tin và hi vọng”…




2.7. Add a song to Favourite


2.7.1. Use Case Diagram

Picture 2.7 Add song to Favorite



2.7.2. Use Case Specification

USE CASE- Add Favorites SPECIFICATION

Use-case No.

UC007

Use-case Version

1.0

Use-case Name

Add a song to favorites

Author

NgocDM

Date

01/06/2011

Priority

Normal

Actor:

  • Mobile User

Summary:

  • After have result of search a song, the actor can to add a song to favorites to reuse for next time.

Goal:

  • Add a song to favorites tab to easy find my favorite songs

Triggers:

  • Touch on a song

Preconditions:

  • User is in the tab Search.

Post Conditions:

  • The screen displays a symbol to demonstrate that the song added into favorites. And song have added must display on tab favorites.


Main Success Scenario:

Step

Actor Action

System Response

1

User touch on a song

System displays the confirm option

2

Touch OK button

Confirm option close. System displays the message: “Đã thêm vào yêu thích”

And



Alternative Scenario – No result

Step

Actor Action

System Response

1

User touch on a song

System displays the confirm option

2

Touch Cancel button

Confirm option close.


Exceptions:

  • None

Relationships:

  • “Search song” and “connection” use case

Business Rules:

  • None

Description:

After users found a song, they want to save that song to reuse for next time. The user only need touch on the song, then a confirm option will display and user choose OK to add or Cancel to cancel.


2.8. Add a song to Playing list


2.8.1. Use Case Diagram



2.8.2. Use Case Specification


USE CASE- Add Playlist SPECIFICATION

Use-case No.

UC008

Use-case Version

1.0

Use-case Name

Add a song to Playlist

Author

NgocDM

Date

01/06/2011

Priority

Normal

Actor:

  • Mobile User

Summary:

  • After have result of search a song, the actor can to add a song to Playlist.

Goal:

  • Add a song to Playlist

Triggers

  • Long touch about 3 seconds on a song

Preconditions:

  • User is in the tab Search.

Post Conditions:

  • The screen displays a message to demonstrate that the song added into Playlist. And song have added must display on tab Playlist.

Main Success Scenario:

Step

Actor Action

System Response

1

User long touch about 3 seconds on a song

System displays the confirm option

2

Touch OK button

Confirm option close. System displays the message: “Đã thêm vào danh sách”. “Đang chạy” tab has just added the last of playing list a new song .


Alternative Scenario – No result

Step

Actor Action

System Response

1

User long touch about 3 seconds on a song

System displays the confirm option

2

Touch Cancel button

Confirm option close.


Exceptions:

None


Relationships:

  • “Search song” and “connection” use case

Business Rules:

  • None

Description:

After users found a song, they want to save that song to Playlist. The user only need long touch on the song, then a confirm option will display and user choose OK to add or Cancel to cancel.




2.9. Remove a song from Playing list


2.9.1. Use Case Diagram


Picture 2.9 Remove song from Playing list

2.9.2. Use Case Specification


USE CASE- Remove Playlist SPECIFICATION

Use-case No.

UC009

Use-case Version

1.0

Use-case Name

Remove a song from Playlist

Author

NgocDM

Date

01/06/2011

Priority

Normal

Actor:

  • Mobile User

Summary:

  • The actor can to remove a song from Playing list.

Goal:

  • Remove a song from Playing list

Triggers

  • Touch on a song

Preconditions:

  • User is in the tab Playing list.

Post Conditions:

  • The song has removed from Playing list

Main Success Scenario:

Step

Actor Action

System Response

1

Touch on a song

System displays the confirm option

2

Touch Remove button

Confirm option close. System don’t displays the song that have removed and display a notification : “Đã xóa khỏi danh sách”


Alternative Scenario – No result

Step

Actor Action

System Response

1

Touch on a song

System displays the confirm option

2

Touch Cancel button

Confirm option close.


Exceptions:

  • None

Relationships:

  • This case relates to “connection” and “List playing song” use case.

Business Rules:

  • None

Description:

When user want to remove a song from Playing list. The user only need touch on the tab Playing list and touch on the song, then a confirm option will display and user choose Remove to remove or Cancel to cancel.





2.10. Remove a song to Favourites


2.10.1. Use Case Diagram

Picture 2.10 Remove a song from Favorite Songs (“Yêu thích” tab)


2.10.2. Use Case Specification


USE CASE- Remove Favorites SPECIFICATION

Use-case No.

UC010

Use-case Version

1.0

Use-case Name

Remove a song from favorites

Author

NgocDM

Date

01/06/2011

Priority

Normal

Actor:

  • Mobile User

Summary:

  • The user can to remove a song from favorites.

Goal:

  • Remove a song from favorites

Triggers

  • Touch on a song

Preconditions:

  • User is in the tab favorites.

Post Conditions:

  • The song has removed from favorites


Main Success Scenario:

Step

Actor Action

System Response

1

Touch on a song

System displays the confirm option

2

Touch Remove button

Confirm option close. System don’t displays the song that have removed and display a notification : “Đã xóa khỏi yêu thích”


Alternative Scenario – No result

Step

Actor Action

System Response

1

Touch on a song

System displays the confirm option

2

Touch Cancel button

Confirm option close.


Exceptions:

None


Relationships:

  • Relate to “connection” and “Add song to Favorite”

Business Rules:

None


Description:

When user want to remove a song from favorites. The user only need touch on the tab favorites and touch on the song, then a confirm option will display and user choose Remove to remove or Cancel to cancel.




2.11. (Admin) Collect karaoke song’s information


2.11.1. Use Case Diagram



2.11.2. Use Case Specification


USE CASE- Collect karaoke song’s information

Use-case No.

UC011

Use-case Version

1.0

Use-case Name

Collect karaoke song’s information

Author

VinhTD

Date

06/06/2011

Priority

Normal

Actor:

  • Admin User

Summary:

  • When have karaoke song or media on Server PC , admin can collect songs into database

Goal:

  • Add songs into database and display

Triggers

  • Long touch on a song.

Preconditions:

  • User is in the KAP-SS screen

Post Conditions:

  • Song has been added into database and display in All-Playlist screen

Main Success Scenario:

Step

Actor Action

System Response

1

In command bar , choose Song/Add Folder

System displays GUIs to choose folder in computer to add

2

Choose the media folder to add

System displays songs in this folder

3

Click “Select this folder”

System close choosing folder GUI .All songs in this folder displayed on main screen


Alternative Scenario – No result

Step

Actor Action

System Response

1

In command bar , choose Song/Add Folder

System displays GUIs to choose folder in computer to add

2

Choose the media folder to add

System displays songs in this folder

3

Click “Cancel”

No song has displayed , return to main screen


Exceptions:

  • None

Relationships:

  • None

Business Rules:

  • None

Description:

When user want to collect song for database, user use KAP-SS to choose folder which contains songs they want and add them into database. Song was added will displayed in All-Playlist on screen.


2.12. (Admin) Edit karaoke song’s information


2.12.1. Use Case Diagram


2.12.2. Use Case Specification


USE CASE- Edit karaoke song’s information

Use-case No.

UC012

Use-case Version

1.0

Use-case Name

Edit karaoke song’s information

Author

VinhTD

Date

06/06/2011

Priority

Normal

Actor:

  • Admin User

Summary:

  • When have a list of song in database, user can edit information

Goal:

  • Edit information of each song.

Triggers

  • Click Edit button.

Preconditions:

  • User is in the main screen and playlist display this song.

Post Conditions:

  • The information of song was changed and display in playlist.

Main Success Scenario:

Step

Actor Action

System Response

1

Click “Edit” button in the Left of song’s information line

System displays edit window with song information and text box to edit

2

Edit information in each text box

System displays old information and change information while editing.

3

Click “Update” button

Edit window closed. New song’s information display in playlist.


Alternative Scenario – No result

Step

Actor Action

System Response

1

Click “Edit” button in the Left of song’s information line

System displays edit window with song information and text box to edit

2

Edit information in each text box

System displays old information and change information while editing.

3

Click “Cancel” button

Edit window closed. Old song’s information displays in playlist.


Exceptions:

  • None

Relationships:

  • None

Business Rules:

  • None

Description:

When Admin User wants to edit information of a song on database (title, lyric, author, singer…). Admin User use KAP-SS to edit them. Admin User click “Edit” button at left of each information row (each row display one song’s information).Then Admin User edit information on Edit window. Finish, Admin User confirm action by “Update” or “Cancel” button , Song’s information has changed or keep on database and display in playlist.





2.13. (Admin) Create All-Playlist


2.13.1. Use Case Diagram


2.13.2. Use Case Specification



USE CASE- Remove Playing List SPECIFICATION

Use-case No.

UC010

Use-case Version

1.0

Use-case Name

Remove a song from Playing List

Author

NgocDM

Date

01/06/2011

Priority

Normal

Actor:

Admin User



Summary:

  • When have a list of song is playing, user can to remove a song from that.

Goal:

  • Remove a song from Playing List.

Triggers

  • Long touch on a song.

Preconditions:

  • User is in the screen Playing List.

Post Conditions:

  • The song has removed from Playing List.

Main Success Scenario:

Step

Actor Action

System Response

1

Long touch on Playing button

System displays all song is playing

2

Long touch on a song

System displays the confirm option

3

Touch Remove button

Confirm option close. List will refresh and don’t display the song that has removed.

Alternative Scenario – No result



Step

Actor Action

System Response

1

Long touch on Playing button

System displays all song is playing

1

Touch on a song

System displays the confirm option

2

Touch Cancel button

Confirm option close.


Exceptions:

  • None

Relationships:

  • None

Business Rules:

  • None

Description:

When user want to remove a song from list song is playing. The user only need touch on the Playing button. A screen will display and user touch on the song, then a confirm option will display and user choose Remove to remove or Cancel to cancel.


2.14. (Admin) Create Suggested-playlist


2.14.1. Use Case Diagram

2.14.2. Use Case Specification




USE CASE- Create Suggested-playlist SPECIFICATION

Use-case No.

UC014

Use-case Version

1.0

Use-case Name

Create Suggested-playlist

Author

VinhTD

Date

06/06/2011

Priority

Normal

Actor:

  • Admin User

Summary:

  • When Admin User do creating Playlist for each Karaoke room

Goal:

  • Creating All-Playlist and Suggested-Playlist

Triggers

  • Choose Playlist Creating command

Preconditions:

  • User is in the main KAP-SS window

Post Conditions:

  • Create all Playlists done!

Main Success Scenario:

Step

Actor Action

System Response

1

Choose “Creating Playlist” button

System displays process windows

2

Click “OK”

Process window closed. Main window display notice that action done “Create all Playlists done!”


Alternative Scenario – No result

Step

Actor Action

System Response

1

Choose “Creating Playlist” button

System displays process windows

2

Click “Undo”

Process window closed. Main window displays notice that action has been undoing “No Playlists created!”


Exceptions:

  • None

Relationships:

  • None

Business Rules:

  • None

Description:

When Admin User want to creating all kind of playlist(update all current playlist).Admin User choose “Creating Playlist” button , wait and watch process and confirm creating by click “OK” or “Undo” to undo creating playlist action.


2.15. (Admin) Schedule creating playlists


2.15.1. Use Case Diagram


2.15.2 .Use Case Specification


USE CASE- Schedule creating playlists SPECIFICATION

Use-case No.

UC015

Use-case Version

1.0

Use-case Name

Schedule creating playlists

Author

VinhTD

Date

06/06/2011

Priority

Normal

Actor:

  • Admin User

Summary:

  • When Admin User schedule for creating Suggested-Playlist for each Karaoke room

Goal:

  • Creating Suggested-Playlist automatic by schedule

Triggers

  • Choose Schedule command

Preconditions:

  • User is in the main KAP-SS window

Post Conditions:

  • Schedule is changed and display next schedule on main window screen

Main Success Scenario:

Step

Actor Action

System Response

1

Choose “Schedule” in command bar

System displays Schedule window

2

Stick on closed-option (“Every month” ,” Every three months”, “At that time:”, “Don’t schedule”)

Option was choose will display ticked sign. If Admin

User choose At that time , Text box for insert date time displayed



3

Edit time on option “At that time” (If choose this option)

Option was choose will display ticked sign. If Admin

User choose At that time , Text box for insert date time displayed



4

Click “OK” Button

Schedule window closed, Time for next running creating Suggest-Playlist display on Main window.


Alternative Scenario – No result

Step

Actor Action

System Response

1

Choose “Schedule” in command bar

System displays Schedule window

2

Stick on closed-option (“Every month” ,” Every three months”, “At that time:”, “Don’t schedule”)

Option was choose will display ticked sign. If Admin

User choose At that time , Text box for insert date time displayed



3

Edit time on option “At that time” (If choose this option)

Option was choose will display ticked sign. If Admin

User choose At that time , Text box for insert date time displayed



4

Click “Cancel” Button

Schedule window closed, current state of schedule display on Main window


Exceptions:

  • None

Relationships:

  • None

Business Rules:

  • None

Description:

When Admin User want to creating Suggested-Playlist automatically by scheduling time. Admin User chooses schedule by Schedule command on command bar. Set schedule and confirm setting in Schedule window. The schedule time will display on Main window.





1   ...   4   5   6   7   8   9   10   11   ...   24


Cơ sở dữ liệu được bảo vệ bởi bản quyền ©hocday.com 2019
được sử dụng cho việc quản lý

    Quê hương