Engineering data table generation method and device

Through the method of automatically acquiring and generating engineering data tables, the problems of low engineering data table generation efficiency and poor accuracy in the existing technology are solved, fast and accurate data table generation is achieved, manual errors are reduced, and it is adapted to the needs of the rail transit industry. need.

CN115081417BActive Publication Date: 2024-10-15CRSC URBAN RAIL TRANSIT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210674695.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-14
Publication Date
2024-10-15
Estimated Expiration
2042-06-14

AI Technical Summary

Technical Problem

The engineering data table generation efficiency in the existing technology is low, and problems such as data format errors, omissions, and incorrect fillings are prone to occur, making it difficult to ensure accuracy and safety, and requiring high time and labor costs.

Method used

Through the engineering drawing file based on the target rail transit signaling system, the attribute values ​​of each equipment are obtained, and the engineering data table is generated based on these values. The data extraction module, attribute acquisition module and table generation module are used to automatically generate data configuration and reduce manual input. Improve generation efficiency and accuracy.

Benefits of technology

It achieves automated, fast and accurate generation of engineering data tables, reduces the occurrence of data errors, improves generation efficiency, ensures the correctness and security of data, and adapts to the needs of the rapidly developing rail transit industry.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115081417B_ABST
    Figure CN115081417B_ABST
Patent Text Reader

Abstract

The present invention provides a method and device for generating an engineering data table, wherein the method comprises: based on an engineering drawing file of a target rail transit signal system, obtaining the value of a first attribute of each device in the target rail transit signal system; based on the value of the first attribute of each device, obtaining the value of each field in the engineering data table corresponding to the target rail transit signal system; based on the value of each field and the format information of the engineering data table, generating the engineering data table. The method and device for generating an engineering data table provided by the present invention can automatically generate an engineering data table with available data configuration by automatically generating the relevant information of each device in the engineering data drawing according to the engineering data compilation principle, thereby freeing up manpower, reducing or avoiding problems such as data format errors, missing entries, and wrong entries, ensuring the correctness and security of the generated engineering data table, improving the efficiency of engineering data table generation, and better adapting to the needs of the rapidly developing rail transit industry.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a method and device for generating an engineering data table. Background Art

[0002] The system initialization and function realization of the urban rail transit train control center need to be based on relevant configuration data. The above configuration data can include the name, location and related attributes of each device in the rail transit signal system. The above is generally stored in the form of an engineering data table in xls or xlsx format.

[0003] At present, the above engineering data tables are generally manually entered by staff according to the compilation principles of engineering data tables and engineering data diagrams. The amount of data in the above configuration data is large, so the amount of data entry in the engineering data table is very large. The existing manual entry method is difficult to avoid problems such as data format errors, missing data, and wrong data entry in the table. It is inefficient, and it is difficult to ensure accuracy and security, which requires high time costs and high labor costs. Summary of the invention

[0004] The present invention provides a method and device for generating an engineering data table, which are used to solve the defects of low efficiency of generating an engineering data table in the prior art and realize more efficient generation of the engineering data table.

[0005] The present invention provides a method for generating an engineering data table, comprising:

[0006] Based on an engineering drawing file of a target rail transit signal system, obtaining a value of a first attribute of each device in the target rail transit signal system;

[0007] Based on the value of the first attribute of each device, obtaining the value of each field in the engineering data table corresponding to the target rail transit signal system;

[0008] The engineering data table is generated based on the values ​​of the fields and the format information of the engineering data table.

[0009] According to a method for generating an engineering data table provided by the present invention, obtaining the value of each field in the engineering data table corresponding to the target rail transit signal system based on the value of the first attribute of each device includes:

[0010] For any field, when the field does not correspond to any first attribute, the value of the field in the engineering data table is obtained based on the value of the first attribute of the device corresponding to the field and the value of the first attribute of the device associated with the device corresponding to the field.

[0011] According to a method for generating an engineering data table provided by the present invention, the method of obtaining the value of each field in the engineering data table corresponding to the target rail transit signal system based on the value of the first attribute of each device further includes:

[0012] For any field, when the field corresponds to any first attribute, the value of the first attribute corresponding to the field is determined as the value of the field in the engineering data table.

[0013] According to a method for generating an engineering data table provided by the present invention, the method of obtaining the value of the first attribute of each device in the target rail transit signal system based on the engineering drawing file of the target rail transit signal system includes:

[0014] Open the engineering drawing file, and obtain the value of the second attribute of each target graphic element from the memory variable;

[0015] Based on the value of the second attribute of each target graphic element, obtaining the value of the first attribute of each device;

[0016] The target graphic element is a graphic element representing a device in the target rail transit signal system.

[0017] According to a method for generating an engineering data table provided by the present invention, after obtaining the value of the first attribute of each device based on the attribute of each target graphic element, the method further includes:

[0018] The value of the first attribute of each device is stored in a target database.

[0019] According to a method for generating an engineering data table provided by the present invention, before generating the engineering data table based on the values ​​of the fields and the format information of the engineering data table, the method further comprises:

[0020] Based on the engineering data compilation principle, determine the format information of the engineering data table;

[0021] The format information of the engineering data table includes the table header name and table size information.

[0022] The present invention also provides a device for generating an engineering data table, comprising:

[0023] A data extraction module, used for acquiring a value of a first attribute of each device in the target rail transit signal system based on an engineering drawing file of the target rail transit signal system;

[0024] An attribute acquisition module, used to acquire the value of each field in the engineering data table corresponding to the target rail transit signal system based on the value of the first attribute of each device;

[0025] The table generation module is used to generate the engineering data table based on the values ​​of the fields and the format information of the engineering data table.

[0026] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, any one of the above-mentioned methods for generating an engineering data table is implemented.

[0027] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method for generating an engineering data table as described in any one of the above is implemented.

[0028] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the method for generating an engineering data table as described above is implemented.

[0029] The engineering data table generation method and device provided by the present invention can automatically generate an engineering data table with available data configuration by using the relevant information of each device in the engineering data drawing according to the engineering data compilation principle, so as to realize automatic, fast and accurate generation of engineering data tables according to engineering drawings, free up manpower, reduce or avoid problems such as data format errors, missing data, wrong data filling, etc., ensure the correctness and security of the generated engineering data table, improve the efficiency of engineering data table generation and reduce errors caused by manual input, and better meet the needs of the rapidly developing rail transit industry. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. 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.

[0031] Figure 1 It is a flow chart of the method for generating an engineering data table provided by the present invention;

[0032] Figure 2 It is a data flow diagram of the engineering data table generation method provided by the present invention;

[0033] Figure 3 It is a structural schematic diagram of the engineering data table generating device provided by the present invention;

[0034] Figure 4 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0035] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings 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.

[0036] In the description of the embodiments of the present invention, the terms “first”, “second” and “third” are only used for descriptive purposes and are not to be understood as indicating or implying relative importance and are not related to the order.

[0037] Combine the following Figures 1 to 4 The invention describes a method and device for generating an engineering data table.

[0038] Figure 1 FIG. 1 is a flow chart of the method for generating an engineering data table provided by the present invention. Figure 1 As shown, the execution subject of the engineering data table generation method provided in the embodiment of the present invention may be an engineering data table generation device, and the method includes: step 101, step 102 and step 103.

[0039] Step 101: Based on an engineering drawing file of a target rail transit signal system, obtain a value of a first attribute of each device in the target rail transit signal system.

[0040] Specifically, the engineering drawing file of the target rail transit signal system may be a CAD drawing file drawn by computer-aided design software. The engineering drawing file may be used to save an electronic map of the target rail transit signal system.

[0041] Optionally, the computer-aided design software may be any CAD software.

[0042] The primitives in the CAD drawing file have the most basic geometric information and status information, such as coordinate information, color information, and text information, etc. These basic information can describe the drawing style and status of the primitive. Therefore, by combining the primitive information of each primitive in the CAD drawing file, the value of the first attribute of the device represented by the device primitive can be obtained.

[0043] Optionally, the graphic element information of each graphic element may be read from the engineering drawing file through the secondary development interface of the CAD software, thereby obtaining the value of the first attribute of each device in the target rail transit signal system.

[0044] Among them, the secondary development of CAD software can be used to customize and expand CAD functions. AutoCAD or domestic CAD software supports secondary development, and the commonly used secondary development interfaces are AutoLisp, .Net, ObjectARX, etc. Through the above secondary development interface, the primitive information of the primitive can be obtained in the CAD drawing, and the function of interacting with the database can be added on the basis of the above secondary development interface to store the read primitive information in the database.

[0045] For example, the engineering drawing file can be drawn based on the secondary development of AutoCAD based on ObjectARX. When drawing each equipment element in the engineering drawing, the CAD software can automatically calculate the association or ownership relationship between the current element and other elements, such as the station, central area and interlocking area, and automatically obtain the attribute value of the current element according to the associated element and save it.

[0046] The first attribute of the equipment may include the equipment name, coordinates, track section, signal direction and switch direction, etc.

[0047] Step 102: Based on the value of the first attribute of each device, obtain the value of each field in the engineering data table corresponding to the target rail transit signal system.

[0048] Specifically, the fields in the engineering data table are used to describe information such as the name, location and related equipment attributes of the equipment in the target rail transit signal system. Therefore, the value of each field in each engineering data table can be directly obtained according to the value of the first attribute of each device obtained from the engineering drawing file, and / or the value of each field in each engineering data table can be obtained after calculation based on the value of the first attribute of each device obtained from the engineering drawing file.

[0049] It can be understood that the number of engineering data tables corresponding to the target rail transit signal system may be one or more.

[0050] Step 103: Generate an engineering data table based on the value of each field and the format information of the engineering data table.

[0051] Specifically, the format information of the engineering data table is used to describe information such as the style of the engineering data table.

[0052] For each engineering data table, the header and cells of the engineering data table can be generated based on the format information of the engineering data table, and each row can correspond to a device; then for each field in the engineering data table, the value of the field can be filled into the corresponding cell to generate the engineering data table.

[0053] Optionally, before generating the engineering data table, the information required in the data table has been calculated and sorted according to the up-down and down-to-left position relationship according to the compilation principle.

[0054] Optionally, the sorting may be performed by performing at least one of the following:

[0055] Based on the preset order of each field, sort the values ​​of each field left and right;

[0056] Sort the values ​​of a field up or down based on the order of the values ​​of a field.

[0057] Exemplarily, the order of the fields may be in ascending or descending order based on the field name;

[0058] For example, the order of the values ​​of a certain field may be in ascending order or descending order based on the size of the value of the field.

[0059] It can be understood that the engineering data table generated by the engineering data table generation method provided by the embodiment of the present invention does not require manual setting of the format and content, and can be directly used for related work of configuring data.

[0060] It is understandable that when an engineering drawing file is modified, the engineering data table generation method provided by the embodiment of the present invention can directly obtain the engineering data table corresponding to the drawing, without the need to compare the drawing to find the modified part and modify the table.

[0061] The embodiment of the present invention realizes the automatic, fast and accurate generation of engineering data tables according to engineering drawings by automatically generating engineering data tables with available data configuration according to engineering data compilation principles through the relevant information of each device in the engineering data drawing. This can liberate manpower, reduce or avoid problems such as data format errors, missing entries, and wrong entries, ensure the correctness and security of the generated engineering data tables, improve the efficiency of engineering data table generation and reduce errors caused by manual input, and better meet the needs of the rapidly developing rail transit industry.

[0062] Based on the content of any of the above embodiments, based on the value of the first attribute of each device, the value of each field in the engineering data table corresponding to the target rail transit signal system is obtained, including: for any field, when any field does not correspond to each first attribute, based on the value of the first attribute of the device corresponding to any field and the value of the first attribute of the device associated with the device corresponding to any field, the value of any field in the engineering data table is obtained.

[0063] Specifically, the properties of various types of equipment obtained from the engineering drawing file (ie, the value of the first property) cannot completely cover the required fields in the engineering data table. For the uncovered fields, calculations can be performed based on the obtained properties.

[0064] Optionally, attribute calculation is performed based on the current existing attribute of the device primitive to which the attribute to be calculated belongs (ie, the value of the first attribute) and the value of the first attribute of the associated primitive to obtain the value of the uncovered field.

[0065] Optionally, the attribute values ​​of each graphic element may be sorted according to the engineering data compilation principle and the sorting requirements specified in the compilation principle.

[0066] Optionally, for the values ​​of uncovered fields that need to be sorted before calculation, the attribute values ​​of the sorted primitives can be used to traverse all data, and attribute calculations can be performed based on the current attributes of the device primitive to which the attribute to be calculated belongs (i.e., the value of the first attribute) and the value of the first attribute of the associated primitive, thereby completing all attribute calculations.

[0067] For example, the "Platform Door Opening Code" table in the engineering data table has no clear corresponding equipment in the engineering drawing, but is related to the shielded parking point. Therefore, this table information needs to be attributed. The specific calculation steps may include:

[0068] The "Platform Door Opening Code" table contains "Serial Number", "Station Name", "Relay Name", "Up and Down Line", "Train Formation", "Corresponding Track Section", etc.

[0069] According to the engineering data compilation principle, the parking points are sorted according to their up and down attributes (for example, down first and up later), and the parking points are sorted from left to right according to the attributes of the stations to which they belong;

[0070] Using the sorted parking spots, traverse all parking spots. The name of the station to which the parking spot belongs is the value of the field "Station Name" in the table.

[0071] By obtaining the "train formation" and "up and down" attributes of the stop point, the value of the field "train formation" and the value of the field "up and down" in the table can be obtained;

[0072] According to the PSD (Platform Screen Doors) name associated with the parking point and the corresponding track section, the field "Relay Name" and the corresponding track section of the value in the table can be obtained.

[0073] The embodiment of the present invention obtains the value of the first attribute of each device from the engineering drawing file, calculates the value of the field that does not correspond to each first attribute, and can more efficiently and accurately obtain the value of the field not covered by the engineering drawing file, thereby improving the efficiency of generating engineering data tables and better adapting to the needs of the rapidly developing rail transit industry.

[0074] Based on the content of any of the above embodiments, based on the value of the first attribute of each device, the value of each field in the engineering data table corresponding to the target rail transit signal system is obtained, which also includes: for any field, when any field corresponds to any first attribute, the value of the first attribute corresponding to any field is determined as the value of any field in the engineering data table.

[0075] Specifically, for fields in the engineering data table covered by the attributes of various types of equipment obtained from the engineering drawing file, the value of the first attribute corresponding to the field can be directly determined as the value of the field.

[0076] The embodiment of the present invention can more efficiently and accurately obtain the value of the field covered by the first attribute of each device obtained from the engineering drawing file by determining the value of the first attribute corresponding to the field as the value of the field, thereby improving the efficiency of generating engineering data tables and better adapting to the needs of the rapidly developing rail transit industry.

[0077] Based on the content of any of the above embodiments, based on the engineering drawing file of the target rail transit signal system, obtaining the value of the first attribute of each device in the target rail transit signal system includes: opening the engineering drawing file, and obtaining the value of the second attribute of each target graphic element from a memory variable; wherein the target graphic element is a graphic element representing the device in the target rail transit signal system.

[0078] Specifically, the engineering data diagram is drawn using CAD drawing software that is secondary developed based on ObjectARX. The drawn equipment graphics are automatically associated with each other, and some attributes of the equipment are automatically calculated.

[0079] For some device properties that have not been automatically calculated, the property automatic calculation command can be used to calculate the properties of all devices in the map and store the corresponding values ​​in memory variables.

[0080] The user can input a second input to the engineering drawing file of the target rail transit signal system. The engineering data table generating device receives the second input and can open the engineering drawing file in response to the second input. After opening the engineering drawing file, the second attribute value of each primitive is stored in the memory variable, so that the value of the second attribute of each target primitive can be extracted.

[0081] Optionally, the second attribute may include at least one of a vehicle stop, a station sign, a switch, a departure counter, engineering parameter information, a kilometer mark, a kilometer mark configuration table, a centralized area boundary, an axle counter, a takeover and transfer area, an emergency stop button, a warning sign, a shield door, a section boundary graphic element, a civil air defense door, an up and down line, a stop sign, a line, a signal machine, a transponder, a platform, a long and short chain, a main section, a switching point and a sub-section.

[0082] Based on the value of the second attribute of each target primitive, the value of the first attribute of each device is obtained.

[0083] Specifically, the target primitive represents a device in the target rail transit signal system, and the second attribute of the target primitive corresponds to the first attribute of the device represented by the target primitive. Therefore, the value of the first attribute of the device represented by the target primitive can be obtained according to the value of the second attribute of the target primitive.

[0084] The embodiment of the present invention opens the engineering drawing file, obtains the value of the second attribute of each target graphic element from the memory variable, and obtains the value of the first attribute of each device based on the value of the second attribute of each target graphic element. The value of the first attribute of each device can be obtained more quickly and efficiently, thereby improving the efficiency of generating engineering data tables and better adapting to the needs of the rapidly developing rail transit industry.

[0085] Based on the content of any of the above embodiments, after obtaining the value of the first attribute of each device based on the attribute of each target graphic element, the method further includes: storing the value of the first attribute of each device in a target database.

[0086] Specifically, the user can input the first input by inputting a specified command in the drawing software or clicking an export to database button. The engineering data table generating device receives the first input, and in response to the first input, can specify and connect to the target database, clear all original data in the target database, extract the data in the memory variable according to the device category, and save the value of the first attribute of each device extracted from the memory variable to the database sub-table storage to obtain an ordered table. According to the ordered table, the value of each field can be saved one by one to the engineering data table of the corresponding category name.

[0087] It can be understood that by extracting and storing the information of each device in the engineering data diagram into a database, database tables can be defined according to various scenarios, which has a wider range of applicable scenarios.

[0088] The embodiment of the present invention can quickly save the data in the database into a table by storing the value of the first attribute of each device in the target database, thereby improving the efficiency of generating engineering data tables and better adapting to the needs of the rapidly developing rail transit industry.

[0089] Based on the content of any of the above embodiments, based on the values ​​of each field and the format information of the engineering data table, before generating the engineering data table, it also includes: determining the format information of the engineering data table based on the engineering data compilation principles; wherein the format information of the engineering data table includes the table header name and the size information of the table.

[0090] Specifically, the format information of the engineering data table, such as the table header name and the size information of the table, may be determined based on the engineering data compilation principle.

[0091] The size information of the table may include the total height and width of the table, and / or the height and width of each cell.

[0092] The embodiment of the present invention determines the format information of the engineering data table based on the engineering data compilation principle, can generate a blank engineering data table more quickly and efficiently, is more convenient to fill in the blank engineering data table according to the value of the first attribute of each device obtained from the engineering drawing file, and generates an engineering data table. It can ensure the correctness and security of the generated engineering data table, improve the efficiency of engineering data table generation, and better meet the needs of the rapidly developing rail transit industry.

[0093] In order to facilitate the understanding of the above-mentioned embodiments of the present invention, the implementation process of generating the engineering data table is described below.

[0094] Figure 2 It is a data flow diagram of the engineering data table generation method provided by the present invention. Figure 2 The data flow process of the engineering data table generation process is shown.

[0095] The engineering data table generating device provided by the present invention is described below. The engineering data table generating device described below and the engineering data table generating method described above can be referenced to each other.

[0096] Figure 3 Schematic diagram of the structure of the engineering data table generating device provided by the present invention. Figure 3 As shown, the device includes a data extraction module 301, an attribute acquisition module 302 and a table generation module 303, wherein:

[0097] The data extraction module 301 is used to obtain the value of the first attribute of each device in the target rail transit signal system based on the engineering drawing file of the target rail transit signal system;

[0098] The attribute acquisition module 302 is used to acquire the value of each field in the engineering data table corresponding to the target rail transit signal system based on the value of the first attribute of each device;

[0099] The table generation module 303 is used to generate the engineering data table based on the value of each field and the format information of the engineering data table.

[0100] Specifically, the data extraction module 301 , the attribute acquisition module 302 , and the table generation module 303 may be electrically connected in sequence.

[0101] The data extraction module 301 can read the graphic element information of each graphic element from the engineering drawing file through the secondary development interface of the CAD software, so as to obtain the value of the first attribute of each device in the target rail transit signal system.

[0102] The attribute acquisition module 302 may obtain the value of each field in each engineering data table directly and / or after calculation according to the value of the first attribute of each device obtained from the engineering drawing file.

[0103] For each engineering data table, the table generation module 303 can generate the header and cells of the engineering data table based on the format information of the engineering data table, and each row can correspond to a device; then for each field in the engineering data table, the value of the field can be filled into the corresponding cell, thereby generating the engineering data table.

[0104] Optionally, the attribute acquisition module 302 may include:

[0105] The attribute calculation unit is used to obtain the value of any field in the engineering data table based on the value of the first attribute of the device corresponding to any field and the value of the first attribute of the device associated with the device corresponding to any field, when any field does not correspond to each first attribute.

[0106] Optionally, the attribute acquisition module 302 may further include:

[0107] The attribute determination unit is used to determine the value of the first attribute corresponding to any field as the value of any field in the engineering data table when any field corresponds to any first attribute.

[0108] Optionally, the data extraction module 301 may include:

[0109] The file opening unit is used to open the engineering drawing file and obtain the value of the second attribute of each target graphic element from the memory variable;

[0110] an attribute extraction unit, configured to obtain a value of a first attribute of each device based on a value of a second attribute of each target graphic element;

[0111] The target graphic element is a graphic element representing a device in the target rail transit signal system.

[0112] Optionally, the data extraction module 301 may further include:

[0113] The storage unit is used to store the value of the first attribute of each device in the target database.

[0114] Optionally, the engineering data table generating device may further include:

[0115] The table configuration module is used to determine the format information of the engineering data table based on the engineering data compilation principle;

[0116] Among them, the format information of the engineering data table includes the header name and the size information of the table.

[0117] The engineering data table generating device provided in an embodiment of the present invention is used to execute the above-mentioned engineering data table generating method of the present invention. Its implementation method is consistent with the implementation method of the engineering data table generating method provided by the present invention, and can achieve the same beneficial effects, which will not be repeated here.

[0118] The engineering data table generating device is used in the engineering data table generating method in the above embodiments. Therefore, the description and definition in the engineering data table generating method in the above embodiments can be used for understanding each execution module in the embodiments of the present invention.

[0119] The embodiment of the present invention realizes the automatic, fast and accurate generation of engineering data tables according to engineering drawings by automatically generating engineering data tables with available data configuration according to engineering data compilation principles through the relevant information of each device in the engineering data drawing. This can liberate manpower, reduce or avoid problems such as data format errors, missing entries, and wrong entries, ensure the correctness and security of the generated engineering data tables, improve the efficiency of engineering data table generation and reduce errors caused by manual input, and better meet the needs of the rapidly developing rail transit industry.

[0120] Figure 4 is a schematic diagram of the structure of the electronic device provided by the present invention, such as Figure 4 As shown, the electronic device may include: a processor 410, a communication interface 420, a memory 430 and a communication bus 440, wherein the processor 410, the communication interface 420 and the memory 430 communicate with each other through the communication bus 440. The processor 410 may call the logic instructions in the memory 430 to execute the engineering data table generation method, which includes: based on the engineering drawing file of the target rail transit signal system, obtaining the value of the first attribute of each device in the target rail transit signal system; based on the value of the first attribute of each device, obtaining the value of each field in the engineering data table corresponding to the target rail transit signal system; based on the value of each field and the format information of the engineering data table, generating the engineering data table.

[0121] In addition, the logic instructions in the above-mentioned memory 430 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of various embodiments 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, etc. Various media that can store program codes.

[0122] The processor 410 in the electronic device provided in the embodiment of the present application can call the logic instructions in the memory 430. Its implementation method is consistent with the implementation method of the engineering data table generation method provided in the present application, and can achieve the same beneficial effects, which will not be repeated here.

[0123] On the other hand, the present invention also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the engineering data table generation method provided by the above-mentioned methods, and the method includes: based on the engineering drawing file of the target rail transit signal system, obtaining the value of the first attribute of each device in the target rail transit signal system; based on the value of the first attribute of each device, obtaining the value of each field in the engineering data table corresponding to the target rail transit signal system; based on the value of each field and the format information of the engineering data table, generating an engineering data table.

[0124] When the computer program product provided in the embodiment of the present application is executed, the above-mentioned engineering data table generation method is implemented. Its specific implementation method is consistent with the implementation method recorded in the embodiment of the aforementioned method, and can achieve the same beneficial effects, which will not be repeated here.

[0125] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, it is implemented to execute the above-mentioned engineering data table generation method, the method comprising: based on the engineering drawing file of the target rail transit signal system, obtaining the value of the first attribute of each device in the target rail transit signal system; based on the value of the first attribute of each device, obtaining the value of each field in the engineering data table corresponding to the target rail transit signal system; based on the value of each field and the format information of the engineering data table, generating an engineering data table.

[0126] When the computer program stored on the non-transitory computer-readable storage medium provided in the embodiment of the present application is executed, the above-mentioned engineering data table generation method is implemented. Its specific implementation method is consistent with the implementation method described in the embodiment of the aforementioned method, and can achieve the same beneficial effects, which will not be repeated here.

[0127] 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 shown as units may or may not be physical units, i.e., they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative effort.

[0128] 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 of each embodiment or some parts of the embodiment.

[0129] 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 an engineering data table, characterized in that: include: Based on an engineering drawing file of a target rail transit signal system, obtaining a value of a first attribute of each device in the target rail transit signal system; Based on the value of the first attribute of each device, obtaining the value of each field in the engineering data table corresponding to the target rail transit signal system; Generate the engineering data table based on the values ​​of the fields and the format information of the engineering data table; Wherein, the acquiring, based on the value of the first attribute of each device, the value of each field in the engineering data table corresponding to the target rail transit signal system includes: For any field, when the field does not correspond to any first attribute, the value of the field in the engineering data table is obtained based on the value of the first attribute of the device corresponding to the field and the value of the first attribute of the device associated with the device corresponding to the field.

2. The method for generating an engineering data table according to claim 1, characterized in that: The acquiring, based on the value of the first attribute of each device, the value of each field in the engineering data table corresponding to the target rail transit signal system further includes: For any field, when the field corresponds to any first attribute, the value of the first attribute corresponding to the field is determined as the value of the field in the engineering data table.

3. The method for generating an engineering data table according to claim 1, characterized in that: The acquiring, based on the engineering drawing file of the target rail transit signal system, the value of the first attribute of each device in the target rail transit signal system comprises: Open the engineering drawing file, and obtain the value of the second attribute of each target graphic element from the memory variable; Based on the value of the second attribute of each target graphic element, obtaining the value of the first attribute of each device; The target graphic element is a graphic element representing a device in the target rail transit signal system.

4. The method for generating an engineering data table according to claim 3, characterized in that: After acquiring the value of the first attribute of each device based on the attribute of each target graphic element, the method further includes: The value of the first attribute of each device is stored in a target database.

5. The method for generating an engineering data table according to any one of claims 1 to 4, characterized in that: Before generating the engineering data table based on the values ​​of the fields and the format information of the engineering data table, the method further includes: Based on the engineering data compilation principle, determine the format information of the engineering data table; The format information of the engineering data table includes the table header name and table size information.

6. A device for generating an engineering data table, characterized in that: include: A data extraction module, used for acquiring a value of a first attribute of each device in the target rail transit signal system based on an engineering drawing file of the target rail transit signal system; An attribute acquisition module, used to acquire the value of each field in the engineering data table corresponding to the target rail transit signal system based on the value of the first attribute of each device; A table generation module, used for generating the engineering data table based on the values ​​of the fields and the format information of the engineering data table; The attribute acquisition module may include: The attribute calculation unit is used to obtain the value of any field in the engineering data table based on the value of the first attribute of the device corresponding to the any field and the value of the first attribute of the device associated with the device corresponding to the any field, when the any field does not correspond to each first attribute.

7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method for generating an engineering data table as described in any one of claims 1 to 5 is implemented.

8. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for generating an engineering data table as claimed in any one of claims 1 to 5 is implemented.

9. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method for generating an engineering data table as claimed in any one of claims 1 to 5 is implemented.