Ministry of education and training fpt university


II. System Architectural Design



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

II. System Architectural Design


1. Choice of System Architecture

A system architecture or systems architecture is the conceptual model that defines the structure, behavior, and more views of a system. An architecture description is a formal description and representation of a system, organized in a way that supports reasoning about the structure of the system which comprises system components, the externally visible properties of those components, the relationships (e.g. the behavior) between them, and provides a plan from which products can be procured, and systems developed, that will work together to implement the overall system.

The software architecture of a system is the set of structures needed to reason about the system, which comprise software elements, relations among them, and properties of both. In this KA Plus project, our team use two main architecture is Client-Server and Interaction-Oriented Software Architectures (Model-View-Controller (MVC) and Presentation-Abstraction-Control (PAC))

Before read and make requirement clear, our team found that KAP has these attribute :



  • The database from mobile application and database from computer must be independence.

  • In KAP system have a connection among agent in two different devices (mobile and computer).

  • Data was multi taking and multi viewing.

  • Use HTTP protocol to connect

Therefore, KAP system will be designed base on Client-Server and Interaction-Oriented architectures, which can satisfy requirement and technical.

In order to understand KAP architecture, please see our diagram:




Picture F.II.1 System Architecture

2. System Interface


2.1 PC-Server Interface


KAP-Server Service: A program with Graphic User Interface creates playlist for KAPlus make database. User can add, edit, and create many type of playlist.

2.2 PCs-Client Interface


VLC media player: A video player plays video, receive request and sent status for KAPlus.

KAP-Client: A program help KAPlus find and get database.


2.3Mobile Interface


KAPlus: A mobile application with Graphic User Interface, user can remote karaoke process, selects songs and manager playlist.

III. Component


KAP system will have three main components: KAP-SS, KAPlus and KAP-Client.

1. KAP-SS

KAP-SS run at PC Server, collect all song PC-Server contain to make database for KAP-SS via Playlist file.

2. KAPlus

KAPlus run at mobile, it use playlist file from KAP-SS create to make it own database. It connects with PC-Client via VLC media player and KAP-Client. This is main component of this system.

3. KAP-Client

KAP-Client plays a role like a service program to help KAPlus update database and display mark via request.

IV. KAP Detailed Design


1. Mobile

1.1 Connection

1.1.1 Class Diagram



1.1.2 Class Explanations


Class diagram has responsibility about connection between mobile and PC client.

1.1.3 Sequence Diagram



1.2 Play Control


1.2.1 Class Diagram

1.2.2 Class Explanations

Class diagram has responsibility about play a song in list song.

1.2.3 Sequence Diagram


1.3 Pause Control


1.3.1 Class Diagram

1.3.2 Class Explanations

Class diagram has responsibility about pause a song when song is playing.


1.3.3 Sequence Diagram



1.4 Next Control

1.4.1 Class Diagram



1.4.2 Class Explanations


Class diagram has responsibility about next song in list song, which played.

1.4.3 Sequence Diagram




1.5 Previous Control

1.5.1 Class Diagram



1.5.2 Class Explanations

Class diagram has responsibility about previous song in list song, which played.



1.5.3 Sequence Diagram



1.6 Full screen Control

1.6.1 Class Diagram



1.6.2 Class Explanations


Class diagram has responsibility about function full screen of VCL player.

1.6.3 Sequence Diagram




1.7 Search song

1.7.1Class Diagram



1.7.2 Class Explanations


Class diagram has responsibility about search song.

1.7.3 Sequence Diagram




1.8 Add song to play list


1.8.1 Class Diagram

1.8.2 Class Explanations

Class diagram has responsibility about add a song to Playlist.


1.8.3 Sequence Diagram





1.9 Play a song


1.9.1 Class Diagram

1.9.2 Class Explanations

Class diagram has responsibility about play a song in Search screen.



1.9.3 Sequence Diagram



1.10 Add song to Favorites


1.10.1 Class Diagram

1.10.2 Class Explanations

Class diagram has responsibility about add a song to Favorites.



1.10.3 Sequence Diagram




    1. Playing List Song

1.11.1 Class Diagram

1.11.2 Class Explanations

Class diagram has responsibility about manipulate songs in Playlist: play, remove a song or all.

1.11.3 Sequence Diagram


  • Play a song in list



  • Remove a song





    1. Suggest Playlist

1.12.1 Class Diagram

1.12.2 Class Explanations

Class diagram has responsibility about suggest list song for users.


1.12.3 Sequence Diagram



1.13 Update Playlist

1.13.1 Class Diagram

1.13.2 Class Explanations

Class diagram has responsibility about update list all song from server.

1.13.3 Sequence Diagram



2. KAP-Client

2.1Class Diagram

2.2 Class Explanations

Class diagram has responsibility about get information from server to send to mobile and upstream.

2.3 Sequence Diagram






tải về 1.87 Mb.

Chia sẻ với bạn bè của bạn:
1   ...   6   7   8   9   10   11   12   13   ...   24




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

    Quê hương