The website project is based on SSM’s 313 training institution operation system

1. System screenshots (you can chat privately if you need a demonstration video)

Summary

With the rapid development of information Internet shopping, most companies are creating their own management systems. This article introduces the entire process of development of the training institution's operation system. By analyzing the needs of enterprises for training institution operation systems, a plan for computer management of training institution operation systems was created. The article introduces the system analysis part of the training institution's operation system, including feasibility analysis, etc. The system design part mainly introduces the system function design and database design.

The operating system of this training institution has three roles: administrator, teacher, and student. Administrator functions include personal center, student management, teacher management, announcement management, curriculum management, subject management, time period management, attendance management, class management, test paper management, test question management, exam management, etc. Teacher functions include personal center, announcement management, curriculum management, attendance management, class management, test paper management, test question management, exam management, etc. Student functions include personal center, announcement management, curriculum management, class management, exam management, etc. Therefore it has certain practicality.

This site is a B/S mode system. The back-end uses the SSM framework as the development technology, the front-end uses the layui framework, and the MYSQL database is designed and developed to fully ensure the stability of the system. The system has the characteristics of clear interface, simple operation and complete functions, making the management of the training institution's operation system systematic and standardized.

Keywords:Training institution operation system; SSM framework; MYSQL database; layui framework

Table of contents

1System overview

1.1 Research background

1.2 Research purpose

1.3 System design ideas

2Related technologies

2.1 MYSQL database

2.2 B/S structure

2.3 Introduction to SSM framework

3 System analysis

3.1 Feasibility analysis

3.1.1 Technical feasibility

3.1.2 Economic feasibility

3.1.3 Operational feasibility

3.2 System performance analysis

3.2.1 System security

3.2.2 Data integrity

3.3 System interface analysis

3.4 System process and logic

4 System outline design

4.1 Overview

4.2 System structure

4.3. Database design

4.3.1 Database entities

4.3.2 Database design table

5 system detailed implementation

5.1 Implementation of the administrator module

5.1.1 Attendance management

5.1.3 Teacher Management

5.2 Implementation of teacher module

5.2.1 Curriculum Management

5.2.2 Attendance management

5.3 Implementation of student module

5.3.1 View announcements

5.3.2 View the course schedule

6 system test

6.1 Concept and meaning

6.2 Features

6.3 Importance

6.4 Test methods

6.5 Functional testing

6.6 Usability testing

6.7 Performance testing

6.8 Test analysis

6.9 Test result analysis

in conclusion

Thank you

references

1System overview

1.1 Research background

Nowadays, the Internet is developing rapidly and the network is spread all over the world. News released through the Internet can be quickly and conveniently spread to every corner of the world, and the information that can be spread on the Internet is also very wide, such as text, pictures, sounds, videos, etc. Therefore, these various benefits have made the Internet the main way for information dissemination. All kinds of information in society are trying their best to spread through the Internet, and the Internet has an increasing impact on society.

With the development of computer technology and the gradual popularization of computer networks, the Internet has become an important place for people to find information. The 21st century is the age of information, so the exchange and circulation of information are particularly important. Therefore, developing a suitable training institution operation system has become an inevitable step for enterprises. Developing a suitable training institution operation system can facilitate managers to manage the training institution operation system, improve information management efficiency and query efficiency, and help provide better services to teacher users.

1.2Research purpose

With the rapid development of Internet technology and the advent of the Internet era, network information will also change today's society. All walks of life are also slowly converging towards standardization and networking in terms of daily business operations and management. The degree of informatization in the operation system of training institutions is reflected in the application of the Internet and information technology to operation and management, and the replacement of traditional manual work with modern tools. Undoubtedly, the use of network information management makes information management more advanced, more efficient, more scientific, and information exchange faster.

If an enterprise still uses the previous manual accounting management, it will be very outdated, which will lead to low efficiency. Moreover, over time, the accumulated data information is not easy to save, which will cause many problems for query, update and maintenance. There are also great hidden dangers in data handover. If the electronic storage method is adopted, it will bring great improvements and bring great convenience to teacher users' inquiries. Therefore, it is urgent to design an operation system for training institutions, which can improve the display level of enterprises in information technology.

1.3System design thought

A successful website should clearly define the purpose of building the website, determine the functions of the website, determine the scale of the website, investment costs, and conduct necessary market analysis, etc. Only detailed planning can avoid many problems that occur during website construction and ensure that website construction can proceed smoothly. At the same time, a large-scale computer website system must have a correct design guiding ideology, and form a complete network architecture through reasonable selection of data structure, network structure, operating system and development environment, in order to give full play to the advantages of computer information management. Based on the actual needs of netizens in real life, this system is designed according to the following principles.

  1. Effectiveness: In fact, effectiveness here includes two aspects: usefulness and usability. Usefulness refers to the potential of a site to meet the needs of teacher users, whereas usability refers to the ability to achieve specific goals through the operation of the site. It can be seen that a site is not a good site if it does not function properly or is poorly designed. A usable site should be highly efficient, easy to learn, satisfying and error-free in achieving teacher-user goals.
  2. High reliability: A practical website must be reliable at the same time. This design can ensure the reliability and fault tolerance of the website through reasonable and advanced network design and optimized selection of software and hardware.
  3. High security: In the design, various security measures provided by network software and hardware will be fully utilized to ensure that teachers and users share resources and fully consider the requirements for disaster recovery, backup, and recovery of system and data resources. Provides powerful database backup tools for the system. The security of critical data can be guaranteed. Operation permission levels, set different roles to ensure the operation permissions of each step, can be set by the administrator.
  4. Advancedness: Adopting the most advanced development technology in the world, using JSP development technology, and MYSQL as the website back-end database. The use of these technologies reduces future system operating costs and improves system stability and ease of maintenance.
  5. Adopt standard technology: All designs of this website follow current international standards to improve the openness of the system.
  6. Balance between appearance and technology: The system adopts a Web-style interface design, which is friendly, beautiful, easy to use, easy to learn and use. The key issue in website design is the balance between appearance and technology. A poorly presented website is annoying. A site may work well but fail to motivate teacher users. Conversely, a site that looks very expressive but has limited technology will leave teacher users disappointed. A clear and continuous relationship needs to be determined between appearance and technology, that is, appearance is related to the intention of the site, and different types of websites are treated differently.

2Sokan Technology

2.1 MYSQL number setting

MySQL is a true multi-user, multi-threaded SQL database server. It is a relational database management system based on SQL client/server model. Its advantages include powerful functions, simple use, convenient management, high security and reliability, fast running speed, multi-threading, cross-platform, complete networking, and stability. etc., which is very suitable for the development of database backends for Web sites or other application software. In addition, teacher users can write programs that access MySQL databases in many languages. As one of the products of the open source movement, the MySQL relational database management system is becoming more and more popular and its application scope is becoming wider and wider. Speed ​​and ease of use make MySQL particularly suitable for the development of database backends for Web sites or application software.

MYSQL database has the following characteristics:

1. Compilers used and tested in C and C++ to ensure source code portability and flexibility.

2. Supports multiple operating systems: AIX, FreeBSD, HP-UX, Linux and Mac OS, Novell's Netware, OpenBSD systems, OS/2, Solaris, Windows, etc.

3. Provides APIs for different programming languages. Programming languages ​​such as C, C++, Python, Java, Perl, PHP, Eiffel, Ruby and Tcl.

4. And the CPU resources used to support multi-threading.

5. The algorithm optimizes query SQL and effectively improves search speed.

6. Clients and servers on the network can be used to program any independent programming environment. There are also Chinese, GB2312, BIG5, Japanese writing, general funds, used to support multiple languages, and can be embedded in data tables and other software shift_jis access columns Can be used as a name.

7. TCP/IP, ODBC and JDBC databases and provide connections to others.

8. Management of management tools, control and optimization of database operations.

9. Tens of millions of records can be stored in a large database.

2.2 B/S结构

B/S architecture is a software system development architecture based on the Internet system. It is a software system structure that is widely used in software system development today. Nowadays, the B/S architecture has been widely used, breaking the C/S structure and providing good support for software systems based on network structures. The B/S architecture gradually develops and updates with the development of computer network technology. With the further development of the Internet, most management systems are required not only to be used on one computer, but also to be able to operate and use the system on other computers connected to the Internet. In this context, software system design methods based on B/S architecture have been increasingly used, and the basic parts are constantly being updated.

The B/S architecture is used by the browser in the operating system. It is not a form software system and does not need to be installed on the computer using the system. The operating mode of the B/S architecture is to deploy the developed software system on the remote server. After the software system is deployed, the deployed software system can be accessed on any computer connected to the Internet. The B/S architecture brings great convenience to teacher users who use the management system.

In the B/S (Browser/Server, browser/server structure) system with a three-tier architecture, teacher users can make requests to many servers distributed on the network through the browser. The B/S system greatly simplifies the workload of the client. Only a small amount of client running software needs to be installed and configured on the client. The server will take on a lot of work. Access to the database and execution of the application will be done by the server. Finish.

The B/S architecture continues to mature, mainly using WWW browser technology, combined with a variety of browser scripting languages, using a general browser to achieve powerful functions that are originally complex and proprietary software, and saving development costs. It is a kind of New software architecture. The B/S system includes: presentation logic layer, control logic layer, and data presentation layer. The three layers are relatively independent but interrelated.

2.3 SSM frame summary

SSM framework is the abbreviation of Spring+Spring MVC+MyBatis. This is the current mainstream Java EE enterprise-level framework after SSH and is suitable for building various large-scale enterprise-level application systems.

1.Spring Introduction

Spring is an open source framework. Spring is a lightweight Java development framework that emerged in 2003. It is derived from some of the concepts and prototypes expounded by Rod Johnson in his book Expert One-On-One J2EE Development and Design. It was created to solve the complexities of enterprise application development. Spring uses basic JavaBeans to accomplish things that were previously only possible with EJBs. However, Spring's uses are not limited to server-side development. Any Java application can benefit from Spring in terms of simplicity, testability, and loose coupling. Simply put, Spring is a lightweight Inversion of Control (IoC) and Aspect-Oriented (AOP) container framework.

A. What is Inversion of Control (IOC)?

IOC: Inversion of control is also called dependency injection. The factory pattern is used to hand over the object to the container for management. You only need to configure the corresponding bean in the spring configuration file and set the relevant attributes to let the spring container generate instance objects and management objects of the class. When the spring container starts, spring will initialize all the beans you configure in the configuration file, and then when you need to call it, it will assign the beans it has initialized to the class you need to call these beans (assuming The class name is A), and the allocation method is to call the setter method of A to inject, without the need for you to new these beans in A.

B. What is aspect-oriented (AOP)?

First of all, it needs to be explained that AOP is just a feature of Spring. It is a programming idea like OOP, not a certain technology. AOP can be said to be a supplement and improvement to OOP. OOP introduces concepts such as encapsulation, inheritance, and polymorphism to establish an object hierarchy to simulate a collection of common behaviors. When we need to introduce public behavior to dispersed objects, OOP is powerless. In other words, OOP allows you to define relationships from top to bottom, but it is not suitable for defining relationships from left to right. For example, the logging function. Logging code tends to be spread horizontally across all object hierarchies, having nothing to do with the core functionality of the objects it's spread to. In OOP design, it leads to a large amount of code duplication, which is not conducive to the reuse of various modules. Encapsulate the cross-cutting business logic in the program (such as security, logs, transactions, etc.) into an aspect, and then inject it into the target object (specific business logic).

The technology to implement AOP is mainly divided into two categories: one is to use dynamic proxy technology to decorate the message by intercepting the message to replace the execution of the original object behavior; the other is to use static weaving to introduce A specific syntax creates "aspects" so that the compiler can weave in code about the "aspects" during compilation.

2.Introduction to Spring MVC

Spring MVC is a follow-up product of Spring Framework and has been integrated into Spring Web Flow. The Spring features it natively supports make development very simple and standardized. Spring MVC separates the roles of controllers, model objects, dispatchers, and handler objects, making them easier to customize.

3.Introduction to MyBatis

MyBatis was originally an open source project iBatis of Apache. In 2010, the project was moved from Apache Software Foundation to Google Code and renamed MyBatis. MyBatis is a Java-based persistence layer framework. The persistence layer framework provided by iBATIS includes SQL Maps and Data Access Objects (DAO). MyBatis eliminates almost all JDBC code and manual setting of parameters and retrieval of result sets. MyBatis uses simple XML or annotations for configuration and original mapping, mapping interfaces and Java POJOs (Plain Old Java Objects, ordinary Java objects) into records in the database. It can be understood that MyBatis is a framework used to help you manage data additions, deletions, modifications and queries.

3systemanalysis

3.1Possibility analysis

Through preliminary investigation and analysis of the purpose of the operation system of this training institution, feasibility plans are proposed and demonstrated one by one. Here we mainly analyze from the aspects of technical feasibility, economic feasibility, operational feasibility and so on.

3.1.1 Technical feasibility

The operation system of this training institution uses JAVA as the development language and the Spring Boot framework. It is a B/S architecture system based on the WEB platform.

(1) Java provides stable performance, excellent upgradeability, faster development, easier management, new languages ​​and services. The entire system helps teacher users do most of the unimportant and trivial work.

(2) The development of systems based on the B/S model has become increasingly mature.

(3) As we all know, Java is an object-oriented development language. Program developers can easily use some known solutions on the Eclipse platform.​    

Therefore, the development technology of the training institution operation system is highly feasible, and the developers have mastered certain development technologies, so the development technology of this system is feasible.

3.1.2 Economic feasibility

The software used in the operation system of this training institution is all open source, which can save a lot of energy and resources and reduce development costs. At the same time, the computer configuration requirements are also extremely low, and even obsolete computers can meet the needs. Therefore, this system is completely economically feasible, so it is very economically feasible.

3.1.3 Operational feasibility

The interface of the training institution's operation system is simple and easy to operate. Teacher users can access and operate it as long as they have used computers. This system has the characteristics of easy operation, easy management and good interactivity. It is very simple in operation, so it has high feasibility in operation.

To sum up, the development goals of this system have been clearly defined, and it is highly feasible in terms of technology, economy and operation. It also requires low investment, perfect functions and convenient management, so the development of the system is completely feasible.

3.2 System performance analysis

3.2.1 System security

The operating system of this training institution must strictly control management authority. The specific requirements are as follows:

(1) If you want to manage the training institution's operating system, you must first log in to the system with the teacher's user name and password. Teacher users without permission cannot log in to the system in any way and view any information and data in the system. This can Ensure the safety, reliability and accuracy of the system.

(2) Different permissions are set in the specific implementation. Teacher users with different permissions cannot perform skip-level operations after logging in to the system.

3.2.2 Data integrity

(1) All recorded information must be kept comprehensive, and the information recorded content cannot be empty.

(2) The correlation between various data must be kept correct.

(3) The same data must be consistent in different records.

3.3 System interface analysis

At present, interface design has become a key indicator for evaluating software quality. A good teacher user interface can increase teacher users' confidence and interest in using the system, thereby improving work efficiency. JSP technology uses JAVA language as a scripting language. , JSP web pages provide an interface to the entire server-side JAVA library unit to serve HTTP applications. It is easier to create dynamic pages. The customer interface refers to the interface between the software system and the teacher user, which often covers the interface formats of output, input, and human-computer dialogue.

1. Output design

Output is when the computer solves the input basic information, generates high-quality and effective information, and makes it available to managers in a certain format. This is the main responsibility and goal of output design.

The process of system development is opposite to the implementation process, not from input design to output design, but from output design to input design. This is because the output form is directly related to the user, and the design purpose should be to ensure that the user can use the output form easily and to reflect useful information from each department in a timely manner. The principle of output design is to consider all the needs of different management levels as a whole, but also to be concise and not to provide teachers and users with unnecessary information.

2. Enter the design

The collection and entry of input data is cumbersome, requires a lot of manpower and certain equipment, and often makes mistakes. Once the data input into the system is incorrect, the processed output will amplify these errors, so the accuracy of the input data plays a decisive role in the performance of the entire system.

The input design has the following principles:

1) The input volume should be kept as low as possible to meet the processing requirements. With less input, there will be fewer errors and less time to prepare the data.

2) The input preparation and input process should be made as convenient as possible, so as to reduce the incidence of errors.

3) The input data should be checked as early as possible (as close as possible to the point where the original data occurred) so that errors can be corrected in a timely manner.

4) Input data is recorded as early as possible into the form required for its processing to prevent errors that may occur when the data is transferred from one medium to another and needs to be transcribed.

3.4System flow process harmony

Figure 3-3 Login flow chart

Picture 3-4Repair secretProcedure diagram

4 System outline design

4.1Overview

This system adopts two modes: B/S structure (Browser/Server, browser/server structure) and Web service-based model. It is a model structure suitable for the Internet environment. As long as teacher users can connect to the Internet, they can use it at any time and anywhere. The system working principle diagram is shown in Figure 4-1:

4.2 system structure

This system is a website system based on B/S architecture. The functional structure diagram is shown below:

图4-2Functional structure

4.3.Number setting design

4.3.1 Number of functions

The goal of conceptual design is to design a conceptual model of a database system that reflects the information needs of an organizational department. The conceptual model of the database system is independent of the logical structure of the database system, the database management system (DBMS), and the computer system.

The design method of conceptual model is to use conceptual data model (such as E-R model) to represent data and the interconnection between data based on demand analysis, and design a conceptual model of the database system that reflects the information needs and processing needs of teacher users. The goal of conceptual design is to accurately describe the information model in the application field and support various applications of teacher users, so that it can be easily converted into a logical model of the database system and easily understood by teacher users. The database system conceptual model is a data model oriented to the real world and cannot be directly used for the implementation of the database system. At this stage, teacher users can participate in and evaluate the design of the database system, which helps ensure that the design of the database system matches the needs of teacher users. In the design of conceptual patterns, the E-R model method is the most common design method. The E-R diagram of this system is shown below:

4.3.2 Number setting table

The training institution operation system requires a backend database. The details of each table in the database are introduced below:

Table 4.1 Class

Field

type

null

default

Comment

id (primary key)

bigint(20)

no

primary key

addtime

timestamp

no

CURRENT_TIMESTAMP

creation time

banjimingcheng

varchar(200)

yes

NULL

class name

jiaoshizhanghao

varchar(200)

yes

NULL

Teacher account

jiaoshixingming

varchar(200)

yes

NULL

Teacher name

zhanghao

varchar(200)

yes

NULL

account

xingming

varchar(200)

yes

NULL

Name

xingbie

varchar(200)

yes

NULL

gender

shouji

varchar(200)

yes

NULL

cell phone

touxiang

varchar(200)

yes

NULL

avatar

userid

bigint(20)

yes

NULL

user id

Table 4.2 Test paper table

Field

type

null

default

Comment

id (primary key)

bigint(20)

no

primary key

addtime

timestamp

no

CURRENT_TIMESTAMP

creation time

name

varchar(200)

no

Paper name

time

int(11)

no

Exam duration (minutes)

status

int(11)

no

0

Exam paper status

Table 4.3 Test question list

Field

type

null

default

Comment

id (primary key)

bigint(20)

no

primary key

addtime

timestamp

no

CURRENT_TIMESTAMP

creation time

papers

bigint(20)

no

The test paper id (foreign key)

papername

varchar(200)

no

Paper name

questionname

varchar(200)

no

Question name

options

longtext

yes

NULL

options, json string

score

bigint(20)

yes

0

Points

answer

varchar(200)

yes

NULL

correct answer

analysis

longtext

yes

NULL

Answer analysis

type

bigint(20)

yes

0

Question type, 0: single-choice question 1: multiple-choice question 2: true-false question 3: fill-in-the-blank question (multiple-choice question is not considered for now)

sequence

bigint(20)

yes

100

The test questions are sorted, the larger the value, the higher the rank.

Table 4.4 Exam Record Form

Field

type

null

default

Comment

id (primary key)

bigint(20)

no

primary key

addtime

timestamp

no

CURRENT_TIMESTAMP

creation time

userid

bigint(20)

no

user id

username

varchar(200)

yes

NULL

username

papers

bigint(20)

no

Exam paper id (foreign key)

papername

varchar(200)

no

Paper name

questionid

bigint(20)

no

Question ID (foreign key)

questionname

varchar(200)

no

Question name

options

longtext

yes

NULL

options, json string

score

bigint(20)

yes

0

Points

answer

varchar(200)

yes

NULL

correct answer

analysis

longtext

yes

NULL

Answer analysis

myscore

bigint(20)

no

0

question score

myanswer

varchar(200)

yes

NULL

Candidate answers

Table 4.5 Announcement

Field

type

null

default

Comment

id (primary key)

bigint(20)

no

primary key

addtime

timestamp

no

CURRENT_TIMESTAMP

creation time

biaoti

varchar(200)

yes

NULL

title

neirong

longtext

yes

NULL

content

tupian

varchar(200)

yes

NULL

picture

fujian

varchar(200)

yes

NULL

appendix

fabushijian

date

yes

NULL

release time

Table 4.6 Teacher

Field

type

null

default

Comment

id (primary key)

bigint(20)

no

primary key

addtime

timestamp

no

CURRENT_TIMESTAMP

creation time

jiaoshizhanghao

varchar(200)

no

Teacher account

mima

varchar(200)

no

password

jiaoshixingming

varchar(200)

no

Teacher name

xingbie

varchar(200)

yes

NULL

gender

nianling

int(11)

yes

NULL

age

shouji

varchar(200)

yes

NULL

cell phone

youxiang

varchar(200)

yes

NULL

Mail

touxiang

varchar(200)

yes

NULL

avatar

Table 4.7 Attendance

Field

type

null

default

Comment

id (primary key)

bigint(20)

no

primary key

addtime

timestamp

no

CURRENT_TIMESTAMP

creation time

jiaoshizhanghao

varchar(200)

yes

NULL

Teacher account

jiaoshixingming

varchar(200)

yes

NULL

Teacher name

kechengmingcheng

varchar(200)

yes

NULL

Course Title

shangkedidian

varchar(200)

NULL

上课地点

shangkeriqi

varchar(200)

NULL

上课日期

shangkeshijian

varchar(200)

NULL

上课时间

kaoqintupian

varchar(200)

NULL

考勤图片

kaoqinshijian

datetime

NULL

考勤时间

sfsh

varchar(200)

是否审核

shhf

longtext

NULL

审核回复

userid

bigint(20)

NULL

用户id

表4.8 课程表

字段

类型

默认

注释

id (主键)

bigint(20)

主键

addtime

timestamp

CURRENT_TIMESTAMP

创建时间

kechengmingcheng

varchar(200)

NULL

课程名称

kemu

varchar(200)

NULL

科目

shangkedidian

varchar(200)

NULL

上课地点

shangkeriqi

date

NULL

上课日期

shangkeshijian

varchar(200)

NULL

上课时间

jiaoshizhanghao

varchar(200)

NULL

教师账号

jiaoshixingming

varchar(200)

NULL

教师姓名

zhanghao

varchar(200)

NULL

账号

xingming

varchar(200)

NULL

姓名

userid

bigint(20)

NULL

用户id

表4.9 科目

字段

类型

默认

注释

id (主键)

bigint(20)

主键

addtime

timestamp

CURRENT_TIMESTAMP

创建时间

kemu

varchar(200)

科目

表4.10 时间段

字段

类型

默认

注释

id (主键)

bigint(20)

主键

addtime

timestamp

CURRENT_TIMESTAMP

创建时间

shijianduan

varchar(200)

NULL

时间段

表4.11 管理员表

字段

类型

默认

注释

id (主键)

bigint(20)

主键

username

varchar(100)

用户名

password

varchar(100)

密码

role

varchar(100)

管理员

角色

addtime

timestamp

CURRENT_TIMESTAMP

新增时间

表4.12 学生

字段

类型

默认

注释

id (主键)

bigint(20)

主键

addtime

timestamp

CURRENT_TIMESTAMP

创建时间

zhanghao

varchar(200)

账号

mima

varchar(200)

密码

xingming

varchar(200)

姓名

xingbie

varchar(200)

NULL

性别

nianling

int(11)

NULL

年龄

shouji

varchar(200)

NULL

手机

youxiang

varchar(200)

NULL

邮箱

touxiang

varchar(200)

NULL

头像

5系统详细实现

5.1 管理员模块的实现

5.1.1 考勤管理

培训机构运营系统的系统管理员可以管理考勤信息,可以对考勤信息进行查询,审核,删除操作。具体界面的展示如图5.1所示。

图5.1 考勤界面

5.1.3 教师管理

系统管理员可以对教师信息进行增加,修改,删除,查询操作。界面如下图所示:

图5.2 教师添加界面

5.2 教师模块的实现

5.2.1 课程表管理

教师用户登录后,可以添加课程表信息,修改,删除以及查询操作。界面如下图所示:

图5.4 课程表管理界面

5.2.2 考勤管理

教师用户登录后,可以对考勤信息进行添加。界面如下图所示:

5.3 学生模块的实现

5.3.1 查看公告

学生用户登录后可以对查看公告信息。界面如下图所示:

图5.5 查看公告界面

5.3.2 查看课程表

学生用户登录后可以查看课程表信息。界面如下图所示:

图5.6 查看课程表信息界面

6系统测试

6.1概念和意义

测试的定义:程序测试是为了发现错误而执行程序的过程。测试(Testing)的任务与目的可以描述为:

目的:发现程序的错误;

任务:通过在计算机上执行程序,暴露程序中潜在的错误。

另一个预测是相关的术语叫纠错(Debugging)。它的目的与任务可以规定为:

目的:定位和纠正错误;

任务:消除软件故障,保证程序的可靠运行。测试与纠错的关系,可以用图6-1的数据流图来说明。图中表明,每一次测试都要准备好若干必要的测试数据,与被测试程序一道送入计算机执行。通常把一次程序执行需要的测试数据,称为一个“测试用例(Test Case)。每一个测试用例产生一个相应的“测试结果”。如果它与“期望结果”不想符合,便说明程序中存在错误,需要用纠错来改正。

图6.1测试与纠错信息流程

6.2特性

(1)挑剔性

测试是为了证明程序有错,而不是证明程序无错。因此,对于被测程序就是要“纯毛求疵”,就是要“鸡蛋里挑骨头”。

(2)复杂性

测试仪程序则比较容易,这其实是一个误区。设计测试用力是一项需要细致和高度技巧的高能工作,稍有不慎就会顾此失彼,发生不应用得数楼。

(3)不彻底性

实际测试都是不彻底的,当然不能够保证测试后的程序不存在遗漏的错误。

(4)经济性

通场这种测试称为“选择测试(Selective Testing)”。为了降低测试成本,选择测试用力是应注意遵守“经济性”的原则。

6.3重要性

软件测试在软件生命周期中占据重要的地位,在传统的瀑布模型中,软件测试学仅处于运行维护阶段之前,是软件产品交付教师用户使用之前保证软件质量的重要手段。近来,软件工程界趋向于一种新的观点,即认为软件生命周期每一阶段中都应包含测试,从而检验本阶段的成果是否接近预期的目标,尽可能早的发现错误并加以修正,如果不在早期阶段进行测试,错误的延时扩散常常会导致最后成品测试的巨大困难。

6.4测试方法

首先我们来说界面测试,界面测试是为了使程序在不同的的操作平台上能够运行界面,并且能够保持原来的风格。我把完整程序拷贝到Windows 7环境下,似的程序运行正常,运行界面上的字体图片等设置都能够保持得非常好。不出现字体变形等情况!

其次进行功能测试。该系统测试采用的是单元测试,集成测试,完善性测试等多种方式进行测试。

经过测试,所有功能都能得以实现,没有任何变形。至此,在功能的测试上也已经比较圆满的完成了。

由于经验不足,写代码时出现了一些考虑不周的系统缺陷,写代码的时候会出现与设想不一致,比如说代码不规范导致接口与接口之间出现问题,功能与客户的要求不符合,这样导致产品不能过关,无法交付。所以产品在上线前必须反复测试,经过反复测试,修改,再测试,再修改,产品才能够不断完善。在整个系统测试中,根据需求文档和设计文档,逐一对功能进行检测并写好测试用例,有效避免残片缺陷,因为产品出现缺陷不仅影响功能,而且可以导致数据的不准确,导致产品质量的降低,经过测试,才能使得产品的稳定性和成熟度得到极大的提升,产品质量也才有保证。

6.5 功能测试

功能测试主要包括五项内容:适用性、准确性、可操作性、依从性、安全性。

本系统功能测试如表6.1所示:

表6.1  系统功能测试

测试内容

测试结果

适用性

准确性

可操作性

依从性

安全性

6.6可用性测试

可用性测试用于检测系统的可操作性、可理解性、可学习性等方面内容。具体测试方面如表6.2所示。

表6.2 系统可用性测试

测试项

测试人员的评价

窗口移动、大小改变、关闭等操作是否正常

操作模块是否友好

模块、提示内容等文字描述是否正确

模块布局是否协调、合理

模块的状态是否正确(对选中项能否发生对应切换)

鼠标、键盘操作是否支持

所需数据项是否正确显示

操作流程是否合理

是否提供帮助信息

6.7性能测试

性能测试主要通过模拟系统运行环境,测试系统性能是否符合客户需求。性能测试的重要技术指标就是:系统运行速度、网络响应时间和支持并发节点数。

1)系统运行速度:通过在不同计算机上试运行本系统,没有发现有任何迟滞、停顿现象。

2)网络响应时间:网络响应时间主要包括网络最小响应时间、平均响应时间、最大响应时间三个参数。经过测试,在网络运营良好状态下,NBA局域网内响应时间三参数为:1/2/6s,NBA外网响应时间三参数为3/7/12s,符合客户需求,属于教师用户心理可承受范围。

3)支持并发节点数:经过模拟环境测试,本系统在并发节点达46个时,网络运营速度会发生较大波动,延迟时间10秒左右,符合客户需求。

6.8测试分析

本网站设计时借鉴了国内外优秀网站的优点,从界面到系统设计都保证了教师用户能够方便操作。系统的主要特点和优点归纳如下:

(1)本系统用的移置性和针对性都比较高,因为针对性高可以提供更好的服务而移置性可以在多个系统上运行,更给客户带来了极大的方便。

(2)该完整内容全面,管理方便可以及时的全面的处理各种错误,异常,这样避免了很多因教师用户的马虎操作而出现的失误,其操作方便,教师用户界面友好,能够上网的人都可以很好的进行操作。

6.9测试结果分析

经过对上述测试结果分析,本系统符合教师用户需求。所有基本功能点实现,操作简单,操作流程简单合理,产品运行性能良好,是一款值得推广的培训机构运营系统

结论

在这次毕业设计中遇到的最困难的方面就是在数据库方面的知识,在刚开始进行毕业设计的时候感觉十分困难,根本不知道该从何处下手,但不断的坚持,设计最终被完成。无论多么的困难,只要能够坚持下来,善于去找到好的材料来研究,在研究中充分利用资源,没有困难是不会被成功解决的。

在开发系统的过程中,本人运用到Spring Boot技术和平时学习中所了解的一些技术,通过实现这些技术,大大提高了整个系统的性能。在论文中这些技术都做了比较详细的介绍。本系统还存在很多缺点和不完善的地方,例如有些细节上做的还不够完善,有些功能模块还需要加强。在今后的日子里,能够对这些不足进行改善。

通过这次最终的毕业设计,平时所学到的知识不仅融合了,而且获得了许多计算机知识。在整个设计过程中明白了许多东西,也培养独立工作能力,树立信心,对自己能力的工作能力,我相信以后会学习和工作生活中有至关重要的作用。同时也大大提高了手的能力,使其难以充分体会探索的乐趣和成功的创作过程,设计过程中汲取的东西,是一笔宝贵的财富。

回顾过去做毕业设计的整个过程,充满了付出和收获,但是当你看到成果的时候的感觉,是一种难以用言语表达的喜悦之感这些在毕业设计过程中学习到的东西将会使我终身受益!

最后,感谢指导老师的关心和指导,在我毕业设计的整个过程中,他给与了我很多的帮助和讲解,在导师的帮助下我的毕业设计才能如此顺利的完成。

致谢语

经过几个多月的不断学习,我的毕业设计终于如期完成。此次毕业设计是对我们日常所学计算机理论知识的一次综合性评测,也是将理论应用到实践的一项考察。

首先我要感谢此次指导我的老师,是他的及时纠正我在设计当中出现的问题,使得我的设计高质量完成。指导老师在我本次培训机构运营系统的开发过程中,为程序、框架的设计、代码等方面以及论文设计提供了很多宝贵的意见,并且为我推荐了许多相关的资料,他的指导和建议使我受益匪浅,通过老师的耐心辅导和指点,我的论文顺利完成,在此,我表示深刻的感谢。

我也要感谢帮助过我的同学们,和我一起探讨论文的不足,给我的设计提出宝贵的建议,在这次设计中他们的帮助使得我的设计更加完善更加具体。

最后,我也要感谢学校为我们提供了一个良好的学校环境。祝愿学校的领导教师以及和我一起奋斗的同学们工作顺利,事业有成,也要祝愿学校的前景更加辉煌。

参考文献

[1]付昕. 基于B/S模式仓库管理系统的实现[J].山东省农业管理干部学院学报, 2010, 27(4):166-168

[2] 雷文华, 薛小文. MATLAB和Servlet在网络数据处理中的应用[J]. 电子测试, 2010, (11):81-86.

[3] 黄艳峰. 在Java语言中实施“案例教学”的研究与探索[J]. 电脑知识与技术, 2010, 6(5):1148-1149

[4] 王玉英. 基于JSP的MySQL数据库访问技术[J]. 现代计算机:专业版, 2010, 19(14):63-66

[5] 赵钢. JSP Servlet+EJB的Web模式应用研究[J]. 电子设计工程, 2013, 21(13):47-49

[6] David L.Anderson.Managing  Information Systems.清华大学出版社,2002:16

[7] 王家华.软件工程[M],沈阳:东北大学出版社,2011:46

[8] 张孝祥,徐明华.软件开发课堂.清华大学出版社,2009:55

[9] 崔洋.MySQL数据库应用从入门到精通.中国铁道出版社,2013:27

[10] 王珊,萨师煊.数据库系统概论.高等教育出版社, 2006:16

[11] 崔洋.MySQL数据库应用从入门到精通.中国铁道出版社,2013:27

[12] 王珊,萨师煊.数据库系统概论.高等教育出版社, 2006:16

[13] 张海潘.软件工程导论.清华大学出版社,2008:86

[14] 黄艳峰. 在Java语言中实施“案例教学”的研究与探索[J]. 电脑知识与技术, 2010, 6(5):1148-1149

[15] 王玉英. 基于JSP的MySQL数据库访问技术[J]. 现代计算机:专业版, 2010, 19(14):63-66

Guess you like

Origin blog.csdn.net/licongzhuo/article/details/134565260