CHAPTER 1

CHAPTER 1: INTRODUCTION
1.1 PROBLEM SUMMARY & INTRODUCTION:
The assistant of traffic police set the schedule of traffic police but assistant of traffic police is not sure that traffic police is done his duty properly or not, so online attendance is required of traffic police. That is hard for assistant of traffic police. This is main problem of the assistant of traffic police can easily solve by using ‘Smart Traffic Police System’.

The smart traffic system is mainly related to get the attendance of traffic police. The assistant of traffic police can get the location of any traffic police when his/her duty is running.

The smart traffic police system is check the location of traffic police every time that is set by administrator and that data save in system. Using smart traffic police system, assistant of traffic police immediately change the duty of traffic police according to traffic. Public can also report the problem to assistant of traffic police.

1.2 AIM & OBJECTIVES:
Main aim of the smart traffic police system is get the online attendance of traffic police using location. Attendance is get using some time interval.
1.3 PROBLEM SPECIFICATION:
Assistant of traffic police cannot get the attendance of traffic police without internet.

Same problem is repeated by many public users.

Duty is allocate to place that is not defined in a system.

1.4 BRIEF Literature review and Prior Art Search (PAR) about the project
The project is based on to get the attendance of traffic police. So for using this approach we referred the traffic police app which is “Telangana traffic police”,” MTP app”,” UP police traffic app”.

When we refer this application, we realized that the public user can’t directly communicate with traffic police. In increasing time, these are some issues to check the traffic police duty. The assistant of traffic police is not capable to check the duty of every traffic police. In between duty starting time and duty ending time is very difficult to check the where is traffic police. That time we think that there any kind of system that is get the attendance of traffic police using location.

So, we are created one project named “smart traffic police system”. In this system, assistant of traffic police, any time when his/her want. Public user can first do register and can report any problem related to traffic or traffic police.

Assistant of traffic police can get the report of traffic police after his/her duty finished. It attendance is less than that is required then assistant of traffic police is warn related traffic police.

We refer and server some patent which is related to our project which name and their summaries are given below:
Traffic information warning system:
Traffic information warning system is gives the traffic related information. This information is used for public. User but not helpful for traffic police. This system is gives the vehicle traffic information.

Location based emergency announcement:
In this location based emergency announcement system server can send the emergency announce to the client that is related to this system. Based on location server /administrator can give the emergency announcement.

1.5 plan of their work:
First of all we have planned how to get the location of all traffic police. How change the duty of traffic police. So, we plan to build a application their name is “Smart traffic police system”.

Then we analysis the traffic police related sites and applications. We collect all information of the project. We create different phase in our project.

After all task we do designing of application and coding. Then all databases create about application. Then we want to plan live it application for use general purpose and traffic police.

SPIRAL MODEL:
The spiral model can be adopted to apply throughout the entire lifecycle of the application from concept development to maintenance. The spiral model is divided into set of framework activities defined by software engineer team. Each framework activity represents one segment of spiral model.

The Initial activity is shown from centre of circle and developed in clockwise direction. Each spiral of the model includes following steps:
We have completed our project using spiral model as listed below:
Communication: The software development process starts with communication between customer and developer.

Planning: It includes scheduling providing complete timeline chart for project development and risk analysis and complete estimation.

Modelling: It includes detail requirement analysis and project design. Flowchart shows complete pictorial flow of program whereas algorithm is step by step solution of problem.

Construction: It includes coding and testing steps:
Coding: Design details are implemented using appropriate programming language.

Testing: Testing is carried out.

Deployment: Software provides the delivery, support and feedback from customer. If user suggest some corrections, or demands additional capabilities then changes are required for such corrections or enhancement.

Advantages of Spiral model:
Project monitoring is very easy and more effective compared to other models.

Project estimates i.e. schedule and cost is more realistic.

Risk management is in –built feature of spiral model.

It is suitable for very high-risk projects.

Changes can be accommodated in the latest stages of development.

Disadvantages of Spiral model:
It is not suitable for low risk projects.

Cost of this approach is usually high.

Rules and protocols must be followed very strictly to implement the approach.

It does not work very well for smaller projects.

Diagram of Spiral model:
16668755708015 Figure: 1- Spiral Model
00 Figure: 1- Spiral Model
0-17145000
1.6 Materials / Tools required:
MATERIALS:
EDITOR
INTERNET
ELECRIC-CITY
COMPUTERS
TOOLS REQUIRED:
ANDROID STUDIO
JDK
CHAPTER 2: PROJECT DESIGN
2.1 ANALYSIS
2.1.1 STUDY OF CURRENT SYSTEM
The current system has basically interacted with traffic police, not a public user. To add new features and functionality in available application, we decide the new in available
Application is improving the duty schedule and attendance method for traffic police better work. The assistant of traffic police can maintain all this task easily.

2.1.2 PROBLEM AND WEAKNESSES OF CURRENT SYSTEM
Many problems in available applications. Some of traffic police application is already available. That is uses by traffic police cannot get the location of traffic police and not get the report of traffic police. He is not check the current location of the traffic police.

2.1.3 FUNCTION OF SYSTEM
To develop our project, we make use case diagram, ER diagram, sequence diagram, DFD diagram and activity diagram. This diagram helps us to understanding step and relation of our projects activity. The diagrams are following:
Use-Case Diagram
824248126374006310651450483006181862892917005666703086100005022763163373004121243266404003786389458004900379926841936820379144124035200037992671720939003747752613356003747751536083003778563150199916148055745936Set duty Schedule
Set duty Schedule
53441784785717Traffic Police
020000Traffic Police
55874362070029Public
020000Public
-5420783447274Assistant of traffic police
00Assistant of traffic police
-2222532099250016289164780915Location
Location
16397113878580Duty Report
Duty Report
16395703014486Access to entire system
Access to entire system
16522702045123Traffic Alert
Traffic Alert
16179801148856Login
Login
1614311241300Registration
Registration
5452110411099005754370450659500546036545065950057423053987165055841903626344554037514173200584263518129250055486301812925005830570129349505672596932180-31305528144610-304800321027800-1809752329180-2307326909890
Figure:2- Use Case diagram smart traffic police system
574611528130548983902908304307840-147320duty_time
00duty_time
5555615-137795duty_id
00duty_id
8597891860550012026902051052288540-204470atp_name
00atp_name
1431290-213995atp_id
00atp_id
E-R diagram
227076096520Arrange
00Arrange
345440037274500022733003524250prob_desc
00prob_desc
4381500329565000351790033083501651000248412025400001898650195580019113500041275002876550prob_name
00prob_name
30480002889250prob_id
00prob_id
11049002736850per_desc
00per_desc
25273001492250per_name
00per_name
15113001504950per_id
00per_id
47879007738110572770077533505727700702945000965200773811000381000773811000101600696595000565150059055015240057531041402007943850user_name
00user_name
54483006629400user_mail
00user_mail
55435507981950user_id
00user_id
-3810006553200tp_mail
00tp_mail
10096508001000tp_name
00tp_name
-952508001000tp_id
00tp_id
5438775914400location
00location
-409575923925atp_mail
00atp_mail
114245623399750017222112187575Permissions
00Permissions
70757152686860020465143875314007461254760686Sees
00Sees
119742937011440814171338943003404870834934Access
00Access
408214238747700036061653582579Problem
00Problem
410391360198000034366205493929Report
00Report
53991323968931007184573968931220970957429407180945758180120396036566900220925624809450015361565218430Access
00Access
11321141807029001132114598714007428591231900Set
00Set
365760075214840049137217297420User
00User
68507439509700047187763444240Show
00Show
53701045918200022859997271657Manage
00Manage
119951575318260067491359871300228603451860Manage
00Manage
1905007299960Traffic police
0Traffic police
366522036576000190500137160Assistant of traffic police
0Assistant of traffic police
4853940137160Duty Schedule
00Duty Schedule

Figure:3- ER Diagram smart traffic police system
3) Activity Diagram
2543175304800Activity Diagram for traffic police:
44577001488440Failure notice
00Failure notice
279082516598902419350140271526098509550402133600612140Login
0Login
2609850154940
2612390187960No
2543175397954524765003931920002609850345567021336003112770Logout
0Logout
26098502636520145732526365203800475224599531146751884045Manage e-payment
0Manage e-payment
14478002245995380047512172958286751874520Manage traffic
0Manage traffic
144780012172951447800121729529337001217295293370088392023050508839201981200541020Main page
00Main page
Yes
Figure:4- Activity Diagram for smart traffic police system
2543175304800Activity Diagram for user:
44577001488440Failure notice
00Failure notice
279082516598902419350140271526098509550402133600612140Login
0Login
2609850154940
2612390197485 No
2543175397954524765003931920002609850345567021336003112770Logout
0Logout
26098502636520293370088392023050508839201981200541020Main page
00Main page
Yes
2623347205105
293624019367504232437194310114998519367501154903194310
1945802170815Report The Problem
0Report The Problem
3549177179070Make payment
0Make payment
591347169545Show traffic alert
0Show traffic alert

4247042200025115649720002526062022127250
116082426427800
Figure:5- Activity Diagram for smart traffic police system
Activity Diagram for assistant of traffic police:
2543175316361
44577001488440Failure notice
00Failure notice
279082516598902419350140271526098509550402133600612140Login
0Login
2609850154940
2614930204820 No
2543175397954524765003931920002609850345567021336003112770Logout
0Logout
26098502636520293370088392023050508839201981200541020Main page
00Main page
Yes
38188901581785Report
0Report
946151572260Manage traffic police
0Manage traffic police
26098501943735263842558102520097751562735Update system
0Update system
800099233426000443865019437358001001943735790575915035809625915035004419600915035293369991503500
Figure:6- Activity Diagram for smart traffic police system
Sequence Diagram4922520150495System Database
System Database
2487930205740System
System
-36195158115Admin
Admin
: For Admin
5505450249555542925272415
5257802432050054864002476500030708601905000
5708651905003019425142875 Login
3133725181610 Authentication
3114675219710 Acknowledgment
552450229235 Login or wrong password
301942586360561975210185 Set schedule
3124200191770 Store schedule detail
5619754584703114675220345Acknowledgment
3028950848995 Successful or fail
581025192405 Change location
3124200154305 Location detail
3114675173355Acknowledgment
3028950649605561975154305Location set successful or fail
581025202565Manage system
3133725164465Access all detail
3133725183515Acknowledgment
303847572644000571500193040Success
581025173990Logout
581025127000Logout successful
Figure:7- Sequence Diagram for smart traffic police system
Sequence diagram for User
55054502762255429252762252419350-76200System
System
4876800-85725System Database
System Database
9525-85725User
User

5238752667000054864002476500030670501905000
3019425142875570865228600Registration
3133725181610 Fill detail
3114675219710 Acknowledgment
552450133985 Registration successful or fail
301942586360561975210185 Login
3124200191770 Authentication
5619752870203114675220345 Acknowledgment
3028950848995 Login or wrong password
581025192405 Create problem report
312420011430Save detail
5619752482853114675173355Acknowledgment
3028950649605Successfully send or fail
581025202565 View schedule
3133725164465Schedule detail
5715003162303133725183515Acknowledgment
Success or fail
58102517335530384757048500Logout
581025259080Logout successful
Figure:8- Sequence Diagram for smart traffic police system
Dataflow Diagram
Level 0 Diagram
3961130346710Traffic police
0Traffic police
-26035349885Assistant of traffic police
0Assistant of traffic police

3705225160020962024163830
2228850219075Smart traffic police control
00Smart traffic police control

2993390244475
199453536830Public
0Public

Figure:9- DFD level 0 Diagram for smart traffic police system
2257425329565Registration
00Registration
Level 1.0 Diagram for user
467677526987500433387525971500434340026987500-18415316865User
00User

61214029400535337755778535242501720854352925286385001028065143510Fill Detail user_detail
434340028638500435292528638500467677529591000226695038735Login
00Login
Username ; Password
43618153059080035242506477060960017907003514725188595 verify_details
289560031750000
Query report
3524250572770434340040068500467677540068500226695085725Report the problem
00Report the problem
3524250706120
472249586995 prob_detail
00 prob_detail
43529255588000
43529257953700
Figure:10-DFD level 1.0 Diagram for smart traffic police system
Level 1.1 Diagram for Admin
-1841574295Admin
00Admin

51435080010
467677526987500433387525971500434340026987500 Username ; Password
3286125762003371850200025435292528638500 user_detail
-142875259080Login
00Login

43434002673350043529252768600046767752768600022669509525Smart Traffic Police Control
00Smart Traffic Police Control

5048251689103524250647703514725188595435292526479500login_detailprob_detail
459740342265602615313055343852524765000346646516129000
28505151346200029552909652000435292521590000467677521971000434340021971000
435292526035000Verify tp_detail
435292527622500467677527622500436245028765500119062526225500120015025273000151447527178000571500328930
447675145415120015025019000436245025463500 admin_login duty_schedule

Figure:11-DFD level 1.1 Diagram for smart traffic police system
-85725335280Admin
00Admin
Level 2 Diagram
1943100216535Set duty schedule
00Set duty schedule
428625335280
441960027813000442912528067000475297527813000
9334491352553181350182880321944940005441960029718000-209550806450Login
00Login
Username ; Password schedule detail
193357585725View staff information
00View staff information

44291252000250010763251835154429125193040003209925288290475297519304000
42164026606600831215142241004429125224155003162300119380tp_detail
1924050135890Set location
00Set location

442912524320500475297524320500442912524320500
3162300169545320040055245443865028575000 loc_detail
1914525128905Set permission
00Set permission

442912523622000475297523622000442912523622000
4429125254162003181350673103162300200660 perm_detail
Figure:12- DFD level 2.0 Diagram for smart traffic police system
2.2 DESIGN METHODOLOGY
DESIGN ENGINEERING CANVAS ACTIVITY
2.2.1 AEIOU Summary
Environment:
The Android studio is use for making our project. It is most required tool for making our projects.

Interactions:
In our project, the assistant of traffic police is interacting with traffic police.

Objects:
There are many devices are used which is smart phone, tablet, etc. For make Android base application the Android studio is used.

Activities:
We all group member first meet together and make discuss on our project. Then we gathering information related our project. Then we analysis of requirement of our project, planning, designing, prepare layout and then practice in Dreamweaver.

Users:
The users are following: Assistant of traffic police, traffic police and public.

Figure: 13- AEIOU Summary Canvas for smart traffic police system
2.2.2. Empathy Mapping Canvas
User:
The users are Assistant of traffic police, traffic police and public.

Stakeholders:
The stakeholders are Assistant of traffic police, traffic police and public
Activities:
The activities are login, registration, duty management, location tracking for admin. public user can access registration, login and payment notification.

41398725022200
Figure: 14. Empathy Canvas for smart traffic police system
2.2.3 Ideation Canvas
People:
The people are following: Assistant of traffic police, traffic police and public.

Activities:
The activities are login, registration, duty management, location tracking for admin. public user can access registration, login and payment notification.

Situation/Context/Location:
In following situation assistant of traffic police give a traffic alert for traffic police by specific area. This system can avoid corruption having in traffic police duty.

Props/Possible Solution:
The props/possible solution are Android studio, computer, SQLite and collecting unusable information.

Figure: 15- Ideation Canvas for smart traffic police system
2.2.4 Product Development Canvas
Purpose:
We make our project in purpose of traffic police can doing duty regularly and avoid corruption having in traffic system.

Product Experience:
Easily assessable and reliable.

Product Functions:
The function is managing traffic police duty by assistant of traffic police. public user get a payment notification
Product Features:
The features location tracking of traffic police and user friendly.

Component:
A Component is used in our project smart phone, android studio, tablet, computer, internet connection etc.

Figure: 16- Product Development Canvas for smart traffic police system
2.2.5 Business Model Canvas

Figure-17 Business Model Canvas
• Key Partners:
– Assistant of Traffic Police
– Traffic Police
– Public
• Key Activities:
? Admin:
– Login
– Duty Management
– Location Tracking
?User:
– Login
• Key Resources:
– Registration
– Send Query
– Traffic Alert
– Android Studio
– MySQL Database
– SQLite
• Value Propositions:
– Location Tracking
– Traffic Alerts
• Customer Relationships:
• Channels:
– User Friendly
– Easy to Use
– Internet
– Android Studio
Customer Segments:
– Assistant of Traffic Police
– Traffic Police
– Public
• Cost Structure:
– Cost Free
• Revenue Streams:
– Advertisements
CHAPTER 3: IMPLIMENTATION STATERGY
3.1 DATA DICTIONARY
3.1.1. User details:
Field name Data type
1 User ID Number
2 User first name Text
3 User last name Text
4 User password Text
5 User address Text
6 User e-mail Text
7 User mobile Number
Table: 1- User Details for smart traffic police system
3.1.2. Traffic Police details:
Field name Data type
1 tpID Number
2 tpFirstName Text
3 tpLastName Text
4 tpEmail Text
5 tpPassword Text
6 tpUniqueID Number
7 tpMobile Number
8 tpAddress Text
Table: 2- Traffic Police Details for smart traffic police system
3.1.3. Admin details:
Field Name Data type
1 adminID Number
2 adminEmail Text
3 adminPassword Text
Table: 3- Admin Details for smart traffic police system
3.1.4. Permission details:
Field Name Data type
1 perID Number
2 perName Text
3 perDesc Text
4 perTo Text
Table: 4- Permission Details for smart traffic police system
3.1.5. Problem details:
Field Name Data type
1 probID Number
2 probName Text
3 probDesc Text
4 probBy Text
Table: 5- Problem Details for smart traffic police system
3.2 SCREENSHOTS
3.2.1 General User Service :

3.2.2 Traffic Alerts:
169799014751000

3.2.3 Query:
216649314554200
3.2.4 Set Location:
26822408331200
3.2.5 FAQs:
178717915604600
3.2.6 Helpline:
center1236200
3.2.7 View Query
3.2.7 Query:
16681452838500
3.2.8 View Locations:
3.2.8 Show Location:
1788033711200

3.2.9 Admin Activity:
3.2.9 Admin Activity:
182740335433000
3.2.10 General Public Service:
3.2.10 General User:
192913018351500

3.2.11 Police Activity:
center1344200
CHAPTER 4: Summary, Advantages and future scope
4.1 Summary of the results
The assistant of traffic police can get the location of traffic police using the GPS system. So using this features system can get the attendance of traffic police, in time interval that is define by assistant of traffic police.

Public user can only show the schedule of traffic police duty and send the problem report related to the traffic or traffic police.

4.2 Advantages
Accident is decrease because of presence of traffic police.

If anyone user wants to report traffic related problem than helper can easily report the problem.

All types of user use an application. An application is developing in way to each type of user can use it.

Application is developing in simple manner, so every user can easily report the problem.

User can use the application anywhere and anytime.

4.3 Usefulness with respect to existing solutions
The project is based on to get the attendance of traffic police.

In this system, assistant of traffic police, any time when his/her want. Public user can first do register and can report any problem related to traffic or traffic police.

Assistant of traffic police can get the report of traffic police after his/her duty finished. It attendance is less than that is required then assistant of traffic police is warn related traffic police.

The smart traffic system is mainly related to get the attendance of traffic police. The assistant of traffic police can get the location of any traffic police when his/her duty is running.

The smart traffic police system is check the location of traffic police every time that is set by administrator and that data save in system. Using smart traffic police system, assistant of traffic police immediately change the duty of traffic police according to traffic. Public can also report the problem to assistant of traffic police.

Main aim of the smart traffic police system is get the online attendance of traffic police using location.

4.4 Scope of future work
We develop android application as per user and admin requirements. After complete our application. We live the android application on play store. So many user, traffic police, RTO officer and general public can use easily. The information can collect and sharing by user at anytime and anyplace without present at that location. In future, we develop our android application as per user’s and admin requirements.

4.5 Benchmarking project with existing product/services or solutions
Benchmarking is practice of business comparing key matrix of their operation to other similar company.

To share and collect all information in our “SMART TRAFFIC POLICE SYSTEM “android application. For that we have to need Internet data connectivity to use application and get information.

Any information can collect the user without reached at a place and at time to save the time of user.

Anytime and anywhere user can access the application using the Internet.

Application can’t use without the registration. Each and every user must register on it and then after use android Application is provide simple flow of working strategy.

The android application communication between head of traffic police, traffic police and also general public.

4.6 Unique Features of our Project
Get the attendance of traffic police in specific time interval for specific area using his/her location.

CONCLUSION
We can develop a project that get the attendance of traffic police in specific time for specific area. If attendance is below then the regular attendance then head officer of traffic police takes a necessary action. We can also develop the online payment for people who braking the traffic rules.