Intelligent debugging method and system for power user information collection terminal

By realizing automatic fill light and image acquisition on the power user information acquisition terminal, combining image recognition technology and pixel differential strategy, it automatically judges foreign matter or condensate on the display interface of the meter, solving the problem of insufficient debugging efficiency and accuracy in the existing technology, achieving efficient and accurate data acquisition and reducing labor costs.

CN119380326BActive Publication Date: 2025-04-01BEIJING BONA ELECTRIC CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411964999.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-30
Publication Date
2025-04-01
Estimated Expiration
2044-12-30

AI Technical Summary

Technical Problem

The efficiency and accuracy of the debugging method of existing power user information acquisition terminals is affected by the experience of operators, environmental conditions and equipment status, and it is impossible to effectively deal with foreign matter or condensate on the meter display interface.

Method used

By obtaining the edge profile of the meter display interface, establishing the light source reference diagram and fill light arrangement method, automatic fill light and image acquisition of the meter display interface is realized. Using image recognition technology and pixel difference strategy, we automatically determine whether there is foreign matter or condensate on the electricity meter display interface, and automatically debug or send manual maintenance requests based on the judgment results.

Benefits of technology

It improves the debugging efficiency and accuracy of the power user information acquisition terminal, reduces manual intervention, reduces labor costs, and ensures the accuracy of data acquisition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119380326B_ABST
    Figure CN119380326B_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of debugging of an electric power user information collection terminal, and discloses an intelligent debugging method and system for the electric power user information collection terminal, comprising: collecting electric power user power information through an electric meter, obtaining and identifying a rectangular interface diagram formed by the edge contour of an electric meter display interface, obtaining a completely overlapping light source reference diagram above the electric meter display interface, and adjusting the vertical distance between the two to be 1 cm; determining a reference center point and a line segment, calculating a reference distance, and drawing a reference circular surface and a light source circular surface with a diameter 1 cm larger; setting eight position reference points at equal intervals on the edge of the light source circular surface, and installing a fill light; controlling the fill light to illuminate the electric meter interface, obtaining an interface image with an image acquisition module, and extracting power information; this method can automatically identify the cause of the impact on the identification information, reduce the necessity of manual intervention, and save labor costs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of debugging of power user information collection terminals, and in particular to an intelligent debugging method and system of power user information collection terminals. Background Art

[0002] With the continuous development and increasing intelligence of the power system, the collection of power user information has gradually become an important technical means; accurate power data collection and real-time monitoring can effectively improve the efficiency and accuracy of power management; the debugging technology of the power user information collection terminal, as an important part of this system, is crucial to ensuring the normal operation and accuracy of the data collection equipment; however, many existing technologies currently have certain limitations in the debugging process and cannot fully adapt to the debugging needs of different meter equipment.

[0003] Traditional debugging methods for power user information collection terminals usually rely on manual on-site operation and inspection, and the efficiency and accuracy of the debugging process are affected by many factors such as operator experience, environmental conditions, and equipment status. Common debugging methods include direct inspection of the meter display interface, numerical comparison, and adjustment through traditional manual or mechanical adjustment methods. However, in the face of complex environmental changes and unclear meter display interfaces, these traditional methods often have errors or omissions, resulting in inaccurate data collection results.

[0004] In response to the above problems, there are also some intelligent debugging methods in the prior art, such as the automatic meter reading system based on image recognition technology; this type of system can obtain the display interface image of the meter through the image acquisition device, and extract the power value through the image recognition algorithm, and then complete the electricity consumption data collection of the power user; however, this method still has some problems. When the meter is in a complex environment and foreign matter or condensation appears on the meter display interface, it may interfere with the image recognition effect, resulting in erroneous image recognition results or even unrecognizable results; the prior art generally directly takes manual intervention measures for the situation where foreign matter or condensation appears on the meter display interface, but for the situation where condensation appears on the meter display interface, the condensation evaporates automatically. Therefore, for the situation where condensation appears on the meter display interface, manual intervention is not required.

[0005] Therefore, the present invention proposes a method for automatically determining whether there is foreign matter or condensed water on the meter display interface when the information on the meter display interface cannot be correctly identified. In the case of the presence of foreign matter, manual intervention is taken, and in the case of the presence of condensed water, the condensed water is waited for to evaporate before being collected again, thereby reducing labor costs. Summary of the invention

[0006] The present invention provides an intelligent debugging method and system for an electric power user information collection terminal, which promotes solving the problems mentioned in the above background technology.

[0007] The present invention provides the following technical solution: an intelligent debugging method for an electric power user information collection terminal, comprising:

[0008] Get the display interface of the electric meter;

[0009] Obtain a rectangular plane figure surrounded by the edge contour of the electric meter display interface, and record it as an interface diagram;

[0010] Above the electric meter display interface, a graphic identical to the interface diagram is obtained, and a vertical projection on the electric meter interface completely overlaps with the interface diagram, and the graphic is recorded as a light source reference.

[0011] Adjust the vertical distance between the light source reference diagram and the interface diagram so that the vertical distance between the two is equal to one centimeter;

[0012] Obtain the center point of the light source reference reference and record it as the reference center point;

[0013] Obtain four intersection points formed by the four sides of the light source reference reference, and obtain two intersecting line segments with the two intersection points as endpoints and passing through the reference center point, and record them as line segment No. 1 and line segment No. 2 respectively;

[0014] Get the length of line segment 1 and record it as the reference distance;

[0015] With the reference center point as the center and the reference distance as the diameter, draw a circular surface that coincides with the light source reference, which is recorded as the reference circular surface;

[0016] With the reference center point as the center, make a circular surface that coincides with the reference circular surface and has a diameter one centimeter larger than the reference circular surface, which is recorded as the light source circular surface;

[0017] On the edge contour of the circular surface of the light source, eight points are obtained at equal intervals and recorded as eight position reference points;

[0018] A fill light is set at each position reference point to fill light for the meter display interface;

[0019] Controlling the fill light to fill light on the meter display interface, and using the image acquisition module to acquire an image of the meter display interface;

[0020] The information on the amount of electric power used by the electric user displayed on the electric meter is obtained based on the collected image of the electric meter display interface.

[0021] Optionally, obtaining the information on the amount of electric power used by the electric user displayed on the electric meter according to the collected image of the electric meter display interface includes:

[0022] Recording the collected image of the electric meter display interface as a target image;

[0023] Perform median filtering on the target image to obtain a denoised image;

[0024] Grayscale the denoised image to obtain a grayscale image;

[0025] According to the meter display interface information, the area displaying the electric quantity information in the grayscale image is obtained and recorded as the target area;

[0026] The grayscale image is cut to remove other areas except the target area, and the obtained image is recorded as the image to be recognized;

[0027] By using image recognition technology, the image to be recognized is recognized to obtain digital information in the image to be recognized;

[0028] The digital information in the image to be identified is used as the electric power information used by the electric power user.

[0029] Optionally, the step of identifying the image to be identified by using image recognition technology to obtain digital information in the image to be identified includes:

[0030] If the digital information in the image to be identified cannot be identified, automatic debugging is performed;

[0031] The automatic debugging comprises:

[0032] Acquire a baseline image:

[0033] Under the condition that the meter display interface is not blocked, the meter display interface image is collected;

[0034] The display interface of the electric meter is specifically as follows: one of the eight fill lights is selected as the first light, and starting from the first light, the remaining seven fill lights are marked as the second light, the third light, the fourth light, and finally the eighth light in sequence;

[0035] Starting from light No. 1, control light No. 1, light No. 2, light No. 3, and finally light No. 8 to light up in sequence, lighting up one fill light each time, and using the image acquisition module to capture an image after each fill light is lit;

[0036] The image of the electric meter display interface collected when the No. 1 lamp is on is recorded as the No. 1 reference image;

[0037] The image of the electric meter display interface collected when the second lamp is on is recorded as the second reference image;

[0038] The image of the meter display interface collected when the No. 3 light is on is recorded as the No. 3 reference image;

[0039] By analogy, a fourth reference image, a fifth reference image, a sixth reference image, a seventh reference image, and an eighth reference image are obtained.

[0040] Optionally, the performing automatic debugging further includes:

[0041] Collect debug image:

[0042] Obtain four edges of the electric meter display interface, and obtain four intersection points formed by the intersection of the four edges in pairs, randomly select one of the intersection points, and mark the position of the intersection point on the electric meter display interface as a reference point;

[0043] Control eight fill lights to turn off;

[0044] Starting from light No. 1, control light No. 1, light No. 2, light No. 3, and finally light No. 8 to light up in sequence, lighting up one fill light each time, and using the image acquisition module to capture an image after each fill light is lit;

[0045] The image of the meter display interface collected when the No. 1 lamp is on is recorded as the No. 1 debugging image;

[0046] The image of the meter display interface collected when the No. 2 lamp is on is recorded as the No. 2 debugging image;

[0047] The image of the meter display interface collected when the No. 3 light is on is recorded as the No. 3 debugging image;

[0048] And so on, we get debug image No. 4, debug image No. 5, debug image No. 6, debug image No. 7 and debug image No. 8;

[0049] For each debugging image, obtain the position of the reference point on the meter display interface in the debugging image, establish a rectangular coordinate system with the reference point as the origin, and make each debugging image in the first quadrant of the rectangular coordinate system;

[0050] Analyze the debugging image and obtain the debugging result.

[0051] Optionally, analyzing the debugging image to obtain the debugging result includes:

[0052] Execute the influence determination strategy:

[0053] Grayscale processing is performed on the eight debugging images to form a first grayscale debugging diagram, a second grayscale debugging diagram, a third grayscale debugging diagram, and finally an eighth grayscale debugging diagram;

[0054] A pixel difference strategy is performed on grayscale images with adjacent numbers.

[0055] Optionally, the performing of a pixel difference strategy on grayscale adjustment images with adjacent numbers includes:

[0056] Execute pixel difference strategy on grayscale adjustment diagram No. 1 and grayscale adjustment diagram No. 2, grayscale adjustment diagram No. 2 and grayscale adjustment diagram No. 3, grayscale adjustment diagram No. 3 and grayscale adjustment diagram No. 4, and finally grayscale adjustment diagram No. 8 and grayscale adjustment diagram No. 1 respectively;

[0057] The two grayscale adjustment images currently executing the pixel difference strategy are respectively recorded as the first image and the second image;

[0058] Calculate the difference between each pixel in the first image and the second image:

[0059] Get the pixel position of each pixel in the first image and the second image respectively, recorded as (x, y);

[0060] Extract the brightness value of each pixel of the first image, denoted as I1(x,y), which represents the brightness value of the first image at the pixel position (x,y);

[0061] Extract the brightness value of each pixel of the second image, recorded as I2(x,y), which represents the brightness value of the second image at the pixel position (x,y);

[0062] Then the difference value of each pixel Difference(x,y)=I1(x,y)-I2(x,y);

[0063] A rectangular coordinate system is established, and the coordinates corresponding to each differential value are the pixel position, and the differential value is the brightness value of the pixel, to generate a differential map;

[0064] Set a determination threshold Y for determining whether a pixel belongs to a change area;

[0065] Get the pixel whose differential value is positive and greater than Y, determine that the pixel belongs to the change area, record it as the change pixel, traverse all pixels, and get all the change pixels;

[0066] Count the distribution of changed pixels in the difference image, and mark the area composed of changed pixels as the shadow area in the difference image;

[0067] Obtain eight difference images formed after executing the pixel difference strategy on all grayscale adjustment images;

[0068] If the eight difference images are all marked with shadow areas, the eight difference images with marked shadow areas are analyzed to obtain the debugging results;

[0069] Otherwise, determine whether there is a uniformly diffuse bright spot feature.

[0070] Optionally, if the eight difference images are all marked with shadow areas, analyzing the eight difference images with marked shadow areas to obtain the debugging results includes:

[0071] A difference map formed by executing the pixel difference strategy on the first grayscale adjustment image and the second grayscale adjustment image is recorded as the first difference map;

[0072] A difference map formed by executing the pixel difference strategy on the second grayscale adjustment image and the third grayscale adjustment image is recorded as the second difference map;

[0073] A difference map formed by executing the pixel difference strategy on the third grayscale adjustment image and the fourth grayscale adjustment image is recorded as the third difference map;

[0074] This is done in the same way until a difference map formed by executing the pixel difference strategy on the eighth grayscale adjustment map and the first grayscale adjustment map is recorded as the eighth difference map;

[0075] Obtain the marked shadow areas in the eight difference images respectively, obtain the center point of the shadow area in each difference image, obtain the pixel position where the center point is located, and record it as the shadow center coordinates of each difference image;

[0076] Obtain the center coordinates of the shadows in the difference maps in sequence, from the first difference map, the second difference map, the third difference map to the eighth difference map, and connect the center coordinates of the shadows in sequence;

[0077] Get the sequential direction of the coordinates of the centers of the connected shadows, recorded as the shadow direction;

[0078] Obtain the order in which the first light, the second light, the third light, and finally the eighth light are lit up in sequence, and record it as the lighting direction;

[0079] The sequential directions include: clockwise and counterclockwise;

[0080] If the shadow direction is consistent with the light direction, the automatic debugging is deemed to have failed and a manual maintenance request is sent.

[0081] Optionally, the determining whether there is a uniformly diffuse bright spot feature includes:

[0082] Extract the brightness value of each pixel in the first grayscale adjustment chart, the second grayscale adjustment chart, the third grayscale adjustment chart, and finally the eighth grayscale adjustment chart, and calculate the average brightness value of all pixels, which is recorded as the average brightness value of each grayscale adjustment chart;

[0083] Take 1.5 times the average brightness value of each grayscale adjustment image as the highlight threshold to determine whether the brightness value is highlight;

[0084] In each grayscale debugging image, compare the brightness value of each pixel with the highlight threshold;

[0085] Pixels with brightness values ​​greater than the highlight threshold are recorded as highlight pixels;

[0086] Get the area formed by the highlighted pixels in each grayscale debugging image, record it as the highlighted area, and get the pixel where the center point of each highlighted area is located, record it as the highlighted center pixel of each highlighted area;

[0087] Get the pixel position of each highlighted center pixel in each grayscale debugging image;

[0088] Label each highlighted center pixel in each grayscale debugging image in ascending order according to the X coordinate value of the pixel position;

[0089] Get the highlighted center pixel position in the grayscale debugging image No. 1, and record it as the selected pixel position;

[0090] Set the radius of the circle used to determine whether the position change is obvious, denoted by R;

[0091] In each grayscale debugging image, a circle is drawn with the selected pixel position as the center and R as the radius;

[0092] Compare the positions of the highlighted central pixels in each grayscale debugging image to determine whether the highlighted central pixels with the same number in each grayscale debugging image are located in the same circular region;

[0093] If the highlighted central pixels with the same number in each grayscale debugging image are located in the same circular region, it is determined that there is a uniformly diffuse bright spot feature, and then the overall brightness is detected to see if it decreases;

[0094] Otherwise, the automatic debugging is deemed to have failed and a manual maintenance request is sent.

[0095] Optionally, the detecting whether the overall brightness decreases is specifically:

[0096] Grayscale the first reference image, the second reference image, the third reference image, and finally the eighth reference image to obtain the first grayscale reference image, the second grayscale reference image, the third grayscale reference image, and finally the eighth grayscale reference image;

[0097] The brightness value of each pixel in each grayscale reference image is extracted respectively, and the average brightness value of all pixels is calculated, which is recorded as the average brightness value of each grayscale reference image;

[0098] Get the average brightness value of each grayscale adjustment picture respectively;

[0099] Calculate the average brightness value of each grayscale reference image, and take 10% of the average value as the brightness change threshold for determining whether the brightness value changes significantly;

[0100] Sequentially obtain the average brightness value differences between the first grayscale reference image and the first grayscale adjustment chart, the second grayscale reference image and the second grayscale adjustment chart, the third grayscale reference image and the third grayscale adjustment chart, until the eighth grayscale reference image and the eighth grayscale adjustment chart, and compare them with the brightness change threshold value respectively;

[0101] If the differences among the eight average brightness values ​​are all positive and are greater than or equal to the brightness change threshold, it is determined that the overall brightness has decreased, and the delayed data collection strategy is executed;

[0102] Otherwise, the automatic debugging is deemed to have failed, and a manual maintenance request is sent;

[0103] The time-delay data acquisition strategy is specifically as follows:

[0104] Collect and record the temperature information of the environment where the meter is located;

[0105] The recorded temperature information of the electric meter is compared, and when the detected temperature changes from gradually increasing to gradually decreasing, the node that changes to decreasing temperature is recorded as a temperature change point;

[0106] After waiting for 1 hour after the temperature changes, the image acquisition module is used again to acquire an image of the meter display interface, and the power consumption information displayed on the meter is obtained based on the acquired image of the meter display interface.

[0107] A system for implementing the intelligent debugging method of the power user information collection terminal, comprising:

[0108] Electricity meter: used to collect information on the amount of electricity used by electricity users;

[0109] Fill light: used to fill light for the meter display interface;

[0110] Image acquisition module: used to acquire images of the meter display interface;

[0111] Image processing module: used to process the collected images;

[0112] Image recognition module: used to identify digital information in images;

[0113] Temperature collection module: used to collect and record the temperature information of the environment where the meter is located;

[0114] Lighting control module: used to control the lighting and extinguishing of the fill light;

[0115] Communication module: used to send manual maintenance requests.

[0116] The present invention has the following beneficial effects:

[0117] 1. By obtaining the rectangular plane figure surrounded by the display interface of the meter and the edge contour and marking it as an interface diagram, the target area for collecting information on the meter interface can be accurately defined; this precise positioning method avoids interference with irrelevant areas during the collection process, and at the same time can reduce useless calculations during data processing and improve image processing efficiency; especially in the scenario of power information collection, accurate interface recognition is crucial to ensuring the accuracy of the data; in addition, by establishing the boundary contour, the subsequent light source positioning and fill light installation also have a clear reference basis, thus laying the foundation for efficient collection.

[0118] 2. By setting eight equally spaced reference points on the edge of the circular surface of the light source and installing fill lights at each point, this arrangement ensures that the light can evenly cover the entire meter display interface; by using eight fill lights to fill in the light when collecting images, the shadow and reflection interference that may be caused by a single light source can be minimized; especially on larger meter interfaces or meters with complex shell designs, this arrangement can significantly improve the clarity and consistency of the collected images, thereby optimizing the accuracy of subsequent data processing.

[0119] 3. By performing median filtering and grayscale processing on the collected target image, the impact of noise can be effectively reduced, making the image easier to process later; through denoising and grayscale, the detailed features of the image are more prominent, especially in environments with poor lighting or complex backgrounds, this preprocessing method is particularly important; denoised images help to extract accurate digital areas, while grayscale images simplifies data dimensions and reduces the computational complexity of image analysis; this lays a good foundation for subsequent image segmentation and digital recognition steps, ensuring the accuracy of the results.

[0120] 4. By lighting up eight fill lights in sequence and collecting images of the meter display interface after each lighting, the light interference caused by the simultaneous lighting of multiple light sources can be eliminated; this method of lighting up the fill lights one by one and collecting images can make the influence of the light source in each image clearer, thereby providing a more targeted basis for subsequent analysis; for example, when a shadow area is detected, it can be judged whether there is a physical foreign object blocking the meter display interface based on the lighting order of the fill lights and the movement of the shadow area; when a uniformly diffused bright spot feature is detected and the overall brightness is detected to be reduced, it can be judged that there is condensation on the meter, thereby analyzing the reasons affecting the collection of meter data.

[0121] 5. By executing the pixel difference strategy on the grayscale debugging image, the shadow area on the meter interface can be quickly identified; the pixel difference method can intuitively detect the dimmed part of the image by comparing the brightness changes of each pixel in the adjacent images, and then determine the shadow area in the image; this strategy can help automatically detect whether there is a foreign object occlusion on the meter display interface without manual intervention; in addition, by generating a differential map, the position of the shadow area in the image can be intuitively obtained, which is convenient for subsequent judgment of the relationship between the position change of the shadow area and the lighting status of the fill light, providing a basis for subsequent judgment of whether there is a foreign object occlusion on the meter display interface.

[0122] 6. By connecting the center coordinates of the shadows in sequence and obtaining the order of the connections, the order of the position changes of the shadow areas from differential graph No. 1, differential graph No. 2, differential graph No. 3 to differential graph No. 8 can be known from the order of the connection; by comparing the order of the position changes of the shadow areas with the order in which lights No. 1, No. 2, No. 3 to No. 8 are lit in sequence, if the two orders are consistent, it means that the change in the position of the shadow area changes regularly at the same time as the lighting direction of the fill light, indicating that there is a physical foreign object blocking the meter display interface, which needs to be manually removed to facilitate the normal collection of subsequent meter display information; this method realizes automatic identification of physical foreign objects that make it impossible to normally identify the meter display information, and sends a manual maintenance request when physical foreign object obstruction is detected, thereby ensuring the normal collection of power user information.

[0123] 7. By obtaining the brightness value of each pixel in each debugging image and comparing it with the highlight threshold, it is determined whether the pixel is a highlight pixel. By obtaining the area formed by the highlight pixels, it is recorded as the highlight area. For each highlight area, the pixel at the center of the area is obtained and recorded as the highlight center pixel. The highlight center pixel is labeled according to the X-coordinate value. By setting a circular domain with a radius of R, it is determined whether the highlight center pixels with the same label in each grayscale image are located in the same circular domain. If they are all located in the same circular domain, it means that with the change of the fill light position, the highlight area in the image has no obvious position change. Therefore, it can be determined that there is a uniformly diffused bright spot feature on the meter display interface, and it can be determined that there is suspected condensation water on the meter display interface, which is convenient for subsequent detection steps.

[0124] 8. Under the premise of the presence of uniformly diffused bright spot features, the average brightness value of each debugging diagram is obtained, and compared with the average brightness value of the reference diagram with the same number as the debugging diagram, it can be known whether there is an overall decrease in brightness in the debugging diagram; by subtracting the average brightness value of the reference diagram from the average brightness value of the debugging diagram, and comparing the result with the brightness change threshold, when the difference is positive and greater than the brightness change threshold, it means that the brightness in the debugging diagram has a significant decrease compared with the reference diagram, further confirming the presence of condensed water on the meter display interface.

[0125] 9. By executing the delayed data collection strategy, when the information displayed on the meter cannot be identified due to condensation on the meter display interface, the temperature information of the environment in which the meter is located is monitored. After the temperature drops from high to low, wait for one hour. At this time, the condensation on the meter display interface has sufficient time to evaporate by itself. At this time, the information on the meter display interface is collected again to ensure the collection success rate. At the same time, this method of identifying condensation and executing the delayed data collection strategy reduces the frequency of manual inspection and maintenance and reduces labor costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0126] Figure 1 It is a schematic diagram of the display interface of the electric meter of the present invention.

[0127] Figure 2 It is a schematic diagram of the circular surface of the light source of the present invention.

[0128] Figure 3 It is a schematic diagram of the rectangular coordinate system in the debugging image of the present invention. DETAILED DESCRIPTION

[0129] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0130] Embodiment 1, the intelligent debugging method of the power user information collection terminal includes:

[0131] Use electric meters to collect information on the amount of electricity used by electricity users;

[0132] Reference Figure 1 , obtain the display interface of the electric meter;

[0133] A rectangular plane figure enclosed by the edge contour of the electric meter display interface is obtained and recorded as an interface diagram; by obtaining the display interface of the electric meter and a rectangular plane figure enclosed by the edge contour and calibrating it as an interface diagram, the target area for collecting information on the electric meter interface can be accurately defined; this precise positioning method avoids interference with irrelevant areas during the collection process, and at the same time can reduce useless calculations during data processing and improve image processing efficiency; especially in the scenario of power information collection, accurate interface recognition is crucial to ensuring data accuracy; in addition, by establishing the boundary contour, the subsequent light source positioning and fill light installation also have a clear reference basis, thus laying the foundation for efficient collection.

[0134] Reference Figure 2 , above the meter display interface, obtain a graphic that is identical to the interface diagram and whose vertical projection on the meter interface completely overlaps with the interface diagram, and record it as a light source reference diagram;

[0135] Adjust the vertical distance between the light source reference diagram and the interface diagram so that the vertical distance between the two is equal to one centimeter; the one centimeter enables the subsequent fill light to be set above the meter display interface so that the light of the fill light can irradiate the meter interface in a larger range, and the one centimeter distance can be adaptively adjusted according to actual needs;

[0136] Obtain the center point of the light source reference reference and record it as the reference center point;

[0137] Obtain four intersection points formed by the four sides of the light source reference reference, and obtain two intersecting line segments with the two intersection points as endpoints and passing through the reference center point, and record them as line segment No. 1 and line segment No. 2 respectively;

[0138] Get the length of line segment 1 and record it as the reference distance;

[0139] With the reference center point as the center and the reference distance as the diameter, draw a circular surface that coincides with the light source reference, which is recorded as the reference circular surface;

[0140] With the reference center point as the center of the circle, a circular surface is made that coincides with the reference circular surface and has a diameter one centimeter larger than the reference circular surface, which is recorded as the light source circular surface; the one centimeter larger than the reference circular surface ensures that the position of the subsequent fill light is not located directly above the meter display interface, so as to avoid the fill light blocking the meter display interface when the image acquisition module acquires images. The one centimeter distance can be adaptively adjusted according to actual needs;

[0141] On the edge contour of the circular surface of the light source, eight points are obtained at equal intervals and recorded as eight position reference points;

[0142] A fill light is set at each position reference point to fill in the light of the meter display interface; by setting eight equidistant position reference points on the edge of the circular surface of the light source and installing a fill light at each point, this arrangement ensures that the light can evenly cover the entire meter display interface; by using eight fill lights to fill in the light when collecting images, the shadow and reflection interference that may be caused by a single light source can be minimized; especially on larger meter interfaces or meters with complex shell designs, this arrangement can significantly improve the clarity and consistency of the collected images, thereby optimizing the accuracy of subsequent data processing.

[0143] Controlling the fill light to fill light on the meter display interface, and using the image acquisition module to acquire an image of the meter display interface;

[0144] The information on the amount of electric power used by the electric user displayed on the electric meter is obtained based on the collected image of the electric meter display interface.

[0145] The acquiring, based on the collected image of the electric meter display interface, the electric power information used by the electric user displayed on the electric meter includes:

[0146] Recording the collected image of the electric meter display interface as a target image;

[0147] Perform median filtering on the target image to obtain a denoised image;

[0148] The denoised image is grayed to obtain a grayscale image; by performing median filtering and graying on the acquired target image, the influence of noise can be effectively reduced, making the image easier to process later; through denoising and graying, the detailed features of the image are more prominent, especially in environments with poor lighting or complex backgrounds, this preprocessing method is particularly important; the denoised image helps to extract accurate digital areas, while the grayed image simplifies the data dimension and reduces the computational complexity of image analysis; this lays a good foundation for subsequent image segmentation and digital recognition steps, ensuring the accuracy of the results.

[0149] According to the meter display interface information, the area displaying the electric quantity information in the grayscale image is obtained and recorded as the target area;

[0150] The grayscale image is cut to remove other areas except the target area, and the obtained image is recorded as the image to be recognized;

[0151] By using image recognition technology, the image to be recognized is recognized to obtain digital information in the image to be recognized;

[0152] The digital information in the image to be identified is used as the electric power information used by the electric power user.

[0153] The method of identifying the image to be identified by using the image recognition technology and obtaining digital information in the image to be identified includes:

[0154] If the digital information in the image to be identified cannot be identified, automatic debugging is performed;

[0155] The automatic debugging comprises:

[0156] Acquire a baseline image:

[0157] Under the condition that the meter display interface is not blocked, the meter display interface image is collected;

[0158] The display interface of the electric meter is specifically as follows: one of the eight fill lights is selected as the first light, and starting from the first light, the remaining seven fill lights are marked as the second light, the third light, the fourth light, and finally the eighth light in sequence;

[0159] Starting from light No. 1, control light No. 1, light No. 2, light No. 3, and finally light No. 8 to light up in sequence, lighting up one fill light each time, and using the image acquisition module to capture an image after each fill light is lit;

[0160] The image of the electric meter display interface collected when the No. 1 lamp is on is recorded as the No. 1 reference image;

[0161] The image of the electric meter display interface collected when the second lamp is on is recorded as the second reference image;

[0162] The image of the meter display interface collected when the No. 3 light is on is recorded as the No. 3 reference image;

[0163] By analogy, we get the fourth reference image, the fifth reference image, the sixth reference image, the seventh reference image, and the eighth reference image. By lighting up the eight fill lights in sequence and collecting images of the meter display interface after each lighting up, the light interference caused by the simultaneous lighting of multiple light sources can be eliminated; this method of lighting up the fill lights one by one and collecting images can make the influence of the light source in each image clearer, thereby providing a more targeted basis for subsequent analysis; for example, when a shadow area is detected, it can be judged whether there is a physical foreign object blocking the meter display interface based on the lighting order of the fill lights and the movement of the shadow area; when the presence of uniformly diffused bright spot features and the overall brightness decrease is detected, it can be judged that there is condensed water on the meter, thereby analyzing the reasons affecting the collection of meter data.

[0164] The automatic debugging may further include:

[0165] Collect debug image:

[0166] Reference Figure 1, obtain four edges of the meter display interface, and obtain four intersection points formed by the intersection of the four edges, randomly select one of the intersection points, and mark the position of the intersection point on the meter display interface as a reference point;

[0167] Control eight fill lights to turn off;

[0168] Starting from light No. 1, control light No. 1, light No. 2, light No. 3, and finally light No. 8 to light up in sequence, lighting up one fill light each time, and using the image acquisition module to capture an image after each fill light is lit;

[0169] The image of the meter display interface collected when the No. 1 lamp is on is recorded as the No. 1 debugging image;

[0170] The image of the meter display interface collected when the No. 2 lamp is on is recorded as the No. 2 debugging image;

[0171] The image of the meter display interface collected when the No. 3 light is on is recorded as the No. 3 debugging image;

[0172] And so on, we get debug image No. 4, debug image No. 5, debug image No. 6, debug image No. 7 and debug image No. 8;

[0173] Reference Figure 3 , for each debugging image, obtain the position of the reference point on the meter display interface in the debugging image, take the position as the origin, establish a rectangular coordinate system, and make each debugging image in the first quadrant of the rectangular coordinate system; each debugging image is collected by the image acquisition module at the same position, so the size and shape of each debugging image are exactly the same, for each debugging image, obtain the position of the reference point on the meter display interface in the debugging image, take the position as the origin, establish a rectangular coordinate system, so that a point representing the same position on the meter display interface in each debugging image has the same coordinates in the rectangular coordinate system under each debugging image;

[0174] Analyze the debugging image and obtain the debugging result.

[0175] The step of analyzing the debugging image and obtaining the debugging result includes:

[0176] Execute the influence determination strategy:

[0177] Grayscale processing is performed on the eight debugging images to form a first grayscale debugging diagram, a second grayscale debugging diagram, a third grayscale debugging diagram, and finally an eighth grayscale debugging diagram;

[0178] A pixel difference strategy is performed on grayscale images with adjacent numbers.

[0179] The pixel difference strategy is executed on grayscale adjustment images with adjacent numbers, including:

[0180] Execute pixel difference strategy on grayscale adjustment diagram No. 1 and grayscale adjustment diagram No. 2, grayscale adjustment diagram No. 2 and grayscale adjustment diagram No. 3, grayscale adjustment diagram No. 3 and grayscale adjustment diagram No. 4, and finally grayscale adjustment diagram No. 8 and grayscale adjustment diagram No. 1 respectively;

[0181] The two grayscale adjustment images currently executing the pixel difference strategy are respectively recorded as the first image and the second image;

[0182] Calculate the difference between each pixel in the first image and the second image:

[0183] Get the pixel position of each pixel in the first image and the second image respectively, recorded as (x, y);

[0184] Extract the brightness value of each pixel of the first image, denoted as I1(x,y), which represents the brightness value of the first image at the pixel position (x,y);

[0185] Extract the brightness value of each pixel of the second image, recorded as I2(x,y), which represents the brightness value of the second image at the pixel position (x,y);

[0186] Then the difference value of each pixel Difference(x,y)=I1(x,y)-I2(x,y);

[0187] A rectangular coordinate system is established, and the coordinates corresponding to each differential value are the pixel position, and the differential value is the brightness value of the pixel, to generate a differential map;

[0188] Set a determination threshold Y for determining whether a pixel belongs to a change area;

[0189] Obtain pixels whose differential values ​​are positive and greater than Y, indicating that the brightness value of the pixel has been greatly reduced. The pixel is determined to belong to the change area and recorded as a change pixel. All pixels are traversed to obtain all change pixels.

[0190] Count the distribution of changed pixels in the difference image, and mark the area composed of changed pixels as the shadow area in the difference image;

[0191] Obtain eight difference images formed after executing the pixel difference strategy on all grayscale adjustment images;

[0192] If shadow areas are marked in the eight differential images, the eight differential images of the marked shadow areas are analyzed to obtain the debugging results; by executing the pixel difference strategy on the grayscale debugging image, the shadow area on the meter interface can be quickly identified; the pixel difference method can intuitively detect the dimmed part of the image by comparing the brightness changes of each pixel in the adjacent images, and then determine the shadow area in the image; this strategy can help automatically detect whether there is a foreign object occlusion on the meter display interface without manual intervention; in addition, by generating a differential image, the position of the shadow area in the image can be intuitively obtained, which is convenient for subsequent judgment of the relationship between the position change of the shadow area and the lighting status of the fill light, providing a basis for subsequent judgment of whether there is a foreign object occlusion on the meter display interface.

[0193] Otherwise, determine whether there is a uniformly diffuse bright spot feature.

[0194] If the eight difference images are all marked with shadow areas, the eight difference images with marked shadow areas are analyzed to obtain debugging results, including:

[0195] A difference map formed by executing the pixel difference strategy on the first grayscale adjustment image and the second grayscale adjustment image is recorded as the first difference map;

[0196] A difference map formed by executing the pixel difference strategy on the second grayscale adjustment image and the third grayscale adjustment image is recorded as the second difference map;

[0197] A difference map formed by executing the pixel difference strategy on the third grayscale adjustment image and the fourth grayscale adjustment image is recorded as the third difference map;

[0198] This is done in the same way until a difference map formed by executing the pixel difference strategy on the eighth grayscale adjustment map and the first grayscale adjustment map is recorded as the eighth difference map;

[0199] Obtain the marked shadow areas in the eight difference images respectively, obtain the center point of the shadow area in each difference image, obtain the pixel position where the center point is located, and record it as the shadow center coordinates of each difference image;

[0200] Obtain the center coordinates of the shadows in the difference maps in sequence, from the first difference map, the second difference map, the third difference map to the eighth difference map, and connect the center coordinates of the shadows in sequence;

[0201] Get the sequential direction of the coordinates of the centers of the connected shadows, recorded as the shadow direction;

[0202] Obtain the order in which the first light, the second light, the third light, and finally the eighth light are lit up in sequence, and record it as the lighting direction;

[0203] The sequential directions include: clockwise and counterclockwise;

[0204] If the shadow direction is consistent with the lighting direction, and the shadow direction changes regularly with the lighting direction, it means that there is a foreign object blocking the meter interface, and the foreign object needs to be removed manually, then the automatic debugging is deemed to have failed, and a manual maintenance request is sent. By connecting the center coordinates of the shadows in sequence and obtaining the order of connection, the order of position changes of the shadow area from the first differential map, the second differential map, the third differential map to the eighth differential map can be obtained from this connection order; by comparing the order of position changes of the shadow area with the order of lighting of the first light, the second light, the third light to the eighth light, if the order of the two is consistent, it means that the change of the position of the shadow area changes regularly with the lighting direction of the fill light, indicating that there is a physical foreign object blocking the meter display interface, and the foreign object needs to be removed manually to facilitate the normal collection of subsequent meter display information; this method realizes automatic identification of physical foreign objects that make it impossible to normally identify the meter display information, and sends a manual maintenance request when physical foreign object blocking is detected, ensuring the normal collection of power user information.

[0205] The determining whether there is a uniformly diffuse bright spot feature includes:

[0206] Extract the brightness value of each pixel in the first grayscale adjustment chart, the second grayscale adjustment chart, the third grayscale adjustment chart, and finally the eighth grayscale adjustment chart, respectively, and calculate the average brightness value of all pixels, which is recorded as the average brightness value of each grayscale adjustment chart;

[0207] Take 1.5 times the average brightness value of each grayscale adjustment image as the highlight threshold to determine whether the brightness value is highlight;

[0208] In each grayscale debugging image, compare the brightness value of each pixel with the highlight threshold;

[0209] Pixels with brightness values ​​greater than the highlight threshold are recorded as highlight pixels;

[0210] Get the area formed by the highlighted pixels in each grayscale debugging image, record it as the highlighted area, and get the pixel where the center point of each highlighted area is located, record it as the highlighted center pixel of each highlighted area;

[0211] Get the pixel position of each highlighted center pixel in each grayscale debugging image;

[0212] Label each highlighted center pixel in each grayscale debugging image in ascending order according to the X coordinate value of the pixel position;

[0213] Get the highlighted center pixel position in the grayscale debugging image No. 1, and record it as the selected pixel position;

[0214] Set the radius of the circle used to determine whether the position change is obvious, denoted by R;

[0215] In each grayscale debugging image, a circle is drawn with the selected pixel position as the center and R as the radius;

[0216] Compare the positions of the highlighted central pixels in each grayscale debugging image to determine whether the highlighted central pixels with the same number in each grayscale debugging image are located in the same circular region;

[0217] If the highlighted central pixels with the same number in each grayscale debugging image are all located in the same circular domain, it means that with the change of the irradiation angle of the fill light, the various highlighted areas on the meter interface have not produced a large position change, and it is determined that there is a uniformly diffused bright spot feature, and then detect whether the overall brightness decreases; by obtaining the brightness value of each pixel in each debugging image and comparing it with the highlight threshold, it is determined whether the pixel is a highlighted pixel, and by obtaining the area formed by the highlighted pixels, it is recorded as the highlighted area. For each highlighted area, the pixel at the center point of the area is obtained, recorded as the highlighted central pixel, and the highlighted central pixel is labeled according to the X-coordinate value; by setting a circular domain with a radius of R, it is determined whether the highlighted central pixels with the same number in each grayscale image are located in the same circular domain. If they are all located in the same circular domain, it means that with the change of the fill light position, the highlighted area in the image has not produced an obvious position change, so it can be determined that there is a uniformly diffused bright spot feature on the meter display interface, and it can be determined that there is suspected condensation water on the meter display interface, which is convenient for subsequent detection steps.

[0218] Otherwise, it is determined that the automatic debugging has failed. At this time, it is detected that there is no foreign object blocking the meter interface, and the uniformly diffused bright spot characteristics that can be automatically debugged are not met. Self-debugging is impossible and manual troubleshooting is required, so a manual maintenance request is sent.

[0219] The detection of whether the overall brightness decreases is specifically as follows:

[0220] Grayscale the first reference image, the second reference image, the third reference image, and finally the eighth reference image to obtain the first grayscale reference image, the second grayscale reference image, the third grayscale reference image, and finally the eighth grayscale reference image;

[0221] Extract the brightness value of each pixel in each grayscale reference image respectively, and calculate the average brightness value of all pixels, which is recorded as the average brightness value of each grayscale reference image;

[0222] Get the average brightness value of each grayscale adjustment picture respectively;

[0223] Calculate the average brightness value of each grayscale reference image, and take 10% of the average value as the brightness change threshold for determining whether the brightness value changes significantly;

[0224] Sequentially obtain the average brightness value differences between the first grayscale reference image and the first grayscale adjustment chart, the second grayscale reference image and the second grayscale adjustment chart, the third grayscale reference image and the third grayscale adjustment chart, until the eighth grayscale reference image and the eighth grayscale adjustment chart, and compare them with the brightness change threshold value respectively;

[0225] If the differences among the eight average brightness values ​​are all positive numbers and are all greater than or equal to the brightness change threshold, it is determined that the overall brightness has decreased. Under the premise of satisfying the uniformly diffused bright spot characteristics, it is detected again that the overall brightness of the meter interface has decreased compared to the normal state, indicating that there is condensation on the surface of the meter interface. You can wait for the condensation to evaporate by itself and collect the information displayed by the meter again. Therefore, the delayed data collection strategy is implemented;

[0226] Otherwise, it is determined that the automatic debugging has failed. At this time, there are evenly diffused bright spot features on the meter interface, but the brightness has not decreased as a whole. It is impossible to determine whether there is condensation on the meter surface, and manual troubleshooting is required. Therefore, a manual maintenance request is sent; by obtaining the average brightness value of each debugging diagram under the premise of the existence of evenly diffused bright spot features, and comparing it with the average brightness value of the reference diagram with the same number as the debugging diagram, it can be known whether there is an overall decrease in brightness in the debugging diagram; by subtracting the average brightness value of the reference diagram from the average brightness value of the debugging diagram, and comparing the result with the brightness change threshold, when the difference is positive and greater than the brightness change threshold, it means that the brightness in the debugging diagram has produced a significant decrease in brightness compared with the reference diagram, further confirming the presence of condensation on the meter display interface.

[0227] The time-delay data acquisition strategy is specifically as follows:

[0228] Collect and record the temperature information of the environment where the meter is located;

[0229] The recorded temperature information of the electric meter is compared, and when the detected temperature changes from gradually increasing to gradually decreasing, the node that changes to decreasing temperature is recorded as a temperature change point;

[0230] After the temperature change point, wait for 1 hour. At this time, the meter passes through the node with the highest ambient temperature, and the condensed water on the meter is evaporated. Use the image acquisition module again to collect the image of the meter display interface, and obtain the power consumption information displayed by the power user based on the collected image of the meter display interface. By executing the delayed data acquisition strategy, when the information displayed by the meter cannot be identified due to the presence of condensed water on the meter display interface, monitor the temperature information of the environment where the meter is located, and wait for one hour after the time node when the temperature decreases from high to low. At this time, the condensed water on the meter display interface has sufficient time to evaporate by itself. At this time, collect the information on the meter display interface again, which can ensure the collection success rate; at the same time, this method of identifying condensed water and executing the delayed data acquisition strategy reduces the frequency of manual inspection and maintenance and reduces labor costs.

[0231] Embodiment 2, a system for implementing the intelligent debugging method of the power user information collection terminal, comprising:

[0232] Electricity meter: used to collect information on the amount of electricity used by electricity users;

[0233] Fill light: used to fill light for the meter display interface;

[0234] Image acquisition module: used to acquire images of the meter display interface;

[0235] Image processing module: used to process the collected images;

[0236] Image recognition module: used to identify digital information in images;

[0237] Temperature collection module: used to collect and record the temperature information of the environment where the meter is located;

[0238] Lighting control module: used to control the lighting and extinguishing of the fill light;

[0239] Communication module: used to send manual maintenance requests.

[0240] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.

[0241] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. An intelligent debugging method for a power user information collection terminal, characterized in that: include: Use electric meters to collect information on the amount of electricity used by electricity users; Get the display interface of the electric meter; Obtain a rectangular plane figure surrounded by the edge contour of the electric meter display interface, and record it as an interface diagram; Above the electric meter display interface, a graphic identical to the interface diagram is obtained, and a vertical projection on the electric meter interface completely overlaps with the interface diagram, and the graphic is recorded as a light source reference. Adjust the vertical distance between the light source reference diagram and the interface diagram so that the vertical distance between the two is equal to one centimeter; Obtain the center point of the light source reference reference and record it as the reference center point; Obtain four intersection points formed by the four sides of the light source reference reference, and obtain two intersecting line segments with the two intersection points as endpoints and passing through the reference center point, and record them as line segment No. 1 and line segment No. 2 respectively; Get the length of line segment 1 and record it as the reference distance; With the reference center point as the center and the reference distance as the diameter, draw a circular surface that coincides with the light source reference, which is recorded as the reference circular surface; With the reference center point as the center, make a circular surface that coincides with the reference circular surface and has a diameter one centimeter larger than the reference circular surface, which is recorded as the light source circular surface; On the edge contour of the circular surface of the light source, eight points are obtained at equal intervals and recorded as eight position reference points; A fill light is set at each position reference point to fill light for the meter display interface; Controlling the fill light to fill light on the meter display interface, and using the image acquisition module to acquire an image of the meter display interface; The information on the amount of electric power used by the electric user displayed on the electric meter is obtained based on the collected image of the electric meter display interface.

2. The intelligent debugging method of the power user information collection terminal according to claim 1 is characterized in that: The acquiring, based on the collected image of the electric meter display interface, the electric power information used by the electric user displayed on the electric meter includes: Recording the collected image of the electric meter display interface as a target image; Perform median filtering on the target image to obtain a denoised image; Grayscale the denoised image to obtain a grayscale image; According to the meter display interface information, the area displaying the electric quantity information in the grayscale image is obtained and recorded as the target area; The grayscale image is cut to remove other areas except the target area, and the obtained image is recorded as the image to be recognized; By using image recognition technology, the image to be recognized is recognized to obtain digital information in the image to be recognized; The digital information in the image to be identified is used as the electric power information used by the electric power user.

3. The intelligent debugging method of the power user information collection terminal according to claim 2 is characterized in that: The method of identifying the image to be identified by using the image recognition technology and obtaining digital information in the image to be identified includes: If the digital information in the image to be identified cannot be identified, automatic debugging is performed; The automatic debugging comprises: Acquire a baseline image: Under the condition that the meter display interface is not blocked, the meter display interface image is collected; The display interface of the electric meter is specifically as follows: one of the eight fill lights is selected as the first light, and starting from the first light, the remaining seven fill lights are marked as the second light, the third light, the fourth light, and finally the eighth light in sequence; Starting from light No. 1, control light No. 1, light No. 2, light No. 3, and finally light No. 8 to light up in sequence, lighting up one fill light each time, and using the image acquisition module to capture an image after each fill light is lit; The image of the electric meter display interface collected when the No. 1 lamp is on is recorded as the No. 1 reference image; The image of the electric meter display interface collected when the second lamp is on is recorded as the second reference image; The image of the meter display interface collected when the No. 3 light is on is recorded as the No. 3 reference image; By analogy, a fourth reference image, a fifth reference image, a sixth reference image, a seventh reference image, and an eighth reference image are obtained.

4. The intelligent debugging method of the power user information collection terminal according to claim 3 is characterized in that: The automatic debugging may further include: Collect debug image: Obtain four edges of the electric meter display interface, and obtain four intersection points formed by the intersection of the four edges in pairs, randomly select one of the intersection points, and mark the position of the intersection point on the electric meter display interface as a reference point; Control eight fill lights to turn off; Starting from light No. 1, control light No. 1, light No. 2, light No. 3, and finally light No. 8 to light up in sequence, lighting up one fill light each time, and using the image acquisition module to capture an image after each fill light is lit; The image of the meter display interface collected when the No. 1 lamp is on is recorded as the No. 1 debugging image; The image of the meter display interface collected when the No. 2 lamp is on is recorded as the No. 2 debugging image; The image of the meter display interface collected when the No. 3 light is on is recorded as the No. 3 debugging image; And so on, we get debug image No. 4, debug image No. 5, debug image No. 6, debug image No. 7 and debug image No. 8; For each debugging image, obtain the position of the reference point on the meter display interface in the debugging image, establish a rectangular coordinate system with the reference point as the origin, and make each debugging image in the first quadrant of the rectangular coordinate system; Analyze the debugging image and obtain the debugging result.

5. The intelligent debugging method of the power user information collection terminal according to claim 4 is characterized in that: The step of analyzing the debugging image and obtaining the debugging result includes: Execute the influence determination strategy: Grayscale processing is performed on the eight debugging images to form a first grayscale debugging diagram, a second grayscale debugging diagram, a third grayscale debugging diagram, and finally an eighth grayscale debugging diagram; A pixel difference strategy is performed on grayscale images with adjacent numbers.

6. The intelligent debugging method of the power user information collection terminal according to claim 5 is characterized in that: The pixel difference strategy is executed on grayscale adjustment images with adjacent numbers, including: Execute pixel difference strategy on grayscale adjustment diagram No. 1 and grayscale adjustment diagram No. 2, grayscale adjustment diagram No. 2 and grayscale adjustment diagram No. 3, grayscale adjustment diagram No. 3 and grayscale adjustment diagram No. 4, and finally grayscale adjustment diagram No. 8 and grayscale adjustment diagram No. 1 respectively; The two grayscale adjustment images currently executing the pixel difference strategy are respectively recorded as the first image and the second image; Calculate the difference between each pixel in the first image and the second image: Get the pixel position of each pixel in the first image and the second image respectively, recorded as (x, y); Extract the brightness value of each pixel of the first image, denoted as I1(x,y), which represents the brightness value of the first image at the pixel position (x,y); Extract the brightness value of each pixel of the second image, recorded as I2(x,y), which represents the brightness value of the second image at the pixel position (x,y); Then the difference value of each pixel Difference(x,y)=I1(x,y)-I2(x,y); A rectangular coordinate system is established, and the coordinates corresponding to each differential value are the pixel position, and the differential value is the brightness value of the pixel, to generate a differential map; Set a determination threshold Y for determining whether a pixel belongs to a change area; Get the pixel whose differential value is positive and greater than Y, determine that the pixel belongs to the change area, record it as the change pixel, traverse all pixels, and get all the change pixels; Count the distribution of changed pixels in the difference image, and mark the area composed of changed pixels as the shadow area in the difference image; Obtain eight difference images formed after executing the pixel difference strategy on all grayscale adjustment images; If the eight difference images are all marked with shadow areas, the eight difference images with marked shadow areas are analyzed to obtain the debugging results; Otherwise, determine whether there is a uniformly diffuse bright spot feature.

7. The intelligent debugging method of the power user information collection terminal according to claim 6 is characterized in that: If the eight difference images are all marked with shadow areas, the eight difference images with marked shadow areas are analyzed to obtain debugging results, including: A difference map formed by executing the pixel difference strategy on the first grayscale adjustment image and the second grayscale adjustment image is recorded as the first difference map; A difference map formed by executing the pixel difference strategy on the second grayscale adjustment image and the third grayscale adjustment image is recorded as the second difference map; A difference map formed by executing the pixel difference strategy on the third grayscale adjustment image and the fourth grayscale adjustment image is recorded as the third difference map; This is done in the same way until a difference map formed by executing the pixel difference strategy on the eighth grayscale adjustment map and the first grayscale adjustment map is recorded as the eighth difference map; Obtain the marked shadow areas in the eight difference images respectively, obtain the center point of the shadow area in each difference image, obtain the pixel position where the center point is located, and record it as the shadow center coordinates of each difference image; Obtain the center coordinates of the shadows in the difference maps in sequence, from the first difference map, the second difference map, the third difference map to the eighth difference map, and connect the center coordinates of the shadows in sequence; Get the sequential direction of the coordinates of the centers of the connected shadows, recorded as the shadow direction; Obtain the order in which the first light, the second light, the third light, and finally the eighth light are lit up in sequence, and record it as the lighting direction; The sequential directions include: clockwise and counterclockwise; If the shadow direction is consistent with the light direction, the automatic debugging is deemed to have failed and a manual maintenance request is sent.

8. The intelligent debugging method of the power user information collection terminal according to claim 6 is characterized in that: The determining whether there is a uniformly diffuse bright spot feature includes: Extract the brightness value of each pixel in the first grayscale adjustment chart, the second grayscale adjustment chart, the third grayscale adjustment chart, and finally the eighth grayscale adjustment chart, and calculate the average brightness value of all pixels, which is recorded as the average brightness value of each grayscale adjustment chart; Take 1.5 times the average brightness value of each grayscale adjustment image as the highlight threshold to determine whether the brightness value is highlight; In each grayscale debugging image, compare the brightness value of each pixel with the highlight threshold; Pixels with brightness values ​​greater than the highlight threshold are recorded as highlight pixels; Get the area formed by the highlighted pixels in each grayscale debugging image, record it as the highlighted area, and get the pixel where the center point of each highlighted area is located, record it as the highlighted center pixel of each highlighted area; Get the pixel position of each highlighted center pixel in each grayscale debugging image; Label each highlighted center pixel in each grayscale debugging image in ascending order according to the X coordinate value of the pixel position; Get the highlighted center pixel position in the grayscale debugging image No. 1, and record it as the selected pixel position; Set the radius of the circle used to determine whether the position change is obvious, denoted by R; In each grayscale debugging image, a circle is drawn with the selected pixel position as the center and R as the radius; Compare the positions of the highlighted central pixels in each grayscale debugging image to determine whether the highlighted central pixels with the same number in each grayscale debugging image are located in the same circular region; If the highlighted central pixels with the same number in each grayscale debugging image are located in the same circular region, it is determined that there is a uniformly diffuse bright spot feature, and then the overall brightness is detected to see if it decreases; Otherwise, the automatic debugging is deemed to have failed and a manual maintenance request is sent.

9. The intelligent debugging method of the power user information collection terminal according to claim 8 is characterized in that: The detection of whether the overall brightness decreases is specifically as follows: Grayscale the first reference image, the second reference image, the third reference image, and finally the eighth reference image to obtain the first grayscale reference image, the second grayscale reference image, the third grayscale reference image, and finally the eighth grayscale reference image; The brightness value of each pixel in each grayscale reference image is extracted respectively, and the average brightness value of all pixels is calculated, which is recorded as the average brightness value of each grayscale reference image; Get the average brightness value of each grayscale adjustment picture respectively; Calculate the average brightness value of each grayscale reference image, and take 10% of the average value as the brightness change threshold for determining whether the brightness value changes significantly; Sequentially obtain the average brightness value differences between the first grayscale reference image and the first grayscale adjustment chart, the second grayscale reference image and the second grayscale adjustment chart, the third grayscale reference image and the third grayscale adjustment chart, until the eighth grayscale reference image and the eighth grayscale adjustment chart, and compare them with the brightness change threshold value respectively; If the differences among the eight average brightness values ​​are all positive and are greater than or equal to the brightness change threshold, it is determined that the overall brightness has decreased, and the delayed data collection strategy is executed; Otherwise, the automatic debugging is deemed to have failed, and a manual maintenance request is sent; The time-delay data acquisition strategy is specifically as follows: Collect and record the temperature information of the environment where the electric meter is located; The temperature information of the recorded electric meters is compared, and when the detected temperature changes from gradually increasing to gradually decreasing, the node that changes to decreasing temperature is recorded as a temperature change point; After waiting for 1 hour after the temperature changes, the image acquisition module is used again to acquire an image of the meter display interface, and the power consumption information displayed on the meter is obtained based on the acquired image of the meter display interface.

10. A system using the intelligent debugging method of the power user information collection terminal according to claim 1, characterized in that: include: Electricity meter: used to collect information on the amount of electricity used by electricity users; Fill light: used to fill light for the meter display interface; Image acquisition module: used to acquire images of the meter display interface; Image processing module: used to process the collected images; Image recognition module: used to identify digital information in images; Temperature collection module: used to collect and record the temperature information of the environment where the meter is located; Lighting control module: used to control the lighting and extinguishing of the fill light; Communication module: used to send manual maintenance requests.

Citation Information

Patent Citations

  • Light supplement lamp night mirror reflection adjusting method based on big data analysis

    CN115393611A

  • Pump energy efficiency real-time monitoring system and method based on intelligent dial plate recognition

    CN117846945A