Engineering data generation method, system and electronic equipment

By drawing a specific site diagram model and reading the engineering drawing source data of different formats, corresponding data files are generated, which solves the problem that the original data cannot be used directly and the threshold for secondary development is high, and the data format conversion and secondary development are achieved.

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

Patent Information

Application Number
CN202010963535.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-14
Publication Date
2025-02-28
Estimated Expiration
2040-09-14

AI Technical Summary

Technical Problem

In the prior art, the original engineering data cannot be used directly, and the engineering drawing source data of different formats requires secondary development, with high threshold and high development and maintenance costs.

Method used

By drawing an editable site diagram model, reading engineering drawing source data in different formats based on configuration information, generating corresponding data files, and achieving secondary development of data in different formats.

Benefits of technology

It realizes the generation of desired format data from different formats of engineering drawing source data, which reduces the threshold and cost of secondary development and improves the availability and applicability of data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112163403B_ABST
    Figure CN112163403B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention provides a method and system for generating engineering data, the method comprising: drawing a specific station diagram model that can be edited and operated according to engineering drawing data, wherein different configuration information is set in the specific station diagram model; reading engineering drawing source data of different format files of the signal specialty according to the configuration information, inputting the engineering drawing source data into the specific station diagram model, and generating a data file corresponding to the configuration information. The embodiment of the present invention can draw a specific station diagram model that can be edited and operated according to engineering drawing data, and then input engineering drawing source data of various different format files into the specific station diagram model to generate the desired data file. By generating a specific model, different format data can be generated into the desired format data, and secondary development of different format data can be conveniently performed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of railway signal systems, and in particular to an engineering data generation method, system and electronic equipment. Background Art

[0002] The railway signal system involves a large amount of professional data, including data formats such as engineering drawing data, Excel engineering data tables, XML format data, INI or TXT text format data, etc. These data will be handled differently by different professions and even different teams.

[0003] Taking engineering drawing data as an example, the dwg engineering data drawings that data producers get are generally not directly usable, and secondary development is required on this basis. There are three main ways of secondary development of AutoCAD: Autolisp, ADS, and ARX.

[0004] ADS is a C language programming environment with library files and header files provided by Autodesk. ADS programs have the advantages of good confidentiality and fast running speed, but to write ADS applications, users must be familiar with AutoCAD's internal commands and be proficient in C language, which places high demands on programmers.

[0005] ARX ​​is an object-oriented secondary development tool for AutoCAD, which can directly call the internal functions of AutoCAD. The development environment is based on the powerful Visual C++ development platform. However, ARX development requires C++ programming experience, and the development and maintenance costs are high. Errors within the ARX program may also cause the AutoCAD software to crash.

[0006] Autolisp is a Lisp programming language embedded in Autodesk. It is simple to use and has a low entry threshold. Users only need to understand AutoCAD commands and Autolisp programming rules. AutoCAD also has its own Autolisp compiler, so there is no need to install a third-party compiler environment. It is most practical for completing repetitive tasks with small calculation and analysis workloads.

[0007] Taking the Excel engineering data sheet as an example, there are many ways of secondary development. You can use VB, C++ or C# and other development languages. The problem is that they all require a special compilation environment, special programming languages ​​and experience, high thresholds, and high development and maintenance costs. Moreover, signal professional engineering drawing data is indispensable, so there must be secondary development of engineering data drawings. The same situation exists for data files in other formats. Summary of the invention

[0008] The embodiments of the present invention provide a method, system and electronic device for generating engineering data, so as to solve the defect in the prior art that original data cannot be used directly, and realize that engineering drawing source data in different formats can be generated into data in a desired format.

[0009] According to a first aspect of the present invention, there is provided a method for generating engineering data, comprising: drawing a specific station field diagram model that can be edited based on engineering drawing data, wherein different configuration information is provided in the specific station field diagram model; reading engineering drawing source data of files of different formats of signal specialties based on the configuration information, inputting the data into the specific station field diagram model, and generating a data file corresponding to the configuration information.

[0010] Based on the above technical solution, the embodiment of the present invention can also make the following improvements.

[0011] Optionally, drawing a specific station diagram model that can be edited and operated according to the engineering drawing data includes: drawing corresponding graphic blocks according to different devices in the signal professional engineering drawing data, and setting various properties and various actions of the graphic blocks, wherein one device corresponds to one graphic block, and the graphic blocks corresponding to multiple devices constitute a graphic block library; inserting graphic blocks into the AutoCAD drawing area, and editing the properties and actions of the graphic blocks to generate a specific station diagram model corresponding to the engineering drawing data.

[0012] Optionally, the configuration information in the specific station diagram model includes primary key configuration and attribute configuration;

[0013] The primary key configuration includes device ID, device name, and device location information;

[0014] Property configuration includes switch quantity configuration and analog quantity configuration of each device;

[0015] The equipment includes signals, switches, track sections, function buttons, indicator lights, direction arrows, flood prevention doors, power sections, interlocking counters, safety doors, platforms, departure timers and end signs; among them, signals, switches and track sections are key equipment.

[0016] Optionally, files in different formats include Excel format files, XML format files and text format files; accordingly, reading engineering drawing source data of files in different formats of different signal specialties includes: reading data related to the primary key configuration information in Excel format files, XML format files and text format files according to the primary key configuration device ID, device name and device location information in the configuration information.

[0017] Optionally, reading the data corresponding to the configuration information in the Excel format file includes: taking the background to call the system environment variable to obtain the dynamic library of the Excel program, and reading the data related to the primary key configuration information in the Excel format file by calling the method in the Excel dynamic library.

[0018] Optionally, reading the data corresponding to the configuration information in the XML format file includes: reading by using a text method of reading a symmetric node format, and determining to read data related to the primary key configuration information by using a specific node field.

[0019] Optionally, reading the data corresponding to the configuration information in the text format file includes: using a text data delimiter as a boundary, the left side of the delimiter is associated with the primary key configuration, and the right side of the delimiter is specific data of the required attribute; wherein the delimiter can be pre-set, and the delimiter is "=", "," : " or a space.

[0020] Optionally, the data related to the master key configuration information includes at least switch quantity information and analog quantity information of the device;

[0021] Among them, the switch quantity information of the key equipment signal machine includes the switch quantity corresponding to the light positions of various color codes, and the analog quantity information of the signal machine includes the signal machine filament relay current and the voltage corresponding to each color code;

[0022] The switch quantity information of the key equipment turnout includes the position indication, reverse position indication, turnout front light band, turnout fixed light band, turnout reflective band, single seal and single lock switch quantity, and the analog quantity information of the turnout includes the turnout gap current and turnout gap voltage;

[0023] The switch quantity information of the track section of key equipment is the switch quantity of the track circuit corresponding to the track section, including the switch quantity of the red light band, white light band and track relay status; the analog quantity information of the track section is the analog quantity of the track circuit corresponding to the track section, including voltage, current, carrier frequency and low frequency;

[0024] The step of inputting the specific station diagram model and generating a data file corresponding to the configuration information comprises:

[0025] Generate the layout files of the devices and the logical relationship files between the devices in the signal professional engineering drawing data according to the graphic blocks of different devices and various attributes and actions of the graphic blocks;

[0026] The layout file and the logic device file are expanded according to the switch quantity information and analog quantity information of each device to generate an independent configuration file.

[0027] According to a second aspect of the present invention, there is provided an engineering data generating system, comprising:

[0028] A drawing module, used for drawing a specific station diagram model capable of editing operations according to engineering drawing data, wherein different configuration information is set in the specific station diagram model;

[0029] The generation module is used to read the engineering drawing source data of different format files of the signal profession according to the configuration information, input it into the specific station diagram model, and generate a data file corresponding to the configuration information.

[0030] An embodiment of the present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of any of the above-mentioned engineering data generation methods are implemented.

[0031] The engineering data generation method, system and electronic device provided by the embodiments of the present invention can draw an editable specific site diagram model based on engineering drawing data, and then input the engineering drawing source data of various different format files into the specific site diagram model to generate the desired data file. By generating a specific model, different format data can be generated into the desired format data, and secondary development of different format data can be conveniently performed. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0033] Figure 1 It is a flowchart of a method for generating engineering data provided by an embodiment of the present invention;

[0034] Figure 2 is a structural schematic diagram of an engineering data generation system provided by an embodiment of the present invention;

[0035] Figure 3 It is a structural schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

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

[0037] See also Figure 1 , provides a method for generating engineering data, including: drawing a specific station diagram model that can be edited and operated according to engineering drawing data, wherein different configuration information is set in the specific station diagram model; reading engineering drawing source data of different format files of signal major according to the configuration information, inputting the engineering drawing source data into the specific station diagram model, and generating a data file corresponding to the configuration information.

[0038] It is understandable that engineering drawing source data in different formats cannot usually be used directly, and secondary development of these engineering drawing source data is required. Based on the shortcomings of secondary development in the background technology, an embodiment of the present invention provides secondary development of engineering drawing data based on AutoCAD. Specifically, a specific station field diagram model that can be edited and operated is drawn according to the engineering drawing data of the signal specialty, wherein different configuration information can be set in the drawn specific station field diagram model. According to the configuration information, the engineering drawing source data corresponding to the configuration information is read from different file formats, and the read source data is input into the specific station field diagram model to generate the required data file, and the station field diagram can also be generated according to the generated data file.

[0039] The embodiment of the present invention can draw an editable and operable specific site diagram model according to engineering drawing data, and then input engineering drawing source data of files of various different formats into the specific site diagram model to generate desired data files. By generating a specific model, data of different formats can be generated into data of desired formats, and secondary development of data of different formats can be conveniently performed without the need for programming requirements of developers and users. It has a wide range of applications and better universality.

[0040] As a possible implementation method, drawing a specific station diagram model that can be edited and operated according to engineering drawing data includes: drawing corresponding graphic blocks according to different devices in the signal professional engineering drawing data, and setting various properties and various actions of the graphic blocks, wherein one device corresponds to one graphic block, and the graphic blocks corresponding to multiple devices constitute a graphic block library; inserting the graphic blocks into the AutoCAD drawing area, and editing the properties and actions of the graphic blocks to generate a specific station diagram model corresponding to the engineering drawing data.

[0041] It can be understood that the specific process of drawing a specific station diagram model based on engineering drawing data is to draw corresponding graphic blocks according to different equipment in the signal professional engineering drawings, draw one graphic block for each device, and set various attributes and various actions for each graphic block. Multiple graphic blocks corresponding to multiple devices constitute multiple graphic block libraries.

[0042] After configuring the graphics library, when drawing a station diagram using AutoCAD, you can insert graphics blocks into the drawing area and edit the properties and actions of the graphics blocks to generate a specific station diagram model corresponding to the engineering drawing.

[0043] As a possible implementation method, files in different formats include Excel format files, XML format files and text format files, wherein engineering drawing source data are stored in these files; accordingly, reading the engineering drawing source data of files in different formats of different signal specialties includes: reading the data related to the primary key configuration information in the Excel format files, XML format files and text format files respectively according to the device ID, device name and device location information in the configuration information as the primary key configuration.

[0044] Among them, the configuration information in the generated specific station diagram model is to use the ID of each device, the name of each device, and the location information of each device as the primary key configuration, and also add switch quantity configuration and analog quantity configuration as the attribute configuration of each device for each device, such as signal machine, turnout, track section, function button, indicator light, direction arrow, flood prevention door, power section, interlocking counter, safety door, platform, departure timer and end mark. Among them, signal machine, turnout and track section are key equipment. According to the configuration information, the data in the files of different formats are read, for example, according to the primary key configuration information, the corresponding data is read from the excel format file, xml format file and text format file.

[0045] Among them, reading the data corresponding to the configuration information in the Excel format file includes: taking the background to call the system environment variable to obtain the dynamic library of the Excel program, and reading the data related to the primary key configuration information in the Excel format file by calling the method in the Excel dynamic library.

[0046] Reading the data corresponding to the configuration information in the XML format file includes: reading by using a text method of reading a symmetrical node format, and determining to read the data related to the primary key configuration information by using a specific node field.

[0047] Reading the data corresponding to the configuration information in the text format file includes: using a text data delimiter as a boundary, the left side of the delimiter is associated with the primary key configuration, and the right side of the delimiter is the specific data of the required attribute; wherein the delimiter can be pre-set, and the delimiter is "=", "," :" or a space.

[0048] As a possible implementation method, the data related to the main key configuration information includes at least the switching quantity information and analog quantity information of the equipment; wherein the switching quantity information of the key equipment signal includes the switching quantities corresponding to various color-coded light positions, etc., and the analog quantity information of the signal includes the signal filament relay current and the voltage corresponding to each color code, etc.; wherein the switching quantity information of the key equipment switch includes positioning indication, reverse position indication, switch front light band, switch fixed light band, switch reflective band, single seal and single lock switching quantity, etc., and the analog quantity information of the switch includes switch gap current, switch gap voltage, etc.; wherein the switching quantity information of the key equipment track section is the switching quantity of the track circuit corresponding to the track section, including switching quantities such as red light band, white light band and track relay status, and the analog quantity information is the analog quantity of the track circuit corresponding to the track section, including voltage, current, carrier frequency, low frequency, etc.

[0049] Input a specific station diagram model to generate data files corresponding to the configuration information, including: generating layout files of devices in signal professional engineering drawing data and files of logical relationships between devices based on the graphic blocks of different devices drawn and the various attributes and actions of the graphic blocks; expanding the layout files and logical device files based on the switch quantity information and analog quantity information of each device to generate independent configuration files.

[0050] It can be understood that, according to the graphic blocks of different devices drawn and the various attributes and actions of the graphic blocks, basic files such as the layout file of the devices in the signal professional engineering drawing data and the logical relationship file between the devices are generated. According to the primary key configuration, the corresponding data is read from the excel file, xml file or text file, where these data include but are not limited to the switch quantity information of each device and the analog quantity information of each device, and these data are input into the layout file and the logical relationship file between the devices for expansion, and an independent configuration is generated to assist in identifying related devices.

[0051] See also Figure 2 , the engineering data generating system provided by an embodiment of the present invention is described below. The engineering data generating system described below and the engineering data generating method described above can refer to each other.

[0052] Among them, see Figure 2 The provided engineering data generation system includes a drawing module 21 and a generation module 22.

[0053] The drawing module 21 is used to draw a specific station diagram model that can be edited according to the engineering drawing data, and different configuration information is set in the specific station diagram model.

[0054] The generating module 22 is used to read the engineering drawing source data of different formats of the signal professional files according to the configuration information, input it into the specific station diagram model, and generate a data file corresponding to the configuration information.

[0055] The engineering data generation system provided in the embodiment of the present invention corresponds to the engineering data generation method provided in the aforementioned embodiments. The relevant technical features of the engineering data generation system can refer to the relevant technical features of the engineering data generation method provided in the aforementioned embodiments, which will not be repeated here.

[0056] Figure 3 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 3 As shown, the electronic device may include: a processor 310, a communication interface 320, a memory 330 and a communication bus 340, wherein the processor 310, the communication interface 320 and the memory 330 communicate with each other through the communication bus 340. The processor 310 may call the logic instructions in the memory 330 to execute the engineering data generation method, which includes: drawing a specific station field diagram model that can be edited according to the engineering drawing data, wherein different configuration information is set in the specific station field diagram model; reading the engineering drawing source data of different format files of the signal specialty according to the configuration information, inputting it into the specific station field diagram model, and generating a data file corresponding to the configuration information.

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

[0058] On the other hand, an embodiment of the present invention further provides a computer program product, comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions. When the program instructions are executed by a computer, the computer can execute the engineering data generation method provided by the above-mentioned method embodiments, the method comprising: drawing a specific station field diagram model that can be edited according to engineering drawing data, different configuration information being set in the specific station field diagram model; reading engineering drawing source data of files of different formats of the signal profession according to the configuration information, inputting the data into the specific station field diagram model, and generating a data file corresponding to the configuration information.

[0059] On the other hand, an embodiment of the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, it is implemented to execute the engineering data generation method provided in the above-mentioned embodiments, the method comprising: drawing a specific station field diagram model that can be edited according to the engineering drawing data, and different configuration information is set in the specific station field diagram model; reading the engineering drawing source data of different format files of the signal profession according to the configuration information, inputting it into the specific station field diagram model, and generating a data file corresponding to the configuration information.

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

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

[0062] The embodiments of the present invention provide a method, system and electronic device for generating engineering data, which can draw an editable specific site diagram model according to engineering drawing data, and then input engineering drawing source data of various different format files into the specific site diagram model to generate the desired data file. By generating a specific model, data in different formats can be generated into data in the desired format, and secondary development of data in different formats can be conveniently performed to generate the required data.

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

Claims

1. A method for generating engineering data, characterized in that: include: Drawing a specific station diagram model capable of editing operations according to the engineering drawing data, wherein different configuration information is set in the specific station diagram model; Read the engineering drawing source data of different formats of signal professional files according to the configuration information, input it into the specific station diagram model, and generate a data file corresponding to the configuration information; Wherein, drawing a specific station diagram model capable of editing operation according to the engineering drawing data comprises: Draw corresponding graphic blocks according to different devices in signal professional engineering drawing data, and set various properties and actions of the graphic blocks. One device corresponds to one graphic block, and the graphic blocks corresponding to multiple devices form a graphic block library; Insert graphic blocks into the AutoCAD drawing area, edit the properties and actions of the graphic blocks, and generate a specific station diagram model corresponding to the engineering drawing data; Wherein, the configuration information in the specific station diagram model includes primary key configuration and attribute configuration; The primary key configuration includes device ID, device name and device location information; The attribute configuration includes the switch quantity configuration and analog quantity configuration of each device; The equipment includes signal machines, turnouts, track sections, function buttons, indicator lights, direction arrows, flood prevention doors, power sections, interlocking counters, safety doors, platforms, departure timers and end signs; among them, signal machines, turnouts and track sections are key equipment; The different format files include excel format files, xml format files and text format files; Accordingly, the engineering drawing source data of different formats of the reading signal professional files include: Read data related to the primary key configuration information in an excel format file, an xml format file, and a text format file according to the primary key configuration device ID, device name, and device location information in the configuration information; Wherein, the data related to the master key configuration information at least includes switch quantity information and analog quantity information of the device; Among them, the switch quantity information of the key equipment signal machine includes the switch quantity corresponding to the light positions of various color codes, and the analog quantity information of the signal machine includes the signal machine filament relay current and the voltage corresponding to each color code; The switch quantity information of the key equipment turnout includes the position indication, reverse position indication, turnout front light band, turnout fixed light band, turnout reflective band, single seal and single lock switch quantity, and the analog quantity information of the turnout includes the turnout gap current and turnout gap voltage; The switch quantity information of the track section of key equipment is the switch quantity of the track circuit corresponding to the track section, including the switch quantity of the red light band, white light band and track relay status; the analog quantity information of the track section is the analog quantity of the track circuit corresponding to the track section, including voltage, current, carrier frequency and low frequency; The step of inputting the specific station diagram model and generating a data file corresponding to the configuration information comprises: Generate the layout files of the devices and the logical relationship files between the devices in the signal professional engineering drawing data according to the graphic blocks of different devices and various attributes and actions of the graphic blocks; The layout file and the logic device file are expanded according to the switch quantity information and analog quantity information of each device to generate an independent configuration file.

2. The method for generating engineering data according to claim 1, characterized in that: The reading of data corresponding to the configuration information in the Excel format file includes: The system environment variables are called in the background to obtain the dynamic library of the Excel program, and the data related to the primary key configuration information in the Excel format file is read by calling the method in the Excel dynamic library.

3. The engineering data generation method according to claim 1, characterized in that: The data corresponding to the configuration information in the XML format file is read as follows: The text format of the symmetric node is used for reading, and the data related to the primary key configuration information is determined by the specific node field.

4. The method for generating engineering data according to claim 1, characterized in that: The data corresponding to the configuration information in the text format file read includes: The text data separator is used as the boundary. The left side of the separator is associated with the primary key configuration, and the right side of the separator is the specific data of the required attribute. The separator can be preset, and the separator is "=", ", ":" or a space.

5. A system for generating engineering data, characterized in that: include: A drawing module, used for drawing a specific station diagram model capable of editing operations according to engineering drawing data, wherein different configuration information is set in the specific station diagram model; A generation module, used for reading engineering drawing source data of different formats of signal professional files according to the configuration information, inputting it into the specific station diagram model, and generating a data file corresponding to the configuration information; Wherein, drawing a specific station diagram model capable of editing operation according to the engineering drawing data comprises: Draw corresponding graphic blocks according to different devices in signal professional engineering drawing data, and set various properties and actions of the graphic blocks. One device corresponds to one graphic block, and the graphic blocks corresponding to multiple devices form a graphic block library; Insert graphic blocks into the AutoCAD drawing area, edit the properties and actions of the graphic blocks, and generate a specific station diagram model corresponding to the engineering drawing data; Wherein, the configuration information in the specific station diagram model includes primary key configuration and attribute configuration; The primary key configuration includes device ID, device name and device location information; The attribute configuration includes the switch quantity configuration and analog quantity configuration of each device; The equipment includes signal machines, turnouts, track sections, function buttons, indicator lights, direction arrows, flood prevention doors, power sections, interlocking counters, safety doors, platforms, departure timers and end signs; among them, signal machines, turnouts and track sections are key equipment; The different format files include excel format files, xml format files and text format files; Accordingly, the engineering drawing source data of different formats of the reading signal professional files include: Read data related to the primary key configuration information in an excel format file, an xml format file, and a text format file according to the primary key configuration device ID, device name, and device location information in the configuration information; Wherein, the data related to the master key configuration information at least includes switch quantity information and analog quantity information of the device; Among them, the switch quantity information of the key equipment signal machine includes the switch quantity corresponding to the light positions of various color codes, and the analog quantity information of the signal machine includes the signal machine filament relay current and the voltage corresponding to each color code; The switch quantity information of the key equipment turnout includes the position indication, reverse position indication, turnout front light band, turnout fixed light band, turnout reflective band, single seal and single lock switch quantity, and the analog quantity information of the turnout includes the turnout gap current and turnout gap voltage; The switch quantity information of the track section of key equipment is the switch quantity of the track circuit corresponding to the track section, including the switch quantity of the red light band, white light band and track relay status; the analog quantity information of the track section is the analog quantity of the track circuit corresponding to the track section, including voltage, current, carrier frequency and low frequency; The step of inputting the specific station diagram model and generating a data file corresponding to the configuration information comprises: Generate the layout files of the devices and the logical relationship files between the devices in the signal professional engineering drawing data according to the graphic blocks of different devices and various attributes and actions of the graphic blocks; The layout file and the logic device file are expanded according to the switch quantity information and analog quantity information of each device to generate an independent configuration file.

6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of the engineering data generating method according to any one of claims 1 to 4 are implemented.

Citation Information

Patent Citations

  • Railway station chart data structure and organization method

    CN105404704A

  • Station graph editing method

    CN105468802A