CN115298553A - Fault detection method and device, fault detection system and electronic equipment - Google Patents

Fault detection method and device, fault detection system and electronic equipment Download PDF

Info

Publication number
CN115298553A
CN115298553A CN202080098716.3A CN202080098716A CN115298553A CN 115298553 A CN115298553 A CN 115298553A CN 202080098716 A CN202080098716 A CN 202080098716A CN 115298553 A CN115298553 A CN 115298553A
Authority
CN
China
Prior art keywords
fault
nodes
fault information
target
node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202080098716.3A
Other languages
Chinese (zh)
Inventor
王超
杨宇蒙
王金山
方李明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN115298553A publication Critical patent/CN115298553A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/08Locating faults in cables, transmission lines, or networks

Abstract

The embodiment of the disclosure provides a fault detection method and device, a fault detection system, an electronic device and a storage medium, wherein the fault detection method and device receive detection messages sent by at least two nodes, the detection messages comprise fault information detected by the at least two nodes, and the fault information of a target wire harness is obtained according to the fault information detected by the at least two nodes. In the embodiment of the disclosure, the fault information of the target wire harness is determined according to the detection information sent by the at least two nodes, and the fault information is determined from the dimensions of different nodes, so that the accuracy and reliability of the fault information can be improved.

Description

Fault detection method and device, fault detection system and electronic equipment Technical Field
The present disclosure relates to the field of vehicle fault detection technologies, and in particular, to a fault detection method and apparatus, a fault detection system, an electronic device, and a storage medium.
Background
Based on the requirement of the ethernet standard of the vehicle for a wiring harness (including cables and connectors) in the on-board network, the number of cables and connectors between nodes of the on-board network is more than one pair, and each node can be connected with a sensor.
In the prior art, a node detects connectivity of a vehicle-mounted network, and sends detected detection information related to the connectivity to an electronic control unit, and the electronic control unit determines fault information of the vehicle-mounted network according to the detection information sent by the node.
However, the inventors have found that at least the following problems exist in performing the processes of the embodiments of the present disclosure: and the fault information of the vehicle-mounted network is determined through the detection information fed back by a certain node, so that the problem of accuracy skewness is caused.
Disclosure of Invention
In order to solve the above technical problem, embodiments of the present disclosure provide a fault detection method and apparatus, a fault detection system, an electronic device, and a storage medium.
According to an aspect of an embodiment of the present disclosure, there is provided a fault detection method, including:
receiving detection messages sent by at least two nodes, wherein the detection messages comprise fault information detected by the at least two nodes;
and acquiring the fault information of the target wire harness according to the fault information detected by the at least two nodes.
In the embodiment of the disclosure, the fault information of the target wire harness is determined according to the detection information sent by the at least two nodes, and the fault information is determined from the dimensions of different nodes, so that the accuracy and reliability of the fault information can be improved.
In some embodiments, the obtaining fault information of the target wire harness according to the fault information detected by the at least two nodes includes:
and determining a fault range on the target wiring harness according to the overlapping part of the fault information detected by the at least two nodes on the target wiring harness.
In the embodiment of the disclosure, the fault information of the target wire harness is determined according to the overlapping part of the fault information of two or more nodes on the target wire harness, the detection information of each node is considered to have errors, and the overlapping part of the fault information of at least two nodes on the target wire harness can eliminate the error part of the detection information of at least two nodes, so that the reliability and the accuracy of the determined fault information of the target wire harness are improved.
In some embodiments, the fault information includes information indicating a fault region.
In some embodiments, if the fault information detected by the at least two nodes does not overlap on the target harness, additional fault information is obtained from other nodes, and the fault range of the target harness is determined according to the overlapping part of the fault information detected by the at least two nodes and the additional fault information on the target harness.
In the embodiment of the present disclosure, by acquiring the additional fault information so as to determine the overlapping portion of the additional fault information and the fault information detected by the at least two nodes on the target cable, the technical effect of flexibility in determining the overlapping portion is achieved.
In some embodiments, at least one of the at least two nodes is located on another beam coupled to the target beam.
In some embodiments, the at least two nodes are located at the positions of two end points of the target beam, respectively.
In the embodiment of the present disclosure, by determining the node of the positions of the two end points of the target wire harness as at least two nodes, since the detection distance is shortened, the detection efficiency can be improved, and the accumulation of errors due to a long distance can be avoided, thereby improving the detection reliability.
In some embodiments, the detection message carries a monitoring frame, and the monitoring frame carries the fault information detected by the at least two nodes.
In the embodiment of the present disclosure, by writing the detection message into the monitoring frame, network resources for transmitting the detection message can be saved.
In some embodiments, the fault information of the target harness includes a fault range and/or a fault type.
According to another aspect of the embodiments of the present disclosure, there is also provided a fault detection apparatus, including:
the communication module is used for receiving detection information sent by at least two nodes, wherein the detection information comprises fault information detected by the at least two nodes;
and the processing module is used for acquiring the fault information of the target wire harness according to the fault information detected by the at least two nodes.
In some embodiments, the processing module is specifically configured to determine a fault range on the target harness according to an overlapping portion of the fault information detected by the at least two nodes on the target harness.
In some embodiments, the fault information includes information indicating a fault region.
In some embodiments, the processing module is further configured to, if the fault information detected by the at least two nodes does not overlap on the target wire harness, obtain additional fault information from other nodes, and determine the fault range of the target wire harness according to an overlapping portion of the fault information detected by the at least two nodes and the additional fault information on the target wire harness.
In some embodiments, at least one of the at least two nodes is located on another beam coupled to the target beam.
In some embodiments, the at least two nodes are located at two endpoints of the target harness, respectively.
In some embodiments, the detection message carries a monitoring frame, and the monitoring frame carries the fault information detected by the at least two nodes.
In some embodiments, the fault information includes a fault range and/or a fault type.
According to another aspect of the embodiments of the present disclosure, there is also provided a fault detection system, where the system includes a plurality of nodes, and a plurality of wire harnesses arranged between any two nodes, and the network system further includes a fault detection device, where the fault detection device is configured to:
receiving detection messages sent by at least two nodes, wherein the detection messages comprise fault information detected by the at least two nodes;
and acquiring the fault information of the target wire harness according to the fault information detected by the at least two nodes.
In some embodiments, at least one of the at least two nodes is located on another beam coupled to the target beam.
In some embodiments, the at least two nodes are located at two endpoints of the target harness, respectively.
According to another aspect of the embodiments of the present disclosure, there is also provided an electronic device, including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to cause the at least one processor to perform the method of any of the embodiments described above.
According to another aspect of the embodiments of the present disclosure, there is also provided a computer storage medium having computer instructions for causing the computer to perform the method according to any one of the embodiments.
Drawings
The drawings are included to provide a further understanding of the embodiments of the disclosure, and are not intended to limit the disclosure. Wherein the content of the first and second substances,
FIG. 1 is a schematic view of a scenario in accordance with an embodiment of the present disclosure;
FIG. 2 is a schematic view of another embodiment of the present disclosure;
FIG. 3 is a schematic flow chart diagram of a fault detection method according to an embodiment of the disclosure;
FIG. 4 is a schematic diagram of a loop of an embodiment of the present disclosure;
FIG. 5 is a schematic flow chart diagram illustrating a fault detection method according to another embodiment of the present disclosure;
FIG. 6 is a schematic diagram illustrating the principle of determining fault information for a target harness based on an overlap portion according to an embodiment of the present disclosure;
FIG. 7 is a schematic flow chart diagram of a fault detection method according to another embodiment of the present disclosure;
FIG. 8 is a schematic diagram of a fault detection device of an embodiment of the present disclosure;
fig. 9 is a block diagram of an electronic device of an embodiment of the disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the disclosure, as detailed in the appended claims.
The fault detection method provided by the embodiment of the disclosure can be applied to application scenarios as shown in fig. 1 and fig. 2.
In the application scenarios shown in fig. 1 and fig. 2, the execution subject of the fault detection method of the embodiment of the present disclosure may be a fault detection device disposed on a vehicle.
In some embodiments, the failure detection device may be an Electronic Control Unit (ECU) disposed On a vehicle, a vehicle BOX (Telematics BOX, T-BOX), a Domain Controller (DC), a Multi-domain Controller (MDC), a vehicle Unit (OBU), a processor (CPU), a chip, and the like.
In the following examples, the fault detection device will be exemplarily described as an electronic control unit.
The application scenario shown in fig. 1 exemplarily describes a process of the vehicle 100 from a stationary state to a starting state, wherein the stationary state may be understood as that the vehicle is in a flameout state.
Specifically, as shown in 1-1 in FIG. 1, vehicle 100 is at a standstill and parked at space A. And as shown in 1-2 of fig. 1, when the user 200 performs a start operation on the vehicle 100, the electronic control unit performs the failure detection method of the embodiment of the present disclosure in order to ensure safe driving of the vehicle 100.
In the application scenario shown in fig. 2, the vehicle 300 is in a driving state, and the electronic control unit may periodically execute the fault detection method of the embodiment of the disclosure to ensure the safety of the vehicle 300 during driving.
As can be seen from the above examples, the fault detection method of the embodiments of the present disclosure may be executed by the electronic control unit when the vehicle is started; of course, the fault detection method of the embodiment of the present disclosure may also be executed by the electronic control unit in a periodic manner during the running of the vehicle.
It should be noted that the above examples are only used for exemplarily illustrating application scenarios to which the embodiments of the present disclosure may be applied, and are not to be construed as limitations on the application scenarios of the embodiments of the present disclosure.
The following describes the technical solutions of the present disclosure and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present disclosure will be described below with reference to the accompanying drawings.
According to an aspect of an embodiment of the present disclosure, a fault detection method is provided.
Referring to fig. 3, fig. 3 is a schematic flow chart of a fault detection method according to an embodiment of the disclosure.
As shown in fig. 3, the method includes:
s101: and receiving detection messages sent by at least two nodes, wherein the detection messages comprise fault information detected by the at least two nodes.
The fault detection method of the embodiment of the present disclosure may be used to detect a vehicle-mounted network of a vehicle, and based on the above example, the vehicle-mounted network may be detected by an electronic control unit or the like.
The vehicle-mounted network is used for representing a loop structure formed by connecting physical layer nodes (nodes for short) in a vehicle in a wiring harness mode and in a point-to-point connecting mode. The wiring harness comprises cables and connectors, the nodes are communicated through the wiring harness, and the connectors can be arranged on the cables between any two nodes with connection relations.
Generally, any node may be connected to multiple sensors, including but not limited to cameras and radar. For example, a certain node is connected with three cameras and three radars, and the three radars include two radio frequency radars and one laser radar.
Referring to fig. 4, fig. 4 is a schematic diagram of a loop according to an embodiment of the disclosure.
As shown in fig. 4, node a, node B, node C, and node D form a loop, and node a, node B, node C, and node D are connected to the electronic control unit, respectively.
The node A is connected with the node B and the node D respectively, and the node C is connected with the node B and the node D respectively.
The node A is further connected with a laser radar, the node C is further connected with a radio frequency radar, and the node B is further connected with a camera.
Wherein, a connector is arranged between the node A and the node B, and a connector is also arranged between the node C and the node D.
It should be noted that fig. 4 only shows the structure of the loop by way of example, and should not be construed as limiting the structure of the loop. For example, in some embodiments, node a is connected to node C, and/or node B is connected to node D, and so on.
It should be noted that, cables between two nodes, or between a node and a sensor may have a fault, and, in the meantime, a connector may also have a fault, so that the cables connected by the connector cannot be connected to each other. For example, the wiring harness between the node a and the node B (hereinafter simply referred to as the wiring harness AB) in fig. 4 may fail, or the wiring harness between the node a and the laser radar may fail, or the like. In order to ensure the normal operation of the vehicle-mounted network and ensure the safe driving of the vehicle, it is necessary to detect whether the vehicle-mounted network has a fault, and obtain a detection message including fault information. The fault of the wiring harness comprises disconnection and open circuit of the wiring harness and the like.
The detection message is obtained by sending a detection signal to the vehicle-mounted network (specifically to a wire harness between the at least two nodes and other nodes) by at least two nodes and according to feedback information corresponding to the detection signal, and the detection message can be used for representing relevant information obtained by detecting whether the vehicle-mounted network has a fault by at least two nodes.
The fault information is used for representing relevant information of faults existing in the vehicle-mounted network, and the fault information can be described from at least two aspects, wherein one aspect is a fault range, such as the fault of a wire harness in a certain range, namely the range of the faults possibly existing in the wire harness; another aspect is the type of fault, such as a short circuit, or open circuit, of the wiring harness.
The fault range of the wiring harness can be determined to be a cable fault or a connector fault, if the wiring harness is the cable fault, the fault range is specifically the fault range corresponding to the cable, and if the wiring harness is the connector fault, the fault range is specifically the fault range corresponding to the connector.
Specifically, if the connector is located within the harness fault range, it may be determined that the connector has a fault, and if there is no connector within the harness fault range, it may be determined that the cable has a fault.
In some embodiments, when a node detects whether a fault occurs in a certain wire harness, a detection signal may be sent to the wire harness of the wire harness, and the detection signal carries a monitoring frame, and when a corresponding detection message including fault information is obtained, the fault information may be written into a blank field of the monitoring frame, and the fault information includes information indicating a fault area.
In some embodiments, each node may detect whether the vehicle-mounted network fails, and when the vehicle-mounted network fails, each node obtains respective corresponding failure information, that is, one node corresponds to one failure information.
The present embodiment is now described with reference to fig. 4 as an example as follows:
the node a may send a detection signal to the harness AB to detect whether the harness AB is malfunctioning, obtain a detection message, and send the detection message to the electronic control unit. In some embodiments, node a may also share the detection message to other nodes, such as node B, or node C through a bundle between node B and node C (hereinafter referred to as bundle BC).
Of course, the node a may also send a detection signal to a wire harness (hereinafter referred to as a wire harness AD) between the node a and the node D to detect whether the wire harness AD fails, obtain a detection message, and send the detection message to the electronic control unit. Similarly, node a may also share the detection message to other nodes.
Of course, the node a may also send a detection signal to a wire harness between the node a and the lidar to detect whether the wire harness between the node a and the lidar has a fault (as shown in fig. 4, since there is no connector between the node a and the lidar, the wire harness between the node a and the lidar is a cable between the node a and the lidar), obtain a detection message, and send the detection message to the electronic control unit. Similarly, node a may also share the detection message to other nodes.
Of course, the node a may also send a detection signal to a wire harness (hereinafter, referred to as a wire harness AC) between the node a and the node C to detect whether the wire harness AC has a fault, obtain a detection message, and send the detection message to the electronic control unit. Similarly, node a may also share the detection message to other nodes.
When a detection signal is sent to the harness AC for the node a to detect whether the harness AC fails, the method may specifically include:
if the node a is indirectly connected with the node C, as shown in fig. 4, the node B is arranged between the node a and the node C, the node a sends a detection signal to the wire harness AB, and the detection signal is transmitted to the wire harness BC, and the detection message includes a detection message corresponding to the wire harness AB and a detection message corresponding to the wire harness BC; and if the node A is directly connected with the node C, the node A directly sends a detection signal to the wiring harness AC, and a detection message is obtained.
For the description of the detection message obtained by the other nodes by sending the detection signal, reference may be made to the above example, which is not described herein again.
That is, in the embodiment of the present disclosure, each node may autonomously detect whether the vehicle-mounted network has a fault, and send a detection message obtained by the detection to the electronic control unit.
In some embodiments, a trigger condition for detecting whether the vehicle-mounted network fails or not can be set autonomously by each node. The trigger condition may be set in advance based on requirements, experience, and experiments.
Specifically, the triggering condition may be a preset time interval, that is, each node detects whether the vehicle-mounted network fails at every preset time interval.
Of course, the trigger condition may also be a preset scene, that is, if the current scene is the preset scene, each node detects whether the vehicle-mounted network fails. If the preset scene is vehicle starting, each node detects whether the vehicle-mounted network has a fault or not when the vehicle is started. For another example, the preset scene is a vehicle abnormality (information related to the vehicle abnormality, such as brake failure and the like, can be preset), and when the vehicle is abnormal in the running process, each node detects whether the vehicle-mounted network has a fault.
In other embodiments, the electronic control unit may select at least two nodes from each node, and send a detection instruction for detecting whether the vehicle-mounted network fails to the at least two nodes, where the at least two nodes detect whether the vehicle-mounted network fails after receiving the detection instruction, and when the at least two nodes detect that the vehicle-mounted network fails, generate detection messages corresponding to the at least two nodes, and the at least two nodes send the corresponding detection messages to the electronic control unit, respectively.
The present embodiment is now described with reference to fig. 4 as an example as follows:
the electronic control unit selects the node a and the node C from the four nodes to detect whether the vehicle-mounted network fails, the electronic control unit sends a detection instruction for detecting whether the vehicle-mounted network fails to the node a and the node C respectively, and the node a and the node C can execute the detection process as described in the above example after receiving the detection instruction.
That is, in the embodiment of the present disclosure, the electronic control unit may select a node for detecting whether the vehicle-mounted network fails, and the node selected by the electronic control unit detects whether the vehicle-mounted network fails.
Similarly, in some embodiments, the electronic control unit may be configured to select at least two nodes, so as to provide a trigger condition for detecting whether the vehicle-mounted network has a fault by the selected at least two nodes. The trigger condition may be set in advance based on requirements, experience, and experiments.
Specifically, the triggering condition may be a preset time interval, that is, the electronic control unit selects at least two nodes at every preset time interval, and sends a detection instruction for detecting whether the vehicle-mounted network fails to the selected at least two nodes, so that the selected at least two nodes detect whether the vehicle-mounted network fails.
Of course, the trigger condition may also be a preset scene, that is, if the current scene is the preset scene, the electronic control unit selects at least two nodes, and sends a detection instruction for detecting whether the vehicle-mounted network fails to the selected at least two nodes, so that the selected at least two nodes detect whether the vehicle-mounted network fails. If the preset scene is vehicle starting, when the vehicle is started, the electronic control unit selects at least two nodes and sends a detection instruction for detecting whether the vehicle-mounted network has a fault to the selected at least two nodes, so that the selected at least two nodes detect whether the vehicle-mounted network has a fault. If the preset scene is vehicle abnormality (information related to the vehicle abnormality, such as brake failure and the like, can be preset), when the vehicle is abnormal in the operation process, the electronic control unit selects at least two nodes and sends a detection instruction for detecting whether the vehicle-mounted network has a fault to the selected at least two nodes, so that whether the vehicle-mounted network has a fault is detected by the selected at least two nodes.
It should be noted that the electronic control unit may select the at least two nodes in various ways, for example, the electronic control unit may randomly select the at least two nodes; or at least two mapping relation tables of the grounding points can be selected in advance, and the selection is carried out based on the mapping relation tables; or calculating the accuracy and/or efficiency of the detection message fed back by each node based on the detection message fed back by each node, and selecting at least two nodes according to the accuracy and/or efficiency, and the like.
Of course, the selection of the at least two nodes by the electronic control unit may also be based on requirements. The selection based on the requirement is that at least two nodes are selected specifically for a certain wiring harness.
For example, if the nodes corresponding to the two end points of a certain wire harness are a first node and a second node, respectively, at least two nodes selected by the electronic control unit are the first node and the second node, and the first node and the second node both send a detection signal to the wire harness.
The present embodiment will now be described by taking fig. 4 as an example as follows:
if the wiring harness AB needs to be detected to be in fault, the electronic control unit respectively sends a detection instruction for detecting whether the vehicle-mounted network is in fault to the node A and the node B, and after receiving the detection instruction, the node A sends a detection signal to the wiring harness AB to obtain a detection message and sends the detection message to the electronic control unit; similarly, after receiving the detection instruction, the node B sends a detection signal to the wire harness AB to obtain a detection message, and sends the detection message to the electronic control unit.
It should be noted that each node is integrated with a digital signal processing module, and the digital signal processing module may include at least one register, and at least one register may be used for storing and detecting the message. Thus, in some embodiments, each node and the electronic control unit may pre-agree on the meaning of a number at the time of fault detection, so that each node stores a detection message to a register and sends the detection message to the electronic control unit. Taking node a in fig. 4 as an example, a digital signal processing module is integrated in node a, and the digital signal processing module includes four registers, which are respectively labeled as register 1, register x, register y and register z, and any register may be a 16-bit register, specifically:
if the node a starts to detect whether the vehicle-mounted network has failed, 1 is written in the 0 bit of the register 1.
If the node a detects that the vehicle-mounted network has not failed, 1 is written into bit 1 of the register 1.
If the node A detects that the vehicle-mounted network has a fault and the fault type is open circuit, 1 is written into 2 bits of the register 1.
If the node A detects that the vehicle-mounted network has a fault and the fault type is short circuit, 1 is written into 3 bits of the register 1.
And if the node A finishes the detection on whether the vehicle-mounted network fails, writing 1 into 4 bits of the register 1.
If node a is detecting whether the on-board network is failing, then a 0 is written on 4 bits of register 1.
And if the length of the wire harness of one circle of the vehicle-mounted network is S meters, writing a binary number corresponding to S into the 5 th bit to the 15 th bit of the register 1 of the node A.
If the distance between the node A and the laser radar is XX meters, binary numbers corresponding to XX are written in the 0 th bit to the 7 th bit of the register x.
If the node a detects that the vehicle-mounted network has a fault and the fault range is XX m from the point a, binary numbers corresponding to XX are written on the 0 th bit to the 7 th bit of the register y, and if the error of the fault range is XY m, binary numbers corresponding to XY are written on the 8 th bit to the 11 th bit of the register y.
If the node A detects that the wire harness between the node A and the laser radar is in fault and the fault range is YY meters, binary numbers corresponding to YY are written in the 0 th bit and the 7 th bit of the register z, and if the fault error is XZ meters, binary numbers corresponding to XZ are written in the 8 th bit to the 11 th bit of the register z.
For the reader to more deeply understand the embodiments of the present disclosure, the principle of determining the detection message is exemplarily set forth below with reference to fig. 4 (specifically taking node a and node B in fig. 4 as an example):
s1: the node a sends a detection signal (specifically, a voltage pulse signal Ui) to the wire harness AB, and records a time T1 when the node a sends the voltage pulse signal Ui.
S2: and recording the time T2 when the node A receives the reflected pulse signal Uf transmitted back through the wiring harness AB.
S3: determining the voltage reflection coefficient beta of the wire harness AB through the amplitude of the voltage pulse signal Ui and the amplitude of the reflected pulse signal Uf, and acquiring the propagation speed v of the voltage pulse signal Ui in the wire harness AB p
S4: if beta is equal to 0, the wiring harness AB is not in fault; if beta is not equal to 0, the wiring harness AB is indicated to be in fault.
Specifically, if β is equal to 1, it indicates that the wiring harness AB is open, i.e., the fault type of the wiring harness AB is open; if beta is equal to-1, the wiring harness AB is open, namely the fault type of the wiring harness AB is short circuit; if β is not equal to 1 or-1, it indicates that the wire harness AB may have data errors due to insufficient solder joints or the like.
And can pass through v p T1 and T2 determine the fault range, e.g. fault range L = (v) p *(T2-T1))/2。
It should be noted that the above examples are only used for exemplarily illustrating the principle of determining the detection information according to the embodiments of the present disclosure, and are not to be construed as a limitation of the principle of determining the detection information.
S102: and acquiring the fault information of the target wire harness according to the fault information detected by the at least two nodes.
As can be seen in fig. 5, in some embodiments, S102 may specifically include:
s21: the method comprises the steps of obtaining fault information on a target wire harness detected by at least two nodes from fault information detected by the at least two nodes, wherein the fault information on the target wire harness detected by the at least two nodes comprises first fault information and second fault information.
In some embodiments, two of the fault information corresponding to the plurality of target harnesses may be selected, and one of the two is the first fault information, and the other of the two is the second fault information.
This embodiment is now exemplarily described on the basis of the above example:
the target wire harness is a wire harness AB; the fault information sent by the node A to the electronic control unit comprises fault information of a wiring harness AB; the fault information sent by the node B to the electronic control unit comprises fault information of a wiring harness BC and fault information of a wiring harness (hereinafter referred to as wiring harness CD) between the node C and the node D; the fault information sent by the node C to the electronic control unit comprises fault information of a wiring harness CD, fault information of a wiring harness AD, fault information of a wiring harness AB and fault information of a wiring harness BC; the fault information sent to the electronic control unit by the node D comprises fault information of the wiring harness AD and fault information of the wiring harness AB; then, the acquired first fault information may be fault information of the wire harness AB sent by the node a, and the acquired second fault information may be fault information of the wire harness AB in the fault information sent by the node C.
Of course, (2 + n) fault information corresponding to a plurality of target wire harnesses may also be selected, and some part of the fault information is referred to as first fault information, and the other part is referred to as second fault information, where n is an integer greater than 1.
This embodiment is now exemplarily described on the basis of the above example:
the target wire harness is a wire harness AB; the fault information sent by the node A to the electronic control unit comprises fault information of a wiring harness AB; the fault information sent by the node B to the electronic control unit comprises fault information of a wiring harness BC and fault information of a wiring harness (hereinafter referred to as wiring harness CD) between the node C and the node D; the fault information sent by the node C to the electronic control unit comprises fault information of a wiring harness CD, fault information of a wiring harness AD, fault information of a wiring harness AB and fault information of a wiring harness BC; the fault information sent by the node D to the electronic control unit comprises fault information of a wiring harness AD and fault information of a wiring harness AB; then, the acquired first fault information includes the fault information of the wire harness AB sent by the node a, and also includes the fault information of the wire harness AB in the fault information sent by the node C, and the acquired second fault information may be the fault information of the wire harness AB in the fault information sent by the node D.
S22: in the overlapping portion of the first failure information and the second failure information, failure information of the target wire harness is determined.
Wherein, the step may specifically include: and determining an overlapping part of the first fault information and the second fault information, and determining the fault information of the target wiring harness according to the determined overlapping part.
Wherein the overlapping portion is used to characterize the fault information contained in both the first fault information and the second fault information.
Now, the determination of the failure information of the target harness according to the overlapping portion will be exemplarily described with reference to fig. 4 and 6:
if the node A sends a detection signal to the wire harness AB (namely the target wire harness), a detection message comprising first fault information is obtained, and the first fault information comprises a first fault range and a first fault type.
As shown in fig. 6, the wire harness AB is fifteen meters long in total, and as shown in 6-1 in fig. 6, the first range in the first failure information is: the 7 th to 8 th meter positions with the end point A of the wiring harness AB as a starting point; and, the first fault type is an open circuit of the harness AB.
And if the node B sends a detection signal to the node A through the wiring harness AB, obtaining a detection message comprising second fault information, wherein the second fault information comprises a second fault range and a second fault type.
As shown in 6-2 in fig. 6, the second range in the second failure information is: the end point A of the wiring harness AB is used as a starting point, and the position of the wiring harness AB is 6.5 meters to 7.5 meters; and the second fault type is open circuit of the wiring harness AB.
Then, as can be seen from fig. 6-1 and 6-2, the overlapping portions of the first failure range and the second failure range are: starting from the end point a of the wire harness AB at the position of 7 th to 7.5 th meters, the fault range of the wire harness AB (target wire harness) is as follows: a range of 7 th to 7.5 th meters starting from an end point a of the harness AB; and, the type of failure of the harness AB (target harness) is open circuit.
It should be noted that, in the embodiment of the present disclosure, only 15 meters are taken as an example to exemplarily describe the scheme of the embodiment of the present disclosure, and the scheme is not to be understood as a limitation of the length of the wire harness of the embodiment of the present disclosure.
Referring to fig. 7, fig. 7 is a schematic flowchart illustrating a fault detection method according to another embodiment of the disclosure.
As shown in fig. 7, the method includes:
s201: and receiving detection messages sent by at least two nodes, wherein the detection messages comprise fault information detected by the at least two nodes.
For the description of S201, reference may be made to S101, which is not described herein again.
S202: judging whether the number of nodes including the fault information on the target wire harness in the fault information detected by the at least two nodes is multiple, if so, executing S203; if not, go to S206.
S203: the method comprises the steps of obtaining fault information on a target wire harness detected by at least two nodes, wherein the fault information on the target wire harness detected by the at least two nodes comprises first fault information and second fault information.
For the description of S203, reference may be made to S21, which is not described herein again.
S204: judging whether the first fault information and the second fault information have overlapping parts, if so, executing S205; if not, go to S206.
S205: in the overlapping portion of the first failure information and the second failure information, failure information of the target wire harness is determined.
For the description of S205, reference may be made to S22, which is not described herein again.
S206: additional fault information (hereinafter referred to as third fault information) is obtained from other nodes.
Based on the above example, if the target harness is the harness AB, the first failure information is transmitted by the node a, the second failure information is transmitted by the node C, and there is no overlapping portion between the first failure information and the second failure information, the electronic control unit acquires the third failure information from the node D.
S207: and determining the fault information of the target wire harness according to the first fault information and the third fault information, or determining the fault information of the target wire harness according to the second fault information and the third fault information.
The method of this step is similar to S204 and S205, specifically:
it may be determined whether there is an overlapping portion of the first fault information and the third fault information, and if so, the fault information of the target harness is determined in the overlapping portion of the first fault information and the second fault information.
Whether the second fault information and the third fault information have an overlapped part or not can also be judged, and if so, the fault information of the target wire harness is determined in the overlapped part of the second fault information and the second fault information.
It is worth mentioning that if the first fault information and the third fault information have no overlapping portion, and the second fault information and the third fault information also have no overlapping portion, additional fault information may be obtained again from other nodes; if the first failure information and the third failure information are partially overlapped (hereinafter, referred to as a first overlapped portion) and the second failure information and the third failure information are also partially overlapped (hereinafter, referred to as a second overlapped portion), a union portion of the first overlapped portion and the second overlapped portion may be determined as the failure information of the target wire harness.
According to another aspect of the embodiments of the present disclosure, there is also provided a fault detection apparatus.
Referring to fig. 8, fig. 8 is a schematic diagram of a fault detection device according to an embodiment of the disclosure.
Among them, the failure detection apparatus shown in fig. 8 may perform the failure detection method shown in fig. 2, 5, and 7.
As shown in fig. 8, the apparatus includes:
a communication module 11, configured to receive detection messages sent by at least two nodes, where the detection messages include fault information detected by the at least two nodes;
and the processing module 12 is configured to obtain fault information of the target wire harness according to the fault information detected by the at least two nodes.
In some embodiments, the processing module 12 is specifically configured to determine the fault range on the target harness according to an overlapping portion of the fault information detected by the at least two nodes on the target harness.
In some embodiments, the fault information includes information indicating a fault region.
In some embodiments, the processing module 12 is further configured to, if the fault information detected by the at least two nodes does not overlap on the target harness, obtain additional fault information from other nodes, and determine the fault range of the target harness according to an overlapping portion of the fault information detected by the at least two nodes and the additional fault information on the target harness.
In some embodiments, at least one of the at least two nodes is located on another beam coupled to the target beam.
In some embodiments, the at least two nodes are located at two endpoints of the target harness, respectively.
In some embodiments, the detection message carries a monitoring frame, and the monitoring frame carries fault information detected by the at least two nodes.
In some embodiments, the fault information includes a fault range and/or a fault type.
According to another aspect of the embodiments of the present disclosure, there is also provided a fault detection system, where the system includes a plurality of nodes, and a plurality of wire harnesses disposed between any two nodes, and the network system further includes a fault detection device, where the fault detection device is configured to:
receiving detection messages sent by at least two nodes, wherein the detection messages comprise fault information detected by the at least two nodes;
and acquiring the fault information of the target wire harness according to the fault information detected by the at least two nodes.
In some embodiments, at least one of the at least two nodes is located on another beam coupled to the target beam.
Fig. 4 may be understood as a specific embodiment of the fault detection system, in which the fault detection system includes a fault detection device, and the fault detection device is specifically an electronic control unit, and further includes four nodes (i.e., node a, node B, node C, and node D in fig. 4) connected to the electronic control unit, and a wiring harness between the nodes, such as a wiring harness between node a and node B, a wiring harness between node B and node C, and the like.
As can be seen from fig. 4, the fault detection system may further include a sensor and/or a connector connected to the node, such as a laser radar connected to the node a, a connector connected to the node a and the node B, respectively, a camera connected to the node B, a radio frequency radar connected to the node C, and a connector connected to the node C and the node D, respectively.
According to another aspect of the embodiments of the present disclosure, there is also provided an electronic device and a computer-readable storage medium.
Referring to fig. 9, fig. 9 is a block diagram of an electronic device according to an embodiment of the disclosure.
Wherein electronic device is intended to represent various forms of controllers. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
For example, the electronic device may be an electronic control unit and a chip or the like provided on a vehicle.
In particular, the electronic device comprises at least one processor 101, a communication bus 102, a memory 103 and at least one communication interface 104.
The processor 101 may be a general-purpose Central Processing Unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more ics for controlling the execution of programs according to the disclosed embodiments.
The communication bus 102 may include a path that conveys information between the aforementioned components.
The communication interface 104 may be any transceiver or IP port or bus interface, etc. for communicating with internal or external devices or apparatuses or communication networks, such as ethernet, radio Access Network (RAN), wireless Local Area Network (WLAN), etc.
The memory 103 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device that may store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that may store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disk read-only memory (CD-ROM) or other optical disk storage, optical disk storage (including compact disk, laser disk, optical disk, digital versatile disk, blu-ray disk, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory may be self-contained and coupled to the processor via a bus. The memory may also be integrated with the processor.
The memory 103 is a non-transitory computer-readable storage medium provided in the present disclosure, and the memory stores instructions executable by at least one processor to cause the at least one processor to perform the fault detection method provided in the present disclosure. The non-transitory computer-readable storage medium of the present disclosure stores computer instructions for causing a computer to perform the fault detection method provided by the present disclosure.
Memory 103, as a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules. The processor 101 executes various functional applications of the server and data processing by running non-transitory software programs, instructions, and modules stored in the memory 103, that is, implements the fault handling method in the above-described method embodiments.
The memory 103 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the electronic device, and the like. Further, the memory 103 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 103 may optionally include memory located remotely from the processor 101, which may be connected to the electronic device via a network. Examples of such networks include, but are not limited to, the internet, car networking, intranets, local area networks, mobile communication networks, and combinations thereof.
In particular implementations, processor 101 may include one or more CPUs, such as CPU0 and CPU1 in fig. 9, as one embodiment.
In particular implementations, an electronic device may include multiple processors, such as processor 101 and processor 108 in fig. 9, for example, as an embodiment. Each of these processors may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. A processor herein may refer to one or more devices, circuits, and/or processing cores that process data (e.g., computer program instructions).
In a specific implementation, the electronic device may further include an output device 105 and an input device 106, as an embodiment. The output device 105 is in communication with the processor 101 and may display information in a variety of ways (e.g., the display interfaces shown in fig. 4 and 6). For example, the output device 105 may be a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display device, a Cathode Ray Tube (CRT) display device, a projector (projector), or the like. The input device 106 is in communication with the processor 101 and can accept user input in a variety of ways. For example, the input device 106 may be a mouse, a keyboard, a touch screen device, or a sensing device, among others.
When the electronic device shown in fig. 9 is a chip, the function/implementation process of the communication interface 104 may also be implemented by pins or circuits, and the like, where the memory is a storage unit in the chip, such as a register, a cache, and the like, and the storage unit may also be a storage unit located outside the chip.
According to another aspect of the embodiments of the present disclosure, there is also provided a vehicle including the fault detection system of the above example, or including the electronic device of the above example.
It should be understood that various forms of the flows shown above, reordering, adding or deleting steps, may be used. For example, the steps described in the present disclosure may be executed in parallel, sequentially or in different orders, and are not limited herein as long as the desired results of the technical aspects of the present disclosure can be achieved.
The above detailed description should not be construed as limiting the scope of the disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present disclosure should be included in the scope of protection of the present disclosure.

Claims (20)

  1. A method of fault detection, the method comprising:
    receiving detection messages sent by at least two nodes, wherein the detection messages comprise fault information detected by the at least two nodes;
    and acquiring the fault information of the target wire harness according to the fault information detected by the at least two nodes.
  2. The method of claim 1, wherein obtaining fault information of a target harness according to the fault information detected by the at least two nodes comprises:
    and determining a fault range on the target wiring harness according to the overlapping part of the fault information detected by the at least two nodes on the target wiring harness.
  3. The method of claim 2, wherein the fault information comprises information indicating a fault region.
  4. The method according to claim 2, wherein if the fault information detected by the at least two nodes does not overlap on the target harness, additional fault information is obtained from other nodes, and the fault range of the target harness is determined according to the overlapping part of the fault information detected by the at least two nodes and the additional fault information on the target harness.
  5. The method of any one of claims 1 to 4, wherein at least one of the at least two nodes is located on another beam coupled to the target beam.
  6. The method of any one of claims 1 to 4, wherein the at least two nodes are located at the positions of two end points of the target beam, respectively.
  7. The method according to any one of claims 1 to 4, wherein the detection message carries a monitoring frame, and the monitoring frame carries fault information detected by the at least two nodes.
  8. The method according to any one of claims 1 to 4, characterized in that the fault information of the target harness comprises a fault range and/or a fault type.
  9. A fault detection device, characterized in that the device comprises:
    the communication module is used for receiving detection messages sent by at least two nodes, wherein the detection messages comprise fault information detected by the at least two nodes;
    and the processing module is used for acquiring the fault information of the target wire harness according to the fault information detected by the at least two nodes.
  10. The apparatus according to claim 9, wherein the processing module is specifically configured to determine the fault range on the target harness according to an overlapping portion of the fault information detected by the at least two nodes on the target harness.
  11. The apparatus of claim 10, wherein the fault information comprises information indicating a fault region.
  12. The apparatus of claim 10, wherein the processing module is further configured to obtain additional fault information from other nodes if the fault information detected by the at least two nodes does not overlap on the target harness, and determine the fault range of the target harness according to an overlapping portion of the fault information detected by the at least two nodes and the additional fault information on the target harness.
  13. The apparatus of any one of claims 9 to 12, wherein at least one of the at least two nodes is located on another beam coupled to the target beam.
  14. The apparatus of any one of claims 9 to 12, wherein the at least two nodes are located at the positions of two end points of the target beam, respectively.
  15. The apparatus according to any one of claims 9 to 12, wherein the detection message carries a monitoring frame, and the monitoring frame carries fault information detected by the at least two nodes.
  16. The apparatus according to any of claims 9 to 12, characterized in that the fault information comprises a fault range and/or a fault type.
  17. A network system, comprising a plurality of nodes, and a plurality of wire harnesses arranged between any two nodes, the network system further comprising a fault detection device, wherein the fault detection device is configured to:
    receiving detection messages sent by at least two nodes, wherein the detection messages comprise fault information detected by the at least two nodes;
    and acquiring the fault information of the target wire harness according to the fault information detected by the at least two nodes.
  18. The system of claim 17, wherein at least one of the at least two nodes is located on another beam coupled to the target beam.
  19. An electronic device, comprising:
    at least one processor; and
    a memory communicatively coupled to the at least one processor; wherein, the first and the second end of the pipe are connected with each other,
    the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-8.
  20. A non-transitory computer readable storage medium having stored thereon computer instructions for causing a computer to perform the method of any one of claims 1-8.
CN202080098716.3A 2020-04-02 2020-04-02 Fault detection method and device, fault detection system and electronic equipment Pending CN115298553A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/083009 WO2021196132A1 (en) 2020-04-02 2020-04-02 Fault detection method and appparatus, fault detection system and electronic device

Publications (1)

Publication Number Publication Date
CN115298553A true CN115298553A (en) 2022-11-04

Family

ID=77927349

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202080098716.3A Pending CN115298553A (en) 2020-04-02 2020-04-02 Fault detection method and device, fault detection system and electronic equipment

Country Status (2)

Country Link
CN (1) CN115298553A (en)
WO (1) WO2021196132A1 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101815107B (en) * 2010-05-13 2013-10-09 华为技术有限公司 Method, system and equipment for managing address in Ethernet ring
CN103124225B (en) * 2012-12-19 2015-12-02 杭州华为数字技术有限公司 The initialized detection method of multinode and device, system
CN108123824B (en) * 2016-11-30 2021-06-01 华为技术有限公司 Network fault detection method and device
US10642694B2 (en) * 2018-01-12 2020-05-05 Robin Systems, Inc. Monitoring containers in a distributed computing system

Also Published As

Publication number Publication date
WO2021196132A1 (en) 2021-10-07

Similar Documents

Publication Publication Date Title
US8478917B2 (en) Automatic addressing protocol for a shared bus
CN112486629B (en) Micro-service state detection method, micro-service state detection device, electronic equipment and storage medium
JP2021105614A (en) Positioning method, positioning device, electronic equipment, on-vehicle equipment, autonomous car, computer-readable storage medium, and computer program
CN105204968B (en) A kind of failure memory detection method and device
US10127092B1 (en) Method and apparatus for monitoring a message transmission frequency in a robot operating system
CN110336715B (en) State detection method, host node and cluster management system
JP6147356B2 (en) Monitoring device, control system and monitoring program
CN115390546A (en) Vehicle diagnostic communication method, device, equipment and medium
JP2015103052A (en) On-vehicle electronic control device
CN113791792A (en) Application calling information acquisition method and device and storage medium
US10310934B2 (en) Methods and systems for diagnosing a controller area network
CN115298553A (en) Fault detection method and device, fault detection system and electronic equipment
CN112689842B (en) Target detection method and device
CN112565348A (en) Intelligent equipment testing method and system, computer equipment and storage medium
CN116225804A (en) PCIe link detection method, system, equipment and storage medium
CN115933591A (en) Controller diagnosis method, device, equipment and storage medium
EP3564691A1 (en) Test device, test method, and test program
CN114328080A (en) Firmware state detection method and device and electronic equipment
US20190065421A1 (en) Determining timeout values for computing systems
CN113904957B (en) Sampling point testing method and system and main control equipment thereof
JP5228816B2 (en) Data relay device and data processing system
CN112289023A (en) Parking simulation test method and device for automatic driving and related equipment
CN116744150A (en) Method, device, equipment and storage medium for transmitting static detection parameter data
CN116679332A (en) Equipment rod detection method, device, equipment and medium based on intelligent road side equipment
CN111506046A (en) Vehicle diagnosis method in ZigBee mode and related device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination