Purpose The BEPCII(Upgrade project of Beijing Electron Positron Collider)is a high-performance accelerator,composed of a vast array of front-end devices.When the accelerator is operational,high-speed,real-time data co...Purpose The BEPCII(Upgrade project of Beijing Electron Positron Collider)is a high-performance accelerator,composed of a vast array of front-end devices.When the accelerator is operational,high-speed,real-time data communication,and information exchange are necessary among its various subsystems.The network system of BEPCII is a critical infrastructure that ensures the normal operation and data transmission of the accelerator.Switches,as the core devices for constructing the accelerator’s control network and realizing data transmission and communication,play a vital role in the reliability and stability of the accelerator’s functioning.This study aims to design an accelerator network monitoring system based on a microservice architecture to monitor the data information of network devices such as switches.Methods and Results Remote management of switch configurations and monitoring of switch port statuses are implemented via the simple network management protocol.The working status data of the switches obtained are saved to a MySQL database to facilitate statistical queries and data analysis when called upon.Utilizing the Nameko microservice framework,different services such as storage,querying,and analysis are managed and invoked separately to prevent process waiting due to excessive data volumes or too many services being called simultaneously.Additionally,a variety of functional web front-end interfaces has been designed based on the Flask framework to improve human–machine interaction.By testing two switches,the system achieved monitoring of the switches’CPU usage,temperature,port status,and port traffic.Storage and querying of historical data were also enabled through the database,making data analysis more accessible.This study has fulfilled the monitoring and management requirements for the control network’s switch information through testing.The system will subsequently be deployed in the control network system of BEPCII.展开更多
基金Supported by the Strategic Priority Research Program of the Chinese Academy of Sciences,Grant No.XDB0530000.
文摘Purpose The BEPCII(Upgrade project of Beijing Electron Positron Collider)is a high-performance accelerator,composed of a vast array of front-end devices.When the accelerator is operational,high-speed,real-time data communication,and information exchange are necessary among its various subsystems.The network system of BEPCII is a critical infrastructure that ensures the normal operation and data transmission of the accelerator.Switches,as the core devices for constructing the accelerator’s control network and realizing data transmission and communication,play a vital role in the reliability and stability of the accelerator’s functioning.This study aims to design an accelerator network monitoring system based on a microservice architecture to monitor the data information of network devices such as switches.Methods and Results Remote management of switch configurations and monitoring of switch port statuses are implemented via the simple network management protocol.The working status data of the switches obtained are saved to a MySQL database to facilitate statistical queries and data analysis when called upon.Utilizing the Nameko microservice framework,different services such as storage,querying,and analysis are managed and invoked separately to prevent process waiting due to excessive data volumes or too many services being called simultaneously.Additionally,a variety of functional web front-end interfaces has been designed based on the Flask framework to improve human–machine interaction.By testing two switches,the system achieved monitoring of the switches’CPU usage,temperature,port status,and port traffic.Storage and querying of historical data were also enabled through the database,making data analysis more accessible.This study has fulfilled the monitoring and management requirements for the control network’s switch information through testing.The system will subsequently be deployed in the control network system of BEPCII.