Project Title: Petrol Pump Automation and Monitoring System
Project Title: Petrol Pump Automation and Monitoring System
PROJECT
TITLE
Pankaj Singh 1
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
PROJECT TITLE
System (PPAMS)”.
This software is design to automate the task of petrol pump spread across in
1. Reliable
2. Accuracy
3. Fault Tolerant
4. Fast
Pankaj Singh 2
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
INTRODUCTI
ON
Pankaj Singh 3
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
INTRODUCTION
organization.
distribution center :-
Employee Appointment
Employee Attendance
Employee Salary
Employee Shifts
Pankaj Singh 4
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
4. Management of Report :-
reports such as :-
Pankaj Singh 5
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
OBJECTIVE
Pankaj Singh 6
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
OBJECTIVE
1. Employee Management :-
salary management.
Pankaj Singh 7
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
every one hour bases and can generate Fuel Order sub sequentially .
Headquarter.”
centre.
4. Report Management :-
Employee Reports
Pankaj Singh 8
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
PPAMS is design in such a manner that certain business task can be done
User Permissions
Log file is also maintained on day to day basis for entire system
Pankaj Singh 9
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
PROJECT
CATEGORY
Commercially available RDBMS are Oracle, Ms-Sql Server, Sybase, Ingress, and
Informix etc.
Pankaj Singh 10
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
field is considered as column and each record is considered as a row of table. Any
truly RDBMS is relational if and only if complies with the 12 rules initiated by
E.F Codd known as Codd Commandments. One such rule is Integrity Rule, which
Operations on Relations
Integrity Rules
record does data retrievals. The following are relational Operations are:
Projection
Selection
Cartesian Product
Unions
Pankaj Singh 11
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
TOOLS &
PLATFORM
Pankaj Singh 12
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
Servlets occupy a central position between enabled clients and application servers.
JSP and Servlets as working in the environment of the web container that provide
connection and services. By means of these connections, JSP and Servlets control
Client Presentation
Web Browsers
HTML pages Internet
Java Applets Aware Devices
Pankaj Singh 13
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
Any J2EE server can execute Servlets and JSP pages but they can also run
by standalone Web Servers plugins. Servlets and JSP can be run with expensive
server software and hardware inside free web containers such as Apache Tomcat.
Pankaj Singh 14
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
The JDBC API is designed to allow developers to create JAVA code that
can access almost any relational database without needing to continually rewrite
their code. Despite standards set by the ANSI committee, each database system
vendor has a unique way of connecting to its system. Any type of JAVA code,
including JAVA Servlets, JSP Pages, Enterprise JAVA Beans and plain JAVA
The JDBC API was first introduced with release 1.1 of JDK. JDK 1.5
contains JDBC 3.0 which of the composed of the JAVA.SQL and JAVAX.SQL
packages. JDBC provides application developers with a single API that is uniform
and database independent. The API provides a standard to write to, as well as
standard that takes all of the various application ensigns into account.
The API database independence is due to set of JAVA interfaces that are
implemented by a driver. The driver takes care of translating the standard JDBC
calls into the specific calls required by the database it supports. The application is
written once and then moved to the various drivers. The application remains the
same; the driver change. Driver may be used to develops the middle tire of a
developers to retain the specific functionally that their database vendor offers.
JDBC drivers must support ANSI SQL-2 entry level, but JDBC allows to
Pankaj Singh 15
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
developers passing query strings directly to the connected driver. These strings
may or may not be ANSI SQL or SQL at all. The use of these strings is up to
underlying driver.
interface. Both JDBC and ODBC however are based on the X/open SQL
translate JDBC to ODBC this implementation alone with native methods is very
Pankaj Singh 16
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
When we write any program either in Java or HTML we can see that each
command is doing, since it being done in front of you in the browser. In the case
of Servlet is quite different. Everything happens behind the curtain. You cannot
see what is happening. Thus, Servlet is kind of software which on the side of
know that applets run inside of a Java-enabled browser enabled server. On the
contrary, Servlets do not display a graphical interface to the user. Only the result
of the servlet’s processing are returned to the clients, in the form of HTML.
It can also be said the servlets are Java classes that confirm to a specific
interface that can be invoked from the server. The functionality provided by the
servlets is not restricted the web servers. Any servers that support the Servlet API
SUN that defines the classes and interfaces used to create and execute the servlets.
server, the server may forwards the request to a Servlet. At the point the Servlet
can the process the request, through Database access or any other means, and
Pankaj Singh 17
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
To run the Servlet and JSP you need to install a Web server with a Java
Servlet and JSP server engine. There are many Servlet and JSP engine from which
enterprise application servers such as BEA Web logic server and Iplanet
application server. Fortunately, Java is standardized, and any Servlet and JSP
engine that is compliant with the Servlet 2.3 and JSP 1.2 Specification should be
compatible. Regardless of which of these products you choose to use, the code
and deployment descriptors should require little, if any changes. Because Apache
Tomcat is free, of high quality and is the official references implementation for the
in addition to the Java Web server environment. Production system usually use
Pankaj Singh 18
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
capability, but only handles situations where the dynamic information is based on
the client's environment. With the exception of cookies, HTTP and form
submission data is not available to JavaScript. And, since it runs on the client,
HTML pages that only benefit marginally by the insertion of small amounts of
dynamic data. Previously, the cost of using dynamic data would preclude its use in
Pankaj Singh 19
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
HTML is a language for describing how pages of text, graphics and other
information are organized, formatted and linked together. By 1993, almost 100
computers throughout the world were equipped to serve up HTML pages. Those
interlinked pages were dubbed the World Wide Web (WWW), and several web
browser programs had been written to allow people to view web pages. Because
the popularity of the Web, a few programmers was Mare Andresen; he went on to
become rich and famous, selling one of the world’s most popular Web browser,
Netscape Navigator.
Today HTML pages are the standard interface to the internet. They can
include animated graphics, sound and video complete interactive programs, and
good old fashioned text. Millions of Web pages are retrieve each day from
speed internet connection through TV cables, modernized phone lines and direct
Pankaj Singh 20
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
MySQL, the most popular Open Source SQL database management system,
generation Open Source Company that unites Open Source values and
corporate network. To add, access, and process data stored in a computer database,
you need a database management system such as MySQL Server. Since computers
are very good at handling large amounts of data, database management systems
applications.
A relational database stores data in separate tables rather than putting all the
data in one big storeroom. This adds speed and flexibility. The SQL part of
“MySQL” stands for “Structured Query Language.” SQL is the most common
Pankaj Singh 21
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
SQL Standard. The SQL standard has been evolving since 1986 and several
versions exist. In this manual, “SQL-92” refers to the standard released in 1992,
“SQL: 1999” refers to the standard released in 1999, and “SQL: 2003” refers to
the current version of the standard. We use the phrase “the SQL standard” to mean
Open Source means that it is possible for anyone to use and modify the
software. Anybody can download the MySQL software from the Internet and use
it without paying anything. The MySQL software uses the GPL (GNU General
Public License), http://www.fsf.org/licenses/, to define what you may and may not
do with the software in different situations. The MySQL Database Server is very
faster than existing solutions and has been successfully used in highly demanding
MySQL Server today offers a rich and useful set of functions. Its connectivity,
speed, and security make MySQL Server highly suited for accessing databases on
the Internet.
Pankaj Singh 22
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
multi-threaded SQL server that supports different backend, several different client
you can link into your application to get a smaller, faster, easier-to-manage
product.
Pankaj Singh 23
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
HARDWARE &
SOFTWARE
REQUIREMENT
Pankaj Singh 24
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
Hardware Requirements :-
Pankaj Singh 25
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
Software Requirements :-
Pankaj Singh 26
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
PROBLEM
DEFINITION
PROBLEM DEFINITION
Pankaj Singh 27
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
The main problem in the existing system is that the system is completely
manual and is absolutely not efficient in terms of the time effort spent by the
management to set the work of employees & distribution and order of the fuel on
different centre.
PAPER work which is
Complicated
Time consuming
their work and shifting and also managing the attendance, Evaluation of Fuel
Status on hourly and then order to the Headquarter. We had proposed this system
for automation of Petrol Pump System. In this system we had assigned different
type of work to the Employee. The Branch Manger maintains all Employee work
and make their salary on the basis of their attendance and work. Every centre have
the Branch Manger who is responsible to give the report day-to-day to the
Headquarter for daily sale of Fuel and also give the acknowledgement about the
Pankaj Singh 28
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
• One problem is in this system that check the Fuel Status hourly in the
Under Ground Tankers and the problem is that to determine the Fuel Order
Stage.
• Second problem in the existing manual system was that to manage the
Third major problem was the security of the existing system. Due to the
That’s why the need of a secure environment for Fuel Supply/Order process
was required. This project deals with the Petrol Pump Automation &
Monitoring process with in quick time, secure and error free environment. It
LIMITATIONS
Pankaj Singh 29
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
Although this system is being followed since many years but it is not very
fruitful and effective. Manual system whatever fast can not compete with
machines that so like computers. There are a lot of activities since schedule to
manage the Petrol Pump work to evaluation and final report. For all these
• It was a very time consuming process that which job is allotted to which
employee for this finalize the employee shifts, attendance and working
hour.
• There was no provision of finalization of work type before going for the
employee designation.
• This manual system was not so efficient for the any modifications during
the final phase of manage the employee work and Petrol Pump Service.
PRELIMINARY INVESTIGATION
Pankaj Singh 30
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
iterative process. The overall structure is remains dependent on it. Without the
exact the requirement identification of the new system it remains the maximum
• Avoid to order the fuel to the government depo without checking the
• Report Generation.
Pankaj Singh 31
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
After project request from a company and finding the system requirement
clearly
approaches.
Pankaj Singh 32
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
REQUIREMENT
SPECIFICATION
Pankaj Singh 33
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
information from the customer regarding the product to be developed with a view
regarding the product from the users of the product and from the customer through
-Main problems faced by employee are to finalize the fuel type then order
to the headquarter..
-To go through the same work type for next set of work.
Pankaj Singh 34
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
-Time spend in finding that which centre’s fuel selling is more than
other centre.
-Wait for the acknowledgement from the centre that fuel is received.
Requirement Specification.
Pankaj Singh 35
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
PROJECT
PLANNING &
SCHEDULING
Pankaj Singh 36
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
Project Planning
project or activities for the achievement of an objective within stipulated time and
activities as per schedule, and to monitor and control the time and cost of the
project
planning of any project involves the listing of various jobs that have to be
are drawn up along with the estimates of costs and durations for the various jobs,
in the process of planning. The most important requirement for using PERT is the
breaking up of the project into jobs or activities and determining the order of
precedence for these jobs that is deciding which jobs are to be completed before
Pankaj Singh 37
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
The next step is to draw a picture or graph, which illustrates the jobs
outlining the predecessor and successor relations among them. The major tasks in
Pankaj Singh 38
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
PERT CHART
A.Reading&understan
ding
user-req.
reuserreq.rreqrereqreq 2
uirements-
req.requirements-
rererererreqrerequire
ments.
1 customer enquiries
5
E. System
implementation
D.Testing
B.System 3 subroutines
conceptualization and controls 6
F.Documenta
C. System dev.and 4 tion
coding
G.Fully developed
system
The jobs are shown as arrows leading from one circle in the figure to another.
The circles are nodes and denote the completion of particular jobs.
Pankaj Singh 39
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
The node where the arrow depicting a job ends will be the initial point for the
Pankaj Singh 40
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
Customer
Purchase Fuel
Generated Report
Order Acknowledgement
Petrol Pump
Head Quarter Automation Database
Supply Info Relevant Data
&
Monitoring System
Government Depo
Pankaj Singh 41
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
Pankaj Singh 42
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
Customer
1.1
Fuel Purchase Fuel Sales
Management
System
Fuel Details
Centre Bills Report Sales Details
Oil Tankers
Fuel Details
Distribution Acknowledgement
Under Ground Tankers Status
1.2
Government Depo Fuel Order
Order/Acknowledgement Details
Management
System
Receipts
Gov. Depo Details
Centre Fuel Details
Receipts 1.3
Head Quarter Fuel Supply
Supply Details
Payements Management
System
Database
Report
1.4
Fuel Distribution
Centre Details Distribution Details
Management
System
Report
Employee Details
1.5
Employee Salary/Attendance/Shifts
Employee
Management
System
Report
1.6
System Security
Management
System
Pankaj Singh 43
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
1.1.1
Get Fuel
Quality, Fuel ID
Details
Process
Fuel ID
Centre
Fuel Rate
1.1.2
Calculate
Bill Details
Fuel Sales
Process
Fuel ID
Bill Details
Database
Bill
1.1.3
Generate
Bill
Process
Search Criteria
1.1.4
Fuel Sales
Report
Generator
Pankaj Singh 44
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
1.2.1
Get Under Ground
Underground Tankers Status
Tankers
Status
1.2.2
Order
Order Quality , Fuel Name Order Details
Generator
Process
Database
1.2.3
Order Details , Acknowledgement Distribution
Order ID, Acknowledgement
Acknowledgement
Process
Report Criteria
Order Report
Criteria
Order Details
1.2.4
Order
Report
Generator
Pankaj Singh 45
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
1.3.1
Government Depo
Record Manipulation
Process
Gov. Depo Details
Depo Details
1.3.2
Supply
Supply Details
Generator
Process Order Details/ Supply Details
Head Quarter
1.3.3
Receipt
Supply Details
Payment
Process
Database
Supply Details
Report Criteria
Supply Report
1.3.5
Supply/ Order Details
Supply
Report
Generator
Pankaj Singh 46
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
1.4.1
Get Centre
Details
Process
Centre Name
1.4.2
Head Quarter Generate
Distribution Details
Distribution
Process
Database
Distribution Details
Report Criteria
1.4.3
Fuel Distribution
Report
Generator
Process
Distribution Report
Pankaj Singh 47
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
1.5.1
Manipulate
Employee Record
Process
Employee Details
Employee name, ID
1.5.2
Salary
Employee ID
Management
Employee Details
Process
Salary Details
Employee
1.5.3
Attendance
Emp ID, Present/ Absent
Management
Process
Database
Attendance Details
Criteria
1.5.5
Employee Employee Details
Record
Generator
Process
Pankaj Singh 48
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
1.6.1
User
Manager
User Details
User Details
1.6.2
System
Transaction Details
Transaction
Manager
1.6.4
Head Quarter System
Lock Status
Log
Manager
1.6.3
System
Lock
Manager
Database
1.6.5
System
Log Details
Log Report
Generator
Pankaj Singh 49
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
ER- Diagram
Pankaj Singh 50
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
MODULE
DESCRIPTION
Pankaj Singh 51
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
3. Supply Management
6. Security Management
Pankaj Singh 52
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
DATA
STRUCTURE
Pankaj Singh 53
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
2. Centre Master:- This table Store the information about the Centre.
Pankaj Singh 54
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
3. Fuel Master:- This table Store the information about the Fuel.
4. Underground Tanker Master:- This table Store the information about the
Tankers.
6. Government Depo Master:- This table Store the information about the
Depo.
Pankaj Singh 55
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
7. Underground Tanker Master:- This table Store the information about the
Employee.
8. Business Constraint Master:- This table Store the information about the
Business.
9. Supply Transaction:- This table Store the information about the Supply.
10. Order Transaction:- This table Store the information about the Order.
Pankaj Singh 56
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
12. Shift Transaction:- This table Store the information about the Employee
Shift.
13. Attendance Transaction:- This table Store the information about the
Employee Attendance.
Name Type Size Description
AttendanceId Number 5 Primary Key
EmployeeId Number 5 Reference: Employee Master
Date Date
Status Varchar 10
Pankaj Singh 57
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
14. Salary Transaction:- This table Store the information about the Employee
Salary.
15. Receipt Transaction:- This table Store the information about the Supply
Receipt.
Name Type Size Description
ReceiptId Number 5 Primary Key
SupplyId Number 5 Reference: Supply Transaction
ReceiptNumber Number 5
ReceiptDate Date
16. Attendance Transaction:- This table Store the information about the
Payment to the Depo.
Pankaj Singh 58
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
17. Customer Bill Transaction:- This table Store the information about the
Customer’s Bill.
18. User Master Configuration:- This table Store the information about the
User Login.
19. SuperUser Master:-This table Store the information about the Super User.
20. System Log Master Configuration:- This table Store the information
about the User, Who logged in to the System.
Pankaj Singh 59
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
PROCESS
LOGIC
Pankaj Singh 60
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
Step-1 Start
Step- 8 Stop.
Step-1 Start
Step- 6 EndIf
Pankaj Singh 61
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
Step- 8 If Order Report required then Enter Criteria and generate Report
Step- 9 Stop.
Step-1 Start
Step- 9 Stop.
Step-1 Start
Step- 5 Stop.
Pankaj Singh 62
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
Step-1 Start
Step-7 Stop.
Step-1 Start
Step- 3 Upon any such above activity a Long centre is done by System Log
Manger.
Step-4 Upon any Transaction done in the System the System Log Manager
(java.io.serializable)
Pankaj Singh 63
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
Report Generator.
Step-7 Stop.
REPO
RT
Pankaj Singh 64
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
Pankaj Singh 65
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
Pankaj Singh 66
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
Pankaj Singh 67
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
Pankaj Singh 68
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
BIBLIOGRAPHY
SQL, PL/SQL The Programming Language of Oracle 3rd Edition By- Ivon
Bayross.
Pankaj Singh 69
PETROL PUMP AUTOMATION AND MONITORING SYSTEM
Pankaj Singh 70