Tool for automatically generating trackside arrangement diagram

By providing an automatic generation tool for rail side layout drawings, using modular structure and automated algorithms, the problem of low efficiency and accuracy of rail side layout drawings in subway engineering projects is solved, automated drawing and efficient data processing are realized, and the quality and efficiency of subway project database preparation is significantly improved.

CN119808198APending Publication Date: 2025-04-11SHANGHAI ELECTRIC THALES TRANSPORTATION AUTOMATION SYST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411819262.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-11
Publication Date
2025-04-11

AI Technical Summary

Technical Problem

In subway engineering projects, the drawing of rail layout drawings relies on manual operations, which leads to a long time and the risk of data omissions or errors in filling out, making it difficult to meet the requirements of efficiency and accuracy.

Method used

It provides an automatic generation tool for rail side layout drawings. By reading configuration modules, verification modules, element coordinate calculation modules, element other information calculation modules and graphics output modules, it automatically draws subway rail side layout drawings based on input data in the specified format, calculates the coordinates of each element and generates format files available to CAD.

Benefits of technology

This tool can automatically draw the layout diagram next to the subway track, significantly shorten the drawing cycle, reduce errors caused by human factors, improve the standardization and accuracy of the map, and improve the quality and efficiency of the entire subway project database preparation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119808198A_ABST
    Figure CN119808198A_ABST
Patent Text Reader

Abstract

The invention discloses a trackside layout diagram automatic generation tool which comprises a reading configuration module used for reading and configuring elements and element attributes of input data to form a configuration file; the verification module is used for verifying elements and element attributes of the input data in the configuration file; the element coordinate calculation module is used for constructing a whole subway line diagram based on the input data after the verification is passed, and calculating the coordinate of each element on the drawing; the element other information calculation module is used for calculating and sorting subsequent additional information for drawing; and the graphic output module is used for generating formatted files and logs available for the CAD. According to the invention, the function of automatically drawing the subway rail-side layout diagram is realized based on the input data in the specified format.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a tool for automatically generating a trackside layout diagram. Background Art

[0002] In the process of building the database of subway engineering projects, the application of CAD (computer-aided design) software is crucial. It is used to carefully draw the trackside layout drawings directly related to the subway project. These drawings not only need to show the key facilities such as tracks, axle counters, turnouts, signals, beacons in detail, but also must accurately mark the customer mileage for each element. Due to the complexity of subway lines, the number of elements involved may range from dozens to hundreds, which undoubtedly increases the difficulty and complexity of the drawing work.

[0003] At present, the drawing of trackside layout diagrams mainly relies on manual operation, which is not only time-consuming, but also has the risk of missing data or filling in errors due to human factors. In order to improve efficiency and accuracy, it is urgent to use automated tools to assist or replace the traditional manual drawing method.

[0004] With the advancement of technology, the development of automated trackside layout generation tools has become possible. These tools can use advanced algorithms and data processing techniques to quickly and accurately generate subway trackside layouts that contain all necessary elements and accurate customer mileage. The use of automated tools can not only significantly shorten the drawing cycle, but also greatly reduce data errors caused by human errors, thereby improving the quality and efficiency of the entire subway project database preparation.

[0005] Therefore, a tool for automatically generating a trackside layout diagram is provided. Summary of the invention

[0006] The present invention aims to overcome the existing defects and provide a trackside layout automatic generation tool, which realizes the function of automatically drawing a subway trackside layout based on input data in a specified format.

[0007] The technical solution to achieve the above purpose is:

[0008] A tool for automatically generating a trackside layout diagram, comprising:

[0009] A configuration reading module is used to read and configure the elements and element attributes of the input data to form a configuration file;

[0010] A validation module, used to validate the elements and element attributes of the input data in the configuration file;

[0011] The element coordinate calculation module is used to construct the entire subway line map based on the input data after verification and calculate the coordinates of each element on the drawing;

[0012] Element other information calculation module, used to calculate and organize the additional information used for subsequent drawing;

[0013] Graphics output module, used to generate CAD-usable format files and logs.

[0014] Preferably, in the reading configuration module, the input data has the following format convention:

[0015] The data is written in the xl sx format which can be read by Excel as the input source;

[0016] Different trackside element data are defined in different sheets, and the sheet name is the trackside element type name;

[0017] Each type of trackside element needs to define the element name, customer mileage, direction, and track number to display and determine the relevant information of the location;

[0018] Some basic elements must be defined, including but not limited to tracks and turnouts;

[0019] In the sheet for defining each type of element, you need to define the identifier used by the software for identification;

[0020] There cannot be any blank row of data before the end of the same table.

[0021] Preferably, in the configuration reading module, elements and element attributes are read through fixed sheet names and identifiers in the sheet; the configuration file is saved in txt, and different parameters are separated by titles and commas.

[0022] Preferably, in the verification module, the verification content includes:

[0023] For the sheet containing the trackside elements that must be present, check whether it exists;

[0024] Check the identifiers of data in the sheet that exist and may be used;

[0025] Whether the element name used has been defined;

[0026] Whether the element mileage is within the range defined by the specified track.

[0027] Preferably, in the element coordinate calculation module, the connection relationship between the tracks is determined by the turnouts to restore the overall topological layout of the subway line;

[0028] Map the mileage to the X coordinate of the subway line on the drawing, manually input the Y coordinate of the horizontal track, the specific coordinates of the trackside elements, determine the Y value based on the track where the element is located, and then calculate the X coordinate value proportionally through the mileage.

[0029] Preferably, in the element other information calculation module, the additional information includes but is not limited to the element name, the module name drawn to the CAD template, the drawing rotation angle, and the mileage information of the display format.

[0030] Preferably, in the graphic output module,

[0031] The generated CAD-usable format file is defined using the custom block elements in CAD, and there are elements in the template CAD that correspond to the block elements one by one;

[0032] Generate CAD-usable format files using dxf format for output;

[0033] The generated CAD-usable format file can be manually adjusted for secondary use.

[0034] Preferably, it also includes:

[0035] UI interface module, used to manage all interfaces of the software;

[0036] The data structure definition module is used to define the data structure corresponding to the input data, the data structure used for drawing, and the data structure of the configuration file.

[0037] Preferably, in the UI interface module, all interfaces include but are not limited to the main interface, the configuration interface, and the manual data input interface.

[0038] The beneficial effects of the present invention are:

[0039] The user of the present invention provides formatted input data. After completing the basic configuration, the tool can automatically start the drawing process without the need for subsequent manual intervention, which greatly improves work efficiency;

[0040] Automatically calculate and determine the coordinates of each element based on the input mileage data to ensure the standardization and accuracy of the graphics;

[0041] Compared with traditional manual drawing, this tool significantly reduces errors caused by human factors through automated processes and improves the reliability of subway trackside layout drawings;

[0042] The design of the tool is data-centric, ensuring that every step from input to output is strictly based on data, enhancing the consistency of the drawing results;

[0043] The operation process is simplified. Users only need to provide input data for drawing and then configure it on the UI interface to enjoy the convenience brought by automation, which reduces the technical threshold.

[0044] In summary, this tool provides an efficient and reliable solution for drawing subway trackside layout diagrams with its automation, accuracy and user-friendliness. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 It is a module diagram of a tool for automatically generating a trackside layout diagram according to the present invention. DETAILED DESCRIPTION

[0046] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. In the description of the present invention, it should be noted that the terms "center", "up", "down", "left", "right", "vertical", "horizontal", "inside", "outside" and the like indicate directions or positional relationships based on the directions or positional relationships shown in the accompanying drawings, which are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore cannot be understood as a limitation on the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance.

[0047] The present invention will be further described below in conjunction with the accompanying drawings.

[0048] like Figure 1 As shown, a tool for automatically generating a trackside layout diagram includes: a configuration reading module 1, a verification module 2, an element coordinate calculation module 3, an element other information calculation module 4, a graphic output module 5, a UI interface module 6 and a data structure definition module 7.

[0049] The configuration reading module 1 is used to read and configure the elements and element attributes of the input data to form a configuration file.

[0050] In the embodiment, the input data has the following format conventions:

[0051] The data is written in the xl sx format which can be read by Excel as the input source;

[0052] Different trackside element data are defined in different sheets, and the sheet name is the trackside element type name;

[0053] Each type of trackside element needs to define the element name, customer mileage, direction, and track number to display and determine the relevant information of the location;

[0054] Some basic elements must be defined, including but not limited to tracks and turnouts;

[0055] In the sheet for defining each type of element, you need to define the identifier used by the software for identification;

[0056] There cannot be any blank row of data before the end of the same table.

[0057] In the embodiment, elements and element attributes are read through fixed sheet names and identifiers in the sheet; the configuration file is saved in txt format, and different parameters are separated by titles and commas.

[0058] Verification module 2 is used to verify the elements and element attributes of the input data in the configuration file.

[0059] In the embodiment, the content of the verification includes:

[0060] For the sheet containing the trackside elements that must be present, check whether it exists;

[0061] Check the identifiers of data in the sheet that exist and may be used;

[0062] Whether the element name used has been defined;

[0063] Whether the element mileage is within the range defined by the specified track.

[0064] The element coordinate calculation module 3 is used to construct the entire subway line map based on the input data after verification and calculate the coordinates of each element on the drawing.

[0065] In the embodiment, the connection relationship between the tracks is determined by the turnouts, and the overall topological layout of the subway line is restored;

[0066] Map the mileage to the X coordinate of the subway line on the drawing, manually input the Y coordinate of the horizontal track, the specific coordinates of the trackside elements, determine the Y value based on the track where the element is located, and then calculate the X coordinate value proportionally through the mileage.

[0067] The element other information calculation module 4 is used to calculate and organize the additional information used for subsequent drawing.

[0068] In an embodiment, the additional information includes, but is not limited to, the element name, the module name drawn to the CAD template, the drawing rotation angle, and the mileage information of the display format.

[0069] The graphic output module 5 is used to generate format files and logs that can be used by CAD.

[0070] In the embodiment, the format file usable by CAD is defined using the custom block elements in CAD, and there are elements in the template CAD corresponding to the block elements one by one; the format file usable by CAD is output using the dxf format; the format file usable by CAD can be manually adjusted for a second time.

[0071] The UI interface module 6 is used to manage all interfaces of the software.

[0072] In the embodiment, all interfaces include but are not limited to the main interface, the configuration interface, and the manual data input interface.

[0073] The data structure definition module 7 is used to define the data structure corresponding to the input data, the data structure used for drawing, and the data structure of the configuration file.

[0074] The present invention realizes the function of automatically drawing the subway trackside layout diagram based on the input data in the specified format; after completing the input data, the tool can realize automatic drawing of the route map, trackside elements and mileage markings; compared with manual production, the efficiency is greatly improved and the error rate is reduced; the software calculates the coordinates by mileage for drawing, and the graphics are more standardized; this tool, with its excellent automation ability, has completely revolutionized the drawing process of the subway trackside layout diagram; it inputs data in the format specified by the user and intelligently completes the drawing of the subway route map.

[0075] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that the technical solutions described in the above embodiments may still be modified, or some or all of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A tool for automatically generating a trackside layout diagram, characterized in that: include: A configuration reading module is used to read and configure the elements and element attributes of the input data to form a configuration file; A validation module, used to validate the elements and element attributes of the input data in the configuration file; The element coordinate calculation module is used to construct the entire subway line map based on the input data after verification and calculate the coordinates of each element on the drawing; Element other information calculation module, used to calculate and organize additional information for subsequent drawing; Graphics output module, used to generate CAD-usable format files and logs.

2. A tool for automatically generating a trackside layout diagram according to claim 1, characterized in that: In the configuration reading module, the input data has the following format conventions: When writing data, the xlsx format that can be read by Excel is used as the input source; Different trackside element data are defined in different sheets, and the sheet name is the trackside element type name; Each type of trackside element needs to define the element name, customer mileage, direction, and track number to display and determine the relevant information of the location; Some basic elements must be defined, including but not limited to tracks and turnouts; In the sheet for defining each type of element, you need to define the identifier used by the software for identification; There cannot be any blank row of data before the end of the same table.

3. A tool for automatically generating a trackside layout diagram according to claim 1, characterized in that: In the configuration reading module, elements and element attributes are read through fixed sheet names and identifiers in the sheet; the configuration file is saved in txt format, and different parameters are separated by titles and commas.

4. A tool for automatically generating a trackside layout diagram according to claim 1, characterized in that: In the verification module, the verification content includes: For the sheet containing the trackside elements that must be present, check whether it exists; Check the identifiers of data in the sheet that exist and may be used; Whether the element name used has been defined; Whether the element mileage is within the range defined by the specified track.

5. The automatic generation tool for trackside layout diagram according to claim 1, characterized in that: In the element coordinate calculation module, the connection relationship between the tracks is determined by the turnouts to restore the overall topological layout of the subway line; Map the mileage to the X coordinate of the subway line on the drawing, manually input the Y coordinate of the horizontal track, the specific coordinates of the trackside elements, determine the Y value based on the track where the element is located, and then calculate the X coordinate value proportionally through the mileage.

6. A tool for automatically generating a trackside layout diagram according to claim 1, characterized in that: In the element other information calculation module, the additional information includes but is not limited to the element name, the module name drawn to the CAD template, the drawing rotation angle, and the mileage information of the display format.

7. The automatic generation tool for trackside layout diagram according to claim 1, characterized in that: In the graphics output module, The generated CAD-usable format file is defined using the custom block elements in CAD, and there are elements in the template CAD that correspond to the block elements one by one; Generate CAD-usable format files using dxf format for output; The generated CAD-usable format file can be manually adjusted for secondary use.

8. The automatic generation tool for trackside layout diagram according to claim 1, characterized in that: Also includes: UI interface module, used to manage all interfaces of the software; The data structure definition module is used to define the data structure corresponding to the input data, the data structure used for drawing, and the data structure of the configuration file.

9. A tool for automatically generating a trackside layout diagram according to claim 8, characterized in that: In the UI interface module, all interfaces include but are not limited to the main interface, configuration interface, and manual data input interface.