Reward and punishment information management system (Java course design report)

Abstract
As the scale of the school continues to expand, the number of students increases sharply, and the amount of various information about students also increases exponentially. Facing the huge amount of information, a student management system is needed to improve the efficiency of student management. Through such a system, standardized management of reward and punishment information, scientific statistics and quick query, modification, addition, deletion, etc. can be achieved, thereby reducing the workload of management. At present, the information management system is developing rapidly in the society. All enterprises and institutions have introduced information management software to manage their growing information. The student management system has also developed greatly, and there are many commercial student information management software. .
The program in this report is a simple student reward and punishment information management system. The system is completely independently developed, and strives to make the system functions concise and clear, but complete and easy to operate. It is written by Java program, and can perform operations such as inputting, modifying, viewing, and deleting student information. The program mainly uses Java and CSS.
Keywords: Java; Reward and Punishment Information System; CSS
Preface
With the development of computer technology, people's demand for computer intelligence is increasing, and the requirements for software's practicability and speed are also getting higher and higher. In the future, the holding of various competitions will definitely become more and more technological, and with the popularization of computers and the gradual expansion of the amount of information, all kinds of work will gradually change from manual to automatic, which will make many complex, tedious, and eventually require a lot of human work. made easy.
The tool software uses the Idea development tool and the notepad recording method to develop the reward and punishment information management system. What the system needs to meet is that the school can process reward and punishment information efficiently and conveniently. This system is more secure and reliable, and this system also pays great attention to the comfort of user experience, and strives to create a better experience environment for users

1 Introduction
1.1 Significance of the subject research
This reward and punishment information system can add, delete, modify, check and manage students, colleges and rewards and punishments. Make user identity changes.
The main work completed in this paper
is to build a reward and punishment information system development model, analyze and design through research. The reward and punishment information system uses Java + CSS technology and database operation methods.
This article first introduces the research background of the reward and punishment information system, then puts forward the requirements, then designs the system, including function design and database design, and finally implements and tests the reward and punishment information system.
1.1.1 Database analysis
Repeatedly demonstrates whether it is feasible according to the results of demand research. For a given application environment, construct the optimal database model, establish the database and its application system, so that it can store data effectively and meet the application needs of users , and then design the data table, analyze the table structure, and complete the table relationship design according to the requirements.
1.1.2 Interface design
According to the results of previous investigations, the front-end interface design of the reward and punishment information system is realized, the interface technology is selected, and CSS is adopted to realize the front-end interface design; the main color of the interface is determined, the interface layout, style adjustment, interface relevance design, and easy operation Usability and user experience have been repeatedly confirmed, and it is easy to use and operate, which is convenient for users to use.
1.2 Summary of this chapter
This chapter analyzes the research significance of the project, sorts out the work that needs to be done, conducts serious demand research, carefully analyzes the database, thinks about the interface design, and conducts program development and program testing.
2 System Analysis
2.1 Feasibility Analysis
This design will carry out research on the reliability of development from various aspects such as economy, technology and operation.
2.1.1 Economic feasibility
Since all the development tools used in this development can be used free of charge, the cost required to develop the system is very small. It can be said that this development can be completed with only a very small amount of funds, and these costs are small or even negligible; in addition Because of the use of this system, the files of managers can have higher confidentiality, thereby maximizing the protection of relevant information. Based on this, from an economic perspective, this development is completely feasible.
2.1.2 Technical feasibility Technical
feasibility refers to whether the level of computer equipment and related hardware can meet the requirements of this system development under the premise of existing relevant technologies. Because the system is developed using the Java language, and the language can run on a general computer, and this type of computer does not have high requirements for software and hardware; on the other hand, because it does not occupy much computer resources, So in theory we can use MySQL to complete the development of the system, so our result is that from a technical point of view, this development is also feasible.
2.1.3 Operational Feasibility
For the vast majority of management personnel today, they are people who have received higher education, so it can be said that they are a group of high-quality talents who can use computers proficiently to complete various tasks. Type of operation, plus this design is a reward and punishment information management system developed by using Java + MySQL + CSS, which is characterized by easy operation. Based on this, from the operational point of view, the development is completely feasible.
2.2 Technical analysis
2.2.1 Java language
The back end of the reward and punishment information system is developed using java. Java is an object-oriented programming language. It not only absorbs various advantages of C++ language, but also abandons the incomprehensible multiple inheritance and pointers in C++. And other concepts, so the Java language has two features: powerful and easy to use. As a representative of the static object-oriented programming language, the Java language perfectly implements the object-oriented theory and allows programmers to perform complex programming in an elegant way of thinking.
Java has characteristics such as simplicity, object-oriented, distributed, robustness, security, platform independence and portability, multithreading, and dynamics. Java can write desktop applications, Web applications, distributed systems and embedded system applications, etc. A Java compiler produces bytecode, rather than the usual machine code. Java bytecode provides an object file format that is neutral to the architecture, and the code is designed to efficiently transfer programs to multiple platforms. Java programs can run on any system that implements a Java interpreter and runtime system.
2.2.2 Introduction to MySQL
All MySQL database users can download the data and modify the data according to their needs. At the same time, it has the advantages of small size, fast operation speed, and low cost. This makes its website construction can reduce a lot of costs, so many small and medium-sized websites will choose it as their website database. In addition, for college students, a fully functional and free database is the first choice for everyone. The author's computer is installed with a Microsoft system, and the Tomcat server is used. Since we learned the MySQL database during college, I chose this database for this design, and the programming language is Java.
MySQL is a relational database management system. Relational databases store data in different tables instead of putting all the data in one big warehouse, which increases speed and improves flexibility.
2.3 Demand Analysis
The goal of the reward and punishment information management system is to establish a reliable system that can be effectively and applied to city weather and scenic spot promotion. The server is composed of a web application program running java and a database server running MySQL.
The reward and punishment information management system includes a student information module, a student information module, and a reward and punishment information module. The second is to use Java technology in the background to add, delete, modify and query data to MySQL through web pages.
2.4 Summary of this chapter
This chapter introduces the creation of database through SQL language, and creates a reward and punishment information management system with java technology as the framework and CSS as the framework. Firstly, the advanced model analysis is carried out, then the feasibility analysis is put forward, and finally the demand analysis is carried out.

3 System Design
3.1 System Design Objective
The reward and punishment information management system is an indispensable part of an educational unit. A fully functional, easy-to-use information management system can not only effectively reduce the workload of school-related staff, it is very important for school decision makers and managers. Therefore, the reward and punishment information management system should be able to provide users with sufficient information and fast query methods. However, people have always used the traditional manual method to manage file archives, statistics and query data. This management method has many shortcomings, such as: low efficiency, poor performance, and a lot of waste of labor; Data, which brings a lot of difficulties to find, update and maintain. With the continuous improvement of science and technology, computer science is becoming more and more mature, and its powerful functions have been deeply recognized by people. It has entered various fields of human society and is playing an increasingly important role. On the computer network, database and advanced development platform, use the existing software and hardware resources to develop a student reward and punishment information management system with an open architecture, easy to expand, easy to maintain, and a good human-computer interaction interface .
This simple reward and punishment information management system includes the following two basic functions: Logging
in with different identities
Basic table information management
, whose main task is to use computers to carry out daily management of various information of students, such as query, modification, addition, and deletion. A reward and punishment management information system is designed for these requirements.
The purpose of the system design link is actually a precise description of the purpose of the system in this link, and then it can be written into program code directly based on these descriptions in the code writing link, so that the system can be realized.
3.2 Overall system design
The reward and punishment information management system uses the Webapp development framework. The server side of the reward and punishment information management system is developed using Java+MySQL, and the whole system is developed using the front-end and back-end separation mode, and the request method adopts HTTPS request.
The view layer is the business logic layer, which is responsible for processing the business logic involved in this request and returning the result after the front-end processing. The model layer is the database read-write layer, which is mainly responsible for interacting with the database and performing read and write operations to the database. HTML page CSS style HTML is a static page, CSS is the overall style of the page.
3.3 Detailed design of the system
3.3.1 Functional design
The division of system modules is shown in Figure 31.

Fig. 3 1 Function module diagram
Fig. 3 1 Function module diagram
3.4 Design of database layer
For this system, the design of database is a very critical step. A high-quality database can make the development of this system more smoothly and quickly. The construction of all databases is an important part of system development. In short, it is to create a satisfactory database according to the needs of managers. For program development, the overall design of the database is the most important step.
Database design is the technology of establishing database and its application system, and is the core technology in the development and construction of information system. Database language usually includes data definition language, data manipulation language and data control language. Due to the complexity of the database application system, in order to support the operation of related programs, the database design becomes extremely complicated, so the best design cannot be achieved overnight, but can only be a process of "repeated exploration and gradual refinement", that is, planning and the process of structuring data objects in a database and the relationships between those data objects.
When thinking about the design of the database part, the first thing we should think of is to combine the design of the system database with its data processing well, so that the data management of the entire system can be integrated together.
3.4.1 Database ER diagram
The reward and punishment information management system is MySQL, which is also a relational database. The relationship between each database table can be reflected through the ER diagram, and the information of each field of the table can also be learned through the entity. The college entity ER is shown in Figure 33.

Figure 3 ER diagram of 3 college entity
Fig.3 3 ER Depart Entity

The student entity ER is shown in Figure 3 4.

Figure 3 4 Student entity ER diagram
Fig.3 4 ER Student entity
Reward and punishment entity ER is shown in Figure 3 5.

Figure 3 5 Reward and punishment entity ER diagram
Fig.3-5 ER Award_Punish entity
ER is shown in Figure 3 6.

Figure 3 6 ER diagram
Fig.3-6 ER entity

3.4.2 System database table design
The reward and punishment information management system consists of multiple tables. The following is the data structure of the reward and punishment information management system.
Table 3 1 Administrator Information Table
Table3 1 Administrator Information Table
ID Name Type Whether the primary key is empty Explanation
1 Username int is a name that cannot be used
2 Password varchar No password
The administrator information table is used to store administrator information, including administrator name, administrator password.

Table 3 2 Student Information Table
Table3 2 Student Information Table
ID Name Type Whether the primary key is empty Explanation
1 Sno Int Yes No Student ID
2 Sname Varchar No Name
3 Sex Varchar No Gender
4 Sage smallint No Age
5 Dno Varchar No College ID
The student information table is used to store student information, including student ID, name, gender, age, and student ID.
Table 3 3 College Information Table
Table 3 3 Depart Information Table
ID Whether the Name Type is Primary Key Empty Explanation
1 Dno Int Yes No Faculty Number
2 Dname Varchar No Faculty Name
3 Ddean Varchar No Dean
4 Tunmber Varchar No Teacher Quantity
Faculty Information Table To store college information, used to store college number, college name, dean, number of teachers.
Table 3 4 Award_Punish Information
Table 3 4 Award_Punish Information Table
ID Name Type Whether the primary key
is empty Explanation 1 APno char No reward and punishment number
2 Sno Int No student number
3 APlevel Varchar No reward and punishment level
4 APname Varchar No reward and punishment name
5 APproject Varchar No reward and punishment scheme The reward and
punishment information table is used to store reward and punishment information, including reward and punishment number, student number, reward and punishment level, reward and punishment name, and reward and punishment plan.
3.5 Summary of this chapter
This chapter analyzes the system design, confirms the system design goals, analyzes the overall system design, and sorts out the system design in detail, including functional design and business process, and draws the database ER for the design of the database layer. Figure and designed the system database table.
4 System function realization
4.1 Home page (administrator)
Enter the administrator home page, this page can add, delete, modify, check and manage students, colleges, rewards and punishments. Make user identity changes.
As shown in Figure 41.

Figure 4 1 Home information graph
Fig.4 1 Home information graph (Manager)
4.2 Home page (students)
Enter the home page, where students, colleges, rewards and punishments can be queried. Change the user identity
as shown in Figure 42.

Figure 4 2 Home information graph (Student)
Fig.4 2 Home information graph (Student)
4.3 System test

  1. login interface

  2. Student Information Basic Form

  3. Add student information

  4. delete student information

  5. Query student information

4.4 Summary of this chapter
This chapter introduces the function module interface and its function realization of the reward and punishment information management system, including adding, modifying, deleting and querying the student information table and other modules.

Conclusion
This design uses java code to establish a connection with the MySQL database. The back end of the program uses Java to realize the functions of adding, deleting, modifying, checking, and managing student information, college information, and reward and punishment information on the page.
However, due to limited design knowledge and professional knowledge, in this development, some functions in the system have some problems and deficiencies. The interface design started from the layout, but due to the limitation of my design level, I failed to achieve the expected goal of my design. In addition, there are still some problems in the system that have not been resolved. The mainstream technology of the system is less used. Finally, the optimization of the database is not fine enough. These problems will be gradually improved in the work

Guess you like

Origin blog.csdn.net/m0_66656626/article/details/128569446