Vehicle communication link fault positioning method and device and vehicle
By forming a detection link with the vehicle electronic control unit and associated equipment, and using the protocol processor to propagate and detect broadcast frames, the problem of inefficient troubleshooting of vehicle communication links in the prior art is solved, fast and accurate fault location is achieved, and the troubleshooting efficiency is significantly improved.
Patent Information
- Application Number
- CN202411905412.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-23
- Publication Date
- 2025-03-28
- Estimated Expiration
- 2044-12-23
AI Technical Summary
The existing technology relies on manual gradual inspections in vehicle communication link troubleshooting, which is cumbersome and inefficient, especially in multi-node situations, which consumes time and delays project progress.
The vehicle electronic control unit and associated equipment are used as network nodes and child nodes to form a detection link. Each node sets up a protocol processor, sends detection broadcast frames through the initial network node, and propagates step by step. When the link is interrupted, node information is recorded and feedback is feedback to determine the fault location.
It realizes rapid fault location of electronic control units and their associated equipment, significantly improves the troubleshooting efficiency, reduces the troubleshooting time, and improves the speed of project progress.
Smart Images

Figure CN119728405A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field related to vehicle communication, and in particular relates to a vehicle communication link fault locating method, device and vehicle. Background Art
[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.
[0003] In the development process of modern vehicles, functional testing, joint debugging and hardware expansion of electronic control units (ECUs) and their associated devices are extremely common and necessary tasks. However, in the actual development architecture, the communication links between control units are often complex and lengthy. Two debugging pieces may need to be processed or routed through multiple other control units. Any error in any link may cause the communication link to be interrupted or blocked.
[0004] Traditional link fault troubleshooting relies on manual step-by-step troubleshooting of data links, which often requires physical disconnection and step-by-step inspection. The process is cumbersome and inefficient, especially when multiple nodes are involved. The troubleshooting work is time-consuming and delays project progress.
[0005] Therefore, there is an urgent need for an automated detection method that can quickly locate vehicle link interruption nodes to improve efficiency and detection accuracy. Summary of the invention
[0006] In order to overcome the deficiencies of the above-mentioned prior art, the present invention provides a vehicle communication link fault locating method, device and vehicle, which can realize rapid fault locating of electronic control units and their associated equipment, and significantly improve the efficiency of fault detection.
[0007] In order to achieve the above object, the present invention adopts the following technical solution:
[0008] In a first aspect, the present invention provides a method for locating a vehicle communication link fault, wherein each vehicle electronic control unit and a device associated with the vehicle electronic control unit are used as a network node and a network sub-node to form a detection link, and each network node and network sub-node is provided with a protocol processor, and the method comprises:
[0009] Determine an initial network node, and propagate the detection broadcast frame step by step along the detection link through the initial network node;
[0010] When the network node on the detection link fails to propagate the received detection broadcast frame to the next-level network sub-node, the current node information data is recorded and fed back to the initial network node;
[0011] The vehicle communication link fault location is determined based on the node information data received by the initial network node.
[0012] In a second aspect, the present invention provides a vehicle communication link fault location device, wherein each vehicle electronic control unit and a device associated with the vehicle electronic control unit are used as a network node and a network sub-node to form a detection link, and each network node and network sub-node is provided with a protocol processor, and the device comprises:
[0013] A propagation module is configured to: determine an initial network node, and propagate the detection broadcast frame step by step along the detection link through the initial network node;
[0014] A detection module, which is configured to: when a network node on the detection link fails to propagate a received detection broadcast frame to a next-level network sub-node, record current node information data and feed it back to an initial network node;
[0015] A fault location module is configured to determine the location of the vehicle communication link fault based on the node information data received by the initial network node
[0016] In a third aspect, the present invention provides a vehicle, which adopts the above-mentioned vehicle communication link fault locating method.
[0017] One or more of the above technical solutions have the following beneficial effects:
[0018] The present invention forms a detection link by using each vehicle electronic control unit and the equipment associated with the vehicle electronic control unit as a network node and a network sub-node, each network node and network sub-node is provided with a protocol processor; the detection broadcast frame is sent through the initial network node, and the detection broadcast frame is propagated step by step from the initial network node. When the network node on the detection link fails to propagate the received detection broadcast frame to the next-level network sub-node, the current node information data is recorded and fed back to the initial network node, and the vehicle communication link fault position is determined according to the node information data received by the initial network node. The scheme of the present invention can realize the rapid fault location of the electronic control unit and its associated equipment, and significantly improve the efficiency of troubleshooting.
[0019] Advantages of additional aspects of the present invention will be given in part in the following description, and in part will become obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.
[0021] Figure 1 This is a flow chart of a vehicle communication link fault location method according to an embodiment of the present invention;
[0022] Figure 2 Schematic diagram of the vehicle detection link structure in an embodiment of the present invention. DETAILED DESCRIPTION
[0023] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.
[0024] It should be noted that the terms used herein are for describing specific embodiments only and are not intended to be limiting of exemplary embodiments according to the present invention.
[0025] In the absence of conflict, the embodiments of the present invention and the features of the embodiments may be combined with each other.
[0026] like Figure 1-Figure 2 As shown, the present application provides a vehicle communication link fault location method, wherein each vehicle electronic control unit and a device associated with the vehicle electronic control unit are used as a network node and a network sub-node to form a detection link, and each network node and network sub-node is provided with a protocol processor, and the method includes:
[0027] Determine an initial network node, and propagate the detection broadcast frame step by step along the detection link through the initial network node;
[0028] When the network node on the detection link fails to propagate the received detection broadcast frame to the next-level network sub-node, the current node information data is recorded and fed back to the initial network node;
[0029] The fault location of the vehicle communication link is determined based on the node information data received by the initial network node.
[0030] As an implementation method, it also includes:
[0031] An initial network node is determined, and a Ping signal is sent to a network sub-node through the initial network node. The network sub-node receives the Ping signal and feeds back a Pong response to detect connectivity of the network sub-node.
[0032] As an implementation mode, a sentinel node is set in the detection link, and the state of the link is monitored in real time by the sentinel node. When the sentinel node detects a potential failure of the network node, a detection broadcast frame is automatically triggered.
[0033] As an implementation mode, the protocol processor stores a predefined link detection protocol, and is capable of identifying and executing corresponding operation instructions, specifically including recording node information and forwarding broadcast frames.
[0034] As an implementation mode, the recorded node information includes a node ID, an operation status, and a connection status between an upper-level node and a lower-level node.
[0035] As an implementation mode, when a sentinel node finds that the first network node fails, it instructs other sentinel nodes to determine whether the first network node fails;
[0036] If more than a set number of sentinel nodes determine that the first network node fails, the initial network node is triggered to propagate the detection broadcast frame step by step, so that the first network node feeds back node failure information to the initial network node.
[0037] As an implementation mode, when the network node responds to the Ping signal sent by the sentinel node with an error, or no response to the Ping signal from the network node is received within a set time range, it is determined that the sentinel node has failed.
[0038] As an implementation mode, when the first network node is an initial network node, the network node with which the initial network node directly communicates is used as a new initial network node. When a failure occurs in the initial network node, the detection broadcast frame is propagated step by step through the new network node so that the initial network node can feed back node failure information to the new network node.
[0039] In this embodiment, each network node is matched with a corresponding protocol processor for receiving and processing the detection broadcast frame. The network node can process the received frame data according to the predefined detection content protocol and forward it to the next network sub-node according to the demand.
[0040] It should be noted that in the present application, the electronic control unit is used as a network node, wherein the electronic control unit directly connected to the PC is used as the initial network node, and the sensor connected to the electronic control unit is used as the next-level network sub-node of the electronic control unit.
[0041] In this embodiment, a node information recording module is also included, which records the information of each node during the link detection process, including the node ID, operating status, and connection status of the upper node and the lower node. All information is attached to the broadcast frame and transmitted back to the initial network node when needed.
[0042] In this embodiment, when a link interruption is detected, the current network node stops forwarding the propagation frame and transmits the fault information back to the initial network node through the data return module. The initial network node determines the exact location and nature of the fault based on the returned data.
[0043] In this embodiment, for sensor nodes that cannot be controlled by normal data, the connectivity is detected by sending Ping signals, and the sensor nodes confirm the normal state of the nodes after receiving the Pong response. The Ping-Pong response mechanism ensures the availability of all nodes and the integrity of the link.
[0044] In this embodiment, the sentinel node acts as a special node in the entire network and monitors the health status of the link in real time. When the sentinel node detects an abnormal situation, the sentinel node will actively initiate a link detection process and record all relevant data for subsequent analysis.
[0045] Specifically, when a sentinel node finds that a first network node fails, it instructs other sentinel nodes to determine whether the first network node fails;
[0046] If more than a set number of sentinel nodes determine that the first network node fails, the initial network node is triggered to propagate the detection broadcast frame step by step, so that the first network node feeds back node failure information to the initial network node.
[0047] The first network node is any network node except the initial network node.
[0048] When the first network node is the initial network node, the network node with which the initial network node directly communicates is used as the new initial network node. When the initial network node fails, the detection broadcast frame is propagated step by step through the new network node so that the initial network node feeds back node failure information to the new network node.
[0049] When an initial network node fails, a new initial network node is set so that the new initial network node can receive information about the failure of the initial network node, thereby determining the location of the failure.
[0050] In this embodiment, when the initial network node receives node error feedback, it generates a detailed error log, including the location information of the faulty node, the fault type and possible causes, provides automatic repair suggestions based on this information, and guides technicians to perform targeted fault repairs.
[0051] The present application also provides a vehicle communication link fault location device, which uses each vehicle electronic control unit and a device associated with the vehicle electronic control unit as a network node and a network sub-node to form a detection link, and each network node and network sub-node is provided with a protocol processor, and the device includes:
[0052] A propagation module is configured to: determine an initial network node, and propagate the detection broadcast frame step by step along the detection link through the initial network node;
[0053] A detection module, which is configured to: when a network node on the detection link fails to propagate a received detection broadcast frame to a next-level network sub-node, record current node information data and feed it back to an initial network node;
[0054] The fault location module is configured to determine the fault location of the vehicle communication link according to the node information data received by the initial network node.
[0055] The present application provides a vehicle, which adopts the above-mentioned vehicle communication link fault locating method.
[0056] An embodiment of the present invention provides a vehicle. For example, the vehicle can be used to execute the vehicle display method provided in each of the above embodiments. The vehicle includes:
[0057] The vehicle may include components such as RF (Radio Frequency) circuits, memories including one or more computer-readable storage media, input units, display units, sensors, audio circuits, WiFi (Wireless Fidelity) modules, processors including one or more processing cores, and power supplies. Those skilled in the art will appreciate that the above components do not limit the vehicle and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. Among them:
[0058] RF circuits can be used for receiving and sending signals during information transmission or calls. In particular, after receiving the downlink information of the base station, it is handed over to one or more processors for processing; in addition, uplink data is sent to the base station. Usually, the RF circuit includes but is not limited to an antenna, at least one amplifier, a tuner, one or more oscillators, a user identity module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier), a duplexer, etc. In addition, the RF circuit can also communicate with the network and other devices through wireless communication. The wireless communication can use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), email, SMS (Short Messaging Service), etc.
[0059] The memory can be used to store software programs and modules. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory. The memory may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the vehicle (such as audio data, a phone book, etc.), etc. In addition, the memory may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory may also include a memory controller to provide the processor and the input unit with access to the memory.
[0060] The input unit can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control. Specifically, the input unit may include a touch-sensitive surface and other input devices. The touch-sensitive surface, also known as a touch display or touchpad, can collect the user's touch operations on or near it (such as the user's operation on or near the touch-sensitive surface using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a pre-set program. Optionally, the touch-sensitive surface may include a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch direction, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the touch point coordinates, and then sends it to the processor, and can receive and execute the command sent by the processor. In addition, the touch-sensitive surface can be implemented using multiple types such as resistive, capacitive, infrared and surface acoustic wave. In addition to the touch-sensitive surface, the input unit may also include other input devices. Specifically, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as a volume control key, a switch key, etc.), a trackball, a mouse, a joystick, and the like.
[0061] The display unit can be used to display information input by the user or information provided to the user and various graphical user interfaces of the vehicle, which can be composed of graphics, text, icons, videos and any combination thereof. The display unit may include a display panel. Optionally, the display panel may be configured in the form of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), etc. Further, the touch-sensitive surface may cover the display panel. When the touch-sensitive surface detects a touch operation on or near it, it is transmitted to the processor to determine the type of touch event, and then the processor provides corresponding visual output on the display panel according to the type of touch event. The touch-sensitive surface and the display panel are implemented as two independent components to implement input and output functions, but in some embodiments, the touch-sensitive surface can be integrated with the display panel to implement input and output functions.
[0062] The vehicle may also include at least one sensor, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel according to the brightness of the ambient light, and the proximity sensor may turn off the display panel and / or backlight when the vehicle moves to the ear. As a type of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors that can be configured in the vehicle, such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be repeated here.
[0063] The audio circuit, speaker, and microphone can provide an audio interface between the user and the vehicle. The audio circuit can convert the received audio data into an electrical signal and transmit it to the speaker, which converts it into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit and converted into audio data. The audio data is then processed by the output processor and sent to another vehicle through the RF circuit, or the audio data is output to a memory for further processing. The audio circuit may also include an earphone jack to provide communication between an external headset and the vehicle.
[0064] WiFi is a short-range wireless transmission technology. The vehicle can help users send and receive emails, browse web pages, and access streaming media through the WiFi module, which provides users with wireless broadband Internet access. Although the WiFi module is shown, it is understandable that it is not a necessary component of the vehicle and can be omitted as needed without changing the essence of the invention.
[0065] The processor is the control center of the vehicle, using various interfaces and lines to connect various parts of the entire mobile phone, and by running or executing software programs and / or modules stored in the memory, and calling data stored in the memory, it executes various functions of the vehicle and processes data, thereby monitoring the mobile phone as a whole. Optionally, the processor may include one or more processing cores; preferably, the processor may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor.
[0066] The vehicle also includes a power source (such as a battery) for supplying power to various components. Preferably, the power source can be logically connected to the processor through a power management system, so that the power management system can manage charging, discharging, and power consumption. The power source can also include one or more DC or AC power sources, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0067] Although not shown, the vehicle may also include a camera, a Bluetooth module, etc., which will not be described in detail here. Specifically in this embodiment, the display unit of the vehicle is a touch screen display, and the vehicle also includes a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by one or more processors. The one or more programs include a method for executing the method shown in the above embodiment.
[0068] An embodiment of the present invention also provides a computer-readable storage medium, which is applied to a terminal, and the computer-readable storage medium stores at least one instruction, at least one program, code set or instruction set. The instruction, the program, the code set or the instruction set is loaded and executed by a processor to implement the operations performed by the vehicle in the vehicle display method of the above embodiment.
[0069] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0070] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A vehicle communication link fault location method, characterized in that: Each vehicle electronic control unit and a device associated with the vehicle electronic control unit are used as a network node and a network sub-node to form a detection link, and each network node and network sub-node is provided with a protocol processor. The method includes: Determine an initial network node, and propagate the detection broadcast frame step by step along the detection link through the initial network node; When the network node on the detection link fails to propagate the received detection broadcast frame to the next-level network sub-node, the current node information data is recorded and fed back to the initial network node; The fault location of the vehicle communication link is determined based on the node information data received by the initial network node.
2. A vehicle communication link fault location method as claimed in claim 1, characterized in that: Also includes: An initial network node is determined, and a Ping signal is sent to a network sub-node through the initial network node. The network sub-node receives the Ping signal and feeds back a Pong response to detect connectivity of the network sub-node.
3. A vehicle communication link fault location method as claimed in claim 1, characterized in that: A sentinel node is set in the detection link, and the state of the link is monitored in real time by the sentinel node. When the sentinel node detects a potential failure of the network node, a detection broadcast frame is actively triggered.
4. A vehicle communication link fault location method as claimed in claim 1, characterized in that: The protocol processor stores a predefined link detection protocol and is capable of identifying and executing corresponding operation instructions, including recording node information and forwarding broadcast frames.
5. A vehicle communication link fault location method as claimed in claim 1 or 4, characterized in that: The recorded node information includes node ID, operation status, and connection status between the upper node and the lower node.
6. A vehicle communication link fault location method as claimed in claim 3, characterized in that: When a sentinel node finds that a first network node fails, it instructs other sentinel nodes to determine whether the first network node fails; If more than a set number of sentinel nodes determine that the first network node fails, the initial network node is triggered to propagate the detection broadcast frame step by step, so that the first network node feeds back node failure information to the initial network node.
7. A vehicle communication link fault location method as claimed in claim 3 or 6, characterized in that: When the network node responds to the Ping signal sent by the sentinel node with an error, or no response to the Ping signal from the network node is received within a set time range, it is determined that the sentinel node has failed.
8. A vehicle communication link fault location method as claimed in claim 6, characterized in that: When the first network node is an initial network node, the network node with which the initial network node directly communicates is used as a new initial network node. When a failure occurs in the initial network node, a detection broadcast frame is propagated step by step through the new network node so that the initial network node feeds back node failure information to the new network node.
9. A vehicle communication link fault location device, characterized in that: Each vehicle electronic control unit and a device associated with the vehicle electronic control unit are used as a network node and a network sub-node to form a detection link, each network node and network sub-node is provided with a protocol processor, and the device includes: A propagation module is configured to: determine an initial network node, and propagate the detection broadcast frame step by step along the detection link through the initial network node; A detection module, which is configured to: when a network node on the detection link fails to propagate a received detection broadcast frame to a next-level network sub-node, record current node information data and feed it back to an initial network node; The fault location module is configured to determine the fault location of the vehicle communication link according to the node information data received by the initial network node.
10. A vehicle, characterized in that: A vehicle communication link fault locating method as described in any one of claims 1 to 8 is adopted.
Citation Information
Patent Citations
Multicasting network system and method for detecting link fault of multicasting network
CN101039167A
Automobile bus fault positioning method, diagnosis equipment and automobile detection system and method
CN112684371A
Fault equipment positioning method and device, electronic equipment, medium and program product
CN114710400A
Link state detection method and system of Internet of Things equipment
CN116346656A
Method for recognizing failure node in network
CN1874272A