Emergency Service Provide by Mobile

12
CSE 3100- SOFTWARE DEVELOPMENT PROJECT-2 Name of the project : HELP CARE CENTRE WITH AUTOMATIC MESSAGE CENTRE. Project supervisor Mr. Sheikh Md. Masudul Ahsan Assistant Professor Department of Computer Science and Engineering Khulna University of Engineering and Technology Khulna-9203 Project submitted by Prosenjit saha Samiul hoque Roll: 0507012 Roll:0507035

description

 

Transcript of Emergency Service Provide by Mobile

Page 1: Emergency Service Provide by Mobile

CSE 3100- SOFTWARE DEVELOPMENT PROJECT-2

Name of the project: HELP CARE CENTRE WITH AUTOMATIC MESSAGE CENTRE.

Project supervisor

Mr. Sheikh Md. Masudul Ahsan

Assistant Professor

Department of Computer Science and Engineering

Khulna University of Engineering and Technology

Khulna-9203

Project submitted by

Prosenjit saha Samiul hoque

Roll: 0507012 Roll:0507035

©2008

Page 2: Emergency Service Provide by Mobile

ACKNOWLEDGEMENTS

First of all we acknowledge to almighty ALLAH for completing this project successfully.

Then we are grateful to our project supervisor whose intelligent direction has made the task easier to accomplish. A special thanks to the Head of the Department of Computer science & Engineering to allow us to take several components from the Hardware and Interfacing Lab as also to the teacher who has assigned us this project.

INDEX

1. Help care centre provides emergency service.2. Message centre.3. Database section.4. DTMF circuit.5. Serial port.6. Using speech engine.7. Software review (Windows form).8. Requirements.9. Limitations.

10.Conclusion.

11.Future plan.

Page 3: Emergency Service Provide by Mobile

1. Help care centre provides emergency service:

Help care center is a automated service provider without any kind of operator .It provides helpful service in case of emergency condition .Call center is widely used in every mobile network provider .This software is a automated call centre provides service in extreme condition .After calling to a special number it recognizes desired service by DTMF detection .Then speech engine is used to detect the location who is calling .After taking all of the caller information a call send to emergency service provider (Such as- Ambulance ,Police station ,Fire bridget etc.).

2. Message center :

Message centre is a offline message storage system. If a mobile phone owner is away from his/her phone this software store voice message in pc.

3. Database section:

A relational database created in database section by Oracle 10g.This database provides various operations (such as-insert/delete/update) in every table. The relational database model is given below-

4. DTMF circuit:

In DTMF there are 16 distinct tones. Each tone is the sum of two frequencies: one from a low and one from a high frequency group. There are four different frequencies in each group.

Every phone only uses 12 of the possible 16 tones. If you look at the phone, there are only 4 rows (R1, R2, R3 and R4) and 3 columns (C1, C2 and C3). The rows and columns select

District

District name(pk)

Area code

Thana

Thana id(pk)

Thana name

Area code(fk)

Service

Service id(pk)

Service name

Thana id(fk)

Service information

Thana id

Service id

Phone 1

phone 2

Phone 3

Address

Page 4: Emergency Service Provide by Mobile

frequencies from the low and high frequency group respectively. The exact value of the frequencies are listed in below-

ROW # FREQUENCY (HZ) COL # FREQUENCY (HZ)

R1: ROW 0 697 C1: COL 0 1209

R2: ROW 1 770 C2: COL 1 1336

R3: ROW 2 852 C3: COL 2 1477

R4: ROW 3 941 C4: COL 3 1633

DTMF circuit is designed by MT8870 DTMF decoder IC and Atmega 32 micro controller.MT8870 IC received the DTMF signal and decode then transfer it to serial port through Atmega32 micro controller.

Figure: Atmega 32 micro controller.

Figure: MT8870 DTMF decoder 18 pin dip.

5.Serial port :

In computing, a serial port is a serial communication physical interface through which information transfers in or out one bit at a time (contrast parallel port). Serial ports use two-level (binary) signalling, so the data rate in bits per second is equal to the symbol rate in baud. Common bit rates per second for asynchronous start/stop communication are 300, 1200, 2400, 9600, 19200 baud, etc. The port speed and device speed must match, though some devices may automatically detect the speed of the serial port. Though the RS-232

Page 5: Emergency Service Provide by Mobile

standard is formally limited to 20,000 bits per second, serial ports on popular personal computers allow settings up to 115,200 bits per second; the capability to set a bit rate does not imply that a working connection will result. Not all bit rates are possible with all serial ports.

*Port Wiring Notes

DB9 Male (Pin Side) DB9 Female (Pin Side)

DB9 Female (Solder Side) DB9 Male (Solder Side)

------------- -------------

\ 1 2 3 4 5 / \ 5 4 3 2 1 /

\ 6 7 8 9 / \ 9 8 7 6 /

--------- ----------

9-pin 25-pin Assignment From PC

Sheild 1 Case Ground Gnd

1 8 DCD (Data Carrier Detect) Input

2 3 RX (Receive Data) Input

3 2 TX (Transmit Data) Output

4 20 DTR (Data Terminal Ready) Output

5 7 GND (Signal Ground) Gnd

6 6 DSR (Data Set Ready) Input

7 4 RTS (Request To Send) Output

8 5 CTS (Clear To Send) Input

9 22 RI (Ring Indicator) Input

DTMF transfer to serial port and pc received the DTMF by following code-

sp.DataReceived += new SerialDataReceivedEventHandler(sp_DataReceived);

sp.Open();

sp.Write("AT+CLIP=1" + "\r");

DTMF is detected by the following code-

int buffer;

buffer = sp.ReadByte();

Then the buffer is compared and functions are called to do the several operation.

Page 6: Emergency Service Provide by Mobile

6.Speech engine :

Microsoft speech sdk 5.1 is used to detect the voice command for storing caller information. This involves the computer taking the user's speech and interpreting what has been said. This allows the user to control the computer (or certain aspects of it) by voice, rather than having to use the mouse and keyboard, or alternatively just dictating the contents of a document.

The complex nature of translating the raw audio into phonemes involves a lot of signal processing and is not focused on here. SR engines are often called recognisers and these days typically implement continuous speech recognition (older recognisers implemented isolated or discrete speech recognition, where pauses were required between words).Speech recognition usually means one of two things. The application can understand and follow simple commands that it has been educated about in advance. This is known as command and control (sometimes seen abbreviated as CnC, or simply SR).

Alternatively an application can support dictation (sometimes abbreviated to DSR). Dictation is more complex as the engine has to try and identify arbitrary spoken words, and will need to decide which spelling of similarly sounding words is required. It develops context information based on the preceding and following words to try and help decide. Because this context analysis is not required with Command and Control recognition, CnC is sometimes referred to as context-free recognition.

District , thana which are inserted into database is also used in speech engine for detecting location. This sdk is efficient to recognize voice accurately.

7.Software review (Windows Forms):

There are three parts in software-

1. Database section.

2. Call receiver section.

3. Message centre.

Database section: Here 6 forms are created for database operation. In database section service information can be insert/delete/update efficiently. New District, thana and service can be add or delete by one click.

Call receiver section: This form contains the port selection option.Both serial and Phone serial port can be accessed through this form.

Message centre: This form contains the message save option.Port selection option opens the serial and Phone serial port.

Page 7: Emergency Service Provide by Mobile

Database Insert form:

Database delete form:

Database Update form:

Page 8: Emergency Service Provide by Mobile

Receiver form:

Message centre form:

Page 9: Emergency Service Provide by Mobile

8.Requirements:

1. Microsoft speech sdk 5.1.

2. Nokia pc suite.

3. Oracle 10g.

4. DTMF circuit.

5. Platform: C# (using .NET sdk 3.5).

9.Limitations:

Though we have developed our software using the platform independent programming

language C# but our software is not totally platform independent at all. Speech engine is not efficient to detect voice. But we are tried our best to do that. There are a few limitations in DTMF hardware cause it is not embaded in one circuit.

Page 10: Emergency Service Provide by Mobile

10.Conclusion:

This software is very much user-friendly. It just needs some clicks to provide operate the

whole things. This software is applicable for all versions of WINDOWS operating system. As maximum computer users feel comfort to use this operating system. We are looking forward to improve our software to make it truly platform independent.

11.Future plan:

1. Specially develop the speech engine for help care centre.

2. Develop the software by voice modem(under process).

Resources:

1. Microsoft visual studio 2008.2. Microsoft .net SDK 3.5.3. MSDN.4. Professional C# by Simon Robinson, Christian nagel .5. Complete reference Oracle by Lony and koch.