Traffic management information system/traffic management system based on j2ee

Summary

With the development of today's society and the progress of the times, changes are also taking place in all walks of life. For example, in traffic management , the use of the Internet has gradually entered people's lives. Traditional traffic management relies on manual statistics by staff offline. This traditional method has great limitations and costs a lot . Computers and traffic management information systems provide new directions and new possibilities for solving current problems.

This traffic management information system uses SSM as the framework, JSP technology, B/S mode and MySql as the database running in the background. This system mainly includes the following functional modules: user, venue information, test registration, test results, motor vehicle, driver's license, violation information and other modules.

This article focuses on the analysis, design and implementation of the traffic management information system . First, it introduces the development system and environment configuration, and the design of the database . It analyzes the functional requirements of the system , designs the system according to the requirements, and clarifies the specifications of each part to complete the process. System design. Finally, a series of tests are conducted on the designed system to ensure that the system meets the expected requirements, and then the system is further improved .

Keywords: traffic management information system;SSM framework; MySql database;JSP technology


Abstract

With the development of today's society and the progress of the times, all walks of life are also changing. For example, in the aspect of traffic management, the use of network has gradually entered people's life. The traditional traffic management is the manual statistics of the staff offline. This traditional way has great limitations and costs a lot. Computer and traffic management information system provide a new direction and possibility to solve the current problems.

The traffic management information system takes SSM as the framework, JSP technology, B / S mode and MySQL as the database running in the background. The system mainly includes the following functional modules: user, site information, examination registration, examination results, motor vehicle, driver's license, violation information and so on.

This paper focuses on the analysis, design and implementation of traffic management information system. Firstly, it introduces the development system, environment configuration and database design, analyzes the functional requirements of the system, designs the system according to the requirements, and defines the specifications of each part to complete the design of the system. Finally, a series of tests are carried out on the designed system to make the system meet the expected requirements, and then the system is further improved.

Key words: traffic management information system; SSM framework; Mysql database; JSP technology


Table of contents

Abstract I

Chapter 1 Introduction 1 

1.1   Research background 3

1.2 Research status

1.3   Functions implemented by the system

1.4 The main work of this article 

1.5   Organizational structure of this article

Chapter 2 Development Technology and Environment Configuration 

2.1 Introduction to JSP technology 

2.2 SSM framework 

2.3 MySQL environment configuration

2. 4 Introduction to   mysql database

2. 5   B/S architecture

2.6 Tomcat server 

Chapter 3 System Analysis and Design 

3.1 Feasibility analysis

3.1.1 Technical feasibility

3.1.2 Operational feasibility

3.1.3 Economic feasibility

3.1.4 Legal feasibility

3.2   Requirements analysis

3.3 Analysis of system process

3.4 Overall design

3.5 Database design and implementation

3.5.1 Database conceptual structure design

3.5.2 Specific design of database

Chapter 4 Specific Implementation of System Functions  

4.1 Administrator function module

4.2 User function module

Chapter 5 System Testing 

Summary 

references

Acknowledgments 

Chapter One Introduction

1. 1 Research background

This traffic management information system is a traffic management information system including administrators and users . The system must have a good and stable network environment during use. If used in an unstable network environment, system freezes and loading delays may occur . Therefore, previous traffic management should also get rid of the manual management model and use computer technology to carry out information management work. Therefore, the traffic management information system designed this time combines text and images, and can provide users with online viewing of venue information for registration, as well as functions such as examination registration and examination results , which cannot be achieved by the traditional model . After several years of practice and summary , traffic management is developing in a deeper direction. This system is designed to improve traffic management efficiency and allow users to register online anytime, anywhere without restrictions .

Therefore, it is very necessary to develop a high-efficiency, low-error traffic management information system . The main purpose of this system is to fully realize the digitization of the traffic management information system , so that the administrator can master all modules and the users can have an intuitive understanding of traffic management .

1.2   Research status

In recent years, the development of mobile Internet has indeed exceeded people's imagination. In this era of rapid development, people's life pace is getting faster and faster, and people cannot do without computers, mobile phones, the Internet and other supplies . In the past, traffic management was carried out manually, records and operations were not only cumbersome and trivial, but errors often occurred, which brought great inconvenience to the majority of users. It also required a lot of manpower, material and financial resources, which was a huge waste of time for the traffic management department . H. As the Internet continues to deepen and develop, the development of traffic management information systems will become more and more convenient and common .

1.3 Functions implemented by the system

The design task this time is to design a traffic management information system , through which the user's examination registration operation can be satisfied . The main functions of the system include: users, venue information, examination registration, examination results, motor vehicles and other functions.

Administrators can log in according to the account given by the system. After logging in, they can enter the traffic management information system to manage all modules. Including viewing and modifying your personal information and login password.

The system assigns a user account to each user. Users can log in to the system through the account. Users can view venue information, exam registration, exam results , modify personal information and other operations online .

1. 4 The main work of this article

This article is mainly about the design and implementation of the system project. The entire article includes the software development process of the entire project.

The first is the preliminary preparation work. Starting from the background of the topic selection , we have a deep understanding of the current research situation and a certain understanding of traffic management . Then we prepare the relevant technologies required for the topic and the algorithms required for this project. Conduct relevant research and finally perform a requirements analysis on the system .

The mid-term is mainly about the research on system implementation, which is the detailed design and implementation of the system. This includes the study of the overall system architecture and the division of each functional module of the system. The detailed design of the system is the detailed design of the divided modules and the realization of each module.

Later system testing phase. Post-testing is to test each module of the system and the entire system, output the test results, analyze these results and make suggestions for correction and optimization.

Finally, summarize the development experience of the entire project and make plans and prospects for the future.

1.5 Organizational structure of this article

This article is organized as follows:

1 Introduction. This article summarizes the research background of this article and analyzes the structure of the traffic management information system ; from the user's perspective, we discover the shortcomings in today's traffic management and point out the characteristics of this system.

 2. Introduction to the main usage technologies, development environment, and environment configuration of the system. It introduces the system development environment Eclipse used in this development , and also introduces the SSM framework , JSP technology and MySql environment configuration.

3. System design and implementation. This paper introduces the idea of ​​developing traffic management information system information system and conducts demand analysis. Based on the demand analysis, the overall design, detailed design, database and other related aspects are introduced; this part is the main purpose of the full text.

4. Specific implementation of system function modules. Describe the implementation of some main specific functions in development. Involves database, page parameter transfer and other related knowledge.

5. Summary and outlook. Summarize the entire paper and design process, point out the experience of the system design process and the problems existing in the design.Insufficient; there are still areas that need to be improved in the future.


Chapter 2  Development Technology and Environment Configuration

A traffic management information system was developed using JSP as the development technology , the current advanced SSM framework, Eclipse as the system development tool, and MySQL as the backend database .

2.1  Introduction to JSP technology

This traffic management information system mainly uses JSP technology in the background management of web page effects. Now more and more software traffic management uses JSP technology to develop web-side applications. Because as far as the web page production modules currently on the market are concerned, the content contained in JSP technology is relatively rich and comprehensive, and JSP technology has become the most common web page development technology on the market today. The full name of JSP in Chinese is JSP server-side language. We all know that JSP is a dynamic web development technology, and its development is cross-platform. JSP can run on the Windows operating system or Linux system. JSP is a relatively simplified web page technology. It is a dynamic web page technology standard jointly initiated by many traffic managers . In JSP, you can insert html web pages, CSS, JSP script, etc. to create dynamic web pages, and the styles are more diverse.

2.2  SSM framework

The mainstream framework for developing information management systems is SSM (Spring + Spring MVC + MyBatis) . The SSM framework web layer uses the Spring MVC framework to make it simple to transmit front-end and back-end data; for the business layer, the Spring framework is used as a lightweight control inversion ( IoC) and aspect-oriented (AOP) container framework; for related SQL operations, Mybatis is used as the persistence layer framework to encapsulate JDBC, making the underlying operations of the database transparent to developers .

2.3 MySQL environment configuration

(1) The data of this system uses MySQL, so MySQL must be installed in the specified directory. If you download a non-installed MySQL compressed package, just decompress it directly to the specified directory. Then click on the file C:\Program Files\MySQL\bin\winMySQLadmin.exe where C:\Program Files\MySQL is the MySQL installation directory. Enter the initial user and password of winMySQLadmin (note: this is not the user and password in MySQL). Don’t worry. After confirmation, a traffic light icon will appear in the task launch bar in the lower right corner. The red light means that the service is stopped, and the green light means that the service is stopped. Normally, left-click this icon->winnt->install the service to install the service, then left-click this icon->winnt->start the service to start the MySQL service.

(2) Modify the root password of the MySQL database. Use cmd to enter the command line mode and enter the following command:

cd C:\Program Files\MySQL\bin

MySQLadmin -u root -p password 123

Enter password: appears when you press Enter. This is to enter the original password. The password was empty when it was first installed, so just press Enter. At this time, the password of the account root in MySQL is changed to 123 and the installation is completed.

2. 4   Introduction to mysql database 

Utilizing MYSQL's data independence, security and other features to operate data in software projects can ensure data accuracy and reduce programmers' application development time.

The characteristic of MYSQL is that it supports multi-threading, can make full use of system resources conveniently, effectively improves speed, and also provides multiple ways to connect to the database; MYSQL's functions are relatively weak and small in scale, but the system requirements are not high. MYSQL can fully meet the needs of this website.

Using MYSQL to establish a system database is not only conducive to the early integration of data processing business, but also conducive to the development of the latter two data expansion operations.

2. 5   B/S architecture 

Applying the B/S mode when sending requests to other users has a unique advantage: when users send requests to other Web servers through the network, they only need to use the browser to implement this function. One of the benefits of this function is that it effectively simplifies the client. Most of the developed software only requires the use of a browser. The normal operation of the client is achieved through these browsers, while the server is responsible for storing and reading data. Other multifunctional jobs.

B/S architecture mainly consists of three layers: presentation logic layer, control logic layer, and data layer. Representation of the logic layer: The function of service request is mainly of the logic layer. After the Web server is ready, the service request is sent first. After the first request is received by the server, the received request information will be identified on the web server. The identification operation is performed by the server. As long as the server identifies the request operation, the received request information will be identified. The information is returned to the client, and the browser receives the requested information. Control logic layer: The user's request is received by the control logic layer. The corresponding program and database connection are the first conditions for receiving the user data request. Then the request information data is processed. The request data is processed and returned to the Web server. The final processing is completed . The results are finally returned to the client through the web server again. Data layer: The main task of the data layer is for the server to receive requests from the Web server, but it also includes performing database query, modification, and deletion operations. Finally, the database operation results will be returned to the Web server. The relationship between the three layers of representation logic layer, control logic layer and data layer is independent, but the three layers are interconnected with each other.

Figure 2-1 Three-layer structure diagram of B/S mode

2.6 Tomcat server

Tomcat is a small and lightweight application server. It is commonly used in small and medium-sized systems and situations where there are not many concurrent access users. It is the first choice for developing and debugging JSP programs. You can think of it this way,

When the Apahce server is configured on a machine, it can be used to respond to access requests for HTML pages. In fact, the Tomcat part is an extension of the Apache server, but it runs independently, so when running tomcat, it actually runs as a separate process from Apache. OracleOracle database system is a set of software products with distributed database as the core provided by Oracle Corporation of the United States (Oracle). It is currently one of the most popular client/server (CLIENT/SERVER) or B/S architecture databases. Oracle database is currently the most widely used database management system in the world. As a general database system, it has complete data management functions; as a relational database, it is a complete relational product: as a distributed database, it implements Distributed processing capabilities. But for all its knowledge, as long as you learn Oracle knowledge on one model, you can use it on various types of machines. Can run on all major platforms (including windows). Fully supports all industry standards. Adopt a completely open strategy. This enables customers to choose the most suitable solution. Full support to developers.


Chapter 3  System Analysis and Design

3.1 Feasibility analysis

For a complete system, feasibility analysis is a must, because it is related to the survival of the system. Analyze the significance of development. Can this website be used to supplement the deficiencies in the offline traffic management model and solve the problems ? Insufficiencies, etc., through this website, not only can the workload be continuously reduced, but also work and management efficiency can be made more efficient. Therefore, developing this website can achieve greater significance and value. After the website is completed, whether it can achieve the expected results must go through a feasibility analysis. After the analysis, it is decided whether to develop this system. In the development and design of this traffic management information system , feasibility analysis was conducted on technical, economic and operational aspects; 

3.1.1 Technical feasibility

With the development of the Internet, the Internet and computers have become necessities for people today, so the network environment and carrier required for this traffic management information system are already available. This traffic management information system has a clear interface and is easy to operate. Generally, it does not consume too much time when training personnel and is easy to operate. Regarding computer compatibility issues, this system can be installed and operated on a computer , so there is no need to find an additional compatible computer . This system relies on the Internet to operate, so it requires WIFI or data traffic for data transmission. Finally, the system will have a database to perform basic operations such as data storage, deletion, and search, so it is fully technically feasible.

3.1.2 Operational feasibility

Nowadays, with the rapid development of science and technology, computers have already entered people's daily lives, and people's working environment does not have as many requirements as before. Employees do not need to go to the company to work , and some work can be done at home. This has greatly improved people's work efficiency. The diversity of operations has also become higher. Therefore, computerization and intelligence of management are inevitable trends brought about by social development. Various intelligent software emerge in endlessly. Different software can meet different needs of users. This not only improves work efficiency but also completes some customer-specific tasks. need. This system not only has a simple and clear interface, but also adopts a visual interface. Users can modify, delete, add and other operations on relevant information by simply using the mouse and keyboard. Because the operation of this system is very simple and easy to get started, it only takes a short time for people who use the system for the first time to get started. It can be seen that this system is operationally feasible.

3.1. 3 Economic feasibility

First of all, as far as development technology is concerned, the development environments used to develop the system are all free, so there is no additional cost to use other development technologies during the development process. Secondly, the computers required for this system are very common. Both users and managers have computers , so no additional equipment is needed. The network can use local wireless networks or mobile phone data traffic, so the cost is low and acceptable. . The development of traffic management information systems can not only save the costs and resources required by the traffic management department , but also better manage personnel.

3.1.4 Legal feasibility _ 

There is no conflict between the design and development of the system platform and national policies and regulations. In addition, the operation and working mode used in the design and development of the platform are in line with users ' daily habits, making it easy to operate, flexible, easy to manage , and highly practical. The data used in the development process comes from open source code, there is no dispute over intellectual property rights, and it is legal.

3.2 Requirements   analysis

System module analysis is to provide corresponding descriptions and explanations for each module of the system. The modules of this system include two basic modules: administrator and user . The user module includes sub-modules such as venue information, exam registration, and exam results ; while the administrator module includes users, venue information, exam registration, and exam results . these submodules. Detailed analysis of system modules will make the structure of the system clearer, and system development will proceed more smoothly. 3.2.1 User module After logging in, the user enters the system and can view the home page, personal center, venue information management, test registration management, test result management, motor vehicle management, driver's license management, violation information management, etc. The user use case diagram is shown in Figure 3-2:

  

Guess you like

Origin blog.csdn.net/weixin_47958760/article/details/133563989