Fault diagnosis method and device, diagnosis instrument and readable storage medium

By monitoring the load rate of the target communication network segment in the vehicle automatic diagnosis system and limiting the packet transmission, the problem of high load affecting fault diagnosis is solved, and more efficient and accurate fault diagnosis is achieved, and the cost is lower.

CN119536233APending Publication Date: 2025-02-28CHINA FAW CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411773405.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-04
Publication Date
2025-02-28

AI Technical Summary

Technical Problem

In an on-board automatic diagnosis system, excessive communication load will lead to signal integrity, communication errors and bus arbitration failures, affecting the fault diagnosis process, and traditional methods cannot solve these problems at the root cause, resulting in high hardware costs and diagnostic abnormalities still exist.

Method used

By obtaining the load rate of the target communication network segment to which the controller to be diagnosed in the vehicle to be tested, if the load rate is greater than the set threshold, at least some target controllers in the target communication network segment except the controller to be detected are restricted to reduce the load of the communication network segment, and then troubleshooting the controller to be diagnosed.

Benefits of technology

The load rate of the target communication network segment is reduced, the effectiveness and accuracy of fault diagnosis results are improved, and the diagnosis abnormalities caused by high load are avoided, and the cost is low.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119536233A_ABST
    Figure CN119536233A_ABST
Patent Text Reader

Abstract

The invention relates to a fault diagnosis method and device, a diagnostic apparatus and a readable storage medium. The fault diagnosis method comprises the steps of obtaining a load rate of a target communication network segment to which a to-be-diagnosed controller in a to-be-tested vehicle belongs; under the condition that the load rate is greater than a set threshold value, carrying out message sending limitation on at least part of target controllers except the to-be-detected controller in the target communication network segment; and performing fault diagnosis on the to-be-diagnosed controller. By adopting the method, the load of the target communication network segment can be reduced, and the effectiveness and the accuracy of a fault diagnosis result are further improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of fault diagnosis, and in particular to a fault diagnosis method, device, diagnostic instrument and readable storage medium. Background Art

[0002] With the development of vehicle network technology, the on-board diagnostic system (OBD) came into being, which aims to monitor the operating status of the engine and other related systems (such as exhaust after-treatment system) in real time.

[0003] When the communication load is too high during system operation, problems such as signal integrity, communication errors, and bus arbitration failure will occur, which will affect the OBD fault diagnosis process.

[0004] Traditional technologies usually solve the above problems by selecting appropriate terminal resistors or using high-quality cables and connectors. However, the above methods have high hardware and operation and maintenance costs, and cannot fundamentally solve such problems. OBD diagnostic abnormalities still occur during system operation. Summary of the invention

[0005] Based on this, it is necessary to provide a fault diagnosis method, device, diagnostic instrument, readable storage medium and computer program product with low cost and improved effectiveness and accuracy of fault diagnosis results in order to solve the above technical problems.

[0006] In a first aspect, the present application provides a fault diagnosis method, which is applied to a diagnostic instrument of a vehicle to be tested, and the fault diagnosis method comprises:

[0007] Obtaining the load rate of the target communication network segment to which the controller to be diagnosed in the vehicle to be tested belongs;

[0008] When the load rate is greater than a set threshold, restricting the message sending of at least some target controllers other than the controller to be detected in the target communication network segment;

[0009] Perform fault diagnosis on the controller to be diagnosed.

[0010] In one of the embodiments, message sending restrictions are imposed on at least some target controllers other than the controller to be detected in the target communication network segment, including: sending instruction information to at least some target controllers other than the controller to be detected in the target communication network segment; the instruction information is used to instruct the corresponding target controller to limit the sending of messages to reduce the load of the target communication network segment.

[0011] In one of the embodiments, message sending restrictions are imposed on at least some of the target controllers in the target communication network segment except for the controller to be detected, including: suspending the sending of at least some of the messages in at least some of the target controllers; and / or reducing the sending frequency of at least some of the messages in at least some of the target controllers.

[0012] In one of the embodiments, the target controller is screened by the following steps: obtaining importance data of candidate controllers other than the controller to be detected in the vehicle to be tested; wherein the communication network segment to which the candidate controller belongs is the target communication network segment; and according to a preset screening ratio, selecting the candidate controller with relatively low importance as the target controller.

[0013] In one of the embodiments, performing fault diagnosis on the controller to be diagnosed includes: performing fault diagnosis on the controller to be diagnosed when the load rate is not greater than a set threshold.

[0014] In one of the embodiments, after the fault diagnosis is performed on the control unit to be detected, the method further includes: removing the message sending restriction on each target controller.

[0015] In a second aspect, the present application also provides a fault diagnosis device, comprising:

[0016] An acquisition module, used to acquire the load rate of the communication network segment where the control unit to be detected is located;

[0017] A processing module, used for restricting the message sending to at least some target controllers other than the controller to be detected in the target communication network segment when the load rate is greater than a set threshold;

[0018] The diagnosis module is used for performing fault diagnosis on the controller to be diagnosed.

[0019] In a third aspect, the present application further provides a diagnostic instrument, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0020] Obtaining the load rate of the target communication network segment to which the controller to be diagnosed in the vehicle to be tested belongs;

[0021] When the load rate is greater than a set threshold, restricting the message sending of at least some target controllers other than the controller to be detected in the target communication network segment;

[0022] Perform fault diagnosis on the controller to be diagnosed.

[0023] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the following steps are implemented:

[0024] Obtaining the load rate of the target communication network segment to which the controller to be diagnosed in the vehicle to be tested belongs;

[0025] When the load rate is greater than a set threshold, restricting the message sending of at least some target controllers other than the controller to be detected in the target communication network segment;

[0026] Perform fault diagnosis on the controller to be diagnosed.

[0027] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:

[0028] Obtaining the load rate of the target communication network segment to which the controller to be diagnosed in the vehicle to be tested belongs;

[0029] When the load rate is greater than a set threshold, restricting the message sending of at least some target controllers other than the controller to be detected in the target communication network segment;

[0030] Perform fault diagnosis on the controller to be diagnosed.

[0031] The above fault diagnosis method, device, diagnostic instrument, computer-readable storage medium and computer program product can reduce the load of the target communication network segment by restricting the message sending of at least some target controllers other than the controller to be detected in the target communication network segment when the load rate of the target communication network segment to which the controller to be diagnosed belongs is relatively large (i.e., greater than a set threshold). At this time, in the process of performing fault diagnosis on the controller to be diagnosed based on the diagnostic instrument, since the load rate of the target communication network segment is relatively low and the stability is relatively high, the effectiveness and accuracy of the fault diagnosis results can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0033] Figure 1A An application environment diagram of a fault diagnosis method in an embodiment;

[0034] Figure 1B is a flow chart of a fault diagnosis method in one embodiment;

[0035] Figure 2 A schematic diagram of a flow chart of a message sending restriction step in an embodiment;

[0036] Figure 3 A schematic diagram of a process of a target controller screening step in one embodiment;

[0037] Figure 4 is a flow chart of a fault diagnosis method in another embodiment;

[0038] Figure 5 is a structural block diagram of a fault diagnosis device in one embodiment;

[0039] Figure 6 1 is a diagram of the internal structure of a diagnostic instrument in one embodiment. DETAILED DESCRIPTION

[0040] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0041] The fault diagnosis method provided in the embodiment of the present application can be applied to Figure 1A In the application environment shown. Figure 1A In this application environment, a diagnostic instrument 100 and a vehicle to be tested 200 are provided. Among them, at least two controllers 201 are provided in the vehicle to be tested. The diagnostic instrument 100 communicates with each controller 201 in the vehicle to be tested 200 through a communication network. The above communication process can be implemented based on a communication network of a CAN bus (Controller Area Network) or other forms of communication networks. It is worth noting that in the vehicle to be tested 200, at least some of the controllers are in the same communication network segment.

[0042] When a fault diagnosis needs to be performed on a controller 201 through the diagnostic instrument 100 , the load rate in the corresponding communication network segment may be high and network congestion may occur, which may cause the diagnostic instrument 100 to easily have a diagnostic fault.

[0043] The fault diagnosis method provided in the embodiment of the present application reduces the load of the corresponding communication segment by restricting the message sending by the diagnostic instrument 100 to other controllers in the same communication segment as the controller to be diagnosed in the vehicle 200 to be tested, thereby improving the effectiveness and accuracy of the fault diagnosis results.

[0044] In an exemplary embodiment, Figure 1B As shown, a fault diagnosis method is provided. This embodiment uses the method applied to a terminal (such as a diagnostic instrument of a vehicle to be tested) as an example for illustration. It can be understood that the method can also be applied to a server, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. In this embodiment, the method includes the following steps:

[0045] S110, obtaining a load rate of a target communication network segment to which a controller to be diagnosed in the vehicle to be tested belongs.

[0046] The controller to be diagnosed refers to a controller in the vehicle to be tested that needs to be diagnosed for fault or performance testing. The number of controllers to be diagnosed can be one, two, or more; for example, the controller to be diagnosed can include at least one of an exhaust emission controller and an ignition controller, etc. The present application does not impose any restrictions on the specific type and number of the controllers to be diagnosed.

[0047] The target communication network segment refers to the communication network segment to which the controller to be diagnosed belongs. It is understandable that different controllers of the vehicle to be tested may be in the same communication network segment, or may be at least partially in different communication network segments. Exemplarily, the target communication network segment may be a communication network segment based on CAN (Controller Area Network) bus communication, or a communication network segment based on other communication forms.

[0048] The load rate refers to the ratio between the communication traffic borne by the target communication network segment and its maximum communication capacity per unit time, usually expressed as a percentage, and is used to measure the communication busyness and resource utilization of the target communication network segment. Exemplarily, the load rate of the target communication network segment can be directly obtained through a communication monitoring system or network equipment; or the communication data of the target communication network segment can be obtained through an OBD port, and the load rate can be calculated based on the communication data, wherein the communication data includes the communication traffic corresponding to the target communication network segment per unit time, and the load rate is calculated based on the communication traffic and the maximum communication capacity.

[0049] S120. When the load rate is greater than a set threshold, restricting the sending of messages to at least some target controllers in the target communication network segment except the controller to be detected.

[0050] The set threshold refers to the critical value of the load rate, which can be set according to actual needs. Exemplarily, the set threshold can be set to any value between 30% and 45%, for example, 40%. Exemplarily, the comparison process between the load rate and the set threshold can be performed by a terminal (such as a diagnostic instrument of the vehicle to be tested) or by other external comparators.

[0051] In an optional example, message sending restrictions may be imposed on all target controllers in the target communication network segment except the controller to be detected, thereby maximally reducing the load rate of the target communication network segment and improving the accuracy of the diagnostic instrument in diagnosing the fault of the controller to be diagnosed.

[0052] In another optional example, message sending restrictions may be imposed on some target controllers in the target communication network segment except the controller to be detected. Based on this, the load rate of the target communication network segment can be reduced to a certain extent, while ensuring that other target controllers (especially core controllers) can continue to send messages.

[0053] Among them, the message refers to the data unit exchanged and transmitted in the target communication network segment. Exemplarily, the message may include at least one of an application message, a buried point message, and a test message. Application messages may include diagnostic messages, which are information units used to transmit request and response data between the diagnostic instrument and the controller to be diagnosed; buried point messages are usually used to monitor and debug important specific events or states of the vehicle system, and record and send key information during the operation of the vehicle system, so that technicians can analyze system behavior, diagnose problems and optimize performance; test messages usually refer to specific data frames used to test and verify the functions and performance of the network (such as the communication segment of the CAN bus), which are used to verify communication links, detect errors, and evaluate performance.

[0054] S130, performing fault diagnosis on the controller to be diagnosed.

[0055] Among them, the fault diagnosis of the controller to be diagnosed can be performed through the diagnostic instrument, specifically: the diagnostic instrument is connected to the OBD port of the vehicle to be tested, and after the gateway of the vehicle to be tested recognizes the access of the diagnostic instrument, the diagnostic instrument sends a diagnostic instrument access instruction to the target communication network segment node of the controller to be tested through the gateway, and then obtains the relevant diagnostic data of the controller to be diagnosed, analyzes the relevant diagnostic data, and obtains the fault diagnosis result. Exemplarily, the fault diagnosis method can be OBD detection.

[0056] In an optional embodiment, after the controller to be diagnosed is diagnosed for a fault, the message sending restriction to each target controller is lifted. It can be understood that after the fault diagnosis is performed, the load rate of the target communication network segment no longer affects the diagnosis result of the controller to be diagnosed. At this time, the message sending restriction to each target controller can be lifted, that is, the message sending function of each target controller can be restored.

[0057] In an optional embodiment, performing fault diagnosis on the controller to be diagnosed includes: performing fault diagnosis on the controller to be diagnosed when the load rate is not greater than a set threshold. In this embodiment, by determining the load rate again before performing fault diagnosis on the controller to be diagnosed, it is avoided that the target controller fails to respond to the task of limiting message sending, and the target communication network segment is still at a high load rate (i.e., the load rate is greater than the set threshold), which affects the fault diagnosis of the controller to be diagnosed.

[0058] In the embodiment of the present application, when the load rate of the target communication network segment to which the controller to be diagnosed belongs is relatively large (i.e., greater than a set threshold), the load of the target communication network segment can be reduced by restricting the message sending of at least some of the target controllers other than the controller to be detected in the target communication network segment. At this time, in the process of diagnosing the fault of the controller to be diagnosed based on the diagnostic instrument, since the load rate of the target communication network segment is relatively low and the stability is relatively high, the accuracy of the fault diagnosis result can be improved.

[0059] Based on the technical solutions of the above embodiments, the present application also provides an optional embodiment, in which the message sending restriction steps are refined.

[0060] See also Figure 2 The steps of limiting message sending shown include:

[0061] S210. Send instruction information to at least some target controllers in the target communication network segment except the controller to be detected; the instruction information is used to instruct the corresponding target controller to limit the sending of messages to reduce the load of the target communication network segment.

[0062] Exemplarily, the diagnostic instrument sends instruction information to at least some target controllers in the target communication network segment except the controller to be detected; the target controller responds to the instruction information and limits the sending of messages. The instruction information may be an instruction message.

[0063] In an optional embodiment, message sending restrictions are imposed on at least some of the target controllers in the target communication network segment except for the controller to be detected, which may include: suspending the sending of at least some of the messages in at least some of the target controllers; illustratively, the sending of all messages in the target controllers may be suspended to maximize the reduction of the load on the target communication network segment; the sending of some of the messages in the target controllers may also be suspended to reduce the load on the target communication network segment to a certain extent, while ensuring that another part of the messages in the target controller are sent normally.

[0064] In another optional embodiment, restricting the sending of messages to at least some of the target controllers in the target communication network segment except for the controller to be detected may include: reducing the sending frequency of at least some of the messages in at least some of the target controllers. The reduction in the sending frequency may be set according to actual needs. For example, the reduction in the sending frequency may be set to a fixed reference value, or the reduction may be set to a dynamic reference value that increases sequentially over time. Exemplarily, the sending frequency of all messages in the target controller may be reduced to minimize the load on the target communication network segment; the sending frequency of some messages in the target controller may also be reduced to reduce the load on the target communication network segment to a certain extent, while ensuring that another part of the messages in the target controller are sent normally.

[0065] In another optional embodiment, message sending restrictions are performed on at least some target controllers in the target communication network segment except the controller to be detected, including: suspending the sending of at least some messages in at least some target controllers and reducing the sending frequency of at least some messages in at least some target controllers.

[0066] Exemplarily, at least part of the target controllers mentioned above can be divided into a first target controller and a second target controller according to their importance level, and the importance level of the first target controller is lower than that of the second target controller. The message sending restriction step includes: suspending the sending of at least part of the messages in the first target controller, and reducing the sending frequency of at least part of the messages in the second target controller. In the above steps, according to the importance of different target controllers, the restriction strategy corresponding to their importance is allocated, which is conducive to reducing the load rate of the target network segment while ensuring that the controller with high importance has a certain message sending function.

[0067] The embodiment of the present application adopts the method of sending instruction information to the target controller to limit the sending of its message, and the control method is simple and easy to operate.

[0068] Based on the technical solutions of the above embodiments, the present application also provides an optional embodiment, in which the target controller screening step is refined.

[0069] See also Figure 3 The target controller screening steps shown include:

[0070] S310: Obtain importance data of candidate controllers other than the controller to be detected in the vehicle to be tested.

[0071] The communication network segment to which the candidate controller belongs is the target communication network segment. The importance data is used to measure or indicate the importance of each candidate controller to the operation of the vehicle to be tested.

[0072] In an optional embodiment, the importance data can be directly obtained from a pre-established importance comparison table or relational database. The importance comparison table and relational database, for example, contain importance data corresponding to all controllers in the vehicle to be tested.

[0073] In another optional embodiment, the importance data may also be obtained by manual configuration, that is, manually marking the importance of each candidate controller according to current actual needs.

[0074] S320: According to a preset screening ratio, a candidate controller with a relatively low importance is selected as a target controller.

[0075] The preset screening ratio can be customized according to actual needs. For example, the candidate controllers can be divided into two categories of high importance and low importance according to the preset screening ratio of 1:1, and the candidate controllers of low importance are used as the target controllers.

[0076] The embodiment of the present application is based on importance data and screening ratios to facilitate screening out the required number and type of candidate controllers. According to the preset screening ratio, the candidate controllers with relatively low importance are used as target controllers, so that while reducing the load of the target communication network segment, it is also possible to ensure that the candidate controllers with relatively high importance can send messages normally.

[0077] Based on the technical solutions of the above embodiments, the present application also provides an optional embodiment, in which another specific implementation method of the fault diagnosis method is provided.

[0078] See also Figure 4 The fault diagnosis method shown includes:

[0079] S410: Obtain a load rate of a target communication network segment to which a controller to be diagnosed in the vehicle to be tested belongs.

[0080] S420: Obtain importance data of candidate controllers other than the controller to be detected in the vehicle to be tested.

[0081] S430: According to a preset screening ratio, a candidate controller with a relatively low importance is selected as a target controller.

[0082] S440. When the load rate is greater than a set threshold, send instruction information to at least some target controllers in the target communication network segment except the controller to be detected, wherein the instruction information is used to instruct the corresponding target controller to limit the sending of messages to reduce the load of the target communication network segment.

[0083] S450: Remove the message sending restriction to each target controller.

[0084] S460: When the load rate is not greater than a set threshold, perform fault diagnosis on the controller to be diagnosed.

[0085] The detailed technical contents of the above steps S410 - S460 have been recorded in the above embodiments and will not be repeated here.

[0086] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0087] Based on the same inventive concept, the embodiment of the present application also provides a fault diagnosis device for implementing the fault diagnosis method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more fault diagnosis device embodiments provided below can refer to the limitations on the fault diagnosis method above, and will not be repeated here.

[0088] In an exemplary embodiment, Figure 5 As shown, a fault diagnosis device is provided, including: an acquisition module 510, a processing module 520 and a diagnosis module 530, wherein:

[0089] An acquisition module 510 is used to acquire the load rate of the communication network segment where the control unit to be detected is located;

[0090] The processing module 520, when the load rate is greater than a set threshold, restricts the message sending of at least some target controllers in the target communication network segment except the controller to be detected;

[0091] The diagnosis module 530 is used to perform fault diagnosis on the controller to be diagnosed.

[0092] In an exemplary embodiment, the processing module 520 includes: a first processing unit, used to send instruction information to at least some target controllers in the target communication network segment except the controller to be detected; the instruction information is used to instruct the corresponding target controller to limit the sending of messages to reduce the load of the target communication network segment.

[0093] In an exemplary embodiment, the first processing unit includes: a first processing subunit, configured to suspend the sending of at least some messages in at least some target controllers; and / or reduce the sending frequency of at least some messages in at least some target controllers.

[0094] In an exemplary embodiment, the processing module 520 includes: a second processing unit, used to obtain importance data of candidate controllers other than the controller to be detected in the vehicle to be tested; wherein the communication network segment to which the candidate controller belongs is the target communication network segment; and according to a preset screening ratio, the candidate controller with relatively low importance is selected as the target controller.

[0095] In an exemplary embodiment, the diagnosis module 530 includes: a first diagnosis unit, configured to perform fault diagnosis on the controller to be diagnosed when the load rate is not greater than a set threshold.

[0096] In an exemplary embodiment, the diagnosis module 530 includes: a third processing unit, configured to remove the message sending restriction on each target controller.

[0097] Each module in the above fault diagnosis device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of the processor in the diagnostic instrument in the form of hardware, or can be stored in the memory in the diagnostic instrument in the form of software, so that the processor can call and execute the corresponding operations of each module.

[0098] In an exemplary embodiment, a diagnostic instrument is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 6 As shown. The diagnostic instrument includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the diagnostic instrument is used to provide computing and control capabilities. The memory of the diagnostic instrument includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the diagnostic instrument is used to exchange information between the processor and an external device. The communication interface of the diagnostic instrument is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a fault diagnosis method is implemented. The display unit of the diagnostic instrument is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen. The input device of the diagnostic instrument can be a touch layer covering the display screen, or a button, trackball or touchpad set on the diagnostic instrument housing, or an external keyboard, touchpad or mouse.

[0099] Those skilled in the art will understand that Figure 6 The structure shown in the figure is merely a block diagram of a portion of the structure related to the scheme of the present application, and does not constitute a limitation on the diagnostic instrument to which the scheme of the present application is applied. A specific diagnostic instrument may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0100] In an exemplary embodiment, a diagnostic instrument is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0101] Obtaining the load rate of the target communication network segment to which the controller to be diagnosed in the vehicle to be tested belongs;

[0102] When the load rate is greater than a set threshold, restricting the message sending of at least some target controllers other than the controller to be detected in the target communication network segment;

[0103] Perform fault diagnosis on the controller to be diagnosed.

[0104] In one embodiment, when the processor executes the computer program, the following steps are also implemented: sending instruction information to at least some target controllers in the target communication network segment except the controller to be detected; the instruction information is used to instruct the corresponding target controller to limit the sending of messages to reduce the load of the target communication network segment.

[0105] In one embodiment, when the processor executes the computer program, the following steps are also implemented: suspending the sending of at least some messages in at least some target controllers; and / or reducing the sending frequency of at least some messages in at least some target controllers.

[0106] In one embodiment, when the processor executes the computer program, the following steps are also implemented: obtaining importance data of candidate controllers other than the controller to be detected in the vehicle to be tested; wherein the communication network segment to which the candidate controllers belong is the target communication network segment; and according to a preset screening ratio, selecting candidate controllers with relatively low importance as target controllers.

[0107] In one embodiment, when the processor executes the computer program, the following steps are further implemented: when the load rate is not greater than a set threshold, a fault diagnosis is performed on the controller to be diagnosed.

[0108] In one embodiment, when the processor executes the computer program, the following steps are also implemented: removing the message sending restriction on each target controller.

[0109] In an optional embodiment, the above-mentioned diagnostic instrument may be a diagnostic instrument of a vehicle to be tested.

[0110] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0111] Obtaining the load rate of the target communication network segment to which the controller to be diagnosed in the vehicle to be tested belongs;

[0112] When the load rate is greater than a set threshold, restricting the message sending of at least some target controllers other than the controller to be detected in the target communication network segment;

[0113] Perform fault diagnosis on the controller to be diagnosed.

[0114] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: sending instruction information to at least some target controllers in the target communication network segment except the controller to be detected; the instruction information is used to instruct the corresponding target controller to limit the sending of messages to reduce the load of the target communication network segment.

[0115] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: suspending the sending of at least some messages in at least some target controllers; and / or reducing the sending frequency of at least some messages in at least some target controllers.

[0116] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining importance data of candidate controllers other than the controller to be detected in the vehicle to be tested; wherein the communication network segment to which the candidate controller belongs is the target communication network segment; and according to a preset screening ratio, selecting the candidate controller with relatively low importance as the target controller.

[0117] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: when the load rate is not greater than a set threshold, a fault diagnosis is performed on the controller to be diagnosed.

[0118] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: removing the message sending restriction on each target controller.

[0119] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0120] Obtaining the load rate of the target communication network segment to which the controller to be diagnosed in the vehicle to be tested belongs;

[0121] When the load rate is greater than a set threshold, restricting the message sending of at least some target controllers other than the controller to be detected in the target communication network segment;

[0122] Perform fault diagnosis on the controller to be diagnosed.

[0123] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: sending instruction information to at least some target controllers in the target communication network segment except the controller to be detected; the instruction information is used to instruct the corresponding target controller to limit the sending of messages to reduce the load of the target communication network segment.

[0124] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: suspending the sending of at least some messages in at least some target controllers; and / or reducing the sending frequency of at least some messages in at least some target controllers.

[0125] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining importance data of candidate controllers other than the controller to be detected in the vehicle to be tested; wherein the communication network segment to which the candidate controller belongs is the target communication network segment; and according to a preset screening ratio, selecting the candidate controller with relatively low importance as the target controller.

[0126] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: when the load rate is not greater than a set threshold, a fault diagnosis is performed on the controller to be diagnosed.

[0127] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: removing the message sending restriction on each target controller.

[0128] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0129] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0130] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A fault diagnosis method, characterized in that: A diagnostic instrument applied to a vehicle to be tested, the method comprising: Obtaining a load rate of a target communication network segment to which the controller to be diagnosed in the vehicle to be tested belongs; When the load rate is greater than a set threshold, restricting the message sending of at least some target controllers in the target communication network segment except the controller to be detected; Perform fault diagnosis on the controller to be diagnosed.

2. The fault diagnosis method according to claim 1, characterized in that: The step of restricting the sending of messages to at least some target controllers other than the controller to be detected in the target communication network segment includes: Sending instruction information to at least some target controllers in the target communication network segment except the controller to be detected; the instruction information is used to instruct the corresponding target controller to limit the sending of messages to reduce the load of the target communication network segment.

3. The fault diagnosis method according to claim 1, characterized in that: The step of restricting the sending of messages to at least some target controllers other than the controller to be detected in the target communication network segment includes: suspending the sending of at least part of the messages in at least part of the target controllers; and / or, The sending frequency of at least some of the messages in at least some of the target controllers is reduced.

4. The fault diagnosis method according to claim 1, characterized in that: The target controller is obtained by screening through the following steps: Obtaining importance data of candidate controllers other than the controller to be detected in the vehicle to be tested; wherein the communication network segment to which the candidate controller belongs is the target communication network segment; According to a preset screening ratio, the candidate controllers with relatively low importance are selected as the target controllers.

5. The fault diagnosis method according to claim 1, characterized in that: The performing fault diagnosis on the controller to be diagnosed includes: When the load rate is not greater than the set threshold, a fault diagnosis is performed on the controller to be diagnosed.

6. The fault diagnosis method according to claim 1, characterized in that: After performing fault diagnosis on the control unit to be detected, the method further includes: The message sending restriction on each of the target controllers is lifted.

7. A fault diagnosis device, characterized in that: The device comprises: An acquisition module, used to acquire the load rate of the communication network segment where the control unit to be detected is located; A processing module, configured to restrict the message sending of at least some target controllers other than the controller to be detected in the target communication network segment when the load rate is greater than a set threshold; The diagnosis module is used to perform fault diagnosis on the controller to be diagnosed.

8. A diagnostic instrument, comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.