Design and Realization of Graduation Thesis Management System Based on ASP.NET

Abstract: The graduation thesis management system is a typical MIS information management system. Its development mainly includes the establishment and maintenance of the background database and the development of the front-end application program. For the former, it is required to establish a library with strong data consistency and integrity and good data security. For the latter, the application program is required to be fully functional and easy to use. This system follows the software engineering methodology and completes the requirements analysis, functional module division, and database schema analysis of the graduation thesis management system, and then designs the database structure and application program. The design makes full use of ASP.NET technology in Visual Studio 2005 and the powerful force of MS SQL Server2005 database technology, which improves programming efficiency and reliability. This system is a graduation thesis management system based on B/S. The system mainly includes: administrator module, teacher module and student module. The system has perfect functions, simple interface, simple operation and strong robustness.

Keywords: graduation thesis management system, database, Visual Studio 2005, C#

Design and Realization of Graduation Thesis Management System

1 Introduction

1.1 Development background of graduation thesis management system

Since the birth of the first computer, with half a century of rapid development, people have seen a bright prospect of the information age. Today, computers have penetrated into every field of society, promoting the development of science and technology, social economy, and modern management. Computers have been popularized from large-scale, high-speed, to the present miniaturization, and have entered thousands of households. One of the most notable features now is that computers have developed into an important part of management work and become the main tool for information processing. The outstanding advantages of computers used in management information processing are fast, accurate, reliable, and huge storage capacity, which overcomes the limitations of manual processing of information, such as heavy workload, slow speed, and high error rate.
With the popularization of the Internet, the campus network of colleges and universities across the country is becoming more and more perfect, and the realization of paperless office has become a future trend. With the continuous deepening of the teaching system reform of Qiqihar University, this system establishes a system for online topic selection to provide interfaces for teachers and students participating in graduation projects. In order to make the application, review, topic selection, and performance assessment of the graduation project easier to manage, this system uses Microsoft's excellent website development technology ASP and web design software Frontgage2000 as the development tool of the system, and is connected with the Access database. This article first introduces the general management system of graduation design, introduces the purpose, composition and function of the system, and aims to understand the system as a whole. In the following chapters, the development process and three stages of system analysis, system design, and system implementation are described, and the program list of tables, frames, pages, and main pages is attached to better understand the system.
Human society has changed from industrialization to informationization, and information has become an important resource in modern society. Computers can not only perform data processing, but also become a powerful tool to assist strategy. With the development of the Internet and Web technology, and the advantages of the Internet such as cross-platform and low cost, the IT departments of enterprises and institutions have realized the advantages of the Internet. Most of the traditional network application systems are built on the basis of fully closed or semi-closed systems. The client programs of these C/S-based application systems are developed using common development software such as Power Builder, Visual Basic or Delphi. The application programs developed by this method are limited to a specific network structure, network protocol, and specific system platform. The scalability and portability of the system are relatively weak, and maintenance and upgrades are difficult. and
The WEB-based information service model provides an excellent integrated framework for constructing Internet applications. It uses a variety of standard protocols and technologies, and is not limited to any hardware platform and software environment. This WEB-based application system uses a ready-made universal browser as a unified client user interface. It is easy to use, and the application program is installed in the background server. With the development of the Internet today, it can be said that it has swept the world and become a big hit. What is it that makes the Internet so attractive? In this ever-changing society, businesses, enterprises and individuals continue to jointly explore better, faster and more convenient methods of information. The Internet just has such characteristics, and it can provide rich information resources. The WEB website is a way to share information with other people in the office or in the world. It makes information available to browsers in the form of web pages or documents, and software access sites develop rapidly due to WEB technology. People's requirements for web pages are no longer limited to simple, static WEB pages, but an "active" page that controls WEB page information according to user requirements. The so-called WEB is interactive, mainly manifested in the fact that users can send information or commands to the WEB site, thereby controlling the application program running on the WEB server, and the server responds to the user's operation according to the corresponding command. Driven by this demand, Microsoft launched "Active Server Pages" (ASP, Active Server Page). This design also uses ASP technology.

Graduation design is the last teaching link of students in school, an important process of deepening and improving learning, and an important link of comprehensively testing the theoretical knowledge learned. This article explains that this design is managed from the application of the project, the review of the project, and the topic selection of the students. It realizes the online two-way selection of the students' independent topic selection and the teacher's independent selection of students, and at the same time monitors the difficulty and workload of the graduation project topics. This system realizes two-way selection on the Internet, strictly controls the graduation design process, and has very important practical significance for ensuring the quality of graduation design.
(The significance of computer information management, the importance of graduation design work in colleges and universities, the management characteristics of graduation design work in colleges and universities, the shortcomings of traditional manual management, the significance of using the graduation thesis management system for graduation design work management)

1.2 Significance of the development of graduation thesis management system

Graduation thesis occupies a very important position in the talent training plan of colleges and universities. It is a comprehensive test of students' four-year learning achievements, innovation ability and comprehensive quality, and it is also a comprehensive test of teachers' four-year teaching quality. Therefore,
graduation thesis is an important part of undergraduate teaching in colleges and universities, and it is an important way to comprehensively examine students' knowledge and ability and standardize writing. Graduation thesis occupies a very important position in the talent training plan of colleges and universities. It is a
comprehensive test of students' four-year learning achievements, innovation ability and comprehensive quality, and it is also a comprehensive test of teachers' four-year teaching quality. Therefore, graduation thesis management has become an important task in colleges and universities.
The traditional guidance of graduation thesis is peer-to-peer communication between teachers and students. There is no suitable communication platform. The entire process from topic setting to topic selection to the completion of graduation projects requires a lot of energy from teaching administrators, teachers, and students. There is a lack of electronic and networked office, and the information communication between teachers and students is not smooth. The electronic version of thesis still needs to be submitted through e-mail. .
In view of the above problems, this design intends to implement a general graduation thesis management system, realize the scientific and informatization of graduation thesis management, make all aspects of teaching work in a "visual" controllable state, find problems in time, and improve the quality of graduation thesis. Make the communication between teachers and students more convenient and faster.

1.3 Paper structure

The introduction part briefly introduces the development of the database application system and the graduation thesis management system, and analyzes the work that should be done to develop the graduation thesis management system. The second chapter introduces the ASP.net programming basis in the development tool Visual Studio, and systematically introduces the key technologies of database programming such as its database components and the application of SQL language in ASP.net. The third chapter analyzes the requirements and functions of the system, determines the system goals, and completes the function analysis diagram. The fourth chapter analyzes and designs the database of the graduation thesis management system. According to the data flow chart of the graduation thesis management system, 20 tables such as the administrator's basic information table (admin) are designed, and the database is established by using MS SQL Server2005. The fifth chapter carries out the specific program design, and the design specifically divides the operation authority of two types of users. The system realizes the browsing, addition, deletion and modification of student information, teacher information and announcements, messages, generation and review of topics, and data export and other functions. The system realizes the connection operation of multiple database tables, realizes different conditional query and fuzzy query. Finally, functions such as data backup, restoration, and old data cleaning are realized. The sixth chapter is to thank the instructors who have helped me in this graduation design practice. Chapter 7 lists the books referenced to complete the system. (Revised)
Chapter 1
Chapter 2

2. Application system development tools (concise and short language)

2.1 Overview of Visual Studio 2005
Visual Studio .NET 2005 is the latest version of Microsoft's second-generation development tool Visual Studio .NET, which is used to quickly build and deploy powerful and secure .NET applications. Visual Studio .NET 2005 further improves and enhances the functions of Visual Studio .NET 2003. The new IDE environment is more efficient, more user-friendly, and highly compatible with the old version of the product.
Visual Studio .NET 2005 is a complete set of development tools for producing ASP.NET Web applications, XML Web Services, desktop applications, and mobile applications. Visual Basic, Visual C++, and Visual J# all use the same integrated development environment (IDE), which can share tools and facilitate the creation of solutions using mixed languages. Additionally, these languages ​​take advantage of the capabilities of the .NET Framework, which provides access to key technologies that simplify the development of ASP Web applications and XML Web Services.

2.2Asp.net overview

ASP is the abbreviation of Active Server Page, which means "dynamic server page". It is an application developed by Microsoft to replace the CGI script program. It can interact with databases and other programs. The format of the ASP web page file is .asp, which is now commonly used in various dynamic websites.
ASP.NET is not just the next version of Active Server Pages (ASP), but a programming framework built on a common language that can be used in a Web server to build powerful Web applications. ASP.NET offers many powerful advantages over today's Web development paradigm. ASP.NET is provided as part of the .NET Framework. When writing ASP.NET application code, you can access the classes in the .NET Framework. You can use any language compatible with the common language runtime (CLR) to write application code. These languages ​​include Microsoft Visual Basic, C#, Jscript.NET, and J#. Using these languages, you can develop ASP.NET applications that take advantage of the common language runtime, type safety, inheritance, and more.
There are mainly two development languages ​​commonly used in ASP.NET, VB.NET and C#, and C# is relatively more commonly used because it is a unique language of .NET. The ASP.net framework can be developed with the latest Microsoft (R) product Visual Studio.net development environment, WYSIWYG (What You See Is What You Get) editor. These are just a few of ASP.net's powerful software support.

2.3 Overview of MS SQL Server

SQL Server is a relational database management system. SQL Server 2005 is a comprehensive database platform that provides enterprise-class data management using integrated business intelligence (BI) tools. The SQL Server 2005 database engine provides a more secure and reliable storage function for relational data and structured data, enabling you to build and manage high-availability and high-performance data applications for business.
  
3. System analysis

3.1 System design

Through the actual investigation of the thesis management field and the collection of relevant information on the Internet, I have a full understanding of the operation of the graduation thesis management. Finally, combined with the suggestions put forward by the instructor, I determined the goal of the entire system.
The preliminary design of this B/S-based graduation thesis management system is mainly aimed at opening, reviewing, and selecting topics for graduation thesis, so it can meet the different needs of different users of students and teachers, and of course it must be convenient for administrators to manage all aspects of information. Therefore, the system includes three modules: user module and administrator module, and user module includes two sub-modules: student module and teacher module. The graduation thesis management system website has the functions of opening questions, reviewing questions, selecting topics, information browsing, leaving messages, etc., and administrators can perform different operations such as inserting, deleting, modifying, and querying these data information. (hopefully more fluent)

3.2 System requirements analysis (the description method is not like requirements analysis)

The home education information management system is mainly aimed at the operation of graduation thesis opening, review, and topic selection, as well as the administrator's management of website information. So there should be the following requirements: .
1. Login It
includes user login and administrator login. When the user logs in, choose teacher or student to log in, and only need to enter the user number and password to log in. The administrator logs in to enter the background management page to manage the information.
2. Information query and browsing
After logging in, the user can enter the student module or teacher module to query and browse the user's own paper information.
3. Information viewing and modification
Students can modify their own passwords to view relevant information about their selected thesis. Teachers can open questions, download papers uploaded by students, and grade students' graduation thesis.
4. Browsing of bulletin information
Users can browse the bulletin information published by the website.
7. Leave a message
Students can leave a message to the teacher, and the teacher can reply here. Administrators can manage these messages.

3.3 System function analysis
3.3.1 Function analysis diagram

The system function analysis diagram can reflect the hierarchical relationship between the system function modules, and is an important part of the system development. It can reflect the user's functional requirements for the system. Figure 1 is a system function analysis diagram:

Operation flow chart of graduation thesis management system

System Structure Hierarchy Diagram

System Functional Structure Diagram
3.3.2 Functional Analysis

1. Design of the student module
●Student login
When a student logs in, select the identity student, enter the user number and password to log in, and perform authority operations for all students ●Student
personal information viewing and modification
After successful login, students can enter the personal information page to modify the login password, and can also modify their selected papers. They can also quickly match their personal information with suitable students ●Subject selection After logging in, students can choose their own topics, which are divided into first choice and second
choice
. And after the operation is completed, you can check whether the topic you selected is correct.
●Document submission
After completing some tasks, students can submit their own documents, which is convenient for the teacher to check and accept.
●Leave a message
You can browse all the messages on the message board, leave a message to put forward your own opinions or suggestions, or ask your own questions and wait for the teacher’s reply
●Log out Log
out of the website

2. Design of the teacher module
●Teacher login
When the teacher logs in, select the identity teacher, enter the user number and password to log in, and perform the authority operation of the teacher used ●Announcement
information view
After the teacher successfully logs in, he can enter the personal information page to view announcements, graduation design work regulations, and check previous projects and other information.
Topic application
Teachers can apply for their own topics and make relevant requirements for the topics.
●Determining students
The teacher can confirm the students who have chosen the subject of this teacher.
●Document download and evaluation
Teachers can download the documents uploaded by students for review, as the basis for scoring.
●Evaluation of grades
Evaluate students' grades.
●Leave a message
You can browse all the messages on the message board, and you can leave a message to put forward your own opinions or suggestions, or ask your own questions, and communicate with students.
●Log out
Log out of the website

3. Design of the administrator module
●Administrator login Log
in through the user number and password to enter the administrator status
●User management
Can delete, modify, and add registered users,
●Information management
Release school-related work information in a timely manner.
●Message board management
Delete expired user messages, and reply to some user messages that need to be replied
●Log out Log
out of the website

4. System design? ? ?

5. Database Design and Structure Creation
5.1 Database Design Process
5.1.1 Database Requirements Analysis

Database requirement analysis is the most important part of system function division and system design. According to the system data flow chart, nine main database tables can be obtained: admin (administrator information table), Gstudent (student information table), Gteacher (teacher information table), Chengji (student graduation thesis grade table), liuyan (message information table), notice (announcement information table), jieguo (topic selection table), Upload (upload document table), optime (select topic timetable).

5.1.2 Relationship diagram between database tables

5.2 Creation of database structure

1. Data table index

Table Name System Name
Administrator Information Table admin
Student Information Table Gstudent
Teacher Information Table Gteacher
Student Graduation Thesis Grade Table Chengji
Message Information Table liuyan
Announcement Information Table notice
Topic Selection Table jieguo
Upload Documents Table Upload
Select Topic Timetable optime

2. Table
(1) administrator information table (admin)
table admin is used to save the administrator account and password

Whether the field name data type is a primary key description
AID Int (4) is the administrator table identifier, self-increasing
aname Varchar(50) No administrator login user name
apassword Varchar(50) no administrator login password

(2) Student Information Form (Gstudent)
Form Gstudent is used to save the personal information of students

Field Name Data Type Is Primary Key Description
SID Int (4) Yes Student Table ID
sname Varchar(50) No Student Name
Password Varchar(100) No Student Password
Class Varchar(100) No Student Class
Tel Decimal(18.0) No Student Contact Phone
Email Varchar(100) No Student Email
Age Int No Student Age
Sex nchar(10) No Student Gender

(3) Teacher information table (Gteacher)
Table Gteacher is used to save the basic information of teachers

Field Name Data Type Is Primary Key Description
TID Int (4) Yes Teacher Table ID
tname Varchar(50) No Teacher Name
tpassword Varchar(100) No Teacher Password
tel decimal(18.0) No Teacher Contact Phone
Email Varchar(100) No Teacher Email

(4) Student grade table (chengji)
table chengji is used to publish the grades of students' graduation thesis.

Field Name Data Type Is Primary Key Description
SID Int (4) Yes Grade Table Identification
sname Varchar(50) No Student Name
kname Varchar(50) No Subject Name
score1 int No Initial Evaluation
Score2 int No Cross Review
Score3 int No Response
Score4 int No General Evaluation

(5) Subject selection table (jieguo)
table jieguo is used to store administrator information

Whether the field name data type is a primary key description
KID Int(4) No subject table identifier
TID Int(4) no teacher table identifier
SID Int(4) is a student identifier, self-incrementing
kname Varchar (50) No subject name
request Varchar (MAX) No subject request
tname1 Varchar (50) No first instructor
tname2 Varchar (50) no second instructor tname3
Varchar (50) no third instructor
sname Var char(50) no student name

(6) Message information table (liuyan)
table message table to save message information
field name data type is primary key description
num Int (4) is message table identifier, self-increasing
SID Int (4) no student table identifier
TID Int (4) no teacher table identifier
sname Varchar(50) no student name tname
Varchar(50) no teacher name
kname Varchar(50) no subject name
tlog text no teacher message
time1 datetime no teacher Message time
slog text No student message
time2 datetime no student message time

(7) News notice information table (notice)
The notice saves the news notices released by the administrator.
Whether the field name data type is a primary key or not.
nid Int is the news notice information table identifier, self-increasing
ntitle Int no notice title
notice Varchar(5) no notice content
time Varchar(50) no release time

(8) Upload document information table (Upload)
table Uploadr is used to save the uploaded document information.
Whether the field name data type is the primary key description
gid uniqeuidentifier is the identifier, self-growth
type varchar(50) No upload document type length
int No document length
title varchar(50) No upload document title
data image No upload data
SID int No student table identifier
sname varchar(50) no student name
kname varchar(50) No subject name
uptime datetime no upload time

(9) Topic selection timetable (optime)
table optime saves the timetable for students to choose topics.
Field name data type is primary key description
optime Varchar(50) No topic opening time
optime1 Varchar(50) No first choice topic selection time
optime2 Varchar(50) No second choice topic selection time
6. System implementation

6.1 Flow chart of graduation thesis management system

This graduation thesis management system is an online version of the graduation thesis management system website based on B/S. The operation flow chart of the graduation thesis management system is as follows: (repeated with the previous one)

Operation flow chart of graduation thesis management system

6.2 Realization of Homepage

On the home page of the website, users can log in after entering, and users can choose according to their identities

Code implementation:
public partial class bylogin : System.Web.UI.Page
{ protected void Page_Load(object sender, EventArgs e) {

}
protected void Button1_Click(object sender, EventArgs e)
{
    if (s.Checked == false && t.Checked == false && a.Checked == false)
    {
        Response.Write("请选择您的角色");
    }
    if (s.Checked == true)
    {
       
        string strconn1 = Convert.ToString(ConfigurationManager.ConnectionStrings["sqlconn"]);
        SqlConnection conn1 = new SqlConnection(strconn1);

        conn1.Open();
        string sql = @"select * from Gstudent where SID='" + TextBox1.Text + "'and spassword='" + TextBox2.Text + "'";
        SqlCommand strcom = new SqlCommand(sql, conn1);
        SqlDataReader read = strcom.ExecuteReader();
        if (read.Read())
        {
            Session["sid"] = read[0];
            Session["sname"] = read["sname"];
            Session["spass"] = read["spassword"];
            TextBox1.Text = Session["sid"].ToString();
            TextBox2.Text = Session["spass"].ToString();
            Response.Write("登入成功!");
            Response.Redirect("student/Default.aspx");
        }
        else
        {
            Response.Write("此系统只对毕业生和老师开放!");
            s.Checked = false;
            return;
        }
        conn1.Close();
    }
    if (t.Checked == true)
    {
        string strconn2 = Convert.ToString(ConfigurationManager.ConnectionStrings["sqlconn"]);
        SqlConnection conn2 = new SqlConnection(strconn2);
        conn2.Open();
        string sql = @"select * from Gteacher where TID='" + TextBox1.Text + "'and tpassword='" + TextBox2.Text + "'";
        SqlCommand strcom = new SqlCommand(sql, conn2);
        SqlDataReader read = strcom.ExecuteReader();
        if (read.Read())
        {
            
            Session["tid"] = read[0];
            Session["tname"] = read["tname"];
            Session["tpass"] = read["tpassword"];
            TextBox1.Text = Session["tid"].ToString();
            TextBox2.Text = Session["tpass"].ToString();
            Response.Write("登入成功!");
            Response.Redirect("teacher/xinwen.aspx");
        }
        else
        {
            Response.Write("用户名或密码错误!");
            t.Checked = false;
            return;
        }
        conn2.Close();
    }
    if (a.Checked == true)
    {
        string strconn3 = Convert.ToString(ConfigurationManager.ConnectionStrings["sqlconn"]);
        SqlConnection conn3 = new SqlConnection(strconn3);
        conn3.Open();
        string sql = @"select * from admin where AID='" + TextBox1.Text + "'and apassword='" + TextBox2.Text + "'";
        SqlCommand strcom = new SqlCommand(sql, conn3);
        SqlDataReader read = strcom.ExecuteReader();
        if (read.Read()
        {
            Session["aid"] = read[0];
            Session["aname"] = read["aname"];
            Session["apass"] = read["apassword"];
            TextBox1.Text = Session["aid"].ToString();
            TextBox2.Text = Session["apass"].ToString();
            Response.Write("登入成功!");
            Response.Redirect("administration/xinwenfabu1.aspx");
        }
        else
        {
            Response.Write("用户名或密码错误!");
            a.Checked = false;
            return;
        }
        conn3.Close();
    }
}
protected void Button2_Click(object sender, EventArgs e)
{
    TextBox1.Text = " ";
    TextBox2.Text = " ";
    s.Checked = false;
    t.Checked = false;
    a.Checked = false;
}

}

6.3 Realization of user function modules
6.3.1 Realization of student interface

The student main interface includes functions such as password modification, topic selection, document submission, result query, and message viewing.

Student Features Page

6.3.2 Realization of the teacher interface
The teacher interface includes the functions of viewing news announcements, graduation project work regulations, previous projects, project application, determining graduate students, paper download and evaluation, etc.

Teacher Features Page

6.3.3 Realization of administrator functions
The functions of the administrator interface include publishing announcements, importing student lists, last work regulations, subject review, adding teachers and subjects, importing previous subjects, time setting, topic selection results, student grades, etc.

6.4 Design and implementation of data management functions (????)

7. Test
In view of the fact that this software is mainly used for the comprehensive management of graduation projects (mainly computer majors), in order to ensure the authenticity and effectiveness of the system test, the original data uses the subject of this accounting major, and the student data is mainly some students of class 1 of the accounting department. One machine in the dormitory is set up as the server side, and the other machine is the client side. After repeated tests,
after entering a set of data for database access and reading error rate tests, the data includes student login and teacher login information. There was a mismatch of fields and record values. After careful inspection, it was because of the wrong input of the field type that the so-called problem occurred. After modification, the problem is solved.
The test and analysis results are as follows:
1. The execution time of student login is less than 5 seconds, and the information entered is stored in the database accurately.
The test passes.
2. The execution time of teacher login is less than 5 seconds, and the entered information is stored in the database accurately.
The test passes.
  3. During system maintenance, query, delete, backup, and time also meet the specification requirements.

8. Conclusion and experience
This graduation project was completed by myself alone, and I encountered many problems in the middle, because I have never learned C# before, so I found it very difficult at the beginning, but with the help of my classmates and after searching some information, I gradually gained confidence. Of course, this graduation project is not perfect, but it is my painstaking effort for more than two months, and I feel very good. The biggest gain this time is that before building a system, we must figure out the various functions of the system, the database, and the relationship between tables, so that we don’t have to panic when programming code. (Description using written language, technical terminology)

9. Acknowledgments
I would like to thank the students in our dormitory for helping me solve problems very patiently when I encountered problems. I would also like to thank the teacher who guided us. The teacher made detailed revisions and guidance to my opening report, allowing me to have a general direction in the subsequent program design.

10. References

[7] Liu Dawei: SQL Server Database Case Navigation, Tsinghua University Press, 2005. [8] Zhang Xinyan: SQL Server 2000 Programming Tutorial, Science Press, 2004. [9] Andrew Brutus: MICROSOFT SQL SERVER 2005 Programming, World Book Publishing Company, 2007. [10] Zhang Haifan: Introduction to Software Engineering, Tsinghua University Press, 2007. [11] Wang Shan: Introduction to Databases (Fourth Edition), Higher Education Press, 2006. [12] Edited by Wangguan Technology: "100 Cases of ASP.NET Basic Training", Machinery Industry Press, 2006










Guess you like

Origin blog.csdn.net/ambiguous__/article/details/130776636