CN115114310A - Gallery updating method, gallery updating device, electronic equipment and storage medium - Google Patents

Gallery updating method, gallery updating device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115114310A
CN115114310A CN202210674698.XA CN202210674698A CN115114310A CN 115114310 A CN115114310 A CN 115114310A CN 202210674698 A CN202210674698 A CN 202210674698A CN 115114310 A CN115114310 A CN 115114310A
Authority
CN
China
Prior art keywords
primitive
station
gallery
primitives
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210674698.XA
Other languages
Chinese (zh)
Inventor
骆正新
曹华
韩冰倩
孙凯迪
叶伟
武昊
蔚彦昭
胡旭
耿鹏
朱波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CRSC Urban Rail Transit Technology Co Ltd
China Railway Signal and Communication Corp Ltd CRSC
Original Assignee
CRSC Urban Rail Transit Technology Co Ltd
China Railway Signal and Communication Corp Ltd CRSC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CRSC Urban Rail Transit Technology Co Ltd, China Railway Signal and Communication Corp Ltd CRSC filed Critical CRSC Urban Rail Transit Technology Co Ltd
Priority to CN202210674698.XA priority Critical patent/CN115114310A/en
Publication of CN115114310A publication Critical patent/CN115114310A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/51Indexing; Data structures therefor; Storage structures

Abstract

The invention provides a gallery updating method, a gallery updating device, electronic equipment and a storage medium, wherein the method comprises the following steps: intercepting a station yard wiring diagram in an arbitrary signal plane layout diagram; configuring the station field primitives in the station field wiring diagram to obtain a first configured station field primitive; and updating the target gallery based on the first station yard primitive. The gallery updating method, the gallery updating device, the electronic equipment and the storage medium can realize automatic configuration and station primitive generation by using any signal plane layout under the condition of larger difference of signal plane layout design principles, thereby automatically updating the gallery, improving the gallery configuration flexibility and further improving the drawing efficiency.

Description

Gallery updating method, gallery updating device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a gallery updating method, a gallery updating apparatus, an electronic device, and a storage medium.
Background
The subway signal plane layout drawing (including an engineering data drawing) is a plane drawing which is drawn according to a subway line drawing and is related to the arrangement condition of signal equipment, and is a design basis of a subsequent drawing of a signal system. In order to improve the drawing efficiency of the plane graph, secondary development is carried out based on AutoCAD software, and a scheme and auxiliary software for quickly drawing a signal plane layout graph are provided. The existing method for improving the drawing efficiency of the signal arrangement plan mainly comprises the following steps:
the general principle and method for arranging signal equipment (signal machine, switch machine, axle counting, transponder, train-ground communication equipment, platform, etc.) are formed by researching and summarizing the arrangement method of the signal equipment.
Because different cities and different owners have different design requirements, the design principles of each line in different signal system integrators are different, and the automatic arrangement method of the signal equipment strictly depends on the specific design principles, so that the arrangement method of the signal equipment cannot be used universally.
Secondly, providing a batch drawing function of partial primitives: such as kilometers, slopes, speed limit primitives and the like, can realize batch drawing functions according to the read input table.
Due to different station wiring, batch drawing of all primitives such as turnout primitives, line primitives, platform primitives and the like cannot be realized.
Disclosure of Invention
The invention provides a gallery updating method, a gallery updating device, electronic equipment and a storage medium, which are used for solving the technical problem of low drawing efficiency of a signal plane diagram in the prior art.
The invention provides a gallery updating method, which comprises the following steps:
intercepting a station yard wiring diagram in an arbitrary signal plane layout diagram;
configuring the station graphics primitives in the station wiring diagram to obtain a configured first station graphics primitive;
and updating the target gallery based on the first station yard primitive.
In some embodiments, the configuring of the yard primitives in the yard wiring diagram further includes, before obtaining the configured first yard primitive:
determining insertion points of the station field primitives based on the line primitives in the station field wiring diagram, wherein the insertion points of the station field primitives are used for indicating the insertion positions of the station field primitives in any signal plane layout diagram;
and storing the station field primitive to a target configuration directory based on the insertion point of the station field primitive.
In some embodiments, the configuring of the yard primitives in the yard wiring diagram to obtain a configured first yard primitive includes:
and configuring the primitive configuration file and the attribute configuration file of the station site primitive based on the target configuration directory to obtain the first station site primitive.
In some embodiments, the method further comprises:
receiving a first input of a second station field primitive in the target gallery;
displaying, in response to the first input, the second site primitive on a target signal floor plan based on an insertion point of the second site primitive.
In some embodiments, before displaying the second site primitive on the target signal floor plan, further comprising:
merging the line primitives included in the second station yard primitive and the line primitives in the target signal plane layout drawing;
and updating target attribute information of the signal equipment graphic elements in the target signal floor plan, wherein the target attribute information is attribute information related to lines.
In some embodiments, the line merging the line primitives included in the second site primitive and the line primitives in the target signal floor plan includes:
and merging the track section primitives included in the second station yard primitive and the track section primitives in the target signal plane layout drawing to generate a target track section primitive, wherein the target track section primitive comprises a target axle counting section primitive and a target logic section primitive.
The present invention also provides a gallery updating apparatus, including:
the intercepting module is used for intercepting the station yard wiring diagram in any signal plane layout diagram;
the configuration module is used for configuring the station field graphic elements in the station field wiring diagram to obtain configured first station field graphic elements;
and the display module is used for updating the target gallery based on the first station field primitive.
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 executes the program to realize the gallery updating method.
The present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a gallery update method as described in any one of the above.
The present invention also provides a computer program product comprising a computer program which, when executed by a processor, implements the gallery update method as described in any one of the above.
The gallery updating method, the gallery updating device, the electronic equipment and the storage medium provided by the invention can self-define the station primitives and automatically update the local target gallery by intercepting the station wiring diagram in any signal plane layout diagram, thereby realizing the automatic configuration and generation of the station primitives by using any signal plane layout diagram under the condition of larger difference of signal plane layout diagram design principles, improving the configuration flexibility of the gallery and further improving the drawing efficiency.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a schematic flow chart of a gallery update method provided in the present invention;
FIG. 2 is a diagram of a gallery with the gallery update method of the present invention;
FIG. 3 is a diagram illustrating a primitive configuration file for applying the gallery update method provided by the present invention;
FIG. 4 is a schematic diagram of an attribute configuration file for applying the gallery update method provided by the present invention;
FIG. 5 is a schematic diagram of a circuit merging process using the gallery update method provided by the present invention;
FIG. 6 is a second diagram of a gallery with the gallery update method of the present invention;
FIG. 7 is a schematic structural diagram of a gallery update apparatus according to the present invention;
fig. 8 is a schematic physical structure diagram of an electronic device provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic flow chart of a gallery update method provided in the present invention. Referring to fig. 1, an embodiment of the present invention provides a gallery updating method, where the method may include: step 110, step 120 and step 130.
It should be noted that the execution subject of the gallery updating method provided by the present invention may be an electronic device, a component in an electronic device, an integrated circuit, or a chip. The electronic device may be a mobile electronic device or a non-mobile electronic device. By way of example, the Mobile electronic device may be a Mobile phone, a tablet Computer, a notebook Computer, a palm top Computer, a vehicle-mounted electronic device, a wearable device, an Ultra-Mobile Personal Computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-Mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), and the like, and the present invention is not limited in particular.
The technical solution of the present invention will be described in detail below by taking a computer as an example to execute the gallery updating method provided in the present application.
Step 110 intercepts the yard wiring diagram in any signal floor plan.
It can be understood that the embodiment of the present invention is implemented by auxiliary software for secondary development based on Computer Aided Design (CAD) software, and the auxiliary software can provide drawing of a signal plan (engineering data diagram) and realize basic input for automatic generation of subsequent drawings of a signal system and product data of the signal system.
The signal equipment plane layout diagram is drawn according to a station yard line diagram and reflects the arrangement of the station yard lines and the train receiving and dispatching direction; determining the position of the signal building and the range of the centralized interlocking area; the name numbers and the setting positions of the signalers and the turnouts are marked, and track circuit sections are divided. The station signal equipment plane layout is the basis for designing the station interlocking circuit and is an important basis for designing and constructing station signal engineering.
The station yard is characterized in that a railway station is taken as a center, both sides of an uplink line and a downlink line of a line are provided with an incoming signal machine and an outgoing signal machine, the station yard is characterized in that the incoming signal machines on both sides are taken as boundaries, and the station yard belongs to the station yard. The departure yard, the passenger waiting hall, the shunting yard, the throat area, the maintenance area, the overhaul area and the like, the drawing line, the locomotive running line and the like are all included in the station yard.
In step 110, the station yard wiring diagram can be extracted by drawing the left and right boundary lines on an arbitrary signal plane layout diagram and cutting the current drawing left and right.
In actual implementation, the secondary CAD development-based auxiliary software provided by the embodiment of the present invention can provide a drawing cutting command, so as to cut the drawing left and right, separate a bus station wiring diagram, and delete or add some redundant devices or missing devices.
Different signal plane layout diagrams have different design principles, and the embodiment of the invention can directly acquire the station wiring diagram by directly utilizing the existing signal plane layout diagram, further can configure and generate the station yard graphics primitives, and has wide application range.
And 120, configuring the station field primitives in the station field wiring diagram to obtain a configured first station field primitive.
In step 120, the auxiliary software based on secondary CAD development provided by the present invention can provide an automatic configuration function, and by fully or partially selecting a station wiring diagram range to be saved, inputting a primitive name of a target station to be generated, automatically exporting a station wiring diagram drawing to a specified configuration directory and modifying a configuration file, a first station primitive can be obtained.
The configuration of the first station yard primitive is flexible, the basic sub-graph element DWG file can be used for being assembled into primitives of various styles, manual modification and customization can be supported, and automatic configuration can also be supported.
And step 130, updating the target gallery based on the first station yard primitive.
In step 130, after the configuration of the first yard primitive is completed, the first yard primitive may be directly stored in the local target gallery, so as to update the target gallery. And after the target gallery is reloaded, displaying the newly added first station primitive in the target gallery.
The target gallery can comprise line primitives, turnout primitives, signal machine primitives and the like, and the gallery can be expanded and updated according to the gallery updating method provided by the invention.
Station primitives formed in the target gallery are in a DWG file format, all basic signal primitives in the station primitives are drawn by the auxiliary software or automatically generated by the auxiliary software, and all basic primitives in the used station primitives can be automatically identified by the auxiliary software.
As shown in fig. 2, the target gallery is the subway gallery in fig. 2, and the gallery includes primitives of different types of devices. The first yard primitive is "typical yard-01". After the CAD finishes the loading of the map library, the corresponding typical station graphic primitive is displayed in the subway map library, namely the insertion of the typical station graphic primitive in the drawing can be finished by opening the subway map library.
When the 'typical station-01' needs to be inserted behind the specified line, a typical station insertion command which is configured is selected in the subway gallery.
The target gallery in the auxiliary software provided by the invention can support a user to define a typical station, and a basic typical station gallery can be formed based on summarizing and summarizing the wiring of the common typical station of the subway.
The subway signal plane graph design principle has the defect that the drawing efficiency improving mode depending on the design principle is poor in effect due to the fact that the difference of cities or engineering projects is large. In the aspect of improving the drawing efficiency of the signal plane diagram or the engineering data, the invention furthest reduces the limitation on the design principle, supports the user to directly utilize the existing signal plane layout diagram to automatically obtain and automatically configure the station yard primitives, and has higher cost performance and adaptability.
According to the method for updating the gallery, the station yard graphic element can be defined by self through intercepting the station yard wiring diagram in any signal plane layout diagram, and the local target gallery is automatically updated, so that the station yard graphic element is automatically configured and generated by using any signal plane layout diagram under the condition that the difference of the design principles of the signal plane layout diagram is large, the flexibility of gallery configuration can be improved, and the drawing efficiency is improved.
In some embodiments, configuring the site primitives in the site wiring diagram, and before obtaining the configured first site primitive, further includes:
determining an insertion point of the station yard graphic element based on a line graphic element in the station yard wiring diagram, wherein the insertion point of the station yard graphic element is used for indicating the insertion position of the station yard graphic element in any signal plane layout diagram;
and storing the station primitives to the target configuration directory based on the insertion points of the station primitives.
In actual implementation, after determining the yard wiring diagram range, in addition to inputting the primitive names, the primitive insertion points need to be determined. For example: the origin, i.e., coordinate (0,0,0) in the yard drawing may be designated as the insertion point for the yard primitive.
The end point in the line graphic element in the station wiring diagram can be selected as an insertion point, the drawing can be moved by taking the point as a base point, and after the drawing is moved to the origin of coordinates, the moved drawing is stored in a DWG file format and is stored in a target configuration directory specified by auxiliary software.
It will be appreciated that selecting end points of line primitives as insertion points may facilitate alignment between yard primitives.
The method for updating the gallery provided by the invention is convenient for the primitive insertion by specifying the insertion point of the station primitive, and improves the drawing efficiency.
In some embodiments, configuring the yard primitives in the yard wiring diagram to obtain a configured first yard primitive comprises:
and configuring the primitive configuration file and the attribute configuration file of the station site primitive based on the target configuration directory to obtain a first station site primitive.
In actual implementation, the format of the primitive configuration file and the attribute configuration file of the primitive may include, but is not limited to, an xml text file, the configuration file of the primitive is used to record the name, category and composition of the primitive, and the primitive attribute configuration file may record the attribute attached to the primitive. For a yard primitive, the primitive configuration file records the name and classification, and composition of the yard (represented by the DWG drawing file location where the yard graph is stored).
For example: primitive configuration files are shown in fig. 3 and attribute configuration files for primitives are shown in fig. 4. Xml, the attribute configuration file of the primitive is properties. The attributes of the primitives can be flexibly increased or decreased by modifying properties. Xml should configure the relevant attributes contained in each type of primitive.
In fig. 4, the Property tag includes fields of name, type, description, isEdit, isBatch, and the like. The specific field meanings and usage are explained as follows:
name is the name of the attribute.
type is the type of attribute, and if multiple options corresponding to the attribute are multiple options, the field needs to be configured as "MultiString".
The description is an attribute name used for identification by the user, and the attribute can be directly mapped into the attribute edit box, so that the user can conveniently understand the name.
check is to indicate whether the attribute has been imposed by the program (not allowing the user to configure), 1 indicates that the user is not allowed to configure arbitrarily, and 0 indicates that there is no such restriction.
The isendit is whether the attribute allows a user to modify the attribute value, the "true" is allowed to be set, and the user can set the attribute value when the attribute edits the interface; "false" is not allowed, and the user cannot modify the property value in the property editing interface.
isBatch is whether the property allows the user to modify the property value in the batch modify property interface, "true" is allowed and "false" is not allowed. Note that if the isendit field is false, the attribute value is not allowed to be bulk modified regardless of whether the field is true or false.
schema less: whether the attribute is directly exported according to the engineering data table template or not, and a program does not need to do any processing logic. And when the value is true, the action is taken, the attribute column is added to the corresponding sheet in the corresponding project data table template, and the attribute column can be directly exported in the project data table according to the value input by the user. The attribute considers that the tool can realize the export of the engineering data table meeting the requirements on the basis of not modifying codes when the attribute is temporarily added to some equipment during the subsequent possible engineering change.
Item tags are used for configuring the attribute values, and corresponding field meanings and usage descriptions are as follows:
name is a value that is convenient for the user to distinguish.
type is the value column value type.
value is an attribute value stored internally by software.
The description value is the same as that of the Property.
According to the gallery updating method provided by the invention, after a new primitive is changed or added, only the configuration file needs to be modified, the new target gallery can be used, the definition of the primitive and the attribute is separated from the software coding, and developers do not need to modify codes and recompile software.
In some embodiments, the gallery update method further comprises:
receiving a first input of a second station field primitive in the target gallery;
in response to the first input, displaying a second site primitive on the target signal floor plan based on an insertion point of the second site primitive.
Wherein the first input may be an operation to select a second site primitive in the target library. For example: after a target gallery in the auxiliary software is opened, a user completes the first input through a clicking operation, and therefore the selection of the second station primitive is completed on a display interface of the target gallery. In response to the first input, a second yard primitive may then be displayed on the target signal floor plan.
In actual execution, the drawn target signal plane layout drawing can be opened, the required second station yard graphic elements can be selected according to requirements in the drawing, and automatic splicing of the current drawing and the second station yard graphic elements is achieved through one key. In addition to the duplication of primitives and the attribute copying attached to the primitives, the automatic splicing needs to consider the section and line merging processing at the splicing position.
For example: when a second station primitive is inserted into the drawn working space, the auxiliary software can automatically read the DWG file corresponding to the second station primitive configured in the primitive configuration file, and copy all primitives by taking the insertion point of the second station primitive as a base point.
The method for updating the gallery can realize splicing of the target signal plane layout drawing and the second station yard graphic element in the target signal plane layout drawing.
In some embodiments, before displaying the second site primitive on the target signal floor plan, further comprising:
merging the line primitives included in the second station yard primitive and the line primitives in the target signal plane layout drawing;
and updating target attribute information of the signal equipment primitives in the target signal floor plan, wherein the target attribute information is attribute information related to the line.
It should be noted that line merging is mainly to merge line primitives based on insertion points on the line primitives, so as to implement splicing of the station yard and insertion and splicing of a typical station yard. The line combination can automatically complete the connection of the line, the main section and the turnout section at the splicing position. It should be noted that at present, merging can only be realized under the condition that both sides of the merging point are axes. The dual lines need to perform two operations separately.
In actual implementation, after selecting the second yard primitive insertion command in the target signal floor plan, the insertion point is selected, preferably the right end point of the upper line, otherwise, the position needs to be manually adjusted to align the left and right lines. If the second station yard primitive is inserted, the lines of the second station yard and the existing station yard are not aligned, and the lines need to be moved and stretched manually, so that the two ends of the lines are aligned (the distance between the lines on the left side and the right side needs to be less than 0.5, otherwise, the lines are failed to be merged and prompted).
After inserting the second station yard graphic elements into the target signal plane layout diagram and aligning the second station yard graphic elements, the entity contained in the newly inserted second station yard graphic elements does not establish a connection relation at this time, and a line merging command needs to be selected to respectively merge the lines on the two sides of the upper insertion point and the lower insertion point.
As shown in fig. 5, the left-side line to be spliced is a first line, and the right-side line to be spliced is a second line. Firstly, the right end point of the left-side line to be spliced is aligned with the left end point of the right-side line to be spliced by using a move command of a CAD self-carrying device. Then select "line" in the gallery and further select a "line merge" command, as shown in fig. 6. After the command is selected, prompting ' select first line object ', at this moment, selecting first line, selecting successfully, prompting ' first line selecting successfully! ", then selects the second line, and after a successful selection, prompts" second line selection successful! After the two lines are selected, whether line combination is carried out is prompted, if yes, line combination is carried out, and if not, operation is cancelled.
It will be appreciated that after the line merging is complete, the target attribute information for the signal device primitives in the target signal floor plan, which is the line-related attribute information, is updated. For example: the device belongs to a certain line, the device belongs to a certain section and the like.
And further updating the attributes of all the primitives and copying the original attribute information set in the second station yard primitive.
The method for updating the gallery can realize splicing of the target signal plane layout drawing and the second station yard graphic element in the target signal plane layout drawing.
In some embodiments, line merging the line primitives included in the second site primitive and the line primitives in the target signal floor plan includes:
and merging the track section primitives included in the second station yard primitive and the track section primitives in the target signal plane layout drawing to generate a target track section primitive, wherein the target track section primitive comprises a target axle counting section primitive and a target logic section primitive.
It can be understood that one-key insertion of the second station primitive can be realized through the target gallery, and after the insertion, the influence of the line primitive and the track section primitive (including the axle counting section primitive, the logic section primitive and the track section primitive) before and after the insertion needs to be considered, and the line primitive, the axle counting section primitive, the logic section primitive and the track section primitive before and after the insertion need to be considered respectively to be merged, copied and pasted.
Meanwhile, the influence of primitive attributes of basic equipment before and after splicing needs to be considered. The primitive attribute at the splicing position needs to be set by taking the primitive attribute before splicing as the last, and the primitive attribute outside the splicing position keeps the original attribute. The station primitive splicing function only has requirements on splicing positions, the specific configuration of the station is not limited, and different personnel can be respectively supported to draw different concentrated areas and then automatically splice the areas.
In actual execution, track section primitives at insertion points of the line primitives are merged, and a target axle counting section primitive and a target logic section primitive are automatically generated.
And merging the station field lines of the line primitives at the insertion points, setting the starting point of the line as the starting point of the line primitives in the original target signal plane layout drawing, and setting the end point as the end point of the line primitives in the second station field primitive.
The method for updating the gallery can realize splicing of the target signal plane layout drawing and the second station yard graphic element in the target signal plane layout drawing.
In some embodiments, xml files are used as the gallery primitive configuration files and the primitive attribute configuration files, subway gallery standard primitives and primitive attributes are defined, and the dynamic configuration device of the gallery of primitives is loaded in the CAD to display the subway gallery. The auxiliary software device is utilized to draw a typical station wiring diagram, save and manually modify the configuration of the gallery, and complete the design and configuration of the typical station wiring graphic elements.
(1) And drawing a typical station wiring diagram by using the primitive gallery panel and all the primitives of the urban rail signal plane diagram provided by secondary development auxiliary software.
(2) Selecting the leftmost point in the line graphic element in the drawn typical station wiring diagram as an insertion point (namely, moving the drawing to the origin of coordinates by taking the point as a base point), and storing the moved drawing in a DWG format and storing the drawing in a configuration directory specified by auxiliary software.
(3) Opening a primitive configuration file, and modifying a primitive gallery panel configuration file xml: and adding a primitive configuration node, and specifying the display name and the calling command of the typical station primitive, namely the storage path of the typical station primitive. And according to the situation, whether the default attribute configuration needs to be added or not.
(4) And reloading the primitive gallery panel to see the newly added typical station primitives.
In some embodiments, a gallery panel is used to select a required typical station wiring primitive, and one key is used to realize automatic splicing of the current drawing and the typical station wiring primitive. In addition to the duplication of primitives and the attribute copying attached to the primitives, the automatic splicing needs to consider the section and line merging processing at the splicing position.
(1) When a typical station graphic primitive is inserted into a drawn working space, the auxiliary software can automatically read a typical station DWG file configured in a graphic primitive configuration file, and copy all graphic primitives by taking an insertion point as a base point.
(2) Merging the axle counting sections at the insertion points, and automatically generating an axle counting section and a logic section;
(3) merging the typical station lines for the lines at the insertion points, setting the starting points of the lines as the starting points of the original lines, and setting the end points as the end points of the lines in the typical station graphic elements;
(4) updating attributes of all signal primitives related to the line, such as attributes of equipment belonging to the line, the section and the like;
(5) and updating the attributes of all the primitives, and setting the original attributes of the typical station primitives by the copied primitives.
In some embodiments, the auxiliary software device is used for intercepting part of primitives in the current drawing by one key and automatically deriving a typical station wiring primitive. Most of typical station primitives can be directly obtained from an existing signal plane diagram, and the rapid obtaining and configuration of the typical station primitives can be provided through auxiliary software developed secondarily by CAD.
(1) Providing a drawing cutting command, realizing left-right cutting of the drawing, separating a typical station wiring diagram, and deleting or adding partial redundant equipment or missing equipment;
(2) providing an automatic configuration function, fully selecting or partially selecting a station wiring diagram range needing to be stored, inputting a graphic element name and an insertion point of a typical station to be generated, automatically leading out a station wiring diagram drawing to a specified configuration directory by a program, and modifying a graphic element configuration file;
(3) and reloading the primitive gallery panel to see the newly added typical station primitives.
The gallery update apparatus provided by the present invention is described below, and the gallery update apparatus described below and the gallery update method described above may be referred to in correspondence with each other.
Fig. 7 is a schematic structural diagram of a gallery updating apparatus provided in the present invention. Referring to fig. 7, an embodiment of the present invention provides a gallery updating apparatus, which may include: an intercept module 710, a configuration module 720, and a display module 730.
An intercept module 710 for intercepting the yard wiring trace in any signal floor plan;
a configuration module 720, configured to configure the yard primitives in the yard wiring diagram to obtain a configured first yard primitive;
and the display module 730 is configured to update the target gallery based on the first yard primitive.
The gallery updating device, the electronic equipment and the storage medium provided by the invention can self-define the station primitives and automatically update the local target gallery by intercepting the station wiring diagram from any signal plane layout diagram, thereby realizing the automatic configuration and generation of the station primitives by using any signal plane layout diagram under the condition of larger difference of the design principles of the signal plane layout diagram, improving the configuration flexibility of the gallery and further improving the drawing efficiency.
In some embodiments, the apparatus further comprises:
the determining module is used for determining insertion points of the station primitives based on the line primitives in the station wiring diagram, wherein the insertion points of the station primitives are used for indicating the insertion positions of the station primitives in any signal plane layout diagram;
and the storage module is used for storing the station field graphic primitive to a target configuration directory based on the insertion point of the station field graphic primitive.
In some embodiments, the configuration module 720 is further configured to:
and configuring the primitive configuration file and the attribute configuration file of the station site primitive based on the target configuration directory to obtain the first station site primitive.
In some embodiments, the apparatus further comprises:
the receiving module is used for receiving a first input of a second station field primitive in the target gallery;
an insertion module to display the second site primitive on a target signal floor plan based on an insertion point of the second site primitive in response to the first input.
In some embodiments, the apparatus further comprises:
the merging module is used for merging the line primitives included in the second station yard primitive and the line primitives in the target signal plane layout drawing;
and the updating module is used for updating the target attribute information of the signal equipment primitive in the target signal floor plan, wherein the target attribute information is attribute information related to the line.
In some embodiments, the merging module is further configured to
And merging the track section primitives included in the second station yard primitive and the track section primitives in the target signal plane layout drawing to generate a target track section primitive, wherein the target track section primitive comprises a target axis counting section primitive and a target logic section primitive.
Fig. 8 illustrates a physical structure diagram of an electronic device, and as shown in fig. 8, the electronic device may include: a processor (processor)810, a communication Interface 820, a memory 830 and a communication bus 840, wherein the processor 810, the communication Interface 820 and the memory 830 communicate with each other via the communication bus 840. The processor 810 may call logic instructions in the memory 830 to perform a gallery update method comprising:
intercepting a station yard wiring diagram in an arbitrary signal plane layout diagram;
configuring the station graphics primitives in the station wiring diagram to obtain a configured first station graphics primitive;
and updating the target gallery based on the first station yard primitive.
In addition, the logic instructions in the memory 830 may be implemented in software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product, the computer program product including a computer program, the computer program being stored on a non-transitory computer-readable storage medium, wherein when the computer program is executed by a processor, a computer is capable of executing the gallery update method provided by the above methods, and the method includes:
intercepting a station yard wiring diagram in an arbitrary signal plane layout diagram;
configuring the station graphics primitives in the station wiring diagram to obtain a configured first station graphics primitive;
and updating the target gallery based on the first station yard primitive.
In yet another aspect, the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored, the computer program being implemented by a processor to perform the gallery update method provided by the above methods, the method including:
intercepting a station yard wiring diagram in an arbitrary signal plane layout diagram;
configuring the station graphics primitives in the station wiring diagram to obtain a configured first station graphics primitive;
and updating the target gallery based on the first station yard primitive.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A gallery update method, comprising:
intercepting a station yard wiring diagram in an arbitrary signal plane layout diagram;
configuring the station graphics primitives in the station wiring diagram to obtain a configured first station graphics primitive;
and updating the target gallery based on the first station yard primitive.
2. The gallery update method of claim 1, wherein the configuring of the yard primitives in the yard wiring diagram further includes, before obtaining the configured first yard primitive:
determining insertion points of the station field primitives based on the line primitives in the station field wiring diagram, wherein the insertion points of the station field primitives are used for indicating the insertion positions of the station field primitives in any signal plane layout diagram;
and storing the station field primitive to a target configuration directory based on the insertion point of the station field primitive.
3. The gallery update method of claim 2, wherein the configuring the yard primitives in the yard wiring diagram to obtain the first yard primitive after configuring comprises:
and configuring the primitive configuration file and the attribute configuration file of the station site primitive based on the target configuration directory to obtain the first station site primitive.
4. The gallery update method according to any one of claims 1 to 3, further comprising:
receiving a first input of a second station field primitive in the target gallery;
displaying, in response to the first input, the second site primitive on a target signal floor plan based on an insertion point of the second site primitive.
5. The gallery update method of claim 4, wherein, prior to displaying the second site primitive on the target signal floor plan, further comprising:
merging the line primitives included in the second station yard primitive and the line primitives in the target signal plane layout drawing;
and updating target attribute information of the signal equipment graphic elements in the target signal floor plan, wherein the target attribute information is attribute information related to lines.
6. The gallery update method of claim 5, wherein the line merging the line primitives included in the second site primitive and the line primitives in the target signal floor plan includes:
and merging the track section primitives included in the second station yard primitive and the track section primitives in the target signal plane layout drawing to generate a target track section primitive, wherein the target track section primitive comprises a target axis counting section primitive and a target logic section primitive.
7. A gallery update apparatus, comprising:
the intercepting module is used for intercepting the station yard wiring diagram in any signal plane layout diagram;
the configuration module is used for configuring the station field graphic elements in the station field wiring diagram to obtain configured first station field graphic elements;
and the display module is used for updating the target gallery based on the first station field primitive.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the gallery update method of any of claims 1 to 6 when executing the program.
9. A non-transitory computer readable storage medium having stored thereon a computer program, wherein the computer program, when executed by a processor, implements the gallery update method of any one of claims 1 to 6.
10. A computer program product comprising a computer program, wherein the computer program, when executed by a processor, implements the gallery update method of any of claims 1 to 6.
CN202210674698.XA 2022-06-14 2022-06-14 Gallery updating method, gallery updating device, electronic equipment and storage medium Pending CN115114310A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210674698.XA CN115114310A (en) 2022-06-14 2022-06-14 Gallery updating method, gallery updating device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210674698.XA CN115114310A (en) 2022-06-14 2022-06-14 Gallery updating method, gallery updating device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115114310A true CN115114310A (en) 2022-09-27

Family

ID=83327697

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210674698.XA Pending CN115114310A (en) 2022-06-14 2022-06-14 Gallery updating method, gallery updating device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115114310A (en)

Similar Documents

Publication Publication Date Title
CN102750618B (en) A kind of comprehensive pipeline of metro construction aided management system and implementation method
CN109408764B (en) Page area dividing method, device, computing equipment and medium
EP3451206B1 (en) Method, apparatus, and device for generating a visual model layout of a space
CN106250128A (en) The display processing method of user interface and device
CN109491735B (en) Integrated data generation and verification integrated monitoring human-computer interface configuration implementation method
CN111311181B (en) Multi-professional forward collaborative design interaction method for urban rail transit
WO2008105611A1 (en) Database auto-building method for link of search data in gis system using cad drawings
CN114037097A (en) BIM model-based equipment operation and maintenance management method
CN108932751A (en) The quickly system and method for creation VR/AR/MR content
CN110599567A (en) Visual editing tool for electronic track map and map generation method
CN106294112A (en) Real time multi-human computer program based on the Internet exploitation debugging System and method for
CN115017569A (en) Two-dimensional and three-dimensional linked bridge parametric modeling and plotting method, device, equipment and medium
CN110442371A (en) A kind of method, apparatus of release code, medium and computer equipment
CN113562025A (en) Computer interlocking table generation method and device, electronic equipment and storage medium
WO2023109303A1 (en) Online collaborative editing method and apparatus, electronic device and storage medium
CN106708941A (en) Multi-task on-line collaborative editing method for power grid
CN104748757A (en) Data updating method and device for navigation electronic map
CN110232258B (en) Method and system for checking reference change of CAD drawing under editable environment, computer readable storage medium and computer terminal
CN115114310A (en) Gallery updating method, gallery updating device, electronic equipment and storage medium
CN102147797A (en) Method and device for managing element files in content management system
CN111651799A (en) Automatic generation system of train control engineering data table
CN114397986B (en) View display system of station interface
JP2006154046A (en) Land data management system and network data collation system
JP4101713B2 (en) Cable connection diagram creation device, cable connection diagram creation method, and program
JP2906826B2 (en) Equipment management system

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