WO2023103984A1 - Vehicle fault diagnosis method and apparatus, electronic device, and storage medium - Google Patents

Vehicle fault diagnosis method and apparatus, electronic device, and storage medium Download PDF

Info

Publication number
WO2023103984A1
WO2023103984A1 PCT/CN2022/136651 CN2022136651W WO2023103984A1 WO 2023103984 A1 WO2023103984 A1 WO 2023103984A1 CN 2022136651 W CN2022136651 W CN 2022136651W WO 2023103984 A1 WO2023103984 A1 WO 2023103984A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
diagnosis
fault
diagnostic
diagnosis result
Prior art date
Application number
PCT/CN2022/136651
Other languages
French (fr)
Chinese (zh)
Inventor
汪大涵
郭健
张潘
Original Assignee
北京罗克维尔斯科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京罗克维尔斯科技有限公司 filed Critical 北京罗克维尔斯科技有限公司
Publication of WO2023103984A1 publication Critical patent/WO2023103984A1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0259Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the response to fault detection
    • G05B23/0262Confirmation of fault detection, e.g. extra checks to confirm that a failure has indeed occurred
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01MTESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
    • G01M17/00Testing of vehicles
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/08Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24065Real time diagnostics
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/10Internal combustion engine [ICE] based vehicles
    • Y02T10/40Engine management systems

Definitions

  • the present disclosure relates to the technical field of automobiles, in particular to a vehicle failure method, device, electronic equipment, storage medium, computer program product and computer program.
  • one is the manual discrimination method, that is, the maintenance personnel determine the fault of the vehicle by means of seeing, listening, and smelling, and use the maintenance personnel's own maintenance experience and some simple tools to analyze .
  • the other is the simple instrument diagnosis method, that is, on the basis of the manual experience method, the fault type is judged with the help of simple instruments such as multimeters and oscilloscopes. Since these two methods depend to a large extent on the experience and ability of the maintenance personnel, the diagnosis takes more time and the accuracy of the diagnosis is also poor.
  • an intelligent on-board diagnostic system uses the vehicle controller to analyze the data of auto parts, and then displays it on the on-board screen, or displays the location and time of the fault on the handheld diagnostic instrument.
  • Embodiments of the present disclosure provide a vehicle fault diagnosis method, device, electronic equipment, storage medium, computer program product and computer program, capable of comprehensively diagnosing vehicle faults.
  • an embodiment of the present disclosure provides a vehicle fault diagnosis method, the vehicle fault diagnosis method comprising:
  • the target diagnostic result set includes multiple target diagnostic results
  • the fault knowledge graph includes correspondences between multiple fault codes and diagnostic results
  • a target diagnosis result sequence is generated according to the correlation between each target diagnosis result in the target diagnosis result set and the target fault code.
  • the determination of the target diagnostic result set according to the fault knowledge map and multiple target fault codes includes:
  • the fault knowledge graph For each target fault code, according to the fault knowledge graph, determine a set of diagnostic results, the set of diagnostic results includes at least one diagnostic result;
  • the target diagnosis result set is determined according to the occurrence frequency of each diagnosis result in the plurality of diagnosis result sets of the plurality of target DTCs.
  • the vehicle fault diagnosis method before generating the target diagnostic result sequence according to the correlation between each target diagnostic result in the target diagnostic result set and the target fault code, the vehicle fault diagnosis method further includes:
  • the correlation degree between each target diagnosis result and the target DTC is determined.
  • the vehicle fault diagnosis method before generating the target diagnostic result sequence according to the correlation between each target diagnostic result in the target diagnostic result set and the target fault code, the vehicle fault diagnosis method further includes:
  • the correlation degree between the target diagnosis results and the target DTCs is determined.
  • the vehicle fault diagnosis method before determining the correlation between each target diagnosis result and the target DTC according to the time sequence of each target DTC report, the vehicle fault diagnosis method further includes:
  • the determining the target diagnostic result set according to the frequency of each diagnostic result in the multiple diagnostic result sets of the multiple target DTCs includes:
  • the plurality of diagnosis result sets are determined as the target diagnosis result set.
  • the preset condition is that at least one of the corresponding frequencies of all the diagnostic results in the plurality of diagnostic result sets is greater than or equal to the preset frequency.
  • the determination of the target diagnostic result set according to the fault knowledge map and multiple target fault codes includes:
  • a diagnostic result set for each target fault code For each target fault code, according to the fault knowledge graph and the priority of the diagnostic results in the fault knowledge graph, determine a diagnostic result set for each target fault code, and the diagnostic result set includes at least one diagnostic result ;
  • the vehicle fault diagnosis method further includes:
  • the correlation between each target diagnostic result in each target diagnostic result set and the corresponding target DTC is determined.
  • the diagnosis results in the fault knowledge graph include: at least one of controllers, fault setting conditions, fault recovery conditions, fault causes, and maintenance suggestions.
  • the vehicle fault diagnosis method also includes:
  • the plurality of target DTCs are input into the trained model, and a sequence of diagnosis results of the plurality of target DTCs is output based on the trained model, and the diagnosis results in the sequence of diagnosis results are sorted according to probability values.
  • an embodiment of the present disclosure provides a vehicle fault diagnosis device, the vehicle fault diagnosis device comprising:
  • a determining module configured to determine a target diagnosis result set according to the fault knowledge graph and multiple target fault codes, the target diagnostic result set includes multiple target diagnostic results, and the fault knowledge graph includes multiple fault codes and diagnostic results corresponding relationship;
  • a sequence generating module configured to generate a target diagnostic result sequence according to the correlation between each target diagnostic result in the target diagnostic result set and the target fault code.
  • the method further includes: a result sequence module, configured to input the multiple target DTCs into the trained model, and output the diagnosis result sequence of the multiple target DTCs based on the trained model , the diagnosis results in the diagnosis result sequence are sorted according to the probability value.
  • a result sequence module configured to input the multiple target DTCs into the trained model, and output the diagnosis result sequence of the multiple target DTCs based on the trained model , the diagnosis results in the diagnosis result sequence are sorted according to the probability value.
  • an embodiment of the present disclosure provides an electronic device, the electronic device includes: a processor, the processor is configured to execute a computer program stored in a memory, and when the computer program is executed by the processor, the first aspect is implemented The steps of any method provided in the embodiments.
  • an embodiment of the present disclosure provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of any method provided in the embodiment of the first aspect are implemented.
  • an embodiment of the present disclosure provides a computer program product, where the computer program product includes a computer program, and when the computer program is executed by a processor, any method provided in the embodiment of the first aspect is implemented.
  • an embodiment of the present disclosure provides a computer program, the computer program includes computer program code, and when the computer program code is run on a computer, the computer executes any one of the methods provided in the embodiment of the first aspect .
  • the target diagnostic result set is determined according to the fault knowledge graph and multiple target fault codes, the target diagnostic result set includes multiple target diagnostic results, and the fault knowledge graph includes multiple fault codes and The corresponding relationship of diagnosis results; according to the correlation between each target diagnosis result in the target diagnosis result set and the target fault code, the target diagnosis result sequence is generated.
  • the target diagnosis result sequence is generated.
  • FIG. 1 is a schematic diagram of an application scenario provided by an embodiment of the present disclosure
  • FIG. 2 is a schematic flowchart of a vehicle fault diagnosis method provided by an embodiment of the present disclosure
  • FIG. 3 is a schematic diagram of a fault knowledge map provided by an embodiment of the present disclosure.
  • FIG. 4 is a schematic flowchart of another vehicle fault diagnosis method provided by an embodiment of the present disclosure.
  • FIG. 5 is a schematic flowchart of another vehicle fault diagnosis method provided by an embodiment of the present disclosure.
  • FIG. 6 is a schematic flowchart of another vehicle fault diagnosis method provided by an embodiment of the present disclosure.
  • FIG. 7 is a schematic flowchart of another vehicle fault diagnosis method provided by an embodiment of the present disclosure.
  • FIG. 8 is a schematic flowchart of another vehicle fault diagnosis method provided by an embodiment of the present disclosure.
  • FIG. 9 is a schematic flowchart of another vehicle fault diagnosis method provided by an embodiment of the present disclosure.
  • FIG. 10 is a schematic flowchart of another vehicle fault diagnosis method provided by an embodiment of the present disclosure.
  • FIG. 11 is a schematic flowchart of another vehicle fault diagnosis method provided by an embodiment of the present disclosure.
  • Fig. 12 is a schematic structural diagram of a vehicle fault diagnosis device provided by an embodiment of the present disclosure.
  • FIG. 1 is a schematic diagram of an application scenario provided by the embodiment of the present disclosure.
  • FIG. 1 it includes: a vehicle 110 and a cloud server 120.
  • the vehicle 110 communicates with the cloud server 120.
  • the cloud server 120 periodically sends a DTC request to the vehicle 110. Based on the received DTC request, the vehicle 110, in the current When there is a fault, a fault code is returned to the cloud server 120, and the cloud server 120 diagnoses the vehicle fault based on the received fault code.
  • the application scenario may also include: the vehicle diagnostic instrument 130, when the vehicle 110 fails, connect the vehicle diagnostic instrument 130 and the vehicle 110, and after the connection, the vehicle diagnostic instrument 130 sends a fault code request to the vehicle 110, Based on the received fault code request, the vehicle 110 returns the fault code generated under the current fault to the vehicle diagnostic instrument 130 , and the vehicle fault diagnostic instrument 130 diagnoses the current fault of the vehicle based on the received fault code.
  • a fault code is a character string whose first character is a letter and the subsequent characters are a group of numbers. The first letter is used to identify the type of the fault code, and this group of numbers is used to identify the cause of the current fault, maintenance suggestions, and fault recovery conditions. at least one.
  • the technical solutions of the embodiments of the present disclosure can be applied to the vehicle fault diagnosis instrument 130 and/or the cloud server 120 in the above-mentioned scenarios, by determining the target diagnosis result set according to the fault knowledge map and multiple target fault codes, the target diagnosis result set includes For multiple target diagnostic results, the fault knowledge map includes the correspondence between multiple fault codes and diagnostic results; according to the correlation between each target diagnostic result in the target diagnostic result set and the target fault code, a target diagnostic result sequence is generated.
  • a target diagnostic result sequence is generated.
  • Fig. 2 is a schematic flowchart of a vehicle fault diagnosis method provided by an embodiment of the present disclosure. As shown in Figure 2, the vehicle fault diagnosis method includes S101 and S103.
  • the set of target diagnostic results includes multiple target diagnostic results, and the fault knowledge graph includes correspondences between multiple fault codes and diagnostic results.
  • Fig. 3 is a schematic diagram of a fault knowledge map provided by an embodiment of the present disclosure.
  • the fault knowledge graph includes a variety of different types of nodes, among which, a variety of different types of nodes include fault code node 1, fault cause node 2, maintenance suggestion node 3, fault setting condition node 4, At least one of the failover condition node 5 and the controller node 6 .
  • Nodes can be connected by connection lines, and there is a corresponding relationship between the nodes at both ends of the connection line.
  • the two ends of the connection line can be fault code node 1 and fault cause node 2, and the two ends of the connection line It can also be fault code node 1 and maintenance suggestion node 3.
  • the fault knowledge graph includes 6449 nodes, wherein the total number of controller nodes 6 is 36, the total number of fault cause nodes 2 is 1099, the total number of fault code nodes 1 is 2066, and the fault recovery condition The total number of nodes 5 is 580, the total number of repair suggestion nodes 3 is 839, and the total number of failure setting condition nodes 4 is 1879.
  • the diagnosis result in the fault knowledge graph may be at least one of fault cause, maintenance suggestion, fault setting condition, fault recovery condition and controller, and the fault knowledge graph includes the correspondence between multiple fault codes and diagnostic results, It should be noted that the same fault code may correspond to multiple diagnostic results, and different fault codes may correspond to one diagnostic result. The correspondence between these diagnostic results and fault codes is determined based on historical investigation results.
  • multiple target DTCs may be generated.
  • the target DTC is one of all DTCs in the fault knowledge map. According to the received multiple target DTCs, for each target DTC, from Find the corresponding diagnostic result set in the fault knowledge map.
  • target DTC B1, target DTC B2, and target DTC B3 are generated, wherein, target DTC B1 in the fault knowledge map corresponds to diagnosis result A1 and diagnosis result A3, and target DTC B2 Corresponding to diagnosis result A1, diagnosis result A2 and diagnosis result A3, target DTC B3 corresponding to diagnosis result A1, then diagnosis result set 1 of target DTC B1 is ⁇ diagnosis result A1, diagnosis result A3 ⁇ , target DTC B2 Diagnosis result set 2 is ⁇ diagnosis result A1, diagnosis result A2, diagnosis result A3 ⁇ , and diagnosis result set 3 of target DTC B3 is ⁇ diagnosis result A1 ⁇ .
  • the target diagnostic result set is determined according to the diagnostic result set of each target fault code.
  • the target diagnostic result set includes multiple target diagnostic results.
  • the target diagnostic result can be one of the above-mentioned diagnostic result sets, or it can be the above-mentioned A collection of diagnostic results.
  • the target diagnostic result set based on multiple target fault codes corresponding to a target diagnostic result set, and one target diagnostic result set in the target diagnostic result set is a diagnostic result set, based on the correlation between the diagnostic result set and all target fault codes, the Each diagnostic result set in the target diagnostic result set is arranged in descending order of correlation to generate a target diagnostic result sequence.
  • the target diagnostic result set corresponding to the target fault code B1, target fault B2 and target fault code B3 is ⁇ diagnostic result set 1, diagnostic result set 2, diagnostic result set 3 ⁇ , wherein, the diagnostic result set 1
  • the correlation with all target DTCs is greater than the correlation between diagnosis result set 2 and all target DTCs, and the correlation between diagnosis result set 3 and all target DTCs is greater than the correlation between diagnosis result set 1 and all target DTCs, then generate The target diagnosis result sequence of is ⁇ diagnosis result set 3, diagnosis result set 1, diagnosis result set 2 ⁇ .
  • the target diagnosis result in the target diagnosis result set is a diagnosis result
  • the target diagnosis is arranged in descending order of correlation to generate a target diagnostic result sequence.
  • the set of target diagnostic results corresponding to target fault code B1, target fault B2, and target fault code B3 is ⁇ diagnostic result A1, diagnostic result A2, diagnostic result A3 ⁇ , wherein, diagnostic result A1 and all target faults
  • the correlation degree of the code is greater than the correlation degree of the diagnosis result A3 and all target DTCs
  • the correlation degree of the diagnosis result A3 and all target DTCs is greater than the correlation degree of the diagnosis result A2 and all target DTCs
  • the generated target diagnosis result sequence is ⁇ Diagnosis result A1, diagnosis result A3, diagnosis result A2 ⁇ .
  • one target diagnostic result set is a diagnostic result set
  • the target diagnosis result sets corresponding to target DTC B1, target DTC B2 and target DTC B3 are ⁇ Diagnostic Result Set 1 ⁇ , ⁇ Diagnostic Result Set 2 ⁇ and ⁇ Diagnostic Result Set 3 ⁇ , where, The correlation between diagnosis result A1 and target DTC B1 in diagnosis result set 1 is greater than the correlation between diagnosis result A3 and target DTC B1, and the correlation between diagnosis result A1 and target DTC B2 in diagnosis result set 2 is greater than that between diagnosis result A3 and target DTC B1.
  • the correlation degree of the target DTC B2, the correlation degree of the diagnosis result A3 and the target DTC B2 is greater than the correlation degree of the diagnosis result A2 and the target DTC B2, then the target diagnosis result sequence of the generated target DTC B1 is ⁇ diagnosis result A1, Diagnosis result A3 ⁇ , the target diagnosis result sequence of the generated target DTC B2 is ⁇ diagnosis result A1, diagnosis result A3, diagnosis result A2 ⁇ , and the target diagnosis result sequence of the generated target DTC B3 is ⁇ diagnosis result A1 ⁇ .
  • the target diagnostic result set is determined according to the fault knowledge graph and multiple target fault codes, the target diagnostic result set includes multiple target diagnostic results, and the fault knowledge graph includes the correspondence between multiple fault codes and diagnostic results ;According to the correlation between each target diagnosis result in the target diagnosis result set and the target DTC, a target diagnosis result sequence is generated, so that based on multiple DTCs generated by vehicle faults, the direct diagnosis corresponding to multiple DTCs can be quickly obtained
  • the results and related diagnosis results that is, the direct diagnosis results and related diagnosis results of the current fault of the vehicle, so that a comprehensive diagnosis of vehicle faults can be realized.
  • FIG. 4 is a schematic flowchart of another vehicle fault diagnosis provided by an embodiment of the present disclosure.
  • Fig. 4 is a specific description of a possible implementation of S101 based on the embodiment shown in Fig. 2 .
  • S101 specifically includes S1011 and S1012.
  • the diagnosis result set includes at least one diagnosis result.
  • the target fault code can be a non-circuit target fault code, which is used to indicate the fault of the non-communication bus system.
  • the first letter of the non-circuit target fault code is a fault code with a non-U character, for example, the initial letter of the non-circuit target fault code Can be B, C, P and other characters.
  • the fault knowledge map includes the corresponding relationship between the target fault code and the diagnosis result. According to the received target fault codes, at least one corresponding diagnosis result is found from the fault knowledge map, that is, the diagnosis result set of each target fault code is obtained. And the diagnosis result set includes at least one diagnosis result.
  • target DTC C1 in the fault knowledge map corresponds to diagnosis result A1 and diagnosis result A3
  • target DTC C2 corresponds to diagnosis result A1, diagnosis result A2 and diagnosis result Result A3
  • target DTC C3 corresponds to diagnosis result A1.
  • the determined diagnosis result set is ⁇ diagnosis result A1, diagnosis result A3 ⁇
  • the determined diagnosis result set is ⁇ diagnosis result A1, diagnosis result A2, diagnosis result A3 ⁇
  • the determined diagnosis result set is ⁇ diagnosis result A1 ⁇ .
  • all diagnostic result sets include: ⁇ diagnostic result A1, diagnostic result A3 ⁇ , ⁇ diagnostic result A1, diagnostic result A2, diagnostic result A3 ⁇ and ⁇ diagnostic result A1 ⁇
  • all diagnostic result sets include three Diagnosis results, that is, diagnosis result A1, diagnosis result A2 and diagnosis result A3, wherein, the frequency of diagnosis result A1 in all diagnosis result sets is 3 times, and the frequency of diagnosis result A2 in all diagnosis result sets is 1 time , the frequency of diagnosis result A3 appearing in all diagnosis result sets is 2 times.
  • the target diagnostic result in the target diagnostic result set can be a diagnostic result set or a diagnostic result. for detailed analysis.
  • FIG. 5 is a specific description as a possible implementation manner when executing S1012.
  • S1012 specifically includes S201, S202 and S203.
  • the preset condition may be that at least one of the corresponding frequencies of all the diagnostic results in the plurality of diagnostic result sets is greater than or equal to the preset frequency. Based on meeting the preset conditions, it means that there is at least one diagnosis result whose frequency is greater than or equal to the preset frequency in all diagnostic results, and based on not meeting the preset conditions, it means that there is no diagnosis result in all diagnostic results whose frequency is greater than or equal to the preset frequency Frequency, that is, frequencies corresponding to all diagnostic results are less than a preset frequency.
  • the preset frequency can be 3.
  • the frequency of diagnosis result A1 in all diagnosis result sets is equal to the preset frequency, that is, the preset condition is met, and the diagnosis result set ⁇ diagnosis result A1, diagnosis result A3 can be determined ⁇ , the union of diagnosis result set ⁇ diagnosis result A1, diagnosis result A2, diagnosis result A3 ⁇ and diagnosis result set ⁇ diagnosis result A1 ⁇ , that is, ⁇ diagnosis result A1, diagnosis result A2, diagnosis result A3 ⁇ is the target diagnosis result set .
  • each diagnostic result set can be regarded as a target diagnostic result, and all diagnostic result sets form a target diagnostic result set.
  • the preset frequency can be 3, and all diagnostic result sets include: ⁇ diagnostic result A1, diagnostic result A2 ⁇ , ⁇ diagnostic result A1, diagnostic result A3 ⁇ and ⁇ diagnostic result A2 ⁇ , all diagnostic result sets include three diagnoses
  • the frequency of diagnosis result A1 and diagnosis result A2 in all diagnosis result sets is 2 times
  • the frequency of diagnosis result A3 in all diagnosis result sets is 1 time, that is, both are less than the preset frequency, that is, not Satisfying the preset conditions
  • the set of target diagnostic results can be determined based on time series as ⁇ diagnostic result A1, diagnostic result A2 ⁇ , ⁇ diagnostic result A1, diagnostic result A3 ⁇ , ⁇ diagnostic result A2 ⁇ , namely ⁇ diagnostic result A1, diagnostic result Result A2 ⁇ is earlier than ⁇ diag
  • FIG. 6 is a schematic flowchart of another vehicle fault diagnosis method provided by an embodiment of the present disclosure.
  • FIG. 6 is based on the embodiment shown in FIG. 4 , before performing S103 , the vehicle fault diagnosis method further includes S102 .
  • the order of the relevance of the target diagnosis results can be determined.
  • the set of target diagnosis results is ⁇ diagnosis result A1, diagnosis result A2, diagnosis result A3 ⁇
  • the frequency corresponding to diagnosis result A1 is 3 times
  • the frequency corresponding to diagnosis result A2 is 1 time
  • the frequency corresponding to diagnosis result A3 is If the frequency is 2 times
  • the diagnosis result A1 has the highest correlation with the target DTC, followed by the diagnosis result A3, and finally the diagnosis result A2.
  • the generated target diagnosis result sequence is ⁇ diagnosis result A1, diagnosis result A3, diagnosis Result A2 ⁇ .
  • the diagnostic results of the current fault of the vehicle can be analyzed based on the frequency corresponding to the target diagnostic result. Sorting, so that the direct diagnosis results and indirect diagnosis results of the vehicle's current faults can be obtained.
  • FIG. 7 is a schematic flowchart of another vehicle fault diagnosis method provided by an embodiment of the present disclosure.
  • Fig. 7 is based on the embodiment shown in Fig. 4, before performing S103, the vehicle fault diagnosis method further includes S102'.
  • the diagnosis result set Based on the target diagnosis result set in the target diagnosis result set is the diagnosis result set, the time when each target DTC is reported is obtained, and the earlier the time based on the target DTC is reported, the correlation between the diagnosis result set corresponding to the target DTC and the target DTC The higher the degree is, the order of correlation between the diagnosis result set and the target DTC can be determined based on the time sequence of each target DTC report.
  • the set of target diagnostic results is ⁇ diagnostic result A1, diagnostic result A2 ⁇ , ⁇ diagnostic result A1, diagnostic result A3 ⁇ , ⁇ diagnostic result A2 ⁇
  • the reporting time of target DTC C1 is 13 :21
  • the target DTC C2 is reported at 13:23
  • the target DTC C3 is reported at 13:20
  • the target diagnosis result ⁇ diagnosis result A2 ⁇ has the highest correlation with the target DTC, followed by the target diagnosis result ⁇ diagnosis result A1, diagnosis result A2 ⁇
  • the target diagnosis result ⁇ diagnosis result A1, diagnosis result A3 ⁇ thus, the generated target diagnosis result sequence is ⁇ diagnosis result A2 ⁇ , ⁇ diagnosis result A1, diagnosis result A2 ⁇ , ⁇ diagnosis result A1, diagnosis result A3 ⁇ .
  • the diagnostic results of the current vehicle fault can be sorted based on the reporting time of the target DTC, so that The direct and indirect diagnosis results of the vehicle's current faults are obtained.
  • FIG. 8 is a schematic flowchart of another vehicle fault diagnosis method provided by an embodiment of the present disclosure.
  • Fig. 8 is based on the embodiment shown in Fig. 7, before executing S102', the vehicle fault diagnosis method further includes S1013.
  • the preset condition may be that at least one of the corresponding frequencies of all the diagnostic results in the plurality of diagnostic result sets is greater than or equal to the preset frequency. Based on meeting the preset conditions, it means that there is at least one diagnosis result whose frequency is greater than or equal to the preset frequency in all diagnostic results, and based on not meeting the preset conditions, it means that there is no diagnosis result in all diagnostic results whose frequency is greater than or equal to the preset frequency Frequency, that is, frequencies corresponding to all diagnostic results are less than a preset frequency.
  • the correlation between each target diagnosis result and the target DTC is determined based on the time sequence reported by each target DTC; based on the satisfaction of the preset condition, based on the corresponding Frequency, to determine the correlation between each target diagnosis result and the target DTC.
  • FIG. 9 is a schematic flowchart of another vehicle fault diagnosis method provided by an embodiment of the present disclosure.
  • FIG. 9 is a specific description of another possible implementation of S101 based on the embodiment shown in FIG. 2 .
  • S101 specifically includes S301 and S302.
  • the diagnosis result set includes at least one diagnosis result.
  • the target fault code can be a circuit target fault code, which is used to indicate a fault in the communication bus system.
  • the first letter of the circuit target fault code is a fault code with a U character.
  • the diagnosis node in the fault knowledge map includes the corresponding relationship between the target fault code and the diagnosis result, wherein the diagnosis result can include: at least one of the first-level diagnosis result, the second-level diagnosis result and the third-level diagnosis result, and the priority of the first-level diagnosis result is The priority of the second-level diagnosis result is higher than that of the second-level diagnosis result, and the priority of the second-level diagnosis result is higher than that of the third-level diagnosis result.
  • the first-level diagnosis result may be a bus diagnosis result
  • the second-level diagnosis result may be a sub-node diagnosis result
  • the third-level diagnosis result may be a leaf node diagnosis result.
  • a diagnosis result set of the target fault code may be generated, and the diagnosis result set may include at least one of the first-level diagnosis result, the second-level diagnosis result and the third-level diagnosis result.
  • the diagnosis result set of target DTC U1 is ⁇ diagnosis result L2, diagnosis result L3 ⁇
  • the diagnosis result set of target DTC U2 is ⁇ diagnosis result L1, diagnosis result L2, diagnosis result L3 ⁇
  • the diagnosis result set of target DTC U3 The result set is ⁇ diagnosis result L3 ⁇ , wherein, diagnosis result L1 is a first-level diagnosis result, diagnosis result L2 is a second-level diagnosis result, and diagnosis result L3 is a third-level diagnosis result.
  • Each target DTC corresponds to a diagnostic result set, which can be used as the target diagnostic result set of each target DTC, so that multiple target diagnostic result sets can be determined for multiple target DTCs. At least one target diagnosis result is included, and the target diagnosis result is the diagnosis result.
  • the set of target diagnosis results of target DTC U1 is ⁇ target diagnosis result L2, target diagnosis result L3 ⁇
  • the set of target diagnosis results of target DTC U2 is ⁇ target diagnosis result L1, target diagnosis result L2,
  • the target diagnosis result L3 ⁇ , the target diagnosis result set of the target DTC U3 is ⁇ target diagnosis result L3 ⁇ .
  • the diagnostic result set of each target fault code is determined, and the diagnostic result set includes at least one diagnostic result; for For each target DTC, determine the diagnosis result set as the target diagnosis result set corresponding to each target DTC. In this way, determining the target diagnosis result set of each target DTC based on the priority of the diagnosis result can not only determine the cause of the vehicle failure Direct diagnosis results can also determine related diagnosis results, so that a comprehensive diagnosis of vehicle faults can be realized.
  • FIG. 10 is a schematic flowchart of another vehicle fault diagnosis method provided by an embodiment of the present disclosure.
  • Fig. 10 is based on the embodiment shown in Fig. 9, before performing S103, the vehicle fault diagnosis method further includes S102".
  • the target diagnosis result set is the diagnosis result set
  • the target diagnosis result in the target diagnosis result set is the diagnosis result in the diagnosis result set
  • the priority of the target diagnosis result is the priority of the diagnosis results in the diagnosis result set.
  • target diagnostic result L3 ⁇ the target diagnostic result L2 is determined first, and then the target diagnostic result L3 is determined, and the target diagnostic result set ⁇ target diagnostic result L1, target diagnostic result In result L2, target diagnosis result L3 ⁇ , the target diagnosis result L1 is determined first, then the target diagnosis result L2 is determined, and finally the target diagnosis result L3 is determined.
  • the target diagnosis result set ⁇ target diagnosis result L3 ⁇ only determines one target diagnosis result L3.
  • the correlation between the target diagnosis result L2 and the target DTC U1 is greater than the correlation between the target diagnosis result L3 and the target DTC U1; the target diagnosis result of the target DTC U2 In the set, the correlation between the target diagnosis result L1 and the target DTC U2 is greater than the correlation between the target diagnosis result L2 and the target DTC U2, and the correlation between the target diagnosis result L2 and the target DTC U2 is greater than the target diagnosis result L3 and the target DTC The correlation of U2.
  • the target diagnosis result sequence corresponding to the determined target DTC U1 is ⁇ target diagnosis result L2, target diagnosis result L3 ⁇
  • the target diagnosis result sequence corresponding to the target DTC U2 is ⁇ target diagnosis result L1, target diagnosis result L2, target Diagnosis result L3 ⁇
  • the target diagnosis result sequence corresponding to the target fault code U3 is ⁇ target diagnosis result L3 ⁇ .
  • the priority sorts the target diagnostic results in all target diagnostic result sets, so that the direct diagnostic results and indirect diagnostic results of the current fault of the vehicle can be obtained.
  • FIG. 11 is a schematic flowchart of another vehicle fault diagnosis method provided by an embodiment of the present disclosure.
  • FIG. 11 is based on the embodiment shown in FIG. 2 , the vehicle fault diagnosis method further includes S104.
  • the diagnosis results in the diagnosis result sequence are sorted according to the probability value.
  • the model has three layers, including input layer, hidden layer and output layer.
  • the number of neurons in the input layer is the total number of fault codes
  • the number of neurons in the output layer is the total number of diagnosis results
  • the number of neurons in the hidden layer is 256.
  • the fault codes and diagnosis results are numerically processed, and the corresponding position in L is changed from 0 to 1, and the final vector L1 is obtained, so as to train the model and obtain the trained model.
  • Input multiple target fault codes into the trained model, and the trained model can output multiple diagnostic results, wherein the multiple diagnostic results correspond to different probability values, and based on the order of the probability values from large to small, it can be determined
  • a sequence of multiple diagnosis results, the top diagnosis result in the sequence is the direct diagnosis result and related diagnosis results of the current fault of the vehicle.
  • the diagnosis results in the diagnosis result sequence are sorted according to the probability value, which can Obtaining the direct diagnosis result of the vehicle's current fault and related diagnosis results can verify the target diagnosis result sequence obtained in the above-mentioned embodiment.
  • Fig. 12 is a schematic structural diagram of a vehicle fault diagnosis device provided by an embodiment of the present disclosure. As shown in FIG. 12 , the vehicle fault diagnosis device includes: a determination module 210 and a sequence generation module 220 .
  • the determining module 210 is used to determine a target diagnosis result set according to the fault knowledge graph and multiple target fault codes, the target diagnostic result set includes multiple target diagnostic results, and the fault knowledge graph includes multiple fault codes and diagnostic results corresponding relationship.
  • the sequence generating module 220 is configured to generate a target diagnostic result sequence according to the correlation between each target diagnostic result in the target diagnostic result set and the target DTC.
  • the determination module 210 is further configured to determine a diagnostic result set for each target fault code according to the fault knowledge map, and the diagnostic result set includes at least one diagnostic result; according to the multiple target faults The frequency of occurrence of each diagnosis result in the plurality of diagnosis result sets of the code is used to determine the target diagnosis result set.
  • the determination module 210 is further configured to determine the correlation between each target diagnosis result and the target DTC according to the frequency corresponding to each target diagnosis result in the target diagnosis result set.
  • the determination module 210 is further configured to determine the correlation between the target diagnosis results and the target DTCs according to the time sequence of the target DTCs.
  • the determining module 210 is further configured to determine that the frequency of each diagnosis result does not satisfy a preset condition according to the frequency of occurrence of each diagnosis result in the plurality of diagnosis result sets.
  • the determination module 210 is further configured to determine that the union of the plurality of diagnostic result sets is the target diagnostic result set based on the frequency of each diagnostic result meeting a preset condition; frequency does not meet the preset condition, and determine the plurality of diagnosis result sets as the target diagnosis result set.
  • the preset condition is that at least one of the corresponding frequencies of all the diagnostic results in the plurality of diagnostic result sets is greater than or equal to the preset frequency.
  • the determination module 210 is further used for determining the diagnosis result set of each target DTC according to the fault knowledge graph and the priority of the diagnosis results in the fault knowledge graph for each target DTC , the diagnosis result set includes at least one diagnosis result; for each target DTC, determine the diagnosis result set as the target diagnosis result set corresponding to each target DTC.
  • the determining module 210 is further configured to determine the target diagnostic results in each target diagnostic result set and the corresponding target fault codes according to the priorities of all target diagnostic result sets in each target diagnostic result set relevance.
  • the diagnosis results in the fault knowledge graph include: at least one of controllers, fault setting conditions, fault recovery conditions, fault causes, and maintenance suggestions.
  • the vehicle fault diagnosis device further includes: a result sequence module, configured to input the multiple target fault codes into the trained model, and output the diagnosis of the multiple target fault codes based on the trained model A result sequence, the diagnosis results in the diagnosis result sequence are sorted according to the probability value.
  • a result sequence module configured to input the multiple target fault codes into the trained model, and output the diagnosis of the multiple target fault codes based on the trained model A result sequence, the diagnosis results in the diagnosis result sequence are sorted according to the probability value.
  • the vehicle fault diagnosis device provided by the embodiments of the present disclosure can be used to execute the steps of the above-mentioned method embodiments, and its implementation principles and technical effects are similar, and will not be repeated here.
  • An embodiment of the present disclosure further provides an electronic device, including: a processor, the processor is configured to execute a computer program stored in a memory, and when the computer program is executed by the processor, the steps of the foregoing method embodiments are implemented.
  • Embodiments of the present disclosure also provide a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the foregoing method embodiments are implemented.
  • An embodiment of the present disclosure further provides a computer program product, where the computer program product includes a computer program, and when the computer program is executed by a processor, any one of the methods provided in the foregoing embodiments is implemented.
  • An embodiment of the present disclosure provides a computer program, where the computer program includes computer program code, and when the computer program code is run on a computer, it causes the computer to execute any one of the methods provided in the above embodiments.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

Disclosed are a vehicle fault diagnosis method and apparatus, an electronic device, a storage medium, a computer program product, and a computer program. The vehicle fault diagnosis method comprises: according to a fault knowledge graph and a plurality of target fault codes, determining a target diagnosis result set (S101); the target diagnosis result set comprising a plurality of target diagnosis results, and the fault knowledge graph comprises corresponding relationships between a plurality of fault codes and diagnosis results; and according to the relevancy between each target diagnosis result in the target diagnosis result set and the target fault codes, generating a target diagnosis result sequence (S103).

Description

车辆故障诊断方法、装置、电子设备和存储介质Vehicle fault diagnosis method, device, electronic device and storage medium
相关申请的交叉引用Cross References to Related Applications
本申请要求在2021年12月9日在中国提交的中国专利申请号202111499806.6的优先权,其全部内容通过引用并入本文。This application claims priority to Chinese Patent Application No. 202111499806.6 filed in China on December 9, 2021, the entire contents of which are incorporated herein by reference.
技术领域technical field
本公开涉及汽车技术领域,具体涉及一种车辆故障方法、装置、电子设备、存储介质、计算机程序产品和计算机程序。The present disclosure relates to the technical field of automobiles, in particular to a vehicle failure method, device, electronic equipment, storage medium, computer program product and computer program.
背景技术Background technique
目前车辆故障的诊断方法主要以下几种:一种是,人工判别法,即维修人员通过看、听、闻等方法来确定车辆的故障,借助维修人员自身的维修经验以及一些简单的工具进行分析。另一种是,简单仪器诊断法,即在人工经验法的基础上,借助万用表、示波器等简单仪器判断故障类型。由于这两种方式在很大程度上依赖于维修人员的经验和能力,导致诊断所花费的时间较多,且诊断的准确性也较差。At present, there are mainly the following methods for diagnosing vehicle faults: one is the manual discrimination method, that is, the maintenance personnel determine the fault of the vehicle by means of seeing, listening, and smelling, and use the maintenance personnel's own maintenance experience and some simple tools to analyze . The other is the simple instrument diagnosis method, that is, on the basis of the manual experience method, the fault type is judged with the help of simple instruments such as multimeters and oscilloscopes. Since these two methods depend to a large extent on the experience and ability of the maintenance personnel, the diagnosis takes more time and the accuracy of the diagnosis is also poor.
基于此,出现了一种智能化的车载诊断系统,即通过使用车辆控制器对汽车零部件进行数据分析,然后在车载屏幕上显示,或者在手持诊断仪上显示故障发生的部位及时间。Based on this, an intelligent on-board diagnostic system has emerged, which uses the vehicle controller to analyze the data of auto parts, and then displays it on the on-board screen, or displays the location and time of the fault on the handheld diagnostic instrument.
然而,采用车载诊断系统虽然能够及时获得一些表现明显的故障,但对于车辆的严重故障,依然无法获得最根本故障原因及潜在故障问题。However, although the on-board diagnostic system can obtain some obvious faults in time, it still cannot obtain the most fundamental fault cause and potential fault problems for serious faults of the vehicle.
发明内容Contents of the invention
本公开实施例提供了一种车辆故障诊断方法、装置、电子设备、存储介质、计算机程序产品和计算机程序,能够全面诊断车辆故障。Embodiments of the present disclosure provide a vehicle fault diagnosis method, device, electronic equipment, storage medium, computer program product and computer program, capable of comprehensively diagnosing vehicle faults.
第一方面,本公开实施例提供了一种车辆故障诊断方法,所述车辆故障诊断方法包括:In a first aspect, an embodiment of the present disclosure provides a vehicle fault diagnosis method, the vehicle fault diagnosis method comprising:
根据故障知识图谱和多个目标故障码,确定目标诊断结果集合,所述目标诊断结果集合中包括多个目标诊断结果,所述故障知识图谱中包括多个故障码与诊断结果的对应关系;和Determine a target diagnostic result set according to the fault knowledge graph and multiple target fault codes, the target diagnostic result set includes multiple target diagnostic results, and the fault knowledge graph includes correspondences between multiple fault codes and diagnostic results; and
根据所述目标诊断结果集合中的各目标诊断结果与目标故障码的相关度,生成目标诊断结果序列。A target diagnosis result sequence is generated according to the correlation between each target diagnosis result in the target diagnosis result set and the target fault code.
在一些实施例中,所述根据故障知识图谱和多个目标故障码,确定目标诊断结果集合,包括:In some embodiments, the determination of the target diagnostic result set according to the fault knowledge map and multiple target fault codes includes:
针对每个目标故障码,根据所述故障知识图谱,确定诊断结果集合,所述诊断结果集合中包括至少一个诊断结果;和For each target fault code, according to the fault knowledge graph, determine a set of diagnostic results, the set of diagnostic results includes at least one diagnostic result; and
根据所述多个目标故障码的多个诊断结果集合中各诊断结果出现的频次,确定所述目标诊断结果集合。The target diagnosis result set is determined according to the occurrence frequency of each diagnosis result in the plurality of diagnosis result sets of the plurality of target DTCs.
在一些实施例中,所述根据所述目标诊断结果集合中的各目标诊断结果与目标故障码的相关度,生成目标诊断结果序列之前,所述车辆故障诊断方法还包括:In some embodiments, before generating the target diagnostic result sequence according to the correlation between each target diagnostic result in the target diagnostic result set and the target fault code, the vehicle fault diagnosis method further includes:
根据所述目标诊断结果集合中各目标诊断结果对应的频次,确定所述各目标诊断结果和所述目标故障码的相关度。According to the frequency corresponding to each target diagnosis result in the target diagnosis result set, the correlation degree between each target diagnosis result and the target DTC is determined.
在一些实施例中,所述根据所述目标诊断结果集合中的各目标诊断结果与目标故障码的相关度,生成目标诊断结果序列之前,所述车辆故障诊断方法还包括:In some embodiments, before generating the target diagnostic result sequence according to the correlation between each target diagnostic result in the target diagnostic result set and the target fault code, the vehicle fault diagnosis method further includes:
根据各目标故障码上报的时间顺序,确定所述各目标诊断结果与所述目标故障码的相关度。According to the chronological order of the target DTCs reported, the correlation degree between the target diagnosis results and the target DTCs is determined.
在一些实施例中,所述根据各目标故障码上报的时间顺序,确定所述各目标诊断结果与所述目标故障码的相关度之前,所述车辆故障诊断方法还包括:In some embodiments, before determining the correlation between each target diagnosis result and the target DTC according to the time sequence of each target DTC report, the vehicle fault diagnosis method further includes:
根据所述多个诊断结果集合中各诊断结果出现的频次,确定所述各诊断结果的频次不满足预设条件。According to the frequency of occurrence of each diagnosis result in the plurality of diagnosis result sets, it is determined that the frequency of each diagnosis result does not satisfy a preset condition.
在一些实施例中,所述根据所述多个目标故障码的多个诊断结果集合中各诊断结果出现的频次,确定目标诊断结果集合,包括:In some embodiments, the determining the target diagnostic result set according to the frequency of each diagnostic result in the multiple diagnostic result sets of the multiple target DTCs includes:
基于所述各诊断结果的频次满足预设条件,确定所述多个诊断结果集合的并集为所述目标诊断结果集合;Determining that the union of the plurality of diagnostic result sets is the target diagnostic result set based on the frequency of each diagnostic result meeting a preset condition;
基于所述各诊断结果的频次不满足所述预设条件,确定所述多个诊断结果集合为所述目标诊断结果集合。Based on the frequency of each diagnosis result not satisfying the preset condition, the plurality of diagnosis result sets are determined as the target diagnosis result set.
在一些实施例中,所述预设条件为所述多个诊断结果集合中所有诊断结果各自对应的频次中至少存在一个频次大于等于预设频次。In some embodiments, the preset condition is that at least one of the corresponding frequencies of all the diagnostic results in the plurality of diagnostic result sets is greater than or equal to the preset frequency.
在一些实施例中,所述根据故障知识图谱和多个目标故障码,确定目标诊断结果集合,包括:In some embodiments, the determination of the target diagnostic result set according to the fault knowledge map and multiple target fault codes includes:
针对每个目标故障码,根据所述故障知识图谱以及所述故障知识图谱中诊断结果的优先级,确定所述每个目标故障码的诊断结果集合,所述诊断结果集合中包括至少一个诊断结果;和For each target fault code, according to the fault knowledge graph and the priority of the diagnostic results in the fault knowledge graph, determine a diagnostic result set for each target fault code, and the diagnostic result set includes at least one diagnostic result ;and
针对所述每个目标故障码,确定所述诊断结果集合为所述每个目标故障码对应的所述目标诊断结果集合。For each target DTC, determine the diagnosis result set as the target diagnosis result set corresponding to each target DTC.
在一些实施例中,根据所述目标诊断结果集合中的各目标诊断结果与目标故障码的相关度,生成目标诊断结果序列之前,所述车辆故障诊断方法还包括:In some embodiments, according to the correlation between each target diagnostic result in the target diagnostic result set and the target fault code, before generating the target diagnostic result sequence, the vehicle fault diagnosis method further includes:
根据各目标诊断结果集合内的所有目标诊断结果的优先级,确定所述各目标诊断结果集合中的所述各目标诊断结果与对应的目标故障码的相关度。According to the priority of all target diagnostic results in each target diagnostic result set, the correlation between each target diagnostic result in each target diagnostic result set and the corresponding target DTC is determined.
在一些实施例中,所述故障知识图谱中的所述诊断结果包括:控制器、故障设置条件、故障恢复条件、故障原因、维修建议中的至少一种。In some embodiments, the diagnosis results in the fault knowledge graph include: at least one of controllers, fault setting conditions, fault recovery conditions, fault causes, and maintenance suggestions.
在一些实施例中,所述车辆故障诊断方法还包括:In some embodiments, the vehicle fault diagnosis method also includes:
将所述多个目标故障码输入至训练好的模型中,基于训练好的模型输出所述多个目标故障码的诊断结果序列,所述诊断结果序列中的诊断结果按照概率值进行排序。The plurality of target DTCs are input into the trained model, and a sequence of diagnosis results of the plurality of target DTCs is output based on the trained model, and the diagnosis results in the sequence of diagnosis results are sorted according to probability values.
第二方面,本公开实施例提供了一种车辆故障诊断装置,所述车辆故障诊断装置包括:In a second aspect, an embodiment of the present disclosure provides a vehicle fault diagnosis device, the vehicle fault diagnosis device comprising:
确定模块,用于根据故障知识图谱和多个目标故障码,确定目标诊断结果集合,所述目标诊断结果集合中包括多个目标诊断结果,所述故障知识图谱中包括多个故障码与诊断结果的对应关系;和A determining module, configured to determine a target diagnosis result set according to the fault knowledge graph and multiple target fault codes, the target diagnostic result set includes multiple target diagnostic results, and the fault knowledge graph includes multiple fault codes and diagnostic results corresponding relationship; and
序列生成模块,用于根据所述目标诊断结果集合中的各目标诊断结果与目标故障码的相关度,生成目标诊断结果序列。A sequence generating module, configured to generate a target diagnostic result sequence according to the correlation between each target diagnostic result in the target diagnostic result set and the target fault code.
在一些实施例中,所述还包括:结果序列模块,用于将所述多个目标故障码输入至训练好的模型中,基于训练好的模型输出所述多个目标故障码的诊断结果序列,所述诊断结果序列中的诊断结果按照概率值进行排序。In some embodiments, the method further includes: a result sequence module, configured to input the multiple target DTCs into the trained model, and output the diagnosis result sequence of the multiple target DTCs based on the trained model , the diagnosis results in the diagnosis result sequence are sorted according to the probability value.
第三方面,本公开实施例提供了一种电子设备,所述电子设备包括:处理器,所述处理器用于执行存储于存储器的计算机程序,所述计算机程序被处理器执行时实现第一方面实施例提供的任一种方法的步骤。In a third aspect, an embodiment of the present disclosure provides an electronic device, the electronic device includes: a processor, the processor is configured to execute a computer program stored in a memory, and when the computer program is executed by the processor, the first aspect is implemented The steps of any method provided in the embodiments.
第四方面,本公开实施例提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现第一方面实施例提供的任一种方法的步骤。In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of any method provided in the embodiment of the first aspect are implemented.
第五方面,本公开实施例提供了一种计算机程序产品,所述计算机程序产品包括计算机程序,所述计算机程序在被处理器执行时实现第一方面实施例提供的任一种方法。In a fifth aspect, an embodiment of the present disclosure provides a computer program product, where the computer program product includes a computer program, and when the computer program is executed by a processor, any method provided in the embodiment of the first aspect is implemented.
第六方面,本公开实施例提供了一种计算机程序,所述计算机程序包括计算机程序代码,当所述计算机程序代码在计算机上运行时,使得计算机执行第一方面实施例提供的任一种方法。In a sixth aspect, an embodiment of the present disclosure provides a computer program, the computer program includes computer program code, and when the computer program code is run on a computer, the computer executes any one of the methods provided in the embodiment of the first aspect .
本公开实施例提供的技术方案中,通过根据故障知识图谱和多个目标故障码,确定目标诊断结果集合,目标诊断结果集合中包括多个目标诊断结果,故障知识图谱中包括多个故障码与诊断结果的对应关系;根据目标诊断结果集合中的各目标诊断结果与目标故障码的相关度,生成目标诊断结果序列,如此,基于车辆故障产生的多个故障码,可以快速获取到多个故障码对应的直接诊断结果和相关诊断结果,即车辆当前故障的直接诊断结果和相关诊断结果,从而能够实现车辆故障的全面诊断。In the technical solution provided by the embodiments of the present disclosure, the target diagnostic result set is determined according to the fault knowledge graph and multiple target fault codes, the target diagnostic result set includes multiple target diagnostic results, and the fault knowledge graph includes multiple fault codes and The corresponding relationship of diagnosis results; according to the correlation between each target diagnosis result in the target diagnosis result set and the target fault code, the target diagnosis result sequence is generated. In this way, based on multiple fault codes generated by vehicle faults, multiple faults can be quickly obtained The direct diagnosis result and the related diagnosis result corresponding to the code, that is, the direct diagnosis result and the related diagnosis result of the current fault of the vehicle, so that a comprehensive diagnosis of the vehicle fault can be realized.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.
为了更清楚地说明本公开实施例或相关技术中的技术方案,下面将对实施例或相关技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure or related technologies, the following will briefly introduce the drawings that need to be used in the descriptions of the embodiments or related technologies. Obviously, for those of ordinary skill in the art, Other drawings can also be obtained from these drawings without any creative effort.
图1为本公开实施例提供的一种应用场景的示意图;FIG. 1 is a schematic diagram of an application scenario provided by an embodiment of the present disclosure;
图2为本公开实施例提供的一种车辆故障诊断方法的流程示意图;FIG. 2 is a schematic flowchart of a vehicle fault diagnosis method provided by an embodiment of the present disclosure;
图3为本公开实施例提供的故障知识图谱的示意图;FIG. 3 is a schematic diagram of a fault knowledge map provided by an embodiment of the present disclosure;
图4为本公开实施例提供的又一种车辆故障诊断方法的流程示意图;FIG. 4 is a schematic flowchart of another vehicle fault diagnosis method provided by an embodiment of the present disclosure;
图5为本公开实施例提供的又一种车辆故障诊断方法的流程示意图;FIG. 5 is a schematic flowchart of another vehicle fault diagnosis method provided by an embodiment of the present disclosure;
图6为本公开实施例提供的又一种车辆故障诊断方法的流程示意图;FIG. 6 is a schematic flowchart of another vehicle fault diagnosis method provided by an embodiment of the present disclosure;
图7为本公开实施例提供的又一种车辆故障诊断方法的流程示意图;FIG. 7 is a schematic flowchart of another vehicle fault diagnosis method provided by an embodiment of the present disclosure;
图8为本公开实施例提供的又一种车辆故障诊断方法的流程示意图;FIG. 8 is a schematic flowchart of another vehicle fault diagnosis method provided by an embodiment of the present disclosure;
图9为本公开实施例提供的又一种车辆故障诊断方法的流程示意图;FIG. 9 is a schematic flowchart of another vehicle fault diagnosis method provided by an embodiment of the present disclosure;
图10为本公开实施例提供的又一种车辆故障诊断方法的流程示意图;FIG. 10 is a schematic flowchart of another vehicle fault diagnosis method provided by an embodiment of the present disclosure;
图11为本公开实施例提供的又一种车辆故障诊断方法的流程示意图;FIG. 11 is a schematic flowchart of another vehicle fault diagnosis method provided by an embodiment of the present disclosure;
图12为本公开实施例提供的一种车辆故障诊断装置的结构示意图。Fig. 12 is a schematic structural diagram of a vehicle fault diagnosis device provided by an embodiment of the present disclosure.
具体实施方式Detailed ways
为了能够更清楚地理解本公开的上述目的、特征和优点,下面将对本公开的方案进行进一步描述。需要说明的是,在不冲突的情况下,本公开的实施例及实施例中的特征可以相互组合。In order to more clearly understand the above objects, features and advantages of the present disclosure, the solutions of the present disclosure will be further described below. It should be noted that, in the case of no conflict, the embodiments of the present disclosure and the features in the embodiments can be combined with each other.
在下面的描述中阐述了很多具体细节以便于充分理解本公开,但本公开还可以采用其他不同于在此描述的方式来实施;显然,说明书中的实施例只是本公开的一部分实施例,而不是全部的实施例。In the following description, many specific details are set forth in order to fully understand the present disclosure, but the present disclosure can also be implemented in other ways than described here; obviously, the embodiments in the description are only some of the embodiments of the present disclosure, and Not all examples.
本公开实施例应用于车辆,图1为本公开实施例提供的一种应用场景的示意图。如图1所示,包括:车辆110和云端服务器120,车辆110与云端服务器120通信连接,云端服务器120周期性地向车辆110发送故障码请求,车辆110基于接收到的故障码请求,在当前存在故障时向云端服务器120返回故障码,云端服务器120基于接收到故障码对车辆故障进行诊断。The embodiment of the present disclosure is applied to a vehicle, and FIG. 1 is a schematic diagram of an application scenario provided by the embodiment of the present disclosure. As shown in FIG. 1 , it includes: a vehicle 110 and a cloud server 120. The vehicle 110 communicates with the cloud server 120. The cloud server 120 periodically sends a DTC request to the vehicle 110. Based on the received DTC request, the vehicle 110, in the current When there is a fault, a fault code is returned to the cloud server 120, and the cloud server 120 diagnoses the vehicle fault based on the received fault code.
继续如图1所示,应用场景还可以包括:车辆故障诊断仪130,车辆110发生故障时,连接车辆故障诊断仪130和车辆110,连接后车辆故障诊断仪130向车辆110发送故障码请求,车辆110基于接收到的故障码请求,向车辆故障诊断仪130返回当前故障下产生的故障码,车辆故障诊断仪130基于接收到的故障码对车辆当前的故障进行诊断。Continuing as shown in FIG. 1 , the application scenario may also include: the vehicle diagnostic instrument 130, when the vehicle 110 fails, connect the vehicle diagnostic instrument 130 and the vehicle 110, and after the connection, the vehicle diagnostic instrument 130 sends a fault code request to the vehicle 110, Based on the received fault code request, the vehicle 110 returns the fault code generated under the current fault to the vehicle diagnostic instrument 130 , and the vehicle fault diagnostic instrument 130 diagnoses the current fault of the vehicle based on the received fault code.
车辆发生故障时,会产生相应的故障码,每次车辆故障可能产生至少一个故障码,尤其是,车辆发生严重故障时,会产生多个故障码。故障码是首字符为字母,后续字符为一组数字的字符串,其中,首字母用于标识故障码的类型,这一组数字用于标识当前故障的原因、维修建议、故障恢复条件中的至少一种。When a vehicle breaks down, a corresponding fault code will be generated, and each vehicle fault may generate at least one fault code, especially when a serious fault occurs in the vehicle, multiple fault codes will be generated. A fault code is a character string whose first character is a letter and the subsequent characters are a group of numbers. The first letter is used to identify the type of the fault code, and this group of numbers is used to identify the cause of the current fault, maintenance suggestions, and fault recovery conditions. at least one.
本公开实施例的技术方案可以应用于上述场景中的车辆故障诊断仪130和/云端服务器120中,通过根据故障知识图谱和多个目标故障码,确定目标诊断结果集合,目标诊断结果集合中包括多个目标诊断结果,故障知识图谱中包括多个故障码与诊断结果的对应关系;根据目标诊断结果集合中的各目标诊断结果与目标故障码的相关度,生成目标诊断结果序列,如此,基于车辆故障产生的多个故障码,可以快速获取到多个故障码对应的直接诊断结果和相关诊断结果,即车辆当前故障的直接诊断结果和相关诊断结果,从而能够实现车辆故障的全面诊断。The technical solutions of the embodiments of the present disclosure can be applied to the vehicle fault diagnosis instrument 130 and/or the cloud server 120 in the above-mentioned scenarios, by determining the target diagnosis result set according to the fault knowledge map and multiple target fault codes, the target diagnosis result set includes For multiple target diagnostic results, the fault knowledge map includes the correspondence between multiple fault codes and diagnostic results; according to the correlation between each target diagnostic result in the target diagnostic result set and the target fault code, a target diagnostic result sequence is generated. In this way, based on Multiple fault codes generated by vehicle faults can quickly obtain the direct diagnosis results and related diagnostic results corresponding to multiple fault codes, that is, the direct diagnosis results and related diagnostic results of the current fault of the vehicle, so as to realize a comprehensive diagnosis of vehicle faults.
以下通过几个具体的实施例,对本公开的技术方案进行详细的解释说明。The technical solution of the present disclosure will be explained in detail below through several specific embodiments.
图2为本公开实施例提供的一种车辆故障诊断方法的流程示意图。如图2所示,车辆故障诊断方法包括S101和S103。Fig. 2 is a schematic flowchart of a vehicle fault diagnosis method provided by an embodiment of the present disclosure. As shown in Figure 2, the vehicle fault diagnosis method includes S101 and S103.
S101,根据故障知识图谱和多个目标故障码,确定目标诊断结果集合。S101. Determine a target diagnosis result set according to the fault knowledge map and multiple target fault codes.
目标诊断结果集合中包括多个目标诊断结果,所述故障知识图谱中包括多个故障码与诊断结果的对应关系。The set of target diagnostic results includes multiple target diagnostic results, and the fault knowledge graph includes correspondences between multiple fault codes and diagnostic results.
图3为本公开实施例提供的一种故障知识图谱的示意图。如图3所示,故障知识图谱中包括多种不同类型的节点,其中,多种不同类型的节点包括故障码节点1,还包括故障原因节点2、维修建议节点3、故障设置条件节点4、故障恢复条件节点5和控制器节点6中的至少一个。节点之间可以通过连接线连接,连接线两端的节点之间存在对应关系,例如,如图3所示,连接线的两端可以是故障码节点1与故障原因节点2,连接线的两端还可以是故障码节点1和维修建议节点3。Fig. 3 is a schematic diagram of a fault knowledge map provided by an embodiment of the present disclosure. As shown in Figure 3, the fault knowledge graph includes a variety of different types of nodes, among which, a variety of different types of nodes include fault code node 1, fault cause node 2, maintenance suggestion node 3, fault setting condition node 4, At least one of the failover condition node 5 and the controller node 6 . Nodes can be connected by connection lines, and there is a corresponding relationship between the nodes at both ends of the connection line. For example, as shown in Figure 3, the two ends of the connection line can be fault code node 1 and fault cause node 2, and the two ends of the connection line It can also be fault code node 1 and maintenance suggestion node 3.
在一些实施例中,故障知识图谱中包括6449个节点,其中,控制器节点6的总数为36个,故障原因节点2的总数为1099个,故障码节点1的总数为2066个,故障恢复条件节点5的总数为580个,维修建议节点3的总数为839个,故障设置条件节点4的总数为1879个。In some embodiments, the fault knowledge graph includes 6449 nodes, wherein the total number of controller nodes 6 is 36, the total number of fault cause nodes 2 is 1099, the total number of fault code nodes 1 is 2066, and the fault recovery condition The total number of nodes 5 is 580, the total number of repair suggestion nodes 3 is 839, and the total number of failure setting condition nodes 4 is 1879.
基于上述实施例,故障知识图谱中诊断结果可以是故障原因、维修建议、故障设置条件、故障恢复条件和控制器中的至少一个,故障知识图谱中包括多个故障码与诊断结果的对应关系,需要说明的是,同一个故障码可能对应多个诊断结果,不同的故障码可能对应一个诊断结果,这些诊断结果和故障码的对应关系均是基于历史调查结果确定的。Based on the above-mentioned embodiments, the diagnosis result in the fault knowledge graph may be at least one of fault cause, maintenance suggestion, fault setting condition, fault recovery condition and controller, and the fault knowledge graph includes the correspondence between multiple fault codes and diagnostic results, It should be noted that the same fault code may correspond to multiple diagnostic results, and different fault codes may correspond to one diagnostic result. The correspondence between these diagnostic results and fault codes is determined based on historical investigation results.
车辆当前发生严重故障时,可能生成多个目标故障码,目标故障码为故障知识图谱中的所有故障码中的一个,如此根据接收到的多个目标故障码,针对每个目标故障码,从故障知识图谱中找出与其对应的诊断结果集合。例如,车辆当前发生严重故障时,产生目标故障码B1、目标故障码B2和目标故障码B3,其中,故障知识图谱中的目标故障码B1与诊断结果A1和诊断结果A3对应,目标故障码B2与诊断结果A1、诊断结果A2和诊断结果A3对应,目标故障码B3与诊断结果A1对应,则目标故障码B1的诊断结果集合1为{诊断结果A1,诊断结果A3},目标故障码B2的诊断结果集合2为{诊断结果A1,诊断结果A2,诊断结果A3},目标故障码B3的诊断结果集合3为{诊断结果A1}。When a serious fault occurs to the vehicle, multiple target DTCs may be generated. The target DTC is one of all DTCs in the fault knowledge map. According to the received multiple target DTCs, for each target DTC, from Find the corresponding diagnostic result set in the fault knowledge map. For example, when a serious fault occurs to the vehicle, target DTC B1, target DTC B2, and target DTC B3 are generated, wherein, target DTC B1 in the fault knowledge map corresponds to diagnosis result A1 and diagnosis result A3, and target DTC B2 Corresponding to diagnosis result A1, diagnosis result A2 and diagnosis result A3, target DTC B3 corresponding to diagnosis result A1, then diagnosis result set 1 of target DTC B1 is {diagnosis result A1, diagnosis result A3}, target DTC B2 Diagnosis result set 2 is {diagnosis result A1, diagnosis result A2, diagnosis result A3}, and diagnosis result set 3 of target DTC B3 is {diagnosis result A1}.
根据各目标故障码的诊断结果集合确定出目标诊断结果集合,目标诊断结果集合中包括多个目标诊断结果,目标诊断结果可以是上述所有诊断结果集合中的一个诊断结果,或者,可以是上述的一个诊断结果集合。目标诊断结果集合可以是一个,即多个目标故障码确定出一个目标诊断结果集合,或者,目标诊断结果集合可以是多个,即针对每个目标故障码确定出一个目标诊断结果集合。本实施例对于多个目标故障码对应的目标诊断结果集合的数量,以及每个目标诊断结果集合中的目标诊断结果的类型不作具体限制。The target diagnostic result set is determined according to the diagnostic result set of each target fault code. The target diagnostic result set includes multiple target diagnostic results. The target diagnostic result can be one of the above-mentioned diagnostic result sets, or it can be the above-mentioned A collection of diagnostic results. There may be one target diagnostic result set, that is, one target diagnostic result set is determined for multiple target DTCs, or there may be multiple target diagnostic result sets, that is, one target diagnostic result set is determined for each target DTC. In this embodiment, there is no specific limitation on the number of target diagnostic result sets corresponding to multiple target fault codes, and the type of target diagnostic result in each target diagnostic result set.
S103,根据所述目标诊断结果集合中的各目标诊断结果与目标故障码的相关度,生成目标诊断结果序列。S103. Generate a target diagnostic result sequence according to the correlation between each target diagnostic result in the target diagnostic result set and the target DTC.
在一些实施例中,基于多个目标故障码对应一个目标诊断结果集合,且目标诊断结果集合中的一个目标诊断结果为一个诊断结果集合,基于诊断结果集合与所有目标故障码的相关度,将目标诊断结果集合中的各诊断结果集合按照相关度从大到小的顺序排列,生成目标诊断结果序列。例如,基于上述实施例,目标故障码B1、目标故障B2和目标故障码B3对应的目标诊断结果集合为{诊断结果集合1,诊断结果集合2,诊断结果集合3},其中,诊断结果集合1与所有目标故障码的相关度大于诊断结果集合2与所有目标故障码的相关度,诊断结果集合3与所有目标故障码的相关度大于诊断结果集合1与所有目标故障码的相关度,则生成的目标诊断结果序列为{诊断结果集合3,诊断结果集合1,诊断结果集合2}。In some embodiments, based on multiple target fault codes corresponding to a target diagnostic result set, and one target diagnostic result set in the target diagnostic result set is a diagnostic result set, based on the correlation between the diagnostic result set and all target fault codes, the Each diagnostic result set in the target diagnostic result set is arranged in descending order of correlation to generate a target diagnostic result sequence. For example, based on the above-mentioned embodiment, the target diagnostic result set corresponding to the target fault code B1, target fault B2 and target fault code B3 is {diagnostic result set 1, diagnostic result set 2, diagnostic result set 3}, wherein, the diagnostic result set 1 The correlation with all target DTCs is greater than the correlation between diagnosis result set 2 and all target DTCs, and the correlation between diagnosis result set 3 and all target DTCs is greater than the correlation between diagnosis result set 1 and all target DTCs, then generate The target diagnosis result sequence of is {diagnosis result set 3, diagnosis result set 1, diagnosis result set 2}.
在一些实施例中,基于多个目标故障码对应一个目标诊断结果集合,且目标诊断结果集合中的一个目标诊断结果为一个诊断结果,基于诊断结果与所有目标故障码的相关度,将目标诊断结果集合中的各诊断结果按照相关度从大到小的顺序排列,生成目标诊断结果序列。例如,基于上述实施例,目标故障码B1、目标故障B2和目标故障码B3对应的目标诊断结果集合为{诊断结果A1,诊断结果A2,诊断结果A3},其中,诊断结果A1与所有目标故障码的相关度大于诊断结果A3与所有目标故障码的相关度,诊断结果A3与所有目标故障码的相关度大于诊断结果A2与所有目标故障码的相关度,则生成的目标诊断结果序列为{诊断结果A1,诊断结果A3,诊断结果A2}。In some embodiments, based on a plurality of target fault codes corresponding to a target diagnosis result set, and one target diagnosis result in the target diagnosis result set is a diagnosis result, based on the correlation between the diagnosis result and all target fault codes, the target diagnosis The diagnostic results in the result set are arranged in descending order of correlation to generate a target diagnostic result sequence. For example, based on the above-mentioned embodiment, the set of target diagnostic results corresponding to target fault code B1, target fault B2, and target fault code B3 is {diagnostic result A1, diagnostic result A2, diagnostic result A3}, wherein, diagnostic result A1 and all target faults The correlation degree of the code is greater than the correlation degree of the diagnosis result A3 and all target DTCs, and the correlation degree of the diagnosis result A3 and all target DTCs is greater than the correlation degree of the diagnosis result A2 and all target DTCs, then the generated target diagnosis result sequence is { Diagnosis result A1, diagnosis result A3, diagnosis result A2}.
在一些实施例中,基于多个目标故障码对应多个目标诊断结果集合,一个目标诊断结果集合即为一个诊断结果集合,基于各诊断结果集合中诊断结果与对应的目标故障码的相关度,将诊断结果集合中的各诊断结果按照相关度从大到小的顺序排列,生成各目标故障码对应的目标诊断结果序列。例如,基于上述实施,目标故障码B1、目标故障B2和目标故障码B3分别对应的目标诊断结果集合为{诊断结果集合1},{诊断结果集合2}和{诊断结果集合3},其中,诊断结果集合1中诊断结果A1与目标故障码B1的相关度大于诊断结果A3与目标故障码B1的相关度,诊断结果集合2中诊断结果A1与目标故障码B2的相关度大于诊断结果A3与目标故障码B2的相关度,诊断结果A3与目标故障码B2的相关度大于诊断结果A2与目标故障码B2的相关度,则生成的目标故障码B1的目标诊断结果序列为{诊断结果A1,诊断结果A3},生成的目标故障码B2的目标诊断结果序列为{诊断结果A1,诊断结果A3,诊断结果A2},生成的目标故障码B3的目标诊断结果序列为{诊断结果A1}。In some embodiments, based on multiple target DTCs corresponding to multiple target diagnostic result sets, one target diagnostic result set is a diagnostic result set, based on the correlation between the diagnostic results in each diagnostic result set and the corresponding target DTC, Arrange the diagnostic results in the diagnostic result set in descending order of correlation, and generate a target diagnostic result sequence corresponding to each target fault code. For example, based on the above implementation, the target diagnosis result sets corresponding to target DTC B1, target DTC B2 and target DTC B3 are {Diagnostic Result Set 1}, {Diagnostic Result Set 2} and {Diagnostic Result Set 3}, where, The correlation between diagnosis result A1 and target DTC B1 in diagnosis result set 1 is greater than the correlation between diagnosis result A3 and target DTC B1, and the correlation between diagnosis result A1 and target DTC B2 in diagnosis result set 2 is greater than that between diagnosis result A3 and target DTC B1. The correlation degree of the target DTC B2, the correlation degree of the diagnosis result A3 and the target DTC B2 is greater than the correlation degree of the diagnosis result A2 and the target DTC B2, then the target diagnosis result sequence of the generated target DTC B1 is {diagnosis result A1, Diagnosis result A3}, the target diagnosis result sequence of the generated target DTC B2 is {diagnosis result A1, diagnosis result A3, diagnosis result A2}, and the target diagnosis result sequence of the generated target DTC B3 is {diagnosis result A1}.
本实施例中,通过根据故障知识图谱和多个目标故障码,确定目标诊断结果集合,目标诊断结果集合中包括多个目标诊断结果,故障知识图谱中包括多个故障码与诊断结果的对应关系;根据目标诊断结果集合中的各目标诊断结果与目标故障码的相关度,生成目标诊断结果序列,如此,基于车辆故障产生的多个故障码,可以快速获取到多个故障码对应的直接诊断结果和相关诊断结果,即车辆当前故障的直接诊断结果和相关诊断结果,从而能够实现车辆故障的全面诊断。In this embodiment, the target diagnostic result set is determined according to the fault knowledge graph and multiple target fault codes, the target diagnostic result set includes multiple target diagnostic results, and the fault knowledge graph includes the correspondence between multiple fault codes and diagnostic results ;According to the correlation between each target diagnosis result in the target diagnosis result set and the target DTC, a target diagnosis result sequence is generated, so that based on multiple DTCs generated by vehicle faults, the direct diagnosis corresponding to multiple DTCs can be quickly obtained The results and related diagnosis results, that is, the direct diagnosis results and related diagnosis results of the current fault of the vehicle, so that a comprehensive diagnosis of vehicle faults can be realized.
图4为本公开实施例提供的另一种车辆故障诊断的流程示意图。图4为图2所示实施 例的基础上,执行S101时的一种可能实现方式的具体描述。S101具体包括S1011和S1012。FIG. 4 is a schematic flowchart of another vehicle fault diagnosis provided by an embodiment of the present disclosure. Fig. 4 is a specific description of a possible implementation of S101 based on the embodiment shown in Fig. 2 . S101 specifically includes S1011 and S1012.
S1011,针对每个目标故障码,根据所述故障知识图谱,确定诊断结果集合。S1011. For each target fault code, determine a diagnosis result set according to the fault knowledge graph.
诊断结果集合包括至少一个诊断结果。The diagnosis result set includes at least one diagnosis result.
目标故障码可以是非电路类目标故障码,用于表示非通信总线系统方面的故障,非电路类目标故障码的首字母为非U字符的故障码,例如,非电路类目标故障码的首字母可以是B、C、P等字符。故障知识图谱中包括目标故障码与诊断结果的对应关系,根据接收到的各目标故障码,从故障知识图谱中找出至少一个对应的诊断结果,即得到每个目标故障码的诊断结果集合,且诊断结果集合中包括至少一个诊断结果。The target fault code can be a non-circuit target fault code, which is used to indicate the fault of the non-communication bus system. The first letter of the non-circuit target fault code is a fault code with a non-U character, for example, the initial letter of the non-circuit target fault code Can be B, C, P and other characters. The fault knowledge map includes the corresponding relationship between the target fault code and the diagnosis result. According to the received target fault codes, at least one corresponding diagnosis result is found from the fault knowledge map, that is, the diagnosis result set of each target fault code is obtained. And the diagnosis result set includes at least one diagnosis result.
例如,接收到目标故障码C1、目标故障码C2和目标故障码C3,故障知识图谱中目标故障码C1对应诊断结果A1和诊断结果A3,目标故障码C2对应诊断结果A1、诊断结果A2和诊断结果A3,目标故障码C3对应诊断结果A1。据此,针对目标故障码C1,确定的诊断结果集合为{诊断结果A1,诊断结果A3};针对目标故障码C2,确定的诊断结果集合为{诊断结果A1,诊断结果A2,诊断结果A3};针对目标故障码C3,确定的诊断结果集合为{诊断结果A1}。For example, if target DTC C1, target DTC C2 and target DTC C3 are received, target DTC C1 in the fault knowledge map corresponds to diagnosis result A1 and diagnosis result A3, and target DTC C2 corresponds to diagnosis result A1, diagnosis result A2 and diagnosis result Result A3, target DTC C3 corresponds to diagnosis result A1. Accordingly, for the target DTC C1, the determined diagnosis result set is {diagnosis result A1, diagnosis result A3}; for the target DTC C2, the determined diagnosis result set is {diagnosis result A1, diagnosis result A2, diagnosis result A3} ; For the target fault code C3, the determined diagnosis result set is {diagnosis result A1}.
S1012,根据所述多个目标故障码的多个诊断结果集合中各诊断结果出现的频次,确定目标诊断结果集合。S1012. Determine a target diagnostic result set according to the occurrence frequency of each diagnostic result in the multiple diagnostic result sets of the multiple target DTCs.
根据所有目标故障码的所有诊断结果集合中的所有诊断结果,确定各诊断结果在所有诊断结果中出现的频次。例如,基于上述实施例,所有诊断结果集合包括:{诊断结果A1,诊断结果A3}、{诊断结果A1,诊断结果A2,诊断结果A3}和{诊断结果A1},所有诊断结果集合中包括三种诊断结果,即诊断结果A1、诊断结果A2和诊断结果A3,其中,诊断结果A1在所有诊断结果集合中出现的频次为3次,诊断结果A2在所有诊断结果集合中出现的频次为1次,诊断结果A3在所有诊断结果集合中出现的频次为2次。According to all diagnostic results in all diagnostic result sets of all target fault codes, the frequency of each diagnostic result appearing in all diagnostic results is determined. For example, based on the above embodiment, all diagnostic result sets include: {diagnostic result A1, diagnostic result A3}, {diagnostic result A1, diagnostic result A2, diagnostic result A3} and {diagnostic result A1}, all diagnostic result sets include three Diagnosis results, that is, diagnosis result A1, diagnosis result A2 and diagnosis result A3, wherein, the frequency of diagnosis result A1 in all diagnosis result sets is 3 times, and the frequency of diagnosis result A2 in all diagnosis result sets is 1 time , the frequency of diagnosis result A3 appearing in all diagnosis result sets is 2 times.
根据各诊断结果在所有诊断结果中出现的频次是否满足预设条件,来确定目标诊断结果集合,目标诊断结果集合中的目标诊断结果可以是诊断结果集合,也可以是诊断结果,后面对此进行详细分析。Determine the target diagnostic result set according to whether the frequency of each diagnostic result in all diagnostic results meets the preset conditions. The target diagnostic result in the target diagnostic result set can be a diagnostic result set or a diagnostic result. for detailed analysis.
图5是作为执行S1012时的一种可能实现方式的具体描述。S1012具体包括S201、S202和S203。FIG. 5 is a specific description as a possible implementation manner when executing S1012. S1012 specifically includes S201, S202 and S203.
S201,确定所述各诊断结果的频次是否满足预设条件。S201. Determine whether the frequency of each diagnosis result satisfies a preset condition.
基于是,执行S202;基于否,执行S203。Based on yes, perform S202; based on no, perform S203.
在一些实施例中,预设条件可以为多个诊断结果集合中所有诊断结果各自对应的频次中至少存在一个频次大于等于预设频次。基于满足预设条件,则说明所有诊断结果中至少存在一个诊断结果对应的频次大于等于预设频次,基于不满足预设条件,则说明所有诊断结果中不存在诊断结果对应的频次大于等于预设频次,即所有诊断结果各自对应的频次均小于预设频次。In some embodiments, the preset condition may be that at least one of the corresponding frequencies of all the diagnostic results in the plurality of diagnostic result sets is greater than or equal to the preset frequency. Based on meeting the preset conditions, it means that there is at least one diagnosis result whose frequency is greater than or equal to the preset frequency in all diagnostic results, and based on not meeting the preset conditions, it means that there is no diagnosis result in all diagnostic results whose frequency is greater than or equal to the preset frequency Frequency, that is, frequencies corresponding to all diagnostic results are less than a preset frequency.
S202,确定所述多个诊断结果集合的并集为所述目标诊断结果集合。S202. Determine the union of the plurality of diagnosis result sets as the target diagnosis result set.
基于所有诊断结果中至少存在一个诊断结果对应的频次大于等于预设频次,确定所述 多个诊断结果集合的并集为所述目标诊断结果集合。例如,预设频次可以为3,基于上述实施例,诊断结果A1在所有诊断结果集合中出现的频次等于预设频次,即满足预设条件,可以确定诊断结果集合{诊断结果A1,诊断结果A3}、诊断结果集合{诊断结果A1,诊断结果A2,诊断结果A3}和诊断结果集合{诊断结果A1}的并集,即{诊断结果A1,诊断结果A2,诊断结果A3}为目标诊断结果集合。Based on the frequency corresponding to at least one diagnosis result among all the diagnosis results being greater than or equal to the preset frequency, it is determined that the union of the plurality of diagnosis result sets is the target diagnosis result set. For example, the preset frequency can be 3. Based on the above-mentioned embodiment, the frequency of diagnosis result A1 in all diagnosis result sets is equal to the preset frequency, that is, the preset condition is met, and the diagnosis result set {diagnosis result A1, diagnosis result A3 can be determined }, the union of diagnosis result set {diagnosis result A1, diagnosis result A2, diagnosis result A3} and diagnosis result set {diagnosis result A1}, that is, {diagnosis result A1, diagnosis result A2, diagnosis result A3} is the target diagnosis result set .
S203,确定所述多个诊断结果集合为所述目标诊断结果集合。S203. Determine the plurality of diagnosis result sets as the target diagnosis result set.
基于所有诊断结果各自对应的频次均小于预设频次,则可以将各诊断结果集合作为一个目标诊断结果,所有诊断结果集合形成目标诊断结果集合。例如,预设频次可以为3,所有诊断结果集合包括:{诊断结果A1,诊断结果A2}、{诊断结果A1、诊断结果A3}和{诊断结果A2},所有诊断结果集合中包括三种诊断结果,其中,诊断结果A1和诊断结果A2在所有诊断结果集合中出现的频次均为2次,诊断结果A3在所有诊断结果集合中出现的频次为1次,即均小于预设频次,即不满足预设条件,可以基于时间序列确定目标诊断结果集合为{{诊断结果A1,诊断结果A2},{诊断结果A1,诊断结果A3},{诊断结果A2}},即{诊断结果A1,诊断结果A2}的时间早于{诊断结果A1,诊断结果A3},{诊断结果A1,诊断结果A3}的时间早于{诊断结果A2}。Based on the frequency corresponding to each of the diagnostic results being less than the preset frequency, each diagnostic result set can be regarded as a target diagnostic result, and all diagnostic result sets form a target diagnostic result set. For example, the preset frequency can be 3, and all diagnostic result sets include: {diagnostic result A1, diagnostic result A2}, {diagnostic result A1, diagnostic result A3} and {diagnostic result A2}, all diagnostic result sets include three diagnoses As a result, the frequency of diagnosis result A1 and diagnosis result A2 in all diagnosis result sets is 2 times, and the frequency of diagnosis result A3 in all diagnosis result sets is 1 time, that is, both are less than the preset frequency, that is, not Satisfying the preset conditions, the set of target diagnostic results can be determined based on time series as {{diagnostic result A1, diagnostic result A2}, {diagnostic result A1, diagnostic result A3}, {diagnostic result A2}}, namely {diagnostic result A1, diagnostic result Result A2} is earlier than {diagnosis result A1, diagnosis result A3}, and {diagnosis result A1, diagnosis result A3} is earlier than {diagnosis result A2}.
图6为本公开实施例提供的又一种车辆故障诊断方法的流程示意图。图6为图4所示实施例的基础上,执行S103之前,车辆故障诊断方法还包括S102。FIG. 6 is a schematic flowchart of another vehicle fault diagnosis method provided by an embodiment of the present disclosure. FIG. 6 is based on the embodiment shown in FIG. 4 , before performing S103 , the vehicle fault diagnosis method further includes S102 .
S102,根据所述目标诊断结果集合中各目标诊断结果对应的频次,确定所述各目标诊断结果和所述目标故障码的相关度。S102. Determine the correlation between each target diagnosis result and the target DTC according to the frequency corresponding to each target diagnosis result in the target diagnosis result set.
基于目标诊断结果集合中的目标诊断结果为诊断结果,目标诊断结果集合中的目标诊断结果出现的频次越高,则目标诊断结果与目标故障码的相关度越高,如此基于各目标诊断结果出现的频次,可以确定目标诊断结果的相关度的顺序。Based on the target diagnostic result in the target diagnostic result set is the diagnostic result, the higher the frequency of the target diagnostic result in the target diagnostic result set, the higher the correlation between the target diagnostic result and the target DTC. The order of the relevance of the target diagnosis results can be determined.
例如,基于上述实施例,目标诊断结果集合为{诊断结果A1,诊断结果A2,诊断结果A3},诊断结果A1对应的频次为3次,诊断结果A2对应的频次为1次,诊断结果A3对应的频次为2次,则诊断结果A1与目标故障码的相关度最高,其次为诊断结果A3,最后为诊断结果A2,如此,生成的目标诊断结果序列为{诊断结果A1,诊断结果A3,诊断结果A2}。For example, based on the above embodiment, the set of target diagnosis results is {diagnosis result A1, diagnosis result A2, diagnosis result A3}, the frequency corresponding to diagnosis result A1 is 3 times, the frequency corresponding to diagnosis result A2 is 1 time, and the frequency corresponding to diagnosis result A3 is If the frequency is 2 times, the diagnosis result A1 has the highest correlation with the target DTC, followed by the diagnosis result A3, and finally the diagnosis result A2. Thus, the generated target diagnosis result sequence is {diagnosis result A1, diagnosis result A3, diagnosis Result A2}.
本实施例中,通过根据目标诊断结果集合中各目标诊断结果对应的频次,确定各目标诊断结果和目标故障码的相关度,能够基于目标诊断结果对应的频次,对车辆当前故障的诊断结果进行排序,从而能够获取到车辆当前故障的直接诊断结果和间接诊断结果。In this embodiment, by determining the correlation between each target diagnostic result and the target DTC according to the frequency corresponding to each target diagnostic result in the target diagnostic result set, the diagnostic results of the current fault of the vehicle can be analyzed based on the frequency corresponding to the target diagnostic result. Sorting, so that the direct diagnosis results and indirect diagnosis results of the vehicle's current faults can be obtained.
图7为本公开实施例提供的又一种车辆故障诊断方法的流程示意图。图7为图4所示实施例的基础上,执行S103之前,车辆故障诊断方法还包括S102’。FIG. 7 is a schematic flowchart of another vehicle fault diagnosis method provided by an embodiment of the present disclosure. Fig. 7 is based on the embodiment shown in Fig. 4, before performing S103, the vehicle fault diagnosis method further includes S102'.
S102’,根据各目标故障码上报的时间顺序,确定所述各目标诊断结果与所述目标故障码的相关度。S102', according to the time sequence of each target DTC report, determine the correlation between each target diagnosis result and the target DTC.
基于目标诊断结果集合中的目标诊断结果为诊断结果集合,获取各目标故障码上报的时间,基于目标故障码上报的时间越早,则该目标故障码对应的诊断结果集合与目标故障 码的相关度越高,如此基于各目标故障码上报的时间顺序,可以确定诊断结果集合与目标故障码的相关度顺序。Based on the target diagnosis result set in the target diagnosis result set is the diagnosis result set, the time when each target DTC is reported is obtained, and the earlier the time based on the target DTC is reported, the correlation between the diagnosis result set corresponding to the target DTC and the target DTC The higher the degree is, the order of correlation between the diagnosis result set and the target DTC can be determined based on the time sequence of each target DTC report.
例如,基于上述实施例,目标诊断结果集合为{{诊断结果A1,诊断结果A2},{诊断结果A1,诊断结果A3},{诊断结果A2}},且目标故障码C1上报的时间为13:21,目标故障码C2上报的时间为13:23,目标故障码C3上报的时间为13:20,则目标诊断结果{诊断结果A2}与目标故障码的相关度最高,其次为目标诊断结果{诊断结果A1,诊断结果A2},最后为目标诊断结果{诊断结果A1,诊断结果A3},如此,生成的目标诊断结果序列为{{诊断结果A2},{诊断结果A1,诊断结果A2},{诊断结果A1,诊断结果A3}}。For example, based on the above embodiment, the set of target diagnostic results is {{diagnostic result A1, diagnostic result A2}, {diagnostic result A1, diagnostic result A3}, {diagnostic result A2}}, and the reporting time of target DTC C1 is 13 :21, the target DTC C2 is reported at 13:23, and the target DTC C3 is reported at 13:20, then the target diagnosis result {diagnosis result A2} has the highest correlation with the target DTC, followed by the target diagnosis result {diagnosis result A1, diagnosis result A2}, and finally the target diagnosis result {diagnosis result A1, diagnosis result A3}, thus, the generated target diagnosis result sequence is {{diagnosis result A2}, {diagnosis result A1, diagnosis result A2} , {diagnosis result A1, diagnosis result A3}}.
本实施例中,通过根据各目标故障码上报的时间顺序,确定各目标诊断结果与目标故障码的相关度,能够基于目标故障码的上报时间,对车辆当前故障的诊断结果进行排序,使得能够获取到车辆当前故障的直接诊断结果和间接诊断结果。In this embodiment, by determining the correlation between each target diagnostic result and the target DTC according to the time sequence of each target DTC report, the diagnostic results of the current vehicle fault can be sorted based on the reporting time of the target DTC, so that The direct and indirect diagnosis results of the vehicle's current faults are obtained.
图8为本公开实施例提供的又一种车辆故障诊断方法的流程示意图。图8为图7所示实施例的基础上,执行S102’之前,车辆故障诊断方法还包括S1013。FIG. 8 is a schematic flowchart of another vehicle fault diagnosis method provided by an embodiment of the present disclosure. Fig. 8 is based on the embodiment shown in Fig. 7, before executing S102', the vehicle fault diagnosis method further includes S1013.
S1013,根据所述多个诊断结果集合中各诊断结果出现的频次,确定所述各诊断结果的频次不满足预设条件。S1013. According to the frequency of occurrence of each diagnosis result in the plurality of diagnosis result sets, determine that the frequency of each diagnosis result does not satisfy a preset condition.
在一些实施例中,预设条件可以为多个诊断结果集合中所有诊断结果各自对应的频次中至少存在一个频次大于等于预设频次。基于满足预设条件,则说明所有诊断结果中至少存在一个诊断结果对应的频次大于等于预设频次,基于不满足预设条件,则说明所有诊断结果中不存在诊断结果对应的频次大于等于预设频次,即所有诊断结果各自对应的频次均小于预设频次。In some embodiments, the preset condition may be that at least one of the corresponding frequencies of all the diagnostic results in the plurality of diagnostic result sets is greater than or equal to the preset frequency. Based on meeting the preset conditions, it means that there is at least one diagnosis result whose frequency is greater than or equal to the preset frequency in all diagnostic results, and based on not meeting the preset conditions, it means that there is no diagnosis result in all diagnostic results whose frequency is greater than or equal to the preset frequency Frequency, that is, frequencies corresponding to all diagnostic results are less than a preset frequency.
基于不满足预设条件,则基于各目标故障码上报的时间顺序,确定各目标诊断结果与目标故障码的相关度;基于满足预设条件,则基于目标诊断结果集合中各目标诊断结果对应的频次,确定各目标诊断结果和目标故障码的相关度。Based on the fact that the preset conditions are not met, the correlation between each target diagnosis result and the target DTC is determined based on the time sequence reported by each target DTC; based on the satisfaction of the preset condition, based on the corresponding Frequency, to determine the correlation between each target diagnosis result and the target DTC.
图9为本公开实施例提供的又一种车辆故障诊断方法的流程示意图。图9为图2所示实施例的基础上,执行S101时的另一种可能的实现方式的具体描述。S101具体包括S301和S302。FIG. 9 is a schematic flowchart of another vehicle fault diagnosis method provided by an embodiment of the present disclosure. FIG. 9 is a specific description of another possible implementation of S101 based on the embodiment shown in FIG. 2 . S101 specifically includes S301 and S302.
S301,针对每个目标故障码,根据所述故障知识图谱以及所述故障知识图谱中诊断结果的优先级,确定所述每个目标故障码的诊断结果集合。S301. For each target DTC, determine a diagnosis result set for each target DTC according to the fault knowledge graph and the priority of the diagnosis results in the fault knowledge graph.
所述诊断结果集合中包括至少一个诊断结果。The diagnosis result set includes at least one diagnosis result.
目标故障码可以为电路类目标故障码,用于表示通信总线系统方面的故障,电路类目标故障码的首字母为U字符的故障码。故障知识图谱中的诊断节点包括目标故障码与诊断结果的对应关系,其中,诊断结果可以包括:一级诊断结果、二级诊断结果和三级诊断结果中的至少一个,一级诊断结果的优先级高于二级诊断结果的优先级,二级诊断结果的优先级高于三级诊断结果。例如,一级诊断结果可以是总线诊断结果,二级诊断结果可以是子节点诊断结果,三级诊断结果可以是叶子节点诊断结果。The target fault code can be a circuit target fault code, which is used to indicate a fault in the communication bus system. The first letter of the circuit target fault code is a fault code with a U character. The diagnosis node in the fault knowledge map includes the corresponding relationship between the target fault code and the diagnosis result, wherein the diagnosis result can include: at least one of the first-level diagnosis result, the second-level diagnosis result and the third-level diagnosis result, and the priority of the first-level diagnosis result is The priority of the second-level diagnosis result is higher than that of the second-level diagnosis result, and the priority of the second-level diagnosis result is higher than that of the third-level diagnosis result. For example, the first-level diagnosis result may be a bus diagnosis result, the second-level diagnosis result may be a sub-node diagnosis result, and the third-level diagnosis result may be a leaf node diagnosis result.
根据电路拓扑图先验知识,确定故障知识图谱中的诊断结果的优先级,根据各目标故 障码,在故障知识图谱中首先确定该目标故障码对应的一级诊断结果,确定完一级诊断结果后,在故障知识图谱中再确定该目标故障码对应的二级诊断结果,确定完二级诊断结果后,在故障知识图谱中最后确定该目标故障码对应的三级诊断结果,如此,可以确定出目标故障码的诊断结果集合,且诊断结果集合中可能包括一级诊断结果、二级诊断结果和三级诊断结果中的至少一个。According to the prior knowledge of the circuit topology map, determine the priority of the diagnosis results in the fault knowledge map, and according to each target fault code, first determine the first-level diagnosis result corresponding to the target fault code in the fault knowledge map, and then determine the first-level diagnosis result Finally, determine the second-level diagnosis result corresponding to the target fault code in the fault knowledge map. After confirming the second-level diagnosis result, finally determine the third-level diagnosis result corresponding to the target fault code in the fault knowledge map. A diagnosis result set of the target fault code may be generated, and the diagnosis result set may include at least one of the first-level diagnosis result, the second-level diagnosis result and the third-level diagnosis result.
例如,目标故障码U1的诊断结果集合为{诊断结果L2,诊断结果L3},目标故障码U2的诊断结果集合为{诊断结果L1,诊断结果L2,诊断结果L3},目标故障码U3的诊断结果集合为{诊断结果L3},其中,诊断结果L1为一级诊断结果,诊断结果L2为二级诊断结果,诊断结果L3为三级诊断结果。For example, the diagnosis result set of target DTC U1 is {diagnosis result L2, diagnosis result L3}, the diagnosis result set of target DTC U2 is {diagnosis result L1, diagnosis result L2, diagnosis result L3}, and the diagnosis result set of target DTC U3 The result set is {diagnosis result L3}, wherein, diagnosis result L1 is a first-level diagnosis result, diagnosis result L2 is a second-level diagnosis result, and diagnosis result L3 is a third-level diagnosis result.
S302,针对所述每个目标故障码,确定所述诊断结果集合为所述每个目标故障码对应的所述目标诊断结果集合。S302. For each target DTC, determine the diagnosis result set as the target diagnosis result set corresponding to each target DTC.
每个目标故障码对应一个诊断结果集合,可以将该诊断结果集合作为各目标故障码的目标诊断结果集合,如此针对多个目标故障码可以确定出多个目标诊断结果集合,目标诊断结果集合中包括至少一个目标诊断结果,目标诊断结果即为诊断结果。Each target DTC corresponds to a diagnostic result set, which can be used as the target diagnostic result set of each target DTC, so that multiple target diagnostic result sets can be determined for multiple target DTCs. At least one target diagnosis result is included, and the target diagnosis result is the diagnosis result.
例如,基于上述实施例,目标故障码U1的目标诊断结果集合为{目标诊断结果L2,目标诊断结果L3},目标故障码U2的目标诊断结果集合为{目标诊断结果L1,目标诊断结果L2,目标诊断结果L3},目标故障码U3的目标诊断结果集合为{目标诊断结果L3}。For example, based on the above-mentioned embodiment, the set of target diagnosis results of target DTC U1 is {target diagnosis result L2, target diagnosis result L3}, and the set of target diagnosis results of target DTC U2 is {target diagnosis result L1, target diagnosis result L2, The target diagnosis result L3}, the target diagnosis result set of the target DTC U3 is {target diagnosis result L3}.
本实施例中,通过针对每个目标故障码,根据故障知识图谱以及故障知识图谱中诊断结果的优先级,确定每个目标故障码的诊断结果集合,诊断结果集合中包括至少一个诊断结果;针对每个目标故障码,确定诊断结果集合为每个目标故障码对应的目标诊断结果集合,如此,基于诊断结果的优先级确定出各目标故障码的目标诊断结果集合,不仅能够确定出车辆故障的直接诊断结果,还可以确定出相关诊断结果,从而能够实现车辆故障的全面诊断。In this embodiment, for each target fault code, according to the fault knowledge graph and the priority of the diagnostic results in the fault knowledge graph, the diagnostic result set of each target fault code is determined, and the diagnostic result set includes at least one diagnostic result; for For each target DTC, determine the diagnosis result set as the target diagnosis result set corresponding to each target DTC. In this way, determining the target diagnosis result set of each target DTC based on the priority of the diagnosis result can not only determine the cause of the vehicle failure Direct diagnosis results can also determine related diagnosis results, so that a comprehensive diagnosis of vehicle faults can be realized.
图10为本公开实施例提供的又一种车辆故障诊断方法的流程示意图。图10为图9所示实施例的基础上,执行S103之前,车辆故障诊断方法还包括S102”。FIG. 10 is a schematic flowchart of another vehicle fault diagnosis method provided by an embodiment of the present disclosure. Fig. 10 is based on the embodiment shown in Fig. 9, before performing S103, the vehicle fault diagnosis method further includes S102".
S102”,根据各目标诊断结果集合内的所有目标诊断结果的优先级,确定所述各目标诊断结果集合中的所述各目标诊断结果与对应的目标故障码的相关度。S102", according to the priority of all target diagnostic results in each target diagnostic result set, determine the correlation between each target diagnostic result in each target diagnostic result set and the corresponding target DTC.
目标诊断结果集合即为诊断结果集合,目标诊断结果集合中的目标诊断结果即为诊断结果集合中的诊断结果,目标诊断结果的优先级即为上述诊断结果集合内的诊断结果的优先级。根据诊断结果集合中的诊断结果确定的顺序,可以确定目标诊断结果集合中各目标诊断结果与对应的目标故障码的相关度,上述内容可知,一级诊断结果最先确定,然后是二级诊断结果,最后为三级诊断结果,那么基于诊断结果确定的先后顺序,即可以确定出目标诊断结果集合中各目标诊断结果的相关度排序。The target diagnosis result set is the diagnosis result set, the target diagnosis result in the target diagnosis result set is the diagnosis result in the diagnosis result set, and the priority of the target diagnosis result is the priority of the diagnosis results in the diagnosis result set. According to the order in which the diagnosis results are determined in the diagnosis result set, the correlation degree between each target diagnosis result in the target diagnosis result set and the corresponding target DTC can be determined. The above content shows that the first-level diagnosis result is determined first, and then the second-level diagnosis As a result, the final result is the third-level diagnosis result, then based on the order of the diagnosis results, the correlation ranking of each target diagnosis result in the target diagnosis result set can be determined.
例如,基于上述实施例,目标诊断结果集合{目标诊断结果L2,目标诊断结果L3}中,先确定目标诊断结果L2,后确定目标诊断结果L3,目标诊断结果集合{目标诊断结果L1,目标诊断结果L2,目标诊断结果L3}中,先确定目标诊断结果L1,再确定目标诊断结果 L2,最后确定目标诊断结果L3,目标诊断结果集合{目标诊断结果L3}只确定一个目标诊断结果L3。由此可以确定,目标故障码U1的目标诊断结果集合中,目标诊断结果L2与目标故障码U1的相关度大于目标诊断结果L3与目标故障码U1的相关度;目标故障码U2的目标诊断结果集合中,目标诊断结果L1与目标故障码U2的相关度大于目标诊断结果L2与目标故障码U2的相关度,目标诊断结果L2与目标故障码U2的相关度大于目标诊断结果L3与目标故障码U2的相关度。如此,确定的目标故障码U1对应的目标诊断结果序列为{目标诊断结果L2,目标诊断结果L3},目标故障码U2对应的目标诊断结果序列为{目标诊断结果L1,目标诊断结果L2,目标诊断结果L3},目标故障码U3对应的目标诊断结果序列为{目标诊断结果L3}。For example, based on the above-mentioned embodiment, in the target diagnostic result set {target diagnostic result L2, target diagnostic result L3}, the target diagnostic result L2 is determined first, and then the target diagnostic result L3 is determined, and the target diagnostic result set {target diagnostic result L1, target diagnostic result In result L2, target diagnosis result L3}, the target diagnosis result L1 is determined first, then the target diagnosis result L2 is determined, and finally the target diagnosis result L3 is determined. The target diagnosis result set {target diagnosis result L3} only determines one target diagnosis result L3. From this, it can be determined that in the target diagnosis result set of the target DTC U1, the correlation between the target diagnosis result L2 and the target DTC U1 is greater than the correlation between the target diagnosis result L3 and the target DTC U1; the target diagnosis result of the target DTC U2 In the set, the correlation between the target diagnosis result L1 and the target DTC U2 is greater than the correlation between the target diagnosis result L2 and the target DTC U2, and the correlation between the target diagnosis result L2 and the target DTC U2 is greater than the target diagnosis result L3 and the target DTC The correlation of U2. In this way, the target diagnosis result sequence corresponding to the determined target DTC U1 is {target diagnosis result L2, target diagnosis result L3}, and the target diagnosis result sequence corresponding to the target DTC U2 is {target diagnosis result L1, target diagnosis result L2, target Diagnosis result L3}, the target diagnosis result sequence corresponding to the target fault code U3 is {target diagnosis result L3}.
本实施例中,通过根据各目标诊断结果集合内的所有目标诊断结果的优先级,确定各目标诊断结果集合中的各目标诊断结果与对应的目标故障码的相关度,能够基于目标诊断结果的优先级对所有目标诊断结果集合内各目标诊断结果进行排序,使得能够获取到车辆当前故障的直接诊断结果和间接诊断结果。In this embodiment, by determining the correlation between each target diagnostic result in each target diagnostic result set and the corresponding target DTC according to the priority of all target diagnostic result sets in each target diagnostic result set, it is possible to The priority sorts the target diagnostic results in all target diagnostic result sets, so that the direct diagnostic results and indirect diagnostic results of the current fault of the vehicle can be obtained.
图11为本公开实施例提供的又一种车辆故障诊断方法的流程示意图。图11为图2所示实施例的基础上,车辆故障诊断方法还包括S104。Fig. 11 is a schematic flowchart of another vehicle fault diagnosis method provided by an embodiment of the present disclosure. FIG. 11 is based on the embodiment shown in FIG. 2 , the vehicle fault diagnosis method further includes S104.
S104,将所述多个目标故障码输入至训练好的模型中,基于训练好的模型输出所述多个目标故障码的诊断结果序列。S104. Input the multiple target DTCs into the trained model, and output a diagnosis result sequence of the multiple target DTCs based on the trained model.
所述诊断结果序列中的诊断结果按照概率值进行排序。The diagnosis results in the diagnosis result sequence are sorted according to the probability value.
模型共有三层,包括输入层、隐藏层和输出层,输入层的神经元数量为故障码的总数,输出层的神经元数量为诊断结果的总数,隐藏层的神经元数量为256个。将故障知识图谱中的诊断结果作为标签,将故障知识图谱中的故障码作为训练特征,设置模型的输入层的神经元数量的维度向量L,数值全部初始化为0,基于数值化字典,将输入的故障码和诊断结果均进行数值化处理,并将L中对应的位置由0变为1,最终所得向量L1,从而对模型进行训练,得到训练好的模型。The model has three layers, including input layer, hidden layer and output layer. The number of neurons in the input layer is the total number of fault codes, the number of neurons in the output layer is the total number of diagnosis results, and the number of neurons in the hidden layer is 256. Use the diagnosis results in the fault knowledge graph as labels, and use the fault codes in the fault knowledge graph as training features, set the dimension vector L of the number of neurons in the input layer of the model, and initialize all values to 0. Based on the numerical dictionary, input The fault codes and diagnosis results are numerically processed, and the corresponding position in L is changed from 0 to 1, and the final vector L1 is obtained, so as to train the model and obtain the trained model.
将多个目标故障码输入至训练好的模型中,训练好的模型可以输出多个诊断结果,其中,多个诊断结果分别对应不同的概率值,基于概率值从大到小的顺序,可以确定多个诊断结果的序列,序列中排名靠前诊断结果即为车辆当前故障的直接诊断结果和相关诊断结果。Input multiple target fault codes into the trained model, and the trained model can output multiple diagnostic results, wherein the multiple diagnostic results correspond to different probability values, and based on the order of the probability values from large to small, it can be determined A sequence of multiple diagnosis results, the top diagnosis result in the sequence is the direct diagnosis result and related diagnosis results of the current fault of the vehicle.
本实施例中,通过将多个目标故障码输入至训练好的模型中,基于训练好的模型输出多个目标故障码的诊断结果序列,诊断结果序列中的诊断结果按照概率值进行排序,能够获取到车辆当前故障的直接诊断结果故障和相关诊断结果,能够对上述实施例中获取到的目标诊断结果序列进行验证。In this embodiment, by inputting a plurality of target fault codes into the trained model, and outputting a plurality of target fault code diagnosis result sequences based on the trained model, the diagnosis results in the diagnosis result sequence are sorted according to the probability value, which can Obtaining the direct diagnosis result of the vehicle's current fault and related diagnosis results can verify the target diagnosis result sequence obtained in the above-mentioned embodiment.
本公开实施例还提供了一种车辆故障诊断装置。图12为本公开实施例提供的一种车辆故障诊断装置的结构示意图。如图12所示,车辆故障诊断装置包括:确定模块210和序列生成模块220。The embodiment of the present disclosure also provides a vehicle fault diagnosis device. Fig. 12 is a schematic structural diagram of a vehicle fault diagnosis device provided by an embodiment of the present disclosure. As shown in FIG. 12 , the vehicle fault diagnosis device includes: a determination module 210 and a sequence generation module 220 .
确定模块210用于根据故障知识图谱和多个目标故障码,确定目标诊断结果集合,所 述目标诊断结果集合中包括多个目标诊断结果,所述故障知识图谱中包括多个故障码与诊断结果的对应关系。The determining module 210 is used to determine a target diagnosis result set according to the fault knowledge graph and multiple target fault codes, the target diagnostic result set includes multiple target diagnostic results, and the fault knowledge graph includes multiple fault codes and diagnostic results corresponding relationship.
序列生成模块220用于根据所述目标诊断结果集合中的各目标诊断结果与目标故障码的相关度,生成目标诊断结果序列。The sequence generating module 220 is configured to generate a target diagnostic result sequence according to the correlation between each target diagnostic result in the target diagnostic result set and the target DTC.
在一些实施例中,确定模块210进一步用于针对每个目标故障码,根据所述故障知识图谱,确定诊断结果集合,所述诊断结果集合中包括至少一个诊断结果;根据所述多个目标故障码的多个诊断结果集合中各诊断结果出现的频次,确定所述目标诊断结果集合。In some embodiments, the determination module 210 is further configured to determine a diagnostic result set for each target fault code according to the fault knowledge map, and the diagnostic result set includes at least one diagnostic result; according to the multiple target faults The frequency of occurrence of each diagnosis result in the plurality of diagnosis result sets of the code is used to determine the target diagnosis result set.
在一些实施例中,确定模块210还用于根据所述目标诊断结果集合中各目标诊断结果对应的频次,确定所述各目标诊断结果和所述目标故障码的相关度。In some embodiments, the determination module 210 is further configured to determine the correlation between each target diagnosis result and the target DTC according to the frequency corresponding to each target diagnosis result in the target diagnosis result set.
在一些实施例中,确定模块210还用于根据各目标故障码上报的时间顺序,确定所述各目标诊断结果与所述目标故障码的相关度。In some embodiments, the determination module 210 is further configured to determine the correlation between the target diagnosis results and the target DTCs according to the time sequence of the target DTCs.
在一些实施例中,确定模块210还用于根据所述多个诊断结果集合中各诊断结果出现的频次,确定所述各诊断结果的频次不满足预设条件。In some embodiments, the determining module 210 is further configured to determine that the frequency of each diagnosis result does not satisfy a preset condition according to the frequency of occurrence of each diagnosis result in the plurality of diagnosis result sets.
在一些实施例中,确定模块210进一步用于基于所述各诊断结果的频次满足预设条件,确定所述多个诊断结果集合的并集为所述目标诊断结果集合;基于所述各诊断结果的频次不满足所述预设条件,确定所述多个诊断结果集合为所述目标诊断结果集合。In some embodiments, the determination module 210 is further configured to determine that the union of the plurality of diagnostic result sets is the target diagnostic result set based on the frequency of each diagnostic result meeting a preset condition; frequency does not meet the preset condition, and determine the plurality of diagnosis result sets as the target diagnosis result set.
在一些实施例中,所述预设条件为所述多个诊断结果集合中所有诊断结果各自对应的频次中至少存在一个频次大于等于预设频次。In some embodiments, the preset condition is that at least one of the corresponding frequencies of all the diagnostic results in the plurality of diagnostic result sets is greater than or equal to the preset frequency.
在一些实施例中,确定模块210进一步用于针对每个目标故障码,根据所述故障知识图谱以及所述故障知识图谱中诊断结果的优先级,确定所述每个目标故障码的诊断结果集合,所述诊断结果集合中包括至少一个诊断结果;针对所述每个目标故障码,确定所述诊断结果集合为所述每个目标故障码对应的所述目标诊断结果集合。In some embodiments, the determination module 210 is further used for determining the diagnosis result set of each target DTC according to the fault knowledge graph and the priority of the diagnosis results in the fault knowledge graph for each target DTC , the diagnosis result set includes at least one diagnosis result; for each target DTC, determine the diagnosis result set as the target diagnosis result set corresponding to each target DTC.
在一些实施例中,确定模块210还用于根据各目标诊断结果集合内的所有目标诊断结果的优先级,确定所述各目标诊断结果集合中的所述各目标诊断结果与对应的目标故障码的相关度。In some embodiments, the determining module 210 is further configured to determine the target diagnostic results in each target diagnostic result set and the corresponding target fault codes according to the priorities of all target diagnostic result sets in each target diagnostic result set relevance.
在一些实施例中,所述故障知识图谱中的所述诊断结果包括:控制器、故障设置条件、故障恢复条件、故障原因、维修建议中的至少一种。In some embodiments, the diagnosis results in the fault knowledge graph include: at least one of controllers, fault setting conditions, fault recovery conditions, fault causes, and maintenance suggestions.
在一些实施例中,车辆故障诊断装置还包括:结果序列模块,用于将所述多个目标故障码输入至训练好的模型中,基于训练好的模型输出所述多个目标故障码的诊断结果序列,所述诊断结果序列中的诊断结果按照概率值进行排序。In some embodiments, the vehicle fault diagnosis device further includes: a result sequence module, configured to input the multiple target fault codes into the trained model, and output the diagnosis of the multiple target fault codes based on the trained model A result sequence, the diagnosis results in the diagnosis result sequence are sorted according to the probability value.
本公开实施例提供的车辆故障诊断装置,可用于执行上述方法实施例的步骤,其实现原理和技术效果类似,此处不再赘述。The vehicle fault diagnosis device provided by the embodiments of the present disclosure can be used to execute the steps of the above-mentioned method embodiments, and its implementation principles and technical effects are similar, and will not be repeated here.
本公开实施例还提供了一种电子设备,包括:处理器,所述处理器用于执行存储于存储器的计算机程序,所述计算机程序被处理器执行时实现上述方法实施例的步骤。An embodiment of the present disclosure further provides an electronic device, including: a processor, the processor is configured to execute a computer program stored in a memory, and when the computer program is executed by the processor, the steps of the foregoing method embodiments are implemented.
本公开实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现上述方法实施例的步骤。Embodiments of the present disclosure also provide a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the foregoing method embodiments are implemented.
本公开实施例还提供了一种计算机程序产品,所述计算机程序产品包括计算机程序,所述计算机程序在被处理器执行时实现上述实施例提供的任一种方法。An embodiment of the present disclosure further provides a computer program product, where the computer program product includes a computer program, and when the computer program is executed by a processor, any one of the methods provided in the foregoing embodiments is implemented.
本公开实施例提供了一种计算机程序,所述计算机程序包括计算机程序代码,当所述计算机程序代码在计算机上运行时,使得计算机执行所述实施例提供的任一种方法。An embodiment of the present disclosure provides a computer program, where the computer program includes computer program code, and when the computer program code is run on a computer, it causes the computer to execute any one of the methods provided in the above embodiments.
需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that in this article, relative terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply these No such actual relationship or order exists between entities or operations. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements of or also include elements inherent in such a process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.
以上所述仅是本公开的具体实施方式,使本领域技术人员能够理解或实现本公开。对这些实施例的多种修改对本领域的技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本公开的精神或范围的情况下,在其它实施例中实现。因此,本公开将不会被限制于本文所述的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above descriptions are only specific implementation manners of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
本公开所有实施例均可以单独被执行,也可以与其他实施例相结合被执行,均视为本公开要求的保护范围。All the embodiments of the present disclosure can be implemented independently or in combination with other embodiments, which are all regarded as the scope of protection required by the present disclosure.

Claims (17)

  1. 一种车辆故障诊断方法,其特征在于,包括:A vehicle fault diagnosis method, characterized in that, comprising:
    根据故障知识图谱和多个目标故障码,确定目标诊断结果集合,所述目标诊断结果集合中包括多个目标诊断结果,所述故障知识图谱中包括多个故障码与诊断结果的对应关系;和Determine a target diagnostic result set according to the fault knowledge graph and multiple target fault codes, the target diagnostic result set includes multiple target diagnostic results, and the fault knowledge graph includes correspondences between multiple fault codes and diagnostic results; and
    根据所述目标诊断结果集合中的各目标诊断结果与目标故障码的相关度,生成目标诊断结果序列。A target diagnosis result sequence is generated according to the correlation between each target diagnosis result in the target diagnosis result set and the target fault code.
  2. 根据权利要求1所述的方法,其特征在于,所述根据故障知识图谱和多个目标故障码,确定目标诊断结果集合,包括:The method according to claim 1, wherein said determining the target diagnosis result set according to the fault knowledge map and multiple target fault codes includes:
    针对每个目标故障码,根据所述故障知识图谱,确定诊断结果集合,所述诊断结果集合中包括至少一个诊断结果;和For each target fault code, according to the fault knowledge graph, determine a set of diagnostic results, the set of diagnostic results includes at least one diagnostic result; and
    根据所述多个目标故障码的多个诊断结果集合中各诊断结果出现的频次,确定所述目标诊断结果集合。The target diagnosis result set is determined according to the occurrence frequency of each diagnosis result in the plurality of diagnosis result sets of the plurality of target DTCs.
  3. 根据权利要求2所述的方法,其特征在于,所述根据所述目标诊断结果集合中的各目标诊断结果与目标故障码的相关度,生成目标诊断结果序列之前,所述方法还包括:The method according to claim 2, wherein, before generating the sequence of target diagnostic results according to the correlation between each target diagnostic result in the target diagnostic result set and the target DTC, the method further comprises:
    根据所述目标诊断结果集合中各目标诊断结果对应的频次,确定所述各目标诊断结果和所述目标故障码的相关度。According to the frequency corresponding to each target diagnosis result in the target diagnosis result set, the correlation degree between each target diagnosis result and the target DTC is determined.
  4. 根据权利要求2所述的方法,其特征在于,所述根据所述目标诊断结果集合中的各目标诊断结果与目标故障码的相关度,生成目标诊断结果序列之前,所述方法还包括:The method according to claim 2, wherein, before generating the sequence of target diagnostic results according to the correlation between each target diagnostic result in the target diagnostic result set and the target DTC, the method further comprises:
    根据各目标故障码上报的时间顺序,确定所述各目标诊断结果与所述目标故障码的相关度。According to the chronological order of the target DTCs reported, the correlation degree between the target diagnosis results and the target DTCs is determined.
  5. 根据权利要求4所述的方法,其特征在于,所述根据各目标故障码上报的时间顺序,确定所述各目标诊断结果与所述目标故障码的相关度之前,所述方法还包括:The method according to claim 4, characterized in that, before determining the correlation between the target diagnosis results and the target DTCs according to the time sequence reported by each target DTC, the method further comprises:
    根据所述多个诊断结果集合中各诊断结果出现的频次,确定所述各诊断结果的频次不满足预设条件。According to the frequency of occurrence of each diagnosis result in the plurality of diagnosis result sets, it is determined that the frequency of each diagnosis result does not satisfy a preset condition.
  6. 根据权利要求2所述的方法,其特征在于,所述根据所述多个目标故障码的多个诊断结果集合中各诊断结果出现的频次,确定所述目标诊断结果集合,包括:The method according to claim 2, wherein the determining the target diagnostic result set according to the frequency of each diagnostic result in the multiple diagnostic result sets of the multiple target DTCs includes:
    基于所述各诊断结果的频次满足预设条件,确定所述多个诊断结果集合的并集为所述目标诊断结果集合;Determining that the union of the plurality of diagnostic result sets is the target diagnostic result set based on the frequency of each diagnostic result meeting a preset condition;
    基于所述各诊断结果的频次不满足所述预设条件,确定所述多个诊断结果集合为所述目标诊断结果集合。Based on the frequency of each diagnosis result not satisfying the preset condition, the plurality of diagnosis result sets are determined as the target diagnosis result set.
  7. 根据权利要求5或6所述的方法,其特征在于,所述预设条件为所述多个诊断结果集合中所有诊断结果各自对应的频次中至少存在一个频次大于等于预设频次。The method according to claim 5 or 6, wherein the preset condition is that at least one of the corresponding frequencies of all the diagnostic results in the plurality of diagnostic result sets is greater than or equal to the preset frequency.
  8. 根据权利要求1至7中任一项所述的方法,其特征在于,所述根据故障知识图谱和多个目标故障码,确定目标诊断结果集合,包括:The method according to any one of claims 1 to 7, wherein said determining the target diagnosis result set according to the fault knowledge graph and multiple target fault codes includes:
    针对每个目标故障码,根据所述故障知识图谱以及所述故障知识图谱中诊断结果的优先级,确定所述每个目标故障码的诊断结果集合,所述诊断结果集合中包括至少一个诊断结果;和For each target fault code, according to the fault knowledge graph and the priority of the diagnostic results in the fault knowledge graph, determine a diagnostic result set for each target fault code, and the diagnostic result set includes at least one diagnostic result ;and
    针对所述每个目标故障码,确定所述诊断结果集合为所述每个目标故障码对应的所述目标诊断结果集合。For each target DTC, determine the diagnosis result set as the target diagnosis result set corresponding to each target DTC.
  9. 根据权利要求8所述的方法,其特征在于,根据所述目标诊断结果集合中的各目标诊断结果与目标故障码的相关度,生成目标诊断结果序列之前,所述方法还包括:The method according to claim 8, wherein, according to the correlation between each target diagnostic result in the target diagnostic result set and the target DTC, before generating the target diagnostic result sequence, the method further comprises:
    根据各目标诊断结果集合内的所有目标诊断结果的优先级,确定所述各目标诊断结果集合中的所述各目标诊断结果与对应的目标故障码的相关度。According to the priority of all target diagnostic results in each target diagnostic result set, the correlation between each target diagnostic result in each target diagnostic result set and the corresponding target DTC is determined.
  10. 根据权利要求1至9中任一项所述的方法,其特征在于,所述故障知识图谱中的所述诊断结果包括:控制器、故障设置条件、故障恢复条件、故障原因、维修建议中的至少一种。The method according to any one of claims 1 to 9, wherein the diagnosis results in the fault knowledge map include: controller, fault setting conditions, fault recovery conditions, fault causes, maintenance suggestions at least one.
  11. 根据权利要求1至10中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 10, further comprising:
    将所述多个目标故障码输入至训练好的模型中,基于训练好的模型输出所述多个目标故障码的诊断结果序列,所述诊断结果序列中的诊断结果按照概率值进行排序。The plurality of target DTCs are input into the trained model, and a sequence of diagnosis results of the plurality of target DTCs is output based on the trained model, and the diagnosis results in the sequence of diagnosis results are sorted according to probability values.
  12. 一种车辆故障诊断装置,其特征在于,包括:A vehicle fault diagnosis device, characterized in that it comprises:
    确定模块,用于根据故障知识图谱和多个目标故障码,确定目标诊断结果集合,所述目标诊断结果集合中包括多个目标诊断结果,所述故障知识图谱中包括多个故障码与诊断结果的对应关系;和A determining module, configured to determine a target diagnosis result set according to the fault knowledge graph and multiple target fault codes, the target diagnostic result set includes multiple target diagnostic results, and the fault knowledge graph includes multiple fault codes and diagnostic results corresponding relationship; and
    序列生成模块,用于根据所述目标诊断结果集合中的各目标诊断结果与目标故障码的相关度,生成目标诊断结果序列。A sequence generating module, configured to generate a target diagnostic result sequence according to the correlation between each target diagnostic result in the target diagnostic result set and the target fault code.
  13. 根据权利要求12所述的车辆故障诊断装置,其特征在于,还包括:The vehicle fault diagnosis device according to claim 12, further comprising:
    结果序列模块,用于将所述多个目标故障码输入至训练好的模型中,基于训练好的模型输出所述多个目标故障码的诊断结果序列,所述诊断结果序列中的诊断结果按照概率值进行排序。The result sequence module is used to input the multiple target fault codes into the trained model, and output the diagnostic result sequence of the multiple target fault codes based on the trained model, and the diagnostic results in the diagnostic result sequence are according to Probability values are sorted.
  14. 一种电子设备,其特征在于,所述电子设备包括:处理器,所述处理器用于执行存储于存储器的计算机程序,所述计算机程序被处理器执行时实现权利要求1至11任一项所述的方法的步骤。An electronic device, characterized in that the electronic device comprises: a processor, the processor is configured to execute a computer program stored in a memory, and when the computer program is executed by the processor, the computer program according to any one of claims 1 to 11 can be implemented. steps of the method described above.
  15. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1至11任一项所述的方法的步骤。A computer-readable storage medium on which a computer program is stored, wherein when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 11 are realized.
  16. 一种计算机程序产品,其特征在于,包括计算机程序,所述计算机程序在被处理器执行时实现权利要求1至11任一项所述的方法。A computer program product, characterized by comprising a computer program, the computer program implements the method according to any one of claims 1 to 11 when executed by a processor.
  17. 一种计算机程序,包括计算机程序代码,当所述计算机程序代码在计算机上运行时,使得计算机执行权利要求1至11任一项所述的方法。A computer program, comprising computer program codes, when the computer program codes are run on a computer, the computer is made to execute the method according to any one of claims 1 to 11.
PCT/CN2022/136651 2021-12-09 2022-12-05 Vehicle fault diagnosis method and apparatus, electronic device, and storage medium WO2023103984A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111499806.6A CN116257030A (en) 2021-12-09 2021-12-09 Vehicle fault diagnosis method, device, electronic equipment and storage medium
CN202111499806.6 2021-12-09

Publications (1)

Publication Number Publication Date
WO2023103984A1 true WO2023103984A1 (en) 2023-06-15

Family

ID=86677933

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/136651 WO2023103984A1 (en) 2021-12-09 2022-12-05 Vehicle fault diagnosis method and apparatus, electronic device, and storage medium

Country Status (2)

Country Link
CN (1) CN116257030A (en)
WO (1) WO2023103984A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116893662A (en) * 2023-09-07 2023-10-17 北京斯年智驾科技有限公司 Fault code processing system and method applied to unmanned vehicle

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004302675A (en) * 2003-03-28 2004-10-28 Mazda Motor Corp Remote failure diagnostic system
US20100229044A1 (en) * 2009-03-08 2010-09-09 Spx Corporation Diagnostic Test Sequence Optimization Method and Apparatus
CN104169976A (en) * 2012-01-13 2014-11-26 斯堪尼亚商用车有限公司 System and method for providing diagnostic fault information
CN107918382A (en) * 2017-12-08 2018-04-17 深圳市道通科技股份有限公司 A kind of Diagnosis method of automobile faults, automotive diagnostic unit and electronic equipment
CN111414477A (en) * 2020-03-11 2020-07-14 科大讯飞股份有限公司 Vehicle fault automatic diagnosis method, device and equipment
CN113504772A (en) * 2021-07-26 2021-10-15 深圳市元征科技股份有限公司 Vehicle fault processing method and device and vehicle diagnosis equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004302675A (en) * 2003-03-28 2004-10-28 Mazda Motor Corp Remote failure diagnostic system
US20100229044A1 (en) * 2009-03-08 2010-09-09 Spx Corporation Diagnostic Test Sequence Optimization Method and Apparatus
CN104169976A (en) * 2012-01-13 2014-11-26 斯堪尼亚商用车有限公司 System and method for providing diagnostic fault information
CN107918382A (en) * 2017-12-08 2018-04-17 深圳市道通科技股份有限公司 A kind of Diagnosis method of automobile faults, automotive diagnostic unit and electronic equipment
CN111414477A (en) * 2020-03-11 2020-07-14 科大讯飞股份有限公司 Vehicle fault automatic diagnosis method, device and equipment
CN113504772A (en) * 2021-07-26 2021-10-15 深圳市元征科技股份有限公司 Vehicle fault processing method and device and vehicle diagnosis equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116893662A (en) * 2023-09-07 2023-10-17 北京斯年智驾科技有限公司 Fault code processing system and method applied to unmanned vehicle
CN116893662B (en) * 2023-09-07 2023-12-05 北京斯年智驾科技有限公司 Fault code processing system and method applied to unmanned vehicle

Also Published As

Publication number Publication date
CN116257030A (en) 2023-06-13

Similar Documents

Publication Publication Date Title
US11720863B2 (en) Method and system for generating vehicle service content
US10275407B2 (en) Apparatus and method for executing an automated analysis of data, in particular social media data, for product failure detection
CN107819627B (en) System fault processing method and server
US9053159B2 (en) Non-conformance analysis using an associative memory learning agent
Deb et al. QSI's integrated diagnostics toolset
JP4162250B2 (en) Method and system for finding a combination of failed parts from a distributed parts tree
US10410146B2 (en) Associative memory learning agent for analysis of manufacturing non-conformance applications
CN104461842A (en) Log similarity based failure processing method and device
CN109885478A (en) A kind of localization method and system of error code
CN113672743B (en) Fault judging method, device, electronic equipment, storage medium and product
CN115718802A (en) Fault diagnosis method, system, equipment and storage medium
WO2023103984A1 (en) Vehicle fault diagnosis method and apparatus, electronic device, and storage medium
CN110471945B (en) Active data processing method, system, computer equipment and storage medium
EP3474142A1 (en) System and method for cognitive troubleshooting assistance
US20220019742A1 (en) Situational awareness by fusing multi-modal data with semantic model
CN114326659A (en) Fault diagnosis system and method for automobile electronic control unit
CN117041029A (en) Network equipment fault processing method and device, electronic equipment and storage medium
CN115576834A (en) Software test multiplexing method, system, terminal and medium for supporting fault recovery
CN116186270A (en) Vehicle fault cause diagnosis method, device, equipment and storage medium
WO2017176942A1 (en) Emerging defect and safety surveillance system
CN115842861A (en) Edge connection device adaptation method, device and computer readable storage medium
CN112291085B (en) Fault positioning method, device, equipment and medium
CN113850035A (en) Chip verification method, device and equipment and readable storage medium
Vadim et al. Temporal decision trees in diagnostics systems
CN104424060A (en) Method and device for determining faults

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22903406

Country of ref document: EP

Kind code of ref document: A1