Cable fault diagnosis apparatus and diagnosis method
By combining the detection and control modules of the HSMT standard with the prompting module, the problem of low efficiency in existing cable fault diagnosis is solved, realizing fast and accurate cable fault detection, supporting fault diagnosis of twisted pair and coaxial cables, improving diagnostic efficiency and saving costs.
Patent Information
- Application Number
- PCT/CN2024/112683
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-08-16
- Publication Date
- 2026-02-19
AI Technical Summary
Existing cable fault diagnosis methods are inefficient, especially for long or multi-level cables, making it difficult to quickly and accurately locate the fault point.
It adopts detection and control modules that conform to the HSMT standard, connects to cables through connectors, and uses serializer or deserializer chips to realize fault diagnosis. It supports fault detection of twisted pair and coaxial cable, and improves diagnostic efficiency by combining prompting module and control module.
It enables rapid and accurate diagnosis of cable faults, improves fault diagnosis efficiency, supports fault detection for different types of cables, and saves costs.
Smart Images

Figure CN2024112683_19022026_PF_FP_ABST
Abstract
Description
Cable fault diagnosis device and diagnosis method TECHNICAL FIELD
[0001] The present application relates to the technical field of fault diagnosis, in particular to a cable fault diagnosis device and diagnosis method. BACKGROUND
[0002] With the development of vehicle intelligence, one or more cameras and display screens can be equipped in a vehicle to assist the driver in driving and meet the function of in-vehicle entertainment. The camera or display screen can be connected with a controller in the vehicle through a cable. The controller and the camera or the controller and the display screen can realize the transmission of multimedia data such as audio and video through the cable. Due to the long distance or the consideration of installation process, the length of the cable between the camera or the display screen and the controller is relatively long. This poses a challenge to the fault diagnosis of the cable. The existing cable fault diagnosis is to determine the fault condition by checking each section, which is low in fault diagnosis efficiency.
[0003] SUMMARY
[0004] The present application provides a cable fault diagnosis device and diagnosis method, which can quickly diagnose the cable fault condition and improve the cable fault diagnosis efficiency.
[0005] In a first aspect, the present application provides a cable fault diagnosis device, which comprises a control module, a first detection module and a first connector. The first detection module conforms to the vehicle-mounted wired high-speed media transmission (HSMT) standard. The control module is connected with the first detection module, and the first detection module is connected with the first connector. The first connector is used to connect a first cable to be diagnosed, and the first cable is used to transmit multimedia data. The first detection module is used to diagnose the fault condition of the first cable. The control module is used to control the first detection module to diagnose the fault of the first cable.
[0006] Exemplarily, the first detection module comprises a serializer chip or a deserializer chip conforming to the HSMT standard.
[0007] In the above scheme, since the HSMT standard specifies the requirements for line fault detection, the specific requirements can detect open circuit (including single-line open circuit and double-line open circuit) and short circuit (including single-line to ground, double-line to ground and double-line between). It is also required to locate the fault position. Based on this, the fault diagnosis device provided in the present application uses a module conforming to the HSMT standard to realize the fault point diagnosis of the multimedia data transmission cable. Only the cable needs to be connected to the device, and then the control module in the device can control the detection module to perform fault diagnosis. If the cable has an open circuit or a short circuit fault, the detection module can diagnose the specific fault point position. The whole fault diagnosis process is convenient and fast, which greatly improves the cable fault diagnosis efficiency.
[0008] In a possible implementation, the cable fault diagnosis apparatus includes a prompt module. The control module is further configured to: after the first connector is connected to the first cable, control the first detection module to detect a first length. In a case where the first length is less than or equal to a first preset length, the control module controls the prompt module to prompt the user that the cable is not plugged in successfully. The first length is a length of a line between the first detection module and a first position.
[0009] In the above solution, if it is detected that the first length is less than or equal to the first preset length, it indicates that the cable is not plugged in successfully. Then the control module can inform the user that the cable is not plugged in successfully through the prompt module, so that the user can re-plug in the cable for rapid detection.
[0010] In a possible implementation, in a case where the first length is greater than the first preset length, the result diagnosed by the first detection module includes that the first position in the first cable is faulty, and the control module controls the prompt module to prompt the user of the result.
[0011] In the above solution, if it is detected that the first length is greater than the first preset length, it indicates that the cable is plugged in successfully, and the fault result diagnosed is a correct result. Then the control module can inform the user of the diagnosis result through the prompt module.
[0012] In a possible implementation, after the control module controls the first detection module to detect the first length, the control module further includes: reading the first length from the first detection module, and comparing the first length with the first preset length. Alternatively, after the control module controls the first detection module to detect the first length, the first detection module is further configured to: compare the detected first length with the first preset length, and send the comparison result to the control module.
[0013] In the above solution, the comparison operation is not limited to being performed by the control module or the detection module, and the implementation manner is flexible.
[0014] In a possible implementation, the control module is specifically configured to: in a case where multimedia data transmission in the first cable is detected to stop, control the first detection module to diagnose a fault of the first cable.
[0015] In the above solution, in one case, the stop of cable data transmission is caused by a fault, and in this case, the fault of the cable can be detected in time and quickly when the cable data transmission is perceived to stop. In another case, the stop of cable data transmission is caused by normal data transmission, and in this case, the state of the cable can be checked at irregular intervals to ensure normal transmission of data next time.
[0016] In a possible implementation, the foregoing apparatus further includes a second detection module and a second connector. The foregoing second detection module complies with a vehicle-mounted wired high-speed media transmission (HSMT) standard. The foregoing control module is connected with the foregoing second detection module, and the foregoing second detection module is connected with the foregoing second connector. The foregoing second connector is configured to connect a second cable to be diagnosed. The foregoing second cable is configured to transmit multimedia data. The type of the foregoing second cable is different from the type of the foregoing first cable. The type of the foregoing second connector is different from the type of the foregoing first connector. The foregoing second detection module is configured to diagnose a fault condition of the foregoing second cable. The control module is configured to control the foregoing second detection module to diagnose a fault of the foregoing second cable.
[0017] In the foregoing scheme, the diagnosis apparatus can diagnose faults of two different types of cables, thereby expanding the application range.
[0018] In a possible implementation, the foregoing first detection module is connected with the foregoing first connector through a first switch. The foregoing apparatus further includes a second connector. The foregoing first detection module is connected with the foregoing second connector through a second switch.
[0019] The foregoing second connector is configured to connect a second cable to be diagnosed, and the foregoing second cable is configured to transmit multimedia data. The type of the foregoing second cable is different from the type of the foregoing first cable. The type of the foregoing second connector is different from the type of the foregoing first connector.
[0020] The foregoing control module is further configured to control the foregoing first detection module to diagnose a fault of the foregoing second cable.
[0021] In the foregoing scheme, the diagnosis apparatus can also diagnose faults of two different types of cables. The difference is that, in this scheme, only one detection module needs to be configured, and the detection module is connected with different types of cable connectors through switches to diagnose faults of corresponding types of cables. This scheme can save one detection module and save costs.
[0022] In a possible implementation, the foregoing control module is further configured to: receive a first instruction for diagnosing a fault of a first cable, and control the foregoing first switch to be closed based on the foregoing first instruction. The foregoing control module is specifically configured to control the foregoing first detection module to diagnose a fault of the foregoing first cable after the foregoing first switch is closed. And / or, the foregoing control module is further configured to: receive a second instruction for diagnosing a fault of a second cable, and control the foregoing second switch to be closed based on the foregoing second instruction. The foregoing control module is specifically configured to control the foregoing first detection module to diagnose a fault of the foregoing second cable after the foregoing second switch is closed.
[0023] In the foregoing scheme, a fault of a corresponding type of cable can be diagnosed according to an instruction, which is convenient to operate and flexible to apply.
[0024] In a possible implementation, one of the first cable and the second cable is a coaxial cable, and the other is a twisted pair cable.
[0025] In a possible implementation, one of the first connector and the second connector is a FAKRA Z code connector, and the other is a HSD Z code connector. The FAKRA Z code connector is used to connect the coaxial cable, and the HSD Z code connector is used to connect the twisted pair cable.
[0026] In the solution, the FAKRA Z code connector and the HSD Z code connector are commonly used connectors of a vehicle multimedia data cable, and the diagnostic device is configured with the connectors to facilitate quick connection of the vehicle multimedia data cable and improve the cable diagnosis efficiency.
[0027] In a possible implementation, the device further includes one or more of a power module, an indicator, a button, and a control interface, and the power module is configured to supply power to the control module and the first detection module.
[0028] The power module is configured to supply power to the control module and the first detection module.
[0029] The indicator includes an indicator for indicating whether power is supplied and an indicator for indicating whether a fault is diagnosed.
[0030] The button is configured to trigger the device to perform fault diagnosis.
[0031] The control interface is configured to be connected to a host computer.
[0032] In the solution, the diagnostic device includes the power module, the indicator, the button, and the control interface, which can make the functions more comprehensive and facilitate implementation of the cable fault diagnosis and improve the user experience.
[0033] In a second aspect, the present application provides a cable fault diagnosis method, which includes: controlling a first detection module to perform fault diagnosis on a first cable; and receiving a first diagnosis result from the first detection module.
[0034] The first detection module meets a vehicle wired high-speed media transmission (HSMT) standard and is configured to diagnose a fault of the first cable. The first cable is configured to transmit multimedia data, the first cable is connected to a first connector, and the first connector is connected to the first detection module.
[0035] In a possible implementation, the first detection module includes a serializer chip or a deserializer chip that meets the vehicle wired high-speed media transmission (HSMT) standard.
[0036] In a possible implementation, the method further includes: after the first connector is connected with the first cable, controlling the first detection module to detect a first length. In a case where the first length is less than or equal to a first preset length, controlling a prompt module to prompt a user that the cable is not successfully plugged in. The first length is a length of a line between the first detection module and a first position.
[0037] In a possible implementation, in a case where the first length is greater than the first preset length, the first diagnostic result includes that the first position in the first cable is faulty, and the prompt module is controlled to prompt the user with the first diagnostic result.
[0038] In a possible implementation, after the first detection module is controlled to detect the first length, the method further includes: reading the first length from the first detection module, and comparing the first length with the first preset length. Alternatively, a comparison result of the first length and the first preset length is read from the first detection module.
[0039] In a possible implementation, the first detection module is controlled to diagnose the fault of the first cable, including: in a case where multimedia data transmission in the first cable is detected to stop, the first detection module is controlled to diagnose the fault of the first cable.
[0040] In a possible implementation, the method further includes: controlling a second detection module to diagnose a fault of a second cable. A second diagnostic result is received from the second detection module. The second detection module meets a vehicle-mounted wired high-speed media transmission (HSMT) standard, and is used to diagnose the fault of the second cable. The second cable is used to transmit multimedia data, the second cable is connected with a second connector, and the second connector is connected with the second detection module. The second connector is of a type different from that of the first connector. The second cable is of a type different from that of the first cable.
[0041] In a possible implementation, the first detection module is connected with the first connector through a first switch, and is connected with a second connector through a second switch. The second connector is used to connect a second cable, and the second cable is used to transmit multimedia data. The second connector is of a type different from that of the first connector. The method further includes: controlling the first detection module to diagnose a fault of the second cable. The second cable is of a type different from that of the first cable. A third diagnostic result is received from the first detection module.
[0042] In a possible implementation, the foregoing method further includes: receiving a first instruction of performing fault diagnosis on the first cable, and controlling the first switch to be closed based on the first instruction. The controlling the first detection module to perform fault diagnosis on the first cable includes: after the first switch is closed, controlling the first detection module to perform fault diagnosis on the first cable.
[0043] In a possible implementation, the foregoing method further includes: receiving a second instruction of performing fault diagnosis on the second cable, and controlling the second switch to be closed based on the second instruction. The controlling the first detection module to perform fault diagnosis on the second cable includes: after the second switch is closed, controlling the first detection module to perform fault diagnosis on the second cable.
[0044] In a possible implementation, one of the first cable and the second cable is a coaxial cable, and the other is a twisted pair cable.
[0045] One of the first connector and the second connector is a FAKRA Z code connector, and the other is a HSD Z code connector. The FAKRA Z code connector is used to connect the coaxial cable, and the HSD Z code connector is used to connect the twisted pair cable.
[0046] In a third aspect, the present application provides a control device, which includes a processor and a memory. The memory is coupled to the processor, and the processor can implement the method described in any one of the foregoing second aspects when executing the computer program or computer instructions stored in the memory. The control device can further include a communication interface, which is used for communication between the control device and other control devices. For example, the communication interface can be a transceiver, a circuit, a bus, a module, or other types of communication interfaces.
[0047] In a possible implementation, the control device can include:
[0048] a memory, configured to store computer programs or computer instructions;
[0049] a processor, configured to: control a first detection module to perform fault diagnosis on a first cable, and receive a first diagnosis result from the first detection module.
[0050] It should be noted that the computer programs or computer instructions in the memory can be pre-stored or downloaded from the Internet and stored when the control device is used. The source of the computer programs or computer instructions in the memory is not specifically limited in the present application. The coupling between the devices, units or modules in the embodiments of the present application is indirect coupling or connection, which can be electrical, mechanical or other forms, and is used for information interaction between the devices, units or modules.
[0051] In a fourth aspect, the present application provides a computer readable storage medium storing a computer program or computer instructions, which is executed by a processor to implement the method described in any one of the second aspect.
[0052] In a fifth aspect, the present application provides a computer program product, which, when executed by a processor, implements the method described in the fourth aspect.
[0053] The solutions provided in the second aspect to the fifth aspect are used to implement or assist in implementing the solutions provided in the first aspect, and thus can achieve the same or corresponding beneficial effects as the solutions corresponding to the first aspect, which will not be described here again. BRIEF DESCRIPTION OF DRAWINGS
[0054] FIGS. 1 and 2 are schematic diagrams of cable connection in a vehicle;
[0055] FIG. 3 is a schematic diagram of a structure of a cable diagnosis device provided in an embodiment of the present application;
[0056] FIGS. 4 and 5 are schematic diagrams of lengths detected by the cable diagnosis device provided in an embodiment of the present application;
[0057] FIGS. 6 and 7 are schematic diagrams of structures of another cable diagnosis device provided in an embodiment of the present application;
[0058] FIG. 8 is a schematic diagram of a method flow provided in an embodiment of the present application;
[0059] FIG. 9 is a schematic diagram of a structure of a control device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0060] In the embodiments of the present application, “multiple” refers to two or more. In the embodiments of the present application, “and / or” is used to describe the association relationship of the associated objects, which represents three independent relationships, for example, A and / or B, which can represent: A exists alone, B exists alone, or A and B exist simultaneously. The description such as “at least one of a1, a2, …, and an (or at least one)” adopted in the embodiments of the present application includes any one of a1, a2, …, and an exists alone, and also includes any combination of a1, a2, …, and an exists, each of which can exist independently; for example, the description of “at least one of a, b, and c” includes the cases of a alone, b alone, c alone, a and b in combination, a and c in combination, b and c in combination, or abc in combination.
[0061] The terms "first", "second", and the like in the present application are used to distinguish between elements or items that have substantially the same function and are similar, and it should be understood that there is no logical or chronological dependency between "first", "second", "n-th", and the quantity and execution order are not limited. It should also be understood that although the following description uses the terms first, second, and the like to describe various elements, these elements should not be limited by the terms. These terms are only used to distinguish one element from another.
[0062] In various embodiments of the present application, the terms and / or descriptions between various embodiments are consistent and can be referred to each other if there is no special description and logical conflict. The technical features in different embodiments can be combined to form new embodiments according to their inherent logical relationship.
[0063] The possible application scenarios of the embodiments of the present application will be introduced first.
[0064] For example, in a specific implementation, one or more cameras and display screens can be equipped in a vehicle to assist the driver in driving and meet the in-vehicle entertainment function. The camera or display screen can be connected to the controller in the vehicle through a cable. For ease of understanding, reference can be made to FIG. 1.
[0065] As shown in (a) of FIG. 1, the camera is connected to the controller 1 in the vehicle through a cable. The image data or video data collected by the camera can be transmitted to the controller 1 through the cable. The controller 1 can also send control signals to the camera through the cable. For example, the transmission of multimedia data between the camera and the controller 1 can be realized through the gigabit multimedia serial link (GMSL) protocol, the flat panel display link (FPD-Link) protocol, or the Clockless Link protocol for transmitting data through a pair of differential lines. It can be understood that the data transmission protocol understood here is only an example and is not limited to the embodiments of the present application.
[0066] As shown in (b) of FIG. 1, the display screen is connected with the controller 2 in the vehicle through a cable. The controller 2 can send audio and video data, image data or control signals and the like to the display screen through the cable. Exemplarily, the transmission of multimedia data between the display screen and the controller 2 can be implemented through a gigabit multimedia serial link (GMSL) protocol, a flat panel display link (FPD-Link) protocol or a gigabit video interface (GVIF) protocol and the like. It can be understood that the data transmission protocol understood herein is only an example and is not limited to the embodiments of the present application.
[0067] Exemplarily, the controller 1 or the controller 2 in the vehicle shown in FIG. 1 can be a vehicle domain controller (VDC), a vehicle control unit (VCU), a cockpit domain controller (CDC) or an intelligent driving controller (such as an advanced driving assistance system controller and the like) and the like. The specific type of the controller is not limited in the embodiments of the present application.
[0068] It can be understood that the above introduction is mainly taken as an example of the camera or the display screen. In the specific implementation, the device connected with the controller in the vehicle through the cable is not limited to the camera or the display screen. It can also be a vehicle-mounted audio amplifier or a vehicle-mounted printer and the like which can realize the transmission of multimedia data such as audio and video through the cable. The embodiments of the present application will not be described one by one. For the convenience of description, the camera or the display screen will be mainly taken as an example for introduction in the sequel.
[0069] Based on the above introduction, since the camera or the display screen is connected with the controller in the vehicle through the cable, the fault diagnosis of the cable is a problem to be solved. Especially when the length of the cable is relatively long or even the cable is connected through a plurality of interconnectors, this poses a challenge to the fault diagnosis of the cable. For example, taking the multi-stage connected cable as an example, it can be exemplarily referred to FIG. 2. FIG. 2 takes the cable connection between the camera and the controller 1 as an example, and it can be seen that the cable between the camera and the controller 1 is a multi-stage connected cable. The cable includes a plurality of segments, and each segment of the cable is connected through an interconnector. In this case, the existing cable fault diagnosis is to determine the fault condition by checking each segment, and the fault diagnosis efficiency is relatively low.
[0070] In order to quickly diagnose the cable fault condition and improve the cable fault diagnosis efficiency, the embodiment of the present application provides a cable fault diagnosis device and related diagnosis method. The following will be exemplarily introduced in combination with the drawings.
[0071] Firstly, referring to FIG. 3, the cable fault diagnosis device 300 provided by the embodiment of the present application is exemplarily shown. For the convenience of description, the cable fault diagnosis device 300 will be referred to as device 300 hereinafter. The device 300 can include a control module 310, a first detection module 320 and a first connector 330. The control module 310 is connected with the first detection module 320. The first detection module 320 is connected with the first connector 330.
[0072] Exemplarily, the control module 310 can be used to control the first detection module 320 to realize the cable fault diagnosis. Exemplarily, the control module 310 can be a microcontroller unit (MCU) or other circuit with control function, and the embodiment of the present application does not limit this.
[0073] Exemplarily, the first detection module 320 can be a detection module conforming to the high-speed media transmission system (HSMT) standard. For example, the first detection module 320 can include a serializer chip or a deserializer chip conforming to the HSMT standard.
[0074] Exemplarily, in one possible implementation, the first detection module 320 can be used to diagnose the fault condition of the twisted pair line and / or the coaxial line. When the first detection module 320 diagnoses the fault condition of the twisted pair line, the first detection module 320 can be said to work in a twisted pair line diagnosis mode. When the first detection module 320 diagnoses the fault condition of the coaxial line, the first detection module 320 can be said to work in a coaxial line diagnosis mode.
[0075] Exemplarily, in the twisted pair line diagnosis mode, the first detection module 320 can diagnose one or more of the following fault conditions of the twisted pair line: single line open circuit, double line open circuit, line-to-ground short circuit, line-to-line short circuit fault and fault point position, etc.
[0076] Exemplarily, in the coaxial line diagnosis mode, the first detection module 320 can diagnose one or more of the following fault conditions of the coaxial line: open circuit, short circuit and fault point position, etc.
[0077] Exemplarily, the first detection module 320 can be implemented by using arc reflection method, three-pulse method, time domain reflectometry (TDR) measurement method or the like to diagnose the fault condition, and the embodiments of the present application do not limit this.
[0078] In another possible implementation, the first detection module 320 can also be used to detect whether the cable connected to the first connector 330 is properly plugged. The specific implementation will be described later, and will not be described here in detail.
[0079] Exemplarily, the first connector 330 is used to connect the cable to be diagnosed. For the convenience of subsequent description, the cable is referred to as the first cable. Exemplarily, the control module 310 can control the first detection module 320 to diagnose the fault of the first cable.
[0080] Exemplarily, the first cable can be used to transmit multimedia data. Exemplarily, the first cable can be a vehicle-mounted high-speed media transmission cable. For example, the first cable can be the cable between the controller 1 and the camera shown in FIG. 1 or FIG. 2, or the cable between the controller 2 and the display shown in FIG. 1, and the like. The first cable can be a twisted pair or a coaxial cable, for example.
[0081] Exemplarily, in one implementation, the first connector 330 can be a FAKRA connector used to connect a coaxial cable for transmitting multimedia data, or other connector types used to connect the coaxial cable. Exemplarily, the FAKRA connector can be a FAKRA Z code or a FAKRA A code, a FAKRA B code or other types of connectors. The embodiments of the present application do not limit this.
[0082] In another implementation, the first connector 330 can be a high-speed data (HSD) connector, a USCAR-30 connector or other connector types used to connect a twisted pair for transmitting multimedia data. Exemplarily, the HSD connector can be a HSD Z code or a HSD A code, a HSD B code or other types of connectors. The embodiments of the present application do not limit this.
[0083] In one possible implementation, the apparatus 300 can further include a prompt module 340, for example, as shown in FIG. 3. The prompt module 340 can be connected with the control module 310. The control module 310 can prompt the user with the cable diagnosis result through the prompt module 340.
[0084] Exemplarily, in one possible implementation, the prompting module 340 can be a display screen, for example. The control module 310 can send the cable diagnosis result to the display screen for display. Exemplarily, in one possible implementation, the display screen can interact with the user, receive the user's input instructions and respond. For example, the display screen can be a touch screen. Alternatively, in another possible implementation, the apparatus 300 further comprises an input module such as a touchpad keyboard or a stylus. The display screen can cooperate with the input module to receive the user's instructions.
[0085] Exemplarily, in another possible implementation, the prompting module 340 can be a voice interaction module, for example. The control module 310 can voice broadcast the cable diagnosis result to the user through the voice interaction module. In another implementation, the voice interaction module can also receive the user's voice instructions and respond.
[0086] It can be understood that the above description of the prompting module 340 is only exemplary and does not constitute a limitation on the embodiments of the present application.
[0087] In one possible implementation, the apparatus 300 can further comprise a power module 350, for example as shown in FIG. 3. The power module 350 can be connected with the control module 310 and the first detection module 320 for powering the control module 310 and the first detection module 320. Optionally, if the apparatus 300 further comprises a prompting module 340, the power module 350 can be connected with the prompting module 340 for powering the prompting module 340.
[0088] Exemplarily, in one possible implementation, the power module 350 can be used independently to power the connected modules. Alternatively, in another possible implementation, the power module 350 can introduce an external power source to power the connected modules. For example, the power module can support a vehicle-mounted power source input of 9V-36V to power the connected modules. Exemplarily, in one implementation, the power module 350 can be connected with a cigarette lighter interface on the vehicle. That is, the vehicle can input power to the power module 350 through the cigarette lighter interface. Alternatively, in another implementation, the power module 350 can be connected with a USB charging interface of the vehicle through a charging cable to obtain the vehicle-mounted power source. It can be understood that the description herein is only exemplary and does not constitute a limitation on the embodiments of the present application.
[0089] In one possible implementation, the apparatus 300 can further comprise a physical button 360, for example as shown in FIG. 3. The physical button 360 is connected with the control module 310. The physical button 360 is used to trigger the apparatus 300 to perform fault diagnosis. For example, the user presses the physical button 360, the control module 310 receives the trigger signal and controls the first detection module 320 to perform cable diagnosis in response to the trigger signal.
[0090] In a possible implementation, the apparatus 300 can further include an indicator 370, as shown in FIG. 3. The indicator 370 is connected to the control module 310, and the control module 310 controls the on-off of the indicator 370. For example, the indicator 370 can include two indicators. One is an indicator that can be used to indicate whether the apparatus 300 is powered on, referred to as indicator 1. For example, after the apparatus 300 is powered on and the internal state self-check is passed, the indicator 1 is always on, indicating that the apparatus 300 is in a normal state and can be used. The other is an indicator that can be used to indicate whether a fault is diagnosed, referred to as indicator 2. For example, the indicator 2 is only on after the cable diagnosis is completed, and is not on after the power is turned on or during the cable diagnosis. The indicator 2 is on and red, indicating that the cable diagnosis has a fault, and the indicator 2 is on and green, indicating that the cable diagnosis is normal. It can be understood that the above description of the indicators is only an example, and does not limit the embodiments of the present application.
[0091] In a possible implementation, the apparatus 300 can further include a host computer connection interface 380, as shown in FIG. 3. The host computer connection interface 380 is connected to the control module 310. The host computer connection interface 380 is used to connect to an external host computer. The host computer can be a computer that can directly issue control commands. For example, it can be a computer, a tablet computer, or a mobile phone, and the embodiments of the present application do not limit the host computer. The control module 310 can communicate with the host computer through the host computer connection interface 380. For example, the control module 310 can receive a control instruction from the host computer or send a diagnosis result to the host computer.
[0092] In a possible implementation, in the apparatus 300 shown in FIG. 3, after the first connector 330 is connected to the first cable, the control module 310 can control the first detection module 320 to perform fault diagnosis on the first cable. The implementation process of the fault diagnosis is described below.
[0093] For example, in a possible implementation, the apparatus 300 includes the physical button 360. After the user connects the first cable to the first connector 330, the user can press the physical button 360. The control module 310 receives a trigger signal that the user presses the physical button 360, and sends a cable diagnosis instruction to the first detection module 320 in response to the trigger signal. After receiving the cable diagnosis instruction, the first detection module 320 starts to perform the cable diagnosis operation.
[0094] Alternatively, in one possible implementation, the apparatus 300 includes the prompting module 340 described above. If the prompting module 340 is a display screen, the user can input a trigger signal for the cable diagnosis by the display screen after connecting the first cable to the first connector 330. For example, the user can click a pre-set control button on the display screen. Alternatively, if the prompting module 340 is a voice interaction module, the user can input a trigger signal for the cable diagnosis by the voice interaction module after connecting the first cable to the first connector 330. For example, the user can input a voice signal to request starting the cable diagnosis. These trigger signals are sent to the control module 310 by the prompting module 340. The control module 310 can send a cable diagnosis instruction to the first detection module 320 in response to the trigger signal. The first detection module 320 starts to perform the cable diagnosis operation after receiving the cable diagnosis instruction.
[0095] It can be understood that the above-mentioned ways of triggering the cable diagnosis are only examples and are not intended to limit the embodiments of the present application.
[0096] For example, in one possible implementation, the type of the first cable connected to the first connector 330 is fixed. Based on the above description, the first cable is fixed as a twisted pair cable or fixed as a coaxial cable. The first detection module 320 can pre-set the diagnosis mode based on the type of the first cable connected to the first connector 330. For example, if the type of the first cable is a twisted pair cable, the first detection module 320 can be pre-set as the twisted pair diagnosis mode. Alternatively, if the type of the first cable is a coaxial cable, the first detection module 320 can be pre-set as the coaxial diagnosis mode. Based on this, the first detection module 320 can perform the cable diagnosis operation according to the pre-set diagnosis mode after receiving the cable diagnosis instruction. The following is an example.
[0097] Exemplarily, in a possible implementation, the diagnostic mode of the first detection module 320 can be pre-set at factory. In another possible implementation, the diagnostic mode of the first detection module 320 can be set by the user after the device 300 is activated by the user, and the user sets the diagnostic mode by interacting with the device 300 through the prompt module 340. For example, if the prompt module 340 is a display screen, the control module 310 can receive the configuration instruction of the user through the display screen. Alternatively, if the prompt module 340 is a voice interaction module, the control module 310 can receive the voice information of the configuration diagnostic mode input by the user through the voice interaction module, and then generate a configuration instruction. The configuration instruction indicates a specific diagnostic mode. Then, the control module 310 sends a diagnostic mode setting instruction to the first detection module 320 based on the configuration instruction. The diagnostic mode setting instruction also indicates the specific diagnostic mode. The first detection module 320 completes the setting of the diagnostic mode based on the instruction. The specific implementation of the preset diagnostic mode is not limited in the embodiments of the present application.
[0098] Exemplarily, in a possible implementation, after the first detection module 320 obtains the diagnostic result after completing the diagnosis, the diagnostic result can be sent to the control module 310. Alternatively, in another possible implementation, after the control module 310 sends the cable diagnostic instruction to the first detection module 320, the information in the register of the first detection module 320 can be polled and read. The register can be used to store the diagnostic result of the first cable. After the control module 310 reads the diagnostic result of the first cable, the diagnostic result can be informed to the user through the prompt module 340.
[0099] Exemplarily, if the first cable is fault-free, the diagnostic result indicates that the first cable is normal and fault-free. If the first cable has a fault, the diagnostic result can include, for example, the type of the fault and the location of the fault point. For example, if the first cable is a twisted pair, the type of the fault can be a single-line open circuit fault of the first cable, and the location information of the corresponding fault point is the location of the single-line open circuit in the first cable. Alternatively, the type of the fault can be a double-line open circuit fault of the first cable, and the location information of the corresponding fault point is the location of the double-line open circuit in the first cable. Alternatively, the type of the fault can be a line-to-ground short circuit of the first cable, and the location information of the corresponding fault point is the location of the line-to-ground short circuit in the first cable. Alternatively, the type of the fault can be a line-to-line short circuit fault of the first cable, and the location information of the corresponding fault point is the location of the line-to-line short circuit in the first cable. For another example, if the first cable is a coaxial cable, the type of the fault can be an open circuit or a short circuit fault of the first cable, and the location information of the corresponding fault point is the location of the open circuit or the short circuit in the first cable. It can be understood that the description of the diagnostic result is only exemplary and does not constitute a limitation on the embodiments of the present application.
[0100] Exemplarily, in a possible implementation, after obtaining the diagnosis result, the control module 310 can first send a command of stopping the cable diagnosis to the first detection module 320, so that the first detection module 320 stops the cable diagnosis and saves energy consumption.
[0101] Exemplarily, in a possible implementation, since the first cable is manually connected to the first connector 330 by the user, the connection result includes two cases: the cable is successfully connected and the cable is not successfully connected. The cable is successfully connected means that the signal can be transmitted from the first connector 330 to the first cable. On the contrary, the cable is not successfully connected means that the signal cannot be transmitted from the first connector 330 to the first cable. If the cable is successfully connected, the first detection module 320 can successfully complete the cable diagnosis according to the preset diagnosis mode. If the cable is not successfully connected, the first detection module 320 can also detect it. The specific detection implementation is exemplarily introduced below.
[0102] In a possible implementation, the apparatus 300 includes a memory. The memory pre-stores the length of a line between the first detection module 320 and the first connector 330. For the convenience of subsequent description, the length of the line is simply referred to as a first preset length. For the convenience of understanding, for example, refer to FIG. 4. L0 in FIG. 4 is the first preset length. Exemplarily, the first preset length can be written into the memory when the apparatus 300 is manufactured. Alternatively, the first preset length can be detected by the control module 310 controlling the first detection module 320 when the apparatus 300 is manufactured or activated for the first time, and saved. The detection implementation is exemplarily introduced below.
[0103] Exemplarily, based on the foregoing introduction, the first detection module 320 can diagnose the position of the fault point of the cable. When the first connector 330 is not connected to the cable, the first connector 330 is equivalent to an open circuit. In this case, the control module 310 controls the first detection module 320 to perform the cable diagnosis operation, and the diagnosis result obtained indicates the position of the fault point, which is the position of the first connector 330. The position of the fault point indicated by the diagnosis result can be represented by a distance length and coordinates. If represented by the distance length, the distance is the first preset length. If represented by the coordinates, the first preset length can be further calculated by the coordinates, which is not described herein.
[0104] Based on the foregoing description, in actual application, after the user connects the first cable to the first connector 330, the control module 310 sends a cable diagnosis instruction to the first detection module 320 in response to a cable diagnosis trigger signal from the user. The first detection module 320 performs the cable diagnosis operation and obtains a diagnosis result including the position information of the fault point.
[0105] In a possible implementation, the control module 310 reads the diagnosis result and obtains the position information of the fault point. The position information of the fault point indicates a length of a line between the first detection module and the first position (referred to as a first length). Based on the foregoing description, if the position information of the fault point is a distance length information, the length indicated by the distance length information is the first length. Alternatively, if the position information of the fault point is a coordinate, the control module 310 can calculate the first length based on the coordinate, which is not described herein. After obtaining the first length, the control module 310 can compare the first length with the first preset length.
[0106] If the first length is less than or equal to the first preset length, it indicates that the first length is a length of a line between the first detection module and the first connector 330. The case that the first length is less than the first preset length mainly considers the existence of errors. Then, it can be considered that the first cable and the first connector 330 are not successfully plugged. The control module 310 can control the prompt module 340 to prompt the user that the cable is not successfully plugged, so that the user can re-plug the cable for rapid detection.
[0107] If the first length is greater than the first preset length, it indicates that the first cable and the first connector 330 are successfully plugged. In this case, if the first cable has a fault, the first position is the position of the fault in the first cable. For ease of understanding, an example can be seen in FIG. 5. It is assumed that the first cable has a fault, and the position of the fault point is as shown in FIG. 5. L1 shown in FIG. 5 is the first length greater than the first preset length. In a possible implementation, the first detection module 320 diagnoses a specific fault type in the process of performing the cable diagnosis operation, in addition to obtaining the position information of the fault point. The control module 310 reads the diagnosis result and can obtain the position information of the fault point and the fault type at the same time. Then, the control module 310 controls the prompt module 340 to prompt the user with the diagnosis result. In another possible implementation, the control module 310 can determine that the cable is successfully plugged, and then controls the first detection module 320 to diagnose the specific fault type. Then, the diagnosis result is prompted to the user. It can be understood that the implementation described herein is only an example and does not constitute a limitation on the embodiments of the present application.
[0108] In another possible implementation, after the first detection module 320 obtains the diagnosis result including the location information of the fault point, the first detection module 320 can further determine the first length based on the location information of the fault point. Then, the first detection module 320 acquires the first preset length from the control module 310, and compares the first length with the first preset length. Based on the comparison result, it is determined whether the cable is successfully connected, which can be implemented as described above, and details are not described herein. The information about whether the cable is successfully connected is sent to the control module 310. If the cable is not successfully connected, the control module 310 can control the prompt module 340 to prompt the user that the cable is not successfully connected, so that the user can re-connect the cable for rapid detection. If the cable is successfully connected, the control module 310 can control the first detection module 320 to diagnose the specific fault type after determining that the cable is successfully connected. Then, the user is prompted with the diagnosis result. It can be understood that the implementation described herein is only an example, and does not limit the embodiments of the present application.
[0109] In a possible implementation, the apparatus 300 shown in FIG. 3 can further include a box or a shell, and each module or component shown in FIG. 3 is arranged in the box or the shell. For example, the cable fault diagnosis apparatus provided in the embodiments of the present application is a portable apparatus that can be independently moved.
[0110] In another possible implementation, the apparatus 300 shown in FIG. 3 can be integrated in a vehicle. For example, the control module 310 can be the controller 1 or the controller 2 shown in FIG. 1, and the first connector 330 can be the connector for connecting the cable of the controller 1 or the connector for connecting the cable of the controller 2 in FIG. 1. In this implementation, the cable detection can be automatically triggered. For example, the control module 310 can detect the multimedia data transmission in the first cable connected to the first connector 330. If the multimedia data transmission in the first cable is detected to stop, the control module 310 can control the first detection module 320 to diagnose the fault of the first cable. In this scheme, the multimedia data transmission in the first cable is stopped as a trigger event to diagnose the cable, which has the following advantages. First, the diagnosis signal sent by the first detection module 320 during the diagnosis process does not conflict with the multimedia data transmission. Second, the stop of the cable data transmission belongs to the transmission interruption caused by the fault, so the fault of the cable can be quickly detected when the cable data transmission is interrupted. Third, the stop of the cable data transmission belongs to the end of normal data transmission, so the state of the cable can be checked at irregular intervals to ensure the normal transmission of data next time.
[0111] In another possible implementation, the apparatus 300 can further include a second detection module 390 and a second connector 3100, for example, as shown in FIG. 6. The second detection module 390 is connected to the control module 310. The second detection module 390 is connected to the second connector 3100. Optionally, the power module 350 can be further configured to supply power to the second detection module 390.
[0112] Exemplarily, the second detection module 390 can be a detection module conforming to the vehicle-mounted wired HSMT standard. For example, the second detection module 390 can include a serializer chip or a deserializer chip conforming to the HSMT standard.
[0113] Exemplarily, in one possible implementation, the second detection module 390 can be configured to diagnose fault conditions of the twisted pair cable and / or the coaxial cable, similar to the first detection module 320. The fault conditions that can be diagnosed by the second detection module 390 and the diagnosis methods can be exemplarily referred to the related description of the first detection module 320, which will not be repeated here.
[0114] Exemplarily, the second connector 3100 can be configured to connect the cable to be diagnosed, similar to the first connector 330. For the convenience of subsequent description, the cable is referred to as a second cable. The second cable can be configured to transmit multimedia data. The second connector 3100 and the second cable can be exemplarily referred to the description of the first connector 330 and the first cable, which will not be repeated here.
[0115] In one possible implementation, the second connector 3100 is of a type different from the type of the first connector 330. The second cable is of a type different from the type of the first cable. For example, the first connector 330 is a FAKRA Z code connector, and the corresponding first cable is a coaxial cable. The second connector 3100 is an HSD Z code connector, and the corresponding second cable is a twisted pair cable. Alternatively, the first connector 330 is an HSD Z code connector, and the corresponding first cable is a twisted pair cable. The second connector 3100 is a FAKRA Z code connector, and the corresponding second cable is a coaxial cable. In this case, the apparatus can implement fault detection of two different types of cables, thereby expanding the application range.
[0116] Exemplarily, the control module 310 can control the second detection module 390 to diagnose the fault of the second cable connected to the second connector 3100. The implementation of the fault diagnosis can be exemplarily referred to the implementation of the fault diagnosis of the first cable by the first detection module 320, which will not be repeated here.
[0117] Exemplarily, the control module 310 can control the first detection module 320 to perform fault diagnosis alone in the device 300 shown in FIG. 6. Alternatively, the control module 310 can control the second detection module 390 to perform fault diagnosis alone. Alternatively, the control module 310 can control the first detection module 320 and the second detection module 390 to perform fault diagnosis together. For the convenience of understanding, the following exemplary descriptions are provided.
[0118] Exemplarily, in a possible implementation, the control module 310 can first determine which of the first connector 330 and the second connector 3100 successfully plugs the cable. The specific determination manner can refer to the foregoing descriptions, which are not described herein. If the first connector 330 successfully plugs the cable, and the second connector 3100 does not successfully plug the cable. Then, the control module 310 can control the first detection module 320 to perform fault diagnosis alone. Optionally, the control module 310 can also prompt the user that the second connector 3100 does not plug the cable through the prompt module 340. If the first connector 330 does not successfully plug the cable, and the second connector 3100 successfully plugs the cable. Then, the control module 310 can control the second detection module 390 to perform fault diagnosis alone. Optionally, the control module 310 can also prompt the user that the first connector 330 does not plug the cable through the prompt module 340. If the first connector 330 and the second connector 3100 both successfully plug the cable, then the control module 310 can control the first detection module 320 and the second detection module 390 to perform fault diagnosis together. It can be understood that the descriptions herein are only exemplary, and are not intended to limit the embodiments of the present application.
[0119] Alternatively, in another possible implementation, the physical keys 360 can include three keys. One key is used to trigger the control module 310 to control the first detection module 320 to perform fault diagnosis alone. One key is used to trigger the control module 310 to control the second detection module 390 to perform fault diagnosis alone. The other key is used to trigger the control module 310 to control the first detection module 320 and the second detection module 390 to perform fault diagnosis together. It can be understood that the descriptions herein are only exemplary, and are not intended to limit the embodiments of the present application.
[0120] In a possible implementation, the device 300 shown in FIG. 6 can further include a box or a shell, and each module or component shown in FIG. 6 is arranged in the box or the shell. For example, the cable fault diagnosis device provided by the embodiments of the present application is an independent portable device.
[0121] In another possible implementation, as shown in FIG. 7, the apparatus 300 can further include a second connector 3100. The first connector 330 is connected with the first detection module 320 through a first switch S1. The second connector 3100 is connected with the first detection module 320 through a second switch S2. The second connector 3100 shown in FIG. 7 can refer to the related description of the second connector 3100 shown in FIG. 6, which is not repeated here. The first detection module 320 can further be configured to perform fault diagnosis on a second cable connected with the second connector 3100.
[0122] The closing and opening of the first switch S1 and the second switch S2 can be controlled by the control module 310, for example. The first switch S1 and the second switch S2 can be contactors, relays, various semiconductor switches, or the like, which are not limited in the embodiments of the present application.
[0123] The control module 310 can select which switch to close or open according to the user's instruction in a specific implementation, for example. For ease of understanding, the following is an example.
[0124] In a possible implementation, the user's instruction can be received by the prompt module 340. For example, taking the display screen as the prompt module 340, the display interface of the display screen can display the types of the cables that can be selected for diagnosis. Based on the foregoing description, the type of the second cable connected with the second connector 3100 is different from the type of the first cable connected with the first connector 330. Assuming that the type of the first cable is a first type and the type of the second cable is a second type, the display interface of the display screen can display the controls corresponding to the first type and the second type. If the user clicks the control corresponding to the first type, it indicates that the user instructs to perform fault diagnosis on the first cable connected with the first connector 330. The control module 310 controls the first switch S1 to close in response to the user's selection. And after the first switch S1 is closed, the control module 310 controls the first detection module 320 to perform fault diagnosis on the first cable. If the user clicks the control corresponding to the second type, it indicates that the user instructs to perform fault diagnosis on the second cable connected with the second connector 3100. The control module 310 controls the second switch S2 to close in response to the user's selection. And after the second switch S2 is closed, the control module 310 controls the first detection module 320 to perform fault diagnosis on the second cable. In another implementation, the user can click the controls corresponding to the first type and the second type together, and the control module 310 controls the first switch S1 to close and the second switch S2 to close in response to the user's selection. And after the first switch S1 is closed and the second switch S2 is closed, the control module 310 controls the first detection module 320 to perform fault diagnosis on the first cable and the second cable.
[0125] It can be understood that the above introduction mainly takes the prompt module 340 as a display screen as an example. In another implementation, the prompt module 340 can also be a voice interaction module. Through the voice interaction module, the voice instruction of the user can be received, and then the control module 310 responds to the corresponding instruction to select the closed corresponding switch to perform cable diagnosis. The embodiments of the present application do not expand and elaborate one by one.
[0126] In another possible implementation, the physical key 360 can include three keys. One key (referred to as key 1) is used to trigger the control module 310 to control the first detection module 320 to perform fault diagnosis on the first cable connected to the first connector 330. One key (referred to as key 2) is used to trigger the control module 310 to control the first detection module 320 to perform fault diagnosis on the second cable connected to the second connector 3100. Another key (referred to as key 3) is used to trigger the control module 310 to control the first detection module 320 to perform fault diagnosis on the first cable connected to the first connector 330 and the second cable connected to the second connector 3100.
[0127] For example, if the user presses the above key 1, the control module 310 responds to the selection of the user to control the first switch S1 to be closed. And after the first switch S1 is closed, the first detection module 320 is controlled to perform fault diagnosis on the first cable.
[0128] For example, if the user presses the above key 2, the control module 310 responds to the selection of the user to control the second switch S2 to be closed. And after the second switch S2 is closed, the first detection module 320 is controlled to perform fault diagnosis on the second cable.
[0129] For example, if the user presses the above key 3, the control module 310 responds to the selection of the user to control the first switch S1 and the second switch S2 to be closed. And after the first switch S1 and the second switch S2 are closed, the first detection module 320 is controlled to perform fault diagnosis on the first cable and the second cable.
[0130] It can be understood that the above introduction is only an example and is not limited to the embodiments of the present application.
[0131] In a possible implementation, the device 300 shown in FIG. 7 can further include a box or a shell, and each module or component shown in FIG. 7 is arranged in the box or the shell. For example, the cable fault diagnosis device provided by the embodiments of the present application is an independent portable device.
[0132] In summary, since the HSMT standard specifies the requirements for line fault detection, the specific requirements can detect open circuit (including single line open circuit, double line open circuit) and short circuit (including single line to ground, double line to ground, double line between). It is also required to locate the fault position, and the positioning error is less than or equal to 1 meter. Based on this, the fault diagnosis device provided in the scheme uses a module that meets the HSMT standard to diagnose the fault point of the multimedia data transmission cable. Only the cable needs to be connected to the device, and then the control module in the device can control the detection module to perform fault diagnosis. If the cable has an open circuit or a short circuit fault, the detection module can diagnose the specific fault point position. The entire fault diagnosis process is convenient and fast, greatly improving the cable fault diagnosis efficiency.
[0133] The embodiment of the present application also provides a cable fault diagnosis method, which is executed by the control module 310. Exemplarily, the method includes but is not limited to the steps shown in FIG. 8.
[0134] S801, control the first detection module to perform fault diagnosis on the first cable.
[0135] Exemplarily, the first detection module can be the first detection module 320 described above. The first cable is the first cable used to connect the first connector 330. The specific implementation of this step can refer to the corresponding description in the fault diagnosis implementation process described above in combination with FIG. 3, which is not described here.
[0136] S802, receive the first diagnosis result from the first detection module.
[0137] Similarly, the specific implementation of this step can refer to the corresponding description in the fault diagnosis implementation process described above in combination with FIG. 3, which is not described here.
[0138] In one possible implementation, the method further includes: after the first connector is connected to the first cable, controlling the first detection module to detect a first length. In the case that the first length is less than or equal to a first preset length, controlling the prompt module to prompt the user that the cable is not successfully plugged in. In another implementation, in the case that the first length is greater than the first preset length, the first diagnosis result includes that a first position in the first cable has a fault, and the prompt module is controlled to prompt the user with the first diagnosis result.
[0139] Exemplarily, the first preset length can be the line length between the first detection module 320 and the first connector 330 described above. The first length is the line length between the first detection module 320 and the first position described above. Exemplarily, the first connector can be the first connector 330 described above. The specific implementation corresponds to the description described above, which is not described here.
[0140] In a possible implementation, the method further includes: controlling the second detection module to perform fault diagnosis on the second cable. The second diagnosis result is received from the second detection module. The second detection module can be the second detection module 390 described above. The second cable can be the second cable connected to the second connector 3100 of the wire harness. The second connector can be of a type different from the first connector. The second cable can be of a type different from the first cable. The specific implementation is described above and will not be repeated here.
[0141] In a possible implementation, the first detection module is connected to the first connector through a first switch. The first detection module is connected to the second connector through a second switch. The second connector is configured to connect a second cable configured to transmit multimedia data. The second connector can be of a type different from the first connector. The connection manner can be referred to the example shown in FIG. 7 described above, and will not be repeated here. The method further includes: controlling the first detection module to perform fault diagnosis on the second cable. The second cable can be of a type different from the first cable. The third diagnosis result is received from the first detection module. The specific implementation is described above and will not be repeated here.
[0142] In a possible implementation, the method further includes: receiving a first instruction for performing fault diagnosis on the first cable, and controlling the first switch to be closed based on the first instruction. After the first switch is closed, the first detection module is controlled to perform fault diagnosis on the first cable. In addition, the method further includes: receiving a second instruction for performing fault diagnosis on the second cable, and controlling the second switch to be closed based on the second instruction. After the second switch is closed, the first detection module is controlled to perform fault diagnosis on the second cable. The specific implementation is described above with reference to the related description of FIG. 7, and will not be repeated here.
[0143] The embodiment of the present application provides a control device. As shown in FIG. 9, which is a structural schematic diagram of a possible physical entity of the control device provided by the present application. The control device 900 shown in FIG. 9 can be implemented as the control module 310 described above.
[0144] The control device 900 includes a processor 901, a memory 902 and a communication interface 903. The processor 901, the communication interface 903 and the memory 902 can be connected to each other or connected to each other through a bus 904.
[0145] The memory 902 is configured to store computer programs and data of the control device 900. The memory 902 can include, but is not limited to, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read only memory (EPROM), a compact disc read-only memory (CD-ROM), or the like.
[0146] The software or program codes required by the control device in the above method embodiments for all or part of the functions can be stored in the memory 902.
[0147] In a possible implementation, if the software or program codes required by part of the functions are stored in the memory 902, the processor 901 can cooperate with other components (such as the communication interface 903) to jointly complete other functions (such as the functions of receiving or sending data or messages) described in the above method embodiments, in addition to calling the program codes in the memory 902 to implement part of the functions.
[0148] The number of communication interfaces 903 can be multiple, which are configured to support the control device 900 to communicate, for example, to receive or send data or messages.
[0149] For example, the processor 901 can be a circuit with data processing capability. In one implementation, the processor can be a circuit with instruction reading and running capability, such as a central processing unit (CPU), a microprocessor, a graphics processing unit (GPU) (which can be understood as a microprocessor), a digital signal processor (DSP), or the like. In another implementation, the processor can implement certain functions through a logical relationship of hardware circuit, which is fixed or can be reconfigured, such as an application-specific integrated circuit (ASIC) or a programmable logic device (PLD) implemented hardware circuit, such as a field programmable gate array (FPGA). In the reconfigurable hardware circuit, the processor loads a configuration document to implement the hardware circuit configuration, which can be understood as the processor loading instructions to implement the functions of the above part or all units. In addition, it can also be a hardware circuit designed for artificial intelligence, which can be understood as an ASIC, such as a neural network processing unit (NPU), a tensor processing unit (TPU), a deep learning processing unit (DPU), or the like. Alternatively, the processor 901 can be a combination of at least two of these processor forms, and the like.
[0150] The processor 901 can be used to read the program stored in the above-mentioned memory 902, and perform the operations performed by the above-mentioned control module 310.
[0151] The specific operations and benefits of each unit in the control device 900 shown in FIG. 9 can be referred to the corresponding description in the above-mentioned various possible embodiments, which will not be repeated here.
[0152] The embodiment of the present application further provides a computer readable storage medium storing a computer program or computer instructions, which are executed by a processor to implement the method implemented in any of the possible implementation manners of the method shown in FIG. 8. Exemplarily, the computer readable storage medium can include, but is not limited to, a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various media capable of storing program codes.
[0153] The embodiment of the present application further provides a computer program product, when the computer program product is read and executed by a computer, the method implemented in any of the possible implementation manners of the method shown in FIG. 8 will be executed. Exemplarily, the computer program product includes, but is not limited to, a computer program capable of implementing the method by a computer, a code or an electronic (digital) signal for transmitting computer program instruction code, and the like.
[0154] It should be understood that, in the various embodiments of the present application, the size of the serial number of each process does not mean the order of execution, and the execution order of each process should be determined according to its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0155] It should also be understood that the term "comprising" (also "includes", "including", "comprises" and / or "comprising") when used in the specification specifies the presence of stated features, integers, steps, operations, elements, and / or components, but does not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.
[0156] It should also be understood that the "one embodiment", "an embodiment", "a possible implementation" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment or implementation are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment", "a possible implementation" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner.
[0157] Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: it can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement for part or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A cable fault diagnosing apparatus characterized by comprising: The device comprises a control module, a first detection module and a first connector; the first detection module conforms to a vehicle-mounted wired high-speed media transmission (HSMT) standard; the control module is connected with the first detection module, and the first detection module is connected with the first connector; The first connector is used for connecting a first cable to be diagnosed, and the first cable is used for transmitting multimedia data; The first detection module is used for diagnosing a fault condition of the first cable; The control module is used for controlling the first detection module to perform fault diagnosis on the first cable.
2. The device according to claim 1, wherein the first detection module comprises a serializer chip or a deserializer chip conforming to the vehicle-mounted wired high-speed media transmission (HSMT) standard.
3. The apparatus of claim 1 or 2, wherein, The cable fault diagnosis device comprises a prompt module; The control module is further used for: After the first connector is connected with the first cable, the control module controls the first detection module to detect a first length; the first length is a line length between the first detection module and a first position; In a case where the first length is less than or equal to a first preset length, the control module controls the prompt module to prompt a user that the cable is not successfully plugged in.
4. The apparatus of claim 3, wherein, In a case where the first length is greater than the first preset length, a result diagnosed by the first detection module includes that the first position in the first cable is faulty, and the control module controls the prompt module to prompt the user of the result.
5. The apparatus of claim 3 or 4, wherein, After the control module controls the first detection module to detect the first length, the device further comprises: reading the first length from the first detection module and comparing the first length with the first preset length.
6. The apparatus of claim 3 or 4, wherein, After the control module controls the first detection module to detect the first length, the first detection module is further used for: comparing the detected first length with the first preset length and sending a comparison result to the control module.
7. The device of any one of claims 1-6, wherein, The control module is specifically used for: In a case where it is detected that multimedia data transmission in the first cable is stopped, the control module controls the first detection module to perform fault diagnosis on the first cable.
8. The device of any one of claims 1-7, wherein, The device further comprises a second detection module and a second connector; the second detection module conforms to the vehicle-mounted wired high-speed media transmission (HSMT) standard; the control module is connected with the second detection module, and the second detection module is connected with the second connector; The second connector is used for connecting a second cable to be diagnosed; the second cable is used for transmitting multimedia data; The type of the second cable is different from that of the first cable, and the type of the second connector is different from that of the first connector; The second detection module is used for diagnosing a fault condition of the second cable; The control module is used for controlling the second detection module to perform fault diagnosis on the second cable.
9. The device of any one of claims 1-7, wherein, The first detection module is connected with the first connector through a first switch; the device further comprises a second connector; the first detection module is connected with the second connector through a second switch; The second connector is used for connecting a second cable to be diagnosed; the second cable is used for transmitting multimedia data; The second cable is of a type different from that of the first cable, and the second connector is of a type different from that of the first connector. The control module is further configured to control the first detection module to perform fault diagnosis on the second cable.
10. The apparatus of claim 9, wherein, The control module is further configured to receive a first instruction for performing fault diagnosis on the first cable, and control the first switch to be closed based on the first instruction. The control module is specifically configured to, after the first switch is closed, control the first detection module to perform fault diagnosis on the first cable. And / or, The control module is further configured to receive a second instruction for performing fault diagnosis on the second cable, and control the second switch to be closed based on the second instruction. The control module is specifically configured to, after the second switch is closed, control the first detection module to perform fault diagnosis on the second cable.
11. The device according to any of claims 8-10, characterized in that One of the first cable and the second cable is a coaxial cable, and the other is a twisted pair cable.
12. The device of any one of claims 8-11, wherein, One of the first connector and the second connector is a FAKRA Z code connector, and the other is a HSD Z code connector; the FAKRA Z code connector is used to connect the coaxial cable, and the HSD Z code connector is used to connect the twisted pair cable.
13. The device of any one of claims 1-12, wherein, The device further comprises one or more of the following: a power module, an indicator light, a button, and a control interface, wherein The power module is used to supply power to the control module and the first detection module. The indicator light comprises an indicator light for indicating whether power is on and an indicator light for indicating whether a fault is diagnosed. The button is used to trigger the device to perform fault diagnosis. The control interface is used to connect a host computer.
14. A cable fault diagnosis method characterized by, The method comprises: controlling the first detection module to perform fault diagnosis on the first cable; receiving a first diagnosis result from the first detection module; The first detection module conforms to the vehicle-mounted wired high-speed media transmission (HSMT) standard and is used to diagnose the fault condition of the first cable; the first cable is used to transmit multimedia data, the first cable is connected with a first connector, and the first connector is connected with the first detection module.
15. The method of claim 14, wherein the first detection module comprises a serializer chip or a deserializer chip that conforms to the vehicle-mounted wired high-speed media transmission (HSMT) standard.
16. The method according to claim 14 or 15, characterized in that The method further comprises: controlling the first detection module to detect a first length after the first connector is connected with the first cable; the first length is a line length between the first detection module and a first position; controlling a prompt module to prompt a user that the cable is not successfully plugged in if the first length is less than or equal to a first preset length.
17. The method of claim 16, wherein, The method further comprises: if the first length is greater than the first preset length, the first diagnosis result includes that the first position in the first cable is faulty, and the prompt module is controlled to prompt the user of the first diagnosis result.
18. The method according to claim 16 or 17, characterized in that After the first detection module is controlled to detect the first length, the method further comprises: reading the first length from the first detection module and comparing the first length with the first preset length; or reading, from the first detection module, a comparison result of the first length and the first preset length.
19. The method according to any one of claims 14-18, characterized by, The control of the first detection module to perform fault diagnosis on the first cable includes: In a case where it is detected that multimedia data transmission in the first cable is stopped, the first detection module is controlled to perform fault diagnosis on the first cable.
20. The method according to any one of claims 14-18, characterized by, The method further includes: controlling a second detection module to perform fault diagnosis on a second cable; receiving a second diagnosis result from the second detection module; The second detection module conforms to a vehicle-mounted wired high-speed media transmission (HSMT) standard and is used to diagnose fault conditions of the second cable; the second cable is used to transmit multimedia data; the second cable is connected with a second connector; the second connector is connected with the second detection module; the type of the second connector is different from that of the first connector; and the type of the second cable is different from that of the first cable.
21. The method according to any one of claims 14-18, characterized by, The first detection module is connected with the first connector through a first switch; the first detection module is connected with a second connector through a second switch; the second connector is used to connect a second cable; and the second cable is used to transmit multimedia data. The type of the second connector is different from that of the first connector. The method further includes: controlling the first detection module to perform fault diagnosis on a second cable; the type of the second cable is different from that of the first cable; receiving a third diagnosis result from the first detection module.
22. The method of claim 21, wherein, The method further includes: receiving a first instruction to perform fault diagnosis on the first cable; and controlling the first switch to be closed based on the first instruction. The control of the first detection module to perform fault diagnosis on the first cable includes: after the first switch is closed, the first detection module is controlled to perform fault diagnosis on the first cable. And / or, The method further includes: receiving a second instruction to perform fault diagnosis on the second cable; and controlling the second switch to be closed based on the second instruction. The control of the first detection module to perform fault diagnosis on the second cable includes: after the second switch is closed, the first detection module is controlled to perform fault diagnosis on the second cable.
23. The method of any one of claims 20-22, wherein, Among the first cable and the second cable, one is a coaxial cable and the other is a twisted pair cable.
24. The method of any one of claims 20-22, wherein, Among the first connector and the second connector, one is a FAKRA Z code connector and the other is an HSD Z code connector; the FAKRA Z code connector is used to connect a coaxial cable; and the HSD Z code connector is used to connect a twisted pair cable.
25. A control device characterized by comprising: The control device includes a processor and a memory, wherein the memory is used to store computer programs or computer instructions; and the processor is used to execute the computer programs or computer instructions stored in the memory, so that the control device performs the method according to any one of claims 14-24.
26. A computer-readable storage medium, characterized in that, The computer readable storage medium stores computer programs or computer instructions, which are executed by a processor to implement the method according to any one of claims 14-24.
27. A computer program product, characterised in that, The computer program product, when executed by the processor, implements the method of any one of claims 14 to 24.
Citation Information
Patent Citations
Intelligent connector, airplane, and electrical circuit interconnection system and fault detection method thereof
CN110865315A
Vehicle-mounted video line fault field diagnosis method and system
CN115128405A
Fault detection method and device, fault detection system and electronic equipment
CN115298553A
Generation method of transmitted waveform and acquisition method of reflected waveform for cable fault detection
CN116381296A
Vehicle-mounted Ethernet testing device, method and equipment and storage medium
CN116436834A