CN115081417A - Engineering data table generation method and device - Google Patents

Engineering data table generation method and device Download PDF

Info

Publication number
CN115081417A
CN115081417A CN202210674695.6A CN202210674695A CN115081417A CN 115081417 A CN115081417 A CN 115081417A CN 202210674695 A CN202210674695 A CN 202210674695A CN 115081417 A CN115081417 A CN 115081417A
Authority
CN
China
Prior art keywords
data table
engineering data
attribute
engineering
values
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210674695.6A
Other languages
Chinese (zh)
Inventor
许玲玲
胡旭
杨艳京
于磊
叶伟
刘龙
曾重阳
蔚彦昭
乔文可
孙凯迪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CRSC Urban Rail Transit Technology Co Ltd
Original Assignee
CRSC Urban Rail Transit Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CRSC Urban Rail Transit Technology Co Ltd filed Critical CRSC Urban Rail Transit Technology Co Ltd
Priority to CN202210674695.6A priority Critical patent/CN115081417A/en
Publication of CN115081417A publication Critical patent/CN115081417A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/183Tabulation, i.e. one-dimensional positioning
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B61RAILWAYS
    • B61LGUIDING RAILWAY TRAFFIC; ENSURING THE SAFETY OF RAILWAY TRAFFIC
    • B61L27/00Central railway traffic control systems; Trackside control; Communication systems specially adapted therefor
    • B61L27/40Handling position reports or trackside vehicle data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management

Abstract

The invention provides a method and a device for generating an engineering data table, wherein the method comprises the following steps: acquiring values of first attributes of all devices in a target rail transit signal system based on an engineering drawing file of the target rail transit signal system; acquiring values of all fields in an engineering data table corresponding to the target rail transit signal system based on the values of the first attributes of all the devices; and generating the engineering data table based on the values of the fields and the format information of the engineering data table. According to the engineering data table generation method and device provided by the invention, the relevant information of each device in the engineering data chart is automatically generated into the engineering data table available for data configuration according to the engineering data compilation principle, so that the manpower is liberated, the problems of data format errors, missing filling, wrong filling and the like can be reduced or avoided, the correctness and the safety of the generated engineering data table can be ensured, the efficiency of generating the engineering data table can be improved, and the requirements of the rapidly-developing rail transit industry can be met.

Description

Engineering data table generation method and device
Technical Field
The invention relates to the technical field of computers, in particular to a method and a device for generating an engineering data table.
Background
The system initialization and the function realization of the urban rail transit train control center need to be established on the basis of relevant configuration data. The configuration data may include information such as names, locations, and associated attributes of devices in the track traffic signal system. The above is typically stored in the form of an engineering data table in xls or xlsx format.
At present, the engineering data sheet is generally manually input by a worker according to the compiling principle of the engineering data sheet and an engineering data chart. The data volume of the configuration data is large, so that the input volume of an engineering data table is very large, the problems of data format errors, missing filling, wrong filling and the like in the table are difficult to avoid in the conventional manual input mode, the efficiency is low, the accuracy and the safety are difficult to guarantee, and higher time cost and higher labor cost are required to be consumed.
Disclosure of Invention
The invention provides a method and a device for generating an engineering data table, which are used for overcoming the defects of low efficiency and the like of generating the engineering data table in the prior art and realizing more efficient generation of the engineering data table.
The invention provides a method for generating an engineering data table, which comprises the following steps:
acquiring values of first attributes of all devices in a target rail transit signal system based on an engineering drawing file of the target rail transit signal system;
acquiring values of all fields in an engineering data table corresponding to the target rail transit signal system based on the values of the first attributes of all the devices;
and generating the engineering data table based on the values of the fields and the format information of the engineering data table.
According to the engineering data table generation method provided by the invention, the obtaining of the value of each field in the engineering data table corresponding to the target track traffic signal system based on the value of the first attribute of each device includes:
for any field, under the condition that the any field does not correspond to each first attribute, acquiring the value of the any field in the engineering data table based on the value of the first attribute of the equipment corresponding to the any field and the value of the first attribute of the equipment associated with the equipment corresponding to the any field.
According to the engineering data table generation method provided by the present invention, the obtaining values of fields in the engineering data table corresponding to the target track traffic signal system based on the values of the first attribute of each device further includes:
for any field, if the any field corresponds to any first attribute, determining the value of the first attribute corresponding to the any field as the value of the any field in the engineering data table.
According to the engineering data table generation method provided by the invention, the acquiring of the first attribute values of each device in the target track traffic signal system based on the engineering drawing file of the target track traffic signal system comprises the following steps:
opening the engineering drawing file, and acquiring the value of the second attribute of each target primitive from the memory variable;
acquiring the value of the first attribute of each device based on the value of the second attribute of each target primitive;
wherein the target primitive is a primitive representing a device in the target track traffic signal system.
According to the engineering data table generating method provided by the present invention, after obtaining the value of the first attribute of each device based on the attribute of each target primitive, the method further includes:
and storing the values of the first attributes of the devices in a target database.
According to the engineering data table generating method 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:
determining format information of the engineering data table based on an engineering data compiling principle;
and the format information of the engineering data table comprises a header name and size information of the table.
The invention also provides a device for generating the engineering data table, which comprises:
the data extraction module is used for acquiring values of first attributes of all devices in a target rail transit signal system based on an engineering drawing file of the target rail transit signal system;
the attribute acquisition module is used for acquiring values of all fields in an engineering data table corresponding to the target track traffic signal system based on the values of the first attributes of all the devices;
and the table generating module is used for generating the engineering data table based on the values of the fields and the format information of the engineering data table.
The invention also provides an electronic device, which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein when the processor executes the program, the processor realizes the engineering data table generating method.
The present invention also provides a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the engineering data table generating method as described in any of the above.
The invention also provides a computer program product comprising a computer program which, when executed by a processor, implements the method for generating an engineering data sheet as described in any one of the above.
According to the engineering data table generation method and device, the available engineering data table for data configuration is automatically generated according to the engineering data compilation principle by the relevant information of each device in the engineering data chart, so that the engineering data table can be automatically, quickly and accurately generated according to the engineering data chart, manpower can be saved, the problems of data format errors, filling leakage, filling errors and the like can be reduced or avoided, the correctness and the safety of the generated engineering data table can be ensured, the efficiency of generating the engineering data table can be improved, the errors caused by manual input can be reduced, and the requirements of the rapidly-developing rail transit industry can be met.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic flow chart diagram of a method for generating an engineering data table according to the present invention;
FIG. 2 is a data flow diagram of a method for generating an engineering data table according to the present invention;
FIG. 3 is a schematic structural diagram of an engineering data table generating apparatus provided in the present invention;
fig. 4 is a schematic structural diagram of an electronic device provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the embodiments of the invention, the terms "first", "second", and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance, nor order.
The following describes a method and an apparatus for generating an engineering data table according to the present invention with reference to fig. 1 to 4.
Fig. 1 is a schematic flow chart of a method for generating an engineering data table according to the present invention. As shown in fig. 1, an execution subject of the engineering data table generating method provided in the embodiment of the present invention may be an engineering data table generating device, and the method includes: step 101, step 102 and step 103.
Step 101, acquiring values of first attributes of each device in the target track traffic signal system based on the engineering drawing file of the target track traffic signal system.
Specifically, the engineering drawing file of the target track traffic signal system may be a CAD drawing file drawn by computer aided design software. The engineering drawing file can be used for storing an electronic map of a target rail transit signal system.
Alternatively, the computer aided design software may be any CAD software.
The primitives in the CAD drawing file have the most basic geometric information and state information, such as coordinate information, color information, and text information. The basic information can describe the drawing style and the state of the primitive, so that the value of the first attribute of the equipment represented by the equipment primitive can be obtained through the primitive information of each primitive in the CAD drawing file.
Optionally, the primitive information of each primitive may be read from the engineering drawing file through a secondary development interface of the CAD software, so as to obtain the value of the first attribute of each device in the target track traffic signal system.
The secondary development of the CAD software can be used for customizing and expanding CAD functions, the AutoCAD software or the domestic CAD software supports the secondary development, and common secondary development interfaces comprise AutoLisp, Net, ObjectARX and the like. The secondary development interface can obtain the primitive information of the primitive in the CAD drawing, and can also add the function of interacting with the database on the basis of the secondary development interface so as to store the read primitive information to the database.
Illustratively, the project map file may be rendered based on a secondary development of AutoCAD based on ObjectARX. When drawing each equipment primitive in the engineering drawing, the CAD software can automatically calculate the association or affiliation relationship between the current primitive and other primitives, such as the affiliated station, the concentration area, the interlocking area, and the like, and automatically acquire and store the attribute value of the current primitive according to the associated primitive.
The first attribute of the device may include a device name, coordinates, a track section to which the device belongs, a signal orientation, a switch direction, and the like.
And 102, acquiring values of all fields in an engineering data table corresponding to the target track traffic signal system based on the values of the first attributes of all the devices.
Specifically, the fields in the engineering data table are used for describing information such as names, positions and related equipment attributes of the equipment in the target track traffic signal system, so that the values of the fields in the engineering data table can be directly obtained according to the values of the first attributes of the equipment obtained from the engineering drawing file, and/or the values of the fields in the engineering data table can be obtained after calculation according to the values of the first attributes of the equipment obtained from the engineering drawing file.
It is understood that the number of the engineering data tables corresponding to the target track traffic signal system may be one or more.
And 103, generating the engineering data table based on the values of the fields and the format information of the engineering data table.
Specifically, the format information of the engineering data table is used for describing the style and other information of the engineering data table.
For each project data table, generating a table header and each cell of the project data table based on the format information of the project data table, wherein each row can correspond to one device; for each field in the engineering data table, the value of the field may then be populated into the corresponding cell, thereby generating the engineering data table.
Optionally, before the engineering data table is generated, the information required in the data table is already calculated and sorted according to the compiling principle according to the up-down and left-right position relationship.
Optionally, the ordering may be at least one of:
based on the preset sequence of each field, the values of each field are sorted left and right;
and sorting the values of the fields up and down based on the sequence of the values of the fields.
Illustratively, the sequence of the fields can be ascending or descending based on the field names;
illustratively, the order of the values of a certain field may be ascending or descending based on the size of the values of the field.
It can be understood that the format and the content of the engineering data table generated by the engineering data table generation method provided by the embodiment of the invention are not required to be manually set, and the engineering data table can be directly used for related work of configuration data.
It can be understood that, after the engineering drawing file is changed, the engineering data table corresponding to the drawing can be directly obtained by adopting the engineering data table generating method provided by the embodiment of the invention, and the modified table does not need to be searched for the changed part according to the drawing.
According to the embodiment of the invention, the engineering data table available for data configuration is automatically generated according to the relevant information of each device in the engineering data chart and the engineering data compiling principle, so that the engineering data table can be automatically, quickly and accurately generated according to the engineering chart, the manpower can be liberated, the problems of data format errors, missing filling, wrong filling and the like can be reduced or avoided, the correctness and the safety of the generated engineering data table can be ensured, the efficiency of generating the engineering data table can be improved, the errors caused by manual input can be reduced, and the requirements of the rapidly-developed rail transit industry can be met.
Based on the content of any one of the embodiments, obtaining the value of each field in the engineering data table corresponding to the target track traffic signal system based on the value of the first attribute of each device includes: for any field, under the condition that any field does not correspond to each first attribute, the value of any field in the engineering data table is obtained based on the value of the first attribute of the equipment corresponding to any field and the value of the first attribute of the equipment associated with the equipment corresponding to any field.
Specifically, the attributes (i.e., the values of the first attributes) of the various types of devices obtained from the engineering drawing file cannot completely cover the fields required in the engineering data table, and for the fields that are not covered, calculation may be performed according to the obtained attributes.
Optionally, the attribute calculation is performed according to the current existing attribute (i.e., the value of the first attribute) of the device primitive to which the attribute belongs and the value of the first attribute of the associated primitive, so as to obtain the value of the uncovered field.
Optionally, the attribute values of the primitives may be sorted according to a project data compiling principle and according to a sorting requirement specified by the compiling principle.
Optionally, for the values of the uncovered fields that need to be sorted and can be calculated only, the attribute values of the sorted primitives can be utilized to traverse all data, and attribute calculation is performed according to the currently existing attribute (i.e., the value of the first attribute) of the primitive of the device to which the attribute to be calculated belongs and the value of the first attribute of the associated primitive, so that all attribute calculation is completed.
For example, the "platform door opening code" table in the engineering data table does not explicitly correspond to the equipment in the engineering drawing, but is related to the shielded parking spot, and therefore, the attribute calculation is required for the table information. The specific calculation step may include:
the "platform opening code" table includes "serial number", "station name", "relay name", "up and down", "train marshalling", "corresponding track section", and the like;
sorting the parking points according to the up-down attributes of the parking points according to an engineering data compiling principle (for example, sorting the parking points from the down to the up), and sorting the parking points from left to right according to the attributes of the stations to which the parking points belong;
traversing all the parking points by using the sorted parking points, wherein the names of the stations to which the parking points belong are the values of the field 'station names' in the table;
by obtaining attributes of 'train marshalling' and 'uplink and downlink' of the stopping point, a value of a field 'train marshalling' and a value of a field 'uplink and downlink' in the table can be obtained;
the values of the fields "relay name" and "relay zone" in the table can be obtained according to the PSD (Platform Screen Doors) name associated with the parking spot and the corresponding track zone.
According to the embodiment of the invention, the values of the fields which do not correspond to each first attribute are calculated by acquiring the values of the first attributes of the equipment from the engineering drawing file, so that the values of the fields which are not covered by the engineering drawing file can be acquired more efficiently and accurately, the efficiency of generating the engineering data table can be improved, and the requirements of the rapidly developing rail transit industry can be met.
Based on the content of any of the above embodiments, obtaining the value of each field in the engineering data table corresponding to the target track traffic signal system based on the value of the first attribute of each device, further includes: and for any field, determining the value of the first attribute corresponding to any field as the value of any field in the engineering data table under the condition that any field corresponds to any first attribute.
Specifically, for a field in the engineering data table covered by the attributes of various types of devices acquired from the engineering drawing file, the value of the first attribute corresponding to the field may be directly determined as the value of the field.
According to the embodiment of the invention, the value of the first attribute corresponding to the field is determined as the value of the field for the field covered by the first attribute of each device acquired from the engineering drawing file, so that the value of the field covered by the engineering drawing file can be acquired more efficiently and accurately, the efficiency of generating the engineering data table can be improved, and the requirements of the rapidly developing rail transit industry can be met.
Based on the content of any one of the embodiments, obtaining the value of the first attribute of each device in the target track traffic signal system based on the engineering drawing file of the target track traffic signal system includes: opening an engineering drawing file, and acquiring the value of the second attribute of each target primitive from the memory variable; wherein the target primitive is a primitive representing a device in the target track traffic signal system.
Specifically, CAD drawing software which is developed secondarily based on ObjectARX is adopted to draw the engineering data graph, drawn equipment primitives are automatically associated, and partial attributes of the equipment are automatically calculated.
For some device attributes which are not automatically calculated, the attribute calculation can be carried out on the full-image device through the attribute automatic calculation command, and corresponding values are stored in the memory variables.
The user may enter a second input into the engineering drawing file of the target track traffic signal system. The project data table generating device receives the second input, and can open the project drawing file in response to the second input. After the engineering drawing file is opened, the second attribute value of each graphic element is stored in the memory variable, so that the value of the second attribute of each target graphic element can be extracted.
Optionally, the second attribute may include at least one of a stop, a station identifier, a switch, an departure counter, engineering parameter information, a kilometer sign configuration table, a centralized area boundary, a meter axle, a take-over and transfer area, an emergency stop button, a police mark, a screen door, a zone boundary primitive, a civil air defense door, an up-down line, a stop sign, a line, a signal machine, a transponder, a platform, a long-short line, a main zone, a transition point, a sub-zone, and the like.
And acquiring the value of the first attribute of each device based on the value of the second attribute of each target primitive.
Specifically, the target primitive represents a device in the target track traffic signal system, and the second attribute of the target primitive and the first attribute of the device represented by the target primitive have a corresponding relationship, so that 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.
According to the embodiment of the invention, the engineering drawing file is opened, the value of the second attribute of each target primitive is obtained from the memory variable, the value of the first attribute of each equipment is obtained based on the value of the second attribute of each target primitive, and the value of the first attribute of each equipment can be obtained more quickly and efficiently, so that the efficiency of generating the engineering data table can be improved, and the requirements of the rapidly developing rail transit industry can be met.
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 primitive, the method further includes: the values of the first attributes of the devices are stored in a target database.
Specifically, the user may enter the first input by entering a specified command in the drawing software or clicking an export to database button, or the like. The engineering data table generating device receives the first input, responds to the first input, can designate and connect a target database, eliminates all original data in the target database, extracts data in the memory variables according to the device types, and stores the values of the first attributes of the devices extracted from the memory variables into the database sub-table for storage to obtain the ordered table. And according to the ordered form, the values of all the fields can be correspondingly stored in the engineering data table with the corresponding category names one by one.
It can be understood that the information of each device of the engineering data diagram is extracted and stored in the database, the database table can be defined according to various scenes, and the application scenes are wider.
According to the embodiment of the invention, the values of the first attributes of the devices are stored in the target database, so that the data in the database can be rapidly stored in the table, the efficiency of generating the engineering data table can be improved, and the requirements of the rapidly developing rail transit industry can be met.
Based on the content of any of the above embodiments, 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: determining format information of an engineering data table based on an engineering data compiling principle; the format information of the engineering data table comprises a header name and size information of the table.
Specifically, format information of the engineering data table, such as a header name of the engineering data table and size information of the table, may be determined based on an engineering data compilation principle.
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.
The embodiment of the invention determines the format information of the engineering data table based on the engineering data compiling principle, can generate a blank engineering data table more quickly and efficiently, is more convenient to fill the blank engineering data table according to the value of the first attribute of each device acquired from the engineering drawing file, generates the engineering data table, can ensure the correctness and the safety of the generated engineering data table, can improve the generating efficiency of the engineering data table, and can meet the requirements of the rapidly developing rail transit industry.
In order to facilitate understanding of the above embodiments of the present invention, the following describes an implementation process of the engineering data table generation.
Fig. 2 is a data flow diagram of the engineering data table generating method provided by the present invention. FIG. 2 illustrates a data flow process of the engineering data table generation process.
The engineering data table generating device provided by the invention is described below, and the engineering data table generating device described below and the engineering data table generating method described above can be referred to correspondingly.
Fig. 3 is a schematic structural diagram of an engineering data table generating device provided by the present invention. Based on the content of any of the above embodiments, as shown in fig. 3, the apparatus includes a data extraction module 301, an attribute acquisition module 302, and a table generation module 303, where:
the data extraction module 301 is configured to obtain values of first attributes of each device in the target track traffic signal system based on an engineering drawing file of the target track traffic signal system;
the attribute acquisition module 302 is configured to acquire values of fields in an engineering data table corresponding to the target track traffic signal system based on the value of the first attribute of each device;
and the table generating module 303 is configured to generate the engineering data table based on the values of the fields and the format information of the engineering data table.
Specifically, the data extraction module 301, the attribute acquisition module 302, and the table generation module 303 may be electrically connected in sequence.
The data extraction module 301 may read the primitive information of each primitive from the engineering drawing file through a 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.
The attribute obtaining module 302 may obtain the value of each field in each project data table directly and/or after performing calculation according to the value of the first attribute of each device obtained from the project map file.
For each engineering data table, the table generating module 303 may generate a table header and each cell of the engineering data table based on the format information of the engineering data table, where each row may correspond to one device; for each field in the engineering data table, the value of the field may then be populated into the corresponding cell, thereby generating the engineering data table.
Optionally, the attribute obtaining module 302 may include:
and the attribute calculation unit is used for acquiring the value of any field in the engineering data table based on the value of the first attribute of the equipment corresponding to any field and the value of the first attribute of the equipment associated with the equipment corresponding to any field under the condition that any field does not correspond to each first attribute.
Optionally, the attribute obtaining module 302 may further include:
and the attribute determining unit is used for determining the value of the first attribute corresponding to any field as the value of any field in the engineering data table under the condition that any field corresponds to any first attribute.
Optionally, the data extraction module 301 may include:
the file opening unit is used for opening the engineering drawing file and acquiring the value of the second attribute of each target primitive from the memory variable;
the attribute extraction unit is used for acquiring the value of the first attribute of each device based on the value of the second attribute of each target primitive;
wherein the target primitive is a primitive representing a device in the target track traffic signal system.
Optionally, the data extraction module 301 may further include:
and the storage unit is used for storing the values of the first attributes of the devices in a target database.
Optionally, the engineering data table generating device may further include:
the form configuration module is used for determining format information of the engineering data form based on an engineering data compiling principle;
the format information of the engineering data table comprises a header name and size information of the table.
The engineering data table generating device provided in the embodiment of the present invention is configured to execute the above engineering data table generating method of the present invention, and an implementation manner of the engineering data table generating device is consistent with an implementation manner of the engineering data table generating method provided in the present invention, and the same beneficial effects can be achieved, and details are not described here.
The project data table generation device is used for the project data table generation method of each embodiment. Therefore, the description and definition in the engineering data table generating method in the foregoing embodiments may be used for understanding the execution modules in the embodiments of the present invention.
According to the embodiment of the invention, the engineering data table available for data configuration is automatically generated according to the relevant information of each device in the engineering data chart and the engineering data compiling principle, so that the engineering data table can be automatically, quickly and accurately generated according to the engineering chart, the manpower can be liberated, the problems of data format errors, missing filling, wrong filling and the like can be reduced or avoided, the correctness and the safety of the generated engineering data table can be ensured, the efficiency of generating the engineering data table can be improved, the errors caused by manual input can be reduced, and the requirements of the rapidly-developed rail transit industry can be met.
Fig. 4 is a schematic structural diagram of an electronic device provided in the present invention, and as shown in fig. 4, the electronic device may include: a processor (processor)410, a communication Interface 420, a memory (memory)430 and a communication bus 440, wherein the processor 410, the communication Interface 420 and the memory 430 are communicated with each other via the communication bus 440. Processor 410 may call logic instructions in memory 430 to perform an engineering data table generation method comprising: acquiring values of first attributes of all devices in the target track traffic signal system based on the engineering drawing file of the target track traffic signal system; acquiring values of all fields in an engineering data table corresponding to the target rail transit signal system based on the values of the first attributes of all the devices; and generating the engineering data table based on the values of the fields and the format information of the engineering data table.
In addition, the logic instructions in the memory 430 may be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The processor 410 in the electronic device provided in the embodiment of the present application may call the logic instruction in the memory 430, and an implementation manner of the processor is consistent with an implementation manner of the method for generating an engineering data table provided in the present application, and the same beneficial effects may be achieved, and details are not described here.
In another aspect, the present invention also provides a computer program product, the computer program product includes a computer program stored on a non-transitory computer readable storage medium, the computer program includes program instructions, when the program instructions are executed by a computer, the computer can execute the engineering data table generating method provided by the above methods, the method includes: acquiring values of first attributes of all devices in the target track traffic signal system based on the engineering drawing file of the target track traffic signal system; acquiring values of all fields in an engineering data table corresponding to the target rail transit signal system based on the values of the first attributes of all the devices; and generating the engineering data table based on the values of the fields and the format information of the engineering data table.
When executed, the computer program product provided in the embodiment of the present application implements the method for generating an engineering data table, and the specific implementation manner of the method is consistent with the implementation manner described in the embodiment of the foregoing method, and the same beneficial effects can be achieved, and details are not repeated here.
In yet another aspect, the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored, the computer program being implemented by a processor to perform the above-provided engineering data table generating methods, the method including: acquiring values of first attributes of all devices in a target rail transit signal system based on an engineering drawing file of the target rail transit signal system; acquiring values of all fields in an engineering data table corresponding to the target rail transit signal system based on the values of the first attributes of all the devices; and generating the engineering data table based on the values of the fields and the format information of the engineering data table.
When a computer program stored on a non-transitory computer-readable storage medium provided in the embodiments of the present application is executed, the method for generating an engineering data table is implemented, and a specific implementation manner of the method is consistent with the implementation manner described in the embodiments of the method, and the same beneficial effects can be achieved, which is not described herein again.
The above-described embodiments of the apparatus are merely illustrative, and units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or 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 solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods of the various embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for generating an engineering data table is characterized by comprising the following steps:
acquiring values of first attributes of all devices in a target rail transit signal system based on an engineering drawing file of the target rail transit signal system;
acquiring values of all fields in an engineering data table corresponding to the target rail transit signal system based on the values of the first attributes of all the devices;
and generating the engineering data table based on the values of the fields and the format information of the engineering data table.
2. The method for generating the engineering data table according to claim 1, wherein the obtaining values of fields in the engineering data table corresponding to the target track traffic signal system based on the values of the first attribute of each device includes:
for any field, under the condition that the any field does not correspond to each first attribute, acquiring the value of the any field in the engineering data table based on the value of the first attribute of the equipment corresponding to the any field and the value of the first attribute of the equipment associated with the equipment corresponding to the any field.
3. The method for generating the engineering data table according to claim 2, wherein the obtaining the value of each field in the engineering data table corresponding to the target track traffic signal system based on the value of the first attribute of each device further comprises:
for any field, if the any field corresponds to any first attribute, determining the value of the first attribute corresponding to the any field as the value of the any field in the engineering data table.
4. The method for generating the engineering data sheet according to claim 1, wherein the obtaining the value of the first attribute of each device in the target track traffic signal system based on the engineering drawing file of the target track traffic signal system comprises:
opening the engineering drawing file, and acquiring the value of the second attribute of each target primitive from the memory variable;
acquiring the value of the first attribute of each device based on the value of the second attribute of each target primitive;
wherein the target primitive is a primitive representing a device in the target track traffic signal system.
5. The method as claimed in claim 4, further comprising, after obtaining the value of the first attribute of each device based on the attribute of each target primitive:
and storing the values of the first attributes of the devices in a target database.
6. The method as claimed in any one of claims 1 to 5, wherein 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:
determining format information of the engineering data table based on an engineering data compiling principle;
and the format information of the engineering data table comprises a header name and size information of the table.
7. An apparatus for generating an engineering data table, comprising:
the data extraction module is used for acquiring values of first attributes of all devices in a target rail transit signal system based on an engineering drawing file of the target rail transit signal system;
the attribute acquisition module is used for acquiring values of all fields in an engineering data table corresponding to the target track traffic signal system based on the values of the first attributes of all the devices;
and the table generating module is used for generating the engineering data table based on the values of the fields and the format information of the engineering data table.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the project data sheet generation method according to any of claims 1 to 6 when executing the program.
9. A non-transitory computer readable storage medium having stored thereon a computer program, wherein the computer program, when executed by a processor, implements the project data table generation method of any of claims 1 to 6.
10. A computer program product comprising a computer program, wherein the computer program, when executed by a processor, implements the engineering data table generating method according to any one of claims 1 to 6.
CN202210674695.6A 2022-06-14 2022-06-14 Engineering data table generation method and device Pending CN115081417A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210674695.6A CN115081417A (en) 2022-06-14 2022-06-14 Engineering data table generation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210674695.6A CN115081417A (en) 2022-06-14 2022-06-14 Engineering data table generation method and device

Publications (1)

Publication Number Publication Date
CN115081417A true CN115081417A (en) 2022-09-20

Family

ID=83251782

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210674695.6A Pending CN115081417A (en) 2022-06-14 2022-06-14 Engineering data table generation method and device

Country Status (1)

Country Link
CN (1) CN115081417A (en)

Similar Documents

Publication Publication Date Title
CN108228183B (en) Front-end interface code generation method and device, electronic equipment and storage medium
CN110262865B (en) Method and device for constructing game scene, computer storage medium and electronic equipment
CN109491735B (en) Integrated data generation and verification integrated monitoring human-computer interface configuration implementation method
CN106855882B (en) A kind of urban track traffic electronic map data generation system and method
CN105913334A (en) Visualized detection method for online abnormal movements of power distribution automation graph and model
CN103309988A (en) Method for automatically generating rail traffic line database
CN111161390A (en) Rendering method and device based on BIM (building information modeling) model and WebGL (Web graphics library)
CN114037097A (en) BIM model-based equipment operation and maintenance management method
CN113139257B (en) Device and method for quickly drawing drawings of automatic fire alarm system
CN113342907B (en) Energy consumption information acquisition system distribution room topology portrait drawing method and system
CN111625944B (en) Normalization verification method for G file of transformer substation main wiring diagram
CN111275788A (en) Graph synthesis method based on common template graph and differential topological graph
CN115081417A (en) Engineering data table generation method and device
CN111651799A (en) Automatic generation system of train control engineering data table
CN114936442B (en) System and method for accurately positioning power distribution network equipment and forming topological graph
CN113838157A (en) Track traffic map drawing system, method, electronic device and storage medium
CN113610512A (en) Electronic signature generation method, device, equipment and storage medium
CN112487534A (en) BIM technology-based method for analyzing net height of building
CN114969586A (en) BIM (building information modeling) graphic engine loading method and device based on WEB side
CN112799669A (en) Method and device for generating application program interface layout code and electronic equipment
CN112541206A (en) Simulation method, system, computer equipment and readable medium for station passenger flow analysis
CN111861420A (en) Running chart drawing method based on computer graphics
CN116050036B (en) Power grid diagram construction method, device and equipment
CN115309397B (en) Canvas topology management method and system of data interpretation model
CN113836612A (en) Equipment associated information extraction method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination