An elevator health assessment method and system based on a knowledge graph and machine learning

By constructing an elevator knowledge graph and graph attention network, and combining the information entropy weighting method and the fault propagation path weighted attention layer, the problem of insufficient identification of multi-component degradation risks in elevator health assessment is solved, and more accurate health scoring and optimized maintenance cycle determination are achieved.

CN123180768APending Publication Date: 2026-11-27ZHEJIANG NEW ZAILING TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611636322.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-22
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing elevator health assessment methods are insufficient to fully reflect the differences in the distribution of operating characteristics of elevators of different ages and the combined risks formed by the joint degradation of multiple components. This leads to a discrepancy between health scores and actual failure risks, affecting the targeted nature of maintenance cycles.

Method used

An elevator knowledge graph is constructed using a knowledge graph and machine learning approach. Feature weights are calculated using the information entropy weighting method. A graph attention network with a fault propagation path weighted attention layer is used, and the information entropy health score is corrected by combining the combined degradation risk probability to determine the maintenance cycle.

Benefits of technology

This improves the accuracy of elevator health assessment results, enabling better identification of degradation risks in multi-component combinations, optimizing the determination of maintenance cycles, and enhancing the targetedness and rationality of maintenance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123180768A_ABST
    Figure CN123180768A_ABST
Patent Text Reader

Abstract

The application discloses an elevator health evaluation method and system based on a knowledge graph and machine learning, and the method comprises the following steps: collecting operation characteristic data, stop data and fault event records of an elevator group, and obtaining an information entropy health score through normalization and information entropy weight calculation; constructing an elevator knowledge graph comprising component nodes, fault mode nodes and fault propagation edges according to the time sequence co-occurrence relationship of different fault modes, and mapping current operation data of an elevator to be evaluated into a node feature matrix; inputting the node feature matrix into a graph attention network, modulating an attention coefficient according to the path distance of each node to an activated fault mode node, and outputting a combined degradation risk probability; correcting the information entropy health score by using the combined degradation risk probability to obtain a final health score, and mapping to obtain a maintenance cycle number of days. The application can improve the rationality of elevator combined degradation risk identification and health evaluation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of intelligent elevator operation and maintenance technology, and in particular to an elevator health assessment method and system based on knowledge graphs and machine learning. Background Technology

[0002] With the continuous growth of urban elevator ownership and the promotion of IoT monitoring terminals and remote monitoring platforms, elevator maintenance is gradually shifting from fixed cycles and fixed projects to on-demand maintenance based on operational status. Existing IoT systems can collect data such as the number of runs, running time, running mileage, number of door openings and closings, elevator stops, and malfunctions, and use this data to conduct operational status monitoring, fault early warning, and maintenance management. In practical applications, elevator health status assessments typically rely on operational indicators, elevator stop conditions, or historical fault data for threshold judgment, statistical analysis, or weighted scoring. Some solutions further employ machine learning models to predict fault risks. However, the distribution of operational characteristics varies among elevators of different ages, and there are correlations and temporal propagation characteristics between various operational indicators and different fault modes. Simply assigning weights to individual indicators independently or directly performing linear fusion is insufficient to fully reflect the combined risks formed by the joint degradation of multiple components, and it is also difficult to utilize the fault propagation relationships implicit in historical fault records. This can lead to discrepancies between health scores and actual fault risks, thus affecting the targeted determination of maintenance cycles. Summary of the Invention

[0003] This application provides an elevator health assessment method and system based on knowledge graphs and machine learning, to at least solve some of the technical problems existing in the background art as described above.

[0004] According to a first aspect of this application, an elevator health assessment method based on knowledge graphs and machine learning is provided, comprising the following steps: Collect elevator group operation characteristic data, elevator stop data and fault event records, normalize the operation characteristic data and elevator stop data, use the information entropy weight method to calculate the adaptive weight of each feature and sum them up to obtain the information entropy health score of each elevator. Based on the temporal co-occurrence relationship between different fault modes in the fault event records, an elevator knowledge graph is constructed. The elevator knowledge graph includes component nodes, fault mode nodes, and fault propagation edges connecting two fault mode nodes. The current operating data of the elevator to be evaluated is mapped to the feature vectors of each node in the elevator knowledge graph to form a node feature matrix. The node feature matrix is ​​input into a graph attention network constructed based on the elevator knowledge graph; the graph attention network includes a fault propagation path weighted attention layer, which modulates the attention coefficients according to the path distance from each node to the node with the activated fault mode; the graph attention network outputs the combined degradation risk probability. The information entropy health score is corrected based on the combined degradation risk probability to obtain the final health score, and the final health score is mapped to the maintenance cycle days.

[0005] In one embodiment, the step of constructing the fault propagation edge includes: for each elevator fault sequence in the fault event record, counting the number of times the second fault mode occurs within a preset time window after the first fault mode occurs on the same elevator, dividing the number of occurrences by the total number of occurrences of the first fault mode to obtain the conditional probability; when the conditional probability exceeds the propagation threshold and the number of corresponding co-occurring event pairs is not less than a preset minimum sample size, establishing a fault propagation edge from the first fault mode node to the second fault mode node, wherein the weight of the fault propagation edge is taken as the value of the conditional probability.

[0006] In one embodiment, the processing procedure of the fault propagation path weighted attention layer includes: calculating the path distance value for each node in the elevator knowledge graph by breadth-first search based on the activation state of the fault mode node of the elevator to be evaluated; the path distance value is the shortest path length from the node to the nearest activated fault mode node along the fault propagation edge; converting the path distance value into a path weight factor; and normalizing the original attention coefficient of each node by the path weight factor of the corresponding neighbor node on the neighbor set to obtain the modulated attention coefficient, which is used to weight and aggregate neighbor node information.

[0007] In one embodiment, correcting the information entropy health score based on the combined degradation risk probability includes: subtracting the product of the fusion coefficient, the combined degradation risk probability, and the difference between the information entropy health score and a preset lower bound from the information entropy health score to obtain the final health score; the fusion coefficient is determined by traversing the candidate value range on the validation dataset and selecting the value corresponding to the minimum maintenance cycle prediction error.

[0008] In one embodiment, mapping the current operating data of the elevator to be evaluated to the feature vectors of each node in the elevator knowledge graph includes: for the component node, filling the normalized values ​​of operating indicators related to component degradation into the corresponding positions of the feature vector; for the fault mode node, setting an activation flag based on whether the elevator to be evaluated has recently experienced this type of fault, and filling in the normalized value of the occurrence frequency of this fault mode in the same group of elevators; the feature vector dimension of each node is uniform, and unassigned positions are filled with zero values.

[0009] In one embodiment, the training process of the graph attention network includes: constructing training samples from historical data, each training sample taking the node feature matrix of an elevator at a certain time point as input, and using whether the elevator has experienced a stoppage fault within a preset number of days after that time point as a binary label; the training loss is composed of a weighted sum of prediction loss and structure regularization loss, the prediction loss is calculated based on the cross-entropy between the combined degradation risk probability output by the model and the binary label, and the structure regularization loss is calculated based on the Euclidean distance between the intermediate layer representation vectors of elevator pairs of the same model and whose node feature similarity exceeds a preset threshold.

[0010] In one embodiment, before calculating the adaptive weights of each feature using the information entropy weighting method, the method further includes: identifying the age inflection point where the rate of change of the rate of change of the rate of change of the elevators increases based on the relationship between the service life of all elevators and the elevator stop rate, and using the age inflection point as the age group boundary to classify each elevator into the corresponding age group; the information entropy weighting method is executed independently within each age group.

[0011] In one embodiment, the elevator knowledge graph further includes subsystem nodes and operating condition nodes; the component nodes are connected to the subsystem nodes through belonging edges, the component nodes are connected to the corresponding fault mode nodes through fault generation edges, and the operating condition nodes are connected to the corresponding component nodes through accelerated degradation edges.

[0012] In one embodiment, the graph attention network is composed of the following modules connected in series: a standard multi-head graph attention layer, which aggregates neighbor node information for each node and updates the node representation; a fault propagation path weighted attention layer; a global average pooling layer, which takes the dimension-wise average of the representation vectors of all nodes to obtain the overall state representation vector; and a fully connected output layer, which maps the overall state representation vector to the combined degradation risk probability through an activation function.

[0013] According to a second aspect of this application, an elevator health assessment system based on knowledge graphs and machine learning is provided, comprising: The health score calculation module is configured to collect the operation characteristic data, stop data and fault event records of the elevator group, normalize the operation characteristic data and stop data, calculate the adaptive weight of each feature using the information entropy weight method and sum them up to obtain the information entropy health score of each elevator. The knowledge graph processing module is configured to construct an elevator knowledge graph based on the temporal co-occurrence relationship between different fault modes in the fault event records. The elevator knowledge graph includes component nodes, fault mode nodes, and fault propagation edges connecting two fault mode nodes. The current operating data of the elevator to be evaluated is mapped to the feature vectors of each node in the elevator knowledge graph to form a node feature matrix. The combined degradation risk assessment module is configured to input the node feature matrix into a graph attention network constructed based on the elevator knowledge graph; the graph attention network includes a fault propagation path weighted attention layer, which modulates the attention coefficients according to the path distance from each node to the node with the activated fault mode; the graph attention network outputs the combined degradation risk probability. The maintenance cycle determination module is configured to correct the information entropy health score based on the combined degradation risk probability to obtain a final health score, and map the final health score to the number of days of the maintenance cycle.

[0014] In this embodiment, by constructing a knowledge graph from the temporal propagation relationships in the elevator's historical fault records and modulating the graph attention calculation using the fault propagation path, the association between the current operating status, component degradation information, and the faults that have occurred can be propagated and aggregated in the graph structure, thereby improving the ability to identify the combined degradation risk of multiple components. The combined degradation risk is used to correct the information entropy health score, making the final health score more consistent with the actual fault risk of the elevator, and the corresponding maintenance cycle is determined accordingly, thereby improving the rationality of the elevator health assessment results and the determination of the maintenance cycle. Attached Figure Description

[0015] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0016] Figure 1 A flowchart of an elevator health assessment method based on knowledge graphs and machine learning provided in an embodiment of this application.

[0017] Figure 2 A schematic diagram of the knowledge graph structure for elevator fault propagation provided in an embodiment of this application.

[0018] Figure 3 This is a schematic diagram illustrating the modulation process of the attention coefficient by the fault propagation path provided in an embodiment of this application.

[0019] Figure 4 This is a schematic diagram illustrating the health score correction driven by the combined degradation risk provided in an embodiment of this application.

[0020] Figure 5 A schematic diagram of the structure of the elevator health assessment system based on knowledge graphs and machine learning provided in this application embodiment.

[0021] Figure 6This is a schematic diagram of an electronic device provided in an embodiment of this application. Detailed Implementation

[0022] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0023] The method described in this embodiment is applicable to city-level elevator groups with deployed IoT monitoring terminals, where the group size can reach several thousand units. The IoT terminals are deployed in the elevator machine room or car top control cabinet, collecting operational status data output by the elevator control system via serial port or CAN bus, and uploading it to the backend big data platform via 4G or Ethernet. The backend platform is equipped with a distributed computing cluster, capable of performing batch offline calculations on all elevators. The input of this method is multi-source operational data of the elevator group, and the output is a quantitative health score for each elevator and a maintenance cycle in days. The overall process includes four stages: data collection and information entropy health score calculation, elevator knowledge graph construction, graph attention network reasoning, and health score correction.

[0024] The implementation process of the method described in this application will be described in detail below with reference to specific embodiments. It should be noted that this embodiment is only used to explain this application and is not intended to limit the scope of protection of this application. Conventional adjustments or substitutions of each step by those skilled in the art without departing from the concept of this application should be included in the scope of protection of this application.

[0025] Figure 1 This application provides an embodiment of an elevator health assessment method based on knowledge graphs and machine learning, such as... Figure 1 As shown, the method includes the following steps: Step S1: Collect elevator group operation characteristic data, elevator stop data and fault event records, and calculate information entropy health score.

[0026] In some embodiments, the backend platform acquires three types of data from IoT terminals, linked by the elevator number as the primary key. Operational characteristic data is statistically analyzed daily, including six fields: number of runs, running time, running distance, number of door openings, number of bends, and number of passengers carried. Stoppage data is also statistically analyzed daily, including two fields: stoppage time and number of stops, recording the cumulative duration and cumulative number of times the elevator stopped due to malfunctions, respectively. Fault event records are stored as fault logs, with each record containing the elevator number, fault mode category, and occurrence date. Fault mode categories are classified according to elevator industry fault classification standards, including repeated door opening and closing, traction rope slippage, excessive leveling deviation, abnormal vibration, and passenger entrapment.

[0027] Specifically, after data is aggregated daily, statistics are performed using a sliding window of the past 90 days. Before dividing into age groups, the inflection point of elevator age is identified based on the relationship between the service life of all elevators and their downtime rate. The downtime rate refers to the ratio of the cumulative downtime of an elevator to the sum of its cumulative running time and cumulative downtime. Service life is divided into boxes in 1-year increments, and the average downtime rate of elevators in each box is calculated to form a discrete sequence of elevator age-downtime rate. Then, piecewise linear regression is used to detect abrupt changes in the slope of the downtime rate, and the age value with a significantly increased slope is used as the boundary of the age group. In one example, when the downtime rate slope suddenly increases from 0.002 / year in the first segment to 0.008 / year in the second segment, the corresponding elevator age is the inflection point. After dividing the age groups based on the set of inflection points, each elevator is assigned to the corresponding group according to its service life.

[0028] The normalization process is performed independently within each age group. Specifically, for each field of the operational characteristic data and elevator stop data, the range method is used to map the original value to the interval between 0 and 1: the current value of the field is subtracted from the minimum value in the group, and then divided by the difference between the maximum and minimum values ​​in the group. After normalization, the information entropy weighting method is used to calculate the adaptive weights of each feature.

[0029] Specifically, the standard deviation of each feature within the age group is calculated to reflect the degree of dispersion within the group, and the Pearson correlation coefficient matrix between features is calculated to reflect the degree of redundancy. The product of the standard deviation and 1 minus the total correlation coefficient is used as the information content of each feature, and the adaptive weight of the feature is obtained by dividing the information content of each feature by the sum of the information content of all features.

[0030] Specifically, suppose there are a total of [number] people in a certain age group. A trolley elevator Each feature (the total number of fields in the running feature data and the elevator stop data) has a group eigenvalue matrix of [number]. For each feature Calculate its standard deviation Calculate the Pearson correlation coefficient matrix between features. ,in Features With features The correlation coefficient. Characteristics. Total correlation coefficient Defined as the average of the absolute values ​​of the correlation coefficients between this feature and all other features: feature Information content Defined as: feature Adaptive weights for: Finally, the performance score is obtained by weighting the normalized feature values ​​and their corresponding weights. The comprehensive raw score is obtained by subtracting the product of the escalator stop rate and the weights that affect the escalator stop rate. The comprehensive raw score is then linearly mapped to the range of 60 to 95 to obtain the information entropy health score.

[0031] Finally, the performance score is obtained by weighting the normalized feature values ​​and their corresponding weights. The comprehensive raw score is obtained by subtracting the product of the escalator stop rate and the weights that affect the escalator stop rate. The comprehensive raw score is then linearly mapped to the range of 60 to 95 to obtain the information entropy health score.

[0032] Step S2: Construct an elevator knowledge graph based on the temporal co-occurrence relationship between different fault modes in the fault event record.

[0033] In some embodiments, the elevator knowledge graph contains 4 types of nodes and 5 types of directed edges, and the topology is shared by all elevators.

[0034] Specifically, component nodes correspond to key components in the elevator that directly participate in operation and may malfunction, including the traction machine, traction sheave, traction rope, door motor, door lock switch, landing door guide rail, control main board, encoder, speed governor, car guide shoe, counterweight guide shoe, and safety gear, totaling 12 nodes. Fault mode nodes correspond to fault manifestation types that can be identified and recorded by the IoT terminal, including repeated door opening and closing, door failure to close, traction rope slippage, excessive leveling deviation, abnormal vibration, passenger entrapment and elevator stoppage, control signal loss, abnormal running speed, safety circuit disconnection, and abnormal door opening position, totaling 10 nodes.

[0035] The subsystem nodes are divided into five subsystems based on elevator function: traction system, door system, electrical control system, car guiding system, and safety protection device. Each component node is connected to its respective subsystem node via a home boundary. There are three operating condition nodes: high-frequency operation, high-load operation, and high door opening / closing frequency. These nodes characterize whether the elevator is currently in an operating state that accelerates component wear. Each operating condition node is connected to the component node affected by that condition via an accelerated degradation boundary. For example, there is an accelerated degradation boundary between the high-frequency operation node and the traction machine and traction rope nodes.

[0036] Each component node is connected to the corresponding fault mode node by generating fault edges. These edges represent the fault manifestations that can be directly caused when a component degrades. The correspondence is derived from the fault cause description in the elevator manufacturer's technical manual. There are a total of 30 nodes in the above four categories.

[0037] Figure 2 This is a schematic diagram of the elevator fault propagation knowledge graph structure provided in an embodiment of this application. Figure 2This diagram illustrates the relationships between subsystem nodes, component nodes, fault mode nodes, and operating condition nodes in an elevator knowledge graph. Component nodes are connected to their corresponding subsystem nodes via belonging edges and to their corresponding fault mode nodes via fault-generating edges. Operating condition nodes affect affected components via accelerated degradation edges. Different fault mode nodes form a temporal propagation relationship through fault propagation edges. The diagram uses the door system, traction system, related components, and fault modes as examples to distinguish between belonging edges, fault-generating edges, accelerated degradation edges, and fault propagation edges. Fault propagation edges are represented by bold solid lines to differentiate them from fault-generating edges.

[0038] Here, the fault propagation edge is a directed edge connecting two fault mode nodes, indicating that the occurrence of the first fault mode statistically increases the probability of the second fault mode subsequently occurring.

[0039] Specifically, the fault sequence for each elevator, sorted by time, is extracted from the fault event records. For any two fault modes, the fault sequences of all elevators are traversed to count co-occurrence events. If a second fault mode occurs within 30 days after the first fault mode occurs on the same elevator, it is recorded as a co-occurrence event. The preset time window is 30 days, corresponding to the engineering experience in the elevator maintenance industry that two faults occurring sequentially within 30 days are usually considered as related faults.

[0040] The conditional probability is calculated by using the total number of occurrences of the first failure mode in all elevators as the denominator and the total number of co-occurring events as the numerator. In a specific example, assuming that "the door repeatedly opens and closes" occurs 800 times in all elevators, and then the same elevator experiences "the door cannot be closed" 280 times in the following 30 days, the conditional probability is 280 / 800 = 0.35.

[0041] Specifically, when the conditional probability exceeds the propagation threshold and the number of corresponding co-occurring event pairs is not less than the preset minimum sample size, a fault propagation edge is established in the knowledge graph from the first fault mode node to the second fault mode node, with the edge weight taken as the conditional probability value. The propagation threshold is determined as follows: a knowledge graph is constructed using 0.2, 0.25, 0.3, 0.35, and 0.4 as candidate values, and a graph attention network is used to perform fault prediction on the validation set. The F1 score corresponding to each candidate value is calculated, and the candidate value with the highest F1 score is selected. In scenarios with more than 5000 elevators, the propagation threshold typically falls within the range of 0.25 to 0.35. The preset minimum sample size is 30; results below this size are not representative.

[0042] The technical significance of introducing fault propagation edges lies in explicitly expressing the sequential occurrence patterns of faults scattered throughout the historical records of each elevator in the form of a graph structure. The information entropy weighting method independently calculates weights for each operational feature and then linearly weights them, essentially assuming that the contributions of each feature are independent and additive. However, in reality, door motor degradation often first leads to repeated door opening and closing, subsequently causing the door to fail to close. This causal propagation relationship is not visible in linear weighting. Knowledge graphs encode this propagation relationship with directed edges, providing structural priors for subsequent graph attention networks.

[0043] In some embodiments, when performing a health assessment on an elevator, the normalized operating data of the current window statistics layer of the elevator is mapped to the feature vectors of each node in the knowledge graph, and the dimension of each node feature vector is uniformly 8.

[0044] Specifically, for component nodes, the normalized values ​​of operational indicators directly related to the component's degradation are filled into the corresponding positions of the feature vector. For example, the first two positions of the traction rope node are filled with the normalized values ​​of the number of bends and the running distance, respectively; the first two positions of the door motor node are filled with the normalized values ​​of the number of door openings and the number of runs, respectively. The correspondence between each component and the indicator is determined and fixed based on the component's physical function. For fault mode nodes, an activation flag is set based on whether the elevator has experienced this type of fault in the past 30 days (1 if it has, 0 if it hasn't). The second position is filled with the normalized value of the frequency of occurrence of this fault mode in elevators of the same age group over the past 90 days. For operating condition nodes, an activation flag is set based on whether the corresponding indicator in the current window of the elevator exceeds 1.5 times the average of its age group. The second position is filled with the normalized value exceeding the multiple. Subsystem nodes do not directly carry operational data; all feature vectors are filled with zero values, and unassigned positions are uniformly filled with zero values.

[0045] After the above processing is completed, a node feature matrix with dimensions of 30 rows and 8 columns is obtained. The 30 rows correspond to the 30 nodes of the knowledge graph, and the 8 columns correspond to the unified feature dimensions. This node feature matrix is ​​used as the input of the graph attention network.

[0046] Step S3: Input the node feature matrix into the graph attention network constructed based on the elevator knowledge graph, and output the combined degradation risk probability.

[0047] In some embodiments, the Graph Attention Network (GAT) propagates and aggregates node information according to the adjacency relationships of the knowledge graph, and is composed of the following four modules connected in series.

[0048] Specifically, the first layer is a standard multi-head graph attention layer, which uses four independent attention heads. Each attention head receives an 8-dimensional node feature vector as input, and after linear transformation, outputs an intermediate representation with a dimension of 16. The outputs of the four attention heads are concatenated along the feature dimensions, resulting in an updated representation of 64 dimensions for each node. The activation function is ELU. Each attention head works by linearly transforming the feature vectors of the target node and its neighboring nodes, concatenating them, calculating the original attention coefficients using the learnable parameter vector and Leaky ReLU, and then performing a weighted sum of the transformed representations of the neighboring nodes after softmax normalization.

[0049] The second layer is a fault propagation path weighted attention layer, with the same structure as the first layer (4 heads, 64-dimensional input, 16-dimensional output from each head, 64-dimensional after splicing, ELU activation). The difference is that the attention coefficients are modulated by path weights. The specific mechanism will be detailed below and will not be repeated here.

[0050] The third layer is a global average pooling layer, which averages the 64-dimensional representation vectors of the 30 nodes according to their dimensions to obtain a 64-dimensional overall state representation vector, which serves as the global representation of the elevator on the knowledge graph.

[0051] The fourth layer is a fully connected output layer, consisting of two fully connected network layers. The first layer maps the 64-dimensional global state representation vector to a 32-dimensional vector and activates it using ReLU. The second layer maps the 32-dimensional vector to a 1-dimensional scalar and activates it using Sigmoid. The output value is limited to the interval between 0 and 1. This scalar represents the probability of combinatorial degradation, denoted as […]. This indicates the degree of risk that the elevator may experience subsequent malfunctions due to the coordinated degradation of multiple components in its current operating state.

[0052] The model input is the node feature matrix (30 rows and 8 columns) generated in the previous steps, and the output is the combined degradation risk probability. (Scalar), this output is fed into the subsequent health score fusion step. The node feature matrix encodes the current wear level and activation state of each component that has failed, while the fault propagation edges of the knowledge graph describe the causal links between faults; the graph attention network aggregates information along the causal links to infer the comprehensive risk of multi-component collaborative degradation in the current state.

[0053] In one embodiment, path weight modulation is introduced in the second-layer attention calculation. Before each forward computation, based on the activation state of the fault mode nodes of the elevator to be evaluated, a breadth-first search (BFS) is used to calculate the path distance value for each node in the knowledge graph. Specifically, starting from the node, the path distance is calculated by searching in the reverse direction of the fault propagation edge and the fault-generating edge, and the minimum number of edges traversed to reach the nearest activated fault mode node is the path distance value for that node. If the node itself is an activated fault mode node, the path distance value is 0; if there is no reachable path between it and all activated fault mode nodes, the path distance value is the default maximum value of 5. On a graph with 30 nodes, the time complexity of BFS is the sum of the number of nodes and the number of edges, and the computational overhead is negligible.

[0054] Among them, the path distance value is converted into a path weight factor: For nodes Path weight factor, This is the path distance value for that node, ranging from 0 to 5. When When it is 0 Equal to 1, when It is 5 o'clock It equals approximately 0.17.

[0055] In one embodiment, the attention coefficients of the second-layer graph attention are calculated by first calculating the original attention coefficients of each attention head according to the standard GAT mechanism. Then multiply by the corresponding neighbor node Path weight factor Finally, normalization is performed on the neighbor set: The modulated attention coefficient; For nodes The set of neighboring nodes in the knowledge graph. This mechanism gives higher attention weights to nodes that are close to the currently activated fault on the causal chain, and the network prioritizes aggregating information along the fault propagation path. When the elevator has no faults, all fault mode nodes are inactive, the path distance of all nodes is 5, and the path weight factors are approximately equal, thus degenerating into standard GAT behavior.

[0056] Figure 3 This diagram illustrates the modulation process of the attention coefficient by the fault propagation path provided in an embodiment of this application. As shown in the figure, taking the activated fault mode node as a reference, the path distance from each node to the nearest activated fault mode node is calculated using BFS. When there is no reachable path, take ;Will Convert to path weight factor and with Original attention coefficients Weighted, in neighbor set Up-normalization yields the modulated attention coefficients Based on this, neighbor node information is weighted and aggregated so that nodes adjacent to the current fault propagation path receive a higher information contribution.

[0057] In some embodiments, the training of the graph attention network specifically involves constructing training data from historical records. Each training sample takes as input a node feature matrix of an elevator at a given evaluation time point, and uses whether the elevator experienced a breakdown within 30 days after that time point as a binary label (1 for a breakdown, 0 for no breakdown). The samples are divided by time, with data from the first three quarters constituting the training set and the most recent quarter constituting the validation set.

[0058] Specifically, the total sample size of the training set is no less than 100,000 (composed of thousands of elevators × multiple evaluation time points × several years of historical data). The ratio of positive to negative samples is typically about 1:5 to 1:10 (due to a low elevator failure rate). If the ratio of positive to negative samples is unbalanced by more than 1:20, negative samples are randomly undersampled to ensure that the ratio of positive to negative samples is no less than 1:10, thus avoiding model bias towards the majority class. The samples are divided chronologically, with data from months 1 to 9 used to construct the training samples and data from months 10 to 12 used to construct the validation samples. This ensures that data from future times is not used to predict labels from past times, preventing time leakage. Multiple samples of the same elevator at different time points can appear simultaneously in the training set, but samples from the same time point cannot appear simultaneously in both the training and validation sets.

[0059] In one embodiment, the training loss is a weighted sum of the prediction loss and the structure regularization loss: Total loss; This is the regularization weight coefficient, with a value ranging from 0.01 to 0.2.

[0060] Predicting losses Calculation of cross-entropy between the combined degradation risk probability output by the model and the binary label: This represents the batch sample size. For the first Binary labels for each sample; This represents the combined degradation risk probability output by the model.

[0061] Among them, structure regularization loss Euclidean distance calculation based on intermediate layer representation vectors between elevator pairs of the same model and whose node feature similarity exceeds a preset threshold: A set of elevator sample pairs within the same batch that meet the following conditions: the two elevators have the same model and the cosine similarity of their node feature matrices after being flattened into vectors is greater than 0.9. and The loss term is a 64-dimensional global state representation vector output by the global average pooling layer for two elevators. Its purpose is to encourage similar risk assessments for elevators of the same model with similar operating states, and to use group knowledge to make up for the lack of samples for a single elevator.

[0062] Optionally, regularization weight coefficients The method for determining the value is as follows: train the model with candidate values ​​of 0.01, 0.05, 0.1, and 0.2 respectively; compare the AUC index of fault prediction on the validation set; and select the value corresponding to the highest AUC. In one example... Take 0.1.

[0063] The optimizer used is Adam, and the initial learning rate is set to, for example, 0.001. Set it to 0.9. The learning rate is set to 0.999. The learning rate decays round by round using a cosine annealing strategy, with a minimum value of 0.01 times the initial value. The training epochs are set to, for example, 50 to 100 epochs, and the batch size is set to, for example, 32 to 64. An early stopping strategy is used: training terminates and the parameters are rolled back to the lowest value when the validation set loss no longer decreases for 15 consecutive epochs. The network structure and forward computation logic are completely identical in the training and inference phases; the only difference is that the loss is calculated and parameters are updated in the training phase, while the parameters are frozen and directly output in the inference phase.

[0064] Step S4: Correct the information entropy health score based on the combined degradation risk probability to obtain the final health score and map it to the maintenance cycle days.

[0065] In some embodiments, the combined degradation risk probability output by the graph attention network is used. Used to correct information entropy health score The correction method involves subtracting the product of the fusion coefficient, the probability of combined degradation risk, and the difference between the information entropy health score and the preset lower bound from the information entropy health score to obtain the final health score. : The information entropy health score ranges from 60 to 95. The combined degradation risk probability takes a value between 0 and 1; The fusion coefficient represents the strength of the correction of the combined degradation risk probability output by the graph attention network to the final health score, with a value ranging from 0.1 to 0.5; the preset lower bound for the score is 60.

[0066] in, The larger the value, the greater the reduction in health score due to the combined risk of degradation; The smaller the value, the gentler the correction. This reflects the strength of the statistical correlation between combined degradation risk and subsequent actual elevator shutdowns in the entire elevator group.

[0067] when When it is 0 equal At this point, it completely degenerates into an information entropy score result; when A larger increase in health score will result in a corresponding decrease in health score. No more than 1 and Not exceeding 0.5 It should never fall below the lower limit of 60.

[0068] Among them, the fusion coefficient The value is determined by iterating through the candidate value range on the validation dataset and selecting the value corresponding to the minimum maintenance cycle prediction error. Specifically, the candidate values ​​are iterated in the range of 0.1 to 0.5 with a step size of 0.05. For each elevator in the validation set, a final health score and corresponding maintenance cycle are calculated. These are then compared with the actual optimal maintenance cycle (derived by backtesting historical failure times), and the candidate value with the smallest mean absolute error is selected. In one example, the group mainly consists of residential elevators. It is approximately 0.3, and approximately 0.4 when commercial elevators account for a higher proportion.

[0069] Figure 4 This is a schematic diagram illustrating the combined degradation risk-driven health score correction provided in an embodiment of this application. Figure 4 This illustrates the relationship between combined degradation risk and health score and maintenance cycle. (Information entropy health score) The value range is 60 to 95, representing the probability of combined degradation. The value ranges from 0 to 1. The two values ​​are then adjusted through risk fusion to obtain the final health score, which is further mapped to a maintenance cycle of 15 to 90 days. When When the score is low, the rating remains relatively stable, corresponding to a longer maintenance cycle; when When the score is high, the final health score is lowered, and the corresponding maintenance period is shortened, thus incorporating portfolio degradation risk into the maintenance period adjustment.

[0070] In some embodiments, the final health score is linearly mapped to a maintenance period of 15 to 90 days: This refers to the number of days in the maintenance cycle. Values ​​range from 60 to 95. When... When equal to 60 For 15 days, when When equal to 95 It will be 90 days. Output the integer value, constrained to the range of 15 to 90.

[0071] In some embodiments, the elevator enters the monitoring phase after maintenance is completed. Starting from the maintenance completion date, daily operational characteristic data and elevator downtime data are collected. The arithmetic mean of the absolute deviations of each characteristic value on that day compared to the baseline mean of the 90 days prior to maintenance is calculated and used as the average deviation. The stability judgment threshold is the 95th percentile of the average deviation distribution of all elevators in the age group under normal operating conditions, obtained through statistical analysis of historical data for that age group. When the average deviation is below the stability judgment threshold for a consecutive preset number of days, the elevator's operating state is considered to have stabilized; the consecutive days are constrained to be within the range of 3 to 14 days.

[0072] Once the monitoring window is determined, all steps of node feature matrix construction, graph attention network inference, and information entropy health score correction are re-executed using the daily aggregated data within the window. The number of days for the next maintenance cycle is then output and constrained to be within the range of 15 to 90 days.

[0073] Optionally, the fault propagation edges of the elevator knowledge graph and the model parameters of the graph attention network are updated quarterly. Each quarter, the conditional probabilities are recalculated and the fault propagation edges are reconstructed based on the fault event records of the most recent year, while the graph attention network parameters are retrained with the latest training set.

[0074] The aforementioned method constructs an elevator component-fault propagation knowledge graph, explicitly encoding the causal links of faults implicit in the historical fault records of the elevator group using a graph structure. This is combined with a path-weighted attention mechanism in a graph attention network to aggregate node information along these causal links. Even when individual operational indicators appear within normal ranges but a multi-component collaborative degradation trend has emerged, this method can identify combined degradation risks by leveraging the structural priors of the knowledge graph and the nonlinear reasoning capabilities of the graph attention network. A fusion mechanism is then used to specifically lower the information entropy health score, shortening the maintenance cycle of the corresponding elevator. For elevators that have not triggered combined risks, the fusion mechanism automatically degrades to a purely statistical score, without introducing additional bias.

[0075] According to another aspect of this application, Figure 5 This is a schematic diagram of the structure of an elevator health assessment system based on knowledge graphs and machine learning, provided in an embodiment of this application. Figure 5 As shown, the system includes: The health score calculation module 501 is configured to collect the operation characteristic data, elevator stop data and fault event records of the elevator group, normalize the operation characteristic data and elevator stop data, calculate the adaptive weight of each feature using the information entropy weight method and sum them up to obtain the information entropy health score of each elevator. The knowledge graph processing module 502 is configured to construct an elevator knowledge graph based on the temporal co-occurrence relationship between different fault modes in the fault event record. The elevator knowledge graph includes component nodes, fault mode nodes, and fault propagation edges connecting two fault mode nodes. The current operating data of the elevator to be evaluated is mapped to the feature vectors of each node in the elevator knowledge graph to form a node feature matrix. The combined degradation risk assessment module 503 is configured to input the node feature matrix into a graph attention network constructed based on the elevator knowledge graph; the graph attention network includes a fault propagation path weighted attention layer, which modulates the attention coefficients according to the path distance from each node to the activated fault mode node; the graph attention network outputs the combined degradation risk probability. The maintenance cycle determination module 504 is configured to correct the information entropy health score based on the combined degradation risk probability to obtain a final health score, and map the final health score to the number of days of the maintenance cycle.

[0076] This application provides a computer device including a memory and a processor. The memory stores a computer program that can run on the processor. When the processor executes the program, it implements some or all of the steps in the above-described method.

[0077] This application provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements some or all of the steps in the above-described method. The computer-readable storage medium can be transient or non-transient.

[0078] This application provides a computer program including computer-readable code. When the computer-readable code is run in a computer device, the processor in the computer device performs some or all of the steps in the above-described method.

[0079] This application provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program. When the computer program is read and executed by a computer, it implements some or all of the steps in the above-described method. This computer program product can be implemented specifically through hardware, software, or a combination thereof. In some embodiments, the computer program product is specifically embodied as a computer storage medium; in other embodiments, the computer program product is specifically embodied as a software product, such as a software development kit (SDK), etc.

[0080] Figure 6 This is a schematic diagram of a computer device in an embodiment of this application, such as... Figure 6 As shown, the hardware entity of the computer device includes: a processor 1101, a communication interface 1102, and a memory 1103, wherein: Processor 1101 typically controls the overall operation of computer equipment.

[0081] Communication interface 1102 enables computer devices to communicate with other terminals or servers via a network.

[0082] The memory 1103 is configured to store instructions and applications executable by the processor 1101, and can also cache data to be processed or already processed by the processor 1101 and various modules in the computer device (e.g., image data, audio data, voice communication data, and video communication data). It can be implemented using flash memory or random access memory (RAM). Data transfer between the processor 1101, the communication interface 1102, and the memory 1103 can be performed via bus 1104.

[0083] It should be understood that the phrase "one embodiment" or "an embodiment" throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of this application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. It should be understood that in the various embodiments of this application, the sequence numbers of the above steps / processes do not imply a sequential order of execution; the execution order of each step / process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application. The sequence numbers of the above embodiments of this application are merely descriptive and do not represent the superiority or inferiority of the embodiments.

[0084] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0085] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple units or components can be combined, or integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed can be through some interfaces, and the indirect coupling or communication connection between devices or units can be electrical, mechanical, or other forms.

[0086] The above are merely embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application.

Claims

1. A method for elevator health assessment based on knowledge graphs and machine learning, characterized in that, include: Collect elevator group operation characteristic data, elevator stop data and fault event records, normalize the operation characteristic data and elevator stop data, use the information entropy weight method to calculate the adaptive weight of each feature and sum them up to obtain the information entropy health score of each elevator. Based on the temporal co-occurrence relationship between different fault modes in the fault event records, an elevator knowledge graph is constructed. The elevator knowledge graph includes component nodes, fault mode nodes, and fault propagation edges connecting two fault mode nodes. The current operating data of the elevator to be evaluated is mapped to the feature vectors of each node in the elevator knowledge graph to form a node feature matrix. The node feature matrix is ​​input into a graph attention network constructed based on the elevator knowledge graph; the graph attention network includes a fault propagation path weighted attention layer, which modulates the attention coefficients according to the path distance from each node to the activated fault mode node; The graph attention network outputs a probability of combined degradation risk. The information entropy health score is corrected based on the combined degradation risk probability to obtain the final health score, and the final health score is mapped to the maintenance cycle days.

2. The method according to claim 1, characterized in that, The steps for constructing the fault propagation edge include: for each elevator fault sequence in the fault event record, counting the number of times the second fault mode occurs within a preset time window after the first fault mode occurs on the same elevator, dividing the number of occurrences by the total number of occurrences of the first fault mode to obtain the conditional probability; when the conditional probability exceeds the propagation threshold and the number of corresponding co-occurring event pairs is not less than the preset minimum sample size, establishing a fault propagation edge from the first fault mode node to the second fault mode node, wherein the weight of the fault propagation edge is taken as the value of the conditional probability.

3. The method according to claim 1, characterized in that, The processing steps of the fault propagation path weighted attention layer include: calculating the path distance value for each node in the elevator knowledge graph by breadth-first search based on the activation status of the fault mode node of the elevator to be evaluated; the path distance value is the shortest path length from the node to the nearest activated fault mode node along the fault propagation edge; converting the path distance value into a path weight factor; and normalizing the original attention coefficient of each node by the path weight factor of the corresponding neighbor node on the neighbor set to obtain the modulated attention coefficient, which is used to weight and aggregate neighbor node information.

4. The method according to claim 1, characterized in that, The step of correcting the information entropy health score based on the combined degradation risk probability includes: subtracting the product of the fusion coefficient, the combined degradation risk probability, and the difference between the information entropy health score and the preset lower bound of the score from the information entropy health score to obtain the final health score; the fusion coefficient is determined by traversing the candidate value range on the validation dataset and selecting the value corresponding to the minimum maintenance cycle prediction error.

5. The method according to claim 1, characterized in that, Mapping the current operating data of the elevator to be evaluated to the feature vectors of each node in the elevator knowledge graph includes: for the component node, filling the normalized values ​​of operating indicators related to component degradation into the corresponding positions of the feature vector; for the fault mode node, setting an activation flag based on whether the elevator to be evaluated has recently experienced such a fault, and filling in the normalized value of the occurrence frequency of the fault mode in the same group of elevators; the feature vector dimension of each node is uniform, and unassigned positions are filled with zero values.

6. The method according to claim 1, characterized in that, The training process of the graph attention network includes: constructing training samples from historical data, with each training sample taking the node feature matrix of an elevator at a certain time point as input, and using whether the elevator has experienced a stoppage fault within a preset number of days after that time point as a binary label; the training loss is composed of a weighted sum of prediction loss and structure regularization loss, the prediction loss is calculated based on the cross-entropy between the combined degradation risk probability output by the model and the binary label, and the structure regularization loss is calculated based on the Euclidean distance between the intermediate layer representation vectors of elevator pairs of the same model and whose node feature similarity exceeds a preset threshold.

7. The method according to claim 1, characterized in that, Before calculating the adaptive weights of each feature using the information entropy weighting method, the method further includes: identifying the age inflection point where the rate of change of the rate of change of the rate of change of the rate of change of the elevators is increased based on the relationship between the service life of all elevators and the rate of elevator stoppage; using the age inflection point as the boundary of the age group to classify each elevator into the corresponding age group; the information entropy weighting method is executed independently within each age group.

8. The method according to claim 1, characterized in that, The elevator knowledge graph also includes subsystem nodes and operating condition nodes; the component nodes are connected to the subsystem nodes through belonging edges, the component nodes are connected to the corresponding fault mode nodes through fault generation edges, and the operating condition nodes are connected to the corresponding component nodes through accelerated degradation edges.

9. The method according to claim 1, characterized in that, The graph attention network consists of the following modules connected in series: a standard multi-head graph attention layer, which aggregates neighbor node information for each node and updates the node representation; a fault propagation path weighted attention layer; a global average pooling layer, which takes the dimension-wise average of the representation vectors of all nodes to obtain the overall state representation vector; and a fully connected output layer, which maps the overall state representation vector to the combined degradation risk probability through an activation function.

10. An elevator health assessment system based on knowledge graphs and machine learning, characterized in that, include: The health score calculation module is configured to collect the operation characteristic data, stop data and fault event records of the elevator group, normalize the operation characteristic data and stop data, calculate the adaptive weight of each feature using the information entropy weight method and sum them up to obtain the information entropy health score of each elevator. The knowledge graph processing module is configured to construct an elevator knowledge graph based on the temporal co-occurrence relationship between different fault modes in the fault event records. The elevator knowledge graph includes component nodes, fault mode nodes, and fault propagation edges connecting two fault mode nodes. The current operating data of the elevator to be evaluated is mapped to the feature vectors of each node in the elevator knowledge graph to form a node feature matrix. The combined degradation risk assessment module is configured to input the node feature matrix into a graph attention network constructed based on the elevator knowledge graph; the graph attention network includes a fault propagation path weighted attention layer, which modulates the attention coefficients according to the path distance from each node to the node with the activated fault mode. The graph attention network outputs a probability of combined degradation risk. The maintenance cycle determination module is configured to correct the information entropy health score based on the combined degradation risk probability to obtain a final health score, and map the final health score to the number of days of the maintenance cycle.