Python university student file management system
Summary
With the advent of the Internet trend, all walks of life are considering using the Internet to promote themselves. The best way is to establish their own Internet system and maintain and manage it. In practical application, the working rules and development steps of the application software are used to build a university student file management system using the Django framework.
This design mainly realizes the university student file management system which integrates the advantages of humanization, high efficiency, and convenience, and completes functional modules such as subject classification management, student file management, student achievement management, and announcement information management. The system communicates with the server through the browser to realize data interaction and change. Just use a computer and move your fingers to operate the system and realize data communication management. The design process of the whole system has fully considered the security, stability and reliability of data, and the operation process is simple. The system improves work efficiency and reduces errors and omissions in data storage through scientific management methods and convenient services. The technologies involved in the front-end interface of the college student file management system mainly include Django, HTML, jQuery, etc. Through these technologies, the beauty and dynamic effects of the front-end page can be realized to make it conform to the aesthetics of the general public. The main technology used in the background is Python The programming language, MySQL database, and Ajax asynchronous interaction realize all the functions of this system.
Keywords: student file management; Django framework; relational database
Python college student file management system
Abstract
With the advent of the Internet trend, all walks of life are considering using the Internet to promote themselves. The best way is to establish their own Internet system and maintain and manage it. In practical application, according to the working rules and development steps of the application software, the Django framework is used to build the college student file management system.
This design mainly realizes the college student file management system with the advantages of humanization, high efficiency and convenience, and completes the functional modules such as subject classification management, student file management, student achievement management, announcement information management and so on. The system communicates with the server through the browser to realize the interaction and change of data. You can operate the system and realize data communication management by moving your fingers through a computer. The safety, stability and reliability of data are fully considered in the design process of the whole system, and the operation process is simple. Through scientific management and convenient service, the system improves work efficiency and reduces errors and omissions in data storage. The front-end interface of college student file management system mainly involves Django, HTML, jQuery and so on. Through these technologies, the beauty and dynamic effect of the front-end page can be realized to make it conform to the aesthetics of the masses. The main technologies used in the background mainly include python programming language, MySQL database and ajax asynchronous interaction, which realize all the functions of the system。
Key words:Student file management; Django framework; Relational database
Table of contents
1.1 Research background and significance
1.3 Organizational structure of this paper
Chapter 2 Introduction to Related Technologies
2.3 Python programming language
2.5 Django architecture design
3.1.1 Technical Feasibility Analysis
3.1.2 Economic Feasibility Analysis
3.1.3 Operation Feasibility Analysis
3.2 Analysis of Functional Requirements
3.3 Analysis of non-functional requirements
4.1 System architecture design
Chapter 5 System Implementation
5.1 Implementation of login module
5.2 Realization of user subsystem module
5.3 Implementation of the administrator subsystem module
5.3.1 Student Management Module
5.3.3 Student performance management module
5.3.4 Student file management module
With the advent of the Internet trend, all walks of life are considering using the Internet to promote themselves. The best way is to establish their own Internet system and maintain and manage it. In actual application, the working rules and development steps of the application software are used to build a supply and demand information website using the Python language Django framework mysql database.
Actual meaning:
In the 21st century, the trend of global information electronicization is unstoppable. Computers have penetrated into all fields of social life, and its wide application has brought profound changes to economic and social life. Information technology has not only changed people's work and lifestyle, but also changed the way of education and learning. my country's education industry is booming, the enrollment rate is generally increasing, and the scale of various colleges and universities is constantly expanding, which puts forward higher requirements for the efficiency and standardization of student file management. As an important part of school management work-student file management, the amount of information involved is huge and the data is cumbersome. You can imagine how complicated and cumbersome it is to operate these data manually. Therefore, automated college student file management The system came into being.
However, the workload of student file management is very large. In order to ensure the smooth progress of student file management and improve management methods, it is necessary to develop a student file management system that is suitable for the actual situation of colleges and universities and can solve practical problems. In a timely and accurate manner, it provides management personnel with student file information and student performance information function modules, and provides management functions such as standardization, query, and modification.
In order to provide a more efficient and practical management method for the management of student files in colleges and universities, and provide a faster and safer information platform for the storage and management of student files. And it can reduce a lot of manual operations, as well as data errors caused by human factors in manual operations, to ensure the security and integrity of student information and data, so that student management personnel can easily and correctly complete various tasks, combined with their own technical level.
-
- Research status
With the continuous development of foreign economies, the expansion of the scale of colleges and universities, the number of students has also doubled, and the model of student file management has also undergone changes. With the continuous development of computer science and technology, the file management system has played a role in various fields. play an increasingly important role.
With the development of my country's higher education, under the background of informatization and digitization, domestic colleges and universities urgently need to improve the quality and efficiency of education work, digital campus will become an inevitable trend, and gradually mature. The management of student files is an important part of the management of college students. Many colleges and universities have developed a college student file management system according to the scale and characteristics of their own schools, which frees managers from the complicated daily routine work and improves the quality of life. Work efficiency, realize the information sharing.
The first chapter is the introduction, the beginning of this article, some textual descriptions of the research background and research significance of this topic.
The second chapter studies the development technology and development tools used in the university student file management system.
The third chapter is the system analysis part, including the description of the overall requirements of the system, the analysis of system requirements from a functional point of view, and the non-functional analysis of whether the system can be realized.
The fourth chapter is the system design part, an important part of this article, which provides the detailed design of the system architecture and the design description of some main functional modules.
The fifth chapter is the specific realization of the system, introducing the specific realization of each module of the system.
The sixth chapter tests and runs the system on the basis of the previous chapters.
Finally, the system is seriously summarized, so as to have a new prospect for the future.
PyCharm is the most popular IDE for the Python scripting language.
1. Each file has its output window.
2. You can terminate the process (as long as you click the button).
3. Various reminders are super strong: ①Useless variables will turn gray in color ②Wrongly used variables will have red wavy lines under them ③Writing reminders (sublime also has but weaker).
4. The index function is super powerful.
Now the MySQL database can support many users on the network, and it can also adapt to the deployment or configuration of customer service machines and servers. Our server and client machines here are actually a software concept, and the computer hardware we use is also There is no one-to-one correspondence with them.
MySQL is a very popular relational database management system, and its appearance has always been a leader. It is not only very powerful, but also very convenient to use, and MySQL's cross-platform capabilities are also very good. Software developers like it very much of these powerful advantages. Different from other relational databases, it has its own set of solutions for database management, and manages the database by setting corresponding permissions and roles for users. It can be seen that MySQL is a database management software suitable for high throughput, high reliability and high efficiency.
Advantage 1: In MySQL, users with different identities are set with different permissions to complete different business logics, which makes MySQL far exceed other relational databases in terms of security and integrity.
Advantage 2: MySQL can also support the data types of animation, graphics and sound, which shows that MySQL can also support multiple data types.
Advantage 3: MySQL can also be developed on multiple platforms, and various programming languages for software development can realize the operation of MySQL database.
Python is a development language that can perform computer language in a literal way, and can be object-oriented programming. It was developed by Guido van Rossum in the late 1880s and released for use in 1991. Python has many features, such as concise syntax, clear statements, and rich class libraries. Due to these advantages, it can be combined with other languages very quickly to realize various functional modules. Many people have nicknamed it the "sticky glue" language. Using Python to quickly generate a prototype of a program is a method used by many programmers today. If there are special requirements, it is also very convenient to modify.
Moreover, PyQt has dual certificates, which guarantees that it can run across platforms (such as UNIX, Microsoft and Apple platforms).
Before using the Python language, it is necessary to install the platform. Users need to download different versions according to different platforms, and then configure the environment variables to start running.
Python features:
1. Compared with other computer languages, it is easier to learn: Python has fewer keywords, relatively simple structure, and simple grammar, which is easier for those who are just learning programming languages.
2. It is relatively easy to read: Python code structure is concise and clear, and the definition looks very clear, so it is easier to read.
3. Easy to maintain: Python is easy to maintain.
4. The standard library is particularly extensive: the biggest advantage of Python is that it has a lot of libraries, and it is cross-platform, and it has good compatibility with the system, for example, it can be compatible on UNIX, Windows and Macintosh systems.
5. Convenient interactive mode: With the support of interactive mode, developers can see the results from the code, so that developers can test and debug the program more conveniently.
6. Good portability: Python can run across platforms.
7. The scalability is very good: if there is a key code, you can write it in a special language, and you can also debug and run it in the system.
-
- Django framework
Django is an open source web framework written in Python with complete website capabilities. Using Django, with very little code, Python program developers can easily complete most of the content required by a formal website, and further develop a full-featured Web service.
Django itself is based on the MVC model, that is, the Model (model) + View (view) + Controller (controller) design pattern, so it naturally has the excellent genes of MVC: fast development, easy deployment, high reusability, low maintenance cost, etc. Python plus Django is the best combination for rapid development, design, and deployment of websites.
-
- Django architecture design
Django has become the framework of choice for web developers and is a framework that follows the MVC design pattern. MVC is an abbreviation of the three words Model, View, and Controller, which represent model, view, and controller respectively. Django is actually an MTV design pattern. MTV is an abbreviation of the three words Model, Template, and View, which represent model, template, and view respectively. But in Django, the part where the controller accepts user input is handled by the framework itself, so Django pays more attention to the model (Model), template (Template) and view (Views), which is called MTV mode. Their respective responsibilities are as follows:
level |
responsibility |
Model (Model), the data access layer |
Handle all matters related to data: how to access, how to verify validity, which behaviors are included, and the relationship between data, etc. |
Template (Template), the presentation layer |
Handles presentation-related decisions: how to display on a page or other type of document. |
View (View), the business logic layer |
The logic associated with accessing the model and calling the appropriate template. Model and template bridge. |
It can be seen from the above statement that the Django view does not process user input, but only decides which data to display to the user, while the Django template only decides how to display the data specified by the Django view. In other words, Django further decomposes the view in MVC into two parts: Django view and Django template, and decides "what data to display" and "how to display" respectively, so that Django's template can be replaced at any time as needed, not limited to built-in template.
As for the MVC controller part, it is implemented by the URLconf of the Django framework. The URLconf mechanism is to use regular expressions to match URLs and then call the appropriate Python function. URLconf has no restrictions on URL rules, and you can design any URL style, whether it is traditional, RESTful, or alternative. The framework encapsulates the control layer, nothing more than interacting with data. This layer is the operation of reading, writing, deleting, and updating database tables. When writing a program, you only need to call the corresponding method, which feels very convenient. The programmer handed over the control layer to Django for automatic completion. Do a lot with very little code. Therefore, it is a step deeper than the considerations of the MVC framework, because most of our programmers are writing control layer programs. This work is handed over to the framework, and only a small amount of calling code needs to be written, which greatly improves work efficiency.
This design is based on the B/S mode, using the current mainstream Django framework to build the main framework of the system. The overall feasibility is divided into the following three aspects.
The so-called technical feasibility refers to whether the functions planned in the early stage can be satisfied within a limited time. Whether there will be problems that cannot be solved in the development and design. Whether the completed project can be well applied, if there are shortcomings, whether there is great difficulty in later maintenance. After evaluating the system, it was determined that existing technology could achieve the goals.
Most of the tools used in the project are currently popular open source and free, so in the early stage of development, the funds used for the project will be greatly reduced, and the development of the software will not be affected by the funds during the project start-up period, so It is still economically feasible. Try to use the least cost to meet the needs of users. Save funds for labor costs and equipment costs. It will go further and further on the road of paperless and high efficiency.
The operation of this system to realize the function is very simple. The common configuration of ordinary computers can run this software, and as long as you have a rough understanding of the basic common sense of computer use, you can use this software smoothly. The computer has the ability to connect to the Internet and can access the system normally. It does not require the operator to have any superb ability. It only needs to understand the business process and operate correctly according to professional knowledge. Therefore, the college student file management system is feasible. .
Before system development and design, you should make a preliminary idea of the functions, know what sections the management system has, what functions each section has, whether the overall design meets the needs of users, and then conduct a detailed analysis and summary of the developed system functions , so as to design a complete system and implement it. Communication analysis of users and developers to achieve the best understanding and make the system function to the best.
The student use case diagram is shown below.
Figure 3-1 Student use case diagram
The administrator use case diagram is shown below.
Figure 3-2 Administrator use case diagram
The teacher use case diagram is shown below.
Figure 3-3 Teacher use case diagram
After analyzing the requirements of the university student file management system, the whole system is mainly divided into two parts: administrators and ordinary users (teachers, students), and the branch functions under each module are different. Describe the function as follows:
Student Module:
Account login authentication.
Manage profile information, modify modifiable information items.
Student profile, and view personal profile information at the same time.
Achievement information, and view personal achievement information at the same time.
Announcement information, and view the latest announcement information of the system at the same time.
Admin module:
Maintain students, review student accounts, freeze student login permissions, or delete student accounts.
Student information management, and can destroy a certain student information, update student information data, fuzzy search student information data, etc.
Student file information management, and can destroy a certain file information, update file information data, fuzzy search file information data, etc.
Student performance management, maintenance and management of student performance information.
Subject classification management: classify and manage subject information.
There are many non-functional requirements of the system, such as performance requirements, maximum number of users that can be carried, stability, and usability requirements. The analysis of this system takes into account the requirement of ease of use, because the system is used by people, so it is necessary to fully consider the user experience from the user's point of view, so that the system is easy to understand, easy to use and easy to operate.
The zero-level data flow chart includes modules such as login, user function, and retrieval maintenance. The data used in the login module stores user account documents, and the storage required by the user function module is the data file of each user function module. The retrieval maintenance uses the above Data documents are retrieved by keywords.
The zero-level data flow diagram of the system is shown in the figure below.
Figure 3-2 System data flow diagram (zero layer)
The first-level data flow chart is a refinement of the zero-level data flow chart, subdividing login into filling in login data and improving data, and subdividing user functions into basic user functions and main user functions.
The layer-by-layer data flow diagram of the system is shown in the figure below.
Figure 3-3 System data flow diagram (one layer)
The second-tier data flow is the refinement of filling in login information and user functions in the first-tier data flow diagram. That is: fill in the login information and refine it into filling information and background review, and user functions are refined into operations such as student grade information and student file information.
The layer 2 data flow diagram of the system is shown in the figure below.
Figure 3-4 System data flow diagram (second floor)
At present, the main data access method of the B/S system is: the user can enter the system through the browser page, and the system can automatically process the request sent by the user to the server. The processing request is carried out in the background of the system. Perform corresponding operations on the page, and you can see the processing results delivered by the server. The university student file management system is mainly divided into view-model-control three-tier architecture design. In the view layer, it mainly operates the data that is fed back and displayed from the server to the client. In the model layer, it mainly deals with related business logic, data integration, etc., and the final control layer is between the view and the model. It is to adjust the relationship between the two layers and finally implement the data transmission.
The system architecture diagram is shown in the figure below.
Figure 4-1 System architecture diagram
The purpose of system design is to analyze all the functional structures included in the system, and make preparations for developers to design, develop and implement the system. After the preliminary demand investigation, analysis and sorting, the determined overall demand mainly includes multiple modules, namely: student management, student file management, student performance management, teacher management, subject classification management, and announcement information management. The overall role of the system is divided into three parts, one is the student, the other is the teacher, and the last is the administrator. The authority distribution is also obvious. In addition to browsing information, ordinary users also have the authority to query and manage their own account information, modify personal data, query grades, add student file information, etc.; administrators are the highest authority owners.
The functional structure diagram of the system is shown in the figure below.
Figure 4-2 System function structure diagram
User Management Module
This module is designed for all users to log in. For example, ordinary users such as student users can only perform their own common function operations (such as personal information modification) after logging in. Administrators and super administrators have different permissions after logging in. Administrators cannot Beyond authority. The super administrator can manage the data of the entire system, mainly the user's login authority and the user's operation authority in the system after login.
Student Achievement Module
The relationship between students and student grades is one-to-many. According to the student grade number, the student grade data is transferred to the data table. The operator is an administrator, and then generates grades and lists. Students view individual student grades, and administrators can destroy data.
Student Profile Module
The operator enters the student file information, clicks the student file input button, fills in the student file data to be entered in turn, clicks the submit button, submits the data to the database, and then refreshes the student file data page, there are delete and edit buttons on the right of each data, To complete the corresponding delete and update functions.
Subject Classification Module
The operator enters the subject classification data, clicks the input button, fills in the subject classification data to be entered in turn, clicks the submit button, submits the data to the database, and then refreshes the subject classification data page, and there are delete and edit buttons on the right of each data to complete Corresponding delete and update functions.
Print and export modules
Multiple pages of the system can be printed, including the information detail page and information list page. When printing, the external printer is called, and the print can be printed after completing the print settings. On the information list page, the information list can be exported to excel, and the user chooses to save the excel file The path can be downloaded to the local, and can be freely edited in excel.
For a system to be developed, ER diagrams allow others to understand the transactions of the system and the relationships between them faster and easier. According to the conclusions drawn in the system analysis stage, it is determined that there are multiple entities in the student file management system in colleges and universities, which are student files, student information, and student grades.
The overall ER diagram of the system is shown in the figure below.
Figure 4-4 System overall ER diagram
Admin ( admin id , username, password, permissions)
Student files ( student file id , student number, major, class, student identity information, student photo, family information, home address, family situation)
Grade information ( grade information id , student name, subject name, student grade, note information)
The logical structure of the database is to describe the ER diagram in the database with specific fields. Use fields and data type descriptions to materialize object characteristics, and finally form a database table structure with certain logical relationships. Part of the data structure table required by the college student file management system is shown in the following table.
name |
type |
length |
not null |
primary key |
note |
teacher_user_id |
int |
11 |
yes |
yes |
Teacher User ID |
full_name |
varchar |
64 |
no |
no |
Name |
gender |
varchar |
64 |
no |
no |
gender |
job_number |
varchar |
64 |
yes |
no |
Job number |
title |
varchar |
64 |
no |
no |
job title |
faculty |
varchar |
64 |
no |
no |
Faculty |
examine_state |
varchar |
16 |
yes |
no |
Approval Status |
recommend |
int |
11 |
yes |
no |
Intelligent Recommendation |
user_id |
int |
11 |
yes |
no |
User ID |
create_time |
datetime |
0 |
yes |
no |
creation time |
update_time |
timestamp |
0 |
yes |
no |
update time |
name |
type |
length |
not null |
primary key |
note |
student_user_id |
int |
11 |
yes |
yes |
Student User ID |
full_name |
varchar |
64 |
no |
no |
Name |
gender |
varchar |
64 |
no |
no |
gender |
student_number |
varchar |
64 |
yes |
no |
student ID |
examine_state |
varchar |
16 |
yes |
no |
Approval Status |
recommend |
int |
11 |
yes |
no |
Intelligent Recommendation |
user_id |
int |
11 |
yes |
no |
User ID |
create_time |
datetime |
0 |
yes |
no |
creation time |
update_time |
timestamp |
0 |
yes |
no |
update time |
name |
type |
length |
not null |
primary key |
note |
student_files_id |
int |
11 |
yes |
yes |
Student Profile ID |
student_information |
int |
11 |
no |
no |
student information |
affiliated_colleges_and_departments |
varchar |
64 |
no |
no |
Faculty |
class_name |
varchar |
64 |
no |
no |
class name |
student_name |
varchar |
64 |
no |
no |
student name |
student_number |
varchar |
64 |
no |
no |
student number |
student_telephone |
varchar |
16 |
no |
no |
student phone |
student_photos |
varchar |
255 |
no |
no |
student photo |
relative_information |
text |
0 |
no |
no |
relative information |
home_address |
text |
0 |
no |
no |
Home address |
family_situation |
text |
0 |
no |
no |
family situation |
examine_state |
varchar |
16 |
yes |
no |
Approval Status |
recommend |
int |
11 |
yes |
no |
Intelligent Recommendation |
create_time |
datetime |
0 |
yes |
no |
creation time |
update_time |
timestamp |
0 |
yes |
no |
update time |
name |
type |
length |
not null |
primary key |
note |
student_achievement_id |
int |
11 |
yes |
yes |
Student Grade ID |
account_name |
varchar |
64 |
no |
no |
Subject name |
student_information |
int |
11 |
no |
no |
student information |
student_name |
varchar |
64 |
no |
no |
student name |
student_number |
varchar |
64 |
no |
no |
student number |
student_achievement |
varchar |
64 |
no |
no |
student's result |
remark_information |
text |
0 |
no |
no |
Remarks |
examine_state |
varchar |
16 |
yes |
no |
Approval Status |
recommend |
int |
11 |
yes |
no |
Intelligent Recommendation |
create_time |
datetime |
0 |
yes |
no |
creation time |
update_time |
timestamp |
0 |
yes |
no |
update time |
name |
type |
length |
not null |
primary key |
note |
account_classification_id |
int |
11 |
yes |
yes |
Subject Category ID |
account_name |
varchar |
64 |
no |
no |
Subject name |
description_information |
text |
0 |
no |
no |
Description |
examine_state |
varchar |
16 |
yes |
no |
Approval Status |
recommend |
int |
11 |
yes |
no |
Intelligent Recommendation |
create_time |
datetime |
0 |
yes |
no |
creation time |
update_time |
timestamp |
0 |
yes |
no |
update time |
name |
type |
length |
not null |
primary key |
note |
announcement_information_id |
int |
11 |
yes |
yes |
Bulletin Information ID |
title_name |
varchar |
64 |
no |
no |
title name |
release_time |
date |
0 |
no |
no |
release time |
announcement_content |
text |
0 |
no |
no |
Announcement content |
examine_state |
varchar |
16 |
yes |
no |
Approval Status |
recommend |
int |
11 |
yes |
no |
Intelligent Recommendation |
create_time |
datetime |
0 |
yes |
no |
creation time |
update_time |
timestamp |
0 |
yes |
no |
update time |
name |
type |
length |
not null |
primary key |
note |
auth_id |
int |
11 |
yes |
yes |
Authorization ID: |
user_group |
varchar |
64 |
no |
no |
user group: |
mod_name |
varchar |
64 |
no |
no |
Module name: |
table_name |
varchar |
64 |
no |
no |
Table Name: |
page_title |
varchar |
255 |
no |
no |
page title: |
path |
varchar |
255 |
no |
no |
Routing path: |
position |
varchar |
32 |
no |
no |
Location: |
mode |
varchar |
32 |
yes |
no |
Jump method: |
add |
tinyint |
1 |
yes |
no |
Is it possible to increase: |
of the |
tinyint |
1 |
yes |
no |
Is it possible to delete: |
set |
tinyint |
1 |
yes |
no |
Is it modifiable: |
get |
tinyint |
1 |
yes |
no |
Is it possible to view: |
field_add |
varchar |
500 |
no |
no |
Add fields: |
field_set |
varchar |
500 |
no |
no |
Modify fields: |
field_get |
varchar |
500 |
no |
no |
Query fields: |
table_nav_name |
varchar |
255 |
否 |
否 |
跨表导航名称: |
table_nav |
varchar |
255 |
否 |
否 |
跨表导航: |
option |
text |
0 |
否 |
否 |
配置: |
create_time |
timestamp |
0 |
是 |
否 |
创建时间: |
update_time |
timestamp |
0 |
是 |
否 |
更新时间: |
系统的登录窗口是用户的入口,用户只有在登录成功后才可以进入访问。通过在登录提交表单,后台处理判断是否为合法用户,进行页面跳转,进入系统中去。
登录合法性判断过程:用户输入账号和密码后,系统首先确定输入输入数据合法性,然后在登录框页面发送登录请求,调用src下的mainctrl类的dopost方法来验证。
用户登录模块的IPO如下所示:
输入:用户名和密码。
处理:
1)检测用户输入的账号、密码是否正确及在数据库已对应存在。
2)从数据库中提取记录,并储存在本地的session中(timeout默认=30min)。
3)根据用户名,将其显示在系统首页上。
输出:是否成功的信息。
登录流程图如下所示。
图5-1登录流程图
系统登录界面如下所示。
图5-2系统登录界面
系统呈现出一种简洁大方的首页:界面简约、鳞次栉比,用户能轻车熟路的使用。出于对系统使用群体广泛的顾虑,应有良好性能的后台。如下图所示为系统的首页界面。
图5-3系统首页界面
学生档案录入过程中,首先使用getmap(id,"xinxi"),通过课程ID得到档案数据,将档案数据赋值给学生档案,调用CommDAO的insert方法将档案数据插入学生档案列表中,最后查看学生个人档案记录。
学生档案录信息程图如下所示。
图5-4学生档案信息流程图
学生档案录入界面如图所示。
图5-5学生档案录入界面
学生档案管理界面如图所示。
图5-6学生档案管理界面
学生在yhzhgl查看学生信息,先使用sql语句查询出所有学生表的数据,然后调用PageManager.getPages(url,4,sql, request ),返回一个ArrayList的对象,在for循环里,使用jsp得到每个ArrayList对象的数据,在jsp页面中解析ArrayList对象,得到其各个键值对的值。
学生管理界面如下图所示。
图5-7学生管理界面
用户点击登录填写账号信息登录后,会切换内容为“某某用户欢迎您”和历史订单,并给出注销链接。当用户登录成功后会将个人信息保存在session作用域中,点击自己的用户名时,会跳转到个人详细信息页面,由后台通过Freemarker取出session作用域中的用户信息进行动态渲染,例如,邮箱、电话号码、用户名等等。同时页面上会显示修改个人信息和修改密码的按钮,这时客户可以修改自己的登录密码以保障账号的安全性,防止被人窃取账号,通过UserController.python的updatePassword()实现,同时也可以根据自己的个人信息是否变动做出相应的修改,通过updateUserInfo()实现。
密码修改流程图如下所示。
图5-8密码修改流程图
添加学生成绩时,输入必填字段后,表现层的chengjiController接受传过来的学生成绩参数,再调用chengjiController类的addchengji方法,经过chengjiService业务层到chengjiMapper持久层的处理,完成对整个添加学生成绩的操作。addchengji方法也和用户管理中的addUser方法类似,同时做添加和修改工作。
修改学生成绩时,选择需要修改的成绩i想你洗进行修改,调用chengjiController控制器的editchengji方法,拿到该成绩原本的信息并显示到页面,管理员再对需要修改的学生成绩字段进行修改,完成后调用addchengji方法,调用业务层的updateByKey方法,更新数据库的学生成绩表的数据。
学生成绩录入流程图如下所示。
图5-9学生成绩录入流程图
学生成绩录入界面如下图所示。
图5-10学生成绩录入界面
学生成绩管理界面如下图所示。
图5-11学生成绩管理界面
查找学生档案时,输入需要查找的档案名,调用getData方法获取所有数据并且进行分页,把获取到的所有数据显示到视图上,这时候只需要用脚本方法便能快速查找,不涉及对数据库操作。
学生档案流程图如下所示。
图5-12学生档案流程图
学生档案添加界面如下图所示。
图5-13学生档案添加界面
学生档案展示界面如下图所示。
图5-14学生档案展示界面
-
-
- 科目分类管理模块
-
删除科目分类时,选择需要删除的信息进行删除,把主键的uId传到kemufenleiController控制器,再调用控制器的deletekemufenlei方法,数据经过kemufenleiService业务层解析和处理,请求kemufenleiMapper持久层调用deleteByPrimaryKey方法操作数据库将科目分类数据从数据库中删除。
查找科目分类时,输入需要查找的科目分类名,调用getData方法获取所有数据并且进行分页,把获取到的所有数据显示到视图上,这时候只需要用脚本方法便能快速查找,不涉及对数据库操作。
科目分类管理流程图如下所示。
图5-15科目分类管理界面
在对该系统进行完详细设计和编码之后,就要对高校学生档案管理系统的程序进行测试,检测程序是否运行无误,反复进行测试和修改,使之最后成为完整的软件,满足用户的需求,实现预期的功能。
在软件的测试过程中,通常测试人员需要针对不同的功能模块设计多种测试用例。通过测试用例能够及时发现代码业务逻辑上是否与真实的业务逻辑相对应,及时发现代码上或逻辑上的缺陷,以此来来完善系统,提高软件产品的质量,使软件具有良好的用户体验。
登录测试用例表如下所示。
表6-1登录测试用例
测试性能 |
用户或操作员登录系统 |
||
用例目的 |
测试用户或操作员登录系统时功能是否正常 |
||
前提条件 |
进入用户登录页面或操作员登录页面 |
||
输入条件 |
预期输出 |
实际情况 |
|
各项信息不予填写,直接点击登陆按钮 |
不允许登录,提示填写账号相关信息 |
一致 |
|
填写错误的登录名或密码后点击登录系统 |
提示用户名或密码错误,要求重新填写进行登录 |
一致 |
|
填写与验证码信息不一致的信息 |
系统显示出提示信息,表明验证码错误,要求重新填写 |
一致 |
学生档案测试用例表如下所示。
表6-2学生档案测试用例
测试性能 |
用户录入学生档案的操作 |
||
用例目的 |
测试用户录入学生档案操作时,系统的功能是否正常 |
||
前提条件 |
用户进入档案详情页,信息可以录入 |
||
输入条件 |
预期输出 |
实际情况 |
|
用户未登录,点击学生档案按钮 |
跳转至登录页面,提示用户先进行登录 |
一致 |
|
正常的登录用户,点击学生档案按钮 |
系统弹出提示框,提示用户录入档案成功 |
一致 |
学习情况管理测试用例表如下所示。
表6-3学习情况管理测试用例
测试性能 |
学习情况相关信息管理功能 |
||
用例目的 |
测试系统后台操作员对学习情况相关信息进行管理的功能是否正常 |
||
前提条件 |
登录系统后台进入相关管理页面 |
||
输入条件 |
预期输出 |
实际情况 |
|
普通操作员登录,点击进入学习情况相关信息管理的页面 |
提示非超级用户,权限不够,无法进入相关页面 |
一致 |
|
超级操作员登入,删除某个已被成绩的学习情况 |
提示该学习情况删除失败 |
一致 |
|
点击增加学习情况按钮 |
页面正常跳转 |
一致 |
|
增加学习情况是,填写已存在的学习情况编号 |
提示该编号已存在 |
一致 |
经过对此系统的测试,得出该系统足以满足用户日常需求,在功能项目和操作等方面也能满足操作员对于其他用户的管理。但是,还有很多功能有待添加,这个系统仅能满足大部分的需求,还需要对此系统的功能更进一步的完善,这样使用起来才能更加的完美。
通过高校学生档案管理系统的开发,本人巩固了之前学过的知识,如今将平时所学到的知识融合在设计中,在设计过程中,做了很多的准备,首先,在数据库系统的设计过程中,尤其是在数据库的工作原理、工作特点,对其深刻的讨论,与此同时,对于小型站点来说,最好服务器的选择,其次,利用所学的知识点分析所做的系统,并在此基础上设计。
目前本系统已经上线,正在试运行阶段,用户反馈良好,基本完成用户所需,试运行过程中没有出现阻断性问题,有一些不足和小问题也及时予以修正,系统上线后,为了保证数据的安全性,对系统进行了备份操作,系统备份是每两个月备份一次,数据库备份为每周备份一次,系统部署在租赁的云平台服务器中。
本次系统上线成功后,得到了用户的高度认可,但是在功能上和性能上还需做进一步的研究处理,使其有更高的性能和更好的用户体验。
系统在以后的升级过程中,需要解决一系列用户所提出的问题,例如打印过程中如何避免浏览器的兼容性问题,大量用户访问时,如何保持较高的响应速度,在系统今后的升级过程中将着重解决这些安全性问题。
参考文献
[1]程海雨,杨志方,李擎,秦昕.高校学生档案化管理平台的探索与实践[J].教育信息化论坛,2021(12):33-34.
[2]曲嘉瑄,董英帅.大数据在高校学生档案管理中的应用[J].软件,2021,42(08):48-50.
[3]许沥文. 基于校园大数据的学生档案管理平台的设计研究[D].华北电力大学(北京),2021.
[4]孙善毅,朱宁.基于Django框架的学生档案管理系统的开发与应用[J].电子技术与软件工程,2021(04):43-45.
[5]王建君.关于Excel中vlookup函数在学生档案管理中的应用[J].电子技术与软件工程,2021(02):56-57.
[6]郝佳睿.学生档案管理微信小程序数据获取与构建[J].福建电脑,2020,36(11):101-103.
[7]陈伟杰,段华琼.基于MVC框架的学生档案管理系统的设计与实现[J].信息与电脑(理论版),2020,32(21):101-103.
[8]张海霞.探索智能化学生档案管理系统的理论和实践研究——基于高校辅导员工作案例[J].国际公关,2020(11):162-163.
[9]闫博.基于三层架构模式的学生档案管理系统分析[J].信息通信,2020(10):156-158.
[10]解全颖,王礼祥.新时代背景下全国预科学生档案管理现状分析和解决方案探究[J].科技视界,2020(06):145-147.
[11]邓磊.基于互联网模式下高校学生档案管理的建构[J].科技创新导报,2019,16(27):163-164.
[12]刘梦童,王宇飞.高校学生档案管理工作的信息化建设与分析——以长春理工大学生命科学技术学院为例[J].南方农机,2019,50(17):152-153.
[13]王靖晶.基于B/S的学生档案管理系统的设计与实现[J].电子设计工程,2018,26(17):45-48+53.
[14]ArifS,OlariuS,WangJ,etal.DatacenterattheAirport:ReasoningaboutTime-DependentParkingLotOccupancy[J].IEEETransactionsonParallel&DistributedSystems,20115,23(11):2067-2080.
[15]LeeS,YoonD,GhoshA.Intelligentparkinglotapplicationusingwirelesssensornetworks[C]//InternationalSymposiumonCollaborativeTechnologiesandSystems.IEEE,2016:48-57.
致谢
伴随着设计的完成,大学生涯也随之即将结束。大学期间是我最珍惜的时光,大学时光中学会了很多,也成长了很多,这段时光中每一段回忆都刻在脑海中。感谢一起学习,一起成长同学们,和成长过程悉心教导的老师们,非常感激有你们的陪伴。
首先感谢我的指导老师,设计的完成离不开老师的一系列指导。在毕业设计的完成过程中,老师给出了很多中肯的建议,正是由于老师一丝不苟的工作态度,我的设计才能顺利的完成。
最后,感谢在大学生涯中每一位教导我的老师,是你们教给了我丰富的知识,更教会了我遇到问题时,如何去应对并解决。谢谢你们的帮助与支持。
请关注点赞+私信博主,免费领取项目源码