Power distribution box energy efficiency analysis method and system based on big data
By using a big data-based energy efficiency analysis method for distribution boxes, and by identifying unclaimed power supply through a mirror fragment library and counterfactual mirror stage chain, the problem of hidden power supply behavior without clear ownership in distribution boxes is solved, thereby improving the accuracy of energy efficiency analysis and the targeting of management.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HEBEI CHENGAN ELECTRIC CO LTD
- Filing Date
- 2026-03-05
- Publication Date
- 2026-06-05
Smart Images

Figure CN122153482A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power distribution box operation data analysis and processing technology, specifically to a power distribution box energy efficiency analysis method and system based on big data. Background Technology
[0002] As the basic carrier of power distribution and circuit control, distribution boxes are widely used in industrial power consumption scenarios, public building power consumption scenarios, and park power distribution scenarios. Distribution boxes are generally connected to smart energy meters, switch status acquisition devices, and IoT terminals, forming a large amount of historical operating data including voltage, current, active power, switch quantity, and operation event records. Existing energy efficiency analysis mainly focuses on power statistics, load curves, peak-valley electricity price matching, power factor, and harmonic indicators to evaluate the energy consumption level of a single circuit or a single distribution box and to alarm for obvious abnormal fault states such as overload, undervoltage, and short circuit. However, for the fine-grained energy efficiency status during complex task switching, stage switching, and multi-circuit collaborative operation, most of them still remain at the level of manual experience judgment or coarse-grained report analysis. In the process of energy efficiency management and operation status analysis of distribution boxes, there is still a problem of difficulty in timely identifying hidden power supply behaviors without clear attribution during operation. Specifically, as follows: On the one hand, when switching between multiple tasks and multiple operating conditions frequently, some circuits inside the distribution box continue to supply power after the task ends, or remain energized for a long time in a state that is not directly related to the current production. It is difficult to determine whether these power supply segments belong to the expected load based solely on the total power consumption or single circuit current curve, which easily leads to long-term neglect of "marginal power consumption" and "idle power consumption". On the other hand, although a large amount of historical operation data has been accumulated and multiple distribution boxes can be centrally monitored, there is a lack of a structured reference process based on stage sequences and power supply boundaries. It is difficult to extract power supply stage chains and claim boundaries that can be directly compared with the current operation stage from the historical samples of the box group, making it difficult to identify and quantify inefficient power consumption phenomena such as excessively long circuit duration, abnormal stage connection, or power supply boundary overstepping in the current period. Summary of the Invention
[0003] The purpose of this invention is to provide a method and system for energy efficiency analysis of distribution boxes based on big data, so as to solve the problem mentioned in the background art of difficulty in timely identifying implicit power supply behaviors without clear attribution during operation.
[0004] To achieve the above objectives, the technical solution of the present invention is: a method for energy efficiency analysis of distribution boxes based on big data, comprising: S1. Obtain historical operating data of each distribution box, perform time alignment and event anchor point segmentation on the historical operating data to generate a box group anchor point segment sequence, and extract the image segment representation information according to the preset coding field to generate a box group image segment. At the same time, establish a box group image segment library based on the box group image segment. Among them, the box group mirror segment refers to the stage power supply structured data unit formed by dividing the operation process of each distribution box according to the event anchor point; S2. Obtain the target operation data of the target distribution box during the period to be analyzed, perform time alignment and event anchor point segmentation on the target operation data to generate a target anchor point segment sequence, and generate a target operation profile and the corresponding mirror search key of the target operation profile according to the preset coding fields. Among them, the target operation profile refers to the retrieval object formed after encoding the stage relationship, topological relationship and power supply coverage relationship of the target distribution box during the period to be analyzed; the mirror retrieval key is the retrieval identifier for locating the candidate mirror segment corresponding to the target operation profile in the box group mirror segment library; S3. Based on the mirror retrieval key, retrieve candidate mirror fragments in the box group mirror fragment library, and splice the candidate mirror fragments to generate a counterfactual mirror stage chain based on the fragment connection constraint relationship, and generate a mirror claim slot sequence based on the counterfactual mirror stage chain and the group support result. Among them, the fragment connection constraint relationship is the set of relationships that determine whether adjacent candidate mirror fragments can be sequentially spliced; the counterfactual mirror stage chain is a sequence of stages composed of candidate mirror fragments that can be sequentially spliced; the mirror claim slot sequence is a set of stage claim positions formed by sequentially arranging the mirror claim slots according to the stage arrangement order in the counterfactual mirror stage chain. S4. The actual power supply process of the target distribution box during the period to be analyzed is segmented into segments to generate an actual power supply segment sequence. The actual power supply segments are matched with the mirror claim slot sequence to filter candidate ownerless power supply segments. Then, the ownership verification of the candidate ownerless power supply segments is performed to obtain the ownerless power supply segment.
[0005] Preferably, in step S1, the preset encoding field is a set of fields that uniformly encode the stage events, box topology relationships, circuit role relationships, and power supply boundaries during the historical operation of each distribution box. It is used to extract mirror segment representation information in the box group anchor point segment sequence using a fixed set of fields. The mirror segment representation information is a set of structured field values extracted from each historical operation segment in the box group anchor point segment sequence according to the preset encoding field to represent the power supply relationship of the corresponding stage. The box group mirror segment includes a segment identifier and a source distribution box identifier, which are used as basic data objects for candidate mirror segment retrieval, segment splicing, and group support statistics in the box group mirror segment library. The segment identifier is used to distinguish the power supply structured data units of different stages in the box group mirror segment library, and the source distribution box identifier is used to record the distribution box entity to which the box group mirror segment belongs.
[0006] Preferably, in step S1, the box group mirror segment library is a set of searchable segments formed by indexing box group mirror segments according to preset coding fields and storing them in a unified data space. It is used to locate and access candidate mirror segments based on the mirror retrieval key. The box group mirror segment library establishes a composite index structure for each box group mirror segment, with the stage event field and box topology field as the main index fields and the circuit role field and power supply boundary field as the secondary index fields. It is used to filter candidate mirror segments that meet the circuit role and power supply boundary constraints under the stage relationship and topology relationship constraints specified by the mirror retrieval key. The box group mirror segment library also groups and stores box group mirror segments according to the source distribution box identifier and historical operating time.
[0007] Preferably, in step S2, the target operation profile is used to represent the current operating status of the target distribution box during the period to be analyzed, and serves as the basis for generating the mirror retrieval key; the target operation profile is encoded based on the target anchor point segment sequence and a preset encoding field consistent with the box group mirror segment; the stage relationship in the target operation profile corresponds to the stage event field, the topology relationship corresponds to the box topology field, and the power supply coverage relationship corresponds to the circuit role field and the power supply boundary field; the arrangement of each field in the target operation profile is consistent with the arrangement of the corresponding field in the box group mirror segment.
[0008] Preferably, in step S2, the mirror retrieval key is generated based on the combination of all fields in the target running profile, and is used to locate the candidate mirror fragment corresponding to the target running profile in the container cluster mirror fragment library; there is a one-to-one correspondence between the mirror retrieval key and the index fields of the container cluster mirror fragment library.
[0009] Preferably, in step S3, the segment connection constraint relationship is used to constrain the sequential splicing relationship between candidate mirror segments. The segment connection constraint relationship includes the stage connection relationship and the power supply boundary connection relationship. The stage connection relationship is a segment sequential succession relationship determined based on the stage event identifiers of adjacent candidate mirror segments and the order between the stage event identifiers, and is used to determine the stage arrangement order of adjacent candidate mirror segments in the counterfactual mirror stage chain. The power supply boundary connection relationship is a power supply continuity relationship determined based on the power supply boundary information of adjacent candidate mirror segments, and is used to determine whether adjacent candidate mirror segments meet the power supply continuity condition when splicing sequentially. The power supply boundary information includes the power supply start boundary, the power supply end boundary, and the allowed transition power supply boundary.
[0010] Preferably, in S3, the data structure of the counterfactual mirror stage chain is a chain structure formed by connecting multiple stage chain nodes sequentially according to the stage arrangement order. Each stage chain node includes a stage event identifier, power supply boundary information, and source distribution box identifier for the corresponding candidate mirror segment. The group support result is a statistical result obtained by counting the candidate mirror segments participating in the construction of the counterfactual mirror stage chain according to the number of source distribution boxes, and is used to filter and confirm the candidate mirror segments in the counterfactual mirror stage chain.
[0011] Preferably, in step S3, the mirror claim slot is a phased power claim structure generated based on the phase event identifier and power supply boundary information of the corresponding phase chain node, used to accept the actual power supply segment that matches the corresponding phase; each mirror claim slot includes at least a phase identifier, a set of legal loops, a legal start boundary, a legal end boundary, and a permissible transitional power supply boundary; each mirror claim slot in the mirror claim slot sequence corresponds one-to-one with each phase chain node in the counterfactual mirror phase chain, and the arrangement order between the previous mirror claim slot and the next mirror claim slot is consistent with the connection order between the corresponding phase chain nodes.
[0012] Preferably, in S4, the candidate unclaimed power supply segment refers to the actual power supply segment that has not entered any mirror claim slot, as well as the out-of-bounds continuous portion of the actual power supply segment that continues to exist after the legal end boundary of the corresponding mirror claim slot after entering the corresponding mirror claim slot; the unclaimed power supply segment refers to the candidate unclaimed power supply segment that has not been claimed by the current task stage, stage switching event, and exit process after the ownership verification.
[0013] On the other hand, the present invention provides a power distribution box energy efficiency analysis system based on big data, including a memory, a processor, and a computer program stored in the memory and executable on the processor. The processor executes the computer program to implement the above-described power distribution box energy efficiency analysis method based on big data.
[0014] Compared with the prior art, the above-mentioned technical solution of the present invention has the following beneficial technical effects: 1. In this invention, based on the box group mirror fragment library, the counterfactual mirror stage chain, and the mirror claim slot sequence, the stage power supply patterns of multiple distribution boxes in the historical operation process can be organized into a reference process that can be directly compared. This makes the actual power supply behavior of the current period to be analyzed no longer rely solely on the total power, single-circuit curve, or human experience for judgment. As a result, it is possible to more accurately distinguish which power supply is required for normal operation and which power supply has exceeded the scope of the current stage. 2. In this invention, by matching the actual power supply segment with the mirrored claim slot sequence and combining the attribution verification to screen candidate ownerless power supply segments, the identification and location of ownerless power supply segments can be realized. This allows power supply segments that continue to exist after the task ends, power supply segments that cross the boundary during the phase switching process, and power supply segments that lack clear operation attribution to be directly identified, thereby improving the accuracy of distribution box energy efficiency analysis and the pertinence of operation management. Attached Figure Description
[0015] Figure 1 This is a flowchart of an embodiment of the present invention. Detailed Implementation
[0016] Example 1, as Figure 1 As shown, the specific implementation steps of the big data-based power distribution box energy efficiency analysis method proposed in this invention are as follows: S1. Obtain historical operating data of each distribution box, perform time alignment and event anchor point segmentation on the historical operating data to generate a box group anchor point segment sequence, and extract the image segment representation information according to the preset coding field to generate a box group image segment. At the same time, establish a box group image segment library based on the box group image segment. Among them, the box group mirror segment refers to the stage power supply structured data unit formed by dividing the operation process of each distribution box according to the event anchor point; S2. Obtain the target operation data of the target distribution box during the period to be analyzed, perform time alignment and event anchor point segmentation on the target operation data to generate a target anchor point segment sequence, and generate a target operation profile and the corresponding mirror search key of the target operation profile according to the preset coding fields. Among them, the target operation profile refers to the retrieval object formed after encoding the stage relationship, topological relationship and power supply coverage relationship of the target distribution box during the period to be analyzed; the mirror retrieval key is the retrieval identifier for locating the candidate mirror segment corresponding to the target operation profile in the box group mirror segment library; S3. Based on the mirror retrieval key, retrieve candidate mirror fragments in the box group mirror fragment library, and splice the candidate mirror fragments to generate a counterfactual mirror stage chain based on the fragment connection constraint relationship, and generate a mirror claim slot sequence based on the counterfactual mirror stage chain and the group support result. Among them, the fragment connection constraint relationship is the set of relationships that determine whether adjacent candidate mirror fragments can be sequentially spliced; the counterfactual mirror stage chain is a sequence of stages composed of candidate mirror fragments that can be sequentially spliced; the mirror claim slot sequence is a set of stage claim positions formed by sequentially arranging the mirror claim slots according to the stage arrangement order in the counterfactual mirror stage chain. S4. The actual power supply process of the target distribution box during the period to be analyzed is segmented into segments to generate an actual power supply segment sequence. The actual power supply segments are matched with the mirror claim slot sequence to filter candidate ownerless power supply segments. Then, the ownership verification of the candidate ownerless power supply segments is performed to obtain the ownerless power supply segment.
[0017] In this embodiment S1, the preset encoding field is a set of fields that uniformly encode the stage events, box topology relationships, circuit role relationships, and power supply boundaries during the historical operation of each distribution box. It is used to extract the mirror segment representation information in the box group anchor point segment sequence with a fixed set of fields. The mirror segment representation information is a set of structured field values extracted from each historical operation segment in the box group anchor point segment sequence according to the preset encoding field to represent the power supply relationship of the corresponding stage. The box group mirror segment includes a segment identifier and a source distribution box identifier, which are used as basic data objects for candidate mirror segment retrieval, segment splicing, and group support statistics in the box group mirror segment library. The segment identifier is used to distinguish the power supply structured data units of different stages in the box group mirror segment library, and the source distribution box identifier is used to record the distribution box entity to which the box group mirror segment belongs.
[0018] In this embodiment S1, the historical operation data of each distribution box is a set of operation-related data continuously recorded and stored in the data carrier during the historical operation phase. The historical operation data covers the operation process of the distribution box in at least multiple time periods, and corresponds to the on / off changes, stage status changes, and time stamp information related to the power supply process of multiple circuits at different time periods. The historical operation data can be collected separately according to the distribution box entity, or it can be stored continuously according to time periods and then merged according to the source distribution box. After the historical operation data enters the processing flow, a unified time reference mapping is first performed so that the historical records from different sources, different recording granularities, and different collection timestamps fall into the same time coordinate. Then, event anchor points are extracted based on the state change points and event trigger points that occur during the operation. The event anchor points are used as the dividing boundary of the historical operation process to form a box group anchor point segment sequence. Each segment in the box group anchor point segment sequence corresponds to a historical operation interval with a clear start boundary and end boundary. The segment retains continuous operation records and status records related to the power supply relationship of the corresponding stage, thereby transforming the original continuous recording structure into a segment sequence structure divided by event boundaries.
[0019] In this embodiment S1, the preset coding fields are a set of fields pre-defined when expressing the historical operation process in a unified structure. The preset coding fields include stage event fields, box topology fields, loop role fields, and power supply boundary fields. The stage event fields are used to record the stage entry, stage duration, or stage exit status corresponding to each anchor point segment. The box topology fields are used to record the loop organization relationship of the corresponding distribution box in the historical operation stage. The loop role fields are used to record the power supply participation role of each loop in the corresponding segment. The power supply boundary fields are used to record the boundary range and boundary attributes of the segment power supply process. Based on each historical operation segment in the box group anchor point segment sequence, the field values directly corresponding to the stage power supply relationship are extracted from the operation records inside the segment according to the preset coding fields to obtain the mirror segment representation information. The mirror segment representation information is not a direct copy of the original operation data, but a set of structured field values formed after uniformly extracting the stage events, topology relationships, loop role relationships, and power supply boundaries in the segment. This allows historical operation segments from different sources to form a comparable expression under the same field system.
[0020] In this embodiment S1, the mirror segment of the box group consists of the main content of the mirror segment representation information, and further supplemented with segment identifier and source distribution box identifier to form a stage power supply structured data unit. The segment identifier is used to distinguish the mirror objects corresponding to different anchor point segments in all historical segments, and the source distribution box identifier is used to record the distribution box entity to which the mirror object belongs and its historical source relationship. After the box group mirror segment is formed, the original continuous operation record is no longer used as the direct object for subsequent processing. Instead, the stage power supply structured data unit is used as the basic processing object. After the segment identifier and the source distribution box identifier are written together into the corresponding mirror object, different stage segments can be distinguished within the same distribution box, and the source of the segment can be traced between different distribution boxes. Thus, each mirror segment has the ability to express stage power supply relationship, segment independent identification ability, and source attribution ability. Based on this, it serves as the basic data object for candidate mirror segment retrieval, segment splicing, and group support statistics.
[0021] In this embodiment S1, the extraction process of the mirror segment representation information maintains a one-to-one correspondence with the box group anchor point segment sequence. After time alignment and event anchor point segmentation are completed, each anchor point segment in the box group anchor point segment sequence forms an independent segment boundary. After the preset coding field is mapped to the operation record within the independent segment boundary, the corresponding content of the stage event, the corresponding content of the topology relationship, the corresponding content of the circuit role, and the corresponding content of the power supply boundary are extracted in sequence. The extracted field values are written into a structured field set in a unified format. The structured field set after writing constitutes the mirror segment representation information of the corresponding segment. Since each historical operation segment uses the same field system to complete the extraction and expression, the historical segments of different distribution boxes in the box group can be uniformly expressed without changing the original source relationship. This enables the stage power supply segments formed by different distribution boxes in different time periods to have a homogeneous comparison basis. The segment identifier and the source distribution box identifier remain unchanged in the process of this unified expression and are continuously attached to the corresponding mirror object.
[0022] In this embodiment S1, the box group mirror segment library is a searchable segment set formed by indexing box group mirror segments according to preset coding fields and storing them in a unified data space. It is used to locate and access candidate mirror segments based on the mirror retrieval key. The box group mirror segment library establishes a composite index structure for each box group mirror segment, with the stage event field and box topology field as the main index fields and the circuit role field and power supply boundary field as the secondary index fields. It is used to filter candidate mirror segments that meet the circuit role and power supply boundary constraints under the stage relationship and topology relationship constraints specified by the mirror retrieval key. The box group mirror segment library also groups and stores box group mirror segments according to the source distribution box identifier and historical operating time to support the retrieval and filtering of box group mirror segments based on a specified distribution box set or a specified time interval.
[0023] In this embodiment S1, the box group mirror fragment library is a collection of fragments formed by uniformly storing, organizing, and retrieving all box group mirror fragments. Before entering the library structure, the box group mirror fragments are first processed by field standardization according to preset coding fields to ensure that each mirror fragment is consistent in field name, field position, and field value form. Then, the standardized mirror fragments are written into a unified data space. The unified data space is used to carry mirror fragment objects corresponding to multiple distribution boxes, multiple historical time periods, and multiple stage events, so that all mirror fragments are in a state of centralized access, unified retrieval, and grouped calling. After the box group mirror fragment library is established, historical operation data is no longer directly open to subsequent processing. Instead, the mirror fragment collection that has completed the library construction undertakes the subsequent positioning, access, and filtering actions. Thus, the basis for calling historical samples is transformed from the original data calling mode to the mirror fragment calling mode.
[0024] In this embodiment S1, the container group mirror fragment library uses a composite index structure to organize mirror fragments. The stage event field and the container topology field are used as the main index fields, and the loop role field and the power supply boundary field are used as the secondary index fields. The main index fields are used to first locate the stage range and topology range in a large-scale fragment set. The secondary index fields are used to further filter the role relationship and power supply boundary relationship in the fragment subset after the main index location is completed. When the composite index structure is established, the field values that have been uniformly encoded in each mirror fragment are used as the basis for index writing. The field values of the stage event field and the container topology field are written into the main index area, and the field values of the loop role field and the power supply boundary field are written into the secondary index area. After the mirror fragment enters the library, it has the retrieval basis of fast location by the main index and continued constraint filtering by the secondary index. This allows different mirror objects in the fragment set to be distinguished in a coarse-grained manner by stage category and topology structure, and also in a fine-grained manner by loop role relationship and power supply boundary relationship.
[0025] In this embodiment S1, the index structure in the box group mirror fragment library is stored in association with the mirror fragment body. Both the main index field and the auxiliary index field point to the corresponding box group mirror fragment object. The mirror fragment object retains the fragment identifier and the source distribution box identifier. Therefore, after the index location is completed, the structured content of the corresponding mirror fragment can be directly accessed and the fragment source can be traced. The composite index structure is used to support the initial screening based on stage relationship and topology relationship, as well as the further screening based on circuit role relationship and power supply boundary relationship. This enables the mirror fragment library to not only have the ability to centrally store fragments, but also to narrow the search scope layer by layer around the stage power supply relationship. During the fragment retrieval process, the source distribution box identifier of each mirror object is kept together with the mirror fragment body, so that the subsequent statistical analysis of the fragment source distribution can be completed directly based on the results in the library.
[0026] In this embodiment S1, the box group mirror fragment library also groups and stores mirror fragments according to the source distribution box identifier and historical operating time. The source distribution box identifier group is used to collect all historical mirror fragments from the same distribution box entity, and the historical operating time group is used to collect mirror fragments formed within the same or adjacent time segments. Group storage and composite index structure exist in parallel. The composite index structure is responsible for field retrieval relationships, and group storage is responsible for fragment collection relationships. When performing fragment access and range control, the source distribution box range or historical operating time range can be limited first based on the grouping results, and then fragment filtering can be performed based on the main index field and the secondary index field. Alternatively, after the index positioning is completed, the grouping results can be called back to check the source and time attribution of the fragments. This allows the mirror fragment library to handle large-scale historical sample data. The system simultaneously possesses three organizational capabilities: unified storage, unified indexing, and grouping and aggregation. The unified data space, composite index structure, and grouping storage method in the box group mirror segment library together constitute the organizational foundation for the power supply segments of the box group's historical stages. The unified data space ensures that all mirror segments enter the same access space, the composite index structure ensures that mirror segments can be retrieved and located according to field relationships, and grouping storage ensures that mirror segments can be aggregated by source distribution box and historical operation time. The segment identifier, source distribution box identifier, stage event field, box topology field, circuit role field, and power supply boundary field are continuously bound to the corresponding mirror segments after the database is built, so that any mirror segment in the database can be located, accessed, grouped, and traced simultaneously, thereby fully supporting the organizational expression of the box group's historical operation process at the stage power supply structure level.
[0027] In this embodiment S2, the target operation profile is used to represent the current operation status of the target distribution box during the period to be analyzed, and serves as the basis for generating the mirror retrieval key; the target operation profile is encoded based on the target anchor point segment sequence and a preset encoding field consistent with the box group mirror segment; the stage relationship in the target operation profile corresponds to the stage event field, the topology relationship corresponds to the box topology field, and the power supply coverage relationship corresponds to the circuit role field and the power supply boundary field; the arrangement position of each field in the target operation profile is consistent with the arrangement position of the corresponding field in the box group mirror segment.
[0028] In this embodiment S2, the target operation data of the target distribution box during the analysis period is a set of operation-related data continuously formed around a single target distribution box within the analysis time range. The target operation data is comparable to the historical operation data in S1 in terms of data type, but the scope of the object is limited to the specified time period data of the current distribution box to be analyzed. After the target operation data enters the processing flow, a unified time alignment is first performed to map the target operation records of different recording sources, different recording intervals, and different timestamp formats to the same time base. Then, event anchor points are extracted based on the changes in circuit state, stage state, and event trigger points in the operation process. The target operation process is segmented using the event anchor points as boundaries to form a target anchor point segment sequence. Each segment in the target anchor point segment sequence is arranged in chronological order and corresponds to different stage intervals in the continuous operation process within the analysis period. Thus, the target operation data is transformed from the original continuous recording structure into a segment sequence structure organized according to event boundaries.
[0029] In this embodiment S2, the target operation profile is built on the target anchor point segment sequence. Each segment in the target anchor point segment sequence corresponds to an operation interval with a clear start and end boundary. Based on the stage change relationships, box topology relationships, and power supply coverage relationships within each segment, field extraction and field mapping are performed according to preset coding fields consistent with the box group mirror segments. The stage relationship corresponds to the stage entry, stage duration, and stage exit relationships between each anchor point segment of the target distribution box within the analysis period. The box topology relationship corresponds to the circuit organization relationship of the target distribution box participating in power supply expression within the current analysis period. The power supply coverage relationship corresponds to the set of circuits actually participating in power supply within each anchor point segment and its boundary coverage range. After the extracted field values are written into a structured record according to a unified field system, a target operation profile representing the current operating status of the target distribution box is formed. The target operation profile and the container cluster mirror segment maintain consistency in encoding. The usage of preset encoded fields in the target operation profile is consistent with that in the container cluster mirror segment. The field types, meanings, and positions are consistent, so that the stage relationships in the target operation profile can directly correspond to the stage event fields in the container cluster mirror segment. The topological relationships in the target operation profile can directly correspond to the container topology fields in the container cluster mirror segment. The power supply coverage relationships in the target operation profile can directly correspond to the circuit role fields and power supply boundary fields in the container cluster mirror segment. Field consistency is reflected not only at the field name level but also at the field's arrangement position in the structured record. As a result, the target operation profile is no longer a descriptive object independent of the container cluster mirror segment, but a target expression object in the same encoding system as the container cluster mirror segment.
[0030] In this embodiment S2, the target operation profile is used as the retrieval object. Its structure retains at least the stage field, topology field, and power supply coverage field that can characterize the current operation status. After each field is written, a complete profile record is formed. This profile record is used to centrally express the current operation status of the target distribution box during the period to be analyzed. On the other hand, it serves as the basic data source for generating the mirror retrieval key. The arrangement of each field in the target operation profile is consistent with the arrangement of the corresponding fields in the box group mirror segment. This allows the target operation profile to be directly mapped to the index field system of the box group mirror segment library without changing the logical relationship of the fields. This ensures that the target operation profile has both the ability to express the current operation status and the ability to enter the box group mirror segment library to execute candidate mirrors. The searchability of segment location; the generation process of the target operation profile corresponds to a complete data transformation chain. After time alignment, the target operation data forms an operation record under a unified time benchmark. After event anchor point segmentation, it forms a target anchor point segment sequence. After field extraction and field mapping, it forms a structured field set. After unified encoding, it forms the target operation profile. The target operation profile retains the stage boundary information, topological relationship information and power supply coverage information from the target anchor point segment sequence. Therefore, it can reflect the stage connection between each event anchor point in the period to be analyzed, and it can also reflect the organization and coverage relationship of each circuit in the power supply expression within the distribution box in the same period. This makes the target operation profile an intermediate encoding object connecting the target operation data and the box group mirror segment library.
[0031] In this embodiment S2, the mirror retrieval key is generated based on the combination of all fields in the target running profile, and is used to locate the candidate mirror fragment corresponding to the target running profile in the container cluster mirror fragment library; there is a one-to-one correspondence between the mirror retrieval key and the index fields of the container cluster mirror fragment library.
[0032] In this embodiment S2, the mirror retrieval key is based on the target operation profile. After the target operation profile is uniformly encoded, it contains all the field values corresponding to the stage relationship, topology relationship and power supply coverage relationship. The mirror retrieval key is the retrieval identifier generated according to the combination of all fields in the target operation profile. The combination of all fields includes the combination results of the stage event field, box topology field, loop role field and power supply boundary field in the target operation profile. The mirror retrieval key is not an independently collected data object, but a retrieval expression object formed by combining the values of each field in the target operation profile. Therefore, there is a one-to-one correspondence between the mirror retrieval key and the target operation profile. Different target operation profiles correspond to different mirror retrieval keys, and target operation profiles with the same field combination correspond to the same retrieval expression. The role of the mirror retrieval key in the container cluster mirror fragment library is to locate candidate mirror fragments that correspond to the target operating profile. The location of candidate mirror fragments is not an indiscriminate access to all fragments, but rather a field-level location based on the one-to-one correspondence between the mirror retrieval key and the index fields in the container cluster mirror fragment library. The stage event field in the mirror retrieval key corresponds to the stage event field in the composite index structure of the container cluster mirror fragment library, the container topology field in the mirror retrieval key corresponds to the container topology field in the composite index structure, and the loop role field and power supply boundary field in the mirror retrieval key correspond to the loop role field and power supply boundary field in the composite index structure, respectively. Based on this correspondence, the mirror retrieval key can directly locate a set of mirror fragments in the fragment library that have the same field structure and compatible field values as the target operating profile.
[0033] In this embodiment S2, the one-to-one correspondence between the mirror retrieval key and the index fields of the container cluster mirror fragment library is not only reflected in the correspondence of field names, but also in the correspondence of field positions and the correspondence of field semantics. The correspondence of field names ensures that each field in the target operation profile can find a position with the same name or synonym in the index system. The correspondence of field positions ensures that the combination order in the target operation profile can remain consistent during the index access process. The correspondence of field semantics ensures that the same field expresses the same type of stage relationship, topological relationship, or power supply coverage relationship in the target operation profile and the container cluster mirror fragment library. Thus, when the mirror retrieval key enters the fragment library retrieval process, it does not need to perform additional field remapping or semantic conversion, but can directly complete the process based on the existing index system. The process of locating and accessing candidate mirror fragments is as follows: The generation process of the mirror retrieval key is continuous with the encoding process of the target operation profile. After the target operation profile is completed, all fields are in fixed positions in the structure record according to the preset encoding fields. When the mirror retrieval key is generated, the field values at the corresponding positions are directly read and the fields are combined to form a combined identifier for retrieval. This combined identifier retains the current operation status characteristics of the target distribution box during the period to be analyzed, and maintains a field organization method compatible with the index structure of the box group mirror fragment library. This allows the mirror retrieval key to convert the state expression in the target operation profile into the location conditions in the fragment library, thereby transforming the target operation profile from a state description object into a retrieval object that can perform candidate mirror fragment location.
[0034] In this embodiment S2, the setting of the mirror retrieval key establishes a stable mapping link between the target operation profile and the box group mirror segment library. The target operation data is time-aligned and segmented by event anchors to form a target anchor segment sequence. The target anchor segment sequence is uniformly encoded to form a target operation profile. The target operation profile is combined with fields to form a mirror retrieval key. The mirror retrieval key then establishes a one-to-one correspondence with the index fields of the box group mirror segment library and performs candidate mirror segment positioning. This enables the current operation status of the target distribution box during the analysis period to enter the box group mirror segment retrieval process in a uniform encoding and uniform field combination manner, ensuring that subsequent candidate mirror segment retrieval is based on clear field foundations and clear correspondences.
[0035] In this embodiment S2, the one-to-one correspondence between the mirror retrieval key and the index fields of the container group mirror fragment library means that the stage event field in the mirror retrieval key corresponds to the stage event field in the composite index structure, the container topology field in the mirror retrieval key corresponds to the container topology field in the composite index structure, and the loop role field and power supply boundary field in the mirror retrieval key correspond to the loop role field and power supply boundary field in the composite index structure, respectively. Based on the one-to-one correspondence, candidate mirror fragment retrieval is performed on the container group mirror fragments in the container group mirror fragment library that satisfy the consistency of the stage event field and the container topology field and the constraints of the loop role field and the power supply boundary field.
[0036] In this embodiment S3, the segment connection constraint relationship is used to constrain the sequential splicing relationship between candidate mirror segments. The segment connection constraint relationship includes the stage connection relationship and the power supply boundary connection relationship. The stage connection relationship is a segment sequential succession relationship determined based on the stage event identifiers of adjacent candidate mirror segments and the order between the stage event identifiers, and is used to determine the stage arrangement order of adjacent candidate mirror segments in the counterfactual mirror stage chain. The power supply boundary connection relationship is a power supply continuity relationship determined based on the power supply boundary information of adjacent candidate mirror segments, and is used to determine whether adjacent candidate mirror segments meet the power supply continuity condition when splicing sequentially. The power supply boundary information includes the power supply start boundary, the power supply end boundary, and the allowable transition power supply boundary.
[0037] In this embodiment S3, after the mirror retrieval key enters the box group mirror segment library, the candidate mirror segments are first located. Then, a segment connection constraint relationship is established based on whether the candidate mirror segments can form a continuous stage sequence. The segment connection constraint relationship is not an abstract relationship that exists independently of the candidate mirror segments. Instead, it is a segment splicing judgment basis formed by the stage event identifiers, power supply boundary information, and the previous and subsequent connection information of the segments in the historical operation process that have been encoded within the candidate mirror segments. The candidate mirror segments only enter the sequential splicing process when they meet the segment connection constraint relationship. This makes the splicing of candidate mirror segments no longer dependent on arbitrary arrangement, but is based on verifiable stage succession relationships and power supply continuity relationships. The segment connection constraint relationship includes... This includes stage connection relationships and power supply boundary connection relationships. Stage connection relationships are used to determine the succession order of adjacent candidate mirror segments in the stage sequence. The basis for this is the stage event identifiers of adjacent candidate mirror segments and the chronological relationship of the stage event identifiers in the historical operation process. In specific processing, the stage event identifiers of the candidate mirror segments are first extracted. Then, the succession logic between stage event identifiers is determined based on the stage entry, stage duration, and stage exit order formed after the historical operation data is segmented by event anchor points. When the stage event identifier of the next candidate mirror segment can inherit the stage event identifier of the previous candidate mirror segment in the stage sequence, it is determined that the two satisfy the stage connection relationship, thereby ensuring that the mirror segments entering the splicing process have continuity in the stage sequence.
[0038] In this embodiment S3, the power supply boundary connection relationship is used to determine the continuity of adjacent candidate mirror segments in the power supply process. The basis for this is the power supply boundary information of adjacent candidate mirror segments. The power supply boundary information includes the power supply start boundary, the power supply end boundary, and the allowable transition power supply boundary. The power supply start boundary is used to identify the start position of the power supply of the stage represented by the corresponding candidate mirror segment. The power supply end boundary is used to identify the end position of the power supply of the stage represented by the corresponding candidate mirror segment. The allowable transition power supply boundary is used to identify the transition power supply interval that is allowed to exist when switching between adjacent stages. In the sequential splicing process, when the power supply end boundary of the previous candidate mirror segment and the power supply start boundary of the next candidate mirror segment meet the continuous connection condition, or when the two fall within the coverage area of the allowable transition power supply boundary, it is determined that the two meet the power supply boundary connection relationship, thereby ensuring that there is no stage break or illegal overlap in the power supply process after the mirror segments are spliced.
[0039] In this embodiment S3, the stage connection relationship and the power supply boundary connection relationship together constitute the sequential splicing constraint of the candidate mirror fragments. First, the candidate mirror fragments are initially sorted according to the stage event identifier. Then, the stage connection relationship and the power supply boundary connection relationship of adjacent candidate mirror fragments are checked one by one. Only adjacent candidate mirror fragments that satisfy both types of relationships are retained as splicable fragment pairs. Candidate mirror fragments that do not satisfy either relationship do not enter the current splicing path. After processing, a set of fragment splicing paths that satisfy stage continuity and power supply continuity is obtained. This processing method makes the fragment connection constraint relationship bear both the stage sequence constraint and the power supply boundary constraint, thereby ensuring that the counterfactual mirror stage chain is established on the basis of unified and clear splicing rules.
[0040] In this embodiment S3, the data structure of the counterfactual mirror stage chain is a chain structure formed by connecting multiple stage chain nodes sequentially according to the stage arrangement order. Each stage chain node includes the stage event identifier, power supply boundary information, and source distribution box identifier of the corresponding candidate mirror segment. The group support result is a statistical result obtained by counting the candidate mirror segments participating in the construction of the counterfactual mirror stage chain according to the number of source distribution boxes, and is used to screen and confirm the candidate mirror segments in the counterfactual mirror stage chain.
[0041] In this embodiment S3, the group support result includes the number of source distribution boxes corresponding to each candidate image fragment and the support determination result formed based on the number of source distribution boxes, and retains the candidate image fragments that meet the preset support conditions to construct the counterfactual image stage chain.
[0042] In this embodiment S3, the counterfactual mirror stage chain is a chain structure formed by connecting multiple stage chain nodes sequentially according to the stage arrangement order. Each stage chain node corresponds to a candidate mirror segment that has been retrieved by the mirror retrieval key and confirmed to be able to enter the splicing path by the segment connection constraint relationship. The stage chain node retains at least the stage event identifier, power supply boundary information, and source distribution box identifier of the corresponding candidate mirror segment. The stage event identifier is used to identify the stage position of the node in the entire stage chain, the power supply boundary information is used to identify the power supply range of the stage corresponding to the node, and the source distribution box identifier is used to identify the historical sample source on which the node is based. Thus, the counterfactual mirror stage chain can not only express the stage succession logic of the target operating state in the historical sample, but also retain the necessary data for subsequent statistics and screening at the chain node level. The source information; the formation process of the counterfactual mirror stage chain is not to directly connect all candidate mirror fragments, but to first form multiple splicable fragment paths based on the fragment connection constraint relationship, and then extract the set of stage chain nodes that satisfy the continuity of stage sequence and power supply boundary. The stage chain nodes are connected in the order determined by the stage event identifier to form a complete chain structure. During the connection process, the adjacent stage chain nodes maintain a unidirectional connection relationship from the previous node to the next node. A clear continuous relationship is formed between the power supply end boundary of the previous node and the power supply start boundary or allowable transition power supply boundary of the next node. The source distribution box identifier is continuously attached to the corresponding stage chain node without being lost. Thus, the counterfactual mirror stage chain becomes a stage chain structure that can express three types of information: stage sequence, power supply boundary and sample source.
[0043] In this embodiment S3, the group support result is a statistical result formed by counting the candidate mirror fragments participating in the construction of the counterfactual mirror stage chain according to the number of source distribution boxes. The statistical object is not arbitrary historical fragments, but candidate mirror fragments that have entered the splicable path and have been used to form stage chain nodes. During the statistics, the candidate mirror fragments are first classified according to the stage position in the counterfactual mirror stage chain, and then the number of source distribution boxes supporting the stage node is counted according to the source distribution box identifier within the same stage position, forming the source distribution result and support quantity result of the corresponding stage node. This allows the group support result to reflect the source coverage of each stage node in the box group's historical samples, rather than just reflecting the local matching situation of a single distribution box fragment. The group support result is used to screen and confirm the candidate mirror fragments in the counterfactual mirror stage chain. During processing, the number of source distribution boxes corresponding to each stage node is used as the basis for support strength. Candidate mirror fragments with a larger source coverage are retained first, and those with a larger source coverage are supported. Candidate mirror fragments with insufficient scope are eliminated or downgraded. The remaining stage chain nodes after filtering are then reconnected into a counterfactual mirror stage chain. This ensures that the counterfactual mirror stage chain is not determined by a single historical sample, but is composed of stage chain nodes that have received high source support in the historical samples of the distribution box group. A correspondence is maintained between the group support results and the counterfactual mirror stage chain. Each stage chain node in the counterfactual mirror stage chain can trace the statistical results of the number of source distribution boxes. The statistical results can serve as the basis for whether to retain a stage chain node, as well as as the supporting basis for the subsequent generation of mirror claim slots. In specific implementation, after the stage chain node is established, it can form an association record between the node identifier, stage event identifier, source distribution box identifier set, and support quantity. This association record is then saved as an integral part of the chain structure. Thus, the stage chain node not only undertakes the task of expressing the stage sequence, but also undertakes the task of carrying group sample support information, fully supporting the construction and confirmation process of the counterfactual mirror stage chain.
[0044] In this embodiment S3, the mirror claim slot is a phased power claim structure generated based on the phase event identifier and power supply boundary information of the corresponding phase chain node, used to accept the actual power supply segment that matches the corresponding phase; each mirror claim slot includes at least a phase identifier, a set of legal loops, a legal start boundary, a legal end boundary, and a permissible transitional power supply boundary; each mirror claim slot in the mirror claim slot sequence corresponds one-to-one with each phase chain node in the counterfactual mirror phase chain, and the arrangement order between the previous mirror claim slot and the next mirror claim slot is consistent with the connection order between the corresponding phase chain nodes.
[0045] In this embodiment S3, the mirror claim slot is generated based on the stage event identifier and power supply boundary information of the corresponding stage chain node. The stage event identifier is used to determine the stage position corresponding to the mirror claim slot, and the power supply boundary information is used to determine the power supply range covered by the mirror claim slot. When the mirror claim slot is generated, the stage event identifier and power supply boundary information of the stage chain node are read as the basic object, and the circuit role relationship in the candidate mirror segment corresponding to the stage node is combined to determine the set of circuits that are eligible for power supply claim in that stage, forming the stage-specific power supply claim structure corresponding to that stage. Thus, the mirror claim slot not only corresponds to a certain stage position, but also has a power supply boundary and a range of legal circuits that match that stage. Each mirror claim slot includes at least a stage identifier, a set of legal loops, a legal start boundary, a legal end boundary, and a permitted transitional power supply boundary. The stage identifier identifies the stage to which the mirror claim slot belongs in the entire stage sequence. The set of legal loops identifies the range of loops allowed to enter the claim relationship within that stage. The legal start boundary identifies the starting position of the power supply claim in that stage. The legal end boundary identifies the ending position of the power supply claim in that stage. The permitted transitional power supply boundary identifies the range of transitional power supply that can be retained when switching between adjacent stages. After the above information is written into the mirror claim slot, the mirror claim slot becomes a complete claim object with stage position, loop range, and boundary range.
[0046] In this embodiment S3, the formation of the legal loop set is not independently preset, but is formed by collecting and confirming the loop role field in the candidate mirror fragment set represented by the corresponding stage chain node. Among multiple candidate mirror fragments corresponding to the same stage chain node, the loop role field corresponding to each mirror fragment is first extracted, and then the loops that can continuously participate in power supply expression in that stage are collected to form the legal loop set for that stage. This ensures that the legal loop set in the mirror claim slot is consistent with the historical sample base corresponding to the stage chain node, so that the actual power supply fragments entering the slot later have clear claim boundaries at the loop level. The mirror claim slot sequence is a set of stage claim positions formed by arranging multiple mirror claim slots sequentially according to the stage arrangement order in the counterfactual mirror stage chain. Each mirror claim slot in the mirror claim slot sequence corresponds one-to-one with each stage chain node in the counterfactual mirror stage chain, that is, each stage chain node generates... A corresponding mirror claim slot is generated, and the arrangement order between the previous and subsequent mirror claim slots is consistent with the connection order between the corresponding stage chain nodes. This ensures that the mirror claim slot sequence is isomorphic to the counterfactual mirror stage chain in terms of stage order, guaranteeing that the subsequent power claim process can proceed directly along the counterfactual stage order. After the mirror claim slot sequence is established, each mirror claim slot retains both the stage identifier and its positional relationship in the sequence, as well as the set of legal loops and boundary ranges. The entire mirror claim slot sequence thus becomes a set of claim positions that unfolds stage by stage along the counterfactual mirror stage chain. In this set, adjacent mirror claim slots are connected by the stage order relationship, and the legal end boundary of the previous slot is connected to the legal start boundary or the allowed transition power supply boundary of the subsequent slot. This allows the mirror claim slot sequence to reflect both the stage order formed under the support of historical samples and the power supply range allowed to enter the claim relationship within each stage.
[0047] In this embodiment S4, the candidate unclaimed power supply segment refers to the actual power supply segment that has not entered any mirror claim slot, as well as the out-of-bounds continuous portion of the actual power supply segment that continues to exist after the legal end boundary of the corresponding mirror claim slot after entering the corresponding mirror claim slot; the unclaimed power supply segment refers to the candidate unclaimed power supply segment that has not been claimed by the current task stage, stage switching event, and exit process after the ownership verification.
[0048] In this embodiment S4, the actual power supply process of the target distribution box during the analysis period is represented by the records corresponding to the circuit energization state, circuit de-energization state, stage entry state, stage exit state, and power supply continuity state in the target operation data. The actual power supply process is not a data object generated separately from the target operation data, but a power supply process expression result extracted and recombined from the target operation data. During processing, the energization start position, energization continuity interval, and energization end position of each circuit are first identified in the target anchor point segment sequence after time alignment and event anchor point segmentation. Then, records belonging to the same continuous power supply process are merged into actual power supply segments according to the time order. Multiple actual power supply segments are arranged sequentially to form an actual power supply segment sequence. Each segment in the actual power supply segment sequence corresponds to at least one circuit's continuous power supply behavior in a certain stage interval, and the stage position, circuit identity, and power supply start and end boundaries of the segment are retained at the same time. Thus, the actual power supply process is transformed from a continuous operation record into a fragmented power supply expression result that can be directly compared with the mirror claim slot sequence.
[0049] In this embodiment S4, the matching between the actual power supply segment and the mirror claiming slot sequence is based on stage identifiers, loop relationships, and power supply boundaries. The stage identifier is used to determine which mirror claiming slot a certain actual power supply segment should enter in the comparison range of the stage sequence. The loop relationship is used to determine whether the loop that generated the actual power supply segment falls into the legal loop set of the corresponding mirror claiming slot. The power supply boundary is used to determine whether the start boundary, end boundary, and duration of the actual power supply segment are within the coverage range of the legal start boundary, legal end boundary, or allowable transitional power supply boundary of the corresponding mirror claiming slot. In the matching process, the slot is first screened according to the stage identifier, and then the loop relationship and power supply boundary are compared within the screening range. If the actual power supply segment meets the acceptance conditions of the corresponding mirror claiming slot in all three relationships, it is determined that the actual power supply segment has entered the corresponding mirror claiming slot. If the acceptance conditions are not met in any relationship, the actual power supply segment does not enter the current mirror claiming slot and continues to be screened for candidate unclaimed power supply segments. This ensures that the matching action is based on a clear three-fold foundation of stage, loop, and boundary.
[0050] In this embodiment S4, the formation of candidate ownerless power supply segments includes two scenarios. The first scenario is that a certain actual power supply segment does not enter any mirror claiming slot after being compared with all mirror claiming slots one by one. This type of segment indicates that there is no acceptable position in the set of stage claiming positions corresponding to the counterfactual mirror stage chain. The second scenario is that a certain actual power supply segment has entered the corresponding mirror claiming slot, but its duration exceeds the legal end boundary of the mirror claiming slot, or its duration exceeds the allowable transition power supply boundary. In this case, the out-of-bounds continuous part after exceeding the legal boundary is separated from the originally claimed power supply segment and recorded separately as a candidate ownerless power supply segment. After the candidate ownerless power supply segment is formed, it maintains the source association with the original actual power supply segment, and records its corresponding stage identifier, loop identity, out-of-bounds start point and out-of-bounds duration range. This allows the subsequent attribution verification to identify both completely unaccepted power supply segments and out-of-bounds power supply parts that were originally acceptable but continue to exist outside the boundary.
[0051] In this embodiment S4, the attribution verification revolves around three attribution criteria: the current task stage, the stage switching event, and the exit process. The current task stage is used to determine whether the candidate ownerless power supply segment still belongs to the continuous power supply behavior that should exist within the legal power supply range of the current stage. The stage switching event is used to determine whether the candidate ownerless power supply segment belongs to the transitional power supply behavior that is allowed when the adjacent stage switches. The exit process is used to determine whether the candidate ownerless power supply segment belongs to the legal exit power supply behavior of the corresponding circuit at the end of the stage or after the task ends. During the verification, the stage position and circuit identity of the candidate ownerless power supply segment are read first, and then compared with the stage boundary of the current task stage, the transition boundary of the stage switching event, and the exit boundary of the exit process item by item. If the candidate ownerless power supply segment can be explained by any attribution criterion, its ownerless candidate attribute is canceled and it is restored to an already attributed power supply segment. If the candidate ownerless power supply segment cannot be explained by any of the three attribution criteria, its candidate ownerless attribute is retained and it enters the ownerless power segment determination process, so that the ownerless determination is based on the result of all the stage attribution, switching attribution, and exit attribution verifications.
[0052] In this embodiment S4, the attribution verification includes determining whether the candidate ownerless power supply segment belongs to the legal power supply range of the current stage based on the current task stage, determining whether the candidate ownerless power supply segment belongs to the transitional power supply range during the stage switching process based on the stage switching event, and determining whether the candidate ownerless power supply segment belongs to the legal exit power supply range of the corresponding circuit based on the exit process; and determining whether the candidate ownerless power supply segment belongs to the legal exit power supply range of the corresponding circuit based on the exit process; and determining the ownerless power supply segment that does not belong to the legal power supply range of the current stage, the transitional power supply range, and the legal exit power supply range at the same time is identified as an ownerless power supply segment.
[0053] In this embodiment S4, the ownerless power segment is the power supply segment corresponding to the candidate ownerless power supply segment that has not been claimed by the current task stage, stage switching event, and exit process after the ownership verification. This segment can be a complete actual power supply segment or an out-of-bounds continuous part separated from the actual power supply segment. After the ownerless power segment is determined, it is necessary to maintain the association relationship with the original actual power supply segment, the corresponding mirror claiming slot, and the ownership verification result. The association with the original actual power supply segment is used to trace which circuit and which segment of power supply behavior the ownerless segment comes from. The association with the corresponding mirror claiming slot is used to indicate under what stage claiming boundary the ownerless segment was screened out. The association with the ownership verification result is used to indicate the specific judgment basis for the ownerless segment not being claimed by the current task stage, stage switching event, and exit process. Thus, the ownerless power segment is not just a final label result, but a complete segment object with source segment, stage position, boundary state, and ownership verification result, and maintains a full-link correspondence with the candidate ownerless power supply segment screening process, the mirror claiming slot matching process, and the actual power supply process in the target running data.
[0054] Example 2: The power distribution box energy efficiency analysis system based on big data proposed in this invention is applied to the power distribution box energy efficiency analysis method based on big data proposed in Example 1. It includes a memory, a processor, and a computer program stored in the memory and executable on the processor. The processor executes the computer program to implement the power distribution box energy efficiency analysis method based on big data in Example 1.
[0055] The embodiments of the present invention have been described in detail above with reference to the accompanying drawings. However, the present invention is not limited thereto. Various changes can be made within the scope of knowledge possessed by those skilled in the art without departing from the spirit of the present invention.
Claims
1. A method for energy efficiency analysis of distribution boxes based on big data, characterized in that, Includes the following steps: S1. Obtain historical operating data of each distribution box, perform time alignment and event anchor point segmentation on the historical operating data to generate a box group anchor point segment sequence, and extract the image segment representation information according to the preset coding field to generate a box group image segment. At the same time, establish a box group image segment library based on the box group image segment. Among them, the box group mirror segment refers to the stage power supply structured data unit formed by dividing the operation process of each distribution box according to the event anchor point; S2. Obtain the target operation data of the target distribution box during the period to be analyzed, perform time alignment and event anchor point segmentation on the target operation data to generate a target anchor point segment sequence, and generate a target operation profile and the corresponding mirror search key of the target operation profile according to the preset coding fields. Among them, the target operation profile refers to the retrieval object formed after encoding the stage relationship, topological relationship and power supply coverage relationship of the target distribution box during the period to be analyzed; the mirror retrieval key is the retrieval identifier for locating the candidate mirror segment corresponding to the target operation profile in the box group mirror segment library; S3. Based on the mirror retrieval key, retrieve candidate mirror fragments in the box group mirror fragment library, and splice the candidate mirror fragments to generate a counterfactual mirror stage chain based on the fragment connection constraint relationship, and generate a mirror claim slot sequence based on the counterfactual mirror stage chain and the group support result. Among them, the fragment connection constraint relationship is the set of relationships that determine whether adjacent candidate mirror fragments can be sequentially spliced; the counterfactual mirror stage chain is a sequence of stages composed of candidate mirror fragments that can be sequentially spliced; the mirror claim slot sequence is a set of stage claim positions formed by sequentially arranging the mirror claim slots according to the stage arrangement order in the counterfactual mirror stage chain. S4. The actual power supply process of the target distribution box during the period to be analyzed is segmented into segments to generate an actual power supply segment sequence. The actual power supply segments are matched with the mirror claim slot sequence to filter candidate ownerless power supply segments. Then, the ownership verification of the candidate ownerless power supply segments is performed to obtain the ownerless power supply segment.
2. The method for energy efficiency analysis of distribution boxes based on big data according to claim 1, characterized in that: In step S1, the preset encoding field is a set of fields that uniformly encode the stage events, box topology relationships, circuit role relationships, and power supply boundaries during the historical operation of each distribution box. It is used to extract mirror segment representation information in the box group anchor point segment sequence using a fixed set of fields. The mirror segment representation information is a set of structured field values extracted from each historical operation segment in the box group anchor point segment sequence according to the preset encoding field, which represents the power supply relationship of the corresponding stage. The box group mirror segment includes a segment identifier and a source distribution box identifier, which are used as basic data objects for candidate mirror segment retrieval, segment splicing, and group support statistics in the box group mirror segment library. The segment identifier is used to distinguish the power supply structured data units of different stages in the box group mirror segment library, and the source distribution box identifier is used to record the distribution box entity to which the box group mirror segment belongs.
3. The method for energy efficiency analysis of distribution boxes based on big data according to claim 2, characterized in that: In S1, the container group mirror segment library is a set of searchable segments formed by indexing container group mirror segments according to preset coding fields and storing them in a unified data space. It is used to locate and access candidate mirror segments based on the mirror retrieval key. For each container group mirror segment, the container group mirror segment library establishes a composite index structure with the stage event field and the container topology field as the main index fields and the loop role field and the power supply boundary field as the secondary index fields. It is used to filter candidate mirror segments that meet the loop role and power supply boundary constraints under the stage relationship and topology relationship constraints specified by the mirror retrieval key. The container cluster mirror segment library also groups and stores container cluster mirror segments according to the source distribution box identifier and historical operating time.
4. The method for energy efficiency analysis of distribution boxes based on big data according to claim 3, characterized in that: In S2, the target operation profile is used to represent the current operation status of the target distribution box during the period to be analyzed, and serves as the basis for generating the mirror retrieval key; The target running profile is encoded based on the target anchor point segment sequence and a preset encoding field that is consistent with the box group mirror segment; The phase relationships in the target operation profile correspond to the phase event field, the topology relationships correspond to the box topology field, and the power supply coverage relationships correspond to the circuit role field and the power supply boundary field. The arrangement of each field in the target operation profile is consistent with the arrangement of the corresponding fields in the box group mirror segment.
5. The method for energy efficiency analysis of distribution boxes based on big data according to claim 4, characterized in that: In step S2, the mirror retrieval key is generated based on the combination of all fields in the target running profile and is used to locate the candidate mirror fragment corresponding to the target running profile in the container cluster mirror fragment library; there is a one-to-one correspondence between the mirror retrieval key and the index fields of the container cluster mirror fragment library.
6. The method for energy efficiency analysis of distribution boxes based on big data according to claim 5, characterized in that: In S3, the segment connection constraint relationship is used to constrain the sequential splicing relationship between candidate mirror segments. The segment connection constraint relationship includes the stage connection relationship and the power supply boundary connection relationship. The stage connection relationship is the segment sequential succession relationship determined based on the stage event identifiers of adjacent candidate mirror segments and the order between the stage event identifiers, and is used to determine the stage arrangement order of adjacent candidate mirror segments in the counterfactual mirror stage chain. The power supply boundary connection relationship is the power supply continuity relationship determined based on the power supply boundary information of adjacent candidate mirror segments, and is used to determine whether adjacent candidate mirror segments meet the power supply continuity condition when splicing sequentially. The power supply boundary information includes the power supply start boundary, the power supply end boundary, and the allowed transition power supply boundary.
7. The method for energy efficiency analysis of distribution boxes based on big data according to claim 6, characterized in that: In S3, the data structure of the counterfactual mirror stage chain is a chain structure formed by connecting multiple stage chain nodes sequentially according to the stage arrangement order. Each stage chain node includes the stage event identifier, power supply boundary information, and source distribution box identifier of the corresponding candidate mirror segment. The group support result is a statistical result obtained by counting the candidate mirror segments participating in the construction of the counterfactual mirror stage chain according to the number of source distribution boxes. It is used to filter and confirm the candidate mirror segments in the counterfactual mirror stage chain.
8. The method for energy efficiency analysis of distribution boxes based on big data according to claim 7, characterized in that: In S3, the mirror claim slot is a phased power claim structure generated based on the phase event identifier and power supply boundary information of the corresponding phase chain node, used to accept the actual power supply segment that matches the corresponding phase; each mirror claim slot includes at least a phase identifier, a set of legal loops, a legal start boundary, a legal end boundary, and a permissible transitional power supply boundary; each mirror claim slot in the mirror claim slot sequence corresponds one-to-one with each phase chain node in the counterfactual mirror phase chain, and the arrangement order between the previous mirror claim slot and the next mirror claim slot is consistent with the connection order between the corresponding phase chain nodes.
9. The method for energy efficiency analysis of distribution boxes based on big data according to claim 8, characterized in that: In S4, the candidate unclaimed power supply segment refers to the actual power supply segment that has not entered any mirror claim slot, as well as the out-of-bounds continuous portion of the actual power supply segment that continues to exist after the legal end boundary of the corresponding mirror claim slot after entering the corresponding mirror claim slot. Unclaimed power supply segments refer to candidate unclaimed power supply segments that have not been claimed by the current task phase, phase switching event, or exit process after ownership verification.
10. A power distribution box energy efficiency analysis system based on big data, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: The processor executes a computer program to implement the big data-based power distribution box energy efficiency analysis method as described in any one of claims 1-9.