old srs.pdf
Transcript of old srs.pdf
-
8/9/2019 old srs.pdf
1/25
BHARAT INSTITUTE OF TECHNOLOGY
MEERUT
e- Farming
Software Requirements Specification
Team
Self Developers
Team Members
Peeyush Jain
Vaibhav Kumar
Vikal Sharma
Yogendra
Project Guide
Mr. Pradeep Chauhan
Assistant Professor CSE
-
8/9/2019 old srs.pdf
2/25
Index & Tables
1)Introduction: .....................................................................................
1.1) Purpose: ..................................................................
1.2) Scope: ..................................................................
1.3) Abbreviations: ..................................................................
1.4) References: ..................................................................
1.5) Technologies: ...................................................................
2) Overall Description:........................................................................
2.1) Product Perspective: ..........................................................
2.2) Software Interface: ..........................................................
2.3) Hardware Interface: ..........................................................
2.4) Communication Interface: ...................................................
2.5) Product Function: ................................................................
2.6) User Characteristics: ............................................................2.7) Constraints: .........................................................................
2.8) Use Case Model Survey: .......................................................
2.9) Architecture diagram..........................................................
2.10) Database design: ..............................................................
2.11) Assumptions and Dependencies: .....................................
3) Specific Requirements: ........................................................................
3.1) Use Case Reports: ...................................................................
-
8/9/2019 old srs.pdf
3/25
Introduction:
Purpose:
e- Farming: The goal of the system is to enable all the
farmers and wholesalers to buy/sell products online. As
agriculture plays a major role in Indian economy therefore
this project will help in making the agricultural deals easier.
It will provide the farmers and wholesalers to choose
optimum deals for them. Through this model farmers will beable to do their business outside their home town.
Scope:
The model produced will be an e-Farming system.
The model will be used by farmers to sell their products online,
and used by wholesalers to buy the products online.
The main objective of this model is to increase the agricultural
trade in India.
It will maintain the database of all the farmers and
wholesalers.
It will manage all the account details of the farmers and
wholesalers such as name, date of birth, their constituency
area, region, state, phone No., login id and password.
Farmers can sell their products throughout the country.
It will lead to rural development.
Farmers will learn more about the Internet.
-
8/9/2019 old srs.pdf
4/25
-
8/9/2019 old srs.pdf
5/25
2. Project Scenario https://www.tgmc.in/project_scenario.php
3. Sample SRS http://www.tgmc.in/resource.php
4. Software
Engineering
Roger S. Pressman
5. Database System
Concepts
Abraham Silberschatz
Henry F. Korth
S. Sudarshan
Technologies:
J2EE : Application architecture
DB2 : Database
Rational : Design tool
Overview: SRS will include two sections:
Overall Descriptionwill describe major components of the system,
interconnection and external interfaces.
Specific Requirements will describe the functions of actors, their role in the
system and constraints.
-
8/9/2019 old srs.pdf
6/25
Overall Description:
Product Perspective
The web pages are present to provide the user interface on customer client
side. Communication between customer and server is provided through
HTTP/HTTPS protocols.
On the server side web server is for EJB and database server is for storing
the information.
Software Interface:
Client on Internet: Web Browser, Operating System (any)
-
8/9/2019 old srs.pdf
7/25
Web Server: Apache tomcat, Operating System (any)
Data Base Server: DB2, Operating System (any)
Hardware Interface:
Client side
Processor Ram Free Disk
Space
Web Browser (any) Pentium II at 500 MHz 256 MB 100 MB
Server side
Apache tomcat Pentium III at 1 GHz 256 MB 120 MB
DB2 Express-c Pentium III at 1 GHz 512 MB 512 MB
Communication Interface:
Client on Internet will be using HTTP/HTTPS protocol.
Product Functions:
Online registration for the farmers and the wholesalers in which they
have to fill their respective details (name, date of birth, address, area,phone No.) (a photograph will have to be uploaded).
User has to choose his/her category as (farmer or wholesaler) in order
to complete the registration.
-
8/9/2019 old srs.pdf
8/25
Users can take online guidelines to know how to navigate through the
website.
A detailed profile of all the users will be maintained.
Once registered user can buy/sell their products.
The system would show the current statistics on the web site about the
products.
Whenever a new product is available other users will be notified.
Users will be able to modify selected portions of their profile after
registration.
User Characteristics:
Every user should be comfortable of working with computer and net
browsing.
Every user must have basic knowledge of English or Hindi.
Constraints:
Users must have the facility of Internet.
Limited to HTTP/HTTPS.
User should have basic knowledge of computer.
GUI is in English and Hindi.
This system is working for single server.
-
8/9/2019 old srs.pdf
9/25
Use case model survey:
1.
General Public: The citizens of the country who are interested in e- Farming.
Register for e- FarmingThe general public will register themselves for
e- Farming through online system. They will provide their details
which will be submitted to the administrator and will be maintained
as database in the system.
Select CategoryFor the completion of registration they have to select
their category as farmer or wholesaler.
View own detailsThe users will view their own details which they filled
up at the time of their registration.
2.Administrator: Responsible for maintaining all the databases, generating
details of products and registering candidates for online business.
-
8/9/2019 old srs.pdf
10/25
Register candidatesAdministrator will register the candidates who
will be interested for the e- Farming.
View products detailsThe administrator can manage the details of
products filled by the users. View usersThe administrator can check the statistics of the users.
Validate registrationAdministrator will validate the online
registration of the users. They will be validated on the basis that
whether they have selected their category or not.
3. Farmer: Register for farmer, add details to profile, modify profile and add
details of products to be sell.
Add details to profileFarmers will enter their details in their profiles
such as name, address, Phone No. .
Modify profileFarmers will be able to modify selected portions of
their profile after registration.
Add details of productsFarmers can add the details of products which
they want to sell.
View own detailsThe details filled by the farmers at the time of
registration will be viewed by them for future references.
4.
Wholesaler: Register for wholesaler, add details to profile, modify profile and
view details of products to be buy.
Add details to profileWholesalers will enter their details in their profiles
such as name, address, Phone No. .
Modify profile
Wholesalers will be able to modify selected portions of
their profile after registration.
View details of productsWholesalers can view the details of products
available for purchase.
View own detailsThe details filled by the wholesalers at the time of
registration will be viewed by them for future references.
-
8/9/2019 old srs.pdf
11/25
Assumptions and dependencies:
The end user should have a basic knowledge of English or Hindi and
computer usage.
Administrator is created in the system already.
Roles and tasks are predefined.
Farmers and Wholesalers are able to surf the internet.
Specific Requirements:
Use case reports
1. General Public: The citizens of the country who are interested in e- Farming.
Register for e- FarmingThe general public will register themselves for
e- Farming through online system. They will provide their details
which will be submitted to the administrator and will be maintained
as database in the system.
Select CategoryFor the completion of registration they have to select
their category as farmer or wholesaler.
View own detailsThe users will view their own details which they filled
up at the time of their registration.
Register for e-Farming:
-
8/9/2019 old srs.pdf
12/25
Name of use caseFill up details
DescriptionThe user will fill the details in their registration form. These
details will be viewed by the administrator.
Preconditions
1.
Administrator is already logged in.
Normal flow of events
1.
Filling in the registration form.
2. Storing details in the database.
Alternate flow of events
1. A message will appear if any entry of registration form is left
blank or not according to correct data type.
2. The administrator will take the action accordingly.
-
8/9/2019 old srs.pdf
13/25
Post condition
The general information of user will be stored in database.
Name of use caseobtain user id and password
Description A unique user id and password will be provided to every user
on the basis of their registration form. Using this voter id and
password the user may get the rights to access all the features.
Preconditions
1.
The registration form should be filled up properly.
Normal flow of events
1.
Administrator will provide the user id and password.
Alternate flow of events
-
8/9/2019 old srs.pdf
14/25
If the details are not been submitted properly, then further
processing will not takes place.
Post condition
The user will obtain the id and password.
Select Category
Name of use caseFarmer or Wholesaler
Description
The users will select the category during the registration as farmers
or wholesalers.
Precondition
The user should already have a user id.
Normal flow of events
1.
They will register for online e-Farming system with their user id
and obtain a new password.
2.
They will be eligible to access the features.
Alternate flow of events
If the user will not register with the user id for e-Farming, he/she
cannot buy/sell their products.
Post conditionnone
-
8/9/2019 old srs.pdf
15/25
View own details:
Name of use caseview profile
DescriptionAfter filling the registration form, the user can view their profile
if he/she feels so.
Precondition
The user should be logged in.
Normal flow of events
The user will login with the user id and password and view the
details filled while registering for the e-Farming system.
Alternate flownone
Post condition
check whether the details filled are correct or not.
2. Administrator: Responsible for maintaining all the databases, generating
details of products and registering candidates for online business.
Register candidatesAdministrator will register the candidates who
will be interested for the e- Farming.
View products detailsThe administrator can manage the details of
products filled by the users.
View usersThe administrator can check the statistics of the users.
-
8/9/2019 old srs.pdf
16/25
Validate registrationAdministrator will validate the online
registration of the users. They will be validated on the basis that
whether they have selected their category or not.
Register candidates
Name of use caseAcquire data
DescriptionThe information of users will be seen by the administrator.
Precondition
1.
The data should be valid according to the requirements.
2.
The registration information should be seen by administrator only.
Normal flow of events
The user will register himself/herself and his/her information is seen
by the administrator.
Alternate flow
The information is not complete then registration will not be done.
-
8/9/2019 old srs.pdf
17/25
Post conditionadministrator will maintain the details of the user in the
database.
Name of use caseProvide unique id and password
DescriptionThe administrator will provide a unique id and password to the
user so that he\she can be online by logging in through their id.
Precondition
The details of the user should be entered in the database.
Normal flow of events
The administrator will provide the id and passwordto the user.
Alternate flownone
Post conditionid provided to every user should be unique to avoid
discrepancies.
-
8/9/2019 old srs.pdf
18/25
View products details
Name of use case
view the details of product.
DescriptionThe details of product such as quantity, price etc. can be viewed
by the administrator.
PreconditionThe result should have been displayed.
-
8/9/2019 old srs.pdf
19/25
Normal flow of events
After the results are calculated, the details of product are
viewed by the administrator to draw various conclusions.
Alternate flow - none
Post conditionnone
Validation of users
Name of use caseValidation of users
Description The user will fill the registration form and it is viewed by the
administrator and is then validated.
Precondition
1.
The user will have to submit the details for registration.
Normal flow of events
1.
The user will submit the details.
2.
The administrator will verify these documents.
Alternate flow
If the user fails to submit the details, then he/she will be
disqualified .
Post conditionthe user will get user id only if details have been
submitted.
-
8/9/2019 old srs.pdf
20/25
3. Farmer: Register for farmer, add details to profile, modify profile and add
details of products to be sell.
Add details to profileFarmers will enter their details in their profiles
such as name, address, Phone No. . Modify profileFarmers will be able to modify selected portions of
their profile after registration.
Add details of productsFarmers can add the details of products which
they want to sell.
View own detailsThe details filled by the farmers at the time of
registration will be viewed by them for future references.
Add details to profile -
Name of use case -Add details
DescriptionFarmers will enter their details in their profiles such as name,
address, phone No. .
Pre condition -
1. The person must be farmer.
2. The person can add the details before registration.
Normal flow of events-
1. The farmer can login on their profile through valid id and
password.
2. The farmer profile will be updated after adding the details.
Alternate flow of events-
-
8/9/2019 old srs.pdf
21/25
If the farmer does not enter valid id and password then
he/she cannot login.
Post condition-
The farmer can open their profile for adding details.
Modify profile
Name of use case-Modify profile
Description -Farmers will be able to modify selected portions of
their profile after registration.
Pre condition-
The person must be farmer.
Normal flow of events-
1.
The farmer can login on their profile through valid id andpassword.
2. The farmer profile will be updated after modifying.
Alternate flow of events-
If the farmer does not enter valid id and password then he/she
cannot login.
Post condition-
The farmer can open their profile for modifying them.
View own details:
-
8/9/2019 old srs.pdf
22/25
Name of use case
view profile
DescriptionAfter filling the form, the farmer can view their profile if he/she
feels so.
Precondition
The farmer should be logged in.
Normal flow of events
The farmer will login with their id and password and view the details
filled while registration.
Alternate flownone
Post conditioncheck whether the details filled are correct or not.
5.
Wholesaler: Register for wholesaler, add details to profile, modify profile and
view details of products to be buy.
Add details to profileWholesalers will enter their details in their profiles
such as name, address, Phone No. .
Modify profileWholesalers will be able to modify selected portions of
their profile after registration.
View details of productsWholesalers can view the details of products
available for purchase.
View own detailsThe details filled by the wholesalers at the time of
registration will be viewed by them for future references.
-
8/9/2019 old srs.pdf
23/25
Add details to profile
Name of use case -Add details
DescriptionWholesalers will enter their details in their profiles such as
name, address, phone No. .
Pre condition -
3. The person must be wholesaler.
4. The person can add the details before registration.
Normal flow of events-
3. The wholesaler can login on their profile through valid id and
password.4. The wholesaler profile will be updated after adding the details.
Alternate flow of events-
If the wholesaler does not enter valid id and password then
he/she cannot login.
Post condition-
The wholesaler can open their profile for adding details.
-
8/9/2019 old srs.pdf
24/25
Modify profile
Name of use case-Modify profile
Description -Wholesalers will be able to modify selected portions of
their profile after registration.
Pre condition-
The person must be wholesaler.
Normal flow of events-
3.
The wholesaler can login on their profile through valid id and
password.
4.
The wholesaler profile will be updated after modifying.
Alternate flow of events-
If the wholesaler does not enter valid id and password then he/she
cannot login.
Post condition-
The wholesaler can open their profile for modifying them.
View own details:
Name of use caseview profile
-
8/9/2019 old srs.pdf
25/25
DescriptionAfter filling the form, the wholesaler can view their profile if
he/she feels so.
Precondition
The wholesaler should be logged in.
Normal flow of events
The wholesaler will login with their id and password and view the
details filled while registration.
Alternate flownone
Post conditioncheck whether the details filled are correct or not.