A power equipment world model construction method and device, equipment and medium

By constructing a power equipment scene containing three-dimensional Gaussian primitives and embedding rules, the problems of lack of semantic information and difficulty in integrating security constraints in existing power equipment modeling are solved. This achieves a high-fidelity three-dimensional representation and rule calculation capability for power equipment world model, supporting intelligent inspection and safety management.

CN123181732APending Publication Date: 2026-11-27CHINA ELECTRIC POWER RESEARCH INSTITUTE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611475694.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-21
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing digital modeling methods for power equipment lack the ability to extract and automatically identify the semantic information of power equipment and its internal small-scale target components in a scene, and it is difficult to automatically convert the safety constraints in power regulations into data attributes in three-dimensional space. As a result, the model lacks the ability to model in a unified way from equipment to environment to rules.

Method used

By acquiring multi-view images of power equipment scenarios and power regulations text, a 3D Gaussian scene containing 3D Gaussian primitives is constructed. Two-dimensional object detection and mask segmentation are performed, statistical category evidence is collected and aggregated into 3D semantic objects, and structured rules are matched with 3D semantic objects and rules are embedded to construct a world model of power equipment.

Benefits of technology

It achieves the integration of high-fidelity 3D representation of power equipment and safety rules, solves the shortcomings of static visualization in traditional 3D modeling methods, provides a solid foundation for intelligent inspection and safety management, and enhances the model's ability to predict risks and verify safety during complex operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123181732A_ABST
    Figure CN123181732A_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of model construction, and discloses a power equipment world model construction method, device, equipment and medium, the present application obtains the multi-view image and power regulation text of power equipment scene, and constructs the three-dimensional Gaussian scene containing three-dimensional Gaussian primitive according to the multi-view image; two-dimensional target detection and mask segmentation are carried out on the multi-view image, and a two-dimensional mask is obtained; the category evidence of three-dimensional Gaussian primitive falling into the two-dimensional mask is counted, and the target primitive in the three-dimensional Gaussian primitive is aggregated into a three-dimensional semantic object according to the category evidence; the structured rule is obtained by performing rule semantic analysis on the power regulation text; the structured rule is matched with the three-dimensional semantic object, and the three-dimensional semantic object after rule enhancement is obtained; the power equipment world model is constructed according to the three-dimensional semantic object after rule enhancement and the three-dimensional Gaussian scene, and the present application overcomes the defect that the traditional digital model can only be statically displayed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of model construction technology, specifically to a method, apparatus, equipment, and medium for constructing a world model of power equipment. Background Technology

[0002] In current intelligent power inspection and digital auxiliary management, it is usually necessary to perform digital 3D modeling of power equipment scenarios to realize the 3D appearance display and spatial physical measurement of the equipment, thereby providing basic data support for inspection and operation safety management.

[0003] However, existing technologies have the following shortcomings when constructing power equipment models: First, existing digital modeling methods for power equipment mostly rely on point cloud reconstruction or single 3D visualization modeling, which can only achieve static visualization display and lack the fine extraction and automatic recognition of semantic information of power equipment and its internal small-scale target components in the scene, resulting in insufficient ability to express the spatial structure and semantic association of equipment components; Second, existing 3D modeling methods lack the ability to integrate operational safety rules and cannot automatically convert safety constraints in power regulations into data attributes in 3D space, making it difficult to achieve effective matching of safety rules and 3D semantic objects, resulting in existing digital models lacking unified modeling capabilities from equipment to environment to rules. Summary of the Invention

[0004] This invention provides a method, apparatus, device, and medium for constructing a world model of power equipment, in order to solve the problems of insufficient expressive ability of spatial structure and semantic association of equipment components and lack of unified modeling ability from equipment to environment to rules.

[0005] In a first aspect, the present invention provides a method for constructing a world model of power equipment, comprising: Acquire multi-view images of power equipment scenes and power regulations text, and construct a 3D Gaussian scene containing 3D Gaussian primitives based on the multi-view images; Two-dimensional target detection and mask segmentation are performed on multi-view images to obtain a two-dimensional mask; We statistically analyze the category evidence that three-dimensional Gaussian primitives fall into two-dimensional masks, and based on the category evidence, we aggregate the target primitives in the three-dimensional Gaussian primitives into three-dimensional semantic objects. The text of power regulations is subjected to rule semantic parsing to obtain structured rules; The structured rules are matched with the three-dimensional semantic objects, and the rules are embedded into the successfully matched three-dimensional semantic objects to obtain the rule-enhanced three-dimensional semantic objects. Based on the rule-enhanced 3D semantic objects and the 3D Gaussian scene, a world model of power equipment is constructed.

[0006] Beneficial Effects: By acquiring multi-view images and constructing a 3D Gaussian scene containing 3D Gaussian primitives, a high-fidelity 3D representation of static power equipment scenes is achieved. Through 2D target detection and mask segmentation of multi-view images, and statistical analysis of the category evidence of 3D Gaussian primitives falling into 2D masks, target primitives are aggregated into 3D semantic objects, achieving refined 3D target recognition and semantic generation without manual 3D annotation. The parsed structured rules are matched with the 3D semantic objects, and the successfully matched 3D semantic objects are embedded with rules. Finally, a world model of the power equipment is constructed by combining the 3D Gaussian scene. This solution solves the problems of traditional 3D modeling methods, which can only achieve static visualization and are difficult to integrate equipment semantics, spatial relationships, and safety operation constraints. It realizes the leap from a simple visual reconstruction model to a world model with rule calculation capabilities, providing a solid foundation for intelligent inspection, embodied operations, and safety management.

[0007] In one optional implementation, acquiring multi-view images of the power equipment scene includes: Acquire video or multi-view images of power equipment scenes, and extract frames from the video during acquisition to obtain candidate frames; Calculate the image sharpness, visibility and redundancy of the corresponding area in the power equipment scene of the candidate frames, and determine the first keyframe from the candidate frames based on the image sharpness, visibility and redundancy. Calculate the view complementarity between the remaining candidate frames and the first keyframe, and generate a reconstruction contribution score based on the image sharpness, visibility, redundancy, and view complementarity of the remaining candidate frames. Based on the reconstruction contribution score, the remaining keyframes are determined from the remaining candidate frames, and a multi-view image is composed of the first keyframe and the remaining keyframes.

[0008] Beneficial Effects: By extracting frames from video footage of power equipment scenes to obtain candidate frames, and comprehensively calculating the image sharpness, visibility of corresponding regions, redundancy, and viewpoint complementarity between candidate frames and the first keyframe, a reconstruction contribution score is scientifically generated to determine the first and remaining keyframes. This scheme overcomes the camera pose instability issues easily caused by reflective metal, screen areas, repetitive textures, and local occlusion in power equipment scenes, accurately selecting the most representative and high-quality image combinations, thereby improving the stability and model accuracy of subsequent 3D Gaussian scene reconstruction.

[0009] In one alternative implementation, the three-dimensional Gaussian element includes a center location, a covariance matrix, opacity, color, and Gaussian features; Based on multi-view images, a 3D Gaussian scene containing 3D Gaussian primitives is constructed, including: Based on the multi-view images, the camera pose is recovered, and based on the camera pose, the initial 3D Gaussian scene is obtained; Obtain detail-preserving constraints for the boundaries of power equipment and small component regions, and construct optimization objectives based on the detail-preserving constraints; Based on the optimization objective, the initial 3D Gaussian scene is optimized to obtain the 3D Gaussian scene.

[0010] Beneficial effects: By specifically acquiring detail-preserving constraints for the boundaries and small component areas of power equipment, and incorporating these constraints into a preset optimization objective, the initial 3D Gaussian scene is refined. This approach can take into account both the macroscopic power equipment itself and the microscopic small-scale operable parts, resulting in a more stable and clear representation of local fine structures such as cabinet boundaries, control panel areas, displays, buttons, knobs, and switches during 3D reconstruction. This overcomes the shortcomings of traditional 3D reconstruction methods that struggle to balance the overall structure with small components.

[0011] In one optional implementation, two-dimensional target detection and mask segmentation are performed on the multi-view image to obtain a two-dimensional mask, including: Two-dimensional target detection and mask segmentation are performed on multi-view images to obtain two-dimensional bounding boxes, two-dimensional masks, category labels, and detection confidence scores for power equipment and key components in the multi-view images.

[0012] Beneficial effects: By obtaining 2D bounding boxes, 2D masks, category labels, and detection confidence scores for power equipment and key components in multi-view images, this scheme can fully utilize mature 2D visual detection technology to provide rich, fine-grained planar semantic prior data for 3D space, even under conditions of extremely limited 3D detection annotation data. This significantly reduces the cost of 3D supervised training for a wide variety of power equipment types, providing a reliable data foundation for unsupervised 3D target aggregation.

[0013] In one alternative implementation, statistical evidence of the category of three-dimensional Gaussian elements falling into a two-dimensional mask includes: The visibility weights of the 3D Gaussian elements are determined by projecting them onto different viewpoints. Based on visibility weights and detection confidence, the evidence strength of a 3D Gaussian unit falling into different 2D masks is calculated, and the evidence strength is used as category evidence.

[0014] Beneficial effects: By projecting 3D Gaussian primitives onto different viewpoints, the visibility weights of primitives in each viewpoint are determined, and the evidence strength of primitives falling into different 2D masks is calculated together with the detection confidence level as category evidence. This scheme can accurately quantify the probability that each 3D Gaussian point belongs to a specific 2D semantic category, scientifically and rigorously transferring multi-view 2D semantic information to 3D point clouds across dimensions, significantly improving the accuracy of semantic evidence mapping.

[0015] In one alternative implementation, target primitives in a 3D Gaussian primitive are aggregated into a 3D semantic object based on category evidence, including: Based on the maximum value of evidence strength, the consistency of multi-perspective semantic evidence of 3D Gaussian units, and the prior of the operable region at the component level, the seed score of each 3D Gaussian unit is calculated, and the 3D Gaussian unit corresponding to the highest seed score is used as the seed. Based on the Gaussian features of the 3D Gaussian primitive, Gaussian segmentation feature similarity is calculated, and feature similarity is calculated based on Gaussian segmentation feature similarity, spatial proximity between the seed and the 3D Gaussian primitive, and semantic consistency. The seed and three-dimensional Gaussian primitives that meet the preset feature similarity threshold and spatial distance threshold are used as target primitives, and the target primitives are aggregated into three-dimensional instances. Generate a 3D semantic box for the 3D instance to obtain a 3D semantic object.

[0016] Beneficial Effects: By comprehensively considering the maximum strength of evidence, the consistency of semantic evidence from multiple perspectives, and prior calculation of operable regions at the component level to accurately select seeds, and then combining Gaussian segmentation feature similarity, spatial proximity, and semantic consistency to calculate feature similarity, target primitives that meet the threshold are aggregated into 3D instances and 3D semantic boxes are generated. This scheme designs a greedy mapping strategy that can solve the problems of dense power equipment components, small targets being easily swallowed by large targets, and 3D boxes being prone to drift. It automatically and accurately generates 3D semantic objects with category boundaries without the need for manual 3D annotation.

[0017] In one optional implementation, the power regulations text is subjected to rule semantic parsing to obtain structured rules, including: The equipment objects, operation actions, equipment status, safety distances, spatial relationship constraints, triggering conditions, and risk levels extracted from the power regulations text will be used as structured rules.

[0018] Beneficial effects: By accurately extracting equipment objects, work actions, equipment status, safety distances, spatial relationship constraints, triggering conditions, and risk levels as structured rules, this solution can transform unstructured power safety regulations and work task specifications, which are difficult for computers to process directly, into multi-dimensional structured elements that are readable and computable by the system. This lays a standardized data foundation for the subsequent integration of safety rules into the physical three-dimensional spatial model.

[0019] In one optional implementation, structured rules are matched with three-dimensional semantic objects, and the successfully matched three-dimensional semantic objects are embedded with rules to obtain rule-enhanced three-dimensional semantic objects, including: Determine the matching results between structured rules and three-dimensional semantic objects; When the matching result is successful, the detection box of the 3D semantic object is obtained. Based on the safety distance, the distance from the spatial point in the 3D Gaussian scene to the detection box is calculated, and a 3D safety boundary is generated in the region where the distance is less than or equal to the safety distance. Calculate the safe distance and the difference between the distances, and construct a risk trigger function based on the difference, the risk factors between the operation and the equipment status, and the risk level; The risk value is calculated by the risk trigger function. When the risk value is greater than the preset threshold, the risk trigger condition is generated. The structured rules, the three-dimensional safety boundary and the risk trigger condition are written into the attributes of the three-dimensional semantic object to obtain the rule-enhanced three-dimensional semantic object.

[0020] Beneficial effects: Upon successful matching, a 3D safety boundary is generated by calculating the distance from spatial points in the 3D Gaussian scene to the detection box of the 3D semantic object. This distance is then combined with the difference, risk factor, and risk level to construct a risk trigger function, which in turn generates risk trigger conditions. Finally, these constraints are written into the attributes of the 3D semantic object. This approach endows 3D entity objects, which originally only possessed static visual features, with business semantics, safety boundaries, and proactive risk assessment capabilities. It constructs a quantifiable and computationally calculable virtual boundary, significantly improving the model's risk prediction and safety verification capabilities in complex operational processes.

[0021] In one alternative implementation, determining the matching result between the structured rules and the three-dimensional semantic object includes: Calculate the similarity of equipment type and equipment name between equipment objects and three-dimensional semantic objects, and calculate the matching degree between operation actions and operable attributes of three-dimensional semantic objects, as well as the matching degree between spatial relationship constraints and spatial relationship of three-dimensional semantic objects, and generate matching scores; The matching result is determined based on the matching score.

[0022] Beneficial effects: By quantitatively calculating the similarity of equipment type and equipment name between equipment objects and 3D semantic objects, and supplementing this with the matching degree of operation actions and operable attributes, as well as spatial relationship matching degree, a matching score is generated. When the score is greater than a preset matching threshold, a successful match is determined. This scheme ensures that the abstract rules parsed from the procedure text can be seamlessly and accurately attached to the corresponding physical entities of equipment in 3D space, avoiding mismatches during rule attachment and guaranteeing the high rigor of the mapping between physical space and logical rules in the world model.

[0023] Secondly, the present invention provides a power equipment world model construction device, comprising: The acquisition module is used to acquire multi-view images of power equipment scenes and power regulations text, and to construct a three-dimensional Gaussian scene containing three-dimensional Gaussian primitives based on the multi-view images. The mask segmentation module is used to perform two-dimensional target detection and mask segmentation on multi-view images to obtain a two-dimensional mask. The statistics module is used to count the category evidence of three-dimensional Gaussian primitives falling into two-dimensional masks, and to aggregate the target primitives in the three-dimensional Gaussian primitives into three-dimensional semantic objects based on the category evidence. The semantic parsing module is used to perform rule semantic parsing on power regulations text to obtain structured rules; The rule embedding module is used to match structured rules with 3D semantic objects, and to embed the rules into the successfully matched 3D semantic objects to obtain rule-enhanced 3D semantic objects. The building module is used to construct a world model of power equipment based on the rule-enhanced 3D semantic objects and the 3D Gaussian scene.

[0024] Thirdly, the present invention provides an electronic device, comprising: a memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the computer instructions to perform a method for constructing a world model of a power device as described in the first aspect or any corresponding embodiment.

[0025] Fourthly, the present invention provides a computer-readable storage medium storing computer instructions for causing a computer to execute a method for constructing a world model of an electrical device as described in the first aspect or any corresponding embodiment thereof.

[0026] Fifthly, the present invention provides a computer program product, including computer instructions, which are used to cause a computer to execute a method for constructing a world model of power equipment as described in the first aspect or any corresponding embodiment thereof. Attached Figure Description

[0027] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0028] Figure 1 This is a first flowchart illustrating a method for constructing a world model of power equipment according to an embodiment of the present invention; Figure 2 This is a schematic diagram of the second process of a method for constructing a world model of power equipment according to an embodiment of the present invention; Figure 3 This is a schematic diagram of the third process of a method for constructing a world model of power equipment according to an embodiment of the present invention; Figure 4 This is a schematic diagram of the fourth process of a method for constructing a world model of power equipment according to an embodiment of the present invention; Figure 5 This is a schematic diagram of the fifth process of a method for constructing a world model of power equipment according to an embodiment of the present invention; Figure 6 This is a schematic diagram of the sixth process of a method for constructing a world model of power equipment according to an embodiment of the present invention; Figure 7 This is a schematic diagram of a power equipment world model training method according to an embodiment of the present invention; Figure 8 This is a structural block diagram of a power equipment world model building device according to an embodiment of the present invention; Figure 9 This is a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present invention. Detailed Implementation

[0029] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0030] It is understood that before using the technical solutions disclosed in the various embodiments of the present invention, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in the present invention and their authorization should be obtained in accordance with relevant laws and regulations through appropriate means.

[0031] This addresses the shortcomings of related technologies in digital modeling of power equipment, such as the lack of refined extraction capabilities of semantic information of target components and the difficulty in integrating and matching safety rules from power regulations texts onto entity objects.

[0032] This invention acquires multi-view images of power equipment scenes and constructs a 3D Gaussian scene containing 3D Gaussian primitives, serving as the foundation for high-fidelity 3D spatial representation. Secondly, to address the challenge of automatic semantic recognition of target components, 2D target detection and mask segmentation are performed on the multi-view images to obtain 2D masks. The category evidence of 3D Gaussian primitives falling into the 2D mask is statistically analyzed, and target primitives are aggregated into 3D semantic objects based on this category evidence, achieving cross-dimensional semantic extraction. Finally, to overcome the system's lack of unified modeling capabilities from equipment to environment to rules, rule semantic parsing is performed on the acquired power regulations text to obtain structured rules. These structured rules are rigorously matched with 3D semantic objects, and the successfully matched 3D semantic objects are embedded with rules to obtain rule-enhanced 3D semantic objects. Finally, based on the rule-enhanced 3D semantic objects and the 3D Gaussian scene, a power equipment world model integrating the equipment's spatial physical structure, component semantic attributes, and operational safety constraints is constructed.

[0033] According to an embodiment of the present invention, a method for constructing a world model of power equipment is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0034] This embodiment provides a method for constructing a world model of electrical equipment, which can be used in the aforementioned electronic devices. Figure 1 This is a schematic diagram of the first process of a method for constructing a world model of power equipment according to an embodiment of the present invention, as shown below. Figure 1 As shown, the process includes the following steps: Step S101: Obtain multi-view images of the power equipment scene and power regulations text, and construct a three-dimensional Gaussian scene containing three-dimensional Gaussian primitives based on the multi-view images.

[0035] Specifically, a power equipment scenario refers to a typical power scenario with complex spatial structures and high operational safety requirements, including substations, distribution rooms, switchgear, and cable tunnels. Multi-view images refer to image data collected from multiple perspectives, encompassing the appearance of power equipment and its spatial environment. Power regulations texts refer to text documents containing safety rules such as power operation specifications, safety boundaries, and operational restrictions. Three-dimensional Gaussian units are basic spatial units used to represent the fundamental geometric structure and visual features of a three-dimensional scene. A three-dimensional Gaussian scene refers to a high-fidelity static basic scene composed of multiple three-dimensional Gaussian units, capable of providing a refined three-dimensional representation of the power equipment itself and its components.

[0036] The system acquires multi-view images of power equipment scenes and power regulations text, performs 3D modeling based on the multi-view images, initializes and optimizes multiple 3D Gaussian primitives in space, and thus constructs a 3D Gaussian scene.

[0037] Step S102: Perform two-dimensional target detection and mask segmentation on the multi-view image to obtain a two-dimensional mask.

[0038] Specifically, 2D target detection and mask segmentation refers to a processing method that uses visual detection technology to identify and segment the contours of electrical equipment entities in 2D planar images. A 2D mask refers to segmentation data obtained after mask segmentation, used to accurately represent the boundaries and contour shapes of various electrical equipment target regions on a 2D plane in multi-view images.

[0039] Two-dimensional target detection and mask segmentation are performed on multi-view images. This allows for the automatic extraction of two-dimensional boundaries of various power equipment entities in the image plane and the generation of two-dimensional masks through visual algorithms, without the need for manual annotation of three-dimensional data. This provides planar dimensional localization support and semantic prerequisites for subsequent mapping of two-dimensional planar data to three-dimensional space.

[0040] Step S103: Statistically analyze the category evidence that the three-dimensional Gaussian primitives fall into the two-dimensional mask, and based on the category evidence, aggregate the target primitives in the three-dimensional Gaussian primitives into a three-dimensional semantic object.

[0041] Specifically, category evidence refers to the association strength or probability of each 3D Gaussian primitive falling within a specific 2D mask and being determined to belong to a particular device category when projected onto a 2D viewpoint. Target primitives refer to 3D Gaussian primitives that, after evidence statistics and feature comparison, meet the conditions of 3D spatial connectivity and semantic clustering. A 3D semantic object refers to a 3D physical device entity with a 3D spatial bounding box and specific device category attribute labels, generated by aggregating multiple target primitives in 3D space.

[0042] The constructed 3D Gaussian primitives are projected onto a multi-view plane, and the category evidence of 3D Gaussian primitives falling into a 2D mask is statistically analyzed. Based on the category evidence, target primitives that meet the conditions are selected from a large number of 3D Gaussian primitives, and the target primitives are aggregated in 3D space into 3D semantic objects with complete physical structural meaning. This achieves unsupervised 3D target detection and automatic semantic assignment for the main body and components of power equipment.

[0043] Step S104: Perform rule semantic parsing on the power regulations text to obtain structured rules.

[0044] Specifically, rule semantic parsing refers to the process of accurately identifying and extracting specific elements related to operational safety from unstructured natural language text. Structured rules refer to the structured data expression form that is transformed from power regulations text through parsing, and can be read, invoked, and used as conditions for spatial risk calculation by computer models.

[0045] By performing rule semantic parsing on the power regulations text, extracting and converting it into structured rules with standardized calculation formats, the original 3D model, which only had visual display capabilities, can obtain accurate safety calculation basis, providing pre-constraint data for rule fusion.

[0046] Step S105: Match the structured rules with the three-dimensional semantic objects, and embed the rules into the successfully matched three-dimensional semantic objects to obtain the rule-enhanced three-dimensional semantic objects.

[0047] Specifically, rule embedding refers to the process of writing relevant safety constraints from confirmed applicable structured rules as data attributes into 3D model entities. Rule-enhanced 3D semantic objects are advanced 3D objects that, in addition to their original 3D geometry and semantic categories, are further bound with rule constraint attributes such as safety boundaries and restricted areas, possessing the ability to calculate risks.

[0048] The structured rules are automatically compared and matched with the aggregated 3D semantic objects to find applicable entity targets. When the applicability is confirmed and the match is successful, the matching 3D semantic objects are embedded with rules, and the corresponding safety constraints and risk judgment conditions are bound to the corresponding physical space targets. This transforms ordinary spatial visual objects into rule-enhanced 3D semantic objects with the ability to constrain operational safety rules.

[0049] Step S106: Construct a world model of power equipment based on the rule-enhanced 3D semantic objects and the 3D Gaussian scene.

[0050] Specifically, the world model of power equipment refers to a unified digital platform that integrates high-fidelity three-dimensional geometric representation, equipment semantic classification representation, and rule-based safety constraint representation. It can not only realize the three-dimensional static display of equipment appearance, but also support complex dynamic spatial simulation and operation safety management calculation.

[0051] Based on the rule-enhanced 3D semantic objects and 3D Gaussian scenes, comprehensive data integration and unified storage were carried out to construct a complete and logically rigorous world model of power equipment that covers multiple elements from equipment to environment to rules. This realizes the expansion of 3D scenes from a visual reconstruction model to a rule-computable world model, providing solid data fusion support for intelligent inspection and embodied robot operations.

[0052] The world model of power equipment constructed in this invention is represented as shown in formula (1): (1) in, Represents a world model of electrical equipment. Represents a 3D Gaussian scene. This represents the set of three-dimensional semantic targets of power equipment and its components, that is, the set of aggregated three-dimensional semantic objects. This represents the set of rules obtained from parsing the power regulations text, i.e., structured rules. This represents safety boundaries, restricted areas, and operational constraint areas, including the generated 3D safety boundaries. This section describes the task, the task object, and the risk triggering conditions, including the generated risk triggering conditions.

[0053] This embodiment provides a method for constructing a world model of power equipment. It acquires multi-view images to construct a 3D Gaussian scene containing 3D Gaussian primitives, achieving a high-fidelity 3D representation of static power equipment scenes. By performing 2D target detection and mask segmentation on the multi-view images and statistically analyzing the category evidence of 3D Gaussian primitives falling into the 2D mask, target primitives are aggregated into 3D semantic objects, achieving refined 3D target recognition and semantic generation without manual 3D annotation. The parsed structured rules are matched with the 3D semantic objects, and the successfully matched 3D semantic objects are embedded with rules. Finally, the power equipment world model is constructed by combining the 3D Gaussian scene. This solution solves the problems of traditional 3D modeling methods, which can only achieve static visualization and are difficult to integrate equipment semantics, spatial relationships, and safety operation constraints. It realizes the leap from a simple visual reconstruction model to a world model with rule calculation capabilities, providing a solid foundation for intelligent inspection, embodied operations, and safety management.

[0054] This embodiment provides a method for constructing a world model of electrical equipment, which can be used in the aforementioned electronic devices. Figure 2 This is a schematic diagram of the second process of a method for constructing a world model of power equipment according to an embodiment of the present invention, as shown below. Figure 2 As shown, the process includes the following steps: Step S201: Obtain multi-view images of the power equipment scene and power regulations text, and construct a three-dimensional Gaussian scene containing three-dimensional Gaussian primitives based on the multi-view images.

[0055] Specifically, step S201 includes: Step S2011: Acquire video or multi-view images of the power equipment scene, and extract frames from the video during acquisition to obtain candidate frames.

[0056] Specifically, candidate frames refer to the set of image data to be further filtered after extracting frames from the video of the power equipment scene according to a set frame rate.

[0057] The system acquires video or multi-view images of power equipment scenes. When acquiring video, it performs frame extraction on the video. Through continuous frame extraction, it obtains a preliminary image set containing different time series and basic viewpoints, thereby obtaining candidate frames.

[0058] Step S2012: Calculate the image sharpness, visibility of the corresponding area in the power equipment scene, and redundancy of the candidate frames. Based on the image sharpness, visibility, and redundancy, determine the first keyframe from the candidate frames.

[0059] Specifically, image sharpness refers to the texture validity or clarity of the image in the candidate frame. Visibility refers to the visibility of the corresponding area in the power equipment scene within the current image. Redundancy refers to the degree of duplication between the current image and previously acquired image content. The first keyframe refers to the base image frame selected first from the candidate frames for initializing the 3D scene.

[0060] The image sharpness, visibility of the corresponding area in the power equipment scene, and redundancy of the candidate frames are calculated. When selecting the first key frame, the view complementarity is not calculated. Only the image sharpness, visibility, and redundancy are used to calculate the initial score. The candidate frames that meet the maximum value condition of the initial score are selected as the first key frame to avoid reconstruction failure caused by unstable initial pose.

[0061] In step S2013, the view complementarity between the remaining candidate frames and the first keyframe is calculated, and a reconstruction contribution score is generated based on the image sharpness, visibility, redundancy, and view complementarity of the remaining candidate frames.

[0062] Specifically, view complementarity refers to the degree of complementarity between the remaining candidate frames and the selected keyframes in terms of view coverage. Reconstruction contribution score is a comprehensive score used to measure the contribution of candidate frames to the quality of subsequent 3D reconstruction.

[0063] The view complementarity between the remaining candidate frames and the first keyframe is calculated. By comprehensively considering factors affecting pose stability such as reflective metal, screen area, repetitive texture and local occlusion, a reconstruction contribution score is generated based on the image sharpness, visibility, redundancy and view complementarity of the remaining candidate frames. The calculation formula for the reconstruction contribution score is shown in formula (2): (2) in, Indicates the first The reconstruction contribution score of each candidate frame. Indicates the first Candidate frames, This indicates the viewpoint complementarity between candidate frames and selected keyframes. Indicates image sharpness or texture validity. Indicates the visibility of critical areas of power equipment. Indicates redundancy. , , , These are the weighting coefficients.

[0064] Step S2014: Based on the reconstruction contribution score, determine the remaining keyframes from the remaining candidate frames, and compose a multi-view image based on the first keyframe and the remaining keyframes.

[0065] Specifically, the remaining keyframes refer to the image frames with high reconstruction value selected from the remaining candidate frames based on the reconstruction contribution score.

[0066] Based on the reconstruction contribution score, image frames that meet the reconstruction quality requirements are selected from the remaining candidate frames in descending order of score and determined as the remaining keyframes. The first keyframe and the remaining keyframes form a multi-view image set for 3D reconstruction. Through this adaptive screening mechanism, low-quality and highly redundant invalid images are excluded.

[0067] Step S2015: Based on the multi-view images, recover the camera pose and obtain the initial 3D Gaussian scene based on the camera pose.

[0068] Specifically, camera pose refers to the spatial position and orientation of the camera when capturing multi-view images. The initial 3D Gaussian scene refers to the unoptimized set of basic 3D Gaussian point clouds initialized using camera pose and image data.

[0069] Based on the multi-view images, the camera pose is recovered, the camera parameters and the initial 3D structure are obtained, and the distribution of Gaussian points in the 3D space is initialized according to the camera pose to obtain the initial 3D Gaussian scene. The initial 3D Gaussian scene and subsequent 3D Gaussian scenes are uniformly represented as shown in formula (3): (3) in, Represents a 3D Gaussian scene. This represents the total number of three-dimensional Gaussian elements. Indicates the first A three-dimensional Gaussian element, Indicates the center position. Represents the covariance matrix. Indicates opacity. Indicates color, This represents the Gaussian characteristic.

[0070] Step S2016: Obtain detail preservation constraints for the power equipment boundary and small component region, and construct the optimization objective based on the detail preservation constraints.

[0071] Specifically, detail preservation constraints refer to the constraints set on local structures such as cabinet boundaries, panel areas, displays, buttons, knobs, and switches to maintain the stability of detail representation, in order to balance the device body and small-scale operable parts. The optimization objective refers to the mathematical model constructed in the 3D Gaussian optimization process to make the scene model approximate a realistic image.

[0072] Detail preservation constraints are obtained for the boundaries and small component areas of power equipment to ensure that each local fine structure has a more stable digital representation during the reconstruction process. An optimization objective is constructed based on the detail preservation constraints, and the optimization objective is represented as shown in Equation (4): (4) in, Indicates the optimization objective. Indicates the rendered color. Represents the true color of the image. This represents a function for calculating SSIM (Structural Similarity). The details should be kept constrained. , , These are the weighting coefficients.

[0073] Step S2017: Optimize the initial 3D Gaussian scene according to the optimization objective to obtain the 3D Gaussian scene.

[0074] Based on the optimization objective, the initial 3D Gaussian scene is iteratively optimized to obtain a 3D Gaussian scene, thereby outputting a high-fidelity digital scene file.

[0075] Step S202 involves performing two-dimensional target detection and mask segmentation on the multi-view image to obtain a two-dimensional mask. For details, please refer to [link to relevant documentation]. Figure 1 Step S102 of the illustrated embodiment will not be described again here.

[0076] Step S203 involves statistically analyzing the category evidence of 3D Gaussian primitives falling into a 2D mask, and then aggregating the target primitives in the 3D Gaussian primitives into a 3D semantic object based on the category evidence. For details, please refer to [link to relevant documentation]. Figure 1 Step S103 of the illustrated embodiment will not be described again here.

[0077] Step S204 involves performing rule semantic parsing on the power regulations text to obtain structured rules. For details, please refer to [link to relevant documentation]. Figure 1 Step S104 of the illustrated embodiment will not be described again here.

[0078] Step S205 involves matching the structured rules with the 3D semantic objects, and embedding the rules into the successfully matched 3D semantic objects to obtain rule-enhanced 3D semantic objects. For details, please refer to [link to relevant documentation]. Figure 1 Step S105 of the illustrated embodiment will not be described again here.

[0079] Step S206: Construct a world model of the power equipment based on the rule-enhanced 3D semantic objects and the 3D Gaussian scene. For details, please refer to [link to relevant documentation]. Figure 1 Step S106 of the illustrated embodiment will not be described again here.

[0080] This embodiment provides a method for constructing a world model of power equipment. It extracts candidate frames from a video of a power equipment scene and comprehensively calculates the image clarity, visibility of corresponding areas, redundancy, and viewpoint complementarity between the candidate frames and the first keyframe. This scientifically generates a reconstruction contribution score to determine the first and remaining keyframes. This approach overcomes the camera pose instability issues caused by reflective metal, screen areas, repetitive textures, and local occlusion in power equipment scenes, accurately selecting the most representative and high-quality image combinations, thereby improving the stability and model accuracy of subsequent 3D Gaussian scene reconstruction. Furthermore, it refines the initial 3D Gaussian scene by specifically acquiring detail-preserving constraints for power equipment boundaries and small component areas and incorporating these constraints into a preset optimization objective. This method can balance the macroscopic power equipment body with microscopic small-scale operable components, resulting in a more stable and clear representation of local fine structures such as cabinet boundaries, control panel areas, displays, buttons, knobs, and switches during 3D reconstruction, overcoming the shortcomings of traditional 3D reconstruction methods that struggle to balance the overall structure with small components.

[0081] This embodiment provides a method for constructing a world model of electrical equipment, which can be used in the aforementioned electronic devices. Figure 3 This is a schematic diagram of the third process of a method for constructing a world model of power equipment according to an embodiment of the present invention, as shown below. Figure 3 As shown, the process includes the following steps: Step S301: Obtain multi-view images of the power equipment scene and power regulation text, and construct a 3D Gaussian scene containing 3D Gaussian primitives based on the multi-view images. For details, please refer to [link to relevant documentation]. Figure 2 Step S201 of the illustrated embodiment will not be described again here.

[0082] Step S302: Perform two-dimensional target detection and mask segmentation on the multi-view image to obtain a two-dimensional mask.

[0083] Specifically, step S302 includes: Step S3021: Perform two-dimensional target detection and mask segmentation on the multi-view image to obtain the two-dimensional bounding boxes, two-dimensional masks, category labels, and detection confidence scores of the power equipment and key components in the multi-view image.

[0084] Specifically, a 2D bounding box refers to the bounding box that encloses the outer contour of electrical equipment and key components in a 2D planar image. Category labels refer to the semantic categories to which the electrical equipment and key components belong, including but not limited to electrical cabinets, control panels, displays, buttons, knobs, switches, and meters. Detection confidence refers to the quantified probability of how confident the visual detection algorithm is in the target recognition result.

[0085] Two-dimensional object detection and mask segmentation are performed on multi-view images to identify target boundaries and semantic categories from each viewpoint. This yields two-dimensional bounding boxes, two-dimensional masks, category labels, and detection confidence scores for power equipment and key components in the multi-view images, providing rich two-dimensional planar semantic prior data for 3D scenes. For the [missing information - likely a specific type of image], [the following is a more detailed explanation of the process]. The detection results from each perspective are shown in formula (5): (5) in, Indicates the first Detection results from various perspectives Index representing the viewpoint Indicates the first The total number of targets detected from each viewpoint Indicates the first The first perspective One detection target, Represents a two-dimensional box. Represents a two-dimensional mask. Indicates category label, This indicates the confidence level of the detection.

[0086] Step S303 involves statistically analyzing the category evidence of 3D Gaussian primitives falling into a 2D mask, and then aggregating the target primitives in the 3D Gaussian primitives into a 3D semantic object based on the category evidence. For details, please refer to [link to relevant documentation]. Figure 2 Step S203 of the illustrated embodiment will not be described again here.

[0087] Step S304 involves performing rule semantic parsing on the power regulations text to obtain structured rules. For details, please refer to [link to relevant documentation]. Figure 2 Step S204 of the illustrated embodiment will not be described again here.

[0088] Step S305 involves matching the structured rules with the 3D semantic objects, and embedding the rules into the successfully matched 3D semantic objects to obtain rule-enhanced 3D semantic objects. For details, please refer to [link to relevant documentation]. Figure 2 Step S205 of the illustrated embodiment will not be described again here.

[0089] Step S306: Construct a world model of the power equipment based on the rule-enhanced 3D semantic objects and the 3D Gaussian scene. For details, please refer to [link to relevant documentation]. Figure 2 Step S206 of the illustrated embodiment will not be described again here.

[0090] This embodiment provides a method for constructing a world model of power equipment. It obtains two-dimensional bounding boxes, two-dimensional masks, category labels, and detection confidence scores for power equipment and key components from multi-view images. This approach, even in the absence of sufficiently detailed 3D detection and annotation data, fully leverages mature 2D visual detection technology to provide rich, fine-grained planar semantic prior data for 3D space. This significantly reduces the cost of supervised 3D training for a wide variety of power equipment types, providing a reliable data foundation for unsupervised 3D target aggregation.

[0091] This embodiment provides a method for constructing a world model of electrical equipment, which can be used in the aforementioned electronic devices. Figure 4 This is a schematic diagram of the fourth process of a method for constructing a world model of power equipment according to an embodiment of the present invention, as shown below. Figure 4 As shown, the process includes the following steps: Step S401: Obtain multi-view images of the power equipment scene and power regulation text, and construct a 3D Gaussian scene containing 3D Gaussian primitives based on the multi-view images. For details, please refer to [link to relevant documentation]. Figure 3 Step S301 of the illustrated embodiment will not be described again here.

[0092] Step S402 involves performing two-dimensional target detection and mask segmentation on the multi-view image to obtain a two-dimensional mask. For details, please refer to [link to relevant documentation]. Figure 3Step S302 of the illustrated embodiment will not be described again here.

[0093] Step S403: Statistically analyze the category evidence that the three-dimensional Gaussian primitives fall into the two-dimensional mask, and based on the category evidence, aggregate the target primitives in the three-dimensional Gaussian primitives into a three-dimensional semantic object.

[0094] Specifically, step S403 includes: Step S4031: Project the 3D Gaussian primitives onto different viewpoints and determine the visibility weights of the 3D Gaussian primitives in each viewpoint.

[0095] Specifically, visibility weight refers to the degree of visibility or rendering contribution weight when a 3D Gaussian primitive is projected onto an image plane at a specific viewpoint.

[0096] By projecting 3D Gaussian primitives onto image planes at different viewpoints and combining the projection function with rendering properties such as the opacity of Gaussian points in space, the visibility weights of 3D Gaussian primitives in each viewpoint are accurately determined.

[0097] Step S4032: Calculate the evidence strength of three-dimensional Gaussian elements falling into different two-dimensional masks based on visibility weight and detection confidence, and use the evidence strength as category evidence.

[0098] Specifically, the strength of evidence refers to the semantic evidence that a three-dimensional Gaussian element belongs to a specific category label.

[0099] Based on visibility weight and detection confidence, the evidence strength of three-dimensional Gaussian elements falling into different two-dimensional masks is statistically calculated across perspectives, and the evidence strength is used as category evidence, realizing the cross-dimensional mapping of two-dimensional semantic information to three-dimensional spatial points. The formula for calculating the evidence strength is shown in formula (6): (6) in, Indicates the first Each three-dimensional Gaussian element belongs to a specific category. Strength of evidence and These are the indices for the viewpoint and the two-dimensional mask, respectively. Indicates an indicator function, Indicates the first Projection function under each viewpoint Indicates the first The center position of a three-dimensional Gaussian element Represents a two-dimensional mask. Indicates category label, Indicates a specific category, Indicates the detection confidence level. Indicates the first The three-dimensional Gaussian element in the first Visibility weights in each perspective.

[0100] Step S4033: Based on the maximum value of evidence strength, the consistency of multi-perspective semantic evidence of 3D Gaussian units, and the prior of the operable region at the component level, calculate the seed score of each 3D Gaussian unit, and take the 3D Gaussian unit corresponding to the highest seed score as the seed.

[0101] Specifically, multi-view semantic evidence consistency refers to the stability and consistency of the semantic categories to which 3D Gaussian primitives belong across multiple perspectives. Component-level operable region prior refers to the weights pre-defined based on device knowledge indicating that the target belongs to an operable region. Seed score is a score used to measure the suitability of a 3D Gaussian primitive as the starting point for 3D instance aggregation. A seed is a high-confidence 3D Gaussian primitive used as the starting point for 3D instance space aggregation.

[0102] Based on the maximum value of evidence strength, the consistency of multi-perspective semantic evidence of 3D Gaussian primitives, and the prior of component-level operable regions, the seed score of each 3D Gaussian primitive is calculated. Through a greedy 2D to 3D mapping strategy, primitives with high confidence, component level, and operable regions are selected first for scoring and sorting. The 3D Gaussian primitive corresponding to the highest seed score is used as the seed. The seed score calculation formula is shown in formula (7): (7) in, Indicates the first Seed score of a three-dimensional Gaussian element. The maximum value representing the strength of evidence. This indicates consistency in semantic evidence from multiple perspectives. This indicates a priori operable areas at the component level. and These are the weighting coefficients. In the... The formula for selecting the seed in the next iteration is shown in formula (8): (8) in, Indicates the first In the next iteration, a three-dimensional Gaussian element is selected as the seed. This indicates taking the parameter value that maximizes the subsequent expression. Indexes representing three-dimensional Gaussian elements, This indicates that the three-dimensional Gaussian set that has been selected as a seed, and the three-dimensional Gaussian primitives that have been assigned to a certain three-dimensional instance are not used as new seeds, thus preserving the hierarchical relationship between the device body and its components.

[0103] Step S4034: Calculate the Gaussian segmentation feature similarity based on the Gaussian features of the 3D Gaussian primitive, and calculate the feature similarity based on the Gaussian segmentation feature similarity, the spatial proximity between the seed and the 3D Gaussian primitive, and the semantic consistency.

[0104] Specifically, Gaussian segmentation feature similarity refers to the degree of semantic feature similarity between different primitives calculated based on Gaussian features. Spatial proximity refers to the degree of physical proximity between the seed and the 3D Gaussian primitives in 3D space. Semantic consistency refers to the degree of similarity in category or color between primitives. Feature similarity is a comprehensive measure of the probability that primitives belong to the same entity instance.

[0105] Based on the Gaussian features of the 3D Gaussian primitives, the Gaussian segmentation feature similarity is calculated. Based on the Gaussian segmentation feature similarity, the spatial proximity between the seed and the 3D Gaussian primitives, and the semantic consistency, the feature similarity is comprehensively calculated to fully measure the connectivity probability of different spatial primitives belonging to the same physical entity of the device. The formula for calculating the feature similarity is shown in formula (9): (9) in, Indicates the first The and the first Feature similarity between three-dimensional Gaussian elements Indicates the similarity of Gaussian segmentation features. Indicates spatial proximity, Indicates semantic consistency. and Indicates the center position. and Indicates Gaussian characteristics, and Indicates category, This represents the Gaussian kernel standard deviation in spatial proximity calculations. , , These are the weighting coefficients.

[0106] Step S4035: Use the seed and the three-dimensional Gaussian primitives that meet the preset feature similarity threshold and spatial distance threshold as target primitives, and aggregate the target primitives into three-dimensional instances.

[0107] Specifically, the preset feature similarity threshold is set through historical sample statistics or manual experience, and is used to determine whether the primitive features are similar enough to be classified as the same instance. The preset spatial distance threshold is set based on prior knowledge of the physical dimensions of power equipment, and is used to limit the maximum distance value of the physical spatial span boundary of the same 3D instance. A 3D instance refers to a complete object entity formed by connecting and aggregating a seed and multiple target primitives that meet the threshold conditions in 3D space.

[0108] Using the seed and three-dimensional Gaussian primitives that meet the preset feature similarity threshold and spatial distance threshold as target primitives, the target primitives are aggregated into three-dimensional instances by utilizing the three-dimensional spatial connectivity and Gaussian feature correlation. This avoids the problem that small targets are easily swallowed up by large targets due to the dense distribution of power equipment components. The formula for generating three-dimensional instances is shown in formula (10): (10) in, Represents a 3D instance. Indices representing the indexes of candidate 3D Gaussian elements. Represents seed With primitive Feature similarity between This represents the preset feature similarity threshold. and Indicates the center position. Indicates the spatial distance between the two. This indicates the preset spatial distance threshold.

[0109] Step S4036: Generate a 3D semantic box for the 3D instance to obtain a 3D semantic object.

[0110] Specifically, a 3D semantic box refers to a 3D physical frame that tightly surrounds the boundary of a 3D instance entity in 3D space and has a fixed size and center position.

[0111] A three-dimensional semantic box is generated for the three-dimensional instance to obtain a three-dimensional semantic object. In the absence of three-dimensional manual annotation data, the three-dimensional physical boundaries and classification labels of the power equipment body and key components are automatically generated. The generation formulas of the three-dimensional semantic box are shown in formulas (11) to (15): (11) (12) (13) (14) (15) in, Represents the minimum coordinate boundary of all center locations in a 3D instance. Indicates the maximum coordinate boundary. Indicates the center position. Indicates the center of the three-dimensional semantic box. This indicates the size of the 3D semantic box. Indicates category, Indicates the detection confidence level. This represents the generated 3D semantic box, and the 3D semantic box and its associated properties together constitute a 3D semantic object.

[0112] Step S404 involves performing rule semantic parsing on the power regulations text to obtain structured rules. For details, please refer to [link to relevant documentation]. Figure 3 Step S304 of the illustrated embodiment will not be described again here.

[0113] Step S405 involves matching the structured rules with the 3D semantic objects, and embedding the rules into the successfully matched 3D semantic objects to obtain rule-enhanced 3D semantic objects. For details, please refer to [link to relevant documentation]. Figure 3 Step S305 of the illustrated embodiment will not be described again here.

[0114] Step S406: Construct a world model of the power equipment based on the rule-enhanced 3D semantic objects and the 3D Gaussian scene. For details, please refer to [link to relevant documentation]. Figure 3 Step S306 of the illustrated embodiment will not be described again here.

[0115] This embodiment provides a method for constructing a world model of power equipment. By projecting 3D Gaussian primitives onto different viewpoints, the visibility weight of each primitive in each viewpoint is determined. This weight, combined with detection confidence, is used to calculate the evidence strength of primitives falling into different 2D masks, serving as category evidence. This scheme can accurately quantify the probability that each 3D Gaussian point belongs to a specific 2D semantic category, scientifically and rigorously transferring multi-view 2D semantic information across dimensions to a 3D point cloud, significantly improving the accuracy of semantic evidence mapping. Furthermore, by comprehensively considering the maximum evidence strength, multi-view semantic evidence consistency, and prior calculation of the operable area at the component level, a seed score is precisely selected. Then, by combining Gaussian segmentation feature similarity, spatial proximity, and semantic consistency, feature similarity is calculated, aggregating target primitives that meet the threshold into 3D instances and generating 3D semantic boxes. This scheme designs a greedy mapping strategy that can solve the problems of dense power equipment components, small targets being easily swallowed by large targets, and 3D boxes easily drifting. It automatically and accurately generates 3D semantic objects with category boundaries without requiring manual 3D annotation.

[0116] This embodiment provides a method for constructing a world model of electrical equipment, which can be used in the aforementioned electronic devices. Figure 5 This is a schematic diagram of the fifth process of a method for constructing a world model of power equipment according to an embodiment of the present invention, as shown below. Figure 5 As shown, the process includes the following steps: Step S501: Obtain multi-view images of the power equipment scene and power regulation text, and construct a 3D Gaussian scene containing 3D Gaussian primitives based on the multi-view images. For details, please refer to [link to relevant documentation]. Figure 4 Step S401 of the illustrated embodiment will not be described again here.

[0117] Step S502: Perform 2D target detection and mask segmentation on the multi-view image to obtain a 2D mask. For details, please refer to [link to relevant documentation]. Figure 4 Step S402 of the illustrated embodiment will not be described again here.

[0118] Step S503: Statistically analyze the category evidence that 3D Gaussian primitives fall into the 2D mask, and based on the category evidence, aggregate the target primitives in the 3D Gaussian primitives into a 3D semantic object. For details, please refer to [link to relevant documentation]. Figure 4 Step S403 of the illustrated embodiment will not be described again here.

[0119] Step S504: Perform rule semantic parsing on the power regulations text to obtain structured rules.

[0120] Specifically, step S504 includes: Step S5041 involves extracting equipment objects, work actions, equipment status, safety distances, spatial relationship constraints, triggering conditions, and risk levels from the power regulations text as structured rules.

[0121] Specifically, "equipment object" refers to the specific type of electrical equipment or component to which the rules apply. "Work action" refers to the operational actions permitted or prohibited on the equipment according to relevant regulations. "Equipment status" refers to the current operating mode of the equipment. "Safe distance" refers to the specified spatial distance limit threshold that personnel or machines must maintain during operation. "Spatial relationship constraints" refers to the rules governing the relative spatial positions between entities. "Triggering condition" refers to the environmental conditions preceding a risk or safety alarm. "Risk level" refers to the severity of the danger resulting from a violation of specific safety rules.

[0122] The input text specifications and job descriptions are extracted, and the equipment objects, job actions, equipment status, safety distance, spatial relationship constraints, triggering conditions, and risk levels extracted from the power regulations text are used as structured rules to transform abstract safety control regulations into machine-readable data that can be embedded in a three-dimensional scene for computation. The structured rule parsing results are shown in formula (16): (16) in, Represents structured rules. Represents a device object. Indicates the work action or equipment status. Indicates a safe distance. Indicates spatial relationship constraints. Indicates the triggering condition. Indicates the risk level.

[0123] Step S505 involves matching the structured rules with the 3D semantic objects, and embedding the rules into the successfully matched 3D semantic objects to obtain rule-enhanced 3D semantic objects. For details, please refer to [link to relevant documentation]. Figure 4 Step S405 of the illustrated embodiment will not be described again here.

[0124] Step S506: Construct a world model of the power equipment based on the rule-enhanced 3D semantic objects and the 3D Gaussian scene. For details, please refer to [link to relevant documentation]. Figure 4 Step S406 of the illustrated embodiment will not be described again here.

[0125] This embodiment provides a method for constructing a world model of power equipment. It accurately extracts equipment objects, operational actions, equipment status, safety distances, spatial relationship constraints, triggering conditions, and risk levels as structured rules. This approach transforms unstructured power safety regulations and operational task specifications, which are difficult for computers to process directly, into multi-dimensional structured elements that are readable and computable by the system. This lays a standardized data foundation for the subsequent integration of safety rules into the physical three-dimensional spatial model.

[0126] This embodiment provides a method for constructing a world model of electrical equipment, which can be used in the aforementioned electronic devices. Figure 6 This is a schematic diagram of the sixth process of a method for constructing a world model of power equipment according to an embodiment of the present invention, as shown below. Figure 6 As shown, the process includes the following steps: Step S601: Obtain multi-view images of the power equipment scene and power regulation text, and construct a 3D Gaussian scene containing 3D Gaussian primitives based on the multi-view images. For details, please refer to [link to relevant documentation]. Figure 5 Step S501 of the illustrated embodiment will not be described again here.

[0127] Step S602 involves performing two-dimensional target detection and mask segmentation on the multi-view image to obtain a two-dimensional mask. For details, please refer to [link to relevant documentation]. Figure 5 Step S502 of the illustrated embodiment will not be described again here.

[0128] Step S603: Statistically analyze the category evidence that 3D Gaussian primitives fall into the 2D mask, and based on the category evidence, aggregate the target primitives in the 3D Gaussian primitives into a 3D semantic object. For details, please refer to [link to relevant documentation]. Figure 5 Step S503 of the illustrated embodiment will not be described again here.

[0129] Step S604 involves performing rule semantic parsing on the power regulations text to obtain structured rules. For details, please refer to [link to relevant documentation]. Figure 5 Step S504 of the illustrated embodiment will not be described again here.

[0130] Step S605: Match the structured rules with the three-dimensional semantic objects, and embed the rules into the successfully matched three-dimensional semantic objects to obtain the rule-enhanced three-dimensional semantic objects.

[0131] Specifically, step S605 includes: Step S6051: Determine the matching result between the structured rules and the three-dimensional semantic objects.

[0132] Specifically, the matching result refers to the final judgment conclusion based on the matching score to determine whether the rule applies to the three-dimensional semantic object.

[0133] The matching results between structured rules and three-dimensional semantic objects are determined by quantifying the degree of matching between the rule elements parsed from the text and the attributes of three-dimensional spatial entities.

[0134] Specifically, step S6051 includes: Step a1: Calculate the similarity of equipment type and equipment name between the equipment object and the 3D semantic object, and calculate the matching degree between the operation action and the operable attributes of the 3D semantic object, as well as the matching degree between the spatial relationship constraint and the spatial relationship of the 3D semantic object, and generate a matching score.

[0135] Specifically, device type similarity refers to the degree of matching between the device object in the rule and the category to which the 3D semantic object belongs. Device name similarity refers to the textual similarity between the device names or aliases of the two. Matching score is a quantitative score obtained by combining various matching dimensions to measure the degree of fit between the rule and the 3D object.

[0136] The similarity of equipment type and equipment name between the equipment object and the three-dimensional semantic object is calculated. The matching degree between the operation action and the operable attributes of the three-dimensional semantic object, as well as the matching degree between the spatial relationship constraint and the spatial relationship of the three-dimensional semantic object, are calculated. The matching score is generated by combining various multi-dimensional indicators. The matching result is determined according to the matching score, which ensures that the safety rules can be accurately and error-free mapped to the actual physical equipment entity. The formula for calculating the matching score is shown in formula (17). (17) in, Indicates the matching score. Represents structured rules. Represents a three-dimensional semantic object. Indicates device type similarity. Indicates the category of the object, Indicates the similarity of device names. Indicates the object name or alias. This indicates the degree of matching between the task action and the operable attributes of the object. Represents the operable properties of an object. Indicates the degree of spatial relationship matching. The detection box represents the object. , , , These are the weighting coefficients.

[0137] Step a2: Determine the matching result based on the matching score.

[0138] The formula for determining the matching result is shown in formula (18): (18) in, Indicates the matching result. Indicates an indicator function, This represents the preset matching threshold, which is a score threshold set by human business experience or the system to determine whether structured rules can be successfully embedded into entity objects. When the matching score is greater than or equal to the preset matching threshold... When the match is successful, the matching result is determined.

[0139] Step S6052: When the matching result is successful, obtain the detection box of the three-dimensional semantic object, calculate the distance from the spatial point in the three-dimensional Gaussian scene to the detection box according to the safety distance, and generate a three-dimensional safety boundary in the region where the distance is less than or equal to the safety distance.

[0140] Specifically, a bounding box refers to the 3D boundary contour of a 3D semantic object in physical space. A spatial point refers to any point in the 3D coordinate system of a 3D Gaussian scene. A 3D safety boundary refers to a virtual spatial geometric boundary region generated around a 3D object based on a safety distance, used to restrict the entry of personnel or machines.

[0141] When the matching result is successful, the detection box of the three-dimensional semantic object is obtained. Based on the safety distance, the distance from the spatial point in the three-dimensional Gaussian scene to the detection box is calculated, and a three-dimensional safety boundary is generated in the area where the distance is less than or equal to the safety distance. If the area corresponds to the prohibited space, it is marked as the prohibited area, and if it corresponds to the buffer space, it is marked as the warning area. The calculation formula of the three-dimensional safety boundary is shown in formula (19): (19) in, This represents the generated three-dimensional safety boundary. Represents a point in space. Representing three-dimensional real space, Representing a spatial point Detection box to 3D semantic object distance, Indicates a safe distance.

[0142] Step S6053: Calculate the safe distance and the difference between the distances, and construct a risk trigger function based on the difference, the risk factors between the operation and the equipment status, and the risk level.

[0143] Specifically, a risk factor refers to the potential hazard coefficient generated when a specific work action interacts with the current equipment state. A risk trigger function is an assessment mathematical model that dynamically calculates the degree of danger at a specific location in a scenario by combining distance difference, risk factor, and risk level.

[0144] Calculate the safety distance and the difference between the distances. Based on the difference, the risk factors between the operation and the equipment status, and the risk level, construct a risk trigger function to perform spatial dynamic safety checks on the real-time movement position of the operator or robot in the current equipment status, as shown in formula (20): (20) in, This indicates the risk trigger function being constructed. Represents the normalization function. Indicates a safe distance. Indicates the location of workers, robots, or drones. to the detection box Spatial distance, used to characterize the difference between safe distance and spatial distance. Indicates the work action Risk factors related to equipment status Indicates the risk level. , , These are the weighting coefficients.

[0145] Step S6054: Calculate the risk value through the risk trigger function. When the risk value is greater than the preset threshold, generate the risk trigger condition and write the structured rules, three-dimensional safety boundary and risk trigger condition into the attributes of the three-dimensional semantic object to obtain the rule-enhanced three-dimensional semantic object.

[0146] Specifically, the risk value refers to the quantified degree of danger calculated through a risk trigger function. The preset threshold is a critical point in the risk value set in advance according to power safety management standards, used to determine whether a safety alarm is triggered. The risk trigger condition refers to the pre-existing logical conditions that trigger risk warnings, path constraints, or work prompts after the spatial risk value exceeds the safe range.

[0147] The risk value is calculated by the risk trigger function. When the risk value is greater than the preset threshold, the risk trigger condition is generated to trigger the corresponding safety control mechanism. The structured rules, three-dimensional safety boundary and risk trigger condition are written into the attributes of the three-dimensional semantic object to obtain the rule-enhanced three-dimensional semantic object. Through this operation, the original three-dimensional Gaussian scene object is transformed into a computable entity with semantic attributes and safety constraint rules. The rule-enhanced three-dimensional semantic object is shown in formula (21): (twenty one) in, This represents a three-dimensional semantic object after rule enhancement. A detection box representing a 3D semantic object. Indicates category, Indicates the detection confidence level. Indicates device attributes. This represents the set of structured rules to be written. This represents the set of three-dimensional security boundaries to be written. This represents the set of risk-triggered conditions for writing.

[0148] Step S606: Construct a world model of the power equipment based on the rule-enhanced 3D semantic objects and the 3D Gaussian scene. For details, please refer to [link to relevant documentation]. Figure 5 Step S506 of the illustrated embodiment will not be described again here.

[0149] This embodiment provides a method for constructing a world model of power equipment. Upon successful matching, a 3D safety boundary is generated by calculating the distance from spatial points in the 3D Gaussian scene to the detection box of the 3D semantic object. A risk trigger function is then constructed by combining the difference, risk factor, and risk level, thereby generating risk trigger conditions. Finally, these constraints are written into the attributes of the 3D semantic object. This approach endows 3D entity objects, which originally only possessed static visual features, with business semantics, safety boundaries, and proactive risk assessment capabilities, constructing a quantifiable virtual boundary. This significantly improves the model's risk prediction and safety verification capabilities during complex operations.

[0150] Figure 7 This is a schematic diagram of a power equipment world model training method according to an embodiment of the present invention, such as... Figure 7As shown, the overall architecture of this invention includes an input end, three core processing modules, a world model fusion and update node, and an output end. The three core processing modules include a static scene modeling module, a 3D object detection module, and a rule embedding module. The static scene modeling module contains, in sequence, processing nodes such as multi-view keyframe adaptive filtering, power equipment geometric scale constraints, semantically guided Gaussian scene initialization, and component-level Gaussian fine optimization. The 3D object detection module contains, in sequence, processing nodes such as 2D detection / segmentation, 3DGS (3D Gaussian Splatting) Gaussian segmentation feature extraction, greedy 2D to 3D mapping, and 3D semantic box generation. The rule embedding module contains, in sequence, processing nodes such as rule semantic parsing, 3D object matching, safety boundary generation, and risk triggering condition construction.

[0151] As a specific application embodiment of the present invention, firstly, multi-view images of power equipment scenes and power regulations text are acquired through the input terminal. The static scene modeling module extracts frames from the multi-view images and comprehensively calculates image clarity, visibility, redundancy, and view complementarity to determine the first keyframe and remaining keyframes. Then, the camera pose is restored to obtain an initial 3D Gaussian scene. Based on the acquired detail preservation constraints, an optimization objective is constructed to optimize the scene, thereby constructing a 3D Gaussian scene containing 3D Gaussian primitives. Subsequently, the 3D object detection module performs 2D object detection and mask segmentation on the multi-view images to obtain a 2D mask. The category evidence of 3D Gaussian primitives falling into the 2D mask is statistically analyzed. Seed scores are calculated based on parameters such as the maximum evidence strength of category evidence to select seeds. Seeds and 3D Gaussian primitives that meet the feature similarity threshold and other conditions are aggregated as target primitives into 3D instances. Finally, 3D semantic boxes are generated for the 3D instances to obtain 3D semantic objects. Next, rule embedding... The module performs rule semantic parsing on the power regulations text to obtain structured rules containing elements such as safety distance and risk level. It then determines the matching results between the structured rules and the 3D semantic objects. When a match is successful, a 3D safety boundary is generated and a risk trigger function is constructed to calculate the risk value, thereby generating risk trigger conditions. Finally, through the world model fusion and update node, the structured rules, 3D safety boundaries, and risk trigger conditions are written as rule constraints into the attributes of the 3D semantic objects. The matched 3D semantic objects are then embedded with rules to obtain rule-enhanced 3D semantic objects. Based on the rule-enhanced 3D semantic objects and the 3D Gaussian scene, a unified world model of power equipment is constructed, integrating static geometry, 3D semantic targets, and operational rule constraints. This results in high-fidelity 3D power scene output, 3D semantic targets of equipment / components, safety boundaries, and risk warnings, supporting practical applications such as robot maintenance, drone inspection, and operational safety management.

[0152] This embodiment also provides a power equipment world model construction device, which is used to implement the above embodiments and preferred embodiments, and will not be repeated as already described. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0153] This embodiment provides a device for constructing a world model of power equipment, such as Figure 8 As shown, it includes: The acquisition module 801 is used to acquire multi-view images of power equipment scenes and power regulations text, and to construct a three-dimensional Gaussian scene containing three-dimensional Gaussian primitives based on the multi-view images. The mask segmentation module 802 is used to perform two-dimensional target detection and mask segmentation on multi-view images to obtain a two-dimensional mask. The statistics module 803 is used to count the category evidence of three-dimensional Gaussian primitives falling into two-dimensional masks, and to aggregate the target primitives in the three-dimensional Gaussian primitives into three-dimensional semantic objects based on the category evidence. Semantic parsing module 804 is used to perform rule semantic parsing on power regulations text to obtain structured rules; The rule embedding module 805 is used to match structured rules with three-dimensional semantic objects, and to embed rules into the successfully matched three-dimensional semantic objects to obtain rule-enhanced three-dimensional semantic objects. Module 806 is used to construct a world model of power equipment based on the rule-enhanced 3D semantic objects and the 3D Gaussian scene.

[0154] In some optional implementations, the acquisition module 801 includes: The video frame extraction unit is used to acquire video or multi-view images of power equipment scenes, and extract frames from the video during acquisition to obtain candidate frames. The first keyframe determination unit is used to calculate the image sharpness, visibility and redundancy of the corresponding area in the power equipment scene of the candidate frames, and determine the first keyframe from the candidate frames based on the image sharpness, visibility and redundancy. The reconstruction contribution score generation unit is used to calculate the view complementarity between the remaining candidate frames and the first keyframe, and to generate a reconstruction contribution score based on the image sharpness, visibility, redundancy and view complementarity of the remaining candidate frames. Multi-view image composition unit, used to determine the remaining keyframes from the remaining candidate frames based on the reconstruction contribution score, and to compose a multi-view image based on the first keyframe and the remaining keyframes; The initial 3D Gaussian scene is obtained as a unit, which is used to recover the camera pose based on the multi-view images, and to obtain the initial 3D Gaussian scene based on the camera pose. An optimization target building unit is used to obtain detail-preserving constraints for power equipment boundaries and component regions, and to construct optimization targets based on these constraints. The initial 3D Gaussian scene optimization unit is used to optimize the initial 3D Gaussian scene according to the optimization objective to obtain the 3D Gaussian scene.

[0155] In some alternative implementations, the mask segmentation module 802 includes: The mask segmentation unit is used to perform two-dimensional target detection and mask segmentation on multi-view images, and obtains two-dimensional bounding boxes, two-dimensional masks, category labels and detection confidence scores for power equipment and key components in the multi-view images.

[0156] In some alternative implementations, the statistics module 803 includes: The visibility weight determination unit is used to project the 3D Gaussian element onto different viewpoints and determine the visibility weight of the 3D Gaussian element in each viewpoint. The category evidence determination unit is used to calculate the evidence strength of three-dimensional Gaussian elements falling into different two-dimensional masks based on visibility weight and detection confidence, and to use the evidence strength as category evidence. The seed determination unit is used to calculate the seed score of each 3D Gaussian element based on the maximum value of evidence strength, the consistency of multi-view semantic evidence of 3D Gaussian elements, and the prior of the operable area at the component level, and to take the 3D Gaussian element corresponding to the highest seed score as the seed. The feature similarity calculation unit is used to calculate the Gaussian segmentation feature similarity based on the Gaussian features of the 3D Gaussian unit, and to calculate the feature similarity based on the Gaussian segmentation feature similarity, the spatial proximity between the seed and the 3D Gaussian unit, and the semantic consistency. The 3D instance aggregation unit is used to aggregate 3D Gaussian primitives that meet the preset feature similarity threshold and spatial distance threshold as target primitives into 3D instances. The three-dimensional semantic object is obtained by generating a three-dimensional semantic box for a three-dimensional instance, thus obtaining a three-dimensional semantic object.

[0157] In some alternative implementations, the semantic parsing module 804 includes: The structured rule determination unit is used to extract equipment objects, work actions, equipment status, safety distances, spatial relationship constraints, triggering conditions, and risk levels from power regulations texts as structured rules.

[0158] In some alternative implementations, the rule embedding module 805 includes: The matching result determination unit is used to determine the matching results between structured rules and three-dimensional semantic objects; The 3D safety boundary generation unit is used to obtain the detection box of the 3D semantic object when the matching result is successful, calculate the distance from the spatial point in the 3D Gaussian scene to the detection box according to the safety distance, and generate a 3D safety boundary in the region where the distance is less than or equal to the safety distance. The risk trigger function construction unit is used to calculate the safe distance and the difference between the distances, and to construct the risk trigger function based on the difference, the risk factors between the operation action and the equipment status, and the risk level. The rule-enhanced 3D semantic object forming unit is used to calculate the risk value through the risk triggering function. When the risk value is greater than a preset threshold, a risk triggering condition is generated, and the structured rules, 3D safety boundary, and risk triggering condition are written into the attributes of the 3D semantic object to obtain the rule-enhanced 3D semantic object.

[0159] In some optional implementations, the matching result determination unit includes: The matching score generation subunit is used to calculate the similarity of equipment type and equipment name between equipment objects and three-dimensional semantic objects, as well as the matching degree of operation actions with the operable attributes of three-dimensional semantic objects and the matching degree of spatial relationship constraints with the spatial relationship of three-dimensional semantic objects, and generate matching scores. The matching result determination sub-unit is used to determine the matching result based on the matching score.

[0160] The power equipment world model construction device provided in this embodiment of the invention can execute the power equipment world model construction method provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the method. Further functional descriptions of the above modules and units are the same as in the corresponding embodiments described above, and will not be repeated here.

[0161] Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention.

[0162] The following is a detailed reference. Figure 9 This diagram illustrates a structural schematic suitable for implementing an electronic device according to embodiments of the present invention. The electronic device may include a processor (e.g., a central processing unit, graphics processor, etc.) 901, which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 902 or a program loaded from memory 908 into random access memory (RAM) 903. The RAM 903 also stores various programs and data required for the operation of the electronic device. The processor 901, ROM 902, and RAM 903 are interconnected via a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.

[0163] Typically, the following devices can be connected to I / O interface 905: input devices 906 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 907 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; memory devices 908 including, for example, magnetic tapes, hard disks, etc.; and communication devices 909. Communication device 909 allows electronic devices to exchange data via wireless or wired communication with other devices. Although Figure 9 Electronic devices with various devices are shown, but it should be understood that it is not required to implement or have all of the devices shown, and more or fewer devices may be implemented or have instead.

[0164] In particular, according to embodiments of the present invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of the present invention include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 909, or installed from a memory 908, or installed from a ROM 902. When the computer program is executed by a processor 901, it performs the functions defined in a method for constructing a world model of power equipment according to embodiments of the present invention.

[0165] Figure 9 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments of the present invention.

[0166] This invention also provides a computer-readable storage medium. The methods described above according to embodiments of the invention can be implemented in hardware or firmware, or implemented as computer code that can be recorded on a storage medium, or implemented as computer code downloaded via a network and originally stored on a remote storage medium or a non-transitory machine-readable storage medium and then stored on a local storage medium. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium can also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code. When the software or computer code is accessed and executed by the computer, processor, or hardware, it implements the power equipment world model construction method shown in the above embodiments.

[0167] A portion of this invention can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide the methods and / or technical solutions according to the invention through the operation of the computer. Those skilled in the art will understand that the forms in which computer program instructions exist in a computer-readable medium include, but are not limited to, source files, executable files, installation package files, etc. Correspondingly, the ways in which computer program instructions are executed by a computer include, but are not limited to: the computer directly executing the instructions, or the computer compiling the instructions and then executing the corresponding compiled program, or the computer reading and executing the instructions, or the computer reading and installing the instructions and then executing the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to a computer.

[0168] Although embodiments of the invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations all fall within the scope defined by the appended claims.

Claims

1. A method for constructing a world model of power equipment, characterized in that, The method includes: Acquire multi-view images of power equipment scenes and power regulations text, and construct a three-dimensional Gaussian scene containing three-dimensional Gaussian primitives based on the multi-view images; Two-dimensional target detection and mask segmentation are performed on the multi-view images to obtain a two-dimensional mask; The class evidence of the three-dimensional Gaussian primitive falling into the two-dimensional mask is statistically analyzed, and the target primitives in the three-dimensional Gaussian primitive are aggregated into a three-dimensional semantic object based on the class evidence. The power regulations text is subjected to rule semantic parsing to obtain structured rules; The structured rules are matched with the three-dimensional semantic objects, and the rules are embedded into the successfully matched three-dimensional semantic objects to obtain rule-enhanced three-dimensional semantic objects. Based on the enhanced 3D semantic objects according to the rules and the 3D Gaussian scene, a world model of power equipment is constructed.

2. The method according to claim 1, characterized in that, The acquisition of multi-view images of the power equipment scene includes: Acquire video or multi-view images of the power equipment scene, and extract frames from the video during acquisition to obtain candidate frames; Calculate the image sharpness of the candidate frames, the visibility of the corresponding area in the power equipment scene, and the redundancy. Based on the image sharpness, the visibility, and the redundancy, determine the first keyframe from the candidate frames. Calculate the view complementarity between the remaining candidate frames and the first keyframe, and generate a reconstruction contribution score based on the image sharpness, visibility, redundancy, and view complementarity of the remaining candidate frames. Based on the reconstruction contribution score, the remaining keyframes are determined from the remaining candidate frames, and a multi-view image is formed based on the first keyframe and the remaining keyframes.

3. The method according to claim 1, characterized in that, The three-dimensional Gaussian element includes center position, covariance matrix, opacity, color, and Gaussian features; The step of constructing a 3D Gaussian scene containing 3D Gaussian primitives based on the multi-view images includes: Based on the multi-view images, the camera pose is recovered, and based on the camera pose, an initial 3D Gaussian scene is obtained. Obtain detail-preserving constraints for the boundaries of power equipment and small component regions, and construct an optimization objective based on the detail-preserving constraints; Based on the optimization objective, the initial 3D Gaussian scene is optimized to obtain a 3D Gaussian scene.

4. The method according to claim 1, characterized in that, The step of performing two-dimensional target detection and mask segmentation on the multi-view image to obtain a two-dimensional mask includes: Two-dimensional target detection and mask segmentation are performed on the multi-view images to obtain two-dimensional bounding boxes, two-dimensional masks, category labels, and detection confidence scores for power equipment and key components in the multi-view images.

5. The method according to claim 4, characterized in that, The statistical evidence of the categories in which the three-dimensional Gaussian elements fall into the two-dimensional mask includes: The 3D Gaussian element is projected onto different viewpoints to determine the visibility weight of the 3D Gaussian element in each viewpoint. Based on the visibility weight and the detection confidence, the evidence strength of the three-dimensional Gaussian unit falling into different two-dimensional masks is calculated, and the evidence strength is used as category evidence.

6. The method according to claim 5, characterized in that, The step of aggregating the target primitives in the three-dimensional Gaussian primitives into a three-dimensional semantic object based on the category evidence includes: Based on the maximum value of the evidence strength, the multi-view semantic evidence consistency of the three-dimensional Gaussian unit, and the prior of the component-level operable region, the seed score of each three-dimensional Gaussian unit is calculated, and the three-dimensional Gaussian unit corresponding to the highest seed score is used as the seed. Based on the Gaussian features of the three-dimensional Gaussian primitive, Gaussian segmentation feature similarity is calculated, and feature similarity is calculated based on the Gaussian segmentation feature similarity, the spatial proximity between the seed and the three-dimensional Gaussian primitive, and semantic consistency. The seed and three-dimensional Gaussian primitives that meet the preset feature similarity threshold and spatial distance threshold are used as target primitives, and the target primitives are aggregated into three-dimensional instances; A three-dimensional semantic box is generated for the three-dimensional instance to obtain a three-dimensional semantic object.

7. The method according to claim 1, characterized in that, The process of performing rule semantic parsing on the power regulations text to obtain structured rules includes: The equipment objects, operation actions, equipment status, safety distances, spatial relationship constraints, triggering conditions, and risk levels extracted from the power regulations text will be used as structured rules.

8. The method according to claim 7, characterized in that, The step of matching the structured rules with the three-dimensional semantic objects and embedding the rules into the successfully matched three-dimensional semantic objects to obtain rule-enhanced three-dimensional semantic objects includes: Determine the matching result between the structured rules and the three-dimensional semantic object; When the matching result is a successful match, the detection box of the three-dimensional semantic object is obtained, the distance from the spatial point in the three-dimensional Gaussian scene to the detection box is calculated according to the safety distance, and a three-dimensional safety boundary is generated in the region where the distance is less than or equal to the safety distance; Calculate the difference between the safe distance and the distance, and construct a risk trigger function based on the difference, the risk factor between the operation and the equipment status, and the risk level; The risk value is calculated using the risk trigger function. When the risk value is greater than a preset threshold, a risk trigger condition is generated. The structured rules, the three-dimensional safety boundary, and the risk trigger condition are then written into the attributes of the three-dimensional semantic object to obtain a rule-enhanced three-dimensional semantic object.

9. The method according to claim 8, characterized in that, Determining the matching result between the structured rule and the three-dimensional semantic object includes: Calculate the equipment type similarity and equipment name similarity between the equipment object and the three-dimensional semantic object, and calculate the matching degree between the operation action and the operable attributes of the three-dimensional semantic object, as well as the matching degree between the spatial relationship constraint and the spatial relationship of the three-dimensional semantic object, to generate a matching score; The matching result is determined based on the matching score.

10. A device for constructing a world model of power equipment, characterized in that, The device includes: The acquisition module is used to acquire multi-view images of power equipment scenes and power regulations text, and construct a three-dimensional Gaussian scene containing three-dimensional Gaussian elements based on the multi-view images. The mask segmentation module is used to perform two-dimensional target detection and mask segmentation on the multi-view image to obtain a two-dimensional mask. The statistics module is used to count the category evidence that the three-dimensional Gaussian primitives fall into the two-dimensional mask, and to aggregate the target primitives in the three-dimensional Gaussian primitives into a three-dimensional semantic object based on the category evidence. The semantic parsing module is used to perform rule semantic parsing on the power regulations text to obtain structured rules; The rule embedding module is used to match the structured rules with the three-dimensional semantic objects, and to embed the rules into the successfully matched three-dimensional semantic objects to obtain rule-enhanced three-dimensional semantic objects. A construction module is used to construct a world model of power equipment based on the enhanced 3D semantic object and the 3D Gaussian scene.

11. The apparatus according to claim 10, characterized in that, The acquisition module includes: The video frame extraction unit is used to acquire video or multi-view images of the power equipment scene, and extract frames from the video to obtain candidate frames when acquiring the video. The first keyframe determination unit is used to calculate the image sharpness of the candidate frames, the visibility of the corresponding area in the power equipment scene, and the redundancy, and determine the first keyframe from the candidate frames based on the image sharpness, the visibility, and the redundancy. The reconstruction contribution score generation unit is used to calculate the view complementarity between the remaining candidate frames and the first keyframe, and generate a reconstruction contribution score based on the image sharpness, visibility, redundancy and view complementarity of the remaining candidate frames. A multi-view image composition unit is used to determine the remaining keyframes from the remaining candidate frames based on the reconstruction contribution score, and to compose a multi-view image based on the first keyframe and the remaining keyframes. An initial 3D Gaussian scene acquisition unit is used to recover the camera pose based on the multi-view images and to obtain the initial 3D Gaussian scene based on the camera pose. An optimization target construction unit is used to obtain detail-preserving constraints for power equipment boundaries and component regions, and to construct optimization targets based on the detail-preserving constraints; An initial 3D Gaussian scene optimization unit is used to optimize the initial 3D Gaussian scene according to the optimization objective to obtain a 3D Gaussian scene.

12. The apparatus according to claim 10, characterized in that, The mask segmentation module includes: The mask segmentation unit is used to perform two-dimensional target detection and mask segmentation on the multi-view image, and obtain two-dimensional bounding boxes, two-dimensional masks, category labels and detection confidence scores of power equipment and key components in the multi-view image.

13. The apparatus according to claim 12, characterized in that, The statistics module includes: A visibility weight determination unit is used to project the three-dimensional Gaussian element onto different viewpoints and determine the visibility weight of the three-dimensional Gaussian element in each viewpoint. The category evidence determination unit is used to calculate the evidence strength of the three-dimensional Gaussian unit falling into different two-dimensional masks based on the visibility weight and the detection confidence, and to use the evidence strength as category evidence. The seed determination unit is used to calculate the seed score of each three-dimensional Gaussian unit based on the maximum value of the evidence strength, the multi-view semantic evidence consistency of the three-dimensional Gaussian unit, and the prior of the component-level operable region, and to take the three-dimensional Gaussian unit corresponding to the highest seed score as the seed. The feature similarity calculation unit is used to calculate the Gaussian segmentation feature similarity based on the Gaussian features of the three-dimensional Gaussian unit, and to calculate the feature similarity based on the Gaussian segmentation feature similarity, the spatial proximity between the seed and the three-dimensional Gaussian unit, and semantic consistency. A 3D instance aggregation unit is used to aggregate the seed and 3D Gaussian primitives that meet preset feature similarity thresholds and spatial distance thresholds as target primitives into 3D instances; A 3D semantic object obtaining unit is used to generate a 3D semantic box for the 3D instance, thereby obtaining a 3D semantic object.

14. The apparatus according to claim 10, characterized in that, The semantic parsing module includes: The structured rule determination unit is used to extract equipment objects, operation actions, equipment status, safety distances, spatial relationship constraints, triggering conditions, and risk levels from the power regulations text as structured rules.

15. The apparatus according to claim 14, characterized in that, The rule embedding module includes: A matching result determination unit is used to determine the matching result between the structured rule and the three-dimensional semantic object; A three-dimensional safety boundary generation unit is used to obtain the detection box of the three-dimensional semantic object when the matching result is a successful match, calculate the distance from the spatial point in the three-dimensional Gaussian scene to the detection box according to the safety distance, and generate a three-dimensional safety boundary in the region where the distance is less than or equal to the safety distance. The risk trigger function construction unit is used to calculate the difference between the safe distance and the distance, and construct a risk trigger function based on the difference, the risk factor between the operation action and the equipment status, and the risk level; The rule-enhanced 3D semantic object forming unit is used to calculate the risk value through the risk triggering function, generate the risk triggering condition when the risk value is greater than a preset threshold, and write the structured rule, the 3D security boundary and the risk triggering condition into the attributes of the 3D semantic object to obtain the rule-enhanced 3D semantic object.

16. The apparatus according to claim 15, characterized in that, The matching result determination unit includes: The matching score generation subunit is used to calculate the equipment type similarity and equipment name similarity between the equipment object and the three-dimensional semantic object, and to calculate the matching degree between the operation action and the operable attributes of the three-dimensional semantic object, as well as the matching degree between the spatial relationship constraint and the spatial relationship of the three-dimensional semantic object, and generate a matching score. The matching result determination subunit is used to determine the matching result based on the matching score.

17. An electronic device, characterized in that, include: A memory and a processor are interconnected, the memory stores computer instructions, and the processor executes the computer instructions to perform a method for constructing a world model of an electrical device according to any one of claims 1 to 9.

18. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing the computer to execute a method for constructing a world model of an electrical device according to any one of claims 1 to 9.

19. A computer program product, characterized in that, Includes computer instructions for causing a computer to execute a method for constructing a world model of an electrical device according to any one of claims 1 to 9.