Docsity

Education Support Project Description - Prof. James M. Purtilo, Study Guides, Projects, Research of Software Engineering

Partial preview of the text

Download Education Support Project Description - Prof. James M. Purtilo and more Study Guides, Projects, Research Software Engineering in PDF only on Docsity!

Education Support Project Description

Version 4

CMSC 435

University of Maryland, College Park November 4, 2008

Michael Campbell Robert Coffman Nick Dobson Thomas Jankowski Robert Meyer

Table of Contents

    1. Overview ……………………………………………………………………
    • 1.1 Purpose of this Document ……………………………………
    • 1.2 Background …………………………………………………………
    • 1.3 Software Purpose …………………………………………………
    • 1.4 Definitions ……………………………………………………………
    • 1.5 Types of Data ………………………………………………………
    • 1.6 User Characteristics ……………………………………………
    1. Project Requirements ………………………………………………
    • 2.1 Data Storage ………………………………………………………
    • 2.2 Data Upload ………………………………………………………
    • 2.3 Search …………………………………………………………………
    • 2.4 Unprocessed Video Upload …………………………………
    • 2.5 Privacy …………………………………………………………………
    1. Project Implementation ……………………………………………
    • 3.1 Data Storage ………………………………………………………
      • 3.1.1 File Structure ………………………………………………
      • 3.1.2 Data Backup …………………………………………………
      • 3.1.3 Data Archival ………………………………………………
    • 3.2 Data Upload ………………………………………………………
      • 3.2.1 Client Side ……………………………………………………
      • 3.2.2 Server Side …………………………………………………
    • 3.3 Data View …………………………………………………………
      • 3.3.1 Client Side ……………………………………………………
      • 3.3.2 Server Side ………………………………………………….
    • 3.4 Database Organization ………………………………………
  • Appendix A – File Naming Convention ……………………….

spreadsheets, transcripts, and videos. All of these files adhere to a strict naming convention, which is specified in appendix A. All files will be searchable by grade level, school, classroom, project, activity, the date of collection, a description of the data and/or chemistry topic.

Spreadsheet The spreadsheets are in the Microsoft Excel document format and contain student test results. The number of pages and type of data in the spreadsheets vary, but each sheet contains a list of TAs, experiments, and dates.

Transcript Transcripts of videos are in the Microsoft Word and the Inqcribe format. All transcripts contain timestamps and these timestamps should link and skip to the appropriate place in the corresponding video if one exists.

Video Videos are stored in the Quicktime Movie format. All videos should be able to be streamed from the web interface.

1.6.User Characteristics

The average user of this system is a member of the Stieff Research Group seeking to analyze the data within the database. They will be familiar with computers and have used software to analyze similar data before. All users have the same privileges to analyze data, with specific users granted administrative privileges to add and remove users.

2.Project Requirements

2.1.Data Storage

Description The data will be stored in large redundant hard drives. This will ensure that if a hard drive goes down, the data will stay intact. If it is necessary to modify any of the files for processing, the original file must be maintained, even if the modified version contains all the data of the original document.

A secondary objective of this project is to provide a secure method to backup the data. Data will be backed up onto a large external hard drive. This hard drive will be stored off site and

brought on site at a regular interval that will be determined by the user. When brought on site, the backup hard drive will be connected to the server and any changes made to the server will be copied to the backup. This will be done either automatically or by a user running a separate program. The user will not be required to manually copy each file to the backup. After the changes have been copied to the backup, it will be taken back to the secure offsite location.

Critically Critical. It is imperative that the originals of documents are maintained and that if necessary they can be accessed.

Risk Any loss of data will impede research and therefore be considered a failure for the project. Keeping original and modified versions of files could cause the storage requirements to grow more quickly that can be handled by the database.

2.2.Data Upload

Description The data will be uploaded through a Java application. This does not need to be the same interface that is used to view the data. All types of data should be upload-able in this manner. The user will browse for a file and, when one is selected, the application will parse the file name for the grade level, school, classroom, project, and activity. The user will then be allowed to edit these tags and will be given the opportunity to add the date of collection, a description of the data, a chemistry topic, and a list of user generated key words for the document. Once all of these fields have been filled in correctly, the user will click an upload button and the file will be uploaded to the server. An application running on the server will receive the file and organize it in the file system, and add it to the database. While a file is uploading, the user will be allowed to being entering the tags for another file and add that file to an upload queue.

A secondary project objective is to provide a second video upload method which will not add the file to the database but instead move the file into a folder on the server for editing and later uploading.

Critically Critical. It is not essential to the success of the project that the

browsing data easy. If the data cannot be viewed, then this project would be considered a failure.

Risk If the search results are not organized in a way that makes finding the desired piece of data easy, then the product may not get used.

Measures must be taken to prevent videos from being downloaded. This would violate the privacy agreements in place with the subjects of the experiment.

2.4.Viewing and Editing Tags

Description After a video is uploaded, any user should be able to view the tags that have been entered for that file. There should also be a method for editing these tags after they have been uploaded.

Critically Important. The main goals of this project will still be possible if the tags can’t be viewed or edited after upload.

Risk The tag view and edit should be easily done after discovering an error, and discovering errors will most likely occur while viewing a file. Therefore it may be best to have the tag editor in the web interface, but this would divide it from the standard tag allocation process through the upload interface.

2.5. Unprocessed Video Upload

Description When videos are recorded, they are first captured as raw video files, which have not been edited, may not be in Quicktime format, and will not have transcripts. Researchers may desire to upload these files directly from the field back to the server to be edited later. The upload interface may provide a method to upload files such as these to a specific directory on the server that stores unedited videos. These videos will not be added to the database and will be stored in a separate file structure from files uploaded through the standard upload interface. Files uploaded in this way will not be searchable or downloadable. This serves only as a method to move files from remote locations to the central location.

Critically Low Priority. The video repository is not one of the key functions of the database system, but serves as a convenience for the team.

Risks Uploading raw videos may take too long and make this feature impractical to use. Efforts must be taken to make uploads as fast as possible.

2.6.Privacy

Description All data stored in the database must be kept private. The only people allowed to access this data are people to whom an administrator has given access. Users must authenticate themselves before being able to access the data. No video data may be downloaded from the database. The exact nature of the agreement between researchers and subjects is not known. This section will be updated when that information is relieved.

3.2.Data Upload

3.2.1.Client side The client side program will be written in Java. It should establish a secure connection (ssl) to the server side application. It will then present the user with a login to authenticate identity. The user should be taken to an upload screen where he/she can browse his/her system for a file to upload. After selecting the file, the file name will be sent to the server side program and the client will wait for the server to send back a list of attributes/tags. The client application will fill in textboxes for each attribute with the corresponding tag, and allow the user to edit those tags. Text boxes will also be provided for the date of collection, description of data, and chemistry topic. When the user clicks the “upload” button, a file will immediately be sent to the server indicating that the client has submitted the file and specifying the user identity of the client. These files are not submitted through the normal file upload queue. The client will then add the data file, followed by a text file with the same name as the data file containing the attribute/tag pairs, to an upload queue. The user should be able to repeat this process and queue up another file to be uploaded before the first file has finished the upload process.

The client side upload program will provide the ability to check the status of all the queued uploads from that computer. This will list the files queued to upload, in progress, and finished for this session and label them as such. There is no need to indicate the progress of an upload.

The client side upload program will provide the ability to check the status of all uploads that the server sees. It will make a request to the server for the status of all uploads. The server will respond with filename/status pairs. These files will be the files queued by users, but not yet begun, files in progress, and files that were interrupted.

3.2.2.Server Side The server side program must satisfy several functions. It must authenticate users and keep track of valid authenticated users. If the connection to the user closes or the user explicitly logs out the user should be removed from the valid authenticated user list. No requests other than login should be accepted unless the user is on the valid user

list.

If the server receives a file name, it should decode the file name according to the file name convention in appendix A and return known attribute/tag pairs.

The server application should accept download from users. All downloads will be stored temporarily in a common folder. Files stored here are the data files, text files with attribute/tag pairs corresponding to each data file, and the files from users indicating that data files have been submitted to their upload queue.

If the server receives a request for download status it should generate a list of files in the download folder. It will create a list of the file/status pairs in the following way. If the upload queued file and/or the data file is present, but not the text file and the user who submitted the file is no longer a valid user add the file name and the status “interrupted.” If only the upload queued file is present, add the file name with status “queued.” If the upload queued file and a data file are present and the user is logged in, then add the file name and status “in progress.” When the file list is finished parsing return the result to the client.

When a data file and the text file for a particular piece of data have arrived, they should be removed from the download folder and moved into the data storage structure. The tags for that file should then be added to the database, along with the user who uploaded the data.

3.3.Data View

3.3.1.Client Side The data viewing tool will be browser-based. It should establish a secure connection (ssl) to the server side application. It will then present the user with a login to authenticate identity. After authentication, the user will be presented with comprehensive search options to find both spreadsheets and video files. After the click a “search” button, the client side program will create a set of attribute/tag pairs and send it to the server. The server will return a list of files meeting those requirements, and the client side program will display the results. Clicking on one of these results will cause the result to appear in a viewing

Appendix A – File Naming Convention

The file naming convention is followed all the time and includes an abbreviation for the location of the project, the activity data, and the subjects. For example, F1S1CE2_D1.mov refers to Folsom Teacher #1, Section #1, Chemical Equilibrium Activity #2, Dyad #1.

First and Second digits identify the school and teacher Third and Fourth digits identify the classroom Fifth and Sixth digits identify the project Seventh digit identify the activity day Last two digits identify the activity

School and Teacher identifiers F1 – Folsom, Teacher 1 F2 – Folsom, Teacher 2 R1, River City, Teacher 1 M1 – McClatchy, Teacher 1 M2 – McClatchy, Teacher 2 B1 – Boone, Teacher 1 BL1 – Blake, Teacher 1 NU – Northwestern University UC – University of California, Davis UM – University of Maryland, College Park

Classroom Identifiers S1 – Section 1 S2 – Section 2 S3 – Section 3 S4 – Section 4 S5 – Section 5 S6 – Section 6

Project Identifiers CD – CONDYN SM (also CE) –SIMS CR – CHEMREPS AS – ASPSS CC – CONNCHEM

Activity Identifier IN – Interview D# - Dyad CL – Classroom

AS – Assessment SU – Survey PS – Psychometric