Design and implementation of Web-based parking lot management system (opening report + task book + thesis + PPT + source code)

 Undergraduate  Graduation  Project (Thesis) Opening Report     

Title  : Design and Implementation of Web-based Parking Lot Management System

Sources and research status of this topic:

(1) Source of subject

In recent years, with the progress of the times and the rapid development of the economy, people's living standards have also been greatly improved. Therefore, the demand for materials and the quality of life have also undergone rapid changes. In terms of travel, China's car ownership continues to increase. For example, the current share of automobiles in our country has greatly increased compared to before. At present, China has become a major automobile consumption and automobile production country in the world. Relevant data show that during the period from 2002 to 2006 in China, the proportion of new cars accounted for 60%, and the number of private car ownership reached nearly 30 million, and the annual growth rate of cars exceeded 50%. The number of cars will reach about 60 million, and it is estimated that the number of cars owned will exceed 200 million by the end of 2017. So, that leads to half the cars being parked in disorder. While promoting urban development, parking lots have become an indispensable part, but problems such as too many cars and few spaces, and parking difficulties have also followed, which are particularly prominent. With the rapid development of science and technology, the rapid popularization of the automobile industry and the popularization and rapid development of various motor vehicles, people have put forward higher requirements for the supporting facilities of the vehicles, especially the parking lot. The parking lot management system came into being under such circumstances of. Public toll parking lot is an important component of static traffic. It provides a traffic place with zero speed for parking. The birth of the parking lot management system can not only effectively manage vehicles and solve traffic congestion. It also promotes the construction of regular transportation facilities, while also reducing the probability of vehicle theft. In terms of technology, it is combined with other information systems and matched with existing intelligent systems. It has good openness and scalability, and is easy to manage. Through the market research and analysis some time ago, I have a preliminary understanding of the advantages and disadvantages of various parking software. For example, some traditional parking lot software is generated from traditional data records to replace manual entry. These software can only be sighed in the face of intelligent parking lot management software. The disadvantages are as follows: ①The system is closed, unable to realize network management, let alone support e-commerce. Due to the backward technical background, traditional software cannot realize network management or only support partial network applications, let alone support e-commerce, and cannot adapt to the requirements of enterprises in the Internet age; , Traditional software cannot achieve real-time dynamic processing of inventory information, pre-forecast and forward-looking information; ③ little consideration is given to management. Software is still not free from the shackles of tradition, and external reporting is the purpose of its existence.

In recent years, the management of parking lots in our country has gradually matured. Applying the above technologies to the management of parking lots, combined with the management requirements of users, the parking lot management system has become an important part of traffic settings, providing users with a An efficient management method, convenient and effective service and a safe, comfortable and intelligent living space promote the development of the environment. In order to meet the customer's requirements, an easy-to-operate parking lot management system is designed. The system consists of the following major modules: system information management module, parking space information management module, IC card information management module, toll management module, ticket reading information management module, etc. Among them, the parking space information management module and the reading ticket information fully solve the problem of single information, and can dynamically process the information in the parking lot, and park and pick up the car efficiently. In response to the issue of little management consideration, the administrator sets permissions to prevent some people from abusing their power and making profits. In view of the closed system, network management cannot be realized, and e-commerce cannot be supported. When logging in to the system, you can choose whether to log in as a user or an administrator. The process is all network management.

(2) Research Status

Parking lot management is actually information management. In the informatization of the parking lot, it involves the informatization of parking space management, the informatization of car owner management, and the informatization of parking information management. Doing a good job in informatization will help improve the management efficiency of the parking lot and enhance the competition of the parking lot. force.

To improve competitiveness, we need not only a good hardware environment, but also good customer service, and the way to achieve these goals is informatization. This topic, aiming at some information in the parking lot process, carries out informatization processing on it. In the parking lot process, it mainly involves fixed parking space information, free parking space information, car owner information, parking information, etc. Through the informatization of the above links, the standardized management of files is improved, which lays the foundation for future inquiries and statistics.

The intelligent management of the parking lot is the collective name for the vehicle charging and automatic equipment replacement management of the modern parking lot. It is a high-tech electromechanical integration product that completely bases the parking lot on computer management. According to Luo Haijiang, the product manager of Hengye International Holdings Group Co., Ltd., it started in 2001, and now it is becoming more and more perfect. The functions are more and more oriented to the actual needs at home and abroad, and the system operation is more humanized. Nowadays, the intelligent management of parking lots has passed the stage of following and imitating foreign products in the early stage, and has entered a stage of product innovation, keeping up with market demand and growing continuously. At present, there are more than 400 domestic companies that generate listening and planning systems, among which domestic parking lot system products account for about 80% of the market share, and foreign parking lot system market accounts for 20%. In Europe and the United States, it is understood that the parking industry in some European countries has a history of 50 years, and has reached a virtuous circle and orderly development. The parking industry has also become a large industry with an annual output value of one billion dollars. The annual revenue of the parking industry in the United States has reached 26 billion US dollars, accounting for 3.25% of the national GDP. And our country's parking gear license plate recognition firmly occupies the position of the lead singer. The card reader plays an important role in the parking lot management system, and now it has developed from the early simple contact card (magnetic card/ID card, etc.), to the inductive IC card, and then to the RFID card. The RFID card has the most right to speak.

The entrance part of the traditional parking lot management system is mainly composed of card readers , vehicle detectors , parking lot controllers, automatic barriers , and vehicle detection coils. The card readers use inductive IC cards. Most traditional parking lots use short-distance For the card reading method, you must stop and swipe the card to pass, which is very inconvenient to use. You need to roll down the window and reach out to swipe the card, and some need to get out of the car to swipe the card. It is easy to get wet in rainy days , and swiping the card to park up and down the ramp is likely to cause accidents such as car slipping and collisions. Slopes are also very scary for new drivers. Swiping the parking card has the disadvantage of slow traffic speed, especially during the peak time of entry and exit, it is easy to cause congestion. The parking lot adopts the whole process of video surveillance and dynamic feedback information, and there is still a certain guarantee in terms of safety. Therefore, in terms of optimization, this system adopts the combination of cards and tickets. In terms of card readers, RFID cards are used to solve the problem of inductive short-distance IC cards and greatly improve efficiency. For vehicle entry, the license plate recognition function is added to recognize the license plate, enter and exit the parking lot, and is aimed at users who have members in the parking lot. For temporary users, there is a ticket reading function, which can dynamically reflect the current parking space situation. The whole process adopts video monitoring, which is omni-directional and has no dead ends as much as possible.

The traditional parking lot management system cannot handle real-time dynamic processing, cannot protect the owner's information well, and improperly handles the authority of the manager, etc. This system can handle these problems well. Among them, the functions of system information management, parking space information management, IC card information management and other functions have solved this problem well. System information management functions include adding role information, managing role information, adding user information, managing user information, managing role information and managing user information. The module can query, edit and delete roles and users. Parking space information management includes adding parking space information and managing parking space information. The management parking space information module can query, edit and delete the owner's parking space information. IC card information management includes adding IC card types and managing IC card types. IC card information management can query, edit and delete the owner's IC card information. Charges can be divided into cash charges and card charges. Generally, VIP users charge by card, temporary users charge by cash, and software management implements hierarchical authority restrictions. For the person on duty at the exit, he can enter the charge management after logging in, during which all charges for the exit will be automatically recorded in the name of the person on duty and stored in the computer database. Since the duty officer is limited by authority and cannot enter higher software menu items in the system, he cannot interfere with the data recorded by the computer; the superior manager can query, check or print a duty section or any period of time or even the entire parking lot at any time. work record. In this way, the loss of parking fees and errors in financial statistics are fundamentally eliminated. At the same time, the automatic operation of the system eliminates the economic losses caused by favored cars and Bawang cars. Design a series of simple but not simple pages, as opposed to functions, improve the speed and accuracy of information processing, and be able to query and modify the situation of the parking lot in a timely, accurate and effective manner, thereby improving efficiency.

Research objectives, content and means of the subject:

The research goal of the project is to realize a parking lot management system that integrates a series of functions such as querying parking space status, car owner information management, parking space information management, IC card information management, and charging management. The new parking lot management system perfectly combines electronic technology and life concept, and provides an intelligent, simple and practical humanized parking lot management system. Efficiently handle the entry and exit of the car, and the entry, storage, and deletion of various information, effectively solving the problems of parking difficulties, traffic jams, etc., the owner can clearly see the status of the parking space, save the owner's time, and avoid some unnecessary things occur, greatly increasing safety and solving traffic problems. Car owners can enter or leave the parking lot in a short time and enjoy a comfortable and fast life.

The research content is: a parking lot management system that realizes car owners entering and exiting the parking lot and related information processing. During the system implementation process, the data table will be designed around these core functions, and then the corresponding outline design and detailed design will be carried out, and finally the system will be tested. Then it will analyze the development background of this system, the current status of the parking lot and the advantages of this system; then conduct demand analysis and its corresponding data flow chart; system analysis and its functional structure, etc., including system information management, parking spaces Information management, IC card information management, fixed owner parking management, temporary vehicle information management, toll management, printing management, system function operation, etc. In system information management, including adding role information, managing role information, adding user information, managing user information, managing role information and managing user information modules can query, edit and delete roles and users; employee information will be set in it and permissions, etc.; in the management of parking space information, including adding parking space information and managing parking space information, the management parking space information module can query, edit and delete the owner’s parking space information; in IC card information management, including adding IC card types, managing IC card type. Management of IC card information can query, edit and delete the owner's IC card information, and process the smart swiping card to make it more convenient for users to enter and exit; in the parking management of fixed car owners, the parking information of car owners can be queried and deleted ; In temporary vehicle information management, the parking information of temporary vehicle owners can be queried and deleted; in charge management, including adding charge information and managing charge information. You can choose to be a monthly user or an annual user. Correspondingly, the management charging information can charge the car owner's fee, and can query and delete the car owner's charging information; in the printing management, print the information that needs to be printed, including the information about the fixed car owner and the temporary car owner Printing and printing of the ticket machine; in the system function operation, you can operate the main system, log out or log in. Then it will carry out overall design and system architecture design; database design and detailed design; system testing and its corresponding functions; system analysis; system maintenance; system evaluation and finally a summary of the paper.

When testing the system, it is necessary to test several situations and make corresponding records. The post-maintenance is also the top priority. A good software lies in whether the post-maintenance is perfect. Bugs are repaired in time, so that car owners can enjoy a high-quality life. Do not delay its time, and be efficient in the true sense. Summarize a lot and improve the deficiencies. Finally, the problem of difficult parking and traffic jam can be solved. In terms of database, it must be handled well to ensure the safety of car owners' information, double safety, car safety and information safety.

The methods and means used in the study: the topic is the design and implementation of a web-based parking lot management system, which is realized by combining the front end and the back end. The front end uses jsp. A cross-platform dynamic web page standard, using java as the scripting language, embeds java code into html code, separates web page code and web page logic, and realizes the functions required by dynamic web pages. The user submits the data through the form, the JSP obtains it dynamically, and accesses the database to dynamically create this web page [3]. In today's society, JSP is adopted by many large and medium-sized enterprises. JSP plays a vital role in Java and is an indispensable part of J2EE. JSP is the first choice for developing web applications, it simplifies the development of web applications and maximizes the benefits. The background is implemented with the programming language J2EE. As an enterprise-level application specification J2EE, it is an open platform for the public. It provides a multi-level distributed application model and a series of technical specifications and components designed and developed for enterprises to develop software, with good compatibility, portability and security. Different developers follow the basic specifications, and J2EE suppliers support different J2EE standards drawn up internally, which solves the compatibility of information products used by enterprises at the back end. Nowadays, this specification has been affirmed by everyone, and is used by most enterprises for practical operation to improve development efficiency.

The system adopts the MVC design pattern. The characteristic of this method is that its logic layer and presentation layer are separated, and the function module and the display module are separated. At the same time, it also enhances the scalability, portability, maintainability and reusability of components of the application.

The B/S structure adopted by the system is browser and server structure. Under this structure, the user interface is all implemented through browse, that is, the front-end implements part of the transaction logic, and the server-side mainly implements the transaction logic. The powerful functions are realized through the browser and the development cost is saved. For enterprises, the B/S structure is a better choice than the C/S structure.

Functional realization: When the car is not in the parking space, the related technology detects it and sends the information to the system. The system processes the information and gets the result. The parking space is free, and a reduced full page of the parking lot shows that the parking space is free on the page. On the contrary, when an empty parking space enters the vehicle, a car information can be entered into the system, and the system will process it and display on the page that it has been parked.

Design (thesis) outline and schedule:

outline:

1.1 Research background and significance

1.2 Current status of system research

1.3 System Research Objectives

1.4 Paper structure

Chapter 2 System Development Technology

2.1 J2EE

2.2 MVC design pattern

2.3 Introduction to JSP

2.4 jQuery

2.6 Intelligent Function Introduction

2.51 RFID card technology

2.52 License Plate Recognition Function Introduction

Chapter Three System Analysis

3.1 Feasibility analysis

3.1.1 Technical Feasibility Analysis

3.1.2 Economic Feasibility Analysis

3.1.3 Operation Feasibility Analysis

3.2 Demand Analysis

3.2.1 System function description

3.2.2 Use Case Diagram Analysis

Chapter 4 Overall System Design

4.1 System Design

4..2 Key business design

4.3 Database Design

4.3.1 Analysis of database requirements

4.3.2 Realization of database

Chapter 5 Detailed Design and Implementation of the System

5.1 User login

5.2 System information management

5.3 Parking Space Management

5.4 IC card management

5.5 Temporary owner management

5.6 Fixed car owner management

5.7 Charge Management

5.8 Print Management

5.9 System function operation

Chapter 6 System Testing

6.1 System testing overview and use cases

Chapter VII Systematic Review

7.1 Systematic evaluation and significance

Chapter 9 Summary

references

thank you

schedule:

1. The topic opening of the graduation project should be completed before February 20, 2017

2. Demand analysis in the first and second weeks

3. Outline design for the third and fourth weeks

4. Detailed design for the fifth and sixth weeks

5. System development in the seventh, eighth and ninth weeks

6. System test in the tenth week

7. Collation of graduation design papers in the eleventh and twelfth weeks

Key references and bibliography:

[1] Cao Mingpeng, Zhao Wei. J2EE technology and its realization [J]. Computer Application, 2001, 21(10):20-23.

[2] Li Ping. Dynamic web page development technology based on JSP [J]. Microcomputer Information, 2009, 25(21):108-110.

[3] Wang Shan, Sa Shixuan. Introduction to Database Systems [M]. Beijing: Higher Education Press, 2007. 6-38

[4] Fan Xinmin. Implementation scheme of dynamic access to Web database based on JSP and JDBC technology [J]. Journal of Fujian Normal University: Natural Science Edition, 2002, 18(2):28-33.

[5] Cao Chunping, Wang Zhimin. Research and application of MVC design pattern [J]. Modern Electronic Technology, 2005, 28(20):80-82.

[6] Xu Xiaoxia, Bei Yuxin. Comparison of B/S Mode and C/S Mode [J]. Journal of Yanbian University: Natural Science Edition, 2002, 28(2):126-129.

[7] Ding Baokang: Practical Course of Database, Tsinghua University Press, 2004. 26-75.

[8] Feng Boqin et al.; Object-Oriented Analysis and Design, Mechanical Industry Press, 2004. 18-25.

[9] Liu Wenli. The current situation and development trend of domestic parking lot management system [J]. China New Technology and New Products, 2011 (01): 20-22.

[10] Lv Yingli. Research on Vehicle Entry and Exit Management System in Parking Lot [J]. Beijing Post and Telecommunications Engineering, Electronic Information Engineering. 2011(02).20-40.

[11] Liu Jiao, Research on Intelligent Parking Management System [J]. Hunan University, Control Science and Engineering. 2011(01):30-55.

[12] Wang Pu. 2013 Market Survey Report on China's Parking Lot Management System,  www.askci.com.  2013(01):15-28.

[13] Ye Junmin. Software Engineering (Second Edition). Beijing. Tsinghua University Press, 2010. 15-155.

[14] Qin Guorong. Software project training based on B/S architecture. Electronic Industry Press. 2004.45-60.

[15] Rong Chen. Design and Implementation of Parking Lot Management System. Science and Technology Innovation Herald. 2009 NO.23. 2-8.

[16] Liang Jianquan, Zhou Li, Meng Zhiyong, Tian Lijun. Proficient in lightweight JavaEE framework integration scheme [M]. People's Posts and Telecommunications Press. 2008. 45-95.

[17]Wang Zhiliang et al. RFID Reader Production Training Course. Mechanical Industry Press. 2013. 16-60.

[18] Zhang Lixia. Intelligent Parking System Integration and Application Maintenance. University of Electronic Science and Technology Press. 2013. 15-45.

[19] Anonymous. Parking lot automatic license plate recognition system proposal. 2013.2-8.

http://wenku.baidu.com/view/b1c5a503581b6bd97f19ea3f.html  .2-18.
Instructor review comments:

Instructor ( signature) :  Year, Month,  Day 

Note: This table can be extended independently

Undergraduate Graduation Design (Thesis) Assignment Statement

Title: Design and Implementation of Web-based Parking Lot Management System

Topic of the topic (leave blank if there is no topic):

Original basis (including the working basis of the design (thesis), research conditions, application environment, work purpose, etc.):

  • working basis
  1. Market research on the parking lot management system in today's society, summarize its advantages and disadvantages
    , improve according to the deficiencies, and design new projects.
  2. Check out related books to learn about parking management systems.
  3. Summarize the advantages of your own design project and clarify the required configuration environment.
  • Research conditions
    (1) based on java language, Windows8 operating system, database, operating environment,
    (2) support from school and classmates, social research, four years of university knowledge accumulation,
    teacher's teaching and study of related books.
  • Application Environment

Software environment: database: mysql-5.5.37; server: tomcat8.0;

Linux:windows8.

Hardware environment: Development tools: Eclipse4.6, JDK1.8,

  • purpose of work

Since the current parking lot management system cannot dynamically process information in real time and realize network management and management of managers and the application of advanced technology, the basis of this project on traditional software is that it can realize dynamic processing of information and network management , increasing the authority of the manager, processing data efficiently and quickly, and feeding it back.

Main content and requirements: (including design (research) content, main indicators and technical parameters, and specific requirements for students according to the nature of the project):

  • research content
  • A parking lot management system that realizes car owners entering and exiting the parking lot and related information processing, including system information management, parking space information management, IC card information management, fixed car owner parking management, temporary vehicle information management, charging management, printing management, system function operation wait. In system information management, including adding role information, managing role information, adding user information, managing user information, managing role information and managing user information modules can query, edit and delete roles and users; employee information will be set in it and permissions, etc.; in the management of parking space information, including adding parking space information and managing parking space information, the management parking space information module can query, edit and delete the owner’s parking space information; in IC card information management, including adding IC card types, managing IC card type. Management of IC card information can query, edit and delete the owner's IC card information, and process the smart swiping card to make it more convenient for users to enter and exit; in the parking management of fixed car owners, the parking information of car owners can be queried and deleted ; In temporary vehicle information management, the parking information of temporary vehicle owners can be queried and deleted; in charge management, including adding charge information and managing charge information. You can choose to be a monthly user or an annual user. Correspondingly, the management charging information can charge the car owner's fee, and can query and delete the car owner's charging information; in the printing management, print the information that needs to be printed, including the information about the fixed car owner and the temporary car owner Printing and printing of the ticket machine; in the system function operation, you can operate the main system, log out or log in.
  • The main technical indicators and technical parameters
    can dynamically obtain user information and parking space information, and can judge uniqueness, irreplaceability, non-empty, real-time billing, and complete normal charging.
  • Specific requirements

Independently complete the system development process of this project, the system can run smoothly, and independently complete the thesis report.

schedule:

1. The topic of the graduation project should be completed before xx month xx

2. Demand analysis in the first and second weeks

3. Outline design for the third and fourth weeks

4. Detailed design for the fifth and sixth weeks

5. System development in the seventh, eighth and ninth weeks

6. System test in the tenth week

7. Collation of graduation design papers in the eleventh and twelfth weeks

Key references and bibliography:

[1] Wang Shan, Sa Shixuan. Introduction to Database Systems [M]. Beijing: Higher Education Press, 2007. 6-38

[2] Fan Xinmin. Implementation scheme of dynamic access to Web database based on JSP and JDBC technology [J]. Journal of Fujian Normal University: Natural Science Edition, 2002, 18(2):28-33.

[3] Cao Chunping, Wang Zhimin. Research and application of MVC design pattern [J]. Modern Electronic Technology, 2005, 28(20):80-82.

[4] Xu Xiaoxia, Bei Yuxin. Comparison of B/S Mode and C/S Mode [J]. Journal of Yanbian University: Natural Science Edition, 2002, 28(2):126-129.

[5] Ding Baokang: Practical Course of Database, Tsinghua University Press, 2004. 26-75.

[6] Feng Boqin et al.; Object-Oriented Analysis and Design, Machinery Industry Press, 2004. 18-25.

[7] Liu Wenli. The current situation and development trend of domestic parking lot management system [J]. China New Technology and New Products, 2011 (01): 20-22.

[8] Lv Yingli. Research on Vehicle Access Management System in Parking Lot [J]. Beijing Post and Telecommunications Engineering, Electronic Information Engineering. 2011(02).20-40.

[9] Liu Jiao, Research on Intelligent Parking Lot Management System [J]. Hunan University, Control Science and Engineering. 2011(01):30-55.

[10] Wang Pu. 2013 Market Survey Report on China's Parking Lot Management System, www.askci.com.  2013(01):15-28.

[11] Ye Junmin. Software Engineering (Second Edition). Beijing. Tsinghua University Press, 2010. 15-155.

[12] Qin Guorong. Software project training based on B/S architecture. Electronic Industry Press. 2004.45-60.

[13] Rong Chen. Design and Implementation of Parking Lot Management System. Science and Technology Innovation Herald. 2009 NO.23. 2-8.

[14] Liang Jianquan, Zhou Li, Meng Zhiyong, Tian Lijun. Proficient in lightweight JavaEE framework integration scheme [M]. People's Posts and Telecommunications Press. 2008. 45-95.

[15]Wang Zhiliang et al. RFID Reader Production Training Course. Mechanical Industry Press. 2013. 16-60.

Instructor (signature) :

year month day

Note: This table can be extended independently, and each major can be adjusted according to the needs.

Undergraduate Graduation Project (Thesis)

Title : Design and Implementation of Web-based Parking Lot Management System

Thematic topics: none

Summary

With the rapid development of modern society, people's living standards are rapidly improving, and the number of cars is increasing rapidly. In living quarters, office spaces, shopping malls, scenic spots and other places, parking problems are becoming increasingly prominent. In order to solve the problem of difficult parking, this parking lot management system is developed in combination with some current parking lot models and status quo. The main functions include on-site vehicle management and background database management, among which on-site vehicle management is divided into parking space management module, charging management module, parking lot data management module, system function operation module, user information management module, etc. We expound the development process of management system software from the aspects of system function realization and design.

The system adopts B/S architecture, Tomcat8.0 is used as the running server, based on J2EE standard. Eclipse4.6 development environment, the database uses Mysql-5.5.37. The development process uses the MVC development model, with distinct levels. The system was successfully implemented. The test run results show that the system has good performance and scalability, high response speed and efficiency. The system conforms to the actual parking lot management system and provides a fast, simple and standardized management platform for parking lot management. This is of great significance for improving the degree of informatization and reducing labor costs.

Keywords: J2EE; B/S structure; Mysql; MVC;


ABSTRACT

With the rapid development of modern society, people's living standards increasing quickly, the number of vehicles increased rapidly, the living community, office space, shopping malls, scenic spots, such as local, parking problem is increasingly http://outstanding.In order to solve the problem of parking difficulty, combined with some parking mode and the status quo of the current developed this parking lot management system.Main functions include floor vehicle management and background database management, including internal vehicle management is divided into parking management module, data management module, system of parking charge management module, function module, user information management module, etc.We this paper expounds the realization of the function of the system and the design management system software development process.

System USES the B/S architecture, Tomcat8.0 as to run the server, based on the J2EE standard.Eclipse4.6 development environment, using Mysql database - 5.5.37.Development process using MVC development mode, distinct.The system is implemented.Trial operation results show that the system has good performance and scalability, high response speed and efficiency of the system in accordance with the actual car park management system, for parking management for a rapid, simple and standardized management platform.This to improve the informationization level, reduce the manpower cost has an important significance.

Keywords:J2EE; B / S structure;Mysql;MVC;

Table of contents

Chapter 1 Introduction 1

1.1 System research background and significance 1

1.2 Research status 1

1.3 Paper Structure 3

Chapter 2 Related Technologies and Methods 4

2.1 J2EE4

2.2 MVC design pattern 5

2.3 Introduction to JSP 5

2.4 jQuery5

2.5 Intelligent Function Introduction 6

Chapter 3 System Analysis 6

3.1 Feasibility Analysis 6

3.2 Requirements Analysis 8

Chapter 4 System Design 11

4.1 System class analysis 11

4.2 Key business design 15

4.3 Database Design 16

Chapter 5 System Detailed Design and Implementation 22

5.1 User login 22

5.2 System information management 24

5.3 Parking space information management 27

5.4 IC card management 30

31

Figure 5.12 Management IC card interface 31

5.5 Temporary owner management 32

32

5.6 Fixed car owner management 34

34

Figure 5.20 Fixed car owner flow chart 35

5.7 Charge Management 35

The management fee information is shown in Figure 5.21:35

35

Figure 5.21 Management charge information 35

5.7 Print Management 35

Figure 5.22 Print information 36

5.8 System function operation 36

Chapter 6 System Testing 36

6.1 System testing overview and use cases 37

42

Chapter 7 Systematic Review 42

7.1 Systematic review and significance 42

Chapter 8 Summary 42

Reference 44

Thanks 46

introduction

System Research Background and Significance

In recent years, with the rapid development of my country's economy and the continuous improvement of people's living standards, profound changes have taken place in material needs and lifestyles. Cars, which used to be luxury goods, have gradually entered the daily life of citizens. With the popularization of automobile consumption and the rapid popularization of various motor vehicles in a wide range, vehicles have put forward higher requirements for their supporting facilities, especially parking lots. Parking is "traffic with zero speed", and parking lots and ancillary related facilities are an important part of static traffic. The parking lot fee management system was born along with the new thing of the public toll parking lot.

Most of the current parking lots have the following problems, such as management loopholes, system reliability, strong independence, cumbersome charging process, high labor intensity, low parking lot utilization rate, and easy loss of fares. Aiming at these problems, the parking lot system is designed from the following aspects. It is optimized for management, using a combination of credit card consumption and cash payment, and the system is billed by time. Adopt Java high-level programming language and WEB related technologies to develop and design management system software to realize network management operations. The optimized system is easy to use, efficient in service, transparent in charges, prevents the loss of fares, improves reliability and improves the work efficiency of operators.

Research status

Parking lot management is actually information management. In the informatization of the parking lot, it includes the informatization of parking space management, parking information management, and car owner management. The development of informatization work is conducive to improving the management efficiency of the parking lot and enhancing the competitiveness of the parking lot.

To improve competitiveness, we must first have a good hardware environment and good customer service at the same time, and the way to achieve these is informatization. This topic, aiming at some information in the parking lot management process, carries out informatization processing on it. In the parking lot management process, it mainly involves fixed parking space information, temporary parking space information, parking information, car owner information, etc. Through the informatization of the above links, the standardized management of files is improved, and the foundation for future inquiries and statistics is laid.

Parking lot intelligent management is a general term for modern parking lot vehicle charging and equipment automatic management. It is a high-tech mechatronic automation product based on computer processing in the parking lot. According to Luo Haijiang, product manager of Hengye International Holdings Group Co., Ltd., it originated in 2001, and its development is becoming more and more perfect. The functions are more and more oriented to domestic and foreign needs, and the system operation is more humanized. Today's intelligent management of parking lots has gone through the early stage of imitation and learning of foreign products, and now it has entered a stage of product innovation, keeping pace with market demand. At present, there are more than 400 enterprises that produce listening and planning systems in China, among which domestic parking lot system products account for about 80% of the market, and foreign parking lot systems account for 20%. , It is understood that in Europe and the United States, the development of the parking industry in some European countries has a history of 50 years, and has reached a virtuous circle and orderly development. The parking industry has also become a large industry with an annual output value of one billion dollars. The annual revenue of the parking industry in the United States has reached 26 billion US dollars, accounting for 3.25% of the national GDP. And our country's parking lot license plate recognition firmly occupies the position of the lead singer. The card reader plays an important role in the parking lot management system, and now it has developed from the early simple contact card (magnetic card/ID card, etc.), to the inductive IC card, and then to the RFID card. The RFID card has the most right to speak.

The entrance part of the traditional parking lot management system is mainly composed of vehicle detectors , card readers , parking lot controllers, automatic barriers , and vehicle detection coils. The card readers use inductive IC cards, and most traditional parking lots use In the short-distance card reading method, you must stop and swipe the card to pass, which is inconvenient to use. You need to roll down the window and reach out to swipe the card, and sometimes you need to get out of the car to swipe the card. It is easy to get wet in rainy days , and swiping the card to park up and down the slope is likely to cause accidents such as collisions and car slipping. Slopes are also very scary for new drivers. Swiping the parking card has the disadvantage of slow traffic speed, especially during the peak time of entry and exit, it is easy to cause congestion. The parking lot adopts the whole process of video surveillance and dynamic feedback information, and there is still a certain guarantee in terms of safety. Therefore, in terms of optimization, this system adopts the combination of cards and tickets. In terms of card readers, RFID cards are used to solve the problem of inductive short-distance IC cards and greatly improve efficiency. For vehicle entry, the license plate recognition function is added to recognize the license plate, enter and exit the parking lot, and is aimed at users who have members in the parking lot. For temporary users, there is a ticket reading function, which can dynamically reflect the current parking space situation. The whole process adopts video monitoring, which is omni-directional and has no dead ends as much as possible.

The traditional parking lot management system cannot handle real-time dynamic processing, cannot protect the owner's information well, and does not properly handle the administrator's authority, etc. This system can handle these problems well. Among them, the functions of system information management, parking space information management, IC card information management and other functions have solved this problem well. System information management functions include adding role information, managing role information, adding user information, managing user information, managing role information and managing user information. The module can add, delete, and modify roles and users. Parking space information management includes adding parking space information and managing parking space information. The management parking space information module can add, delete, and modify the owner's parking space information. IC card information management includes adding IC card types and managing IC card types. IC card information management can add, delete and modify the owner's IC card information. Charges can be divided into cash charges and card charges. Usually VIP users charge by card, temporary users charge by cash, and software management implements hierarchical authority restrictions. For the person on duty at the exit, he can enter the charge management after logging in, during which all charges for the exit will be automatically recorded in the name of the person on duty and stored in the computer database. Since the duty officer is limited by authority and cannot enter higher software menu items in the system, he cannot interfere with the data recorded by the computer; the superior manager can query, check or print a duty section or any period of time or even the entire parking lot at any time. work record. In this way, the loss of parking fees and errors in financial statistics are fundamentally eliminated. At the same time, the automatic operation of the system eliminates the economic losses caused by favored cars and Bawang cars. Design a series of simple but not simple pages, as opposed to functions, improve the speed and accuracy of information processing, and be able to accurately and efficiently query and modify the situation of the parking lot, thereby improving efficiency.

essay structure

The second chapter is to introduce the relevant technologies needed to develop the parking lot management system. The front end uses a combination of JSP and CSS3, uses jQuery to process data, and dynamically interacts; the background is written in java, using B/S architecture, MVC mode, The overall structure is clear, well-organized, easy to operate, and easy to change.

  1. It is a system analysis. According to market research and consulting relevant information, the system is investigated from three levels of technology, economy, and operation. It is known that the parking lot management system needs to be improved and designed, and the corresponding demand analysis is planned according to the summary, using the use case diagram. to describe it.
  2. It is the system design of the parking lot management system. A User class is the core and runs through the entire system; the database design includes user classes, IC card classes, parking space information classes, fixed car owner information and other classes.
  3. It is the realization of the function of the parking lot management system. Based on research and investigations on other parking lot management systems, modules such as login management, parking space management, and fixed car owners have been added.
  4. It is system design and maintenance. The test mainly tested the entrance and exit settings and parking space information.
  5. It is system maintenance and evaluation. Any system needs to be maintained. Only when problems occur during operation can they be dealt with in a timely manner and be more perfect.

Related Technologies and Methods

J2EE

  1. Introduction to J2EE
    J2EE, as an enterprise-level open application specification, provides companies and enterprises with a large number of development technical specifications and a multi-level distributed application model, with good compatibility, security and portability.
    Different developers follow the development specification of J2EE, because of J2EE compatibility, the data information has very good compatibility, security and portability. Available on all platforms. Nowadays, it has been unanimously affirmed by everyone and is used by most enterprises to improve development efficiency. The parking lot management system adopts this specification, and its excellent portability and compatibility have been well applied, and it is easy to operate and learn.
  2. Build this system J2EE development tool

Java virtual machine: JDK1.8

Java development tools: Eclipse4.6

Web server: Tomcat8.0

Environment configuration process: After installing JDK1.8, select Project->Web Project of Eclipse4.6 to build the project.

MVC design pattern

MVC is the abbreviation of Model View Controller Model-View-Controller. It is a pattern for designing web programs. Model (model) is the part of the program that handles the logic of the code. View (model) is the part of the program that processes data. Controller (controller) is the part that handles data transmission and interacts with business logic. The parking lot management system adopts the MVC design pattern, which is convenient for developers to modify or debug code, and avoid code mixing together. Unable to locate quickly when encountering a problem. And MVC layering also simplifies development. Different developers can develop these three logics at the same time, which improves development efficiency and saves time for developers.

Introduction to JSP

JSP is actually a simplified Servlet design, an object-oriented dynamic web technology standard. It uses Java as the scripting language, and can embed java code into jsp pages to separate code from business logic and realize dynamic interaction. Users submit data through forms or hyperlinks, and the data is transmitted to the corresponding Servlet, which is processed by Java code to form dynamic interaction. JSP is used by most enterprises today and is indispensable for J2EE. It simplifies web development, increases efficiency, and reduces business expenses.

jQuery

Query means query, more convenient and quick query page control, simple syntax. jQuery is an excellent JavaScript framework following the prototype, compatible with a variety of browse (IE6.0+), not only can easily operate documents and DOM, handle events, realize animation effects, but also easily realize AJAX interaction, compatible with CSS3 [4]. jQuery also provides developers with the ability to create plug-ins on it, which encapsulates JavaScript functions, write less ..do more ... is the purpose of jQuery.

Intelligent function introduction

RFID card technology

RFID is radio frequency identification, which is a wireless communication technology. It converts radio electrical signals into radio frequency electromagnetic fields, and transmits the data attached to the tags on the items to achieve automatic identification and tracking. Unlike barcodes, it does not need to be within the range of the reader, and can also be added to the tracker.

Today, RFID technology is widely used in most industries. Attach the data label to a set of machines in production, so that the manufacturer can track the production progress online. At present, it can also be applied in the library, which is convenient for management and readers to find books and so on. It can also be used in the parking lot. The radio frequency transponder on the car can facilitate the charge management of entering and leaving the parking lot and avoid unpredictable problems. Improve the efficiency of parking lots.

License plate recognition function introduction

License plate recognition technology is a technology that monitors vehicles and automatically extracts license plate information for processing. License plate recognition plays an important role in the current traffic system. Based on graphic processing, pattern recognition and other technologies, it analyzes the image of the positioned vehicle to obtain the license plate number of each vehicle and complete the recognition process. Through some means of processing, the management of parking lot charges can be realized. The parking lot management system adopts this technology to manage the vehicles entering and leaving the parking lot more conveniently and quickly.

system analysis

Feasibility Analysis

technical feasibility

In the design of the parking lot management system, the MVC (Model-View-Control) design pattern runs through the entire system, and the framework adopts the combined structure of SpringMVC+JDBC.

  • Model layer
    The model layer is mainly logic processing. In this system, data persistence is provided, and JavaBean encapsulates business logic Service.
  • View layer
    The parking lot management system uses JSP to realize the view layer.
  • control layer

SpringMVC technology is used to handle the interaction between the foreground request and the business logic layer.

The MVC design pattern is applied in the design of the parking lot management system, which is convenient for developers to design codes. Since these three logics can be carried out simultaneously, the efficiency is improved and time is saved, and because of the layering, the code is isolated, which is convenient for developers to operate. . And the parking lot management system adopts RFID card and other technologies to facilitate vehicle access, increase intelligence, and facilitate management. It can be concluded from this perspective that it is feasible to develop smart parking lots.

economic feasibility

It is mainly to evaluate the economic benefits of developing the system. According to the survey, most public places have problems such as parking difficulties and few parking spaces. The efficiency of the parking lot is very low, which leads to a decrease in the income of the parking lot and is not safe. In response to this situation, it is necessary to analyze the cause and process of the low efficiency of the parking lot, and propose improved countermeasures to improve the efficiency of the parking lot. After analysis and investigation, we found that the parking lot management system is quite useful. From this point of view, it is feasible to develop an intelligent parking lot management system. According to the time spent on consulting information and framework design time, it takes about 3 months to realize the basic functions. From January to April 2017, it takes about two weeks to realize the test of related functions and code implementation. For The interfaces written by the intelligent functions will wait for the technology to be introduced and then run in later, and the implementation needs to be determined. In general, the design can be completed in April. According to the system requirements, the system needs to cooperate with the camera, introduce RFID card technology, etc., and it will cost a certain amount of money, which is within the estimated range. From this point of view, it is feasible to develop a smart parking lot.

operational feasibility

The development tool used in the development is eclipse, which can support running on various computers, and is easy to operate and easy for users to use. Operators can use this system after a simple explanation. From this aspect, it is feasible to develop an intelligent parking lot management system.

demand analysis

System function description

System information management: including adding roles, managing roles, adding users, managing users, managing roles and managing users. The module can add, delete, and modify roles and users.

IC card information management: add IC card types, manage IC card types. IC card information management can add, delete and modify the owner's IC card information.

Parking space information management: manage parking spaces, add parking spaces, and manage the parking space information module to add, delete, and modify the owner's parking space information.

Fixed owner parking management: entry and exit settings, parking lot information management. The entry and exit settings can set the user's entry and exit, and there is a corresponding display in the parking information. Parking information management can query and delete the parking information of car owners.

Temporary vehicle information management: car owner entry information, car owner exit settings. Set the car owner to enter the venue, display it in the corresponding table, and charge when the car owner leaves the venue. Temporary car owner parking information management can delete and query the information of the temporary car owner.

Charge management: manage charge, add charge information. Management charging information can charge the car owner's fee, and can query and delete the car owner's charging information.

Print report: view the report information, and print the relevant information of the fixed car owner and the temporary car owner.

System function operation: modify the password, exit the system.

Use Case Diagram Analysis

According to the functional description of the parking lot management system, the system authority is: administrator. The main functions of the administrator include parking space information management, system information management, IC card management, car owner management, fixed car owner management and other functions. The ellipse in the use case diagram represents the use case, and the line person represents the user [1]. There is an association between the user and the function. The use case diagram of the parking lot management system is shown in Figure 3.1:

Management System Information

Manage Billing Information

Manage fixed vehicle owner information

Manage parking space information

Manage Temporary Owner Information

Manage IC card information

print report

Manage Parking Information

Figure 3.1 Use case diagram of parking lot management system

system design

This chapter includes three parts: system class analysis, core business design, and database design. Among them, system class analysis needs to give system class diagrams and class descriptions. It should be noted that only core business classes need to be given when class diagrams are given. Auxiliary classes such as interface classes and database connection classes do not need to be given. If there are many classes involved (including the contents of the classes), the inter-class relationship diagram should be given first (the classes in the diagram have only names and no attributes and methods), and then give the class diagram of the specific class in the single class description, and the class diagram also needs to be drawn with WORD.

The core business design mainly describes the message coordination between classes when a specific business is completed, and is expressed in a sequence diagram. The sequence diagram can be drawn with other tools, but it cannot appear in other colors.

The database design mainly describes the objects that need to be persisted in the system, and an ER diagram needs to be given. If there are many entities (or entity attributes) involved in the system, the method of layered drawing is also used. The top-level diagram shows the relationship between entities, and the lower-level The graph is drawn specifically for each entity.

System class analysis

After analysis, the core business categories of the system are shown in the figure below:

  1. system core class

USER class

The USER class is used to record the user information of the system and complete the login and logout operations. For details, see Table 4-2.

USER class function table

class function description Handle business operations related to users
The name of the package DAL
inheritance object none
implement the object
class attribute
protection attribute type name describe Remark
Public String ID User ID Length limit 20 digits
Public String Name Name Length limit 20 digits
public String Password password Length limit 20 digits
Main implementation method
protection attribute method name Input parameters Output parameters Method function description
Public login string id,string pwd String" After logging in to the system, the user enters the ID and PASSWORD for verification. If the verification passes, the user name will be returned and the log will be registered. If the verification fails, an empty string will be returned.
public logout string id Void Log out of the system, log out successfully clear up the relevant information of the user and register the log.

JOURNAL class

The JOURNAL class consists of 5 classes. They are Fixed class, Temp class, Role class, Card class, Seat class.

The Fixed class records fixed vehicle owner information, as shown in Table 4-3.

Fixed class function table

class function description Business operations for processing and securing car owners
The name of the package DAL
inheritance object none
implement the object Table 4-3FIxed class function table
class attribute
protection attribute type name describe Remark
Public String Fix_id Record number Length limit 20 digits
Public String Card_id IC card number Length limit 20 digits
Main implementation method
protection attribute method name Input parameters Output parameters Method function description
Public Update string Fix_id,string pwd int Enter the fixed owner information, click Edit to modify the fixed owner information
public Delete string Fix_id Void Enter the fixed owner information, click delete to delete the fixed owner information

The Temp class records temporary vehicle owner information, as shown in Table 4-4.

Temp class function table

class function description Handle the business operations of temporary car owners
The name of the package DAL
inheritance object none
implement the object
class attribute
protection attribute type name describe Remark
Public String Temp_id Record number Length limit 20 digits
Main implementation method
protection attribute method name Input parameters Output parameters Method function description
Public Update string Temp_id int Enter the temporary owner information, click Edit to modify the fixed owner information
public Delete string Temp Void Enter the fixed owner information, click delete to delete the fixed owner information

The Role class manages role information, as shown in Table 4-5.

Role class function table

class function description role management
The name of the package DAL
inheritance object none
implement the object
class attribute
protection attribute type name describe Remark
Public String Role_id Record number Length limit 20 digits
Main implementation method
protection attribute method name Input parameters Output parameters Method function description
Public Insert string Role_id int add role
public Delete string Role_id Void delete role

The Card class records IC card information, as shown in Table 4-6.

Card类功能表

类功能描述 处理IC卡相关业务
所在包名称 DAL
继承对象
实现对象
类属性
保护属性 类型 名称 描述 备注
Public String Card_id 记录编号 长度限制20位
主要实现方法
保护属性 方法名 输入参数 输出参数 方法功能描述
Public Update string Card_id int 进入IC卡信息中,点击编辑,可修改IC卡信息
public Delete string Card_id Void 进入IC卡信息中,点击删除,可删除IC卡信息

Seat类记录车位信息,具体情况如表4-7所示。

Seat类功能表

类功能描述 处理车位信息相关业务
所在包名称 DAL
继承对象
实现对象
类属性
保护属性 类型 名称 描述 备注
Public String Seat_id 记录编号 长度限制20位
主要实现方法
保护属性 方法名 输入参数 输出参数 方法功能描述
Public Update string Seat_id,string Seat_name int 进入车位信息中,点击编辑,可修改车位信息
public Delete string Seat_id Void 进入车位哦信息中,点击删除,可删除车位信息

关键业务设计

系统登录

系统登录顺序图

管理员通过UI界面输入用户名,密码,调用USER类LOGIN方法,在LOGIN方法中调用DATABASE的checklogin方法,最后返回成功。

数据库设计

数据需求分析

系统E-R图表明了实体与实体之间的关系,根据系统的功能需求,系统有用户、IC卡、临时车主、固定车主、车位、收费信息六个实体。一个固定车主拥有一张IC卡和一个车位,一个临时车主拥有一个车位和临时IC卡。固定车主和临时车主产生收费信息。实体关系属性图如图4.3所示[11]

图4.3停车场管理系统E-R图

数据库的实现

根据系统需求确定系统有如下7张表。

用户表:储存用户信息。

角色表:储存角色信息。

车位管理表:管理车位信息以及车位状态。

IC卡管理表:管理IC卡信息。

临时车辆记录表:记录临时车辆的信息。

固定车主表:记录固定车主信息及出入场信息。

收费表:记录用户们的收费信息。

用户表用于记录用户的编号、姓名、电话等属性信息,如表4-8所示。

表4-8用户表

序号 列名 数据类型 长度 小数位 标识 主键 允许空 外键 说明
1 user_id Varchar2 50 0
2 role_id Varchar2 50 0
3 user_name Varchar2 50 0
4 real_name Varchar2 50 0
5 user_pwd Varchar2 20 0
6 user_phone Varchar2 50 0

角色表储存角色的编号、名字等信息,如表4-9所示。

表4-9角色表

序号 列名 数据类型 长度 小数位 标识 主键 允许空 外键 说明
1 role_id Varchar2 50 0
2 role_name Varchar2 50 0

车位管理表记录车位的编号、ID、状态等属性信息,如表4-10所示。

表4-10车位管理表

序号 列名 数据类型 长度 小数位 标识 主键 允许空 外键 说明
1 seat_id Varchar2 50 0
2 seat_num Varchar2 50 0
3 seat_setion Varchar2 50 0
4 seat_state int 11 0
5 seat_tag Varchar2 50 0

IC卡表记录IC卡的ID、车位ID、姓名、车牌号等属性信息,如表4-11所示。

表4-11 IC卡表

序号 列名 数据类型 长度 小数位 标识 主键 允许空 外键 说明
1 card_id varchar2 50 0
2 seat_id Varchar2 50 0
3 user_name Varchar2 50 0
4 user_gender Varchar2 1 0
5 user_addr Varchar2 50 0
6 car_num Varchar2 50 0

临时车辆记录表,用于记录临时车主的编号、车牌号、出入场时间等属性信息,用户如表4-12所示。

表4-12临时车辆表

序号 列名 数据类型 长度 小数位 标识 主键 允许空 外键 说明
1 temp_id Varchar2 50 0
2 card_id Varchar2 50 0
3 car_num Varchar2 50 0
4 entry_date date 0 0
5 entery_time time 0 0
6 out_date date 0 0
7 out_time time 0 0
8 temp_money float 0 4

固定车主表用于记录固定固定车主的编号、IC卡编号、出入场时间等属性信息,如表4-13所示。

表4-13固定车主表

序号 列名 数据类型 长度 小数位 标识 主键 允许空 外键 说明
1 fixed_id Varchar2 50 0
2 card_id Varchar2 50 0
3 entry_date date 0 0
4 entery_time time 0 0
5 out_date date 0 0
6 out_time time 0 0

收费表用于记录收费的编号、车主姓名、车牌号、收费金额等属性信息,如表4-14所示。

表4-14收费表

序号 列名 数据类型 长度 小数位 标识 主键 允许空 外键 说明
1 role_id Varchar2 25 0
2 role_name Varchar2 255 0
3 role_type Varchar2 255 0
4 car_num Varchar2 25 0
5 car_money Varchar2 255 0
6 car_time Varchar2 255 0

系统详细设计与实现

用户登录

登录模块界面如图5.1所示:

图5.1 用户登录

代码流程如图5.2。

图5.2 用户登录

功能描述:登陆页面需要用户名、密码进行登录。登录的同时对输入的用户名和密码进行验证,首先我们要保证用户名和密码不能为空。其次是对数据库的验证,系统在数据库中搜索用户输入的用户名是否存在,若不存在,则提示出错。并且重新登录,系统不允许两个用户同时登录,该操作在一定程度上使系统的安全性有所提高。

登录主要代码位置:TestPark/src/DAL/login.java。主要封装了对登录数据的操,该类中有三个方法分别用于检查用户登录信息是否合法,根据用户编号和角色编号获取用户名和角色信息。

publicclass Login {

publicboolean checkLogin(String user_id,String user_pwd)

{

String sqlCmd="select count(*) from user where user_id=? and user_pwd=?";

Object[] objList=new Object[2];

objList[0]=user_id;

objList[1]=user_pwd;

String result=SQLUtil.excuteScalar(sqlCmd,objList).toString();if(result.equals("1"))

{

returntrue;

}

else {

returnfalse;

}

}

public String getName(String user_id)

{

String sqlCmd="select user_name from user where user_id='"+user_id+"'";

String result=SQLUtil.excuteScalar(sqlCmd, null).toString();

return result;

}

public String getSysLevel(String user_id)

{

String sqlCmd="select role_id from user where user_id='"+user_id+"'";

String result=SQLUtil.excuteScalar(sqlCmd, null).toString();

return result;

}

}

系统信息管理

添加角色信息如图5.3所示:

图5.3 添加角色信息

管理角色如图5.4所示:

图5.4 管理角色信息

添加用户信息界面如图5.5所示:

图5.5 添加用户信息

管理用户信息界面如图5.6所示:

图5.6 管理用户信息

功能描述:该模块是对系统信息的一个管理,添加角色输入编号和名称,后台数据库进行验证,若角色没有存在则添加数据成功,跳转到管理界面。管理角色信息可以根据用户的编号,角色名称进行查询操作、编辑、和删除操作。添加用户信息输入用户编号、名称、昵称、姓名、密码电话点击确定进行后台数据库的验证,若成功添加则跳转到管理界面。管理用户界面可根据用户编号、角色名称、用户名称、真实姓名进行查询、编辑和删除操作。

系统信息模块流程图如图5.7所示:

Y

N

管理用户信息

查询用户信息

是否添加成功

查询角色信息

Y

N

是否添加成功

管理角色信息

选择操作

图5.7 停车场管理系统信息流程图

车位信息管理

添加停车位信息如图5.8所示:

图5.8

添加车位

管理车位信息如图5.9所示:

图5.9 管理车位信息页面

功能描述:该模块是对车位的一个管理。点击添加车位信息,输入编号选择是A区还是B区,添加成功则会跳转到管理界面。管理界面可根据车位ID、车位编号、所属区域、车位备注进行查询,还可对车位信息进行编辑和删除。

对车位数据的操作封装在:seat.java类中。该类中主要封装了分页和对车位信息的增、删、改、查等方法。首先获取车位信息列表,然后获取未分配的车位列表,根据查询条件获取获取分页后的信息列表,数据的更新、插入、删除,获取分页总数,根据查询条件获取分页总数。

publicclass Seat {

public List<Object> getEntity()

{

String sqlCmd="select *from Seat";

return DBUtil.SQLUtil.executeQuery(sqlCmd, null);

}

public List<Object> getNoUseSeat()

{

String sqlCmd="SELECT *FROM Seat WHERE seat_id NOT IN(SELECT seat_id FROM card)";

return DBUtil.SQLUtil.executeQuery(sqlCmd, null);

}

public List<Object> getEntity(int page)

{

int size=(page-1)*15;

String sqlCmd="select *from Seat limit "+size+",15";

return DBUtil.SQLUtil.executeQuery(sqlCmd, null);

}

public List<Object> getEntityByWhere(String sqlWhere,int page)

{

int size=(page-1)*15;

String sqlCmd="select *from Seat where "+sqlWhere+" limit "+ size+",15";

return DBUtil.SQLUtil.executeQuery(sqlCmd, null);

}

publicint deleteEntity(String seat_id)

{

String sqlCmd="delete from Seat where seat_id='"+seat_id+"'";

return DBUtil.SQLUtil.executeNonQuery(sqlCmd, null);

}

public List<Object> getEntityById(String seat_id)

{

String sqlCmd="select *From Seat where seat_id='"+seat_id+"'";

return DBUtil.SQLUtil.executeQuery(sqlCmd, null);

}

publicint updateEntity(String seat_id,String seat_num,String seat_section,String seat_state,String seat_tag)

{

String sqlCmd="Update Seat set seat_num='" + seat_num + "',seat_section='" + seat_section + "',seat_state='" + seat_state + "',seat_tag='" + seat_tag + "' where seat_id='"+seat_id+"'";

return SQLUtil.executeNonQuery(sqlCmd, null);

}

publicint insertEntity(String seat_id,String seat_num,String seat_section,String seat_state,String seat_tag)

{

String sqlCmd="Insert into Seat values('" + seat_id + "','" + seat_num + "','" + seat_section + "','" + seat_state + "','"+seat_tag+"')";

return SQLUtil.executeNonQuery(sqlCmd, null);

}

publicboolean checkExist(String seat_id)

{

String sqlCmd="select count(*) from Seat where seat_id='"+seat_id+"'";

if(1==Integer.parseInt(SQLUtil.excuteScalar(sqlCmd, null).toString()) )

{

returntrue;

}

returnfalse;

}

public Object getPageCount()

{

String sqlCmd="SELECT CEIL( COUNT(*)/15.0) FROM Seat ";

return SQLUtil.excuteScalar(sqlCmd, null);

}

public Object getPageCountByWhere(String sqlWhere)

{

String sqlCmd="SELECT CEIL( COUNT(*)/15.0) FROM Seat where "+sqlWhere;

return SQLUtil.excuteScalar(sqlCmd, null);

}

}

车位信息流程图如图5.10所示:

N

Y

N

编辑车位信息

编辑是否成功

添加角色信息

添加是否成功

选择操作

图5.10 车位信息流程图

IC卡管理

添加IC卡界面如图5.11所示:

图5.11 添加IC卡界面

管理IC卡信息界面如图5.12所示:

图5.12 管理IC卡界面

功能描述:该功能模块是对IC卡信息的管理,点击添加IC卡输入如图5.11所示的信息,添加成功后,跳转到图5.12的界面。管理界面可根据IC卡编号、车位编号、用户名称、车牌号码进行查询。也可进行相应的编辑和删除操作。

IC卡管理模块流程图如图5.13所示:

N

Y

Y

N

编辑IC卡

添加IC卡信息

添加是否成功

编辑是否成功

选择操作

图5.13 IC卡管理流程图

临时车主管理

临时车主入场信息界面如图5.14所示:

图5.14临时车主入场页面

车主出场信息界面如图5.15所示:

图5.15临时车主出场页面

结算页面如图5.16所示

图5.16 结算页面

功能描述:该模块是对临时车主出入场的管理。点击入场管理,出现如图5.14所示的界面,输入信息,如果输入成功就会跳转到如图5.15的界面,出场日期,日期显示未出场,停车费用显示待结算。点击结算出现如图5.16界面。

临时车主流程图如图5.17所示:

选择操作

入场设置

N

添加入场信息

添加是否成功

Y

图5.17临时车主流程图

固定车主管理

固定车主出入场设置界面如图5.18所示:

图5.18 固定车主出入场设置界面

停车信息管理界面如图5.19所示:

图5.19管理停车场信息界面

功能描述:该模块是对固定车主的出入场设置以及停车信息进行管理。如图5.18所示,对车主进行入场设置,点击确定后就会在下面的表格中显示,点击停车信息管理按钮,就会出现如图5.19所示。设置出场,出场时间就会出现在停车信息表中。

固定车主流程图如图5.20所示:

Y

Y

N

N

设置是否成功

设置是否成功

选择操作

出场设置

入场设置

查询停车信息

出入场设置

图5.20固定车主流程图

5.7 收费管理

管理收费信息如图5.21所示:

图5.21管理收费信息

功能描述:临时用户是一小时3元收费,固定用户是按次数收费。

5.7 打印管理

查看打印信息如图5.22所示:

图5.22打印信息

功能描述:该模块可以将用户的消费情况进行打印,公开,透明清楚。

5.8系统功能操作

密码修改、退出系统界面如图5.23所示:

5.23 系统功能操作界面

功能描述:该模块是对系统功能的一个操作,可进行修改密码。点击退出系统则会跳转到如图5.1的登录界面。

系统测试

停车场管理系统设计完之后需要进行一系列的测试,调试过程中内部环境和外界因素的变化,会影响系统的运行和操作,当系统适应这些变化后,慢慢趋于完善,达到预期想要的结果,这就是系统测试从头到尾一直要做的工作。

根据本系统的功能情况,以黑盒测试为主,白盒测试为辅。黑盒测试:将项目看成一个黑盒子,在不去考虑项目其他情况、只知道系统功能进行的测试。它的任务就是检测系统的每个功能是否可以正常运行以及操作结果是否正确。白盒测试:与黑盒测试相反,是将项目看成一个透明的白盒子,要求操作员必须知道项目流程、项目代码,按照规格说明书的规定检测功能是否符合要求,对操作员要求较高。

系统测试概况及用例

用户登录

表 6-1 用户登录

功能测试
概述
测试编号 ZL001
功能描述 用户登录
功能URL
用例目的 测试用户是否能登录成功
前提条件 进入用户登录界面
测试操作
编号 输入/动作 期望的输出响应 实际情况 是否正确 错误编号
1 输入不存在的用户名,不填写密码 系统提示用户名或密码错误 系统提示登录名或密码错误 正确
2 输入正确的用户名输入错误的密码 系统提示用户名或密码错误 系统提示登录名或密码错误 正确
3 输入错误的用户名输入正确的密码 系统提示用户名或密码错误 系统提示登录名或密码错误 正确
4 不填写用户名及密码 系统提示用户名或密码错误 系统提示用户名或密码错误 正确

图6.1 登录密码错误功能图

图6.2 登录账号错误功能图

添加临时车主

表 6-2 用户登录

功能测试
概述
测试编号 ZL002
功能描述 添加临时车主
功能URL
用例目的 测试添加临时车主是否能成功
前提条件 进入添加临时车主界面
测试操作
编号 输入/动作 期望的输出响应 实际情况 是否正确 错误编号
1 不输入临时IC卡及车牌号 临时IC卡号或者车牌号不能为空 临时IC卡号或者车牌号不能为空 正确
2 不输入临时IC卡卡号 临时IC卡号或者车牌号不能为空 临时IC卡号或者车牌号不能为空 正确
3 输入的临时卡号重复 主键重复,数据添加失败! 主键重复,数据添加失败! 正确

图6.3 添加车主临时IC卡号或车牌号为空图

图6.3 添加车主临时IC卡号或车牌号为空图

图6.3 添加车主临时IC卡号或车牌号为空图

图6.3 添加车主临时IC卡号或车牌号为空图

图6.4 添加车主临时IC卡号重复图

添加角色信息

表 6-3 角色信息添加

功能测试
概述
测试编号 ZL003
功能描述 添加角色信息
功能URL
用例目的 测试添加角色信息
前提条件 进入添加角色信息界面
测试操作
编号 输入/动作 期望的输出响应 实际情况 是否正确 错误编号
1 不输入角色编号 请填写此字段。 请填写此字段。 正确
2 不输入角色名称 请填写此字段。 请填写此字段。 正确
3 输入重复的角色编号 主键重复,数据添加失败! 主键重复,数据添加失败! 正确

图6.5 添加角色信息编号或者角色名称为空图

图6.6添加角色信息编号重复图

系统评价

系统评价及意义

本系统采用MVC+J2EE+MYSQL实现。JSP用于页面的设计,Java用来处理后台跳转、对数据库操作,实现对数据库的增、删、改等操作。使用是Tomcat8.0作为WEB服务器,提供适应性强的Internet服务器功能,具有很高的执行效率。

本次停车场管理系统能够满足用户的基本需求,方便快捷,既节省了时间,提高了效率,又节约了开发成本,给人们生活带来了极大的改善。

总结

xx年xx月,毕业论文工作伴随我而来,时至今日,论文基本完成。从当初的茫然,不知所措,到慢慢的进入状态,再到对思路逐渐的清晰掌控,整个写作过程难以启齿。几个月的艰苦奋斗,紧张而又充实的毕业设计终于画下了圆满的句号。回想起这段日子的经历,思绪万千,在这次毕设的过程中,让我收获颇丰,回忆满满。

在一开始选题的时候有点茫然,不知道该设计一个怎样的项目,想东想西,迟迟落不下决定,这个时候导师给了关键的性的建议,从生活入手,才敲定了停车场管理系统,伴随着经济发展,汽车的使用量也日益突增,停车难这个问题日益凸显,为了能为社会贡献自己的一份力,毅然决然的打算着手写一个停车场管理系统的项目。渐渐地思路明确。开题报告随之迎来,功能要求要有特色,新颖,一开始就只想到了一些基本的功能,并没有达到要求。经过导师细心的指导和提出宝贵的建议,再加上自己所查阅的资料,一遍又一遍的改正,终于将问题都解决了,自己也对这个项目有了新的认识。

随后,便开始了论文的编写和项目的设计。在写作和实际过程中遇到的问题我就及时和导师联系,或者向同学请教,相互交流,或者请教专业课老师。在大家的帮助下,一个个困难迎刃而解,论文和项目也慢慢成型。

这几个月的时间历历在目。毕业论文的制作是我人生中宝贵的回忆。为了做调查而奔波于人海之中以及在书海中寻找自己所需参考资料而往返于图书馆和宿舍。每当找到所需的参考资料时的那种兴奋心情,那是无法言语的。好像一切的一切都是值得的。在此过程中,我收获颇丰。更加熟练的掌握了java编程,B/S交互以及jQuery使用。对于UML类图的绘画更加清晰,且将之前所学的东西可以更好地融合。在今后的日子里,我要将学无止境、不耻下问、敢于创新、坚持不懈的态度继续保持下去,做一个不让自己后悔的人。

在这次毕设中使我和老师、同学的关系也更进一步了,大家相互帮助,不懂就问,倾听一下对方的看法,或许就有新的收获,所以,在这里感谢不厌其烦给我解惑的同学们。更要感谢我的导师和专业老师,细心指导,使我的论文顺利完成。同时由于技术问题和知识面的局限,项目功能不是很完善,数据安全性和网页兼容性以及效率还有待提高。争取在以后的学习中进一步将其完善,做得更加完美。

参考文献

[1] 李平. 基于JSP的动态网页开发技术[J]. 微计算机信息, 2009, 25(21):108-110.

[2] 王珊, 萨师煊. 数据库系统概论[M]. 北京:高等教育出版社, 2007. 6-38

[3] 范新民. 基于JSP、JDBC技术动态访问Web数据库的实现方案[J]. 福建师范大学学报:自然科学版, 2002, 18(2):28-33.

[4] 曹春萍, 王志民. MVC设计模式的研究及其应用[J]. 现代电子技术, 2005, 28(20):80-82.

[5] 徐晓霞, 贝雨馨. B/S模式与C/S模式之比较[J]. 延边大学学报:自然科学版, 2002, 28(2):126-129.

[6]丁宝康:数据库实用教程 ,清华大学出版社,2004. 26-75.

[7]冯博琴等;面向对象分析与设计 , 机械工业出版社,2004. 18-25.

[8]刘文利 .国内停车场管理系统的现状与发展趋势[J] . 中国新技术新产品,2011(01):20-22.

[9]吕英丽. 停车场车辆出入管理系统的研究[J].北京邮电工程,电子信息工程.2011(02).20-40.

[10]刘娇,智能停车场管理系统的研究[J].湖南大学,控制科学与工程.2011(01):30-55.

[11]王璞 . 2013年中国停车场管理系统的市场调查报告,www.askci.com. 2013(01):15-28.

[12]叶俊民. 软件工程(第二版). 北京. 清华大学出版社,2010. 15-155.

[13]覃国蓉 . 基于B/S架构的软件项目实训 .电子工业出版社 .2004.45-60.

[14]陈榕 . 停车场管理系统设计与实现 . 科技创新导报. 2009 NO.23. 2-8.

[15]梁建全,周力,孟志勇,田立军. 精通轻量级JavaEE框架整合方案[M].人民邮电出版社 . 2008. 45-95.

[16]王志良等. RFID读写器制作实训教程 . 机械工业出版社. 2013. 16-60.

[17] 张丽霞 . 智能停车场系统集成与应用维护 . 电子科技大学出版社 . 2013. 15-45.

致谢

首先要感谢我的导师邱晓红老师,在百忙之中用宝贵的时间为我悉心的指导,导师认真的工作态度和耐心的指导给了我很大的帮助,孜孜不倦,不厌其烦的指出我的问题以及提出自己的建议,在老师的严格要求和鼓舞一下,让我的设计顺利完成。导师渊博的专业知识、严谨的治学态度,精益求精的工作作风,诲人不倦的高尚师德,严于律己、宽以待人的崇高风范,朴实无法、平易近人的人格魅力对本人影响深远。不仅使本人树立了远大的学习目标、掌握了基本的研究方法,还使本人明白了许多为人处事的道理。本次论文从选题到完成,每一步都是在导师的悉心指导下完成的,倾注了导师大量的心血。在此,谨向导师表示崇高的敬意和衷心的感谢!在写论文的过程中,遇到了很多的问题,在老师的耐心指导下,问题都得以解决。所以在此,再次对老师道一声:老师,谢谢您。在大学最后的时间感受到了老师最真切和有效的鼓励。

在学校生活的四年中,感谢每一位老师的辛勤劳动,是你们无私的奉献使我们得以汲取更多的养分,让我们学到知识的同时也学到了很多做人的道理。忠心祝福老师们健康快乐。

其次,要感谢我的同学,感谢他们在论文过程中给我的关心和帮助。感谢他们留给我大学生活美好的记忆。

最后感谢我的家人,正他们无尽的关怀和深沉的爱是我今生最大的财富。感谢答辩老师对我论文的批评和指正。

1停车场管理系统的研究现状

摘要:伴随现代社会的数据库采用Mysql-5.5.37。开发过程利用MVC开发模式,层次分明。成功快速发展,停车难问题也日益突出。为了解决停车难得问题,结合一些停车场的模式和现状开发出本停车场管理系统。

停车场管理系统是典型的信息管理系统,本停车场管理系统设计的主要功能包括场内车辆管理和后台数据库管理。系统采用了B/S架构,Tomcat8.0作为运行服务器,基于J2EE标准。Eclipse4.6开发环境,实现了该系统。试运行结果表明,该系统具有良好的性能和扩展性,较高的响应速度和效率,该系统符合实际的停车场管理系统,为停车场管理供一个快速,简单规范的管理平台。这对提高信息化程度,降低人力成本有着重要的意义。

关键词:J2EE;B/S结构;Mysql;MVC;

Abstract:Pick: with the rapid development of modern society, parking difficulties are becoming more and more acute. In order to solve the problem of parking, we have developed the parking lot management system in combination with the pattern and status of some parking lots.

The parking lot management system is a typical information management system, and the main functions of this parking lot management system include the internal vehicle management and the background database management. The system adopts the B/S architecture, and Tomcat8.0 as the running server, based on the J2EE standard. Eclipse4.6 development environment, the database USES Mysql - 5.5.37. The development process leverages the MVC development pattern, which is hierarchical. Successful implementation of the system. Trial operation results show that the system has good performance and scalability, high response speed and efficiency of the system in accordance with the actual car park management system, for parking management for a rapid, simple and standardized management platform. This has important implications for improving informationization and reducing human cost.

Key words: J2EE; B/S structure; Mysql; MVC;

0 前言

停车场智能管理是现代化停车场车辆收费及设备自动换管理的统称,是将车场完全基于计算机管理下的高科技机电一体化产品。据恒业国际控股集团有限产品经理罗海江介绍,其兴起于2001年,发展的到现在日渐趋于完善,功能越来越面向国内外的实际需求,系统操作也更加人性化。如今停车场智能管理已经经过了从早期对国外产品的跟随和模仿阶段,进入到了一个产品创新,紧跟市场需求并不断壮大的阶段。目前国内听策划出系统生成企业有400多家,其中国产停车场停车场系统产品约占市场份额的80%左右,国外停车场系统市场占20%。而在欧美地区,据了解,欧洲一些国家的停车产业发展已有50年的历史,并且已经达到了一种良性循环和有序发展。停车产业也已经成为年产值十亿美元的大产业。美国的停车产业每年收入越达到260亿美元,占全美GDP的3.25%。而我国的停车挡车牌识别,牢牢占据主唱的位置。读卡器在停车场管理系统中扮演着重要的角色,如今它已由早期简单的接触式卡(磁卡/ID卡等),发展到感应式IC卡,再到RFID卡。而RFID卡是最具有话语权。

传统的停车场管理系统入口部分主要由读卡器车辆检测器、车场控制器、自动道闸、车辆检测线圈组成,读卡器采用的是感应式IC卡,传统的停车场大多采用近距离读卡方式,必须停车刷卡通行,使用非常不方便,需要摇下车窗伸出手刷卡,有的还需要下车刷卡。下雨天容易被淋湿,上下坡道停车刷卡容易造成溜车、碰撞等事故,坡起对于新司机也是非常恐惧的。停车刷卡更有通行速度慢的缺点,尤其是在进出高峰容易造成拥堵。停车场采用的是全过程视频监控,动态的反馈信息,在安全方面还是有一定的保障。 因此,在优化上,本系统采用卡票结合的方式,在读卡器方面,采用RFID卡,解决了感应式近距离IC卡的问题,极大程度地提高了效率。对于车辆进入加入了车牌识别功能,识别车牌,进出停车场,针对于在停车场有会员的用户使用。对于临时用户来说,有读取票功能,动态的反应当前的车位情况,全过程采用视频监控,全方位,尽量做到无死角。

传统的停车场管理系统无法实时的动态处理、对于车主的信息也无法进行很好地保护、对于管理者的权限处理不当等问题,本系统都有很好地处理这些问题。其中的系统信息管理功能、车位信息管理功能、IC卡信息管理等功能良好的解决了这个问题。系统信息管理功能包括添加角色信息、管理角色信息、添加用户信息、管理用户信息、管理角色信息和管理用户信息模块可以对角色和用户进行查询、编辑和删除。车位信息管理包括添加车位信息、管理车位信息,管理车位信息模块可以对车主车位信息进行查询、编辑和删除。IC卡信息管理包括添加IC卡类型,管理IC卡类型。管理IC卡信息可以对车主的IC卡信息进行查询、编辑和删除。收费可以分为现金收费和卡收费,一般是VIP用户进行卡收费,临时用户进行现金收费,软件管理实行分级权限制。对出口值班员来讲,其登录后可进入收费管理,期间该出口所有收费均自动记入该值班员名下并存入电脑数据库。由于值班员受权限限制,不能进入系统中更高的软件菜单项,所以对电脑所记录的数据无法干涉;上级管理者可以随时查询,核对或打印一个值班段或任何一段时间乃至整个停车场的工作记录。这样就从根本上杜绝了停车费用流失和财务统计的失误,同时系统自动运行,杜绝了人情车、霸王车造成的经济损失。设计一系列简约不简单的页面,与功能相对,提高信息处理的速度和准确性,能够及时、准确、有效的查询和修改停车场的情况,从而提高效率。

参考文献:

[1] 曹鸣鹏, 赵伟. J2EE技术及其实现[J]. 计算机应用, 2001, 21(10):20-23.

[2] 李平. 基于JSP的动态网页开发技术[J]. 微计算机信息, 2009, 25(21):108-110.

[3] 王珊, 萨师煊. 数据库系统概论[M]. 北京:高等教育出版社, 2007. 6-38

[4] 范新民. 基于JSP、JDBC技术动态访问Web数据库的实现方案[J]. 福建师范大学学报:自然科学版, 2002, 18(2):28-33.

[5] Cao Chunping, Wang Zhimin. Research and application of MVC design pattern [J]. Modern Electronic Technology, 2005, 28(20):80-82.

[6] Xu Xiaoxia, Bei Yuxin. Comparison of B/S Mode and C/S Mode [J]. Journal of Yanbian University: Natural Science Edition, 2002, 28(2):126-129.

[7] Ding Baokang: Practical Course of Database, Tsinghua University Press, 2004. 26-75.

[8] Feng Boqin et al.; Object-Oriented Analysis and Design, Mechanical Industry Press, 2004. 18-25.

[9] Liu Wenli. The current situation and development trend of domestic parking lot management system [J]. China New Technology and New Products, 2011 (01): 20-22.

[10] Lv Yingli. Research on Vehicle Entry and Exit Management System in Parking Lot [J]. Beijing Post and Telecommunications Engineering, Electronic Information Engineering. 2011(02).20-40.

statement of originality

I solemnly declare that the submitted design (thesis) is the research work I have conducted and obtained under the guidance of my supervisor. As far as I know, except for the places where the Chinese are specially marked and thanked, there is no plagiarism or plagiarism in the design (thesis) of other people's published or written research results, and there is no preparation for obtaining a degree or certificate from a university or other educational institution. used material. The help given and contributions made to the completion of this design (thesis) have been clearly stated in the design (thesis) and thanks are expressed.

Signature: Date:

Instructions on Authorization of Design (Thesis)

I fully understand the University’s regulations on the retention and use of graduation projects (theses), namely: the school has the right to retain the original copy of Song Wen’s designs (theses), and allow the designs (theses) to be consulted and borrowed; the school can publish all the design (theses) or part of the content, the design (thesis) may be preserved by photocopying, miniature or other means of reproduction. Even if the confidential design (thesis) is declassified, this regulation should be complied with.

Signature: Date:

Guess you like

Origin blog.csdn.net/m0_66999594/article/details/128665967
Recommended