S MART H OME L AB O NLINE -I NVENTORY Problem description (4 minutes) Requirement collection and analysis (4 minutes) ER diagram and relational schemas.

Post on 02-Jan-2016

215 Views

Category:

Documents

2 Downloads

Preview:

Click to see full reader

Transcript

SMART HOME LAB ONLINE-INVENTORY

Problem description (4 minutes) Requirement collection and analysis (4

minutes) ER diagram and relational schemas (8

minutes) Demo of software (6 minutes) Conclusion (3 minutes)

Ritu Mundhe
remove logout, permitchk from adminModify add page.remove <ul> from every pagemodify page: enter id first:manager: change from cancel to unselect

A user:can reserve any item for this week. can search by type or by experimental setup required.can view week’s availability prior to reservation.can change his password.can contact the administrator .A lab manager can do all above and:can add/delete devices/experiments from listing.can view reservations or decide to cancel them.(the user related to reservation must be informed.)-should check-out or check-in devices (similar to library scanning)-can view pending devices and notify the borrower about past-due fine.An administrator can do all above and:-can add or delete users-can do so individually or upload comma separated values -can manipulate database

FUNCTIONAL REQUIREMENTS:

USER LOGIN/ ACCESS CONTROL

1

32

Send Email with link to user’s reservations

USER WORKFLOW

MANAGER WORKFLOW

ADMIN WORKFLOW

DEVELOPMENT ENVIRONMENT:

Distributed on MAMP/XAMPP (Windows and Mac)

Netbeans SDK 6.9.1Using subversion (kenai.com) integrated in

Netbeans( > 90 revisions)PHP 5.3MySQL 5.1.44Apache 2.0.63

Client OS: Windows Vista

Person

ISUidName Netid

PhonePassword

Reserves

Classification

Start_time

rdate

Device

did Manufacturer

Belongs to

Category

cidType

Subtype

Level

Experiment Uses

eid

Title

Description

Manual

Image

Video

Directory

Type Path

Entities:PersonDeviceCategoryExperimentDirectory

Relationships:ReservesBelongs to Uses

Number

Rid

E-R Diagram

Status

DATABASE PRIVILEGES

Person

Device Category

Reserve

Experiment

Uses Directory

Admin ALL ALL ALL ALL ALL ALL ALL

Mngr S, CV ALL ALL ALL ALL ALL S

User S, CV S S S, I S S S

S: SELECTI: INSERTCV: CREATE VIEW

CREATE PROCEDURE chgpassproc (IN id1 INT, IN pass VARCHAR(8))BEGINCREATE VIEW MYPASS ASSELECT * FROM personwhere id=id1;UPDATE MYPASS SET password=pass;DROP VIEW MYPASS;END

At the time of user creation: random 8 character password created, sent to each user.

The ‘level’ determines extent of access to data.After user logs in, his level is determined and stored in session. Level gives corresponding login to database. Every login is given specific access using grant permissions. This ensures security. At the web server, session variable storing level of user restricts access to certain management and administration pages.

AUTHENTICATION

CONCLUSION

QUESTION?

top related