Station data file generation method, device, electronic device and storage medium

Through the mapping relationship between equipment type and analog quantity type, the equipment type of the line operator is automatically converted to the standard type, which solves the problems of low efficiency of station data file generation and difficult to ensure data quality, and achieves efficient and accurate station data file generation.

CN120067062BActive Publication Date: 2025-08-12CRSC RESEARCH & DESIGN INSTITUTE GROUP CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510549793.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-04-29
Publication Date
2025-08-12
Estimated Expiration
2045-04-29

AI Technical Summary

Technical Problem

In the prior art, the station data file generation efficiency is low and the data quality is difficult to guarantee, mainly due to the cumbersome manual configuration process and the inconsistent equipment type names of different line operators, resulting in errors and omissions.

Method used

The equipment type mapping relationship and the analog quantity type mapping relationship are used to convert the equipment types of each operating manufacturer to standard equipment types, and the analog quantity configuration information is determined to generate station data files.

Benefits of technology

Improve the efficiency of station data files generation, ensure data quality, and reduce manual errors and omissions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120067062B_ABST
    Figure CN120067062B_ABST
Patent Text Reader

Abstract

The present disclosure relates to the technical field of centralized signal monitoring systems, and provides a station data file generation method, device, electronic device, and storage medium. The method includes the following steps: after scanning a station package folder of a line operator, reading the device type and the analog quantity type of its attributes in the line configuration file in the station package folder; using a pre-established device type mapping relationship, searching for a standard device type that has a mapping relationship with the read device type; using a pre-established analog quantity type mapping relationship, identifying the attribute name corresponding to the read analog quantity type; using the read analog quantity type, determining analog quantity configuration information; and generating a station data file using the found standard device type, the identified attribute name, and the determined analog quantity configuration information. The method establishes and uses the device type mapping relationship and the analog quantity type mapping relationship to generate a station data file, thereby improving the efficiency of generating the station data file.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure belongs to the technical field of centralized signal monitoring systems, and in particular relates to a station data file generation method, device, electronic equipment, and storage medium. Background Art

[0002] In high-speed railway stations, station data is an important basis for ensuring the safe and efficient operation of trains. It involves relevant information about station equipment and station lighting positions on various lines, and covers a wealth of equipment information and signal display content.

[0003] Station equipment includes signaling equipment, switches, power supplies, and monitoring equipment. Signaling equipment includes signals, switches, and track circuits. Signals include arrival signals, departure signals, and train arrival and departure route signals, which indicate the train's direction and speed requirements through different colored lights. Switches are used to change the train's direction of travel, and their status is controlled by the signal system. Track circuits detect whether a train is occupying the track and its specific location. Switches are used to control the rotation of switches and are typically driven by electrical signals. Power supplies, including power panels and uninterruptible power supplies (UPS), provide a stable and reliable power supply for the signal system. Monitoring equipment, including cameras and sensors, monitors the status of station equipment and train operations in real time. Station lighting positions primarily refer to the positions of signal light displays. Depending on the type and location of the signal light display, these positions form specific display sequences and logical relationships within the station.

[0004] In the prior art, central equipment manufacturers collect station package folders uploaded by operators of various lines. The station package folders contain configuration files containing specific configuration information of station equipment and station lighting positions on the line. The central manufacturer uses the configuration files of each operator to create station data files.

[0005] However, each line operator has its own naming conventions for station equipment and other related information. Existing technology relies on manual configuration, with each station having over a dozen related configuration files. The data within these configuration files needs to be identified and categorized, then reassembled into a station data file for the station computer program to read. This results in significant manual inefficiency. Furthermore, the large number of configuration files that need to be accessed, coupled with the lack of standardized device type names for the content corresponding to each configuration file, can easily lead to errors or omissions during the manual data file creation process, making it difficult to ensure the quality of the generated station data files. Summary of the Invention

[0006] To solve the above problems, the present disclosure provides a station data file generation method, device, electronic device and storage medium, which adopts analog type mapping relationship and device type mapping relationship to convert the equipment type of each operating manufacturer into a standard equipment type and determine its analog configuration information, thereby generating high-quality station data files.

[0007] In a first aspect, a method for generating a station data file is provided, the method comprising:

[0008] After scanning the station package folder of the line operator, read the device type and the analog type of its attributes in the line configuration file in the station package folder;

[0009] Using the pre-established device type mapping relationship, searching for a standard device type that has a mapping relationship with the read device type, wherein the device type mapping relationship includes a mapping relationship between the standard device type of the central manufacturer and the device type of each line operating manufacturer;

[0010] Using a pre-established analog quantity type mapping relationship, identifying an attribute name corresponding to the read analog quantity type, wherein the analog quantity type mapping relationship includes a mapping relationship between the analog quantity type and the attribute name;

[0011] Determine analog quantity configuration information using the read analog quantity type;

[0012] The station data file is generated using the found standard equipment types, identified attribute names and determined analog configuration information.

[0013] Furthermore, the analog quantity type mapping relationship also includes a mapping relationship between the analog quantity type and the storage address of the analog quantity configuration file;

[0014] Use the read analog quantity type to determine the analog quantity configuration information, including:

[0015] While identifying the attribute name from the analog type mapping relationship, find the storage address that has a mapping relationship with the read analog type;

[0016] Use the found storage address to locate the analog configuration file;

[0017] Read analog configuration information from the located analog configuration file.

[0018] Furthermore, the device type mapping relationship is stored in a device type mapping relationship configuration file;

[0019] Generate a device type mapping configuration file in the following ways:

[0020] An equipment type mapping relationship configuration file is generated by using the standard equipment type of the central manufacturer as the node, the equipment type number of each line operating manufacturer that has a mapping relationship with the standard equipment type as the keyword of the node, and the equipment type of each line operating manufacturer that has a mapping relationship with the standard equipment type as the value of the node.

[0021] Furthermore, the analog quantity type mapping relationship is stored in an analog quantity type mapping relationship configuration file;

[0022] Generate analog type mapping relationship configuration file in the following way:

[0023] An analog type mapping relationship configuration file is generated by taking the analog type as a node; the storage address of the analog configuration file corresponding to the analog type as the node option; the attribute name code having a mapping relationship with the analog type as the node keyword; and the attribute name having a mapping relationship with the analog type as the node value.

[0024] Furthermore, the method further comprises:

[0025] When the line operator adds or cancels a device type, the device type mapping relationship is updated using the newly added or canceled device type;

[0026] When the line operator adds or cancels an analog quantity type, the analog quantity type mapping relationship is updated using the newly added or canceled analog quantity type.

[0027] In a second aspect, a station data file generating device is provided, comprising a reading unit, a standard information determining unit, and a station data generating unit, wherein:

[0028] The reading unit is used to read the device type and the analog type of its attributes in the line configuration file after scanning the line operator station package folder;

[0029] The standard information determination unit is configured to use a pre-established device type mapping relationship to search for a standard device type that has a mapping relationship with the read device type, wherein the device type mapping relationship includes a mapping relationship between the standard device type of the central manufacturer and the device type of each line operating manufacturer; use a pre-established analog quantity type mapping relationship to identify an attribute name corresponding to the read analog quantity type, wherein the analog quantity type mapping relationship includes a mapping relationship between the analog quantity type and the attribute name; and use the read analog quantity type to determine analog quantity configuration information;

[0030] The station data generating unit is used to generate a station data file using the found standard equipment type, the identified attribute name and the determined analog quantity configuration information.

[0031] Furthermore, the analog quantity type mapping relationship also includes a mapping relationship between the analog quantity type and the storage address of the analog quantity configuration file;

[0032] The standard information determination unit is specifically used to identify the attribute name from the analog type mapping relationship and at the same time find the storage address that has a mapping relationship with the read analog type; use the found storage address to locate the analog configuration file; and read the analog configuration information from the located analog configuration file.

[0033] Furthermore, the device further comprises:

[0034] The update unit is used to update the device type mapping relationship using the corresponding device type when the line operating manufacturer adds or cancels the device type; and to update the analog type mapping relationship using the corresponding analog type when the line operating manufacturer adds or cancels the analog type.

[0035] In a third aspect, an electronic device is provided, comprising a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus;

[0036] Memory for storing computer programs;

[0037] The processor is configured to implement the steps of the above method when executing the program stored in the memory.

[0038] In a fourth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.

[0039] Compared with the prior art, the present disclosure has the following advantages:

[0040] In the scheme of the embodiment of the present disclosure, the equipment type of the line operating manufacturer is converted into a standard equipment type by establishing and using a device type mapping relationship; the attribute name of the analog type is established and used to identify the attribute name of the analog type, and the analog type is used to determine the analog configuration information, and finally the converted standard equipment type, analog attribute name and analog configuration information are used to generate a station data file, thereby improving the generation efficiency of the station data file.

[0041] Other features and advantages of the present disclosure will be described in the following description, and in part will become apparent from the description, or will be understood by practicing the present disclosure. The purposes and other advantages of the present disclosure can be realized and obtained by the structures indicated in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0043] Figure 1 A schematic diagram of a station data file generation method according to an embodiment of the present disclosure is shown;

[0044] Figure 2 A screenshot of an analog quantity type mapping relationship configuration file according to an embodiment of the present disclosure is shown;

[0045] Figure 3 A schematic diagram of another station data file generation method according to an embodiment of the present disclosure is shown;

[0046] Figure 4 A screenshot of an analog quantity type mapping relationship configuration file according to an embodiment of the present disclosure is shown;

[0047] Figure 5 A flow chart of generating a station data file using the MsgGather.ini configuration file according to an embodiment of the present disclosure is shown;

[0048] Figure 6 shows a screenshot of a MsgGather configuration file according to an embodiment of the present disclosure;

[0049] Figure 7 FIG2 shows a diagram of a list of equipment types in a station line configuration file according to an embodiment of the present disclosure;

[0050] Figure 8 A node diagram of a 25HZ track circuit and a smart cabinet according to an embodiment of the present disclosure is shown;

[0051] Figure 9 A node diagram of a 25HZ track circuit and smart cabinet attributes according to an embodiment of the present disclosure is shown;

[0052] Figure 10 A node diagram of an analog quantity type of 0x20 according to an embodiment of the present disclosure is shown;

[0053] Figure 11 A screenshot of track voltage configuration information in the GD.ini file according to an embodiment of the present disclosure is shown;

[0054] Figure 12 A schematic diagram of a power screen node according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0055] To make the objectives, technical solutions, and advantages of the embodiments of the present disclosure more clear, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present disclosure without making any creative efforts shall fall within the scope of protection of the present disclosure.

[0056] Figure 1 A schematic diagram of a station data file generation method according to an embodiment of the present disclosure is shown. The station data file generation method according to the embodiment of the present disclosure includes the following steps:

[0057] Step 101: Establishing a device type mapping relationship and an analog quantity type mapping relationship;

[0058] The equipment type mapping relationship includes the mapping relationship between the standard equipment type of the central manufacturer and the equipment type of each line operator.

[0059] The analog quantity type mapping relationship includes the mapping relationship between the analog quantity type and the attribute name;

[0060] The device type mapping relationship and analog quantity type mapping relationship can be expressed in the form of a corresponding relationship table, a configuration file, or other forms. The embodiment of the present invention adopts the configuration file form.

[0061] Specifically, the device type mapping relationship is stored in a device type mapping relationship configuration file;

[0062] You can generate a device type mapping configuration file in the following ways:

[0063] An equipment type mapping relationship configuration file is generated by using the standard equipment type of the central manufacturer as the node, the equipment type number of each line operating manufacturer that has a mapping relationship with the standard equipment type as the keyword of the node, and the equipment type of each line operating manufacturer that has a mapping relationship with the standard equipment type as the value of the node.

[0064] The device type mapping relationship configuration file can be as follows Figure 2 As shown below. Figure 2 The following example uses "Signal" as an example. "Signal" is a standard device type and is a node section in the configuration file. Its ID is 4, and it contains seven key-value pairs: <1, Signal>, <2, Signal#Smart Cabinet>, <3, Signal#Entry Signal>, <4, Signal#Departure Signal>, <5, Signal#Advance Signal>, <6, Signal#Shunting Signal>, and <7, Filament Relay Current>.

[0065] Specifically, the analog quantity type mapping relationship is stored in an analog quantity type mapping relationship configuration file;

[0066] You can generate analog type mapping relationship configuration files in the following ways:

[0067] An analog quantity type mapping relationship configuration file is generated by using an analog quantity type as a node, using an attribute name code having a mapping relationship with the analog quantity type as a keyword of the node, and using an attribute name having a mapping relationship with the analog quantity type as a value of the node.

[0068] Step 102: After scanning the line operator's station package folder, read the device type in the line configuration file in the station package folder;

[0069] Step 103: using a pre-established device type mapping relationship, searching for a standard device type that has a mapping relationship with the read device type;

[0070] Step 104: Read the analog quantity type of the attribute under the device type in the line configuration file in the station package folder;

[0071] Step 105: using the pre-established analog quantity type mapping relationship, identifying the attribute name corresponding to the read analog quantity type;

[0072] The analog quantity type mapping relationship includes the mapping relationship between the analog quantity type and the attribute name;

[0073] Step 106: Determine analog quantity configuration information using the read analog quantity type;

[0074] After reading the analog quantity type, the analog quantity configuration information can be determined using a pre-established relationship table between the analog quantity type and the analog quantity configuration information.

[0075] Step 107: Generate a station data file using the found standard equipment type, the identified attribute name, and the determined analog quantity configuration information.

[0076] In the scheme of this embodiment, the equipment type of the line operating manufacturer is converted into a standard equipment type by establishing and using a device type mapping relationship; the attribute name of the analog type is established and used, and the analog type is used to determine the analog configuration information, and finally the converted standard equipment type, analog attribute name and analog configuration information are used to generate station data, thereby improving the efficiency of station data generation.

[0077] On the basis of the above embodiment, the present disclosure also provides another station data file generation method, which is a preferred embodiment of the present disclosure, and its flow chart is as follows: Figure 3As shown, the following steps are included:

[0078] Step 201: Establishing a device type mapping relationship and an analog quantity type mapping relationship;

[0079] The analog type mapping relationship includes the mapping relationship between the analog type, the attribute name, and the storage address of the analog type configuration file;

[0080] Specifically, the analog quantity type mapping relationship is stored in an analog quantity type mapping relationship configuration file;

[0081] You can generate analog type mapping relationship configuration files in the following ways:

[0082] An analog type mapping relationship configuration file is generated by taking the analog type as a node; the storage address of the analog configuration file corresponding to the analog type as the node option; the attribute name code having a mapping relationship with the analog type as the node keyword; and the attribute name having a mapping relationship with the analog type as the node value.

[0083] The screenshot of the analog type mapping relationship configuration file at this time can be seen as follows Figure 4 As shown below. Figure 4 For example, "0X10" is used in the configuration file. "0X11" is an analog quantity type and is a section node in the configuration file. It contains three option items: one, filename=ZH.INI, is the storage address of the configuration file for analog quantity type 0X11. The other two options are key-value pairs: <1, External Power Grid> and <2, External Power Grid Monitoring>. "External Power Grid" is the attribute name of 0X11, and "External Power Grid Monitoring" is also the attribute name of 0X11.

[0084] Step 202: After scanning the line operator's station package folder, read the device type in the line configuration file in the station package folder;

[0085] Step 203: using the established device type mapping relationship, determine a standard device type that has a mapping relationship with the read device type;

[0086] Step 204: Read the analog quantity type of the attribute under the device type in the line configuration file in the station package folder;

[0087] Step 205: searching the analog type mapping relationship for the attribute name and storage address that have a mapping relationship with the read analog type;

[0088] Step 206: Locate the standard analog configuration file using the found storage address;

[0089] Step 207: Read analog configuration information from the located standard analog configuration file;

[0090] Step 208: Generate a station data file using the determined standard device type, attribute name, and analog quantity configuration information.

[0091] In the scheme of this preferred embodiment, the mapping relationship between the analog quantity type, attribute name and storage address of the analog quantity type configuration file is stored in an analog quantity type mapping relationship configuration file, so that the attribute name and the storage address of the configuration file can be found at one time, thereby improving the generation efficiency of the station data file.

[0092] Below Figure 2 Device type mapping configuration files and Figure 4 Based on the analog type mapping relationship configuration file in, the solution of the present disclosure is described in detail through the line data configuration file Msggather.ini of the specific operating manufacturer.

[0093] like Figure 5 As shown, it is a flowchart of using the Msggather.ini configuration file to generate a station data file in this embodiment.

[0094] The solution of the embodiment of the present disclosure is used to read the line configuration files provided by each operating manufacturer, such as the interconnection configuration file msggather.ini, the station map condll.ini, the analog collection file and other configuration files, and generate the station data file Devvars.ini.

[0095] Step 1: Scan the station package folder named "To be replaced". If a new station package is uploaded, a .txt file with the corresponding station package name will be automatically generated in this folder, such as "station_ABC.txt", where ABC is the specific station telegraph code. After scanning, read the msggather.ini file in the station data folder.

[0096] When each operator installs and manages monitoring equipment for a particular line, they need to upload the line data to the central office in the form of a unified station package. The "To be replaced" folder is a custom folder. Whenever the central office receives a station package uploaded by an operator, a file named after the station is created within this folder. This method triggers subsequent data processing by periodically searching this "To be replaced" folder. Upon detecting a file in the "To be replaced" folder, the data within the station package is read to generate the Devvars.ini file for use by the central office equipment.

[0097] Station line file msgGather.ini file such as Figure 6As shown, the arrow marked 1 points to Section, the value on the left of the equal sign marked 2 is the key, and the value on the right of the equal sign marked 3 is the value. Read the station line file msgGather.ini file into memory and convert it into the form of key-value pair data format <section,<key,value> > exists in the dictionary.

[0098] Step 2: Get all the values under section [device type] and store them in a list, such as Figure 7 shown.

[0099] Step 3: Take 25HZ track circuit # smart cabinet as an example. After getting 25HZ track circuit # smart cabinet from the device type, search the device type mapping .ini file section by section to see if it contains a section named 25HZ track circuit # smart cabinet. After finding it, save the section that found 25HZ track circuit # smart cabinet, that is, 25HZ track circuit. Figure 8 shown.

[0100] Step 4: Read the value of each device attribute from the 25HZ track circuit#smart cabinet attribute section of msgGather.ini. The third digit is the analog type, such as Figure 9 shown.

[0101] Step 5: After getting 0x20, read the analog type mapping .ini, find the section named 0x20, and get the key-value pair <1, rail voltage>, such as Figure 10 shown.

[0102] Step 6: According to the key-value pairs obtained, the attribute name is track voltage, and its value is saved in the GD.INI file;

[0103] Step 7: Find the GD.ini file and read the configuration information of the 5HZ track circuit. The configuration information here is the value of the track circuit, such as Figure 11 As shown;

[0104] Step 8: Write to the Devvars.ini file.

[0105] Through the above method, the station data file is well generated by using the two external configuration files, namely the device type mapping relationship configuration file and the analog type mapping relationship configuration file, and the data between interconnected manufacturers can be accurately and efficiently connected to the bureau center.

[0106] Preferably, when the line operating manufacturer adds or cancels a device type, the device type mapping relationship is updated using the newly added or canceled device type.

[0107] Specifically, when a new device type is added, the new device type and its number are added under the standard device type node corresponding to the new device type in the device type mapping configuration file. When a device type is cancelled, the new cancelled device type and its number are deleted under the standard device type node corresponding to the cancelled device type.

[0108] When the line operator adds or cancels an analog quantity type, the analog quantity type mapping relationship is updated using the newly added or canceled analog quantity type.

[0109] Specifically, when adding an analog quantity type, a new node is created in the analog quantity type mapping configuration file. This node represents the newly added analog quantity type. Under this node, a key-value pair contains the attribute name of the newly added analog quantity, the key is the attribute name's number, and the storage address is the location where the configuration file for the newly added analog quantity is saved. When removing an analog quantity type, the node and all key values under it are deleted from the analog quantity type mapping configuration file.

[0110] The effects of the embodiments of the present invention are described below through specific examples:

[0111] like Figure 12 As shown, the device type name that the bureau center needs to display is the power screen, but the names given by various operating manufacturers are unique, such as the device types numbered 1-13 under the subsequent power screen nodes. If there is no configuration file for the device type mapping relationship, the software will not be able to identify what the power screen#input power is. If it is written in the software, telling the software that power screen#input power=power screen, then if a power screen#XXX is encountered in the future, the software will have to modify the internal code and then re-release the software, which is extremely cumbersome. Using the solution disclosed in this disclosure, you only need to add 14=power screen#XXX after the device type mapping.ini. The function and processing method of the analog type mapping.ini file are similar.

[0112] Based on the above disclosure, the present invention also provides a station data generating device, including a reading unit, a standard information determining unit and a station data generating unit, wherein:

[0113] The reading unit is used to read the device type and the analog type of its attributes in the line configuration file after scanning the line operator station package folder;

[0114] The standard information determination unit is configured to use a pre-established device type mapping relationship to search for a standard device type that has a mapping relationship with the read device type, wherein the device type mapping relationship includes a mapping relationship between the standard device type of the central manufacturer and the device type of each line operating manufacturer; use a pre-established analog quantity type mapping relationship to identify an attribute name corresponding to the read analog quantity type, wherein the analog quantity type mapping relationship includes a mapping relationship between the analog quantity type and the attribute name; and use the read analog quantity type to determine analog quantity configuration information;

[0115] The station data generating unit is used to generate a station data file using the found standard equipment type, the identified attribute name and the determined analog quantity configuration information.

[0116] Preferably, the analog quantity type mapping relationship further includes a mapping relationship between the analog quantity type and the storage address of the analog quantity configuration file;

[0117] The standard information determination unit is specifically used to identify the attribute name from the analog type mapping relationship and at the same time find the storage address that has a mapping relationship with the read analog type; use the found storage address to locate the analog configuration file; and read the analog configuration information from the located analog configuration file.

[0118] Preferably, the device further comprises:

[0119] The update unit is used to update the device type mapping relationship using the corresponding device type when the line operating manufacturer adds or cancels the device type; and to update the analog type mapping relationship using the corresponding analog type when the line operating manufacturer adds or cancels the analog type.

[0120] Based on the above disclosure, the present invention also provides an electronic device. The electronic device of an embodiment of the present invention includes at least one processor and at least one storage medium electrically connected to each other, wherein the storage medium is electrically connected to the processor, wherein the storage medium stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method described above.

[0121] Based on the same inventive concept, the present invention also provides a readable storage medium, which stores instructions that can be executed by the at least one processor. The instructions are executed by the at least one processor to enable the at least one processor to execute the method as described above.

[0122] Although the present disclosure has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure.

Claims

1. A method for generating a station data file, characterized in that: The method comprises: After scanning the station package folder of the line operator, read the device type and the analog type of its attributes in the line configuration file in the station package folder; Using the pre-established device type mapping relationship, searching for a standard device type that has a mapping relationship with the read device type, wherein the device type mapping relationship includes a mapping relationship between the standard device type of the central manufacturer and the device type of each line operating manufacturer; Using a pre-established analog quantity type mapping relationship, identifying an attribute name corresponding to the read analog quantity type, wherein the analog quantity type mapping relationship includes a mapping relationship between the analog quantity type and the attribute name; Determine analog quantity configuration information using the read analog quantity type; The station data file is generated using the found standard equipment types, identified attribute names and determined analog configuration information.

2. The method according to claim 1, characterized in that The analog quantity type mapping relationship also includes a mapping relationship between the analog quantity type and the storage address of the analog quantity configuration file; Use the read analog quantity type to determine the analog quantity configuration information, including: While identifying the attribute name from the analog type mapping relationship, find the storage address that has a mapping relationship with the read analog type; Use the found storage address to locate the analog configuration file; Read analog configuration information from the located analog configuration file.

3. The method according to claim 1 or 2, characterized in that The device type mapping relationship is stored in a device type mapping relationship configuration file; Generate a device type mapping configuration file in the following ways: An equipment type mapping relationship configuration file is generated by using the standard equipment type of the central manufacturer as the node, the equipment type number of each line operating manufacturer that has a mapping relationship with the standard equipment type as the keyword of the node, and the equipment type of each line operating manufacturer that has a mapping relationship with the standard equipment type as the value of the node.

4. The method according to claim 2, characterized in that The analog quantity type mapping relationship is stored in an analog quantity type mapping relationship configuration file; Generate analog type mapping relationship configuration file in the following way: The analog quantity type is used as the node; the storage address of the analog quantity configuration file corresponding to the analog quantity type is used as the node option; An analog type mapping relationship configuration file is generated by using the attribute name code having a mapping relationship with the analog type as the keyword of the node and the attribute name having a mapping relationship with the analog type as the value of the node.

5. The method according to claim 1 or 2, characterized in that The method further comprises: When the line operator adds or cancels a device type, the device type mapping relationship is updated using the newly added or canceled device type; When the line operator adds or cancels an analog quantity type, the analog quantity type mapping relationship is updated using the newly added or canceled analog quantity type.

6. A station data file generating device, characterized in that: It includes a reading unit, a standard information determination unit and a station data generation unit, wherein: The reading unit is used to read the device type and the analog type of its attributes in the line configuration file after scanning the line operator station package folder; The standard information determination unit is configured to use a pre-established device type mapping relationship to search for a standard device type that has a mapping relationship with the read device type, wherein the device type mapping relationship includes a mapping relationship between the standard device type of the central manufacturer and the device type of each line operating manufacturer; use a pre-established analog quantity type mapping relationship to identify an attribute name corresponding to the read analog quantity type, wherein the analog quantity type mapping relationship includes a mapping relationship between the analog quantity type and the attribute name; and use the read analog quantity type to determine analog quantity configuration information; The station data generating unit is used to generate a station data file using the found standard equipment type, the identified attribute name and the determined analog quantity configuration information.

7. The device according to claim 6, characterized in that The analog quantity type mapping relationship also includes a mapping relationship between the analog quantity type and the storage address of the analog quantity configuration file; The standard information determination unit is specifically used to identify the attribute name from the analog type mapping relationship and at the same time find the storage address that has a mapping relationship with the read analog type; use the found storage address to locate the analog configuration file; and read the analog configuration information from the located analog configuration file.

8. The device according to claim 6 or 7, characterized in that Also includes: The update unit is used to update the device type mapping relationship using the corresponding device type when the line operating manufacturer adds or cancels the device type; and to update the analog type mapping relationship using the corresponding analog type when the line operating manufacturer adds or cancels the analog type.

9. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; Memory for storing computer programs; A processor, configured to implement the steps of the method according to any one of claims 1 to 5 when executing a program stored in a memory.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Product unit library construction system, method and device and computer readable storage medium

    CN110502504A

  • Track circuit red light band diagnosis and fault characteristic self-learning method

    CN117054849A