倪磊,叶卫东.LXI仪器Web接口扩展设计与关键技术实现[J].电子测量技术,2016,39(4):81-85
LXI仪器Web接口扩展设计与关键技术实现
Design and key technology implementation on extension of LXI web interface
  
DOI:
中文关键词:  LXI  Web接口  B/S架构  嵌入式HTTP服务器  AJAX
英文关键词:LXI  Web interface  B/S framework  embedded HTTP server  AJAX
基金项目:
作者单位
倪磊 北京航空航天大学 自动化科学与电气工程学院北京100191 
叶卫东 北京航空航天大学 自动化科学与电气工程学院北京100191 
AuthorInstitution
Ni Lei School of Automation Science and Electrical Engineering, Beihang University, Beijing 100191, China 
Ye Weidong School of Automation Science and Electrical Engineering, Beihang University, Beijing 100191, China 
摘要点击次数: 518
全文下载次数: 716
中文摘要:
      为更好地发挥LXI仪器基于以太网的优势,让用户完全使用Web接口实现对设备的访问控制,提出了一种LXI仪器Web接口的扩展设计方案。方案以B类LXI数据采集系统(DAS)为设计目标,对HTML页面架构进行了深层设计,在LXI规范要求的HTML页面中加入了实时曲线绘制、采集控制、状态显示等功能;通过移植LwIP协议栈,实现了在不具备操作系统的芯片中构建HTTP服务器;以AJAX的通讯方式解决了HTML动态化、平滑数据刷新等关键技术问题;最终实现了完全B/S架构的DAS。测试表明,所设计的Web接口改善了传统LXI仪器Web接口的功能性和交互性,能更好发挥B/S模式的轻架构、跨平台等优势。
英文摘要:
      To take full advantages of LXI instruments based on LAN and allow users to control the instrument through web interface completely, a scheme to extend the capability of LXI web interface was proposed. B class LXI DAS is taken as the design target in the scheme and deep design to the HTML framework is implemented. Many extra functions, including real time curve, equipment control, status display, database uploading are added to the HTML pages besides the fundamental functions; transporting LwIP protocol realizes a HTTP server in embedded chip without OS; communication based on AJAX solves key problems of dynamic HTML page and smoothing data refreshing. Finally a B/S based LXI DAS is built by. As for implementation, test result shows that the web interface improves interactivity and functionality of traditional ones and has better advantage in compatibility and light architecture with the B/S framework.
查看全文  查看/发表评论  下载PDF阅读器