CN112560130B - H5 drawing display method based on CAD (computer aided design) drawing data of rail transit trackside equipment - Google Patents

H5 drawing display method based on CAD (computer aided design) drawing data of rail transit trackside equipment Download PDF

Info

Publication number
CN112560130B
CN112560130B CN202011515645.0A CN202011515645A CN112560130B CN 112560130 B CN112560130 B CN 112560130B CN 202011515645 A CN202011515645 A CN 202011515645A CN 112560130 B CN112560130 B CN 112560130B
Authority
CN
China
Prior art keywords
cad
equipment
data
drawn
elements
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.)
Active
Application number
CN202011515645.0A
Other languages
Chinese (zh)
Other versions
CN112560130A (en
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.)
Traffic Control Technology TCT Co Ltd
Original Assignee
Traffic Control Technology TCT 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 Traffic Control Technology TCT Co Ltd filed Critical Traffic Control Technology TCT Co Ltd
Priority to CN202011515645.0A priority Critical patent/CN112560130B/en
Publication of CN112560130A publication Critical patent/CN112560130A/en
Application granted granted Critical
Publication of CN112560130B publication Critical patent/CN112560130B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/12Geometric CAD characterised by design entry means specially adapted for CAD, e.g. graphical user interfaces [GUI] specially adapted for CAD
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Geometry (AREA)
  • Human Computer Interaction (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Mathematical Analysis (AREA)
  • Computational Mathematics (AREA)
  • Architecture (AREA)
  • Train Traffic Observation, Control, And Security (AREA)

Abstract

The invention provides an H5 drawing display method based on CAD drawing data of rail transit trackside equipment, which comprises the following steps: receiving a drawing command, wherein the drawing command comprises a designated display area in a track area to be drawn; acquiring H5 elements of all devices in the appointed display area from a pre-constructed database, wherein the H5 elements comprise device names, device coordinates, device icons and device special attributes; generating each device in the appointed display area on a canvas according to each device coordinate and device icon creation element by using a front-end tool package, and marking corresponding device names and device special attributes on each element; the pre-constructed database is formed based on the CAD graph data of the track area to be drawn. The method provided by the invention realizes automatic light-weight processing of the CAD graph, saves labor cost and ensures the drawing accuracy of the simplified equipment in the graph.

Description

H5 drawing display method based on CAD (computer aided design) drawing data of rail transit trackside equipment
Technical Field
The invention relates to the technical field of drawing and displaying of rail transit, in particular to an H5 drawing and displaying method based on CAD drawing data of rail transit trackside equipment.
Background
The station diagram display technology based on the extraction of the CAD diagram data of the rail-side equipment of the rail transit is developed and developed by utilizing jtopo development tool packages for the station diagram display of the rail-side equipment of the MSS, coordinate values of the rail-side equipment such as a rail line, a shaft counter, a turnout switch machine, a signal machine and the like are obtained from huge and complicated data through screening the data of the CAD drawing, and are directly transmitted to the front end through a data transmission interface, and the front end carries out automatic drawing by utilizing jtopo development tool packages. The technology is characterized in that the graph is drawn by relative coordinates through the coordinate values directly derived from the CAD drawing, and the actual situation of the trackside equipment arranged according to the station yard graph can be restored to the greatest extent. For the traditional CAD drawing, various parameters which are too complicated are disordered in the whole picture, if the parameters are directly displayed on the software integrated CAD drawing, the integral loading and response speed of the software are affected, and the display interface is quite unattractive.
For operation and maintenance personnel using the track equipment monitoring system, the alarm of the track side equipment is displayed in a pattern and at the relative position of the track, which is far more efficient than the display of text description, and the technology is more beneficial to the operation and maintenance personnel to quickly and conveniently locate the problem and respond in time. The technology can display the relative position of the trackside equipment more intuitively, and plays a role in daily inspection and maintenance of the equipment.
Previously, for the graphical interface of the station diagram of the alarm system, a method mainly relying on manual introduction of the relative coordinate position is shown, and the method has the following defects:
1. From the perspective of data producer, the original data producing mode has no technical universality, and because the track line and equipment arrangement condition of each project are inconsistent, if the drawing is updated, the data producer can also redraw, and the consumed time, energy and the like are huge consumption of human resources.
2. The relative coordinate observation of the graph is completely measured by naked eyes of data producer, so that the accuracy of the data is difficult to ensure, and the displayed station graph is quite different from the actual field arrangement condition.
3. The original graph lacks equipment related information, and although the interface is concise, the content is not comprehensive.
Therefore, how to avoid the problem that the CAD drawing of the existing track traffic trackside equipment is not simplified enough, and the manual drawing is required to be performed manually to the CAD drawing, so that the manual cost and the manual error caused by the fact that the CAD drawing cannot be automatically converted into the simplified drawing are high, and the problem to be solved by the skilled person is still needed.
Disclosure of Invention
The invention provides an H5 drawing display method based on CAD drawing data of rail transit trackside equipment, which is used for solving the defects that the existing CAD drawing of the rail transit trackside equipment is not simplified enough, and the labor cost and the labor error are high because the CAD drawing is required to be manually drawn and can not be automatically converted into a simplified drawing, and the automatic light weight of the CAD drawing is realized, and the accurate and simplified engineering drawing is convenient to carry out foundation checking and quick positioning by storing basic data in the existing CAD drawing into a database, pulling the data from the database and adopting a front-end tool kit to carry out H5 drawing when a webpage end needs to be checked.
The invention provides an H5 drawing display method based on CAD drawing data of rail transit trackside equipment, which comprises the following steps:
Receiving a drawing command, wherein the drawing command comprises a designated display area in a track area to be drawn;
acquiring H5 elements of all devices in the appointed display area from a pre-constructed database, wherein the H5 elements comprise device names, device coordinates, device icons and device special attributes;
Generating each device in the appointed display area on a canvas according to each device coordinate and device icon creation element by using a front-end tool package, and marking corresponding device names and device special attributes on each element;
the pre-constructed database is formed based on the CAD graph data of the track area to be drawn.
According to the H5 drawing display method based on the CAD drawing data of the track traffic trackside equipment, the pre-constructed database is formed based on the CAD drawing data of the track area to be drawn, and the method specifically comprises the following steps:
the pre-built database is built based on the CAD graph data of the track area to be mapped by:
Invoking a CAD software debugging interface to import CAD graph data of the track area to be drawn into a table, wherein the CAD graph data comprises all attribute values of any device of the track area to be drawn;
and screening out the H5 elements of each device in the table to form an updated table, and storing all data in the updated table into the pre-constructed database.
According to the H5 drawing display method based on the CAD drawing data of the rail transit trackside equipment,
The step of calling a CAD software debugging interface to import the CAD graph data of the track area to be drawn into a table specifically comprises the following steps:
Invoking a data extraction interface in CAD software to import CAD graph data of the track area to be drawn into an excel table, wherein any row of the excel table comprises all attribute values of equipment in the track area to be drawn corresponding to the CAD graph data;
correspondingly, the step of screening out the H5 elements of each device in the table to form an updated table specifically comprises the following steps:
and identifying the categories of all attribute columns of the excel table, screening out the equipment name column, the equipment coordinate column, the equipment icon column and the equipment special attribute column of any row in the excel table, and storing to obtain an updated table.
According to the H5 drawing display method based on CAD drawing data of the track traffic trackside equipment provided by the invention, the storing all data in the updated table into the pre-constructed database specifically comprises:
reading H5 elements of devices in any device type from the update table according to the device type based on the device type label in the update table,
If the H5 elements of the devices exist in any device type, storing the H5 elements of all the devices in any device type into the pre-constructed database,
And if the equipment belonging to any equipment type does not exist, skipping any equipment type, and reading the H5 element of each equipment in the next equipment type.
According to the H5 drawing display method based on the CAD graph data of the rail-mounted equipment of the rail transit, the equipment type comprises a rail type, a shaft counter type, a turnout point machine type, a signal machine and a transponder type;
the special attribute of the track type equipment is an angle value, the special attribute of the axle counter type equipment is a common axle counter or a demarcation axle counter, the special attribute of the turnout switch machine is a double-machine turnout or a single turnout, the special attribute of the annunciator is a three-display annunciator, a double-display annunciator or an entrance annunciator, and the special attribute of the transponder is an active transponder, a passive transponder, a wheel diameter correction transponder or a dormancy awakening transponder.
According to the H5 drawing display method based on CAD drawing data of the track traffic trackside equipment provided by the invention, the H5 elements of each equipment in the designated display area are obtained from a pre-constructed database, and the method specifically comprises the following steps:
Sending an element obtaining request to the pre-constructed database to trigger the pre-constructed database to return H5 elements of all devices in the appointed display area through a data transmission interface constructed by SpringBoot frames in a data format specified by front-end design;
Wherein the get element request includes the specified presentation area information.
According to the H5 drawing display method based on the CAD drawing data of the rail transit trackside equipment, the front-end tool kit is jtopo tool kit, and the storage medium of the pre-built database is Mysql.
The invention also provides an H5 drawing display device based on the CAD drawing data of the rail transit trackside equipment, which comprises:
The receiving unit is used for receiving drawing commands, wherein the drawing commands comprise appointed display areas in the areas needing drawing tracks;
The extraction unit is used for acquiring H5 elements of all the devices in the appointed display area from a pre-constructed database, wherein the H5 elements comprise device names, device coordinates, device icons and device special attributes;
the drawing unit is used for generating each device in the appointed display area on a canvas according to each device coordinate and device icon creation element by using a front-end tool package, and marking corresponding device names and device special attributes on each element;
the pre-constructed database is formed based on the CAD graph data of the track area to be drawn.
The invention also provides an electronic device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the steps of the H5 drawing display method based on the CAD graph data of the rail transit trackside equipment when executing the program.
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 steps of the H5 drawing presentation method based on CAD drawing data of a rail transit wayside device as described in any one of the above.
The H5 drawing display method based on the CAD graph data of the rail transit trackside equipment comprises the steps of receiving a drawing command, wherein the drawing command comprises a designated display area in a required drawing rail area; acquiring H5 elements of all devices in the appointed display area from a pre-constructed database, wherein the H5 elements comprise device names, device coordinates, device icons and device special attributes; generating each device in the appointed display area on a canvas according to each device coordinate and device icon creation element by using a front-end tool package, and marking corresponding device names and device special attributes on each element; the pre-constructed database is formed based on the CAD graph data of the track area to be drawn. Because each device in the appointed display area is generated on the canvas according to each device coordinate and device icon creation element through the front-end tool kit, and corresponding device names and device special attributes are marked on each element, the obtained H5 drawing is a lightweight drawing only comprising H5 elements, engineering data are extracted from a pre-built database, and the database is built based on the original CAD drawing data, so that the drawing process does not have manual participation, and the accuracy and the labor cost can be ensured. Therefore, the method provided by the invention realizes automatic light-weight processing of the CAD graph, saves labor cost and ensures the drawing accuracy of the simplified equipment in the graph.
Drawings
In order to more clearly illustrate the invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flow diagram of an H5 drawing display method based on CAD drawing data of rail transit trackside equipment provided by the invention;
FIG. 2 is a schematic diagram of an excel table formed by deriving CAD graph data according to the present invention;
Fig. 3 is a schematic structural diagram of an H5 drawing display device based on CAD drawing data of rail transit trackside equipment provided by the invention;
Fig. 4 is an exemplary effect diagram of H5 page software for implementing a station yard graph display method based on CAD graph data extraction of rail transit trackside equipment;
Fig. 5 is a schematic diagram of an entity structure of an electronic device according to the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The existing CAD (computer aided design) diagrams of rail transit trackside equipment are generally not simplified enough, and the problem that labor cost is high and labor error is large because manual drawing is required for lightening the CAD diagrams and the automatic conversion into simplified diagrams cannot be achieved is solved. The following describes an H5 drawing display method based on CAD drawing data of rail transit trackside equipment according to the present invention with reference to fig. 1 and 2. Fig. 1 is a schematic flow chart of an H5 drawing display method based on CAD drawing data of a rail transit trackside device according to the present invention, as shown in fig. 1, the method includes:
step 110, a drawing command is received, where the drawing command includes a specified display area in the required drawing track area.
Preferably, the execution main body of the H5 drawing display method based on the CAD drawing data of the rail transit trackside equipment is equivalent to H5 page display software installed on each operation site needing to be checked in a rail way. When a worker clicks on the software and inputs a designated display area to be viewed (typically, the area to be displayed is designated by a station name, such as beijing station, hong kong station, etc.), the H5 page display software receives a drawing command in which an area currently requiring a simplified drawing is designated. The specified display area must be included in the area of the track to be drawn, that is, when the H5 page display software draws the elements for drawing the simplified diagram of the specified display area from the database, the database already stores the required elements, that is, all the elements in the database can be added together to draw the simplified diagram of the area of the track to be drawn, and when the operator selects the specified display area for drawing and displaying, the range of the specified display area cannot exceed the range of the area of the track to be drawn. Therefore, a drop-down menu is typically made on the H5 page presentation software, and the selectable designated presentation area is presented according to the extent of the desired drawing track area in the database. Therefore, the designated display area capable of being displayed by the H5 drawing display method based on the CAD drawing data of the rail transit trackside equipment is determined according to the pre-constructed database, and only the corresponding element data is stored in the database to be displayed at the front end.
Step 120, obtaining an H5 element of each device in the specified display area from a pre-built database, wherein the H5 element comprises a device name, a device coordinate, a device icon and a device special attribute;
Preferably, after receiving the drawing instruction, the front-end toolkit needs to acquire a data source capable of creating elements on the canvas, and because source data (i.e., H5 elements) for drawing the simplified diagram in the present invention are stored in a pre-constructed database, H5 elements of each device in the designated display area need to be acquired from the pre-constructed database. The H5 element is defined herein to include a device name, a device coordinate, a device icon, and a device specific attribute, that is, with respect to the cumbersome attribute included in each device of the CAD drawing, only four attributes are needed for each device in the lightweight drawing: device names, device coordinates, device icons, and device specific attributes, where the device coordinates and device icons are used when creating elements on a canvas when drawing H5, it is necessary to determine where to punch an icon of what shape on the canvas, and then attach the device names and device specific attributes next to the icon.
Step 130, using a front-end toolkit to generate each device in the appointed display area on a canvas according to each device coordinate and device icon creation element, and marking corresponding device names and device special attributes on each element;
the pre-constructed database is formed based on the CAD graph data of the track area to be drawn.
Preferably, after the H5 element of each device in the designated display area is obtained, the H5 element of each device is processed by using a front end toolkit, where the front end toolkit refers to a drawing toolkit of H5 type, the processing flow is that the drawing toolkit is created on canvas according to each device coordinate and device icon, then the corresponding device name and device special attribute are marked on each element, where it should be noted that the pre-built database is formed based on CAD drawing data of the track area to be drawn, that is, the most original data source is the CAD drawing of the track area to be drawn, all the H5 elements of each device in the track area to be drawn in the database are extracted from the CAD drawing and are selected and stored according to a certain rule, the extracting data from the CAD drawing can be automatically obtained through a call interface carried by CAD software, the selection of the attribute in the H5 element required by the simplified drawing can also be automatically completed by setting a selection condition, and the storage rule can be that each device H5 element of the same device type is stored in the same area principle, where the storage rule is not specifically defined.
The H5 drawing display method based on the CAD graph data of the rail transit trackside equipment comprises the steps of receiving a drawing command, wherein the drawing command comprises a designated display area in a required drawing rail area; acquiring H5 elements of all devices in the appointed display area from a pre-constructed database, wherein the H5 elements comprise device names, device coordinates, device icons and device special attributes; generating each device in the appointed display area on a canvas according to each device coordinate and device icon creation element by using a front-end tool package, and marking corresponding device names and device special attributes on each element; the pre-constructed database is formed based on the CAD graph data of the track area to be drawn. Because each device in the appointed display area is generated on the canvas according to each device coordinate and device icon creation element through the front-end tool kit, and corresponding device names and device special attributes are marked on each element, the obtained H5 drawing is a lightweight drawing only comprising H5 elements, engineering data are extracted from a pre-built database, and the database is built based on the original CAD drawing data, so that the drawing process does not have manual participation, and the accuracy and the labor cost can be ensured. Therefore, the method provided by the invention realizes automatic light-weight processing of the CAD graph, saves labor cost and ensures the drawing accuracy of the simplified equipment in the graph.
On the basis of the foregoing embodiment, in the method, the pre-built database is formed based on CAD drawing data of the track area to be drawn, and specifically includes:
the pre-built database is built based on the CAD graph data of the track area to be mapped by:
Invoking a CAD software debugging interface to import CAD graph data of the track area to be drawn into a table, wherein the CAD graph data comprises all attribute values of any device of the track area to be drawn;
and screening out the H5 elements of each device in the table to form an updated table, and storing all data in the updated table into the pre-constructed database.
Preferably, the construction process of the pre-constructed database is described in detail herein. Firstly, the source data of all drawing is the CAD graph of the track area to be drawn, after the CAD graph of the track area to be drawn is opened by adopting CAD software, the storage area in the software is specially used for storing basic data which is constructed and displayed by the CAD graph, such as the horizontal and vertical axis coordinates, the graph layer, the angle, the equipment type, the station serial number to which the equipment belongs, and the like of a certain equipment, and the CAD software also provides a specific interface, when the interface is called, the basic data can be directly exported to form table data, and the table data comprises all attribute values (i.e. all basic data) of all the equipment of the track area to be drawn. Screening the H5 elements of each device in the table to form an updated table, wherein the screening is required to be performed according to the table attribute, if the attribute of each column in the table is specified when the interface export data is called, the screening is directly performed according to the attribute of each column specified before the screening, and if the interface export data is called, the attribute of each column in the table is not specified, the attribute of each column in the table generated each time is required to be dynamically identified, and then the attribute in the H5 element is required to be extracted. The storage rule when storing all the data in the update table into the pre-constructed database may be to store the elements of each device H5 in the same area principle, or store the elements of the devices H5 in the same device type, which is not limited herein.
The method provided by the invention particularly provides a method for automatically importing CAD graph data of a region needing drawing tracks into a table by calling a CAD software debugging interface, and the screening and storing of the table data into a database show that all processes can be automatically realized without manual participation to ensure no manual error, so that the screening is performed to ensure the light weight of H5 drawing, and unnecessary attribute data are not needed.
On the basis of the above embodiment, in the method, the calling the CAD software debug interface to import the CAD drawing data of the track area to be drawn into a table specifically includes:
Invoking a data extraction interface in CAD software to import CAD graph data of the track area to be drawn into an excel table, wherein any row of the excel table comprises all attribute values of equipment in the track area to be drawn corresponding to the CAD graph data;
correspondingly, the step of screening out the H5 elements of each device in the table to form an updated table specifically comprises the following steps:
and identifying the categories of all attribute columns of the excel table, screening out the equipment name column, the equipment coordinate column, the equipment icon column and the equipment special attribute column of any row in the excel table, and storing to obtain an updated table.
Preferably, a specific interface in CAD software is further defined as a data extraction interface, the data extraction interface is known to be an interface specially developed in CAD software and used for extracting engineering data on a CAD drawing, a data format automatically derived by the data extraction interface is an excel table, fig. 2 is a schematic diagram of the excel table formed by deriving CAD drawing data provided by the present invention, as shown in fig. 2, each row in the table corresponds to a device, each column represents an attribute of the device, and the attributes shown in fig. 2 include a device ID, a device name, a device horizontal axis start point, a device vertical axis start point, a device horizontal axis end point, a device vertical axis end point, a layer, an angle, a device type, and a site to which the device belongs. Since the attributes of each column of the derived table are not specified during data derivation, the attributes of each column in the derived table are randomly generated, namely, the attribute of the second column in the excel table formed by the last CAD data is derived is the device name, the attribute of the third column in the excel table formed by the current CAD data is the device ID, and the attribute of the second column in the excel table formed by the current CAD data is the device name. Therefore, when the H5 element of each device is screened, there is no column to be screened (for example, the H5 element to be screened is fixed in the 2 nd, 4 th, 5 th and 7 th columns of the excel table) which can be used as a reference basis for screening, but dynamic identification needs to be performed on the excel table generated each time, and a device name column, a device coordinate column, a device icon column and a device special attribute column required in the H5 element are selected and stored to obtain an updated table. This dynamic identification process is in fact to identify each column name of the first row, pick up x_start, y_start, x_end, y_ end, name, mark _ shape, angle, type, etc. data representing the device name, device coordinates, device icon, and device specific attributes required in the H5 element to form an updated table.
The method further limits the data export interface in CAD software to be a data extraction interface, provides a method for screening H5 elements based on a random excel table exported by the data extraction interface, needs dynamic identification attribute name re-extraction, provides a specific method for automatically realizing CAD data export and screening simplified diagram composition data, provides data export convenience for the data extraction interface, and also remedies the defect that the column attribute of the generated excel table is random by adopting the dynamic identification method, so that the screening H5 elements are smoothly and accurately carried out.
On the basis of the foregoing embodiment, in the method, the storing all data in the update table into the pre-constructed database specifically includes:
reading H5 elements of devices in any device type from the update table according to the device type based on the device type label in the update table,
If the H5 elements of the devices exist in any device type, storing the H5 elements of all the devices in any device type into the pre-constructed database,
And if the equipment belonging to any equipment type does not exist, skipping any equipment type, and reading the H5 element of each equipment in the next equipment type.
Preferably, after the update table is obtained from the export table through screening, the data in the update table is stored in the database, and is usually stored based on a certain storage sequence rule. For example, the type columns in the original excel table shown in fig. 2 represent device types, and for the same numbered type columns, the device types of the devices corresponding to the rows where they are located are the same, which are all tracks, annunciators, and the like. Therefore, when the data in the updated table is stored in the database, the data is generally read and stored according to a certain type sequence, for example, if the number 1 in the type column indicates a track, the number 2 indicates an axis, the number 3 indicates a signaling machine, and the like, the data is read and stored according to the numbers of the device types from 1 to N (N is the total number of the device types), all the track devices in the updated table are firstly extracted, if one track device cannot be found, the track device is skipped, the axis counter represented by the number 2 is found, if the axis counter exists, the H5 element data of all the axis counter in the table are stored in the pre-built database, the signaling machine represented by the number 3 is found, and the data is sequentially found until the N type of the device type is read, so that all the devices are stored according to the sequence of the device type row.
The method provided by the invention has the advantages that the storage method of bundling according to the equipment type is arranged during storage, the read-in storage order can be changed, the data is prevented from being missed, and the data obtained through storage is more regular.
On the basis of the embodiment, in the method, the equipment type comprises a track type, a shaft counter type, a turnout point machine type, a signal machine type and a transponder type;
the special attribute of the track type equipment is an angle value, the special attribute of the axle counter type equipment is a common axle counter or a demarcation axle counter, the special attribute of the turnout switch machine is a double-machine turnout or a single turnout, the special attribute of the annunciator is a three-display annunciator, a double-display annunciator or an entrance annunciator, and the special attribute of the transponder is an active transponder, a passive transponder, a wheel diameter correction transponder or a dormancy awakening transponder.
Preferably, the total number of classes of device types is further defined herein, including which types are individually included. The trackside equipment shown in the simplified drawings is of five kinds, namely a track type, a coupler type, a switch machine type, a signal machine type and a transponder type. Their device specific attribute interpretation and usefulness are as follows:
Drawing a track: and (5) realizing the track line drawing of the station yard graph foundation.
Drawing a shaft counter: according to the special attribute of the axle counting device, the axle counting device can be divided into a common axle counting point and a demarcation axle counting point, the special attribute of the axle counting device can be marked beside a corresponding element created on a canvas through characters, different axle counting graphs can be drawn according to different attributes, the specific position of the axle counting device is displayed, and detailed information such as a kilometer sign can be displayed through point selection;
Drawing a signaler: the special attribute of the annunciator can be divided into three-display annunciators, two-display annunciators and an entering annunciator, the special attribute of the annunciator can be beside a corresponding element created on a canvas through text marking, different annunciator graphs can be drawn according to different attributes, the specific positions of the annunciators are displayed, and detailed information such as kilometer signs can be displayed through clicking;
Drawing a turnout point machine: according to special properties of the turnout, the turnout can be divided into a double turnout and a single turnout, the special properties can be marked beside corresponding elements created on canvas through characters, different figures can be drawn according to different properties, specific positions of the switch machine are displayed, and detailed information such as kilometer marks can be displayed in a clicking mode;
drawing a transponder: the special attribute of the transponder is determined according to the type of the transferred equipment, namely, the transponder is an active transponder, a passive transponder, a wheel diameter correction transponder and a dormancy awakening transponder, and the special attribute of the transponder can be marked beside a corresponding element created on a canvas through characters, or different graphics can be drawn according to different attributes to display a plurality of different types of transponders.
The method provided by the invention limits the equipment types displayed on the light-weight trackside equipment graph and how the special equipment attributes of the equipment types are displayed on the H5 drawing, and the display is more visual by using the icon shape and more accurate by using the characters.
Based on the above embodiment, in the method, the obtaining, from a pre-constructed database, the H5 element of each device in the specified display area specifically includes:
Sending an element obtaining request to the pre-constructed database to trigger the pre-constructed database to return H5 elements of all devices in the appointed display area through a data transmission interface constructed by SpringBoot frames in a data format specified by front-end design;
Wherein the get element request includes the specified presentation area information.
Preferably, since the pre-built database stores H5 element data of all devices in the track area to be mapped, when only the designated display area is mapped, only H5 elements of the devices corresponding to the designated display area need to be acquired from the pre-built database, and therefore, the request for acquiring the elements sent to the pre-built database must include the area where the devices to be acquired are located, that is, the information of the designated display area needs to be given. Because the execution main body of the H5 drawing display method based on the rail transit trackside equipment CAD graph data is equivalent to H5 page display software installed on each operation site needing to be subjected to rail viewing, a pull-down menu is usually made on the H5 page display software, an optional appointed display area is given according to the range of the required drawing rail area in the database, for example, by selecting a certain area in the pull-down menu as the appointed display area, the selected area of the pull-down menu is the appointed display area information carried in the acquired element request, when the construction of the pre-constructed database is completed, the pre-constructed database can negotiate the division of the appointed display area with the H5 page display software, so that when the H5 page display software sends a certain appointed display area data acquisition request, the pre-constructed database can return the H5 element data of equipment corresponding to a certain appointed display area. And when the method returns, the data is transmitted to the front end according to the data type by the data transmission interface realized by the SpringBoot framework and the data is transmitted to the front end according to the data format specified by the front end design, wherein the front end is equivalent to the H5 page display software.
The method provided by the invention further specifically describes how to achieve the acquisition of a data source for drawing a simplified diagram of a designated display area, wherein a data transmission interface is defined and realized by a SpringBoot framework, the database also needs to convert H5 data to be transmitted to the front end into a format required by the front end for return, the cooperation and division between the database and the front end are further described, the database is enabled to complete most of work, including early screening, storage and later format conversion, the front end only pulls data and then carries out H5 drawing, not only the reduction of the simplified diagram is realized, but also the reduction of terminal equipment is realized, and most of work is arranged in a background database by using cloud thinking.
Based on the foregoing embodiment, in the method, the front-end toolkit is a jtopo toolkit, and the storage medium of the pre-built database is Mysql.
Preferably, the tool kit for drawing the front end is further defined as jtopo tool kit, the jtopo tool kit is used for drawing the lightweight map, the exquisite, professional and efficient graphical trackside equipment map can be very simply and rapidly created, the html 5-based topological map function library is fewer, the best use is less, only jtopo tool kit is available at present, and jtopo tool kit can be compatible with various browser platforms; the storage medium defining the pre-built database is Mysql, which is the most commonly used storage medium for databases, and the hardware requirement is popular.
The H5 drawing and displaying device based on the CAD drawing data of the track traffic trackside equipment provided by the invention is described below, and the H5 drawing and displaying device based on the CAD drawing data of the track traffic trackside equipment described below and the H5 drawing and displaying method based on the CAD drawing data of the track traffic trackside equipment described above can be correspondingly referred to each other.
Fig. 3 is a schematic structural diagram of an H5 drawing and displaying device based on CAD drawing data of a rail transit trackside equipment according to the present invention, as shown in fig. 3, the device includes a receiving unit 310, an extracting unit 320 and a drawing unit 330, wherein,
The receiving unit 310 is configured to receive a drawing command, where the drawing command includes a specified display area in a required drawing track area;
The extracting unit 320 is configured to obtain, from a pre-constructed database, an H5 element of each device in the specified display area, where the H5 element includes a device name, a device coordinate, a device icon, and a device special attribute;
The drawing unit 330 is configured to generate, using a front-end toolkit, each device in the specified display area on a canvas according to each device coordinate and a device icon creation element, and mark, on each element, a corresponding device name and a device special attribute;
the pre-constructed database is formed based on the CAD graph data of the track area to be drawn.
The H5 drawing display device based on the CAD graph data of the rail transit trackside equipment receives a drawing command, wherein the drawing command comprises a designated display area in a required drawing rail area; acquiring H5 elements of all devices in the appointed display area from a pre-constructed database, wherein the H5 elements comprise device names, device coordinates, device icons and device special attributes; generating each device in the appointed display area on a canvas according to each device coordinate and device icon creation element by using a front-end tool package, and marking corresponding device names and device special attributes on each element; the pre-constructed database is formed based on the CAD graph data of the track area to be drawn. Because each device in the appointed display area is generated on the canvas according to each device coordinate and device icon creation element through the front-end tool kit, and corresponding device names and device special attributes are marked on each element, the obtained H5 drawing is a lightweight drawing only comprising H5 elements, engineering data are extracted from a pre-built database, and the database is built based on the original CAD drawing data, so that the drawing process does not have manual participation, and the accuracy and the labor cost can be ensured. Therefore, the device provided by the invention realizes automatic light-weight processing of the CAD graph, saves labor cost and ensures the drawing accuracy of the simplified equipment in the graph.
On the basis of the above-described embodiment, in the device,
The pre-constructed database is formed based on the CAD graph data of the track area to be drawn, and specifically comprises the following steps:
the pre-built database is built based on the CAD graph data of the track area to be mapped by:
Invoking a CAD software debugging interface to import CAD graph data of the track area to be drawn into a table, wherein the CAD graph data comprises all attribute values of any device of the track area to be drawn;
and screening out the H5 elements of each device in the table to form an updated table, and storing all data in the updated table into the pre-constructed database.
On the basis of the above-described embodiment, in the device,
The step of calling a CAD software debugging interface to import the CAD graph data of the track area to be drawn into a table specifically comprises the following steps:
Invoking a data extraction interface in CAD software to import CAD graph data of the track area to be drawn into an excel table, wherein any row of the excel table comprises all attribute values of equipment in the track area to be drawn corresponding to the CAD graph data;
correspondingly, the step of screening out the H5 elements of each device in the table to form an updated table specifically comprises the following steps:
and identifying the categories of all attribute columns of the excel table, screening out the equipment name column, the equipment coordinate column, the equipment icon column and the equipment special attribute column of any row in the excel table, and storing to obtain an updated table.
On the basis of the above-described embodiment, in the device,
The storing all the data in the updated table into the pre-constructed database specifically includes:
reading H5 elements of devices in any device type from the update table according to the device type based on the device type label in the update table,
If the H5 elements of the devices exist in any device type, storing the H5 elements of all the devices in any device type into the pre-constructed database,
And if the equipment belonging to any equipment type does not exist, skipping any equipment type, and reading the H5 element of each equipment in the next equipment type.
On the basis of the above-described embodiment, in the device,
The equipment types comprise a track type, a shaft counter type, a turnout point machine type, a signal machine and a transponder type;
the special attribute of the track type equipment is an angle value, the special attribute of the axle counter type equipment is a common axle counter or a demarcation axle counter, the special attribute of the turnout switch machine is a double-machine turnout or a single turnout, the special attribute of the annunciator is a three-display annunciator, a double-display annunciator or an entrance annunciator, and the special attribute of the transponder is an active transponder, a passive transponder, a wheel diameter correction transponder or a dormancy awakening transponder.
On the basis of the above-described embodiment, in the device,
The step of obtaining the H5 element of each device in the appointed display region from a pre-constructed database specifically comprises the following steps:
Sending an element obtaining request to the pre-constructed database to trigger the pre-constructed database to return H5 elements of all devices in the appointed display area through a data transmission interface constructed by SpringBoot frames in a data format specified by front-end design;
Wherein the get element request includes the specified presentation area information.
On the basis of the above-described embodiment, in the device,
The front-end toolkit is jtopo toolkit, and the storage medium of the pre-built database is Mysql.
Based on the embodiment, the invention provides a station yard graph display flow based on CAD graph data extraction of rail transit trackside equipment, wherein the flow is a drawing software developed aiming at the graphic display function of MSS projects, mainly adopts a drawing technology provided by jtopo development kits, takes Mysql as a data storage medium, and provides data to the front end in a data interface form for automatic drawing display;
the basic structure of the flow is divided into three parts, namely CAD data extraction, a data transmission interface and front-end jtopo drawing and displaying.
Extracting CAD data: the visual transformation of the attributes of the graph, such as coordinates, kilometers marks and the like, into a data form is performed in order to make jtopo drawings by using the data secondarily. Including but not limited to a collection of block diagrams of canvas elements drawing lines, axle gauges, switch switches, annunciators, etc.
Data transmission interface: and the data is transmitted to the front end according to the data type by a data format specified by the front end design through a data transmission interface realized by the SpringBoot framework.
Front-end jtopo drawing display: the front end uses jtopo toolkits to create a canvas, and then automatically creates elements according to the element coordinates passed by the back end and creates the elements on the canvas.
Working principle: converting data into an excel format through CAD drawings provided by the project, screening the excel data, storing the excel data into a Mysql database through a POI technology, transmitting the excel data to a front-end display combination display through a data interface, and completing station yard diagram display through a B/S structure by the whole technology.
In the construction process of the flow, information useful for software, such as equipment types (axle counting, switch machines, annunciators and the like), equipment kilometers marks, uplink and downlink information and the like, can be extracted through CAD drawings provided by projects; automation and multiplexing are realized, the working strength of designers is reduced, and the working efficiency is improved; the CAD drawing is stored in a database in a data form, and the graphical interface can be rapidly displayed through a deserialization technology, so that the coordinate data can be more conveniently finely adjusted; by extracting and processing the trackside data, whether the equipment name and the code position of the trackside equipment are consistent or not can be checked secondarily, and the data rigor can be confirmed.
The main functions are as follows:
1. drawing a track: and (5) realizing the track line drawing of the station yard graph foundation.
2. Drawing a shaft counter: according to the axle counting attribute, the axle counting device can be divided into a common axle counting point and a demarcation axle counting point, different axle counting graphs are drawn according to different attributes, the specific position of the axle counting device is displayed, and detailed information such as kilometer posts can be displayed in a point selection mode.
3. Drawing a signaler: according to the attribute of the annunciators, the annunciators can be divided into three-display annunciators, double-display annunciators, incoming annunciators and the like, different annunciator graphs are drawn according to different attributes, the specific positions of the annunciators are displayed, and detailed information such as kilometers marks can be displayed in a clicking mode.
4. Drawing a turnout point machine: according to the switch attribute, the switch can be divided into a double-machine switch and a single-machine switch, different graphs are drawn according to different attributes, the specific positions of the switch are displayed, and detailed information such as kilometer posts can be displayed in a point selection mode.
5. Drawing a transponder: the active transponder, the passive transponder, the wheel diameter correction transponder, the sleep wake-up transponder, etc. are determined according to the type of the transferred equipment, and a plurality of different types of transponders are drawn.
To achieve the above object, the main work is divided into the following steps:
1. writing a station yard graph display technical design specification based on CAD graph data extraction of rail transit trackside equipment;
2. Writing a station yard graph display technical specification based on CAD graph data extraction of rail transit trackside equipment;
3. constructing a project frame;
4. Realizing the coding function;
5. and (5) testing.
The final function can be realized:
1) Drawing a track:
Drawing the track refers to displaying data on an interface in the form of graphic elements, wherein the track mainly has 5 attributes, namely an x-axis starting point, an x-axis ending point, a y-axis starting point, a y-axis ending point and an angle.
2) Drawing a metering shaft, a annunciator and a turnout switch machine:
Drawing the axle counting, signal machine and switch machine means that the data is displayed on the interface in the form of graphic elements, which mainly has 4 attributes, namely an x-axis starting point, a y-axis starting point, an angle, a kilometer post and a device number.
3) Drawing a transponder:
drawing the transponder means drawing different types of transponders on the interface according to different transferred equipment identifiers, so as to achieve the effect of improving the interface.
Fig. 4 is an exemplary effect diagram of H5 page software for implementing a yard graph display method based on CAD graph data extraction of rail transit trackside equipment, where, as shown in fig. 4, when a north a river station is selected from a drop-down menu of a station, the H5 page software displays a lightweight graph of trackside equipment in an area where the north a river station is located. From the effect diagram shown in fig. 4, it can be known that the invention realizes the conversion from the CAD drawing to the web interface graphic, thereby greatly improving the efficiency of equipment retrieval; the interface in fig. 4 is simple and clear, various devices are clear at a glance, the point selection device confirms kilometer post information and the like, the daily maintenance is convenient, the drawing can be rapidly switched according to the site through the point selection of the pull-down menu, the field maintenance personnel can conveniently find out the site device, the outdoor alarm device is marked by an arrow, and the field maintenance personnel can rapidly locate faults.
Fig. 5 illustrates a physical schematic diagram of an electronic device, as shown in fig. 5, which may include: processor 510, communication interface (Communications Interface) 520, memory 530, and communication bus 540, wherein processor 510, communication interface 520, memory 530 complete communication with each other through communication bus 540. The processor 510 may invoke logic instructions in the memory 530 to perform an H5 drawing presentation method based on rail transit trackside device CAD drawing data, the method comprising: receiving a drawing command, wherein the drawing command comprises a designated display area in a track area to be drawn; acquiring H5 elements of all devices in the appointed display area from a pre-constructed database, wherein the H5 elements comprise device names, device coordinates, device icons and device special attributes; generating each device in the appointed display area on a canvas according to each device coordinate and device icon creation element by using a front-end tool package, and marking corresponding device names and device special attributes on each element; the pre-constructed database is formed based on the CAD graph data of the track area to be drawn.
Further, the logic instructions in the memory 530 described above may be implemented in the form of software functional units and may be stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, are capable of executing the H5 plot presentation method based on CAD drawing data of a rail transit wayside device provided by the methods described above, the method comprising: receiving a drawing command, wherein the drawing command comprises a designated display area in a track area to be drawn; acquiring H5 elements of all devices in the appointed display area from a pre-constructed database, wherein the H5 elements comprise device names, device coordinates, device icons and device special attributes; generating each device in the appointed display area on a canvas according to each device coordinate and device icon creation element by using a front-end tool package, and marking corresponding device names and device special attributes on each element; the pre-constructed database is formed based on the CAD graph data of the track area to be drawn.
In yet another aspect, the present invention further provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, is implemented to perform the H5 drawing presentation method based on CAD drawing data of a rail transit wayside device provided by the methods above, the method comprising: receiving a drawing command, wherein the drawing command comprises a designated display area in a track area to be drawn; acquiring H5 elements of all devices in the appointed display area from a pre-constructed database, wherein the H5 elements comprise device names, device coordinates, device icons and device special attributes; generating each device in the appointed display area on a canvas according to each device coordinate and device icon creation element by using a front-end tool package, and marking corresponding device names and device special attributes on each element; the pre-constructed database is formed based on the CAD graph data of the track area to be drawn.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the 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 scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (7)

1. An H5 drawing display method based on CAD drawing data of rail transit trackside equipment is characterized by comprising the following steps:
Receiving a drawing command, wherein the drawing command comprises a designated display area in a track area to be drawn;
acquiring H5 elements of all devices in the appointed display area from a pre-constructed database, wherein the H5 elements comprise device names, device coordinates, device icons and device special attributes;
Generating each device in the appointed display area on a canvas according to each device coordinate and device icon creation element by using a front-end tool package, and marking corresponding device names and device special attributes on each element;
The pre-constructed database is formed based on CAD graph data of the track area to be drawn;
The pre-built database is formed based on the CAD graph data of the track area to be drawn, and comprises:
the pre-built database is built based on the CAD graph data of the track area to be mapped by:
Invoking a CAD software debugging interface to import CAD graph data of the track area to be drawn into a table, wherein the CAD graph data comprises all attribute values of any device of the track area to be drawn;
screening out the H5 elements of all the devices in the table to form an updated table, and storing all data in the updated table into the pre-constructed database;
the invoking of the CAD software debugging interface to import the CAD graph data of the track area to be drawn into a table comprises the following steps:
Invoking a data extraction interface in CAD software to import CAD graph data of the track area to be drawn into an excel table, wherein any row of the excel table comprises all attribute values of equipment in the track area to be drawn corresponding to the CAD graph data;
correspondingly, the step of screening out the H5 elements of each device in the table to form an updated table specifically comprises the following steps:
identifying the categories of all attribute columns of the excel table, screening out the equipment name column, the equipment coordinate column, the equipment icon column and the equipment special attribute column of any row in the excel table, and storing to obtain an updated table;
Said storing all data in said updated table into said pre-constructed database, comprising:
reading H5 elements of devices in any device type from the update table according to the device type based on the device type label in the update table,
If the H5 elements of the devices exist in any device type, storing the H5 elements of all the devices in any device type into the pre-constructed database,
And if the equipment belonging to any equipment type does not exist, skipping any equipment type, and reading the H5 element of each equipment in the next equipment type.
2. The H5 plot presentation method based on CAD drawing data of rail transit trackside equipment of claim 1, wherein the equipment types include a track type, a spindle counter type, a switch machine type, a signal machine and a transponder type;
the special attribute of the track type equipment is an angle value, the special attribute of the axle counter type equipment is a common axle counter or a demarcation axle counter, the special attribute of the turnout switch machine is a double-machine turnout or a single turnout, the special attribute of the annunciator is a three-display annunciator, a double-display annunciator or an entrance annunciator, and the special attribute of the transponder is an active transponder, a passive transponder, a wheel diameter correction transponder or a dormancy awakening transponder.
3. The H5 drawing and displaying method based on CAD drawing data of the rail transit trackside equipment according to claim 1, wherein the obtaining the H5 elements of each equipment in the designated display area from the pre-constructed database includes:
Sending an element obtaining request to the pre-constructed database to trigger the pre-constructed database to return H5 elements of all devices in the appointed display area through a data transmission interface constructed by SpringBoot frames in a data format specified by front-end design;
Wherein the get element request includes the specified presentation area information.
4. A method for H5 drawing and displaying based on CAD drawing data of a rail transit trackside equipment according to any one of claims 1 to 3, wherein the front-end toolkit is jtopo toolkit, and the storage medium of the pre-built database is Mysql.
5. H5 drawing display device based on track traffic trackside equipment CAD drawing data, characterized by comprising:
The receiving unit is used for receiving drawing commands, wherein the drawing commands comprise appointed display areas in the areas needing drawing tracks;
The extraction unit is used for acquiring H5 elements of all the devices in the appointed display area from a pre-constructed database, wherein the H5 elements comprise device names, device coordinates, device icons and device special attributes;
the drawing unit is used for generating each device in the appointed display area on a canvas according to each device coordinate and device icon creation element by using a front-end tool package, and marking corresponding device names and device special attributes on each element;
The pre-constructed database is formed based on CAD graph data of the track area to be drawn;
The pre-built database is formed based on the CAD graph data of the track area to be drawn, and comprises:
the pre-built database is built based on the CAD graph data of the track area to be mapped by:
Invoking a CAD software debugging interface to import CAD graph data of the track area to be drawn into a table, wherein the CAD graph data comprises all attribute values of any device of the track area to be drawn;
screening out the H5 elements of all the devices in the table to form an updated table, and storing all data in the updated table into the pre-constructed database;
the invoking of the CAD software debugging interface to import the CAD graph data of the track area to be drawn into a table comprises the following steps:
Invoking a data extraction interface in CAD software to import CAD graph data of the track area to be drawn into an excel table, wherein any row of the excel table comprises all attribute values of equipment in the track area to be drawn corresponding to the CAD graph data;
correspondingly, the step of screening out the H5 elements of each device in the table to form an updated table specifically comprises the following steps:
identifying the categories of all attribute columns of the excel table, screening out the equipment name column, the equipment coordinate column, the equipment icon column and the equipment special attribute column of any row in the excel table, and storing to obtain an updated table;
Said storing all data in said updated table into said pre-constructed database, comprising:
reading H5 elements of devices in any device type from the update table according to the device type based on the device type label in the update table,
If the H5 elements of the devices exist in any device type, storing the H5 elements of all the devices in any device type into the pre-constructed database,
And if the equipment belonging to any equipment type does not exist, skipping any equipment type, and reading the H5 element of each equipment in the next equipment type.
6. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor performs the steps of the H5 drawing presentation method based on CAD drawing data of a rail transit wayside device as defined in any one of claims 1 to 4 when the program is executed.
7. A non-transitory computer readable storage medium having stored thereon a computer program, which when executed by a processor, implements the steps of the H5 drawing presentation method based on CAD drawing data of a rail transit wayside device as claimed in any one of claims 1 to 4.
CN202011515645.0A 2020-12-21 2020-12-21 H5 drawing display method based on CAD (computer aided design) drawing data of rail transit trackside equipment Active CN112560130B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011515645.0A CN112560130B (en) 2020-12-21 2020-12-21 H5 drawing display method based on CAD (computer aided design) drawing data of rail transit trackside equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011515645.0A CN112560130B (en) 2020-12-21 2020-12-21 H5 drawing display method based on CAD (computer aided design) drawing data of rail transit trackside equipment

Publications (2)

Publication Number Publication Date
CN112560130A CN112560130A (en) 2021-03-26
CN112560130B true CN112560130B (en) 2024-05-07

Family

ID=75031003

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011515645.0A Active CN112560130B (en) 2020-12-21 2020-12-21 H5 drawing display method based on CAD (computer aided design) drawing data of rail transit trackside equipment

Country Status (1)

Country Link
CN (1) CN112560130B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113076573B (en) * 2021-04-15 2021-09-10 北京城建设计发展集团股份有限公司 Computer-aided system for weak current design of rail transit
CN113095684B (en) * 2021-04-15 2021-09-28 北京城建设计发展集团股份有限公司 Auxiliary drawing system
CN113535280B (en) * 2021-08-04 2023-03-21 北京字跳网络技术有限公司 Pattern drawing method, device, equipment, computer readable storage medium and product

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6466953B1 (en) * 1998-05-12 2002-10-15 Autodesk, Inc. Method and apparatus for hierarchical drawing sheet management
CN101425108A (en) * 2008-11-14 2009-05-06 无锡华润安盛科技有限公司 Automatic wire-distributing and wire-connecting system apparatus for packaging autolisp
CN106780845A (en) * 2016-11-17 2017-05-31 交控科技股份有限公司 Graphic display method and device
JP2017107285A (en) * 2015-12-07 2017-06-15 清水建設株式会社 Inspection support device and inspection system
CN107239266A (en) * 2016-03-29 2017-10-10 罗森伯格技术(昆山)有限公司 A kind of method and device for showing CAD diagram paper without plug-in unit in WEB front-end
CN107945246A (en) * 2017-11-07 2018-04-20 中船黄埔文冲船舶有限公司 Method, apparatus, terminal device and the storage medium of Parametric Drawing
CN109636875A (en) * 2018-12-18 2019-04-16 深圳市沃特沃德股份有限公司 Pattern drawing method, device and storage medium
CN109685872A (en) * 2018-09-25 2019-04-26 平安科技(深圳)有限公司 Animation producing method, device, equipment and computer readable storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6466953B1 (en) * 1998-05-12 2002-10-15 Autodesk, Inc. Method and apparatus for hierarchical drawing sheet management
CN101425108A (en) * 2008-11-14 2009-05-06 无锡华润安盛科技有限公司 Automatic wire-distributing and wire-connecting system apparatus for packaging autolisp
JP2017107285A (en) * 2015-12-07 2017-06-15 清水建設株式会社 Inspection support device and inspection system
CN107239266A (en) * 2016-03-29 2017-10-10 罗森伯格技术(昆山)有限公司 A kind of method and device for showing CAD diagram paper without plug-in unit in WEB front-end
CN106780845A (en) * 2016-11-17 2017-05-31 交控科技股份有限公司 Graphic display method and device
CN107945246A (en) * 2017-11-07 2018-04-20 中船黄埔文冲船舶有限公司 Method, apparatus, terminal device and the storage medium of Parametric Drawing
CN109685872A (en) * 2018-09-25 2019-04-26 平安科技(深圳)有限公司 Animation producing method, device, equipment and computer readable storage medium
CN109636875A (en) * 2018-12-18 2019-04-16 深圳市沃特沃德股份有限公司 Pattern drawing method, device and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
饶康康.CBTC 线路仿真系统的站场图设计与实现 .《城市轨道交通研究》.2013,(第1期),第38-43页. *

Also Published As

Publication number Publication date
CN112560130A (en) 2021-03-26

Similar Documents

Publication Publication Date Title
CN112560130B (en) H5 drawing display method based on CAD (computer aided design) drawing data of rail transit trackside equipment
CN103837796B (en) The transmission line malfunction visualization report method of a kind of sing on web and GIS and system
CN106022619A (en) Automobile repair and maintenance process monitoring and displaying system and method based on internet of things
CN112632651A (en) Rail transit station map generation method and system, electronic device and storage medium
CN108108403B (en) Spacer layer based equipment logic configuration visualization platform system and construction method thereof
CN111625735B (en) Method for visually displaying active operation and inspection by using secondary equipment of intelligent substation
CN103631578A (en) Data display method in power distribution network automated system
CN104166549A (en) Meteorological element contour surface analysis platform and construction method
CN107783979A (en) Kilometer stone information preparation method and device, geographic information acquisition equipment and navigation chip
CN103544561A (en) Method for realizing dynamic display of power transmission circuits, method for realizing operational maintenance of power transmission circuits and system for realizing management of power transmission circuits
CN111181769B (en) Network topological graph drawing method, system, device and computer readable storage medium
CN103746458A (en) Real-time representing method for power grid operational state
CN103699598A (en) Method for displaying data reference process in graphical manner and device thereof
CN111191154A (en) Optical cable label management method of two-dimensional code
CN113076730A (en) Test report intelligent management method, device, system and storage medium
CN109634867B (en) Software testing method and device based on data simulation system and storage medium
CN111131482A (en) Intelligent monitoring closed-loop operation and maintenance system based on BIM three-terminal synchronous equipment
CN105573973B (en) A method of EXCEL data are subjected to data correlation in PPT file
CN113779340A (en) Train operation diagram generation method and system, electronic device and storage medium
CN113724571A (en) Generation method and generation device of rail transit station map and electronic equipment
CN106570185B (en) Cross-platform display method for graphs of power system
CN111209318B (en) Geographic position data analysis method and device, electronic equipment and storage medium
CN113838157A (en) Track traffic map drawing system, method, electronic device and storage medium
CN107092663B (en) Water level early warning map drawing system and method based on GIS
CN113067746A (en) Network equipment real-time position display method and unified communication management system applied by same

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
GR01 Patent grant
GR01 Patent grant