Automatic payment system for water and electricity bills in student dormitories/water and electricity payment system based on javaweb

Summary

After the implementation of the "Internet +" strategy, the informatization level of many industries has been greatly improved. However, at present, the daily work of many schools is still carried out through manual management, which requires a large amount of manpower to be invested in various positions to perform a lot of repetitive work. This wastes a lot of manpower and material resources, and the work efficiency is low. At the same time, it brings problems to subsequent work. hidden dangers. Moreover, the existing automatic payment system for water and electricity bills in student dormitories has imperfect procedures, resulting in a low utilization rate of the system. The deployment and application of the automatic payment system for water and electricity bills in student dormitories will manage daily dormitory repair reports, maintenance assignments, maintenance reports, maintenance evaluation and other functions, which can simplify work procedures, reduce labor costs, and improve work efficiency. In order to effectively promote the rational allocation and use of school resources, it is urgent to develop a more comprehensive automatic payment system for water and electricity bills in student dormitories.

This paper mainly introduces the design and implementation of the automatic payment system for water and electricity bills in student dormitories based on Java language. This system is based on B/S, the so-called browser/server model, applies the Springboot framework, and chooses MySQL as the backend database to develop and implement a system with automatic payment of water and electricity bills in student dormitories as its core, as well as a brief introduction to the system.

Keywords : automatic payment system for water and electricity bills in student dormitories; Java language; B/S structure; Springboot framework

Abstract

After the implementation of the "Internet +" strategy, the informatization level of many industries has been greatly improved. However, at present, the daily work of many schools is still carried out through manual management, which needs to invest a lot of manpower in various posts to carry out a lot of repetitive work, which wastes a lot of human and material resources, has low work efficiency, and brings hidden dangers to the follow-up work. Moreover, the existing automatic payment system of water and electricity charges in student dormitories has an imperfect process, resulting in a low utilization rate of the system. The deployment and application of automatic water and electricity payment system in student dormitory will manage the daily dormitory repair application, maintenance assignment, maintenance report, maintenance evaluation and other functions, which can simplify the working procedures, reduce labor costs and improve work efficiency. In order to effectively promote the rational allocation and use of school resources, there is an urgent need to develop a more comprehensive automatic payment system for water and electricity in student dormitories.

This paper mainly introduces the design and implementation of automatic payment system of water and electricity charges in student dormitory 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 to develop and implement a system with automatic payment of water and electricity charges in student dormitories as the core, as well as a simple introduction to the system.

Key words: automatic payment system of water and electricity charges in student dormitory; Java language; B / S structure; Springboot framework

 Directory 

Abstract I

Abstracts II

Catalog III

Chapter 1 Introduction

1.1 Main contents of the research 2

1.2 Research status 3

Chapter 2 System Development Platform and Technology Introduction 4

2.1 B/S architecture 5

2.2 Introduction to MySQL 6

2.3 MySQL environment configuration 7

2.4 Introduction to Java language 8

2.5 Springboot Framework 9

Chapter 3 System Analysis and Feasibility Analysis 1 0

3.1 Overall analysis of the system 1 1

3.2 Feasibility analysis 1 2

3.2.1 Economic feasibility1 3

3.2.2 Technical feasibility 1 4

3.2.3 Operational feasibility 1 5

3.2.4 Analyze research feasibility 16

3.3 Functional requirements analysis 1 7

Chapter 4 System Design 1 8

4.1 System structure design 1 9

4.2 Database Design 2 0

4.2.1 Entity ER diagram 2 1

4.2.2 Data Sheet 2 2

Chapter 5 System Implementation 2 3

5.1 Administrator function module 2 4

5.2 Maintenance worker function module 2 5

5.3 Student Function Module 2 6

Chapter 6 System Testing

6.1 Test definition

6.2 Functional testing

6.3 Test conclusion 3 0

Conclusion 3 1

References 3 2

Acknowledgments 3 3

  1. introduction

The current development status of information management technology. In recent years, computer operation technology has continued to develop. Today's information management technology has already eliminated the original manual model and turned to the electronic information model. Computers are playing an increasingly important role in information management. By using computers for information control, we can not only improve work efficiency, but also improve the security of information management to a great extent. Especially when faced with some more complex information management requirements, computers can give full play to their advantages. As we all know, the use of computers for information management is closely related to the development of information management systems, so system development has become an area that people are passionate about and is the prerequisite for our system management. In order to solve some of the existing problems, information management technology is used to conduct research, hoping to solve some basic current problems.  

With the development of informatization, the Internet needs to provide more services and construct a more complete system to meet the spiritual and material needs of more and more users. With the increasing maturity of Internet technology, an information management model based on the network has been formed. This is the online management system that everyone is familiar with today. The purpose of this automatic payment system for water and electricity bills in student dormitories is to establish an efficient platform. This automatic payment system for water and electricity bills in student dormitories is designed and developed using simple and efficient Java language and Mysql database technology. The system mainly enables users to register students through the system. After logging in to the system, students can edit their personal information, view dormitory repair reports, maintenance assignments, water and electricity bills, etc., and administrators can select students, maintenance workers, repair report types, dormitory repair reports, etc. Management of maintenance assignments, maintenance reports, maintenance evaluations, utility bills and other functions. The application of computer technology in modern management has made computers an important tool for users to apply modern technology, which can effectively solve the problem of convenient and comprehensive acquisition of information and improve efficiency.

1. 1 Main contents of the research 

Basic content of the research: This design is mainly to implement an automatic payment system for water and electricity bills in student dormitories, and to realize the automation, informatization and management of the automatic payment system for water and electricity bills in student dormitories. The main design principles of the system are: taking practical applications as the core, focusing on the advantages of "practicality, ease of use, simplicity, and stability". It can not only focus on practical results and meet the actual needs of actual users, but also leave some room for future upgrades and expansions of the system. In the implementation of technical design, the characteristics of "reasonable implementation, clear structure, and simplicity and ease of understanding" are highlighted.

The main purpose of this system is to accelerate the informatization process of the automatic payment system for water and electricity bills in student dormitories, and make full use of computer technology and modern communication methods to provide services to the school. Establish a convenient management platform for the automatic payment system for water and electricity bills in student dormitories, facilitate the sharing of information resources, improve management efficiency, and provide auxiliary automatic payment system services for student dormitory water and electricity bills for administrators, maintenance workers, and students. This system will maximize the school's overall work efficiency and work quality, reduce management and work costs, improve the working environment and conditions, and improve the automation and scientific level of school management and decision-making. Help schools save costs, reduce intermediate links, optimize business processes, improve overall efficiency, and promote management progress.

1. 2  Research status

In many developed countries abroad, the software industry has already been fully popularized. However, our country's economy has continued to develop, and foreign informatization construction has been continuously introduced, which has enabled the domestic software industry to continue to develop, make progress through exploration, and finally achieve some results. my country's software industry Ushering in rapid development, more software systems have been developed, gradually changing the way people live and work. However, with regard to the construction of informatization, compared with many developed countries, due to the backwardness of informatization and insufficient funds, the development of automatic payment of water and electricity bills in student dormitories in our country is still relatively backward. Therefore, we must continue to work hard to explore and strive for A practical information-based automatic payment system for water and electricity bills in student dormitories was developed to realize the informatization of the automatic payment system for water and electricity bills in student dormitories. Therefore, this topic takes the automatic payment of water and electricity bills in student dormitories as an example, and the purpose is to develop a practical automatic payment system for water and electricity bills in student dormitories.

The development of the automatic payment system for water and electricity bills in student dormitories was completed using Java language, Springboot framework, and the support of MYSQL and other technologies. It realized the informatization of the automatic payment system for water and electricity bills in student dormitories and gave users a better experience. The automatic payment system for water and electricity bills in student dormitories will make it easier for administrators to manage and operate and achieve their goals.

Chapter 2 System Development Platform and Technology Introduction

2. 1  B/S architecture

The B/S system can be used through a computer with Internet access. Its biggest advantage is that it does not require the installation of 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. It only needs to be responsible for displaying the data to reduce the requirements. If the client is like a "skinny person", 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 that the application software of the B/S system uses a web browser as a platform for interacting with users, while C/S requires the development of dedicated applications.

There are currently two popular structures in MIS system structures: C/S and B/S.

    C/S structure system: The C/S structure is a client server structure. It can assign tasks to the Client and Server sides, making full use of the advantages of the hardware environment at both ends to reduce system communication costs. The main role of the client is to handle human-computer interaction, execute client applications, collect data, and send task requests to the server. The basic function of the server is to execute background programs. It mainly responds to client requests. In addition, its functions also include: sharing management, communication management, file management, etc. of the data service reservation storage system.

    B/S structure system: This network structure simplifies the client and concentrates the center of system function implementation on the server. In this mode, only a browser is needed. This structure hands over a lot of work to the WEB server, only requests WEB services through the browser, and then returns information according to the request.

Usually used within the website network, using C/S. The use of B/S is not limited to intranet use. Taking into account a series of requirements of this management system, the system is developed using a B/S structure.

2. 2  Introduction to MySQL

In software projects, by operating the database of data, it can be ensured that its security, independence and data consistency are provided, and access to the data is provided by the system, thus effectively reducing the time for programmers to develop applications.

MySQL can support multi-threading, which can easily use system resources and improve running speed. It also provides odbc, jdbc and tcp/ip to connect to MySQL in various forms; it is lacking in functionality and small in scale, 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 personalized needs. MySQL is valued due to its speed, reliability, and adaptability.

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

2. 3  MySQL environment configuration

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

Change the root password of the MySQL database. Use cmd to enter the command line mode and enter the following command:

cd C:\Program Files\MySQL\bin

MySQLadmin -u root -p password 123

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

2. 4 Introduction to Java language 

The Java language is a completely object-oriented programming language. The idea of ​​object-oriented programming language is to regard objectively existing things as a class of objects with states and behaviors, and then use abstract methods to find the common states and behaviors of the same class of objects to form a model - a class. Class is the core of Java programming language and the basic abstract unit of Java language. All things in the world are objects, and they can be abstracted into classes with states and behaviors. The main features of the Java language are:

The Java language is typically object-oriented. It provides classes, which in turn provide object models. By using inheritance and polymorphic methods, code reuse can be achieved.

The Java language is safe. The biggest problem to be solved in the contemporary network environment is security. Java has internal security measures to ensure the safety and integrity of the program.

The operation of the Java language is platform independent. Java programs can run on any system as long as the Java operating system is installed.

The Java language is multi-threaded.

The Java language has memory management. Java can automatically manage memory, making good use of system resources and reducing waste.

2.5 Springboot framework

This technology is an open source application framework for 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 readers 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;
  2. Zero configuration;
  3. Integrated the configuration of a large number of commonly used third-party libraries;
  4. Provide ready features. Today, all developers in the Java field are using SpinrgBoot, and it has gradually become a leader in the development field.
  • System analysis and feasibility analysis

3.1 Overall analysis of the system

This system adopts a series of design principles. The main purpose is for the functional design of the system, as well as for the convenience of managers in later maintenance of the system, and for easy operation by users. The most important design principles include: simplicity, pertinence, practicality, consistency, and advancement.
(1) Simplicity: While the functional modules are implemented in the system, the most direct purpose is to make it simple and clear for users to operate and find the required resources quickly.
(2) Pertinence: This system is designed to develop an automatic payment system for water and electricity bills in student dormitories based on design needs, so it is highly targeted.
(3) Practicality: This design can meet the actual functional requirements of the automatic payment system for water and electricity bills in student dormitories, can be used by users in practice, and has practical application value.
(4) Consistency: The overall page layout of the website, the placement and size of the images in the img should be strictly consistent between different interfaces. Variable naming rules should be consistent.
(5) Advancement: This system uses Java as the development language and MySQL as the system database, which are widely used by software designers.

3.2 Feasibility  analysis

Feasibility analysis is an essential part of every development project. Feasibility analysis can directly affect the survival of a system, analyze the significance of development, and whether the traditional paper-based manual statistical model can be compensated for by the developed system. Whether the problems can be better solved, etc., through the development and design of the automatic payment system for water and electricity bills in the student dormitory, not only can the workload of the staff be gradually reduced, but also efficient work and management can be carried out. Therefore, the development of this system has achieved the greatest significance and value. After the system is completed, whether the benefits are greater than the cost and whether it can achieve the expected results, these aspects must be analyzed feasibility. After further analysis, you can decide whether to develop this system. system. In the development and design of the automatic payment system for water and electricity bills in student dormitories, the following points were analyzed for feasibility: Technical feasibility: Through the adoption of Java language, as the technology continues to mature, this technology is used to design an automatic payment system for water and electricity bills in student dormitories. is feasible. Economic feasibility: During the development process, whether the benefits of the completed system are greater than the development costs. Operational feasibility: The automatic payment system for water and electricity bills in student dormitories is developed and designed to facilitate user operability and practicality.

3.2.1 Economic feasibility

Since this system is a graduation project system, and the system itself has some technical flaws, it cannot be directly used for commercial purposes. I just want to improve my academic level through the development of this system, without the need for additional expenses such as special servers. All creation and work processes can be realized only on a personal computer. Most of the software used is open source software, so the economic cost is not high and it can be easily implemented.

3.2.2 Technical feasibility

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

3.2.3 Operational feasibility

This system uses Java as the development language, and the choice of B/S structure determines that operating this system requires only a small amount of resources and does not require too many hardware configurations. Currently, as long as the browser can run normally on the market All personal computers can run normally using this system.

In summary, the economic, technical, and operational conditions for the design and development of this system are all met. Therefore, system development has feasibility conditions.

3. 2. 4 Analyze research feasibility  

Aiming at the needs, design, and implementation of the automatic payment system for water and electricity bills in student dormitories, this article will first investigate and study the needs of the automatic payment system for water and electricity bills in student dormitories. After carefully analyzing the system, we will conclude the various aspects of developing the entire system. need. On this basis, this article will further complete the design of the corresponding modules according to the various needs of the system, strive to explain the design concepts of each function in detail, and discuss the system in detail through modeling language, text description and other means. Functional module design and frame structure design. In the process of implementing the module, this article will display screenshots of the results of each important module, and then conduct code analysis of the core functions. After passing the final scientific and reasonable system test, the development of the entire system will be completed. Specifically include the following:

  1. Investigate and analyze the background of this system, and through actual on-site inspections, identify the current management measures taken by enterprises in this regard, and consider some unreasonable phenomena in the detailed process of the automatic payment system for water and electricity bills in student dormitories, and think about the problems exposed therein question and the specific reason why this error was raised.
  2. In contrast to these questions, think about which features need to be incorporated into the overall system plan and consider the possible impacts if designed so. Try to eliminate hidden dangers when designing requirements, so that the system can have a virtuous cycle and reduce cost consumption in the subsequent process.
  3. When dealing with all aspects of detailed functions, the arrangement of the entire project should be coordinated to allow the many modules to run smoothly, reduce unnecessary coupling between each other, and achieve refined design.
  4. When entering the test, follow the principle of first overall and then details, connect the functions between each module, try to be reasonable and scientific, and make the system more usable through transposition thinking.

3.3 Functional requirements analysis

System functional requirements analysis is based on the functions required for preliminary system development obtained by software developers after participating in market research and discussion. This is the first and crucial step in development. If you do not formulate the required modules for the system at this stage, it will cause unnecessary trouble in the future. Therefore, you must be serious and devote yourself to this step.

This system is developed using a top-down approach and basically positions the following functions:

This project requires the implementation of an automatic payment system for water and electricity bills in student dormitories. The system mainly includes an administrator module, a maintenance worker module, and a student module.

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

Guess you like

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