Vehicle Ethernet fault diagnosis method, device, terminal equipment and storage medium

By using ping test requests to determine the fault node in vehicle Ethernet, the problem of immature fault detection at the communication level of on-vehicle Ethernet in the existing technology is solved, efficient fault location and diagnosis is achieved, and the development efficiency of smart cars is improved.

CN119766636APending Publication Date: 2025-04-04SAIC GM WULING AUTOMOBILE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411892093.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-20
Publication Date
2025-04-04

AI Technical Summary

Technical Problem

The prior art lacks an effective communication-level fault detection strategy in vehicle-mounted Ethernet, making it difficult to detect and diagnose the stable performance and fault conditions of communication between Ethernet nodes in actual use of the vehicle.

Method used

By sending ping test requests to all nodes from the first end node of the vehicle Ethernet link, the first fault node and the second fault node are determined, and then the fault node or fault link segment of the vehicle Ethernet link is determined.

Benefits of technology

It provides a communication-level fault detection strategy in vehicle-mounted Ethernet, which improves the efficiency of fault location, avoids the need for external Ethernet fault testing equipment to check one by one when there is a fault, and significantly shortens the time for intelligent vehicle development and after-sales fault analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119766636A_ABST
    Figure CN119766636A_ABST
Patent Text Reader

Abstract

This invention discloses a method, apparatus, terminal device, and storage medium for diagnosing faults in an in-vehicle Ethernet link. The method includes: sending ping requests from a first end node to all nodes to obtain first ping results from all nodes; when there are failure results among all the first ping results, determining the node whose deployment order is closest to the first end node from the nodes with failed first ping results as the first fault node; sending ping requests from a second end node to all nodes to obtain second ping results from all nodes; determining the node whose deployment order is closest to the second end node from the nodes with failed second ping results as the second fault node; and determining the fault node or faulty link segment of the in-vehicle Ethernet link based on the first and second fault nodes. This invention fills the technical gap in fault diagnosis at the communication layer of in-vehicle Ethernet links and also improves the efficiency of fault location.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent automobile technology, and in particular to a vehicle-mounted Ethernet fault diagnosis method, device, terminal equipment and storage medium. Background Art

[0002] With the rapid development of intelligent driving technology, the functions of intelligent driving systems are becoming more and more powerful. The intelligent driving controller uses sensors that can sense the surrounding environment arranged around the vehicle, combined with the positioning system and map, to integrate the surrounding environment perception information, positioning system, map information, and high-definition rendering images for real-time simulation and display. The driver can know the operating status of the intelligent driving system in real time through the display terminal. Due to the large amount of data in these HMIs, traditional in-vehicle CAN communication cannot meet the transmission requirements, and real-time data transmission needs to be achieved through in-vehicle Ethernet.

[0003] Compared with the in-vehicle CAN communication network, in-vehicle Ethernet technology has developed rapidly, but the communication fault detection is not mature enough. OEMs have high requirements for the stability of in-vehicle Ethernet communication and need a more efficient and quicker communication fault detection method.

[0004] At present, the fault detection of in-vehicle Ethernet focuses more on hardware-level fault detection of the Ethernet physical layer and data link layer. There is no better fault detection strategy for faults at the communication level in in-vehicle Ethernet, making it difficult to detect the stable performance and fault conditions of communication between Ethernet node applications in actual vehicle use. Summary of the invention

[0005] The present invention provides a vehicle-mounted Ethernet fault diagnosis method, device, terminal equipment and storage medium to fill the technical gap in vehicle-mounted Ethernet link communication layer fault diagnosis in the prior art.

[0006] In order to solve the above technical problems, an embodiment of the present invention provides a vehicle Ethernet fault diagnosis method, comprising:

[0007] Sending a ping test request from a first end node of the vehicle Ethernet link to all nodes on the vehicle Ethernet link until a first ping test result of all nodes is obtained;

[0008] When there is a failure result among all the first ping test results, according to a preset node deployment order, determine a node closest to the first end node in the deployment order from the nodes with failed first ping test results as the first fault node;

[0009] Sending a ping test request from the second end node of the vehicle Ethernet link to all nodes on the vehicle Ethernet link until a second ping test result of all nodes is obtained;

[0010] According to the node arrangement sequence, determine, from the nodes for which the second ping test result is failed, a node that is closest to the second end node in arrangement sequence as the second fault node;

[0011] A faulty node or a faulty link segment of the in-vehicle Ethernet link is determined according to the first faulty node and the second faulty node.

[0012] As a preferred solution, determining the faulty node or the faulty link segment of the vehicle Ethernet link according to the first faulty node and the second faulty node includes:

[0013] When the first fault node and the second fault node are the same node, determining that the fault node of the vehicle Ethernet link is the first fault node;

[0014] When the first faulty node and the second faulty node are not the same node, the faulty link segment of the in-vehicle Ethernet link is determined to be a link segment from the first faulty node to the second faulty node.

[0015] As a preferred solution, before sending a ping test request from the first end node of the vehicle Ethernet link to all nodes on the vehicle Ethernet link, the method further includes:

[0016] When the user gets on the vehicle and starts the vehicle, the controller of each node in the vehicle Ethernet link is powered on and awakened;

[0017] within a preset time period after the vehicle is started, attempting to establish communication between the first end node and the second end node;

[0018] If communication is successfully established between the first end node and the second end node within the preset time period, confirming that the vehicle Ethernet link is fault-free, and stopping subsequent operations;

[0019] If communication between the first end node and the second end node fails to be successfully established within the preset time period, subsequent operations are continued.

[0020] As a preferred solution, before sending a ping test request from the first end node of the vehicle Ethernet link to all nodes on the vehicle Ethernet link, the method further includes:

[0021] After communication is successfully established between the first end node and the second end node, if the communication remains normal, then subsequent operations are stopped; if the communication is abnormal, then subsequent operations are continued.

[0022] As a preferred solution, after sending a ping test request from the first end node of the vehicle Ethernet link to all nodes on the vehicle Ethernet link, the method further includes:

[0023] When there is no failure result in all the first ping test results, it is confirmed that the in-vehicle Ethernet link has no fault.

[0024] As a preferred solution, the vehicle-mounted Ethernet fault diagnosis method further includes:

[0025] The first faulty node and the second faulty node are uploaded to the cloud.

[0026] As a preferred solution, the first end node is an intelligent driving controller;

[0027] The second end node is a display terminal controller.

[0028] Based on the above embodiment, another embodiment of the present invention provides a vehicle-mounted Ethernet fault diagnosis device, including: a fault detection module and a fault location module;

[0029] The fault diagnosis module is used to send a ping test request from a first end node of the vehicle Ethernet link to all nodes on the vehicle Ethernet link until a first ping test result of all nodes is obtained; when there is a failure result among all the first ping test results, determine, according to a preset node layout order, a node whose layout order is closest to the first end node from the nodes whose first ping test result is a failure, as a first fault node; send a ping test request from a second end node of the vehicle Ethernet link to all nodes on the vehicle Ethernet link until a second ping test result of all nodes is obtained; and determine, according to the node layout order, a node whose layout order is closest to the second end node from the nodes whose second ping test result is a failure, as a second fault node;

[0030] The fault location module is used to determine the fault node or the fault link segment of the vehicle Ethernet link according to the first fault node and the second fault node.

[0031] Based on the above embodiments, another embodiment of the present invention provides a terminal device, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and when the processor executes the computer program, the vehicle Ethernet fault diagnosis method described in the above invention embodiment is implemented.

[0032] Based on the above embodiments, another embodiment of the present invention provides a storage medium, wherein the storage medium includes a stored computer program, wherein when the computer program is running, the device where the storage medium is located is controlled to execute the vehicle Ethernet fault diagnosis method described in the above invention embodiment.

[0033] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0034] The present invention sends a ping test request from the first end node of the vehicle Ethernet link to all nodes on the vehicle Ethernet link until the first ping test results of all nodes are obtained; when there is a failure result in all the first ping test results, according to the preset node layout order, the node closest to the first end node in the layout order is determined from the nodes with the first ping test result as a failure, as the first fault node; from the second end node of the vehicle Ethernet link, a ping test request is sent to all nodes on the vehicle Ethernet link until the second ping test results of all nodes are obtained; according to the node layout order, the node closest to the second end node in the layout order is determined from the nodes with the second ping test result as a failure, as the second fault node; according to the first fault node and the second fault node, the fault node or fault link segment of the vehicle Ethernet link is determined. The present invention provides a detection strategy for communication layer faults in vehicle Ethernet, and does not require an external Ethernet fault test device to check the nodes in the link one by one on the actual vehicle site when a fault occurs, which fills the technical gap and improves the efficiency of fault location. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 It is a flowchart of a vehicle Ethernet fault diagnosis method provided by an embodiment of the present invention;

[0036] Figure 2 is a schematic diagram of the structure of a vehicle Ethernet link provided by an embodiment of the present invention;

[0037] Figure 3 It is a structural schematic diagram of a vehicle-mounted Ethernet fault diagnosis device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0038] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0039] Embodiment 1

[0040] Please refer to Figure 1 , is a flow chart of a vehicle Ethernet fault diagnosis method provided by an embodiment of the present invention, comprising:

[0041] S1. Send a ping test request from a first end node of an in-vehicle Ethernet link to all nodes on the in-vehicle Ethernet link until a first ping test result of all nodes is obtained.

[0042] It should be noted that the Ping test result is success or failure. If the first ping test result of a node is success, it means that the communication link from the first end node to the node is normal. If the first ping test result of the node is failure, it means that the communication link from the first end node to the node is faulty.

[0043] In step S1, the first end node sends a ping test request to all nodes on the vehicle Ethernet link.

[0044] In a preferred embodiment, before sending a ping test request from the first end node of the vehicle Ethernet link to all nodes on the vehicle Ethernet link, the method further includes:

[0045] When the user gets on the vehicle and starts the vehicle, the controller of each node in the vehicle Ethernet link is powered on and awakened;

[0046] within a preset time period after the vehicle is started, attempting to establish communication between the first end node and the second end node;

[0047] If communication is successfully established between the first end node and the second end node within the preset time period, confirming that the vehicle Ethernet link is fault-free, and stopping subsequent operations;

[0048] If communication between the first end node and the second end node fails to be successfully established within the preset time period, subsequent operations are continued.

[0049] In this embodiment, when the user gets in the vehicle and starts the vehicle, the controller of each node in the vehicle's Ethernet link will be awakened. If the first end node and the second end node successfully establish communication within the preset time, the subsequent ping test operation will not be triggered. If communication is still not successfully established after the preset time, the subsequent ping test operation will be automatically triggered.

[0050] In a preferred embodiment, before sending a ping test request from the first end node of the vehicle Ethernet link to all nodes on the vehicle Ethernet link, the method further includes:

[0051] After communication is successfully established between the first end node and the second end node, if the communication remains normal, then subsequent operations are stopped; if the communication is abnormal, then subsequent operations are continued.

[0052] In this embodiment, after the first end node and the second end node successfully establish communication, if the communication remains normal, the subsequent ping test operation is not triggered. If a communication abnormality occurs, resulting in communication disconnection, the subsequent ping test operation can also be automatically triggered.

[0053] In a preferred embodiment, after sending a ping test request from the first end node of the vehicle Ethernet link to all nodes on the vehicle Ethernet link, the method further includes:

[0054] When there is no failure result in all the first ping test results, it is confirmed that the in-vehicle Ethernet link has no fault.

[0055] S2. When there is a failure result among all the first ping test results, according to a preset node deployment order, determine a node that is closest to the first end node in a deployment order from the nodes whose first ping test results are failures, as the first faulty node.

[0056] S3. Send a ping test request from the second end node of the vehicle Ethernet link to all nodes on the vehicle Ethernet link until a second ping test result of all nodes is obtained.

[0057] S4. According to the node deployment sequence, determine, from the nodes with failed second ping test results, a node that is closest to the second end node in deployment sequence as the second faulty node.

[0058] In a preferred embodiment, the vehicle Ethernet fault diagnosis method further includes:

[0059] The first faulty node and the second faulty node are uploaded to the cloud.

[0060] In this embodiment, the result of the ping test, that is, the information of the faulty node, is automatically uploaded to the cloud. The user can log in to the cloud to view the ping test result and quickly locate the faulty node.

[0061] S5. Determine a faulty node or a faulty link segment of the in-vehicle Ethernet link according to the first faulty node and the second faulty node.

[0062] In a preferred embodiment, determining the faulty node or the faulty link segment of the vehicle Ethernet link according to the first faulty node and the second faulty node includes:

[0063] When the first fault node and the second fault node are the same node, determining that the fault node of the vehicle Ethernet link is the first fault node;

[0064] When the first faulty node and the second faulty node are not the same node, the faulty link segment of the in-vehicle Ethernet link is determined to be a link segment from the first faulty node to the second faulty node.

[0065] In a preferred embodiment, the first end node is an intelligent driving controller;

[0066] The second end node is a display terminal controller.

[0067] In a specific embodiment, Figure 2 FIG. 1 is a schematic diagram of the structure of a vehicle Ethernet link provided by an embodiment of the present invention. The first end node is an intelligent driving controller, the second end node is a display terminal controller, and the intermediate node is an intermediate node controller.

[0068] Assuming that the communication of the intermediate node controller IP1 node is abnormal, the intelligent driving controller IP0 first sends a ping test request to the intermediate node controller IP1, the intermediate node controller IP2 and the display terminal controller IP3, and obtains the first ping test result that IP1, IP2 and IP3 are all failed, and determines IP1 as the first fault node. Then the display terminal controller IP3 sends a ping test request to the intelligent driving controller IP0, the intermediate node controller IP1 and the intermediate node controller IP2, and obtains the second ping test result that IP2 is successful, IP0 and IP1 are failed second ping test results, and determines IP1 as the second fault point. If the first fault node and the second fault node are both IP1, the intermediate node controller IP1 is determined to be the fault node.

[0069] Assuming that both the intermediate node controller IP1 and the intermediate node controller IP2 have communication anomalies, the intelligent driving controller IP0 first sends a ping test request to the intermediate node controller IP1, the intermediate node controller IP2 and the display terminal controller IP3, and obtains the first ping test result that IP1, IP2 and IP3 all fail, and determines IP1 as the first fault node. Then the display terminal controller IP3 sends a ping test request to the intelligent driving controller IP0, the intermediate node controller IP1 and the intermediate node controller IP2, and obtains the second ping test result that IP0, IP1 and IP2 all fail, and determines IP2 as the second fault point. The first fault node and the second fault node are not the same node, and the link segment from the intermediate node controller IP1 to the intermediate node controller IP2 is determined to be the faulty link segment.

[0070] It should be noted that the present invention does not require an external Ethernet fault test device to check the nodes in the link one by one on site when a fault occurs, thereby improving the efficiency of fault location, greatly shortening the time for fault analysis in the development and after-sales stages of smart cars, and improving development efficiency.

[0071] Embodiment 2

[0072] Please refer to Figure 2 , is a structural diagram of a vehicle Ethernet fault diagnosis device provided by an embodiment of the present invention, comprising: a fault detection module and a fault location module;

[0073] The fault diagnosis module is used to send a ping test request from a first end node of the vehicle Ethernet link to all nodes on the vehicle Ethernet link until a first ping test result of all nodes is obtained; when there is a failure result among all the first ping test results, determine, according to a preset node layout order, a node whose layout order is closest to the first end node from the nodes whose first ping test result is a failure, as a first fault node; send a ping test request from a second end node of the vehicle Ethernet link to all nodes on the vehicle Ethernet link until a second ping test result of all nodes is obtained; and determine, according to the node layout order, a node whose layout order is closest to the second end node from the nodes whose second ping test result is a failure, as a second fault node;

[0074] The fault location module is used to determine the fault node or the fault link segment of the vehicle Ethernet link according to the first fault node and the second fault node.

[0075] Embodiment 3

[0076] Accordingly, an embodiment of the present invention provides a terminal device, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and when the processor executes the computer program, the vehicle Ethernet fault diagnosis method described in the above embodiment of the invention is implemented.

[0077] Embodiment 4

[0078] Accordingly, an embodiment of the present invention provides a storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the storage medium is located is controlled to execute the vehicle Ethernet fault diagnosis method described in the above-mentioned embodiment of the invention.

[0079] The specific embodiments described above further illustrate the purpose, technical solutions and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. It is particularly pointed out that for those skilled in the art, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of protection of the present invention.

Claims

1. A vehicle Ethernet fault diagnosis method, characterized in that: include: Sending a ping test request from a first end node of the vehicle Ethernet link to all nodes on the vehicle Ethernet link until a first ping test result of all nodes is obtained; When there is a failure result among all the first ping test results, according to the preset node layout order, determine the node closest to the first end node in the layout order from the nodes with failed first ping test results as the first fault node; Sending a ping test request from the second end node of the vehicle Ethernet link to all nodes on the vehicle Ethernet link until a second ping test result of all nodes is obtained; According to the node arrangement sequence, determine, from the nodes whose second ping test result is failed, a node that is closest to the second end node in arrangement sequence as the second fault node; A faulty node or a faulty link segment of the in-vehicle Ethernet link is determined according to the first faulty node and the second faulty node.

2. The vehicle Ethernet fault diagnosis method according to claim 1, characterized in that: The determining the faulty node or the faulty link segment of the vehicle Ethernet link according to the first faulty node and the second faulty node includes: When the first fault node and the second fault node are the same node, determining that the fault node of the vehicle Ethernet link is the first fault node; When the first faulty node and the second faulty node are not the same node, the faulty link segment of the in-vehicle Ethernet link is determined to be a link segment from the first faulty node to the second faulty node.

3. The vehicle-mounted Ethernet fault diagnosis method according to claim 1, characterized in that: Before sending a ping test request from the first end node of the vehicle Ethernet link to all nodes on the vehicle Ethernet link, the method further includes: When the user gets on the vehicle and starts the vehicle, the controller of each node in the vehicle Ethernet link is powered on and awakened; within a preset time period after the vehicle is started, attempting to establish communication between the first end node and the second end node; If communication is successfully established between the first end node and the second end node within the preset time period, confirming that the vehicle Ethernet link is fault-free, and stopping subsequent operations; If communication between the first end node and the second end node fails to be successfully established within the preset time period, subsequent operations are continued.

4. The vehicle Ethernet fault diagnosis method according to claim 1, characterized in that: Before sending a ping test request from the first end node of the vehicle Ethernet link to all nodes on the vehicle Ethernet link, the method further includes: After communication is successfully established between the first end node and the second end node, if the communication remains normal, then subsequent operations are stopped; if the communication is abnormal, then subsequent operations are continued.

5. The vehicle-mounted Ethernet fault diagnosis method according to claim 1, characterized in that: After sending a ping test request from the first end node of the vehicle Ethernet link to all nodes on the vehicle Ethernet link, the method further includes: When there is no failure result in all the first ping test results, it is confirmed that the in-vehicle Ethernet link has no fault.

6. The vehicle-mounted Ethernet fault diagnosis method according to claim 1, characterized in that: Also includes: The first faulty node and the second faulty node are uploaded to the cloud.

7. The vehicle-mounted Ethernet fault diagnosis method according to claim 1, characterized in that: The first end node is an intelligent driving controller; The second end node is a display terminal controller.

8. A vehicle-mounted Ethernet fault diagnosis device, characterized in that: include: Fault detection module and fault location module; The fault diagnosis module is configured to send a ping test request from a first end node of the vehicle Ethernet link to all nodes on the vehicle Ethernet link until a first ping test result of all nodes is obtained; when there is a failure result among all the first ping test results, determine, according to a preset node arrangement order, a node that is closest to the first end node in arrangement order from the nodes whose first ping test results are failures, as a first fault node; Sending a ping test request from the second end node of the vehicle Ethernet link to all nodes on the vehicle Ethernet link until a second ping test result of all nodes is obtained; According to the node arrangement sequence, determine, from the nodes for which the second ping test result is failed, a node that is closest to the second end node in arrangement sequence as the second fault node; The fault location module is used to determine the fault node or the fault link segment of the vehicle Ethernet link according to the first fault node and the second fault node.

9. A terminal device, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the vehicle Ethernet fault diagnosis method as claimed in any one of claims 1 to 7 when executing the computer program.

10. A storage medium, characterized in that: The storage medium includes a stored computer program, wherein when the computer program is running, the device where the storage medium is located is controlled to execute the vehicle Ethernet fault diagnosis method according to any one of claims 1 to 7.