CN-121979586-A - Configuration file correctness checking method and system based on ATS system configuration data
Abstract
The invention discloses a configuration file correctness checking method and a configuration file correctness checking system based on ATS system configuration data, which relate to the technical field of rail transit configuration file checking and comprise the following steps: the online platform acquires the whole set of configuration files of the ATS system, the urban railway basal input files and the real-time data of the train, starts a correctness checking flow in an active or passive triggering mode, combines data accuracy basal checking, XSD checking of XML files and Schematron checking of the XML files, performs multidimensional checking on the configuration files when the online platform modifies the configuration files and stores and exports the configuration files, and exports the data for the ATS system after the verification is passed. According to the invention, by virtue of the online collaboration, the multidimensional checking rule and the flexible triggering mechanism, the efficient and accurate checking of the configuration file data is realized, and the operation reliability of the ATS system is improved.
Inventors
- WANG XIUFENG
- WANG SHENG
- CUI ZHIMIN
- WEI NING
- LIU SHUCHANG
- YE JIA
- ZHOU GONGJIAN
- Wen Jingchen
- WU CHUNBO
Assignees
- 卡斯柯信号(成都)有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20260109
Claims (10)
- 1. A configuration file correctness checking method based on ATS system configuration data is characterized by comprising the steps that an online platform acquires a whole set of configuration files of an ATS system, a city track substrate input file and train real-time data, a correctness checking flow is started in an active or passive triggering mode, and data accuracy basic checking, XSD checking of an XML file and Schematron checking of the XML file are combined, the configuration files are stored after being modified by the online platform, and when the configuration files are exported, multidimensional checking is carried out on the configuration files, and the data are exported for the ATS system after the checking is passed.
- 2. The method for checking the correctness of a configuration file based on configuration data of an ATS system as claimed in claim 1, wherein the checking method comprises the steps of: S1, uploading a whole set of configuration files of an ATS system and a city track substrate input file to an online platform together, and triggering preliminary basic verification of the uploaded files; s2, acquiring train real-time data by the on-line platform, and analyzing and storing the train real-time data and the urban railway substrate input file; s3, when the whole set of configuration files of the ATS system are modified by the online platform and then stored, carrying out multidimensional verification on the modified whole set of configuration files of the ATS system based on the real-time data of the train and the urban rail road base input files by the online platform; And S4, triggering re-verification during data export, performing multi-dimensional verification again on the whole set of configuration file of the modified ATS system by the online platform, exporting data passing verification in the file for initializing or running the ATS system, and displaying a verification result on a front-end interface and recording a verification log.
- 3. The method for checking the correctness of the configuration file based on the ATS system configuration data according to claim 2, wherein the step S2 comprises the steps of establishing connection between the online platform and the database, analyzing and storing the uploaded city track basic input file and the real-time train data collected through the standard data query interface, and taking the real-time train data.
- 4. The method for checking the correctness of a configuration file based on configuration data of an ATS system as claimed in claim 1, wherein the multi-dimensional checking includes: performing data accuracy basic verification on the whole set of configuration files of the ATS system, and checking whether the data type and the value range accord with preset rules or not; Performing professional verification on XML format files in the whole set of configuration files of the ATS system, verifying element structures and data type constraints through XSD files, and verifying complex data association relations through schema rule files; and judging whether the data is qualified according to the verification result, and recording error information.
- 5. The method for checking correctness of configuration file based on ATS system configuration data according to claim 4, wherein in said data accuracy basic check, data type rule is customized according to ATS system configuration data characteristics, and comprises setting "train stop time" field as integer type and "signaler number" field as character string type; the XSD verification is to write exclusive XSD files aiming at different XML configuration files, and comprises the steps of defining the data type of < ARRIVALTIME > sub-elements as date and time in the XSD files of the train operation schedule XML, wherein the sub-elements are indispensable elements, and judging that verification fails when the sub-elements are missing or have a format error; The scheme atron checking reference flexible_loop.sch and playback.sch rule file template writes a proprietary scheme atron rule file, and customizing an ATS system proprietary rule comprises the steps that an attribute value of a checking rtu element is required to be completely matched with rtu_id defined in an external common field cn.xml file, and if the attribute value of the checking rtu element is not matched with the rtu_id, an associated error alarm is triggered.
- 6. The method for checking correctness of configuration files based on configuration data of ATS system as claimed in claim 2, wherein said triggering of the preliminary basic check and triggering of the re-check of the uploaded files each comprises: The user clicks a button to start active verification; and automatically triggering passive verification during uploading or exporting.
- 7. The method for checking the correctness of a configuration file based on configuration data of an ATS system as claimed in claim 2, wherein said checking method further comprises: displaying errors in real time through an online platform visual interface; recording a check log in time sequence; and providing an automatic repair suggestion for common errors, and assisting operation and maintenance personnel to quickly correct and change.
- 8. The method for checking the correctness of a configuration file based on configuration data of an ATS system as claimed in claim 2, wherein said checking method further comprises: And when the front end displays the verification result, verifying the whole set of configuration files of the ATS system.
- 9. A system for checking the correctness of a configuration file based on configuration data of an ATS system based on the method for checking the correctness of any one of claims 1 to 8, which is characterized by comprising an application layer, a checking layer, a data layer and a supporting layer; The application layer is used for providing a user interaction function and realizing file uploading, verification result display and data export; the checking layer is used for performing basic checking, professional rule checking and error processing on the configuration file; The data layer is used for achieving data acquisition, storage and analysis; The support layer is used for providing hardware, network and protocol support for the system operation.
- 10. The ATS system configuration data-based profile correctness checking system of claim 9, wherein the application layer includes: the file uploading module is used for supporting multi-file uploading and supporting active/passive triggering uploading operation; The result display module is used for realizing error visual display and check log display; the data export module is used for realizing the verification of the secondary verification before the data export; the check layer includes: the basic verification module is used for realizing data type verification, value range verification and simple logic verification; the XML professional verification module is used for realizing XSD structure verification and Schematron rule verification; the error processing module is used for realizing accurate error classification, automatic repair suggestion generation and log record; the data layer includes: the data acquisition module is used for realizing the calling of an ATS system interface and the real-time data synchronization; The data storage module is used for realizing configuration file storage and check log storage; the data analysis module is used for realizing XML/JSON analysis and structured data extraction; The support layer includes: the hardware support module is used for providing support for the high-performance server and the storage equipment; the network support module is used for providing 5G/Ethernet network support and data transmission encryption; and the protocol supporting module is used for providing IEC 61375 protocol and TCP/IP protocol support.
Description
Configuration file correctness checking method and system based on ATS system configuration data Technical Field The invention relates to the technical field of checking track traffic configuration files, in particular to a configuration file correctness checking method and system based on ATS system configuration data. Background In the field of rail transit, an ATS (automatic train monitoring) system is one of cores for guaranteeing safe and efficient operation of a train, and operation of the ATS depends on key data stored in a configuration file, including train operation parameters, line topology information, signal equipment configuration and the like. The accuracy of the configuration file data directly determines the accuracy of the ATS system decision, and once the data is wrong, serious problems such as train running delay, route arrangement errors and the like can be caused. Along with the improvement of the automation degree of the rail transit, the configuration file of the ATS system is enlarged in size, the complexity of data association is increased, and the defects are gradually exposed by the traditional checking method. The early verification is based on manual detection, the efficiency is low, errors are easy to miss due to human negligence, part of automatic tools can only carry out simple grammar verification, data semantics and association relation correctness cannot be verified, meanwhile, in 4G and previous network environments, configuration file uploading and verification processes are split, on-line collaborative capability is lacked, and real-time verification requirements are difficult to meet. In recent years, the popularization of 5G technology promotes the improvement of the data transmission efficiency of rail transit, on-line platform cooperative processing becomes possible, and the wide application of XML format configuration files also needs more professional verification means. Under the background, an ATS system configuration file correctness checking method and system which are comprehensive in coverage, flexible in triggering and capable of supporting professional format checking are needed, the pain points in the prior art are solved, and the stable operation of a rail transit system is ensured. Disclosure of Invention In order to overcome the defects in the prior art, the invention discloses a configuration file correctness checking method and a configuration file correctness checking system based on ATS system configuration data, and aims to solve the problems of incomplete checking, low efficiency, single triggering mode and the like in the conventional ATS system configuration file checking method. According to the invention, by virtue of the online collaboration, the multidimensional checking rule and the flexible triggering mechanism, the efficient and accurate checking of the configuration file data is realized, and the operation reliability of the ATS system is improved. In order to achieve the above purpose, the present invention adopts the technical scheme that: In a first aspect, the invention provides a configuration file correctness checking method based on ATS system configuration data, comprising the steps that an online platform acquires a whole set of configuration files of an ATS system, a city track substrate input file and train real-time data, a correctness checking flow is started in an active or passive triggering mode, and data accuracy basic checking, XSD checking of an XML file and Schematron checking of the XML file are combined, when the online platform modifies the configuration files and stores the configuration files and exports the configuration files, multidimensional checking is carried out on the configuration files, and data are exported for the ATS system after the verification is passed. In the invention, the function of the complete set of configuration files of the ATS system is to facilitate the on-line platform to check the correctness of the complete set of configuration files, and the function of the urban railway foundation input files and the real-time data of the train is to calculate and check the correctness of the parameters and fields of the complete set of configuration files of the ATS. Preferably, the verification method comprises the following steps: 1. Data uploading and basic verification S1, uploading a whole set of configuration files of an ATS system and a city track substrate input file to an online platform together, and triggering preliminary basic verification of the uploaded files; in the step S1, the triggering of the preliminary basic verification of the uploaded file comprises the following steps: The user clicks an 'active verification' button to start active verification; And after the file is uploaded, automatically triggering the passive verification. In the invention, triggering the preliminary basic verification of the uploaded file refers to triggering the preliminary basic verification of th