Ip Documentation
Ip Documentation
1. DESALEGN ABEWA……………..…………TER/141/10
2. YADESA GIRMA………………...………… TER/ 170/10
3. ESKEDAR FENTA……………………. ……..TER/144/10
4. DEREJE DEMISS …………………………..TER/140/10
5. MESFIN BIRHAN…………………………....TER/159/10
6. GETNET FENTA………………………….….TER/148/10
7. AGERBEJISH TEGEGNE …………………TER/121/10
8. BITIR AJANAW………………………………TER/089/09
9. BEWKET MENGISTIE ……………………TER/132/10
10. DIRIGU BEKELE ……..………………TER/142/10
1
Contents
CHAPTER ONE..............................................................................................................................................4
1.1. Introduction.................................................................................................................................4
1.2. Problem Statement............................................................................................................................4
1.3 .OBJECTIVE OF THE PROJECT.....................................................................................................5
1.3.1 General objective........................................................................................................................5
1.3.2 Specific objective...........................................................................................................................5
o Modeling software.....................................................................................................................6
o Designing Software....................................................................................................................7
o Implementation Software..........................................................................................................7
To write android java and xml codes and PHP codes..................................................................7
1 .6 Data collection and Methodology and approaches........................................................................7
1.7.1 Operational feasibility..............................................................................................................8
1.7.2. Technical feasibility.......................................................................................................................8
1.7.3. Economic feasibility................................................................................................................8
2. System analysis........................................................................................................................................9
2.1. Overview of existing system........................................................................................................9
Proposed system....................................................................................................................................10
2.2. System requirement specification...................................................................................................11
2.2.1. Functional requirements...........................................................................................................11
The system shall allow:-....................................................................................................................11
2.2.2. Non- functional requirements..................................................................................................12
2.2.3. Business rules.........................................................................................................................13
2.2.4. Change cases............................................................................................................................13
2.3 .System Requirement Analysis........................................................................................................14
2.3.1 .Actors and use case identification.....................................................................................14
2.3.2. Activity Diagram.....................................................................................................................28
CHAPTER THREE........................................................................................................................................32
3 .system Design........................................................................................................................................32
3.1. Design of Class Diagram................................................................................................................32
2
4.0 INPLEMENTION....................................................................................................................................44
5.0 TESTING...............................................................................................................................................64
6. Conclusion and Recommendations.......................................................................................................66
6.1 Conclusion.......................................................................................................................................66
6.2Recommendation.............................................................................................................................66
References.................................................................................................................................................67
3
CHAPTER ONE
1.1. Introduction
Online vehicle management system is a system which concerned with how vehicles could be
managed and controlled in android based way by the employees of the organization. Currently,
the vehicle gives service use manual way of information gathering and documenting, no reliable
communication between different offices, as well as there is lack of security, difficult to
coordinate, and to identify the owner of the vehicle.
This project will intend to advocate for the need of bus station to change the manual system to
automated system vehicle management system.
Automated systems make it possible to have a better accuracy, to increase the quality of the
work, to reduce the time it takes, to minimize cost, to keep the security and organization of data
in most advantageous condition, to make data transfer easier and also make it possible to save
and back up all transactions in case of vehicle management to keep the data in a centralized way
which is available to all the users simultaneously.
In the current vehicle management system, information exchange and service control is process
in manual way. There are various problems that vehicle management system faces due to the file
manual handling of its daily activity.
4
1.3 .OBJECTIVE OF THE PROJECT
1.3.1 General objective
The main objective of this project is to develop online web based for Vehicle Management
System.
The system contains modules that can handle vehicle and service requester like:
Login page: The login page contains the user name and password and users should enter
the correct username password and their privilege correctly to get the page that he wants.
Emergency report: allows the passengers and the drivers to report emergency conditions
remotely which are happened in anywhere of their action.
Generate and send reports: It allows manager generating report for the tasks performed
and if there is any difficult problem.
View notification and comment: It allows manager to see the comments that are
submitted from the driver.
Vehicle maintenances: Vehicles should be maintained when they are damaged or based
on schedule.
Vehicle registration: Allow the Manager to register vehicle.
5
Manage user account: Manager create & deactivate account for users and users can
update their account.
Make reservation:-the system supports the actors of the system i.e. managers to make
reservation for passengers.
Show availability of ticket:-the proposed system of the project is support the passengers
to see availability of tickets in the system.
Show availability of seat:-the system show availability of seat numbers of the
passengers so the passenger see his/her own seat numbers based on the
System required personal information from users.
Out scope of this project are the functions such as detecting current location, sensing
coming car and arriving car as these functions require sensor and GPS technology.
Used to draw diagrams like use case diagram and activity diagram.
o Designing Software
MySQL server
6
Notepad++
Practical observation
We observed all the activities that are performing and notice down how they
did. It helps us to get real information how the organization performs its
function and this helps to strength the data that gathered through interview and
document analysis. Feasibility analysis
Here we are going to see whether our project is technically, economically and operationally
feasible or not which enables us to decide to continue or halt the project.
7
Easier for navigate the page
8
Minimizes cost of operations and the work load.
Chapter two
2. System analysis
2.1. Overview of existing system
Currently Vehicle Management system uses paper based documentation
or manual system approach to record and report its file. There are
activities and tasks that can be taking care off by the Ticket seller, driver
and technician like:
Report preparation:-Report can be prepared in the form of paper documentation.
Document collection:-document can be collect from the prepared report according to
their function and submitted time to allocated place (it may be shelf).
Order driver:-based on the request service the manager order the driver by giving the
word command or written command.
Order technician:-The manager orders the mechanics by looking the car that need
repair and maintain service for proper function.
9
The officer Evaluate the requester question forward evaluated question to manager.
Assign Car:-when the service requested, the manager arranges and assign the car to
provide service.
The staff request the car service to officer for his/her student for the Purpose of
Training, trip and journey for the practical learning.
The messenger circulates the forms and documented report from one office to
another.
Proposed system
In basis of understanding the current manual system and identifying all the problems occurred
during over all activities of the existing system, the project team has decided to design an
automated system model as solution. Since the client server model fully flagged online at any
time, it will solve the problem and limitation of the current manual system of vehicle
management system.
The administer manages all works related to the system like creating and deleting
manager, driver, officer, staff and mechanics account, generate report and register
employee.
The Vehicle manager in system register vehicle, update vehicle record, view vehicles
information, manage request, assign vehicle(i.e. the system give commands and response
for the drivers, mechanics and officer).
10
The one who drives the car, in this system the driver views notification and request
maintenance record for the mechanic.
Mechanics view maintenance request and generate maintained report.
The functional requirements of the system describe the necessary functions for which the system
is expected to fulfill. The system describes a single and well defines goal of android application
for vehicle management system, and the steps involved to reach this goal. A function is
described as a set of inputs, the behavior and output. The requirements specified are helpful to
clearly understand the scope and the objective of the system, and consequently this will be
helpful for designing the system effectively. The proposed system meets the following
functionalities:-
Registration
Register vehicle
View information
View notification
View maintenance request
View comment
View seat reservation
Request service.
Request maintenance.
Approve request
Send notification.
Give comment
Assign vehicle.
11
Reserve ticket:-
Generate report.
Send comment and View comment.
See availability of seats.
Security:
Authentication and authorization: deals with identifying a user
and what a user is allowed to do respectively.
Session: once the user’s logout from the system then the session do not
enable to return to the previous page
The information provider by the user should be authentic which protect
the system from external attack and spamming.
Performance:
The response time for loading and processing a given task is very fast
and triggered by a single click.
The system should provide the services in considerable time interval.
Reliability:
Increase reliability of the system by removing commonly made errors and
feeding correct inputs for processes.
Provides to the user correct information.
The system notifies users to correct the input data when they enter wrong
inputs.
The system will be able to meet specified objectives as well as the
expectations of the customer.
Usability: User interface will be user friendly, so user can familiar to the system and
easy to use.
Flexibility: The system is flexible for all users when they inter the correct.
12
2.2.3. Business rules
It is the collection of rules and regulations of the vehicle management system that tells the users
follow the activities.
Rule 1: Users of the system must have proper user name and password in order to login
the system.
Rule 2: The manager should check the fuel balance of the car while the car
travelled.
Rule 3: The manager must generate report in case of some conditions occur.
Rule 4: Vehicles should be maintained when they are damaged or based on
schedule maintenance report.
Rule 5: The manager should approve the request of the officer and staff.
Rule 6: System assigned the vehicle and automatically sends notification for driver
and requester office.
13
Admin Manager Driver Officer Staf Mechanic passengers
f
Request
service
Manage
request
Payment
status
Assign
vehicle
Manage
account
Register
vehicle
Submit
comment
View
comment
Check fuel
balance
Update
account
14
Maintenance
request
View
maintenance
request
Route of
information
Create user
account
Manage
account
View route
of
information:
Give
comment
Generate
report
Get exit
permission
See
availability
of tickets.
15
See
availability
of seats.
Send report
View
response
The most important and basic use cases of this system are the following:-
Login
Create account
Delete account
Update account
Check fuel balance
Register vehicle
View vehicle Information
Generate report
16
View request maintenance
Request service
View Response
approve request
Assign vehicle
Get exit permission
Request maintenance
Send report
View notification
Sea availability seat
Sea availability of tickets
View route information
Payment status
Submit comment
View comment
Logout
17
Use case Descriptions
Create
Extend Request
Maintenance
Extend
Manage Delete
Account Account Send
Logout Include
report
Extend
Driver
Include
Include
Register Submit
Extend
Vehicle comment
View Include
vehicle Include
Informatio Include
View
n Include response
Assign Login
Vehicle Include Officer
Include
Include
Approve
Request Include
Include
Include View
Include
Notificatio
Include
Manager Include n
Check fuel
Balance
Update
account
Generate Includ
Report e
Request
Get exit service
Permission Mechanics
View
comment
18
Figure 1: use case diagram
Give comment
Include
Report Login
emergency Include
Include
Passenger Submit
comments
Include
See availability of
seats Include
19
Use case description includes use case Id, use case name, particular actors, descriptions of the
use case, preconditions, basic course of action(actor action and system response), post
conditions, flow of event and whatever which is important in modeling the user go.
Use case name Login
UC ID UC 1
Precondition They must have user account, user name and password.
Alternative course 5.1. If username and password is not validating, the system display
of action login fail and return to basic course action 3.
20
Use Case ID: UC-ID2 Use Case ID: UC-ID2
Preconditions: First The user must login into the system and know the information
Post conditions: The availability of seat information must added into the database
Events:
A4:2 Go to step 2
21
Use case name: Manage account
Actor: Administrator
Description Administrator r creates account for deriver, officer, mechanics, and staff.
Alternative 5.1. The system display error messages that the input values are incorrect return
22
course of to step 3.
Action
Post-condition: User account is created.
Actor Passenger
Preconditions The user must be registered and login into the system
Post conditions The route information details must added into the database
23
Alternative Courses: A4: User enters invalid data
A4:2 Go to step 2
Basic course of action 3. The user inserts account type, user name 2. System display updates
account form.
e, password, and other user information.
5. System checks the new
4.User click update button
account information with the
6. The systems save the new account existing account in database.
Alternative course of 5.1. The system display error messages that the input values are incorrect.
Action
24
Post-condition: Account is updated
:
Table 3 Use case description of update account
Actor: Administrator
Description It allows the Administrator to delete user account from the system.
4.System display
7.Use case end recommend page.
6.Systems deactivate
user account
25
Alternative course of 5.1. If Administrator click no button, then system back into basic course
Action of action 3.
Post-condition: Account is deactivated.
Actor: Manager
26
Alternative course of 5.1The system display error messages that the input values are
Action incorrect or fill input value and display Basic course of action 4.
Post-condition: The managers get vehicle information.
Actor: Manager
Pre-condition: The manager activates the system and login to the system.
Basic course of action Selects the register car link. the vehicle registration form.
Alternative course of 5.1. The system displays incorrect entered data message and return
Action to path 3
Post-condition: The vehicle is registered.
27
Table 6: Use case description of register vehicles
Actor: Manager
Description It allows the manager to assign car for the requested service
28
Table 7 : Use case description of assign vehicle
Actor: Manager
Description The fuel balance form takes and compares two reading of current
entry and the previous saved reading and produces fuel balance data.
Pre-condition: Manager must get information of vehicles status.
User action System response
1. Manager enters username and 2. System checks the
password. validity of username and
Basic course of action
4. Manager enters input value. password and then
6. The system save the difference checks for authentication
and store the status of fuel. and authorization.
7. Use case ends. 3.System display fuel
balance page
5. System checks the
validity the input data.
.
29
Table 8: Use case description of check fuel balance
Actor: Driver
Description A driver formulate request to repair vehicle. The request describes briefly the vehicle
problem.
Pre-condition: Driver is registered.
User action System response
1The driver click request maintenance 2.System display vehicle
link. maintenance form
Basic course of action
4.System checks validity of the
.
information
3. Driver enters information related to
5.System stores the data in the
the maintenance request for the
database.
vehicle.
6.Use case ends.
Alternative course 4.1.
of If the data is invalid or incorrect the system displays “invalid input” message.
Action
:
Table 9 Use case description of request maintenance
30
Use case name: Request vehicle service
Description It allows the staff (i.e. employee under officer) request service to
officer and the officer directly request vehicle service to manager.
Pre-condition: Officer and staff enter user name and password.
1. Officer and staff enter user name and 2. System checks the
password. validity of username and
Basic course of action
3. The officer and staff click the password and then checks
request service button. for authentication and
5.Officer and staff fill required vehicle authorization.
information on displayed form. 4. The system displays
6. User clicks send request button. request service form.
8. Use case ends. 7.System checks validity
of the information
8. The system displays
sent message
acknowledgement.
31
:
Table 10 Use case description of request services
Actor: Manager
Description It allows administrator and manager generating report for the tasks
performed and if there is any difficult problem.
Pre-condition: The admin and manager open the system and login to the system
User action System response
1. The user must log to his/her 3. The system displays the
page options (criteria).
Basic course of
2. The user select generate 5. System check selected
action
report link. criteria by the user.
4. The user selects the criteria 6. The system displays the
from the given options and clicks information to the user.
on Display button.
7. Use case ends.
Alternative course5.1.
of The system displays error message as invalid selection.
Action
32
Table 12: Use case description of generate report
33
Use case name: View maintenance request
Actor: Mechanic
Description This use case describes viewing maintenance request to repair the vehicle.
Pre-condition: The mechanics open the system and login to the system
User action System response
1. User enters username and password. 2. System checks the validity
4. Mechanic click approve button. and then authentication and
Basic course of action
6.Users click ok button authorization of username and
password.
8. Use case ends. 3. System display viewing
maintenance request page.
5. System display
recommended page.
7. System automatically
updates the vehicle condition
and sends response to driver.
:
Table 11 Use case description of view maintenance request
34
Use case name: Submit Comment
Description The driver and officer can give comment or feedback to manager.
35
Alternative course 5.1.
of The system display error message and give a chance to retype.
Action
Actor: Manager
Description It allows manager to see the comments that are submitted from the driver.
Basic course of action 1. User clicks the log out 2.The system
button responds to the
4.Use case ends requested action.
3.System returns the
users to the login
page.
37
Table 14: Use case description of logout2.3.2. Sequence Diagram
38
Figure 2: Sequence diagram for create account
39
Figure 3 : Sequence diagram for login
40
Figure 4: Sequence diagram for register vehicle
41
42
Figure 5: Sequence diagram for view vehicle information
43
Figure 6 Sequence diagram for logout
44
2.3.2. Activity Diagram
Activity diagram is another important diagram in UML to describe dynamic aspects of the
system. Activity diagram is basically a flow chart to represent the flow form one activity to
another activity. The activity can be described as an operation of the system. So the control flow
is drawn from one operation to another. This flow can be sequential, branched or concurrent.
Activity diagrams deals with all type of flow control by using different elements like fork, join
etc.
Home page
Home page
Submit
45
System display creates account form.
Incorrect Validate Correct
Figure 7: Activity diagram for create account
Home page
Home page
Submit
47
CHAPTER THREE
3 .system Design
3.1. Design of Class Diagram
The class diagram is a static model. It represents the static view of an application. Class diagram
is not only used for visualizing, describing and documenting different aspects of a system but
also for constructing executable code of the software application. The class diagram describes
the attributes and operations of a class and also the constraints imposed on the system. The
classes diagrams are widely used in the modeling of object oriented systems because they are the
48
only UML diagrams which can be mapped directly with object oriented languages. The class
diagram shows a collection of classes, interfaces, associations, collaborations and constraints.
Request
maintenances
-Full
Assign vehicle User Reservation
User name: :varchar(45)
-Request:varchar(35) Seat
Date:Datetime
Comment -Request -sid:int
- Reason: :varchar(45) -seatno:int
-Name:string -Vehicle
user_id:varchar( -user_id:string Status:varchar -reservedate:date
45) -sex:string
-phone no:string -name:string M
+get sid() -reservetime:time
+get seatno() -email addres:string
-plate -username: string -email: :string -phone int
Manage account -passward:string -date;datetime
no:varchar(45) ticket amount:int
ticket no :int
+view request()
-Full +mainteinance_reque
name: :varchar( st()
+send_response()
submitcomment ()
M
45) view comment()
Search
- +login ()
-create account +update account () M
-update account Submit 1
-delete account +assign vehicle() M request M Reserve
View
M
+send notification()
M 49
Assign
I
manages n Give
1 1
1 1 h View 1 1
e
r
Attribute Purpose type
Table17:
User-id To identify the user Varchar(20)
Description of
Full Represents the name of Varchar(15) Assign vehicle
the user class
Name
Method Purpose
:
Table 17 description of comment method
method Purpose
51
submit comment() Used to send comment
Plate no Used to identify the car from the other car Varchar(30)
Method Purpose
52
Phone no manager phone no Varchar(20)
:
Table 21 Ticket seller method
Method Purpose
53
Emergencyreport() Used to send emergeny conditions
:
Table 24 Send report class
:
Table 25 Send report method
Methods Purpose
54
Fig 3.1 welcome page
55
Fig 3.2 log in as page
56
Fig 3.3 first officer page
57
CHAPTER 4
4.0 INPLEMENTION
Login (Username, password):- that pass/checks three arguments for login function.
If length of username and password==0:- Check that Zero length is not allowed.
Display error message “username and password cannot be empty”.
Stay in the same page and the actor fills the form after he or she knows the field is required.
The system retrieves username and password which the actor submits.
If username! =username or password! =password or status! =active: - Authentications for
the right actor.
Display error message “Invalid username or password or your account is deactivate”.
If his/her account detail is correct access the required page.
Sample code
<?php
include("connection.php");
session_start();
if(isset($_SESSION['user_id']))
$mail=$_SESSION['user_id'];
58
} else {
?>
<script>
alert(window.location='login.php');
</script>
<?php
?>
<html>
<head>
<SCRIPT language=Javascript>
59
<!--
function isNumberKey(evt)
return false;
else{
return true;
//-->
</SCRIPT>
</head>
<body>
<div id="tooplate_wrapper">
<div id="tooplate_header">
60
<div id="tooplate_menu">
<ul>
<ul style="margin-left:10px;padding-right:4px;">
<li><a href="reportvehicle.php">Vehicle
Report</a></li>
<li><a href="FuelReport.php">Fuel
Information</a></li>
</ul>
</li>
61
<li><a href="logout.php">Logout</a></li>
</ul>
<div id="tooplate_content">
<fieldset><table align="center"style="color:black">
<tr>
</tr>
<tr>
<option ></option>
62
<option value='Nissan patrol'>Nissan patrol</option>
<option value='Fiat-mini-bus'>Fiat-mini-bus</option>
</select></td>
</tr>
<tr>
<option ></option>
<option value='TVTSLEFY61NRA'>TVTSLEFY61NRA</option>
<option value='KUN25L-PRMDHV'>KUN25L-PRMDHV</option>
<option value='HZJ79LTJMRS'>HZJ79LTJMRS</option>
<option value='CVRULCFD22NWN'>CVRULCFD22NWN</option>
63
<option value='IHZJ105L-GMRS'>IHZJ105L-GMRS</option>
<option value='BE637JLSH'>BE637JLSH</option>
<option value='BF120'>BF120</option>
<option value='9BM3840883B'>9BM3840883B</option>
</select></td>
</tr>
<tr>
</tr>
<tr>
</tr>
64
<tr>
</tr>
<tr>
</tr>
<tr>
<option ></option>
<option value='Insured'>Insured</option>
<option value='Uninsured'>Uninsured</option>
</select></td>
</tr>
65
<tr> <td></td>
</tr>
</table>
</form></fieldset>
<?php
if(isset($_POST['submit']))
//geting values
//$username=$_SESSION['user'];
$pno=$_POST['pno'];
$vtype=$_POST['vtype'];
$model=$_POST['model'];
$eno=$_POST['eno'];
$owner=$_POST['owner'];
$cap=$_POST['cap'];
$ins=$_POST['ins'];
$status=1;
$date=$_POST['date'];
66
$query="SELECT * FROM vehicleregister where Plate_no='$_POST[pno]'";
$resultw=mysql_query($query);
$count=mysql_num_rows($resultw);
if($count==1){
while($row=mysql_fetch_array($resultw)){
$Plate_no=$row[0];
if($Plate_no==$_POST['pno']
if($Plate_no==$_POST['pno'])
if($Plate_no==$_POST['pno'])
else
67
if($pno==$pno)
//echo"$insert";//
if (!mysql_query($sql,$conn))
else
?>
68
CHAPTER FIVE
5.0 TESTING
Testing is a trial experience in which the deliverables of the project are checked with acceptable
Standards in the project. We used unit testing, system testing to test the correctness of each
Module and the compiled program.
Integrated testing: - all the modules will be combined together and tested it for its fitness
with each other and with the systems functionality. If error occurs in combining them, the
module with problem will be identified and recombined.
69
accessed as menu
check whether the report The selected report will be
Report from
will be generated or not displayed
check the navigation The form required Will be
All forms
functionality displayed
1.
System testing: - the team member to performs over all functional testing by checking
whether it meets the required target or not. Here the system is partially functional and
reached its requirement.
70
CHAPTER 6
6.2Recommendation
The system that we have developed involves online based vehicle management system for
bus station. We recommend the following features need to be included in any further revision
and extension attempt.
71
Therefore, others who are interested to develop a new system on vehicle management system for
bus station or other related systems can get some initial idea about the system. By focusing on
the limitation and functional areas of the system they can also develop a better vehicle
management system that automates all files managed in vehicles management office and other
related thin.
References
1.Jeffery A.Hoffer, Joey F.George. Modern systems analysis and design. 2005.
2. Jeffery L.Whitten, Lonnie. Systems analysis and design methods . 2004 G.C.
4. http://www.setha.info/docs/ict/course/0001/chap08.pdf. [Online]
5. Object Oriented and the UML.2nd rev. Ed England: The Cambridge University Press.
72
73
74