|Other Abstract||With the increase of the receiving area of astronomical observation equipment and the development of multi-beam receiving technology, the data collection capability of astronomical observing equipment has also been greatly improved, and astronomical data has entered the era of PB(Petabyte). Due to the particularity of astronomical observations, telescope observing stations are often far from astronomical data centers. The observation data generated by the Xinjiang Astronomical Observatory (XAO) telescope is transmitted to the data center at XAO headquarters for long-term storage through the dedicated transfer line. The length of the data transmission line is more than 100 kilometers. Due to the long-term exposure of the line in the field, the data transmission process often has problems or even transmission interruption. Establishing a data transmission system with a visual interface to display data transmission status in real time and timely feedback relevant information to professionals will greatly improve the efficiency of analysis and problem solving. After researching and analyzing the actual needs of data transmission in Xinjiang Observatory, this paper designs and implements the Xinjiang Observatory's visual data transmission system.
The system is mainly composed of a log subsystem,a data transmission subsystem,a control subsystem and a visualization subsystem. In terms of log subsystem, the overall architecture of the log system is reasonably designed, the log collection and storage of the data transmission process is realized, the shell multi-threading technology is used to accelerate the log information storage speed, and the log query tool is developed for the administrator to use. In terms of data transmission, the data transmission subsystem is based on the rsync transmission framework, and encapsulates shell commands to implement upper-layer calls. In the control subsystem part, the mutual monitoring script system of automatic operation is designed, the log record and data transmission request are controlled, and the alarm system is embedded. In terms of visualization subsystem,a visual interface for displaying functions such as transmission rate, network status, and storage of the server hard disk during data transmission is constructed, and various forms such as a histogram,a pie chart, and a line chart are used for data display.