摘要
合肥光源(HLS-Ⅱ)是以真空紫外和软X射线为主的专用同步辐射光源,作为用户装置,对运行性能有很高的要求。为提高数据查询的实时性与便捷性,满足工作人员及时掌握装置运行状态的需求,基于Web技术开发了HLS-Ⅱ移动端数据查询系统。该系统在EPICS环境下进行开发,以IOC作为实时数据源,以HBase数据库作为历史数据源,以Phoebus Alarms作为报警数据源,以MySQL数据库存储用户管理信息。整个系统采用前后端分离的模式进行设计,系统后端采用Spring Boot框架和Node.js环境进行开发;系统前端以Vue.js框架开发,使用lib-flexible弹性布局方案和postcss-pxtorem插件,以适配不同种类的移动设备。测试表明,HLS-Ⅱ移动端数据查询系统信息更新流畅,操作直观方便,达到了设计要求。
HLS-Ⅱ is a dedicated synchrotron radiation source mainly based on vacuum ultraviolet and soft Xrays. As a user facility, it has high requirements for operating performance. To improve the real-time performance and convenience of data query and meet the needs of staff to keep abreast of the operation status of the facility in time, the HLS-Ⅱ mobile data query system is developed based on Web technology. The system is developed in the EPICS environment. IOC is used as the real-time data source, HBase database as the historical data source, Phoebus Alarms as the alarm data source, and MySQL database is used to store the user management information. The whole system adopts the design pattern of separation of front and back ends. The back end of the system is developed with Spring Boot framework and Node.js environment. The front end of the system is developed with the Vue.js framework, using lib-flexible layout scheme and postcss-pxtorem plug-in to adapt to different types of mobile devices. The test results show that the HLS-Ⅱ mobile data query system can update information smoothly, operate intuitively and conveniently,and meet the design requirements.
作者
王子健
宣科
甘艳芳
孙晓康
徐双
李川
刘功发
Wang Zijian;Xuan Ke;Gan Yanfang;Sun Xiaokang;Xu Shuang;Li Chuan;Liu Gongfa(National Synchrotron Radiation Laboratory,University of Science and Technology of China,Hefei 230029,China)
出处
《强激光与粒子束》
EI
CAS
CSCD
北大核心
2021年第4期51-56,共6页
High Power Laser and Particle Beams
基金
中国科学院合肥大科学中心重点研发项目(2019HSC-KPRD003)。