摘要
为满足多个不同嵌入式系统采集数据实时监测的需要,基于MVVM(Model-View-ViewModel)模式设计并实现了一种嵌入式系统通用数据可视化工具。基于结构化文件的数据交互模型,使可视化工具适用于各种嵌入式系统,具有通用性。再结合Ajax技术、CGI技术和Echarts图表库,以网页的形式实时动态呈现采集到的数据。经测试,该工具具有很好的可行性、通用性、实用性、高效性和可拓展性。
In order to meet the needs of real-time monitoring of data collected by many different embedded systems,a general data visualization tool for embedded systems is designed and implemented based on MVVM(Model-View-ViewModel)mode in this paper.The data interaction model based on structured file makes the visualization tool applicable to all kinds of embedded systems,and has generality.Combined with Ajax technology,CGI technology and echarts chart library,the collected data is dynamically presented in the form of Web pages.After testing,the tool has a good feasibility,versatility,practicality,efficiency and scalability.
出处
《工业控制计算机》
2020年第3期23-25,共3页
Industrial Control Computer