DESIGN DOCMENT
SMART PARKING SYSTEM
Name Rollno.
Syeda Haima Batool Naqvi CS-18022
Syeda Malika Haider CS-18117
Abdullah Abrar CS-18063
Shehrose Khan CS-18102
SUBMITTED TO: Ma’am Fakhra Aftab
1
Table of Content
Chapter Topic page
Chapter 1 Introduction 3
Chapter 2 Object Oriented Design 7
Chapter 3 Functional Modeling 9
Behavioral Modeling
Chapter 4 11
Chapter 5 Interaction Modeling 12
2
CHAPTER 1
INTRODUCTION:
The purpose of this document is to describe the Smart Parking System product
with the release number 1.0.This document contains the functional and non-
functional requirements of the project. This document contains the guidelines for
Smart Parking System engineers and designers to start working the project .
1.Product Scope:
By looking over the Middle East and African country’s ratio of vehicle theft, it is
highly recommended that every people and authorities concern should take
necessary steps to extend the level of parking in enhance integrated parking
control system.Parking control system has been generated in such a way that it is
filled with many secure devices such as barricades, swing gates, slide gates,
parking control gates, toll gates, time and attendance machine, car counting
system etc.We do agree that such enhance level of parking control system will
definitely land up with a huge expense, but certainly it will make a radical step to
stop theft and improvise security, by installing parking control system.To escalate
this particular system various parking owners have integrated themselves with
sophisticated parking control systems, which are high tech and offers full fledged
parking services.By looking such a huge concern it is highly required that each and
every parking areas should be well equipped with high tech parking control
systems, that nevertheless lasts the best.These innovative parking control
systems not only make a bright choice but also allow you to pay the right price
without getting any worry.
2. Definitions, Acronyms and Abbreviations:
Android Studio : Android Studio is the official integrated development
environment for Google’s Android operating system, built on JetBrains’ IntelliJ
3
IDEA software and designed specifically for Android development.We will use
it for flutter coding.
Arduino IDE : The Arduino Integrated Development Environment is a cross-
platform application that is written in functions from C and C++. It is used to
write and upload programs to Arduino compatible boards, but also, with the
help of third-party cores, other vendor development boards.
Bitbucket : Bitbucket Cloud is a Git based code hosting and collaboration
tool, built for teams. Bitbucket’s best-in-class Jira and Trello integrations are
designed to bring the entire software team together to execute on a project.
We provide one place for your team to collaborate on code from concept to
Cloud, build quality code through automated testing, and deploy code with
confidence.
Firebase Realtime Database : The Firebase Realtime Database is a cloud-
hosted NoSQL database that lets you store and sync data between your users
in realtime. NEW: Cloud Firestore enables you to store, sync and query app
data at global scale.
Flutter : Flutter is an open-source UI software development kit created by
Google. It is used to develop applications for Android, iOS, Linux, Mac,
Windows, Google Fuchsia, and the web from a single codebase.In a few words,
it allows you to create a native mobile application with only one codebase.
This means that you can use one programming language and one codebase to
create two different apps (for iOS and Android).
Freedcamp : Freedcamp is a web, mobile and desktop project management
and collaboration system for teams. The company was launched in 2010 in
Santa Barbara, California by founder Angel Grablev. Freedcamp is free for an
unlimited number of users, files, and projects.
4
Git : Git is a distributed version-control system for tracking changes in any set
of files, originally designed for coordinating work among programmers
cooperating on source code during software development. Its goals include
speed, data integrity, and support for distributed, nonlinear workflows.We will
use bitbucket as VCS.
Nodemcu : NodeMCU is a low-cost open source IoT platform. It initially
included firmware which runs on the ESP8266 Wi-Fi SoC from Espressif
Systems, and hardware which was based on the ESP-12 module. Later, support
for the ESP32 32-bit MCU was added.
Power supply : A power supply is an electrical device that supplies electric
power to an electrical load. The primary function of a power supply is to
convert electric current from a source to the correct voltage, current, and
frequency to power the load. We will use 5 volts power supply
Postman : Postman is a great tool when trying to dissect RESTful APIs made
by others or test ones you have made yourself. It offers a sleek user interface
with which to make HTML requests, without the hassle of writing a bunch of
code just to test an API’s functionality.
SPS : Smart Parking System
Ultrasonic transducers and ultrasonic sensors : are devices that
generate or sense ultrasound energy. They can be divided into three broad
categories: transmitters, receivers and transceivers.these are used for
measuring distances
VCS (Version Control System) : In software engineering, version control is
a class of systems responsible for managing changes to computer programs,
documents, large web sites, or other collections of information. Version
5
control is a component of software configuration management.We use
bitbucket as version controlling system.
3. References and Acknowledgements:
IEEE. IEEE Std 830-1998 IEEE Recommended Practice for Software
Requirements Specifications. IEEE Computer Society, 1998.
http://www.cse.msu.edu/ guertint/srs/srsAPA-2cse435-v2.pdf
https://www.scribd.com/doc/39542757/Parking-Management-SystemSRS
4. Document Overview :
Section 2 defines the general functions of SPS, operating environment and user
constraints along with our assumptions. Section 3 specifies functional and
nonfunctional requirements; all of them are described to a level of detail
sufficient for designers to design a system. Section 4 illustrates interfaces and its
possible scenarios along with some screenshots to make a general idea about the
interfaces. Section 5 specifies all stored information that we are concerned about
for every entity in the SPS.
6
CHAPTER 2
Object Oriented Design:
1.Class Diagram:
2.Data Dictionary: Name, Password, Phone, User UID and Car Numbers and
Status will be saved in database which can be only viewed by the administrators
of the app except of Passwords; they are being saved just in order to authenticate
details. We have firebase real-time DB. These attributes are post by hardware and
get by flutter app.
Parking Variables:
ID: this attribute is always unique.(Autoincrement)
Name: this attribute show the parking name( mall name) (String)
Space variables:
ID: this attribute is always unique.( Autoincrement)
Number: this number shows total number of parking (integer)
Status: this is Boolean variable and shows that parking is available or
busy.
7
CHAPTER 3
8
Functional Modeling: Functional Modelling gives the process
perspective of the object-oriented analysis model and an overview of what
the system is supposed to do. It defines the function of the internal
processes in the system with the aid of Data Flow Diagrams (DFDs).
Data Flow Diagram:
Level 0:
Level 1 & 2:
9
CHAPTER 4
10
Behavioral Modeling:
Behavioral modeling is an approach used by companies to better
understand and predict consumer actions. Behavioral modeling uses
available consumer and business spending data to estimate
future behavior in specific circumstances.
State Transition Diagram:
CHAPTER 5
11
Interaction Modeling: An interaction model is a
design model that binds an application together in a way that supports the
conceptual models of its target users.
1. Use Case Diagram:
12
2.Sequence Diagram:
13