Sunteți pe pagina 1din 5

Public Safety Application using Android Project Objective

Mobile phone applications are the latest trend and have wide reach among the users. We develop a proof of concept system which implements security services in the mobile for public road safety.

Functional Requirement
These are the functional requirements of the system. 1. 2. 3. 4. 5. 6. Based on the GPS location of the drivers, speed alters must be sent to drivers. Alerts on phone must be played in Human voice. Congestion on the roads must be alerted to mobile phone user using voice alerts. Vehicle on collision path will be alerted at corners. The server should can be configured with school zone information The server should be updated with live traffic scenarios.

Non Functional Requirements


Scalability: The system should scale up for any number of mobile users working concurrently. Performance: The alert should be given in a real time manner. Customization: The phone user can customize the alert tunes as per his need. Visual Interface : The alerting should give flashy screen , so as to give information in easy way to mobile users.

Design System Architecture


The system architecture is given below

tcp Mobile Phone App Alert Server

config DB Admin Portal

Mobile Phone App: It takes care presenting, the audio visual alerts to the user. It also provides the current GPS location of the user to the Alert Server. Alert Server: Alerts Server services the mobile phone application , by tracking the user and providing the alert information to the Mobile Phone App using TCP. Admin Portal: These are JSP Pages for the Admin to configure the system with alerting conditions , congestion related information.

Data Flow Diagram Level 0 Data Flow Diagram


The level 0 diagram show the overall process and data involved in the system.

Congestion Information

Congestion Update

Congestion Table

Congestion information in terms of excel sheet are given to congestion update module to configure the congestion information to the Congestion Table.

School Information

School information update

School Table

School information are updated by admin to the system where it is kept in a School table.

Level 1 Data flow Diagram


The level 1 diagram shows how the mobile alerts are issued to the mobile phone user.

Mobile GPS information

Check for Speed Alerting in school zone

Speed Alert

Check For Congestion

Congestion Alert

Check for Head on Collision

Collision Alert

Mobile Phone Alert

Group Alert & compress

Use Case Diagram


Two users are there in this system 1. Mobile App user 2. Admin of the system Mobile App user use the system in the following way.

Recieve Speed Alert

uses

uses Recieve Congestion Alert

uses

Mobile App User Recieve Collision Alert

Admin use the system in the following way

Configure Speed Alert uses

uses Configure Congestion Alert

uses

Admin Configure Collision Alert

Class Diagram

Activity Task

SpeedAlertActivity +onCreate() +onDestroy()

-End2 MessageListener * +onRecieveMsg()

SafetyMainActivity -End1 +onCreate() +OnDestory() 1 CollisionAlertActivity +onCreate() +onDestory()

CongestionAlertActivity +oncreate() +ondestroy()

Database -End4 +executeQuery() * -End3 Config 1 +addSchoolConfig() +addCongestionConfig() +addCollisionConfig() AlertChecker

1 *

-End5 -End6

NetworkListener +listen()

S-ar putea să vă placă și