摘要
东方超环中性束注入(EAST-Neutral Beam Injection,EAST-NBI)系统的实验数据发布方式众多,因开发语言不同难以集成,且多使用客户端/服务器(Client/Server,C/S)模式进行设计,服务器只对单一局域网内客户端提供服务,外网客户不能获得数据服务.针对这一现状,设计了基于浏览器/服务器(Browser/Server,B/S)架构的实验数据发布系统,满足多用户通过外网获取实验数据的需求.浏览器端使用HTML+CSS+Java Script进行开发,服务器端使用Java语言开发.系统包含最新数据自动显示和历史数据查询两种模式,最大程度上集成现有发布项目.数据基于Web Socket协议进行传输,处于全双工状态下进行交互,这样既实现了新数据的自动推送,又为历史数据的请求和回应提供通道.同时,系统还提供评论功能.该系统已投入到EAST-NBI实验中,获得很好的实验效果.
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+Java Script 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 Web Socket 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.
出处
《计算机系统应用》
2017年第11期109-113,共5页
Computer Systems & Applications
基金
国家国际科技合作专项(2014DFG61950)