Note: Show part of the document content and system screenshots. If you need complete videos, codes, articles and installation and debugging environment, please send a private message to the up owner.
3.4 Database design
3.4.1 Database conceptual design
Database design must follow several rules. First, logical thinking needs to be organized before database design. This process is usually implemented with the help of E-R diagrams [14]. Secondly, when designing tables, pay attention to whether the field formats in the tables are correct, otherwise data errors will occur. , in addition, we must also follow the rules of the paradigm and try to avoid errors in the database.
3.4.2 Database E-R diagram design
The E-R diagram is a step that database designers should take before implementation. It embodies logical thinking and displays the management between database tables in a visible form. The E-R diagram can help designers observe the database and improve the feasibility of database implementation. .
3.4.3 Database design
The following is a partial data table display of the development and design of the university student management system:
The student table stores student user information registered on the home page of the art troupe, including fields such as student name, account password, personal avatar, personality preference (as review information for entering the art troupe), as shown in Table 3-1.
Table 3-1 xuesheng student table
Field Name |
type |
length |
Field description |
primary key |
default value |
id |
bigint |
primary key |
primary key |
||
addtime |
timestamp |
creation time |
CURRENT_TIMESTAMP |
||
xingming |
varchar |
200 |
Name |
||
mima |
varchar |
200 |
password |
||
xingbie |
varchar |
200 |
gender |
||
touxiang |
longtext |
4294967295 |
avatar |
||
shouji |
varchar |
200 |
cell phone |
||
zhuanye |
varchar |
200 |
major |
||
xingquaihao |
varchar |
200 |
hobby |
||
gerentezhang |
varchar |
200 |
Personal strengths |
||
ziwopingjia |
varchar |
200 |
Self-evaluation |
The leader table records the relevant identity information of the leader of the art troupe, including the name of the leader's art troupe, the leader's personal account password, personal information, avatar, audit information and other fields. After the leader's identity is registered in the backend, it needs to be confirmed by the administrator. Review. If the review fails, the team leader's identity will be locked and he will not be able to log in. Only after the review passes, the team leader can log in to the backend management system page, as shown in Table 3-2.
Table 3-2 Tuanzhang leader list
Field Name |
type |
length |
Field description |
primary key |
default value |
id |
bigint |
primary key |
primary key |
||
addtime |
timestamp |
creation time |
CURRENT_TIMESTAMP |
||
yishutuanmingcheng |
varchar |
200 |
Art troupe name |
||
mima |
varchar |
200 |
password |
||
tuanzhangxingming |
varchar |
200 |
Team leader name |
||
xingbie |
varchar |
200 |
gender |
||
touxiang |
longtext |
4294967295 |
avatar |
||
lianxidianhua |
varchar |
200 |
contact number |
||
sfsh |
varchar |
200 |
Whether to review |
Pending review |
|
shhf |
longtext |
4294967295 |
moderation reply |
The user table is used to record the identity of the administrator and mark the administrator's personal information, as shown in Table 3-3.
Table 3-3 users table
Field Name |
type |
length |
Field description |
primary key |
default value |
id |
bigint |
primary key |
primary key |
||
username |
varchar |
100 |
username |
Continued from Table 3-3 users table
Field Name |
type |
length |
Field description |
primary key |
default value |
password |
varchar |
100 |
password |
||
role |
varchar |
100 |
Role |
administrator |
|
addtime |
timestamp |
Add time |
CURRENT_TIMESTAMP |
Art group information table. After the group leader's identity is approved by the administrator, the group leader can log in to the back-end management system to create his own art group, including the name, announcements and other information related to the art group, as well as the avatar of the art group, etc., as shown in Figure 3-4 shown.
Table 3-4 yishutuanxinxi Art Troupe information table
Field Name |
type |
length |
Field description |
primary key |
default value |
id |
bigint |
primary key |
primary key |
||
addtime |
timestamp |
creation time |
CURRENT_TIMESTAMP |
||
yishutuanmingcheng |
varchar |
200 |
Art troupe name |
||
yishutuantupian |
longtext |
4294967295 |
Art troupe pictures |
||
yishutuanleibie |
varchar |
200 |
Art Troupe Category |
||
yishutuanzongzhi |
varchar |
200 |
Mission of the art troupe |
||
yishutangongggao |
longtext |
4294967295 |
Art Troupe Announcement |
||
chuangbanriqi |
date |
Founding date |
|||
lianxidianhua |
varchar |
200 |
contact number |
||
xinxijieshao |
longtext |
4294967295 |
Information introduction |
||
crossusers |
bigint |
Cross-table user id |
|||
crossrefid |
bigint |
Cross-table primary key id |
|||
sfsh |
varchar |
200 |
Whether to review |
Pending review |
|
shhf |
longtext |
4294967295 |
moderation reply |
5.1 Login and registration function
5.1.1 Student registration and login
Student registration requires filling in personal name, password and basic personal information. This information is convenient for the group leader to quickly review when entering the art troupe. (See Figure 5-1 for details).
Students log in and check whether the account number and password are correct. After the password is correct, students can use functions such as registration activities and group application on the homepage. (See Figure 5-2 for details).
5.1.2 Backend identity login
Three background identities: administrator, team leader, and student can log in on this page and enter the management system. (See Figure 5-3 for details).
6 system test
6.1 Test purpose
Art troupe management has undergone space changes with the development of the Internet. Modern art troupe management is more about quality. Whether it can complete management needs and the convenience and completeness of management needs are the goals that need to be pursued. Therefore, in order to make the system mature and effective, the quality of the system itself must pass the test and must be checked. Therefore, after we complete the system construction, we still need to strictly test the system to ensure that there will be no errors and loopholes in the system operation, so that the system can be promoted more effectively. This is an important link in the development process, and the test results directly affect the quality of the system.
6.2 Test content
We mainly conduct black box testing on the system. Through black box testing, we can discover possible risk issues in the system and ensure the smooth operation of the system. Black box testing can accurately feedback user data and quickly execute relative functions to ensure complete input and output of functions.
6.3 Test cases and results
The design of the art troupe management system basically achieved the ideal effect, performed well in all aspects, and basically met the daily needs of each user. Through this test, we focused on checking the stability of the art troupe in the operation of the three roles to ensure that System errors will not occur during actual use, and errors can be automatically checked during system operation. The test results are shown in Table 6-1.
Table 6-1 Functional test
serial number |
test case |
Test steps |
Test Results |
pass or not |
1 |
student login |
1. Enter name and password 2. Login |
Test success Student login homepage successful |
pass |
2 |
Change personal information |
1. Click on the home page Personal Center 2. Modify personal information and click Submit |
Test success Account password changed successfully |
pass |
Continued Table 6-1 Functional Test
3 |
Group leader registration function |
1. Register the group leader in the background and fill in the corresponding information 2. Failed after logging in 3. After the administrator passes the review, the login will be displayed as successful. |
Test success The team leader can log in and the administrator can conduct audits. |
pass |
4 |
Event application management |
1. The group leader adds event information to the page and clicks Submit. 2. The administrator chooses to pass the group leader activity review on the interactive registration management page. |
Test success The event appears on the homepage and you can register to participate in the event |
pass |
5 |
Fund application management |
1. The team leader fills in the relevant information and applies for funds on the funding application page. 2. On the administrator’s funding page, you can see the information to be reviewed and choose whether to pass it. |
Test success The team leader can check that his funding application has been approved |
pass |
6 |
Contribution points management |
On the art troupe member management page, the leader clicks Add Contribution and fills in the relevant information to give extra points to the art troupe members. |
Test success Students can check their current points status on their contribution management page. |
pass |
Through test cases, the functions of login and registration, event registration, fund management, and points contribution management of the art troupe management system are monitored, which provides technical support for the later practical application of the system. Administrators can manage all art groups to the maximum extent and have absolute control over the layout of the home page. The leader can manage the members of the art troupe, and students can participate in art troupe activities.
Table of contents
1.1 Background and significance
1.1.2 Significance of the topic
1.2 Introduction to key technologies
1.2.2 Introduction to MYSQL database
1.3 Main contents of the design specification
1.4.1 Introduction to feasibility analysis
2.3.1 Add data process analysis
2.3.2 Modify data process analysis
2.3.3 Analysis of deletion data process
2.4 Analysis of system role use case diagram
2.4.1 Student role use case diagram
2.4.2 Use case diagram of team leader role
2.4.3 Management role use case diagram
3.3 System architecture diagram
3.4.1 Database conceptual design
3.4.2 Database E-R diagram design
4.1.1 Administrator system functional design
4.1.2 Functional design of the group leader system
4.1.3 Student system function design
4.2.1 Student login and registration
4.2.2 User information modification design
4.2.3 The team leader applies for design
4.2.4 Art troupe creation and design
4.2.5 Art Troupe Activity Application Management Design
4.2.6 Registration management design for art troupe activities