Web-based movie ticket booking system/movie ticket buying website

Summary

With the rapid development of information technology and network technology, human beings have entered a new era of information, and traditional management techniques have been unable to manage information efficiently and conveniently. In order to meet the needs of the times and optimize management efficiency, various management systems have emerged as the times require, and all walks of life have entered the information management era one after another. Movie booking is one of the products of the transformation of the information age.

Any system must follow the basic process of system design, and this system is no exception. It also needs to go through market research, demand analysis, general design, detailed design, coding, and testing. The movie booking system is designed and implemented based on java language. The system is based on B/S, which is the so-called browser/server model, applies the Springboot framework, and selects MySQL as the background database. The system mainly includes functional modules such as movie type, show, user, theater information, movie information, order information, etc.

This article first introduces the technical development background and development status of the movie ticket booking system, and then follows the conventional software development process. Design and draw system functional module diagrams, flow charts and ER diagrams. Then, design the framework and write codes according to the designed framework to realize each functional module of the system. Finally, test the preliminarily completed system, mainly function test, unit test and performance test. The test results show that the system can realize the required functions, and the operating condition is not obvious.

Keywords: movie booking system; java language; MySQL database; Springboot framework

Abstract

With the rapid development of information technology and network technology, mankind has entered a new information age. Traditional management technology has been unable to manage information efficiently and conveniently. In order to meet the needs of the times and optimize management efficiency, a variety of management systems came into being. All walks of life have entered the era of information management. Film booking is one of the products of the reform of the information age.

Any system should follow the basic process of system design, and this system is no exception. It also needs to go through the steps of market research, demand analysis, outline design, detailed design, coding and testing. The film booking system is designed and implemented based on Java language. The system is based on B / s, the so-called browser / server mode, applies the springboot framework, and selects MySQL as the background database. The system mainly includes film type, number of sessions, users, cinema information, film information, order information and other functional modules.

This paper first introduces the technical development background and development status of the film booking system, and then follows the conventional software development process. Firstly, select the applicable language and development platform for the system, formulate the module and design the database structure according to the demand analysis, and then draw the function module diagram, flow chart and E-R diagram of the system according to the design of the overall function module of the system. Then write the code of each module according to the function of the system. Finally, test the preliminarily completed system, mainly including function test, unit test and performance test. The test results show that the system can achieve the required functions, and the operation condition is OK without obvious shortcomings.

Key words: film booking system; Java language; Mysql database; Springboot framework

Table of contents

Abstract I

Abstract II

1 Introduction 1

1.1 Subject background 1

1.2 Research status 1

1.3 Preliminary design method and implementation plan 2

1.4 Research content of this paper 2

2 System development environment 4

2.1 java language 4

2.2 B/S Architecture 4

2.3 Introduction to MySQL 5

2.4 Spring boot framework 5

3 System Analysis 6

3.1 System Feasibility Analysis 6

3.1.1 Economic feasibility6

3.1.2 Technical feasibility 6

3.1.3 Operational feasibility 6

3.2 Analysis of website status 6

3.3 Analysis of functional requirements 7

3.4 System design rules and operating environment 8

3.5 System flow analysis 8

3.5.1 Operation process 8

3.5.2 Add information process 9

3.5.3 Delete information flow 10

4 System Design 11

4.1 Main functions of system design 11

4.2 Database Design 11

4.2.1 Database design specification 11

4.2.2 ER Figure 11

4.2.3 Data Table 12

5 System Implementation 18

5.1 User front desk function module 18

5.2 Administrator function module 20

6 System Test 27

6.1 Functional testing 27

6.2 Usability testing 27

6.3 Maintenance test 28

6.4 Performance testing 28

6.5 Analysis of test results 29

Conclusion 30

Reference 31

Thanks 33

1 Introduction

1.1 Subject background

With the development of the Internet, computers have become an indispensable tool for people's daily life and office work. In this context, network technology has been applied to various aspects. In order to improve the efficiency of office life, network information technology has developed rapidly. In this context, human society has entered a new era of information technology. Movies have always been one of the best choices for movie lovers, so the traditional model cannot meet the needs of users. At this time, it is imperative to find an effective and convenient online system management. The increasingly mature computer information management technology has become the only choice to solve this problem. Nowadays, computer information management technology has been able to handle movie bookings with ease. In fact, information management technology has penetrated into the information control management of various industries and plays a pivotal role. With the continuous progress of modern socialism, the living standards of ordinary people have been greatly improved, and many aspects are realized on the Internet, so the Internet has become the most direct, convenient and fast access.

Compared with the traditional movie booking method, using the movie ticket booking system has many advantages: firstly, it can greatly improve the retrieval of movie ticket information, and the desired result can be fed back within a few seconds by only inputting movie-related information; secondly, it can store a large number of movie ticket reservations At the same time, the security of movie ticketing information is guaranteed higher; compared with paper documents to manage movie ticketing information, the movie ticketing system saves space and human resources. These advantages greatly improve operational efficiency and save operating costs. Therefore, it is necessary to develop a movie booking system to effectively manage movie booking information, which not only improves the efficiency of movie booking, but also increases the security of user information, facilitates users to feedback information to administrators in a timely manner, and increases the number of users and management. The interaction between members can improve the experience intensity of movie ticket booking.

This system intends to use MySQL to design the database for the flexibility of the database structure, while the Springboot framework and B/S architecture guarantee high platform adaptability. This article mainly introduces the development background of the system, the functions to be completed and the development process, and mainly explains the key points and design ideas of the system design.

1.2 Current status of subject research

Nowadays, more and more people are willing to choose a suitable management plan, but they are often limited by management experience. The Internet has emerged as a new type of network, and the Internet has entered people's lives. The movie booking system is undoubtedly a better service for administrators and users. The platform, under the background of such a successful management model, is not only convenient for administrators to manage, but also convenient for users to view movie information and make immediate reservations.

The online movie booking system is the product of the combination of computer technology and movie booking. The speed of social development is getting faster and faster, and the social pressure is changing faster and faster, causing many people to adopt various methods to decompress. The way most people relieve stress is to choose to watch movies, immerse themselves in the plot in a happy mood, and relieve themselves with short-term pleasure.

1.3 Preliminary design method and implementation plan

Software architecture scheme: Since this system needs to be able to run on different devices, and the computer configuration requirements should be as low as possible, in order to achieve this requirement, B/S structure is the best choice after consideration. The system using the B/S structure can run on almost any computer, as long as the browser can work normally, the system can run normally, and the later maintenance and secondary modification are relatively easy and meet the requirements.

Operating system solution: Windows 10 operating system, which is the latest system launched by Microsoft, is currently used by most computers on the market, and the system has complete functions and good compatibility. Development tools: choose Eclipse. Java development language.

1.4 Research content of this paper

This article is mainly divided into seven chapters. The first part is the introduction, which mainly introduces the current development of computer technology, the development stage of movie booking, analyzes the disadvantages of the current movie booking system and the benefits of using information technology to manage movie booking information.

The second part is a brief introduction of related technologies, which mainly introduces the development process of each technology, the status quo of technology development, the advantages of technology and the reasons for choosing this technology.

The third part is system analysis, which mainly analyzes the functions required by software design.

The fourth part is the system design, which mainly carries out the system architecture design, database design and so on.

The fifth part is the detailed design of the system.

The sixth part is system debugging and testing, using testing methods to conduct feasibility testing, performance testing, system testing, etc.

The seventh part is the summary and acknowledgment, which mainly summarizes the completion process and completion status of the program design, and expresses the center's gratitude and wishes to the classmates and teachers who helped in the completion of the design process.

2 System development environment

2.1 java language

Java is a cross-platform object-oriented programming language launched by Sun. Because Java technology has the characteristics of excellent versatility, high efficiency, robust security and platform portability, and Java is open source and has the world's largest developer professional community, so Java develops rapidly.

2.2 B/S Architecture

The B/S system can be used through a computer that can access the Internet. Its biggest advantage is that it does not need to install special software. First, the browser sends a request to the server, and then the server processes the request and returns the information to the browser. There is no need to access and calculate the data again, as long as it is responsible for displaying the data to reduce the requirements. If the client is like a "thin man", the server will become more and more "fat". Compared with the C/S architecture, the biggest difference between the B/S architecture and the C/S architecture is: the application software of the B/S system uses a web browser as a platform for interacting with users, while the C/S needs to develop a dedicated application program.

Figure 2-1 B/S structure diagram

2.3 Introduction to MySQL

In software projects, through the database of operational data, it can ensure its security, independence and data consistency, and provide access to the data system, so it can effectively reduce the time for programmers to develop applications.

MySQL can support multi-threading, which can facilitate the use of system resources and improve the speed of operation. And provide odbc, jdbc and tcp/ip to connect to MySQL in various forms; the function is lacking and the scale is small, but it is enough for this system.

Because the source code of MySQL is open to the outside world, anyone can download it through the corresponding method and modify it according to individual needs. MySQL is valued because of its speed, reliability, and adaptability.

Although MySQL may not be very powerful, due to its open source and wide spread, many people are aware of this database.

2.4 Spring boot framework

This technology is an open source application framework of the Java platform, and its purpose is to simplify the initial construction and development process of Sping. By default, many framework usage methods are configured, and Jar packages are automatically loaded, in order to allow users to run spring applications as quickly as possible.

The main advantages of SpinrgBoot are:

  1. Provides a faster and broader entry experience for all spring development;

  1. zero configuration;

  1. Integrate the configuration of a large number of commonly used third-party libraries;

  1. Provide ready features. Today, developers in the Java field are using SpinrgBoot, gradually becoming a leader in the development field.

3 System Analysis

3.1 System Feasibility Analysis

3.1.1 Economic feasibility

Since this system is used as a graduation design system, and the system itself has some technical defects, it cannot be used directly for commercial purposes. I only want to improve my academic level through the development of this system, and do not need additional costs such as specific servers. All creation and work processes can be realized only on a personal computer, and most of the software used are open source software, so the economic cost is not high and can be easily realized.

3.1.2 Technical Feasibility

The development of this system uses Java as the development language for system development, Eclipse is selected as the development environment, and the B/S structure determines the compatibility and multi-user operability of the system. In addition, choosing MySql as the database not only improves data security but also guarantees data operability.

3.1.3 Operational feasibility

This system uses Java as the development language system, and the choice of B/S structure determines that only a small resource is needed to operate the system, and there are not too many hardware configuration requirements. Currently, as long as the browser can run normally on the market PCs can run normally using the system.

To sum up, the design and development of this system meet the conditions of economy, technology and operation. Therefore, the system development has the feasibility conditions.

3.2 Analysis of website status

The number of system users directly determines the workload of the user information manager. There is no doubt that the workload of the website manager is relatively large and cumbersome. Through the previous research, we concluded that the existing status of user management on the website is analyzed as follows:

Lack of overall planning, if a website lacks comprehensiveness, systematicness, and integrity in information management, it will inevitably require a lot of manpower and material resources to plan and organize information. The introduction of information management methods can undoubtedly achieve the purpose of saving information management costs, not only reducing resource waste, but also making movie booking information orderly, which has become a major advantage in market competition.

It is necessary to proceed step by step. If you are impatient, you can’t eat hot tofu. Nothing can be done overnight. Even the information management system is the same. To maximize the efficiency of the system, you should do more research, listen to the opinions of your tutors or classmates, and make necessary overall plans. The organization designs system functions purposefully, and unites all departments to exert their subjective initiative.

(3) Information security measures are not in place

The right to privacy is sacred and inviolable. This is a right endowed to us by the Constitution of the People's Republic of China. No one can violate our legitimate rights and interests. However, there are great security risks in the management of network user information, and there are many cases of information leakage. Strengthen information security. Measures are an inevitable part of the process of improving network information management.

(4) Resources cannot be fully shared

Resource sharing is a major feature of the Internet. Without sharing, there will be no social interaction, and the Internet will lose its due charm. If user information sharing can be realized, it will undoubtedly be indispensable for the development of movie ticket booking.

(5) The extensibility of the existing system is not high.

Nowadays, the rapid development of science and technology is followed by technological updates, which will inevitably bring challenges to software updates. Therefore, the system must have good openness and scalability. In order not to lag behind the times, this is a must-have feature. one.

Based on the above analysis, the movie ticket booking system should be realistic and effective. The collective performance is as follows: first, the system can organize and classify user information to prevent user information from being confused and difficult to organize; second, the system must be safe and stable, and cannot be leaked User information, resulting in privacy leaks, not only harms the interests of users but also damages the reputation of cinemas; third, the system must have good openness, not only to facilitate regular maintenance, but also to facilitate timely addition of new functions to ensure that the advanced era fits sex. After detailed discussion and demonstration, determine the overall requirements of the system.

3.3 Analysis of Functional Requirements

The system function requirements analysis is through the software developers participating in the market research, after the exchanges between the students, after detailed and careful thinking, and then discussing and researching, the functions required for the preliminary system development are obtained. This is the first step in the development, and it is also a crucial step. If the required modules of the system are not formulated at this stage, unnecessary troubles will be caused in the future. Therefore, we must be serious and devote ourselves to this step.

The system is developed using a top-down method, and the basic functions are as follows:

This topic requires the realization of a movie booking system, which mainly includes an administrator module and a user module.

(1) The administrator use case diagram is as follows:

Guess you like

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