School information management system documentation

Table of contents

0 School Information Management System Experience Course

0.0 Project remote open method

 

1. Management system design requirements analysis

1.1 Requirements Introduction

1.2 Functional requirements

1.2.1 Student Information Entry

1.2.2 Student Information Query

1.2.3 Rights Management

1.2.4 Add student information verification

 

2. Function introduction

2.1 Administrator module

2.1.1 Login interface

2.1.2 Increase

2.1.3 delete

2.1.4 Check

2.1.5 change

2.2 Student Modules

2.2.1 Login interface

2.3 Teacher Module

2.3.2 Login interface

2.4 Check operation

2.4.1. Verify that the user exists

2.4.2 Validation of Password Conditions

2.4.3 Checking of Name conditions

 

3 Java IO流

3.1 Introduction to Java IO streams

4 GUI operation

4.1 Introduction to GUI

4.2 Operation method

5 Network programming

5.1 Introduction to Network Programming

6 Multi-threaded programming

6.1 Introduction to Multithreaded Programming

7 Summary of Curriculum Design

 

 

0 student information management system experience course

0.0Student management off-site open method

  1. Create a database named mysims

 

 
afad474871004f3b80c7f2bf8098b003.png  

 

 

 

 

 

  1. Import MySQL data

 

 
4757a915d10544e094b4e4eafb2b6dee.png  

 

 

 

  1. Import the jar package and add it as a library
     
    49cca6494e744567afc573d6b71a3c0b.png  

     

 

  1.  
      b84f92efa9ec4459b6f7645cea594c2d.png

    In the ModelImplements file, change the configuration of the database to what you set before

 

  1.  
      8d892ab073f94639914c9d0d81009556.png

    Run LoginRegister to enter the initial page

 

  1.  
      4ded36bd8f744d288bd7a99df7f212d8.png

    Login account, the test is successful

The password is: 111111

 

 
  2c3d1ae405264b8faa56c576a12c561d.png

 

 

 

  1. Management System Design Requirements Analysis

1.1 Requirements Introduction

The system is used to manage students' personal information, including student number, name, gender, age, major, class, etc.

 

1.2 Functional requirements

1.2.1 Student Information Entry

Support the administrator to enter the personal information of the students.

Support editing and deleting of student information.

Support the query function of student information, which can be filtered according to student number, name, class and other conditions.

1.2.2 Student Information Query

Provide a query interface, allowing administrators to query student information based on student ID or name.

Support fuzzy query, you can enter keywords to match.

1.2.3 Rights Management

Define the administrator rights of different roles to ensure that only authorized administrators can enter, query and delete student information.

1.2.4 Add student information verification

The system needs to provide an interface for adding student information, allowing the administrator to enter the student's personal information and save it in the database. The interface includes validation mechanisms to ensure that the information entered is correct.

 

 

2. Function introduction

2.1 Administrator module

 

 
  0c9a1e1a7eb948acb11a07770cc478db.png


2.1.1 Login interface

After logging in, the administrator can view the following information:

ef77222a044d48ec86e44bfb50d588b9.png

 

 

 

2.1.2 Increase

Add student information in administrator mode

 

 
cbfdb98940c04598aec2e6ac98c681bf.png  

 

 

 

 

 

 

add success:

 
6c4889902f2842f4a5dc38c8bae497c0.png  

 


2.1.3 delete

7808fc2dc65a48418519b5cf3abbc119.png

 

2.1.4 Check

The query is realized by rewriting the sql statement and the three methods of removeUpdate(), changedUpdate(), and insertUpdate() of the input box— real-time fuzzy query , and the five entries in the first five columns in the table belong to the query range

Sql statement: "select * from literature where ( student number like ? or name like ? or college like ? or major like ? or grade like ?);"

 

The search operation can be performed through the following information

 
  b1c019127087494d87d3bd29bcfe0de3.png

 

 

 

Search by name shows success

 
  424a42fc7d5b43678430efb4060fdc2f.png

 

 

 

2.1.5 change

 

 
  0c262a96d8b04f589a9e1c570fd8142f.png

 

 

 

x

Successfully modified

89e6a64943644528b88acf588d0eba61.png

 

2.2 Student Modules


2.2.1 Login interface

dcecfe65bf4e4ac1a43482ec463238b2.png

 

2.3 Teacher Module

2.3.2 Login interface

 
  8fb7ecc309ef4682983711a024597c9f.png

 

 

2.4 Verify operation
2.4.1. Verify whether the user exists

8f06a2941ed94d3f804a92f45286818c.png

 

  1. Although the login interface does not prompt the user name format, there are detailed prompts in the subsequent registration interface;
  2. Access the database through jdbc, verify user and password information,
  3. The verification prompt is realized through JTextField. Set the JTextField to be transparent and non-editable, and then set the content of the text box according to the verification condition to realize the error prompt

6822008d70ea497a9778c5612c616f61.png

 

2.4.2 Validation of Password Conditions

Regular expression: ^[a-zA-Z0-9][0-9a-zA-Z._]{5,7}$
Password needs to be a 5~7-digit string consisting of uppercase and lowercase letters and decimal underscores starting with uppercase and lowercase letters or numbers.

 

 

2.4.3 Checking of Name conditions

Regular Expressions: None

The name can be anything, so as long as it is not empty, it can pass the verification

 

2.2.7 Supplementary check conditions for each condition

All conditions cannot be empty. After all verification conditions are met, the registration can be successful, and the corresponding information will be stored in the mysims table in the database. It is also completed through the tool class jdbcUtil. After the registration is completed, it will automatically exit the registration interface.

 

 

3 Java IO流

3.1 Introduction to Java IO streams

Java's IO stream is a tool for processing input and output that helps us read and write data. It provides different types of streams to handle different types of data

data, and can improve performance and handle complex operations by buffering streams and object streams. Using IO streams allows us to process data more easily.

When uploading files to the server and saving from the server to the local, the IO flow is realized

After clicking to view, the information corresponding to the document will be opened through the IO stream

 

4 GUI operation

4.1 Introduction to GUI

GUI is the abbreviation of Graphical User Interface, which means Graphical User Interface. It is a computer operating interface that interacts with the user through graphics, icons, and visual elements. A GUI provides a more intuitive and easy-to-use way for users to interact with a computer system than a command-line interface (CLI).

GUI uses visual elements such as windows, menus, buttons, sliders, text boxes, etc., and operates through input devices such as mouse, keyboard, and touch.

 

 
  a76f0901d91f47d99d40e2d0e9e434e4.png


4.2 Operation method

 

5 Network programming

5.1 Introduction to Network Programming

Network programming is a technique of writing programs to enable data transmission and communication over a computer network. It involves the process of creating connections, sending and receiving data, and connecting multiple computers or devices together over a network.

Operations of network programming may include establishment of connection, transmission of data, error handling and disconnection of connection, etc. Programming languages ​​provide a series of APIs or libraries to support network programming.

Network programming can be done based on different protocols like TCP (Transmission Control Protocol) and UDP (User Datagram Protocol).

 

6 Multi-threaded programming

6.1 Introduction to Multithreaded Programming

Multithreaded programming refers to the technique of running multiple threads simultaneously in a program. A thread is an independent execution flow in a program. Each thread can perform tasks independently and has its own instruction sequence, stack, and program counter. Multi-threaded programming makes full use of the computing power of multi-core processors, and can execute multiple tasks concurrently, improving the responsiveness and throughput of the program.

Common programming languages ​​provide support for multithreaded programming, such as Java's Thread class and Runnable interface. It can be combined with appropriate synchronization mechanism to improve the concurrency and efficiency of the program.

 

 

7 Summary of Curriculum Design

During this course design, I completed the course design with the help of CSDN, Baidu, ChatGPT, Bilibili and GitHub, so my biggest gain is to master the ability to solve problems through network queries.

Through this course design, I have been exposed to a lot of new knowledge, and I am deeply aware of my weakness. There is no limit to the sea of ​​learning. In the future study, I will take it seriously and strive to improve my personal ability.

 

 

Guess you like

Origin blog.csdn.net/m0_73879806/article/details/132369187