Design and Implementation of Energy Management System Based on Spring Boot Framework

This paper designs and implements an energy management system based on the Spring Boot framework. The system mainly includes three layers, which are the data collection layer, the business logic layer, and the display interface layer from bottom to top. The data collection layer is based on the RS-4...

Full description

Bibliographic Details
Main Authors: Fang Zhang, Guiling Sun, Bowen Zheng, Liang Dong
Format: Article
Language:English
Published: MDPI AG 2021-11-01
Series:Information
Subjects:
Online Access:https://www.mdpi.com/2078-2489/12/11/457
_version_ 1827676465490034688
author Fang Zhang
Guiling Sun
Bowen Zheng
Liang Dong
author_facet Fang Zhang
Guiling Sun
Bowen Zheng
Liang Dong
author_sort Fang Zhang
collection DOAJ
description This paper designs and implements an energy management system based on the Spring Boot framework. The system mainly includes three layers, which are the data collection layer, the business logic layer, and the display interface layer from bottom to top. The data collection layer is based on the RS-485 electrical standard and the MODBUS communication protocol. The two protocols connect all energy consumption monitoring points into a mixed topology communication network in the enterprise. The programs in the data collection layer poll each energy consumption monitoring point in the network to collect the data and transmit to the business logic layer. The business logic layer is developed on the basis of the Spring Boot framework and mainly includes two parts: the MySQL database and Tomcat server. In the MySQL database, the stored data are horizontally split according to the time column and stored in different data tables. The split of data reduces the load of a single data table and improves the query performance of the database. The Tomcat server is built into the Spring Boot framework to provide a basic environment for system operation. The Spring Boot framework is the core component of the system. It is responsible for collecting, storing, and analyzing data from energy consumption monitoring points, receiving and processing data requests from the display interface layer. It also provides standard data interfaces to the external programs. The display interface layer is developed on the basis of the Vue framework and integrated into the Spring Boot framework. The display layer combines an open-source visualization chart library called ECharts to provide users with a fully functional and friendly human–computer interaction interface. Through the calculation of hardware and software costs, considering the personnel cost in different regions, the total cost of the energy management system can be estimated. The cost of construction was approximately 210,000 USD in this paper. Since the system was actually deployed in a manufacturing company in December 2019, it has been operating stably for more than 600 days.
first_indexed 2024-03-10T05:24:45Z
format Article
id doaj.art-74bf44411f0e474e8ee7a7cc9fda86df
institution Directory Open Access Journal
issn 2078-2489
language English
last_indexed 2024-03-10T05:24:45Z
publishDate 2021-11-01
publisher MDPI AG
record_format Article
series Information
spelling doaj.art-74bf44411f0e474e8ee7a7cc9fda86df2023-11-22T23:45:29ZengMDPI AGInformation2078-24892021-11-01121145710.3390/info12110457Design and Implementation of Energy Management System Based on Spring Boot FrameworkFang Zhang0Guiling Sun1Bowen Zheng2Liang Dong3College of Electronic Information and Optical Engineering, Nankai University, Tianjin 300350, ChinaCollege of Electronic Information and Optical Engineering, Nankai University, Tianjin 300350, ChinaCollege of Electronic Information and Optical Engineering, Nankai University, Tianjin 300350, ChinaCollege of Electronic Information and Optical Engineering, Nankai University, Tianjin 300350, ChinaThis paper designs and implements an energy management system based on the Spring Boot framework. The system mainly includes three layers, which are the data collection layer, the business logic layer, and the display interface layer from bottom to top. The data collection layer is based on the RS-485 electrical standard and the MODBUS communication protocol. The two protocols connect all energy consumption monitoring points into a mixed topology communication network in the enterprise. The programs in the data collection layer poll each energy consumption monitoring point in the network to collect the data and transmit to the business logic layer. The business logic layer is developed on the basis of the Spring Boot framework and mainly includes two parts: the MySQL database and Tomcat server. In the MySQL database, the stored data are horizontally split according to the time column and stored in different data tables. The split of data reduces the load of a single data table and improves the query performance of the database. The Tomcat server is built into the Spring Boot framework to provide a basic environment for system operation. The Spring Boot framework is the core component of the system. It is responsible for collecting, storing, and analyzing data from energy consumption monitoring points, receiving and processing data requests from the display interface layer. It also provides standard data interfaces to the external programs. The display interface layer is developed on the basis of the Vue framework and integrated into the Spring Boot framework. The display layer combines an open-source visualization chart library called ECharts to provide users with a fully functional and friendly human–computer interaction interface. Through the calculation of hardware and software costs, considering the personnel cost in different regions, the total cost of the energy management system can be estimated. The cost of construction was approximately 210,000 USD in this paper. Since the system was actually deployed in a manufacturing company in December 2019, it has been operating stably for more than 600 days.https://www.mdpi.com/2078-2489/12/11/457Spring Boot frameworkhybrid topologyhorizontal database splitTomcat server
spellingShingle Fang Zhang
Guiling Sun
Bowen Zheng
Liang Dong
Design and Implementation of Energy Management System Based on Spring Boot Framework
Information
Spring Boot framework
hybrid topology
horizontal database split
Tomcat server
title Design and Implementation of Energy Management System Based on Spring Boot Framework
title_full Design and Implementation of Energy Management System Based on Spring Boot Framework
title_fullStr Design and Implementation of Energy Management System Based on Spring Boot Framework
title_full_unstemmed Design and Implementation of Energy Management System Based on Spring Boot Framework
title_short Design and Implementation of Energy Management System Based on Spring Boot Framework
title_sort design and implementation of energy management system based on spring boot framework
topic Spring Boot framework
hybrid topology
horizontal database split
Tomcat server
url https://www.mdpi.com/2078-2489/12/11/457
work_keys_str_mv AT fangzhang designandimplementationofenergymanagementsystembasedonspringbootframework
AT guilingsun designandimplementationofenergymanagementsystembasedonspringbootframework
AT bowenzheng designandimplementationofenergymanagementsystembasedonspringbootframework
AT liangdong designandimplementationofenergymanagementsystembasedonspringbootframework