摘要
【目的】电力系统实时数据的可视化在快速了解电力运行状态、数据分析与决策中具有重要意义,因此研究并实现一种基于SpringBoot和WebSocket的实时电力数据可视化系统。【方法】系统采用前后端分离开发模式,前端运用HTML、JQuery、Echarts等技术展示电力数据,后端借助SpringBoot框架与MySQL数据库实现数据交互。通过WebSocket技术实现实时数据传输,前端借助Ajax和WebSocket技术向后端发起数据请求,并获得实时电力数据。【结果】通过设计合理的接口和数据交互方式,将电力系统实时数据以直观的图表方式展示在前端页面上,实现数据可视化显示的功能,从而提升用户对电力信息的获取效率。【结论】实验结果验证了该方法的复用性和可拓展性,证明了其能够满足电力系统实时数据可视化的需求,为电力管理与决策提供了有力支持。
[Purposes]The visualization of real-time data of power system is of great significance in the rapid understanding of power operation status,data analysis and decision-making.Therefore this paper aims to study and implement a real-time power data visualization system based on SpringBoot and WebSocket.[Methods]The system adopts the front-end and back-end separation development mode.The front-end uses HTML,JQuery and Echarts to display power data,and the back-end uses the SpringBoot framework to interact with the MySQL database.Real-time data transmission is realized through WebSocket technology.The front-end uses Ajax and WebSocket technology to initiate data requests to the back-end and obtain real-time power data.[Findings]By designing a reasonable interface and data interaction method,the real-time data of the power system is displayed on the front-end page in an intuitive chart way,and the function of data visualization is realized,so as to improve the efficiency of users′acquisition of power information.[Conclusions]The experimental results verify the reusability and extensibility of the method,and prove that it can meet the needs of real-time data visualization of power system,which provides strong support for power management and decision-making.
作者
刘金帅
葛明涛
胡海峰
刘沛杰
LIU Jinshuai;GE Mingtao;HU Haifeng;LIU Peijie(Pingdingshan university,Pingdingshan 467000,China)
出处
《河南科技》
2024年第7期10-13,共4页
Henan Science and Technology
基金
河南省科技攻关项目(242102241061,242102210131)。