论文部分内容阅读
为了适应对变电站Web数据频繁更新的需求,提高嵌入式Web服务器的响应效率,简化服务器端回发的数据,增强Web应用功能,设计了一种高效的变电站嵌入式Web发布系统。此系统在与客户端首次连接时向客户端发送JavaScript脚本,从而在客户端建立AJAX(asynchronous Java Script and XML)引擎;该引擎通过回调函数获得服务器端回发的异步消息,同时调用文本目标模型(DOM)的应用编程接口(API)实现网页的局部快速刷新;采用基于XML文档格式的数据发布方式,除了以异步方式和局部刷新方法向浏览器提供变电站信息以完成对变电站的远程监视外,还可向电力数据网上各类信息系统提供统一的XML文档,实现变电站数据的共享。
In order to adapt to the frequent updating of Web data in substation, improve the response efficiency of embedded Web server, simplify the data returned by server and enhance the function of Web application, an efficient embedded Web publishing system for substation is designed. This system sends a JavaScript script to the client when connecting with the client for the first time, so that an AJAX (asynchronous Java Script and XML) engine is established on the client. The engine obtains asynchronous messages sent back by the server through a callback function, and calls a text target model (DOM) application programming interface (API) to realize the local fast refresh of the webpage. Based on the XML document format data release method, in addition to providing the substation information to the browser in an asynchronous way and a local refresh method to complete the remote monitoring of the substation, It can also provide a unified XML document to all kinds of information systems on the power data network to share substation data.