Automation of Electric Power SystemsVol. 32, Issue 9, Pages: 57-60(2008)
作者机构:
西南交通大学电气工程学院,四川省,成都市,610031
作者简介:
基金信息:
DOI:
CLC:
Published:2008
稿件说明:
移动端阅览
GAO Qiang, TONG Xiaoyang, LIU Zhigang, et al. [J]. Automation of electric power systems, 2008, 32(9): 57-60.
DOI:
GAO Qiang, TONG Xiaoyang, LIU Zhigang, et al. [J]. Automation of electric power systems, 2008, 32(9): 57-60.DOI:
基于AJAX的变电站嵌入式Web发布系统的设计与实现
摘要
为了适应对变电站Web数据频繁更新的需求,提高嵌入式Web服务器的响应效率,简化服务器端回发的数据,增强Web应用功能,设计了一种高效的变电站嵌入式Web发布系统。此系统在与客户端首次连接时向客户端发送JavaScript脚本,从而在客户端建立AJAX(asynchronous JavaScript and XML)引擎;该引擎通过回调函数获得服务器端回发的异步消息,同时调用文本目标模型(DOM)的应用编程接口(API)实现网页的局部快速刷新;采用基于XML文档格式的数据发布方式,除了以异步方式和局部刷新方法向浏览器提供变电站信息以完成对变电站的远程监视外,还可向电力数据网上各类信息系统提供统一的XML文档,实现变电站数据的共享。
Abstract
A highly efficient embedded Web publishing system in substations is designed to improve the application functions and response speed of the Web server, and simplify the data sent back from the server-side, bringing about a better adaptability for frequent data updates. In the system, the JavaScript code is sent to the client at the first connection to set up the AJAX(asynchronous JavaScript and XML) engine to obtain the asynchronous message from the server-side through the callback function and completes local fast refreshing of the Web page by calling the application programming interface(API) of the document object model(DOM). With data publication based on the XML document format, remote monitoring of the substation is realized by providing information to the browser by local refreshing in the asynchronous mode; the unified XML documents are submitted to various information systems in the electric power data network for the realization of substation data sharing.