Wiring state verification method and device of combined junction box, equipment and storage medium

By using the target detection model in the combined junction box of the power meter, the inefficiency and misjudgment problems caused by relying on expert experience in the prior art are solved, and efficient and accurate wiring status verification is achieved.

CN120405552APending Publication Date: 2025-08-01YUNNAN POWER GRID CO LTD ELECTRIC POWER RES INST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510285164.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-11
Publication Date
2025-08-01

AI Technical Summary

Technical Problem

In the prior art, the wiring status inspection of the combined junction box of the power meter depends on expert experience, resulting in inefficiency and prone to misjudgment, and the inability to achieve efficient and accurate power inspection.

Method used

Using a method based on object detection, by acquiring the junction box image, a pre-trained object detection model is used to identify the wiring position and short-joint blade, combined with the short-joint blade state judgment rules, the wiring status is automatically verified and the verification prompt is output.

Benefits of technology

It improves the accuracy and efficiency of power consumption inspection, reduces artificial misjudgment, and realizes intelligent verification of wiring status.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120405552A_ABST
    Figure CN120405552A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a wiring state verification method and device for a combined junction box, equipment and a storage medium. The method comprises the following steps: acquiring a wiring image of a to-be-verified junction box; detecting the wiring image by using a pre-trained target detection model to obtain each wiring position of the current wiring of the to-be-verified junction box and a short-circuit sheet position of each short-circuit sheet; determining the state of a target short-circuit sheet by using the position of the short-circuit sheet and a preset judgment rule of the state of the short-circuit sheet; according to the target short-circuit piece state, the corresponding relation between the preset short-circuit piece state and the wiring rule, the short-circuit piece position and the wiring position, wiring verification is carried out, and the target wiring state of the to-be-verified junction box is determined; and outputting a wiring state verification prompt of the to-be-verified junction box by using the target wiring state. Through the above method, the wiring condition can be verified based on the image of the to-be-verified junction box, and the correctness of wiring can be judged, so that the man-made misjudgment condition is reduced, and the power utilization inspection efficiency and the intelligent level are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power consumption inspection, and particularly to a wiring state verification method, device, equipment and storage medium for a combined wiring box. Background Art

[0002] The function of the combined wiring box of the electric energy meter is to connect the secondary wires led out by the current / voltage transformer in series and parallel through the terminals of the wiring terminal of the combined wiring box and then connect them to the wiring terminals of the electric energy meter, so as to isolate the load and circuit of the power supply and provide a safe and reliable electrical connection for the electric energy meter.

[0003] Since there are many wiring terminals involved in the combined wiring box, it is very easy to misjudge the wiring state of the wiring box when the staff's attention is not concentrated or there is visual fatigue during long-term operation. Abnormal wiring of the wiring box will cause the electric energy meter not to run or reverse, and even unable to supply power normally, thus causing serious losses to both enterprises and users.

[0004] At present, power consumption inspection mainly relies on expert experience for on-site identification. Such a method is time-consuming, labor-intensive and material-consuming. Therefore, there is an urgent need for a power consumption inspection method to improve the power consumption inspection efficiency for on-site power consumption inspection. Summary of the Invention

[0005] The main purpose of the present invention is to provide a wiring state verification method, device, equipment and storage medium for a combined wiring box, which can solve the problem of the lack of a power consumption inspection method to improve the accuracy of power consumption inspection in the prior art.

[0006] To achieve the above object, in the first aspect of the present invention, a wiring state verification method for a combined wiring box is provided, and the method includes:

[0007] Obtain a wiring image of the wiring box to be verified, where the wiring box to be verified includes a plurality of short-circuiting pieces and wiring terminals;

[0008] Detect the wiring image by using a pre-trained target detection model to obtain a detection result of the current wiring of the wiring box to be verified, where the detection result includes each wiring position and the short-circuiting piece positions of each short-circuiting piece, and the target detection model is used to identify and classify the wiring positions and short-circuiting pieces in the wiring image;

[0009] Determine a target short-circuiting piece state by using the short-circuiting piece positions and a preset judgment rule for the short-circuiting piece state, where the short-circuiting piece state is used to reflect the on / off state of the short-circuiting piece;

[0010] Perform wiring verification based on the target jumper state, the corresponding relationship between the preset jumper state and the wiring rule, the jumper position, and the wiring position, and determine the target wiring state of the junction box to be verified, where the wiring state is used to reflect whether the wiring position is correct;

[0011] Output a wiring state verification prompt for the junction box to be verified by using the target wiring state.

[0012] In a feasible implementation manner, the jumper position includes the first horizontal coordinate of the first jumper and the second horizontal coordinate of the second jumper, and the first vertical coordinate of the first jumper is less than the second vertical coordinate of the second jumper. Then, determining the target jumper state by using the jumper position and the preset judgment rule of the jumper state includes:

[0013] If the first horizontal coordinate is less than the second horizontal coordinate, the target jumper state is that both the first jumper and the second jumper are in the open state;

[0014] If the first horizontal coordinate is greater than the second horizontal coordinate, the target jumper state is that both the first jumper and the second jumper are in the closed state;

[0015] If the first horizontal coordinate is equal to the second horizontal coordinate, the target jumper state is that one of the first jumper and the second jumper is in the closed state and the other is in the open state.

[0016] In a feasible implementation manner, the performing wiring verification based on the target jumper state, the corresponding relationship between the preset jumper state and the wiring rule, the jumper position, and the wiring position, and determining the target wiring state of the junction box to be verified includes:

[0017] Obtain the target wiring rule in the target jumper state according to the corresponding relationship between the preset jumper state and the wiring rule and the target jumper state;

[0018] Perform wiring verification according to the target wiring rule, the jumper position, and the wiring position, and determine the target wiring state of the junction box to be verified.

[0019] In a feasible implementation manner, if the target jumper state is that both the first jumper and the second jumper are in the open state, then the performing wiring verification according to the target wiring rule, the jumper position, and the wiring position, and determining the target wiring state of the junction box to be verified includes:

[0020] When the wiring positions are t1d1 and t2d2, and the wiring positions satisfy: Then determine that the target wiring state of the junction box to be verified is the correct state;

[0021] When the connection positions are t1d1 and t3d3, and the connection positions satisfy: Then determine that the target connection state of the junction box to be verified is the correct state;

[0022] When the connection positions are t2d2 and t3d3, and the connection positions satisfy: Then determine that the target connection state of the junction box to be verified is the correct state;

[0023] Wherein, t1, t2, and t3 respectively represent the first to the third connection terminals in the upper row of connection terminals of the junction box to be verified; d1, d2, and d3 respectively represent the first to the third connection terminals in the lower row of connection terminals of the junction box to be verified; S1 and S2 respectively represent the first shorting piece and the second shorting piece, and H represents the horizontal coordinate.

[0024] In a feasible implementation manner, if the target shorting piece states are that both the first shorting piece and the second shorting piece are in the closed state, then the connection verification is performed according to the target connection rule, the shorting piece position, and the connection position to determine the target connection state of the junction box to be verified, including:

[0025] When the connection positions are t1d1 and t3d3, and the connection positions satisfy: Then determine that the target connection state of the junction box to be verified is the correct state;

[0026] Wherein, t1 and t3 respectively represent the first and the third connection terminals in the upper row of connection terminals of the junction box to be verified; d1 and d3 respectively represent the first and the third connection terminals in the lower row of connection terminals of the junction box to be verified; S1 and S2 respectively represent the first shorting piece and the second shorting piece, and H represents the horizontal coordinate.

[0027] In a feasible implementation manner, if the target shorting piece states are that one of the first shorting piece and the second shorting piece is in the closed state and the other is in the open state, then the connection verification is performed according to the target connection rule, the shorting piece position, and the connection position to determine the target connection state of the junction box to be verified, including:

[0028] If the first shorting piece S1 is closed and the second shorting piece S2 is open, when the connection position is t1d1 and any one group of t2d2, t2d3, t3d2, and t3d3 is selected, then determine that the target connection state of the junction box to be verified is the correct state;

[0029] If the second shorting piece S2 is closed and the first shorting piece S1 is open, when the wiring position is t3d3 and any one of t1d1, t1d2, t2d1, and t2d2 is selected, then it is determined that the target wiring state of the junction box to be verified is the correct state;

[0030] Among them, t1, t2, and t3 respectively represent the first to third wiring terminals in the upper row of wiring terminals of the junction box to be verified; d1, d2, and d3 respectively represent the first to third wiring terminals in the lower row of wiring terminals of the junction box to be verified; S1 and S2 respectively represent the first shorting piece and the second shorting piece.

[0031] In a feasible implementation manner, before obtaining the wiring image of the junction box to be verified, it further includes:

[0032] When receiving a photographing request from a preset client, output a preset reference line for photographing the junction box to the client, and the reference line is used to prompt the user with the standard photographing template of the junction box to be verified.

[0033] To achieve the above object, a second aspect of the present invention provides a wiring state verification device for a combined junction box, and the device includes:

[0034] An image acquisition module: used to acquire a wiring image of a junction box to be verified, and the junction box to be verified includes a plurality of shorting pieces and wiring terminals;

[0035] A target detection module: used to detect the wiring image by using a pre-trained target detection model to obtain a detection result of the current wiring of the junction box to be verified, and the detection result includes each wiring position and the shorting piece position of each shorting piece, and the target detection model is used to identify and classify the wiring positions and shorting pieces in the wiring image;

[0036] A state judgment module: used to determine a target shorting piece state by using the shorting piece position and a preset judgment rule for the shorting piece state, and the shorting piece state is used to reflect the on-off state of the shorting piece;

[0037] A wiring verification module: used to perform wiring verification according to the target shorting piece state, the corresponding relationship between the preset shorting piece state and the wiring rule, the shorting piece position, and the wiring position to determine the target wiring state of the junction box to be verified, and the wiring state is used to reflect whether the wiring position is correct;

[0038] A prompt output module: used to output a wiring state verification prompt of the junction box to be verified by using the target wiring state.

[0039] To achieve the above object, a third aspect of the present invention provides a computer-readable storage medium storing a computer program, which when executed by a processor causes the processor to execute the steps as shown in the first aspect and any feasible implementation manner.

[0040] To achieve the above object, a fourth aspect of the present invention provides a computer device including a memory and a processor, where the memory stores a computer program, which when executed by the processor causes the processor to execute the steps as shown in the first aspect and any feasible implementation manner.

[0041] Adopting the embodiments of the present invention has the following beneficial effects:

[0042] The present invention provides a method for verifying the wiring state of a combined junction box. The method includes: obtaining a wiring image of the junction box to be verified, where the junction box to be verified includes a plurality of short-circuit pieces and wiring terminals; using a pre-trained target detection model to detect the wiring image to obtain a detection result of the current wiring of the junction box to be verified, and the detection result includes each wiring position and the short-circuit piece position of each short-circuit piece, and the target detection model is used to identify and classify the wiring positions and short-circuit pieces in the wiring image; using the short-circuit piece position and a preset judgment rule for the short-circuit piece state to determine the target short-circuit piece state, and the short-circuit piece state is used to reflect the on-off state of the short-circuit piece; performing wiring verification according to the target short-circuit piece state, the corresponding relationship between the preset short-circuit piece state and the wiring rule, the short-circuit piece position, and the wiring position to determine the target wiring state of the junction box to be verified, and the wiring state is used to reflect whether the wiring position is correct; outputting a wiring state verification prompt for the junction box to be verified by using the target wiring state. Through the above method, the wiring situation can be verified based on the image of the junction box to be verified, the correctness of the wiring can be judged, the situation of human misjudgment can be reduced, and the efficiency and intelligent level of power consumption inspection can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the following drawings are only some embodiments of the present invention, and those of ordinary skill in the art can obtain other drawings without creative efforts based on these drawings.

[0044] Among them:

[0045] Figure 1 is a flowchart of a method for verifying the wiring state of a combined junction box in an embodiment of the present invention;

[0046] FIG. 2(a) is a schematic diagram of the wiring of a combined junction box in an embodiment of the present invention;

[0047] Figure 2(b) is a schematic diagram of different switch positions of a combined junction box in an embodiment of the present invention;

[0048] Figure 2(c) is a schematic diagram of the shooting reference line of a combined junction box in an embodiment of the present invention;

[0049] Figure 2(d) is a schematic diagram of the annotation method of the image data of a combined junction box in an embodiment of the present invention;

[0050] Figure 2(e) is a schematic diagram of an example of the inspection result display of the mobile APP in an embodiment of the present invention;

[0051] Figure 3 is a structural block diagram of a wiring state verification device for a combined junction box in an embodiment of the present invention;

[0052] Figure 4 is a structural block diagram of a computer device in an embodiment of the present invention. Detailed implementation manners

[0053] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0054] It should be noted that the current power consumption inspection mainly relies on expert experience for on-site identification. Such a method is time-consuming, laborious and material-consuming, and the inspection efficiency and accuracy are relatively low. Therefore, there is an urgent need for a portable active verification device for on-site power consumption inspection. In order to solve the problems of insufficient intelligent level of the existing power consumption inspection and inability to perform on-site active inspection, the problem to be solved by the present invention is to propose a lightweight combined junction box wiring verification method based on image classification. By collecting the wiring data images of the combined junction box, training a lightweight image classification model, and then deploying the algorithm model on the mobile terminal, the problem that the wiring of the junction box needs to rely on experts for on-site unified inspection is solved. By collecting the images or videos of the on-site wiring situation, the correctness of the wiring is judged. For specific reference, see the following content.

[0055] Please refer to Figure 1 , Figure 1The figure is a flowchart of a method for verifying the wiring status of a combined junction box in an embodiment of the present invention. This method can be applied to both terminals and servers. In this embodiment, taking the application to a terminal as an example, the terminal can specifically be a desktop terminal or a mobile terminal, and the mobile terminal can specifically be at least one of a mobile phone, a tablet computer, a laptop computer, etc. The server can be implemented by an independent server or a server cluster composed of multiple servers. As Figure 1 The method shown includes the following steps:

[0056] 101. Obtain a wiring image of the junction box to be verified, where the junction box to be verified includes a plurality of short-circuiting pieces and wiring terminals;

[0057] The present invention intends to perform power consumption inspection of the combined junction box in a target detection-based manner. In this way, it is necessary to identify the wiring positions in the junction box and the positions of the short-circuiting pieces, and judge the wiring condition of the junction box according to the relative positions of the wiring positions and the short-circuiting pieces. The combined junction box is divided into four wiring areas according to colors (yellow, green, red, blue) as shown in Fig. 2(a). Fig. 2(a) is a schematic diagram of the wiring of a combined junction box in an embodiment of the present invention. Among them, the first three areas include two wiring blocks for voltage and current, and the last area is a voltage wiring block. The upper and lower wiring terminals in each column of the junction box are electrically connected. For voltage wiring, when the terminal is located below, the corresponding phase is open; for current wiring, when the short-circuiting piece is closed, the two connected terminals are short-circuited, and thus there is no current in the secondary circuit, which is convenient for maintenance and repair. Reference can also be made to Fig. 2(b). Fig. 2(b) is a schematic diagram of different switch positions of a combined junction box in an embodiment of the present invention, specifically showing the arrangement of the wiring terminals and short-circuiting pieces in the current wiring area, as well as different switch positions of the short-circuiting pieces, including the upper row of wiring terminals t1, t2, and t3, the lower row of wiring terminals d1, d2, and d3, the short-circuiting piece S1, and the short-circuiting piece S2. In Fig. 2(b), the switch position (i) is that both the short-circuiting piece S1 and the short-circuiting piece S2 are in the open state; in Fig. 2(b), the switch position (ii) is that both the short-circuiting piece S1 and the short-circuiting piece S2 are in the closed state; in Fig. 2(b), the switch position (iii) is that the short-circuiting piece S1 is in the closed state and the short-circuiting piece S2 is in the open state; in Fig. 2(b), the switch position (iv) is that the short-circuiting piece S2 is in the closed state and the short-circuiting piece S1 is in the open state.

[0058] It should be noted that in this application, the wiring condition of the junction box is verified by combining the image recognition method. First, an image needs to be obtained. This image includes a plurality of short-circuiting pieces and wiring terminals. The image style can refer to Fig. 2(a). The wiring terminals and short-circuiting pieces of the junction box are recognized by using this image, and the wiring status verification is completed in combination with the subsequent rules. The way to obtain the image can be that the user uploads a historical image, or the user takes a real-time image on-site, which is not limited here.

[0059] In a feasible implementation, whether it is a historical image or a real-time image, in order to ensure the integrity and standardization of each detection target during object detection, when taking the above-mentioned images, a reference line can be output to assist the user in taking a complete and standardized image, so as to obtain an example as shown in Fig. 2(a). Therefore, before obtaining the wiring image of the junction box to be verified, it further includes: when receiving a photographing request from a preset client, outputting a preset reference line for photographing the junction box to the client, and the reference line is used to prompt the user with the standard photographing template of the junction box to be verified.

[0060] It can be understood that different shooting states will affect the imaging result. Therefore, in order to standardize the imaging result and make it reach the best imaging result as shown in Fig. 2(a), when the present application receives a photographing request, it will output a reference line for photographing the junction box to the client, providing a standardized standard photographing template to assist the user. Refer to Figure 2c , Fig. 2(c) is a schematic diagram of a reference line for photographing a combined junction box in an embodiment of the present invention. The reference line is designed according to the four voltage connection blocks and three current connection blocks of the junction box, allowing the user to frame the junction box to be photographed within the range of this reference line to ensure a standardized imaging result.

[0061] 102. Detect the wiring image by using a pre-trained object detection model to obtain the detection result of the current wiring of the junction box to be verified. The detection result includes the wiring positions of each wiring and the short-circuit positions of each short-circuit piece. The object detection model is used to identify and classify the wiring positions and short-circuit pieces in the wiring image;

[0062] Further, visual recognition technology is used for object detection to train an object detection model that can recognize the wiring positions and the positions of the jumper plates. Exemplarily, to train the object detection model, data collection and annotation are required: by collecting a large number of wiring pictures of the combined junction box, the positions of the wiring and the switches in the wiring junction box are annotated. Among them, Fig. 2(d) is a schematic diagram of an annotation method for the image data of a combined junction box in an embodiment of the present invention, where multiple wiring positions and jumper plates are annotated. It can be understood that a large number of image samples will be collected, and the wiring conditions of each image sample may be the same or different, and the annotation results will also be different. It may be the situation in Fig. 2(a) or a situation different from Fig. 2(a). The annotation label for the wiring position is the terminal number corresponding to each wiring position, and the annotation label for the jumper plate is the number of the jumper plate. The numbers of different terminals are different, and the same is true for the jumper plates. The terminals and the jumper plates are distinguished by numbers. For example, the numbers of the terminals can be the numbers t1 to t3 and d1 to d3 shown in Fig. 2(b), and the numbers of the jumper plates can be S1 to S2. Then, the training of the model begins: the Yolo-v5 model is used to train the annotated model so that the model can recognize the wiring positions and switches in the image. Among them, the classification results at least include the wiring positions and the positions of the jumper plates of each jumper plate. The wiring position is used to indicate the wired position, and it can be obtained which terminal has been wired for the wiring position, and which jumper plate it is. And, combined with the image coordinate system, the coordinates of each wiring position and the coordinates of the jumper plate position are obtained to obtain the relative position relationship in the same coordinate system for subsequent wiring verification. Based on the image coordinate system, the pixel coordinates of each wiring position and the jumper plate are obtained, and the pixel coordinates include the horizontal coordinate and the vertical coordinate; the object detection model can be the Yolo-v5 model.

[0063] After obtaining the object detection model, the newly collected wiring box images can be recognized and classified by using this object detection model. The post-processing of the recognition results includes judging the relevant positions of the boundary positions and the switch positions of the output results of the model according to the set specifications. Among them, the set specifications include the shorting plate state judgment rule and the wiring rule. The specific design concept is as follows:

[0064] When the combined junction box is working properly, the following relationships should be satisfied between the wiring and the terminals:

[0065] (1) In the voltage wiring area, the shorting plate should be in the closed position;

[0066] (2) In the current wiring area, when all the shorting plates are in the open position, the wiring of the upper and lower area terminals should be connected to the terminals in the same column; when there is exactly one shorting plate in the closed state, the two terminals in the closed position cannot be wired at the same time; when all the shorting plates are in the closed position, only terminals 1 and 3 can be connected above and below.

[0067] It can be seen that different connection specifications exist for different shorting strip states in the current connection area. Therefore, the connection verification of this application first determines the state of the shorting strip and then verifies the connection position to ensure the accuracy of the verification result.

[0068] (2.1) Referring to Fig. 2(b), when both shorting strips S1 and S2 are in the open state (case (i) in Fig. 2(b)), there is:

[0069]

[0070] When both shorting strips S1 and S2 are in the open state, the horizontal coordinate of shorting strip S1 is less than the horizontal coordinate of shorting strip S2 At this time, the upper and lower two-way terminals of the connection should be in the same column position, that is, connecting t1d1 and t2d2, t1d1 and t3d3, or t2d2 and t3d3. Therefore, the next step is how to determine that the connections of the upper and lower two-way terminals are on the same column. Here, H represents the horizontal coordinate.

[0071] In the most ideal state, when the vertical coordinates of two lines are equal, it is considered that they are in the same column, but this also results in a very small fault tolerance rate of the system. Therefore, this application uses the relative position method to make the judgment, that is, when both lines are on one side of the shorting strip, it is considered that the two lines are connected to the connection terminals in the same column. The specific method is as follows:

[0072] ① When the connection position is t1d1 and t2d2, it should satisfy:

[0073]

[0074] ② When the connection position is t1d1 and t3d3, it should satisfy:

[0075]

[0076] ③ When the connection position is t2d2 and t3d3, it should satisfy:

[0077]

[0078] Here, H represents the horizontal coordinate.

[0079] (2.2) Referring to Fig. 2(b), when both shorting strips S1 and S2 are in the closed position (case (ii) shown in Fig. 2(b)), there is:

[0080]

[0081] At this time, when both shorting strips S1 and S2 are in the closed position, the horizontal coordinate of shorting strip S1 Greater than the horizontal coordinate of the shorting piece S2 If the connection positions are only t1d1 and t3d3, the following conditions should be met:

[0082]

[0083] (2.3) Referring to Fig. 2(b), when the shorting piece S1 is closed and the shorting piece S2 is open (the situation (iii) shown in Fig. 2(b)), we have:

[0084]

[0085] Then t1d1 must be connected, and any one of the others, t2d2, t2d3, t3d2, t3d3, can be selected for connection.

[0086] (2.4) Referring to Fig. 2(b), similarly, when S2 is closed and S1 is open (the situation (iv) shown in Fig. 2(d)), we have:

[0087]

[0088] Then t3d3 must be connected, and any one set of connections from the others, t1d1, t1d2, t2d1, t2d2, can be selected.

[0089] After determining the above rules, subsequent detection applications can be carried out.

[0090] 103. Use the position of the shorting piece and the preset judgment rules for the state of the shorting piece to determine the state of the target shorting piece, where the state of the shorting piece is used to reflect the on / off state of the shorting piece;

[0091] After obtaining the position of the shorting piece, first, the state of the shorting piece can be confirmed using the judgment rules for the state of the shorting piece. The state of the shorting piece is used to reflect the on / off state of the shorting piece. For example, whether the shorting piece is in a closed or open state. Among them, the judgment rules are set based on the relative position relationship between the shorting pieces, and the state of the target shorting piece is determined through the relative position relationship between the two shorting pieces.

[0092] Among them, the judgment rules for the state of the shorting piece are determined according to the change in the relative position relationship between the two shorting pieces under different switch positions. As can be seen from Fig. 2(b), the position relationship between the two in the horizontal direction changes under different switch positions. Therefore, the horizontal coordinate is used to judge the state of the shorting piece. Specifically, the position of the shorting piece includes the first horizontal coordinate H S1 and the first vertical coordinate V S1 , as well as the second horizontal coordinate H S2 and the second vertical coordinate V S2 of the second shorting piece S2, and the first vertical coordinate V S1 of the first shorting pieceless than the second vertical coordinate V of the second jumper S2 , step 103 includes:

[0093] A01. If the first horizontal coordinate H S1 is less than the second horizontal coordinate H S2 , the target jumper state is that both the first jumper and the second jumper are in the open state;

[0094] A02. If the first horizontal coordinate H S1 is greater than the second horizontal coordinate H S2 , the target jumper state is that both the first jumper and the second jumper are in the closed state;

[0095] A03. If the first horizontal coordinate H S1 is equal to the second horizontal coordinate H S2 , the target jumper state is that one of the first jumper and the second jumper is in the closed state and the other is in the open state.

[0096] 104. Perform wiring verification according to the target jumper state, the corresponding relationship between the preset jumper state and the wiring rule, the jumper position, and the wiring position, and determine the target wiring state of the junction box to be verified, where the wiring state is used to reflect whether the wiring position is correct;

[0097] After determining the target jumper state, it is possible to further determine whether the wiring situation in this state meets the requirements. Based on the above design concept, the corresponding relationship between the jumper state and the wiring rule is pre-designed. By counting the relationship between the compliant jumper state and the wiring situation, the corresponding relationship is sorted out. The corresponding relationship includes the wiring rules when both jumpers are closed, the wiring rules when both jumpers are open, the wiring rules when one jumper is closed and the other is open, and so on.

[0098] Further, step 104 may include:

[0099] B01. Obtain the target wiring rule in the target jumper state according to the corresponding relationship between the preset jumper state and the wiring rule and the target jumper state;

[0100] B02. Perform wiring verification according to the target wiring rule, the jumper position, and the wiring position, and determine the target wiring state of the junction box to be verified.

[0101] It can be understood that after knowing the state of the target jumper, the target wiring rule corresponding to the target jumper state can be found from the wiring rules corresponding to the states of numerous jumpers, so as to further verify the wiring position. According to the target wiring rule, the jumper position, and the wiring position, wiring verification is performed to determine the target wiring state of the junction box to be verified, such as correct or incorrect wiring.

[0102] In a feasible implementation manner, if the state of the target jumper is that both the first jumper and the second jumper are in the open state, then the wiring verification according to the target wiring rule, the jumper position, and the wiring position to determine the target wiring state of the junction box to be verified includes:

[0103] C01. When the wiring positions are t1d1 and t2d2, and the wiring positions satisfy: Then it is determined that the target wiring state of the junction box to be verified is the correct state;

[0104] C02. When the wiring positions are t1d1 and t3d3, and the wiring positions satisfy: Then it is determined that the target wiring state of the junction box to be verified is the correct state;

[0105] C03. When the wiring positions are t2d2 and t3d3, and the wiring positions satisfy: Then it is determined that the target wiring state of the junction box to be verified is the correct state;

[0106] Wherein, t1, t2, and t3 respectively represent the first to the third wiring terminals in the upper row of wiring terminals of the junction box to be verified; d1, d2, and d3 respectively represent the first to the third wiring terminals in the lower row of wiring terminals of the junction box to be verified; S1 and S2 respectively represent the first jumper and the second jumper, and H represents the horizontal coordinate. It should be noted that if the wiring positions do not meet the conditions of the above steps C01, C02, and C03, it means that the wiring position and the jumper state cannot be matched, and it will be considered that there is a problem with the wiring in this current wiring area, and the target wiring state of the junction box to be verified is determined to be the incorrect state.

[0107] In a feasible implementation manner, if the state of the target jumper is that both the first jumper and the second jumper are in the closed state, then the wiring verification according to the target wiring rule, the jumper position, and the wiring position to determine the target wiring state of the junction box to be verified includes:

[0108] D01. When the wiring positions are t1d1 and t3d3, and the wiring positions satisfy: Then it is determined that the target wiring state of the junction box to be verified is the correct state;

[0109] Among them, t1 and t3 respectively represent the first terminal and the third terminal in the upper row of terminals of the junction box to be verified; d1 and d3 respectively represent the first terminal and the third terminal in the lower row of terminals of the junction box to be verified; S1 and S2 respectively represent the first shorting piece and the second shorting piece, and H represents the horizontal coordinate. It should be noted that if the wiring position does not meet the conditions of the above step D01, it means that the wiring position and the shorting piece state cannot match, and it will be considered that there is a problem with the wiring in this current wiring area, and the target wiring state of the junction box to be verified is determined to be an error state.

[0110] In a feasible implementation manner, if the target shorting piece state is that one of the first shorting piece and the second shorting piece is in a closed state and the other is in an open state, then the wiring verification is performed according to the target wiring rule, the shorting piece position, and the wiring position to determine the target wiring state of the junction box to be verified, including:

[0111] E01. When the first shorting piece S1 is closed and the second shorting piece S2 is open, if the wiring position is t1d1 and any one of t2d2, t2d3, t3d2, and t3d3, then the target wiring state of the junction box to be verified is determined to be a correct state;

[0112] E's02. When the second shorting piece S2 is closed and the first shorting piece S1 is open, if the wiring position is t3d3 and any one of t1d1, t1d2, t2d1, and t2d2, then the target wiring state of the junction box to be verified is determined to be a correct state;

[0113] Among them, t1, t2, and t3 respectively represent the first terminal to the third terminal in the upper row of terminals of the junction box to be verified; d1, d2, and d3 respectively represent the first terminal to the third terminal in the lower row of terminals of the junction box to be verified; S1 and S2 respectively represent the first shorting piece and the second shorting piece. It should be noted that if the wiring position does not meet the conditions of the above steps E01 and E02, it means that the wiring position and the shorting piece state cannot match, and it will be considered that there is a problem with the wiring in this current wiring area, and the target wiring state of the junction box to be verified is determined to be an error state.

[0114] 105. Use the target wiring state to output a wiring state verification prompt for the junction box to be verified.

[0115] After obtaining the target wiring status, a prompt can be output to the user. Among them, the wiring status verification prompt includes correct or incorrect wiring. Since there are seven regions in the wiring area, the wiring status verification prompt includes the results of the seven regions. When the system makes a judgment, it can judge the seven regions in parallel or one by one. The prompts can be output one by one or together. Exemplarily, the output result of the model is used to judge the relevant positions of the boundary position and the switch position in the manner described above, so as to obtain the specific wiring situation of the junction box and make a correct or incorrect judgment; and through the lightweight and mobile deployment of the model. The trained model is subjected to lightweight processing such as quantization and pruning, and is deployed to the mobile terminal. To ensure the accuracy of the recognition results, a reference line as shown in Figure 2(c) can be provided on the APP page. The picture sample is placed within the corresponding segmentation region, and then the software algorithm sequentially recognizes the wiring situation of each block. Among them, the wiring status verification prompt is output to the client so that the user can check it in time. The client includes but is not limited to the mobile APP. Exemplarily, Figure 2(e) is a schematic diagram of an example of the inspection result display of a mobile APP in an embodiment of the present invention. This inspection result display example shows a possibility of the wiring status verification prompt, clearly showing the verification result.

[0116] The present invention comprehensively considers the problems that the current electricity inspection mainly relies on expert experience judgment and lacks portable active detection equipment. Based on the prior knowledge of electricity inspection, a lightweight and portable joint junction box wiring inspection method based on the target detection algorithm is proposed. By optimizing the detection process and equipment design, this method significantly improves the detection efficiency and accuracy, reduces the dependence on manual experience, and at the same time has good adaptability and versatility, effectively solving the problems of poor portability and low efficiency of traditional electricity inspection equipment, and providing an innovative technical solution for the wiring detection of the power system.

[0117] The present invention provides a method for verifying the wiring status of a combined junction box. The method includes: obtaining a wiring image of the junction box to be verified, where the junction box to be verified includes a plurality of short - circuit pieces and wiring terminals; using a pre - trained object detection model to detect the wiring image to obtain a detection result of the current wiring of the junction box to be verified, the detection result including each wiring position and the short - circuit piece positions of each short - circuit piece, and the object detection model being used to identify and classify the wiring positions and short - circuit pieces in the wiring image; using the short - circuit piece positions and a preset judgment rule for the short - circuit piece status to determine the target short - circuit piece status, where the short - circuit piece status is used to reflect the on - off status of the short - circuit piece; performing wiring verification according to the target short - circuit piece status, the corresponding relationship between the preset short - circuit piece status and the wiring rule, the short - circuit piece positions, and the wiring positions to determine the target wiring status of the junction box to be verified, where the wiring status is used to reflect whether the wiring position is correct; and outputting a wiring status verification prompt for the junction box to be verified by using the target wiring status. Through the above method, the wiring situation can be verified based on the image of the junction box to be verified, the correctness of the wiring can be judged, the situation of human misjudgment can be reduced, and the accuracy and intelligent level of power consumption inspection can be improved.

[0118] Please refer to Figure 3 , Figure 3 which is a structural block diagram of a device for verifying the wiring status of a combined junction box in an embodiment of the present invention. Figure 3 The device shown includes:

[0119] An image acquisition module 301: configured to obtain a wiring image of the junction box to be verified, where the junction box to be verified includes a plurality of short - circuit pieces and wiring terminals;

[0120] An object detection module 302: configured to use a pre - trained object detection model to detect the wiring image to obtain a detection result of the current wiring of the junction box to be verified, the detection result including each wiring position and the short - circuit piece positions of each short - circuit piece, and the object detection model being used to identify and classify the wiring positions and short - circuit pieces in the wiring image;

[0121] A status judgment module 303: configured to use the short - circuit piece positions and a preset judgment rule for the short - circuit piece status to determine the target short - circuit piece status, where the short - circuit piece status is used to reflect the on - off status of the short - circuit piece;

[0122] A wiring verification module 304: configured to perform wiring verification according to the target short - circuit piece status, the corresponding relationship between the preset short - circuit piece status and the wiring rule, the short - circuit piece positions, and the wiring positions to determine the target wiring status of the junction box to be verified, where the wiring status is used to reflect whether the wiring position is correct;

[0123] A prompt output module 305: configured to output a wiring status verification prompt for the junction box to be verified by using the target wiring status.

[0124] It should be noted that Figure 3 the functions of the various modules in the shown device are similar to Figure 1 the content of the various steps shown. To avoid repetition, it will not be elaborated here. Specifically, reference can be made to Figure 1 the content of the various steps shown.

[0125] The present invention provides a wiring state verification device for a combined junction box. The device includes: an image acquisition module: used to acquire a wiring image of the junction box to be verified, and the junction box to be verified includes a plurality of short - circuit pieces and wiring terminals; a target detection module: used to detect the wiring image by using a pre - trained target detection model to obtain the detection result of the current wiring of the junction box to be verified, and the detection result includes the wiring positions of each part and the short - circuit piece positions of each short - circuit piece. The target detection model is used to identify and classify the wiring positions and short - circuit pieces in the wiring image; a state judgment module: used to determine the target short - circuit piece state by using the short - circuit piece positions and the judgment rules of the preset short - circuit piece states, and the short - circuit piece state is used to reflect the on - off state of the short - circuit piece; a wiring verification module: used to perform wiring verification according to the target short - circuit piece state, the corresponding relationship between the preset short - circuit piece state and the wiring rules, the short - circuit piece positions and the wiring positions to determine the target wiring state of the junction box to be verified, and the wiring state is used to reflect whether the wiring positions are correct; a prompt output module: used to output a wiring state verification prompt for the junction box to be verified by using the target wiring state. Through the above device, the wiring situation can be verified based on the image of the junction box to be verified, the correctness of the wiring can be judged, the situation of human misjudgment can be reduced, and the accuracy and intelligent level of power consumption inspection can be improved.

[0126] Figure 4 shows the internal structure diagram of a computer device in an embodiment. This computer device can specifically be a terminal or a server. As Figure 4 shown, this computer device includes a processor, a memory, and a network interface connected through a system bus. Among them, the memory includes a non - volatile storage medium and an internal memory. The non - volatile storage medium of this computer device stores an operating system and can also store a computer program. When the computer program is executed by the processor, the processor can implement the above - mentioned method. The internal memory can also store a computer program. When the computer program is executed by the processor, the processor can execute the above - mentioned method. Those skilled in the art can understand that Figure 4 the structure shown in

[0127] In one embodiment, a computer device is provided, which includes a memory and a processor. The memory stores a computer program. When the computer program is executed by the processor, the processor is caused to execute as Figure 1 the steps shown.

[0128] In one embodiment, a computer-readable storage medium is provided, which stores a computer program. When the computer program is executed by a processor, the processor is caused to execute as Figure 1 the steps shown.

[0129] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it may include the processes of the embodiments of the above methods. Among them, any reference to a memory, storage, database, or other medium used in the embodiments provided in this application may include non-volatile and / or volatile memories. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and Rambus dynamic RAM (RDRAM), etc.

[0130] The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope described in this specification.

[0131] The above-described embodiments merely represent several implementation manners of this application. The description is relatively specific and detailed, but it should not be construed as a limitation on the patent scope of this application. It should be noted that for those of ordinary skill in the art, without departing from the concept of this application, several modifications and improvements can still be made, and these all belong to the protection scope of this application. Therefore, the protection scope of the patent of this application should be subject to the appended claims.

Claims

1. A wiring state verification method for a combined junction box, characterized in that, The method includes: Obtaining a wiring image of the junction box to be verified, where the junction box to be verified includes a plurality of short - circuit pieces and wiring terminals; Detecting the wiring image by using a pre - trained object detection model to obtain a detection result of the current wiring of the junction box to be verified, where the detection result includes each wiring position and the short - circuit piece positions of each short - circuit piece, and the object detection model is used to identify and classify the wiring positions and short - circuit pieces in the wiring image; Determining a target short - circuit piece state by using the short - circuit piece positions and a preset judgment rule for the short - circuit piece state, where the short - circuit piece state is used to reflect the on - off state of the short - circuit piece; Performing wiring verification according to the target short - circuit piece state, the corresponding relationship between the preset short - circuit piece state and the wiring rule, the short - circuit piece positions, and the wiring positions to determine the target wiring state of the junction box to be verified, where the wiring state is used to reflect whether the wiring position is correct; Outputting a wiring state verification prompt for the junction box to be verified by using the target wiring state.

2. The method according to claim 1, wherein The short - circuit piece positions include the first horizontal coordinate of the first short - circuit piece and the second horizontal coordinate of the second short - circuit piece, and the first vertical coordinate of the first short - circuit piece is less than the second vertical coordinate of the second short - circuit piece. Then, determining the target short - circuit piece state by using the short - circuit piece positions and a preset judgment rule for the short - circuit piece state includes: If the first horizontal coordinate is less than the second horizontal coordinate, the target short - circuit piece state is that both the first short - circuit piece and the second short - circuit piece are in the off state; If the first horizontal coordinate is greater than the second horizontal coordinate, the target short - circuit piece state is that both the first short - circuit piece and the second short - circuit piece are in the on state; If the first horizontal coordinate is equal to the second horizontal coordinate, the target short - circuit piece state is that one of the first short - circuit piece and the second short - circuit piece is in the on state and the other is in the off state.

3. The method according to claim 2, wherein Performing wiring verification according to the target short - circuit piece state, the corresponding relationship between the preset short - circuit piece state and the wiring rule, the short - circuit piece positions, and the wiring positions to determine the target wiring state of the junction box to be verified includes: Obtaining a target wiring rule in the target short - circuit piece state according to the corresponding relationship between the preset short - circuit piece state and the wiring rule and the target short - circuit piece state; Performing wiring verification according to the target wiring rule, the short - circuit piece positions, and the wiring positions to determine the target wiring state of the junction box to be verified.

4. The method according to claim 3, wherein, If the target short - circuit piece state is that both the first short - circuit piece and the second short - circuit piece are in the off state, then performing wiring verification according to the target wiring rule, the short - circuit piece positions, and the wiring positions to determine the target wiring state of the junction box to be verified includes: When the wiring positions are t1d1 and t2d2, and the wiring positions satisfy: then determine that the target wiring state of the junction box to be verified is the correct state; When the wiring positions are t1d1 and t3d3, and the wiring positions satisfy: then it is determined that the target wiring state of the junction box to be verified is the correct state; When the wiring positions are t2d2 and t3d3, and the wiring positions satisfy: then it is determined that the target wiring state of the junction box to be verified is the correct state; Wherein, t1, t2, and t3 respectively represent the first to third wiring terminals in the upper row of wiring terminals of the junction box to be verified; d1, d2, and d3 respectively represent the first to third wiring terminals in the lower row of wiring terminals of the junction box to be verified; S1 and S2 respectively represent the first short - circuit piece and the second short - circuit piece, and H represents the horizontal coordinate.

5. The method according to claim 3, wherein If the states of the target shorting pieces are both closed for the first shorting piece and the second shorting piece, then performing wiring verification according to the target wiring rule, the positions of the shorting pieces, and the wiring positions to determine the target wiring state of the junction box to be verified includes: When the connection positions are t1d1 and t3d3, and the connection positions satisfy: then it is determined that the target connection state of the junction box to be verified is the correct state; Wherein, t1 and t3 respectively represent the first terminal and the third terminal among the upper row of terminals of the junction box to be verified; d1 and d3 respectively represent the first terminal and the third terminal among the lower row of terminals of the junction box to be verified; S1 and S2 respectively represent the first shorting piece and the second shorting piece, and H represents the horizontal coordinate.

6. The method according to claim 3, wherein If one of the first shorting piece and the second shorting piece is in the closed state and the other is in the open state for the target shorting piece state, then performing wiring verification according to the target wiring rule, the positions of the shorting pieces, and the wiring positions to determine the target wiring state of the junction box to be verified includes: When the first shorting piece S1 is closed and the second shorting piece S2 is open, if the wiring position is t1d1 and any one group among t2d2, t2d3, t3d2, and t3d3, then determine that the target wiring state of the junction box to be verified is the correct state; When the second shorting piece S2 is closed and the first shorting piece S1 is open, if the wiring position is t3d3 and any one group among t1d1, t1d2, t2d1, and t2d2, then determine that the target wiring state of the junction box to be verified is the correct state; Wherein, t1, t2, and t3 respectively represent the first terminal to the third terminal among the upper row of terminals of the junction box to be verified; d1, d2, and d3 respectively represent the first terminal to the third terminal among the lower row of terminals of the junction box to be verified; S1 and S2 respectively represent the first shorting piece and the second shorting piece.

7. The method according to claim 1, characterized in that Before obtaining the wiring image of the junction box to be verified, it further includes: When receiving a photographing request from a preset client, outputting a preset reference line for photographing the junction box to the client, and the reference line is used to prompt the user with the standard photographing template of the junction box to be verified.

8. A wiring state verification device for a combined junction box, characterized in that, The device includes: An image acquisition module: used to acquire the wiring image of the junction box to be verified, and the junction box to be verified includes a plurality of shorting pieces and terminals; A target detection module: used to detect the wiring image by using a pre-trained target detection model to obtain the detection result of the current wiring of the junction box to be verified, and the detection result includes each wiring position and the positions of the shorting pieces of each shorting piece, and the target detection model is used to identify and classify the wiring positions and shorting pieces in the wiring image; A state judgment module: used to determine the target shorting piece state by using the positions of the shorting pieces and a preset judgment rule for the shorting piece state, and the shorting piece state is used to reflect the on-off state of the shorting piece; A wiring verification module: used to perform wiring verification according to the target shorting piece state, the corresponding relationship between the preset shorting piece state and the wiring rule, the positions of the shorting pieces, and the wiring positions to determine the target wiring state of the junction box to be verified, and the wiring state is used to reflect whether the wiring position is correct; Prompt output module: configured to output a wiring status verification prompt for the junction box to be verified by using the target wiring status.

9. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, the processor is caused to execute the steps of the method according to any one of claims 1 to 7.

10. A computer device, comprising a memory and a processor, characterized in that, The memory stores a computer program, and when the computer program is executed by the processor, the processor is caused to execute the steps of the method according to any one of claims 1 to 7.