0% found this document useful (0 votes)
219 views70 pages

Project Title: Petrol Pump Automation and Monitoring System

The document discusses a Petrol Pump Automation and Monitoring System (PPAMS) software that is designed to automate tasks at petrol pumps across various cities in Uttar Pradesh, India. The key objectives of the PPAMS include automating employee management, fuel order management, fuel supply management, report management, and system security. The software uses Java Server Pages for the server side and Java Database Connectivity for database interaction.

Uploaded by

pan12345
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
219 views70 pages

Project Title: Petrol Pump Automation and Monitoring System

The document discusses a Petrol Pump Automation and Monitoring System (PPAMS) software that is designed to automate tasks at petrol pumps across various cities in Uttar Pradesh, India. The key objectives of the PPAMS include automating employee management, fuel order management, fuel supply management, report management, and system security. The software uses Java Server Pages for the server side and Java Database Connectivity for database interaction.

Uploaded by

pan12345
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 70

PETROL PUMP AUTOMATION AND MONITORING SYSTEM

PROJECT
TITLE

Pankaj Singh 1
PETROL PUMP AUTOMATION AND MONITORING SYSTEM

PROJECT TITLE

The title of the project is “Petrol Pump Automation & Monitoring

System (PPAMS)”.

This software is design to automate the task of petrol pump spread across in

different cities of Uttar Pradesh.

The main features of this software are as follows :-

1. Reliable

2. Accuracy

3. Fault Tolerant

4. Fast

5. Operating System Independent

Pankaj Singh 2
PETROL PUMP AUTOMATION AND MONITORING SYSTEM

INTRODUCTI
ON

Pankaj Singh 3
PETROL PUMP AUTOMATION AND MONITORING SYSTEM

INTRODUCTION

“Petrol Pump Automation and Monitoring System” is a computer based

information system is design to handle the manual record housekeeping of the

organization.

The organization is involved in the following activities at their city wise

distribution center :-

1. Management of the Employee :-

 Employee Appointment

 Employee Attendance

 Employee Salary

 Employee Shifts

2. Management of the Fuel :-

 Hourly bases Underground Tankers status Monitoring.

Pankaj Singh 4
PETROL PUMP AUTOMATION AND MONITORING SYSTEM

 According to the Underground Tankers status a fuel type order is

placed to the Headquarter.

3. Management of Fuel Supply :-

 On receiving the order a supply is generated against the order.

 Government fuel Depos supply is track down.

 Payment of the supply is done.

 The oil Tankers reaches the Petrol Station.

 The Petrol Pump sends an acknowledgement to the Headquarter.

4. Management of Report :-

The above mention business cycle generates and consumes different

kinds of data at different levels from different users.

Therefore the business cycle produces different kinds of relevant

reports such as :-

 Centre wise sales reports.

 Center wise order reports.

 Centre wise pending order reports.

 Centre wise Employee reports.

 Centre wise Supply reports.

Pankaj Singh 5
PETROL PUMP AUTOMATION AND MONITORING SYSTEM

OBJECTIVE

Pankaj Singh 6
PETROL PUMP AUTOMATION AND MONITORING SYSTEM

OBJECTIVE

Petrol Pump Automation and Monitoring System (PPAMS) is design to

automate the following areas of the organization.

They are as follows :-

1. Employee Management :-

 PPAMS automate the task of employee record creation,

modification, deletion and retrievals.

 PPAMS also automate the task of employee attendance and his/her

salary management.

 PPAMS also allocates the working shifts of each bunch of employee.

2. Fuel Order Management :-

 PPAMS is designed in such a manner that human machine

interaction becomes the key process area for PPAMS success.

Pankaj Singh 7
PETROL PUMP AUTOMATION AND MONITORING SYSTEM

 Therefore the PPAMS collects the underground Tankers status at

every one hour bases and can generate Fuel Order sub sequentially .

“The Branch Manager is responsible for generating Fuel Order to the

Headquarter.”

3. Fuel Supply Management :-

 PPAMS generates a Fuel Supply order to the Government Depos

immediately on receiving the Fuel order from the centre.

 PPAMS also generates Payment details against the Supply.


 PPAMS also records the Supply Receipts on supply fulfillment on
the centre.
 PPAMS can also store the supply acknowledgement record from the

centre.

4. Report Management :-

PPAMS is designed to give the reports regarding the entire system at

different levels of business process and time such as :-

 Employee Reports

 Centre wise Order Reports

 Centre wise Sales Reports

 Centre wise Supply Reports

 Overall System Reports

 Concise Reports on Mobile Phones

5. PPAMS Security Management :-

Pankaj Singh 8
PETROL PUMP AUTOMATION AND MONITORING SYSTEM

PPAMS is design in such a manner that certain business task can be done

only by certain PPAMS User.

 One such Security measure is :-

 User Creation & Modification

 User Permissions

 PPAMS Locking & Unlocking mechanism of business transaction.

 Log file is also maintained on day to day basis for entire system

process. Using object Serialization and Deserialization.

Pankaj Singh 9
PETROL PUMP AUTOMATION AND MONITORING SYSTEM

PROJECT
CATEGORY

Project Category- [RDBMS]

Relational Database Management System


E.F Codd introduced the concept of relational model in 1970.

Commercially available RDBMS are Oracle, Ms-Sql Server, Sybase, Ingress, and

Informix etc.

Pankaj Singh 10
PETROL PUMP AUTOMATION AND MONITORING SYSTEM

In RDBMS data is represented in a simple Row-Column format. Each data

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

is crucial for any relational Database. A relational Modal consists of:

 A set of Domains and Relations

 Operations on Relations

 Integrity Rules

Applying relational operations on tables and extracting desired tuples or rows or

record does data retrievals. The following are relational Operations are:

 Projection

 Selection

 Cartesian Product

 Joins (Left, Right, Inner)

 Unions

 Intersections / Difference / Divisions

Pankaj Singh 11
PETROL PUMP AUTOMATION AND MONITORING SYSTEM

TOOLS &

PLATFORM

Pankaj Singh 12
PETROL PUMP AUTOMATION AND MONITORING SYSTEM

Tools and Platforms

Server side Components: Java Server Pages

In the world of web-accessible J2EE application Java server pages and

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

the presentation of data derived from operations on database to network-connected

clients. This client role is suggested in figure-

Client Presentation
Web Browsers
HTML pages Internet
Java Applets Aware Devices

HTML, Multimedia, XML Objects

Server presentation control


Web Server / Web container
Files Servlets
Java Server Pages

Binary files, Query, Result, XML

Enterprise JavaBeans, JavaBeans


JDBC Drivers
Business Logic

Binary files, Query, Result, XML


Back End Database
SQL Database, Object Database
File System

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.

JSP is not limited to generating Hyper Text Markup Language (HTML)

pages. The technology generates content with Extensible Markup Language

(XML), Markup Extensible HTML (XHTML) formatting equally well.

Pankaj Singh 14
PETROL PUMP AUTOMATION AND MONITORING SYSTEM

Middleware : Java Database Connectivity (JDBC)

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

classes can use JDBC.

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

multi-tier database design. In addition to providing developers with a uniform and

database independent framework, JDBC also provides a means of allowing

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.

JDBC is not a derivative of Microsoft’s open database connectivity

(ODBC) specification. JDBC is written entirely in JAVA; ODBC is a ‘C’

interface. Both JDBC and ODBC however are based on the X/open SQL

command level interface (CLI). Javasoft provides a JDBC–ODBC bridges that

translate JDBC to ODBC this implementation alone with native methods is very

small and efficient.

Pankaj Singh 16
PETROL PUMP AUTOMATION AND MONITORING SYSTEM

Server Side Component : SERVLET

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

server. This is written in Java and extends the functionality of a server. As we

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

may be enhanced through servlets. The servlets API is specification develop by

SUN that defines the classes and interfaces used to create and execute the servlets.

In fact Servlets provide a broad framework for creating applications that

implement the request response methodology. If a browser sends a request to the

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

constructs an appropriate response (usually in HTML) that is returned to the client.

Pankaj Singh 17
PETROL PUMP AUTOMATION AND MONITORING SYSTEM

Web Server Tool :Apache Tomcat 6.0

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

to choose, ranging from the Apache Jakarta Tomcat project to large-scale

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

Servlet and JSP application.

Tomcat 6.0 is pure Java implementation that contains a Web server

in addition to the Java Web server environment. Production system usually use

Tomcat with a separate Web server, Such as Apache Web server.

Pankaj Singh 18
PETROL PUMP AUTOMATION AND MONITORING SYSTEM

Client or Server Side Scripting Tool: - JavaScript

JavaScript can generate HTML dynamically on the client. This is a useful

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,

JavaScript can't access server-side resources like databases, catalogs, pricing

information, and the like.

Static HTML. Regular HTML, of course, cannot contain dynamic

information. JSP is so easy and convenient that it is quite feasible to augment

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

all but the most valuable instances.

Pankaj Singh 19
PETROL PUMP AUTOMATION AND MONITORING SYSTEM

Front End Tool : HTML

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

thousand of Web server computers around the world.

The Web is on the verge of becoming a mass-market medium, as high

speed internet connection through TV cables, modernized phone lines and direct

satellite feeds become common place.

Pankaj Singh 20
PETROL PUMP AUTOMATION AND MONITORING SYSTEM

MySQL Database Management System

MySQL, the most popular Open Source SQL database management system,

is developed, distributed, and supported by MySQL AB. MySQL AB is a

commercial company, founded by the MySQL developers. It is a second

generation Open Source Company that unites Open Source values and

methodology with a successful business model.

• MySQL is a database management system.

A database is a structured collection of data. It may be anything from a

simple shopping list to a picture gallery or the vast amounts of information in a

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

play a central role in computing, as standalone utilities or as parts of other

applications.

• MySQL is a relational database management system.

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

standardized language used to access databases and is defined by the ANSI/ISO

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

the current version of the SQL Standard at any time.

• MySQL software is Open Source.

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

fast, reliable, and easy to use.

MySQL Server was originally developed to handle large databases much

faster than existing solutions and has been successfully used in highly demanding

production environments for several years. Although under constant development,

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

• MySQL Server works in client/server or embedded systems.

The MySQL Database Software is a client/server system that consists of a

multi-threaded SQL server that supports different backend, several different client

programs and libraries, administrative tools, and a wide range of application

programming interfaces (APIs).

We also provide MySQL Server as an embedded multi-threaded library that

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 :-

Hardware Minimum Requirement Recommended


RAM 128MB 512MB
Hard Disk 20GB 80GB or Above
Monitor 14” VGA 15”
CD-Drive 32x 52x R/W
Floppy-Drive 1.44MB 1.44MB
Keyboard Standard Standard/Extended
Mouse Serial Serial/Scroll
Processor Pentium-3 Pentium Dual-Co

Pankaj Singh 25
PETROL PUMP AUTOMATION AND MONITORING SYSTEM

Software Requirements :-

Programming language J2SE1.5 or above and HTML


Supporting package Library My SQL JDBC Driver 5.1 Beta
Web Server Tomcat 5.0 or Above
Back-End Software MySQL Server 5.0
For Documentation MS-Office XP 2003
For Reports HTML, XHTML
Operating System Any Operating System with JRE

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.

Present PPAMS requires plenty of manual work done and tedious PEN-

PAPER work which is

Complicated

More error prone

Time consuming

Prone to leak and

Hard to manage properly

Therefore need arises to replace the system with alternative option

i.e. using computerized procedure for managing Employee database, Setting of

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

Fuel Status in Underground tankers.

Pankaj Singh 28
PETROL PUMP AUTOMATION AND MONITORING SYSTEM

MAIN PROBLEMS WITH EXISTING SYSTEM


Some of the main problems with existing system are:

• 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

Fuel Supply on the Centre at the time.

Third major problem was the security of the existing system. Due to the

involvement of different medium in the process of Fuel Supply/Order there

always remains the possibility of data leakage

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

contains the databank of no. of Centre in different Cities.

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

activities there some limitations is not handled by computers like:

• 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

In this phase the actual requirement of the users is identified. It is an

iterative process. The overall structure is remains dependent on it. Without the

exact the requirement identification of the new system it remains the maximum

plausibility of the project failure in its initial phases.

From the user point of view problems investigated are

• To allot more than one work to an employee.

• Delay in Fuel Supply on the petrol pump centre.

• Avoid to make the more order to the different depo.

• Time difference/time lapsed in the supply of fuel.

From Organization point of view problems investigated are

• Distribute the fuel on the centre according to their priority.

• Avoid to order the fuel to the government depo without checking the

fuel status in the underground tankers.

• Avoid pending of fuel supply payments.

• Report Generation.

System Requirements Identification

Pankaj Singh 31
PETROL PUMP AUTOMATION AND MONITORING SYSTEM

After project request from a company and finding the system requirement

clearly

• Clarify and understand the project request.

• Determine the size of the project.

• Assess cost and benefits of alternative approaches.

• Determine the technical and operational feasibility of alternative

approaches.

Pankaj Singh 32
PETROL PUMP AUTOMATION AND MONITORING SYSTEM

REQUIREMENT
SPECIFICATION

Pankaj Singh 33
PETROL PUMP AUTOMATION AND MONITORING SYSTEM

REQUIREMENT ANALYSIS AND SPECIFICATION

Requirement Gathering and Analysis

The goal of the requirement gathering activity is to collect all relevant

information from the customer regarding the product to be developed with a view

to clearly understanding the customer requirements and weeding out the

incompleteness and inconsistencies in these requirements.

The requirements analysis activity is begun by collecting all relevant data

regarding the product from the users of the product and from the customer through

interviews and discussions. We had collected information in this regards by

questioning employee and the Administrator.

We met employee and discussed the problems faced by them in completion

of different types of work on petrol pump.

-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.

-To calculate total work completed.

-To evaluate the salary on the basis of work completion.

Pankaj Singh 34
PETROL PUMP AUTOMATION AND MONITORING SYSTEM

We questioned administrator also and collected all their difficulties such as

-delay in fuel supply/order.

-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.

Now we have enough information about the requirement of employee and

administrator. As per the above information gathered we made System

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

Success of most organizations depends upon clear examination of the

project or activities for the achievement of an objective within stipulated time and

cost. Management is then required to determine detailed activities and their

relationships, to estimate resources required and time needed to complete these

activities as per schedule, and to monitor and control the time and cost of the

project

Network analysis is a technique concerned with minimizing the over-all

project costs. PERT is a popular type of network analysis used in modern

management. PERT is a technique, which is useful in system planning. The

planning of any project involves the listing of various jobs that have to be

performed to complete the project. Requirements of men, material and equipment

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

another can be started.

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

this system are listed below: -

Activity Immediately Preceding Expected


Description activity time of
completion
A Reading and understanding user-requirements - 15 days

B System conceptualization A 15 days


C System development and coding B 30 days

D Testing subroutines and controls C 15 days


E System implementation D 15 days
F Documentation E 30 days
G Fully developed system F 30 days
Total Time 150 Days

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

arrow showing the succeeding job.

DFD AND ER-


DIAGRAM

Pankaj Singh 40
PETROL PUMP AUTOMATION AND MONITORING SYSTEM

Customer

Purchase Fuel

Generated Report

Centre Fuel Sales Info

Order Acknowledgement

Fuel Distribution Receipts Payments

Petrol Pump
Head Quarter Automation Database
Supply Info Relevant Data
&
Monitoring System

Fuel Supply /Order/Payment/Reciepts System Log Data

Government Depo

Under Ground Tankers Fuel Held

Employee Employee Info

Context Level DFD

Pankaj Singh 41
PETROL PUMP AUTOMATION AND MONITORING SYSTEM

Level – 1 Explosion of “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

Payments Supply Order


Report

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

User Info /Transaction Info

System Log Report

1.6
System Security
Management
System

Level – 2 Explosion of Module No. 1.1 “Fuel Sales Management”

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

Fuel Sales Report

Fuel Details Criteria

1.1.4
Fuel Sales
Report
Generator

Level – 2 Explosion of Module No. 1.2 “Fuel Order Management System”

Pankaj Singh 44
PETROL PUMP AUTOMATION AND MONITORING SYSTEM

1.2.1
Get Under Ground
Underground Tankers Status
Tankers
Status

Under Ground Tanker Status

Under Ground Tankers Status


Centre

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

Level – 2 Explosion of Module No. 1.3 “Fuel Supply Management System”

Pankaj Singh 45
PETROL PUMP AUTOMATION AND MONITORING SYSTEM

1.3.1
Government Depo
Record Manipulation
Process
Gov. Depo Details

Depo Details

Depo ID, Centre ID

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

Supply Details 1.3.4


Supply
Supply Details/ Payment Details
Payment
Process

Report Criteria
Supply Report

1.3.5
Supply/ Order Details
Supply
Report
Generator

Level – 2 Explosion of Module No. 1.4 “Fuel Distribution Process”

Pankaj Singh 46
PETROL PUMP AUTOMATION AND MONITORING SYSTEM

1.4.1
Get Centre
Details
Process

Centre Name

Centre Details/ Supply/ Order Details

Centre Order / Supply Details

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

Level – 2 Explosion of Module No. 1.5 “Employee Management System”

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

Employee List Employee Details


1.5.4
Shift
Shift Details
Management
Process

Criteria

Employee Detail Report

1.5.5
Employee Employee Details
Record
Generator
Process

Level – 2 Explosion of Module 1.6 “System Security Management System”

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

Criteria Log Report

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

Petrol Pump Automation & Monitoring System is divided into six

functionally independent modules.

They are as follows :-

1. Daily Fuel Sales Management (Centre Wise)

2. Fuel Order Management (Centre Wise)

3. Supply Management

4. Fuel Distribution Management (Centre Wise)

5. Employee Management (Centre Wise)

6. Security Management

 User Management (Centre Wise)

 Transaction Security Mechanism (System)

 Log File Management

Pankaj Singh 52
PETROL PUMP AUTOMATION AND MONITORING SYSTEM

DATA
STRUCTURE

Pankaj Singh 53
PETROL PUMP AUTOMATION AND MONITORING SYSTEM

DATA STRUCTURE OF THE DATABASE

1. Headquarter Master:- This table Store the information about the


Headquarter.

Name Type Size Description


HeadquarterId Number 5 Primary Key
HeadquarterName Varchar 50
HeadquarterAddress Varchar 100
Proprieter Varchar 50
ContactNo Number 10

2. Centre Master:- This table Store the information about the Centre.

Name Type Size Description


CentreId Number 5 Primary Key
CentreName Varchar 50
CentreAddress Varchar 100
CentreIncharge Varchar 50
ContactNo Number 10

Pankaj Singh 54
PETROL PUMP AUTOMATION AND MONITORING SYSTEM

3. Fuel Master:- This table Store the information about the Fuel.

Name Type Size Description


FuelId Number 5 Primary Key
FuelName Varchar 50
FuelRate Number 5

4. Underground Tanker Master:- This table Store the information about the
Tankers.

Name Type Size Description


TakerId Number 5 Primary Key
FuelId Number 5 Reference: Fuel Master
CentreId Number 5 Reference: Centre Master

5. OilTankersTruck Master:- This table Store the information about the


Truck.

Name Type Size Description


TruckId Number 5 Primary Key
DriverName Varchar 50
Capacity Number 10

6. Government Depo Master:- This table Store the information about the
Depo.

Name Type Size Description


DepoId Number 5 Primary Key
DepoName Varchar 50
DepoAddress Varchar 100
ContactNo Number 10

Pankaj Singh 55
PETROL PUMP AUTOMATION AND MONITORING SYSTEM

7. Underground Tanker Master:- This table Store the information about the
Employee.

Name Type Size Description


EmployeeId Number 5 Primary Key
CentreId Number 5 Reference: Centre Master
EmployeeName Varchar 50
EmployeeAddress Varchar 100
Designation Varchar 50
BasicSalary Number 10
ContactNo Number 10

8. Business Constraint Master:- This table Store the information about the
Business.

Name Type Size Description


ConstraintId Number 5 Primary Key
ConstraintName Varchar 50
ConstraintValue Number 10

9. Supply Transaction:- This table Store the information about the Supply.

Name Type Size Description


SupplyId Number 5 Primary Key
OrderId Number 5 Reference: Order Transaction
CentreId Number 5 Reference: Centre Master
DateofSupply Date
Quantity Number 10

10. Order Transaction:- This table Store the information about the Order.

Name Type Size Description


OrderId Number 5 Primary Key
FuelId Number 5 Reference: Fuel Master
CentreId Number 5 Reference: Centre Master
Status Varchar 10
Quantity Number 10

Pankaj Singh 56
PETROL PUMP AUTOMATION AND MONITORING SYSTEM

11. Acknowledgement Transaction:- This table Store the information about


the Acknowledgement.

Name Type Size Description


AcknowledgementId Number 5 Primary Key
OrderlId Number 5 Reference: Order Transaction
Date Date

12. Shift Transaction:- This table Store the information about the Employee
Shift.

Name Type Size Description


ShiftId Number 5 Primary Key
EmployeeId Number 5 Reference: Employee Master
FromDate Date
ToDate Date
StartTime Date/Time
EndTime Date/Time

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.

Name Type Size Description


SalaryId Number 5 Primary Key
EmployeeId Number 5 Reference: Employee Master
Date Date
Advance Number 10
Balance Number 10
NetPay Number 10
Deduction Number 10

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.

Name Type Size Description


PaymentId Number 5 Primary Key
ReceiptId Number 5 Reference: Receipt Transaction
Modeofpayment Varchar 10
Amount Number 10
Cheque/DraftNo Number 5

Pankaj Singh 58
PETROL PUMP AUTOMATION AND MONITORING SYSTEM

17. Customer Bill Transaction:- This table Store the information about the
Customer’s Bill.

Name Type Size Description


BillNo Number 5 Primary Key
FuelId Number 5 Reference: Fuel Master
VehicleNo Number 5
Billdate Date
Quantity Number 10

18. User Master Configuration:- This table Store the information about the
User Login.

Name Type Size Description


UserId Number 5 Primary Key
Name Varchar 50
Password Varchar 10

19. SuperUser Master:-This table Store the information about the Super User.

Name Type Size Description


LockMode Varchar 10
Password Varchar 10

20. System Log Master Configuration:- This table Store the information
about the User, Who logged in to the System.

Name Type Size Description


LogId Number 5 Primary Key
LogText Varchar 50
LogDate Date
LogTime Date/Time

Pankaj Singh 59
PETROL PUMP AUTOMATION AND MONITORING SYSTEM

PROCESS
LOGIC

Pankaj Singh 60
PETROL PUMP AUTOMATION AND MONITORING SYSTEM

Process Logic Of Each Module :-

1) Process Logic of Module No. 1.1 “Fuel Sales Management”.

Step-1 Start

Step- 2 Enter Fuel Details

Step- 3 Get Fuel Rate from Database

Step- 4 Calculate Fuel Sales Details

Step- 5 Save Fuel Sale Details

Step- 6 Generate Fuel Sales Bill

Step- 7 If another Transaction go to Step-2

Step- 8 Stop.

2) Process Logic of Module No. 1.2 “Fuel Order Management”.

Step-1 Start

Step- 2 Get Under Ground Tanker Status

Step- 3 Enter Under Ground Tanker Status in to Database

Step- 4 If Under Ground Tankers Status under specified level.

Step- 5 Then Generate Order for the Fuel Type

Step- 6 EndIf

Step- 7 Enter Order Distribution Acknowledgement into Database

Pankaj Singh 61
PETROL PUMP AUTOMATION AND MONITORING SYSTEM

Step- 8 If Order Report required then Enter Criteria and generate Report

Step- 9 Stop.

3) Process Logic of Module No. 1.3 “Supply Management System”.

Step-1 Start

Step- 2 Manipulate Government Depo Data into Database

Step- 3 Obtain Centre Wise Order Details

Step- 4 Generate Centre Wise Supply Details against Centre Order

Step- 5 Generate Supply Order to Government Depo and Supply Details

Step- 6 Generate Supply receipts at each Supply

Step- 7 Generate Payments Slips against Receipts at each Supply.

Step- 8 Generate Supply Report based on some Criteria.

Step- 9 Stop.

4) Process Logic of Module No. 1.4 “Fuel Distribution Management”.

Step-1 Start

Step- 2 Accept Centre Details from Database and User

Step- 3 Generate Distribution List Centre Wise.

Step- 4 Generate Distribution Report.

Step- 5 Stop.

Pankaj Singh 62
PETROL PUMP AUTOMATION AND MONITORING SYSTEM

5) Process Logic of Module No. 1.5 “Employee Management”.

Step-1 Start

Step- 2 Create, Update, Search, Delete Employee details from Database

Step- 3 Generate Salary at each Employee Centre Wise

Step-4 Accept Attendance at Employee Centre Wise.

Step-5 Generate Shift Management List Centre Wise.

Step-6 Generate Employee Report Centre Wise based on Criteria

Step-7 Stop.

6) Process Logic of Module No. 1.6 “System Security Manager”.

Step-1 Start

Step- 2 User Login, Criteria, Updation, Deletion is done.

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

records the Transaction Details with Mechanism at Object Serialization.

(java.io.serializable)

(Using Object OutputStream Class)

Step-5 Enter System can be Locked/ Ubnlocked through System Lock

Manager which is Recorded into Log File by System Log Manager.

Pankaj Singh 63
PETROL PUMP AUTOMATION AND MONITORING SYSTEM

Step-6 System Log report can be obtained on Criteria by System Log

Report Generator.

Step-7 Stop.

REPO
RT
Pankaj Singh 64
PETROL PUMP AUTOMATION AND MONITORING SYSTEM

List of Report that are likely to be Generated :-

1. Employee Related Reports

 Centre Wise Employee List


 Centre Wise Employee Shift Report
 Centre Wise Employee Salary Report
 Centre Wise Employee Attendance Report
Note:-Employee can also see his Salary, Attendance and Shift Report on Mobile
Phone also.
2. Order Management Report
 Centre Wise Order Report
 Daily Basis
 Weekly Basis
 Monthly Basis
 Centre Wise Under Ground Tankers Report
 Hourly Basis
 Daily Basis
Note :- Owner can see this report on Mobile Phone also.

Pankaj Singh 65
PETROL PUMP AUTOMATION AND MONITORING SYSTEM

3. Supply Management Report


 Centre Wise Supply Report
 Hourly Basis
 Daily Basis
 Weekly Basis
 Monthly Basis
 Centre Wise Distribution Report
 List Government Depo Report
 Receipts Report Centre Wise
 Hourly Basis
 12 Hour Basis
 Daily Basis
 Weekly Basis
 Monthly Basis

4. System Log File Report


5. Transaction Lock Report

Pankaj Singh 66
PETROL PUMP AUTOMATION AND MONITORING SYSTEM

Implementation of Security Mechanism at Various Levels :-

1) User Creation and Permission


2) Transaction Locking Mechanism
3) Application Locking Mechanism

Pankaj Singh 67
PETROL PUMP AUTOMATION AND MONITORING SYSTEM

Future Scope and Further Enhancement of the Project :-


1) This software is design on the basis of single server and multiple
clients. Therefore this software can be further design to run on
multiple servers with fulfledge computing scalability.

2) This application is design keeping in mind the database vendor


changes. Therefore backend change does not effect the application
logic.

3) This software can also be extended to be accessed on mobile phones


more comprehensively.

Pankaj Singh 68
PETROL PUMP AUTOMATION AND MONITORING SYSTEM

BIBLIOGRAPHY

Books for Front- End Tool (J2EE):-

 WROX Publication’s Book J2EE for Beginner.

 Java-2 Complete Reference By- Herbert Schildt.

Books for Back- End Tool (MySQL) :-

 SQL, PL/SQL The Programming Language of Oracle 3rd Edition By- Ivon

Bayross.

Books for System Analysis and Designing :-

 Analysis and Design of Information System By- V. Rajaraman.

 Analysis and Design of Information System By- James A Senn.

Pankaj Singh 69
PETROL PUMP AUTOMATION AND MONITORING SYSTEM

 Structure Analysis and System Specification By- Tom De Marco.

 The Practical Guide to Structure Design By- Page Jone Meilir.

 Managing the Structure Technique By- Edward Yourdon.

 System Analysis, Designing and Development By- Perry Edwards.

Pankaj Singh 70

You might also like