A method and device for separating data and program of rail transit control system
By processing and storing the source files and header files of the rail transit control system into the data document, the configuration data is saved in the configuration document, and the global variable data is read from the data document based on the configuration document, the logical code and data code are realized The separation of the problem of low availability and confidentiality caused by the coupling of logical code and data code in the prior art, and improves the availability of system programs and the organization of data storage.
Patent Information
- Application Number
- CN202010865175.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-25
- Publication Date
- 2024-12-13
- Estimated Expiration
- 2040-08-25
AI Technical Summary
In the existing rail transit signal control system, the logical code and data code are coupled together, resulting in low availability and confidentiality of system programs, and poor data storage structure.
By processing and storing the source files and header files of the rail transit control system into the data document, the configuration data is saved in the configuration document, and global variable data is read from the data document based on the configuration document, the logical code and data code are realized. Separation improves the availability and confidentiality of system programs, while improving the organization of data storage.
The separation of logical code and data code is achieved, the availability and confidentiality of system programs are improved, the organization of data storage is improved, and the consistency of interlocking codes and the integrity of configuration data are ensured at different stations.
Smart Images

Figure CN112114895B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of track signal technology, and in particular to a method and device for separating data and programs of a track transportation control system. Background Art
[0002] In automated control systems such as rail transit, the system control software consists of control logic and configuration data that supports the operation of the logic. The control logic of the system software is often generally applicable, while the configuration data needs to be modified according to different scenario data. Frequent modification of the configuration data can also easily lead to erroneous changes in the logic part. In the rail transit signal control system, a complete line contains multiple interlocking concentration areas. The equipment control logic parts in these concentration areas are the same, and the data that supports the operation of the logic needs to be configured separately according to the characteristics of the line in the concentration area. The existing interlocking control software contains two parts: control interlocking logic and data. The interlocking logic refers to the constraints and dependencies of the turnouts, signals, and routes on the line. This part of the content is the same for different concentration areas, while the attributes such as the number of turnouts, signals, and routes are different in different concentration areas.
[0003] The existing technical solution is to place the data part and the logic part in different modules in the interlocking code, which are maintained and modified by data configuration personnel and R&D personnel respectively. The configuration data is modified by the engineering data configuration personnel in the .c source file format and the .h header file format, and the configuration data is stored in the .c source file and the .h header file in the form of global variables and macro definitions. The software code and the configuration data are bound and compiled into an exe executable file. When calling the data in the data module, the interlocking logic module will verify the data, such as data type verification, data range verification, etc., which realizes the separation of logic code and data code to a certain extent.
[0004] However, since the logic code and the data code are coupled together in the same format in the existing technical solutions, the availability and confidentiality of the system program are reduced, and there is also a defect of poor data storage orderliness. Summary of the invention
[0005] The embodiment of the present invention provides a method for separating data and programs of a rail transit control system, which is used to solve the defects of low availability and confidentiality of system programs and poor orderliness of data storage in the prior art, realizes the separation of logic code and data code, improves the availability and confidentiality of system programs, and improves the orderliness of data storage.
[0006] An embodiment of the present invention provides a method for separating data and programs in a rail transit control system, comprising:
[0007] Process all source files and header files in the rail transit control system according to the preset processing method, and store the processed data in the data document;
[0008] Saving the frame structure data in the configuration data in the rail transit control system in a configuration document;
[0009] Based on the configuration document, global variable data is read in the data document.
[0010] Optionally, the processing of all source files and header files in the rail transit control system according to a preset processing method specifically includes:
[0011] The structure global variables in all source files in the rail transit control system are parsed and processed to generate structure global variable data of corresponding basic data types; and the macros in all header files in the rail transit control system are parsed and processed to generate macro data of corresponding basic data types.
[0012] Optionally, based on the configuration document, reading global variable data in the data document specifically includes:
[0013] Acquire frame format requirements according to the configuration document;
[0014] Based on the frame format requirement, global variable data is read from the data document.
[0015] Optionally, after reading the global variable data in the data document, the method further includes:
[0016] Extracting various configuration items required for the interlocking program based on the data format in the configuration document;
[0017] A global variable is defined in the logic program, and each configuration item required by the interlocking program is saved in the global variable based on the configuration document.
[0018] Optionally, before extracting each configuration item required for the interlocking program based on the data format in the configuration document, the step further includes:
[0019] The configuration document is read through a logic program, and the configuration data in the configuration document is checked for integrity and accuracy.
[0020] Optionally, the checking the integrity and accuracy of the configuration data in the configuration document specifically includes:
[0021] The completeness of the configuration data in the configuration document is checked by a cyclic redundancy check method.
[0022] Optionally, based on the configuration document, saving each configuration item required by the interlocking program in the global variable specifically includes:
[0023] Reading configuration data from the configuration document;
[0024] Various configuration items required by the interlocking program are stored in the global variables based on the configuration data.
[0025] The embodiment of the present invention further provides a data and program separation device for a rail transit control system, comprising:
[0026] A processing module, used to process all source files and header files in the rail transit control system according to a preset processing method, and store the processed data in a data document;
[0027] A saving module, used for saving the frame structure data in the configuration data in the rail transit control system in a configuration document;
[0028] A reading module is used to read global variable data in the data document based on the configuration document.
[0029] An embodiment of the present invention also provides an electronic device, including 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 a method for separating data and program of a rail transit control system as described in any one of the above are implemented.
[0030] An embodiment of the present invention further 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 a method for separating data and program of a rail transit control system as described in any one of the above are implemented.
[0031] The embodiments of the present invention provide a method and device for separating data and programs in a rail transit control system. The method and device process the source files and header files in the system and store them in data documents, and separate the logic code from the data code based on the configuration document, thereby improving the availability and confidentiality of the system program and improving the orderliness of data storage. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in 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.
[0033] Figure 1It is a flow chart of a method for separating data and programs of a rail transit control system provided by an embodiment of the present invention;
[0034] Figure 2 It is a flow chart of binary dat file generation in a method for separating data and program in a rail transit control system provided by an embodiment of the present invention;
[0035] Figure 3 It is a structural schematic diagram of a data and program separation device for a rail transit control system provided by an embodiment of the present invention;
[0036] Figure 4 It is a structural schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0037] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments 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.
[0038] In automated control systems such as rail transit, the system control software is composed of control logic and configuration data that supports the operation of the logic. The control logic of the system software is often generally applicable, while the configuration data needs to be modified according to different scenario data. Traditional software combines the logic part with the configuration data, which reduces the usability of the program. Frequent modification of the configuration data is also prone to erroneous modification of the logic part. The present invention realizes the decoupling of the control logic and the configuration data. The control logic part remains unchanged during use, and only the data part needs to be modified according to the data configuration description, thereby improving the applicability of the software. The control logic part is no longer visible to the configured data part, and the confidentiality of the software is also improved.
[0039] In the rail transit signal control system, a complete line contains multiple interlocking concentration areas. The equipment control logic in these concentration areas is the same, and the data supporting the logic operation needs to be configured separately according to the characteristics of the line in the concentration area. The existing interlocking control software contains two parts: control interlocking logic and data. Interlocking logic refers to the constraints and dependencies such as turnouts, signals, and routes on the line. This part of the content is the same for different concentration areas, while the attributes such as the number of turnouts, signals, and routes are different in different concentration areas. Therefore, the interlocking logic has more general applicability and it is necessary to separate the interlocking software from the configuration data.
[0040] The existing solution is to place the data part and the logic part in different modules in the interlocking code, and the data configuration personnel and R&D personnel will maintain and modify them respectively. The configuration data is modified by the engineering data configuration personnel in the .c source file format and the .h header file format. The configuration data is stored in the .c source file and the .h header file in the form of global variables and macro definitions. The software code and the configuration data are bound and compiled into an exe executable file. When calling the data in the data module, the interlocking logic module will verify the data, such as data type verification, data range verification, etc., which realizes the separation of logic code and data code to a certain extent.
[0041] In the existing technical solution, the logic code and the data code are coupled together in the same format. This data configuration method is not conducive to the confidentiality of the interlocking core logic code. This solution changes the existing data configuration method. The core processing logic code is compiled separately to obtain an exe file, and the configuration data is stored in a dat file in binary form. After the interlocking code and the configuration data are separated, the interlocking code and the configuration data are released separately, so that the interlocking codes of different stations can be completely consistent, and the separation of the core processing logic code and the configuration data file can be realized.
[0042] Figure 1 A method for separating data and programs of a rail transit control system provided by an embodiment of the present invention is as follows: Figure 1 As shown, the process may specifically include:
[0043] Step 101: Process all source files and header files in the rail transit control system according to a preset processing method, and store the processed data in a data file;
[0044] Specifically, first process all source files (.c files) and header files (.h files), parse the global variable structure in the .c file into basic data types and store them in the data document (data.txt).
[0045] For example, the global variable structure RouteTable has three nested members: trackCode, leaveTrackCode1, and leaveTrackCode2, and the member types are all UINT32. In data.txt, the RouteTable global variable is stored in the following format:
[0046] UINT32 trackCode[num]val 4RouteTable;
[0047] UINT32 leaveTrackCode1[num1]val1 4RouteTable;
[0048] UINT32 leaveTrackCode2[num2]val2 4RouteTable;
[0049] Where num is the size of the member array, val is the value of each member in the .c file, and 4 represents that UINT32 type data is stored in 4 bytes. The macros in the .h file are also stored in the data.txt file in a similar way.
[0050] By processing all source files and header files in the rail transit control system according to the preset processing method and storing the processed data in the data document, conditions are created for the generation of binary dat files.
[0051] Step 102: Save the frame structure data in the configuration data in the rail transit control system in a configuration document;
[0052] Specifically, the corresponding data of the frame structure is input, and the frame structure data of the configuration data is saved in the configuration document (Config.txt).
[0053] For example, for variable types: when the variable is a macro definition, fill in 0 in the table, and for variable types, fill in 0. For other array types, fill in the array definition: such as Int example[2][3][4], fill in 2 for the number of configuration items, and fill in 3*4 value 12 for the variable type. If the structure member of the nested structure contains an array, modify the value of the variable type accordingly to the number of the first member of the nested structure.
[0054] By storing the frame structure data in the configuration data of the rail transit control system in the configuration document, conditions are created for the generation of binary dat files and the separation of logic codes and data codes.
[0055] The frame structure of Config.txt is shown in Table 1:
[0056] Table 1 Data configuration frame structure format
[0057]
[0058] Step 103: Based on the configuration document, read the global variable data in the data document.
[0059] Specifically, based on the configuration document, the Config.txt file is imported, and the corresponding global variable data is read from the data.txt file according to the frame format requirements in Config.txt. In this solution, the existing data configuration method is changed, the core processing logic code is compiled into an exe file, and the configuration data is saved in the file in the binary dat format. When the logic program is run, the required data will be read from the dat file. The data is no longer compiled into an exe program together with the program, thereby realizing the separation of the core processing logic code and the data configuration file. The binary dat data storage file uses a 64-bit CRC for data integrity verification.
[0060] The overall data file format is shown in Table 2. Each partition contains the partition length and partition type fields. The configuration partition data field is stored in bytes, and only unsigned 8-bit integer, unsigned 16-bit integer, and unsigned 32-bit integer data types are used. For configuration items that need to be identified by enumeration types in the interlocking program, the configuration file uniformly stores the unsigned 32-bit integer data corresponding to the enumeration variable value. All unsigned 16-bit integer and unsigned 32-bit integer data are stored in the dat file in high-endian order.
[0061] Table 2 Overall data storage format
[0062] Byte length Configuration domain meaning 4 Configuration data length variable Configuring Partition 0 variable Configure Partition 1 … … variable Configure Partition N 8 64-bit CRC
[0063] Each configuration partition can contain several configuration items. The format of a single configuration partition is shown in Table 3. In order to keep the structure of the configuration partitions organized, each sub-partition contains a type of configuration data.
[0064] Table 3 Single partition data storage format
[0065] Byte length Configuration domain meaning 4 Configuring partition length 2 Configure partition type (0-0xffff) variable Configure subpartition 1 data … … variable Configure subpartition N data
[0066] The data storage format of each configuration sub-partition is shown in Table 4:
[0067] Table 4 Subpartition data storage format
[0068]
[0069]
[0070] The corresponding relationship between partitions and sub-partitions is shown in Table 5, for example, based on the route-related configuration partitions:
[0071] Table 5 Data storage format for access partitions
[0072] Configuring subpartition types Storing configuration data Corresponding global variables 1 Train route configuration RouteTable 2 Segment route start data table SecRouteStartData 3 Sectional access terminal data table SecRouteDestData 4 Cross-line access configuration KxRouteTable 5 Shunting route configuration ShuntTable 6 Long shunting route configuration LongShuntTable 7 Non-road shunting configuration NRSTable
[0073] Figure 2It is a flow chart of binary dat file generation in a method for separating data and programs in a rail transit control system provided by an embodiment of the present invention, and generating binary data conforming to the above format mainly includes three steps: separation, data frame structure generation and binary data generation.
[0074] By processing the source files and header files in the system and storing them in data documents, and separating the logic code from the data code based on the configuration documents, the availability and confidentiality of the system program are improved, while the orderliness of data storage is improved.
[0075] Optionally, based on the above embodiments, the processing of all source files and header files in the rail transit control system according to a preset processing method specifically includes:
[0076] The structure global variables in all source files in the rail transit control system are parsed and processed to generate structure global variable data of corresponding basic data types; and the macros in all header files in the rail transit control system are parsed and processed to generate macro data of corresponding basic data types.
[0077] Specifically, the data separation includes parsing the structure global variables in all source files (.c files) in the rail transit control system to generate structure global variable data of corresponding basic data types; and parsing the macros in all header files (.h files) in the rail transit control system to generate macro data of corresponding basic data types.
[0078] By parsing the structure global variables in the source file and the macros in the header file, data separation is achieved, the availability and confidentiality of the system program are improved, and the orderliness of data storage is improved.
[0079] Optionally, based on the above embodiments, the reading of global variable data in the data document based on the configuration document specifically includes:
[0080] Obtaining frame format requirements according to the configuration document;
[0081] Based on the frame format requirement, global variable data is read from the data document.
[0082] Specifically, the configuration document stores relevant data of the frame format requirements, and the global variable data is read from the data document according to the frame format requirements in the configuration document.
[0083] By reading the global variable data in the data document according to the frame format requirements in the configuration document, conditions are created for achieving data separation.
[0084] Optionally, based on the above embodiments, after reading the global variable data in the data document, the method further includes:
[0085] Extracting various configuration items required for the interlocking program based on the data format in the configuration document;
[0086] A global variable is defined in the logic program, and each configuration item required by the interlocking program is saved in the global variable based on the configuration document.
[0087] Specifically, various configuration items required for the interlocking program are extracted according to the data format in the configuration document, and global variables are defined in the logic program, and various configuration items required for the interlocking program are stored in the global variables according to the configuration information in the configuration document.
[0088] By saving various configuration items required for the interlocking program in the global variable according to the configuration information in the configuration document, it is achieved that various configuration items required for the interlocking program are saved in the global variable.
[0089] Optionally, based on the above embodiments, before extracting each configuration item required for the interlocking program based on the data format in the configuration document, the step further includes:
[0090] The configuration document is read through a logic program, and the configuration data in the configuration document is checked for integrity and accuracy.
[0091] Specifically, the logic program calls to read the configuration document, and performs integrity check and accuracy check on the configuration data in the configuration document.
[0092] By performing integrity verification and accuracy verification on the configuration data in the configuration document, the integrity and accuracy of the configuration data are improved.
[0093] Optionally, based on the above embodiments, the checking the integrity and accuracy of the configuration data in the configuration document specifically includes:
[0094] The completeness of the configuration data in the configuration document is checked by a cyclic redundancy check method.
[0095] Specifically, the logic program performs integrity and accuracy verification on the read binary file through CRC and protection assertions.
[0096] The accuracy and integrity of the configuration data are improved by performing integrity and accuracy checks on the read binary files through CRC and protection assertions.
[0097] Optionally, based on the above embodiments, the step of saving each configuration item required by the interlocking program in the global variable based on the configuration document specifically includes:
[0098] Reading configuration data from the configuration document;
[0099] Various configuration items required by the interlocking program are stored in the global variables based on the configuration data.
[0100] Specifically, the configuration document stores configuration data, and various configuration items required for the interlocking program are stored in global variables according to the content of the configuration data, creating conditions for further separation of data and program.
[0101] Figure 3 A data and program separation device for a rail transit control system provided by an embodiment of the present invention is Figure 3 As shown, it specifically includes: a processing module 301, which is used to process all source files and header files in the rail transit control system according to a preset processing method, and store the processed data in a data document; a saving module 302, which is used to save the frame structure data in the configuration data in the rail transit control system in the configuration document; a reading module 303, which is used to read global variable data in the data document based on the configuration document.
[0102] Specifically, the processing module 301 first processes all source files (.c files) and header files (.h files), and parses the global variable structure in the .c file into basic data types and stores them in the data file (data.txt). The saving module 302 inputs the corresponding data of the frame structure, and saves the frame structure data of the configuration data in the configuration file (Config.txt). The reading module 303 imports the Config.txt file based on the configuration file, and reads the corresponding global variable data in the data.txt file according to the frame format requirements in Config.txt.
[0103] By processing the source files and header files in the system and storing them in data documents, and separating the logic code from the data code based on the configuration documents, the availability and confidentiality of the system program are improved, while the orderliness of data storage is improved.
[0104] Figure 4 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 4As shown, the electronic device may include: a processor 810, a communication interface 820, a memory 830 and a communication bus 840, wherein the processor 810, the communication interface 820 and the memory 830 communicate with each other through the communication bus 840. The processor 810 may call the logic instructions in the memory 830 to execute a method for separating data and programs in a rail transit control system, the method comprising: processing all source files and header files in the rail transit control system according to a preset processing method, and storing the processed data in a data document; saving the frame structure data in the configuration data in the rail transit control system in the configuration document; and reading global variable data in the data document based on the configuration document.
[0105] In addition, the logic instructions in the above-mentioned memory 830 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 and other media that can store program codes.
[0106] On the other hand, an embodiment of 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 a rail transit control system data and program separation method provided by the above-mentioned method embodiments, the method including: processing all source files and header files in the rail transit control system according to a preset processing method, and storing the processed data in a data document; saving the frame structure data in the configuration data in the rail transit control system in the configuration document; and reading global variable data in the data document based on the configuration document.
[0107] On the other hand, an embodiment of 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 a rail transit control system data and program separation method provided by the above-mentioned embodiments. The method includes: processing all source files and header files in the rail transit control system according to a preset processing method, and storing the processed data in a data document; saving the frame structure data in the configuration data in the rail transit control system in the configuration document; and reading global variable data in the data document based on the configuration document.
[0108] 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. Those of ordinary skill in the art may understand and implement it without creative work.
[0109] 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.
[0110] 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.
Claims
1. A method for separating data and programs in a rail transit control system, characterized in that: include: Process all source files and header files in the rail transit control system according to the preset processing method, and store the processed data in the data document; Saving the frame structure data in the configuration data in the rail transit control system in a configuration document; Based on the configuration document, reading global variable data in the data document; The processing of all source files and header files in the rail transit control system according to the preset processing method specifically includes: Parse and process the structure global variables in all source files in the rail transit control system to generate structure global variable data of corresponding basic data types; And parse the macros in all header files in the rail transit control system to generate macro data of corresponding basic data types; The step of reading global variable data in the data document based on the configuration document specifically includes: Obtaining frame format requirements according to the configuration document; Based on the frame format requirement, global variable data is read from the data document.
2. The method for separating data and programs of a rail transit control system according to claim 1, characterized in that: After reading the global variable data in the data document, the method further includes: Extracting various configuration items required for the interlocking program based on the data format in the configuration document; A global variable is defined in the logic program, and each configuration item required by the interlocking program is saved in the global variable based on the configuration document.
3. The method for separating data and programs of a rail transit control system according to claim 2, characterized in that: Before extracting various configuration items required for the interlocking program based on the data format in the configuration document, the method further includes: The configuration document is read through a logic program, and the configuration data in the configuration document is checked for integrity and accuracy.
4. The method for separating data and programs of a rail transit control system according to claim 3, characterized in that: The checking of the integrity and accuracy of the configuration data in the configuration document specifically includes: The completeness of the configuration data in the configuration document is checked by a cyclic redundancy check method.
5. The method for separating data and programs of a rail transit control system according to claim 2, characterized in that: The step of storing the configuration items required for the interlocking program in the global variable based on the configuration document specifically includes: Reading configuration data from the configuration document; Various configuration items required by the interlocking program are stored in the global variables based on the configuration data.
6. A data and program separation device for a rail transit control system, characterized in that: include: A processing module, used to process all source files and header files in the rail transit control system according to a preset processing method, and store the processed data in a data document; A saving module, used for saving the frame structure data in the configuration data in the rail transit control system in a configuration document; A reading module, used for reading global variable data in the data document based on the configuration document; The processing of all source files and header files in the rail transit control system according to the preset processing method specifically includes: Parse and process the structure global variables in all source files in the rail transit control system to generate structure global variable data of corresponding basic data types; And parse the macros in all header files in the rail transit control system to generate macro data of corresponding basic data types; The step of reading global variable data in the data document based on the configuration document specifically includes: Obtaining frame format requirements according to the configuration document; Based on the frame format requirement, global variable data is read from the data document.
7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of a method for separating data and programs of a rail transit control system as described in any one of claims 1 to 5 are implemented.
8. 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 a method for separating data and programs of a rail transit control system as described in any one of claims 1 to 5 are implemented.
