CN113836612A - Equipment associated information extraction method and device, electronic equipment and storage medium - Google Patents

Equipment associated information extraction method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113836612A
CN113836612A CN202110981145.4A CN202110981145A CN113836612A CN 113836612 A CN113836612 A CN 113836612A CN 202110981145 A CN202110981145 A CN 202110981145A CN 113836612 A CN113836612 A CN 113836612A
Authority
CN
China
Prior art keywords
primitive
equipment
target
information
primitives
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
CN202110981145.4A
Other languages
Chinese (zh)
Inventor
许玲玲
于磊
张楠乔
赵安安
郑志敏
乔文可
蔚彦昭
叶伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CRSC Urban Rail Transit Technology Co Ltd
Original Assignee
CRSC Urban Rail Transit Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CRSC Urban Rail Transit Technology Co Ltd filed Critical CRSC Urban Rail Transit Technology Co Ltd
Priority to CN202110981145.4A priority Critical patent/CN113836612A/en
Publication of CN113836612A publication Critical patent/CN113836612A/en
Pending legal-status Critical Current

Links

Images

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
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/20Configuration CAD, e.g. designing by assembling or positioning modules selected from libraries of predesigned modules

Abstract

The invention provides a method and a device for extracting device associated information, electronic equipment and a storage medium, wherein the method comprises the following steps: extracting attribute information of the associated equipment graphic elements based on the link relation between the target equipment graphic elements and the associated equipment graphic elements in the circuit diagram; and taking the attribute information of the associated equipment primitive as the associated information of the target equipment, and adding the associated information in the attribute value of the target equipment primitive. The method can automatically, quickly and accurately extract the attribute information of the associated equipment primitive based on the link relation between the target equipment primitive and the associated equipment primitive in the circuit diagram, simultaneously takes the attribute information of the associated equipment primitive as the associated information of the target equipment, and adds the associated information in the attribute value of the target equipment primitive, thereby quickly and accurately acquiring the equipment associated information from the attribute value of the target equipment primitive, not only having higher efficiency and reducing the labor cost, but also avoiding the problem that the equipment associated information is easily obtained by depending on manpower in the traditional method to cause errors.

Description

Equipment associated information extraction method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of information processing technologies, and in particular, to a method and an apparatus for extracting device association information, an electronic device, and a storage medium.
Background
In the CAD drawing process, a designer is usually required to draw a design drawing through various different commands of CAD, and in the common CAD drawing process, the designer is required to design a pattern of drawing such as a primitive, a character, a color and the like according to a corresponding standard, an industry standard or a drawing standard. The drawing process of a designer is very complicated, and the drawing time is long.
The CAD drawing of the urban rail transit trackside equipment has more types and quantity, and is related according to different names of an uplink and a downlink and names among various types of equipment in the CAD drawing. In the CAD drawings of the trackside equipment with a large number of equipment types, the associated equipment is in a corresponding relation, and various information of the equipment and the relation among different equipment are input into the engineering data comparison table, so that the time and labor are consumed, and the accuracy is not high.
Disclosure of Invention
The invention provides a method and a device for extracting associated information of equipment, electronic equipment and a storage medium, which are used for solving the defect of low extraction efficiency of the associated information of the equipment in the prior art.
The invention provides a method for extracting device association information, which comprises the following steps:
extracting attribute information of the associated equipment graphic element based on the link relation between the target equipment graphic element and the associated equipment graphic element in the circuit diagram;
and taking the attribute information of the associated equipment primitive as the associated information of the target equipment, and adding the associated information into the attribute value of the target equipment primitive.
According to the method for extracting the device association information provided by the invention, the link relation is determined based on the following steps:
determining a related equipment primitive corresponding to the target equipment primitive based on the position information of the target equipment primitive and the position information of other equipment primitives in the circuit diagram;
and establishing a link relation between the target equipment primitive and the associated equipment primitive.
According to the equipment associated information extraction method provided by the invention, each equipment primitive in the circuit diagram is drawn based on a preset sequence;
determining, based on the position information of the target device primitive and the position information of other device primitives in the circuit diagram, an associated device primitive corresponding to the target device primitive, including:
determining a related equipment primitive corresponding to the target equipment primitive based on the position information of the target equipment primitive and the position information of other equipment primitives in the circuit diagram; the other device primitives are primitives whose drawing order precedes the target device primitive.
According to the equipment associated information extraction method provided by the invention, each equipment primitive in the circuit diagram is drawn based on a random sequence; the associated equipment primitives corresponding to the target equipment primitives comprise a first associated equipment primitive and a second associated equipment primitive;
determining, based on the position information of the target device primitive and the position information of other device primitives in the circuit diagram, an associated device primitive corresponding to the target device primitive, including:
if the first equipment primitive is determined to be associated with the target equipment primitive based on the position information of the target equipment primitive and the position information of the first equipment primitive in the circuit diagram, taking the first equipment primitive as a first associated equipment primitive; the first equipment graphic element is a graphic element with the drawing sequence before the target equipment graphic element;
when a second equipment primitive is drawn, if the second equipment primitive is determined to be associated with the target equipment primitive based on the position information of the target equipment primitive and the position information of the second equipment primitive, taking the second equipment primitive as a second associated equipment primitive; the second device primitive is a primitive whose drawing order is after the target device primitive.
According to the method for extracting the associated information of the device provided by the invention, the step of adding the associated information to the attribute value of the target device primitive further comprises the following steps:
naming and/or numbering the target device primitives based on the association information.
According to the method for extracting the associated information of the equipment, the method for extracting the attribute information of the associated equipment primitive comprises the following steps:
when the circuit diagram is drawn, if the type of a current drawing primitive is the same as that of a previous drawing primitive, copying the previous drawing primitive as the current drawing primitive, and updating the link relation between the current drawing primitive and other equipment primitives.
According to the equipment association information extraction method provided by the invention, the associated equipment primitives comprise at least one of a concentration area primitive, an interlocking area primitive, a station primitive, a shaft counting primitive, a car bumper primitive, a turnout primitive and a signal machine primitive.
The invention also provides a device for extracting the associated information of the equipment, which comprises:
the associated equipment determining unit is used for extracting the attribute information of the associated equipment graphic element based on the link relation between the target equipment graphic element and the associated equipment graphic element in the circuit diagram;
and the associated information extraction unit is used for taking the attribute information of the associated equipment primitive as the associated information of the target equipment and adding the associated information into the attribute value of the target equipment 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 computer program to realize the steps of any one of the above device-related information extraction methods.
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 device association information extraction method as described in any of the above.
According to the equipment associated information extraction method, the device, the electronic equipment and the storage medium, the attribute information of the associated equipment primitive can be automatically, quickly and accurately extracted based on the link relation between the target equipment primitive and the associated equipment primitive in the circuit diagram, meanwhile, the attribute information of the associated equipment primitive is used as the associated information of the target equipment, and the associated information is added into the attribute value of the target equipment primitive, so that the equipment associated information can be quickly and accurately obtained from the attribute value of the target equipment primitive, the efficiency is high, the labor cost is reduced, and the problem that the equipment associated information is easily obtained by manpower in the traditional method to cause errors can be avoided.
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 one of the flow diagrams of the method for extracting device association information provided by the present invention;
FIG. 2 is a second schematic flow chart of the method for extracting device association information according to the present invention;
FIG. 3 is a third schematic flowchart of a method for extracting device association information according to the present invention;
FIG. 4 is a schematic structural diagram of an apparatus associated information extraction device provided in the present invention;
fig. 5 is a schematic structural diagram of an electronic device provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Because the types and the quantity of equipment of one line in the urban rail transit CAD lines are very large and the line is long, the up-down line to which the equipment belongs is manually searched and named, and the rail section corresponding to the equipment, the station to which the equipment belongs and the linked section are searched. According to the CAD line drawing of the urban rail transit, the efficiency of inputting information for searching each device and related information among different devices into the engineering data comparison table is low, the labor cost is high, and the labor cost error is large.
In view of the above, the present invention provides a method for extracting device-related information. Fig. 1 is a schematic flow diagram of a method for extracting device association information provided by the present invention, and as shown in fig. 1, the method includes the following steps:
and 110, extracting attribute information of the associated equipment primitive based on the link relation between the target equipment primitive and the associated equipment primitive in the circuit diagram.
Specifically, the associated device primitive refers to a device primitive associated with a target device primitive, for example, if the target device primitive is a traffic signal, a line primitive to which the traffic signal belongs, a concentration area primitive to which the traffic signal belongs, an interlocking area primitive to which the traffic signal belongs, a station primitive to which the traffic signal belongs, and the like can all be used as the associated device primitive, and in addition, a device administered by the traffic signal can also be used as the associated device primitive.
Before the circuit diagram is drawn, a primitive standard library can be established, namely, each equipment primitive is drawn based on the primitive standard library. The primitive standard library stores various standard primitives, such as standard line primitives, standard concentration area primitives, standard interlocking area primitives, standard station primitives and the like. When the standard primitives are used for drawing the circuit diagram, the associated equipment primitives are automatically calculated and determined in the drawing process, and a link relation is established. For example, for a standard primitive of a signal machine, a line primitive closest to the standard primitive of the signal machine is automatically used as an associated device primitive, and a link relation between the two is established.
Therefore, based on the link relationship between the target equipment primitive and the associated equipment primitive, the associated equipment primitive corresponding to the target equipment primitive can be determined, and the attribute information of the associated equipment primitive is extracted. The attribute information of the associated device primitive may include a manufacturer, a model, a name, and the like of the associated device, which is not specifically limited in this embodiment of the present invention.
And step 120, taking the attribute information of the associated equipment primitive as the associated information of the target equipment, and adding the associated information into the attribute value of the target equipment primitive.
Specifically, after the attribute information of the associated device primitive is extracted, the associated device primitive is taken as the associated information of the target device, and the associated information is added and stored into the attribute value of the target device primitive, so that when the associated information of the target device needs to be obtained, the associated information can be directly derived and obtained from the attribute value of the target device primitive, and the problems of low efficiency and low accuracy caused by the fact that the associated device primitive corresponding to the target device primitive needs to be manually searched from the circuit diagram in the traditional method are solved.
Therefore, the embodiment of the invention can establish the link relation of each graphic element drawn by the urban rail transit CAD line drawing and store the dependent or associated graphic element information into the attribute of the graphic element. As shown in fig. 2, for CAD electronic maps of different engineering projects, primitive information dependent or required to be associated is obtained in a process of drawing primitives or in an automatic attribute calculation process according to a sequence, and the information is directly stored in attributes of the primitives. The information of each primitive and the associated relation with other primitives are clear in the primitive attributes, so that the manpower is liberated, and the working efficiency is improved.
The equipment associated information extraction method provided by the embodiment of the invention can automatically, quickly and accurately extract the attribute information of the associated equipment primitive based on the link relation between the target equipment primitive and the associated equipment primitive in the circuit diagram, simultaneously takes the attribute information of the associated equipment primitive as the associated information of the target equipment, and adds the associated information in the attribute value of the target equipment primitive, thereby quickly and accurately acquiring the equipment associated information from the attribute value of the target equipment primitive, not only having higher efficiency and reducing the labor cost, but also avoiding the problem that the equipment associated information is easily obtained by manpower in the traditional method to cause errors.
Based on the above embodiment, the link relationship is determined based on the following steps:
determining a related equipment primitive corresponding to the target equipment primitive based on the position information of the target equipment primitive and the position information of other equipment primitives in the circuit diagram;
and establishing a link relation between the target equipment primitive and the associated equipment primitive.
Specifically, the position information of the target device primitive may be represented by coordinates of the target device primitive in the route graph, and similarly, the position information of other device primitives in the route graph may also be represented by coordinates of each device primitive in the route graph. Based on the position information of the target equipment primitive and the position information of other equipment primitives in the line diagram, the line to which the target equipment primitive belongs, the concentration area to which the target equipment primitive belongs, the interlocking area to which the target equipment primitive belongs, the station to which the target equipment primitive belongs and the like can be determined (for example, the determination is performed according to the nearest distance principle), namely, the associated equipment primitive corresponding to the target equipment primitive can be determined, and then the link relation between the target equipment primitive and the associated equipment primitive is established.
Based on any one of the embodiments, each equipment primitive in the circuit diagram is drawn based on a preset sequence;
determining a related device primitive corresponding to the target device primitive based on the position information of the target device primitive and the position information of other device primitives in the circuit diagram, wherein the determining comprises the following steps:
determining a related equipment primitive corresponding to the target equipment primitive based on the position information of the target equipment primitive and the position information of other equipment primitives in the circuit diagram; other device primitives are primitives whose drawing order precedes the target device primitive.
Specifically, in order to meet the requirement that when each primitive is drawn, the association or the affiliation relationship between the current primitive and other primitives can be automatically calculated, so that each primitive can be drawn in a preset sequence, for example, a line is drawn firstly before a station identifier is drawn, a line number is set, and the drawing of a traffic signal is completed before a stop sign is drawn. In the process of drawing various primitives, a link relation is automatically established with the primitive needing to be associated according to the selected primitive and the drawing position of the primitive, and the required attribute is automatically acquired and stored into the corresponding attribute value of the primitive.
Based on any one of the embodiments, the equipment primitives in the circuit diagram are drawn based on a random sequence; the associated equipment primitives corresponding to the target equipment primitives comprise a first associated equipment primitive and a second associated equipment primitive;
determining a related device primitive corresponding to the target device primitive based on the position information of the target device primitive and the position information of other device primitives in the circuit diagram, wherein the determining comprises the following steps:
if the first equipment primitive is determined to be associated with the target equipment primitive based on the position information of the target equipment primitive and the position information of the first equipment primitive in the circuit diagram, taking the first equipment primitive as a first associated equipment primitive; the first equipment graphic element is a graphic element with the drawing sequence before the target equipment graphic element;
when a second equipment primitive is drawn, if the second equipment primitive is determined to be associated with the target equipment primitive based on the position information of the target equipment primitive and the position information of the second equipment primitive, taking the second equipment primitive as a second associated equipment primitive; the second device primitive is a primitive whose drawing order is after the target device primitive.
Specifically, each device primitive in the circuit diagram may also be drawn in a random order, so that when a target device primitive is drawn, whether a correlation exists between the target device primitive and a first device primitive drawn in advance is automatically calculated, and if yes, the first device primitive is used as a first correlation device primitive, and a link relationship between the target device primitive and the first device primitive is established.
For a second device primitive to be drawn later, the embodiment of the present invention may also automatically calculate whether the target device primitive and the second device primitive are associated, and if so, take the second device primitive as a second associated device primitive, and additionally establish a link relationship between the target device primitive and the second associated device primitive.
Therefore, according to the method for extracting the associated information of the equipment provided by the embodiment of the invention, when the designer finishes drawing the primitive, a link relation can be established between the primitive and the primitive which is finished and required currently, and the required attribute of the associated primitive is automatically obtained; in addition, on the premise of ensuring the drawing correctness of the primitive, the primitive drawing is finished by copying the primitive, or after the primitive is drawn, the linked primitive is not drawn, and after the supplementary drawing is finished, the connection relation establishment and the attribute acquisition are automatically finished through the automatic attribute calculation. Meanwhile, after the drawing of the primitive or the updating of the attribute is finished, a designer can finish the establishment of the technical automatic acquisition of the primitive link relation by one key, convenience is provided for subsequent primitive naming, numbering and project data table recording, and the accuracy and the efficiency are improved.
Based on any of the above embodiments, adding the associated information in the attribute value of the target device primitive, and then further including:
and naming and/or numbering the target equipment primitives based on the association information.
Specifically, a plurality of stations and concentration areas are arranged in a track traffic CAD (computer aided design) line diagram, and one concentration area is provided with one or more interlocking areas. And automatically calculating a part of or all of the devices in the station to belong to the centralized area, associating the graphic primitives with the station identification, and acquiring attributes of the station to which the graphic primitives belong, the centralized area to which the graphic primitives belong and the interlocking area to which the graphic primitives belong, so that associated information of the graphic primitives of the target device can be acquired, and subsequently, the graphic primitives of the target device can be automatically named and/or numbered according to a preset rule based on the associated information.
It should be noted that after naming and/or numbering the target device primitive, the naming and/or numbering can be stored in the attribute value of the target device primitive, so that the naming and/or numbering of the target device primitive can be derived from the attribute value to form an engineering data comparison file, and the problems of low efficiency and low accuracy caused by the fact that the engineering data comparison file is established manually in the traditional method are solved.
Based on any of the above embodiments, extracting attribute information of the associated device primitive, which further includes:
when the circuit diagram is drawn, if the type of the current drawing primitive is the same as that of the previous drawing primitive, the previous drawing primitive is copied as the current drawing primitive, and the link relation between the current drawing primitive and other equipment primitives is updated.
Specifically, for some primitives, attributes of the main section and the sub-section need to be associated, for example, an external track name attribute of a signal machine, a track section name attribute corresponding to a screen door, a starting point of the main section and a key device name (axle counting name), and after automatic naming is performed, related attribute values are automatically acquired through updating of part or all of the attributes. When the primitives at other positions are copied for drawing, the link relation of the original primitive is copied together, and the attribute of the current primitive is automatically updated, so that the link relation of the current primitive can be established. And modifying the association of other primitive attributes with the current primitive, and automatically updating the stock attributes to update the link relation.
For example, if the current drawing primitive is the annunciator B and the annunciator a is drawn in advance, the annunciator a can be copied, and the link relation between the current drawing primitive and the other equipment primitives is updated based on the copied position information of the annunciator a, so that the drawing efficiency can be improved, and the link relation between the current drawing primitive and the other equipment primitives can be updated quickly and accurately.
Based on any one of the above embodiments, the associated device primitive includes at least one of a concentration area primitive, an interlocking area primitive, a station primitive, a axle counting primitive, a car bumper primitive, a turnout primitive, and a traffic signal primitive.
Based on any of the above embodiments, the present invention further provides an apparatus association information extraction method, as shown in fig. 3, the method includes the following steps:
a) and loading the integrated drawing plug-in the CAD wiring diagram, drawing the wiring, double-clicking the wiring graphics primitive, and setting a wiring number for the wiring.
b) And selecting a station identification primitive to be drawn, and drawing the station at a fixed distance above the distance line after selecting any point on the line. When drawing, the type of the centralized station is automatically identified as one of an I-level equipment centralized station, an II-level equipment centralized station and an equipment centralized station according to the selected type, the station serial number automatically acquires the left nearest station serial number and then automatically adds 1, the one-level centralized station in the CI attribute is defaulted to be CI, the two-level centralized station is OC, and the attribute of the non-centralized station is defaulted to be NONE.
c) And after the graphics primitives are drawn, the software automatically establishes a link relation between the axle counter, the car bumper and the signal machine and the line respectively. When the axle is drawn, the line segments are automatically divided into different main sections, and lines, primitive coordinates, primitive types and the like associated with all the primitives are automatically acquired and stored.
d) And selecting one station identifier below, drawing an operation direction arrow in the middle of the line, automatically finishing drawing the operation direction arrow under all the station identifiers in the graph, finishing association of the operation direction arrow primitive and the station identifier, and automatically acquiring the name and the operation direction of the station.
e) When drawing the main transponder, the user prompts whether to associate the annunciator, selects "Y", selects the annunciator to be associated, and automatically stores the id of the selected annunciator and the direction of the annunciator in the attribute of the main transponder.
f) And drawing other primitives in the track traffic CAD drawing in sequence.
g) The station to which each primitive belongs, the belonging concentration area and the belonging interlocking area in the graph can be automatically completed through the belonging concentration area of the computing equipment, and the stations, the belonging concentration area and the belonging interlocking area are stored in the attributes of the primitives.
h) And automatically naming all the graphic elements according to the rail transit CAD drawing naming rule by automatically naming each graphic element.
i) And automatically numbering the primitives to be numbered according to the track traffic CAD drawing numbering rule by automatically numbering the primitives.
The device-related information extracting apparatus provided by the present invention is described below, and the device-related information extracting apparatus described below and the device-related information extracting method described above may be referred to in correspondence with each other.
Based on any of the above embodiments, the present invention provides an apparatus for extracting device-related information, as shown in fig. 4, the apparatus including:
the associated device determining unit 410 is configured to extract attribute information of an associated device primitive based on a link relationship between a target device primitive and the associated device primitive in the circuit diagram;
and the associated information extracting unit 420 is configured to use the attribute information of the associated device primitive as the associated information of the target device, and add the associated information to the attribute value of the target device primitive.
Based on any embodiment above, still include:
the primitive determining unit is used for determining a related equipment primitive corresponding to the target equipment primitive based on the position information of the target equipment primitive and the position information of other equipment primitives in the circuit diagram;
and the link determining unit is used for establishing a link relation between the target equipment primitive and the associated equipment primitive.
Based on any one of the above embodiments, each device primitive in the circuit diagram is drawn based on a preset sequence;
the primitive determining unit is configured to:
determining a related equipment primitive corresponding to the target equipment primitive based on the position information of the target equipment primitive and the position information of other equipment primitives in the circuit diagram; the other device primitives are primitives whose drawing order precedes the target device primitive.
Based on any one of the above embodiments, the equipment primitives in the circuit diagram are drawn based on a random order; the associated equipment primitives corresponding to the target equipment primitives comprise a first associated equipment primitive and a second associated equipment primitive;
the primitive determining unit includes:
a first determining unit, configured to, if it is determined that the first device primitive is associated with the target device primitive based on the position information of the target device primitive and the position information of the first device primitive in the circuit diagram, take the first device primitive as a first associated device primitive; the first equipment graphic element is a graphic element with the drawing sequence before the target equipment graphic element;
a second determining unit, configured to, when a second device primitive is drawn, if it is determined that the second device primitive is associated with the target device primitive based on the position information of the target device primitive and the position information of the second device primitive, take the second device primitive as a second associated device primitive; the second device primitive is a primitive whose drawing order is after the target device primitive.
Based on any embodiment above, still include:
and the naming numbering unit is used for naming and/or numbering the target equipment primitive on the basis of the association information after the association information is added in the attribute value of the target equipment primitive.
Based on any embodiment above, still include:
and the updating unit is used for copying the prior drawing primitive as the current drawing primitive and updating the link relation between the current drawing primitive and other equipment primitives if the current drawing primitive and the prior drawing primitive are the same in type when the circuit diagram is drawn before the attribute information of the associated equipment primitive is extracted.
Based on any one of the above embodiments, the associated device primitive includes at least one of a concentration area primitive, an interlocking area primitive, a station primitive, a axle counting primitive, a car bumper primitive, a turnout primitive, and a signal machine primitive.
Fig. 5 is a schematic structural diagram of an electronic device provided in the present invention, and as shown in fig. 5, the electronic device may include: a processor (processor)510, a memory (memory)520, a communication Interface (Communications Interface)530, and a communication bus 540, wherein the processor 510, the memory 520, and the communication Interface 530 communicate with each other via the communication bus 540. Processor 510 may invoke logic instructions in memory 520 to perform a device association information extraction method comprising: extracting attribute information of the associated equipment graphic element based on the link relation between the target equipment graphic element and the associated equipment graphic element in the circuit diagram; and taking the attribute information of the associated equipment primitive as the associated information of the target equipment, and adding the associated information into the attribute value of the target equipment primitive.
In addition, the logic instructions in the memory 520 may be implemented in software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as a stand-alone product. 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, which includes a computer program stored on a non-transitory computer-readable storage medium, the computer program including program instructions, when the program instructions are executed by a computer, the computer being capable of executing the device association information extraction method provided by the above methods, the method including: extracting attribute information of the associated equipment graphic element based on the link relation between the target equipment graphic element and the associated equipment graphic element in the circuit diagram; and taking the attribute information of the associated equipment primitive as the associated information of the target equipment, and adding the associated information into the attribute value of the target equipment 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 device-associated information extraction methods provided above, the method including: extracting attribute information of the associated equipment graphic element based on the link relation between the target equipment graphic element and the associated equipment graphic element in the circuit diagram; and taking the attribute information of the associated equipment primitive as the associated information of the target equipment, and adding the associated information into the attribute value of the target equipment 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. An apparatus associated information extraction method is characterized by comprising:
extracting attribute information of the associated equipment graphic element based on the link relation between the target equipment graphic element and the associated equipment graphic element in the circuit diagram;
and taking the attribute information of the associated equipment primitive as the associated information of the target equipment, and adding the associated information into the attribute value of the target equipment primitive.
2. The device association information extraction method according to claim 1, wherein the link relationship is determined based on:
determining a related equipment primitive corresponding to the target equipment primitive based on the position information of the target equipment primitive and the position information of other equipment primitives in the circuit diagram;
and establishing a link relation between the target equipment primitive and the associated equipment primitive.
3. The device-associated information extraction method according to claim 2, wherein each device primitive in the circuit diagram is drawn based on a preset order;
determining, based on the position information of the target device primitive and the position information of other device primitives in the circuit diagram, an associated device primitive corresponding to the target device primitive, including:
determining a related equipment primitive corresponding to the target equipment primitive based on the position information of the target equipment primitive and the position information of other equipment primitives in the circuit diagram; the other device primitives are primitives whose drawing order precedes the target device primitive.
4. The device-associated information extraction method according to claim 2, wherein the device primitives in the wiring diagram are drawn based on a random order; the associated equipment primitives corresponding to the target equipment primitives comprise a first associated equipment primitive and a second associated equipment primitive;
determining, based on the position information of the target device primitive and the position information of other device primitives in the circuit diagram, an associated device primitive corresponding to the target device primitive, including:
if the first equipment primitive is determined to be associated with the target equipment primitive based on the position information of the target equipment primitive and the position information of the first equipment primitive in the circuit diagram, taking the first equipment primitive as a first associated equipment primitive; the first equipment graphic element is a graphic element with the drawing sequence before the target equipment graphic element;
when a second equipment primitive is drawn, if the second equipment primitive is determined to be associated with the target equipment primitive based on the position information of the target equipment primitive and the position information of the second equipment primitive, taking the second equipment primitive as a second associated equipment primitive; the second device primitive is a primitive whose drawing order is after the target device primitive.
5. The method according to any one of claims 1 to 4, wherein the adding the association information to the attribute value of the target device primitive further comprises:
naming and/or numbering the target device primitives based on the association information.
6. The method according to any one of claims 1 to 4, wherein the extracting the attribute information of the associated device primitive further comprises:
when the circuit diagram is drawn, if the type of a current drawing primitive is the same as that of a previous drawing primitive, copying the previous drawing primitive as the current drawing primitive, and updating the link relation between the current drawing primitive and other equipment primitives.
7. The equipment associated information extraction method according to any one of claims 1 to 4, wherein the associated equipment primitive includes at least one of a concentration area primitive, an interlocking area primitive, a station primitive, a meter axis primitive, a car bumper primitive, a switch primitive, and a traffic signal primitive.
8. An apparatus for extracting device-related information, comprising:
the associated equipment determining unit is used for extracting the attribute information of the associated equipment graphic element based on the link relation between the target equipment graphic element and the associated equipment graphic element in the circuit diagram;
and the associated information extraction unit is used for taking the attribute information of the associated equipment primitive as the associated information of the target equipment and adding the associated information into the attribute value of the target equipment primitive.
9. 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 steps of the device association information extraction method according to any one of claims 1 to 7 when executing the program.
10. A non-transitory computer readable storage medium, on which a computer program is stored, wherein the computer program, when being executed by a processor, implements the steps of the device association information extraction method according to any one of claims 1 to 7.
CN202110981145.4A 2021-08-25 2021-08-25 Equipment associated information extraction method and device, electronic equipment and storage medium Pending CN113836612A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110981145.4A CN113836612A (en) 2021-08-25 2021-08-25 Equipment associated information extraction method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110981145.4A CN113836612A (en) 2021-08-25 2021-08-25 Equipment associated information extraction method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113836612A true CN113836612A (en) 2021-12-24

Family

ID=78961237

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110981145.4A Pending CN113836612A (en) 2021-08-25 2021-08-25 Equipment associated information extraction method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113836612A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001202393A (en) * 2000-01-21 2001-07-27 Mitsubishi Electric Corp Method and device for extracting component connecting relation
CN104386094A (en) * 2014-11-06 2015-03-04 北京交控科技有限公司 Method and device for generating rail transit station line diagram
CN106809255A (en) * 2016-12-29 2017-06-09 北京和利时系统工程有限公司 A kind of train automatic monitoring system and its implementation
CN109491735A (en) * 2018-10-16 2019-03-19 南京轨道交通系统工程有限公司 Integrated data generates the comprehensively monitoring human-machine interface configuration implementation method with verification
CN109552368A (en) * 2018-12-10 2019-04-02 交控科技股份有限公司 Locking sheet automatic generation method and device
CN109582943A (en) * 2018-12-06 2019-04-05 中国铁道科学研究院集团有限公司通信信号研究所 A method of automatically generating engineering data sheet
CN111382483A (en) * 2018-12-29 2020-07-07 比亚迪股份有限公司 Station yard graph engineering method, device and equipment
CN111651799A (en) * 2020-05-09 2020-09-11 北京交大思诺科技股份有限公司 Automatic generation system of train control engineering data table

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001202393A (en) * 2000-01-21 2001-07-27 Mitsubishi Electric Corp Method and device for extracting component connecting relation
CN104386094A (en) * 2014-11-06 2015-03-04 北京交控科技有限公司 Method and device for generating rail transit station line diagram
CN106809255A (en) * 2016-12-29 2017-06-09 北京和利时系统工程有限公司 A kind of train automatic monitoring system and its implementation
CN109491735A (en) * 2018-10-16 2019-03-19 南京轨道交通系统工程有限公司 Integrated data generates the comprehensively monitoring human-machine interface configuration implementation method with verification
CN109582943A (en) * 2018-12-06 2019-04-05 中国铁道科学研究院集团有限公司通信信号研究所 A method of automatically generating engineering data sheet
CN109552368A (en) * 2018-12-10 2019-04-02 交控科技股份有限公司 Locking sheet automatic generation method and device
CN111382483A (en) * 2018-12-29 2020-07-07 比亚迪股份有限公司 Station yard graph engineering method, device and equipment
CN111651799A (en) * 2020-05-09 2020-09-11 北京交大思诺科技股份有限公司 Automatic generation system of train control engineering data table

Similar Documents

Publication Publication Date Title
CN108898668A (en) The creation of the mapped system of two-dimentional drawing and threedimensional model and Map Searching method
EP3451206B1 (en) Method, apparatus, and device for generating a visual model layout of a space
CN110795868B (en) Train operation simulation data processing method and device based on urban rail transit
CN109491735B (en) Integrated data generation and verification integrated monitoring human-computer interface configuration implementation method
CN109582943B (en) Method for automatically generating engineering data table
CN108280137B (en) Task-based pipe network data editing method and device
CN113562025B (en) Computer interlocking table generation method and device, electronic equipment and storage medium
CN114880337B (en) Map data integrated updating method, device, equipment and storage medium
CN110705969B (en) Transformer substation monitoring system, main station and method for automatically associating measuring point ID
CN109808741B (en) Automatic generation method and system for track line
CN113836612A (en) Equipment associated information extraction method and device, electronic equipment and storage medium
CN109887054B (en) Method and device for displaying map
CN114281821A (en) Data chart sharing system and method
CN113836611A (en) Equipment number file generation method and device, electronic equipment and storage medium
CN114936442B (en) System and method for accurately positioning power distribution network equipment and forming topological graph
CN113096450B (en) Airport pavement road network generation method
CN112115309A (en) Automatic conversion method for railway engineering drawings and electronic equipment
CN109614692B (en) Novel three-dimensional vector acquisition and editing method and device based on tilt model
CN105488020A (en) Data processing method and system
CN115081417A (en) Engineering data table generation method and device
CN114954578B (en) Automatic generation method and system of foldback route table
CN115114310A (en) Gallery updating method, gallery updating device, electronic equipment and storage medium
CN117216823A (en) Rail transit system data generation method and device
CN111003020B (en) Counting method and device for number of axle counting sections
CN116714646B (en) Line test sequence generation method, device, equipment and medium

Legal Events

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