An off-line power distribution room inspection review method and system based on end-side uncertainty shunting
By using the end-side uncertainty diversion method in the power distribution room inspection, the problems of inaccurate image recognition results and network environment limitations were solved, realizing an efficient and accurate inspection process in the absence of network, ensuring strict verification of key equipment and a closed loop in the inspection process.
Patent Information
- Application Number
- CN202611454683.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-18
- Publication Date
- 2026-11-27
AI Technical Summary
In existing power distribution room inspections, image recognition results are prone to low confidence, similar candidate results, or insufficient photo quality. Furthermore, it is difficult to reliably call the server-side verification program in weak network or no public network environment, resulting in unusable photos, difficulty in retaking photos, and unclear accountability. In addition, the server cannot arrange the verification order according to the risk level, which can easily cause critical equipment samples to be mixed with ordinary samples.
The method adopts an edge-side uncertainty-based traffic splitting approach. It dynamically determines the processing path by performing photo quality evaluation, comprehensive uncertainty value calculation, and dynamic review threshold generation on the tablet side, and transmits the review synchronization package during offline synchronization. The server side performs difference analysis and updates.
In a network-free environment, on-site quality assessment and uncertainty evaluation were achieved, reducing memory usage and inference burden, improving the accuracy and efficiency of inspections, ensuring strict verification of key equipment, reducing unnecessary verifications, and forming a closed-loop inspection process.
Smart Images

Figure CN123181933A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the fields of power distribution room inspection, end-side image recognition, offline data synchronization and server verification technology, specifically to an offline power distribution room inspection and verification method and system based on end-side uncertainty diversion. Background Technology
[0002] Substation inspections typically include steps such as arrival confirmation, equipment verification, status identification, defect verification, and record archiving. The types of objects inspected on-site are numerous, including identification objects such as substation doorplates, location codes, switch cabinet numbers, and equipment nameplates; operational status objects such as instrument readings, switch open / closed positions, indicator light status, and pressure plate activation / deactivation status; and defective or environmental objects such as leaks, damage, foreign object obstruction, abnormal fire-fighting equipment, and abnormal ambient temperature and humidity. These objects often appear consecutively in the same inspection task, and significant differences in shooting distance, lighting conditions, cabinet door reflections, obstructions, and personnel shooting habits can easily lead to low confidence levels, similar candidate results, or insufficient image quality in the end-side identification results.
[0003] In existing offline inspection methods, tablet terminals are mostly used for taking photos, filling out forms, and simple task workflows. Although some systems have added image recognition or OCR recognition functions on the device side, they often use fixed confidence thresholds for judgment: high confidence scores are passed, while low confidence scores are flagged as abnormal or handed over to the backend for processing. This approach is difficult to adapt to the significant differences in risk among different equipment and inspection items in power distribution room inspections. For example, photos of ordinary environments, general fire-fighting equipment, and critical switchgear status should not be subject to the same review conditions; historical defective equipment, defect elimination review points, and critical topology nodes should also not be judged using the same rules as ordinary equipment. If a uniformly lenient threshold is used, misjudgments of critical statuses are not easily detected; if a uniformly strict threshold is used, a large number of ordinary photos will enter the review process, increasing the pressure on manual or server-side review.
[0004] In environments with weak networks or no public network, tablet terminals cannot reliably access server-side verification programs. Inspection personnel still need to be on-site to promptly determine if photos are blurry, targets are complete, equipment numbers match, and key statuses are identifiable. Otherwise, discovering unusable photos only after offline synchronization to the server can lead to difficulties in reshooting, task rework, and unclear accountability. Furthermore, tablet terminals are limited by computing power, memory, and power consumption, making it difficult to maintain all recognition models for extended periods. If doorplate recognition, cabinet number recognition, instrument readings, switch status, indicator light recognition, pressure plate status, and defect recognition models are all continuously running, it increases startup time, inference latency, and power consumption, hindering stable operation on ordinary inspection tablets.
[0005] Existing USB or offline media synchronization methods typically focus on uploading original images, manually entered results, and task records. After receiving the data, the server often only sees the final photo and a small number of structured fields, unable to obtain information about the candidate categories, confidence distribution, photo quality evaluation, reasons for low confidence, and triggering conditions for review during edge recognition. This leads to two problems: first, the server cannot arrange the review order according to the degree of risk and uncertainty, easily causing critical equipment samples to be mixed with ordinary samples; second, even if the server detects errors in edge judgment, it is difficult to translate the reasons for the errors into actionable threshold revisions, rule revisions, or model updates, and similar problems may recur in the future.
[0006] Therefore, a terminal-server collaborative verification method is needed for offline power distribution room inspection scenarios. This method enables the tablet to load necessary models on-site according to the inspection stage, perform quality judgment and uncertainty evaluation on the collected samples, and dynamically determine the processing path such as re-taking, on-site approval, waiting for server verification, or manual confirmation based on equipment importance, historical defect situation, and inspection step risks. At the same time, during offline synchronization, not only the original images are transmitted, but also a verification synchronization package that can explain the basis of the terminal's judgment. After verification, the server further generates difference samples and terminal update packages, so that the terminal's thresholds, rules, and optional model parameters can be corrected in subsequent inspections. Summary of the Invention
[0007] To address the aforementioned issues, this invention provides an offline power distribution room inspection and verification method and system based on end-side uncertainty shunting.
[0008] The specific plan is as follows:
[0009] An offline power distribution room inspection and verification method based on end-side uncertainty shunting includes the following steps:
[0010] S1. Inspection Stage Division and Model Loading: Based on the inspection task sheet, the on-site inspection of the power distribution room is divided into multiple inspection stages. On the tablet, the corresponding lightweight recognition model is loaded according to the current inspection stage. The collected images are recognized on the device side, and the recognition results and associated data are generated. After the stage is completed, the model cache of the non-current stage is released.
[0011] S2. Photo quality evaluation: Evaluate the photo quality of the images collected for each inspection sample, and normalize the evaluation results into a photo quality score.
[0012] S3. Calculation of comprehensive uncertainty value: Based on the confidence level and probability distribution information output by the edge recognition model, and combined with the photo quality score, calculate the comprehensive uncertainty value;
[0013] S4. Dynamic review threshold generation: Generate dynamic review thresholds based on equipment importance, historical defect status, and inspection step risks;
[0014] S5. End-side diversion: Perform end-side diversion based on the comprehensive uncertainty value and the dynamic verification threshold to determine the processing path for each inspection sample;
[0015] S6. Review and Synchronization Package Generation: During the offline synchronization phase, a review and synchronization package is generated and exported.
[0016] S7. Server review and difference weight calculation: After receiving the review synchronization packet, the server sorts and reviews the samples, compares the conclusions of the client side with the server review conclusions, and calculates the review difference weights.
[0017] S8. Sample classification: The server classifies the samples according to the review difference weights to obtain a set of difficult samples;
[0018] S9. Update package generation and synchronization update: The server generates an update package based on the set of difficult samples, and the tablet receives and verifies the update during the next synchronization.
[0019] Furthermore, in step S1, based on the inspection task sheet, the on-site inspection of the power distribution room is divided into five stages: on-site confirmation, equipment coverage, status identification, defect verification, and record archiving. The tablet loads the corresponding lightweight recognition model according to the current stage, and performs photo quality evaluation, target coverage check, OCR recognition, status identification, and initial screening of common defects on the images collected by the inspection personnel. The tablet generates candidate results, confidence level, probability distribution summary, photo quality score, triggering reason, and inspection context fields. The tablet does not process all photos with the same confidence threshold. Instead, it combines photo quality, model output divergence, equipment importance, historical defect records, and inspection step risks to calculate a comprehensive uncertainty value and a dynamic review threshold, thereby determining the path of on-site re-shooting, on-site conclusion, pending server review, or manual confirmation.
[0020] The inspection phase and model loading serve as the starting point of the entire closed-loop process. The arrival confirmation phase processes the substation doorplate, location code, inspection task number, and arrival photos, loading the doorplate OCR model, location code recognition model, and task matching rules onto the tablet. The equipment coverage phase confirms the target cabinet, cabinet number, equipment nameplate, shooting angle, and target coverage ratio, loading the cabinet number recognition model, target detection model, and coverage area judgment rules onto the tablet. The status recognition phase processes instrument readings, switch positions, indicator light colors, and pressure plate activation / deactivation status, loading the instrument reading model, status classification model, and color recognition rules onto the tablet. The defect verification phase identifies leaks, damage, foreign object obstruction, fire equipment anomalies, and environmental anomalies, loading a common defect screening model and defect location marking rules onto the tablet. The record archiving phase checks the integrity of photos, the closed-loop status of inspection items, and the consistency of manual notes, loading record integrity verification rules and an event flow quality inspection module onto the tablet. After each phase is completed, the tablet releases the model cache for non-current phases, retaining only necessary data such as sample number, recognition summary, confidence level, quality score, and trigger reason, thereby reducing resource consumption caused by irrelevant models remaining resident.
[0021] Further, in step S2, for each inspection sample, the tablet first evaluates the photo quality. The photo quality evaluation includes at least one of the following: blurriness, exposure, occlusion, target proportion, shooting angle, and key area integrity. Blurriness is determined by edge sharpness, Laplacian response, or local texture changes. Exposure is determined by the brightness histogram and the proportion of overexposed and underexposed pixels. Occlusion and target proportion can be determined by the overlap between the target detection box, the key area box, and the inspection template area. The above results are normalized to form a photo quality score. The corresponding reasons for quality deductions are retained. Quality evaluation is not a standalone final conclusion, but rather incorporated into uncertainty calculations.
[0022] Further, in step S3, the edge recognition model outputs the highest confidence category, the candidate category set, and a probability distribution summary; for OCR-type inspection items, the candidate categories are door number, cabinet number, equipment number, or instrument reading string; for status-type inspection items, the candidate categories are statuses such as open, closed, red light, green light, in operation, and out of service; for defect-type inspection items, the candidate categories are categories such as normal, leaking, damaged, obstructed, foreign object, or missing fire-fighting equipment; the highest confidence level... The normalized output of the first candidate result from the edge model is the information entropy normalized value. The probability distribution is calculated from the candidate probability distribution and is used to reflect whether the model oscillates between multiple similar candidates; the flat end calculates the first [probability distribution] based on the above information. The overall uncertainty value of each inspection sample:
[0023]
[0024] in, For the first The overall uncertainty value of each inspection sample; This represents the confidence level of the end-side identification model for the highest-confidence candidate result. The information entropy normalization value of the probability distribution output by the edge recognition model is used to represent the degree of divergence among multiple candidate results. Rate the photo quality; , , For the preset weighting coefficients, and The above. , , All values are normalized to the range of 0 to 1, and the weighting coefficients are non-negative. It is also within a comparable normalization range; when the photo is clear, the target is complete, and the model's candidate results are concentrated, and higher The overall uncertainty value is relatively low; however, it increases when the photo is blurry, the candidate results are similar, or the key area is incomplete. This processing allows the endpoint to group "unclear," "uncertain about the model," and "significant discrepancies in candidate results" into the same sample evaluation result, and then pass this result on to subsequent sorting and synchronization stages.
[0025] Further, in step S4, after obtaining the comprehensive uncertainty value, the tablet generates a dynamic review threshold based on equipment importance, historical defect status, and inspection step risk. The equipment importance score comes from the equipment ledger or equipment classification table in the inspection task package; the historical defect score comes from the most recently synchronized defect record, defect elimination status, and review mark on the tablet; the inspection step risk comes from the inspection item configuration table, used to reflect the consequences of misjudgments of the current inspection item, such as switch position, pressure plate status, and instrument over-limit readings, which are usually higher than those in ordinary environmental photos. The above three types of scores are sent to the tablet along with the task and can still be accessed when there is no network connection on site. The dynamic review threshold is determined by the following formula:
[0026]
[0027] in, For the first The dynamic verification threshold for each inspection sample can also be understood as the minimum certainty requirement required for the end-side to give an on-site conclusion. The basic review threshold; Assess the importance of the equipment. Rate historical defects; Risk scoring for inspection steps; , , This is the threshold adjustment coefficient. (The above...) , , All values are normalized to a range of 0 to 1, and the adjustment coefficient is a non-negative number. In actual execution, the flat panel end... Preset upper and lower limits are applied to keep the results within a range where on-site deterministic results are comparable. Since high-risk equipment and high-risk procedures require more stringent verification conditions, this invention incorporates corresponding risk items into dynamic verification thresholds, ensuring that key equipment samples must possess higher certainty before on-site conclusions can be reached. This approach avoids the problem of applying a fixed threshold to all inspection items.
[0028] Furthermore, in step S5, the edge-side traffic splitting is performed in the order of quality priority, risk priority, and rule consistency priority. First, when the photo quality score is lower than the lower quality limit, the tablet does not wait for server review but prompts for reshooting on-site, displaying reasons such as blurriness, overexposure, underexposure, target too small, target missing, cabinet number area obstructed, or shooting angle incorrect. Second, if the photo quality is acceptable, the tablet will... This serves as the deterministic result for the sample, and the deterministic result is compared with the dynamic verification threshold. Comparison; when the deterministic result is not lower than When the edge recognition result does not conflict with the task rules, the tablet generates an on-site conclusion and records the recognition basis, candidate results, and quality score; furthermore, when the deterministic result is lower than... If the sample belongs to critical equipment, equipment with historical defects, defect elimination review point, or mandatory review item, the tablet will mark the sample as pending server review. Finally, when the end-side identification result conflicts with the inspection task rules, such as the collection cabinet number is inconsistent with the task target cabinet number, the instrument reading is outside the reasonable range, the continuous status records of the same equipment are contradictory, or the inspection item is configured as a mandatory manual confirmation item, the tablet will enter the manual confirmation path, requiring the inspection personnel to supplement the on-site remarks, and the manual remarks will be included as part of the review synchronization package.
[0029] Furthermore, in step S6, during the offline synchronization phase, the tablet not only exports the original image but also generates a review synchronization package. The review synchronization package includes at least sample identifiers, original data, edge recognition results, quality and uncertainty data, scene context, and security verification information. Sample identifiers include the inspection task number, power distribution room number, equipment number, inspection item number, collection time, and collection personnel identifier. Original data includes the original image or compressed image, necessary video frames, OCR cropping areas, and defect candidate areas. Edge recognition results include candidate categories, highest confidence levels, probability vector summaries, candidate instrument readings, candidate OCR text, and candidate status results. The system includes candidate defect categories; quality and uncertainty data such as photo quality score, blur marker, exposure marker, occlusion marker, target coverage ratio, comprehensive uncertainty value, dynamic review threshold, and trigger review reason; scenario context including inspection stage, equipment importance score, historical defect marker and historical defect score, inspection step risk score, previous inspection item result, manual remarks, and task rule version; security verification information including synchronization package version number, file hash, device signature or verification code; the synchronization package retains the basis for the conclusion or trigger review on the end side, and the server can trace the reason why the sample was diverted after receiving it, rather than just viewing an original photo.
[0030] Further, in step S7, after receiving the review synchronization package, the server first sorts the samples according to the equipment importance score, historical defect score, inspection step risk score, comprehensive uncertainty value, trigger review reason, and synchronization package integrity. For equipment with high equipment importance scores, historical defect equipment, image quality boundary samples, and samples with large discrepancies in end-side candidate results, the server prioritizes review using the server review module. The server review module includes a fine recognition module, a context verification module, and a rule auditing module. The fine recognition module uses the original image, cropped area, and end-side candidate results as... The input includes re-identifying instrument readings, switch status, indicator light status, pressure plate status, and defect areas; the context verification module reads OCR text, equipment ledger, inspection item names, historical defect records, and manual notes to check whether the identification results match the current equipment and inspection task; the rule audit module checks the consistency of results within the same equipment, the same power distribution room, or the same inspection task, such as whether the same cabinet number is consistent, whether status changes match the operation records, and whether defect review forms a closed loop; the output of the above modules includes the server review conclusion, review confidence level, review basis, and reasons for differences.
[0031] The server further compares the client-side conclusions with the server-side review conclusions and calculates the review difference weights:
[0032]
[0033] in, For the first Weighting of review differences for each inspection sample; This is used to mark the category difference between the conclusions from the endpoint and the conclusions from the server review; when the categories or states are inconsistent, the higher value is used. The normalized result of the difference between the end-side confidence level and the server-verified confidence level is used to reflect the difference between the end-side judgment confidence level and the server judgment confidence level. This represents the risk normalization result for the inspection item to which this sample belongs; , , This refers to the difference weighting coefficient. (The above...) , , All values are normalized to a range of 0 to 1, and the difference weighting coefficient is non-negative and can be configured according to the review strategy. In actual implementation, if the conclusions on the client side and the server side are consistent, Take the lower value; if the switch position, pressure plate status, defect type, or OCR text conclusions are inconsistent, Take the higher value. It is obtained by normalizing the difference in confidence levels between the two ends. Directly read the risk configuration of the inspection items.
[0034] Furthermore, in step S8, the server side... Whether the difference exceeds a preset threshold, the sample will be classified into the difficult sample set, the ordinary review sample set, or the sample set that does not require re-feedback. Among them, the difficult sample set retains the original input from the client, the candidate results from the client, the server review conclusion, the reason for the difference, the associated device information, and the triggering rules, which will serve as the basis for subsequent client updates.
[0035] Further, in step S9, the server generates an executable update package for the device based on the set of difficult samples. The update package primarily includes a threshold calibration package and a rule revision package, and may also include a lightweight model parameter increment package when training and validation conditions are available. The threshold calibration package is used to adjust the basic thresholds and adjustment coefficients for different equipment types, inspection stages, and inspection items. The rule revision package is used to adjust re-shooting conditions, mandatory manual confirmation conditions, equipment number matching rules, reasonable ranges for instrument readings, and defect review rules. The lightweight model parameter increment package is used to correct the device-side model's identification bias for a certain type of equipment appearance, a certain type of instrument area, or a certain type of defect morphology. The tablet receives the update package the next time it synchronizes via USB or other offline media and performs version number, file hash, signature, or checksum checks. After successful verification, the tablet updates its local threshold configuration, review rules, re-shooting rules, mandatory manual confirmation rules, and optional model parameters. If verification fails, the tablet retains the previous version configuration, records the reason for failure, and prompts for re-issuance in subsequent synchronizations. In this way, on-site device-side judgment, offline server verification, and subsequent device-side updates are kept in the same processing chain.
[0036] An offline power distribution room inspection and verification system based on end-side uncertainty shunting includes: a tablet terminal and a server terminal;
[0037] The flat plate end includes:
[0038] The model management module is used to divide the on-site inspection of the power distribution room into multiple inspection stages according to the inspection task sheet, load the corresponding lightweight recognition model according to the current inspection stage, and release the model cache of the non-current stage after each stage is completed.
[0039] The image acquisition module is used to acquire images of the inspection site;
[0040] The edge recognition module is used to perform edge recognition on the acquired images and generate candidate results, confidence scores, probability distribution summaries, photo quality scores, trigger reasons, and inspection context fields.
[0041] The photo quality evaluation module is used to evaluate the photo quality of the images collected for each inspection sample. The quality evaluation includes at least one of the following: blur, exposure, occlusion, target proportion, shooting angle, and key area integrity. The module outputs a photo quality score and the corresponding reasons for quality deduction.
[0042] The deterministic calculation module is used to calculate the comprehensive uncertainty value of each inspection sample based on the highest confidence level and probability distribution information output by the edge recognition model, combined with the photo quality score.
[0043] The dynamic threshold generation module is used to generate dynamic review thresholds based on equipment importance scores, historical defect scores, and inspection step risk scores, and to pre-set upper and lower limits for the calculated dynamic review thresholds.
[0044] The triage decision module is used to perform end-side triage based on the comprehensive uncertainty value and the dynamic review threshold, and determine the processing path for each inspection sample; the processing path includes on-site re-photographing, generating on-site conclusions, marking as pending server review, and entering the manual confirmation path;
[0045] The synchronization package generation module is used to generate a review synchronization package during the offline synchronization phase. The review synchronization package includes at least sample identifier, raw data, end-side identification results, quality and uncertainty data, scene context, and security verification information.
[0046] The update receiving module is used to receive the update package sent by the server during the next synchronization, perform verification, update the local configuration after successful verification, and retain the previous version configuration and record the reason for failure when verification fails.
[0047] The server includes:
[0048] The synchronization packet receiving module is used to receive the verification synchronization packets exported from the tablet.
[0049] The sorting module is used to sort samples based on equipment importance score, historical defect score, inspection step risk score, comprehensive uncertainty value, trigger review reason and synchronization package integrity.
[0050] The review module is used to review the sorted samples, including the fine recognition module, the context verification module, and the rule audit module, and outputs the server review conclusion, review confidence level, review basis, and reasons for differences;
[0051] The difference calculation module is used to compare the conclusions from the client side with the conclusions from the server review, and to calculate the review difference weights.
[0052] The sample classification module is used to classify samples into a difficult sample set, a normal review sample set, or a sample set that does not require re-feedback, based on whether the review difference weight exceeds a preset difference threshold. The difficult sample set retains the original input from the client side, the client side candidate results, the server review conclusion, the reason for the difference, the associated device information, and the triggering rules, as the basis for subsequent client side updates.
[0053] An update package generation module is used to generate an executable update package on the client side based on the set of difficult samples. The update package includes at least one of a threshold calibration package, a rule revision package, and a lightweight model parameter increment package.
[0054] The update package delivery module is used to deliver the update package to the tablet during the next synchronization.
[0055] The beneficial effects of this invention are as follows:
[0056] This invention is applicable to on-site inspections of power distribution rooms in environments with weak networks, no public network, or limited network access. It utilizes a tablet terminal to complete image acquisition, phased lightweight recognition, image quality assessment, uncertainty calculation, and on-site power distribution. After offline synchronization, the server performs verification, difference analysis, and terminal-side update feedback, thus forming a closed-loop processing flow from on-site data acquisition to verification and correction, and then to subsequent inspection parameter updates. Specific advantages are as follows:
[0057] 1. This invention first checks the photo quality and target coverage on the tablet. For photos that are blurry, overexposed, obstructed, have a small target, or have missing key areas, it prompts the user to retake the photo on the spot. This avoids discovering that the photo is unusable only after the inspection is completed on the server side, thereby reducing the difficulty of reshooting and rework.
[0058] 2. This invention does not use the same fixed confidence threshold for all inspection items. Instead, it incorporates equipment importance, historical defect status, and inspection step risks into a dynamic review threshold. Critical equipment, equipment with historical defects, defect elimination review points, and high-risk status identification items can be subject to more stringent review conditions, while ordinary low-risk samples reduce unnecessary reviews.
[0059] 3. Through end-side traffic splitting, samples with acceptable quality and low uncertainty can form on-site conclusions, obviously low-quality samples are retaken on-site, and samples with high uncertainty or high risk are then sent to the server for review. After receiving the synchronization packet, the server can sort and process samples according to equipment importance score, historical defect score, inspection step risk score, uncertainty, and triggering cause, prioritizing samples that have a greater impact on operational safety.
[0060] 4. The review synchronization package of this invention carries candidate results, probability vector summaries, photo quality scores, comprehensive uncertainty values, dynamic review thresholds, and reasons for triggering review. The server no longer only faces the original photo and simple conclusions, but can trace the judgment process on the client side, which facilitates the location of error causes and the generation of subsequent updated content.
[0061] 5. By using phased model loading during inspections, the tablet only loads the necessary model for the current phase and releases irrelevant cache after the phase is completed. This approach helps reduce the memory usage and continuous inference burden of ordinary inspection tablets, making edge-side recognition more suitable for stable operation in offline environments.
[0062] 6. After server-side review, in addition to outputting the final conclusion, a set of difficult samples is formed based on the differences between the endpoint conclusion and the server-side review conclusion. Threshold calibration packages, rule revision packages, and optional model parameter increment packages are then generated. The tablet endpoint verifies and applies these updates during subsequent offline synchronization, ensuring that the endpoint-side traffic splitting conditions and identification rules for similar inspection items can be continuously corrected.
[0063] 7. Each sample entering review or archiving is recorded with the task number, device number, inspection item number, collection time, edge identification summary, quality score, uncertainty value, trigger reason, manual remarks, and verification information. Subsequent reviews, accountability tracing, or rule revisions can trace the sample's processing from collection to server review and edge update along the same data link.
[0064] 8. This invention separates on-site real-time feedback from server verification. The tablet performs necessary quality checks, lightweight identification, and traffic routing in an environment without a public network; the server performs verification and update re-feedback after offline synchronization. This method is suitable for inspection work in power distribution rooms, basements, shielded environments, or secure isolated networks. Attached Figure Description
[0065] Figure 1This is a flowchart of the method of the present invention. Detailed Implementation
[0066] The present invention will be further illustrated below with reference to the accompanying drawings and specific embodiments. It should be understood that the following specific embodiments are for illustrative purposes only and are not intended to limit the scope of the present invention.
[0067] As shown in the figure, this invention provides an offline power distribution room inspection and verification method based on end-side uncertainty shunting, including the following steps:
[0068] S1. Inspection Stage Division and Model Loading: Based on the inspection task sheet, the on-site inspection of the power distribution room is divided into multiple inspection stages. On the tablet, the corresponding lightweight recognition model is loaded according to the current inspection stage. The collected images are recognized on the device side, and the recognition results and associated data are generated. After the stage is completed, the model cache of the non-current stage is released.
[0069] S2. Photo quality evaluation: Evaluate the photo quality of the images collected for each inspection sample, and normalize the evaluation results into a photo quality score.
[0070] S3. Calculation of comprehensive uncertainty value: Based on the confidence level and probability distribution information output by the edge recognition model, and combined with the photo quality score, calculate the comprehensive uncertainty value;
[0071] S4. Dynamic review threshold generation: Generate dynamic review thresholds based on equipment importance, historical defect status, and inspection step risks;
[0072] S5. End-side diversion: Perform end-side diversion based on the comprehensive uncertainty value and the dynamic verification threshold to determine the processing path for each inspection sample;
[0073] S6. Review and Synchronization Package Generation: During the offline synchronization phase, a review and synchronization package is generated and exported.
[0074] S7. Server review and difference weight calculation: After receiving the review synchronization packet, the server sorts and reviews the samples, compares the conclusions of the client side with the server review conclusions, and calculates the review difference weights.
[0075] S8. Sample classification: The server classifies the samples according to the review difference weights to obtain a set of difficult samples;
[0076] S9. Update package generation and synchronization update: The server generates an update package based on the set of difficult samples, and the tablet receives and verifies the update during the next synchronization.
[0077] In this embodiment, a power supply unit issues periodic inspection tasks to a group of substations. Inspection personnel use tablet terminals to enter the site. When the inspection task is issued, it includes the substation number, target equipment list, inspection item list, equipment importance level and corresponding score, historical defect markers and corresponding scores, defect elimination and review markers, the stage to which each inspection item belongs, the risk score of each inspection step, the task rule version, and the terminal model version. The tablet terminal downloads the task package before departure and can perform inspections on-site without relying on a public network connection. This embodiment unfolds according to the task flow sequence. The sample identifiers, identification summaries, quality scores, uncertainty values, and trigger reasons generated at each stage are continuously passed forward for subsequent distribution, synchronization, verification, and feedback.
[0078] After the inspection personnel arrive at the substation entrance, the task enters the arrival confirmation phase. The tablet loads the doorplate OCR model, the location code recognition model, and the arrival task matching rules, releasing model caches unrelated to instrument readings and defect detection. After the inspection personnel photograph the substation doorplate or location code, the tablet first judges whether there are obvious problems such as blurriness, overexposure, missing location code areas, or doorplate areas that are too small. If the photo quality score is below the lower limit, the system directly prompts for retaking the photo and provides the corresponding reason. If the photo quality is acceptable, the on-device OCR model outputs candidate text for the doorplate number, candidate results for the location code, the highest confidence score, and a probability distribution summary. The system compares the recognition results with the substation number in the inspection task. If the numbers match and the uncertainty is low, the arrival confirmation is recorded as passed, and the substation number, task number, and arrival sample identifier are used as context for the subsequent equipment coverage phase. If the numbers do not match or the candidate results are close, it is marked as pending review or manual confirmation, and the inspection personnel are asked to add remarks.
[0079] After the location confirmation is completed, the task enters the equipment coverage phase. The tablet loads the cabinet number recognition model, equipment target detection model, and shooting coverage rules. The inspection personnel sequentially photograph the target switch cabinet, equipment nameplate, and the entire cabinet. The terminal model detects whether the target cabinet, cabinet number area, nameplate area, and key parts required by the inspection items appear in the image, and calculates the target coverage ratio. For cabinet number recognition samples, candidate results can include multiple similar cabinet numbers; for cabinet coverage samples, candidate results can include states such as target completeness, target missingness, partial occlusion, and angle mismatch. The tablet substitutes the recognition confidence, candidate divergence, and quality score into the comprehensive uncertainty formula. If the cabinet number of a key incoming cabinet is occluded, although the model still outputs a high-confidence candidate, the target coverage ratio is insufficient, the photo quality score decreases, and the comprehensive uncertainty value increases accordingly. This sample will not be simply considered as passed, but will enter the reshoot or server review process according to the dynamic threshold; the cabinet number, equipment number, and coverage area that have been confirmed as passed will serve as the basis for locating instruments, switch mechanisms, indicator lights, and pressure plate areas in the subsequent status recognition phase.
[0080] During the state recognition phase, the tablet-side model loads instrument reading models, switch state recognition models, indicator light color recognition rules, and pressure plate state recognition models. Inspectors photograph the ammeter, voltmeter, switch operating mechanisms, indicator light panels, and pressure plate areas. For instrument reading samples, the tablet-side model outputs candidate readings, scale areas, pointer or digital areas, highest confidence level, and a probability vector summary. For switch position samples, the tablet-side model outputs candidate states such as open, closed, or undetermined. For indicator light samples, the tablet-side model combines color areas and task rules to output candidate states such as red, green, off, or abnormal flashing. For pressure plate samples, the tablet-side model outputs candidate states such as engaged, disengaged, obstructed, or unidentifiable. All the above samples are calculated using the same uncertainty formula. And combined with dynamic review thresholds Traffic will be diverted.
[0081] For example, a certain incoming line cabinet is a critical piece of equipment, and its importance is assessed. High; this cabinet has a history of defects, historical defect score. The risk score is also relatively high; the current inspection item is switch position identification, and the inspection step risk score is relatively high. Higher than photos taken in normal environments. The tablet-based system achieves a higher verification requirement using the aforementioned dynamic verification threshold calculation method. If the terminal-side switch status recognition model outputs a high highest confidence level for "closed position," but "vacancy" candidates still account for a certain proportion in the probability distribution, and the shooting angle results in an incomplete identification area for the organization, then the system will consider the overall uncertainty value. Convert to a deterministic result, for example, take and with dynamic review threshold Together with mandatory review rules, these are used for traffic triage. When the deterministic result is insufficient to meet the review requirements of a critical piece of equipment, the system marks the sample as pending server review and records "critical equipment, candidate divergence, incomplete institutional area" in the trigger reason. If the same uncertainty appears in ordinary environmental photos, due to the lower importance of the equipment and the lower risk of the procedure, the review requirements are lower. The end-user can combine the rules to give an on-site conclusion or only require a retake, instead of all photos entering the review queue.
[0082] During the defect verification phase, the tablet loads a common defect screening model and defect location labeling rules. Inspectors photograph the bottom of cabinets, cable trenches, door locks, vents, fire extinguishers, floors, and walls. The tablet performs initial screening for leaks, damage, obstructions by foreign objects, dust accumulation, missing or expired fire extinguishers with unclear labels, etc. For defect samples, the tablet not only outputs normal or abnormal categories but also records candidate defect areas and defect types. If the photo contains local shadows or reflections, the model may diverge between "leakage" and "shadow," increasing the information entropy normalization value and consequently the overall uncertainty value. If the location is also a historical defect review point, the dynamic review threshold increases, requiring higher certainty from the tablet to provide an on-site conclusion; otherwise, the sample enters the server-side review process. Inspectors can add manual notes on the tablet such as "suspected water seepage, no water accumulation observed on-site." These notes are then included in the review synchronization package for the server to judge based on the image and historical records.
[0083] During the record archiving phase, the tablet releases most of the recognition model, retaining only the record integrity verification rules and necessary lightweight quality inspection modules. The system summarizes the sample records left from the aforementioned on-site confirmation, equipment coverage, status recognition, and defect verification phases, checking whether the mandatory photos for the power distribution room task are complete, whether the mandatory manual confirmation items have been annotated, whether the samples to be reviewed contain the original image and recognition summary, whether the retaken samples retain the final valid photos, and whether the cabinet number and status records for the same equipment are consistent. If a valid photo is missing for an inspection item, the system prompts for supplementary collection; if the cabinet number recognition results for the same equipment are inconsistent in different photos, the system packages the relevant samples into a rule conflict group and puts them into the review queue. At this point, the tablet has completed the on-site stage of data collection, recognition, quality judgment, uncertainty diversion, and record archiving. Subsequent offline synchronization packages are generated from these continuously formed sample records.
[0084] After the inspection task is completed, the tablet synchronizes with the server via USB or other offline media. The synchronization program generates a review synchronization package for each sample to be reviewed and key samples to be archived. The synchronization package for a switch status sample may include: inspection task number, power distribution room number, equipment number, inspection item number, acquisition time, inspection stage, original image file name, image hash, switch mechanism cropping area, end-side candidate status, highest confidence score, probability vector summary, image quality score, target coverage ratio, and comprehensive uncertainty value. Dynamic review threshold The synchronization package includes the following information: trigger review reason, equipment importance score, historical defect markers and scores, inspection step risk score, manual remarks, edge model version, task rule version, and synchronization package version number. A synchronization package for an instrument reading sample can further include reading candidates, scale area, numeric area, or pointer area; a synchronization package for an OCR sample can include candidate text, text area, and character-level confidence summary; a synchronization package for a defect sample can include candidate defect area, defect category candidates, and review point markers. After the synchronization package is generated, the tablet calculates the file hash and writes it into the device signature or verification code to avoid file loss or sample mismatch during synchronization.
[0085] After receiving the synchronization packet, the server first performs integrity and version checks. For samples lacking original images, with inconsistent hashes, or with abnormal task rule versions, the server marks them as synchronization anomalies and requests resynchronization or manual handling in the receipt. For samples that pass the integrity check, the server sorts them according to equipment importance score, historical defect score, inspection step risk score, comprehensive uncertainty value, and triggering cause. For example, historical defect review samples, critical equipment status samples, and mandatory manual confirmation samples are ranked higher; ordinary environment photos and samples with stable end-side conclusions are ranked lower. The server calls the fine recognition module to verify the images and simultaneously calls the rule audit module to check equipment ledgers, task rules, historical defects, and previous and subsequent records within the same task. For instrument readings, the server verifies whether the reading candidates fall within a reasonable range; for switch status, the server verifies whether the status recognition is consistent with the operation record; for indicator light status, the server determines whether the color status is abnormal based on the meaning of the inspection item; for defect photos, the server determines whether they belong to the same location and have been eliminated, based on historical defect records.
[0086] After the server outputs the review conclusion, it compares it with the conclusion on the client side and calculates the review difference weight. If the endpoint and server conclusions are consistent and the confidence level difference is small, the sample is included in the regular archive set; if the endpoint conclusion is inconsistent with the server conclusion, or if the endpoint has a high confidence level but the server review considers it an incorrect conclusion, then a category difference label is applied. and confidence difference term Increase; if the sample belongs to a high-risk inspection item, then the risk normalization result... Increase. The server determines whether to add a sample to the difficult sample set based on the aforementioned review difference weighting method. Records in the difficult sample set retain the reasons for the differences, such as "the end-side misinterprets reflection as an indicator light being on", "the end-side generates similar candidate numbers due to partial obstruction of the cabinet number", "the end-side's recognition of angle changes of a certain type of pressure plate is unstable", "the target area of the defect review point photo is offset", etc. These reasons for differences are used to generate executable updates on the end-side later, rather than being saved only as notes for manual review.
[0087] The server generates update packages based on the set of difficult samples. If the discrepancies mainly stem from excessively wide thresholds for a certain type of equipment or inspection item, the server generates a threshold calibration package to adjust the base thresholds and adjustment coefficients for the corresponding equipment type, inspection stage, or inspection item, making it easier for subsequent similar samples to enter the review or re-shooting path. If the discrepancies mainly arise from incomplete task rules, such as missing reasonable reading ranges for a certain type of instrument, incomplete naming rules for a certain type of cabinet number, or mandatory manual annotation for a certain type of historical defect review item, the server generates a rule revision package. If the number and annotation quality of difficult samples meet the training conditions, the server can generate a validated lightweight model parameter increment package to improve the edge model's ability to recognize specific appearances, specific shooting angles, or specific defect morphologies. The update package includes the update type, applicable power distribution room or equipment range, applicable inspection stage, version number, generation time, file hash, signature or checksum, and retains the previous version information required for rollback.
[0088] During the next offline synchronization, the tablet receives the update package from the server. The tablet first checks if the update package version is higher than the local version, then verifies the file hash, signature, or checksum. If the verification passes, the tablet writes the update to its local configuration according to the update type: threshold calibration package update. , , , This includes configuring thresholds for different inspection items; updating retake rules, mandatory manual confirmation rules, cabinet number matching rules, reasonable instrument ranges, and defect closure rules via rule revision packages; and updating lightweight model files for corresponding stages via incremental model parameter packages. After the update is complete, the tablet records the updated version and effective time. If the update package fails to verify, there is a version conflict, or the model file cannot be loaded, the tablet retains the previous version and records the reason for the failure, without affecting the continued execution of the current inspection task. In this way, problems discovered during server review can be returned to the terminal-side processing flow, and subsequent inspections no longer rely solely on the initially set fixed rules.
[0089] In summary, the key technical points of this invention are as follows:
[0090] This invention divides the power distribution room inspection task into five stages: location confirmation, equipment coverage, status identification, defect verification, and record archiving. The tablet-based system loads the corresponding lightweight models and rules according to the current stage. This mechanism allows capabilities such as doorplate OCR, cabinet number recognition, instrument readings, switch status, indicator light recognition, pressure plate status, and initial defect screening to be enabled as needed, avoiding the simultaneous presence of all models. During stage switching, the tablet-based system releases irrelevant model caches, retaining only the recognition summary and fields required for traffic distribution.
[0091] This invention uses a unified approach to express low confidence, candidate divergence, and insufficient image quality in edge-side identification by comprehensively considering uncertainty values. The edge-side system not only stores the final identification conclusion but also the highest confidence level, probability distribution summary, image quality score, and triggering reason, ensuring traceability for each sample when it is subsequently reviewed or archived.
[0092] This invention dynamically adjusts the review threshold based on equipment importance, historical defects, and the risk of inspection steps, making it easier to trigger review or manual confirmation for critical equipment, equipment with historical defects, defect elimination review points, and high-risk status identification items, while avoiding excessive entry of ordinary low-risk photos into the review queue.
[0093] The endpoint first prompts low-quality photos to be retaken on-site to prevent invalid photos from entering the offline review process. For samples with acceptable quality, the endpoint then determines the on-site conclusion and the path for server review or manual confirmation by combining comprehensive uncertainty values, dynamic review thresholds, and task rules. This traffic diversion strategy can still provide timely feedback in situations without public network access.
[0094] The synchronization package of this invention includes not only the original image, but also candidate results, confidence level, probability vector summary, photo quality score, comprehensive uncertainty value, dynamic review threshold, trigger review reason, inspection stage, equipment importance score, historical defect score, inspection step risk score, manual remarks, and security verification information. The server can use this information to understand why the endpoint is uncertain, why traffic is being split, and how review priorities are determined.
[0095] The server sorts the review samples based on the equipment importance score, historical defect score, inspection step risk score, and uncertainty information in the synchronization package, and generates a review conclusion by combining fine identification, context verification, and rule auditing. The server further compares the end-side conclusion with the review conclusion to form a set of difficult samples, and generates a threshold calibration package, a rule revision package, and an optional model parameter increment package based on this.
[0096] After receiving the update packet from the server, the endpoint checks the version, hash, signature, or checksum. If the check passes, the local threshold, rules, and optional model parameters are updated; if the check fails, the previous version is retained and the reason for the failure is recorded to avoid erroneous updates affecting on-site inspections.
[0097] The technical means disclosed in this invention are not limited to those disclosed in the above embodiments, but also include technical solutions composed of any combination of the above technical features. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of this invention, and these improvements and modifications are also considered within the scope of protection of this invention.
Claims
1. A method for offline power distribution room inspection and verification based on end-side uncertainty shunting, characterized in that, include S1. Inspection Stage Division and Model Loading: Based on the inspection task sheet, the on-site inspection of the power distribution room is divided into multiple inspection stages. On the tablet, the corresponding lightweight recognition model is loaded according to the current inspection stage. The collected images are recognized on the device side, and the recognition results and associated data are generated. After the stage is completed, the model cache of the non-current stage is released. S2. Photo quality evaluation: Evaluate the photo quality of the images collected for each inspection sample, and normalize the evaluation results into a photo quality score. S3. Calculation of comprehensive uncertainty value: Based on the confidence level and probability distribution information output by the edge recognition model, and combined with the photo quality score, calculate the comprehensive uncertainty value; S4. Dynamic review threshold generation: Generate dynamic review thresholds based on equipment importance, historical defect status, and inspection step risks; S5. End-side diversion: Perform end-side diversion based on the comprehensive uncertainty value and the dynamic verification threshold to determine the processing path for each inspection sample; S6. Review and Synchronization Package Generation: During the offline synchronization phase, a review and synchronization package is generated and exported. S7. Server review and difference weight calculation: After receiving the review synchronization packet, the server sorts and reviews the samples, compares the conclusions of the client side with the server review conclusions, and calculates the review difference weights. S8. Sample classification: The server classifies the samples according to the review difference weights to obtain a set of difficult samples; S9. Update package generation and synchronization update: The server generates an update package based on the set of difficult samples, and the tablet receives and verifies the update during the next synchronization.
2. The offline power distribution room inspection and verification method based on end-side uncertainty shunting according to claim 1, characterized in that, In step S1, the on-site inspection of the power distribution room is divided into five stages based on the inspection task sheet: on-site confirmation, equipment coverage, status identification, defect verification, and record archiving. The tablet loads the corresponding lightweight recognition model according to the current stage, and performs photo quality evaluation, target coverage check, OCR recognition, status identification, and initial screening of common defects on the images collected by the inspection personnel. The tablet generates candidate results, confidence level, probability distribution summary, photo quality score, triggering reason, and inspection context fields on the device. The process involves several stages: First, the arrival confirmation stage processes the distribution room doorplate, location code, inspection task number, and arrival photos. The tablet loads the doorplate OCR model, location code recognition model, and task matching rules. Second, the equipment coverage stage confirms the target cabinet, cabinet number, equipment nameplate, shooting angle, and target coverage ratio. The tablet loads the cabinet number recognition model, target detection model, and coverage area judgment rules. Third, the status recognition stage processes instrument readings, switch positions, indicator light colors, and pressure plate activation / deactivation status. The tablet loads the instrument reading model, status classification model, and color recognition rules. Fourth, the defect verification stage identifies leaks, damage, foreign object obstruction, fire equipment anomalies, and environmental anomalies. The tablet loads a common defect screening model and defect location marking rules. Fifth, the record archiving stage checks the integrity of photos, the closure of inspection items, and the consistency of manual notes. The tablet loads record integrity verification rules and an event flow quality inspection module. After each stage is completed, the tablet releases the model cache for stages other than the current one, retaining only the necessary data: sample number, recognition summary, confidence level, quality score, and trigger reason.
3. The offline power distribution room inspection and verification method based on end-side uncertainty shunting according to claim 1, characterized in that, In step S2, for each inspection sample, the tablet first evaluates the photo quality; the photo quality evaluation includes at least one of blur, exposure, occlusion, target proportion, shooting angle and key area integrity; blur is determined by edge sharpness, Laplacian response or local texture change; Exposure is determined by the brightness histogram and the proportion of overexposed and underexposed pixels; occlusion and target proportion can be determined by the overlap between the target detection bounding box, the key region bounding box, and the inspection template area; the above results are normalized to form a photo quality score. And retain the corresponding reasons for the quality deduction.
4. The offline power distribution room inspection and verification method based on end-side uncertainty shunting according to claim 1, characterized in that, In step S3, the edge recognition model outputs the highest confidence category, the candidate category set, and a probability distribution summary. For OCR-type inspection items, the candidate categories are door number, cabinet number, equipment number, or instrument reading string. For status-type inspection items, the candidate categories are statuses such as open position, closed position, red light, green light, in operation, and out of operation. For defect-related inspection items, candidate categories include normal, leakage, damage, obstruction, foreign objects, or missing fire-fighting equipment; highest confidence level. The normalized output of the first candidate result from the edge model is the information entropy normalized value. The probability distribution is calculated from the candidate probability distribution and is used to reflect whether the model oscillates between multiple similar candidates; the flat end calculates the first [probability distribution] based on the above information. The overall uncertainty value of each inspection sample: in, For the first The overall uncertainty value of each inspection sample; This represents the confidence level of the end-side identification model for the highest-confidence candidate result. The information entropy normalization value of the output probability distribution of the edge recognition model is used to represent the degree of divergence among multiple candidate results; Rate the photo quality; , , For the preset weighting coefficients, and .
5. The offline power distribution room inspection and verification method based on end-side uncertainty shunting according to claim 1, characterized in that, In step S4, after obtaining the comprehensive uncertainty value, the tablet terminal generates a dynamic review threshold based on the equipment importance, historical defect status, and inspection step risks; the equipment importance score comes from the equipment ledger or equipment classification table in the inspection task package. Historical defect scores are derived from the most recent defect records, defect elimination status, and review marks synchronized to the tablet. The risks associated with the inspection steps originate from the inspection item configuration table, which reflects the consequences of misjudgments for the current inspection item. The three types of scores mentioned above are distributed to the tablet along with the task and can still be accessed even without a network connection on-site. The dynamic review threshold is determined using the following formula: in, For the first The dynamic review threshold for each inspection sample; The basic review threshold; Assess the importance of the equipment. Rate historical defects; Risk scoring for inspection steps; , , This is the threshold adjustment coefficient.
6. The offline power distribution room inspection and verification method based on end-side uncertainty shunting according to claim 1, characterized in that, In step S5, the end-side traffic splitting is performed in the order of quality priority, risk priority, and rule consistency priority. First, when the photo quality score is lower than the quality lower limit, the tablet does not wait for the server to review, but prompts for reshooting on-site and displays reasons such as blurriness, overexposure, underexposure, target too small, target missing, cabinet number area being blocked, or shooting angle not matching. Secondly, assuming the photo quality is acceptable, the tablet will... This serves as the deterministic result for the sample, and the deterministic result is compared with the dynamic verification threshold. In comparison, among them, For the first The overall uncertainty value of each inspection sample; when the deterministic result is not lower than When the edge recognition result does not conflict with the task rules, the tablet generates an on-site conclusion and records the recognition basis, candidate results, and quality score; furthermore, when the deterministic result is lower than... If the sample belongs to critical equipment, equipment with historical defects, defect elimination and review points, or mandatory review items, the tablet will mark the sample as pending server review. Finally, when the end-side identification result conflicts with the inspection task rules, the tablet will enter the manual confirmation path, requiring the inspection personnel to supplement the on-site notes, and the manual notes will be included as part of the review synchronization package.
7. The offline power distribution room inspection and verification method based on end-side uncertainty shunting according to claim 1, characterized in that, In step S6, during the offline synchronization phase, the tablet not only exports the original images, but also generates a verification synchronization package; the verification synchronization package includes at least the sample identifier, original data, edge recognition results, quality and uncertainty data, scene context, and security verification information. The sample identifiers include the inspection task number, power distribution room number, equipment number, inspection item number, collection time, and personnel identification; the raw data includes the original image or compressed image, necessary video frames, OCR cropped areas, and defect candidate areas; the edge recognition results include candidate categories, highest confidence scores, probability vector summaries, instrument reading candidates, OCR candidate text, status candidate results, and defect category candidates. Quality and uncertainty data include photo quality score, blur mark, exposure mark, occlusion mark, target coverage ratio, overall uncertainty value, dynamic review threshold and trigger review reason; scene context includes inspection stage, equipment importance score, historical defect mark and historical defect score, inspection step risk score, previous inspection item result, manual remarks and task rule version. Security verification information includes the synchronization package version number, file hash, device signature or checksum; the synchronization package retains the basis for the conclusions reached on the end side or for triggering review, and the server side can trace the reason why the sample was diverted after receiving it, rather than just viewing an original photo.
8. The offline power distribution room inspection and verification method based on end-side uncertainty shunting according to claim 1, characterized in that, In step S7, after receiving the review synchronization package, the server first sorts the samples according to the equipment importance score, historical defect score, inspection step risk score, comprehensive uncertainty value, trigger review reason, and synchronization package integrity. For equipment with high equipment importance scores, historical defect equipment, image quality boundary samples, and samples with large discrepancies in end-side candidate results, the server prioritizes review using the server review module. The server review module includes a fine recognition module, a context verification module, and a rule auditing module. The fine recognition module takes the original image, the cropped area and the end side candidate results as input to re-identify the instrument readings, switch status, indicator light status, pressure plate status and defect area; The context verification module reads OCR text, equipment ledger, inspection item names, historical defect records, and manual notes to check whether the recognition results match the current equipment and inspection task; the rule audit module checks the consistency of results within the same equipment, the same power distribution room, or the same inspection task; the outputs of the above modules include the server's review conclusion, review confidence level, review basis, and reasons for differences; The server further compares the client-side conclusions with the server-side review conclusions and calculates the review difference weights: in, For the first Weighting of review differences for each inspection sample; This is used to mark the category difference between the conclusions from the endpoint and the conclusions from the server review; when the categories or states are inconsistent, the higher value is used. The normalized result of the difference between the end-side confidence level and the server-verified confidence level is used to reflect the difference between the end-side judgment confidence level and the server judgment confidence level. This represents the risk normalization result for the inspection item to which this sample belongs; , , For difference weighting coefficients; In step S8, the server side, according to the first Weight of verification differences for each inspection sample Whether the difference exceeds a preset threshold, the sample will be classified into the difficult sample set, the ordinary review sample set, or the sample set that does not require re-feedback. Among them, the difficult sample set retains the original input from the client, the candidate results from the client, the server review conclusion, the reason for the difference, the associated device information, and the triggering rules, which will serve as the basis for subsequent client updates.
9. The offline power distribution room inspection and verification method based on end-side uncertainty shunting according to claim 1, characterized in that, In step S9, the server generates an executable update package for the device based on the set of difficult samples. The update package primarily includes a threshold calibration package and a rule revision package, and may also include a lightweight model parameter increment package when training and validation conditions are available. The threshold calibration package is used to adjust the basic thresholds and adjustment coefficients for different equipment types, inspection stages, and inspection items. The rule revision package is used to adjust the re-shooting conditions, mandatory manual confirmation conditions, equipment number matching rules, reasonable range of instrument readings, and defect review rules. The lightweight model parameter increment package is used to correct the identification bias of the device model for a certain type of equipment appearance, a certain type of instrument area, or a certain type of defect morphology. The tablet receives the update package the next time it synchronizes via USB or other offline media and performs version number, file hash, signature, or check code checks. After successful verification, the tablet updates the local threshold configuration, review rules, re-shooting rules, mandatory manual confirmation rules, and optional model parameters. If the verification fails, the tablet retains the previous version configuration, records the reason for the failure, and prompts for re-issuance in subsequent synchronizations.
10. An offline power distribution room inspection and verification system based on end-side uncertainty shunting, characterized in that, Including tablet and server-side devices; The flat plate end includes: The model management module is used to divide the on-site inspection of the power distribution room into multiple inspection stages according to the inspection task sheet, load the corresponding lightweight recognition model according to the current inspection stage, and release the model cache of the non-current stage after each stage is completed. The image acquisition module is used to acquire images of the inspection site; The edge recognition module is used to perform edge recognition on the acquired images and generate candidate results, confidence scores, probability distribution summaries, photo quality scores, trigger reasons, and inspection context fields. The photo quality evaluation module is used to evaluate the photo quality of the images collected for each inspection sample. The quality evaluation includes at least one of the following: blur, exposure, occlusion, target proportion, shooting angle, and key area integrity. The module outputs a photo quality score and the corresponding reasons for quality deduction. The deterministic calculation module is used to calculate the comprehensive uncertainty value of each inspection sample based on the highest confidence level and probability distribution information output by the edge recognition model, combined with the photo quality score. The dynamic threshold generation module is used to generate dynamic review thresholds based on equipment importance scores, historical defect scores, and inspection step risk scores, and to pre-set upper and lower limits for the calculated dynamic review thresholds. The triage decision module is used to perform end-side triage based on the comprehensive uncertainty value and the dynamic review threshold, and determine the processing path for each inspection sample; the processing path includes on-site re-photographing, generating on-site conclusions, marking as pending server review, and entering the manual confirmation path; The synchronization package generation module is used to generate a review synchronization package during the offline synchronization phase. The review synchronization package includes at least sample identifier, raw data, end-side identification results, quality and uncertainty data, scene context, and security verification information. The update receiving module is used to receive the update package sent by the server during the next synchronization, perform verification, update the local configuration after successful verification, and retain the previous version configuration and record the reason for failure when verification fails. The server-side includes: The synchronization packet receiving module is used to receive the verification synchronization packets exported from the tablet. The sorting module is used to sort samples based on equipment importance score, historical defect score, inspection step risk score, comprehensive uncertainty value, trigger review reason and synchronization package integrity. The review module is used to review the sorted samples, including the fine recognition module, the context verification module, and the rule audit module, and outputs the server review conclusion, review confidence level, review basis, and reasons for differences; The difference calculation module is used to compare the conclusions from the client side with the conclusions from the server review, and to calculate the review difference weights. The sample classification module is used to classify samples into a difficult sample set, a normal review sample set, or a sample set that does not require re-feedback, based on whether the review difference weight exceeds a preset difference threshold. The difficult sample set retains the original input from the client side, the client side candidate results, the server review conclusion, the reason for the difference, the associated device information, and the triggering rules, as the basis for subsequent client side updates. An update package generation module is used to generate an executable update package on the client side based on the set of difficult samples. The update package includes at least one of a threshold calibration package, a rule revision package, and a lightweight model parameter increment package. The update package delivery module is used to deliver the update package to the tablet during the next synchronization.
