Smart City Srs
Smart City Srs
Smart City Srs
SMART CITY
SOFTWARE REQUIREMENT SPECIFICATION
Submitted To DEPARTMENT OF INFORMATION TECHNOLOGY Members Team Name PRASH Team PRADEEP RATHI Project Guide Ms. NEHA AGARWAL PRATEEK SOMANI RASHID ANWAR
Page 1
SHASHANK CHATURVEDI
INDEX
S. No. 1.
1.1 1.2 1.3 1.4 1.5 1.6
Content Introduction
Purpose Scope Definition, Acronyms, and Abbreviations References Technologies Overview
2.
2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 2.9 2.10 2.11 2.11 2.12
Overall Description
Product Perspective Software Interface Hardware Interface Communication Interface Product Function User Characteristics Constraints Architecture Design Use-Case Model Description Class Diagram Entity-Relation Diagram Database design Assumptions and Dependencies
6-23
6 7 7 7 8 8 8 9 10 13 16 19 22
3.
3.1 3.2
Specific Requirements
Use-Case Reports Supplementary Requirements
23-49
23 49
Page 2
1. INTRODUCTION
1.1 Purpose
Smart city provides a web-based platform to a city for the quality it has like the business opportunities, hot tourist destinations, a guide to an outsider about everything he wants, and also charge money from people for using some paid services. If you are desirous to give a web based platform to your city to be showcased for all it has in terms of unique business, places to see, things to do, use local transport for new traveler how would you structure this information and also try and make some money by changing people for atleast 4 services you may offer.
1.2
Scope
Create different system users and assign different roles with related permissions. Manage all the account details such as user name, company, phone numbers, address, email addresses of the entire customer from one central location. Track all the customers and their contact details. Maintain the services provided to the customer through Service Level agreements. Complete Map of the city with key markets and places to see Marked preferably usage of static map and live map option. Complete History of the city social, political.
Page 3
Complete overview of the businesses in the city. Secure registration of all users including a personal profile only at the time of transaction providence. Complete Search/Site Map of the entire site for easy access. Start at least 4 paid services like SMS alerts for city news, market daily rates etc. Local news, government notices, update. Facilitate communication between user, experts and general public through discussion forums/chats/mails/polls. Local language support at user-interface and database level.
1.3
Page 4
JSP: Java Server Pages is used to create dynamic web content. EJB: Enterprise Java Beans. J2EE: Java 2 Enterprise Edition is a programming platform, part of the java platform, for developing and running distributed multi-tier architecture java applications based largely on modular software components. DB2: DB2 DataBase is the database management system that delivers a flexible and cost effective database platform to build Robust on demand business applications. WAS: WebSphere Application Server is an application server that Runs business applications and supports the J2EE and web services Standards. WSAD: WebSphere Studio Application Developer is a toolkit which is designed for the creation of the more complex projects, providing fully dynamic web application using EJBS. HTTP: HyperText Transfer Protocol is a transaction oriented client/Server protocol between web browser and web server. SHTTP: Secure Hypertext Transfer Protocol is a HTTP over SSL. TCP/IP: Transmission Control Protocol/Internet Protocol, the suite of Communication protocols used to connect hosts on the Internet.TCP/IP uses several protocols - two main ones being TCP and IP. XML: Extensible Markup Language is a markup language that was designed to transport and store data.
Page 5
Ajax: Asynchronous Java Script and XML are 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, usercentered design and collaboration on the World Wide Web.
1.4
References
IEEE SRS Format Problem Definition (Provided by IBM) CT Arrington. Enterprise Java with UML. OMG Press.
1.5
Technologies
J2EE:(JSP, JAXP, Java Beans) Application Architecture JAVA: Application architecture. 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
SRS will include two sections: Overall Description will describe major components of the system, Interconnection and external interfaces.
Page 6
Specific Requirements will describe the functions of actors, their role in System and constraints.
2. OVERALL DESCRIPTION
Describe the general factors that affect the product and its requirements.
2.1
Product Perspective
The web pages (XHTML/JSP) are present to provide the user interface on customer client side. Communication between customer and server is provided through HTTP/HTTPS protocols. The Client Software is to provide the user interface on system user client side and for this TCP/IP protocols are used. On the server side web server is for EJB and database server is for storing the information.
2.2
Software Interface
Client on Internet: Web Browser, Operating System (any). Client on Intranet: Client Software, Web Browser, Operating System (any).
Page 7
Application Server: Web Sphere Application Server 7.0 DataBase Server: DB2, Operating System (any). Development End: Front End: Web Browser Back End: WSAD (J2EE, Java Bean, HTML), DB2, OS, Web Server.
2.3
Hardware Interface
CLIENT SIDE Processor Internet explorer 6.0 SERVER SIDE WEBSPHERE APPLICATION SERVER V5.0 DB2 V8.1 Pentium III at 1GHz Pentium III at 1GHz 512 MB 512 MB 2 GB 1 GB(excluding data size) Pentium II at 500MHz RAM 64 MB Disk space 1GB
2.4
Communication Interface
Client on Internet will be using HTTP/HTTPS protocol. Client on Intranet will be using TCP/IP protocol.
2.5
Product Function
Page 8
Track Account Level Data: In this module, receivables from customer are maintained. Service Level Agreements: It contains the agreements of providing the services provided for service and customer. User Contact Information: It maintains all the details (Personal, Official, Contact, and company of customer). Track Support Transactions: Maintenance of transactions related to the services provided to the customer. Maintaining Logs: Activities of the System Users can be tracked through the logs, which are maintained by the system.
2.6
User Characteristics
Every user should be comfortable of working with computer and net browsing.
2.7
Constraints
GUI is only in English. Login and password is used for identification of customer and there is no facility for guest. This system is working for single server. There is no maintainability of back up so availability will get affected. Limited to HTTP/HTTPS.
Page 9
2.8
Architecture Design
Page 10
2.9
(A) Administrator Responsible for managing system users, viewing logs and managing standard groups of the system.
Manage System Users: The Administrator will create different roles. The system users will be created and will be assigned with the different roles. More than one task and permissions can be granted or revoked from the system users. View Logs: Responsible for checking the logs of different system user for auditing and maintaining the integrity of the system. Manage Standard Groups: Standard groups will be created and updated by the administrator, which will be visible to all the system users. View All Details: View the customer details, payment details, purchase details, daily service transaction details. Update the system: updating of the information on system will be done.
(B) Support Manager Responsible for managing and updating paid services, providing information on website for access by customer.
View All Details: View the customer details, payment details, daily service transaction details. Manage paid services: services will be done. management of paid
Page 12
Provide information: information on website for access purpose will be provided by support manager.
(C) Account Manager Manage all the payment details (of the services used).
Manage Payment Transaction: Store all the payment transactions made by the customer and update the payment information. View All Details: View the customer details, payment details, daily service transaction details.
(D) Help Manager Responsible for handling online help and management of discussion forums etc.
Manage online help: management of online help will be done. Manage discussion forums: management discussion forums and chats etc will be done. of
View Own Details: Customer can view his personal details, payment details, details about services provided and the transaction details for the services. Access information: Customer information on website for his usage. will access
Access paid services: Customer will access the paid services provided by the system like sms alerts.
Page 13
Pay for paid services: Customer will pay for the paid services which he has subscribed to.
2.10
Class Diagram
(A) Administrator
Page 14
Page 15
Page 16
(E) Report
AUTONOMOUS / SKIT, JAIPUR Page 17
2.11
Entity-Relation Diagram
(A) Administrator
Page 18
(E) Report
2.12
Database Design
Page 20
(A) Customer S. No. 1. Field Name Customer ID Data Type Varchar(2 0) Key Description
Name User Name Password Fathers Name Street City District State Contact No. E-Mail id D.O.B. Profession
Varchar(5 0) Varchar(2 0) Varchar(2 0) Varchar(5 0) Varchar(5 0) Varchar(4 0) Varchar(4 0) Varchar(4 0) BIGINT Varchar(7 0) Date Varchar(3 0)
Foreign Id of the customer , Primar y Name of the customer User name of the customer Password of the customer Fathers name of the customer Street of the customer City of the customer District of the customer State of the customer Contact no of the Customer Mail id of the customer D.O.B. of the customer Profession customer of the
No. 1.
Manager ID
2. 3. 4. 5. 6. 7.
Primar Unique user id of the y, manager Foreign Foreign Name of the manager User name of the customer Password of the customer Address of the manager Contact no. of the manager Mail id of the manager
(C) Employee S. No. 1. Field Name Employee ID Data Type Varchar(2 0) Varchar(2 0) Varchar(2 0) Varchar(2 0) Varchar(5 0) BIGINT Varchar(7 0) Key Description
2. 3. 4. 5. 6. 7.
Primar Unique user id of the y, employee Foreign Foreign Name of the employee User name of the customer Password of the customer Address of the employee Contact no of the employee Mail id of the employee
Page 22
8.
Specification
Varchar(5 0)
(D) Account S. No. 1. 2. 4. 5. 6. 7. Field Name Account No. Account ID Type Balance User name Password Data Type Varchar(3 0) Varchar(2 0) Varchar(2 0) Double Varchar(5 0) Varchar(4 0) Key Description Account no of the user Foreign Unique User id Account type Amount in account Primar y User Identification name Password of the account
(E) Palace S. No. 1. 2. 3. 4. 5. 6. Field Name Palace ID Name City District State Type Data Type Varchar(1 0) Varchar(5 0) Varchar(4 0) Varchar(4 0) Varchar(4 0) Varchar(2 0) Key Primar y Description Unique Id of the palace Name of the palace City of the palace District of the palace State of the palace Type of the palace
Page 23
(F) City S. No. 1. 2. 3. Field Name City ID Name Description Data Type Varchar(2 0) Varchar(3 0) Varchar(9 00) Key Description
Foreign Unique User id of the city Name of the city Describe about the city
(G) Service S. No. 1. 2. 2. 3. 4. 5. Field Name Service ID Name Description Price Duration Facility Data Type Varchar(2 0) Varchar(1 00) Varchar(5 00) Integer Integer Varchar(5 00) Key Description Unique id for the service Name of the service Description of the service Total cost about the service Duration of the service Facility provide by the service
(H) Agreement S. No. 1. 2. 3. Field Name SLA ID Customer ID Service ID Data Type Varchar(2 0) Varchar(2 0) Varchar(2 Key Description
Foreign Unique User id of agreement Customer id with agreement Service id for type of
Page 24
4. 5. 6. 7. 8. 9. 10.
0) Description Varchar(5 00) Rule Varchar(5 00) Terms & Varchar(2 Conditions 00) Total amount BIGINT Issue Date End Date Days Date Date Integer (I) Receipt
service Description of the agreement Rule of the agreement Terms & Conditions of agreement Total amount of agreement Issue date of the agreement End date of the agreement Days of the agreement
Field Name Receipt No. Customer ID Receipt Date Receipt Time Service Name City Name
Service Start Date Service End Date Date Total Amount BIGINT Pay Amount BIGINT Left Amount BIGINT
Data Type Varchar(2 0) Varchar(5 0) Date Time Varchar(1 00) Varchar(3 0) Date
Key
Description Receipt No. Customer id for give receipt Generate date of receipt Generate receipt time Name of service provide Name of city Start date of the service agreement End date of the service agreement Total amount of service Pay amount for take service Left amount pay the
Page 25
next time (J) Report S. No. 1. 2. 3. 4. Field Name Report No. Date Specification Service Name Data Type Integer Date Varchar(2 00) Varchar(1 00) Key Primar y Description Unique no of the report Date of the report Specification of the reports Name of the service of which report is generated
2.13
3.
SPECIFIC REQUIREMENTS
3.1 Use-Case Reports
Objective Smart City is a full-service communications provider across the nation and one of the world's largest communications providers to convention centers and hospitality venues. Smart City is a full service communications service provider, having emerged from the convergence of several communication service providers. Smart City has deep
Page 26
roots in telephony, broadband data and cable television, with a significant presence in the convention, hospitality and master planned community markets. Our story is the story of two pasts. Smart City offers a competitive compensation package commensurate with experience and performance. In addition to base salary, many positions offer additional incentives for outstanding team and individual contributions. We provide our fulltime team members with the resources they need, both in and out of the workplace through health and dental insurance, medical spending and dependent care spending accounts, basic life and supplemental life insurance, long-term disability coverage and 401(k) savings plan. Key Objectives Smart City is an Equal Opportunity Employer and a Drug & Smoke-Free Workplace. These axes are: a smart economy; smart mobility; a smart environment; smart people; smart living; and, finally, smart governance. To improve economic and political efficiency and enable social, cultural and urban development To increase local prosperity and competitivenessbased on multi-actor, multisector, and multi-level perspectives. We are well on our way to becoming a smart city. Smart City provides technologies that make our cities smarter places to work, live, and play. Key Module (A) Administrator (B) Account Manager
AUTONOMOUS / SKIT, JAIPUR Page 27
(C) Help Manager (D) User (E) Support Manager (A) Administrator Responsible for managing system users, viewing logs and managing standard groups of the system.
Manage System Users: The Administrator will create different roles. The system users will be created and will be assigned with the different roles. More than one task and permissions can be granted or revoked from the system users. View Logs: Responsible for checking the logs of different system user for auditing and maintaining the integrity of the system. Manage Standard Groups: Standard groups will be created and updated by the administrator, which will be visible to all the system users. View All Details: View the customer details, payment details, purchase details, daily service transaction details. Update the system: updating of the information on system will be done.
Page 28
Description: view the list of system users in a role and view the details of roles, tasks, permissions assigned Pre-conditions:
Administrator has already logged in System users have been already created & assigned some rules, tasks & permissions
Page 29
Description: to create system users Pre-conditions: Administrator has logged in Post-condition: a login id is generated Normal flow of events:
Save the details Alternate flow of events: A message appears for duplicate login name
Description: to update the details of users Pre-conditions: Administrator has already logged in System users have already been created Post-condition: None Normal flow of events: Select username Assign or revoke roles ,tasks , permission
AUTONOMOUS / SKIT, JAIPUR Page 31
Description: To view activities of the system users Pre-conditions: Administrator has already logged in System users have already been created Post-condition: None Normal flow of events: Select username Select date
Page 32
Description: To view customer details, payment details etc Pre-conditions: Administrator has logged in Customer is already having account Post-condition: None Normal flow of events: Select customer name Select date
AUTONOMOUS / SKIT, JAIPUR Page 33
Description: update information on system regarding tourist destinations, business spots, paid services etc Pre-conditions: Administrator has logged in Post-condition: System updated successfully Normal flow of events: Validate information Select the system area to be updated Save the information
Page 34
(B) Account Manager Responsible for management of payment transaction Management of payment transaction View details Receive payment Acknowledgement for payment received
Page 35
Description: All payment transaction details are entered Pre-conditions: Account manager has logged in Post-condition: None Normal flow of events: Select customer Select service Select bill no. Enter details of receivables Save receivables details Update account of customer Entry of this adding details event has been logged Alternate flow of events:
Page 36
If the receivables will left to fill then system ask for refilling all the blank details then save details & update account of customer.
Pre-conditions: Account manager has logged in Post-condition: None Normal flow of events:
Page 37
Select customer Select service Select receipt no. Select payment transaction no. Make changes Save new details Update customer account Entry of this editing event has been logged
Acknowledgement
for
Page 38
Description: Acknowledgement for payment given by customer Pre-conditions: Account manager has logged in Post-condition: None Normal flow of events: Select customer Select service Select receipt no. Select receivables details Give acknowledgment Update customer account Entry of this acknowledgement event has been logged Alternate flow of events:
If the receivables details are not there then system reports an error and ask for recheck.
Page 39
(C) Help manager Responsible for management of online help, discussion forums, chats etc. Online help Discussion forums
Page 40
Description: management of online help Pre-conditions: help manager has logged in Post-condition: System updated successfully Normal flow of events: Select area for updation Make changes Store changes System help updated successfully
Page 41
Description: management of discussion forums chats etc. Pre-condition: Help manager has already logged in Post-condition: none Normal flow of events: Select customer for help Ask for query
Page 42
Answer query
(D) User User is the main person who will access the system. He will access his own details, information on website; he will access paid services and pay for them. View own details Access information on website Access paid services
Page 43
Description: user will view his own details Pre-condition: user has already logged in Post-condition: None Normal flow of events: Select the detail See the detail
Page 44
Description: user will access information on website Pre-condition: user has already logged in Post-condition: none Normal flow of events: Select area to see Access information in area
Page 45
Description: user will access the paid services Pre-condition: user has already logged in Normal flow of events: Select the paid services area Select the paid service to see Access details of paid services
Page 46
Description: user will pay for the paid services for which he has subscribed Pre-condition: user has already logged in Post-condition: customer account updated successfully Normal flow of events: Select service See the details Give receivable information Account updated
Page 47
(E)
Support Manager
He is responsible for managing and updating the paid services. He is also responsible for providing information for updation of system. View all details Manage paid services Update paid services
AUTONOMOUS / SKIT, JAIPUR Page 48
Name of use-case: View all details Description: support manager can view all details of customers like customer name, payment details etc Pre-condition: support manager has already logged in. Post-condition: none
Page 49
Normal flow of events: Select the customer name Select and see the detail
Name of use-case: Create paid services Description: Creation of paid services Pre-condition: Support manager has already logged in Post-condition: paid services created successfully
Page 50
Normal flow of events: Create paid services Paid services created successfully
Name of use-case: View paid services Description: to view the paid services and their details Pre-condition: Support Manager has already logged in Post-condition: none Normal flow of events:
Page 51
Name of use-case: update the paid service Description: update paid services Pre-condition: Support manager has already logged in Post-condition: system updated successfully Normal flow of events:
Page 52
Create new paid service Store the changes System updated successfully The log detail of this updation event has been saved
Name of use-case: provide information for access on website Description: Support manager will provide information for access purpose on Website. Pre-condition: Support manager has already logged in
Page 53
Post-condition: None Normal flow of events: Select the area for which information is to be updated Provide information for area selected
Have hours of operation that are 24 x 7 - Because system can be an automated process, so it can stay open for 24 hours a day. If the base is now the entire world, staying open 24 hours a day becomes critical. System is required to
Page 54
be available 24X7 so UPS support must be on server site for at least 8 hours in case of power failure. System will remain inaccessible to users at 2:00 to 4:00 am for backup and maintenance purpose.
Reduce the cost of a sales transaction - To the extent that one can automate the sales process through this system, one can start to reduce the cost of that sales transaction. This is particularly true of mundane sales transactions where the customer knows what they want. Make the existing Web site more dynamic in nature Many early Web implementations consisted of static HTML pages. This becomes very difficult to manage if the number of pages gets too large. An effective system should be largely dynamic taking advantage of technology that automates this process rather than relying on manual processes. Tie the existing Web site into existing enterprise systems Any existing Web site that relies on the manual duplication of data from another system is one that can be improved. Most of the business data in the world today exists in enterprise servers that can be connected to the Web servers to make this process far more effective. Provide good performance and the ability to scale the server The Web Application Server should provide good performance and the ability to manage performance with techniques, such as support for caching, clustering, and load balancing. Providing session management capability - Web application developers should not spend valuable time worrying about how to maintain sessions within the application. The Web Application Server should provide these services.
Page 55