Method and system for generating trackside signal equipment record list
By loading plug-ins and building logical topology in the drawing software, automatically exporting the trackside signal equipment record sheet, the problems of long cycles, high error rates and high costs caused by manual production in the existing technology are solved, and fast and accurate recording is achieved Single generation.
Patent Information
- Application Number
- CN202411473199.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-22
- Publication Date
- 2025-02-21
AI Technical Summary
The production of existing trackside signal equipment record sheets mainly relies on manual labor, resulting in a long production cycle, high error rate and high cost.
By loading the software plug-in in the drawing software, the element elements in the signal device floor plan are read, and the recording sheet of the side-by-track signal device is automatically exported through logical topology.
It realizes the rapid and accurate generation of trackside signal equipment record orders, reduces manual error rate, saves production costs, and shortens the project implementation cycle.
Smart Images

Figure CN119494331A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of urban rail transit measurement, and more specifically, to a method and system for generating a trackside signal equipment record sheet. Background Art
[0002] At present, the production of trackside signal equipment record sheets is mainly done manually, which has the following disadvantages: long production cycle, high production error rate and high labor cost. Summary of the invention
[0003] The purpose of the present invention is to overcome the shortcomings of the prior art and provide a method and system for generating a trackside signal equipment record sheet, which has high accuracy, is user-friendly, and has the characteristics of easy maintenance and easy expansion, greatly saving the cost of manually making trackside signal equipment record sheets, reducing the production error rate, shortening the project implementation cycle, and improving efficiency.
[0004] The object of the present invention is achieved through the following solutions:
[0005] A method for generating a trackside signal equipment record sheet comprises the following steps:
[0006] S1, in the drawing software, a software plug-in is loaded through a command, and a function button is loaded into the menu bar of the drawing software. When the user chooses to read the drawing information, the drawing element block is read from the signal equipment plan layout drawing into the database;
[0007] S2, analyzes the primitive elements according to the specified block type of the software configuration file and instantiates them into various block classes, and updates them into the memory;
[0008] S3, constructs the logical topology of the entire floor plan;
[0009] S4, according to the constructed logical topology, with the smallest logical unit Link as the unit, exports the devices in the Link in logical order, calculates the design value of the distance between the devices, and exports the trackside signal equipment record sheet to the table file of the specified template.
[0010] Furthermore, the drawing software includes AutoCAD.
[0011] Furthermore, it also includes a module for interfacing with the mapping software. The module adopts an embedded plug-in and a .net framework 2.0 framework and can run on any Windows system PC with .net framework 2.0 or above.
[0012] Furthermore, the database includes a SQLLite3 lightweight file database, and the SQLLite3 lightweight file database is used to store intermediate data, so as to reduce memory overhead and better adapt to different environments.
[0013] Furthermore, step S4 also includes the following sub-steps: classifying and exporting equipment: constructing the smallest logical unit Link, obtaining the distribution of equipment of different types in the drawing by identifying the positions of the lines and equipment reference points in the drawing, taking the axle counter and turnout as the starting and ending points, constructing a link sequence connecting the entire line, and the equipment existing on the starting and ending lines is the equipment in the link, and identifying the equipment type that needs to be exported.
[0014] Furthermore, the trackside signal equipment record sheet includes a number, a centralized area name, a device 1 name, a device 2 name, a device 1 centralized area number, a device 2 centralized area number, a final distance and an engineering design value; wherein the device 1 name and the device 2 name are respectively the names of the two devices before and after in the logical direction sequence that needs to be measured on the link, and the engineering design value is the drawing design distance of the two devices.
[0015] Furthermore, in step S3, the sub-steps are also included:
[0016] Set the logic check option to assist users in checking the standardization of drawings and generate logs to indicate possible problems with the drawings. When the drawings are modified or updated, re-read the drawing information after the modification is completed and repeat the above operations until the drawings are stable.
[0017] Further, in step S4, the calculating of the design value of the distance between the devices specifically includes: calculating the design value of the distance between the devices according to the kilometer marks between the devices and the long and short links between the kilometer marks.
[0018] Furthermore, the types of equipment identified and exported include: axle counters, switches, signal machines, and transponders.
[0019] A system for generating a trackside signal equipment record sheet includes a computer device, wherein the computer device includes a processor and a memory, wherein a computer program is stored in the memory, and when the computer program is loaded by the processor, any of the methods described above is executed.
[0020] The beneficial effects of the present invention include:
[0021] The present invention relies on the signal plan layout diagram and can quickly produce a trackside signal equipment record sheet with high accuracy, user-friendly operation, easy maintenance and easy expansion. It greatly saves the cost of manually making trackside signal equipment record sheets, reduces the production error rate, shortens the project implementation cycle and improves efficiency.
[0022] The technical solution of the embodiment of the present invention uses an AutoCAD secondary development plug-in to read and identify graphic elements of a specified format in the station equipment plan layout diagram, and constructs the topological structure of the entire line diagram with the smallest logical unit, so as to realize automatic export of the trackside signal equipment record sheet of the line. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in 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 only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0024] Figure 1 The software architecture of the method of the embodiment of the present invention;
[0025] Figure 2 A schematic diagram of exporting a trackside signal equipment record sheet to a table according to an embodiment of the present invention;
[0026] Figure 3 A trackside signal equipment record sheet derived from an embodiment of the present invention;
[0027] Figure 4 The figure is a flowchart of the overall steps of the method according to the embodiment of the present invention. DETAILED DESCRIPTION
[0028] All features disclosed in all embodiments in this specification, or steps in all methods or processes implicitly disclosed, except for mutually exclusive features and / or steps, can be combined and / or expanded or replaced in any manner.
[0029] In view of the problems in the background, in the present invention, as Figure 1 to Figure 4 As shown in the figure, a scheme for automatically exporting the trackside signal equipment record sheet through AutoCAD secondary development is proposed, including a system and a corresponding method. Among them, the system adopts a five-layer architecture of presentation control layer, business logic layer, class library support layer, data access layer and data layer. The signal equipment plan layout diagram is used as the data source, and the pre-defined blocks in AutoCAD are read to identify the station diagram elements. The topological structure and equipment list of the entire line diagram are constructed with the minimum logical unit (link). Then, the signal equipment (axle counter, turnout, signal machine, transponder) in each minimum logical unit is sorted according to the logical direction, and output to the specified Excel table in order, and the output is distinguished according to the up and down lines.
[0030] Furthermore, in AutoCAD, the software plug-in is loaded through commands, and the function button is loaded into the AutoCAD menu bar. The user chooses to read the drawing information, reads the graphic element block from the signal equipment plan layout drawing into the database, and then analyzes the graphic element according to the block type specified in the software configuration file and instantiates it into various block classes, updates it to the memory, and then extracts the logical topology to build the logical topology of the entire plan; provides a logical check option to assist users in checking the standardization of the drawings and output logs to prompt possible problems with the drawings; when the drawings are modified and updated, re-read the drawing information after the modification is completed, repeat the above operations until the drawings are stable, and then according to the constructed logical topology, according to the smallest logical unit Link, the devices in the Link can be exported in logical direction order, and the distance design value between the devices is calculated according to the kilometer mark between the devices and the long and short chains between the kilometer marks, and all the above information is exported to the trackside signal equipment record sheet into an Excel file of the specified template, such as Figure 2 shown.
[0031] In a further implementation, for example, the module for interfacing with AutoCAD 2007 uses an embedded plug-in and .net framework 2.0, and can run on any Windows PC with .net framework 2.0 or above.
[0032] A further implementation method uses a SQLLite3 lightweight file database to store intermediate data, which reduces memory overhead and allows better adaptation in different environments.
[0033] A further implementation method is to realize logical checking of drawings by constructing logical topology of drawings and provide log output function to assist users to more conveniently find possible problems in drawings.
[0034] A further implementation method is to construct a minimum logical unit Link, obtain the distribution of equipment of different types in the drawing by identifying the lines in the drawing and the positions of the equipment reference points, take the axle counter and the turnout as the starting and ending points, and construct a link sequence connecting the entire line. The equipment existing on the starting and ending lines is the equipment in the link. The equipment type that needs to be exported is identified, and the equipment can be classified, identified and exported.
[0035] A further implementation method adopts a five-layer architecture of presentation control layer, business logic layer, class library support layer, data access layer and data layer, which has the characteristics of easy maintenance and easy expansion.
[0036] In a further implementation method, the main fields of the exported trackside signal equipment record sheet include number, centralized area name, equipment 1 name, equipment 2 name, equipment 1 centralized area number, equipment 2 centralized area number, final distance, and engineering design value, where the equipment 1 name and the equipment 2 name are the names of the two devices in the logical direction sequence that need to be measured on the link, respectively, and the engineering design value is the drawing design distance of the two devices, such as Figure 3 shown.
[0037] In a further implementation method, the design distance value between devices is comprehensively calculated based on the kilometer marks between devices and the length of the chain between the kilometer marks, and is recorded and output in centimeters.
[0038] In a further implementation method, the equipment types that are identified and need to be exported include axle counters, switches, signals, and transponders. The blocks designed in the drawings include JZS, JZX, ZZJS, ZZJX, XHJS, XHJX, FBS, FBX, VBS, VBX, IBS, IBX, WBS, and WBX. The attributes include MC (name), GLB (kilometer mark), and SJBH (data number). The position of the block in the drawing is obtained according to the coordinates of the block's base point.
[0039] It should be noted that within the scope of protection defined in the claims of the present invention, the following embodiments can be combined and / or expanded or replaced in any logical way from the above specific implementation methods, such as disclosed technical principles, disclosed technical features or implicitly disclosed technical features.
[0040] Example 1
[0041] A method for generating a trackside signal equipment record sheet comprises the following steps:
[0042] S1, in the drawing software, a software plug-in is loaded through a command, and a function button is loaded into the menu bar of the drawing software. When the user chooses to read the drawing information, the drawing element block is read from the signal equipment plan layout drawing into the database;
[0043] S2, analyzes the primitive elements according to the specified block type of the software configuration file and instantiates them into various block classes, and updates them into the memory;
[0044] S3, constructs the logical topology of the entire floor plan;
[0045] S4, according to the constructed logical topology, with the smallest logical unit Link as the unit, exports the devices in the Link in logical order, calculates the design value of the distance between the devices, and exports the trackside signal equipment record sheet to the table file of the specified template.
[0046] Example 2
[0047] Based on Example 1, the drawing software includes AutoCAD.
[0048] Example 3
[0049] On the basis of Example 1, it also includes a module for interface interaction with the mapping software. The module adopts an embedded plug-in method and a .net framework 2.0 framework and can run on any Windows system PC equipped with .net framework 2.0 or above.
[0050] Example 4
[0051] On the basis of Example 1, the database includes a SQLLite3 lightweight file database, and the SQLLite3 lightweight file database is used to store intermediate data, so as to reduce memory overhead and better adapt to different environments.
[0052] Example 5
[0053] On the basis of Example 1, step S4 also includes the following sub-steps: Classification and export of equipment: construct the minimum logical unit Link, obtain the distribution of equipment of different types in the drawing by identifying the lines in the drawing and the positions of the equipment reference points, take the axle counter and turnout as the starting and ending points, construct a link sequence connecting the entire line, the equipment existing on the starting and ending lines is the equipment in the link, and identify the equipment type that needs to be exported.
[0054] Example 6
[0055] Based on Example 1, the trackside signal equipment record sheet includes a number, a centralized area name, a device 1 name, a device 2 name, a device 1 centralized area number, a device 2 centralized area number, a final distance and an engineering design value; wherein the device 1 name and the device 2 name are respectively the names of the two devices before and after in the logical direction sequence that needs to be measured on the link, and the engineering design value is the drawing design distance of the two devices.
[0056] Example 7
[0057] Based on Example 1, step S3 further includes the following sub-steps:
[0058] Set the logic check option to assist users in checking the standardization of drawings and generate logs to indicate possible problems with the drawings. When the drawings are modified or updated, re-read the drawing information after the modification is completed and repeat the above operations until the drawings are stable.
[0059] Example 8
[0060] On the basis of Example 1, in step S4, calculating the design value of the distance between devices specifically includes: calculating the design value of the distance between devices according to kilometer markers between devices and the long and short links between the kilometer markers.
[0061] Example 9
[0062] Based on Example 5, the types of equipment identified and derived include: axle counters, switches, signal machines, and transponders.
[0063] Example 10
[0064] A system for generating a trackside signal equipment record sheet includes a computer device, the computer device includes a processor and a memory, the memory stores a computer program, and when the computer program is loaded by the processor, it executes the method described in any one of Examples 1 to 8.
[0065] The units involved in the embodiments of the present invention may be implemented by software or hardware, and the units described may also be arranged in a processor. The names of these units do not, in some cases, limit the units themselves.
[0066] According to one aspect of an embodiment of the present invention, a computer program product or a computer program is provided, the computer program product or the computer program includes a computer instruction, and the computer instruction is stored in a computer-readable storage medium. A processor of a computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the method provided in the above various optional implementations.
[0067] As another aspect, an embodiment of the present invention further provides a computer-readable medium, which may be included in the electronic device described in the above embodiment; or may exist independently without being assembled into the electronic device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by an electronic device, the electronic device implements the method described in the above embodiment.
Claims
1. A method for generating a trackside signal equipment record sheet, characterized in that: The following steps are involved: S1, in the drawing software, a software plug-in is loaded through a command, and a function button is loaded into the menu bar of the drawing software. When the user chooses to read the drawing information, the drawing element block is read from the signal equipment plan layout drawing into the database; S2, analyzes the primitive elements according to the specified block type of the software configuration file and instantiates them into various block classes, and updates them into the memory; S3, constructs the logical topology of the entire floor plan; S4, according to the constructed logical topology, with the smallest logical unit Link as the unit, exports the devices in the Link in logical order, calculates the design value of the distance between the devices, and exports the trackside signal equipment record sheet to the table file of the specified template.
2. The method for generating a trackside signal equipment record sheet according to claim 1, characterized in that: The drawing software includes AutoCAD.
3. The method for generating a trackside signal equipment record sheet according to claim 1, characterized in that: It also includes a module for interfacing with mapping software. This module uses an embedded plug-in and the .net framework2.0 framework and can run on any Windows PC with .net framework2.0 or above.
4. The method for generating a trackside signal equipment record sheet according to claim 1, characterized in that: The database includes a SQLLite3 lightweight file database, and the SQLLite3 lightweight file database is used to store intermediate data, so as to reduce memory overhead and better adapt to different environments.
5. The method for generating a trackside signal equipment record sheet according to claim 1, characterized in that: In step S4, the following sub-steps are also included: classification identification and export of equipment: constructing the smallest logical unit Link, obtaining the distribution of equipment of different types in the drawing by identifying the lines in the drawing and the positions of the equipment reference points, taking the axle counter and turnout as the starting and ending points, constructing a link sequence connecting the entire line, and the equipment existing on the starting and ending lines is the equipment in the link, identifying the equipment type that needs to be exported.
6. The method for generating a trackside signal equipment record sheet according to claim 1, characterized in that: The trackside signal equipment record sheet includes a number, a centralized area name, a device 1 name, a device 2 name, a device 1 centralized area number, a device 2 centralized area number, a final distance and an engineering design value; wherein the device 1 name and the device 2 name are respectively the names of the two devices before and after in the logical direction sequence that needs to be measured on the link, and the engineering design value is the drawing design distance of the two devices.
7. The method for generating a trackside signal equipment record sheet according to claim 1, characterized in that: In step S3, the sub-steps are also included: Set the logic check option to assist users in checking the standardization of drawings and generate logs to indicate possible problems with the drawings. When the drawings are modified or updated, re-read the drawing information after the modification is completed and repeat the operation until the drawings are stable.
8. The method for generating a trackside signal equipment record sheet according to claim 1, characterized in that: In step S4, the calculating of the design value of the distance between the devices specifically includes: calculating the design value of the distance between the devices according to the kilometer marks between the devices and the long and short links between the kilometer marks.
9. The method for generating a trackside signal equipment record sheet according to claim 5, characterized in that: The types of equipment identified and exported include: axle counters, switches, signals, and transponders.
10. A system for generating a trackside signal equipment record sheet, characterized in that: The method comprises a computer device, wherein the computer device comprises a processor and a memory, wherein a computer program is stored in the memory, and when the computer program is loaded by the processor, the method according to any one of claims 1 to 8 is executed.