首页 | 官方网站   微博 | 高级检索  
     

基于B/S架构的NBI实验数据发布系统
引用本文:张睿,胡纯栋,盛鹏,赵远哲,杨振汉,崔庆龙.基于B/S架构的NBI实验数据发布系统[J].计算机系统应用,2017,26(11):109-113.
作者姓名:张睿  胡纯栋  盛鹏  赵远哲  杨振汉  崔庆龙
作者单位:中国科学院 等离子体物理研究所, 合肥 230031;中国科学技术大学, 合肥 230026,中国科学院 等离子体物理研究所, 合肥 230031,中国科学院 等离子体物理研究所, 合肥 230031,中国科学院 等离子体物理研究所, 合肥 230031,中国科学院 等离子体物理研究所, 合肥 230031;中国科学技术大学, 合肥 230026,中国科学院 等离子体物理研究所, 合肥 230031
基金项目:国家国际科技合作专项(2014DFG61950)
摘    要:东方超环中性束注入(EAST-Neutral Beam Injection,EAST-NBI)系统的实验数据发布方式众多,因开发语言不同难以集成,且多使用客户端/服务器(Client/Server,C/S)模式进行设计,服务器只对单一局域网内客户端提供服务,外网客户不能获得数据服务.针对这一现状,设计了基于浏览器/服务器(Browser/Server,B/S)架构的实验数据发布系统,满足多用户通过外网获取实验数据的需求.浏览器端使用HTML+CSS+JavaScript进行开发,服务器端使用Java语言开发.系统包含最新数据自动显示和历史数据查询两种模式,最大程度上集成现有发布项目.数据基于WebSocket协议进行传输,处于全双工状态下进行交互,这样既实现了新数据的自动推送,又为历史数据的请求和回应提供通道.同时,系统还提供评论功能.该系统已投入到EAST-NBI实验中,获得很好的实验效果.

关 键 词:中性束注入  数据发布  WebSocket协议  推送  查询
收稿时间:2017/3/1 0:00:00
修稿时间:2017/3/16 0:00:00

Experimental Data Publishing System for NBI Based on B/S Architecture
ZHANG Rui,HU Chun-Dong,SHENG Peng,ZHAO Yuan-Zhe,YANG Zhen-Han and CUI Qing-Long.Experimental Data Publishing System for NBI Based on B/S Architecture[J].Computer Systems& Applications,2017,26(11):109-113.
Authors:ZHANG Rui  HU Chun-Dong  SHENG Peng  ZHAO Yuan-Zhe  YANG Zhen-Han and CUI Qing-Long
Affiliation:Institute of Plasma Physics, Chinese Academy of Sciences, Hefei 230031, China;University of Science and Technology of China, Hefei 230026, China,Institute of Plasma Physics, Chinese Academy of Sciences, Hefei 230031, China,Institute of Plasma Physics, Chinese Academy of Sciences, Hefei 230031, China,Institute of Plasma Physics, Chinese Academy of Sciences, Hefei 230031, China,Institute of Plasma Physics, Chinese Academy of Sciences, Hefei 230031, China;University of Science and Technology of China, Hefei 230026, China and Institute of Plasma Physics, Chinese Academy of Sciences, Hefei 230031, China
Abstract:Experiments on the traffic information auto-extraction and mixed traffic travel schemes auto-creation system show that the system has high precision and is adaptive to web pages in different domains with different structures. Experimental data of EAST-NBI (EAST- Neutral Beam Injection) System are published in several pieces of software. It is difficult to integrate them because of the difference in languages. Besides, these pieces are based on C/S (Client/Server) architecture. The server only offers service to specific client in LAN (Local Area Network). Clients on the internet can''t get access to the data. To meet the need via the internet, a data publishing system based on B/S (Browser/Server) is designed. The browser side is developed by HTML+CSS+JavaScript and the server side is developed by Java. The system consists of latest data publishing mode and historical data query mode, and integrated existing data items. The data are transmitted based on WebSocket protocol, which enables a full-duplex channel for automatic push of new data and request and response for historical data. Meanwhile, a comment function is provided in this system. The system has been put into the EAST-NBI experiment and got positive results.
Keywords:NBI  data publishing  WebSocket protocol  push  query
点击此处可从《计算机系统应用》浏览原始摘要信息
点击此处可从《计算机系统应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号