Vehicle communication network diagnosis method, device, electronic equipment and storage medium
By collecting and diagnosing the TX waveform and RX waveform of the train communication network inside the switch, combined with the fault waveform diagnosis model and consistency test, the problem of the fault diagnosis of the Ethernet physical layer in the train communication network, realizing online real -time diagnosis and high precision Test.
Patent Information
- Application Number
- CN202411614220.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-13
- Publication Date
- 2025-01-28
- Estimated Expiration
- 2044-11-13
AI Technical Summary
The prior art is difficult to realize online real-time fault diagnosis in the train communication network, especially when the Ethernet physical layer failure is faulty, and it is difficult to detect and cannot be warning in advance.
By setting the device inside the switch to collect, digital signal conversion, storage and diagnosis of TX waveforms and RX waveforms, use the fault waveform diagnosis model to determine the physical layer abnormal position, and pass the consistency test to evaluate the health layer of the Ethernet port.
A real -time diagnosis of the train communication network is realized, the fault location, the type of failure and the health layer of the failure are accurately determined, the real -time fault monitoring and early warning is supported, and the rapid detection and high -precision detection requirements of the train communication network are met.
Smart Images

Figure CN119135511B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of train communication and computer technology, and in particular to a vehicle-mounted communication network diagnosis method, device, electronic equipment and storage medium. Background Art
[0002] At present, Ethernet is widely used as a train communication network. Ethernet is a switching network. On the train, the equipment in each car is connected, and the communication between devices generally passes through one or more, or even across multiple cars. The data is stored and forwarded, and the data is sent out as a newly generated waveform after passing through, and the waveform has undergone a fundamental change. Under this premise, even if multicast communication is used, the physical waveform of the entire train cannot be diagnosed at one point. The physical layer of the train communication network is generally laid under the floor, on the roof, etc., and the structure of the cross-car position is more complicated. Therefore, when there is a fault in the Ethernet physical layer, it is very difficult to troubleshoot.
[0003] Currently, two solutions are generally used to deal with Ethernet physical layer failures, active and passive. The active solution is to inject specific test signals into the physical layer through external devices to check the health status of the physical layer, such as cable testers, etc. The active method extracts the fault waveform characteristics and implements fault diagnosis through specific algorithms; after injecting specific test signals, the active method will affect normal communication and the normal operation of the train. It is only suitable for maintenance in the train depot and cannot perform online real-time fault diagnosis. At the same time, it is not helpful for intermittent fault processing.
[0004] Passive methods do not affect the normal operation of the train and can be used for online fault diagnosis. However, the commonly used passive methods are to connect to an oscilloscope, monitor the waveform of the data, and determine the health status of the physical layer through the eye diagram; or extract the fault waveform characteristics and then use the algorithm to diagnose the health status of the physical layer. These methods require the connection of additional equipment, which increases the complexity of the system. In addition, they are usually connected and checked after the fault occurs, and cannot provide early warning. Summary of the invention
[0005] The main purpose of the embodiments of the present invention is to provide a vehicle-mounted communication network diagnosis method, device, electronic device and storage medium to improve the fault detection speed and fault detection accuracy of the train communication network.
[0006] One aspect of the present invention provides a vehicle-mounted communication network diagnosis method, wherein the vehicle-mounted communication network includes a terminal and a switch, including:
[0007] The waveform signal of the vehicle communication network is collected to obtain a TX waveform and an RX waveform, wherein the TX waveform includes a switch TX waveform and a terminal TX waveform, and the RX waveform includes a switch RX waveform and a terminal RX waveform;
[0008] Perform fault diagnosis on the TX waveform and the RX waveform through the fault waveform diagnosis model to obtain waveform fault diagnosis results;
[0009] Determine the abnormal position of the physical layer according to the waveform fault diagnosis result, wherein the abnormal position of the physical layer includes one of a transmitting end, a receiving end and a transmission line;
[0010] The key parameters obtained by the consistency test of the Ethernet port are used to obtain the detection points, and the physical layer health of the Ethernet port is determined based on all the detection points;
[0011] A diagnosis result of the in-vehicle communication network is determined according to the physical layer abnormality location and the physical layer health.
[0012] According to the vehicle communication network diagnostic method, waveform signal acquisition is performed on the vehicle communication network to obtain TX waveform and RX waveform, including:
[0013] The waveform signal of the switch is collected by an acquisition device arranged inside the switch, and the obtained TX waveform and RX wave are processed by a digital signal converter arranged inside the switch to obtain a digital signal, and the digital signal is stored in the eMMC memory.
[0014] According to the vehicle communication network diagnosis method, the TX waveform and the RX waveform are diagnosed by the fault waveform diagnosis model to obtain the waveform fault diagnosis result, including:
[0015] The fault waveform diagnosis model adopts the formula according to the influence of transmission line length on signal transmission.
[0016]
[0017] Determine the impact value ,in is the transmission frequency, is the transmission line length, For the transmission frequency The relevant fixed value, is the terminal termination impedance, is the characteristic impedance of the cable, where the transmission line length is the length of the transmission line from the switch port to the Ethernet port;
[0018] According to the standard value and impact value of IEEE 802.3, determine whether the TX waveform and RX waveform are abnormal. The abnormality of the TX waveform and RX waveform is determined by amplitude, overshoot time, jitter time, rise time and template compliance.
[0019] According to the vehicle communication network diagnosis method, determining the abnormal position of the physical layer according to the waveform fault diagnosis result includes:
[0020] Determine the duration of the abnormal data waveform through the waveform fault diagnosis result, wherein the abnormal data waveform represents an abnormal TX waveform and an abnormal RX waveform;
[0021] The physical layer abnormality position is determined according to preset interference characteristics, the duration of the abnormal data waveform, whether the TX waveform is abnormal, and whether the RX waveform is abnormal.
[0022] According to the vehicle communication network diagnosis method, the method further includes:
[0023] If the duration of the abnormal data waveform is less than the preset value and is discontinuous, it is determined that the data transmission between the terminal and the switch is subject to external interference;
[0024] If the switch TX waveform and the terminal RX waveform are both normal, or the switch RX waveform and the terminal TX waveform are both normal and the data transmission is normal, then the physical layer is normal;
[0025] If the switch RX waveform and the terminal TX waveform are normal, and the data transmission is abnormal, then the switch reception is abnormal;
[0026] If the switch TX waveform is normal and the terminal RX waveform is abnormal, the transmission line is abnormal; if the switch RX waveform is abnormal and the terminal TX waveform is normal, the transmission line is abnormal;
[0027] If the switch TX waveform is abnormal and the terminal RX waveform is normal, it is a misjudgment; if the switch RX waveform is normal and the terminal TX waveform is abnormal, it is a misjudgment.
[0028] According to the vehicle communication network diagnostic method, the key parameters obtained by consistency testing the Ethernet port are used to obtain detection points, and the physical layer health of the Ethernet port is determined according to all detection points, including:
[0029] Perform consistency test on the TX waveform and RX waveform of the Ethernet port to obtain detection points, including amplitude, overshoot time, jitter time, rise time and template compliance;
[0030] Each test item is scored, and the scoring formula is:
[0031]
[0032] Among them, k is the item point score, a is the reference parameter of the standard waveform after transmission line attenuation, b is the minimum recognition parameter required by the standard, and c is the actual tested parameter;
[0033] Determines the physical layer health of the Ethernet port based on all item scores.
[0034] According to the vehicle communication network diagnosis method, the method further includes:
[0035] If the physical layer health fluctuates discontinuously and significantly within a preset time, it is determined that the Ethernet port is subject to external interference, wherein the significant fluctuation is used to indicate that the fluctuation value of the physical layer health within the preset time is greater than a preset value.
[0036] Another aspect of an embodiment of the present invention provides a vehicle-mounted communication network diagnostic device, including:
[0037] The first module is used to collect waveform signals of the vehicle communication network to obtain TX waveforms and RX waveforms, wherein the TX waveforms include switch TX waveforms and terminal TX waveforms, and the RX waveforms include switch RX waveforms and terminal RX waveforms;
[0038] The second module is used to perform fault diagnosis on the TX waveform and the RX waveform through the fault waveform diagnosis model to obtain waveform fault diagnosis results;
[0039] The third module is used to determine the abnormal position of the physical layer according to the waveform fault diagnosis result, wherein the abnormal position of the physical layer includes one of the transmitting end, the receiving end and the transmission line;
[0040] The fourth module is used to obtain the key parameters obtained by the consistency test of the Ethernet port, obtain the detection points, and determine the physical layer health of the Ethernet port according to all the detection points;
[0041] The fifth module is used to determine the diagnosis result of the vehicle communication network according to the physical layer abnormality location and the physical layer health.
[0042] Another aspect of an embodiment of the present invention provides an electronic device, including a processor and a memory;
[0043] The memory is used to store programs;
[0044] The processor executes the program to implement the method described above.
[0045] The embodiment of the present invention also discloses a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device can read the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the method described above.
[0046] The beneficial effects of the present invention are as follows: by setting a device inside the switch to collect TX waveforms and RX waveforms, convert digital signals, store and diagnose, the complexity of the train communication network is not affected to achieve online real-time diagnosis of the train communication network; by determining the fault location as one of the terminal, the switch and the transmission line according to the influence of the transmission line length on the TX waveform and RX waveform according to their waveform signal transmission, the fault type is determined by using the specific TX waveform and RX waveform of the switch and the terminal, and the amplitude, overshoot time, jitter time, rising edge time and template compliance as detection points for comprehensive evaluation to obtain the physical layer health of the internal train communication network; through the fault location, fault type and physical layer health, the communication network fault location, fault type and fault change degree can be accurately determined, the communication of the on-board switching equipment is monitored and warned in real time for faults, and the train's requirements for rapid detection and high-precision detection of the communication network are met. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0048] Figure 1 It is a schematic diagram of a switching device with vehicle communication network diagnosis according to an embodiment of the present invention.
[0049] Figure 2 It is a schematic flow chart of a vehicle communication network diagnosis method based on a switching device according to an embodiment of the present invention.
[0050] Figure 3 It is a schematic diagram of the physical layer abnormal location diagnosis process of an embodiment of the present invention.
[0051] Figure 4 The figure is a schematic diagram of the Ethernet physical layer health assessment process according to an embodiment of the present invention.
[0052] Figure 5 It is a schematic diagram of a vehicle-mounted communication network diagnostic device based on a switching device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0053] The embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements with the same or similar functions. In the subsequent description, the use of suffixes such as "module", "component" or "unit" used to represent elements is only for the purpose of facilitating the description of the present invention, and has no specific meaning in itself. Therefore, "module", "component" or "unit" can be used in a mixed manner. "First", "second" and the like are only used for the purpose of distinguishing technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features or implicitly indicating the order of the indicated technical features. In this subsequent description, the continuous numbering of the method steps is for the convenience of review and understanding. In combination with the overall technical solution of the present invention and the logical relationship between the various steps, adjusting the implementation order between the steps will not affect the technical effect achieved by the technical solution of the present invention. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.
[0054] refer to Figure 1 ,in Figure 1 Schematic diagram of a switching device with vehicle communication network diagnosis according to an embodiment of the present invention, wherein Figure 1 A waveform acquisition and waveform recording unit is added on the basis of the original switch, and the waveform acquisition and waveform recording unit includes ADC, MCU and eMMC. While satisfying the conventional switching function, the switching device collects the waveforms sent and received and starts digital conversion through ADC, and records and stores the waveforms and the length of the corresponding Ethernet port network cable through eMMC. The digital waveform acquisition is controlled by MCU, and at the same time, combined with the characteristics of the waveform, the length of the transmission line, etc., it is diagnosed whether the waveform sent and the waveform received meet the normal standard range, thereby diagnosing the status of the sending and receiving physical layers. According to the degradation law of the communication physical layer and the situations encountered in actual application scenarios, the embodiment of the present invention sets the network physical layer to four states: healthy, sub-healthy, abnormal and interfered according to the detection results.
[0055] In some embodiments, the MCU exchanges the TX and RX diagnostic information of all ports on the switching device with the CPU, and the CPU simultaneously collects the TX and RX diagnostic information fed back by the connected devices on each port through Ethernet, and comprehensively diagnoses that the physical layer abnormality is located at the sending end or the transmission line, or the receiving end or a misjudgment.
[0056] In some embodiments, the vehicle-mounted communication network (Ethernet) mainly includes switches and terminals. In some cases, the vehicle-mounted communication network includes multiple Ethernet ports, which are used to connect terminals. It can be understood that the receiving end and the sending end in the vehicle-mounted communication network are one of the terminal and Ethernet, that is, Ethernet is divided into multiple terminal-Ethernet structures. For example, when the terminal sends data to the switch, the terminal is the sending end and the switch is the receiving end.
[0057] Figure 2 The following is a flow chart of a vehicle network communication diagnosis method based on a switching device according to an embodiment of the present invention. It includes but is not limited to steps S100 to S500:
[0058] S100 collects waveform signals from the vehicle communication network (e.g. Figure 1 The waveform acquisition and waveform recording unit in the embodiment of the present invention) obtains the TX waveform and the RX waveform, wherein the TX waveform includes the switch TX waveform and the terminal TX waveform, and the RX waveform includes the switch RX waveform and the terminal RX waveform.
[0059] In some embodiments, based on Figure 1 The schematic diagram of the switching device with on-board communication network diagnosis shown in the figure collects waveform signals of the switch through an acquisition device arranged inside the switch, processes the obtained TX waveform and RX wave through a digital signal converter arranged inside the switch to obtain a digital signal, and stores the digital signal in the eMMC memory.
[0060] S200, performing fault diagnosis on the TX waveform and the RX waveform using a fault waveform diagnosis model to obtain a waveform fault diagnosis result.
[0061] In some embodiments, according to the influence of the length of the transmission line on signal transmission, the formula
[0062]
[0063] Determine the impact value ,in is the transmission frequency, is the transmission line length, For the transmission frequency The relevant fixed value, is the terminal termination impedance, is the characteristic impedance of the cable, where the transmission line length is the length of the transmission line from the switch port to the Ethernet port;
[0064] According to the standard value and impact value of IEEE 802.3, determine whether the TX waveform and RX waveform are abnormal.
[0065] In some embodiments, the fault waveform diagnosis model is obtained through training, which uses waveform features and transmission line length as input features and uses machine learning algorithms (such as SVM, random forest, neural network, etc.) for classification. Based on the classification results, whether the TX waveform and RX waveform are abnormal is obtained through the values of key parameters such as amplitude, overshoot, jitter, rise time, and fall time. The abnormal diagnosis result is determined based on the template conformity of these values.
[0066] In some embodiments, signal transmission is affected by the length of the transmission line (L represents the length). TX is the signal sent by the switch, and the transmission length L is 0. During diagnosis, the IEEE 802.3 standard is referred to to determine whether the amplitude, rising edge / falling edge time, etc. of the signal are consistent with the standard requirements; RX is the signal transmitted to the current switch by other devices. The reference value required in the standard is combined with the attenuation caused by the length of the current signal transmission line to calculate the judgment standard value, and then see whether the relevant parameters of the actual signal waveform are consistent with the calculated judgment standard.
[0067] S300, determining a physical layer abnormality location according to a waveform fault diagnosis result, wherein the physical layer abnormality location includes one of a transmitting end, a receiving end, and a transmission line.
[0068] In some embodiments, reference Figure 3 The schematic diagram of the physical layer abnormal location diagnosis process shown in FIG. 1 includes but is not limited to steps S310 to S320:
[0069] S310, determining the duration of the abnormal data waveform through the waveform fault diagnosis result, wherein the abnormal data waveform represents an abnormal TX waveform and an abnormal RX waveform;
[0070] S320, determining a physical layer abnormality location according to a preset interference feature, a duration of the abnormal data waveform, whether the TX waveform is abnormal, and whether the RX waveform is abnormal.
[0071] In some embodiments, if the duration of the abnormal data waveform is less than a preset value and is discontinuous, it is determined that the data transmission between the terminal and the switch is subject to external interference; if the switch TX waveform and the terminal RX waveform are both normal, or the switch RX waveform and the terminal TX waveform are both normal and the data transmission is normal, then the physical layer is normal; if the switch RX waveform and the terminal TX waveform are both normal and the data transmission is abnormal, then the switch reception is abnormal; if the switch TX waveform is normal and the terminal RX waveform is abnormal, then the transmission line is abnormal; if the switch RX waveform is abnormal and the terminal TX waveform is normal, then the transmission line is abnormal; if the switch TX waveform is abnormal and the terminal TX waveform is normal, then it is a misjudgment if the switch TX waveform is abnormal and the terminal RX waveform is normal; if the switch RX waveform is normal and the terminal TX waveform is abnormal, then it is a misjudgment.
[0072] Exemplarily, by combining the characteristics of the interference, it is determined whether interference exists according to the duration of the abnormal data waveform. The relevant logic is as follows:
[0073] 1) The abnormal information lasts for a short time (occasional, not continuous), and it is believed that the transmission data is subject to external interference;
[0074] 2) If the switch TX and terminal RX are both normal and data transmission is normal, then the physical layer is normal;
[0075] 3) If the switch RX and terminal TX are both normal and data transmission is normal, then the physical layer is normal;
[0076] 4) If the switch TX and terminal RX are both normal and the data transmission is abnormal, the terminal reception will be abnormal;
[0077] 5) If the switch RX and terminal TX are both normal, but data transmission is abnormal, the switch reception is abnormal;
[0078] 6) If the switch TX is normal but the terminal RX is abnormal, then the transmission line is abnormal;
[0079] 7) If the switch RX is abnormal and the terminal TX is normal, then the transmission line is abnormal;
[0080] 8) The switch TX is abnormal, but the terminal RX is normal, which is a misjudgment;
[0081] 9) The switch RX is normal, but the terminal TX is abnormal, which is a misjudgment.
[0082] S400 obtains key parameters through consistency testing of the Ethernet port, obtains detection points, and determines the physical layer health of the Ethernet port according to all the detection points.
[0083] In some embodiments, reference Figure 4 The Ethernet physical layer health evaluation process diagram shown in FIG. 1 includes but is not limited to steps S410 to S430:
[0084] S410, performing consistency test on the TX waveform and RX waveform of the Ethernet port to obtain detection points, wherein the detection points include amplitude, overshoot time, jitter time, rise time and template conformity;
[0085] S420, scoring each detection item;
[0086] The scoring formula is:
[0087]
[0088] Among them, k is the item point score, a is the reference parameter of the standard waveform after transmission line attenuation, b is the minimum recognition parameter required by the standard, and c is the actual tested parameter.
[0089] S430, determining the physical layer health of the Ethernet port according to the scores of all the items.
[0090] In some embodiments, if the physical layer health fluctuates occasionally and discontinuously by a large amount within a preset time, it is determined that the Ethernet port is subject to external interference, wherein the large fluctuation is used to indicate that the physical layer health is less than a preset health value within the preset time.
[0091] For example, the consistency test of the Ethernet physical layer mainly includes amplitude, overshoot, jitter, rising edge time, falling edge time and conformity with the standard template, etc. These items are scored, and the benchmark score of each item is 100 points. Because different items have different effects on the data waveform, the weight of each item score is also different, as shown in Table 1 below.
[0092] Table 1 Rating weight distribution
[0093]
[0094] Among them, A%+B%+C%+D%+E%+F%=100%.
[0095] The above scoring formula for a single item point has a comprehensive score of K, where k1 is the overshoot score; k2 is the jitter score; k3 is the amplitude score; k4 is the rise time score; k5 is the fall time score, and K6 is the template conformity score.
[0096]
[0097] Therefore, an embodiment of the present invention provides a health status evaluation principle as follows: K≥80, the physical layer is healthy; 60≤K<80, the physical layer is sub-healthy; K<60, the physical layer is abnormal.
[0098] For example, if the K value fluctuates discontinuously and significantly within a certain period of time t (the parameter can be set), it is considered to be disturbed.
[0099] S500, determining a diagnosis result of the vehicle communication network according to the physical layer abnormality location and the physical layer health.
[0100] In some embodiments, after determining the abnormal location of the physical layer and the health of the physical layer, it is determined whether a fault occurs in the physical layer, and when a fault occurs or there is corresponding external interference, a prediction or an alarm is made.
[0101] Figure 5 Schematic diagram of a vehicle communication network diagnostic device according to an embodiment of the present invention. The device includes a first module 510 , a second module 520 , a third module 530 , a fourth module 540 and a fifth module 550 .
[0102] Among them, the first module 510 is used to collect waveform signals of the vehicle communication network to obtain TX waveform and RX waveform, wherein the TX waveform includes the switch TX waveform and the terminal TX waveform, wherein the RX waveform includes the switch RX waveform and the terminal RX waveform; the second module 520 is used to perform fault diagnosis on the TX waveform and the RX waveform through the fault waveform diagnosis model to obtain a waveform fault diagnosis result; the third module 530 is used to determine the physical layer abnormal position according to the waveform fault diagnosis result, wherein the physical layer abnormal position includes one of the transmitting end, the receiving end and the transmission line; the fourth module 540 is used to obtain the key parameters obtained by the consistency test of the Ethernet port, obtain the detection item points, and determine the physical layer health of the Ethernet port according to all the detection item points; the fifth module 550 is used to determine the diagnosis result of the vehicle communication network according to the physical layer abnormal position and the physical layer health.
[0103] Exemplarily, with the cooperation of the first module 510, the second module 520, the third module 530, the fourth module 540 and the fifth module 550 in the device, the embodiment device can implement any of the aforementioned vehicle-mounted communication network diagnosis methods, that is, waveform signal acquisition is performed on the vehicle-mounted communication network to obtain a TX waveform and an RX waveform, wherein the TX waveform includes a switch TX waveform and a terminal TX waveform, wherein the RX waveform includes a switch RX waveform and a terminal RX waveform; fault diagnosis is performed on the TX waveform and the RX waveform through a fault waveform diagnosis model to obtain a waveform fault diagnosis result; based on the waveform fault diagnosis result, the physical layer abnormal position is determined, wherein the physical layer abnormal position includes one of a transmitting end, a receiving end and a transmission line; key parameters are obtained by performing consistency testing on the Ethernet port to obtain detection points, and the physical layer health of the Ethernet port is determined based on all detection points; the diagnosis result of the vehicle-mounted communication network is determined based on the physical layer abnormal position and the physical layer health. The beneficial effects of the present invention are as follows: by setting a device inside the switch to collect TX waveforms and RX waveforms, convert digital signals, store and diagnose, the complexity of the train communication network is not affected to realize online real-time diagnosis of the train communication network; by determining the TX waveform and RX according to the influence of the transmission line length on the waveform signal transmission, the fault position is determined to be one of the terminal, the switch and the transmission line; by determining the fault type by the specific TX waveform and RX waveform of the switch and the terminal, and by comprehensively evaluating the amplitude, overshoot time, jitter time, rising edge time and template compliance as detection points, the physical layer health of the internal train communication network is obtained; by the fault position, fault type and physical layer health, the communication network fault position, fault type and fault change degree can be accurately determined, the communication of the on-board switching equipment is monitored and warned in real time, and the train can quickly detect and detect the communication network with high precision.
[0104] An embodiment of the present invention further provides an electronic device, the electronic device comprising a processor and a memory;
[0105] The memory stores a program;
[0106] The processor executes the program to perform the aforementioned vehicle communication network diagnostic method; the electronic device has the function of carrying and running the vehicle communication network diagnostic software system provided by the embodiment of the present invention, for example, a personal computer, a minicomputer, a main frame, a workstation, a network or distributed computing environment, a separate or integrated computer platform, or communicating with a charged particle tool or other imaging device, etc.
[0107] An embodiment of the present invention further provides a computer-readable storage medium, wherein the storage medium stores a program, and the program is executed by a processor to implement the vehicle communication network diagnosis method as described above.
[0108] In some selectable embodiments, the function / operation mentioned in the block diagram may not occur in the order mentioned in the operation diagram. For example, depending on the function / operation involved, the two boxes shown in succession can actually be executed substantially simultaneously or the boxes can sometimes be executed in reverse order. In addition, the embodiment presented and described in the flow chart of the present invention is provided by way of example, for the purpose of providing a more comprehensive understanding of technology. The disclosed method is not limited to the operation and logic flow presented herein. Selectable embodiments are expected, wherein the order of various operations is changed and the sub-operation of a part for which is described as a larger operation is performed independently.
[0109] The embodiment of the present invention also discloses a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device can read the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the above-mentioned vehicle communication network diagnosis method.
[0110] In addition, although the present invention is described in the context of functional modules, it should be understood that, unless otherwise specified, one or more of the functions and / or features described may be integrated into a single physical device and / or software module, or one or more functions and / or features may be implemented in separate physical devices or software modules. It is also understood that a detailed discussion of the actual implementation of each module is unnecessary for understanding the present invention. More specifically, in view of the properties, functions, and internal relationships of the various functional modules in the device disclosed herein, the actual implementation of the module will be understood within the conventional skills of the engineer. Therefore, those skilled in the art can implement the present invention set forth in the claims without excessive experimentation using ordinary techniques. It is also understood that the specific concepts disclosed are merely illustrative and are not intended to limit the scope of the present invention, which is determined by the full scope of the appended claims and their equivalents.
[0111] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.
[0112] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.
[0113] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.
[0114] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0115] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0116] Although the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.
[0117] The above is a specific description of the preferred implementation of the present invention, but the present invention is not limited to the described embodiments. Those skilled in the art may make various equivalent modifications or substitutions without violating the spirit of the present invention. These equivalent modifications or substitutions are all included in the scope defined by the claims of this application.
Claims
1. A vehicle communication network diagnostic method, the vehicle communication network includes a terminal and a switch, characterized in that: include: The waveform signal of the vehicle communication network is collected to obtain a TX waveform and an RX waveform, wherein the TX waveform includes a switch TX waveform and a terminal TX waveform, and the RX waveform includes a switch RX waveform and a terminal RX waveform; Perform fault diagnosis on the TX waveform and the RX waveform through the fault waveform diagnosis model to obtain waveform fault diagnosis results; Determine the abnormal position of the physical layer according to the waveform fault diagnosis result, wherein the abnormal position of the physical layer includes one of a transmitting end, a receiving end and a transmission line; The key parameters obtained by the consistency test of the Ethernet port are used to obtain the detection points, and the physical layer health of the Ethernet port is determined based on all the detection points; A diagnosis result of the in-vehicle communication network is determined according to the physical layer abnormality location and the physical layer health.
2. The vehicle communication network diagnosis method according to claim 1, characterized in that: The waveform signal acquisition of the vehicle communication network to obtain the TX waveform and the RX waveform includes: The waveform signal of the switch is collected by an acquisition device arranged inside the switch, and the obtained TX waveform and RX wave are processed by a digital signal converter arranged inside the switch to obtain a digital signal, and the digital signal is stored in the eMMC memory.
3. The vehicle communication network diagnosis method according to claim 1, characterized in that: The method of performing fault diagnosis on the TX waveform and the RX waveform by using the fault waveform diagnosis model to obtain waveform fault diagnosis results includes: The fault waveform diagnosis model adopts the formula according to the influence of transmission line length on signal transmission. Determine the impact value ,in is the transmission frequency, is the transmission line length, For the transmission frequency The relevant fixed value, is the terminal termination impedance, is the characteristic impedance of the cable, where the transmission line length is the length of the transmission line from the switch port to the Ethernet port; According to the standard value and impact value of IEEE 802.3, determine whether the TX waveform and RX waveform are abnormal. The abnormality of the TX waveform and RX waveform is determined by amplitude, overshoot time, jitter time, rise time and template compliance.
4. The vehicle communication network diagnosis method according to claim 1, characterized in that: Determining the abnormal position of the physical layer according to the waveform fault diagnosis result includes: Determine the duration of the abnormal data waveform through the waveform fault diagnosis result, wherein the abnormal data waveform represents an abnormal TX waveform and an abnormal RX waveform; The physical layer abnormality position is determined according to preset interference characteristics, the duration of the abnormal data waveform, whether the TX waveform is abnormal, and whether the RX waveform is abnormal.
5. The vehicle communication network diagnosis method according to claim 4, characterized in that: The method further comprises: If the duration of the abnormal data waveform is less than the preset value and is discontinuous, it is determined that the data transmission between the terminal and the switch is subject to external interference; If the switch TX waveform and the terminal RX waveform are both normal, or the switch RX waveform and the terminal TX waveform are both normal and the data transmission is normal, then the physical layer is normal; If the switch RX waveform and the terminal TX waveform are normal, and the data transmission is abnormal, then the switch reception is abnormal; If the switch TX waveform is normal and the terminal RX waveform is abnormal, the transmission line is abnormal; if the switch RX waveform is abnormal and the terminal TX waveform is normal, the transmission line is abnormal; If the switch TX waveform is abnormal and the terminal RX waveform is normal, it is a misjudgment; if the switch RX waveform is normal and the terminal TX waveform is abnormal, it is a misjudgment.
6. The vehicle communication network diagnosis method according to claim 5, characterized in that: The key parameters obtained by performing consistency testing on the Ethernet port are used to obtain detection points, and the physical layer health of the Ethernet port is determined according to all detection points, including: Perform consistency test on the TX waveform and RX waveform of the Ethernet port to obtain detection points, including amplitude, overshoot time, jitter time, rise time and template compliance; Each test item is scored, and the scoring formula is: Among them, k is the item point score, a is the reference parameter of the standard waveform after transmission line attenuation, b is the minimum recognition parameter required by the standard, and c is the actual tested parameter; Determines the physical layer health of the Ethernet port based on all item scores.
7. The vehicle communication network diagnosis method according to claim 6, characterized in that: The method further comprises: If the physical layer health fluctuates discontinuously and significantly within a preset time, it is determined that the Ethernet port is subject to external interference, wherein the significant fluctuation is used to indicate that the fluctuation value of the physical layer health within the preset time is greater than a preset value.
8. A vehicle-mounted communication network diagnostic device, characterized in that: include: The first module is used to collect waveform signals of the vehicle communication network to obtain TX waveforms and RX waveforms, wherein the TX waveforms include switch TX waveforms and terminal TX waveforms, and the RX waveforms include switch RX waveforms and terminal RX waveforms; The second module is used to perform fault diagnosis on the TX waveform and the RX waveform through the fault waveform diagnosis model to obtain waveform fault diagnosis results; The third module is used to determine the abnormal position of the physical layer according to the waveform fault diagnosis result, wherein the abnormal position of the physical layer includes one of the transmitting end, the receiving end and the transmission line; The fourth module is used to obtain the key parameters obtained by the consistency test of the Ethernet port, obtain the detection points, and determine the physical layer health of the Ethernet port according to all the detection points; The fifth module is used to determine the diagnosis result of the vehicle communication network according to the physical layer abnormality location and the physical layer health.
9. An electronic device, characterized in that: including a processor and a memory; The memory is used to store programs; The processor executes the program to implement the vehicle communication network diagnosis method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The storage medium stores a program, and the program is executed by a processor to implement the vehicle communication network diagnosis method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Automatic detection device and method based on electric vehicle lithium battery controller
CN111880516A
Train network health assessment method and system
CN115941526A
Cited By
Ethernet waveform typical working condition recognition method and system based on physical knowledge guidance
CN122718104A