| China’s railway transportation system has experienced large-scale and high-speed growth in recent years,and the railway construction system has become increasingly mature.High speed,high density,and heavy cargo have become the primary goals of railway transportation at this stage.However,despite the increasing demand for railway transportation,the quality assurance of railway system construction is still the primary prerequisite.In this context,the guidelines of "no constructing while driving,no driving while constructing" are proposed.Streamlining,prudent repairs and optimal allocation are the current development trends of railway operations.With the increasing number of railway lines opened and operating mileage in China in recent years,how to conduct efficient testing during the trial operation phase of new railway lines,building an informatized test system and an integrated test information management system have become increasingly urgent.From the perspective of practical engineering,this paper uses the rich experience of field staff as a guide,and builds an on-board ATP(Automatic Train Protection System)data management system that can perform automated data monitoring and collection based on the C/S software architecture.The system is mainly designed from the aspects of server concurrent network architecture,system communication scheme,and system function implementation.The system’s performance is completely tested and verified.In the design of the network concurrency architecture,the traditional Apache and Reactor network concurrency model is merged,combined with load balancing strategy to improve performance,proposed a high-performance single-machine network concurrency architecture.In the design of the system communication scheme,a set of secure and efficient network communication schemes are proposed based on the hybrid encryption algorithm and a custom application layer protocol;In the system function,the field data collection,processing,uploading and downloading,and human-computer interaction are realized;In the performance of the system,the stand-alone server supports 1000 concurrent client connections.After testing,for the typical request of the client,the average response time for the server to respond to 1000 concurrent client network connections is 7.5ms,and the maximum response time is 820ms,the test result indicates that the system can still provide more stable data services under the maximum load condition in the design range,which achieved the original design purpose of the system.The system described in this article solves the pain points such as the long period of joint debugging and testing before the new line is opened,the inability to test the test results,and the centralized management of test results,which are of great significance to the development of the information operation and maintenance of the railway system. |