Method and system for monitoring link communication stability

By initializing the configuration and error monitoring of the on-board SerDes link, real-time accumulation and analysis of the number of errors, the problem of difficult to detect occasional transmission abnormalities is solved, link communication stability and troubleshooting efficiency are improved, and maintenance costs are reduced.

CN120455326APending Publication Date: 2025-08-08GUANGZHOU AUTOMOBILE GROUP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510638630.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-16
Publication Date
2025-08-08

AI Technical Summary

Technical Problem

In the on-board SerDes link, occasional transmission abnormalities are difficult to detect, affecting the stability and reliability of data transmission, and the inspection is difficult.

Method used

By initializing the serializer and deserializer, link communication is monitored in real time, reading the accumulated number of error codes in the error register, and analyzing the link stability based on the accumulated number of error codes, checking for plug-in and wiring harness abnormalities.

Benefits of technology

Quickly locate the link problems, improve inspection efficiency, reduce after-sales maintenance costs, and ensure product quality stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120455326A_ABST
    Figure CN120455326A_ABST
Patent Text Reader

Abstract

The invention provides a method for monitoring link communication stability, which comprises the following steps of: carrying out initial configuration on a serializer and a deserializer in a link to realize normal transmission of original data of a camera in the link; after normal transmission of the link, reading the error code register and accumulatively storing the error code number of the link; according to a received error code data uploading request of the cloud equipment or the diagnosis equipment, the error code cumulative number is uploaded to the cloud end or the PC end; analyzing link communication stability according to the error code cumulative number; and according to the error code cumulative number, checking whether plugging or wiring harness abnormity exists in the link. The invention further discloses a corresponding system. According to the invention, each link is monitored in real time, so that the problem of the link can be quickly positioned.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of link technology, and in particular to a method and system for monitoring link communication stability. Background Art

[0002] With the increasing centralization of automotive electronics architecture, the demand for high-bandwidth data transmission has become a rigid requirement, driving a rapid increase in the use of in-vehicle serializer / deserializer (SerDes) chips. However, high-speed SerDes imposes stringent requirements on power supply noise, clock jitter, circuit PCB design, and wiring harnesses. In actual applications, although the probability of occasional transmission anomalies is relatively low, troubleshooting them is extremely difficult.

[0003] In actual application scenarios, troubleshooting sporadic transmission anomalies in automotive SerDes systems presents numerous challenges. Factors such as electromagnetic interference, improper wiring harness assembly, or damage during use can all affect the stability and reliability of high-speed SerDes data transmission, leading to sporadic SerDes transmission anomalies. These anomalies are extremely difficult to troubleshoot in practice. Summary of the Invention

[0004] The technical problem to be solved by the present invention is to propose a method for monitoring link communication stability, which can quickly locate link problems through real-time monitoring of each link.

[0005] As one aspect of the present invention, a method for monitoring link communication stability is provided, which comprises the following steps:

[0006] Initialize and configure the serializer and deserializer in the link to ensure normal transmission of camera raw data in the link;

[0007] After the link is transmitting normally, the error register is read and the error count of the link is accumulated and saved;

[0008] Upload the accumulated error data to the cloud or PC based on the error data upload request received from the cloud device or diagnostic device;

[0009] Analyze link communication stability based on the accumulated number of bit errors;

[0010] Based on the number of accumulated bit errors, check whether there is a connection or wiring harness abnormality on the link.

[0011] The initialization and configuration of the serializer and deserializer in the link to achieve normal transmission of the camera raw data in the link includes:

[0012] Power on the deserializer and initialize its registers through the I2C bus to set the deserializer's operating mode, clock frequency, and data format parameters.

[0013] Power on the serializer and initialize the serializer registers through the I2C of the deserializer. Set the input data source selection, data encoding mode, and clock source selection parameters of the serializer, and ensure that the serializer and deserializer parameters match.

[0014] Realize the real-time transmission of camera raw data from the camera to the ECU (Electronic Control Unit) and ensure the clock synchronization of each device in the link.

[0015] The step of reading the error register and accumulating the number of error bits in the link includes:

[0016] Read the accumulated number of bit errors on the ECU storage device and record it as Total_count;

[0017] Before the ECU is powered off, the error register of the deserializer is read once and recorded as cur_count.

[0018] The currently read error count cur_count is added to the previously saved error accumulation count Total_count to obtain a new error accumulation count Total_count=Total_count+cur_count, and the new error accumulation count is saved in the storage device of the ECU.

[0019] The step of uploading the accumulated number of bit errors to the cloud or PC includes:

[0020] When the ECU receives a request to upload error data from the cloud device, it reads the error register of the deserializer, accumulates the number of errors, and uploads the accumulated error count to the cloud through the Ethernet interface. During the data upload process, a reliable network communication protocol is used and the uploaded data is encrypted.

[0021] When the ECU receives the error data upload request from the diagnostic device, it reads the error register of the deserializer and accumulates the number of errors. It then transmits the accumulated error number to the PC through the OBD (On-Board Diagnostics) diagnostic interface. During the data transmission process, the data is encapsulated and transmitted according to the specifications of the CAN (Controller Area Network) protocol.

[0022] The analyzing link communication stability according to the accumulated number of bit errors includes:

[0023] Set different cumulative error thresholds. Based on the threshold range, perform a graded assessment of link communication stability and analyze the changing trend of the cumulative error count.

[0024] The step of checking whether there is a connection or wiring harness abnormality in the link based on the accumulated number of bit errors includes:

[0025] Perform a connection check: Based on the number of accumulated bit errors, check whether the connection between the camera, wiring harness, and ECU is secure, and check whether the pins of the connector are bent or broken;

[0026] Conduct wiring harness inspection: Perform an appearance inspection on the wiring harness to check whether it is damaged, worn, or deformed. Use a multimeter or other tool to test the conductivity of the wiring harness and check whether the shielding layer of the wiring harness is intact.

[0027] Perform ECU inspection: If the connection and wiring harness inspection are normal, but the cumulative number of bit errors exceeds the preset value, use professional diagnostic equipment to perform a functional test on the ECU to check whether the serializer / deserializer chip and related circuits inside the ECU are working properly.

[0028] Accordingly, as another aspect of the present invention, a system for monitoring link communication stability is provided, comprising:

[0029] The link transmission module is used to initialize and configure the serializer and deserializer in the link to achieve normal transmission of the camera's raw data in the link;

[0030] The error data acquisition module is used to read the error register and accumulate the error count of the link after the link is transmitted normally;

[0031] The error data upload module is used to upload the accumulated error count to the cloud or PC based on the error data upload request received from the cloud device or diagnostic device;

[0032] Error data analysis module, used to analyze link communication stability based on the accumulated number of error bits;

[0033] The link exception processing module is used to check whether there are any abnormalities in the connection or wiring harness of the link based on the cumulative number of bit errors.

[0034] Wherein, the link transmission module includes:

[0035] The deserializer initialization unit is used to power on the deserializer and initialize its registers through the I2C bus to set the deserializer's operating mode, clock frequency, and data format parameters;

[0036] The serializer initialization unit is used to power on the serializer and initialize the serializer registers through the I2C of the deserializer, set the input data source selection, data encoding mode, and clock source selection parameters of the serializer, and ensure that the serializer and deserializer parameters match;

[0037] The data transmission unit is used to realize the real-time transmission of camera raw data from the camera to the ECU and ensure the clock synchronization of each device in the link.

[0038] Wherein, the error data acquisition module includes:

[0039] The cumulative number reading unit is used to read the cumulative number of bit errors on the ECU storage device, recorded as Total_count;

[0040] The current error count reading unit is used to read the error register of the deserializer once before the ECU is powered off, recorded as cur_count;

[0041] The error accumulation unit is used to add the currently read error number cur_count to the previously saved error accumulation number Total_count to obtain a new error accumulation number Total_count=Total_count+cur_count, and save the new error accumulation number on the storage device of the ECU.

[0042] The error data uploading module includes:

[0043] The cloud upload unit is used to read the error register of the deserializer and accumulate the number of errors when the ECU receives the error data upload request from the cloud device. The accumulated error number is uploaded to the cloud through the Ethernet interface. During the data upload process, a reliable network communication protocol is used and the uploaded data is encrypted.

[0044] The PC upload unit is used to read the error register of the deserializer and accumulate the number of errors when the ECU receives the error data upload request from the diagnostic device. The accumulated error number is transmitted to the PC through the OBD diagnostic interface, and data is encapsulated and transmitted according to the specifications of the CAN protocol during the data transmission process.

[0045] The error data analysis module is specifically used to set different error accumulation thresholds, perform graded evaluation on link communication stability according to the threshold range of the error accumulation, and analyze the changing trend of the error accumulation.

[0046] The link abnormality processing module includes:

[0047] The connector inspection unit is used to check whether the connection between the camera, wiring harness and ECU is secure based on the number of accumulated bit errors, and to check whether the pins of the connector are bent or broken;

[0048] The wiring harness inspection unit is used to perform an appearance inspection on the wiring harness to check whether it is damaged, worn, or extruded. It also uses a multimeter or other tool to test the wiring harness's conductivity and check whether the shielding layer of the wiring harness is intact.

[0049] The ECU inspection unit is used to perform a functional test on the ECU using professional diagnostic equipment if the connection and wiring harness inspections are normal but the accumulated number of bit errors exceeds the preset value. This test checks whether the serializer / deserializer chip and related circuits inside the ECU are working properly.

[0050] The implementation of the embodiments of the present invention has the following beneficial effects:

[0051] The present invention provides a method and system for monitoring link communication stability, monitoring link bit errors, and accumulating statistics on occasional anomalies to determine whether a link anomaly exists. This effectively monitors link communication stability and quickly locates the problem, greatly improving the efficiency of troubleshooting link anomalies, significantly reducing after-sales troubleshooting man-hours, and helping to reduce maintenance costs.

[0052] By implementing the present invention, link communication anomalies can be effectively monitored and discovered during the mass production stage, thereby ensuring the stability of product quality and improving product competitiveness. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, without inventive work, other drawings derived from these drawings still fall within the scope of the present invention.

[0054] Figure 1 A schematic diagram of the main process of an embodiment of a method for monitoring link communication stability provided by the present invention;

[0055] Figure 2 A schematic diagram of an implementation environment for the method provided by the present invention;

[0056] Figure 3 A schematic structural diagram of an embodiment of a system for monitoring link communication stability provided by the present invention;

[0057] Figure 4 for Figure 3 Schematic diagram of the structure of the link transmission module;

[0058] Figure 5 for Figure 3 Schematic diagram of the structure of the error data acquisition module;

[0059] Figure 6 for Figure 3 Schematic diagram of the structure of the error data upload module;

[0060] Figure 7 for Figure 3 Schematic diagram of the structure of the link exception handling module. DETAILED DESCRIPTION

[0061] In order to make the objectives, technical solutions and advantages of the present invention more clear, the present invention will be described in further detail below with reference to the accompanying drawings.

[0062] like Figure 1 FIG. 1 is a schematic diagram showing a main flow of an embodiment of a method for monitoring link communication stability provided by the present invention. Figure 2 As shown, in this embodiment, the method at least includes:

[0063] Step S10: Initialize and configure the serializer and deserializer in the link to achieve normal transmission of the camera raw data in the link; the link here can be, for example, a SerDes link.

[0064] Specifically, after the signal receiving ECU is operational, it provides a stable operating voltage to the serializer and deserializer in a predetermined sequence. This ensures that the power supply voltage is within the chip's specified operating voltage range to prevent chip damage or malfunction due to excessively high or low voltages. For example, for a certain automotive serializer / deserializer (SerDes) chip, the operating voltage range is 3.0V-3.6V. The power supply system must ensure that the output voltage is within this range, with voltage fluctuations not exceeding ±0.1V.

[0065] More specifically, in one example, step S10 further includes:

[0066] Step S101: Power on the deserializer and initialize and configure its registers through the I2C bus to set the deserializer's operating mode, clock frequency, and data format parameters;

[0067] Specifically, the deserializer is initialized and configured through the I2C bus. The I2C bus is a commonly used serial communication bus. During the initialization process, specific configuration data needs to be written to the corresponding register of the deserializer in accordance with the communication protocol specified in the chip manual. For example, set the deserializer's operating mode (such as normal mode, low power mode, etc.), clock frequency, data format (such as parallel data width, data alignment, etc.) and other parameters. When writing register data, the communication timing of the I2C bus must be strictly followed, including the start signal, address sending, data reading and writing, response signal, stop signal and other links to ensure that the data can be written to the register accurately.

[0068] Step S102: Power on the serializer and initialize the serializer registers through the I2C of the deserializer, set the input data source selection, data encoding mode, and clock source selection parameters of the serializer, and ensure that the serializer and deserializer parameters match;

[0069] Specifically, initialize and configure the serializer registers through the deserializer's I2C interface. Similarly, set the serializer's parameters according to the chip's manual, such as the input data source (e.g., video data from a specific camera), data encoding (e.g., 8B / 10B encoding), and clock source. During configuration, ensure that the serializer and deserializer parameters match, such as clock frequency consistency, to ensure proper data transmission across the link.

[0070] Step S103, after step S101 and step S102, the real-time transmission of the camera raw data from the camera to the ECU is realized, and the clock synchronization of each device in the link is ensured.

[0071] Specifically, after the initial configuration of the serializer and deserializer is completed, the camera's raw data can be encoded and processed by the serializer, then transmitted across the link to the deserializer. Finally, the deserializer decodes the data and transmits it to the ECU, achieving real-time transmission. During data transmission, the clocks of all devices in the link must be synchronized to avoid data transmission errors caused by clock deviation. For example, clock recovery technology can be used to enable the receiver to recover the accurate clock signal from the received data to ensure correct data sampling and transmission.

[0072] Step S11, after the link is transmitting normally, read the error register and accumulate and save the number of error bits of the link;

[0073] After the ECU completes normal transmission of the link, it needs to read the error register and accumulate and save the number of error bits in the link.

[0074] More specifically, in one example, step S11 further includes:

[0075] Step S111, reading the accumulated number of bit errors on the storage device of the ECU, recorded as Total_count;

[0076] Step S112: Before the ECU is powered off, the error register of the deserializer is read once and recorded as cur_count;

[0077] Specifically, read the deserializer's error register, recorded as cur_count. During data reception, the deserializer verifies the received data and counts any errors detected in the error register. When reading the error register, follow the communication protocol specified in the chip manual to ensure accurate and reliable data.

[0078] Step S113 , adding the currently read number of bit errors cur_count to the previously saved cumulative number of bit errors Total_count to obtain a new cumulative number of bit errors Total_count=Total_count+cur_count, and saving the new cumulative number of bit errors in a storage device of the ECU.

[0079] Specifically, the currently read error count cur_count is added to the previously saved error count Total_count to obtain a new error count Total_count = Total_count + cur_count. This new error count is then saved on the ECU's storage device. During the saving process, attention must be paid to data integrity to avoid data corruption caused by abnormalities during the writing process. A verification mechanism, such as a cyclic redundancy check (CRC), can be used to verify the written data and ensure its correctness.

[0080] Step S12: uploading the accumulated number of bit errors to the cloud or PC according to the bit error data upload request received from the cloud device or diagnostic device;

[0081] Specifically, when the ECU receives a request from the cloud device to upload error data, it uploads the accumulated error count to the cloud via Ethernet. Alternatively, when the ECU receives a request from the diagnostic device to upload error data, it transmits the accumulated error count to the PC via the OBD diagnostic interface.

[0082] More specifically, in one example, step S12 further includes:

[0083] Step S121: When the ECU receives the error data upload request from the cloud device, it reads the error register of the deserializer, accumulates the number of errors, and uploads the accumulated error number to the cloud via the Ethernet interface. During the data upload process, a reliable network communication protocol is used and the uploaded data is encrypted.

[0084] Specifically, when the ECU receives a request to upload error data from the cloud device, it reads the error register of the deserializer and accumulates the number of errors. When reading the error register, the communication protocol specified in the chip manual must also be followed. The ECU then uploads the accumulated number of errors to the cloud via the Ethernet interface. During the data upload process, a reliable network communication protocol, such as TCP / IP, must be used to ensure that the data can be transmitted to the cloud accurately and without error. At the same time, the uploaded data can be encrypted, such as using encryption algorithms such as AES (Advanced Encryption Standard) to protect the security of the data and prevent the data from being stolen or tampered with during transmission.

[0085] In step S122, after the ECU receives the error data upload request from the diagnostic device, it reads the error register of the deserializer, accumulates the number of errors, and transmits the accumulated number of errors to the PC through the OBD diagnostic interface. During the data transmission process, the data is encapsulated and transmitted according to the specifications of the CAN protocol.

[0086] Specifically, when the ECU receives a request to upload error data from the diagnostic device, it also reads the error register of the deserializer and accumulates the number of errors. The ECU then transmits this accumulated error count to the PC via the OBD diagnostic interface. The OBD diagnostic interface typically utilizes a specific communication protocol, such as CAN (Controller Area Network). During data transmission, data encapsulation and transmission must comply with CAN protocol specifications to ensure correct data parsing on the PC. Furthermore, attention must be paid to the real-time nature of data transmission so that diagnostic personnel can obtain error data promptly for analysis.

[0087] Step S13, analyzing the link communication stability based on the accumulated number of bit errors;

[0088] It can be understood that when the cumulative error count is ≥ 0, it indicates that the link is unstable, and the larger the cumulative error count, the more unstable the link communication is. In this step, different cumulative error count thresholds can be set. Based on the threshold range of the cumulative error count, the link communication stability is graded and the changing trend of the cumulative error count is analyzed.

[0089] In one example, after receiving the cumulative number of bit errors, the cumulative number of bit errors is analyzed using specific analysis software or algorithms. Different thresholds for the cumulative number of bit errors can be set, and the stability of the link communication can be graded based on the threshold range of the cumulative number of bit errors. For example, when the cumulative number of bit errors is within the range of 0-10, the link communication is considered to be basically stable; when the cumulative number of bit errors is within the range of 11-50, the link communication is considered to be slightly unstable; and when the cumulative number of bit errors is greater than 50, the link communication is considered to be seriously unstable. At the same time, the trend of the cumulative number of bit errors can be analyzed, such as calculating the growth rate of the cumulative number of bit errors in different time periods. If the growth rate continues to increase, it means that the stability of the link communication is gradually declining, and timely measures need to be taken to address it.

[0090] Step S14: Check whether there is any abnormality in the connection or wiring harness of the link based on the accumulated number of bit errors.

[0091] In this step, based on the cumulative number of bit errors, you can check whether the physical link (camera, wiring harness, and ECU) has any connection anomalies or wiring harness anomalies.

[0092] In a specific example, step S14 further includes:

[0093] Connector Inspection: Based on the number of accumulated bit errors, first check the connections between the camera, wiring harness, and ECU for tightness. Visually inspect and physically press the connectors to ensure they are secure, free of looseness or poor contact. Also, check the connector pins for bent or broken pins. If any issues are found, replace the connector or repair the pins immediately.

[0094] Wiring harness inspection: Perform a visual inspection of the wiring harness to check for damage, wear, or deformation. Use a multimeter or other tool to test the wiring harness for continuity to ensure there are no open or short circuits. Also, check the integrity of the wiring harness shielding. Damage to the shielding may cause electromagnetic interference to enter the link, affecting data transmission stability. The wiring harness needs to be repaired or replaced promptly.

[0095] ECU Inspection: If the connector and wiring harness appear normal, but the accumulated bit errors exceed the preset value, further inspection of the ECU is necessary. Professional diagnostic equipment can be used to perform functional tests on the ECU to verify the proper functioning of the SerDes chip and related circuits within the ECU. For example, check the chip's power supply voltage, the stability of the chip's clock signal, and the functioning of the chip's communication interface. If any problems are found in the ECU, repair or replace it promptly.

[0096] like Figure 3FIG. 1 is a schematic diagram showing a structure of an embodiment of a system for monitoring link communication stability provided by the present invention; and FIG. Figures 4 to 7 As shown, in this embodiment, the system for monitoring link communication stability includes at least:

[0097] The link transmission module 10 is used to initialize and configure the serializer and deserializer in the link to achieve normal transmission of the camera raw data in the link;

[0098] The error data acquisition module 11 is used to read the error register and accumulate the error count of the link after the link is transmitted normally;

[0099] The error data uploading module 12 is used to upload the accumulated number of errors to the cloud or PC according to the error data upload request received from the cloud device or diagnostic device;

[0100] The error data analysis module 13 is used to analyze the link communication stability based on the accumulated number of error bits;

[0101] The link abnormality processing module 14 is used to check whether there is any abnormality in the connection or wiring harness of the link based on the size of the accumulated number of bit errors.

[0102] like Figure 4 As shown, in one example, the link transmission module 10 includes:

[0103] The deserializer initialization unit 100 is used to power on the deserializer and initialize and configure its registers through the I2C bus to set the working mode, clock frequency, and data format parameters of the deserializer;

[0104] The serializer initialization unit 101 is used to power on the serializer and initialize the serializer registers through the I2C of the deserializer, set the input data source selection, data encoding mode, and clock source selection parameters of the serializer, and ensure that the serializer and deserializer parameters match;

[0105] The data transmission unit 102 is used to realize the real-time transmission of the camera raw data from the camera to the ECU end and ensure the clock synchronization of each device in the link.

[0106] like Figure 5 As shown, in one example, the error data acquisition module 11 includes:

[0107] The cumulative number reading unit 110 is used to read the cumulative number of bit errors stored in the ECU storage device, which is recorded as Total_count;

[0108] The current error count reading unit 111 is used to read the error register of the deserializer once before the ECU is powered off, which is recorded as cur_count;

[0109] The error accumulation unit 112 is configured to add the currently read error count cur_count to the previously saved error accumulation count Total_count to obtain a new error accumulation count Total_count=Total_count+cur_count, and save the new error accumulation count in a storage device of the ECU.

[0110] like Figure 6 As shown, in one example, the error data uploading module 12 includes:

[0111] The cloud upload unit 120 is used to read the error register of the deserializer and accumulate the number of errors when the ECU receives the error data upload request from the cloud device, and upload the accumulated error number to the cloud through the Ethernet interface. During the data upload process, a reliable network communication protocol is used and the uploaded data is encrypted;

[0112] The PC-side upload unit 121 is used to read the error register of the deserializer and accumulate the number of errors when the ECU receives the error data upload request from the diagnostic device, and transmit the accumulated error number to the PC side through the OBD diagnostic interface. During the data transmission process, data is encapsulated and transmitted according to the specifications of the CAN protocol.

[0113] In one example, the error data analysis module 13 is specifically used to set different error accumulation thresholds, perform graded evaluation on link communication stability according to the threshold range of the error accumulation number, and analyze the changing trend of the error accumulation number.

[0114] like Figure 7 As shown, in one example, the link abnormality processing module 14 includes:

[0115] The connector inspection unit 140 is used to check whether the connection between the camera, the wiring harness and the ECU is secure based on the number of accumulated bit errors, and to check whether the pins of the connector are bent or broken;

[0116] The wiring harness inspection unit 141 is used to perform an appearance inspection on the wiring harness to check whether the wiring harness is damaged, worn, or extruded, and to test the conductivity of the wiring harness using a multimeter or other tool to check whether the shielding layer of the wiring harness is intact;

[0117] The ECU inspection unit 142 is used to perform a functional test on the ECU using professional diagnostic equipment to check whether the SerDes chip and related circuits inside the ECU are working properly if the connection and wiring harness inspection are normal but the cumulative number of bit errors exceeds a preset value.

[0118] For more details, please refer to and combine the above Figure 1 and Figure 2The description is not repeated here.

[0119] The implementation of the embodiments of the present invention has the following beneficial effects:

[0120] The present invention provides a method and system for monitoring link communication stability, monitoring link bit errors, and accumulating statistics on occasional anomalies to determine whether a link anomaly exists. This effectively monitors link communication stability and quickly locates the problem, greatly improving the efficiency of troubleshooting link anomalies, significantly reducing after-sales troubleshooting man-hours, and helping to reduce maintenance costs.

[0121] By implementing the present invention, link communication anomalies can be effectively monitored and discovered during the mass production stage, thereby ensuring the stability of product quality and improving product competitiveness.

[0122] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowcharts and / or block diagrams, as well as combinations of processes and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor module of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor module of the computer or other programmable data processing device generate instructions for implementing the processes in the flowcharts and / or block diagrams. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0123] The above disclosure is only a preferred embodiment of the present invention and certainly cannot be used to limit the scope of the present invention. Therefore, equivalent changes made according to the claims of the present invention are still within the scope of the present invention.

Claims

1. A method for monitoring link communication stability, characterized in that: The following steps are involved: Initialize and configure the serializer and deserializer in the link to ensure normal transmission of camera raw data in the link; After the link is transmitting normally, the error register is read and the error count of the link is accumulated and saved; Upload the accumulated error data to the cloud or PC based on the error data upload request received from the cloud device or diagnostic device; Analyze link communication stability based on the accumulated number of bit errors; Based on the number of accumulated bit errors, check whether there is a connection or wiring harness abnormality on the link.

2. The method according to claim 1, characterized in that Initializing and configuring the serializer and deserializer in the link to achieve normal transmission of camera raw data in the link includes: Power on the deserializer and initialize its registers through the I2C bus to set the deserializer's operating mode, clock frequency, and data format parameters. Power on the serializer and initialize the serializer registers through the I2C of the deserializer. Set the input data source selection, data encoding mode, and clock source selection parameters of the serializer, and ensure that the serializer and deserializer parameters match. Realize the real-time transmission of camera raw data from the camera to the ECU and ensure the clock synchronization of each device in the link.

3. The method according to claim 2, characterized in that The step of reading the error register and accumulating the number of error bits in the link includes: Read the accumulated number of bit errors on the ECU storage device and record it as Total_count; Before the ECU is powered off, the error register of the deserializer is read once and recorded as cur_count. The currently read error count cur_count is added to the previously saved error accumulation count Total_count to obtain a new error accumulation count Total_count=Total_count+cur_count, and the new error accumulation count is saved in the storage device of the ECU.

4. The method according to claim 3, characterized in that Uploading the accumulated number of bit errors to the cloud or PC includes: When the ECU receives a request to upload error data from the cloud device, it reads the error register of the deserializer, accumulates the number of errors, and uploads the accumulated error count to the cloud through the Ethernet interface. During the data upload process, a reliable network communication protocol is used and the uploaded data is encrypted. When the ECU receives the error data upload request from the diagnostic device, it reads the error register of the deserializer and accumulates the number of errors. It then transmits the accumulated error number to the PC through the OBD diagnostic interface. During the data transmission process, the data is encapsulated and transmitted according to the CAN protocol specifications.

5. The method according to claim 4, characterized in that Analyzing the link communication stability according to the accumulated number of bit errors includes: Set different cumulative error thresholds. Based on the threshold range, perform a graded assessment of link communication stability and analyze the changing trend of the cumulative error count.

6. The method according to claim 5, characterized in that Based on the cumulative number of bit errors, check whether there are any abnormalities in the connection or wiring harness of the link, including: Based on the number of accumulated bit errors, check whether the connection between the camera, wiring harness, and ECU is secure, and check whether the pins of the connector are bent or broken; Perform an appearance inspection on the wiring harness to check whether it is damaged, worn, or deformed. Use a multimeter to test the conductivity of the wiring harness and check whether the shielding layer of the wiring harness is intact. If the connection and wiring harness inspection are normal, but the cumulative number of bit errors exceeds the preset value, use professional diagnostic equipment to perform a functional test on the ECU to check whether the serializer / deserializer chip and related circuits inside the ECU are working properly.

7. A system for monitoring link communication stability, characterized in that: include: The link transmission module is used to initialize and configure the serializer and deserializer in the link to achieve normal transmission of the camera's raw data in the link; The error data acquisition module is used to read the error register and accumulate the error count of the link after the link is transmitted normally; The error data upload module is used to upload the accumulated error count to the cloud or PC based on the error data upload request received from the cloud device or diagnostic device; Error data analysis module, used to analyze link communication stability based on the accumulated number of error bits; The link exception processing module is used to check whether there are any abnormalities in the connection or wiring harness of the link based on the cumulative number of bit errors.

8. The system according to claim 7, characterized in that The link transmission module includes: The deserializer initialization unit is used to power on the deserializer and initialize its registers through the I2C bus to set the deserializer's operating mode, clock frequency, and data format parameters; The serializer initialization unit is used to power on the serializer and initialize the serializer registers through the I2C of the deserializer, set the input data source selection, data encoding mode, and clock source selection parameters of the serializer, and ensure that the serializer and deserializer parameters match; The data transmission unit is used to realize the real-time transmission of camera raw data from the camera to the ECU and ensure the clock synchronization of each device in the link.

9. The system according to claim 8, characterized in that The error data acquisition module includes: The cumulative number reading unit is used to read the cumulative number of bit errors on the ECU storage device, recorded as Total_count; The current error count reading unit is used to read the error register of the deserializer once before the ECU is powered off, recorded as cur_count; The error accumulation unit is used to add the currently read error number cur_count to the previously saved error accumulation number Total_count to obtain a new error accumulation number Total_count=Total_count+cur_count, and save the new error accumulation number on the storage device of the ECU.

10. The system according to claim 9, characterized in that The error data uploading module includes: The cloud upload unit is used to read the error register of the deserializer and accumulate the number of errors when the ECU receives the error data upload request from the cloud device. The accumulated error number is uploaded to the cloud through the Ethernet interface. During the data upload process, a reliable network communication protocol is used and the uploaded data is encrypted. The PC upload unit is used to read the error register of the deserializer and accumulate the number of errors when the ECU receives the error data upload request from the diagnostic device. The accumulated error number is transmitted to the PC through the OBD diagnostic interface, and data is encapsulated and transmitted according to the specifications of the CAN protocol during the data transmission process.

11. The system according to claim 10, wherein: The error data analysis module is specifically used to set different error accumulation thresholds, perform graded evaluation on link communication stability according to the threshold range of the error accumulation number, and analyze the changing trend of the error accumulation number.

12. The system according to claim 11, characterized in that The link abnormality processing module includes: The connector inspection unit is used to check whether the connection between the camera, wiring harness and ECU is secure based on the number of accumulated bit errors, and to check whether the pins of the connector are bent or broken; The wiring harness inspection unit is used to perform an appearance inspection on the wiring harness to check whether it is damaged, worn, or extruded. It also uses a multimeter to test the wiring harness's conductivity and check whether the shielding layer of the wiring harness is intact. The ECU inspection unit is used to perform a functional test on the ECU using professional diagnostic equipment if the connection and wiring harness inspections are normal but the accumulated number of bit errors exceeds the preset value. This test checks whether the serializer / deserializer chip and related circuits inside the ECU are working properly.