Station data file generation method and device, electronic equipment and storage medium
By establishing a mapping relationship between equipment type and simulated quantity type, the efficiency and quality of station data file generation are improved, and the problems of low manual configuration efficiency and difficult to guarantee data quality in the prior art are solved.
Patent Information
- Application Number
- CN202510549793.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-29
- Publication Date
- 2025-05-30
- Estimated Expiration
- 2045-04-29
AI Technical Summary
In the prior art, the generation of station data files relies on manual configuration, which is inefficient and can easily lead to data errors or omissions, making it difficult to guarantee data quality.
By establishing device type mapping relationship and analog type mapping relationship, the device type and analog type of each operating manufacturer are converted into standard types, the attribute names are identified and the analog configuration information is determined, thereby generating high-quality station data files.
It improves the efficiency of station data files generation, ensures improvement in data quality, and reduces the occurrence of manual errors.
Smart Images

Figure CN120067062A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure belongs to the technical field of signal centralized monitoring systems, and particularly relates to a method, apparatus, electronic device, and storage medium for generating station data files. Background Art
[0002] In high-speed railway stations, station data is an important foundation for ensuring the safe and efficient operation of trains, involving relevant information on station equipment and station light positions on each line, covering rich equipment information and signal display contents.
[0003] Station equipment includes signal equipment, switch machines, power supply equipment, and monitoring equipment. Signal equipment includes signal lights, turnouts, and track circuits. Signal lights include approach signal lights, departure signal lights, and signal lights for receiving and dispatching trains, which indicate the running direction and speed requirements of trains through lights of different colors. A turnout is a device for changing the running direction of a train, and its state is controlled by the signal system. A track circuit is used to detect whether there is a train occupying the track and the specific position of the train. A switch machine is a device for controlling the rotation of a turnout, usually driven by an electrical signal. Power supply equipment provides stable and reliable power supply for the signal system, including a power supply panel, an uninterruptible power supply (UPS), etc. Monitoring equipment includes cameras and sensors, etc., which are used to monitor the equipment status and train operation in the station in real time. Station light positions mainly refer to the light display positions of signal lights. According to the different types and installation positions of signal lights, they form specific display sequences and logical relationships in the station.
[0004] In the prior art, the central equipment manufacturer collects the station package folders uploaded by the operation manufacturers of each line. The station package folders contain configuration files with specific configuration information of station equipment and station light positions on the line. The central manufacturer uses the configuration files of each operation manufacturer to make station data files.
[0005] However, the operation manufacturers of each line have their own naming for relevant information such as station equipment. The prior art relies on manual configuration. There are more than a dozen relevant configuration files for each station, and it is necessary to identify, classify, and reorganize the data in the configuration files into a station data file for the station machine program to read. On the one hand, there is a problem of very low manual efficiency; on the other hand, because there are too many configuration files to be accessed, and the content corresponding to different configuration files does not have a unified equipment type name, it is easy to cause errors or omissions in the process of manually making data files, making it difficult to guarantee the data quality of the generated station data files. Summary of the Invention
[0006] To solve the above problems, the present disclosure provides a method, apparatus, electronic device, and storage medium for generating a station data file. By using the analog quantity type mapping relationship and the device type mapping relationship, the device types of each operating manufacturer are converted into standard device types and their analog quantity configuration information is determined, enabling the generation of high-quality station data files.
[0007] In a first aspect, a method for generating a station data file is provided. The method includes: After scanning the line operation manufacturer's station package folder, read the device type and its analog quantity type of the attributes in the line configuration file in the station package folder; Using the pre-established device type mapping relationship, find the standard device type that has a mapping relationship with the read device type. Among them, the device type mapping relationship includes the mapping relationship between the standard device types of the central manufacturer and the device types of each line operation manufacturer; Using the pre-established analog quantity type mapping relationship, identify the attribute name corresponding to the read analog quantity type. Among them, the analog quantity type mapping relationship includes the mapping relationship between the analog quantity type and the attribute name; Using the read analog quantity type, determine the analog quantity configuration information; Generate a station data file using the found standard device type, identified attribute name, and determined analog quantity configuration information.
[0008] Further, the analog quantity type mapping relationship further includes the mapping relationship between the analog quantity type and the storage address of the analog quantity configuration file; Using the read analog quantity type to determine the analog quantity configuration information includes: While identifying the attribute name from the analog quantity type mapping relationship, find the storage address that has a mapping relationship with the read analog quantity type; Use the found storage address to locate the analog quantity configuration file; Read the analog quantity configuration information from the located analog quantity configuration file.
[0009] Further, the device type mapping relationship is saved in the device type mapping relationship configuration file; Generate the device type mapping relationship configuration file through the following method: Using the standard device type of the central manufacturer as a node, using the device type numbers of each line operation manufacturer that have a mapping relationship with the standard device type as the keywords of the node, and using the device types of each line operation manufacturer that have a mapping relationship with the standard device type as the values of the node, generate the device type mapping relationship configuration file.
[0010] Further, the analog quantity type mapping relationship is saved in the analog quantity type mapping relationship configuration file; Generate an analog quantity type mapping relationship configuration file in the following manner: Use the analog quantity type as a node; use the storage address of the analog quantity configuration file corresponding to the analog quantity type as an option of the node; use the attribute name code having a mapping relationship with the analog quantity type as the keyword of the node, and use the attribute name having a mapping relationship with the analog quantity type as the value of the node to generate an analog quantity type mapping relationship configuration file.
[0011] Furthermore, the method further includes: When the line operation manufacturer adds or cancels a device type, update the device type mapping relationship using the added or cancelled device type; When the line operation manufacturer adds or cancels an analog quantity type, update the analog quantity type mapping relationship using the added or cancelled analog quantity type.
[0012] In a second aspect, there is provided a station data file generation device, including a reading unit, a standard information determination unit, and a station data generation unit, where: The reading unit is configured to, after scanning the line operation manufacturer's station package folder, read the device type and the analog quantity type of its attributes in the line configuration file therein; The standard information determination unit is configured to, using the pre-established device type mapping relationship, find the standard device type having a mapping relationship with the read device type, where the device type mapping relationship includes the mapping relationship between the standard device type of the central manufacturer and the device types of each line operation manufacturer; use the pre-established analog quantity type mapping relationship to identify the attribute name corresponding to the read analog quantity type, where the analog quantity type mapping relationship includes the mapping relationship between the analog quantity type and the attribute name; use the read analog quantity type to determine the analog quantity configuration information; The station data generation unit is configured to generate a station data file using the found standard device type, the identified attribute name, and the determined analog quantity configuration information.
[0013] Furthermore, the analog quantity type mapping relationship further includes the mapping relationship between the analog quantity type and the storage address of the analog quantity configuration file; The standard information determination unit is specifically configured to, while identifying the attribute name from the analog quantity type mapping relationship, find the storage address having a mapping relationship with the read analog quantity type; locate the analog quantity configuration file using the found storage address; read the analog quantity configuration information from the located analog quantity configuration file.
[0014] Furthermore, the device further includes: An update unit is used to update the device type mapping relationship by using the corresponding device type when the line operation manufacturer adds or cancels a device type; and update the analog quantity type mapping relationship by using the corresponding analog quantity type when the line operation manufacturer adds or cancels an analog quantity type.
[0015] In a third aspect, an electronic device is provided, including a processor, a communication interface, a memory, and a communication bus. Among them, the processor, the communication interface, and the memory complete communication with each other through the communication bus; The memory is used to store a computer program; The processor is used to implement the steps of the above method when executing the program stored on the memory.
[0016] In a fourth aspect, a computer-readable storage medium is provided. 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.
[0017] Compared with the prior art, the present disclosure has the following advantages: In the solution of the embodiment of the present disclosure, since the device type mapping relationship is established and used to convert the device type of the line operation manufacturer into a standard device type; the analog quantity type mapping relationship is established and used to identify the attribute name of the analog quantity type, and the analog quantity configuration information is determined by using the analog quantity type. Finally, the standard device type, the analog quantity attribute name, and the analog quantity configuration information obtained by conversion are used to generate a station data file, which improves the generation efficiency of the station data file.
[0018] Other features and advantages of the present disclosure will be described in the following description of the specification, and part of them will become obvious from the description of the specification, or will be understood by implementing the present disclosure. The objectives and other advantages of the present disclosure can be achieved and obtained through the structures pointed out in the description of the specification, the claims, and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the following drawings are some embodiments of the present disclosure. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0020] Figure 1 Shows a schematic diagram of a method for generating a station data file according to an embodiment of the present disclosure; Figure 2 Shows a screenshot of a configuration file of an analog quantity type mapping relationship according to an embodiment of the present disclosure; Figure 3Shows a schematic diagram of another method for generating a station data file according to an embodiment of the present disclosure; Figure 4 Shows a screenshot of a mapping relationship configuration file for analog quantity types according to an embodiment of the present disclosure; Figure 5 Shows a flowchart for generating a station data file using the MsgGather.ini configuration file according to an embodiment of the present disclosure; Figure 6 Shows a screenshot of the MsgGather configuration file according to an embodiment of the present disclosure; Figure 7 Shows a diagram of the device type list in the station line configuration file according to an embodiment of the present disclosure; Figure 8 Shows a node diagram of the 25HZ track circuit # intelligent cabinet according to an embodiment of the present disclosure; Figure 9 Shows a node diagram of the attributes of the 25HZ track circuit # intelligent cabinet according to an embodiment of the present disclosure; Figure 10 Shows a node diagram with an analog quantity type of 0x20 according to an embodiment of the present disclosure; Figure 11 Shows a screenshot of the track voltage configuration information in the GD.ini file according to an embodiment of the present disclosure; Figure 12 Shows a schematic diagram of the power supply panel node according to an embodiment of the present disclosure. Detailed implementation manners
[0021] To make the objectives, technical solutions, and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present disclosure. Apparently, the described embodiments are some, but not all, of the embodiments of the present disclosure. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present disclosure without creative efforts shall fall within the scope of protection of the present disclosure.
[0022] Figure 1 Shows a schematic diagram of a method for generating a station data file according to an embodiment of the present disclosure. The method for generating a station data file according to an embodiment of the present disclosure includes the following steps: Step 101: Establish a mapping relationship between device types and a mapping relationship between analog quantity types; Among them, the mapping relationship between device types includes the mapping relationship between the standard device types of the central manufacturer and the device types of each line operation manufacturer; The mapping relationship between analog quantity types includes the mapping relationship between analog quantity types and attribute names; The above device type mapping relationship and analog quantity type mapping relationship can be represented in the form of a correspondence table, in the form of a configuration file, or in other forms. In the embodiments of the present invention, the configuration file form is adopted for expression.
[0023] Specifically, the device type mapping relationship is stored in the device type mapping relationship configuration file; The device type mapping relationship configuration file can be generated in the following manner: Taking the standard device types of the central manufacturer as nodes, taking the device type numbers of each line operation manufacturer having a mapping relationship with the standard device type as the keywords of the nodes, and taking the device types of each line operation manufacturer having a mapping relationship with the standard device type as the values of the nodes, a device type mapping relationship configuration file is generated.
[0024] The device type mapping relationship configuration file at this time can be as Figure 2 shown. The following takes the Figure 2 "signal machine" in as an example for illustration. The "signal machine" is a standard device type and is a node section in the configuration file. The identification ID of the signal machine is 4, and there are 7 key-value pairs below it, namely <1, signal machine>, <2, signal machine # intelligent cabinet>, <3, signal machine # approach signal machine>, <4, signal machine # departure signal machine>, <5, signal machine # warning signal machine>, <6, signal machine # shunting signal machine> and <7, filament relay current>.
[0025] Specifically, the analog quantity type mapping relationship is stored in the analog quantity type mapping relationship configuration file; The analog quantity type mapping relationship configuration file can be generated in the following manner: Taking the analog quantity type as a node; taking the attribute name code having a mapping relationship with the analog quantity type as the keyword of the node, and taking the attribute name having a mapping relationship with the analog quantity type as the value of the node, an analog quantity type mapping relationship configuration file is generated.
[0026] Step 102: After scanning the line operation manufacturer's station package folder, read the device types in the line configuration file in the station package folder; Step 103: Using the pre-established device type mapping relationship, find the standard device type having a mapping relationship with the read device type; Step 104: Read the analog quantity types of the attributes under the device type in the line configuration file in the station package folder; Step 105: Using the pre-established analog quantity type mapping relationship, identify the attribute name corresponding to the read analog quantity type; Among them, the analog quantity type mapping relationship includes the mapping relationship between the analog quantity type and the attribute name; Step 106: Determine the analog quantity configuration information by using the read analog quantity type; After reading the analog quantity type, the relationship table between the analog quantity type and the analog quantity configuration information established in advance can be used to determine the analog quantity configuration information.
[0027] Step 107: Generate a station data file by using the found standard device type, the identified attribute name, and the determined analog quantity configuration information.
[0028] In the solution of this embodiment, since the device type mapping relationship is established and used to convert the device type of the line operation manufacturer into the standard device type; the analog quantity type mapping relationship is established and used to identify the attribute name of the analog quantity type, and the analog quantity configuration information is determined by using the analog quantity type. Finally, the station data is generated by using the converted standard device type, the analog quantity attribute name, and the analog quantity configuration information, which improves the generation efficiency of the station data.
[0029] Based on the above embodiments, the present disclosure also provides another method for generating a station data file, which is a preferred embodiment of the present disclosure, and its flowchart is as Figure 3 shown in the figure, and includes the following steps: Step 201: Establish a device type mapping relationship and an analog quantity type mapping relationship; The analog quantity type mapping relationship includes the mapping relationship among the analog quantity type, the attribute name, and the storage address of the analog quantity type configuration file; Specifically, the analog quantity type mapping relationship is saved in the analog quantity type mapping relationship configuration file; The analog quantity type mapping relationship configuration file can be generated in the following way: Use the analog quantity type as the node; use the storage address of the analog quantity configuration file corresponding to the analog quantity type as the option of the node; use the attribute name code having a mapping relationship with the analog quantity type as the keyword of the node, and use the attribute name having a mapping relationship with the analog quantity type as the value of the node to generate the analog quantity type mapping relationship configuration file.
[0030] The screenshot of the analog quantity type mapping relationship configuration file at this time can be as Figure 4 shown. The following takes Figure 4 "0X10" in the figure as an example for illustration. "0X11" is the analog quantity type and is a section node in the configuration file. It has 3 option options below it. Among them, 1 filename = ZH.INI is the storage address of the analog quantity type 0X11 configuration file, and the other 2 options are key-value pairs, which are <1, external power grid> and <2, external power grid monitoring> respectively. Among them, "external power grid" is the attribute name of 0X11, and "external power grid monitoring" is also the attribute name of "0X11".
[0031] Step 202: After scanning the line operation manufacturer's station package folder, read the device types in the line configuration file within the station package folder; Step 203: Using the established device type mapping relationship, determine the standard device type that has a mapping relationship with the read device type; Step 204: Read the analog quantity types of the attributes under the device type in the line configuration file within the station package folder; Step 205: Search in the analog quantity type mapping relationship for the attribute name and storage address that have a mapping relationship with the read analog quantity type; Step 206: Use the found storage address to locate the standard analog quantity configuration file; Step 207: From the located standard analog quantity configuration file, read the analog quantity configuration information; Step 208: Generate a station data file using the determined standard device type, attribute name, and analog quantity configuration information.
[0032] In the solution of this preferred embodiment, the mapping relationship among the analog quantity type, attribute name, and the storage address of the analog quantity type configuration file is stored in an analog quantity type mapping relationship configuration file, and the attribute name and the storage address of the configuration file can be found at one time, improving the generation efficiency of the station data file.
[0033] Next, taking the device type mapping relationship configuration file in Figure 2 and the analog quantity type mapping relationship configuration file in Figure 4 as the basis, the solution of the present disclosure will be described in detail through the line data configuration file Msggather.ini of a specific operation manufacturer.
[0034] As Figure 5 shown, it is the flowchart for generating the station data file using the Msggather.ini configuration file in this embodiment.
[0035] Using the solution of the embodiment of the present disclosure to read the line configuration files provided by each operation manufacturer, such as the interoperability configuration file msggather.ini, the station yard map condll.ini, the analog quantity collection file, and other configuration files, to generate the station data file Devvars.ini.
[0036] First step: Scan the station package folder named "to be replaced". If a newly modified station package is uploaded, a.txt file corresponding to the 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.
[0037] When each operating manufacturer installs and manages the monitoring equipment for a certain line, it is necessary to upload the line data to the bureau center in the form of station packages. "To be replaced", this folder is user-defined. Whenever the station computer in the bureau center receives the station package uploaded by the operating manufacturer, it will create a file named after the station name in this folder. This method triggers subsequent data processing by periodically retrieving this "to be replaced" folder. That is, when a file is found in "to be replaced", it reads the data in the station package and finally generates Devvars.ini that can be used by the bureau center equipment.
[0038] The station line file msgGather.ini is as Figure 6 shown. The arrow labeled 1 points to the Section, the value on the left side of the equal sign pointed by the arrow labeled 2 is the key, and the value on the right side of the equal sign pointed by the arrow labeled 3 is the value. Read the station line file msgGather.ini into memory and convert it into a key-value pair data format <section, <key, value>> and store it in a dictionary.
[0039] Step 2: Obtain all the values under the section [equipment type] and store them in a list list, as Figure 7 shown.
[0040] Step 3: Take the 25HZ track circuit # intelligent cabinet as an example. After obtaining the 25HZ track circuit # intelligent cabinet from the equipment type, search each section in the equipment type mapping.ini to see if it contains a section named 25HZ track circuit # intelligent cabinet. After finding it, save the section where the 25HZ track circuit # intelligent cabinet is found, that is, the 25HZ track circuit, as Figure 8 shown.
[0041] Step 4: Read the value of each equipment attribute from the section of the 25HZ track circuit # intelligent cabinet attributes in msgGather.ini. The third digit is the analog quantity type, as Figure 9 shown.
[0042] Step 5: After obtaining 0x20, read the analog quantity type mapping.ini, find the section named 0x20, and obtain the key-value pair <1, track voltage>, as Figure 10 shown.
[0043] Step 6: According to the obtained key-value pair, it can be known that the attribute name is track voltage and its value is saved in the GD.INI file; 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, as Figure 11as shown; Eighth step: Write to the Devvars.ini file.
[0044] Through the above method, the use of the device type mapping relationship configuration file and the analog quantity type mapping relationship configuration file can well generate the station data file, and realize the accurate and efficient access of data between different manufacturers to the local center.
[0045] Preferably, when the line operation manufacturer adds or cancels a device type, the device type mapping relationship is updated using the added or cancelled device type.
[0046] Specifically, when adding a device type, in the device type mapping relationship configuration file, under the standard device type node corresponding to the added device type, add the added device type and its number. When cancelling a device type, under the standard device type node corresponding to the cancelled device type, delete the newly cancelled device type and its number.
[0047] When the line operation manufacturer adds or cancels an analog quantity type, the analog quantity type mapping relationship is updated using the added or cancelled analog quantity type.
[0048] Specifically, when adding an analog quantity type, in the analog quantity type mapping relationship configuration file, add a new node, which is the added analog quantity type. In a key-value pair under this node, the value is the attribute name of the added analog quantity, the key is the number of this attribute name, and the storage address is the location where the configuration file of the added analog quantity is saved. When cancelling an analog quantity type, in the analog quantity type mapping relationship configuration file, delete this node and all key-values under the node.
[0049] The following uses a specific example to illustrate the effect of the embodiments of the present invention: such as Figure 12 as shown, the device type name that the local center needs to display is the power supply panel, but each operation manufacturer has its own unique name, such as the device types in numbers 1-13 under the subsequent power supply panel node. Without the device type mapping relationship configuration file, the software cannot recognize what the power supply panel # input power is. If it is written in the software to tell the software that power supply panel # input power = power supply panel, then if a power supply panel # XXX is encountered later, the software will have to modify the internal code and re-release the software, which is extremely cumbersome. Using the solution of the present disclosure, only need to add 14 = power supply panel # XXX at the end of the device type mapping.ini. The processing method for the role of the analog quantity type mapping.ini file is similar.
[0050] Based on the above disclosed content, correspondingly, the present invention also provides a station data generation device, including a reading unit, a standard information determination unit, and a station data generation unit, where: A reading unit, configured to read the device type and the analog quantity type of its attributes in the line configuration file after scanning the line operation manufacturer's station package folder; A standard information determination unit, configured to use a pre-established device type mapping relationship to find a standard device type that has a mapping relationship with the read device type, where the device type mapping relationship includes the mapping relationship between the standard device types of the central manufacturer and the device types of each line operation manufacturer; use a pre-established analog quantity type mapping relationship to identify the attribute name corresponding to the read analog quantity type, where the analog quantity type mapping relationship includes the mapping relationship between the analog quantity type and the attribute name; use the read analog quantity type to determine the analog quantity configuration information; A station data generation unit, configured to generate a station data file by using the found standard device type, the identified attribute name, and the determined analog quantity configuration information.
[0051] Preferably, the analog quantity type mapping relationship further includes the mapping relationship between the analog quantity type and the storage address of the analog quantity configuration file; The standard information determination unit is specifically configured to, while identifying the attribute name from the analog quantity type mapping relationship, find the storage address that has a mapping relationship with the read analog quantity type; locate the analog quantity configuration file by using the found storage address; and read the analog quantity configuration information from the located analog quantity configuration file.
[0052] Preferably, the device further includes: An update unit, configured to update the device type mapping relationship by using the corresponding device type when a line operation manufacturer adds or cancels a device type; and update the analog quantity type mapping relationship by using the corresponding analog quantity type when a line operation manufacturer adds or cancels an analog quantity type.
[0053] Based on the above disclosed content, correspondingly, the present invention further provides an electronic device. The electronic device according to an embodiment of the present invention includes at least one processor and at least one storage medium that are electrically connected, the storage medium is electrically connected to the processor, where the storage medium stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method as described above.
[0054] Based on the same inventive concept, the present invention further provides a readable storage medium, the readable storage medium stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method as described above.
[0055] Although the present disclosure has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements on some of the technical features; 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 quantity type of its attributes in the line configuration file in the station package folder; Using the pre-established equipment type mapping relationship, searching for a standard equipment type that has a mapping relationship with the read equipment type, wherein the equipment type mapping relationship includes a mapping relationship between the standard equipment type of the central manufacturer and the equipment 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 quantity 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 analog quantity type read to determine the analog quantity configuration information, including: While identifying the attribute name from the analog quantity type mapping relationship, searching for a storage address having a mapping relationship with the analog quantity type read; 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 taking 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 a node; the storage address of the analog quantity configuration file corresponding to the analog quantity type is used as an option of the node; The analog quantity type mapping relationship configuration file is generated by using the attribute name code having a mapping relationship with the analog quantity type as the keyword of the node and the attribute name having a mapping relationship with the analog quantity 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 operating manufacturer adds or cancels an analog quantity type, the analog quantity type mapping relationship is updated using the newly added or cancelled 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: A reading unit is used to read the device type and the analog quantity type of its attribute in the line configuration file after scanning the line operation manufacturer station package folder; The standard information determination unit is used 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 a standard device type of a central manufacturer and a 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 an analog quantity type and an attribute name; 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 by 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 updating 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, used to store computer programs; A processor, for implementing the steps of any method described in claims 1-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 any one of the methods of claims 1-5 are implemented.
Citation Information
Patent Citations
Product unit library construction system, method and device and computer readable storage medium
CN110502504A
Configuration file automatic generation method and system, storage medium and electronic equipment
CN114237757A
Metro station digital twinborn model construction method based on big data
CN115630067A
Track circuit red light band diagnosis and fault characteristic self-learning method
CN117054849A
Fully-automatic closed-loop detection method and device for intelligent substation
US20190170822A1