Tải bản đầy đủ (.doc) (46 trang)

Sample Software Requirement Specification

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (505.95 KB, 46 trang )

Software Requirements
Specification
for

Smart Electronic License
Plate System
Version 1.0 approved

Prepared by Hoang Le Thanh Son

Class SE1201 , FPT University

June 11, 2018

Copyright © 1999 by Karl E. Wiegers. Permission is granted to use, modify, and distribute this document.


Software Requirements Specification for <Project>

Page ii

Table of Contents
1. Introduction................................................................................................................................1
2. Overall Description....................................................................................................................3
3. External Interface Requirements............................................................................................. 4
4. System Features....................................................................................................................... 18
4.3 Change password.................................................................................................................. 26
4.4 Driver’s car position............................................................................................................. 29
4.5 Payment Management.......................................................................................................... 31
4.6 Add balance to account........................................................................................................ 34
4.7 Parking Payment (automatic)..............................................................................................36


4.8 Parking History......................................................................................................................37
4.9 Traffic Control....................................................................................................................... 39
4.10 Get Notifications...................................................................................................................41
5. Other Nonfunctional Requirements.......................................................................................43
6. Other Requirements................................................................................................................ 44

Revision History
Name

Date

Reason For Changes

Version

SonHLT

June 11,
2018

Start wrting document

1.0


Software Requirements Specification for Electronic Smart License Plate System
Page 1

1.


Introduction

1.1

Purpose

For drivers who need time to do other things in their life than waiting for ticket and going to pay fees for
their cars, the Smart License Plate is a smart device that is embedded into the plate of the cars. The plate
will store the exact position of the driver by GPS connection, it will be synchronized with its owner’s
banking accounts, that will help drivers pay their fees automatically and they do not need to go to the
centers to pay anymore. The device will save a huge time for drivers, and save 400$ each month for the
parking area thanks to removing the ticket and keeping staff. Time to handle traffic situations will be
reduced 50% because government can know exactly where the car is to go in time. Unlike the current
traditional license plate with no utilities, our product will synchronize with drivers’ banking accounts to help
them pay their fees automatically, keep their safety on the road by the GPS tracking system.

1.2

Document Conventions

I
D

Acronym

Definition

1

SRS


Software Requirement Specification

2

App

Application

3

SLPS

4

OS

Operating System

5

GUI

Graphic User Interface

6

CMS

Content Manager System


7

DB

Database

Smart License Plate System (Product’s name)


Software Requirements Specification for Electronic Smart License Plate System
Page 2

1.3

Intended Audience and Reading Suggestions
-

1.4

Reader : developers of the product, project managers, marketing staff, users, testers and
documentation writers.
This SRS contains :
o Overview about product.
o Product’s features
o Product non-functional requirements
o Use Cases and Use Case Diagram

Product Scope
-


Business benefits :
o Drivers requested a method that can decrease their time for buying ticket at parking area,
paying the fees at many place. They want a software system can be embed in their License
plate to do these things, and can synchronize with their banking account to pay the fees.
o Government need to keep tracks of cars (this is a sensitive case, but can bring many
benefits), to find the exact position of a car when it is in an accident or its driver has just
violated the transport law.
o Parking area managers want to decrease or remove money to hire staff for keeping the cars
and selling tickets.
o Driver need to find a way that can help them renew their licenses without going to centers.
(of course they need to be qualified for the new license).
o Businesses are finding ways to display marketing and advertising.

-

Business Objectives :
- BO – 1 : Reduce time spent for paying, waiting for drivers :
o No need to wait to buy ticket to park cars.
o License plate can be synchronized with driver’s accounts, help them pay their fees
automatically.
o Software will automatically renew driver license as long as drivers pass the test before.
-

1.5

BO – 2 : Reduce 400$ each month for the parking area thanks to removing the ticket and
keeping staff.
BO – 3 : Reduce 50% time to handle transport problems such as accidents.


References
-

SRS Template by Karl E. Wiegers. Permission
Software Requirements by Karl E.Wiegers and Joy Beaty, Third Edition, Mircrosoft Press


Software Requirements Specification for Electronic Smart License Plate System
Page 3

2.

Overall Description

2.1

Product Perspective
-

-

2.2

Drivers in the city get into trouble of wasting time when buying ticket at the parking area
entrance. They spend an average of 5 minutes each time they go to park their cars, for going in
and out. They also need to spend time on many fees related to their cars, and renewal their
licenses.
Government need to keep track of cars running on the road in case of traffic accidents, they can
handle in time and avoid traffic jams.
Drivers nowadays don’t want to spend too much time paying the fees for their cars.

the overall system, subsystem interconnections, and external interfaces can be helpful.

Product Functions

Main functions :
- FE – 1 : Using GPS system to identify the exact position of the driver and his car
- FE – 2 : Auto-pay when crossing the electronic barrier in the parking areas.
- FE – 3 : Create an emergency signal and send to the government information when the car have
problems like accidents.
- FE – 4 : Auto-pay the traffic fees by subtracting directly into driver’s banking accounts.
- FE – 5 : Show the bill for owner after each time of transaction.
- FE – 6 : Display marketing and advertising.

2.3

User Classes and Characteristics

System has 4 kinds of users : drivers, parking pass staffs, local authorities , adminstrators, banks.
- Drivers : have full permission to manage accounts, payment, their car positions.
- Parking pass staffs : have permission to know cars using their services, their accounts.
- Local authorities : have permission to know the position of the emergengy car.
- Banks : Manage reference of their customers’ accounts to the product for payment.
- Adminstrators : have full permission to system management but no permission to business
management.

2.4

Operating Environment
-


2.5

Device : computers, smart phones.
Operating system : Windows 7 (or higher), iOS, Android.

Design and Implementation Constraints
-

LI – 1 : Local authorities have to upgrade their infrastructure to be suitable with the
product with new technologies.
LI – 2 : New plate will be more vulnerable than the old one, users should be careful to
protect them.


Software Requirements Specification for Electronic Smart License Plate System
Page 4

2.6

User Documentation
-

2.7

Product tutorials document
Author’s contact :

Assumptions and Dependencies
-


AS – 1 : The system will provide user an appropriate graphic interface to help them do the tasks
more easily.
AS – 2 : Other platforms – based applications will be made to connect with system, help the
system to be more interactive.
AS – 3 : New technologies will be integrated into parking areas.

3.

External Interface Requirements

3.1

User Interfaces
-

Driver’s UI


Software Requirements Specification for Electronic Smart License Plate System
Page 5

Figure 1 - Driver’s Account Detail Screen


Software Requirements Specification for Electronic Smart License Plate System
Page 6

Figure 2 - Driver's Home Screen

Figure 3 - Update Driver's Information



Software Requirements Specification for Electronic Smart License Plate System
Page 7

Figure 4 - Driver Position Screen


Software Requirements Specification for Electronic Smart License Plate System
Page 8

Figure 5 - Driver Payment Screen


Software Requirements Specification for Electronic Smart License Plate System
Page 9

Figure 6 - Add Balance For Drivers


Software Requirements Specification for Electronic Smart License Plate System
Page 10

Figure 7 - Enter PIN to confirm adding


Software Requirements Specification for Electronic Smart License Plate System
Page 11

-


UI for Parking Staff

Figure 8 - Log In Screen For Parking Staff


Software Requirements Specification for Electronic Smart License Plate System
Page 12

Figure 9 - Change Password Screen


Software Requirements Specification for Electronic Smart License Plate System
Page 13

Figure 10 - Parking History Screen

-

UI for Local authorities :


Software Requirements Specification for Electronic Smart License Plate System
Page 14

Figure 11 - Log In Screen For Authorities


Software Requirements Specification for Electronic Smart License Plate System
Page 15


Figure 12 - Change Password Screen


Software Requirements Specification for Electronic Smart License Plate System
Page 16

Figure 13 - Notification List


Software Requirements Specification for Electronic Smart License Plate System
Page 17

Figure 14 - Traffic Control Screen


Software Requirements Specification for Electronic Smart License Plate System
Page 18

3.2

Hardware Interfaces
-

3.3

Software Interfaces
-

3.4


The system requires a porperly configured version of Windows 7 or higher to run the
application.
Computers must have Microsoft .NET Framework 3.5 or higher installed.

Communications Interfaces
-

4.

Mobile App : The system can run on any hardware that support iOS 10.0 or higher, and GPS
technology.
Computer App : The system can run on any hardware that support Windows (recommend
Windows 10), have a web browser (recommend Google Chrome or Mozilla Firefox).
System does not write any information directly to user’s mobile phone or computer.
System gets data from user computer after they accept the using rules.

All data transferred between servers and each individual computer/ mobile shall use
TCP/IP networking protocol over a secured connection.

System Features

Use Case Diagram


Software Requirements Specification for Electronic Smart License Plate System
Page 19

Figure 15 - System Use Case Diagram



Software Requirements Specification for Electronic Smart License Plate System
Page 20

4.1

Log In
a) Login for web user

Figure 16 - Basic Account Management


Software Requirements Specification for Electronic Smart License Plate System
Page 21

UC ID and Name: UC – 001A : Login for computer users
Created By: SonHLT
Date Created: 13/06/2018
Actor: Parking staffs, local authorities
Trigger:
Description:
Preconditions:
Postconditions:
Normal Flow:

User logs in to system
User types correct URL of system to web browser
Check the information entered by user to let them go into system or not
1. User enter the URL of the website
2. User is redirected to login page

3. User enters username
4. User enters password
5. User is redirected to home page
Alternative Flows: + User enters an invalid (incorrect) username or password, system notices
and forces him to enter again until they are correct.
+ User checked “Remember me” checkbox before login, system will
remember his account and no need to log in next time
Exceptions:
Priority: High
Frequency of Use: High
Business Rules: + Username and password is required


Software Requirements Specification for Electronic Smart License Plate System
Page 22

+ Username and password is case – sensitive
Other Information:
Assumptions:
Table 1 - Usce Case 001A

b) Login for application users (mobile user)


Software Requirements Specification for Electronic Smart License Plate System
Page 23

UC ID and Name: UC – 001B : Login for Drivers
Created By: SonHLT
Date Created: 13/06/2018

Actor: Drivers
Trigger:
Description: User logs in to system
Preconditions: User opens the application in their smartphone
Postconditions: Check the information entered by user to let them go into system or not
Normal Flow:
1. User opens the application in their smartphone
2. User is redirected to login page
3. User enters username
4. User enters password
5. User is redirected to home page
Alternative Flows: + User enters an invalid (incorrect) username or password, system notices
and forces him to enter again until they are correct.
+ User checked “Remember me” checkbox before login, system will
remember his account and no need to log in next time
Exceptions:
Priority: High
Frequency of Use: High
Business Rules: + Username and password is required
+ Username and password is case – sensitive
Other Information:
Assumptions:
Table 2 - Use Case 001B


×