egas

Embed Size (px)

Citation preview

Software Requirements Specifications Document

Software Requirements Specification OnE-GAS MANAGEMENT SYSTEM

ByNITESH RAWAT SHASHI SHEKHAR PANDEY SNEHA LAL MOHAN

(4th semester)

DEPARTMENT OF COMPUTER APPLICATIONS COCHIN UNIVERSITY OF SCIENCE AND TECHNOLOGY KOCHI-22

Page 1 of 18f

Software Requirements Specifications Document

Table of Contents1. Introduction 1.1 Purpose 1.2 Scope 1.3 Definitions, Acronyms, and Abbreviations 2. The Overall Description 2.1 Product Features 2.2 User Characteristics 2.3 Feasibility 2.4 Overview Existing system 6 Proposed system 7 3. System Requirement Specification 3.1 User interface requiremants 3.2 Database requirements 3.3 Functional requirements 3.4 Non functional requirements Produc trequirement 8 Organizational requirements 8 External requirements 8 7 7 7 8 8 4 4 4 4 4 4 5 5 6

4. Tools, Techiques & Mechanism 9

Page 2 of 18f

Software Requirements Specifications Document5. System Design 11 5.1 Input design 12 5.2 Output design 5.3 Problem partitions 5.4 Architectural design 5.4.1Data flow diagram

12 13 13 14

Page 3 of 18f

Software Requirements Specifications Document

1. IntroductionThe following subsections of the Software Requirements Specifications (SRS) document on the project E-GAS MANAGEMENT SYSTEM is providing an overview of the entire system. ( The thing to keep in mind as you write this document is that you are telling what the system must do so that designers can ultimately build it. Do not use this document for design!!!)

1.1 PurposeThe e-gas management system is a web based application that is meant for the efficient distribution of the gas cylinders as well as it is meant for the efficient use of the related resources. All types of steps and rules followed in an efficient manner and in easy way for the customers as well as for the other users.

1.2 ScopeThe scope of this system is this that it can be accessed by all the enrolled customers so that thet they can book ,enquire their orders. They can also purchase other related items.administrator can have vigilanse on dealers which in trun will manage the end customers.

1.3 Definitions, Acronyms, and Abbreviations EGS:- E-GAS SEWA. WEBAPP:web application

2. The Overall DescriptionDescribe the general factors that affect the product and its requirements. This section does not state specific requirements. Instead, it provides a background for those requirements, which are defined in section 3, and makes them easier to understand. In a sense, this section tells the requirements in plain English for the consumption of the customer. Section3 will contain a specification written for the developers.

2.1 Product FeaturesThe ADMINISTRATOR will be the LPG INCHARGE of the district

The features that are available to the Administrator are:Administrator can see the overall working of the all dealers. Can add or remove new dealers. Can view or update or force new constraints on the dealers. can change the attributes concerned with the dealers, such as name location etc. can see the updates done by any faculty in their subjects.

Page 4 of 18f

Software Requirements Specifications Document

The features that are available to the DEALER are:can manage the overall working of the gas agency can have track on the customers and their respective moves can add or remove or update customers. can directly sell the other LPG related accessories.

The features that are available to the CUSTOMERS are:customers can only only book orders ,can track them and buy others related accessories.

2.2 User CharacteristicsTotal users can be divided in three parts i.e. 1) Administrator. 2) Dealer. 3) Customer. 2.2.1 customer: Understanding of computers. understanding of usage internet. understanding of the information feeding though online systems. 2.2.2 Dealer: Understanding of computers. Experince in the mass manipulation of people. understanding of the overall restrictions and limit of the the online systems. 2.2.3 Administration Basic Experience with database administration. Basic background knowledge of the typical Gas-management system . Basic knowledge about the rules and regulation enforced by the govt .

2.3 FeasibilityThe problem is analyzed and feasibility study is also performed for making sure that it is feasible for creating such a web site. The feasibility report is created and mainly three types of feasible studies are performed. Technical Feasibility Functional Feasibility Time Feasibility

2.3.1 Technical Feasibility

Page 5 of 18f

Software Requirements Specifications Document Technical feasibility centers on the existing computer and to what extend it can support the proposed addition. In technical feasibility both software and hardware feasibilities are checked. In the case of hardware the created software can be executed on any configurations in which Microsoft windows operation system works.

2.3.2 Functional FeasibilityAll functional and non-functional requirements have been analyzed. Functional requirements are the one the minimum things the system should support. Non-functional requirements are mainly to avoid external events that can affect the system performance. The proposed system is beneficial only if they can be turned into information system that will meet the organizations functional requirements. An estimate should be made to know how strong the reaction of a user staff (Administrator,dealers,customers etc.) is likely to have towards the developed computerized system.

2.3.3 Time FeasibilityWill the proposed project be completed within the stipulated time frame effectively? As the analysis shows, the project has a scope for a long period of time. The stipulated time for this project is three months and it can be completed within that span of time. As this project is technically, functionally, timely feasible, the system is judged feasible. Viewing the collected information, recommendation and justification, conclusions is made of the proposed system.

2.4 OverviewExisting SystemThere are so many reasons for introducing the new system. The existing system was found as time consuming manual system. The customer had to previously stand in queue for the booking. Improper handling of the mob in busy hours often results in quarrel and chaos. Also, For Indian society the corruption is always present which only favors the strong. this leads to the deprivation of the facilities to other customers .this lead discontent of the customers for which they pay the price.

Page 6 of 18f

Software Requirements Specifications Document

Proposed SystemThe proposed system is a website, which allows the the customers to have full enjoyment of their controls on to the system, and they can easily get the required informations. The web site provides a variety of facilities to customers .it includes from the booking of LPG to its cancellation, from payment of the orders to its tracking. Dealers can efficiently manage the customers, their orders and payments. Administrator can have close vigilance on each dealer so that the benefit goes in favor of the end users. The security feature is very strong therefore record can be only updated by Admin & dealers. Only a part of the overall system is available to each user of EGS. The home page contains three categories of user. By clicking on any of them the related login screen will come . Password screen includes the username and password. On being entered, the password is evaluated and the entry is given only to the correct password entry. There are three types of login, administrator login, dealer login, customer login. The new customer can register to the system with the help of admin...

3. SYSTEM REQUIREMENT SPECIFICATION3.1 User Interface RequirementsThree types of users are allowed in this system, one is the registered user second is the unregistered user other one is the administrator. On providing the correct login name and password the users can get into the website. New users can register to create an account. The unregistered user can see the product categories and products and can also send requests for some new products, but he needs to submit his address and email address. The administrator can accept or reject the requests, complaints and orders and can manipulate the user needs.

3.2 Database RequirementsMySQL is used as the Back end. The tables are designed using the PHP.

3.3 Functional Requirements The website should be able to connect over the internet. The website should be able to manage the tasks specified from the customers.

Page 7 of 18f

Software Requirements Specifications Document The Administrator has the power to accept or reject an order. The Administrator has the power to delete a user account from the company. The customers can send requests and complaints about products.

3.4 Non-Functional RequirementsNon-functional requirements define system properties and constraints. Examples of system properties are reliability, response time and store occupancy. Examples of constraints are the capabilities of the I/0 devices attached to the system and the data representations used by other systems connected to the required system. Non-functional requirements can be classified into

Product requirements:These are requirements, which result from the need for the delivered product to behave in a particular way. For this system the memory requirement is minimum 128 MB RAM and 20GB of secondary store and 56KBPS / LAN Card.

Organizational requirements:These are requirements, which are consequences of organizational policies and procedure.

External requirements:This covers all the factors external to the system and its development.

System Requirements:Given below are the basic descriptions of the information processed by the system and minimum technical requirements. 1 Hardware Requirements The minimum hardware requirements are:

1.1 Client System (Student and Administrator): Pentium II 64 MB RAM

Page 8 of 18f

Software Requirements Specifications Document 20 MB of free hard disk space Keyboard and pointing device

1.2 Database Server: Pentium II 256 MB RAM 50 MB of free hard disk space Keyboard and pointing device

2 Software Requirements The following additional software must be present: 2.1 Client System (Customer, Dealer and Administrator): JDK 1.3 (Java runtime environment) User must have access to the internet such as web browser. 2.2 Database Server: Windows XP or later from any producer. MySQL. PHP enabled browser.

4.2.2 TOOLS, TECHNIQUES AND MECHANISM 1. PHP introduction:Taken directly from PHP's home, PHP.net, "PHP is an HTML-embedded scripting language. Much of its syntax is borrowed from C, Java and Perl with a couple of unique PHP-specific features thrown in. The goal of the language is to allow web developers to write dynamically generated pages quickly." Hypertext Pre-processor (PHPs) is a server-side scripting language, and server-sidescripts are special commands you must place in Web pages. Those commands are processed before the pages are sent from your Server to the Web browser of your visitor. A typical PHP files will content commads to be executed in the server in addition to the usual mixture of text and HTML (Hypertext Markup Language) tags.

Page 9 of 18f

Software Requirements Specifications Document The appearance of an PHP page depends on who or what is viewing it. To the Web browser that receives it, an Active Server Page looks just like a normal HTML page. If a visitor to your Web site views the source code of an PHP page, that's what they see: a normal HTML page. However, the file located in the server looks very different. In addition to text and HTML tags, you also see server-side scripts. This is what the PHP page looks like to the Web server before it is processed and sent in response to a request.

2. PHP & HTML

When someone visits your PHP webpage, your web server processes the PHP code. It then sees which parts it needs to show to visitors(content and pictures) and hides the other stuff(file operations, math calculations, etc.) then translates your PHP into HTML. After the translation into HTML, it sends the webpage to your visitor's web browse

PHP is not simply about outputting random values and simple text. You can seamlessly integrate PHP with HTML and output tables, formatted text, and more. You are probably wondering, what's the big deal about this? The deal is that you can control what is displayed on your site by integrating PHP and HTML. Best of all, PHP does not have its own set of formatting tags for you to learn. You use HTML.

3. APACHE SERVERA Web server is the server software behind the World Wide Web. It listens for requests from a client, such as a browser like Netscape or Microsoft's Internet Explorer. When it gets one, it processes that request and returns some data. This data usually takes the form of a formatted page with text and graphics. The browser then renders this data to the best of its

Page 10 of 18f

Software Requirements Specifications Document ability and presents it to the user. Web servers are in concept very simple programs. They wait for requests and fulfill them when received. Web servers communicate with browsers or other clients using the Hypertext Transfer Protocol (HTTP), which is a simple protocol that standardizes the way requests, are sent and processed. The Web server is responsible for fetching the information. While Web servers may have been simple at some point, they are not anymore. All Web servers are not created equal.

4. MYSQLMySQL is a multithreaded, multi-user SQL database management system (DBMS) which has, according to Mysql AB, more than 10 million installations Mysql is owned and sponsored by a single for-profit firm, the Swedish company Mysql AB, which holds the copyright to most of the codebase. This is similar to the JBoss model and how the Free Software Foundation handles copyright in its projects, and dissimilar to how the Apache project does it, where the software is developed by a public community and the copyright to the codebase is owned by its individual authors. Libraries for accessing Mysql databases are available in all major programming languages with language-specific APIs. In addition, an ODBC interface called MyODBC allows additional programming languages that support the ODBC interface to communicate with a Mysql database, such as ASP or Coldfusion. The Mysql server and official libraries are mostly implemented in ANSI C.

FEATURES:

Multiple storage engines, allowing you to choose the one which is most effective for each table in the application (in Mysql 5.0, storage engines must be compiled in; in Mysql 5.1, storage engines can be dynamically loaded at run time):

Page 11 of 18f

Software Requirements Specifications Document Native storage engines (MyISAM, Falcon, Merge, Memory (heap), Federated, Archive, CSV, Blackhole, and Cluster) Partner-developed storage engines (InnoDB, solidDB, NitroEDB, BrightHouse) Community-developed storage engines Custom storage engines Commit grouping, gathering multiple transactions from multiple connections together to increase the number of commits per second.

5. BROWSERS:A Browser is a software program used to view HTML documents within the World Wide Web. The primary goal of a web browser is to send and receive data from the Web Server that provides the Web page. The server sends the web page in the HTML markup language and the browser interprets that HTML code, presenting the page to the user. 5.1. Netscape Navigator: -

Netscape navigator created by Netscape Corporation, one of the most popular browsers available today. Netscape is available on windows, Macintosh and X windows platforms. 5.2. Internet Explorer: -

Internet is the Microsofts contribution to the Web browser community. The Internet Explorer is based on Microsofts ActiveX technology and is available for Windows, Windows NT, and Macintosh platforms. One significant capability of the Internet Explorer is that support the embedded intrinsic and ActiveX controls within the Web pages, with which JavaScript can interact.

5.3. Other Browsers: Varieties of additional browsers are available, and because the Internet is evolving so rapidly, other new bro wser may have co me into e xistence.

Page 12 of 18f

Software Requirements Specifications Document

5. SYSTEM DESIGNDesign is the first step in the development phase for any engineered product or system. It may be defined as: the process of applying various techniques and principles for the purpose of defining a device, a process or a system in sufficient detail to permit its physical realization. Computer software design like engineering design approaches in other disciplines changes continually as new methods better analysis and broader understanding evolve. Using one of a number of design methods the design step produces a data design, an architectural design and a procedural design. Preliminary design is concerned with transformation requirements to data and software architectures. Detail design focus on refinements to architectural representation that lead to detailed data structure and algorithmic representation for software. The data design transforms the information domain model created during analysis in to the data structures that will be required to implement the software. The architectural design defines the relationship among major structural components in to a procedural description of the software.

5.1 Input DesignInput Design plays a vital role in the life cycle of software development, it requires very careful attention of developers. The input design is to feed data to the application as accurate as possible. So inputs are supposed to be designed effectively so that the errors occurring while feeding are minimized. According to Software Engineering Concepts, the input forms or screens are designed to provide to have a validation control over the input limit, range and other related validations. Business to customer system has input screens in the modules. Error messages are developed to alert the user whenever he commits some mistakes and guides him in the right way so that invalid entries are not made. Input design is the process of converting the user created input into a computer-based format. The goal of the input design is to make the data entry logical and free from errors. The error is in the input are controlled by the input design. The application has been developed in userfriendly manner. The forms have been designed in such a way during the processing the cursor

Page 13 of 18f

Software Requirements Specifications Document is placed in the position where must be entered. The user is also provided with in an option to select an appropriate input from various alternatives related to the field in certain cases. Validations are required for each data entered. Whenever a user enters an erroneous data, error message is displayed and the user can move on to the subsequent pages after completing all the entries in the current page.

5.2 Output DesignOutputs are the most important and direct source of information to the user and to the management. Efficient and eligible output design should improve the systems relationship with the user and help in decision making. Output design generally deals with the results generated by the system. The Output from the computer is required to mainly create an efficient method of communication among the administrator and the customers. The output is the system which allows the administrator to manage his customers in terms of accepting or rejecting their orders, complaints and requests. A new user can be create account himself.

5.3 Problem PartitionsThis project is partitioned into following modules: y Administrator Status of dealers Vigilance of dealers Overall management to the system Complaints Status y Customer Order Payment My Account Complaints Requests

Page 14 of 18f

Software Requirements Specifications Document

y

Dealer Management of the overall stock. Management of the end customers. Management of the connections.

5.5 Architectural DesignLarge system can be decomposed into sub-systems that provide some related set of services. The initial design process includes, identifying these sub-systems and establishing a framework for sub-system control and communication.

5.5.1 Data Flow DiagramA DFD or data flow diagram is a graphical representation that depicts the information flow and the transformation that are applied to data it moves from input to output. Data Flow Diagram (DFD) is used to define the flow of the system and its resources such as information. Data Flow Diagrams are a way of expressing system requirements in a graphical manner. DFS represents one of the most ingenious tools used for structured analysis. A DFD is also known as a bubble chart. It has the purpose of clarifying system requirements and identifying major transformations that will become programs in system design. The symbols used in the DFD are: -

y

BOX: a box represents a Administrator or a faculty or a student/parents of the information. It is also called an entity. CIRCLE: A circle represents a process or transformation that is applied to the data, which changes it in some way. Each process or bubble is assigned a number.

y

y

ARROW: An arrow represents one or more data items. All arrows on a data flow diagram are labeled. The arrowhead indicates the direction of data flow.

Page 15 of 18f

Software Requirements Specifications Document y PARALLEL LINES: Represent a repository of data that is to be stored for use by one or more processes.

y

BOX with BLACK CORNER: Represent a duplicate entity.

Level - 0

Administrator

EGS SYSTEM

Database

DEALER

EGS SYSTEM

Database

Student/parents Module:-

CUSTOMER

EGS SYSTEM

DATABASE

Admin database

Page 16 of 18f

Software Requirements Specifications Document

Administ rator

password Userid

Login validatio n

EGS System

DEALERS AND ASSOCIAT ES

CUSTOMER Database

Admin Database DEALER database

New CUSTO MER

Registered by New CUSTOMER Database DEALER

Page 17 of 18f

Software Requirements Specifications Document

CUST OME R

Userid password

Login Validation

EGSSyste m

User area i.e either CUSTOMER OR DEALER

User Database

Admin Database

Page 18 of 18f