Вы находитесь на странице: 1из 8

MEP M C LIENT P LUGIN

S OFTWARE D ETAILED D ESIGN

Project / Department Commstree


Version 1.4.x
Date 17/Sep/2010
Status
Owner Trinh Thanh Quang
Author
Reviewer(s)
Approver(s)
Location

This document and its content are proprietary property of International IT Services.
The content of this document shall not be used, published, disclosed, or
disseminated, as a whole or in part, without the written consent of International IT
Services. Reverse engineering of any or all the information in this document is
prohibited.
Software Detailed Design

International IT Services Proprietary and Confidential


Page 2 of 8
Software Detailed Design

Document Revision History


Date Revision Description Revised by

17.Sep/2010 0.1 Init Draft Quang

International IT Services Proprietary and Confidential


Page 3 of 8
Software Detailed Design

Table of Contents
1 INTRODUCTION........................................................................5

1.1 OVERVIEW.............................................................................5

1.2 REFERENCES...........................................................................5
2 COMPONENT DESIGN...............................................................5

2.1 TECHNICAL DESIGN....................................................................5

2.2 SESSION MANAGEMENT................................................................6


2.2.1 Overview.................................................................................6
2.2.2 Function...................................................................................6
2.2.3 Diagrams.................................................................................6

2.3 GETWELCOMEPAGE FUNCTION........................................................7


2.3.1 Overview.................................................................................7
2.3.2 Function...................................................................................7
2.3.3 View.........................................................................................7
2.3.4 Diagrams.................................................................................7

2.4 GETLOGINPAGE........................................................................7
2.4.1 Overview.................................................................................7
2.4.2 Function...................................................................................7
2.4.3 View.........................................................................................8
2.4.4 Diagrams.................................................................................8
3 DATABASE DESIGN..................................................................8
4 RISKS.....................................................................................8
5 OPEN ISSUES...........................................................................8
6 APPENDIX...............................................................................8

International IT Services Proprietary and Confidential


Page 4 of 8
Software Detailed Design

S OFTWARE D ETAILED D ESIGN

1 Introduction

1.1 Overview

This plugin provide the protocol to communicate between Web server and Mobile
channel.
In which:
− Web server channel will receive request from Mobile channel. After that, process
and render XML with template be defined to Mobile channel.
− Mobile channel will receive XML response from Web server and act like a
browser( process and show on mobile)
1.2 References

− List of Styles (list.xls)


− List of Elements and structures Of Element style corresponding (Header
Structure.pptx)

2 Component Design
2.1 Technical Design

1.1.1 Overview
- Plug-in name: commstree-mclient-server
- Package: com.simsol.commstree.mclient.server
2.1.2 Function
List functions be provided to Mclient
- getWelcomePage
- getLoginPage
-…
2.1.3 Work flow

Mclient Request Web server

- Acting as browser - Receive params


- Send params with POST method - Process to render XML
- Get XML and parse to show on XML Response
mobile device

International IT Services Proprietary and Confidential


Page 5 of 8
Software Detailed Design

2.2 Session management


2.2.1 Overview
Describle the management of session between Web Server and Mobile
2.2.2 Function
− First of all, from Login page, Mobile will sent the username and password with
POST method.
− Web server will check it. If username and pass are correct, Web server will
create one session with random id and include this id in xml response.
− Mobile will get and keep session id, and will sent this id to Web server instead of
username and password.
− Web server will check the exist of session id to decided user logged in or not.
2.2.3 Diagrams
1.1.1.1 Activity Diagram

International IT Services Proprietary and Confidential


Page 6 of 8
Software Detailed Design

mClientRequest

Web server
receive request

Check Session Render Login


No
Id existed Page XML

Yes

Request
processing

Render Error
Success No
Page XML

Yes

Render XML

1.1.1.2
2.3 getWelcomePage Function
2.3.1 Overview
Render XML for welcome page
2.3.2 Function
2.3.3 View
2.3.4 Diagrams
1.1.1.3 Activity Diagram

1.1.1.4
2.4 getLoginPage
2.4.1 Overview
Render XML for login page
2.4.2 Function

International IT Services Proprietary and Confidential


Page 7 of 8
Software Detailed Design

2.4.3 View
2.4.4 Diagrams

3 Database Design

4 Risks

5 Open Issues

6 Appendix

International IT Services Proprietary and Confidential


Page 8 of 8

Вам также может понравиться