Date post: | 03-Nov-2014 |
Category: |
Documents |
Author: | thanmai-koduru |
View: | 153 times |
Download: | 3 times |
Version 2.0 Table of Contents1. Introduction1.1 Methodology
3
1.2 Purpose
4
1.3 Scope 1.4 Definitions, Acronyms, Abbreviations 1.5 Tools used 1.6 References 1.7 Technologies Used 1.8 Overview
4 4 5 6 6 7
2. Overall Description2.1 Product Perspective 2.2 Software Interface 2.3 Hardware Interface 2.4 Communication Interface 2.5 Constraints
8 8 9 9 9
3.
Specific Requirements3.1 Use Case Reports 3.2 Class Diagrams
10 13
Techno Athletes / GVP College of Engineering for Women
Page 2
Version 2.03.3 Activity Diagrams
18 18 19 20 21 22 23
3.3.1
Overall System Activity
3.3.2 Activity for maintaining History 3.3.3 Browser Navigation Activity 3.3.4 Activity for maintaining Bookmarks 3.4 Sequence Diagrams 4.
Appendix
1. Introduction1.1 MethodologyRational Unified Process Rational Unified Process (RUP) is an object-oriented and Web-enabled program development methodology. RUP is like an online mentor that provides guidelines, templates, and examples for all aspects and stages of program development. RUP is comprehensive software engineering tool that combine the procedural aspects of development with other components of development within a unifying framework. RUP establishes four phases of development, each of which is organized into a number of separate iterations that must satisfy defined criteria before the next phase is undertaken:
Inception phase : Developers define the scope of the project and its business case Elaboration phase : Developers analyze the project needs in greater detail and define its architectural foundation
Techno Athletes / GVP College of Engineering for Women
Page 3
Version 2.0
Construction phase : Developers create the application design and source code Transition phase : Developers deliver the system to users. RUP provides a prototype at the completion of each iteration.
1.2 PurposeThe essential purpose of Voice Based Web Browser is to enter from visual paradigm to voice paradigm -- including Admin and User. Voice browsers allow people to access the Web using speech synthesis, pre-recorded audio, and speech recognition. Voice interaction can escape the physical limitations on keypads and displays as mobile devices become ever smaller.
1.3 Scope
There are 2 basic users-Admin and User User must enter the voice command among the listed commands. Admin controls the entire access of the user, maintains History and Bookmarks.
1.4 Definitions, Acronyms, AbbreviationsAdmin Administrator, who is mainly responsible for making the browser ready to use, maintains History and Bookmarks thus providing access to the web browser for user.
Techno Athletes / GVP College of Engineering for Women
Page 4
Version 2.0WASCE WebSphere Application Server Community Edition[WASCE] is an Application Server that runs and supports J2EE and Web Service Applications. JSP Java Server Pages [JSP] is used to create dynamic web content. J2EE Java2 Enterprise Edition[J2EE] is a programming platform which is a part of java platform for developing and running distributed java. UML Unified Modeling Language is a standard language for writing software blueprints. The UML may be used to visualize, specify, construct and document. XML Extensible Markup Language is a text based format that let developers describe, deliver and exchange structured data between a range of applications to client for display and manipulation. HTTP Hyper Text Transfer Protocol is a service protocol. Eclipse Eclipse is a multi-language software development environment comprising a workspace and an extensible plug-in system. It is written mostly in Java. It can be used to develop applications in Java and, by means of various plug-ins, other programming languages.
1.5 Tools UsedRational Rose
Techno Athletes / GVP College of Engineering for Women
Page 5
Version 2.0Rational Rose is an object-oriented Unified Modeling Language (UML) software design tool intended for visual modeling and component construction of enterprise-level software applications. Rational Rose documents the diagram as it is being constructed and then generates code in the designer's choice of C++, Visual Basic, Java, Oracle8, Corba or Data Definition Language. Eclipse Eclipse can be used to develop applications in Java and, by means of various plug-ins, other programming languages. It can also be used to develop packages for the software Mathematica. Development environments include the Eclipse Java development tools (JDT) for Java. Eclipse began as an IBM Canada project. The Eclipse Platform uses plug-ins to provide all functionality within and on top of the runtime system, in contrast to some other applications, in which functionality is hard coded. The Eclipse Platform's runtime system is based on Equinox, an implementation of the OSGi core framework specification.
1.6 References
Unified Modeling Language Guide Grady Booch Software Engineering, Seventh Edition, Ian Sommerville IBM TGMC Sample Synopsis IBM www.ibm.in/developerworks Java www.sun.com Wikipedia www.wikipedia.com Complete Reference - J2EE Jim Keogh
1.7 Technologies UsedXML
Techno Athletes / GVP College of Engineering for Women
Page 6
Version 2.0Extensible Markup Language (XML) is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. It is defined in the XML 1.0 Specification produced by the W3C, and several other related specifications, all gratis open standards.
Web Services A Web service is a method of communication between two electronic devices over the web. The W3C defines a "Web service" as "a software system designed to support interoperable machine-to-machine interaction over a network".
UML Unified Modeling Language (UML) is a standardized general-purpose modeling language in the field of object-oriented software engineering. The standard is managed, and was created, by the Object Management Group. UML includes a set of graphic notation techniques to create visual models of object-oriented software-intensive systems.
J2EE Java Platform, Enterprise Edition or Java EE is Oracle's enterprise java computing platform. The platform is primarily used for development of enterprise software, including network and web services, in the Java programming language. e-Forms An e-form (electronic form) is a computer program version of a paper form. Aside from eliminating the cost of printing, storing, and distributing pre-printed forms and the wastage of obsolete forms, e-forms can be filled out faster because the programming associated with them can automatically format, calculate, look up and validate information for the user. 1.8 Overview
Techno Athletes / GVP College of Engineering for Women
Page 7
Version 2.0Drawbacks
There is restriction on the number of commands. The user interface language is English only.
Proposed System
Interface provided to the user is a Web Browser. User- Interacts with the browser by providing voice commands. Admin Controls the activities of the user.
Our Plan
Designing an efficient Web Browser. Allowing the Browser to accept voice commands provided by the user. To provide desirable voice output to the user.
2. Overall Description2.1 Product Perspective
Techno Athletes / GVP College of Engineering for Women
Page 8
Version 2.0
2.2 Software InterfaceClient on Internet Web Browser, Operating System (any) Client in Intranet Web Browser, operating System (any) Web Server WASCE, Operating System (any) Development End Eclipse (J2EE, JAVA, JAVA Bean, Servlets, HTML, XML, AJAX), DB2, OS, Web Sphere (Web Server).
2.3 Hardware Interface:
Operating System: Windows / Linux Processor Speed: 1.25GHz
Techno Athletes / GVP College of Engineering for Women
Page 9
Version 2.0
Memory Required: 10 GB
2.4 Communication Interface We are providing the Web Browser as an Interface for the user interaction.
2.5 Constraints Login and password is used for the identification of users. Only registered users will be authorized to post and download articles. Limited to HTTP/HTTPS.
3. Specific Requirements3.1 Use case Reports Techno Athletes / GVP College of Engineering for Women Page 10
Version 2.0User Use case
G H eae o o pg t o m
F uo Mue s o sn e I m c nt
Mi i e Mm Bw r am / i i i e r s x z n z o e
F uo A r s B o snde a c d s r
N T /Cs T e a l ea w b o b
G Wse o ei t o bt
Rr s ee f h
Ur s e
Ra e d l o
SoU D n cl p o rl / w
B k as om o r k
D nas o l d w o
NtP e e a x g
CaH o l r itr e s y
Ic a /D r a F t n es e es o r e c e n
N t/P v u e r i s x eo
Sic b T s w h/ a t w b
R d ae o es e P Ct n a g n t
R d tG e a r a i d
O n ae t b p i n a en w
Cs Bw r l er s o o e
Use Case Description Open in a new Tab This opens a particular URL in a new Tab. Minimize/Maximize Browser This alters the size of the Browser Window.
Techno Athletes / GVP College of Engineering for Women
Page 11
Version 2.0Goto HomePage Focus on menu items Focus on Address bar Close Tab Goto Website Refresh/Reload Scroll Up/Down Add to Bookmarks View Downloads Go Next/Previous Clear History Increase/Decrease Font Switch Between Tabs Read Page Contents Read at Grid Close Browser Opens the default Page set for the Browser. This selects the particular menu item. This places the cursor at the Address Bar. This closes the intended tab Opens the Website referred by the User. This Refreshes or Reloads the Current Page. This is responsible for the movement in the Page. This adds a particular Website to the list of already existing mostly preferred Websites. Displays the list of Downloads. This transitions the current page to the Next/Previous page. This deletes the History. This is responsible for changing the font size of Page Content. This is responsible for transition between the Tabs. This Outputs the data in the form of Speech. This is responsible for focusing on a specific Grid location and it Outputs that content in the form of speech. This closes the Browser.
Admin Use case
Techno Athletes / GVP College of Engineering for Women
Page 12
Version 2.0
Maintains History
Maintains Bookmarks
Admin
Controls User Access
Make Browser Ready for User Use Case Maintains History Maintains Bookmarks Controls User Access Make Browser Ready for User Descripiton This creates a list of all the viewed Pages. This maintains the list of mostly referred Pages. This provides user the capability to provide the voice commands Admin provides some list of com mands to user, using which User can communicate with the browser.
Techno Athletes / GVP College of Engineering for Women
Page 13
Version 2.03.2 Class Diagrams
U s e rIn te r fa c e
S p e e c h R e c o gi n pzue ts to ni r1 1
O u tp u ts tS p e e c h S y n t h e s i z e r o B ro w s e r1 1 1 1
C o m m a n d P ro c e s s o r1 1 1 1 1 1
1 1 1 1 1 B r o w s e rC o n tr o lle r 1 P a g e L o a d e rs B r o w s e rS to r a g e E le m e n ts n tC o n tr o lle r C o n te E le m e n tS e le c to r c lo s e B ro w s e r() N a v i g a to r o p e n N e w T a b () g o t o H o m e p a g e () c l o s e T a b () g o to U R L () p re vio u s () s w it c h B e t w e e n T a b s r(e) fre s h () n e x t () m i n im i z e B ro w s e r ( ) r e l o a d ( ) vie w H i s t o ry ( ) c le a r H is t o r y ( ) a d d T o B o o k m a r k s () vie w B o o k m a r k s ( ) s c ro l lU p ( ) s c ro l lD o w n ( ) in c r e a s e F o n t ( ) d e c re a s e F o n t () fo c u s O n A d d re s s B a r () fo c u s O n M e n u It e m s ( ) d i vid e G r id ( )
Techno Athletes / GVP College of Engineering for Women
Page 14
Version 2.0Class Operations closeBrowser() : It closes the Browser openNewTab(): It creates a new tab in the browser BrowserController closeTab(): It closes the intended tab minimizeBrowser() : It minimizes the browser switchBetweenTabs(): It is used to navigate from one tab to another tab. gotoHomepage(): Opens the default Page set for the Browser. gotoURL(): Opens the Website referred by the User PageLoader refresh(): This refreshes the current page. reload(): This reloads the current page. These transitions from next(): This transitions the current Navigator page to the Next page. previous(): This transitions the current page to the previous page. current page to the previous or the next page. This performs all the operations that are necessary for loading a particular page. These perform on the the Responsibilities
operations the Browser.
windows and tabs of
viewHistory(): This displays the list
Techno Athletes / GVP College of Engineering for Women
Page 15
Version 2.0of pages visited by the user. clearHistory(): This deletes the History. BrowserStorageElements addtoBookmarks(): This adds a particular Website to the list of already existing mostly preferred Websites. viewBookmarks(): This displays the list of Bookmarks scrollUp(): This gives an upward movement in the window. This is used to apply and for moving This stores all the user related information in the Browser.
scrollDown(): This gives a downward changes in the font movement in the Window. ContentController increaseFont(): This increases the size of the font. decreaseFont(): This decreases the size of the font. focusonAddressBar(): This places the cursor at the Address Bar. ElementSelector focusonMenuitems(): This selects a particular menu item divideGrid(): This divides the entire page in the grid format of rows and columns. acceptVoiceCommand(): This SpeechRecognizer This performs tha This is merely used for the selection of a particular element in the page. up/down in around the window.
accepts the voice commands given by action of accepting the
Techno Athletes / GVP College of Engineering for Women
Page 16
Version 2.0the user. readAtGrid(): This starts reading the content from a particular position located in the grid. SpeechSynthesizer readPageContent(): This reads the page content from the starting location. It interacts with CommandProcessor Browser and fulfills user requirementsIt inherits methods of browserController, It is used in the Construction of DOM Tree. Supports to satisfy
input.
This is responsible for the Voice Output.
CommandProcessor
contentController,PageLoader,Navigator and BrowserStorageElements.
browser requirements.
3.3 Activity Diagrams3.3.1 Overall System Activity
Techno Athletes / GVP College of Engineering for Women
Page 17
Version 2.0
Open Browser Accept Voice Commands
Recognize Voice Commands
Yes
Command is Present in Grammar File No
Process Command
Display appropriate Message
Close Browser Yes Close the Browser
No
Perform deligated action
3.3.2 Activity for Maintaining History
Techno Athletes / GVP College of Engineering for Women
Page 18
Version 2.0
3.3.3 Browser Navigation Activity
Techno Athletes / GVP College of Engineering for Women
Page 19
Version 2.0
User Opens some website / web page
Add the website/webpage to datastructure
user opens other webpage/website in same session
The new page will be prepended to existing datastructure
no
user wants to navigte to previous page
user wants to navigte to next page
any webpages added before this webpage yes Respective website/webpage will be loaded
any webpages added after this webpage yes
Respective webpage/website will be loaded
User ends the session yes
3.3.3 Activity for Maintaining Bookmarks
Techno Athletes / GVP College of Engineering for Women
Page 20
Version 2.0
User wants a webpage to be bookmarked yes Respective webpage will be added to Bookmarks file no User wants to remove bookmark for a webpage yes Only respective web page will be removed from bookmarks file no User want to view all bookmark pages yes List will be shown to user
3.4 Sequence Diagrams Techno Athletes / GVP College of Engineering for Women Page 21
Version 2.0Speech Recognizer User : User 1: Provide Voice Commands 2: Converts into Phenomes 3: Search for the match in digital dictionary 4: Request Command Renderer for Processing 5: Checks what action to be taken using Grammar File 6: If word present, Perform appropriate action 7: If commands action is to output data 8: Outputs Associated Action 9: Generates Prosodic Units 10: Converts into Sound 11: Voice Output Command Renderer Speech Synthesizer
Object Speech Recognizer
Description This recognizes the Voice Commands provided by the User, converts them into phonemes and searches for a match in the Digital dictionary.
Command renderer
This is responsible for performing an appropriate action if the word is recognized in the Grammar File.
Speech synthesizer
This generates prosodic units which are responsible for the Voice Output.
4. AppendixA: Abbreviations - 4
Techno Athletes / GVP College of Engineering for Women
Page 22
Version 2.0Acronyms 4 Activity Diagram 16 Activity for Maintaining Bookmarks - 21 Activity for Maintaining History - 19 Admin - 4 Admin Use case 12 B: Browser Navigation Activity - 20 C: Communication Interface- 9 Class Diagram-13 Constraints 9 D: Definitions - 4 Drawbacks 7 E: Eclipse - 5 e-forms - 7 H: Hardware Interface - 9 HTTP 5 R: Rational Rose 5 Rational unified process -3 References - 6 I: Introduction - 3 J: J2EE 4, 7 JSP - 4 M: Methodology-3 O: Our Plan 7 Overview 7 Overall Description 8 Overall System Activity-18 P: Product perspective - 8 Proposed Systems 7 Purpose - 4
Techno Athletes / GVP College of Engineering for Women
Page 23
Version 2.0S: Scope - 4 Sequence Diagrams-22 Software Interface 8 Specific Requirements - 10 T: Table of Contents- 2 Technology Used - 6 Tools Used - 5 U: UML 4, 6 Use case reports 10 User Use Case - 10 W: WASCE 4, Web services - 6 X: XML5, 6
Techno Athletes / GVP College of Engineering for Women
Page 24
Version 2.0
Special Thanks
We are deeply grateful to our Institution, especially to the Department of Computer Science and Engineering for their magnificent help along the course of this project. We would also like to convey our special thanks to all the IBM Software Development Tools and all the websites which were extremely helpful in the Software Development.
Techno Athletes / GVP College of Engineering for Women
Page 25