首页> 外国专利> SVG TECHNOLOGY-BASED METHOD FOR REAL-TIME MONITORING OF INDUSTRIAL DATA

SVG TECHNOLOGY-BASED METHOD FOR REAL-TIME MONITORING OF INDUSTRIAL DATA

机译:基于SVG技术的工业数据实时监控方法

摘要

An SVG technology-based method for real-time monitoring of industrial data, comprising: plotting a process flow monitoring picture by using SVG plotting software, writing custom JS scripts corresponding to the monitoring picture, and associating an SVG file with a custom JS script file; a front end initiating a network request, loading the SVG file, and adding the custom JS scripts into a webpage; establishing a page object by means of the JS scripts, adding an element object into the page object according to the content of the SVG file, requesting data from a backend after establishing the structure of the element object, assigning values to respective attributes of the element object, and completing the display of page data; and periodically requesting real-time data from the backend, running the custom JS scripts after updating a page observation point value, and performing a logical action required by a user. The present invention uses the SVG technology to solve the problems in the prior art that the graphics format is not universal, picture data is not open, and conversion and multiplexing cannot be performed. Furthermore, the JS packaged scripts can run in the form of an embedded H5 webpage, without downloading a browser control/plug-in.
机译:基于SVG技术的工业数据实时监控方法,包括:通过使用SVG绘图软件绘制流程监视图像,编写与监视图片对应的自定义JS脚本,并将SVG文件与自定义JS脚本文件相关联;前端启动网络请求,加载SVG文件,并将自定义JS脚本添加到网页;通过JS脚本建立页面对象,根据SVG文件的内容将元素对象添加到页面对象中,在建立元素对象的结构之后从后端请求数据,将值分配给元素的各个属性对象,并完成页面数据的显示;并定期从后端请求实时数据,在更新页面观察点值后运行自定义JS脚本,并执行用户所需的逻辑动作。本发明使用SVG技术来解决现有技术中的问题,即图形格式不是通用的,图像数据未打开,并且不能执行转换和复用。此外,JS打包脚本可以以嵌入的H5网页的形式运行,而无需下载浏览器控制/插件。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号