voice wiki on mobile project report

27
AWH ENGINEERING COLLEGE KUTTIKKATTOOR, CALICUT-8 MINI PROJECT THESIS ON WIKI FOR MOBILE PHONES SUBMITTED IN PARTIAL FULFILMENT OF THE REQUIREMENTS FOR THE AWARD OF THE DEGREE OF Bachelor of Technology IN INFORMATION TECHNOLOGY BY AHAMMED JASEEM K ARJUN K ARAVIND HARJOTH KP HAZIL AHAMED K RAHUL E DEPARTMENT OF INFORMATION TECHNOLOGY AWH Engineering College Kuttikkattoor, Calicut December 2010

Upload: rahul-e

Post on 18-May-2015

1.413 views

Category:

Technology


1 download

DESCRIPTION

Voice Wiki On Mobile Project Report (Main Project)

TRANSCRIPT

Page 1: Voice wiki on mobile project report

AWH ENGINEERING COLLEGE

KUTTIKKATTOOR, CALICUT-8

MINI PROJECT THESIS

ON

WIKI FOR MOBILE PHONES

SUBMITTED IN PARTIAL FULFILMENT OF THE

REQUIREMENTS FOR THE AWARD OF THE DEGREE

OF

BBaacchheelloorr ooff TTeecchhnnoollooggyy

IINN

IINNFFOORRMMAATTIIOONN TTEECCHHNNOOLLOOGGYY

BBYY

AHAMMED JASEEM K ARJUN K ARAVIND

HARJOTH KP HAZIL AHAMED K

RAHUL E

DDEEPPAARRTTMMEENNTT OOFF IINNFFOORRMMAATTIIOONN TTEECCHHNNOOLLOOGGYY

AAWWHH EEnnggiinneeeerriinngg CCoolllleeggee

KKuuttttiikkkkaattttoooorr,, CCaalliiccuutt

December 2010

Page 2: Voice wiki on mobile project report

AWH ENGINEERING COLLEGE KOZHIKODE

CERTIFICATE

This is to certify that this thesis entitled “Voice Wiki for Mobile phones” submitted herewith is an authentic record of the project work done by Ahammed Jaseem K, Arjun K Aravind, Harjoth KP , Hazil Ahamed K , Rahul E under our guidance in partial fulfillment of the requirements for the award of Bachelor of Technology in Information Technology from University of Calicut during the academic year 2010-2011.

Project Guide: HOD Mrs. Shameena PK Asst Prof. Gireesh T K Lecturer, Dept. of IT Dept. of IT AWH Engg. College AWH Engg. College

Page 3: Voice wiki on mobile project report

ACKNOWLEDGEMENTS

My project is the result of the encouragement of many people who helped to

shape it and provided feedback, direction and valuable support. It is with hearty

gratitude that I acknowledge their contributions to my project.

I would like to thank my internal guide Ms.Shameena Pk for the constant

help and support extended towards me during the course of the project. I am also

grateful to our Head of the Dept, Mr.Gireesan T K, Department of Information

Technology, for permitting me to take up this project and her encouragement. I thank

my Principal, Dr.Shoukath Ali Karuvatt who has always been a great source of

inspiration.

Last, but not the least, I would like to thank my peers and friends who

provided me with valuable suggestions to improve my project.

Page 4: Voice wiki on mobile project report

ABSTRACT

Most of the times students pursuing their education come across some

technical terms whose explanation can’t be referred in dictionary but often use

Wikipedia to get the relevant explanation. Wikipedia is a Web-based, free-content

encyclopedia. It is one of the most popular reference sites on the Internet. There are

many cases when it is not possible to read the Wikipedia web page. So the aim of the

project is to bring the power of Wikipedia on your mobile phone. The end output will

be like this. If I send “Flash memory” from my mobile as SMS to a particular number

assigned for this service, I will get a call from the service and I will be able to hear the

Wikipedia entry for “Flash memory” as voice.

Page 5: Voice wiki on mobile project report

CONTENTS

Page No

1. INTRODUCTION 1

1.1 Introduction of the Application 1

1.2 Statement of the Problem 2

1.3 Scope of the Project 2

1.4 Summary 3

2. TECHNOLOGIES USED 4

2.1 MS Visual Studio 2008 4

2.2 C#.Net 4

2.3 MS SQL 5

3. FEASIBILITY STUDY 6

3.1 Economic Feasibility 7

3.2 Technical Feasibility 7

3.3 Operational Feasibility 7

4. SOFTWARE MODEL 8

4.1 Water Fall Model 8

4.1.1 Requirements Analysis 8

4.1.2 Design 9

4.1.3 Implementation 9

4.1.4 Testing 9

4.1.5 Installation 10

4.1.6 Maintenance 10

5. SOFTWARE REQUIREMENTS SPECIFICATIONS 12

5.1 Introduction 12

5.2 Software Requirements 12

5.3 Hardware Requirements 12

5.4 Summary 12

6. SYSTEM DESIGN 13

6.1 Architecture Design 13

Page 6: Voice wiki on mobile project report

6.1.1 System structuring 14

6.1.2 Use Case Modeling 14

6.2 Detailed Design 16

6.2.1 Activity Diagram 16

6.2.2 Sequence Diagram 18

6.2.3 Database Design 19

6.3 Data Flow Diagram 21

6.4 Summary 22

7. IMPLEMENTATION 23

7.1 Implementation 23

7.2 Coding Guidelines 23

7.3 Implementation Procedure 23

7.4 Sample Code 24

7.5 Summary 39

8. TESTING 40

8.1 Testing Methodology 40

8.1.1 White Box Testing 40

8.1.2 Black Box Testing 40

8.1.3 Unit Testing 41

8.1.4 Integration Testing 41

8.1.5 Alpha Testing 42

8.1.6 Beta Testing 42

9. RESULTS AND CONCLUSIONS 43

9.1 Screen Shots 43

9.2 Conclusion 46

9.3 Scope for Future Works 46

10. REFERENCES 47

11. GLOSSARY 48

11.1 Terms and Definitions 48

Page 7: Voice wiki on mobile project report

VOICE WIKI FOR MOBILE PHONES 1

Dept. of Information Technology AWH Engineering College

1. INTRODUCTION

1.1 OBJECTIVE OF THE PROJECT

Most of the times students pursuing their education come across some technical terms

whose explanation can’t be referred in dictionary but often use Wikipedia to get the relevant

explanation. Wikipedia is a Web-based, free-content encyclopedia. It is one of the most popular

reference sites on the Internet. There are many cases when it is not possible to read the

Wikipedia web page. So the aim of the project is to bring the power of Wikipedia on your mobile

phone. The end output will be like this. If I send “Flash memory” from my mobile as SMS to a

particular number assigned for this service, I will get a call from the service and I will be able to

hear the Wikipedia entry for “Flash memory” as voice.

Page 8: Voice wiki on mobile project report

VOICE WIKI FOR MOBILE PHONES 2

Dept. of Information Technology AWH Engineering College

1.2. PROJECT CATEGORY

VOICE WIKI ON MOBILE PHONR is desktop based application

software. The software is installed on a computer which will act as the server. This computer will

accept the request from the user, process it and sends the output back to the user.

Application software, also known as an application or an "app",

is computer software designed to help the user to perform singular or multiple related specific

tasks. It helps to solve problems in the real world. A software application, or program, is a set of

logical conditions grouped together to perform some function. Typically a Microsoft Windows

application will be run within a "window" although that is not a requirement. A "window" in the

context of software is an area of the screen set aside to run a single program and may or may not

have options for controlling the position and size of the program area.

Desktop-based applications have facilitated enterprises to perform

dynamically with easy access to information. These applications are more powerful, persistent

and offer better functionality. That’s why there has been an increase in the demand for

conversion of most internal enterprise applications to flex applications that are web based.

Page 9: Voice wiki on mobile project report

VOICE WIKI FOR MOBILE PHONES 3

Dept. of Information Technology AWH Engineering College

2.EXISTING AND PROPOSED SYSTEM

Existing System:

Wikipedia is mainly accessed through internet enabled computers using web browsers. But it is

not possible to access Wikipedia as such all the time, since we require an internet enabled

computer. We can also get access to Wikipedia on our cell phone using Wikipedia mobile web.

But it also requires an Internet enabled mobile phone with an internet connectivity provided by

the service provider.

Limitations of existing system:

User need computer

User need internet

User need internet enabled phone

Searching not possible at any time

Proposed System:

Proposed system enables users to access Wikipedia using mobile phone by sending a sms (short

message service). It is easy to use and can be accessed from anywhere at any time and it is less

expensive compared to other existing systems. The user can use any kind of mobile phone and

doesn’t require an Internet connection or any other additional functionality.

Features of proposed system:

User doesn’t need a computer

User can use any mobile phone

User doesn’t need an internet connection

Searching is possible at any time

Page 10: Voice wiki on mobile project report

VOICE WIKI FOR MOBILE PHONES 4

Dept. of Information Technology AWH Engineering College

3.TECHNOLOGY USED

MS Visual Studio 2005

Microsoft Visual Studio is an integrated development environment (IDE) from Microsoft. It

can be used to develop console and graphical user interface applications along with Windows

Forms applications, web sites, web applications, and web services in both native code

together with managed code for all platforms supported by Microsoft Windows, Windows

Mobile, Windows CE, .NET Framework, .NET Compact Framework and Microsoft

Silverlight.

Visual Studio includes a code editor supporting IntelliSense as well as code refactoring. The

integrated debugger works both as a source-level debugger and a machine- level debugger.

Other built- in tools include a forms designer for building GUI applications, web designer,

class designer, and database schema designer. It accepts plug- ins that enhance the

functionality at almost every level—including adding support for source-control systems

(like Subversion and Visual SourceSafe) and adding new toolsets like editors and visual

designers for domain-specific languages or toolsets for other aspects of the software

development lifecycle (like the Team Foundation Server client: Team Explorer).

Visual Studio 2005, codenamed Whidbey (a reference to Whidbey Island in Puget Sound),

was released online in October 2005 and to retail stores a few weeks later. Microsoft

removed the ".NET" moniker from Visual Studio 2005 (as well as every other product with

.NET in its name), but it still primarily targets the .NET Framework, which was upgraded to

version 2.0. It is the last version available for Windows 2000 and also the last version to be

able to target Windows 98, Windows Me and Windows NT 4.0 for C++ applications.Visual

Studio 2005 was upgraded to support all the new features introduced in .NET Framework

2.0, including generics and ASP.NET 2.0.

Page 11: Voice wiki on mobile project report

VOICE WIKI FOR MOBILE PHONES 5

Dept. of Information Technology AWH Engineering College

C#.NET

C# is a simple,modern,general-purpose,object-oriented programming language.

It was developed by Microsoft within the .NET initiative and later approved as a standard

by Ecma (ECMA-334) and ISO (ISO/IEC 23270).

The language is intended for use in developing software components suitable for

deployment in distributed environments.

Microsoft Visual C# is Microsoft's implementation of the C# specification, included in

the Microsoft Visual Studio suite of products.

It is based on the ECMA/ISO specification of the C# language, which Microsoft also

created.

MS SQL

Microsoft SQL Server is a relational model database server produced by Microsoft

Microsoft SQL Server is an application used to create computer databases for the

Microsoft Windows family of server operating systems.

Microsoft SQL Server is a relational database management system.

It supports Structured Query Language (SQL), which is the most common database

language in use today.

While it is most popular for use with small to medium sized databases, it has been

catching on for use with large enterprise databases in recent years.

Page 12: Voice wiki on mobile project report

VOICE WIKI FOR MOBILE PHONES 6

Dept. of Information Technology AWH Engineering College

4.SYSTEM DESIGN

4.1 MODULES

There are 4 modules in “VOICE WIKI ON MOBILE PHONE”; they are listed below, following

a brief discussion.

1) Retrieving SMS

2) Wikipedia Search

3) Convert text to Voice

4) Revert Call

Retrieving SMS

This module allows you to send and receive SMS messages using AT commands.

AT commands are instructions used to control a modem. GSM/GPRS modems and mobile

phones that we use along with the system support an AT command set that is specific to the

GSM technology, which includes SMS-related commands to send and receive messages.

Wikipedia Search

This module allows you to extract the keyword searched by the user, and later a Wikipedia

search of the user keyword is performed and the resulting information is extracted. The extracted

data from the net is in text format.

Convert text to Voice

This module helps to convert the searched content to voice format. Here the text file of the

retrieved data from Wikipedia is converted to voice format. This module uses the speech

recognition system.

Page 13: Voice wiki on mobile project report

VOICE WIKI FOR MOBILE PHONES 7

Dept. of Information Technology AWH Engineering College

Revert Call

This module revert a call to the sender and give the information in the voice format. This

can be done using a audio streaming server.

4.2. ARCHITECTURE DIAGRAM

Fig:-Architecture Diagram

Page 14: Voice wiki on mobile project report

VOICE WIKI FOR MOBILE PHONES 8

Dept. of Information Technology AWH Engineering College

The user sends a sms containing the keyword to the system. The

systems then search the keyword on Wikipedia and retrieve the corresponding data. It then

converts the text data into an audio format and gives the user the output in the form of a call.

4.3. DATA FLOW DIAGRAM

Fig: Data flow diagram (level 0)

Page 15: Voice wiki on mobile project report

VOICE WIKI FOR MOBILE PHONES 9

Dept. of Information Technology AWH Engineering College

Page 16: Voice wiki on mobile project report

VOICE WIKI FOR MOBILE PHONES 10

Dept. of Information Technology AWH Engineering College

Fig: Data flow diagram (level 1)

Page 17: Voice wiki on mobile project report

VOICE WIKI FOR MOBILE PHONES 11

Dept. of Information Technology AWH Engineering College

4.4.USE CASE DIAGRAM

Fig: use case diagram

Page 18: Voice wiki on mobile project report

VOICE WIKI FOR MOBILE PHONES 12

Dept. of Information Technology AWH Engineering College

4.5. BLOCK DIAGRAM

Fig: Block diagram

Page 19: Voice wiki on mobile project report

VOICE WIKI FOR MOBILE PHONES 13

Dept. of Information Technology AWH Engineering College

4.6. ACTIVITY DIAGRAM

Fig: Activity diagram

Page 20: Voice wiki on mobile project report

VOICE WIKI FOR MOBILE PHONES 14

Dept. of Information Technology AWH Engineering College

4.7. SEQUENCE DIAGRAM

Fig: Sequence diagram

Page 21: Voice wiki on mobile project report

VOICE WIKI FOR MOBILE PHONES 15

Dept. of Information Technology AWH Engineering College

4.8. CLASS DIAGRAM

Fig: Class diagram

Page 22: Voice wiki on mobile project report

VOICE WIKI FOR MOBILE PHONES 16

Dept. of Information Technology AWH Engineering College

4.9. DATABASE DESIGN

5.1 Login Table

Column Name Data Types Allow Nulls Description

username varchar(50) no administrator’s

username

password varchar(50) no administrator’s

password

5.2 Audio data Table

Column Name Data Types Allow Nulls Description

keyword varchar(50) no keyword searched by

users

audio_file binary no Audio data of the

corresponding keyword

Page 23: Voice wiki on mobile project report

VOICE WIKI FOR MOBILE PHONES 17

Dept. of Information Technology AWH Engineering College

5. REQUIREMENT SPECIFICATION

Software requirement specification (SRS) forms the basis of software

development. The requirements document (SRS) is the official statement of what is required of

the system developers. It should include a detailed specification of the system requirements. It

helps to check if the software has met the requirements. Hence a high quality SRS is a

prerequisite to high quality software. This chapter gives an overview on the following

information:

Hardware Requirements

Software Requirements

HARDWARE REQUIREMENTS

Pentium 3 or higher microprocessors

VGA or other display card compatible for operating system used.

128 MB of RAM

10 GB hard disk

Input devices like keyboard and mouse

Output device like monitor

GMS Modem or GMS support Mobile

Audio Driver

Page 24: Voice wiki on mobile project report

VOICE WIKI FOR MOBILE PHONES 18

Dept. of Information Technology AWH Engineering College

SOFTWARE REQUIREMENTS

OS - Windows NT/XP/Windows 2000 or later

Front End - C#.NET

Back End - SQL Server

Development tool - Visual Studio.NET 2005

Microsoft Speech SDK 5.1 or Higher

Page 25: Voice wiki on mobile project report

VOICE WIKI FOR MOBILE PHONES 19

Dept. of Information Technology AWH Engineering College

6. ADVANTAGES AND LIMITATIONS

6.1 ADVANTAGES

Easy to use

No need of internet connection

Fast processing

Less expensive

User can use any kind of mobile phone

6.2 LIMITATIONS

Requires mobile phone

Network coverage

Availability of system server

User mobile status

Multiple Wikipedia entries

Page 26: Voice wiki on mobile project report

VOICE WIKI FOR MOBILE PHONES 20

Dept. of Information Technology AWH Engineering College

7. FUTURE SCOPE

Multiple entry resolution

System guarantees user gets the call

We can implement this technology to other popular websites .

.

Page 27: Voice wiki on mobile project report

VOICE WIKI FOR MOBILE PHONES 21

Dept. of Information Technology AWH Engineering College

8. CONCLUSION

It is the easiest,inexpensive and reliable way of gathering information.

Since this technology allows user to use any kind of mobile phone,it is very user friendly.

Voice Wiki = Future of information retrieval.