srs example 2010 group2

58 98 0
srs example 2010 group2

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

Software Requirements Specification Amazing Lunch Indicator Sarah Geagea 881024-4940 Sheng Zhang 850820-4735 Niclas Sahlin 880314-5658 Faegheh Hasibi 870625-5166 Farhan Hameed 851007-9695 Elmira Rafiyan 840724-5383 Magnus Ekberg 851022-1933 Table of Contents Introduction 1.1 Purpose 1.2 Scope 1.3 Definitions, acronyms, and abbreviations 1.4 References 2 Overall description 2.1 Product perspective 2.2 Product functions 2.3 User characteristics 2.4 Constraints 2.5 Assumptions and dependencies 2.6 Apportioning of requirements Specific requirements 3.1.1 User interfaces 3.1.2 Hardware interfaces 3.1.3 Software interfaces 3.1.4 Communications interfaces 3.2 Functional requirements 3.2.1 User Class - The User 3.2.2 User Class - Restaurant Owner 14 3.2.3 User Class - Administrator 18 3.3 Performance requirements 21 3.4 Design constraints 23 3.5 Software system attributes 23 Prioritization and Release Plan 27 4.1 Choice of prioritization method 27 Appendix I: Selection for Cost-Value Approach 29 Appendix II: Prioritization Result of 10 selected Requirements Using Cost-Value Approach 32 Appendix III: Five-Way Priority Scheme 36 Appendix IV: Release Plan 47 Appendix V: I-star 55 i Introduction This section gives a scope description and overview of everything included in this SRS document Also, the purpose for this document is described and a list of abbreviations and definitions is provided 1.1 Purpose The purpose of this document is to give a detailed description of the requirements for the “Amazing Lunch Indicator” (ALI) software It will illustrate the purpose and complete declaration for the development of system It will also explain system constraints, interface and interactions with other external applications This document is primarily intended to be proposed to a customer for its approval and a reference for developing the first version of the system for the development team 1.2 Scope The “Amazing Lunch Indicator” is a GPS-based mobile application which helps people to find the closest restaurants based on the user’s current position and other specification like price, restaurant type, dish and more The application should be free to download from either a mobile phone application store or similar services Restaurant owners can provide their restaurant information using the web-portal This information will act as the bases for the search results displayed to the user An administrator also uses the web-portal in order to administer the system and keep the information accurate The administrator can, for instance, verify restaurant owners and manage user information Furthermore, the software needs both Internet and GPS connection to fetch and display results All system information is maintained in a database, which is located on a web-server The software also interacts with the GPS-Navigator software which is required to be an already installed application on the user’s mobile phone By using the GPS-Navigator, users can view desired restaurants on a map and be navigated to them The application also has the capability of representing both summary and detailed information about the restaurants 1.3 Definitions, acronyms, and abbreviations Table - Definitions Term Definition User Someone who interacts with the mobile phone application Admin/Administrator System administrator who is given specific permission for managing and controlling the system Restaurant Owner Someone who has a restaurant and wants his restaurant to be a part the application Web-Portal A web application which present special facilities for restaurant owner and admin GPS Global Positioning System GPS-Navigator An installed software on mobile phone which could provide GPS connection and data, show locations on map and find paths from current position to defined destination Application Store An installed application on mobile phone which helps user to find new compatible applications with mobile phone platform and download them from Internet Stakeholder Any person who has interaction with the system who is not a developer DESC Description RAT Rational DEP Dependency TAG A unique, persistent identifier contained in a PLanguage statement [2] GIST A short, simple description of the concept contained in a PLanguage statement [2] SCALE The scale of measure used by the requirement contained in a PLanguage statement [2] METER The process or device used to establish location on a SCALE contained in a PLanguage statement [2] MUST The minimum level required to avoid failure contained in a PLanguage statement [2] PLAN The level at which good success can be claimed contained in a PLanguage statement [2] WISH A desirable level of achievement that may not be attainable through available means contained in a PLanguage statement [2] DEFINED The official definition of a term contained in a PLanguage statement [2] 1.4 References [1] IEEE Software Engineering Standards Committee, “IEEE Std 830-1998, IEEE Recommended Practice for Software Requirements Specifications”, October 20, 1998 [2] Feldt R,”re_lecture5b_100914”, unpublished [3] Davis M A, “Just Enough Requirements Management: Where Software Development Meets Marketing”, New York, Dorset House Publishing, 2005 [4] Karlsson J, “A Cost-Value Approach for Prioritizing Requirements”, Norges TekniskNaturvitenskapelige Uni 1997 1.5 Overview The remainder of this document includes three chapters and appendixes The second one provides an overview of the system functionality and system interaction with other systems This chapter also introduces different types of stakeholders and their interaction with the system Further, the chapter also mentions the system constraints and assumptions about the product The third chapter provides the requirements specification in detailed terms and a description of the different system interfaces Different specification techniques are used in order to specify the requirements more precisely for different audiences The fourth chapter deals with the prioritization of the requirements It includes a motivation for the chosen prioritization methods and discusses why other alternatives were not chosen The Appendixes in the end of the document include the all results of the requirement prioritization and a release plan based on them Overall description This section will give an overview of the whole system The system will be explained in its context to show how the system interacts with other systems and introduce the basic functionality of it It will also describe what type of stakeholders that will use the system and what functionality is available for each type At last, the constraints and assumptions for the system will be presented 2.1 Product perspective This system will consist of two parts: one mobile application and one web portal The mobile application will be used to find restaurants and view information about them while the web portal will be used for managing the information about the restaurants and the system as a whole The mobile application will need to communicate to a GPS application within the mobile phone, which in turn communicates with a physical GPS device to find the location of the user, see Figure The GPS will provide the mobile application with locations of both the user and the restaurants and the distance between them, but it will also provide maps and the functionality to display the application’s data on the map The functionality provided by the GPS will be embedded into the application in order for the user to be able to use the functions in the application in a seamlessly manner Since this is a data-centric product it will need somewhere to store the data For that, a database will be used Both the mobile application and web portal will communicate with the database, however in slightly different ways The mobile application will only use the database to get data while the web portal will also add and modify data All of the database communication will go over the Internet Figure - Block diagram The mobile application has some restrictions about the resource allocation To avoid problems with overloading the operating system the application is only allowed to use 20 megabytes of memory while running the application The maximum amount of hard drive space is also 20 megabytes 2.2 Product functions With the mobile application, the users will be able to search for restaurants The result will be based on the criteria the user inputs There are several search criteria and it will be possible for the administrator of the system to manage the options for those criteria that have that The result of the search will be viewed either in a list view or in a map view, depending on what criteria included in the search The list view will have one list item for each restaurant matching the search criteria and show a small part of the restaurant information so the user can identify the restaurant The map view will show each restaurant location as a pin on the map as well as the user’s own location In both views the users will be able to either select a restaurant as target destination or get information how to get there, or view the information of a specific restaurant The web portal will provide functionality to manage the system and the restaurant information It will also provide information about the system, for example show when there is a new update 2.3 User characteristics There are three types of users that interact with the system: users of the mobile application, restaurant owners and administrators Each of these three types of users has different use of the system so each of them has their own requirements The mobile application users can only use the application to find a restaurant This means that the user have to be able to search for restaurants, choose a restaurant from that search and then navigate to it In order for the users to get a relevant search result there are multiple criteria the users can specify and all results matches all of those The restaurant owners will not use the mobile application but the web portal instead There they will manage the information about their restaurant, for example a description of the restaurant, contact information and their menu The administrators also only interact with the web portal They are managing the overall system so there is no incorrect information within it The administrator can manage the information for each restaurant as well as the options for both the mobile application users and the restaurant owners 2.4 Constraints The mobile application is constrained by the system interface to the GPS navigation system within the mobile phone Since there are multiple system and multiple GPS manufacturers, the interface will most likely not be the same for every one of them Also, there may be a difference between what navigation features each of them provide The Internet connection is also a constraint for the application Since the application fetches data from the database over the Internet, it is crucial that there is an Internet connection for the application to function Both the web portal and the mobile application will be constrained by the capacity of the database Since the database is shared between both application it may be forced to queue incoming requests and therefor increase the time it takes to fetch data 2.5 Assumptions and dependencies One assumption about the product is that it will always be used on mobile phones that have enough performance If the phone does not have enough hardware resources available for the application, for example the users might have allocated them with other applications, there may be scenarios where the application does not work as intended or even at all Another assumption is that the GPS components in all phones work in the same way If the phones have different interfaces to the GPS, the application need to be specifically adjusted to each interface and that would mean the integration with the GPS would have different requirements than what is stated in this specification 2.6 Apportioning of requirements In the case that the project is delayed, there are some requirements that could be transferred to the next version of the application Those requirements are to be developed in the third release, see Appendix IV Specific requirements This section contains all of the functional and quality requirements of the system It gives a detailed description of the system and all its features 3.1 External interface Requirements This section provides a detailed description of all inputs into and outputs from the system It also gives a description of the hardware, software and communication interfaces and provides basic prototypes of the user interface 3.1.1 User interfaces A first-time user of the mobile application should see the log-in page when he/she opens the application, see Figure If the user has not registered, he/she should be able to that on the log-in page If the user is not a first-time user, he/she should be able to see the search page directly when the application is opened, see Figure Here the user chooses the type of search he/she wants to conduct Every user should have a profile page where they can edit their e-mail address, phone number and password, see Figure Also, the user can set the mobile application to his/her preferred language The “P” icon shows where the user can click to navigate to his/her profile page Figure - Login page Figure – Search page Figure – Profile page In Figure 5, the list view for the results is shown When a user searches by price, this view should be the default one The sorting header allows the user to sort the results according to price, restaurant name, distance, restaurant type and specific dish Each result item includes information about the restaurants, a link to the restaurant’s web-page and an information link, which provides a more detailed description of the restaurant There is also a filtering option, where the user can choose to filter the results by increasing or decreasing the price or distance range, see Figure In the map view each restaurant is represented by a pin, see Figure Next to every pin there is an information link which provides a more detailed description of the restaurant, as mentioned for the list view The same filtering option, as for the list view, is included in the map view The restaurant owners and administrators interact with the system through a web-portal, see Figure A restaurant owner should be able to register on the web-portal in order to log in and manage the restaurant information An administrator should also be able to log in to the web-portal where he/she can administer the system by for instance editing restaurant or user information Figure – List view Figure – Map view Figure – Filter menu Figure – Web Portal 3.1.2 Hardware interfaces Since neither the mobile application nor the web portal have any designated hardware, it does not have any direct hardware interfaces The physical GPS is managed by the GPS application in the mobile phone and the hardware connection to the database server is managed by the underlying operating system on the mobile phone and the web server 3.1.3 Software interfaces The mobile application communicates with the GPS application in order to get geographical information Req User QR2 Magnus Elmira Niclas Faegheh Sarah Average Sum 2 2 2 Rank of Req Magnus Elmira Niclas Faegheh Sarah Average Sum 1 1 0,8 Rank of Req Magnus Elmira Niclas Faegheh Sarah Average Sum 1 1 1 Rank of Req Magnus Elmira Niclas Faegheh Sarah Average Sum 1 1 0,8 Rank of Req Magnus Elmira Niclas Faegheh Sarah Average Sum Restaurant owner -2 -1 -1 -1 -1 -1,2 Customer Administrator -2 -2 -2 -2 -2 -2 Customer Administrator -2 -2 -2 -2 -2 -2 Customer Administrator -2 -2 -2 -2 -1 -1,8 Customer 1 -1 0,4 -2 Restaurant owner -2 -1 -1 -1 -1 -1,2 1 0 0,4 -1,8 Restaurant owner -1 -1 -1 -0,4 1 -2 -1 -0,2 -1,8 20 User QR8 Administrator -2 -2 -2 -2 -2 -2 2 1 1,2 -0,8 19 User QR5 Customer 21 User QR4 Administrator -2 -2 -2 -2 -2 -2 11 User QR3 Restaurant owner -2 -2 -2 -2 -2 -2 1 1 0,8 42 Restaurant owner -2 -2 -2 -2 -1 -1,8 0 0,6 -2,2 Rank of Req 26 User QR10 Magnus Elmira Niclas Faegheh Sarah Average Sum -1 -1 -1 -1 -1 -1 Rank of Req Magnus Elmira Niclas Faegheh Sarah Average Sum -1 -1 -1 -1 -0,8 Rank of Req Magnus Elmira Niclas Faegheh Sarah Average Sum Administrator -2 -2 -2 -2 -2 -2 Customer Administrator -1 -2 -2 -2 -2 -1,8 Customer Administrator 2 1,6 Customer Administrator -2 -2 -2 -2 -2 -2 Customer -1 -1 -1 -0,6 -5,6 -1 -1 -1 -1 -0,8 -5,6 -2 -2 -2 -2 -2 -2 Restaurant owner -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 Restaurant owner 0 1 0,4 2 1,5 -0,7 Magnus Elmira Niclas Faegheh Sarah Average Sum Rank of Req 2 1,6 -0,8 12 User Magnus Elmira Niclas Faegheh Sarah Average -2 -2 -2 -2 -2 -2 -2 User QR15 Restaurant owner -2 -2 -2 -2 Restaurant owner 2 1,6 Rank of Req QR14 Customer 46 User QR13 Administrator -2 -2 -2 -2 -2 -2 45 User QR11 Restaurant owner -2 -2 -2 -2 -2 -2 43 -1 2 1,2 Sum -2,4 Rank of Req 30 User QR16 Magnus Elmira Niclas Faegheh Sarah Average Sum -2 -2 -2 -2 -2 -2 Rank of Req Magnus Elmira Niclas Faegheh Sarah Average Sum 1 0 0,8 Rank of Req Magnus Elmira Niclas Faegheh Sarah Average Sum -2 -2 -2 -2 -2 -2 Rank of Req Magnus Elmira Niclas Faegheh Sarah Average Sum -2 -1 -2 -2 -1 -1,6 Rank of Req Magnus Elmira Niclas Faegheh Sarah Restaurant owner -2 -2 -2 -2 -2 -2 Customer Administrator -2 -2 -2 -2 -2 -2 Customer Administrator -2 -2 -2 -2 -2 -2 Customer Administrator -2 -2 -2 -2 -2 Customer 2 1 1,2 -2 Restaurant owner 1 0 0,8 2 1 1,2 -2 Restaurant owner -2 -1 -2 -2 -1 -1,6 2 1,6 -3,6 40 User QR20 Administrator -2 -2 -2 -2 -2 -2 -1 2 0 0,6 -2,8 23 User QR19 Customer 22 User QR18 Administrator 0 1 0,4 33 User QR17 Restaurant owner -2 -1 -2 -2 -2 -1,8 0 1 -1 44 Restaurant owner -2 -2 -2 -2 -1 2 1 Average Sum 0,2 Rank of Req Magnus Elmira Niclas Faegheh Sarah Average Sum -2 -1 -2 -1 -1 Rank of Req Magnus Elmira Niclas Faegheh Sarah Average Sum 1 1 1 Rank of Req Requirement ID 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 FR30 FR28 FR29 FR32 FR11 FR22 FR31 FR9 QR13 QR1 QR2 QR14 FR1 FR23 QR23 FR26 FR13 FR12 QR4 QR5 Restaurant owner -2 -1 -2 -2 -1 -1,6 Restaurant owner -2 -2 -2 -1 -1,4 15 Table – Result of five-way priority scheme prioritization Priority 1,4 -2,2 Administrator -2 -1 -2 -2 -1 -1,6 Customer Administrator -2 -2 -2 -2 -2 -2 Customer 2 2 2 -2,2 28 User QR23 -2 27 User QR21 -1,8 45 1 1,2 -1,2 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 QR3 QR17 QR18 FR15 FR18 QR8 QR20 QR21 FR3 QR15 FR16 FR20 QR16 FR2 FR17 FR10 FR14 FR19 FR25 QR19 FR4 FR5 FR21 FR33 QR10 QR11 46 Appendix IV: Release Plan Table – Release plan RE: FR1 FR2 FR3 FR4 FR5 FR6 FR7 FR8 Dependencies Description Motivation - Download mobile application FR1 - FR1, FR3 FR1 FR4 FR6, QR22, QR23 FR6, QR22 Release Duration This requirement makes the application available for users and is therefore an important requirement to include in the first release 80 Download and notify users of new releases The download of the new versions is important for users to be able to receive the future release of the application and will therefore be included in the first release User registration For the user to be able to use the application, the user has to registrant Consequently, this requirement needs to be met in the first release User Log-in For the user to be able to use the application, the user has to log in Consequently, this requirement needs to be met in the first release For the user to be able to receive a forgotten password will have to wait to the second release This is not vital for the application and was therefore not included in the first release The search feature is one of the most important and vital part of the system It's part of the basic goal of the program and should therefore be included in the first release The ability to show the search result in a map view is part of the basic goal of the program and should therefore be included in the first release 1 The ability to show the search result in a list view is part of the basic goal 2 Retrieve Password Search Search result in a map view Search result in a list view 47 of the program We have decided to put this one in the second release and only include the map result view in the first release FR9 FR10 FR11 FR12 FR7, FR8 FR7, FR8 FR7, FR8 FR8 FR13 FR7 FR14 FR12, FR13 FR15 FR16 FR17 FR7 FR7 FR6 Navigation to restaurant To make the first release interesting and useful for the users, this is included in the first release Switch result view The switch between the result views will be implemented after the result list is implemented This is not in some way vital for the application and can be discarded if the project gets delayed or overruns the budget Selecting the information link This will be added as an additional feature in the second release to make the application more attractive for the users Search by price This will be added as an additional feature in the third release to make the application more attractive for the users Search by destination This is the search function that will be included in the first release 1 Accepted input for price and destination search This is a requirement that will make the application more stable It will be added in the third release Search by restaurant type This will be added as an additional feature to the second release to make the application more attractive for the users 3 Search by specific dish This will be added as an additional feature in the third release to make the application more attractive for the users 3 Free-text search This will be added as an additional feature to the first release to make the application more attractive for the 48 users FR18 FR5 FR19 FR8 FR20 FR7, FR8 FR21 FR1 FR22 - FR23 FR27 FR24 FR25 FR23, FR25 - No search match found This is a requirement that will make the application more stable and make the user experience better It is not vital and will be added in the third release This will be added as an additional feature to the first release to make the application more attractive for the users 2 Filtering results This will be added as an additional feature to the first release to make the application more attractive for the users Profile page This will be added as an additional feature in the third release to make the application more attractive for the users Create account - restaurant owner The restaurant owner is a vital part of the system and must be included in the first release Log-in restaurant owner This should be included in the first release because the restaurant owner needs to be able to log in so hi/she can manage the restaurant information Manage info restaurant owner The ability for the restaurant owner to manage the information about the restaurant is very important, if there is no information there is nothing to search for Selecting preferred language on the web-portal - restaurant owner This will be added as an additional feature in the third release to make the application more attractive for the users It is not vital for the application and will therefore be implemented in the third release Sorting results 49 3 FR26 FR27 FR28 FR29 FR30 - FR26, FR22 FR26 FR26 FR26 Log-in - admin This should be included in the first release because the administrator needs to be able to log in so she/hi can manage the system Verify restaurant owner It's important for the admin to be able to verify the restaurant owner’s application for registration Manage rest types administrator The type search will be added in the second release Manage rest dished administrator The dish search will be added in the second release Manage rest info administrator The info link will be added in the second release 1 1 FR31 FR26 Manage users administrator The administrator needs to be able to handle users during the first release FR32 FR26 Selecting preferred language on the web-portal - administrator The administrator needs to be able to handle restaurant owners during the first release Language selection on portal This will be added as an additional feature in the third release to make the application more attractive for the users It is not vital for the application and will therefore be implemented in the third release Prominent search feature This is a very high-prioritized requirement Consequently, this will be included in the first release 1 The ease of usage of the search feature This is a very high-prioritized requirement Consequently, this will be included in the first release 1 FR33 QR1 QR2 FR26 - - 50 QR3 QR4 QR5 QR6 QR7 QR8 QR9 QR10 QR11 - The ease of usage of the result in the list view This is a high-prioritized requirement But we have decided to put this in the second release in favor for more vital and higher prioritized requirements The ease of usage of the result in map view This is a high-prioritized requirement But we have decided to put this in the second release in favor for more vital and higher prioritized requirements The ease of usage of the information link This will be considered when all the mandatory requirements for the system have been implemented System response time This will be considered and continuously improved during the whole process We can only discharge the requirement when all functions are implemented * System availability This will be considered and continuously improved during the whole process * QR22, QR23, FR14, FR15, FR16, FR17 System dependability This will be considered and continuously improved during the whole process We can only discharge the requirement when all functions are implemented * - System reliability This will be considered and continuously improved during the whole process * Application hard drive space usage This will be considered and continuously improved during the whole process We can only discharge the requirement when all functions are implemented * Application memory usage This will be considered and continuously improved during the whole process We can only * - - - - - - 51 discharge the requirement when all functions are implemented QR12 QR13 QR14 QR15 QR16 QR17 QR18 QR19 QR20 QR21 - FR22 - FR23 - FR3 FR22 - - - Communicatio n security As the system grows, and with respect for the users this need to be included Non-existing account security for rest Owners This need to be included in the first release to enhance the safety of the system Non-existing account security for the administrators This needs to be included in the first release to enhance the safety of the system Log in security for rest Owners 3 This needs to be included in the first release to prevent illegitimate attempts to use the restaurants owners account Log in security for administrators This need to be included in the first release to prevent illegitimate attempts to use the administrator account User account creation security This needs to be included in the first release to resolve conflict between users with the same name Restaurant owner account creation security This needs to be included in the first release to resolve conflict between restaurant owners with the same name Application extendibility This will be considered and continuously improved during development * Application portability This will be considered and continuously improved during the whole process 50 Application testability The test environment for the system will continuously be built as the 30 52 system expands QR22 QR23 - - Internet connection Internet connection is mandatory for the application to work and is therefore included in the first release * GPS connection GPS connection is mandatory for the application to be able to show the result and is therefore included in the first release 53 Figure 11 – Release plan schedule 54 Appendix V: I-star Figure 12 – SD diagram 55 Figure 13 – SR diagram 56 ... Introduction This section gives a scope description and overview of everything included in this SRS document Also, the purpose for this document is described and a list of abbreviations and definitions... the system and the restaurant information It will also provide information about the system, for example show when there is a new update 2.3 User characteristics There are three types of users... application but the web portal instead There they will manage the information about their restaurant, for example a description of the restaurant, contact information and their menu The administrators also

Ngày đăng: 22/01/2020, 09:08

Từ khóa liên quan

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan