CN111814791B - Method and device for identifying components in system graph - Google Patents

Method and device for identifying components in system graph Download PDF

Info

Publication number
CN111814791B
CN111814791B CN202010722592.3A CN202010722592A CN111814791B CN 111814791 B CN111814791 B CN 111814791B CN 202010722592 A CN202010722592 A CN 202010722592A CN 111814791 B CN111814791 B CN 111814791B
Authority
CN
China
Prior art keywords
component
module
teaching
identification
identifier
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010722592.3A
Other languages
Chinese (zh)
Other versions
CN111814791A (en
Inventor
黄勤
张雪松
江彬
刘基佳
高猛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Siemens Ltd China
Original Assignee
Siemens Ltd China
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 Siemens Ltd China filed Critical Siemens Ltd China
Priority to CN202010722592.3A priority Critical patent/CN111814791B/en
Publication of CN111814791A publication Critical patent/CN111814791A/en
Application granted granted Critical
Publication of CN111814791B publication Critical patent/CN111814791B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/25Determination of region of interest [ROI] or a volume of interest [VOI]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Image Analysis (AREA)

Abstract

The invention relates to a method and a device for identifying components in a system diagram, which can determine component identification rules according to drawing types and module pick-up areas, can be applied to different types and different marked electrical drawings, and has high identification accuracy. The method comprises the following steps: acquiring a drawing pick-up area and a drawing type of an electrical drawing; acquiring a module picking area and a module identifier of at least one module in the drawing picking area; determining a component identification rule of the module based on the drawing type and the module pick-up area; and identifying the components in the module according to the component identification rule, and storing the module identification, the component category and the component initial identification. By means of the method for identifying the components in the system diagram, the component identification rule can be determined according to the drawing types and the module pick-up areas, the method can be applied to different types of electrical drawings with different labels, and accuracy is high.

Description

Method and device for identifying components in system graph
Technical Field
The present invention relates to the field of image processing technologies, and in particular, to a method and an apparatus for identifying components in a system diagram.
Background
The low-voltage power distribution system is not separated from industries such as industry, building, infrastructure and the like, and the current power distribution system is designed by professionals of a design institute and has a form of a technical specification for making actual projects and a corresponding primary system diagram of a power distribution network. When bidding and production delivery are carried out, the electrical equipment complete plant carries out the bid price according to the specification and drawing designed by the design institute, and the electrical equipment complete plant carries out processing and manufacturing according to the contract until delivery after bidding.
In the quotation process of the complete factory, technical parameters, product information and the like of components are required to be acquired from the system diagram, and the acquired information is sorted and classified under corresponding cabinet groups, cabinet numbers and device types. In this process, a great deal of work is required by engineers, which is time-consuming and labor-consuming.
At present, some drawing scraping and identifying software can acquire information of components in a system drawing, but a great deal of manual operation is needed, and a user can select contents on drawings one by one in a frame mode to identify and record the contents into a summary list. Although some software can realize batch drawing, as each design institute has respective electrical drawing formats, marking style habits of designers are different, and various brands exist for components, the existing method can only carry out batch drawing aiming at drawings with fixed formats, the designers are required to mark in a specific mode, the accuracy is low, and the requirements of the industry cannot be met.
Disclosure of Invention
The invention aims to provide a method and a device for identifying components in a system diagram, which can identify the components in various different types and different labeling electrical drawings, have higher accuracy, greatly reduce the workload of engineers and improve the working efficiency.
In a first aspect, an embodiment of the present disclosure provides a method for identifying a component in a system diagram, including the following steps in sequence: acquiring a drawing pick-up area and a drawing type of an electrical drawing; acquiring a module picking area and a module identifier of at least one module in the drawing picking area; searching teaching information corresponding to at least one component category in the module based on the drawing type, wherein the teaching information is a teaching mark or a teaching pickup area, and determining a component identification rule of the module based on the module pickup area and the teaching information; and identifying the components in the module according to the component identification rule, and storing the module identification, the component category and the component initial identification.
The module in this embodiment may be a "switch cabinet" or the like. The main function of the switch cabinet is to open and close, control and protect electric equipment in the process of generating, transmitting, distributing and converting electric energy of the electric power system. The components used for each loop in the switch cabinet mainly comprise a breaker, a disconnecting switch, a load switch, an operating mechanism, a mutual inductor, various protection devices and the like. The switch cabinets are classified into a withdrawable switch cabinet and a fixed switch cabinet according to a breaker installation mode; or according to the different cabinet structures, the switch cabinet can be divided into an open switch cabinet, a metal closed switch cabinet and a metal closed armored switch cabinet; according to different voltage levels, the high-voltage switch cabinet, the medium-voltage switch cabinet, the low-voltage switch cabinet and the like can be further divided. In addition, each type of switch cabinet may also include multiple cabinet types, e.g., different cabinet types having different dimensions (e.g., heights). In the context of the present application, the switch cabinet selected may be either a certain switch cabinet or a specific cabinet type of a certain switch cabinet. The drawing types can be divided in various manners, for example, whether the same type of parameter marks in the electrical drawing have the same or basically the same abscissa or ordinate can be judged, and whether the same type of parameter marks in the electrical drawing have the same or basically the same labeling manner can be judged.
By means of the method for identifying the components in the system diagram, the component identification rule can be determined according to the drawing types and the module pick-up areas, the method can be applied to different types of electrical drawings with different labels, and accuracy is high. The method of the present invention can be applied regardless of whether the system diagram considers both the counter arrangement and the distribution to each feed load only. In addition, the designer can not influence the identification of components at different positions of the electrical drawing (such as the switch cabinet).
In yet another example in the present specification, the determining the component recognition rule of the module based on the drawing type and the module pickup area includes: and if the drawing type is the first type, searching a teaching identifier corresponding to at least one component category in the module, and determining a component identification rule of the module based on the module pickup area and the teaching identifier.
In yet another example in the present specification, further comprising: and if the teaching identification is not found, acquiring the category and the identification of the component input by the user, and determining the teaching identification based on the identification. The rules obtained by teaching can be stored by information of a design institute, a designer, a component manufacturer and the like. And searching corresponding teaching contents when the next recognition is performed, and directly performing automatic drawing recognition according to corresponding rules.
The method shown in the embodiment can gradually improve the accuracy of drawing recognition by teaching various drawings with different types and different labels, and finally realizes that zero teaching directly obtains the recognition result.
In another example in the present specification, the acquiring the component category and the identifier input by the user specifically includes: and sequentially acquiring the identifications based on the input sequence of the component categories.
According to the method, the types of the components to be picked up are selected in advance by a user, and the frame selection areas corresponding to the selected types of the components are acquired in sequence, so that the operation of the user is facilitated, and the working efficiency is improved.
In one example in this specification, the determining the component recognition rule of the module based on the drawing type and the module pickup area includes: and if the drawing type is the second type, searching a teaching pickup area corresponding to at least one component type in the module, and determining a component identification rule of the module based on the module pickup area and the teaching pickup area.
In another example in the present specification, further comprising: and if the teaching pickup area is not found, acquiring the component category and the frame selection area input by the user, and determining the teaching pickup area based on the frame selection area. The rules obtained by teaching can be stored by information of a design institute, a designer, a component manufacturer and the like. And searching corresponding teaching contents when the next recognition is performed, and directly performing automatic drawing recognition according to corresponding rules.
The method shown in the embodiment can gradually improve the accuracy of drawing recognition by teaching various drawings with different types and different labels, and finally realizes that zero teaching directly obtains the recognition result.
In still another example in this specification, the acquiring the component category and the box selection area input by the user is specifically: and sequentially acquiring the frame selection areas based on the input sequence of the component categories.
According to the method, the types of the components to be picked up are selected in advance by a user, and the frame selection areas corresponding to the selected types of the components are acquired in sequence, so that the operation of the user is facilitated, and the working efficiency is improved.
In yet another example in the present specification, the method further comprises: analyzing the initial identifier of the component according to a preset identifier analysis rule or a preset identifier analysis rule set by a user, and obtaining the parameter information of the component.
In yet another example in the present specification, the method further includes setting the identifier resolution rule by a user, specifically: at least one parameter field selected by a user from the initial identifier of the component is obtained, an electrical parameter type selected by the user for the parameter field is determined, an analysis rule corresponding to the electrical parameter type is determined and stored based on the parameter field, and the identifier analysis rule comprises at least one analysis rule.
According to the method, the analysis rules of the initial identifiers of the components are taught, the initial identifiers of the components in different labeling modes can be identified, so that parameter information corresponding to the components is obtained, the analysis accuracy is improved, and finally, the zero teaching identification result is realized.
In yet another example in the present specification, the method further comprises: and determining the order number of the component based on the parameter information.
According to the method, the parameter information of the components is obtained through analysis, so that the corresponding order numbers of the components of different suppliers can be obtained rapidly according to naming standards of the suppliers, manual selection is not needed, and the working efficiency of engineers is improved.
In a second aspect, the present description embodiments provide a machine-readable medium storing machine-executable instructions configured such that, when executed by a suitable machine or processor, the machine or processor is caused to perform the method of any of the preceding paragraphs.
In a third aspect, embodiments of the present specification provide a computing device comprising: at least one memory and at least one processor. The at least one memory is configured to store machine-executable instructions. The processor is configured to invoke the machine-executable instructions. The machine-executable instructions, when executed by the at least one processor, cause the at least one processor to perform the method of any of the preceding paragraphs.
In a fourth aspect, an embodiment of the present disclosure provides an apparatus for identifying a component in a system diagram, including:
a drawing recognition unit configured to acquire a drawing pickup area and a drawing type of an electrical drawing;
a module identification unit configured to acquire a module pick-up area and a module identification of at least one module; and
and the component identification unit is configured to search teaching information corresponding to at least one component category in the module based on the drawing type, the teaching information is a teaching identification or a teaching pickup area, determine a component identification rule of the module based on the module pickup area and the teaching information, identify components in the module according to the component identification rule, and store the module identification, the component category and the component initial identification.
Those skilled in the art will appreciate other aspects of the present application upon reading and understanding the specification.
Drawings
The above and other features and advantages of the present invention will become more apparent to those of ordinary skill in the art by describing in detail preferred embodiments thereof with reference to the attached drawings in which:
fig. 1 is a flow chart of a method of identifying components in a system diagram according to one embodiment of the invention.
Fig. 2 is a flow chart of a method of identifying components in a system diagram according to another embodiment of the present invention.
FIG. 3 is a block diagram of a computing device that identifies components in a system diagram according to one embodiment of the invention.
Fig. 4 is a block diagram showing a structure of an apparatus for identifying components in a system diagram according to an embodiment of the present invention.
Fig. 5 is a block diagram showing a structure of an apparatus for identifying components in a system diagram according to another embodiment of the present invention.
Wherein, the reference numerals are as follows:
100 drawing recognition unit
200 module identification unit
300 components and parts identification element
310 component first pick-up subunit
311 first recognition graph teaching unit
320 component second pick-up subunit
321 second learning and teaching unit
400 analysis unit
410 rule setting unit
500 order number generation unit
900: computing device
910: at least one memory
920: at least one processor
Detailed Description
For a clearer understanding of the technical features, objects and effects of the present invention, embodiments of the present invention will now be described with reference to the drawings, in which like reference numerals refer to identical or structurally similar but functionally identical components throughout the separate views.
In this document, "schematic" means "serving as an example, instance, or illustration," and any illustrations, embodiments described herein as "schematic" should not be construed as a more preferred or advantageous solution.
For the sake of simplicity of the drawing, the parts relevant to the present invention are shown only schematically in the figures, which do not represent the actual structure thereof as a product. In addition, for simplicity and ease of understanding, components having the same structure or function in some of the figures are shown schematically only one of them, or only one of them is labeled.
Herein, "a" means not only "only this one" but also "more than one" case. Herein, "first", "second", etc. do not indicate the degree of importance or order thereof, etc., but merely indicate distinction from each other to facilitate description of documents.
Referring to FIG. 1, a flow chart of a method of identifying components in a system diagram is shown, in accordance with one embodiment of the present invention. The method may preferably be performed by the computing device 900 or computer processor shown in fig. 3. It should be appreciated that the method may be performed by other means, such as a device or other computing device that identifies components in a system diagram as shown in fig. 4.
Step S1: and acquiring a drawing pick-up area and a drawing type of the electrical drawing. A primary system diagram file can comprise a plurality of electrical drawings, and a user can select the electrical drawings to be identified through a mouse frame so as to determine a drawing pickup area. The drawing types can be divided in various manners, for example, whether the parameter marks of the same type of components in the electrical drawing have the same or basically the same abscissa/ordinate, or whether the parameter marks of the same type in the electrical drawing have the same or basically the same labeling manner can be judged. In an actual implementation, the drawing type may be determined by software, or manually selected by a user.
Step S2: and acquiring a module pickup area and a module identifier of at least one module in the drawing pickup area. The modules may be "switch cabinets" or otherwise. One or more modules may be included in an electrical drawing. The module locations in the electrical drawing templates may vary from design company to design company. The position of the component in the module in the drawing can be determined by acquiring the module pick-up area. The method is realized by the following steps: a user selects a module identifier (such as a switch cabinet label) of a specific module in the electrical drawing, and a wire closest to the module identifier in the electrical drawing can be obtained according to the frame selection position; according to the frame wires, the area range of the components in the module can be obtained. Generally, the longitudinal wire on the left side of the module identifier, which is closest to the module identifier, and the longitudinal wire on the right side of the module identifier, which is closest to the module identifier, together define the abscissa range of the component distribution within the module. Similarly, for other parts of the electrical drawing, the vertical coordinate range of the component distribution in the module can be defined by the transverse frame line above the module mark and closest to the module mark and the transverse frame line below the module mark and closest to the module mark.
Step S3: and determining a component identification rule of the module based on the drawing type and the module pickup area.
Step S4: and identifying the components in the module according to the component identification rule, and storing the module identification, the component category and the component initial identification.
When the drawing type of the electrical drawing is the first type, the labeling modes of the parameter marks in the electrical drawing are unified, and the parameter marks of the same type of components have the same/basically same labeling modes, as shown in the table 1. When the drawing type of the electrical drawing is the second type, the parameter marks in the electrical drawing are arranged in a table-like manner, and the parameter marks of the same component have the same or basically the same abscissa or ordinate, as shown in table 2. Tables 1 and 2 show only part of information of the electrical drawings, for schematically illustrating the types of the electrical drawings.
TABLE 1 local information of first type of electrical drawing
Preferably, the step S3 may include step S301: if the drawing type is the first type, searching a teaching identifier corresponding to at least one component category in the module, and determining a component identification rule of the module based on the module pickup area and the teaching identifier. Specifically, when the drawing type of the electrical drawing is the first type, the parameter marks of the same type of components have the same/substantially same labeling mode. For example, in table 1, the same/substantially the same labeling manner is used for all parameter labels in the switch cabinets "1AA5", 1AA6 "and" 1AA7", and, for example," MCCB "is used as the beginning of the parameter label, and there are parameters that are different, but have correspondence with each other. For example, when the components in the switch cabinet "1AA5" are to be identified, the abscissa range of the parameter mark in the switch cabinet "1AA5" is obtained in step S2, the teaching mark corresponding to a component category is found and obtained as "MCCB250N", and the corresponding component category in the loop can be identified after comparison of similar keywords in the abscissa range. Wherein the above teaching identification "MCCB250N" is for illustration only, other forms, such as "MCCB" etc., may also be employed.
As an example, step S301 may further include step S3011: and if the teaching identification is not found, acquiring the component category and the identification input by the user, and determining the teaching identification based on the identification. For example, if the component is not set or stored with a "teaching identifier", the teaching identifier may be obtained by teaching. Specifically, the user selects one parameter mark "MCCB250N tmd2503p+sde+of M3" in a frame, so as to obtain an identifier "MCCB250N tmd2503p+sde+of M3" of the component, and determines that the corresponding teaching identifier is "MCCB250N" through the identifier. The above teaching identifier MCCB250N is for illustration only, and other forms may be used without limitation.
When teaching is required to be carried out on the components of multiple types in the module, a user can select one component type and input a specific identifier, then select the next component type and input the specific identifier until the teaching of all the required component types is completed. In addition, the invention also provides a guide teaching method, namely, the identification is acquired sequentially based on the input sequence of the component types. Specifically, before teaching, a user firstly selects all required component categories, then inputs identifiers one by one (specifically, the identifiers can be obtained through parameter marks in a frame selection drawing), and the method corresponds the component categories and the identifiers according to the input sequence of the component categories. The component categories can be cabinet numbers, circuit breakers, contactors, thermal relays, transformers, meters, position numbers and the like.
TABLE 2 local information of electrical drawings of the second type
Preferably, the step S3 may include step S302: and if the drawing type is the second type, searching a teaching pickup area corresponding to at least one component type in the module, and determining a component identification rule of the module based on the module pickup area and the teaching pickup area. Specifically, when the drawing type of the electrical drawing is the first type, the parameter marks of the same type of component have the same or substantially the same abscissa or ordinate. As shown in Table 2, in the switch cabinet labeled "216MC03MC07", the parameter labels "MCCBS 160R 20 MA 200/20", "MCCBS 160R 52 MA 520/52", "MCCBS 160R 20 MA 200/20" … … "MCCBS160TMD32/4P 500/32" of one type of component have the same ordinate. Step S2 yields the abscissa range of the parameter markers within the switch cabinet "216MC03MC 07". When the type of components in the switch cabinet are to be identified, a teaching pickup area corresponding to the type of components in the switch cabinet body is searched, wherein the teaching pickup area can be a certain ordinate value, a range of the ordinate value, and a relative distance or a range of the relative distance of the type of parameter mark relative to the switch cabinet mark '216 MC03MC 07' on the ordinate. By means of the module pick-up area and the teaching pick-up area, the specific positions of the corresponding components can be determined for identification.
As an example, step S302 may further include step S3021: and if the teaching pickup area is not found, acquiring the component category and the frame selection area input by the user, and determining the teaching pickup area based on the frame selection area. For example, a "teaching pickup area" is not set or stored for such components, and is obtained by teaching. Specifically, the user selects one of the parameter marks MCCBS 160R 20 MA 200/20 to obtain the position information of the component or the longitudinal frame line information near the component, and the teaching pickup area corresponding to the component category can be determined through the frame selection area.
When teaching is required to be carried out on the components of multiple types in the module, a user can select one component type and then input the frame selection area, then select the next component type and then input the frame selection area until the teaching of all the required component types is completed. This approach is cumbersome. In addition, the invention also provides a guide teaching method, namely, the frame selection areas are sequentially acquired based on the input sequence of the component types. Specifically, before teaching, a user firstly selects all required component categories, then inputs the frame selection areas one by one, and corresponds the component categories and the frame selection areas according to the input sequence of the component categories.
The method of the present invention may be used in either step S301 or step S302, or both. The method of step S301 can accurately identify the electrical drawing with the uniform labeling mode of the parameter marks, and the method of step S302 can accurately identify the electrical drawing with the same or basically the same abscissa or ordinate of the parameter marks of the same kind of components.
Referring to FIG. 2, a flow chart of a method of identifying components in a system diagram is shown, according to another embodiment of the present invention. After step S4, steps S5 and S6 are further included. As an example, step S6 may be omitted.
S5: and analyzing the initial identifier of the component according to a preset identifier analysis rule or a user-set identifier analysis rule to acquire the parameter information of the component.
Because the labeling styles of the designers are greatly different, various different expression modes exist for the initial identifiers of the components obtained in the step S4, so that the initial identifiers of the components cannot be directly used. Therefore, the initial identification of the component needs to be analyzed to obtain the parameter information of the component. Specifically, the identification analysis rule can be obtained by analyzing the existing data in advance, the identification analysis rule is pre-stored, and then the initial information of the component is analyzed according to the preset identification analysis rule in step S5; and the analysis can be performed according to the identification analysis rules set by the user in the using process.
S6: order numbers of the components are determined based on the parameter information. Although, the parameter information of each component may be obtained in step S5. However, for a plant to place an order for a particular component in a supplier, the order needs to be known, and each supplier has its own order naming convention. The engineer can be assisted to quickly acquire order numbers of different suppliers to provide work efficiency through step S6. Specifically, a mapping between the component parameter information and the order numbers of the suppliers may be preset, and the order numbers of the corresponding components may be obtained through a mapping relationship.
Preferably, the step S4 may be followed by the step S5, which may further include a step of setting an identification resolution rule by the user: s500: at least one parameter field selected by a user from the initial identifier of the component is obtained, the electrical parameter type selected by the user for the parameter field is determined, the analysis rule corresponding to the electrical parameter type is determined and stored based on the parameter field, and the identifier analysis rule comprises at least one analysis rule. Through teaching and word dividing, corresponding keywords are divided and then manually judged to point to corresponding electric parameters, specifically, by taking an initial identification of an element of 'MCCB 100N 100 TMD 3P 3D/plug-in' as an example, a user divides and selects 'MCCB' and points to 'serial names', a user divides and selects '3P' and points to 'pole number', a user divides and selects 'TMD' and points to 'tripper attribute', a user divides and selects '100' and points to 'frame current parameter value', and the like. While the data is being drawn, the data is stored in a database and categorized by brand, series. And when the new initial identification of the component is analyzed next time, directly selecting the model according to the rules recorded in the database.
Other variants
Fig. 3 is a block diagram of a computing device 900 for identifying components in a system diagram according to an embodiment of the present disclosure. According to one embodiment, computing device 900 may include at least one memory 910 and at least one processor 920. In one embodiment, the machine-executable instructions are stored in memory 910 (including machine-readable media) and processor 920 is configured to invoke the machine-executable instructions. The machine executable instructions, when executed by the at least one processor 910, cause the at least one processor 910 to perform the aforementioned method steps.
Machine-readable media provided by embodiments of the present description have stored thereon machine-executable instructions that, when executed by a processor, cause the processor to perform any of the methods described previously. In particular, a system or apparatus may be provided that is equipped with a machine-readable medium on which is stored software program code that implements the functionality of any of the above embodiments, and which causes a computer or processor of the system or apparatus to read and execute the machine-executable instructions stored in the machine-readable medium.
In this case, the program code itself, read from a machine-readable medium, may implement the functions of any of the above-described embodiments, and thus the machine-readable code and the machine-readable medium storing the machine-readable code form part of the present invention.
Examples of machine-readable media include floppy disks, hard disks, magneto-optical disks, optical disks (e.g., CD-ROMs, CD-R, CD-RWs, DVD-ROMs, DVD-RAMs, DVD-RWs, DVD+RWs), magnetic tapes, non-volatile memory cards, and ROMs. Alternatively, the program code may be downloaded from a server computer or cloud by a communications network.
Fig. 4 is a block diagram of a component in an identification system according to an embodiment of the present disclosure. Fig. 5 is a block diagram showing a structure of an apparatus for identifying components in a system diagram according to another embodiment of the present invention.
The device for identifying the components in the system diagram comprises a drawing identification unit 100, a module identification unit 200 and a component identification unit 300. The apparatus 300 shown in fig. 4 may be implemented in software, hardware, or a combination of software and hardware. The drawing recognition unit 100 is configured to acquire a drawing pickup area of an electrical drawing and a drawing type. The module identification unit 200 is configured to acquire a module pickup area and a module identification of at least one module. The component recognition unit 300 is configured to determine a component recognition rule of a module based on the drawing type and the module pickup area, recognize components within the module according to the component recognition rule, and store a module identification as well as a component category and a component initial identification.
In one example, the component identification unit 300 includes a component first pick-up subunit 310. The first component pickup subunit 310 is configured to search for a teaching identifier corresponding to at least one component category in the module if the drawing type is the first type, and determine a component identification rule of the module based on the module pickup area and the teaching identifier.
In another example, the component first pick-up subunit 310 includes a first recognition graph teaching unit 311. The first recognition graph teaching unit 311 is configured to acquire the component category and the identifier input by the user if the teaching identifier is not found, and determine the teaching identifier based on the identifier.
In another example, the obtaining of the component category and the identifier input by the user is specifically: and sequentially acquiring the identifications based on the input sequence of the component categories.
In another example, the component identification unit 300 includes one component second pick-up subunit 320. The component second pickup subunit 320 is configured to find a teaching pickup area corresponding to at least one component category in the module if the drawing type is the second type, and determine a component identification rule of the module based on the module pickup area and the teaching pickup area.
In another example, the component second pick-up subunit 320 includes a second recognition graph teaching unit 321. The second recognition and instruction unit 321 is configured to acquire the component category and the frame selection area input by the user if the teaching pickup area is not found, and determine the teaching pickup area based on the frame selection area.
In another example, determining the teaching pick region based on the box selection region is specifically: and sequentially acquiring the frame selection areas based on the input sequence of the component categories.
In another example, the apparatus for identifying components in a system graph further includes a parsing unit 400. The parsing unit 400 is configured to parse the initial identifier of the component according to a preset or user-set identifier parsing rule, so as to obtain parameter information of the component.
In another example, the parsing unit includes a rule setting unit 410. The rule setting unit 410 is configured to obtain at least one parameter field selected by a user from an initial identifier of a component, determine an electrical parameter type selected by the user for the parameter field, determine and store a parsing rule corresponding to the electrical parameter type based on the parameter field, and the identifier parsing rule includes at least one parsing rule.
In another example, the apparatus for identifying components in a system diagram further includes an order number generation unit 500. Order number generation unit 500 is configured to determine an order number of the component based on the parameter information.
It should be noted that not all the steps and modules in the above flowcharts and the system configuration diagrams are necessary, and some steps or modules may be omitted according to actual needs. The execution sequence of the steps is not fixed and can be adjusted as required. The system structure described in the above embodiments may be a physical structure or a logical structure, that is, some modules may be implemented by the same physical entity, or some modules may be implemented by multiple physical entities, or may be implemented jointly by some components in multiple independent devices.
While the invention has been illustrated and described in detail in the drawings and in the preferred embodiments, the invention is not limited to the disclosed embodiments, and it will be appreciated by those skilled in the art that the code audits of the various embodiments described above may be combined to produce further embodiments of the invention, which are also within the scope of the invention.
In summary, the embodiment of the invention provides a method and a device for identifying components in a system diagram. The method comprises the following steps: acquiring a drawing pick-up area and a drawing type of an electrical drawing; acquiring a module picking area and a module identifier of at least one module in the drawing picking area; determining a component identification rule of the module based on the drawing type and the module pick-up area; and identifying the components in the module according to the component identification rule, and storing the module identification, the component category and the component initial identification. By means of the method for identifying the components in the system diagram, the component identification rule can be determined according to the drawing types and the module pick-up areas, the method can be applied to different types of electrical drawings with different labels, and accuracy is high. In addition, the invention can further increase the type and labeling mode of the ground drawing through teaching, and further improve the accuracy of recognition.

Claims (22)

1. The method for identifying the components in the system graph is characterized by comprising the following steps in sequence:
s1: acquiring a drawing pick-up area and a drawing type of an electrical drawing;
s2: acquiring a module picking area and a module identifier of at least one module in the drawing picking area;
s3: searching teaching information corresponding to at least one component category in the module based on the drawing type, wherein the teaching information is a teaching mark or a teaching pickup area, and determining a component identification rule of the module based on the module pickup area and the teaching information;
s4: and identifying the components in the module according to the component identification rule, and storing the module identification, the component category and the component initial identification.
2. The method for identifying components in a system graph according to claim 1, wherein the step S3 includes:
s301: and if the drawing type is the first type, searching a teaching identifier corresponding to at least one component category in the module, and determining a component identification rule of the module based on the module pickup area and the teaching identifier.
3. The method for identifying components in a system graph according to claim 2, wherein the step S301 includes:
s3011: and if the teaching identification is not found, acquiring the category and the identification of the component input by the user, and determining the teaching identification based on the identification.
4. A method for identifying components in a system graph according to claim 3, wherein the obtaining the component category and the identifier input by the user specifically includes:
and sequentially acquiring the identifications based on the input sequence of the component categories.
5. The method for identifying components in a system graph according to claim 1, wherein the step S3 includes:
s302: and if the drawing type is the second type, searching a teaching pickup area corresponding to at least one component type in the module, and determining a component identification rule of the module based on the module pickup area and the teaching pickup area.
6. The method for identifying components in a system graph according to claim 5, wherein the step S302 includes:
s3021: and if the teaching pickup area is not found, acquiring the component category and the frame selection area input by the user, and determining the teaching pickup area based on the frame selection area.
7. The method for identifying components in a system graph according to claim 6, wherein the obtaining the component category and the box selection area input by the user specifically includes:
and sequentially acquiring the frame selection areas based on the input sequence of the component categories.
8. The method for identifying components in a system graph according to claim 1, wherein the step S4 further comprises:
s5: analyzing the initial identifier of the component according to a preset identifier analysis rule or a preset identifier analysis rule set by a user, and obtaining the parameter information of the component.
9. The method for identifying components in a system graph according to claim 8, wherein the step S5 is preceded by a step of setting the identification resolution rule by a user, specifically:
s500: at least one parameter field selected by a user from the initial identifier of the component is obtained, an electrical parameter type selected by the user for the parameter field is determined, an analysis rule corresponding to the electrical parameter type is determined and stored based on the parameter field, and the identifier analysis rule comprises at least one analysis rule.
10. The method for identifying components in a system graph according to claim 8, wherein the step S5 further comprises:
s6: and determining the order number of the component based on the parameter information.
11. A machine-readable medium, characterized in that it stores machine-executable instructions configured such that, when executed by a suitable machine or processor, the machine or processor is caused to perform the method of any of claims 1-10.
12. A computing device, comprising: at least one memory for storing machine-executable instructions; and at least one processor for invoking the machine-executable instructions, which when executed by the at least one processor, cause the at least one processor to perform the method of any of claims 1-10.
13. An apparatus for identifying components in a system diagram, comprising:
a drawing recognition unit (100) configured to acquire a drawing pickup area and a drawing type of an electrical drawing;
a module identification unit (200) configured to obtain a module pick-up area and a module identification of at least one module; and
and the component identification unit (300) is configured to search teaching information corresponding to at least one component category in the module based on the drawing type, wherein the teaching information is a teaching identification or a teaching pickup area, determine a component identification rule of the module based on the module pickup area and the teaching information, identify components in the module according to the component identification rule, and store the module identification, the component category and the component initial identification.
14. The apparatus for identifying components in a system diagram according to claim 13, wherein the component identification unit (300) includes:
and the first component pickup subunit (310) is configured to search a teaching identifier corresponding to at least one component category in the module if the drawing type is the first type, and determine a component identification rule of the module based on the module pickup area and the teaching identifier.
15. The apparatus for identifying components in a system map according to claim 14, wherein said component first pick-up subunit (310) comprises:
and a first teaching unit (311) for teaching the figure, which is configured to acquire the component category and the identification input by the user if the teaching identification is not found, and determine the teaching identification based on the identification.
16. The device for identifying components in a system graph according to claim 15, wherein the obtaining the component category and the identifier input by the user specifically includes:
and sequentially acquiring the identifications based on the input sequence of the component categories.
17. The apparatus for identifying components in a system diagram according to claim 13, wherein the component identification unit (300) includes:
and the component second pickup subunit (320) is configured to find a teaching pickup area corresponding to at least one component category in the module if the drawing type is the second type, and determine a component identification rule of the module based on the module pickup area and the teaching pickup area.
18. The apparatus for identifying components in a system map according to claim 17, wherein said component second pick-up subunit (320) comprises:
and a second teaching unit (321) configured to acquire the component category and the frame selection area input by the user if the teaching pickup area is not found, and determine the teaching pickup area based on the frame selection area.
19. The apparatus for identifying components in a system diagram according to claim 18, wherein the determining the teaching pick-up area based on the frame selection area is specifically:
and sequentially acquiring the frame selection areas based on the input sequence of the component categories.
20. The apparatus for identifying components in a system graph of claim 13, further comprising:
and the analysis unit (400) is configured to analyze the initial identifier of the component according to a preset or user-set identifier analysis rule and acquire the parameter information of the component.
21. The apparatus for identifying components in a system graph according to claim 20, wherein the parsing unit includes:
and a rule setting unit (410) configured to acquire at least one parameter field selected by a user from the initial identifier of the component, determine an electrical parameter type selected by the user for the parameter field, and determine and store a parsing rule corresponding to the electrical parameter type based on the parameter field, wherein the identifier parsing rule includes at least one parsing rule.
22. The apparatus for identifying components in a system graph of claim 20, further comprising:
an order number generation unit (500) configured to determine an order number of the component based on the parameter information.
CN202010722592.3A 2020-07-24 2020-07-24 Method and device for identifying components in system graph Active CN111814791B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010722592.3A CN111814791B (en) 2020-07-24 2020-07-24 Method and device for identifying components in system graph

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010722592.3A CN111814791B (en) 2020-07-24 2020-07-24 Method and device for identifying components in system graph

Publications (2)

Publication Number Publication Date
CN111814791A CN111814791A (en) 2020-10-23
CN111814791B true CN111814791B (en) 2024-03-19

Family

ID=72862533

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010722592.3A Active CN111814791B (en) 2020-07-24 2020-07-24 Method and device for identifying components in system graph

Country Status (1)

Country Link
CN (1) CN111814791B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113505552B (en) * 2021-07-13 2024-05-14 北京全路通信信号研究设计院集团有限公司 Method and device for dividing circuit drawing modules of signalers interlocked in station

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1942443A1 (en) * 2007-01-05 2008-07-09 Siemens Aktiengesellschaft Method for identification of machine parts
KR101924186B1 (en) * 2017-06-07 2019-02-22 삼성중공업 주식회사 System and device for managing electronic drawing file
CN109446885A (en) * 2018-09-07 2019-03-08 广州算易软件科技有限公司 A kind of text based Identify chip method, system, device and storage medium
CN110309807A (en) * 2019-07-08 2019-10-08 西北工业大学 CAD diagram paper intelligent identification Method
CN110609912A (en) * 2019-08-29 2019-12-24 百度在线网络技术(北京)有限公司 Component information recording method, device, equipment and readable storage medium
CN111160144A (en) * 2019-12-16 2020-05-15 广东施富电气实业有限公司 Method and system for identifying components by combining electric drawing with pictures and texts and storage medium
CN111401231A (en) * 2020-03-13 2020-07-10 华黔科技有限公司 Engineering drawing identification and verification method and device
CN111401312A (en) * 2020-04-10 2020-07-10 深圳新致软件有限公司 PDF drawing character recognition method, system and equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060287932A1 (en) * 2005-06-20 2006-12-21 Spraying Systems Co. System and method for intelligent product configuration and price quotation
US20150130834A1 (en) * 2013-11-11 2015-05-14 International Business Machines Corporation Interactive augmented reality for memory dimm installation

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1942443A1 (en) * 2007-01-05 2008-07-09 Siemens Aktiengesellschaft Method for identification of machine parts
KR101924186B1 (en) * 2017-06-07 2019-02-22 삼성중공업 주식회사 System and device for managing electronic drawing file
CN109446885A (en) * 2018-09-07 2019-03-08 广州算易软件科技有限公司 A kind of text based Identify chip method, system, device and storage medium
CN110309807A (en) * 2019-07-08 2019-10-08 西北工业大学 CAD diagram paper intelligent identification Method
CN110609912A (en) * 2019-08-29 2019-12-24 百度在线网络技术(北京)有限公司 Component information recording method, device, equipment and readable storage medium
CN111160144A (en) * 2019-12-16 2020-05-15 广东施富电气实业有限公司 Method and system for identifying components by combining electric drawing with pictures and texts and storage medium
CN111401231A (en) * 2020-03-13 2020-07-10 华黔科技有限公司 Engineering drawing identification and verification method and device
CN111401312A (en) * 2020-04-10 2020-07-10 深圳新致软件有限公司 PDF drawing character recognition method, system and equipment

Also Published As

Publication number Publication date
CN111814791A (en) 2020-10-23

Similar Documents

Publication Publication Date Title
CN110674384B (en) Component model matching method
CN100583920C (en) Method and apparatus for generating testing script, testing method, apparatus and system
US20100250622A1 (en) method of automatically generating an ssd file
CN111459985A (en) Identification information processing method and device
CN111260413A (en) Vector graph-based rapid calculation method for construction cost of power main network engineering
CN102428491A (en) Location-based data service apparatus and method
CN111599013B (en) Method for quickly constructing three-dimensional scene of transformer substation and related device
CN111814791B (en) Method and device for identifying components in system graph
KR100491250B1 (en) Method and System for registering goods information
CN101233518B (en) An automated method and tool for documenting a transformer design
Bahubalendruni et al. An efficient stable subassembly identification method towards assembly sequence generation
CN112613339A (en) Automatic identification and examination method and device for electrical drawings
CN112669055A (en) Power transmission and transformation project exploitable estimation simulation group price method and device
CN115906360A (en) Drainage system CAD-GIS data conversion and standard marking method and device
CN103514303A (en) Method and system for recognizing electrical element wiring diagram
CN110795352A (en) Establishing and using method of fine-grained test case system for component-oriented star software
CN115563942A (en) Contract generation method and device, electronic equipment and computer readable medium
EP3001330A1 (en) Data processing device and method
CN113434770B (en) Business portrait analysis method and system combining electronic commerce and big data
CN106301833A (en) A kind of transformer station schedule information method of testing
CN111078861B (en) Selective replacement recommendation method, system and storage medium for electrical drawing components
KR101927689B1 (en) Method for processing of cim network diagram
CN112785186A (en) Product model, and method and device for analyzing product model identification
CN107463690B (en) Method and system for realizing quick link
JP2011227742A (en) Contrast display data generation device or contrast display data generation method

Legal Events

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