A method and system for monitoring of power access services

By constructing a full lifecycle time sequence graph structure for power access services and using graph embedding learning, the problem of automatically identifying temporal logic conflicts between power access service links was solved. This enabled full-process correlation analysis and accurate anomaly localization for power access services, improving process control accuracy and risk prediction capabilities.

CN123163205APending Publication Date: 2026-11-24STATE GRID ZHEJIANG ELECTRIC POWER CO LTD HANGZHOU POWER SUPPLY CO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611178426.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-05
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

In existing technologies, the monitoring methods for each stage of power access services are fragmented, making it difficult to automatically identify temporal logic conflicts between stages and to trace the source of anomalies, which affects the accuracy of assessing service quality and efficiency and identifying risks of exceeding deadlines.

Method used

By constructing a time-series graph structure of the entire lifecycle of power access service projects, and using graph embedding learning methods, the temporal dependencies between links are solidified into computable data carriers. Graph embedding learning is then performed to generate low-dimensional embedding vectors, and regression and classification mappings are carried out to generate timeliness prediction values ​​and risk probability values, triggering early warnings and adjusting mapping parameters and thresholds.

Benefits of technology

It enables correlation analysis of the entire power access service process, improves the accuracy of anomaly source location, enhances process control precision and real-time response capability of risk prediction, avoids missed or false alarms, and supports the optimization of the power business environment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123163205A_ABST
    Figure CN123163205A_ABST
Patent Text Reader

Abstract

The application discloses a kind of monitoring method and system of electric power access service, applied to electric power marketing service field, including obtaining standardized feature vector according to the time sequence data of each link of electric power access service project;Time sequence graph structure is constructed according to link division and time sequence dependence relationship;According to the graph embedding learning of standardized feature vector according to time sequence graph structure, obtain low-dimensional embedding vector;Low-dimensional embedding vector is carried out regression mapping and classification mapping, and the timely rate prediction value and risk probability value of each link are obtained;The timely rate prediction value and risk probability value are mapped to multilayer time sequence graph data model, and visual monitoring graph is obtained.The method provided by the application generates monitoring result under the whole-process correlation analysis framework, realizes the technical effect of improving abnormal source positioning accuracy and risk prediction timeliness.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of electricity marketing service technology, and in particular to a monitoring method and system for electricity access services. Background Technology

[0002] Power access services involve multiple stages, including project preparation, business acceptance, solution response, project implementation, acceptance and power-on, with strict sequence and time constraints between each stage.

[0003] In existing technologies, power companies typically use multiple business systems, such as marketing business management systems and power access project management systems, to track and record the progress of the aforementioned stages. They then calculate indicators such as on-time performance based on the planned schedule and actual time consumed at each stage, using this as the primary basis for evaluating service quality and identifying the risk of delays. However, this monitoring method, which relies on data from multiple business systems and operates on an independent stage-by-stage basis, essentially evaluates each stage separately. Because the data formats, time bases, and update frequencies of each business system are inconsistent, it is difficult to directly align and correlate the timestamps of stages from different systems, making it difficult to automatically identify cross-stage temporal logic conflicts. Summary of the Invention

[0004] This invention provides a monitoring method and system for power access services to solve the technical problem that it is difficult to trace the source of anomalies due to ignoring the temporal dependencies between links, so as to improve the accuracy of anomaly location based on the temporal dependencies between links.

[0005] To address the aforementioned technical problems, embodiments of the present invention provide a method for monitoring power access services, comprising: Based on the time-series data of each stage in the power access service project, the standardized feature vectors of each stage are obtained. Based on the division of each stage and the corresponding temporal dependencies, a time sequence diagram structure for the entire lifecycle of the power access service project is constructed. The nodes of the time sequence diagram structure are the stages, and the edges are the temporal dependencies corresponding to each stage. Based on the time series graph structure, graph embedding learning is performed on the standardized feature vectors to obtain low-dimensional embedding vectors for each stage. Regression mapping is performed on the low-dimensional embedding vector to obtain the timeliness prediction value corresponding to each stage, and classification mapping is performed on the low-dimensional embedding vector to obtain the risk probability value corresponding to each stage. When the risk probability value exceeds the warning trigger threshold, a warning is triggered. The mapping parameters of the regression mapping are adjusted according to the frequency of warning triggering, and the warning trigger threshold is adjusted according to the timeliness prediction value. The predicted timeliness and risk probability values ​​of each stage are mapped to a multi-layer time series data model to obtain a visual monitoring chart.

[0006] As one preferred embodiment, the step of obtaining standardized feature vectors for each stage of the power access service project based on time-series data includes: Obtain the timestamps and corresponding status codes of each stage in the power access service project as time-series data; The time-series data is cleaned and its validity is verified, and the standardized feature vectors of each stage are obtained based on the processed time-series data.

[0007] As one preferred embodiment, the step of constructing a time sequence diagram structure for the entire lifecycle of the power access service project based on the division of each stage and the corresponding temporal dependencies includes: Determine the various stages of the power access service project and the temporal dependencies between the stages, wherein the temporal dependencies are used to indicate the order of the stages. Using each of the aforementioned stages as nodes and the temporal dependencies between the aforementioned stages as edges, the temporal graph structure of the power access service project is constructed. Configure the weights of each edge in the time sequence diagram structure according to the project type and voltage level of the power access service project.

[0008] As one preferred embodiment, the step of performing graph embedding learning on the standardized feature vectors based on the time-series graph structure to obtain low-dimensional embedding vectors for each stage includes: In the time sequence graph structure, the standardized feature vectors of each stage are used as the initial features of each node, and feature information is transmitted between each node according to the direction indicated by the edges of the time sequence graph structure. Based on the temporal dependencies indicated by the edges of the temporal graph structure, the temporal consistency between the features of each node is constrained to obtain the low-dimensional embedding vector of each node.

[0009] As one preferred embodiment, mapping the timeliness prediction values ​​and risk probability values ​​of each stage to a multi-layer time series data model to obtain a visual monitoring chart includes: Construct the multi-layer time-series data model, wherein the number of layers in the multi-layer time-series data model corresponds to each stage of the power access service project; The predicted timeliness rate of each step is used as the node attribute value of the corresponding layer in the multi-layer time series data model, and the risk probability value of each step is used as the node attribute value of the corresponding layer in the multi-layer time series data model. Temporal features are transferred between adjacent layers of the multi-layer time-series graph data model to generate the visualized monitoring graph containing the temporal state information of each stage.

[0010] Another embodiment of the present invention provides a monitoring system for power access services, comprising: The feature generation module is used to obtain the standardized feature vectors of each stage based on the time-series data of each stage in the power access service project. The timing graph construction module is used to construct a timing graph structure for the entire life cycle of the power access service project based on the division of each stage and the corresponding timing dependencies. The nodes of the timing graph structure are each stage, and the edges are the timing dependencies corresponding to each stage. The graph embedding learning module is used to perform graph embedding learning on the standardized feature vector according to the time series graph structure to obtain the low-dimensional embedding vector of each stage. The dual-branch monitoring module is used to perform regression mapping on the low-dimensional embedding vector to obtain the timeliness prediction value corresponding to each link, and to perform classification mapping on the low-dimensional embedding vector to obtain the risk probability value corresponding to each link. When the risk probability value exceeds the warning trigger threshold, an early warning is triggered. The mapping parameters of the regression mapping are adjusted according to the frequency of the early warning trigger, and the early warning trigger threshold is adjusted according to the timeliness prediction value. The visualization generation module is used to map the predicted timeliness rate and the risk probability value of each link to a multi-layer time series data model to obtain a visualized monitoring map.

[0011] As one preferred embodiment, the feature generation module includes: The data acquisition unit is used to acquire the timestamps and corresponding status codes of each stage in the power access service project as time-series data. The data processing and feature generation unit is used to perform data cleaning and validity checks on the time series data, and to obtain the standardized feature vectors of each stage based on the processed time series data.

[0012] As one preferred embodiment, the timing graph construction module includes: A timing dependency determination unit is used to determine the various stages of the power access service project and the timing dependencies between the various stages, wherein the timing dependencies are used to indicate the order of the various stages. A construction unit is used to construct the time sequence diagram structure of the power access service project, with each of the links as nodes and the temporal dependencies between the links as edges. The weight configuration unit is used to configure the weight of each edge in the time sequence diagram structure according to the project type and voltage level of the power access service project.

[0013] As one preferred embodiment, the graph embedding learning module includes: An initial feature determination unit is used to take the standardized feature vectors of each stage as the initial features of each node in the time sequence graph structure, and transmit feature information between each node according to the direction indicated by the edge of the time sequence graph structure. The temporal constraint unit is used to constrain the temporal consistency between the features of each node according to the temporal dependencies indicated by the edges of the temporal graph structure, so as to obtain the low-dimensional embedding vector of each node.

[0014] As one preferred embodiment, the visualization generation module includes: A time-series data model construction unit is used to construct the multi-layer time-series data model, wherein the number of layers in the multi-layer time-series data model corresponds to each stage of the power access service project; The attribute value determination unit is used to take the timeliness prediction value of each link as the node attribute value of the link in the corresponding layer of the multi-layer time series data model, and to take the risk probability value of each link as the node attribute value of the link in the corresponding layer of the multi-layer time series data model. The monitoring graph generation unit is used to transfer time-series features between adjacent layers of the multi-layer time-series graph data model and generate the visualized monitoring graph containing the time-series status information of each link.

[0015] Compared with the prior art, the beneficial effects of the embodiments of the present invention are at least one of the following: (1) This invention standardizes the time-series data of each stage of the power access service project and constructs a time-series graph structure with stages as nodes and time-series dependencies as edges, solidifying the sequential constraints and schedule constraints between stages into a computable data carrier. During the graph embedding learning process, the standardized feature vectors of each stage transmit information along the edges of the time-series graph structure, so that the embedding representation of each stage integrates the state information of its predecessor stage; the time-series state transmission allows the subsequent stage to inherit the time-series state information of the previous stage, ensuring that the low-dimensional embedding vector of each stage contains both its own features and the time-series coupling relationship between upstream and downstream stages. On this basis, regression mapping and classification mapping are executed in parallel, and the time rate prediction value and risk probability value are output synchronously; the risk probability value output by classification mapping is used to trigger early warning and adjust the mapping parameters of regression mapping in reverse, and the time rate prediction value output by regression mapping is used to adjust the early warning trigger threshold synchronously. The above process enables the monitoring results of each stage to be correlated and analyzed under the whole process time-series dependency framework, which can accurately distinguish whether the delay originates from the stage itself or is caused by the transmission of the predecessor stage, significantly improving the accuracy of anomaly source location.

[0016] (2) By constructing a time sequence diagram structure and preserving the time sequence coupling relationship, this invention transforms the monitoring process from independent evaluation of a single link to a full-process correlation analysis, effectively overcoming the defects of fragmented data from multi-source business systems and the difficulty in automatically identifying time sequence logic conflicts between links. The bidirectional alternating adjustment between the early warning trigger frequency and the regression mapping parameters, and between the timeliness prediction value and the early warning trigger threshold, enables the risk early warning sensitivity to dynamically adapt to changes in actual monitoring results, avoiding missed or false alarms caused by fixed thresholds. This realizes the transformation from passively responding to delays to actively predicting risks, effectively improving the process control accuracy and real-time response capability of risk prediction throughout the entire life cycle of power access services, and providing technical support for the continuous optimization of the power business environment. Attached Figure Description

[0017] Figure 1 This is a flowchart illustrating a monitoring method for power access services in one embodiment of the present invention. Figure 2 This is a schematic diagram of a power access service monitoring system in one embodiment of the present invention; Figure label: Among them, 11. Feature generation module, 12. Temporal graph construction module, 13. Graph embedding learning module, 14. Dual branch monitoring module, and 15. Visualization generation module. Detailed Implementation

[0018] 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, and not all embodiments. The purpose of providing these embodiments is to make the disclosure of the present invention more thorough and comprehensive. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present invention.

[0019] In the description of this application, the terms "first," "second," "third," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Therefore, a feature defined with "first," "second," "third," etc., may explicitly or implicitly include one or more of that feature. In the description of this application, unless otherwise stated, "a plurality of" means two or more.

[0020] In the description of this application, it should be noted that, unless otherwise expressly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to fixed connections, detachable connections, or integral connections; they can refer to mechanical connections or electrical connections; they can refer to direct connections or indirect connections through an intermediate medium; and they can refer to the internal communication between two components. The terms "vertical," "horizontal," "left," "right," "upper," "lower," and similar expressions used herein are for illustrative purposes only and do not indicate or imply that the device or component referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as limiting the invention. The term "and / or" as used herein includes any and all combinations of one or more of the associated listed items. Those skilled in the art can understand the specific meaning of the above terms in this application based on the specific circumstances.

[0021] In the description of this application, it should be noted that, unless otherwise defined, all technical and scientific terms used in this invention have the same meaning as commonly understood by one of ordinary skill in the art. The terminology used in this specification is for the purpose of describing specific embodiments only and is not intended to limit the invention. Those skilled in the art can understand the specific meaning of the above terms in this application based on the specific circumstances.

[0022] One embodiment of the present invention provides a method for monitoring power access services. For details, please refer to [link to relevant documentation]. Figure 1 , Figure 1 The following is a monitoring method for power access service according to one embodiment of the present invention, which includes steps S1 to S5: S1: Based on the time-series data of each stage in the power access service project, obtain the standardized feature vector of each stage; The timestamps of various stages in the power access service project are scattered across multiple heterogeneous systems, such as the marketing business system and the power access engineering system. The data formats, time bases, and update frequencies of these systems are inconsistent, and the raw data commonly contains outliers, temporal logic conflicts, and missing values. If the raw data is directly input into the subsequent model, the model will be unable to effectively learn the temporal dependencies between stages, and may even introduce noise interference.

[0023] Preferably, in one embodiment of the present invention, obtaining the standardized feature vector of each stage based on the time-series data of each stage in the power access service project includes: Obtain the timestamps and corresponding status codes of each stage in the power access service project as time-series data; The time-series data is cleaned and its validity is verified, and the standardized feature vectors of each stage are obtained based on the processed time-series data.

[0024] Specifically, the process begins by using a pre-defined API interface to obtain real-time timestamps and status codes for each stage of the project from multiple data sources, including the marketing business system and the power access engineering system. These stages include: project initiation, preliminary plan preparation, business acceptance, power supply plan response, power access engineering, final acceptance, and meter installation and connection. The timestamps record the actual completion time or current time of each stage, and the status codes identify the current execution status of each stage (e.g., "not started," "in progress," "completed," "overdue").

[0025] Data cleaning and validity testing include three operations: (1) Outlier removal: The isolated forest algorithm is used to identify and remove data points whose timestamps exceed the reasonable range of business. The outlier sample ratio contamination=0.1 and the number of random trees n_estimators=100 are set. For example, data points whose timestamps are earlier than 2000 or later than five years after the current time are identified as outliers and removed.

[0026] (2) Timing consistency verification. The built-in timing consistency rule library is executed through the rule engine. The rule library contains the following five rules: the business acceptance timestamp is not later than the power supply plan response timestamp; the power supply plan response timestamp is not later than the project commencement timestamp; the sum of the project commencement timestamp and the planned construction period does not exceed the completion acceptance timestamp, and the completion acceptance timestamp does not exceed the sum of the project commencement timestamp and the planned construction period by 1.2 times; the completion acceptance timestamp is not later than the meter installation and power connection timestamp; the difference between the meter installation and power connection timestamp and the business acceptance timestamp does not exceed the total project time limit, which is determined according to the project voltage level.

[0027] (3) Missing value handling: For missing timestamps, a forward filling strategy is adopted, and the timestamp of the most recent valid collection is used to fill them. If more than 3 timestamp nodes are missing consecutively, the data is marked as "data interrupted" and a data source re-collection request is triggered.

[0028] Based on the processed time-series data, a standardized feature vector is generated for each stage, which is a five-dimensional vector. The first dimension is the stage type information, mapping the seven stages—project initiation, preliminary plan preparation, business acceptance, power supply plan response, power access project, completion acceptance, and meter installation and connection—to integer indices 1 to 7, respectively. The second dimension is the stage duration ratio information, defined as the ratio of the standard duration of this stage to the total standard duration of the project's entire lifecycle. The third dimension is the stage progress ratio information, defined as the ratio of the number of days consumed in this stage to the standard duration of this stage. The fourth dimension is the completion status information of the preceding stages, a binary variable, set to 1 when all preceding stages are completed and 0 otherwise. The fifth dimension is the abnormal status information, encoded according to the time-series consistency verification results. In this embodiment, the numerical features of the second and third dimensions are standardized using Z-score processing.

[0029] S2: Based on the division of each stage and the corresponding temporal dependencies, construct a time sequence diagram structure for the entire life cycle of the power access service project. The nodes of the time sequence diagram structure are each stage, and the edges are the temporal dependencies corresponding to each stage. Power access services involve seven core stages from project initiation to meter installation and connection, each with strict temporal dependencies. A subsequent stage can only begin after the preceding stage is completed. In traditional independent stage monitoring methods, this "first come, first served" business rule is merely a reference for manual verification and is not transformed into a computable data structure for automated analysis. This prevents the model from utilizing the temporal coupling relationships between stages for feature fusion and anomaly tracing. Therefore, it is necessary to abstract the "stage division" and "sequence of stages" at the business process level into "nodes" and "edges" in graph theory, providing a structured data carrier for subsequent graph embedding learning.

[0030] Preferably, in one embodiment of the present invention, a time sequence diagram structure of the entire lifecycle of the power access service project is constructed based on the division of each stage and the corresponding temporal dependencies, including: Determine the various stages of the power access service project and the temporal dependencies between the stages, wherein the temporal dependencies are used to indicate the order of the stages. Using each of the aforementioned stages as nodes and the temporal dependencies between the aforementioned stages as edges, the temporal graph structure of the power access service project is constructed. Configure the weights of each edge in the time sequence diagram structure according to the project type and voltage level of the power access service project.

[0031] Specifically, based on the full lifecycle business specifications for power access services, the various stages involved in monitoring and the temporal dependencies between these stages are determined. These stages include seven phases: project initiation, preliminary plan preparation, business acceptance, power supply plan response, power access engineering, final acceptance, and meter installation and connection. The temporal dependencies between these stages follow the natural order of business execution: preliminary plan preparation is performed after project initiation; business acceptance is performed after preliminary plan preparation; power supply plan response is performed after business acceptance; power access engineering is performed after power access engineering; final acceptance is performed after final acceptance; and meter installation and connection are performed after final acceptance. These temporal dependencies are indicated by directed edges, meaning that a subsequent stage can only begin after the preceding stage is completed.

[0032] Using the seven stages as nodes and the temporal dependencies between stages as edges, a time sequence graph structure G=(V,E,W) is constructed for the power access service project. Here, V is the set of nodes corresponding to the seven stages; E is the set of directed edges, with edges pointing from preceding stages to subsequent stages; and W is the set of edge weights, representing the standard duration of each stage. The time sequence graph structure is a directed acyclic graph, and its topological order is consistent with the business progression order throughout the entire lifecycle of the power access service.

[0033] Weights are assigned to each edge in the time sequence diagram structure based on the project type and voltage level of the power access service project. In this embodiment, project types include industrial, livelihood, and infrastructure projects, and voltage levels include 10kV, 35kV, and 110kV. The weight of each edge is equal to the standard duration of the subsequent stage pointed to by that edge, in days, which physically represents the planned time interval required from the completion of the preceding stage to the completion of the current stage. The standard duration value is retrieved from a preset standard duration database, which stores the standard duration values ​​of each stage using a joint index of project type, voltage level, and stage identifier.

[0034] The edge weights are determined as follows: for combinations of the same project type and voltage level, all edges entering the same node have the same weight value (because they all point to the same subsequent stage, representing the standard duration of the same stage). The initial value of the edge weight is the standard duration of the subsequent stage under the corresponding project type and voltage level. For example, among all combinations of project types and voltage levels, the weight of the edge "Business Acceptance - Power Supply Scheme Response" is equal to the standard duration of the power supply scheme response stage; the weight of the edge "Power Supply Scheme Response - Power Access Project" is equal to the standard duration of the power access project stage.

[0035] Step S2 abstracts the business processes of power access services into graph nodes, the temporal sequence into directed edges, and the standard project duration into edge weights, thus transforming business process rules into graph structure data. Nodes correspond to the identities of the processes, making each process an independent entity for graph embedding learning; directed edges encode the direction of temporal dependencies, enabling subsequent graph embedding learning to transmit feature information between processes along the edge directions.

[0036] S3: Based on the time series graph structure, perform graph embedding learning on the standardized feature vector to obtain the low-dimensional embedding vectors of each stage; Step S1 has yielded numerically standardized feature vectors, but these feature vectors suffer from two problems: first, they are high-dimensional and contain redundant information, making them computationally intensive and prone to poor generalization when directly used for subsequent quality and efficiency assessments and risk warnings; second, the feature vectors for each stage are independent and do not reflect the temporal dependencies between stages. If these independent feature vectors are directly used for subsequent assessments and warnings, the model will be unable to perceive the mutual influence between stages, making it difficult to trace the source of anomalies. Therefore, a method is needed that can fuse and encode the characteristics of each stage with the temporal coupling relationships between stages into a low-dimensional vector, providing high-quality input for subsequent dual-branch monitoring.

[0037] Preferably, in one embodiment of the present invention, graph embedding learning is performed on the standardized feature vectors according to the time series graph structure to obtain low-dimensional embedding vectors for each stage, including: In the time sequence graph structure, the standardized feature vectors of each stage are used as the initial features of each node, and feature information is transmitted between each node according to the direction indicated by the edges of the time sequence graph structure. Based on the temporal dependencies indicated by the edges of the temporal graph structure, the temporal consistency between the features of each node is constrained to obtain the low-dimensional embedding vector of each node.

[0038] The standardized feature vectors of each stage are used as the initial features of the corresponding nodes in the time series graph structure. Specifically, features are propagated along the edges of the time series graph structure through a graph attention layer. There are three graph attention layers, each with three attention heads, and each attention head has a dimension of 64. For any node, the attention coefficient between it and its neighboring nodes is calculated as follows: the feature vectors of the two nodes are linearly transformed and concatenated, then mapped to a scalar through a weight vector, activated by a LeakyReLU function with a negative slope of 0.2, and the exponent is taken. This exponent is then divided by the sum of the above calculation results of all the neighboring nodes of that node. The outputs of each attention head are concatenated and linearly transformed to 128 dimensions.

[0039] Temporal features are aggregated in chronological order through a temporal aggregation layer, which employs gated recurrent units and has a hidden layer dimension of 128. Using the planned timestamps of each stage as time coordinates, the node features aggregated by the graph attention layer are organized into sequential input gated recurrent units, with the hidden state of the previous stage serving as the initial state of the next stage.

[0040] The gated loop unit controls the retention of historical information and the fusion of current information through update gates and reset gates: the update gate determines the degree to which the hidden state of the previous moment is retained, the reset gate determines the degree to which the hidden state of the previous moment is ignored, the candidate hidden state is calculated by the current input and the previous hidden state after reset, and the hidden state of the current moment is obtained by the update gate interpolating between the historical hidden state and the candidate hidden state.

[0041] The temporal consistency of adjacent stages is constrained by a temporal regularization term. The embedded vectors of each node, after the above processing, are mapped to a one-dimensional scalar through a linear projection layer and activated by the ReLU function to obtain the equivalent cumulative time consumption representation of that node. For each directed edge in the time sequence graph structure, the difference in cumulative time consumption representation between the preceding and following stages should approximate the standard duration value corresponding to that edge. The temporal regularization term is the weighted sum of the squares of these differences across all edges, with a weight coefficient of 0.5. The weight of each edge is configured differently according to the stage type: the weight of critical path stages is 1.8, the weight of approval stages is 1.0, and the weight of terminal stages is 0.6.

[0042] After processing by the graph attention layer and the temporal aggregation layer, the output layer outputs a low-dimensional embedding vector for each node, with a dimension of 16. This low-dimensional embedding vector integrates the node's own temporal information, the temporal characteristics of neighboring nodes, and temporal dependencies, and will serve as a unified input for quality and efficiency evaluation and risk warning in subsequent steps. The classification methods and values ​​of the number of graph attention layers, the number and dimension of attention heads, the dimension of hidden layers, the dimension of output, the regularization coefficient, and the differential regularization weight are all preferred implementations in this embodiment. Those skilled in the art can make adaptive adjustments based on the data scale and computing resources of the actual application scenario.

[0043] S4: Perform regression mapping on the low-dimensional embedding vector to obtain the timeliness prediction value corresponding to each link, and perform classification mapping on the low-dimensional embedding vector to obtain the risk probability value corresponding to each link. When the risk probability value exceeds the warning trigger threshold, a warning is triggered. The mapping parameters of the regression mapping are adjusted according to the frequency of warning triggering, and the warning trigger threshold is adjusted according to the timeliness prediction value. Monitoring power access services requires answering two core questions: how well are the various stages currently performing (quality and efficiency assessment), and whether delays are likely to occur in any stage (risk warning). While the low-dimensional embedding vector output in step S3 includes the stage's inherent attributes and temporal coupling, it doesn't directly provide answers to these two questions. Quality and efficiency assessment requires mapping the embedding vector to continuous values ​​reflecting schedule deviations, while risk warning requires mapping it to probability values ​​reflecting the likelihood of anomalies. Therefore, it's necessary to further establish a mapping relationship from the embedding vector to quality and efficiency scores and risk probabilities.

[0044] Traditional approaches treat the two tasks as independent processes, establishing separate prediction models and using fixed thresholds to determine risk, with no information exchange between the two outputs. This approach ignores the inherent correlation between performance evaluation results and risk warning triggering. Systematic biases in performance evaluation can lead to over- or under-triggered warnings, while abnormal fluctuations in warning triggering frequency reflect potential deviations from the actual situation. Therefore, this step, based on establishing a bi-branch mapping, further introduces a two-way closed-loop feedback mechanism, allowing the two outputs to serve as mutual references and correction bases, converging together to a more accurate output state during iterative updates.

[0045] Specifically, the low-dimensional embedding vectors of each stage output from step S3 are input into two independent fully connected networks.

[0046] The regression mapping branch is used for quality and efficiency evaluation. This branch adopts a three-layer fully connected network structure: the input layer receives a 16-dimensional low-dimensional embedding vector, the first hidden layer maps this vector to 64 dimensions and activates it with the ReLU function, the second hidden layer maps the 64 dimensions to 32 dimensions and activates it with the ReLU function, and the output layer maps the 32 dimensions to 1 dimension and compresses it to the [0,1] interval with the Sigmoid function. The final output value is the predicted timeliness of this step. The closer the value is to 1, the closer the actual time is to or shorter than the planned time, and the higher the quality and efficiency; the closer the value is to 0, the farther the actual time exceeds the planned time, and the lower the quality and efficiency.

[0047] The classification mapping branch is used for risk warning. This branch adopts a two-layer fully connected network structure: the input layer receives a 16-dimensional low-dimensional embedding vector, the hidden layer maps this vector to 32 dimensions and activates it using the ReLU function, and the output layer maps the 32 dimensions to 1 dimension and compresses it to the [0,1] interval using the Sigmoid function. The final output value is the risk probability value of this step. The closer this value is to 1, the higher the probability of delay or blockage in this step.

[0048] During the training phase, the regression mapping branch is optimized using the mean squared error loss function, while the classification mapping branch is optimized using the cross-entropy loss function. Both branches share the low-dimensional embedding vector output in step S3, but their respective network parameters are updated independently. The two branches execute in parallel during forward propagation, with no sequential dependency, ensuring computational efficiency meets real-time monitoring requirements.

[0049] The risk probability value output by the classification mapping branch is compared with a preset warning trigger threshold. When the risk probability value exceeds the threshold, a warning is triggered for that step. The initial value of the warning trigger threshold is set according to business specifications. In this embodiment, the initial value is set to 0.6, indicating that a risk probability value exceeding 60% is considered a high risk, triggering a warning. The warning trigger frequency is statistically analyzed using a fixed time window period. In this embodiment, the time window width is 1 day. The system counts the total number of warnings triggered by each step within this time window to obtain the trigger frequency of each type of warning (unit: times / day). The length of the statistical window can be adjusted according to actual business needs.

[0050] In this embodiment, the bidirectional closed-loop feedback adjustment includes two directions: forward update and reverse update. The two directions are executed alternately until the preset convergence condition is met.

[0051] (1) Forward Update: The average trigger frequency of various warnings within the past 30 time windows is statistically analyzed. When the average trigger frequency of a certain type of warning exceeds the preset first threshold of 3 times per day, it indicates that the warning is over-triggered, that is, the risk warning branch is too sensitive and judges a large number of samples with low actual risk as high risk. At this time, the network weights of the corresponding link in the regression mapping branch are updated by the gradient descent algorithm: the update amount is the learning rate multiplied by the difference between the warning trigger frequency and the preset first threshold, and then multiplied by the gradient of the loss function with respect to the network weights. This update amount makes the timeliness prediction error of the regression mapping branch for this link evolve in the direction of reducing, so that the quality and efficiency evaluation of this link is more accurate, and the feature expression bias that leads to false alarms is eliminated from the source. In this embodiment, the learning rate is 0.01.

[0052] (2) Reverse Update: After the forward update is completed, the predicted timeliness rate of each stage is recalculated. When the predicted timeliness rate of a certain stage is consistently lower than the preset second threshold of 0.6, it indicates that the actual quality and efficiency of that stage is indeed low, and there is a real risk. At this time, the warning trigger threshold corresponding to that stage in the classification mapping branch is adjusted by the gradient descent algorithm: the adjustment amount is the learning rate multiplied by the difference between the predicted timeliness rate and the preset second threshold, and then multiplied by the gradient of the loss function with respect to the warning trigger threshold. This adjustment amount causes the warning trigger threshold to evolve in a downward direction, that is, to lower the threshold for warning triggering, improve the warning sensitivity of that stage, and ensure that the real risk can be detected in a timely manner.

[0053] The aforementioned forward and reverse updates are executed alternately. After each iteration, a comprehensive error is calculated. The comprehensive error is the weighted sum of the normalized deviation of the warning trigger frequency relative to the first threshold and the normalized deviation of the timeliness prediction value relative to the second threshold. In this embodiment, the weights of the two deviations are 0.6 and 0.4, respectively. When the comprehensive error is less than the preset convergence tolerance, the system is determined to have converged, and the iteration stops. If the number of iterations reaches the preset maximum limit (10 times in this embodiment) and convergence is still not achieved, the system is forcibly stopped, and the parameters of the current round are locked. If the change in the comprehensive error is less than the preset oscillation threshold in multiple consecutive iterations, the system is determined to have entered an oscillating steady state, the iteration stops, and the current parameters are locked. After convergence, the regression mapping network weights and warning trigger threshold parameters of the current round are locked until the feedback learning module is retried in the next statistical period.

[0054] After each iteration converges, the updated regression mapping branch network weights and classification mapping branch early warning trigger thresholds are stored in the parameter storage unit and deployed before the start of the next time window. This ensures that the optimized parameters are used for performance evaluation and risk warning during subsequent monitoring. The above two-way closed-loop feedback mechanism performed as follows within a 30-day time window: the false alarm rate for risk warnings decreased from the initial 23.5% to 8.2%, and the accuracy of performance evaluation improved by 6.3 percentage points.

[0055] S5: Map the predicted timeliness rate and the risk probability value of each step to a multi-layer time series data model to obtain a visual monitoring chart.

[0056] Having completed the aforementioned steps, the predicted timeliness and risk probability values ​​for each stage have been generated. However, these results remain in numerical form and are insufficient to directly support management decisions. Given the large number of power grid connection service projects, managers need to quickly grasp the risk distribution of all projects at a macro level, and also rapidly locate specific projects and problematic stages, tracing the source of anomalies when they are detected. Furthermore, managers need to compare the planned and actual timelines of each stage within the same view. Therefore, it is necessary to transform the calculation results into intuitive visual information to support rapid judgment and decision-making by managers.

[0057] Preferably, in one embodiment of the present invention, the timeliness prediction value and the risk probability value of each stage are mapped to a multi-layer time series graph data model to obtain a visual monitoring graph, including: Construct the multi-layer time-series data model, wherein the number of layers in the multi-layer time-series data model corresponds to each stage of the power access service project; The predicted timeliness rate of each step is used as the node attribute value of the corresponding layer in the multi-layer time series data model, and the risk probability value of each step is used as the node attribute value of the corresponding layer in the multi-layer time series data model. Temporal features are transferred between adjacent layers of the multi-layer time-series graph data model to generate the visualized monitoring graph containing the temporal state information of each stage.

[0058] Specifically, a multi-layer time-series data model is constructed. The number of layers in this model corresponds to the number of stages in the power access service project. In this embodiment, the power access service includes seven stages, therefore the multi-layer time-series data model has a seven-layer structure. Each layer corresponds to one of the seven stages: project initiation, preliminary plan preparation, business acceptance, power supply plan response, power access engineering, completion acceptance, and meter installation and connection. Each layer is used to carry the monitoring data for the corresponding stage.

[0059] The multi-layer time series graph data model maintains structural consistency with the time series graph structure in step S2. The connections between layers map to the edges between nodes in the time series graph structure, meaning that the layer containing the preceding stage transmits temporal features to the layer containing the following stage. Feature transfer between adjacent layers is achieved through residual connections: when the feature dimensions of two adjacent layers are the same, the input and output features are directly added using an identity mapping; when the dimensions are different, the feature dimensions are matched using a 1×1 convolution kernel before addition. Through these residual connections, the multi-layer time series graph data model not only preserves the independence of each stage in the spatial dimension (each layer corresponds to one stage) but also establishes temporal relationships between adjacent stages in the temporal dimension (inter-layer feature transfer), enabling the visualization view to simultaneously present the state of each stage and the temporal dependencies between stages.

[0060] The timeliness prediction values ​​of each stage output by the regression mapping branch in step S4 are used as the node attribute values ​​of the corresponding layer in the multi-layer time series data model. Similarly, the risk probability values ​​of each stage output by the classification mapping branch in step S4 are used as the node attribute values ​​of the corresponding layer in the multi-layer time series data model. Each node carries two attribute values: a timeliness prediction value (representing the quality and efficiency level) and a risk probability value (representing the risk level). Through this mapping, each layer of the multi-layer time series data model contains complete monitoring result information for the corresponding stage.

[0061] Furthermore, the multi-layer time series data model maintains logical consistency between stages through inter-layer time series constraints. These inter-layer time series constraints are implemented using a mask matrix: if the status code of a certain stage is "incomplete", the timeliness prediction values ​​of all subsequent stages are forcibly set to zero to avoid the logical error of "the preceding stage is incomplete while the subsequent stage has already received a quality and efficiency score" in the visualization view.

[0062] The multi-layer time-series data model is graphically rendered using a front-end rendering engine to generate a visual monitoring chart. This visual monitoring chart includes at least the following two views: (1) Macro-level Overview View: Taking project clusters as the display object, the on-time rate prediction values ​​and risk probability values ​​of all projects at each stage are aggregated and displayed on a multi-layer time series data model. This view shows the overall on-time rate distribution of all projects through a heat map, the trend of risk warning changes over time through a trend chart, and the risk clustering in different regions through a geographical distribution map. Managers can quickly identify risk clustering areas and high-incidence stages through this view, and grasp the overall service quality and efficiency situation from a macro perspective.

[0063] (2) Micro-process Penetration View: This view presents the timeline comparison information of the seven stages of a single project. It aligns the planned and actual timelines of each stage, highlights overdue stages and warning nodes using color or markers, and demonstrates the timeline transmission relationship between preceding and subsequent stages. Managers can use this view to quickly locate problematic stages, trace the source of anomalies, and determine the scope of delays.

[0064] Interactive drop-through is supported between the two views. When a manager clicks on a risk-concentrated area or high-incidence link in the macro overview view, the view automatically switches to the micro process drop-through view corresponding to that area or link, displaying detailed information about the relevant project.

[0065] Another embodiment of the present invention provides a monitoring system for power access services. For details, please refer to [link to relevant documentation]. Figure 2 , Figure 2 The power access service monitoring system shown in one embodiment of the present invention includes: The feature generation module 11 is used to obtain the standardized feature vectors of each stage based on the time-series data of each stage in the process of the power access service project. The timing graph construction module 12 is used to construct a timing graph structure for the entire life cycle of the power access service project based on the division of each stage and the corresponding timing dependencies. The nodes of the timing graph structure are each stage, and the edges are the timing dependencies corresponding to each stage. Graph embedding learning module 13 is used to perform graph embedding learning on the standardized feature vector according to the time series graph structure to obtain low-dimensional embedding vectors for each stage. The dual-branch monitoring module 14 is used to perform regression mapping on the low-dimensional embedding vector to obtain the timeliness prediction value corresponding to each link, and to perform classification mapping on the low-dimensional embedding vector to obtain the risk probability value corresponding to each link. When the risk probability value exceeds the warning trigger threshold, a warning is triggered. The mapping parameters of the regression mapping are adjusted according to the frequency of warning triggering, and the warning trigger threshold is adjusted according to the timeliness prediction value. The visualization generation module 15 is used to map the timeliness prediction value and the risk probability value of each link to a multi-layer time series data model to obtain a visualization monitoring map.

[0066] Preferably, in one embodiment of the present invention, the feature generation module includes: The data acquisition unit is used to acquire the timestamps and corresponding status codes of each stage in the power access service project as time-series data. The data processing and feature generation unit is used to perform data cleaning and validity checks on the time series data, and to obtain the standardized feature vectors of each stage based on the processed time series data.

[0067] Preferably, in one embodiment of the present invention, the timing diagram construction module includes: A timing dependency determination unit is used to determine the various stages of the power access service project and the timing dependencies between the various stages, wherein the timing dependencies are used to indicate the order of the various stages. A construction unit is used to construct the time sequence diagram structure of the power access service project, with each of the links as nodes and the temporal dependencies between the links as edges. The weight configuration unit is used to configure the weight of each edge in the time sequence diagram structure according to the project type and voltage level of the power access service project.

[0068] Preferably, in one embodiment of the present invention, the graph embedding learning module includes: An initial feature determination unit is used to take the standardized feature vectors of each stage as the initial features of each node in the time sequence graph structure, and transmit feature information between each node according to the direction indicated by the edge of the time sequence graph structure. The temporal constraint unit is used to constrain the temporal consistency between the features of each node according to the temporal dependencies indicated by the edges of the temporal graph structure, so as to obtain the low-dimensional embedding vector of each node.

[0069] Preferably, in one embodiment of the present invention, the visualization generation module includes: A time-series data model construction unit is used to construct the multi-layer time-series data model, wherein the number of layers in the multi-layer time-series data model corresponds to each stage of the power access service project; The attribute value determination unit is used to take the timeliness prediction value of each link as the node attribute value of the link in the corresponding layer of the multi-layer time series data model, and to take the risk probability value of each link as the node attribute value of the link in the corresponding layer of the multi-layer time series data model. The monitoring graph generation unit is used to transfer time-series features between adjacent layers of the multi-layer time-series graph data model and generate the visualized monitoring graph containing the time-series status information of each link.

[0070] Compared with the prior art, the beneficial effects of the embodiments of the present invention are at least one of the following: (1) This invention standardizes the time-series data of each stage of the power access service project and constructs a time-series graph structure with stages as nodes and time-series dependencies as edges, solidifying the sequential constraints and schedule constraints between stages into a computable data carrier. During the graph embedding learning process, the standardized feature vectors of each stage transmit information along the edges of the time-series graph structure, so that the embedding representation of each stage integrates the state information of its predecessor stage; the time-series state transmission allows the subsequent stage to inherit the time-series state information of the previous stage, ensuring that the low-dimensional embedding vector of each stage contains both its own features and the time-series coupling relationship between upstream and downstream stages. On this basis, regression mapping and classification mapping are executed in parallel, and the time rate prediction value and risk probability value are output synchronously; the risk probability value output by classification mapping is used to trigger early warning and adjust the mapping parameters of regression mapping in reverse, and the time rate prediction value output by regression mapping is used to adjust the early warning trigger threshold synchronously. The above process enables the monitoring results of each stage to be correlated and analyzed under the whole process time-series dependency framework, which can accurately distinguish whether the delay originates from the stage itself or is caused by the transmission of the predecessor stage, significantly improving the accuracy of anomaly source location.

[0071] (2) By constructing a time sequence diagram structure and preserving the time sequence coupling relationship, this invention transforms the monitoring process from independent evaluation of a single link to a full-process correlation analysis, effectively overcoming the defects of fragmented data from multi-source business systems and the difficulty in automatically identifying time sequence logic conflicts between links. The bidirectional alternating adjustment between the early warning trigger frequency and the regression mapping parameters, and between the timeliness prediction value and the early warning trigger threshold, enables the risk early warning sensitivity to dynamically adapt to changes in actual monitoring results, avoiding missed or false alarms caused by fixed thresholds. This realizes the transformation from passively responding to delays to actively predicting risks, effectively improving the process control accuracy and real-time response capability of risk prediction throughout the entire life cycle of power access services, and providing technical support for the continuous optimization of the power business environment.

[0072] The embodiments described above are merely illustrative of several implementations of the present invention, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these modifications and improvements all fall within the scope of protection of the present invention. Therefore, the scope of protection of this patent should be determined by the appended claims.

Claims

1. A method for monitoring power access services, characterized in that, include: Based on the time-series data of each stage in the power access service project, the standardized feature vectors of each stage are obtained. Based on the division of each stage and the corresponding temporal dependencies, a time sequence diagram structure for the entire lifecycle of the power access service project is constructed. The nodes of the time sequence diagram structure are the stages, and the edges are the temporal dependencies corresponding to each stage. Based on the time series graph structure, graph embedding learning is performed on the standardized feature vectors to obtain low-dimensional embedding vectors for each stage. Regression mapping is performed on the low-dimensional embedding vector to obtain the timeliness prediction value corresponding to each stage, and classification mapping is performed on the low-dimensional embedding vector to obtain the risk probability value corresponding to each stage. When the risk probability value exceeds the warning trigger threshold, a warning is triggered. The mapping parameters of the regression mapping are adjusted according to the frequency of warning triggering, and the warning trigger threshold is adjusted according to the timeliness prediction value. The predicted timeliness and risk probability values ​​of each stage are mapped to a multi-layer time series data model to obtain a visual monitoring chart.

2. The monitoring method for power access service as described in claim 1, characterized in that, The process of obtaining standardized feature vectors for each stage of the power access service project based on time-series data includes: Obtain the timestamps and corresponding status codes of each stage in the power access service project as time-series data; The time-series data is cleaned and its validity is verified, and the standardized feature vectors of each stage are obtained based on the processed time-series data.

3. The monitoring method for power access service as described in claim 1, characterized in that, The step of constructing a time sequence diagram structure for the entire lifecycle of the power access service project based on the division of each stage and the corresponding temporal dependencies includes: Determine the various stages of the power access service project and the temporal dependencies between the stages, wherein the temporal dependencies are used to indicate the order of the stages. Using each of the aforementioned stages as nodes and the temporal dependencies between the aforementioned stages as edges, the temporal graph structure of the power access service project is constructed. Configure the weights of each edge in the time sequence diagram structure according to the project type and voltage level of the power access service project.

4. The monitoring method for power access service as described in claim 1, characterized in that, The step of performing graph embedding learning on the standardized feature vectors based on the time-series graph structure to obtain low-dimensional embedding vectors for each stage includes: In the time sequence graph structure, the standardized feature vectors of each stage are used as the initial features of each node, and feature information is transmitted between each node according to the direction indicated by the edges of the time sequence graph structure. Based on the temporal dependencies indicated by the edges of the temporal graph structure, the temporal consistency between the features of each node is constrained to obtain the low-dimensional embedding vector of each node.

5. The monitoring method for power access service as described in claim 1, characterized in that, The step of mapping the timeliness prediction values ​​and risk probability values ​​of each stage to a multi-layer time series data model to obtain a visual monitoring chart includes: Construct the multi-layer time-series data model, wherein the number of layers in the multi-layer time-series data model corresponds to each stage of the power access service project; The predicted timeliness rate of each step is used as the node attribute value of the corresponding layer in the multi-layer time series data model, and the risk probability value of each step is used as the node attribute value of the corresponding layer in the multi-layer time series data model. Temporal features are transferred between adjacent layers of the multi-layer time-series graph data model to generate the visualized monitoring graph containing the temporal state information of each stage.

6. A monitoring system for power access services, characterized in that, include: The feature generation module is used to obtain the standardized feature vectors of each stage based on the time-series data of each stage in the power access service project. The timing graph construction module is used to construct a timing graph structure for the entire life cycle of the power access service project based on the division of each stage and the corresponding timing dependencies. The nodes of the timing graph structure are each stage, and the edges are the timing dependencies corresponding to each stage. The graph embedding learning module is used to perform graph embedding learning on the standardized feature vector according to the time series graph structure to obtain the low-dimensional embedding vector of each stage. The dual-branch monitoring module is used to perform regression mapping on the low-dimensional embedding vector to obtain the timeliness prediction value corresponding to each link, and to perform classification mapping on the low-dimensional embedding vector to obtain the risk probability value corresponding to each link. When the risk probability value exceeds the warning trigger threshold, an early warning is triggered. The mapping parameters of the regression mapping are adjusted according to the frequency of the early warning trigger, and the early warning trigger threshold is adjusted according to the timeliness prediction value. The visualization generation module is used to map the predicted timeliness rate and the risk probability value of each link to a multi-layer time series data model to obtain a visualized monitoring map.

7. A monitoring system for power access services as described in claim 6, characterized in that, The feature generation module includes: The data acquisition unit is used to acquire the timestamps and corresponding status codes of each stage in the power access service project as time-series data. The data processing and feature generation unit is used to perform data cleaning and validity checks on the time series data, and to obtain the standardized feature vectors of each stage based on the processed time series data.

8. The monitoring system for power access services as described in claim 6, characterized in that, The timing graph construction module includes: A timing dependency determination unit is used to determine the various stages of the power access service project and the timing dependencies between the various stages, wherein the timing dependencies are used to indicate the order of the various stages. A construction unit is used to construct the time sequence diagram structure of the power access service project, with each of the links as nodes and the temporal dependencies between the links as edges. The weight configuration unit is used to configure the weight of each edge in the time sequence diagram structure according to the project type and voltage level of the power access service project.

9. A monitoring system for power access services as described in claim 6, characterized in that, The graph embedding learning module includes: An initial feature determination unit is used to take the standardized feature vectors of each stage as the initial features of each node in the time sequence graph structure, and transmit feature information between each node according to the direction indicated by the edge of the time sequence graph structure. The temporal constraint unit is used to constrain the temporal consistency between the features of each node according to the temporal dependencies indicated by the edges of the temporal graph structure, so as to obtain the low-dimensional embedding vector of each node.

10. A monitoring system for power access services as described in claim 6, characterized in that, The visualization generation module includes: A time-series data model construction unit is used to construct the multi-layer time-series data model, wherein the number of layers in the multi-layer time-series data model corresponds to each stage of the power access service project; The attribute value determination unit is used to take the timeliness prediction value of each link as the node attribute value of the link in the corresponding layer of the multi-layer time series data model, and to take the risk probability value of each link as the node attribute value of the link in the corresponding layer of the multi-layer time series data model. The monitoring graph generation unit is used to transfer time-series features between adjacent layers of the multi-layer time-series graph data model and generate the visualized monitoring graph containing the time-series status information of each link.