Two-way asymmetric reasoning question and answer method and system based on rail transit locomotive mechanism constraint
By constructing a two-way asymmetric reasoning question-and-answer method based on the mechanism constraints of rail transit locomotives, the problem that the existing system cannot adapt to the physical constraints of rail transit maintenance is solved. This achieves high accuracy in fault tracing and fidelity in question and answer content, thus meeting the high reliability requirements of rail transit locomotive operation and maintenance.
Patent Information
- Application Number
- CN202611256581.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-19
- Publication Date
- 2026-11-27
AI Technical Summary
Existing intelligent operation and maintenance systems cannot effectively utilize the implicit expert experience of rail transit locomotives and are difficult to adapt to the unique physical constraints and engineering requirements of the rail transit maintenance field, resulting in insufficient accuracy of fault tracing and inaccuracy of question and answer content.
A bidirectional asymmetric reasoning question-answering method based on the mechanism constraints of rail transit locomotives is constructed. By collecting historical maintenance work order data, embedding electromechanical coupling type, operating condition modulation rules and interlocking barrier parameters, physical rules are pre-verified, a time-series fault propagation map is constructed, and a bidirectional asymmetric graph reasoning algorithm is used to optimize the propagation path.
It significantly improves the accuracy of fault tracing and the fidelity of question-and-answer content, meets the rigid requirements of high reliability and interpretability for rail transit locomotive operation and maintenance, reduces the computational load of graph search, and suppresses semantic drift.
Smart Images

Figure CN123178545A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of fault detection and intelligent operation and maintenance technology for rail transit electric locomotives. In particular, it relates to a two-way reasoning question-and-answer method and system based on rail transit locomotive mechanism constraints, electronic equipment, and computer-readable storage medium. Background Technology
[0002] Faults in rail transit electric locomotives (hereinafter referred to as rail locomotives) are characterized by strong chain transmission and rigid physical boundaries, resulting in electromechanical degradation. The implicit expert experience accumulated in a large number of maintenance work orders and regulations is the core asset for improving the quality and efficiency of intelligent operation and maintenance of rail locomotives. However, existing general intelligent operation and maintenance systems do not utilize this implicit expert experience and are difficult to adapt to the unique physical constraints and engineering requirements of the rail transit maintenance field. The reasons for this incompatibility mainly include knowledge graph construction and reasoning question-and-answer mechanisms. In terms of knowledge graph construction, most common fault knowledge graphs are static semantic structures, using only topology and temporal sequence as additional attributes. They do not embed the unique physical mechanisms of rail transit locomotives, such as electromechanical coupling transmission laws, operating condition modulation mechanisms, and safety interlocking barriers. They cannot match the unique degradation logic of "faults only propagating along connected components," making it difficult to depict the temporal evolution path of faults and providing rigid physical boundary constraints for source tracing. In terms of reasoning and question answering, common graph reasoning schemes use unconstrained multi-hop traversal, and the traversal depth setting lacks domain statistics and physical basis, which easily leads to cross-system semantic drift. Moreover, they generally use positive and negative symmetric reasoning logic, failing to reflect the physical asymmetry of the pathological nature of positive decay and reverse source tracing of electromechanical faults. The generation end lacks rigid constraints, and the problem of factual illusion is prominent, making it difficult to meet the rigid requirements of high reliability and interpretability for rail transit locomotive operation and maintenance. Summary of the Invention
[0003] This invention provides a two-way reasoning question-and-answer method and system based on the constraints of rail transit locomotive mechanisms, as well as electronic devices and computer-readable storage media. It not only ensures that the reasoning results conform to physical laws, but also significantly improves the accuracy of tracing the source. At the same time, it suppresses the generation of illusions that violate physical logic from a mechanism perspective, greatly improving the fidelity of question-and-answer content. It can well meet the rigid requirements of high reliability and interpretability for the operation and maintenance of rail transit locomotives.
[0004] According to one aspect of the present invention, a bidirectional asymmetric reasoning question-answering method based on rail transit locomotive mechanism constraints is provided, comprising the following: Historical maintenance work order data of rail transit locomotives were collected, and a standardized corpus was constructed based on the historical maintenance work order data, which embedded electromechanical coupling type, operating condition modulation rules and interlocking barrier parameters, forming a standardized corpus. Entity relations are jointly extracted based on a standardized corpus, and all extracted candidate triples are pre-verified using physical rules to remove candidate triples that violate physical logic. Based on all candidate triples that have passed the physical rule pre-verification, a time-series fault propagation map of rail transit locomotives is constructed. The system obtains the fault repair question input by the user and the current operating condition of the train at the time of the fault occurrence. Based on the fault repair question and the current operating condition, it extracts the physical neighborhood subgraph of the core component anchor point from the time-series fault propagation graph. It then uses a bidirectional asymmetric graph reasoning algorithm to optimize the propagation path in the physical neighborhood subgraph and outputs the reasoning answer based on the optimization result.
[0005] Furthermore, in the standardized corpus, electromechanical coupling types include four categories: rigid mechanical connection, pneumatic pipeline connection, electrical wiring connection, and hydraulic pipeline connection. Each electromechanical coupling type is assigned a different conduction coefficient, time decay constant, and average fault conduction rate. The operating condition modulation rule defines the enabling state of each conduction path under five standard operating conditions: start-up, acceleration, cruise, braking, and stopping. The operating condition modulation coefficient is used to quantify the nonlinear impact of each operating condition on the coupling conduction capability. The interlocking barrier parameters include the blocking success rate, which characterizes the probability that the interlocking barrier successfully blocks fault propagation during fault conduction.
[0006] Furthermore, the physical rule pre-verification includes topology isolation verification, coupling matching verification, and temporal value domain verification. Topology isolation verification includes checking whether the components at both ends of the relationship are physically connected. Transmission relationships across physically isolated subsystems are directly determined to be invalid. Coupling matching verification includes filtering based on whether the fault type and the electromechanical coupling type of the transmission edge are physically compatible. Temporal value domain verification includes verifying whether the transmission delay in the candidate triplet falls within the standard delay range of the corresponding electromechanical coupling type. If there are candidate triplets that exceed the standard delay range, they are directly discarded.
[0007] Furthermore, the process of extracting the physical neighborhood subgraph of the core component anchor point from the time-series fault propagation graph based on the fault repair problem and the current operating condition includes the following: The system analyzes the user-input fault diagnosis problem and outputs a high-confidence matching entity set to locate the core component anchor point. Then, it extracts the basic topological adjacency matrix of the core component anchor point from the time-series fault propagation graph. Furthermore, it obtains the condition modulation coefficient vector of all connecting edges in the basic topological adjacency matrix under the current operating condition from the time-series fault propagation graph. The condition modulation coefficient quantifies the nonlinear impact of each operating condition on the coupling propagation capability. The weights corresponding to each connecting edge in the basic topological adjacency matrix are multiplied one-to-one with the condition modulation coefficients of each edge in the condition modulation coefficient vector according to edge index, updating the edge weights of the adjacency matrix to obtain the effective adjacency matrix under the current operating condition. Based on the effective adjacency matrix, the system extracts the physical neighborhood subgraph of the core component anchor point from the time-series fault propagation graph.
[0008] Furthermore, the process of using a bidirectional asymmetric graph reasoning algorithm to optimize the propagation path in the physical neighborhood subgraph includes the following: Neighborhood traversal is performed along directed edges within the physical neighborhood subgraph. During the traversal, the direction of path optimization is determined based on the query intent of the fault repair problem. If the query intent only includes fault impact diffusion analysis, the confidence of each candidate path is evaluated using the forward propagation inference model. If the query intent only includes fault root cause diagnosis, the confidence of each candidate path is evaluated using the reverse root cause tracing model. If the query intent includes both fault impact diffusion analysis and fault root cause diagnosis, a weighted fusion is performed based on the forward propagation inference model and the reverse root cause tracing model. The confidence of each candidate path is evaluated based on the weighted fusion result, and the multiple candidate paths with the highest confidence are output.
[0009] Furthermore, the expression for the forward propagation deduction model is: ; The expression for the reverse root cause tracing model is: ; in, Representing a path p The positive propagation confidence level, E 0 represents the initial fault energy. k Representing a path p The number of top connecting edges, Representing a path p Upper i The conduction coefficient of the electromechanical coupling type corresponding to the connecting edge. Indicates the first [unit / item] under the current operating condition. i The modulation coefficient of the connecting edge under operating conditions. This represents the probability of passing through an interlocking barrier. Representing a path p The confidence level of reverse tracing. Indicates the first i The percentage of reverse causal attribution for each connecting edge is used to characterize the historical frequency at which downstream failures are caused by this upstream cause. This represents the reverse interlocking penetration probability, used to characterize the posterior probability that an upstream fault will cross the interlocking barrier after a downstream fault has occurred. Indicates the temporal matching degree factor. , Indicates the timestamp of the cause. The timestamp representing the result, Represents the time-delayed observation value. This represents the predicted delay value. Indicates the first i The standard deviation of the time delay corresponding to the electromechanical coupling type of the connecting edge.
[0010] Furthermore, the depth of the neighborhood traversal is either first-order or second-order.
[0011] In addition, the present invention also provides a bidirectional asymmetric reasoning question-answering system based on rail transit locomotive mechanism constraints, comprising: The standardized corpus construction module is used to collect historical maintenance work order data of rail transit locomotives, and construct a standardized corpus based on the historical maintenance work order data, which embeds electromechanical coupling type, operating condition modulation rules and interlocking barrier parameters, to form a standardized corpus. The entity relation joint extraction module is used to perform joint extraction of entity relations based on a standardized corpus, and to perform physical rule pre-verification on all extracted candidate triples, eliminating candidate triples that violate physical logic. The temporal fault propagation graph construction module is used to construct the temporal fault propagation graph of rail transit locomotives based on all candidate triples that have passed the physical rule pre-verification. The bidirectional asymmetric graph reasoning module is used to obtain the fault repair problem input by the user and the current operating condition of the train at the time of the fault occurrence. Based on the fault repair problem and the current operating condition, the physical neighborhood subgraph of the core component anchor point is extracted from the time-series fault propagation graph. The bidirectional asymmetric graph reasoning algorithm is used to optimize the propagation path in the physical neighborhood subgraph, and the reasoning answer is output based on the optimization result.
[0012] In addition, the present invention also provides an electronic device, including a processor and a memory, wherein the memory stores a computer program, and the processor executes the steps of the method described above by calling the computer program stored in the memory.
[0013] In addition, the present invention provides a computer-readable storage medium for storing a computer program for bidirectional asymmetric reasoning and question answering based on the mechanism constraints of rail transit locomotives, wherein the computer program executes the steps of the method described above when running on a computer.
[0014] The present invention has the following beneficial effects: This invention presents a bidirectional asymmetric reasoning question-answering method based on rail transit locomotive mechanism constraints. By embedding three types of physical rules—electromechanical coupling type, operating condition modulation rules, and interlocking barrier parameters—it solidifies the physical boundaries of fault propagation, ensuring the physical compliance of the fault map from the root, providing rigid physical constraints for reasoning, and strengthening the reliable foundation for fault tracing. Furthermore, it performs pre-verification of physical rules on all extracted candidate triples, filtering out invalid triples that violate physical logic from the source, significantly improving the quality and physical consistency of the fault map data. Moreover, it extracts the physical neighborhood subgraph of the core component anchor point as the reasoning space based on the fault repair problem and the current operating condition, instead of using the entire time-series fault propagation map as the reasoning space. This achieves dynamic pruning of effective propagation subgraphs based on operating condition perception, eliminating invalid paths that do not conform to the current operating condition from the source, effectively suppressing semantic drift, significantly reducing the computational load of graph search, and effectively improving retrieval accuracy and response efficiency. Simultaneously, the bidirectional asymmetric graph reasoning algorithm for propagation path optimization reflects the physical asymmetry of forward attenuation and backward pathological tracing of electromechanical faults. Therefore, the bidirectional asymmetric reasoning question-and-answer method based on the mechanism constraints of rail transit locomotives of the present invention can not only ensure that the reasoning results conform to physical laws, but also significantly improve the accuracy of tracing the source. At the same time, it suppresses the generation of illusions that violate physical logic from the mechanism, greatly improves the fidelity of question and answer content, and can well meet the rigid requirements of high reliability and interpretability for the operation and maintenance of rail transit locomotives.
[0015] In addition, the bidirectional asymmetric reasoning question-answering system based on rail transit locomotive mechanism constraints of the present invention also has the above-mentioned advantages.
[0016] In addition to the objectives, features, and advantages described above, the present invention has other objectives, features, and advantages. The invention will now be described in further detail with reference to the figures. Attached Figure Description
[0017] The accompanying drawings, which form part of this application, are used to provide a further understanding of the invention. The illustrative embodiments of the invention and their descriptions are used to explain the invention and do not constitute an undue limitation of the invention. In the drawings: Figure 1 This is a flowchart illustrating a preferred embodiment of the bidirectional asymmetric reasoning question-answering method based on rail transit locomotive mechanism constraints. Figure 2 This is a schematic diagram of the module structure of a two-way asymmetric reasoning question-answering system based on rail transit locomotive mechanism constraints, according to another embodiment of this application. Detailed Implementation
[0018] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. This application will now be described in detail with reference to the accompanying drawings and embodiments.
[0019] Reference Figure 1 A preferred embodiment of this application provides a bidirectional asymmetric reasoning question-answering method based on rail transit locomotive mechanism constraints, including the following: Step S1: Collect historical maintenance work order data of rail transit locomotives, and construct a standardized corpus based on the historical maintenance work order data, which embeds electromechanical coupling type, operating condition modulation rules and interlocking barrier parameters, to form a standardized corpus. Step S2: Perform joint entity relation extraction based on the standardized corpus, and perform physical rule pre-verification on all extracted candidate triples to remove candidate triples that violate physical logic; Step S3: Based on all candidate triples that have passed the physical rule pre-verification, construct the time-series fault propagation map of the rail transit locomotive; Step S4: Obtain the fault repair problem input by the user and the current operating condition of the train at the time of the fault occurrence. Based on the fault repair problem and the current operating condition, extract the physical neighborhood subgraph of the core component anchor point from the time-series fault propagation graph. Use a bidirectional asymmetric graph reasoning algorithm to optimize the propagation path in the physical neighborhood subgraph and output the reasoning answer based on the optimization result.
[0020] It is understood that the bidirectional asymmetric reasoning question-answering method based on rail transit locomotive mechanism constraints in this embodiment, by embedding three types of physical meta-rules—electromechanical coupling type, operating condition modulation rules, and interlocking barrier parameters—solidifies the physical boundary of fault propagation. This can fundamentally ensure the physical compliance of the fault map, provide rigid physical constraints for reasoning, and solidify the reliable foundation for fault tracing. Furthermore, physical rules are pre-verified for all extracted candidate triples, filtering out invalid triples that violate physical logic from the source, significantly improving the quality and physical consistency of the fault map data. Furthermore, instead of using the entire temporal fault propagation graph as the reasoning space, the physical neighborhood subgraph of the core component anchor point is extracted based on the fault repair problem and the current operating condition. This achieves dynamic pruning of the effective propagation subgraph based on operating condition awareness, which can eliminate invalid paths that do not conform to the current operating condition from the source, effectively suppress semantic drift, significantly reduce the computational load of graph search, and effectively improve retrieval accuracy and response efficiency. At the same time, the use of a bidirectional asymmetric graph reasoning algorithm for propagation path optimization can reflect the physical asymmetry of positive attenuation and reverse tracing pathological behavior of electromechanical faults. Therefore, the bidirectional asymmetric reasoning question-answering method based on the mechanism constraints of rail transit locomotives in this invention can not only ensure that the reasoning results conform to physical laws, but also significantly improve the accuracy of tracing. At the same time, it suppresses the generation of illusions that violate physical logic from the mechanism, greatly improving the fidelity of question and answer content, and can well meet the rigid requirements of high reliability and interpretability for rail transit locomotive operation and maintenance.
[0021] In step S1, historical maintenance work order data throughout the entire lifecycle of the rail transit locomotive is used as the core data source. This historical maintenance work order data includes procedural maintenance data, temporary repair work orders, and onboard monitoring time-series data, covering core subsystems such as braking, traction, and bogies. Due to the heterogeneous and dispersed nature of the multi-source data and its predominantly colloquial language, standardization processing is required. This includes establishing a standardized specification system for rail transit maintenance, developing a three-tiered naming and numbering system for components ("subsystem-component-parts"), unifying professional terminology, and constructing a nine-level fault labeling system, classifying faults according to their severity to provide initial fault energy for subsequent testing. E The quantification of 0 provides a benchmark, with different initial failure capabilities corresponding to different hazard levels. For example, the first-level hazard level takes a value of 1, and subsequent levels decrease by an empirical coefficient. A multi-dimensional causal ontology chain of "component-fault-processing-experiment-result" is also constructed, embedding vehicle topological adjacency rules to clarify that fault propagation only occurs at rigid boundaries between physically connected components. Based on the above standardization, this invention also embeds three types of physical meta-rules: electromechanical coupling type, operating condition modulation rules, and interlocking barrier parameters, defining three types of physical constraints. Specifically, based on the FMEA (Failure Mode and Effects Analysis) database, the physical connections between components are divided into four electromechanical coupling types: rigid mechanical connections, pneumatic pipeline connections, electrical wiring connections, and hydraulic pipeline connections. Each electromechanical coupling type corresponds to a different propagation coefficient. η Time decay constant τ and fault mean conduction velocity ν For example, the transmission coefficient of a rigid mechanical connection η =0.85, time decay constant τ= 5s, transmission coefficient of pneumatic pipeline connection η =0.62, time decay constant τ= For 15 seconds, these three types of parameters for each electromechanical coupling type are directly used as intrinsic properties of the conduction edge in subsequent inference calculations. Simultaneously, based on train control logic and system dynamics design specifications, operating condition modulation rules are embedded to define the enabling states (including conduction, suppression, and shutdown) of each conduction path under five standard operating conditions: start-up, acceleration, cruise, braking, and stopping. Operating condition modulation coefficients are then used. Φ ( s , c The nonlinear effects of each operating condition on the coupling and conduction capability were quantified, for example, the conduction state. Φ ( s , cThe value is set to 1 for the suppression state, 0.6 for the shutdown state, and 0 for the shutdown state. Furthermore, structured modeling of safety interlock barrier parameters was performed, modeling safety components such as emergency braking interlocks as independent barrier nodes, storing their safety integrity levels and corresponding blocking success rates. P block , P block Defined as the probability that an interlocking barrier successfully blocks fault propagation during fault transmission, its value can be obtained by engineering calculation based on the safety availability indicators specified in each safety integrity level of the IEC 61508 / EN 50128 standard, combined with the redundant architecture of the interlocking device in the rail transit vehicle safety design document. By embedding three types of physical meta-rules—electromechanical coupling type, operating condition modulation rules, and interlocking barrier parameters—the limitation of traditional static knowledge graphs in only representing semantic associations is overcome. This solidifies the physical boundary of fault propagation, ensuring the physical compliance of the graph from the root, providing rigid physical constraints for subsequent reasoning, and strengthening the reliable foundation for fault tracing. In addition, after embedding the three types of physical meta-rules, data cleaning can be performed. For example, based on topology constraint filtering and temporal normalization, consistency checks on the standard value range of propagation delay and electromechanical coupling type can be added to remove noise records that violate physical limits, forming a standardized corpus that can support strict verification of physical rules, thus forming a standardized corpus. The standardized corpus can be divided into a baseline corpus, an incremental corpus, and an anomaly corpus. The baseline corpus contains highly reliable content, the incremental corpus is updated with new work orders on a regular basis, and the anomaly corpus is added after being reviewed by experts. This forms a standardized rail transit maintenance corpus that can be dynamically iterated, which can provide high-quality data support for subsequent knowledge extraction and graph construction.
[0022] In addition, in step S2, a standardized rail transit maintenance corpus is used as input for joint entity relation extraction. For example, the top-level design of extraction rules is first completed based on the multi-dimensional causal ontology chain of "component-fault-processing-experiment-result", clarifying five core entity types and five core semantic relations, and strictly limiting all extraction actions within the causal ontology chain; then, a rail transit-specific AC automaton with embedded component topological weights is constructed, integrating a standard component terminology library, alias and abbreviation mapping table, and the matching process combines the subsystem topological adjacency relationship to allocate matching weights, prioritizing the identification of components within the same subsystem, quickly defining the topological adjacency range, and providing physical boundary constraints for subsequent extraction; the core extraction stage adopts a generative joint extraction scheme guided by causal ontology, selecting an open-source large language model as the base, and using task-aware LoRA low-rank adaptation technology for hierarchical fine-tuning, setting named entity recognition, relation extraction and ontology rule constraints as joint training objectives, so that the model is deeply adapted to the rail transit professional terminology system, and the extraction process automatically follows rules in the fields of topological adjacency, temporal causality, etc. After extracting all candidate triples, this invention also performs a physical rule pre-verification on all candidate triples to eliminate candidate triples that violate physical logic. The physical rule pre-verification includes topology isolation verification, coupling matching verification, and temporal value domain verification. Topology isolation verification includes checking whether the components at both ends of the relationship are physically connected. Transmission relationships across physically isolated subsystems are directly determined to be invalid. Coupling matching verification includes filtering based on whether the fault type and the electromechanical coupling type of the transmission edge are physically compatible. For example, a "pressure leakage" fault can only appear in a pneumatic coupling path or a hydraulic coupling path. Electrical coupling paths and mechanical coupling paths are automatically eliminated. Temporal value domain verification includes verifying whether the transmission delay in the candidate triple falls within the standard delay range of the corresponding electromechanical coupling type. If there are candidate triples that exceed the standard delay range, they are directly discarded. This can filter out invalid triples that violate physical logic from the source. While ensuring the accuracy of technical terminology matching, it significantly improves the physical consistency of the data in the database and provides high-quality structured data support for subsequent high-precision fault transmission reasoning. All candidate triples that pass the physical rule pre-validation will synchronously update the ontology alias mapping system, so that newly added colloquial expressions automatically inherit all physical attributes of the corresponding components, ensuring that semantic expansion does not exceed physical boundaries, and output candidate triples in standard JSON format. Finally, the output will be in the standard format of <head entity, relation, tail entity>, so as to facilitate the subsequent construction of a knowledge graph dedicated to rail transit maintenance.
[0023] It is understood that in step S3, based on all candidate triples that have passed the pre-verification of physical rules, a time-series fault propagation graph of the rail transit locomotive is constructed using the Neo4j graph database, thus transforming the multi-dimensional causal ontology and embedded physical meta-rules into an efficiently searchable computational graph structure. The storage of the time-series fault propagation graph adopts a two-layer architecture: a physical foundation layer and a semantic business layer. The physical foundation layer stores component topology and coupling type parameters (…). η , τ , ν ), interlocking barrier nodes (including safety integrity level and P block ) and operating condition modulation matrix (for each operating condition) Φ ( s , c Static physical rules, such as those for fault phenomena and handling methods, are used to construct a physical topology adjacency index to support physical compliance determination based on components as anchor points. The semantic business layer, serving as the business extension carrier of the graph, stores four types of business nodes: fault phenomena, handling methods, verification experiments, and experiment results, as well as various semantic relationships defined by the causal ontology. All semantic relationships are attached to the corresponding transmission paths or barrier nodes in the physical foundation layer, inheriting all their physical constraints to ensure that business semantics always extend within the boundaries of physical rules. A fault-component semantic index is established to support rapid location of the starting component anchor point based on fault codes or phenomena. Furthermore, the graph uses merge operations to create or update nodes and relationships, using "entity category - entity name" as the node merge key and "starting node - relationship type - ending node" as the unique identifier for relationships to avoid redundant data. In addition, a three-dimensional quality assessment system covering accuracy, transmission logic, and timing rationality can be established to regularly verify the business compliance of the causal link; a hierarchical dynamic update mechanism can also be designed for three types of trigger sources: vehicle real-time alarm, daily incremental work order, and user Q&A feedback, and the transmission parameters and sorting logic can be corrected synchronously with the addition of data to ensure that the knowledge graph and the field fault mode evolve synchronously.
[0024] In addition, in step S4, the fault repair problem input by the user is first obtained. At the same time, the current operating condition of the train at the time of the fault occurrence is obtained from the on-board real-time data interface or user input. Based on the fault repair problem and the current operating condition, the physical neighborhood subgraph of the core component anchor point is extracted from the time-series fault propagation graph. The process of extracting the physical neighborhood subgraph of the core component anchor point from the time-series fault propagation graph based on the fault repair problem and the current operating condition includes the following: The system analyzes the user-input fault diagnosis problem and outputs a high-confidence matching entity set to locate the core component anchor point. Then, it extracts the basic topological adjacency matrix of the core component anchor point from the time-series fault propagation graph. Furthermore, it obtains the condition modulation coefficient vector of all connecting edges in the basic topological adjacency matrix under the current operating condition from the time-series fault propagation graph. The condition modulation coefficient quantifies the nonlinear impact of each operating condition on the coupling propagation capability. The weights corresponding to each connecting edge in the basic topological adjacency matrix are multiplied one-to-one with the condition modulation coefficients of each edge in the condition modulation coefficient vector according to edge index, updating the edge weights of the adjacency matrix to obtain the effective adjacency matrix under the current operating condition. Based on the effective adjacency matrix, the system extracts the physical neighborhood subgraph of the core component anchor point from the time-series fault propagation graph.
[0025] Specifically, by parsing the user-inputted fault diagnosis problem using a topology-anchored AC automaton (i.e., parsing the user query), a high-confidence matching entity set can be output, covering feature text, ontology type, and topological coordinates, enabling precise location of anchor points for core components. Then, based on the current operating conditions... s cur Perform dynamic topology masking to extract the basic topology adjacency matrix of core component anchor points from the temporal fault propagation graph. A base The system obtains the modulation coefficient vector of all connecting edges in the basic topology adjacency matrix under the current operating condition from the physical foundation layer of the time-series fault propagation graph. If a connecting edge is in an off state under the current operating condition, i.e., its modulation coefficient is 0, it is temporarily set to invalid in this inference. Then, the weights corresponding to each connecting edge in the basic topology adjacency matrix are multiplied one-to-one with the modulation coefficients of each edge in the modulation coefficient vector according to the edge index, and the edge weights of the adjacency matrix are updated. The effective adjacency matrix under the current operating condition can be obtained, which can be represented as: , This represents the effective adjacency matrix under the current operating conditions. Representing the modulation coefficient vector under operating conditions, finally, based on the effective adjacency matrix... Extract the physical neighborhood subgraph of the anchor points of core components, preferably a second-order physical neighborhood subgraph. G sub It is understandable that by adopting a dynamic topology mask pre-pruning mechanism based on operating conditions, effective transmission subgraphs can be dynamically locked based on real-time operating conditions. This eliminates physically impossible transmission paths under the current operating conditions and blocks cross-system semantic drift from the source of inference, shrinking the inference space from tens of thousands of nodes globally to hundreds of nodes per operating condition. This significantly compresses the computational scale of graph search and simultaneously improves retrieval accuracy and inference response efficiency.
[0026] After determining the inference space, this invention proposes a bidirectional asymmetric transductive on graph (BA-Trans-ToG) algorithm to optimize the propagation path in the physical neighborhood subgraph. Specifically, in the physical neighborhood subgraph... G sub The neighborhood traversal is performed strictly along the directed edges of the causal entity. Optionally, the depth of the neighborhood traversal is specified. k The depth threshold is either first-order or second-order, i.e., k≤2, and is determined by two factors: 1) This invention, through graph statistics of 12349 nodes and 17218 relationships, found that the average shortest path length from the faulty entity to the effective handling solution is 1.76 hops. k When the value is 3, the proportion of indirect associated noise increases by 47%, and the deeper the traversal depth, the higher the noise proportion; 2) At the physical level, after the initial fault energy is attenuated by two couplings and interlocked blocking, the residual strength is lower than the response threshold of most components, and there is no need to continue traversing in engineering; Therefore, this invention sets the neighborhood traversal depth to first-order or second-order to balance the search accuracy and search efficiency. Furthermore, this invention designs two sets of differentiated path confidence evaluation models, positive and negative. During the traversal process, the user's query intent is obtained by parsing the fault repair question input by the user, and the direction of the transmission path optimization is determined according to the query intent, that is, the two sets of path confidence evaluation models are determined according to the query intent. If the user's query intent only includes fault impact diffusion analysis, the confidence level of each candidate path is evaluated using the forward propagation inference model. If the query intent only includes fault root cause diagnosis, the confidence level of each candidate path is evaluated using the reverse root cause tracing model. If the query intent includes both fault impact diffusion analysis and fault root cause diagnosis, a weighted fusion is performed based on the forward propagation inference model and the reverse root cause tracing model. The fusion weight coefficient can be set according to actual needs. For example, the weight coefficient can be set according to the forward / reverse tendency in the query intent. If the query intent is more inclined towards fault impact diffusion analysis, a higher weight coefficient is set for the forward propagation inference model. If the query intent is more inclined towards fault root cause diagnosis, a higher weight coefficient is set for the reverse root cause tracing model. However, the sum of the weight coefficients of the two is 1. The confidence level of each candidate path is evaluated based on the weighted fusion result.
[0027] The expression for the forward propagation deduction model is as follows: ; The expression for the reverse root cause tracing model is: ; in, Representing a path p The positive propagation confidence level, E0 represents the initial fault energy, which is obtained by mapping the hazard level of the nine-level fault label. k Representing a path p The number of top connecting edges, Representing a path p Upper i The conduction coefficients of the electromechanical coupling types corresponding to each connecting edge are obtained directly from a table in the physical foundation layer of the graph. Indicates the current operating condition S cur Next i The modulation coefficient of the connecting edge under operating conditions. This represents the probability of passing through an interlocking barrier. =1- , This indicates the success rate of blocking the interlocking barrier. In this invention, the interlocking barrier is an independent barrier node deployed in the fault transmission path of a rail transit locomotive, corresponding to hardware interlocking devices such as emergency braking interlocking, high-voltage disconnecting switches, and overload protection relays. The barrier has a built-in fixed blocking success rate. This characterizes the probability that fault energy is completely cut off and cannot be transmitted downstream when it passes through the barrier. Path interlocking barriers refer to the probability that fault energy is transmitted downstream along the path of the first... i After the electromechanical coupling connection completes the propagation, the downstream topology link has interlocking barrier nodes. Fault energy must penetrate the barrier to continue propagating. If a single path segment has multiple sets of interlocking barriers, the total probability of passage is equal to the probability of passage through each set of interlocking barriers. Multiplication, for example, if there are two sets of interlocking barriers, then = ( If the first i If there are no interlocking barriers downstream of a connecting edge, the probability of passing through a barrier on this path segment is always 1. Representing a path p The confidence level of reverse tracing. Indicates the first i The percentage of reverse causal attribution for each connecting edge is used to characterize the historical frequency at which downstream faults are caused by upstream causes. This value is obtained from historical maintenance work orders and is related to the transmission coefficient. η ( c i There is no direct equivalence; for example, electrical coupling may have a strong forward conduction capability but a low proportion of reverse causal attribution. This represents the reverse interlocking penetration probability, used to characterize the posterior probability of an upstream fault crossing the interlocking barrier after a downstream fault has occurred. It can be conservatively estimated to be... The correction factor of 0.8 is a conservative value based on historical interlocking failure case statistics. The timing matching factor is used to verify whether the timestamp of the "cause" is earlier than the "effect" and whether the observation time difference falls within the physical delay tolerance range for electromechanical coupling types. The timing matching factor enables verification of the physical coupling between topology and time delay. Pseudo-causal chains with timing mismatches will be directly pruned. Its calculation formula is: , Indicates the timestamp of the cause. The timestamp representing the result, This represents the observed time delay, which is the actual time difference of fault propagation on-site. It is calculated by subtracting the occurrence times of upstream and downstream faults recorded in the vehicle-mounted TCMS timing alarm log and maintenance work order. It is the actual time delay data obtained from actual measurements. The predicted latency value is a theoretical standard latency derived from the hardware physical mechanism. The calculation logic is to divide the physical topological distance between components in the fault propagation path by the average fault propagation rate corresponding to the current edge electromechanical coupling type. , Indicates the first i The standard deviation of the time delay corresponding to the electromechanical coupling type of the connecting edge.
[0028] It is understandable that the forward propagation model is used for fault impact diffusion analysis, enabling fault diffusion prediction. Its physical essence is a first-order decay chain process in which fault energy decays step by step along the physical path. The formula structure is the product decay driven by the initial energy. The longer the path, the lower the confidence level, which conforms to physical laws and ensures that forward propagation can accurately predict the diffusion range of the fault. On the other hand, the reverse root cause tracing model is used for fault root cause diagnosis. Its physical essence is the solution of an ill-conditioned inverse problem. Based on the differential calculation of confidence level using attribution statistics and time-series verification, the formula structure is the product of attribution ratio and time-series verification. It can effectively suppress misjudgments caused by multiple causes or observation time difference interference, thus accurately matching the two core scenarios of fault diffusion prediction and root cause diagnosis. The inference results are consistent with the physical essence of electromechanical faults, significantly improving the accuracy of fault tracing.
[0029] During path traversal, each downward expansion consumes one hop. Furthermore, low-quality paths with confidence levels below a preset threshold are pruned in real-time. The remaining candidate paths are then sorted in descending order of confidence, and the top 10 candidate paths with the highest confidence are output. In other embodiments of this invention, the confidence levels of all paths can be calculated before sorting and filtering candidate paths in descending order, without real-time pruning during traversal. After outputting the top 10 candidate paths with the highest confidence, each candidate path is first converted into a standard triplet chain. , This represents the first triplet on the candidate path. h Represents head entity, r Indicates a relationship. tIndicates the tail entity. This represents the operator for concatenating causal triples, used to characterize the concatenation of multiple consecutive fault causal triples along a directed propagation path. δ Indicates the propagation delay. c Indicates the confidence level. ρ The severity level is indicated. Then, physical consistency hard pruning is performed. The hard pruning rules include: 1) Physical direction verification: the direction of directed edges on the path must be consistent with the unidirectional rules of the causal ontology and electromechanical coupling type; 2) Cross-isolation verification: any jump across physically isolated subsystems in the path is directly removed; 3) Temporal continuity verification: the timestamps of path nodes must be monotonically consistent along the inference direction; if the temporal sequence is disordered, the entire path is deemed invalid. After hard pruning, a comprehensive score based on contextual intent alignment is performed on the remaining paths: ,in, emb path The path embedding vector is obtained by uniformly encoding the candidate path triplet chain and is used to characterize the semantic and structural features of the path. emb query This represents the query embedding vector, obtained through a unified encoding of the user query, used to characterize the query intent. cos ( emb path , emb query The cosine similarity between the two is used to quantify the semantic alignment between the path and the query context, with a value range of [0,1]. TopoMatch represents the topology matching degree, reusing the judgment results of "physical direction verification" and "cross-isolation verification" in the physical consistency hard pruning stage. A value of 1 is assigned if the physical verification passes completely, and 0 is assigned if it fails. TimeMactch Indicates the temporal matching degree, reusing the judgment result of "temporal continuity check". The path node timestamp is monotonically consistent along the reasoning direction and is set to 1, otherwise it is set to 0. β 1. β 2. β 3 represents the weighting coefficient, calibrated through ablation experiments. The Top-5 candidate paths are distilled in descending order of comprehensive score, serving as a subset of the optimal topology chains. Next, the Top-5 optimal topology chains and their physical parameters are transformed into fact constraint prefixes and concatenated with the user query to lock the fact boundaries at the input level. Then, constraint search limits the generated token candidate vocabulary to entities, relationships, and rail transit engineering terminology within the fact subgraph, cutting off divergent paths in the output space. Furthermore, a mask is applied at the attention layer to force the main attention weights to concentrate on the fact context interval, internally suppressing parameter memory interference. Finally, the generated results corresponding to the Top-5 optimal topology chains are ranked by comprehensive score, and only the reasoning answer with the highest comprehensive score is output as the user's directly adoptable operational decision-making basis.
[0030] Furthermore, for long-tail edge cases where path optimization is empty, an adaptive generalization compensation mechanism is designed to automatically revert to the zero-sample inference mode. This mechanism generates reference suggestions by invoking general electromechanical knowledge, forcibly labels the confidence level with "no historical case support," and simultaneously triggers the expert review and database entry process. In addition, to achieve long-term adaptation to the dynamic evolution of rail transit fault modes, this invention also constructs a self-evolving closed loop of physical parameter linkage iteration. When a new confirmed maintenance work order or on-site maintenance data is added, a three-layer update is performed simultaneously: at the physical parameter layer, the transmission coefficient... η Incremental calibration is performed using exponential moving averages, with latency tolerance. σ Based on the updated variance of the new samples, the interlocking blocking probability is calculated. P block The system is updated according to the annual safety assessment report. At the graph knowledge layer, new nodes and relationships are added, and the physical attributes of the corresponding transmission edges are updated simultaneously. At the inference strategy layer, the confidence threshold and pruning rules in the BA-Trans-ToG algorithm are automatically adapted and adjusted as physical parameters change. If a new fault mode confirmed by experts is included, its associated electromechanical coupling type, operating condition modulation rules, and interlocking barrier parameters are also added to the physical foundation layer. This update mechanism enables dynamic calibration and collaborative optimization of the physical model, graph knowledge, and inference strategy. The system's knowledge quality and diagnostic accuracy continuously improve with the accumulation of operational data, significantly reducing the frequency of manual intervention.
[0031] In addition, such as Figure 2 As shown, another embodiment of the present invention also provides a bidirectional asymmetric reasoning question-answering system based on rail transit locomotive mechanism constraints, preferably employing the bidirectional asymmetric reasoning question-answering method based on rail transit locomotive mechanism constraints as described above, including: The standardized corpus construction module is used to collect historical maintenance work order data of rail transit locomotives, and construct a standardized corpus based on the historical maintenance work order data, which embeds electromechanical coupling type, operating condition modulation rules and interlocking barrier parameters, to form a standardized corpus. The entity relation joint extraction module is used to perform joint extraction of entity relations based on a standardized corpus, and to perform physical rule pre-verification on all extracted candidate triples, eliminating candidate triples that violate physical logic. The temporal fault propagation graph construction module is used to construct the temporal fault propagation graph of rail transit locomotives based on all candidate triples that have passed the physical rule pre-verification. The bidirectional asymmetric graph reasoning module is used to obtain the fault repair problem input by the user and the current operating condition of the train at the time of the fault occurrence. Based on the fault repair problem and the current operating condition, the physical neighborhood subgraph of the core component anchor point is extracted from the time-series fault propagation graph. The bidirectional asymmetric graph reasoning algorithm is used to optimize the propagation path in the physical neighborhood subgraph, and the reasoning answer is output based on the optimization result.
[0032] It is understood that the bidirectional asymmetric reasoning question-answering system based on rail transit locomotive mechanism constraints in this embodiment, by embedding three types of physical rules—electromechanical coupling type, operating condition modulation rules, and interlocking barrier parameters—solidifies the physical boundaries of fault propagation. This fundamentally ensures the physical compliance of the fault map, provides rigid physical constraints for reasoning, and solidifies the reliable foundation for fault tracing. Furthermore, it performs pre-verification of physical rules on all extracted candidate triples, filtering out invalid triples that violate physical logic from the source, significantly improving the quality and physical consistency of the fault map data. Furthermore, instead of using the entire temporal fault propagation graph as the reasoning space, the physical neighborhood subgraph of the core component anchor point is extracted based on the fault repair problem and the current operating condition. This enables dynamic pruning of effective propagation subgraphs based on operating condition awareness, eliminating invalid paths that do not conform to the current operating condition from the source, effectively suppressing semantic drift, significantly reducing the computational load of graph search, and effectively improving retrieval accuracy and response efficiency. Simultaneously, the adoption of a bidirectional asymmetric graph reasoning algorithm for propagation path optimization reflects the physical asymmetry of positive attenuation and reverse tracing pathology of electromechanical faults. Therefore, the bidirectional asymmetric reasoning question-and-answer system based on rail transit locomotive mechanism constraints of this invention not only ensures that the reasoning results conform to physical laws but also significantly improves the accuracy of tracing. Furthermore, it suppresses the generation of illusions that violate physical logic from a mechanistic perspective, greatly improving the fidelity of question-and-answer content, and can well meet the rigid requirements of high reliability and interpretability in rail transit locomotive operation and maintenance.
[0033] In addition, another embodiment of the present invention provides an electronic device including a processor and a memory, wherein the memory stores a computer program, and the processor executes the steps of the method described above by calling the computer program stored in the memory.
[0034] In addition, another embodiment of the present invention provides a computer-readable storage medium for storing a computer program for bidirectional asymmetric reasoning and question answering based on rail transit locomotive mechanism constraints, wherein the computer program executes the steps of the method described above when running on a computer.
[0035] Common computer-readable storage media include: floppy disks, flexible disks, hard disks, magnetic tapes, any other magnetic media, CD-ROMs, any other optical media, punch cards, paper tape, any other physical media with perforated patterns, random access memory (RAM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), flash erasable programmable read-only memory (FLASH-EPROM), any other memory chips or cartridges, or any other media readable by a computer. Instructions may further be transmitted or received by a transmission medium. The term transmission medium can include any tangible or intangible medium used to store, encode, or carry instructions for execution by a machine, and includes digital or analog carrier communication signals or intangible media that facilitate communication of such instructions. Transmission media include coaxial cables, copper wires, and optical fibers, which contain conductors for transmitting a bus of computer data signals.
[0036] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code. The solutions in the embodiments of this application can be implemented in various computer languages, such as the object-oriented programming language Java and the interpreted scripting language JavaScript.
[0037] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0038] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0039] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0040] Although preferred embodiments of this application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of this application.
[0041] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.
[0042] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A bidirectional asymmetric reasoning question-answering method based on rail transit locomotive mechanism constraints, characterized in that, Includes the following: Historical maintenance work order data of rail transit locomotives were collected, and a standardized corpus was constructed based on the historical maintenance work order data, which embedded electromechanical coupling type, operating condition modulation rules and interlocking barrier parameters, forming a standardized corpus. Entity relations are jointly extracted based on a standardized corpus, and all extracted candidate triples are pre-verified using physical rules to remove candidate triples that violate physical logic. Based on all candidate triples that have passed the physical rule pre-verification, a time-series fault propagation map of rail transit locomotives is constructed. The system obtains the fault repair question input by the user and the current operating condition of the train at the time of the fault occurrence. Based on the fault repair question and the current operating condition, it extracts the physical neighborhood subgraph of the core component anchor point from the time-series fault propagation graph. It then uses a bidirectional asymmetric graph reasoning algorithm to optimize the propagation path in the physical neighborhood subgraph and outputs the reasoning answer based on the optimization result.
2. The bidirectional asymmetric reasoning question-answering method based on rail transit locomotive mechanism constraints as described in claim 1, characterized in that, In the standardized corpus, electromechanical coupling types include four categories: rigid mechanical connection, pneumatic pipeline connection, electrical wiring connection, and hydraulic pipeline connection. Each electromechanical coupling type is assigned a different conduction coefficient, time decay constant, and average fault conduction rate. The operating condition modulation rule defines the enabling state of each conduction path under five standard operating conditions: start-up, acceleration, cruise, braking, and stopping. The operating condition modulation coefficient is used to quantify the nonlinear impact of each operating condition on the coupling conduction capability. The interlocking barrier parameters include the blocking success rate, which characterizes the probability that the interlocking barrier successfully blocks fault propagation during fault conduction.
3. The bidirectional asymmetric reasoning question-answering method based on rail transit locomotive mechanism constraints as described in claim 1, characterized in that, The physical rule pre-verification includes topology isolation verification, coupling matching verification, and temporal value domain verification. Topology isolation verification includes checking whether the components at both ends of the relationship are physically connected. Transmission relationships across physically isolated subsystems are directly determined to be invalid. Coupling matching verification includes filtering based on whether the fault type and the electromechanical coupling type of the transmission edge are physically compatible. Temporal value domain verification includes verifying whether the transmission delay in the candidate triplet falls within the standard delay range of the corresponding electromechanical coupling type. If there are candidate triplets that exceed the standard delay range, they are directly discarded.
4. The bidirectional asymmetric reasoning question-answering method based on rail transit locomotive mechanism constraints as described in claim 1, characterized in that, The process of extracting the physical neighborhood subgraph of the core component anchor point from the time-series fault propagation graph based on the fault repair problem and the current operating condition includes the following: The system analyzes the user-input fault diagnosis problem and outputs a high-confidence matching entity set to locate the core component anchor point. Then, it extracts the basic topological adjacency matrix of the core component anchor point from the time-series fault propagation graph. Furthermore, it obtains the condition modulation coefficient vector of all connecting edges in the basic topological adjacency matrix under the current operating condition from the time-series fault propagation graph. The condition modulation coefficient quantifies the nonlinear impact of each operating condition on the coupling propagation capability. The weights corresponding to each connecting edge in the basic topological adjacency matrix are multiplied one-to-one with the condition modulation coefficients of each edge in the condition modulation coefficient vector according to edge index, updating the edge weights of the adjacency matrix to obtain the effective adjacency matrix under the current operating condition. Based on the effective adjacency matrix, the system extracts the physical neighborhood subgraph of the core component anchor point from the time-series fault propagation graph.
5. The bidirectional asymmetric reasoning question-answering method based on rail transit locomotive mechanism constraints as described in claim 1, characterized in that, The process of optimizing the propagation path in the physical neighborhood subgraph using a bidirectional asymmetric graph inference algorithm includes the following: Neighborhood traversal is performed along directed edges within the physical neighborhood subgraph. During the traversal, the direction of path optimization is determined based on the query intent of the fault repair problem. If the query intent only includes fault impact diffusion analysis, the confidence of each candidate path is evaluated using the forward propagation inference model. If the query intent only includes fault root cause diagnosis, the confidence of each candidate path is evaluated using the reverse root cause tracing model. If the query intent includes both fault impact diffusion analysis and fault root cause diagnosis, a weighted fusion is performed based on the forward propagation inference model and the reverse root cause tracing model. The confidence of each candidate path is evaluated based on the weighted fusion result, and the multiple candidate paths with the highest confidence are output.
6. The bidirectional asymmetric reasoning question-answering method based on rail transit locomotive mechanism constraints as described in claim 5, characterized in that, The expression for the forward propagation deduction model is: ; The expression for the reverse root cause tracing model is: ; in, Representing a path p The positive propagation confidence level, E 0 represents the initial fault energy. k Representing a path p The number of top connecting edges, Representing a path p Upper i The conduction coefficient of the electromechanical coupling type corresponding to the connecting edge. Indicates the first [unit / item] under the current operating condition. i The modulation coefficient of the connecting edge under operating conditions. This represents the probability of passing through an interlocking barrier. Representing a path p The confidence level of reverse tracing. Indicates the first i The percentage of reverse causal attribution for each connecting edge is used to characterize the historical frequency at which downstream failures are caused by this upstream cause. This represents the reverse interlocking penetration probability, used to characterize the posterior probability that an upstream fault will cross the interlocking barrier after a downstream fault has occurred. Indicates the temporal matching degree factor. , Indicates the timestamp of the cause. The timestamp representing the result, Represents the time-delayed observation value. This represents the predicted delay value. Indicates the first i The standard deviation of the time delay corresponding to the electromechanical coupling type of the connecting edge.
7. The bidirectional asymmetric reasoning question-answering method based on rail transit locomotive mechanism constraints as described in claim 5, characterized in that, The depth of the neighborhood traversal is either first-order or second-order.
8. A bidirectional asymmetric reasoning question-answering system based on rail transit locomotive mechanism constraints, characterized in that, include: The standardized corpus construction module is used to collect historical maintenance work order data of rail transit locomotives, and construct a standardized corpus based on the historical maintenance work order data, which embeds electromechanical coupling type, operating condition modulation rules and interlocking barrier parameters, to form a standardized corpus. The entity relation joint extraction module is used to perform joint extraction of entity relations based on a standardized corpus, and to perform physical rule pre-verification on all extracted candidate triples, eliminating candidate triples that violate physical logic. The temporal fault propagation graph construction module is used to construct the temporal fault propagation graph of rail transit locomotives based on all candidate triples that have passed the physical rule pre-verification. The bidirectional asymmetric graph reasoning module is used to obtain the fault repair problem input by the user and the current operating condition of the train at the time of the fault occurrence. Based on the fault repair problem and the current operating condition, the physical neighborhood subgraph of the core component anchor point is extracted from the time-series fault propagation graph. The bidirectional asymmetric graph reasoning algorithm is used to optimize the propagation path in the physical neighborhood subgraph, and the reasoning answer is output based on the optimization result.
9. An electronic device, characterized in that, The method includes a processor and a memory, wherein the memory stores a computer program, and the processor executes the steps of the method as described in any one of claims 1 to 7 by calling the computer program stored in the memory.
10. A computer-readable storage medium for storing a computer program for bidirectional asymmetric reasoning and question answering based on rail transit locomotive mechanism constraints, characterized in that, The computer program, when run on a computer, performs the steps of the method as described in any one of claims 1 to 7.
