Method and device for automatically generating configuration data of automatic train supervision system

By logically converting the engineering data, standardized data that complies with the data configuration specification of the automatic supervision system is generated, which solves the problems of inefficient and difficult to guarantee the accuracy of manual configuration data in the existing technology, and realizes the automation and accuracy of the data configuration of the automatic supervision system of trains.

CN113553117BActive Publication Date: 2025-05-02CRSC URBAN RAIL TRANSIT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110722130.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-06-28
Publication Date
2025-05-02
Estimated Expiration
2041-06-28

AI Technical Summary

Technical Problem

In the prior art, the configuration data of the automatic train supervision system is mainly compiled manually, resulting in inefficiency and the accuracy of the data configuration is difficult to ensure.

Method used

By importing engineering data and logically converting it, standard data that complies with the data configuration specification of the automatic supervision system is generated, and the standard configuration files required for the automatic supervision system are finally exported.

Benefits of technology

The data configuration of the automatic train supervision system is automated, efficiency is improved, human resource consumption and production costs are reduced, and the accuracy of configuration data is ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113553117B_ABST
    Figure CN113553117B_ABST
Patent Text Reader

Abstract

The present invention provides a method and device for automatically generating configuration data of an automatic train supervision system, wherein the method comprises: importing engineering data; performing logical conversion on the engineering data to generate standard data that conforms to the data configuration specification of the automatic supervision system; and exporting the standard data to obtain a standard configuration file required by the automatic supervision system. The method and device for automatically generating configuration data of an automatic train supervision system provided by the present invention imports engineering data, performs logical conversion on the engineering data, generates standard data that conforms to the data configuration specification of the automatic supervision system, and then exports the standard data to a configuration file, thereby improving the efficiency of data configuration of the automatic train supervision system, reducing human resource consumption and production costs, and ensuring the accuracy of configuration data on the basis of correct input data and applicable data processing rules.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular to a method and device for automatically generating configuration data of an automatic train supervision system. Background Art

[0002] The CBTC (Communication Based Train Control) system is an interconnected train automatic control system used to command and control train operations and ensure driving safety. The Automatic Train Supervision (ATS) system needs to import corresponding environment configuration data, such as route configuration files, trigger section configuration files, kilometer mark configuration files, destination files, all stations and station relationship configuration files, etc.

[0003] However, most of the configuration data in the current automatic supervision system is compiled manually, which consumes a lot of time and energy of data configuration personnel, is inefficient and the accuracy of data configuration is difficult to guarantee. Summary of the invention

[0004] The present invention provides a method and device for automatically generating configuration data of an automatic train supervision system, which are used to solve the defects of low efficiency and difficulty in ensuring the accuracy of data configuration in the prior art, and realize the automation of ATS data configuration.

[0005] The present invention provides a method for automatically generating configuration data of a train automatic supervision system, comprising:

[0006] Import engineering data;

[0007] Performing logical conversion on the engineering data to generate standard data that conforms to the data configuration specification of the automatic supervision system;

[0008] The specification data is exported to obtain the standard configuration file required by the automatic monitoring system.

[0009] According to a method for automatically generating configuration data of an automatic train supervision system provided by the present invention, the logical conversion of the engineering data to generate standard data that conforms to the data configuration specification of the automatic supervision system includes at least one of the following steps:

[0010] Converting the device name of each device in the engineering data into a standard device name that complies with the data configuration specification of the automatic monitoring system;

[0011] After storing the device data in the LogicDevice.xml file of each natural station by device type, the reflection mechanism is used to extract the standard device data of the required device type;

[0012] Convert the code position name and state name of the interlocking to generate the standard code position name and standard state name that conform to the data configuration specification of the automatic supervision system;

[0013] Based on the engineering data comparison table in the engineering data, marking the corresponding associated equipment for each track section data;

[0014] Calculate the distance between the left end of each logical segment and the start point of the track unit in which it is located.

[0015] According to a method for automatically generating configuration data of an automatic train supervision system provided by the present invention, the converting of the device name of each device in the engineering data into a standard device name that complies with the data configuration specification of the automatic supervision system specifically includes:

[0016] Performing character segmentation on the device name of each device in the engineering data to obtain the platform number, track section number, device prefix and device suffix of each device;

[0017] The platform number, track section number, equipment prefix, equipment suffix and line number of each device are combined to obtain the standard device name corresponding to each device.

[0018] According to a method for automatically generating configuration data of a train automatic supervision system provided by the present invention, the code position name and state name of the interlocking are converted to generate a standard code position name and a standard state name that conform to the data configuration specification of the automatic supervision system, specifically including:

[0019] If the interlock is a preset device type, then based on the name conversion rule corresponding to the preset device type, the code position name and state name of the interlock are respectively combined into a standard code position name and a standard state name under the automatic supervision system;

[0020] Otherwise, obtain a code position name comparison table and a state name comparison table, and use the ATS code position name and ATS state name corresponding to the code position name and state name of the interlock in the code position name comparison table and the state name comparison table as the standard code position name and the standard state name; the code position name comparison table and the state name comparison table respectively contain the code position name correspondence and state name correspondence between the interlock and the automatic supervision system.

[0021] According to a method for automatically generating configuration data of a train automatic supervision system provided by the present invention, the method of marking the corresponding associated equipment for each track section data based on the engineering data comparison table in the engineering data specifically includes:

[0022] Determine the uplink and downlink tracks of any track segment data;

[0023] If the uplink and downlink tracks do not belong to the natural station where any track segment data is located, marking the devices in the uplink and downlink tracks as associated devices of any track segment data;

[0024] Determine whether there is a turnout device or a signal in any of the track section data and its associated section data;

[0025] If there is a switch device and / or a signal, the switch device and / or the signal are marked as associated equipment of any track section data, and the switch direction is recorded.

[0026] According to a method for automatically generating configuration data of an automatic train supervision system provided by the present invention, the logical conversion of the engineering data also includes:

[0027] Preprocessing the engineering data; the preprocessing includes clearing leading and trailing spaces in the engineering data, assigning null values ​​to default values, and converting the format of digital data;

[0028] The pre-processed engineering data is subjected to data verification; the data verification includes duplication verification of each station equipment, illegal character checking, legality checking of digital data and null value checking.

[0029] According to a method for automatically generating configuration data of a train automatic supervision system provided by the present invention, the method of exporting the specification data to obtain a standard configuration file required by the automatic supervision system specifically includes:

[0030] Based on a nested data model, the specification data is organized, and the content of each element in the nested data model is accessed level by level using a recursive method, and output to a Document object in an XML file; the nested data model is a tree structure;

[0031] Or, create an internal form, write the column names into the first row of the internal form, and then write the standard data into the internal form row by row.

[0032] The present invention also provides a device for automatically generating configuration data of an automatic train supervision system, comprising:

[0033] Data import unit, used to import engineering data;

[0034] A logic conversion unit, used to perform logic conversion on the engineering data to generate standard data that conforms to the data configuration specification of the automatic supervision system;

[0035] The data export unit is used to export the standard data to obtain the standard configuration file required by the automatic supervision system.

[0036] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the method for automatically generating configuration data of an automatic train supervision system as described above are implemented.

[0037] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the method for automatically generating configuration data of an automatic train supervision system as described in any one of the above are implemented.

[0038] The method and device for automatically generating configuration data of an automatic train supervision system provided by the present invention import engineering data and perform logical conversion on the engineering data to generate standard data that conforms to the data configuration specification of the automatic supervision system, and then export the standard data to a configuration file, thereby improving the efficiency of data configuration of the automatic train supervision system, reducing human resource consumption and production costs, and ensuring the accuracy of configuration data on the basis of correct input data and applicable data processing rules. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0040] Figure 1 One of the flow charts of the method for automatically generating configuration data of the automatic train supervision system provided by the present invention;

[0041] Figure 2 The second flow chart of the method for automatically generating configuration data of the automatic train supervision system provided by the present invention;

[0042] Figure 3 A data flow diagram of the configuration data automatic generation method provided by the present invention;

[0043] Figure 4 A schematic diagram of the structure of the automatic generation device for configuration data of the automatic train supervision system provided by the present invention;

[0044] Figure 5 This is a schematic structural diagram of an electronic device provided by the present invention. DETAILED DESCRIPTION

[0045] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0046] Figure 1 One of the flow charts of the method for automatically generating configuration data of the automatic train supervision system provided by the embodiment of the present invention is as follows: Figure 1 As shown, the method includes:

[0047] Step 110, importing engineering data;

[0048] Step 120, performing a logical conversion on the engineering data to generate standard data that complies with the data configuration specification of the automatic supervision system;

[0049] Step 130, export the specification data to obtain the standard configuration file required by the automatic supervision system.

[0050] Specifically, since the automatic supervision system involves the configuration information of both a single station and the entire subway line, when there is engineering data for the entire line, the engineering data of all centralized areas are imported in a certain organizational form. When data is missing, the engineering data of a single or multiple interlocking centralized areas are imported in a certain organizational form. Here, the imported centralized area files include: interlocking table, engineering data comparison table, ATS auxiliary data table-centralized area, ATS code table, LogicDevice.xml and DevCode.xml files; the imported full line files include: Alarm.xml, equipment number table and ATS auxiliary data table-full line. In addition, the natural station file LogicDevice.xml can also be imported.

[0051] Since the organizational structure and format of the imported engineering data do not meet the data requirements of the simulation test environment, it is difficult to directly generate a configuration file accepted by the automatic supervision system. Therefore, the engineering data can be logically converted according to the ATS product data configuration work instructions to generate standard data that meets the automatic supervision system data configuration specifications.

[0052] After the logic conversion is completed, the specification data can be exported to the configuration file of the corresponding format according to the format of the configuration file required by the automatic supervision system. Here, the corresponding data in the specification data can be filtered out according to the data type required by each configuration file, and then written into the corresponding configuration file.

[0053] In addition, during the above data import and logic processing conversion process, the original engineering data can be checked and certain abnormal analysis can be performed on the logic calculation abnormalities, so that each abnormal information can be output to the corresponding log file to help data configuration personnel view and check data errors. Moreover, each link can be visualized on the page, providing users with functions such as file import, path selection, and configuration data generation, which greatly improves the data configuration management capabilities of the train automatic supervision system.

[0054] The method provided in the embodiment of the present invention imports engineering data and performs logical conversion on the engineering data to generate standard data that meets the data configuration specifications of the automatic supervision system, and then exports the standard data to a configuration file, thereby improving the efficiency of data configuration of the train automatic supervision system, reducing human resource consumption and production costs, and ensuring the accuracy of the configuration data on the basis of correct input data and applicable data processing rules.

[0055] Based on the above embodiment, step 120 includes at least one of the following steps:

[0056] Convert the device names of each device in the engineering data into standard device names that comply with the data configuration specifications of the automatic supervision system;

[0057] After storing the device data in the LogicDevice.xml file of each natural station by device type, the reflection mechanism is used to extract the standard device data of the required device type;

[0058] Convert the code position name and state name of the interlocking to generate the standard code position name and standard state name that conform to the data configuration specification of the automatic supervision system;

[0059] Based on the engineering data comparison table in the engineering data, mark the corresponding associated equipment for each track section data;

[0060] Calculate the distance between the left end of each logical segment and the start point of the track unit in which it is located.

[0061] Specifically, when performing logical conversion on the engineering data, the device name of each device in the engineering data may be converted into a standardized device name that complies with the data configuration specification of the automatic monitoring system.

[0062] For the LogicDevice.xml file of each natural station, the device data therein can be classified and summarized by device type, and the device data of each type of device can be stored separately. Then, the reflection mechanism of the programming language can be used to extract the standard device data of the required device type.

[0063] Taking into account that the code name and state name of the interlocking in the engineering data are named differently from those in the automatic supervision system, the code name and state name of the interlocking can also be converted to generate standard code name and standard state name that conform to the data configuration specification of the automatic supervision system.

[0064] In addition, based on the engineering data comparison table in the engineering data, the corresponding associated equipment can be marked for each track segment data, so that when the corresponding configuration file is generated, the equipment information of the corresponding associated equipment can be obtained according to each track segment data.

[0065] The distance between the left end of each logical segment and the starting point of the track unit where it is located can also be calculated. Among them, if the track segment is a turnout, the direction of the turnout is determined, and then the distance between the left end of each logical segment and the starting point of the track unit where it is located is calculated in combination with the turnout direction and the up and down directions. Here, since there is a turnout tip on the turnout, and the turnout tip has a certain length, the distance can be corrected by adding or subtracting the turnout tip length based on the sum of the lengths of all logical segments before the current logical segment based on the turnout opening direction and the up and down directions. If the track segment is a non-turnout segment, the position of the current logical segment in the track segment is determined. If the current logical segment belongs to the nth logical segment of the current track unit, the lengths of the first n-1 logical segments are added up as the distance of the current logical segment from the starting point.

[0066] Based on any of the above embodiments, converting the device name of each device in the engineering data into a standard device name that complies with the data configuration specification of the automatic supervision system specifically includes:

[0067] Perform character segmentation on the device name of each device in the engineering data to obtain the platform number, track section number, device prefix and device suffix of each device;

[0068] The platform number, track section number, equipment prefix, equipment suffix and line number of each device are combined to obtain the standard device name corresponding to each device.

[0069] Specifically, according to the preset character segmentation rules, the device names of each device in the engineering data are segmented to obtain the platform number, track section number, device prefix and device suffix of each device. Subsequently, the platform number, track section number, device prefix, device suffix of each device and the line number where it is located are combined according to the naming rules in the automatic supervision system to obtain the standard device name corresponding to each device.

[0070] Based on any of the above embodiments, the code position name and state name of the interlock are converted to generate a standard code position name and a standard state name that conforms to the data configuration specification of the automatic supervision system, specifically including:

[0071] If the interlock is a preset device type, then based on the name conversion rule corresponding to the preset device type, the code position name and state name of the interlock are respectively combined into the standard code position name and standard state name under the automatic supervision system;

[0072] Otherwise, obtain the code position name comparison table and the state name comparison table, and use the ATS code position names and ATS state names corresponding to the interlocking code position names and state names in the code position name comparison table and the state name comparison table as the standard code position names and standard state names; the code position name comparison table and the state name comparison table respectively contain the code position name correspondence and state name correspondence between the interlocking and automatic supervision system.

[0073] Specifically, if the interlocking is a preset device type, such as system equipment, button equipment, switch section, non-switch section, scattered indicator lights, speed limit information, then the code position name and state name of the interlocking can be combined into the standard code position name and standard state name under the automatic supervision system based on the name conversion rules corresponding to the preset device types. Different preset device types correspond to different name conversion rules.

[0074] Otherwise, obtain the code position name comparison table and the state name comparison table, and directly replace the code position name and state name of the interlocking with the ATS code position name and ATS state name corresponding to the code position name and state name of the interlocking in the code position name comparison table and the state name comparison table as the standard code position name and standard state name. The code position name comparison table and the state name comparison table contain the code position name correspondence relationship and the state name correspondence relationship between the interlocking and the automatic supervision system, respectively.

[0075] Based on any of the above embodiments, based on the engineering data comparison table in the engineering data, marking the corresponding associated equipment for each track section data specifically includes:

[0076] Determine the uplink and downlink tracks of any track segment data;

[0077] If the uplink and downlink tracks do not belong to the natural station where the track segment data is located, the equipment in the uplink and downlink tracks is marked as the associated equipment of the track segment data;

[0078] Determine whether there is a turnout device or a signal in the track section data and its associated section data;

[0079] If there are switch equipment and / or signal machines, the switch equipment and / or signal machines are marked as associated equipment for the track section data, and the switch direction is recorded.

[0080] Specifically, according to the input engineering data table, each track segment data is retrieved in turn. For any track segment data, its uplink and downlink tracks are obtained. If the uplink and downlink tracks of the track segment data do not belong to the natural station where the track segment data is located, the equipment in the uplink and downlink tracks can be marked as the associated equipment of the track segment data.

[0081] In addition, it is also possible to determine whether there is a switch device or a signal in the track section data and its associated section data. If there is at least one of the switch device and the signal, the existing switch device and / or signal is marked as an associated device of the track section data, and the switch direction is recorded.

[0082] Based on any of the above embodiments, the engineering data is logically converted, and the process also includes:

[0083] Preprocess the engineering data; preprocessing includes clearing leading and trailing spaces in the engineering data, assigning null values ​​to default values, and converting the format of digital data;

[0084] Perform data verification on the preprocessed engineering data; data verification includes duplicate name verification for each station equipment, checking for illegal characters, checking the legitimacy of digital data, and checking for null values.

[0085] Specifically, after the engineering data is imported, the engineering data may be preprocessed, wherein the preprocessing operation may include clearing leading and trailing spaces in the engineering data, assigning null values ​​to default values, and performing format conversion on digital data.

[0086] Subsequently, the pre-processed engineering data can be verified to automatically detect the correctness and integrity of the pre-processed engineering data, thereby ensuring the data accuracy of the final exported configuration file. The data verification operation can include duplication verification of each field device, illegal character check, legitimacy check of digital data, and null value check.

[0087] Based on any of the above embodiments, step 130 specifically includes:

[0088] Based on the nested data model, the standardized data is organized, and the content of each element in the nested data model is accessed step by step using a recursive method, and output to the Document object in the XML file; the nested data model is a tree structure;

[0089] Or, create an internal form, write the column names into the first row of the internal form, and then write the standard data into the internal form row by row.

[0090] Specifically, the configuration files of the automatic monitoring system are mainly in XML format and tables, so data can be exported for each file format. For the XML format, the XML document uses a tree structure, starting from the root element and extending to the child element at the bottom. A parent element has one or more child elements, and the child elements can be found through the parent element. The root element is the parent element of all elements, and the child elements at the same level are siblings. In view of the above characteristics of the XML format, a nested data model is constructed. <data>To represent an element of an XML document. The nested data model is a tree structure, and its specific definition can be as follows: <data-a>, containing n data models { <data-b1> , <data-b2> , <data-b2> ,…, <data-bn>(n≧0)}, then <data-a>As the root element, there are also n data models <data-bk>(1≦k≦n) parent element, and each <data-bk>(1≦k≦n) contains m data models { <data-c1> , <data-c2> , <data-c2> ,…, <data-cm>(m≧0)}.

[0091] according to <data>Nested data model, organizes standard data, completes nested storage of standard data, and uses recursive method to access <data>Data model, starting from the root element, accessing each level step by step <data-k>The element content of each level is output to the Document object in the XML file in accordance with the format requirements of XML, so that the standard data is stored and the upper and lower relationships of the standard data are ensured, meeting the tree structure requirements of the XML file.

[0092] For table-type configuration files, taking Excel files as an example, first create or open an EXCEL file, create an internal form for the EXCEL, then write the names of each column into the first row of the internal form, then write the standard data into the internal form row by row, and save the contents of the internal form.

[0093] Based on any of the above embodiments, Figure 2 The second flow chart of the method for automatically generating configuration data of the train automatic supervision system provided by the embodiment of the present invention is as follows: Figure 2 As shown, the method includes:

[0094] Select the root directory where the input file is located to read specific engineering data files, interlocking and drive files, and name comparison files, which mainly include:

[0095] All line files: Alarm.xml, equipment number table, ATS auxiliary data table - all line;

[0096] Centralized area files: interlocking table, engineering data comparison table, ATS auxiliary data table - centralized area, ATS code position table, DevCode.xml;

[0097] Natural station file: LogicDevice.xml.

[0098] Select the storage path of the configuration file to save the configuration data to be generated. Click the "Select Path" button, a dialog box for path selection will pop up, select a path, and click "OK" to complete the path selection.

[0099] Click "Generate Data" to start exporting the configuration data of the automatic train supervision system. The progress bar will display the export progress of each data table in real time. If all exports are completed, "Export file completed" will be displayed and the data configuration table will be saved in the selected path.

[0100] In addition, logs will be recorded in real time during the data reading and generation process. The log information will be displayed in real time on the interface, and the exception information will also be saved in the log file. The log file is located in the log folder under the program directory. If the .txt file corresponding to the date and time is not 0KB, it proves that an exception is captured during the program operation, and you need to open the .txt log file to view the cause of the exception.

[0101] Figure 3 The data flow diagram of the method for automatically generating configuration data provided by the embodiment of the present invention is as follows: Figure 3 As shown, after importing the original project data, the original project data is input into the conversion data node for logical conversion to obtain ATS configuration data, and then the ATS configuration data is input into the generate configuration file node for data export to obtain the corresponding configuration file.

[0102] Based on any of the above embodiments, Figure 4 A schematic diagram of the structure of a device for automatically generating configuration data for an automatic train supervision system according to an embodiment of the present invention is shown in FIG. Figure 4 As shown, the device includes: a data import unit 410, a logic conversion unit 420 and a data export unit 430.

[0103] Wherein, the data import unit 410 is used to import engineering data;

[0104] The logic conversion unit 420 is used to perform logic conversion on the engineering data to generate standard data that conforms to the data configuration specification of the automatic supervision system;

[0105] The data export unit 430 is used to export the specification data to obtain the standard configuration file required by the automatic supervision system.

[0106] The device provided by the embodiment of the present invention imports engineering data and performs logical conversion on the engineering data to generate standard data that conforms to the data configuration specification of the automatic supervision system, and then exports the standard data to a configuration file, thereby improving the efficiency of data configuration of the train automatic supervision system, reducing human resource consumption and production costs, and ensuring the accuracy of the configuration data on the basis of correct input data and applicable data processing rules.

[0107] Based on the above embodiment, the logic conversion unit 420 is specifically configured to perform at least one of the following steps:

[0108] Convert the device names of each device in the engineering data into standard device names that comply with the data configuration specifications of the automatic supervision system;

[0109] After storing the device data in the LogicDevice.xml file of each natural station by device type, the reflection mechanism is used to extract the standard device data of the required device type;

[0110] Convert the code position name and state name of the interlocking to generate the standard code position name and standard state name that conform to the data configuration specification of the automatic supervision system;

[0111] Based on the engineering data comparison table in the engineering data, mark the corresponding associated equipment for each track section data;

[0112] Calculate the distance between the left end of each logical segment and the start point of the track unit in which it is located.

[0113] Based on any of the above embodiments, converting the device name of each device in the engineering data into a standard device name that complies with the data configuration specification of the automatic supervision system specifically includes:

[0114] Perform character segmentation on the device name of each device in the engineering data to obtain the platform number, track section number, device prefix and device suffix of each device;

[0115] The platform number, track section number, equipment prefix, equipment suffix and line number of each device are combined to obtain the standard device name corresponding to each device.

[0116] Based on any of the above embodiments, the code position name and state name of the interlock are converted to generate a standard code position name and a standard state name that conforms to the data configuration specification of the automatic supervision system, specifically including:

[0117] If the interlock is a preset device type, then based on the name conversion rule corresponding to the preset device type, the code position name and state name of the interlock are respectively combined into the standard code position name and standard state name under the automatic supervision system;

[0118] Otherwise, obtain the code position name comparison table and the state name comparison table, and use the ATS code position names and ATS state names corresponding to the interlocking code position names and state names in the code position name comparison table and the state name comparison table as the standard code position names and standard state names; the code position name comparison table and the state name comparison table respectively contain the code position name correspondence and state name correspondence between the interlocking and automatic supervision system.

[0119] Based on any of the above embodiments, based on the engineering data comparison table in the engineering data, marking the corresponding associated equipment for each track section data specifically includes:

[0120] Determine the uplink and downlink tracks of any track segment data;

[0121] If the uplink and downlink tracks do not belong to the natural station where the track segment data is located, the equipment in the uplink and downlink tracks is marked as the associated equipment of the track segment data;

[0122] Determine whether there is a turnout device or a signal in the track section data and its associated section data;

[0123] If there are switch equipment and / or signal machines, the switch equipment and / or signal machines are marked as associated equipment for the track section data, and the switch direction is recorded.

[0124] Based on any of the above embodiments, before performing logical conversion on the engineering data, the data importing unit 410 is further used to:

[0125] Preprocess the engineering data; preprocessing includes clearing leading and trailing spaces in the engineering data, assigning null values ​​to default values, and converting the format of digital data;

[0126] Perform data verification on the preprocessed engineering data; data verification includes duplicate name verification for each station equipment, checking for illegal characters, checking the legitimacy of digital data, and checking for null values.

[0127] Based on any of the above embodiments, the data export unit 430 specifically includes:

[0128] Based on the nested data model, the standardized data is organized, and the content of each element in the nested data model is accessed step by step using a recursive method, and output to the Document object in the XML file; the nested data model is a tree structure;

[0129] Or, create an internal form, write the column names into the first row of the internal form, and then write the standard data into the internal form row by row.

[0130] Figure 5 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 5 As shown, the electronic device may include: a processor 510, a communication interface 520, a memory 530 and a communication bus 540, wherein the processor 510, the communication interface 520 and the memory 530 communicate with each other through the communication bus 540. The processor 510 may call the logic instructions in the memory 530 to execute the method for automatically generating configuration data of the train automatic supervision system, the method comprising: importing engineering data; performing logic conversion on the engineering data to generate specification data that conforms to the data configuration specification of the automatic supervision system; exporting the specification data to obtain the standard configuration file required by the automatic supervision system.

[0131] In addition, the logic instructions in the above-mentioned memory 530 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0132] On the other hand, the present invention also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the method for automatically generating train automatic supervision system configuration data provided by the above-mentioned methods, and the method includes: importing engineering data; performing logical conversion on the engineering data to generate standard data that conforms to the data configuration specification of the automatic supervision system; and exporting the standard data to obtain the standard configuration file required by the automatic supervision system.

[0133] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, it is implemented to execute the above-mentioned method for automatically generating configuration data of an automatic train supervision system. The method includes: importing engineering data; performing logical conversion on the engineering data to generate standard data that conforms to the data configuration specification of the automatic supervision system; exporting the standard data to obtain the standard configuration file required by the automatic supervision system.

[0134] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0135] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0136] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention. < / data> < / data> < / data-c2> < / data-c2> < / data-c1> < / data-b2> < / data-b2> < / data-b1> < / data>

Claims

1. A method for automatically generating configuration data of an automatic train supervision system, characterized in that: include: Import engineering data; According to the ATS product data configuration work instructions, the engineering data is logically converted to generate standard data that conforms to the automatic supervision system data configuration specifications; Exporting the specification data to obtain the standard configuration file required by the automatic monitoring system; The logical conversion of the engineering data to generate standard data that complies with the data configuration specification of the automatic supervision system includes: Convert the code position name and state name of the interlocking to generate the standard code position name and standard state name that conform to the data configuration specification of the automatic supervision system; The code position name and state name of the interlock are converted to generate a standard code position name and a standard state name that conform to the data configuration specification of the automatic supervision system, specifically including: If the interlock is a preset device type, then based on the name conversion rule corresponding to the preset device type, the code position name and state name of the interlock are respectively combined into a standard code position name and a standard state name under the automatic supervision system; Otherwise, obtain a code position name comparison table and a state name comparison table, and use the ATS code position name and ATS state name corresponding to the code position name and state name of the interlock in the code position name comparison table and the state name comparison table as the standard code position name and the standard state name; the code position name comparison table and the state name comparison table respectively contain the code position name correspondence and state name correspondence between the interlock and the automatic supervision system.

2. The method for automatically generating configuration data of an automatic train supervision system according to claim 1, characterized in that: The step of performing logical conversion on the engineering data to generate standard data that conforms to the data configuration specification of the automatic supervision system further includes at least one of the following steps: Converting the device name of each device in the engineering data into a standard device name that complies with the data configuration specification of the automatic monitoring system; After storing the device data in the LogicDevice.xml file of each natural station by device type, the reflection mechanism is used to extract the standard device data of the required device type; Based on the engineering data comparison table in the engineering data, marking the corresponding associated equipment for each track section data; Calculate the distance between the left end of each logical segment and the start point of the track unit in which it is located.

3. The method for automatically generating configuration data of an automatic train supervision system according to claim 2, characterized in that: The converting the device name of each device in the engineering data into a standard device name that complies with the data configuration specification of the automatic supervision system specifically includes: Performing character segmentation on the device name of each device in the engineering data to obtain the platform number, track section number, device prefix and device suffix of each device; The platform number, track section number, equipment prefix, equipment suffix and line number of each device are combined to obtain the standard device name corresponding to each device.

4. The method for automatically generating configuration data of an automatic train supervision system according to claim 2, characterized in that: The step of marking the corresponding associated equipment for each track section data based on the engineering data comparison table in the engineering data specifically includes: Determine the uplink and downlink tracks of any track segment data; If the uplink and downlink tracks do not belong to the natural station where any track segment data is located, marking the devices in the uplink and downlink tracks as associated devices of any track segment data; Determine whether there is a turnout device or a signal in any of the track section data and its associated section data; If there is a switch device and / or a signal, the switch device and / or the signal are marked as associated equipment of any track section data, and the switch direction is recorded.

5. The method for automatically generating configuration data of an automatic train supervision system according to any one of claims 1 to 4, characterized in that: The logical conversion of the engineering data also includes: Preprocessing the engineering data; the preprocessing includes clearing leading and trailing spaces in the engineering data, assigning null values ​​to default values, and converting the format of digital data; The pre-processed engineering data is subjected to data verification; the data verification includes duplication verification of each station equipment, illegal character checking, legality checking of digital data and null value checking.

6. The method for automatically generating configuration data of an automatic train supervision system according to any one of claims 1 to 4, characterized in that: The exporting of the specification data to obtain the standard configuration file required by the automatic supervision system specifically includes: Based on a nested data model, the specification data is organized, and the content of each element in the nested data model is accessed level by level using a recursive method, and output to a Document object in an XML file; the nested data model is a tree structure; Or, create an internal form, write the column names into the first row of the internal form, and then write the standard data into the internal form row by row.

7. A device for automatically generating configuration data of a train automatic supervision system, characterized in that: include: Data import unit, used to import engineering data; A logic conversion unit, used to perform logic conversion on the engineering data according to the ATS product data configuration work instruction, and generate standard data that conforms to the automatic supervision system data configuration specification; A data export unit, used for exporting the specification data to obtain a standard configuration file required by the automatic supervision system; The logical conversion of the engineering data to generate standard data that complies with the data configuration specification of the automatic supervision system includes: Convert the code position name and state name of the interlocking to generate the standard code position name and standard state name that conform to the data configuration specification of the automatic supervision system; The code position name and state name of the interlock are converted to generate a standard code position name and a standard state name that conform to the data configuration specification of the automatic supervision system, specifically including: If the interlock is a preset device type, then based on the name conversion rule corresponding to the preset device type, the code position name and state name of the interlock are respectively combined into a standard code position name and a standard state name under the automatic supervision system; Otherwise, obtain a code position name comparison table and a state name comparison table, and use the ATS code position name and ATS state name corresponding to the code position name and state name of the interlock in the code position name comparison table and the state name comparison table as the standard code position name and the standard state name; the code position name comparison table and the state name comparison table respectively contain the code position name correspondence and state name correspondence between the interlock and the automatic supervision system.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the steps of the method for automatically generating configuration data of a train automatic supervision system as described in any one of claims 1 to 6 are implemented.

9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method for automatically generating configuration data of a train automatic supervision system as claimed in any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Regional rail transit fully automatic operation interconnected train operation control system

    CN109229149A

  • Automatic generation method and device of ZC configuration file and readable storage medium

    CN111897592A