Method and device for generating train-mounted configuration file of train

By distinguishing common and non-common configuration items and adding them to the corresponding directories, the problem of time-consuming generation of train on-board configuration files is solved, and the effect of improving generation efficiency and accuracy is achieved.

CN119473422APending Publication Date: 2025-02-18CASCO SIGNAL (BEIJING) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411335133.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-24
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

The on-board configuration file generation process of existing trains takes a lot of time, resulting in low generation efficiency.

Method used

By obtaining the file framework of the on-board configuration file, distinguishing between common directories and non-common directories, adding common configuration items to the common directory, adding non-common configuration items to the non-common directory, and generating the corresponding train on-board configuration file.

Benefits of technology

It reduces the time to generate common configuration items of the same configuration parameters, improves the efficiency of on-board configuration files generation, and improves the accuracy of the generation process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119473422A_ABST
    Figure CN119473422A_ABST
Patent Text Reader

Abstract

The invention discloses a method and device for generating a train-mounted configuration file of a train, and relates to the technical field of rail transit. The method comprises the steps of obtaining a file framework of a vehicle-mounted configuration file, wherein the file framework at least comprises a first hierarchy; the first hierarchy comprises a non-common directory and a common directory; common configuration items in a plurality of configuration items required by train running are added to a common directory, and the common configuration items are configuration items with the same item parameters when a plurality of trains run; respectively adding non-generality configurations in a plurality of configuration items required by train running into a non-generality directory to obtain a vehicle-mounted configuration file corresponding to the train; wherein the non-common configuration items are other configuration items except the common configuration item in the plurality of configuration items.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of rail transit technology, and in particular to a method and device for generating an on-board configuration file of a train. Background Art

[0002] In the existing train operation process, the onboard equipment will control the train operation based on the onboard configuration file. The onboard configuration file contains a large number of configuration items for the train operation, and the accuracy of these configuration items plays a vital role in the smooth operation of the train.

[0003] At present, in the process of generating the existing train on-board configuration file, the operator is required to set and generate multiple configuration items in the on-board configuration file one by one, so as to obtain the on-board configuration file corresponding to each train. However, in actual applications, the configuration items involved in the on-board configuration file of a train range from hundreds to thousands. Especially when it is necessary to generate the on-board configuration files of multiple trains, the operator needs to spend a lot of time in the process of generating them one by one, which leads to the problem of low efficiency in the existing method of generating the on-board configuration file of the train. Summary of the invention

[0004] The embodiments of the present application provide a method and device for generating an on-board configuration file of a train, the main purpose of which is to solve the problem that the current process of generating an on-board configuration file of a train consumes a lot of time, resulting in low generation efficiency.

[0005] In order to solve the above technical problems, the embodiments of the present application provide the following technical solutions:

[0006] In a first aspect, the present application provides a method for generating an onboard configuration file of a train, the method comprising:

[0007] Acquire a file framework of a vehicle configuration file, wherein the file framework includes at least a first level; the first level includes non-common directories and common directories;

[0008] Adding common configuration items among multiple configuration items required for train operation to a common directory, wherein the common configuration items are configuration items with the same project parameters when multiple trains are operating;

[0009] The non-common configurations among the multiple configuration items required for train operation are added to the non-common directory respectively to obtain an on-board configuration file corresponding to the train; wherein the non-common configuration items are other configuration items among the multiple configuration items except the common configuration items.

[0010] Optionally, before obtaining the file framework of the vehicle-mounted configuration file, the method further includes:

[0011] A second level is set in the initial framework, wherein the second level is used to distinguish different trains based on vehicle type identification;

[0012] A first level is set under the second level, and the first level is used to add non-common configuration items and common configuration items.

[0013] Optionally, the file framework further includes a third level, wherein the third level is used to add configuration items corresponding to the ATP function and configuration items corresponding to the ATO function in the common directory;

[0014] After setting the first level under the second level, the method further includes:

[0015] A third level is set in the common directory in the first level, wherein the third level includes a first ATP function directory and a first ATO function directory;

[0016] The adding of common configuration items among the multiple configuration items required for train operation into the common catalogue includes:

[0017] The configuration items corresponding to the ATP functions in the common configuration items are added to the first ATP function catalog, and the configuration items corresponding to the ATO functions in the common configuration items are added to the first ATO function catalog.

[0018] Optionally, the first ATP function directory and the first ATO function directory are respectively provided with platform-level line grouping, application-level line grouping, platform-level vehicle type grouping, and application-level vehicle type grouping;

[0019] After setting the third level in the commonality directory in the first level, the method further includes:

[0020] In the first ATP function catalog in the third level, platform-level line grouping, application-level line grouping, platform-level vehicle grouping, and application-level vehicle grouping are respectively set;

[0021] In the first ATO function directory in the third level, platform-level line grouping, application-level line grouping, platform-level vehicle grouping, and application-level vehicle grouping are respectively set;

[0022] The adding the configuration items corresponding to the ATP function in the common configuration items to the first ATP function catalog, and adding the configuration items corresponding to the ATO function in the common configuration items to the first ATO function catalog, includes:

[0023] Among the configuration items related to lines in the configuration items corresponding to the ATP functions in the common configuration items, add the configuration items corresponding to the platform-level line group to the platform-level line group in the first ATP function catalog;

[0024] Among the configuration items related to lines in the configuration items corresponding to the ATP functions in the common configuration items, add the configuration items corresponding to the application-level line group to the application-level line group in the first ATP function catalog;

[0025] Among the configuration items related to vehicle models in the configuration items corresponding to the ATP functions in the common configuration items, add the configuration items corresponding to the platform-level vehicle model group to the platform-level vehicle model group in the first ATP function catalog;

[0026] Among the configuration items related to vehicle models in the configuration items corresponding to the ATP function in the common configuration items, add the configuration items corresponding to the application-level vehicle model group to the application-level vehicle model group in the first ATP function catalog;

[0027] Among the configuration items related to lines in the configuration items corresponding to the ATO functions in the common configuration items, add the configuration items corresponding to the platform-level line grouping to the platform-level line grouping in the first ATO function catalog;

[0028] Among the configuration items related to lines in the configuration items corresponding to the ATO function in the common configuration items, add the configuration items corresponding to the application-level line group to the application-level line group in the first ATO function catalog;

[0029] Among the configuration items related to vehicle models in the configuration items corresponding to the ATO functions in the common configuration items, adding the configuration items corresponding to the platform-level vehicle model group to the platform-level vehicle model group in the first ATO function catalog;

[0030] Among the configuration items related to vehicle models in the configuration items corresponding to the ATO function in the common configuration items, the configuration items corresponding to the application-level vehicle model group are added to the application-level vehicle model group in the first ATO function catalog.

[0031] Optionally, the file framework further includes a fourth level and a fifth level;

[0032] The fourth level is used to add train identification directories corresponding to different trains in the non-common directory; the fifth level is used to add configuration items corresponding to the ATP function and configuration items corresponding to the ATO function in each train identification directory;

[0033] After setting the first level under the second level, the method further includes:

[0034] A fourth level is set in the non-common directory of the first level, wherein the fourth level includes at least one train identification directory, and each train identification directory corresponds to a train;

[0035] Setting a fifth level under the train identification directory, wherein the fifth level includes a second ATP function directory and a second ATO function directory;

[0036] The adding of the non-common configurations in the multiple configuration items required for train operation to the non-common catalogues respectively includes:

[0037] Grouping the plurality of non-common configuration items by train to obtain non-common configuration items corresponding to each train;

[0038] The configuration items corresponding to the ATP functions in the non-common configuration items of each train are added to the second ATP function directory under the corresponding train identification directory, and the configuration items corresponding to the ATO functions in the non-common configuration items of each train are added to the second ATO function directory under the corresponding train identification directory.

[0039] Optionally, the second ATP function directory and the second ATO function directory are respectively provided with platform-level single-vehicle grouping and application-level single-vehicle grouping;

[0040] After setting the fifth level under the train identification directory, the method further includes:

[0041] In the second ATP function catalog in the fifth level, a platform-level single-vehicle group and an application-level single-vehicle group are respectively set, and in the second ATP function catalog in the fifth level, a platform-level single-vehicle group and an application-level single-vehicle group are respectively set;

[0042] The adding of the configuration items corresponding to the ATP function in the non-common configuration items of each train to the second ATP function directory under the corresponding train identification directory, and the adding of the configuration items corresponding to the ATO function in the non-common configuration items of each train to the second ATO function directory under the corresponding train identification directory, includes:

[0043] In the configuration items corresponding to the ATP function in the non-common configuration items of each train, the configuration items corresponding to the platform-level group are added to the platform-level group in the second ATP function directory under the corresponding train identification directory;

[0044] In the configuration items corresponding to the ATP function in the non-common configuration items of each train, the configuration items corresponding to the application level group are added to the application level group in the second ATP function directory under the corresponding train identification directory;

[0045] In the configuration items corresponding to the ATO function in the non-common configuration items of each train, the configuration items corresponding to the platform-level group are added to the platform-level group in the second ATO function directory under the corresponding train identification directory;

[0046] In the configuration items corresponding to the ATO function in the non-common configuration items of each train, the configuration items corresponding to the application level grouping are added to the application level grouping in the second ATO function directory under the corresponding train identification directory.

[0047] Optionally, after adding the non-common configurations in the plurality of configuration items required for train operation to the non-common catalog, the method further includes:

[0048] A verification file corresponding to each configuration item is added to the level to which the configuration item belongs, wherein the verification file is obtained after the configuration item is processed based on a preset algorithm; the verification file is used to verify the integrity of the configuration item.

[0049] In a second aspect, the present application further provides a device for generating a train-mounted configuration file, comprising:

[0050] An acquisition unit, configured to acquire a file framework of a vehicle-mounted configuration file, wherein the file framework includes at least a first level; the first level includes non-common directories and common directories;

[0051] A first adding unit is used to add a common configuration item in a plurality of configuration items required for train operation to a common directory, wherein the common configuration item is a configuration item having the same project parameters when a plurality of trains are operating;

[0052] The second adding unit is used to add non-common configurations among multiple configuration items required for train operation to a non-common directory respectively to obtain an on-board configuration file corresponding to the train; wherein the non-common configuration items are other configuration items among the multiple configuration items except the common configuration items.

[0053] Optionally, the device further comprises:

[0054] A first setting unit is used to set a second level in an initial framework, wherein the second level is used to distinguish different trains based on vehicle type identification; and a first level is set under the second level, wherein the first level is used to add non-common configuration items and common configuration items.

[0055] Optionally, the file framework further includes a third level, wherein the third level is used to add configuration items corresponding to the ATP function and configuration items corresponding to the ATO function in the common directory;

[0056] The device also includes:

[0057] A second setting unit is used to set a third level in the common directory in the first level, wherein the third level includes a first ATP function directory and a first ATO function directory;

[0058] The first adding unit is specifically used to add the configuration items corresponding to the ATP function in the common configuration items to the first ATP function catalog, and to add the configuration items corresponding to the ATO function in the common configuration items to the first ATO function catalog.

[0059] Optionally, the first ATP function directory and the first ATO function directory are respectively provided with platform-level line grouping, application-level line grouping, platform-level vehicle type grouping, and application-level vehicle type grouping;

[0060] The device also includes:

[0061] a third setting unit, for respectively setting a platform-level line group, an application-level line group, a platform-level vehicle type group, and an application-level vehicle type group in the first ATP function catalog in the third level; and respectively setting a platform-level line group, an application-level line group, a platform-level vehicle type group, and an application-level vehicle type group in the first ATO function catalog in the third level;

[0062] The first adding unit is further specifically used to add the configuration items corresponding to the platform-level line grouping in the configuration items involving lines in the configuration items corresponding to the ATP function in the common configuration items to the platform-level line grouping in the first ATP function catalog; and, in the configuration items involving lines in the configuration items corresponding to the ATP function in the common configuration items, add the configuration items corresponding to the application-level line grouping to the application-level line grouping in the first ATP function catalog; and, in the configuration items involving vehicle models in the configuration items corresponding to the ATP function in the common configuration items, add the configuration items corresponding to the platform-level vehicle model grouping to the platform-level vehicle model grouping in the first ATP function catalog; and, in the configuration items involving vehicle models in the configuration items corresponding to the ATP function in the common configuration items, add the configuration items corresponding to the application-level vehicle model grouping to the application level in the first ATP function catalog. and, in the configuration items involving lines in the configuration items corresponding to the ATO function in the common configuration items, adding the configuration items corresponding to the platform-level line grouping to the platform-level line grouping in the first ATO function catalog; and, in the configuration items involving lines in the configuration items corresponding to the ATO function in the common configuration items, adding the configuration items corresponding to the application-level line grouping to the application-level line grouping in the first ATO function catalog; and, in the configuration items involving vehicle models in the configuration items corresponding to the ATO function in the common configuration items, adding the configuration items corresponding to the platform-level vehicle grouping to the platform-level vehicle grouping in the first ATO function catalog; and, in the configuration items involving vehicle models in the configuration items corresponding to the ATO function in the common configuration items, adding the configuration items corresponding to the application-level vehicle grouping to the application-level vehicle grouping in the first ATO function catalog.

[0063] Optionally, the file framework further includes a fourth level and a fifth level;

[0064] The fourth level is used to add train identification directories corresponding to different trains in the non-common directory; the fifth level is used to add configuration items corresponding to the ATP function and configuration items corresponding to the ATO function in each train identification directory;

[0065] The device also includes:

[0066] a fourth setting unit, configured to set a fourth level in the non-common directory of the first level, wherein the fourth level includes at least one train identification directory, each of the train identification directories corresponding to one train; and, to set a fifth level under the train identification directory, wherein the fifth level includes a second ATP function directory and a second ATO function directory;

[0067] The second adding unit is specifically used to group the multiple non-common configuration items according to trains to obtain non-common configuration items corresponding to each train; and add the configuration items corresponding to the ATP function in the non-common configuration items of each train to the second ATP function directory under the corresponding train identification directory, and add the configuration items corresponding to the ATO function in the non-common configuration items of each train to the second ATO function directory under the corresponding train identification directory.

[0068] Optionally, the second ATP function directory and the second ATO function directory are respectively provided with platform-level single-vehicle grouping and application-level single-vehicle grouping;

[0069] The device also includes:

[0070] A fifth setting unit, configured to respectively set a platform-level single-vehicle grouping and an application-level single-vehicle grouping in the second ATP function catalog in the fifth level, and respectively set a platform-level single-vehicle grouping and an application-level single-vehicle grouping in the second ATP function catalog in the fifth level;

[0071] The second adding unit is further specifically used to add the configuration items corresponding to the platform-level group in the configuration items corresponding to the ATP function in the non-common configuration items of each train to the platform-level group in the second ATP function directory under the corresponding train identification directory; and, in the configuration items corresponding to the ATP function in the non-common configuration items of each train, add the configuration items corresponding to the application-level group in the configuration items corresponding to the ATP function to the application-level group in the second ATP function directory under the corresponding train identification directory; and, in the configuration items corresponding to the ATO function in the non-common configuration items of each train, add the configuration items corresponding to the platform-level group to the platform-level group in the second ATO function directory under the corresponding train identification directory; and, in the configuration items corresponding to the ATO function in the non-common configuration items of each train, add the configuration items corresponding to the application-level group to the application-level group in the second ATO function directory under the corresponding train identification directory.

[0072] Optionally, the device further comprises:

[0073] The third adding unit is used to add a verification file corresponding to each configuration item in the level to which the configuration item belongs, wherein the verification file is obtained after the configuration item is processed based on a preset algorithm; the verification file is used to verify the integrity of the configuration item.

[0074] In a third aspect, an embodiment of the present application provides a storage medium, which includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the method for generating an on-board configuration file of a train described in any one of the first aspects.

[0075] In a fourth aspect, an embodiment of the present application provides a device for generating an on-board configuration file of a train, the device comprising a storage medium; and one or more processors, the storage medium being coupled to the processor, the processor being configured to execute program instructions stored in the storage medium; when the program instructions are executed, the method for generating an on-board configuration file of a train described in any one of the first aspects is executed.

[0076] By means of the above technical solution, the technical solution provided by this application has at least the following advantages:

[0077] The present application provides a method and device for generating an on-board configuration file of a train. The present application can first obtain a file framework of the on-board configuration file, wherein the file framework includes at least a first level; the first level includes a non-common directory and a common directory; then, common configuration items among multiple configuration items required for train operation are added to the common directory, wherein the common configuration items are configuration items with the same project parameters when multiple trains are operating; finally, non-common configurations among multiple configuration items required for train operation are added to the non-common directory respectively, to obtain an on-board configuration file corresponding to the train; wherein the non-common configuration items are other configuration items among multiple configuration items except the common configuration items, thereby realizing the function of generating the on-board configuration file of the train. Compared with the prior art, the present application can distinguish between common configuration items and non-common configuration items in the configuration items during the process of generating the vehicle configuration file. In this way, when generating the vehicle configuration files of different trains, there is no need to adjust and modify the common configuration items, and only one generation is required. Only the non-common configuration items need to be generated. In this way, when facing the task of generating vehicle configuration files of multiple different trains, the time for generating common configuration items with the same configuration parameters can be reduced, thereby reducing the generation time as a whole and improving the generation efficiency. At the same time, since only one set of common configuration items is generated during the generation process, this avoids the error problems caused by misoperation that may be caused by multiple generation of the prior art, and can improve the accuracy of generating the vehicle configuration file. At the same time, when updating and upgrading the vehicle configuration file of the train based on the method of the present application, it is also possible to mainly adjust the non-common configuration items without spending time and effort on the common configuration items, so that the upgrade and update process of the vehicle configuration file based on the present application can also have a higher processing efficiency.

[0078] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0079] By reading the detailed description below with reference to the accompanying drawings, the above and other purposes, features and advantages of the exemplary embodiments of the present application will become easy to understand. In the accompanying drawings, several embodiments of the present application are shown in an exemplary and non-limiting manner, and the same or corresponding reference numerals represent the same or corresponding parts, wherein:

[0080] Figure 1 A flow chart of a method for generating an onboard configuration file of a train provided in an embodiment of the present application is shown;

[0081] Figure 2A flow chart of another method for generating an onboard configuration file of a train provided in an embodiment of the present application is shown;

[0082] Figure 3 A block diagram showing a composition of a device for generating an onboard configuration file of a train provided in an embodiment of the present application is shown;

[0083] Figure 4 A block diagram showing the composition of another device for generating an on-board configuration file of a train provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0084] The exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present application and to fully convey the scope of the present application to those skilled in the art.

[0085] It should be noted that, unless otherwise specified, the technical terms or scientific terms used in this application should have the common meanings understood by technicians in the field to which this application belongs.

[0086] The present application embodiment provides a method for generating a train-mounted configuration file, specifically, Figure 1 As shown, the method includes:

[0087] 101. Obtain a file framework of a vehicle configuration file, where the file framework includes at least a first level.

[0088] The first level includes non-common directories and common directories;

[0089] Due to the vigorous development of train technology in my country, it now covers multiple series and models, which can meet the needs of different lines and transportation, including ordinary trains and high-speed trains, such as the Harmony CRH series and the Fuxing CR400 series. In addition, it can be divided into passenger trains and freight trains according to different actual application scenarios. In order to ensure the high adaptability and high availability of the on-board system, the train is controlled and adjusted based on the train vehicle equipment during the driving process. During the operation of the train, the train vehicle equipment needs to be controlled through the on-board configuration file. The on-board configuration file contains various configuration items for different functional control requirements, and each configuration item contains relevant project parameters for controlling the operation of the train. Every time the actual train performs a transportation task, it is necessary to modify the configuration items in the on-board configuration file in combination with the actual situation of the project, so that one set of code can adapt to multiple projects. Specifically, the configuration item includes but is not limited to the following parameters, such as traction braking characteristic parameters, line slope, speed limit index, sensor installation position of each train, etc.

[0090] The production of on-board configuration files is a highly complex and sophisticated technical task. It is not just about simple data entry or parameter setting, but requires configuration personnel to accurately understand variables such as the traction and braking characteristics of each vehicle model, the slope speed limit indicators of each line, and the sensor installation location of each train. It also requires a deeper understanding of the hierarchical structure and functional division of the on-board software. On this basis, the correctness and safety of the configuration work can be guaranteed, thereby ensuring the safe and smooth operation of the on-board system.

[0091] In view of this, in this embodiment, the file framework of the vehicle configuration file to be generated can be first obtained. The file framework can be understood as a framework specifically used to generate the vehicle configuration file of the train, which can contain multiple different levels, and different levels can be used to add different configuration items. Specifically, in the actual scenario where the method of the present application is applied, the file framework includes at least a first level, which is mainly used to place different configuration items, including a common directory for placing common configuration items and a non-common directory for placing non-common configurations. Among them, the common configuration items can be understood as which of the multiple configuration items are "shareable" configuration items that each train needs but does not need to be adjusted and modified. The characteristic of this type of configuration item is that once one is completed, multiple trains can use the configuration item, while for non-common configuration items, it is other configuration items other than these "shareable" configuration items. In other words, it is some configuration items that belong to each train. These configuration items can be changed based on the different tasks to be performed by the train, and can also be different based on the different reasons such as the model, service life, and specific power of the engine between the trains. Here, there is no limitation on the specific configuration items included in the common configuration items, which are subject to the actual situation. Similarly, the same applies to non-common configuration items, which will not be elaborated here.

[0092] Based on this, in this embodiment, the file framework is actually a first-level framework that at least includes non-common directories and common directories, so that in subsequent steps, each configuration item can be added to the framework based on the above classification method based on actual conditions, thereby obtaining the corresponding vehicle configuration file.

[0093] 102. Add the common configuration items among the multiple configuration items required for train operation to the common catalog.

[0094] Among them, the common configuration items are configuration items with the same project parameters when multiple trains are running.

[0095] Based on the above steps, it can be known that when the train is running, the various configuration items in the on-board configuration file required by the vehicle equipment are divided into common configuration items and non-common configuration items, and the file framework is also set in this way. Therefore, in the process of generating the on-board configuration file, it is possible to first generate multiple trains with the same project parameters during operation based on the method of this step, that is, "shareable" configuration items, and then add such configuration items to the common directory. Since it has the characteristics of being shared by multiple trains, only one is generated in the process of generating and adding the common directory, and there is no need to generate a corresponding number of common configuration items according to the number of trains. This not only ensures that the problem of low generation efficiency caused by the need to generate multiple in the process of generating the on-board configuration file can be solved, but also in the process of upgrading and updating the on-board configuration file, the common configuration items in the common directory only need to be modified and adjusted once, thereby ensuring the efficiency of the upgrade and update process of the on-board configuration file.

[0096] 103. Add non-common configurations among multiple configuration items required for train operation to the non-common directory respectively to obtain an on-board configuration file corresponding to the train.

[0097] The non-common configuration items are other configuration items among the multiple configuration items except the common configuration items.

[0098] After adding the common configuration items to the common directory, the non-common configuration items can be generated next. In this embodiment, the non-common configuration items can be understood as configuration items unique to each train, or configuration items that are common to each train but have different project parameters. Since the configuration items cannot be "shared", in the process of generating and adding to the non-common directory, the identification information of the corresponding train can be added to each non-common configuration item, so that the vehicle equipment of subsequent trains can obtain the corresponding non-common configuration items based on the representation information when using it. Of course, in actual applications, it is also possible to set up sub-directories under the non-common directory in the file framework for each train to distinguish them. Here, the process of adding non-common configuration items to the non-common directory includes but is not limited to the two methods described above, and can also be operated based on the actual needs of the user, which is not limited here.

[0099] The present embodiment provides a method for generating an on-board configuration file of a train. The present embodiment of the application can first obtain a file framework of the on-board configuration file, and the file framework includes at least a first level; the first level contains a non-common directory and a common directory; then, common configuration items among multiple configuration items required for train operation are added to the common directory, wherein the common configuration items are configuration items with the same project parameters when multiple trains are operating; finally, non-common configurations among multiple configuration items required for train operation are added to the non-common directory respectively to obtain an on-board configuration file corresponding to the train; wherein the non-common configuration items are other configuration items among multiple configuration items except the common configuration items, thereby realizing the function of generating the on-board configuration file of the train. Compared with the prior art, the embodiment of the present application can distinguish between common configuration items and non-common configuration items in the configuration items during the process of generating the vehicle configuration file. In this way, when generating the vehicle configuration files of different trains, there is no need to adjust and modify the common configuration items, and only one generation is required. Only the non-common configuration items need to be generated. In this way, when facing the task of generating vehicle configuration files of multiple different trains, the time for generating common configuration items with the same configuration parameters can be reduced, thereby reducing the generation time as a whole and improving the generation efficiency. At the same time, since only one set of common configuration items is generated during the generation process, this avoids the error problems caused by misoperation that may be caused by multiple generation of the prior art, and can improve the accuracy of generating the vehicle configuration file. At the same time, when updating and upgrading the vehicle configuration file of the train based on the method of the embodiment of the present application, it is also possible to mainly adjust the non-common configuration items without spending time and effort on the common configuration items, so that the upgrade and update process of the vehicle configuration file based on the embodiment of the present application can also have a higher processing efficiency.

[0100] To explain in more detail below, the present application embodiment provides another method for generating a train configuration file, specifically as follows: Figure 2 As shown, the method includes:

[0101] 201. Set up the second level in the initial framework.

[0102] The second level is used to distinguish different trains based on vehicle type identification.

[0103] In this embodiment, in the process of generating the vehicle configuration file based on the file framework, firstly, the file framework can be constructed based on the initial framework based on the method of this step.

[0104] The initial framework can be understood as an initial "template" with an undetermined level. The levels it contains and the specific directories involved in each level can be set based on the needs of the user. In this embodiment, the second level is first set as the starting level, and the other levels are set on the basis of this level. Specifically, in this embodiment, the second level can specifically include multiple directories for distinguishing the vehicle model identifications of different trains, so that it can be ensured that when the vehicle configuration file is subsequently generated, multiple trains of multiple different models can be taken into account. When the vehicle configuration file is generated in this way, there is no need to split it due to multiple different models, resulting in the need to generate different vehicle configuration files for multiple models.

[0105] 202. Set a first level under the second level.

[0106] The first level is used to add non-common configuration items and common configuration items.

[0107] In this embodiment, after the second level is set, the directory of common configuration items and non-configuration items corresponding to each type of vehicle model can be set under the directory of each vehicle model identification in the second level, that is, the common directory and the non-common directory, and this level is regarded as the first level.

[0108] It should be noted that, in this embodiment, the first and second in the second level and the first level do not involve the order of the levels. In this embodiment, the first and second are only used to distinguish two different levels.

[0109] 203. Set a third level in the common directory in the first level.

[0110] The third level includes the first ATP function directory and the first ATO function directory.

[0111] Furthermore, in order to further improve the file framework, the third level is used to add configuration items corresponding to the ATP function and configuration items corresponding to the ATO function in the common directory.

[0112] During the operation of high-speed trains, the control core of its on-board equipment includes two parts. One is the Automatic Train Protection (ATP) equipment, which realizes the safety control function of train overspeed protection. The other is the Automatic Train Operation (ATO) equipment added to the ATP equipment. Through the coordinated control of ATO and ATP, the functions of automatic operation of train sections, automatic parking in stations, and automatic reentry are further realized. Since both have the function of controlling the operation of trains, in this embodiment, in the process of generating the configuration file, it is also possible to consider which device is used during the specific use of the configuration item.

[0113] In view of this, in the present embodiment, in the process of setting the file framework, a level for dividing which of the two control devices the configuration items are used by can also be set in the common directory, that is, the third level, and the third level includes the first ATP function directory and the first ATO function directory. Among them, the first ATP function directory is used for the subsequent addition of configuration items used by the ATP device, and similarly, the first ATO function directory is used for the subsequent addition of configuration items used by the ATO device.

[0114] 204. In the first ATP function directory in the third level, platform-level line grouping, application-level line grouping, platform-level vehicle type grouping, and application-level vehicle type grouping are respectively set; and in the first ATO function directory in the third level, platform-level line grouping, application-level line grouping, platform-level vehicle type grouping, and application-level vehicle type grouping are respectively set.

[0115] The first ATP function catalog and the first ATO function catalog are respectively provided with platform-level line grouping, application-level line grouping, platform-level vehicle type grouping, and application-level vehicle type grouping;

[0116] Furthermore, since the software level is also involved in the use of configuration items, specifically, the software level includes platform layer software and application layer software. Therefore, in this embodiment, the configuration items involved in these two software can also be considered in the process of setting the level. At the same time, since the two dimensions of specific vehicle models and lines are also involved in the operation of the train, combined with the above-mentioned software level considerations, in this embodiment, the configuration items can be grouped based on these four classification methods, that is, different groups are set under the third level, which are obtained by combining the four dimensions in pairs, namely: platform-level line grouping, application-level line grouping, platform-level vehicle model grouping, and application-level vehicle model grouping. After determining these four groups, they can be set separately in the first ATO function directory and the first ATP function directory.

[0117] 205. Set a fourth level in the non-common directory of the first level.

[0118] Since in the actual application of the method described in this embodiment, the non-common directory can also be classified based on the configuration items involved in the ATP equipment and the ATO equipment, therefore, a fifth level can also be set under the train identification directory, wherein the fifth level includes the second ATP function directory and the second ATO function directory. In addition, since it is necessary to add "unique" configuration items corresponding to different trains in the non-common directory, in the process of setting the file framework in this embodiment, it is also possible to consider setting a level to distinguish different trains. Therefore, the file framework in this embodiment also includes a fourth level and a fifth level. Among them, the fourth level contains at least one train identification directory, and each of the train identification directories corresponds to a train.

[0119] Among them, the fourth level is used to add train identification directories corresponding to different trains in the non-common directory; the fifth level is used to add configuration items corresponding to the ATP function and configuration items corresponding to the ATO function in each train identification directory.

[0120] 206. In the second ATP function catalog in the fifth level, platform-level single-vehicle grouping and application-level single-vehicle grouping are respectively set, and in the second ATP function catalog in the fifth level, platform-level single-vehicle grouping and application-level single-vehicle grouping are respectively set.

[0121] In this embodiment, non-common configuration items also involve software-level issues, namely the application layer and the platform layer. Therefore, in this step, corresponding software-level platform-level vehicle grouping and application-level vehicle grouping can also be added to the second ATP function directory and the second ATO device respectively.

[0122] 207. Get the file frame of the vehicle configuration file.

[0123] The file framework includes at least a first level, wherein the first level includes non-common directories and common directories.

[0124] In this embodiment, the file framework includes multiple levels as described in the previous steps. Of course, in actual applications, the number of levels and the directory names involved in each level may be different based on different user needs. However, it should be clear that the file framework in this embodiment must include a first level to distinguish between common and non-common configuration items.

[0125] 208. Add the common configuration items among the multiple configuration items required for train operation to the common directory.

[0126] Among them, the common configuration items are configuration items with the same project parameters when multiple trains are running.

[0127] Specifically, in this embodiment, when the common directory in the first level is provided with a third level, in step 208, the common configuration items in the plurality of configuration items required for train operation are added to the common directory, including:

[0128] 2081. Add the configuration items corresponding to the ATP function in the common configuration items to the first ATP function catalog, and add the configuration items corresponding to the ATO function in the common configuration items to the first ATO function catalog.

[0129] In this way, by classifying and generating common configuration items according to ATP and ATO and adding them to the corresponding directory, it can be ensured that the common configuration items are divided from the perspective of the equipment used, so that when updating and upgrading in the future, accurate search and modification can be carried out directly based on the equipment classification when the configuration items are used, thereby improving the efficiency of updating and upgrading the on-board configuration files of subsequent trains.

[0130] Furthermore, in some embodiments, platform-level line grouping, application-level line grouping, platform-level vehicle type grouping, and application-level vehicle type grouping are respectively provided in the first ATP function directory and the first ATO function directory.

[0131] Based on this, in step 2081 of this step, adding the configuration items corresponding to the ATP function in the common configuration items to the first ATP function catalog, and adding the configuration items corresponding to the ATO function in the common configuration items to the first ATO function catalog, includes:

[0132] 20811. Among the configuration items involving lines in the configuration items corresponding to the ATP function in the common configuration items, add the configuration items corresponding to the platform-level line grouping to the platform-level line grouping in the first ATP function catalog.

[0133] 20812. Among the configuration items involving lines in the configuration items corresponding to the ATP function in the common configuration items, add the configuration items corresponding to the application-level line grouping to the application-level line grouping in the first ATP function directory.

[0134] 20813. Among the configuration items related to vehicle models in the configuration items corresponding to the ATP function in the common configuration items, add the configuration items corresponding to the platform-level vehicle model grouping to the platform-level vehicle model grouping in the first ATP function catalog.

[0135] 20814. Among the configuration items related to vehicle models in the configuration items corresponding to the ATP function in the common configuration items, add the configuration items corresponding to the application-level vehicle model grouping to the application-level vehicle model grouping in the first ATP function catalog.

[0136] 20815. Among the configuration items involving lines in the configuration items corresponding to the ATO function in the common configuration items, add the configuration items corresponding to the platform-level line grouping to the platform-level line grouping in the first ATO function directory.

[0137] 20816. Among the configuration items involving lines in the configuration items corresponding to the ATO function in the common configuration items, add the configuration items corresponding to the application-level line grouping to the application-level line grouping in the first ATO function directory.

[0138] 20817. Among the configuration items related to vehicle models in the configuration items corresponding to the ATO function in the common configuration items, add the configuration items corresponding to the platform-level vehicle model grouping to the platform-level vehicle model grouping in the first ATO function catalog.

[0139] 20818. Among the configuration items related to vehicle models in the configuration items corresponding to the ATO function in the common configuration items, add the configuration items corresponding to the application-level vehicle model grouping to the application-level vehicle model grouping in the first ATO function catalog.

[0140] It can be seen from the above steps 20811-20818 that by setting platform-level line grouping, application-level line grouping, platform-level vehicle model grouping, and application-level vehicle model grouping in the ATP function directory and the ATO function directory respectively, and generating corresponding configuration items in the above groups in different categories and adding them thereto, it can be ensured that the configuration items in the generated vehicle configuration file can fully take into account the division of different dimensions of software level (application level, platform level), line, vehicle model, and control equipment (ATP, ATO), thereby ensuring that relevant personnel can more conveniently query the configuration items that need to be updated and modified from the classified grouped configuration items when performing subsequent upgrades and updates, which is not only conducive to subsequent backtracking and maintenance, but also makes the process of updating and upgrading the vehicle configuration file faster and more convenient.

[0141] 209. Add non-common configurations in multiple configuration items required for train operation to the non-common directory respectively to obtain an on-board configuration file corresponding to the train.

[0142] The non-common configuration items are other configuration items among the multiple configuration items except the common configuration items.

[0143] Specifically, in some embodiments, the file framework may also include a fourth level and a fifth level; wherein the fourth level is used to add train identification directories corresponding to different trains in the non-common directory; and the fifth level is used to add configuration items corresponding to the ATP function and configuration items corresponding to the ATO function in each train identification directory.

[0144] Based on this, in step 209, the non-common configurations in the multiple configuration items required for train operation are added to the non-common directory respectively, including:

[0145] 2091. Grouping the plurality of non-common configuration items by train to obtain a non-common configuration item corresponding to each train;

[0146] 2092. Add the configuration items corresponding to the ATP functions in the non-common configuration items of each train to the second ATP function directory under the corresponding train identification directory, and add the configuration items corresponding to the ATO functions in the non-common configuration items of each train to the second ATO function directory under the corresponding train identification directory.

[0147] Since the fourth level is set in the file framework to distinguish different trains, and a directory for dividing configuration items based on ATO and ATP is added in the fifth level, the method based on this step can ensure that in the process of generating the on-board configuration file, the differences between different trains and the control equipment (ATP / ATO) when the trains are running can be taken into account, thereby ensuring that the subsequent generation and update of non-common configuration items can be processed faster, thereby improving the efficiency of generation and update.

[0148] Furthermore, in some embodiments, the second ATP function directory and the second ATO function directory may also be provided with platform-level single-vehicle grouping and application-level single-vehicle grouping, respectively.

[0149] Based on this, in step 2092, the configuration items corresponding to the ATP function in the non-common configuration items of each train are added to the second ATP function directory under the corresponding train identification directory, and the configuration items corresponding to the ATO function in the non-common configuration items of each train are added to the second ATO function directory under the corresponding train identification directory, including:

[0150] 20921. In the configuration items corresponding to the ATP function in the non-common configuration items of each train, the configuration items corresponding to the platform-level group are added to the platform-level group in the second ATP function directory under the corresponding train identification directory;

[0151] 20922. In the configuration items corresponding to the ATP function in the non-common configuration items of each train, add the configuration items corresponding to the application level group to the application level group in the second ATP function directory under the corresponding train identification directory;

[0152] 20923. In the configuration items corresponding to the ATO function in the non-common configuration items of each train, the configuration items corresponding to the platform-level group are added to the platform-level group in the second ATO function directory under the corresponding train identification directory;

[0153] 20924. In the configuration items corresponding to the ATO functions in the non-common configuration items of each train, add the configuration items corresponding to the application-level grouping to the application-level grouping in the second ATO function directory under the corresponding train identification directory.

[0154] It can be seen from the above steps 20921-20924 that by setting different groups for software in the ATP function directory and the ATO function directory respectively, and generating corresponding configuration items in the above groups in different categories and adding them thereto, it can be ensured that the configuration items in the generated vehicle configuration file can fully take into account the division of different dimensions of software level (application level, platform level) and control equipment (ATP, ATO), thereby ensuring that relevant personnel can more conveniently query the configuration items that need to be updated and modified from the configuration items in the classified groups when performing subsequent upgrades and updates, which is not only conducive to subsequent backtracking and maintenance, but also makes the process of updating and upgrading the vehicle configuration file faster and more convenient.

[0155] 210. Add a verification file corresponding to each configuration item in the level to which the configuration item belongs.

[0156] The verification file is obtained after the configuration item is processed based on a preset algorithm. The verification file is used to verify the integrity of the configuration item.

[0157] In order to ensure the safety of train operation, in this embodiment, after the corresponding configuration items are generated and added in the directories of different levels, since the configuration parameters contained in the configuration items will affect the accuracy of train operation, in order to avoid the security risks caused by the missing or tampering of the configuration item data, in this embodiment, after the above configuration items are generated, the corresponding verification files can be added in the corresponding levels. The verification file can be calculated based on a preset algorithm, for example, the configuration item is summarized using the MD5 algorithm to obtain the corresponding MD5 file. In this way, when the subsequent vehicle system uses the vehicle configuration file to control the train operation, the configuration item can be calculated by the same algorithm, and the calculation result can be compared with the corresponding MD5 file saved at the same level of the configuration item. When the two are the same, it means that the configuration item has not been tampered with and is the corresponding file when the vehicle configuration file is generated. On the contrary, when the two are different, it means that the configuration item has data missing or has been tampered with, then it is necessary to stop using the vehicle configuration file for train operation control, thereby ensuring the safety of train operation.

[0158] In order to achieve the above-mentioned purpose, according to another aspect of the present application, an embodiment of the present application further provides a storage medium, wherein the storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the above-mentioned method for generating an on-board configuration file of the train.

[0159] In order to achieve the above-mentioned purpose, according to another aspect of the present application, an embodiment of the present application further provides a device for generating an on-board configuration file of a train, the device comprising a storage medium; and one or more processors, the storage medium is coupled to the processor, and the processor is configured to execute program instructions stored in the storage medium; when the program instructions are executed, the method for generating an on-board configuration file of a train described above is executed.

[0160] Furthermore, as a response to the above Figure 1 and Figure 2 In order to realize the method shown in the figure, another embodiment of the present application also provides a device for generating a train vehicle configuration file. The embodiment of the device for generating a train vehicle configuration file corresponds to the aforementioned method embodiment. For the sake of ease of reading, the embodiment of the device for generating a train vehicle configuration file will not repeat the details of the aforementioned method embodiment one by one, but it should be clear that the system in this embodiment can correspond to all the contents of the aforementioned method embodiment. Specifically, Figure 3 As shown, the device for generating the onboard configuration file of the train includes:

[0161] The acquisition unit 31 may be used to acquire a file framework of a vehicle-mounted configuration file, wherein the file framework includes at least a first level; the first level includes non-common directories and common directories;

[0162] A first adding unit 32 may be used to add a common configuration item among multiple configuration items required for train operation to a common directory in the file framework obtained by the obtaining unit 31, wherein the common configuration item is a configuration item having the same project parameters when multiple trains are operating;

[0163] The second adding unit 33 can be used to add non-common configurations among the multiple configuration items required for train operation to the non-common directory in the file framework obtained by the obtaining unit 31, so as to obtain an on-board configuration file corresponding to the train; wherein the non-common configuration items are other configuration items among the multiple configuration items except the common configuration items.

[0164] Further, such as Figure 4 As shown, the device also includes:

[0165] The first setting unit 34 can be used to set the second level in the initial framework, wherein the second level can be used to distinguish different trains based on vehicle model identification; and, set the first level under the second level to obtain the file framework so that the acquisition unit 31 can acquire it, and the first level can be used to add non-common configuration items and common configuration items.

[0166] Further, such as Figure 4 As shown, the file framework further includes a third level, wherein the third level can be used to add configuration items corresponding to the ATP function and configuration items corresponding to the ATO function in the common directory;

[0167] The device also includes:

[0168] A second setting unit 35 may be used to set a third level in the common directory in the first level, wherein the third level includes a first ATP function directory and a first ATO function directory;

[0169] The first adding unit 32 can be specifically used to add the configuration items corresponding to the ATP functions in the common configuration items to the first ATP function directory set by the second setting unit 35, and add the configuration items corresponding to the ATO functions in the common configuration items to the first ATO function directory.

[0170] Further, such as Figure 4 As shown, the first ATP function directory and the first ATO function directory are respectively provided with platform-level line grouping, application-level line grouping, platform-level vehicle type grouping, and application-level vehicle type grouping;

[0171] The device also includes:

[0172] The third setting unit 36 ​​may be used to respectively set a platform-level line group, an application-level line group, a platform-level vehicle group, and an application-level vehicle group in the first ATP function catalog in the third level; and to respectively set a platform-level line group, an application-level line group, a platform-level vehicle group, and an application-level vehicle group in the first ATO function catalog in the third level;

[0173] The first adding unit 32 may also be specifically used to add the configuration items corresponding to the platform-level line group in the configuration items involving lines in the configuration items corresponding to the ATP function in the common configuration items to the platform-level line group in the first ATP function catalog set by the third setting unit 36; and, in the configuration items involving lines in the configuration items corresponding to the ATP function in the common configuration items, add the configuration items corresponding to the application-level line group to the application-level line group in the first ATP function catalog; and, in the configuration items involving vehicle models in the configuration items corresponding to the ATP function in the common configuration items, add the configuration items corresponding to the platform-level vehicle model group to the platform-level vehicle model group in the first ATP function catalog; and, in the configuration items involving vehicle models in the configuration items corresponding to the ATP function in the common configuration items, add the configuration items corresponding to the application-level vehicle model group to the first ATP function catalog. application-level vehicle type grouping in the function catalog; and, in the configuration items involving lines in the configuration items corresponding to the ATO function in the common configuration items, adding the configuration items corresponding to the platform-level line grouping to the platform-level line grouping in the first ATO function catalog; and, in the configuration items involving lines in the configuration items corresponding to the ATO function in the common configuration items, adding the configuration items corresponding to the application-level line grouping to the application-level line grouping in the first ATO function catalog; and, in the configuration items involving vehicle types in the configuration items corresponding to the ATO function in the common configuration items, adding the configuration items corresponding to the platform-level vehicle type grouping to the platform-level vehicle type grouping in the first ATO function catalog; and, in the configuration items involving vehicle types in the configuration items corresponding to the ATO function in the common configuration items, adding the configuration items corresponding to the application-level vehicle type grouping to the application-level vehicle type grouping in the first ATO function catalog.

[0174] Further, such as Figure 4 As shown, the document framework also includes a fourth level and a fifth level;

[0175] The fourth level can be used to add train identification directories corresponding to different trains in the non-common directory; the fifth level can be used to add configuration items corresponding to the ATP function and configuration items corresponding to the ATO function in each train identification directory;

[0176] The device also includes:

[0177] The fourth setting unit 37 can be used to set a fourth level in the non-common directory of the first level, wherein the fourth level includes at least one train identification directory, each of the train identification directories corresponds to a train; and set a fifth level under the train identification directory, wherein the fifth level includes a second ATP function directory and a second ATO function directory;

[0178] The second adding unit 33 can be specifically used to group the multiple non-common configuration items according to trains to obtain non-common configuration items corresponding to each train; and add the configuration items corresponding to the ATP function in the non-common configuration items of each train to the second ATP function directory under the train identification directory set by the corresponding fourth setting unit 37, and add the configuration items corresponding to the ATO function in the non-common configuration items of each train to the second ATO function directory under the corresponding train identification directory.

[0179] Further, such as Figure 4 As shown, the second ATP function directory and the second ATO function directory are respectively provided with platform-level single-vehicle grouping and application-level single-vehicle grouping;

[0180] The device also includes:

[0181] A fifth setting unit 38 may be used to respectively set a platform-level single-vehicle grouping and an application-level single-vehicle grouping in the second ATP function catalog in the fifth level, and respectively set a platform-level single-vehicle grouping and an application-level single-vehicle grouping in the second ATP function catalog in the fifth level;

[0182] The second adding unit 33 can also be specifically used to add the configuration items corresponding to the platform-level group in the configuration items corresponding to the ATP function in the non-common configuration items of each train to the platform-level group set by the fifth setting unit 38 in the second ATP function directory under the corresponding train identification directory; and, in the configuration items corresponding to the ATP function in the non-common configuration items of each train, add the configuration items corresponding to the application-level group to the application-level group in the second ATP function directory under the corresponding train identification directory; and, in the configuration items corresponding to the ATO function in the non-common configuration items of each train, add the configuration items corresponding to the platform-level group to the platform-level group in the second ATO function directory under the corresponding train identification directory; and, in the configuration items corresponding to the ATO function in the non-common configuration items of each train, add the configuration items corresponding to the application-level group to the application-level group in the second ATO function directory under the corresponding train identification directory.

[0183] Further, such as Figure 4 As shown, the device also includes:

[0184] The third adding unit 39 may be used to add a verification file corresponding to each configuration item in the vehicle configuration file obtained by the second adding unit 33 in the layer to which the configuration item belongs, wherein the verification file is obtained after the configuration item is processed based on a preset algorithm; the verification file may be used to verify the integrity of the configuration item.

[0185] The embodiment of the present application provides a method and device for generating an on-board configuration file of a train. The embodiment of the present application can first obtain a file framework of the on-board configuration file, and the file framework includes at least a first level; the first level includes a non-common directory and a common directory; then, common configuration items among multiple configuration items required for train operation are added to the common directory, wherein the common configuration items are configuration items with the same project parameters when multiple trains are operating; finally, non-common configurations among multiple configuration items required for train operation are added to the non-common directory respectively, to obtain an on-board configuration file corresponding to the train; wherein the non-common configuration items are other configuration items among multiple configuration items except the common configuration items, thereby realizing the function of generating the on-board configuration file of the train. Compared with the prior art, the embodiment of the present application can distinguish between common configuration items and non-common configuration items in the configuration items during the process of generating the vehicle configuration file. In this way, when generating the vehicle configuration files of different trains, there is no need to adjust and modify the common configuration items, and only one generation is required. Only the non-common configuration items need to be generated. In this way, when facing the task of generating vehicle configuration files of multiple different trains, the time for generating common configuration items with the same configuration parameters can be reduced, thereby reducing the generation time as a whole and improving the generation efficiency. At the same time, since only one set of common configuration items is generated during the generation process, this avoids the error problems caused by misoperation that may be caused by multiple generation of the prior art, and can improve the accuracy of generating the vehicle configuration file. At the same time, when updating and upgrading the vehicle configuration file of the train based on the method of the embodiment of the present application, it is also possible to mainly adjust the non-common configuration items without spending time and effort on the common configuration items, so that the upgrade and update process of the vehicle configuration file based on the embodiment of the present application can also have a higher processing efficiency.

[0186] An embodiment of the present application provides a storage medium, which includes a stored program, wherein when the program is run, the device where the storage medium is located is controlled to execute the method for generating an on-board configuration file of a train as described above.

[0187] The storage medium may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM, and the memory includes at least one storage chip.

[0188] An embodiment of the present application also provides a device for generating an on-board configuration file of a train, the device comprising a storage medium; and one or more processors, the storage medium is coupled to the processor, and the processor is configured to execute program instructions stored in the storage medium; when the program instructions are executed, the method for generating an on-board configuration file of a train described above is executed.

[0189] An embodiment of the present application provides a device, which includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, the following steps are implemented: obtaining a file framework of an on-board configuration file, wherein the file framework includes at least a first level; the first level includes a non-common directory and a common directory; adding common configuration items among multiple configuration items required for train operation to the common directory, wherein the common configuration items are configuration items with the same project parameters when multiple trains are operating; adding non-common configurations among the multiple configuration items required for train operation to the non-common directory respectively, to obtain an on-board configuration file corresponding to the train; wherein the non-common configuration items are other configuration items among the multiple configuration items except the common configuration items.

[0190] Furthermore, before obtaining the file framework of the vehicle-mounted configuration file, the method further includes:

[0191] A second level is set in the initial framework, wherein the second level is used to distinguish different trains based on vehicle type identification;

[0192] A first level is set under the second level, and the first level is used to add non-common configuration items and common configuration items.

[0193] Furthermore, the file framework further includes a third level, wherein the third level is used to add configuration items corresponding to the ATP function and configuration items corresponding to the ATO function in the common directory;

[0194] After setting the first level under the second level, the method further includes:

[0195] A third level is set in the common directory in the first level, wherein the third level includes a first ATP function directory and a first ATO function directory;

[0196] The adding of common configuration items among the multiple configuration items required for train operation into the common catalogue includes:

[0197] The configuration items corresponding to the ATP functions in the common configuration items are added to the first ATP function catalog, and the configuration items corresponding to the ATO functions in the common configuration items are added to the first ATO function catalog.

[0198] Furthermore, the first ATP function catalog and the first ATO function catalog are respectively provided with platform-level line grouping, application-level line grouping, platform-level vehicle type grouping, and application-level vehicle type grouping;

[0199] After setting the third level in the commonality directory in the first level, the method further includes:

[0200] In the first ATP function catalog in the third level, platform-level line grouping, application-level line grouping, platform-level vehicle grouping, and application-level vehicle grouping are respectively set;

[0201] In the first ATO function directory in the third level, platform-level line grouping, application-level line grouping, platform-level vehicle grouping, and application-level vehicle grouping are respectively set;

[0202] The adding the configuration items corresponding to the ATP function in the common configuration items to the first ATP function catalog, and adding the configuration items corresponding to the ATO function in the common configuration items to the first ATO function catalog, includes:

[0203] Among the configuration items related to lines in the configuration items corresponding to the ATP functions in the common configuration items, add the configuration items corresponding to the platform-level line group to the platform-level line group in the first ATP function catalog;

[0204] Among the configuration items related to lines in the configuration items corresponding to the ATP functions in the common configuration items, add the configuration items corresponding to the application-level line group to the application-level line group in the first ATP function catalog;

[0205] Among the configuration items related to vehicle models in the configuration items corresponding to the ATP functions in the common configuration items, add the configuration items corresponding to the platform-level vehicle model group to the platform-level vehicle model group in the first ATP function catalog;

[0206] Among the configuration items related to vehicle models in the configuration items corresponding to the ATP function in the common configuration items, add the configuration items corresponding to the application-level vehicle model group to the application-level vehicle model group in the first ATP function catalog;

[0207] Among the configuration items related to lines in the configuration items corresponding to the ATO functions in the common configuration items, add the configuration items corresponding to the platform-level line grouping to the platform-level line grouping in the first ATO function catalog;

[0208] Among the configuration items related to lines in the configuration items corresponding to the ATO function in the common configuration items, add the configuration items corresponding to the application-level line group to the application-level line group in the first ATO function catalog;

[0209] Among the configuration items related to vehicle models in the configuration items corresponding to the ATO functions in the common configuration items, adding the configuration items corresponding to the platform-level vehicle model group to the platform-level vehicle model group in the first ATO function catalog;

[0210] Among the configuration items related to vehicle models in the configuration items corresponding to the ATO function in the common configuration items, the configuration items corresponding to the application-level vehicle model group are added to the application-level vehicle model group in the first ATO function catalog.

[0211] Furthermore, the document framework also includes a fourth level and a fifth level;

[0212] The fourth level is used to add train identification directories corresponding to different trains in the non-common directory; the fifth level is used to add configuration items corresponding to the ATP function and configuration items corresponding to the ATO function in each train identification directory;

[0213] After setting the first level under the second level, the method further includes:

[0214] A fourth level is set in the non-common directory of the first level, wherein the fourth level includes at least one train identification directory, and each train identification directory corresponds to a train;

[0215] Setting a fifth level under the train identification directory, wherein the fifth level includes a second ATP function directory and a second ATO function directory;

[0216] The adding of the non-common configurations in the multiple configuration items required for train operation to the non-common catalogues respectively includes:

[0217] Grouping the plurality of non-common configuration items by train to obtain non-common configuration items corresponding to each train;

[0218] The configuration items corresponding to the ATP functions in the non-common configuration items of each train are added to the second ATP function directory under the corresponding train identification directory, and the configuration items corresponding to the ATO functions in the non-common configuration items of each train are added to the second ATO function directory under the corresponding train identification directory.

[0219] Furthermore, the second ATP function directory and the second ATO function directory are respectively provided with platform-level single-vehicle grouping and application-level single-vehicle grouping;

[0220] After setting the fifth level under the train identification directory, the method further includes:

[0221] In the second ATP function catalog in the fifth level, a platform-level single-vehicle group and an application-level single-vehicle group are respectively set, and in the second ATP function catalog in the fifth level, a platform-level single-vehicle group and an application-level single-vehicle group are respectively set;

[0222] The adding of the configuration items corresponding to the ATP function in the non-common configuration items of each train to the second ATP function directory under the corresponding train identification directory, and the adding of the configuration items corresponding to the ATO function in the non-common configuration items of each train to the second ATO function directory under the corresponding train identification directory, includes:

[0223] In the configuration items corresponding to the ATP function in the non-common configuration items of each train, the configuration items corresponding to the platform-level group are added to the platform-level group in the second ATP function directory under the corresponding train identification directory;

[0224] In the configuration items corresponding to the ATP function in the non-common configuration items of each train, the configuration items corresponding to the application level group are added to the application level group in the second ATP function directory under the corresponding train identification directory;

[0225] In the configuration items corresponding to the ATO function in the non-common configuration items of each train, the configuration items corresponding to the platform-level group are added to the platform-level group in the second ATO function directory under the corresponding train identification directory;

[0226] In the configuration items corresponding to the ATO function in the non-common configuration items of each train, the configuration items corresponding to the application level grouping are added to the application level grouping in the second ATO function directory under the corresponding train identification directory.

[0227] Furthermore, after adding the non-common configurations in the plurality of configuration items required for train operation to the non-common catalog, the method further includes:

[0228] A verification file corresponding to each configuration item is added to the level to which the configuration item belongs, wherein the verification file is obtained after the configuration item is processed based on a preset algorithm; the verification file is used to verify the integrity of the configuration item.

[0229] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing program code that initializes the following method steps: obtaining a file framework of an on-board configuration file, the file framework comprising at least a first level; the first level comprising a non-common directory and a common directory; adding common configuration items among multiple configuration items required for train operation to the common directory, wherein the common configuration items are configuration items with the same project parameters when multiple trains are operating; adding non-common configurations among multiple configuration items required for train operation to the non-common directory respectively, to obtain an on-board configuration file corresponding to the train; wherein the non-common configuration items are other configuration items among the multiple configuration items except the common configuration items.

[0230] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0231] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0232] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0233] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0234] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0235] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0236] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0237] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0238] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0239] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A method for generating a train-mounted configuration file, characterized in that: The method comprises: Acquire a file framework of a vehicle configuration file, wherein the file framework includes at least a first level; the first level includes non-common directories and common directories; Adding common configuration items among multiple configuration items required for train operation to a common directory, wherein the common configuration items are configuration items with the same project parameters when multiple trains are operating; The non-common configurations among the multiple configuration items required for train operation are added to the non-common directory respectively to obtain an on-board configuration file corresponding to the train; wherein the non-common configuration items are other configuration items among the multiple configuration items except the common configuration items.

2. The method according to claim 1, characterized in that Before obtaining the file frame of the vehicle-mounted configuration file, the method further includes: A second level is set in the initial framework, wherein the second level is used to distinguish different trains based on vehicle type identification; A first level is set under the second level, and the first level is used to add non-common configuration items and common configuration items.

3. The method according to claim 2, characterized in that The file framework further includes a third level, wherein the third level is used to add configuration items corresponding to the ATP function and configuration items corresponding to the ATO function in the common directory; After setting the first level under the second level, the method further includes: A third level is set in the common directory in the first level, wherein the third level includes a first ATP function directory and a first ATO function directory; The adding of common configuration items among the multiple configuration items required for train operation into the common catalogue includes: The configuration items corresponding to the ATP functions in the common configuration items are added to the first ATP function catalog, and the configuration items corresponding to the ATO functions in the common configuration items are added to the first ATO function catalog.

4. The method according to claim 3, characterized in that: The first ATP function catalog and the first ATO function catalog are respectively provided with platform-level line grouping, application-level line grouping, platform-level vehicle type grouping, and application-level vehicle type grouping; After setting the third level in the commonality directory in the first level, the method further includes: In the first ATP function catalog in the third level, platform-level line grouping, application-level line grouping, platform-level vehicle grouping, and application-level vehicle grouping are respectively set; In the first ATO function directory in the third level, platform-level line grouping, application-level line grouping, platform-level vehicle grouping, and application-level vehicle grouping are respectively set; The adding the configuration items corresponding to the ATP function in the common configuration items to the first ATP function catalog, and adding the configuration items corresponding to the ATO function in the common configuration items to the first ATO function catalog, includes: Among the configuration items related to lines in the configuration items corresponding to the ATP functions in the common configuration items, add the configuration items corresponding to the platform-level line group to the platform-level line group in the first ATP function catalog; Among the configuration items related to lines in the configuration items corresponding to the ATP functions in the common configuration items, add the configuration items corresponding to the application-level line group to the application-level line group in the first ATP function catalog; Among the configuration items related to vehicle models in the configuration items corresponding to the ATP functions in the common configuration items, add the configuration items corresponding to the platform-level vehicle model group to the platform-level vehicle model group in the first ATP function catalog; Among the configuration items related to vehicle models in the configuration items corresponding to the ATP function in the common configuration items, add the configuration items corresponding to the application-level vehicle model group to the application-level vehicle model group in the first ATP function catalog; Among the configuration items related to lines in the configuration items corresponding to the ATO functions in the common configuration items, add the configuration items corresponding to the platform-level line grouping to the platform-level line grouping in the first ATO function catalog; Among the configuration items related to lines in the configuration items corresponding to the ATO function in the common configuration items, add the configuration items corresponding to the application-level line group to the application-level line group in the first ATO function catalog; Among the configuration items related to vehicle models in the configuration items corresponding to the ATO functions in the common configuration items, adding the configuration items corresponding to the platform-level vehicle model group to the platform-level vehicle model group in the first ATO function catalog; Among the configuration items related to vehicle models in the configuration items corresponding to the ATO function in the common configuration items, the configuration items corresponding to the application-level vehicle model group are added to the application-level vehicle model group in the first ATO function catalog.

5. The method according to claim 3, characterized in that: The document framework also includes a fourth level and a fifth level; The fourth level is used to add train identification directories corresponding to different trains in the non-common directory; the fifth level is used to add configuration items corresponding to the ATP function and configuration items corresponding to the ATO function in each train identification directory; After setting the first level under the second level, the method further includes: A fourth level is set in the non-common directory of the first level, wherein the fourth level includes at least one train identification directory, and each train identification directory corresponds to a train; Setting a fifth level under the train identification directory, wherein the fifth level includes a second ATP function directory and a second ATO function directory; The adding of the non-common configurations in the multiple configuration items required for train operation to the non-common catalogues respectively includes: Grouping the plurality of non-common configuration items by train to obtain non-common configuration items corresponding to each train; The configuration items corresponding to the ATP functions in the non-common configuration items of each train are added to the second ATP function directory under the corresponding train identification directory, and the configuration items corresponding to the ATO functions in the non-common configuration items of each train are added to the second ATO function directory under the corresponding train identification directory.

6. The method according to claim 4, characterized in that The second ATP function directory and the second ATO function directory are respectively provided with platform-level single-vehicle grouping and application-level single-vehicle grouping; After setting the fifth level under the train identification directory, the method further includes: In the second ATP function catalog in the fifth level, a platform-level single-vehicle group and an application-level single-vehicle group are respectively set, and in the second ATP function catalog in the fifth level, a platform-level single-vehicle group and an application-level single-vehicle group are respectively set; The adding of the configuration items corresponding to the ATP function in the non-common configuration items of each train to the second ATP function directory under the corresponding train identification directory, and the adding of the configuration items corresponding to the ATO function in the non-common configuration items of each train to the second ATO function directory under the corresponding train identification directory, includes: In the configuration items corresponding to the ATP function in the non-common configuration items of each train, the configuration items corresponding to the platform-level group are added to the platform-level group in the second ATP function directory under the corresponding train identification directory; In the configuration items corresponding to the ATP function in the non-common configuration items of each train, the configuration items corresponding to the application level group are added to the application level group in the second ATP function directory under the corresponding train identification directory; In the configuration items corresponding to the ATO function in the non-common configuration items of each train, the configuration items corresponding to the platform-level group are added to the platform-level group in the second ATO function directory under the corresponding train identification directory; In the configuration items corresponding to the ATO function in the non-common configuration items of each train, the configuration items corresponding to the application level grouping are added to the application level grouping in the second ATO function directory under the corresponding train identification directory.

7. The method according to any one of claims 1 to 6, characterized in that After adding the non-common configurations in the plurality of configuration items required for train operation to the non-common catalog, the method further includes: A verification file corresponding to each configuration item is added to the level to which the configuration item belongs, wherein the verification file is obtained after the configuration item is processed based on a preset algorithm; the verification file is used to verify the integrity of the configuration item.

8. A device for generating a train-mounted configuration file, characterized in that: The device comprises: An acquisition unit, configured to acquire a file framework of a vehicle-mounted configuration file, wherein the file framework includes at least a first level; the first level includes non-common directories and common directories; A first adding unit is used to add a common configuration item in a plurality of configuration items required for train operation to a common directory, wherein the common configuration item is a configuration item having the same project parameters when a plurality of trains are operating; The second adding unit is used to add non-common configurations among multiple configuration items required for train operation to the non-common directory respectively to obtain an on-board configuration file corresponding to the train; wherein the non-common configuration items are other configuration items among the multiple configuration items except the common configuration items.

9. A storage medium, characterized in that: The storage medium includes a stored program, wherein when the program is executed, the device where the storage medium is located is controlled to execute the method for generating an on-board configuration file of a train according to any one of claims 1 to 7.

10. A device for generating a train-mounted configuration file, characterized in that: The device includes a storage medium; and one or more processors, the storage medium is coupled to the processor, and the processor is configured to execute program instructions stored in the storage medium; when the program instructions are executed, the method for generating an on-board configuration file of a train described in any one of claims 1 to 7 is executed.