Site hosted by Angelfire.com: Build your free website today!

DCCOAS3

 

 

Case Study Report

 

(Part 7)

 

Solution Development

Teacher :  Mr. Lesurf

Solve Team : 3A

Date :Nov.15th, 2002

Solve Team Members :

Liu Kai Feng ( Kim )

Lu Qi Wen ( Wendy )

Luan Zhi Hai ( Lance )

Ma Xiao Cong ( Spencer )

Pan Hui Sheng (Jenny )

 

 

 

 

Description of Complete Solution

 

       Through the Automatic Lockers Information System (ALIS) package we are going to develop, the current locker system will be evidently changed to be more effective and easy to use.

 

       Based on the information that we have analyzed in part 4, 5 and 6, we intend to set up a computer with an external touch screen in the college store to help the information search. There must be a net card installed in the computer in order to get the update information from the school local area network. Also this computer will have both floppy disk and internet access ability in order to install the new software that we will develop. Last, several tests will run on this computer to make sure the programs work properly.

 

       When the hardware installation and the software preparation are completed, it is time to start the data management and make the system works. The ALIS will have 5 parts to solve the lockers system. There are: the update part, the data input part, the data managing and storing part, the searching part and the report output part (Please see the Pseudocode for detail). First, the staff in the college store will input all of the current information including the locker numbers, locker combination number and the students¡¯ ID number using the school¡¯s ID information system; these will be checked and then stored in the hard disc. When the ID information system is connected successfully, the ALIS will start to work with the school ID system since each renter¡¯s personal information has been recorded correctly. From then on, when the student applies for a new locker, the system could search for all of the information includes the location, partner and situation about the empty lockers available for him/her to choose. Whenever he/she selects own locker, the system could give him/her necessary information about the people who are also looking for a partner, with the same graduation date in the ID information system (of course the student could choose one of his good friends instead of picking a person from the system). Then this student has to fill his personal information, and the stored information could be error checked and correct (ECC) both automatically and manually. The ALIS will have a quick searching, classifying, and sort programs that followed by the name, ID number, the situation of the locker etc, whenever in the front of the touch monitor or using the internet, this could help the staff and students to get the information more quickly and easily. The locker¡¯s information could be up dated automatically by the student¡¯s ID information system, so that the staff does not have to check and fill the locker¡¯s information manually at each end of the semester. Last, the report part could collect the significant information; make lists, and plot curves of usage. It could be reported on both ways: 1. Others computer in the school LAN ( for and school management ) and 2. Printed report papers ( for the principle ).

 

 

 

 

 

Pseudocode

Pseudocode Starting Program part:

When you start using the program,
Display "Welcome to the Automatic Locker Information System (ALIS) ";
/* for the first use*/ IF first use
Display "Create new account please.", user INPUT account name;
Search if account exists;
IF account exists, Display "Account already exists! ", return;
ELSE go on;
Display "Create your access code", user INPUT code;
Display "Please confirm the code again", user INPUT again;
IF code match, start to login in, call for USER GUIDER/* See Part 9 of the case study*/;
ELSE Display "codes are not the same! ", return or EXIT;
/* for future use*/ ELSEIF
Display "Name account please.", user INPUT account name;
IF name match, go on;
ELSE Display "Account doesn’t exist! Could you like to create?"
IF yes, BACK to "Create new account…";
ELSE EXIT;
Display "Please enter your access code", user INPUT code;
IF the code matches, start to login in;
Else Display "Sorry, please check the code and enter again. ", return;
If the code does not match 3 times, EXIT.
ENDIF

Main Data Storage Program part:

/*Only be accessed by staff account*/
Initial data table at least 50*50 blanks of lockers; view window 10*5 blanks; created searching and lists and 4 classify buttons: Name, Locker Number, Students’ ID, and Damage;

INPUT Locker Information in each blank including:
---Locker Number /* the serial number on the lockers with 4 digits, for example: 0012*/
---Students’ Names /*could be empty if this blank is not rented*/,
---Students’ ID Number /*could be empty if this blank is not rented*/,
---Locker Combination Number with encrypt sign “*” During the input process, /*Could be only accessed by the staff accounts*/,
---Forgetting confirm password or questions answers /* The confirm password or questions answers should be matched when the student wants to get the Combination Number back if forget /,
---Situation info: damaged, rented, under repair, needed to be replaced and empty /*With description words and option blanks nearby*/,
--- Location map /* on the left wall or right hallway, in which building, on which level*/;

IF click Name Button, organize Lockers list by names first letter from A to Z;
ELSEIF click Locker Number button, organize the Lockers list by number form the smallest to the largest;
ESLEIF click Damaged button, classify the lockers to three lists: Damaged or Expired /*mark red*/, Good/*Mark green*/, and Renewed or Repaired /*Mark blue*/;
ELSEIF click Students’ ID Button; organize the Lockers list by ID number form the earliest to the latest;
ESLEIF click Location Button; organize the Lockers list by their location form the left side to the right side, and from the basement to the highest floor.
ENDIF

ALIS will back up the all locker information to the back up server in each 10 minutes.


Application and Operating program part:

/* When the new information about the locker’s renter is typing in*/ System checks for the new information of ID numbers form our school students’ ID information program.
IF Input ID number is not matched, Display "ID number! Please check and type again. ";
ELSEIF ID number is expired or not exists, Display "Number Expired or not Exist! ", return;
ELSEIF the ID has already rent a locker or already applied and waiting for a partner, Display "This student is renting, could you like to change or completely cancel it? "
IF user choose change, go to Information Searching program (students) part, then remove all old user information in the current blank /*Including: student’s ID, student’s name, other requested info*/ after the new application;
ELSE user choose to cancel, Display confirm password or question;
IF question or password matches, Display " Are you sure? ",
IF user choose yes, remove all old user information in the current blank /*Including: students ID, students' name, and other requested info*/;
ELSE user choose no, return;
ELSE Display "Key words do not match! ", return;
ELSEIF the ID is new and matched, Display " Thank you for applying for the school lockers! " then store the students’ application info to hard drive;
ENDIF


/*Program will check the school students’ ID information program every week to see if the ID information is updated*/ Check for the ID numbers form our school students’ ID information program.
IF ID expired, put the Locker to the EXPIRED List, then knock out the users and mark the blank /*red*/;
ELSEIF the lockers renter was changed, and then marks the blank to notice the staff to change the old physical locker.
ELSEIF does not change the information.
ENDIF


/*The program will operate to the date and place in order to forbid to the expired users trying to access*/
The ALIS will automatically notice the staff to change the expired lockers.
IF the number of expiring lockers is up to 10, ALIS will Display a notice warning and produce a list which matching the new location to the new locker number RANDOMLY. And then the new place list could print out./*For the staff, just need to change the old locker to a new place follow on the new place list manually, don't have to fill and verify the LOCKER COMBINATION number manually again*/
ELSE the expired lockers warning will not be displayed.
ENDIF


Information Searching program part:

/*The staff searches the lockers by any of other information*/
Call for all of the lockers’ the information on the hard disk, keyboard driver, does operating update first;
IF Any one of the results is matched in any one of locker, high light the blanks, list them in side list, organizing button available;
ELSE Display "No search result fit!", then return;
ENDIF.


/* The students search the lockers’ information form the terminal touch monitor*/
Display " Welcome to use students locker information system! "
Call for the Requesting partner and location information, keyboard driver.
Menu Display:
1. Apply for new lockers;
Display apply form /*Including Name, ID number, LOCKER COMBINATION forgetting question and answer,etc*/ Leave another 300*150 pixels blank /*For fill in requesting partner and other apply information*/; location map and partner information search engine available on the side;
2. Forget password;
Display " Your ID number please. ", user INPUT ID number, operates data to school ID information system, searching engine work;
IF ID matches, Display " Your confirm question answer please." ; Display "/*The question that the user put already when he/she applies for the locker*/" ; user input answer;
IF Answer matches, Display LOCKER COMBINATION number and return button;
ELSE Print "Answer does not match! ", return or exit /*if does not match in three times*/;
ELSE Display "ID number does not exist!", then return or exit/*if does not match in three times*/;
ENDIF.


Report output Program part:

1. Call for printer driver, and printed on paper;
2. Produce Locker information report forms/*Including lockers information, users information, usage information and history graphing curve etc.*/, printing button available;
3. Operate information report forms on both Local Area Network and Internet Website. /* For security reason, not LOCKER COMBINATION number with the lockers includes*/