Software Design Specification
Date of Submission : 11-11-2009
Submitted by:
Neeraj Rohilla (G.L.) (IT/06/367)
Hitesh (IT/06/318)
Vishal (CSE/07/358)
Abhinav vasisht (CSE/07/301)
Amanpreet (CSE/07/203)
Table of Contents
...
1
REVISION HISTORY
...
4
3. INTRODUCTION
...
5
3.1 D
OCUMENTO
UTLINE...
5
3.2 D
OCUMENTD
ESCRIPTION...
6
3.2.1 Introduction
...
6
Contractor
...
6
Project Manager
...
6
Contract Manager
...
6
Systems Engineer
...
6
Quality Manager
...
6
Project Stakeholders
...
6
Project Team
...
6
3.2.2 System Overview
...
7
4. DESIGN CONSIDERATIONS
...
8
4.1 A
SSUMPTIONSANDD
EPENDENCIES...
8
4.2 G
ENERALC
ONSTRAINTS...
8
4.3 G
OALS ANDG
UIDELINES...
8
4.5 D
EVELOPMENTM
ETHODS...
8
5. ARCHITECTURAL STRATEGIES
...
10
...
11
...
12
6. SYSTEM ARCHITECTURE
...
17
6.1 S
UBSYSTEMA
RCHITECTURE...
17
7. POLICIES AND TACTICS
...
17
8. DETAILED SYSTEM DESIGN
...
17
8.1 C
LASSIFICATION...
17
8.2 D
EFINITION...
18
8.4 C
ONSTRAINTS...
19
8.5 C
OMPOSITION...
19
L
ABMANAGEMENTSYSTEM BASICALLYCOMPOSITIONOFSIXCOMPONENTSTHESE ARE:-
...
19
8.6 D
ATABASED
ESIGN...
19
8.7 T
ABLESCHEMAS...
24
8.8 C
LASSD
IAGRAMSANDC
LASSES...
36
8.9 U
SES/I
NTERACTIONS...
37
8.10 R
ESOURCES...
37
8.11 P
ROCESSING...
38
8.12 I
NTERFACE/E
XPORTS...
39
8.13 D
ETAILEDS
UBSYSTEMD
ESIGN...
40
9. SOURCE CODE DETAILS
...
40
10. OUTPUT
...
66
11. GLOSSARY
...
105
Revision History
Version Name Reason For Changes Date
3. Introduction
It is my desire that a completed software design specification meet the following criteria:
It should be able to adequately serve as training material for new project members, imparting to them enough information and understanding about the project implementation, so that they are able to understand what is being said in design meetings, and won't feel as if they are drowning when they are first asked to create or modify source code.
It should serve as "objective evidence" that the designers and/or implementers are following through on their commitment to implement the functionality described in the requirements specification.
It needs to be as detailed as possible, while at the same time not imposing too much of a burden on the designers and/or implementers that it becomes overly difficult to create or maintain.
3.1 Document Outline
Lab management system follow the below outline to describe the project. Introduction
System Overview Design Considerations
o Assumptions and Dependencies o General Constraints
o Goals and Guidelines o Development Methods Architectural Strategies
o Data Flow Diagrams System Architecture
o System architecture diagram Policies and Tactics
o Password tactics o Database policies o ...
Detailed System Design o classification o Definition o Responsibility o Constraints o Composition o Database Design o Table Schema
o Resources o Interface/exports
o Detailed subsystem design
Glossary Bibliography
3.2 Document Description
3.2.1 Introduction
The purpose of Software Design Specification is to make the users understand about the project. So that they come to know about the details of the project. An overview is provided to them so that they can easily use and understand the project.
The scope of this document lies in acceptance by the users for the project. If the project satisfies the requirements of users then it will be accepted by the users and SDS helps the users to understand the project.
The audience for an SRS document can be:
Contractor
The Contractor is responsible for developing, updating, and obtaining approval for the SRS, if it is included as a requirement in the contract.
Project Manager
The Project Manager is responsible for coordinating the efforts of those involved in the SRS development, review, and approval.
Contract Manager
The Contract Manager verifies that the SRS deliverable is provided, reviewed, and approved.
Systems Engineer
The Systems Engineer may provide input in developing the SRS.
Quality Manager
The Quality Manager verifies the quality of the SRS.
Project Stakeholders
The project stakeholders are involved in requirements gathering to allow the project team to document and verify their software requirements.
Project Team
The project team member(s) is responsible for assisting with gathering requirements and developing and reviewing the SRS.
3.2.2 System Overview
Lab management system module is a solution to computerize all the manual management work of every lab in the college. Lab management system provides the information about the each lab in the college. In this labs are divided into four subparts named as “COMPUTER LABS”, “SCIENCE LABS”, “MECHANICAL LABS”, “ELECTRICAL & ELECTONIC LABS”. Each subpart section lab has its own administrator which has all rights to access the labs information. Each lab under these subsections has its own specific data and information. Like COMPUTETR LAB section holds the information about the number of computer lab with its specified work. Each computer lab distinguished by its working technology environment and each lab have some specific information to manage the labs like “REQUIREMENT SECTION”, “MAINTEANACE SECTION”, “STOCK SECTION”, “DUMB STOCK SECTION”, “NETWORK SECTION”, “SERVER SECTION”,”TIME TABLE SECTION”, “ALLOTMENT SECTION”. In the same way science labs, mechanical labs and electrical labs are managed.
Lab. Management System provides the facility of managing the laboratory assets and maintenance in any institute. It is not a single task but a combination of many activities like:
• Addition of Lab Equipments. • Maintenance Register. • Lab Equipment Register • Server Accreditation.
• Time Tables for student lab working. • AMC and Maintenance Details • Equipment allotment Register
• Various Lab Assistance Reports and details. • Dumb stock details.
• Other lab assets (chairs, tables, almirah etc.) records. • Maintenance of Lab requirement details.
All these tasks require a lot of human work and security. Because some of the information can be quite confidential for institute and loss of that information can cause a lot of loss. This module may be the very first activity but other modules depend on it for their functionality. So, such a system is really needed which can ease, simplify and secure these tasks.
4. Design Considerations
4.1 Assumptions and Dependencies
Some of the assumptions that are made in advance are:
Lab Management system handles four different section. Lab administrator rights bound to its own lab management section.
There are only four lab sections with different lab related data. A common grading system is used for all the students and companies. Appropriate software and hardware are available.
An operating system supporting all the hardware and software is available.
4.2 General Constraints
End user cannot access intermediate files without login.
If end-user is accessing the intermediate file without login, then he/she can
access the secured information without any authority. hence security constraint
provides authentication
4.3 Goals and Guidelines
The main goals of developing this module are:
• To make the process of handling data and records more simple. • To reduce the manual work.
• To increase the speed of the work.
4.5 Development Methods
The development model followed to develop this project is SDLC.
SDLC adheres to important phases that are essential for developers, such as planning, analysis,
design, and implementation, and are explained in the section below. There are several SDLC Models in existence. The oldest model, that was originally regarded as “the SDLC” is the WATERFALL MODEL
WATERFALL MODEL: A sequence of stages in which the output of each stage becomes the input
for the next. These stages generally follow the same basic steps but many different waterfall methodologies give the steps different names and the number of steps seems to vary between 4 and 7.
The steps can be characterized and divided as follows:
• Project planning, feasibility study, Initiation: To generate a high-level view of the intended project and determine the goals of the project. The feasibility study is sometimes used to present the project to upper management in an attempt to gain funding. Projects are typically evaluated in three areas of feasibility: economical, operational, and technical. Furthermore, it is also used as a reference to keep the project on track and to evaluate the progress.
• Requirements gathering and Systems Analysis: The goal of systems analysis is to find out where the problem is in attempt to fix the system. This step involves breaking down the system in different pieces and drawing diagrams to analyze the situation. Analyses project goals, breaking down functions that need to be created, and attempts to engage users so that definite requirements can be defined.
• Systems design: Functions and operations are described in detail, including screen layouts, business rules, process diagrams and other documentation. The output of this stage will be to describe the new system as a collection of modules or subsystems.
• Coding: Modular and subsystem programming code will be accomplished during this stage. This stage is intermingled with the next in that individual modules will need testing before integration to the main project.
• Testing: The code is tested at various levels. Unit, system and user acceptance testing are often performed. This is a very grey area as many different opinions exist as to what the stages of testing are and how much if any iteration occurs. Iteration is not generally part of the Waterfall model, but usually some occurs at this stage.
• Installation, Implementation or Deployment: The final stage of a project or the initial development, where the software is put into production and is used by the actual business.
• Maintenance, Business as Usual: The life of the system which includes changes and enhancements before the decommissioning or sunset of the system. Maintaining the system is a very important aspect of SDLC. As key personnel change position in the organization, new changes will be implemented, which will require system updates.
5. Architectural Strategies
LAB MANAGEMENT
SYSTEM
STUDENT /FACULTY
(G.U.I)
COMPUTER
ALLOTEMEN
T
LAB
ATTENDENCE
LAB
PRACTICALS
LIST
LAB
CHARGES
Comp_allotment
Lab_charges
Practical_details
Only view
Lab_attendence
TIME TABLE
SHEDULE
Time_table
Level-0
PERSON/US
ER
ADMIN LOGIN
LAB MANAGEMENT (G.U.I)
LOGIN
TERMINATED
LOGIN INCORRECT
P_ID, PASSWORD
LOGIN CORRECT
LOGIN ACCEPTED
LAB MANAGEMENT
SYSTEM ADMIN (G.U.I)
COMPUTER
LABS SECTION
SCIENCE LAB
SECTION
ELECTRICAL &
ELECTONICS
LABS
MECHANICAL
LAB SECTION
VIEW, UPDATE,
DELETE, INSERT
After correct
Admin’s Login
After correct
Admin’s Login
Level-1.0
Lab id details
Bt_labid
Equipment id
details
Bt_equipid
lab details
Lab_info
Lab incharge
details
Lab_incharg
e
Stock
requirement
details
Require_stock
Maintenance
stock details
Maintainance_sto
ck
Dumb stock
details
Dumb_stock
Computer
allotment
details
Comp_allotme
nt
Level-1.1
LAB MANAGEMENT
SYSTEM COMP ADMIN
(G.U.I)
VIEW, UPDATE,
DELETE, INSERT
Network
Lab id details
Bt_labid
Equipment id
details
Bt_equipid
lab details
Lab_info
Lab incharge
details
Lab_incharg
e
Stock
requirement
details
Require_stock
Maintenance
stock details
Maintainance_sto
ck
Dumb stock
details
Dumb_stock
Level-1.1
LAB MANAGEMENT
SYSTEM MECHANICAL
ADMIN (G.U.I)
VIEW, UPDATE,
DELETE, INSERT
Lab charges
details
Lab_charges
Lab id details
Bt_labid
Equipment id
details
Bt_equipid
lab details
Lab_info
Lab incharge
details
Lab_incharg
e
Stock
requirement
details
Require_stock
Maintenance
stock details
Maintainance_sto
ck
Dumb stock
details
Dumb_stock
Level-1.1
LAB MANAGEMENT
SYSTEM SCIENCE ADMIN
(G.U.I)
VIEW, UPDATE,
DELETE, INSERT
Lab charges
details
Lab_charges
Lab id details
Bt_labid
lab details
Lab_info
Stock
requirement
details
Require_stock
Dumb stock
details
Dumb_stock
Level-1.1
Lab id details
Bt_labid
Equipment id
details
Bt_equipid
lab details
Lab_info
Lab incharge
details
Lab_incharg
e
Stock
requirement
details
Require_stock
Maintenance
stock details
Maintainance_sto
ck
Dumb stock
details
Dumb_stock
Level-1.1
LAB MANAGEMENT SYSTEM
ELECTRICAL & ELECTRONICS
ADMIN (G.U.I)
VIEW, UPDATE,
DELETE, INSERT
Lab charges
details
Lab_charges
6. System Architecture
About System Architecture
6.1 Subsystem Architecture
In the lab management systems have four subsystem or sub module these
are:-7. Policies and Tactics
•
Administrators are assigned with their default passwords and they can change it afterwards.• Password can be changed only after Logging in.
•
For database we have used MySQL as back end.
•
For coding of different forms we have used separate files and query strings. A simple
HTML form calls a file for insertion in database.
•
For easy understanding of file operation simple names are used for naming the files.
•
Every administrator need first login to go in the corresponding section
8. Detailed System Design
8.1 Classification
Lab management system basically covers four main lab sections
Computer lab
section
Electronic lab
section
Mechanical lab
section
Science lab
section
Science lab section Mechanical lab section Electronics lab section
Here in the above lab section or you can say sub module have its own administrator. Lab management system has two sections for faculty and students.
8.2 Definition
COMPUTER LAB
SECTION-This lab section holds the information about all the computer lab of the college. And this lab section holds the computer allotment process of each student. L.M.S. contains all the data like requirement stock, reserve stock, complaint stock etc.
ELECTRONIC LAB
SECTION-This lab section hold the electronic lab data like electronic equipment description, practical list of labs, maintained stock, dump stock etc.
MECHANICAL LAB
SECTION-This lab section holds the mechanical lab related data. It holds the information about the equipment, machine uses, requirement stock etc.
SCIENCE LAB
SECTION-Science lab section holds the all science lab data it may physics or chemistry. STUDENT/FACULTY
INTERFACE-Student and faculty interfaces provide some of facility to student as well as faculty. They can see the time table of any lab, attendance of student, marks, lab charges of each students etc.
8.3 Responsibilities
Lab management system provides the following services and facility to the end users:- It has user friendly interface having quick authenticated access to documents. Easily scalable to grow with changing system requirement.
Secured check in, check out & updates. Increase the processing speed
Minimization the calculation, data entry Easy retrieval of information
Easy verification and monitoring of records
Preparation of various reports in a short time and at a short notice Reduce manpower
More security and safety of data Quick query processing
Easy access to data Reliable and efficient
8.4 Constraints
Lab Management system handles four different section. Lab administrator rights bound to its own lab management section.
There are only four lab sections with different lab related data. Appropriate software and hardware are available. An operating system supporting all the hardware and software is available.
8.5 Composition
Lab management system basically composition of six components these are:-COMPUTER LAB
SECTION-This lab section holds the information about the entire computer lab of the college. And this lab section holds the computer allotment process of each student. L.M.S. contains all the data like requirement stock, reserve stock, complaint stock etc.
ELECTRONIC LAB
SECTION-This lab section hold the electronic lab data like electronic equipment description, practical list of labs, maintained stock, dump stock etc.
MECHANICAL LAB
SECTION-This lab section holds the mechanical lab related data. It holds the information about the equipment, machine uses, requirement stock etc.
SCIENCE LAB
SECTION-Science lab section hold the all science lab data it may physics or chemistry. STUDENT/FACULTY
INTERFACE-Student and faculty interfaces provide some of facility to student as well as faculty. They can see the time table of any lab, attendance of student, marks, lab charges of each students etc.
8.6 Database Design
The database of the module mainly contains tables and views etc for data. Different features of database design are:
Data is in the form of tables which can be related to each other. Tables have unique valued attributes to avoid redundancy. Tables are related to each other through foreign keys.
Data is entered in a proper format allowed by the database engine.
E-R DIAGRAM FOR LAB MANAGEMENT SYSTEM
LAB MANAGEMENT
SYSTEM
HA
S
HA
S
BT_Department
Lab_info
BT_labincharge
A_login
BT_equipid
BT_labid
BT_Branch
Lab_incharge
Require_stock
Maintainance_stock
Dump_stock
Lab_marksNetwork_diag
Lab_attendence
Comp_allotment
Practical_details
Reserve_stock
Time_table Lab_chargesA
B
C
D
E
F
J
I
H
G
K
L
M
N
O
P
S
R
Q
BR_ID BR_CODE BR_NAME BR_SEATS
A
D_NAMEB
D_ID LAB_NAMEC
LAB_ID EQUIP_ID EQUIP_NAME EQUIP_CODED
P_NAMEE
INSTUCT_ID INSTUCT_NAME INSTUCT_EMAIL A_ID A_PASS A_NAME A_EMAIL A_CONTACTF
QUANTITY CONDITION USESG
LAB_ID(C) INSTRUCT_IDH
INSTUCT_NAME( E) BR_ID(A) BR_NAME(A) BR_NAME (A) D_ID (B) D_NAME (B) INSTUCT_CONTA CT INSTUCT_ADDRE SS D_ID (B) P_ID EQUIP_NAME (D) LAB_NAME(C) LAB_ID(C) LAB_NAME(C) EQUIP_ID REQUR_QUANTI TYI
EQUIP_NAME(D) REMARK LAB_NAME(C) D_NAME (B) EQUIP_ID FAULTJ
EQUIP_NAME(D) QUANTITY LAB_NAME(C) D_NAME (B)ROOL_NO PC_IPADDRESS NAME
N
LAB_NAME DAI_PATHO
LAB_NAME EQUIP_ID QUANTITYK
EQUIP_NAME(D) CONDITION LAB_NAME(C) D_NAME (B) EQUIP_ID QUANTITYL
EQUIP_NAME(D) REMARK LAB_NAME(C) D_NAME (B) SEMESTERM
LAB_NAME(C) PRACTICAL BR_NAME(A) ROLL_NO NAME ATTENDENCEP
LAB_NAME ROLL_NO NAME MARKSQ
LAB_NAME LAB_NAME SEMESTER TIME_TABLER
BR_NAME(A) ROLL_NO CHARGES REMARKSS
NAMECO_ID (J)
Show Tables
Show Foreign
key with
reference (j)
Show Primary
key
Show
connector
Show Normal
Attribute
8.7 Table schemas
The main tables that were created in the database are:
Name of the table
BT_Branch
Description
Different Branch Description
Attribute Description Type
Examples of values
Br_ID ID of branch int(2) 1
Br_Code Code of branch Char(3) CSE
Br_Name Name of branch Varchar(15) Computer Science
Br_Seats Seats available Int(3) 60
Primary Key Br_ID Foreign Keys
SQL Code create table bt_branch(br_id int(2) primary key,br_code char(3),br_name varchar(15),br_seats int(3));
Name of the table
BT_Department
Description
Different Department Description
Attribute Description Type
Examples of values
D_ID Id of department Int(3) 1
D_Name Name of department Varchar(30) computers
Primary Key D_ID Foreign Keys
Name of the table
Bt_labid
Description
Different lab Description
Attribute Description Type
Examples of values
lab_ID Id of lab Int(3) 1
Br_id Branch id Int(2) 1
Br_name Name of branch Varchar(15) Computer
Lab_name Name of lab Varchar(15) Data structure lab
Primary Key Lab_id
Foreign Keys Br_id, Br_name references Bt_branch.
SQL Code create table bt_labid(lab_id int(3) primary key,lab_name varchar(15),br_id int(2) references bt_branch,br_name varchar(15)
references bt_b ranch);
Name of the table
Bt_equipid
Description
Different Equipment Description
Attribute Description Type
Examples of values
Equip_id Id of equipment Int(3) 1
Equip_name Name of eqipment Varchar(25) Monitor
Equip_code Code of eqipment Varchar(20) 223mn76kk
Br_name Name of branch Varchar(15) computer
Primary Key equip_id
Foreign Keys Br_name references from bt_branch.
SQL Code create table bt_equipid(equip_id int(3) primary key,equip_name varchar(15),equip_code varchar(20),br_name varchar(15) references
bt_branch );
Name of the table
Bt_labincharge
Description
Different lab incharge Description
Attribute Description Type
Examples of values
Instruct_id Id of lab incharge Int(3) 1
Dept_id Id of department Varchar(3) 1
Dept_name Name of Depatment Varchar(30) computer
lab_ID Id of lab Int(3) 1
Instruct_name Name of instructor Char(25) Rahul boss Instruct_email Email id of instructor Varchar(30) [email protected] Instruct_contact Contact number of
instructor
Varchar(10) 9813812489 Instruct_address Address of instructor Varchar(35) Vikas puri-16 delhi.
Primary Key Instruct_id
Foreign Keys Dept_id, Dept_name references from bt_departement..
SQL Code create table bt_labincharge(instruct_id int(3) primary key,dept_id varchar(3) references bt_department,dept_name varchar(30)
references bt
_department,lab_id int(3),instruct_name char(25),instruct_email varchar(40),instruct_contact varchar(10),instruct_address varchar(50));
Name of the table
A_Login
Description
Administrator Login Information
Attribute Description Type
Examples of values
A_ID Use to login admin panel char(4) A001,A002
Md5(“”)
A_Name Name of member Varchar(25) MR. kulwant mehta
D_ID Associated department like head of dept
int(3) 2
A_Email Email id of member Varchar(20) [email protected]
A_Contact Phone no of member Char(15) 09999113101
Primary Key A_ID
Foreign Keys D_ID references from Bt_department.
SQL Code create table a_login(a_id char(4) primary key,a_pass varchar(20),a_name varchar(30),d_id int(3) references bt_department,a_email varchar(3
0),a_contact varchar(15));
Name of the table
Lab_info
Description
Different lab information Description
Attribute Description Type
Examples of values
lab_ID Id of lab Int(3) 1
Lab_name Name of lab Varchar(15) Data structure lab
Equip_name name of equipment varchar(25) monitor
quantity quantity of equipment Int(3) 45 Eq_condition Condition of equipment char(10) ok
uses Uses of equipment in
lab
Primary Key Lab id +equip name
Foreign Keys Lab_id, lab_name references from Bt_labid & Equip_name references from Bt_equipid
SQL Code create table lab_info(lab_id int(3) primary key references bt_labid,lab_name varchar(15) references bt_labid,equip_name
varchar(30) ref
erences bt_equipid,quantity int(3),eq_condition varchar(10),uses varchar(50));
Name of the table
Require_stock
Description
Materials purchase/require stock.
Attribute Description Type
Examples of values
Equip_id Id of equipment Int(3) 1
Equip_name name of equipment varchar(25) monitor
Lab_name Name of lab Varchar(15) Data structure lab
Dept_name Name of Depatment Varchar(30) computer
Reqr_quantity Quantity required Int(3) 200
Remark Special Specification Varchar(30) L.G. company dvd
Primary Key Equip_id
Foreign Keys Equip_id, Equip_name references from Bt_equipid & lab_name references from BT_labid & Dept_name refrences from
Bt_department
SQL Code create table require_stock(equip_id int(3) primary key references bt_equipid,equip_name varchar(15) references bt_equipid,lab_name
varchar
(15) references bt_labid,dept_name varchar(30) references bt_department,req_quantity int(3),remark varchar(30));
Name of the table
Maintainance_stock
Description
Complained stock descriptions.
Attribute Description Type
Examples of values
Equip_id Id of equipment Int(3) 1
Equip_name name of equipment varchar(25) Monitor
Lab_name Name of lab Varchar(15) Data structure lab
Dept_name Name of Depatment Varchar(30) Computer
Fault Fault description Varchar(40) Interface problem 8088
quantity Quantity of
equipment
Int(3) 200
Date of fault Date of fault date 2009-09-09
Primary Key Equip_id
Foreign Keys Equip_id, Equip_name references from Bt_equipid & lab_name references from BT_labid & Dept_name refrences from
Bt_department
SQL Code Create table maintain_stock (equip_id int(3) references bt_equipid,equip_name varchar(25) references bt_equipid,lab_name
varchar(15) references bt_labid,dept_name varchar(30) references bt_department,fault varchar(40),quantity int(3),date_of_fault date,primary key(equip_id));
Name of the table
Reserve_stock
Description
Reserved stock descriptions.
Attribute Description Type
Examples of values
Equip_id Id of equipment Int(3) 1
Lab_name Name of lab Varchar(15) Data structure lab
Dept_name Name of Depatment Varchar(30) Computer
quantity reserved Quantity Int(3) 200
condition Condition of
equipment
char(10) Ok
Primary Key Equip_id+lab name
Foreign Keys Equip_id, Equip_name references from Bt_equipid & lab_name references from BT_labid & Dept_name refrences from
Bt_department
SQL Code Create table reserve_stock (equip_id int(3) references bt_equipid,equip_name varchar(25) references bt_equipid,lab_name
varchar(15) references bt_labid,dept_name varchar(30) references bt_department,fault varchar(40),quantity int(3),condition char(10),primary key(equip_id,lab_name));
Name of the table
dumb_stock
Description
Dump stock descriptions.
Attribute Description Type
Examples of values
Equip_id Id of equipment Int(3) 1
Equip_name name of equipment varchar(25) monitor
Lab_name Name of lab Varchar(15) Data structure lab
Dept_name Name of Depatment Varchar(30) computer
quantity Quantity of dumb
stock
Int(3) 200
Primary Key Equip_id+lab name
Foreign Keys Equip_id, Equip_name references from Bt_equipid & lab_name references from BT_labid & Dept_name refrences from
Bt_department
SQL Code create table dumb_stock(equip_id int(3) primary key references bt_equipid,equip_name varchar(15) references bt_equipid,lab_name
varchar
(15) references bt_labid,dept_name varchar(30) references bt_department,req_quantity int(3),remark varchar(30));
Name of the table
Practical_details
Description
Different practical descriptions
Attribute Description Type
Examples of values
Lab_name Name of lab Varchar(15) Data structure lab
Br_Name Name of branch Varchar(15) Computer Science
semester Semester name Char(7) Third
practical Name of
practical
Varchar(150) Study of 8086 micro kit.
Primary Key No primary key need
Foreign Keys Lab_name references from Bt_labid and Br_name references from Bt_branch
SQL Code create table practical_details(lab_name varchar(15) references bt_brid,semester char(7),br_name varchar(15) references
bt_branch,practical int(150));
Name of the table
Comp_allotment
Description
Computer allotment descriptions.
Attribute Description Type
Examples of values
Lab_name Name of lab Varchar(15) Data structure lab
Pc_IPaddress Name of computer varchar(25) 198.163.01.11 Roll_no Roll no of student Char(10) CSE/06/001 Name Name of student Varchar(25) Neha
Primary Key Roll_no + lab_name
Foreign Keys Lab_name references from Bt_labid and roll_no, name references from student_details
SQL Code create table comp_allotment (lab_name varchar(15) references bt_labid,pc_ipaddress varchar(25),roll_no char(10) references
student_details,name varchar(25),primary key(roll_no,lab_name));
Name of the table
Network_daig
Description
Different lab network diagram descriptions.
Attribute Description Type
Examples of values
Lab_name Name of lab Varchar(15) Data structure lab
Diag_path Diagram pathe Varchar(40) C:\mydocument\mydaigrma
Primary Key Lab_name
Foreign Keys Lab_name references from Bt_labid
Name of the table
Lab_attendence
Description
Student’s labs attendance descriptions.
Attribute Description Type
Examples of values
Lab_name Name of lab Varchar(15) Data structure lab
Roll_no Roll no of student Char(10) CSE/06/001 Name Name of student Varchar(25) Neha attendance Student attendance Int(2) 24
Primary Key Roll_no + lab_name
Foreign Keys Lab_name references from Bt_labid and roll_no, name references from student_details
SQL Code create table lab_attendence( lab_name varchar(15) references bt_labid,roll_no char(10),name varchar(25),attendence int(2),primary
key(roll_no,lab_name));
Name of the table
Lab_marks
Description
Student’s labs marks descriptions.
Attribute Description Type
Examples of values
Lab_name Name of lab Varchar(15) Data structure lab
Roll_no Roll no of student Char(10) CSE/06/001 Name Name of student Varchar(25) Neha
Primary Key Roll_no + lab_name
Foreign Keys Lab_name references from Bt_labid and roll_no, name references from student_details
SQL Code create table lab_marks(lab_name varchar(15) references bt_labid,roll_no char(10),name varchar(25) references
student_details,marks int(2),primary key(roll_no,lab_name));
Name of the table
Time_table
Description
Different labs time table descriptions.
Attribute Description Type
Examples of values
Lab_name Name of lab Varchar(15) Data structure lab
Br_Name Name of branch Varchar(15) Computer Science
semester Semester name Char(7) Third
Time_table Lab time table Varchar(150) In another module
Primary Key Lab _name
Foreign Keys Lab_name references from Bt_labid and Br_name references from Bt_branch
SQL Code create table time_table(lab_name varchar(15) references bt_labid,br_name varchar(15) references bt_branch,semester
cahr(7),time_table varchar(150),primary key(lab_name));
Name of the table
Lab_charges
Description
Student’s lab fine descriptions.
Attribute Description Type
Examples of values Roll_no Roll no of student Char(10) CSE/06/001 Name Name of student Varchar(25) Neha
charges Student fine in
rupees
Remark Fine remark Varchar(30) Lab breaking charges
Primary Key Roll_no
Foreign Keys Lab_name references from Bt_labid and roll_no, name references from student_details
SQL Code create table lab_charges(roll_cahr(10) references bt_labid,name varchar(25) references student_details,charges int(3),remark
varchar(30),primary key(roll_no))
Graphical User Interface
The Interface was designed keeping the objective in consideration to make it user friendly and provide various functionality in his hands.
Interface include • A Home Page
• Four separate login pages(for different lab administrator)
•
Corresponding four different GUI.8.8 Class Diagrams and Classes
8.9 Uses/Interactions
Lab management system provide the administer valid id to login.
After valid login an administrator have all rights to take all the features of the corresponding lab sections.
Here the student and faculty can see the time table to give the lab name in the corresponding section. Students can see the attendance, lab marks, lab charges, computer allotment etc.
8.10 Resources
Hardware RequirementsServer Side:
• Processor: Pentium 3.0 GHz or higher
•
RAM: 512 MB or more • Hard Drive: 10 GB or moreClient side:
• Processor: Pentium III or 2.0 GHz or higher. • RAM: 256 Mb or more
ADMINSTRATORS
LAB SECTION
COMPUTER ADMIN
MECHANICAL ADMIN
ELECTRONICS ADMIN
SCIENCE ADMIN
COMPUTER LAB
MECHANICAL LAB
ELECTRONICS LAB
SCIENCE LAB
HAVE
Software Requirements
•
Database/server: MySQL Server, Apache server.•
Application: Mozilla Firefox, Google Chrome, Internet Explorer.Manpower Requirements
• 6 students have complete this in 6 weeks
8.11 Processing
In the lab management system proper login id provided to each lab administrator through that id they can enter in the corresponding lab management system. If administrator have not valid id it give the message not valid to the administrator.
And on the student and faculty side processing there have separate interface for the student and faculty to take the corresponding faculty. Student just feed the roll no and see the lab attendance, lab marks, lab charges etc. processing is done in this sense.
8.12 Interface/Exports
Php is used to create the server side pages.
Javascript is used for the validation of the web pages.
Mysql is used to create and manage the database regarding lab management system.
PERSON/U
SER
ADMIN
LOGIN
LAB MANAGEMENT
(G.U.I)
LOGIN
TERMINATED
LOGIN
INCORRECT
P_ID, PASSWORD
LOGIN CORRECT
LOGIN ACCEPTED
Css is used to provide the design according to the need of the application interaction. Phpide is used to create the server side web pages rapidly.
8.13 Detailed Subsystem Design
Lab management system basically covers four main lab subsystems these are:- Computer lab section
Science lab section Mechanical lab section Electronics lab section COMPUTER LAB
SECTION-This lab section holds the information about all the computer lab of the college. And this lab section holds the computer allotment process of each student. L.M.S. contains all the data like requirement stock, reserve stock, complaint stock etc.
ELECTRONIC LAB
SECTION-This lab section hold the electronic lab data like electronic equipment description, practical list of labs, maintained stock, dump stock etc.
MECHANICAL LAB
SECTION-This lab section holds the mechanical lab related data. It holds the information about the equipment, machine uses, requirement stock etc.
SCIENCE LAB
SECTION-Science lab section hold the all science lab data it may physics or chemistry .
9. Source Code Details
S.No
Filename
SLOC
1.
Labmain.php5
110
2.
Comadmin_interface.php5
112
3.
Electoadmin_interface.php5
130
4.
Header.php5
35
5.
Mechadmin_interface.php5
118
6.
Science_interface.php5
125
7. Computer_lab1.php5 139 8. Fotter.php5 239. Comp_home.php5 95 10. Mech_home.php5 77 11. Electro_home.php5 88 12. Science_home.php5 76 13. Comp_adminconnect.php5 30 14. Logout.php5 12 15. Electroadmin_connect.php5 30 16. Mechadmin_connect.php5 35 17. Scienceadmin_connect.php5 32 18. Computer_lab2.php5 139 19. Computer_lab3.php5 140 20. Computer_lab4.php5 133 21. Computer_lab5.php5 140 22. Computer_lab6.php5 138 23. Electro_lab1.php5 125 24. Electro_lab2.php5 130 25. Electro_lab3.php5 126 26. Mech_lab1.php5 127 27. Mech_lab2.php5 130 28. Science_lab1.php5 77 29. Science_lab2.php5 80 30. Comp_head.php5 129 31. Comp_lab1_info.ph5 43 32. Comp_lab1_req.php5 44 33. Comp_lab1_dumb.php5 42 34. Comp_lab1_maintain.php5 45
35. Comp_lab1_reserve.php5 44 36. Comp_lab1_marks.php5 45 37. Comp_lab1_incharge.php5 46 38. Comp_lab1_practical.php5 45 39. Comp_lab1_attendence.php5 46 40. Comp_lab1_timetable.php5 47 41. Comp_lab1_allotment.php5 48 42. Comphead2.php5 129 43. Comp_lab2_info.ph5 43 44. Comp_lab2_req.php5 44 45. Comp_lab2_dumb.php5 42 46. Comp_lab2_maintain.php5 45 47. Comp_lab2_reserve.php5 44 48. Comp_lab2_marks.php5 45 49. Comp_lab2_incharge.php5 46 50. Comp_lab2_practical.php5 45 51. Comp_lab2_attendence.php5 46 52. Comp_lab2_timetable.php5 47 53. Comp_lab2_allotment.php5 48 54. Comphead3.php5 130 55. Comp_lab3_info.ph5 43 56. Comp_lab3_req.php5 44 57. Comp_lab3_dumb.php5 42 58. Comp_lab3_maintain.php5 45 59. Comp_lab3_reserve.php5 44 60. Comp_lab3_marks.php5 45
61. Comp_lab3_incharge.php5 46 62. Comp_lab3_practical.php5 45 63. Comp_lab3_attendence.php5 46 64. Comp_lab3_timetable.php5 47 65. Comp_lab3_allotment.php5 48 66. Comphead4.php5 130 67. Comp_lab4_info.ph5 43 68. Comp_lab4_req.php5 44 69. Comp_lab4_dumb.php5 42 70. Comp_lab4_maintain.php5 45 71. Comp_lab4_reserve.php5 44 72. Comp_lab4_marks.php5 45 73. Comp_lab4_incharge.php5 46 74. Comp_lab4_practical.php5 45 75. Comp_lab4_attendence.php5 46 76. Comp_lab4_timetable.php5 47 77. Comp_lab4_allotment.php5 48 78. Comphead5.php5 132 79. Comp_lab5_info.ph5 43 80. Comp_lab5_req.php5 44 81. Comp_lab5_dumb.php5 42 82. Comp_lab5_maintain.php5 45 83. Comp_lab5_reserve.php5 44 84. Comp_lab5_marks.php5 45 85. Comp_lab5_incharge.php5 46 86. Comp_lab5_practical.php5 45
87. Comp_lab5_attendence.php5 46 88. Comp_lab5_timetable.php5 47 89. Comp_lab5_allotment.php5 48 90. Comphead6.php5 132 91. Comp_lab6_info.ph5 43 92. Comp_lab6_req.php5 44 93. Comp_lab6_dumb.php5 42 94. Comp_lab6_maintain.php5 45 95. Comp_lab6_reserve.php5 44 96. Comp_lab6_marks.php5 45 97. Comp_lab6_incharge.php5 46 98. Comp_lab6_practical.php5 45 99. Comp_lab6_attendence.php5 46 100 . Comp_lab6_timetable.php5 47 101 . Comp_lab6_allotment.php5 48 102 . Electrohead1.php5 113 103 . electro_lab1_info.ph5 43 104 . electro_lab1_req.php5 44 105 . electro_lab1_dumb.php5 42 106 . electro_lab1_maintain.php5 45 107 . electro_lab1_reserve.php5 44 108 . electro_lab1_marks.php5 45 109 . electro_lab1_incharge.php5 46 110 . electro_lab1_practical.php5 45 111 . electro_lab1_attendence.php5 46 112 . electro_lab1_timetable.php5 47
113 . Electrohead2.php5 116 114 . electro_lab2_info.ph5 43 115 . electro_lab2_req.php5 44 116 . electro_lab2_dumb.php5 42 117 . electro_lab2_maintain.php5 45 118 . electro_lab2_reserve.php5 44 119 . electro_lab2_marks.php5 45 120 . electro_lab2_incharge.php5 46 121 . electro_lab2_practical.php5 45 122 . electro_lab2_attendence.php5 46 123 . electro_lab2_timetable.php5 47 124 . Electrohead3.php5 120 125 . electro_lab3_info.ph5 43 126 . electro_lab3_req.php5 44 127 . electro_lab3_dumb.php5 42 128 . electro_lab3_maintain.php5 45 129 . electro_lab3_reserve.php5 44 130 . electro_lab3_marks.php5 45 131 . electro_lab3_incharge.php5 46 132 . electro_lab3_practical.php5 45 133 . electro_lab3_attendence.php5 46 134 . electro_lab3_timetable.php5 47 135 . Mechhead1.php5 125 136 . mech_lab2_info.ph5 43 137 . mech_lab2_req.php5 44 138 mech_lab2_dumb.php5 42
139 . mech_lab2_maintain.php5 45 140 . mech_lab2_reserve.php5 44 141 . mech_lab2_marks.php5 45 142 . mech_lab2_incharge.php5 46 143 . mech_lab2_practical.php5 45 144 . mech_lab2_attendence.php5 46 145 . mech_lab2_timetable.php5 47 146 . Mechhead2.php5 125 147 . mech_lab1_info.ph5 43 148 . mech_lab1_req.php5 44 149 . mech_lab1_dumb.php5 42 150 . mech_lab1_maintain.php5 45 151 . mech_lab1_reserve.php5 44 152 . mech_lab1_marks.php5 45 153 . mech_lab1_incharge.php5 46 154 . mech_lab1_practical.php5 45 155 . mech_lab1_attendence.php5 46 156 . mech_lab1_timetable.php5 47 157 . Sciencehead1.php5 116 158 . science_physics_info.ph5 43 159 . science_physics_req.php5 44 160 . science_physics_dumb.php5 42 161 . science_physics_maintain.php5 45 162 . science_physics_reserve.php5 44 163 . science_physics_marks.php5 45 164 . science_physics_incharge.php5 46
165 . science_physics_practical.php5 45 166 . science_physics_attendence.php5 46 167 . science_physics_timetable.php5 47 168 . Sciencehead2.php5 120 169 . science_chem_info.ph5 43 170 . science_chem_req.php5 44 171 . science_chem_dumb.php5 42 172 . science_chem_maintain.php5 45 173 . science_chem_reserve.php5 44 174 . science_chem_marks.php5 45 175 . science_chem_incharge.php5 46 176 . science_chem_practical.php5 45 177 . science_chem_attendence.php5 46 178 . science_chem_timetable.php5 47
Labmain.php5 (Home page)
<html>
<head>
<title>interface</title>
<style type="text/css">
.style1 {
font-size: xx-small;
}
.style2 {
color: black;
}
.style3 {
text-decoration: none;
}
.style6 {
text-align: center;
}
.style7 {
font-family: "Arial Black";
font-size: xx-small;
}
</style>
</head>
<body bgcolor = "WHITE" >
<img src="pictures\LAB.png" width="100%" height="30%" >
<div id="help" style="width: 95%; height: 3%" class="style6">
<font face="arial" color="white" size="1" style="color:
BLACK">
</font> <span class="style7">
<font color="white" style="color: #FFFFFF">
<a target="_self" href="compadmin_interface.php5"
class="style3">
<span class="style2">COMPUTER LAB SECTION
</span></a> </font> </span>
<font face="arial" color="white" size="1" style="color:
BLACK">
| </font>
<span class="style7"><font color="white" style="color:
BLACK">
<a target="_self" href="electroadmin_interface.php5"
class="style3">
<span class="style2">ELECTRONICS LAB
SECTION</span></a></font></span><font face="arial" color="white"
size="1" style="color: #FFFFFF"><span class="style7"><font color="white"
style="color: #FFFFFF"> </font>
</span><span class="style1">
<font face="arial" color="white" size="1" style="color: BLACK">
| </font>
<span class="style7"><font color="white" style="color: BLACK">
<a target="_self" href="mechadmin_interface.php5" class="style3">
<span class="style2">MECHANICAL LAB
SECTION</span></a></font></span><font color="white" style="color:
#FFFFFF"> </font>
<font face="arial" color="white" size="1" style="color: BLACK">
| </font>
<span class="style7"><font color="white" style="color: BLACK">
<a target="_self" href="scienceadmin_interface.php5" class="style3">
<span class="style2">SCIENCE LAB
SECTION</span></a></font></span>
<font face="arial" color="white" size="1" style="color: BLACK">
| </font>
<span class="style7"><font color="white" style="color: BLACK">
<a target="_self" href="student_interface.php5" class="style3">
<span class="style2">STUDENT LAB
SECTION</span></a></font></span>
<font face="arial" color="white" size="1" style="color: BLACK">
| </font>
<span class="style7"><font color="white" style="color: BLACK">
<a target="_self" href="student_interface.php5" class="style3">
<span class="style2">FACULTY LAB
SECTION</span></a></font></span>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<img alt="sbit1" src="pictures\electro2.jpg" width="180"
height="140" align="absmiddle" style="border-color: #FFFFFF"
border="3">
<img alt="sbit2" src="pictures\lab1.jpg" width="180"
height="140" align="absmiddle" border="3" style="border-color:
#FFFFFF">
<img src="pictures\science5.jpg" width="180" height="140"
align="absmiddle" border="3" style="border-color:
#FFFFFF">
<img alt="neeraj1" src="pictures\electro4.jpg" width="180"
height="140" align="absmiddle" border="3" style="border-color:
#FFFFFF"><br>
</div>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<img alt="" src="pictures\bottomline.png" width="100%"
height="3%"><div align="center">
<a href="jjjjj" style="color: BLACK"
class="style3">Contact us</a>
<span class="style2"> |
</span> <a href="" class="style3"><span
class="style2">Help</span></a>
<div align="center" class="style2">Copyright © 2009 Rohilla Group of
company. All rights reserved.</div></div>
</html>
Compadmin_interface.php5 (computer section login page)
<html> <head>
<title>interface</title>
<script type = "text/javascript" language = "JavaScript"> function check1()
{
if (document.getElementById("ai").value == "") {
document.getElementById("val1").innerHTML = "<font color='red'>*FIELD REQUIRED</font>"; } else document.getElementById("val1").innerHTML = ""; } function check2() { if (document.getElementById("ap").value == "") {
document.getElementById("val2").innerHTML = "<font color='red'>*FIELD REQUIRED</font>"; } else document.getElementById("val2").innerHTML = ""; } function home() {
} </script> <style type="text/css"> .style1 { color: #FFCCCC; } .style2 { color: #FFCCFF; font-weight: bold; } .style3 { color: #FFCCFF; } .style4 { color: #FF9933; } .style5 { color: #FF9933; font-weight: bold; } .style6 { text-align: right; } </style> </head> <body >
include_once "header.php5"; ?>
<div id="help" align="right" style="width: 95%; height: 3%"> <font face="arial" color="white" size="1" style="color: #FFFFFF"> </font> <span class="style1"> <font color="white" style="color: #FFFFFF">
<center>
<div align="right">
<input type="button" name="submit" value="HOME" onclick="home();"> </div>
<table cellpadding="0" height="50%" width="100%" color="skyblue"> <caption class="style6">
<br /> <br />
<img alt="sbit1" src="pictures\comp1.jpg" width="180" height="140" align="absmiddle" style="border-color: #FFFFFF" border="3">
<img alt="sbit2" src="pictures\comp3.jpg" width="180" height="140" align="absmiddle" border="3" style="border-color: #FFFFFF">
<img src="pictures\comp5.jpg" width="180" height="140" align="absmiddle" border="3" style="border-color: #FFFFFF">
<img alt="neeraj1" src="pictures\comp4.png" width="180" height="140" align="absmiddle" border="3" style="border-color: #FFFFFF"><br>
<tr>
<td align="right" style="color: #FFCCFF">
<font ><h2> <span class="style4">COMPUTER ADMIN LOGIN | INTERFACE</span></align></h2> </font></td>
<td bgcolor="white"> </td>
<table align="right" >
<tr><td colspan="5" align="center" ><font color="red"><?php if(isset($_GET['msg'])) echo $_GET['msg'];?></font></td></tr>
<tr><td>
<form name="Stud" id='Stud' action="compadmin_connect.php5" method="post"> <span class="style5">Admin Id</span><span class="style2"> </span><span
class="style3">:   </span>  <input type="text" id = "ai" name = "ai" onblur="check1();" /> </td><td>
<div id="val1"> </div> </td></tr>
<tr><td> <span class="style5">Password :</span><span class="style1"> 
</span> <input type="password" id = "ap" name = "ap" onblur="check2();"/></td> <td>
<div id="val2"></center></div></td></tr> <tr><td>
<center><input type="submit" value="LOGIN" /></td></tr> </center> </form> </table> </td></tr></table> </table> <?php include_once "fotter.php5"; ?> </body> </html>
Compadmin_connect.php5 (computer section connectivity)
<?php class login1
function insert() { $a=$_POST['ai']; $b=$_POST['ap'] ; $handle=mysql_connect('localhost','root','SBIT'); $db=mysql_select_db('lms',$handle);
$query="select * from a_login where a_id='$a' and a_pass=md5('$b') and d_id='1'"; $result=mysql_query($query,$handle); if(mysql_num_rows($result)==1) { $row=mysql_fetch_row($result); @session_start(); $_SESSION['adminname']=$row[2]; $_SESSION['adminid']=$row[0]; echo "<script>document.location='comp_home.php5';</script>"; } else {
header("Location: compadmin_interface.php5?msg=Not Valid"); } } } $x=new login1(); $x->insert(); ?>
Comp_home.php5 (computer section Home after valid login)
<?php
@session_start();
if(!isset($_SESSION['adminname'])) {
require_once "labmain.php5" ; exit(0); } else{ ?> <html> <head> <title>COMPUTER HOME</title>
<script type = "text/javascript" language = "JavaScript"> function lab1() { document.location="computer_lab1.php5"; } function lab2() { document.location="computer_lab2.php5"; } function lab3() { document.location="computer_lab3.php5"; } function lab4() { document.location="computer_lab4.php5"; } function lab5() {
} function lab6() { document.location="computer_lab6.php5"; } </script> <style type="text/css"> .style2 { text-align: center; } .style4 { text-align: right; } </style> </head> <body> <?php include_once "header.php5"; ?> <table style="width: 98%"> <tr>
<td style="width: 633px"><strong>WELCOME MR. <?php echo $_SESSION['adminname']; ?></strong></td>
<td class="style4"><form action="logout.php5" method="post">
<input type="submit" name="logout" value="LOGOUT" style="width: 79px" ></form></td>
</tr> </table> <br/>
<input type="button" name="li" id="li" value="LAB1" style="width: 122px" onclick="lab1();">
<input name="reqs" id="reqs" type="button" value="LAB2" style="width: 122px" onclick="lab2();">
<input name="dumb" type="button" value="LAB3" style="width: 122px" onclick="lab3();"> <input name="complain" type="button" value="LAB4" style="width: 122px"
onclick="lab4();">
<input name="reserve" type="button" value="LAB5" style="width: 122px" onclick="lab5();">
<input name="Button1" type="button" value="LAB6" style="width: 122px" onclick="lab6();"> </div> <br /> <br /> <br /> <br /> <div class="style2">
<img alt="sbit1" src="pictures\comp1.jpg" width="180" height="140" align="absmiddle" style="border-color: #FFFFFF" border="3">
<img alt="sbit2" src="pictures\comp3.jpg" width="180" height="140" align="absmiddle" border="3" style="border-color: #FFFFFF">
<img src="pictures\comp5.jpg" width="180" height="140" align="absmiddle" border="3" style="border-color: #FFFFFF">
<img alt="neeraj1" src="pictures\comp4.png" width="180" height="140" align="absmiddle" border="3" style="border-color: #FFFFFF">
</div> <?php } include_once "fotter.php5"; ?> </body> </html>