A method and system for numbering wiring break points in electrical drawings

By using the identification number of preset breakpoints in the electrical drawings to automatically identify the wiring breakpoints in the sub-line image, the problem of identification numbers need to be modified one by one in the automatic processing of the electrical drawings is solved, which improves efficiency and reduces errors, and achieves accuracy number identification.

CN114550196BActive Publication Date: 2024-12-10HAITIAN PLASTICS MACHINERY GRP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210036554.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-12
Publication Date
2024-12-10
Estimated Expiration
2042-01-12

AI Technical Summary

Technical Problem

In the automatic processing of electrical drawings, the identification number of the identification sub-line image needs to be modified one by one, which is time-consuming and labor-intensive and prone to errors.

Method used

Automatically identify the wiring interruption points in the sub-line image through the identification number of the preset interrupt point in the line image. Use the preset configuration file and matching module to filter out the identification number that can be used in the sub-line diagram, and then use the replacement wiring interruption. The identification number of the point number marks the wiring interruption point in the sub-line image.

Benefits of technology

It solves the problem that the identification of terminals in the sub-line image needs to be modified one by one, improves automatic processing efficiency, reduces error occurrence, filters out only corresponding identification numbers for identification, and eliminates terminals that are not set correspondingly.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114550196B_ABST
    Figure CN114550196B_ABST
Patent Text Reader

Abstract

The invention discloses a method and system for numbering wiring breakpoints in an electrical drawing, and relates to the field of electrical drawings. The method identifies the wiring breakpoints in a sub-circuit image by using the identification numbers of the preset breakpoints in the circuit image, so as to indicate the connection relationship between the circuit image and the sub-circuit image. The method sequentially matches the identification numbers of the preset breakpoints in a second set with the identification numbers in a first set. If the matches are consistent, the identification numbers of the preset breakpoints are stored in a sub-set of the first set. The identification numbers of the wiring breakpoints in the second set are sequentially matched with the identification numbers in the sub-set. If the matches are consistent, the identification numbers of the wiring breakpoints in the second set are replaced with the identification numbers in the sub-set. The wiring breakpoints in the sub-circuit image are numbered by using the identification numbers of the replaced wiring breakpoints, so as to solve the problem that the identification of the wiring terminals in the sub-circuit image needs to be modified one by one.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of electrical drawings, and in particular to a method and system for numbering wiring break points in electrical drawings. Background Art

[0002] An electrical drawing includes a circuit image and a sub-circuit image. The identification number of the wiring terminal on the sub-circuit image is identified by the identification number of the wiring terminal on the circuit image to reflect the connection relationship between the circuit image and the sub-circuit image. However, in the current automatic processing of electrical drawings, when identifying the identification number of the sub-circuit image, it is necessary to select the wiring terminals in the figure one by one for modification, which is time-consuming and labor-intensive, and prone to error. In view of the current technical problems, the present invention proposes a method and system for numbering wiring break points in electrical drawings, which automatically identifies the wiring terminals in the sub-circuit image by number, thereby solving the problem that the identification of the current wiring terminals needs to be modified one by one. Summary of the invention

[0003] In order to solve the problem that the identification of the connection terminals in the sub-circuit image needs to be modified one by one, the present invention proposes a method for identifying the number of the connection break point in the electrical drawing, the electrical drawing includes a circuit image and a sub-circuit image, and the connection break point in the sub-circuit image is identified by the identification number of the preset break point in the circuit image to indicate the connection relationship between the circuit image and the sub-circuit image. The method comprises the steps of:

[0004] S01: Obtain identification numbers of interruption points in a preset configuration file and store them in a first set, wherein the identification numbers include a first preset number of codes;

[0005] S02: Acquire identification numbers of each preset interruption point and wiring interruption point in the electrical drawing, and store them in a second set in a preset order, wherein the identification numbers of the preset interruption points include a second preset number of codes, and the identification numbers of the wiring interruption points include a first preset number of codes, and the second preset number is greater than the first preset number;

[0006] S03: sequentially matching the identification numbers of the preset interruption points in the second set with the identification numbers in the first set, and if the matches are consistent, storing the identification numbers of the preset interruption points in a subset of the first set;

[0007] S04: Match the identification numbers of the wiring interruption points in the second set with the identification numbers in the subset in turn. If the matches are consistent, replace the identification numbers of the wiring interruption points in the second set with the identification numbers in the subset, and identify the wiring interruption points in the sub-line image by the identification numbers of the replaced wiring interruption points.

[0008] Furthermore, the preset configuration file in step S01 is used to set a code for number identification.

[0009] Furthermore, the step S03 is specifically as follows:

[0010] The first preset number of codes before the preset interruption point identification number in the second set are matched with the identification number in the first set in sequence. If the match is consistent, the identification number of the preset interruption point is stored in the subset of the first set.

[0011] Furthermore, the specific method of matching in step S04 is:

[0012] The identification numbers of the wiring break points in the second set are matched sequentially with the first preset number of codes before the identification numbers in the subset.

[0013] Furthermore, in step S04, the specific method of numbering the wiring break point in the sub-line image by replacing the identification number of the wiring break point is:

[0014] The wiring interruption points in the sub-line image are numbered by replacing the identification numbers of the wiring interruption points and the preset order of the wiring interruption points.

[0015] Furthermore, the preset order in step S02 is:

[0016] The order in which preset interruption points and wiring interruption points are arranged from left to right in the electrical drawing.

[0017] The present invention also proposes a number identification system for wiring breakpoints in an electrical drawing, wherein the electrical drawing includes a line image and a sub-line image, and the wiring breakpoints in the sub-line image are identified by identification numbers of preset breakpoints in the line image to indicate a connection relationship between the line image and the sub-line image. The system includes:

[0018] A configuration module, used to obtain the identification number of the interruption point in the preset configuration file and store it in a first set, wherein the identification number includes a first preset number of codes;

[0019] an acquisition module, configured to acquire identification numbers of each preset interruption point and wiring interruption point in the electrical drawing, and store them in a second set in a preset order, wherein the identification numbers of the preset interruption points include a second preset number of codes, and the identification numbers of the wiring interruption points include a first preset number of codes, and the second preset number is greater than the first preset number;

[0020] A matching module, used to sequentially match the identification numbers of the preset interruption points in the second set with the identification numbers in the first set, and if the matches are consistent, store the identification numbers of the preset interruption points in a subset of the first set;

[0021] The identification module is used to match the identification numbers of the wiring interruption points in the second set with the identification numbers in the subset in turn. If the matches are consistent, the identification numbers of the wiring interruption points in the second set are replaced with the identification numbers in the subset, and the wiring interruption points in the sub-line image are number-identified by the identification numbers of the wiring interruption points after replacement.

[0022] Furthermore, the matching module is specifically used for:

[0023] The first preset number of codes before the preset interruption point identification number in the second set are matched with the identification number in the first set in sequence. If the match is consistent, the identification number of the preset interruption point is stored in the subset of the first set.

[0024] Furthermore, the specific matching method in the identification module is: sequentially matching the identification numbers of the connection break points in the second set with the first preset number of codes before the identification numbers in the subset.

[0025] Furthermore, in the identification module, the specific method of numbering the wiring interruption points in the sub-line image by replacing the identification numbers of the wiring interruption points is: numbering the wiring interruption points in the sub-line image by replacing the identification numbers of the wiring interruption points and the preset order of the wiring interruption points.

[0026] Compared with the prior art, the present invention has at least the following beneficial effects:

[0027] (1) Since not all preset interruption points in the line image are connected to corresponding sub-line diagrams, not all identification numbers of the preset interruption points can be used to identify the wiring interruption points in the sub-line diagram. The present invention selects the identification numbers in the line image that can be used to identify the wiring interruption points in the sub-line diagram by matching the identification numbers of the preset interruption points in the second set with the identification numbers in the first set (i.e., the identification numbers in the configuration file);

[0028] (2) After the present invention screens out the identification numbers that can be used for number identification in the line image in step S03 and stores them in the subset, the identification numbers of the wiring break points in the second set are matched with the identification numbers in the subset in turn. If the matches are consistent, the identification numbers of the wiring break points in the second set are replaced with the identification numbers in the subset, and the wiring break points in the sub-line image are number identified by the identification numbers of the wiring break points after replacement, thereby solving the problem that the identification numbers of the wiring terminals in the sub-line image need to be modified one by one.

[0029] (3) The present invention sets codes for number identification through a preset configuration file, and screens out identification numbers for number identification in the line image in step S03, eliminating the identification numbers of the wiring terminals of some preset interruption points in the line image that are not correspondingly set (connected) with the sub-line image. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 A method flow chart of a method for numbering wiring break points in an electrical drawing;

[0031] Figure 2 A system block diagram of a system for identifying wiring interruption points in electrical drawings by numbers. DETAILED DESCRIPTION

[0032] The following are specific embodiments of the present invention and the accompanying drawings to further describe the technical solution of the present invention, but the present invention is not limited to these embodiments.

[0033] Embodiment 1

[0034] In order to solve the problem that in the current automatic processing of electrical drawings, when marking the identification number of the sub-circuit image, it is necessary to select the wiring terminals in the drawing one by one to modify them, which is time-consuming, labor-intensive and easy to make mistakes. Figure 1 As shown, the present invention proposes a method for numbering wiring break points in an electrical drawing, wherein the electrical drawing includes a line image and a sub-line image, and the wiring break points in the sub-line image are marked by the identification numbers of the preset break points in the line image to indicate the connection relationship between the line image and the sub-line image. The method comprises the steps of:

[0035] S01: Obtain identification numbers of interruption points in a preset configuration file and store them in a first set, wherein the identification numbers include a first preset number of codes;

[0036] In this embodiment, the identification number of the break point in the preset configuration file is represented by xy (for example: 1.B., 2.B., 1.C., 2.C.), where x represents the location code, y represents the public line code, and . is a separator.

[0037] The preset configuration file in step S01 is used to set a code for number identification.

[0038] S02: Acquire identification numbers of each preset interruption point and wiring interruption point in the electrical drawing, and store them in a second set in a preset order, wherein the identification numbers of the preset interruption points include a second preset number of codes, and the identification numbers of the wiring interruption points include a first preset number of codes, and the second preset number is greater than the first preset number;

[0039] In this embodiment, the identification number of the preset interruption point in the second set is represented by xyz, where z represents the interruption point sequence number. The identification number of the wiring interruption point is represented by xy, and it should be particularly noted that x, y, and z represent a code respectively, and each code is separated by ".", where x and z are natural numbers.

[0040] The preset order in step S02 is:

[0041] The order in which preset interruption points and wiring interruption points are arranged from left to right in the electrical drawing.

[0042] Specifically, the preset order in this embodiment is: according to the page number order of the electrical drawing (from small to large), and the arrangement order of the preset break points and the wiring break points from left to right and from top to bottom in the electrical drawing. For example: for example, if the text in a book is saved in the preset order, a book has 5 pages, and one page has 2 lines of text, then the order of saving the text is: first the text from left to right on the first page and the first line, followed by the text from left to right on the first page and the second line, and then the text from left to right on the first page and the first line, and so on.

[0043] S03: sequentially matching the identification numbers of the preset interruption points in the second set with the identification numbers in the first set, and if the matches are consistent, storing the identification numbers of the preset interruption points in a subset of the first set;

[0044] Since not all preset interruption points in the line image are connected to corresponding sub-line diagrams, not all identification numbers of the preset interruption points can be used to identify the wiring interruption points in the sub-line diagram. The present invention matches the identification numbers of the preset interruption points in the second set with the identification numbers in the first set (i.e., the identification numbers in the configuration file) to screen out the identification numbers in the line image that can be used to identify the wiring interruption points of the sub-line diagram.

[0045] The step S03 is specifically as follows:

[0046] The first preset number of codes before the preset interruption point identification number in the second set are matched with the identification number in the first set in sequence. If the match is consistent, the identification number of the preset interruption point is stored in the subset of the first set.

[0047] S04: Match the identification numbers of the wiring interruption points in the second set with the identification numbers in the subset in turn. If the matches are consistent, replace the identification numbers of the wiring interruption points in the second set with the identification numbers in the subset, and identify the wiring interruption points in the sub-line image by the identification numbers of the replaced wiring interruption points.

[0048] The following is a data example of the identification numbers in the second set and the subset in a table format (Table 1), where NewList represents the subset and Value represents the identification number.

[0049]

[0050] The specific method of matching in step S04 is:

[0051] The identification numbers of the wiring break points in the second set are matched sequentially with the first preset number of codes before the identification numbers in the subset.

[0052] In step S04, the specific method of numbering the wiring break point in the sub-line image by replacing the identification number of the wiring break point is:

[0053] The wiring interruption points in the sub-line image are numbered by replacing the identification numbers of the wiring interruption points and the preset order of the wiring interruption points.

[0054] The specific replacement method in step S04 is illustrated by taking the data in Table 1 as an example:

[0055] Table 1 includes two 1.Bs. Since the wiring break points are stored in the second set in a preset order (i.e., from left to right), the first-order 1.B in the second set corresponds to 1.B.1 in New List1, and the second-order 1.B corresponds to 1.B.2 in New List1.

[0056] It should be noted that the present invention can also re-identify the wiring interruption points in the sub-circuit image. When re-identifying, it is necessary to first determine the number of codes for the identification number of the wiring interruption point. When it is determined that the number of its codes is the second preset number, it means that it has been identified, and the identification number of each wiring interruption point needs to be reset to the first preset number of codes. After resetting, it is identified again using the method of the present invention.

[0057] After the present invention screens out identification numbers that can be used for number identification in the line image in step S03 and stores them in the subset, the identification numbers of the wiring interruption points in the second set are matched with the identification numbers in the subset in turn. If the matches are consistent, the identification numbers of the wiring interruption points in the second set are replaced with the identification numbers in the subset, and the wiring interruption points in the sub-line image are number identified by the identification numbers of the wiring interruption points after replacement, thereby solving the problem that the identification of the wiring terminals in the sub-line image needs to be modified one by one.

[0058] Embodiment 2

[0059] like Figure 2As shown, the present invention also proposes a number identification system for wiring break points in an electrical drawing, wherein the electrical drawing includes a line image and a sub-line image, and the wiring break points in the sub-line image are identified by identification numbers of preset break points in the line image to indicate a connection relationship between the line image and the sub-line image, and the system includes:

[0060] A configuration module, configured to obtain identification numbers of interruption points in a preset configuration file and store them in a first set, wherein the identification numbers include a first preset number of codes;

[0061] an acquisition module, configured to acquire identification numbers of each preset interruption point and wiring interruption point in the electrical drawing, and store them in a second set in a preset order, wherein the identification numbers of the preset interruption points include a second preset number of codes, and the identification numbers of the wiring interruption points include a first preset number of codes, and the second preset number is greater than the first preset number;

[0062] A matching module, used to sequentially match the identification numbers of the preset interruption points in the second set with the identification numbers in the first set, and if the matches are consistent, store the identification numbers of the preset interruption points in a subset of the first set;

[0063] The present invention sets codes for number identification through a preset configuration file, and screens out identification numbers for number identification in the line image in a matching module, eliminating the identification numbers of the sub-line images that are not correspondingly set (connected) to the wiring terminals of some preset interruption points in the line image.

[0064] The identification module is used to match the identification numbers of the wiring interruption points in the second set with the identification numbers in the subset in turn. If the matches are consistent, the identification numbers of the wiring interruption points in the second set are replaced with the identification numbers in the subset, and the wiring interruption points in the sub-line image are number-identified by the identification numbers of the wiring interruption points after replacement.

[0065] The matching module is specifically used for:

[0066] The first preset number of codes before the preset interruption point identification number in the second set are matched with the identification number in the first set in sequence. If the match is consistent, the identification number of the preset interruption point is stored in the subset of the first set.

[0067] The specific method for matching in the identification module is: sequentially matching the identification numbers of the wiring interruption points in the second set with the first preset number of codes before the identification numbers in the subset.

[0068] In the identification module, the specific method of numbering the wiring interruption points in the sub-line image by replacing the identification numbers of the wiring interruption points is: numbering the wiring interruption points in the sub-line image by replacing the identification numbers of the wiring interruption points and the preset order of the wiring interruption points.

[0069] It should be noted that all directional indications in the embodiments of the present invention (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0070] In addition, in the present invention, descriptions such as "first", "second", "one", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0071] In the present invention, unless otherwise clearly specified and limited, the terms "connection", "fixation", etc. should be understood in a broad sense. For example, "fixation" can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0072] In addition, the technical solutions between the various embodiments of the present invention can be combined with each other, but it must be based on the fact that ordinary technicians in the field can implement it. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by the present invention.

Claims

1. A method for marking the number of wiring break points in an electrical drawing, characterized in that: The electrical drawing includes a line image and a sub-line image, and the wiring interruption point in the sub-line image is marked by the identification number of the preset interruption point in the line image to indicate the connection relationship between the line image and the sub-line image. The method includes the steps of: S01: Obtain identification numbers of interruption points in a preset configuration file and store them in a first set, wherein the identification numbers include a first preset number of codes; S02: Acquire identification numbers of each preset interruption point and wiring interruption point in the electrical drawing, and store them in a second set in a preset order, wherein the identification numbers of the preset interruption points include a second preset number of codes, and the identification numbers of the wiring interruption points include a first preset number of codes, and the second preset number is greater than the first preset number; S03: sequentially matching the identification numbers of the preset interruption points in the second set with the identification numbers in the first set, and if the matches are consistent, storing the identification numbers of the preset interruption points in a subset of the first set; S04: Match the identification numbers of the wiring interruption points in the second set with the identification numbers in the subset in turn. If the matches are consistent, replace the identification numbers of the wiring interruption points in the second set with the identification numbers in the subset, and identify the wiring interruption points in the sub-line image by the identification numbers of the replaced wiring interruption points.

2. A method for numbering wiring break points in an electrical drawing according to claim 1, characterized in that: The preset configuration file in step S01 is used to set a code for number identification.

3. A method for numbering wiring break points in an electrical drawing according to claim 1, characterized in that: The step S03 is specifically as follows: The first preset number of codes before the preset interruption point identification number in the second set are matched with the identification number in the first set in sequence. If the match is consistent, the identification number of the preset interruption point is stored in the subset of the first set.

4. A method for numbering wiring break points in an electrical drawing according to claim 3, characterized in that: The specific method of matching in step S04 is: The identification numbers of the wiring break points in the second set are matched sequentially with the first preset number of codes before the identification numbers in the subset.

5. A method for numbering wiring break points in an electrical drawing according to claim 1, characterized in that: In step S04, the specific method of numbering the wiring break point in the sub-line image by replacing the identification number of the wiring break point is: The wiring interruption points in the sub-line image are numbered by replacing the identification numbers of the wiring interruption points and the preset order of the wiring interruption points.

6. A method for numbering wiring break points in an electrical drawing according to claim 1, characterized in that: The preset order in step S02 is: The order in which preset interruption points and wiring interruption points are arranged from left to right in the electrical drawing.

7. A system for numbering break points in wiring diagrams, characterized in that: The electrical drawing includes a line image and a sub-line image, and the wiring interruption point in the sub-line image is marked by the identification number of the preset interruption point in the line image to indicate the connection relationship between the line image and the sub-line image. The system includes: A configuration module, used to obtain the identification number of the interruption point in the preset configuration file and store it in a first set, wherein the identification number includes a first preset number of codes; an acquisition module, configured to acquire identification numbers of each preset interruption point and wiring interruption point in the electrical drawing, and store them in a second set in a preset order, wherein the identification numbers of the preset interruption points include a second preset number of codes, and the identification numbers of the wiring interruption points include a first preset number of codes, and the second preset number is greater than the first preset number; A matching module, used to sequentially match the identification numbers of the preset interruption points in the second set with the identification numbers in the first set, and if the matches are consistent, store the identification numbers of the preset interruption points in a subset of the first set; The identification module is used to match the identification numbers of the wiring interruption points in the second set with the identification numbers in the subset in turn. If the matches are consistent, the identification numbers of the wiring interruption points in the second set are replaced with the identification numbers in the subset, and the wiring interruption points in the sub-line image are number-identified by the identification numbers of the wiring interruption points after replacement.

8. A number identification system for wiring break points in electrical drawings according to claim 7, characterized in that: The matching module is specifically used for: The first preset number of codes before the preset interruption point identification number in the second set are matched with the identification number in the first set in sequence. If the match is consistent, the identification number of the preset interruption point is stored in the subset of the first set.

9. A number identification system for wiring break points in electrical drawings according to claim 8, characterized in that: The specific method for matching in the identification module is: sequentially matching the identification numbers of the wiring interruption points in the second set with the first preset number of codes before the identification numbers in the subset.

10. A number identification system for wiring break points in electrical drawings according to claim 7, characterized in that: In the identification module, the specific method of numbering the wiring interruption points in the sub-line image by replacing the identification numbers of the wiring interruption points is: numbering the wiring interruption points in the sub-line image by replacing the identification numbers of the wiring interruption points and the preset order of the wiring interruption points.