摘要
针对当前组态软件Web发布时安全性差、运行速度慢以及图形文件格式多样等问题,提出了基于AJAX(asynchronous JavaScript and XML)和SVG(scalable vector graphics)的组态软件Web发布模型。此模型在面向农产品安全生产管理的图形组态软件中实现并得到成功应用,采用基于XML的、文件大小比同等信息量的其它图形文件格式小得多的SVG作为组态软件的图形文件格式,以DWR(direct web remoting)实现组态数据从服务器端到客户端的无刷新传递,使用JavaScript+DOM(document object model)驱动SVG图形文件动态变化,该方法为组态实时画面的Web发布提供了一种有效的解决方案。
A new model based on AJAX(asynchronous JavaScript and XML) and SVG(scalable vector graphics) is proposed to improve the security and efficiency of web publishing of configuration software and unify the graphics format.This model is realized and applied successfully in the HMI(human machine interface) of configuration software for safe production management of agricultural products.XML-based SVG with less size compared to other graphics file format is chosen as the graphics format of the configuration software,DWR(direct web remoting) is used to transport configuration data non-freshly and JavaScript+DOM(document object model) is applied to drive SVG files to dynamically change.The result shows that this method supplies an efficient solution for the web publishing of configuration software.
出处
《计算机工程与设计》
CSCD
北大核心
2010年第11期2629-2633,共5页
Computer Engineering and Design
基金
国家863高技术研究发展计划基金项目(20060110Z2002)
国家科技支撑计划基金项目(2006BAD10A08)