Strider/KIIT Page 1 Strider E – Gas Sewa Software Requirements Specification Version<1.0> KALINGA INSTITUTE OF INDUSTRIAL TECHNOLOGY BHUBANESWAR Team Guide Kumar Devadutta (Asst. Professor) Dept. of Computer Science & Engineering Members Swapnit Das Swati Sonali Sahu
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Strider/KIIT Page 1
Strider E – Gas Sewa
Software Requirements Specification Version<1.0>
KALINGA INSTITUTE OF INDUSTRIAL TECHNOLOGY
BHUBANESWAR
Team Guide Kumar Devadutta
(Asst. Professor) Dept. of Computer Science & Engineering
Members
Swapnit Das
Swati Sonali Sahu
Strider/KIIT Page 2
E – Gas Sewa Version 1.0 Software Requirements Specification 14-12-2011 Strider
Table of Contents
Description Page no.
1.0 Introduction
1.1 Purpose………………………………………………………... 4
1.2 Scope…………………………………………………………… 4
1.3 Definition, Acronyms, and Abbreviations……………………. 5
2.12 Assumptions and Dependencies…………...………….….….… 28
3.0 Specific Requirements
3.1 Use Case Reports….…….………………………………………... 29
3.2 Activity Diagrams….…………………………………………….. 33
4.0 Supporting Information
4.1 Index………………………………………………………… 46
Strider/KIIT Page 4
1.0 Introduction 1.1 Purpose:
E-Gas Sewa is an online web service for gas agency of Indian Company to make the availability and booking of LPG and other services a much more easier ,systematic and fast process than the old tedious manual method . It also aims in reducing paper work and securing transaction details more efficiently, benefiting customers and dealers in vast area of company services. The old process of gas booking through phone or by manually going to the dealer is replaced by this online service.
1.2 Scope:
There are 3 basic user- Customer , Admin, Distributor(Dealers). All users have their profiles in E-Gas Sewa which they can view and update at any point of time. Customer can-
• Create and update their account. • Book gas online. • Lodge complaints against a service. • Apply for transfer of LPG connection to another location. • Cancel an existing order of LPG • Search and request of LPG accessories. • Participate in discussion forum. • Search and change dealer.
Distributors are basically dealers and franchise owner who supply LPG gas to the customers.
They can- • Apply for dealership online or register as a dealer. • View orders and payment status of the orders. • View reports. • Participate in discussion forum. • View complaints.
Strider/KIIT Page 5
Admin administer the overall performance and working of this system. They can-
• Accept registrations for dealership. • Accept request for new LPG connection or transfer of connection of a customer. • Audit all data base. • View profiles of customers and distributors. • Generate and view reports. • Search for existing customer or distributor. • View and address complaints. • View logs. • Take backup of data. • Participate in discussion forum.
1.3 Definitions, Acronyms, and Abbreviations:
• HTML (Hyper Text Markup Language): It is used to create static web pages.
• JSP (Java Server Pages): It is used to create dynamic web content.
• J2EE (Java 2 Enterprise Edition): It is a programming platform, belonging to the Ja-
va platform, which is used for developing and running distributed java applications.
• WASCE (WebSphere Application Server Community Edition): It is an application
server that runs and supports the J2EE and the web service applications.
• WSAD (WebSphere Studio Application Developer ): It is a designer toolkit which is
designed to develop more complex projects by providing a complete dynamic web ser-
vice.
• DB2 (IBM Database 2): It is a database management system that provides a flexible
and efficient database platform to raise a strong "on demand" business applications.
Strider/KIIT Page 6
• HTTP (Hyper Text Transfer Protocol): It is a transaction oriented client/ server pro-
tocol between a web browser and a web server.
• ADMIN : Administrator. He has the complete control over the system and the author-
ity to approve or remove customers and distributors, view reports and audit database.
• XML (Extensible Markup Language): It is a markup language that was designed to
transport and store data.
• Ajax (Asynchronous Java Script and XML): It is a technique used in java script to
create dynamic web pages.
• Web 2.0: It is commonly associated with web applications which facilitate interactive
information sharing, interoperability, user-centered design and collaboration on the
World Wide Web.
1.4 References:
Software Engineering, A Practitioner’s Approach by Roger S Pressman
• WASCE: (WebSphere Application Server Community Edition) Web Server
• DB2: IBM Database.
• Ajax: Asynchronous Java Script and XML.
• XML: Extension Markup Language. Web 2.0: RSS Feed 2.0.
• RAD 7.0: Development tool.
1.6 Overview:
Existing System: Registration for customers Booking and Cancellation of Gas Complaints
Drawbacks: No registration for dealers(distributors) No discussion forum No provision for ordering accessories No way of viewing delivery status No report system for Admin and Distributors No FAQ about the system Users cannot view the recent rates or security aspects of using LPG gas
Proposed System:
Registration for customers and dealers(distributors) Online booking and cancellation of gas Viewing the delivery status of booked gas Active discussion forum for customers, distributors and admin
Strider/KIIT Page 8
Comprehensive FAQ about the system Both users and guests can view the rates and security aspects A dedicated section of QA
Our Plan:
Registration for customers and dealers(distributors) Online booking and cancellation of gas Online ordering of accessories Active discussion forum A detailed reporting system for Admin and Distributor
2.0 Overall Description:
2.1 Product Perspective:
Fig 1: Product Perspective
Strider/KIIT Page 9
2.2 Software Interface: Front End Client:
Web browser (Firefox, Opera, Chrome, Internet Explorer)
Operating System (Windows, Linux)
Web Server:
WASCE
Operating System (Windows Server, Fedora, RedHat)
Database Server
DB2
Operating System (Windows Server, Fedora, RedHat)
Back End:
Rational Rose (Modeling),RAD (J2EE, Java Beans, JSP, HTML, XML, AJAX), DB2 (Database), Operating System (Windows, Fedora), Websphere (Webserver)
2.3 Hardware Interface:
Client Side:
Server Side:
Browser Processor Ram Disk Space Firefox / Chrome / Internet Explorer
Intel Pentium or AMD 1 GHz
256 MB 100 MB
Software Processor Ram Disk SpaceDB2 Intel Pentium 4 or
AMD Athlon or Higher
1.5 GB 4.8 GB
RAD 1 GB 1.4 GB + Data-base Space
Strider/KIIT Page 10
2.4 Product Functions:
Customers can book / cancel gas online Distributors can confirm delivery after receiving payment online Customers can lodge complaints for unsatisfactory service Customers, Distributors and Admin can take part in discussion forum Customers can order accessories online
2.5 User Characteristics:
Customer: Customers can book gas, cancel booked gas, request for accessories, lodge com-plaint for unsatisfactory service, participate in discussion forum. They can also up-date their profile when required
Distributor: Distributors can view orders and confirm their delivery. They can view complaints forwarded to them by the administrator and address them accordingly. They can up-date their profile information as needed. They participate in discussion forum. They can also generate reports about their daily or monthly transactions. Admin: The admin or administrator has complete control over the system. He authenticates distributor registration, add/ delete users as required. He can view complaints by the customers and address them or forward them to the respective distributor. The admin can also participate in the discussion forum. He can generate reports about all trans-actions.
2.6 Constraints:
The interface is only in English
Only registered users can use the system
Guests are limited to view the FAQ section only.
Strider/KIIT Page 11
2.7 Architecture Design:
Fig 2: Architecture Design
Strider/KIIT Page 12
2.8 Use Case Model Description :
Fig 3: Use Case Model
Search for Customer / Distributor
Place OrderCancel Order
View Orders
Distributor
View Complaints
View Logs
Generate Reports
Take Backup
Authenticate Registration
Audit Database View Customer / Distributor
<<uses>>
Address Complaints
Admin
Register
Login Logout View Profile Participate in Discussion forum
Apply for connection
Lodge Complaint
Search Dealers
Update Profile
<<extend>>
Orders
Customer
View Status
Strider/KIIT Page 13
Customer: Unregistered customers can register themselves. Registered customers can place order by book-ing gas or by cancelling an ordered gas. They can lodge complaint against distributor for unsa-tisfactory service. Customers can update their profile information as needed. They can also par-ticipate in the discussion forum. Distributor: Unregistered distributors can register themselves. Registered distributors can view orders and confirm their delivery. They can view complaints forwarded to them by the administrator and address them accordingly. They can update their profile information as needed. They participate in discussion forum. They can also generate reports about their daily or monthly transactions. Admin: The admin or administrator has complete control over the system. He authenticates distributor registration, add/ delete users as required. He can view complaints by the customers and address them or forward them to the respective distributor. The admin can also participate in the discus-sion forum. He can generate reports about all transactions.
The customer has to enter his/her user name and password, which is then verified after the cus-tomer hits the login button. If the details are successfully verified then the customer is taken to the profile page else an error is displayed requesting the customer to enter the valid details.
3.2.2 Distributor Login Activity
The distributor has to enter his/her user name and password, which is then verified after the dis-tributor hits the login button. If the details are successfully verified then the distributor is taken to the profile page else an error is displayed requesting the distributor to enter the valid details.
Fig 22: Activity Diagram for Distributor Login
Enter username and password
Verify username and password
Invalid
Login Successful
Valid
Distributor home page
Strider/KIIT Page 36
3.2.3 Admin Login Activity
The admin has to enter his/her user name and password, which is then verified after the admin hits the login button. If the details are successfully verified then the admin is taken to the profile page else an error is displayed requesting the admin to enter the valid details.
Fig 23: Activity Diagram for Admin Login
Enter username and password
Verify username and password
Invalid
Login Successful
Valid
Administrator home page
Strider/KIIT Page 37
3.2.4 Customer Registration Activity
The customer is asked to fill in the details required. When the customer hits the register button, the username is verified. If the user name already exists or if its not properly entered then the user is asked to change the username. Once the username is successfully verified, its checks the password. If the password is not matching then it asks the customer to enter properly. Then the mandatory details are verified. If any mandatory details is left blank or filled incorrectly then customer is asked to fill the entries properly. After the verification of all details is done the reg-istration is completed successfully and the customer is taken to the profile page.
Fig 24: Activity Diagram for Customer Registration
Enter details
Validation of user name
If user name exists
Invalid
Validation of password
Password not matching
Invalid
Validation of mandatory fields
Fill mandatory details
Invalid
Valid
Valid
Registration successful
Go to customer profile page
Valid
Validation of mandatory fields
InvalidValid
Valid
Fill mandatory details
Strider/KIIT Page 38
3.2.5 Distributor Registration Activity The distributor is asked to fill in the details required. When the customer hits the register button, the username is verified. If the user name already exists or if its not properly entered then the user is asked to change the user-name. Once the username is successfully verified, its checks the password. If the password is not matching then it asks the customer to enter properly. Then the mandatory details are verified. If any mandatory details is left blank or filled incorrectly then distributor is asked to fill the entries properly. After the verification of all details is done the registration details are forwarded to the admin for verification. Once admin verifies the details the distributor account is created and if the admin denies the registration then the account is rejected.
Fig 25: Activity Diagram for Distributor Registration
Enter details
Validation of user name
If user name exists
Invalid
Validation of password
Password not matching
Invalid
Validation of mandatory fields
Fill mandatory details
Invalid
Valid
Valid
Forward to admin for verification
Registration approved
Send confirmation to registrant
Registration denied
Invalid Info
Valid
Valid
Strider/KIIT Page 39
3.2.6 Update Profile Activity Both customers and distributors can update their profile according to their need. The users are asked to enter the details. The password and mandatory details are verified as in the registration activity. After the successful veri-fication of all details the update is successful and the user to taken to the profile page.
Fig 26: Activity Diagram for Profile Update
User login
Update Profile
Enter details
Validation of password Password not
matching
Validation of mandatory fields
Invalid
Valid
Valid
Fill mandatory details
Update Successful
Go to customer profile page
Strider/KIIT Page 40
3.2.7 Booking Gas Activity
The customer first logs in to his account and go to the booking page. He/she then fill in the de-tails and proceeds for payment. The customer is then redirected to the payment gateway. If the transaction succeeds then the order is added for processing and if the transaction fails then the customer is again requested to go through the payment process.
Customer Login
Booking page
Book gas
Redirect to payment gateway
Payment successful
Add order for processing
Order Successful
Success
Transaction failed
Strider/KIIT Page 41
Fig 27: Activity Diagram for Booking Gas
3.2.8 Cancelling Order Activity
The customers goes to the booking page and selects cancel order. The customer is then pre-sented with a list of orders placed by him. He/she then selects the order to cancel. The selected order is then checked if it is already delivered or not. If the order is delivered then the user is redirected to the cannot cancel delivered order page. If the order is not already delivered then the customer is asked to confirm the cancellation of the order. If the customer selects yes then the order is added for cancellation.
Fig 28: Activity Diagram for Cancelling Order
Customer Login
Booking page
Booked history
Select order to cancel
Check if delivered
Cannot cancel delivered order
Cancel confirmation
Cancel successful
Delivered
Not delivered
Yes
No
Strider/KIIT Page 42
3.2.9 Confirm Delivery Activity
The distributor first logs in to his account and views the pending orders page. Then he/she se-lects an order and views its payment status. If the payment is successful then he confirms the delivery of the order else he goes back to select another order.
Fig 29: Activity Diagram for Confirm Delivery
Distributor login
Orders page
View pending orders
Select order
View payment status
Confirm delivery
Payment done
Payment not done
Strider/KIIT Page 43
3.2.10 Lodge Complaint Activity
The customer goes to the complaints page, enters the complaint details and sends it to admin
Fig 30: Activity Diagram for Lodging Complaint
Customer login
Complaints page
Enter complaint details
Send to admin
Strider/KIIT Page 44
3.2.11 Addressing Complaint by Admin Activity
The admin receives the complaints and views them. He/she then either replies to the customers or forwards it to the respective distributor.
Fig 31: Activity Diagram for Addressing Complaint by Admin
Admin login
Complaints
View pending complaints
Reply to customer
Forward to distributor
Strider/KIIT Page 45
3.2.12 Addressing Complaint by Distributor Activity
The distributor receives the complaints forwarded to them by the admin. He/she views the com-plaints and addresses them accordingly.
Fig 32: Activity Diagram for Addressing Complaint by Distributor
Distributor login
Complaints
View pending complaints
Reply to customer
Strider/KIIT Page 46
3.2.13 Participating in Discussion Forum Activity
All users can participate in the discussion forum. At first the recently posted topics are shown. The user can then either select a topic to view and post hi/her reply in that topic or can search for a particular topic and select the desired topic from the returned search list. The user can also create topic and post the details and submit it.
Fig 33: Activity Diagram for Participating in Discussion Forum
View recent posts and topics
Search topic Select topic Create a new topic
Show results
Reply to post Enter details
Submit
Strider/KIIT Page 47
4.0 Supporting Information
4.1 Index: A H S Admin 4, 5, 9, 13 Hardware 9, 18 Scope 4 Administrator 4, 5, 13 HTML 5, 8 Sequence Diagram 15 Acronyms 5 HTTP 5 Server 6, 8, 9 Abbreviations 5 Service 5, 9, 13 Architecture 10 I Activity Diagram 33 T Introduction 4 Technologies 6 B Interface 8, 9 Transaction 4, 9, 13 Book 4, 9, 21, 30 J U C J2EE 5, 6 Use case 12, 29 JSP 5, 6, 8 User 4, 6, 7, 28 Customer 4, 9, 13 Cancel 4, 9, 23, 30 O W Complaints 7 Constraints 10 Overview 6 WASCE 5, 6, 8 Class Diagram 13 Overall 4, 7 Operating System 8 D Order 4, 9, 29 Distributor 4, 9, 13 P Dealers 4, 5 Definitions 5 Purpose 4 DB2 5, 6, 8 Perspective 7 Delivery 7, 9, 22 Product 7, 8, 9 Drawbacks 7 R E
RAD 6, 8 ER Diagram 26 Registration 4, 6, 7 References 6 F Forum 4, 5, 7