Offline-configuration error prevention method and apparatus for on-board controller during vehicle reversing, and computer system

By adding the Retry mechanism during the reversing process, the problem of inconsistent synchronization of configuration data when the vehicle controller is offline is solved, ensuring the normal use of functional configuration types and achieving reliable synchronization of configuration data.

WO2025016163A1PCT designated stage expired Publication Date: 2025-01-23DONGFENG MOTOR GRP
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/101568
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-07-19
Filing Date
2024-06-26
Publication Date
2025-01-23

AI Technical Summary

Technical Problem

During the reversing process, the offline configuration data of the on-board controller are synchronized inconsistently between the MPU and the MCU, resulting in the functional configuration type being unable to be used normally.

Method used

During the reversing process, a Retry mechanism is added. When the offline configuration data of the MPU and MCU are inconsistent, the data is read repeatedly until the synchronization is completed or the 250-time limit is reached to ensure the consistency of the configuration data.

Benefits of technology

Through the Retry mechanism, it is ensured that the offline configuration data of MPU and MCU are completed synchronously within 20ms, preventing configuration word reading errors and ensuring the normal use of functions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024101568_23012025_PF_FP_ABST
    Figure CN2024101568_23012025_PF_FP_ABST
Patent Text Reader

Abstract

An offline-configuration error prevention method for an on-board controller during vehicle reversing. The method comprises: after offline configurations are modified, starting a head unit for the first time, and enabling a vehicle reversing service by shifting into an R gear; and respectively reading offline configurations from an MPU and an MCU, and performing determination on the offline configurations, wherein if configuration information read from the MPU is consistent with configuration information read from the MCU, it is determined that the offline configurations are correctly read, and the vehicle reversing service is normally executed, and if configuration data parsed from the MPU is inconsistent with configuration data parsed from the MCU, then a retry mechanism is entered. The error prevention method solves the problem in the prior art whereby a function configuration type cannot be normally used due to offline configuration data read from an nvdata partition in an MPU by means of a functional service being inconsistent with offline configuration data read from an MCU by means of the functional service, and the error prevention method can be widely applied to head unit systems.
Need to check novelty before this filing date? Find Prior Art

Description

A method, device and computer system for preventing vehicle controller offline configuration errors during reversing

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] The embodiments of this application are based on and claim the priority of Chinese patent application with application number 202310891014.6 and application date July 19, 2023. The entire contents of the Chinese patent application are hereby introduced into the embodiments of this application as a reference. Technical Field

[0003] The present invention relates to a vehicle computer system, and in particular to a method, a device and a computer system for preventing errors in offline configuration of a vehicle controller during reversing. Background Art

[0004] In-vehicle audio and video entertainment systems usually implement differentiated functions for each vehicle configuration based on the offline configuration. Before reversing, when the offline configuration is modified and the vehicle is started for the first time, the offline configuration data of the nvdata partition of the vehicle MPU will be synchronized with the latest offline configuration data from the MCU. Under normal circumstances, the synchronization of offline configuration data can be completed in about 1 second. If the corresponding function is started relatively early, there will be a situation where the data read from nvdata is the data before the synchronization between the MCU and the nvdata partition. The nvdata partition has not yet completed synchronization with the offline configuration data of the MCU. The nvdata read by the corresponding functional service is inconsistent with the offline configuration data of the MCU, which will cause the corresponding functional service to be unable to determine the actual functional configuration type (such as AVM / single reversing), making the function unable to be used normally, such as the reversing image cannot be displayed normally.

[0005] To address this situation, some automobile manufacturers have proposed a technical solution, "A Passenger Car Instrument Cluster System Offline Configuration Error Prevention Method": During reversing, if the SOC processor receives an IG change notification from the MCU controller while acquiring each offline configuration data in the offline configuration data group transmitted by the MCU controller, the MCU controller will interrupt the transmission of the remaining offline configuration data in the offline configuration data group that has not been transmitted to the SOC processor; the SOC processor will reset the initialization signal values ​​other than the offline configuration data group; after resetting the initialization signal values ​​other than the offline configuration data group, the SOC processor will continue to acquire the offline configuration data in the offline configuration data group that has not been acquired, and after acquiring it, it will process the acquired offline configuration data by calling a callback function. However, this method only ensures that after the MCU's offline configuration data changes, the updated offline configuration is written to the SOC through a reset, and does not explain how to prevent errors or ensure the correct operation of offline configuration-related functions.

[0006] Summary of the Invention

[0007] The purpose of the present invention is to overcome the shortcomings of the above-mentioned background technology and provide a method, device and computer system for preventing errors in the offline configuration of the vehicle controller during reversing, so as to solve the problem in the prior art that the nvdata partition in the MPU read by the functional service is inconsistent with the offline configuration data of the MCU, resulting in the inability to use the functional configuration type normally.

[0008] The present invention provides a method for preventing errors in offline configuration of a vehicle controller during reversing, which is applied to electronic equipment in a vehicle. The offline configuration is started for the first time: after the offline configuration is modified, the vehicle computer is started for the first time, and the R gear is engaged to start the reversing service; the offline configuration is judged: the offline configuration is read from the MPU and the MCU respectively for judgment. If the configuration information read from the two is consistent, it is judged that the offline configuration is read correctly and the reversing service is executed normally; the retry mechanism is started: if the configuration data parsed from the MPU and the MCU are inconsistent, the retry mechanism is entered.

[0009] As a second aspect, the present invention further provides a device for preventing errors in offline configuration of a vehicle-mounted controller during reversing, comprising a computer program capable of executing a method for preventing errors in offline configuration of a vehicle-mounted controller during reversing.

[0010] As a third aspect, the present invention further provides a computer system comprising an on-board controller offline configuration error prevention device during reversing.

[0011] The method, device and computer system for preventing vehicle controller offline configuration errors during reversing of the present invention have the following beneficial effects:

[0012] The present invention adds a retry mechanism when the offline configuration data of the MPU and the MCU have not been synchronized. The upper limit is set to re-read the offline configuration data in the MPU and the MCU 250 times within 20ms. If the MPU still has not completed the offline data synchronization with the MCU after 250 retries, the offline configuration data in the MCU shall prevail, so as to prevent the offline configuration data from not being synchronized and causing configuration word reading errors, thereby affecting the normal use of the corresponding functions of the configuration words. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] FIG1 is a schematic diagram of the controller software and hardware architecture on which the vehicle controller offline configuration error prevention method during reversing of the present invention relies;

[0014] FIG2 is a schematic diagram of the overall process of the method for preventing errors in offline configuration of the vehicle controller during reversing according to the present invention;

[0015] FIG3 is a schematic structural diagram of a vehicle controller offline configuration error prevention device during reversing according to the present invention;

[0016] FIG4 is a schematic diagram of the structure of the computer system of the present invention. DETAILED DESCRIPTION

[0017] The present invention will be further described in detail below with reference to the accompanying drawings and examples, but the examples should not be construed as limiting the present invention.

[0018] 1. Architecture of the In-Vehicle Audio and Video Entertainment Domain Controller

[0019] As shown in Figure 1, the in-vehicle audio and video entertainment domain controller consists of an MPU and an MCU. The MPU's nvdata partition stores the vehicle's offline configuration data, used to configure different functions for different vehicle configurations. When the offline configuration data is modified and the vehicle computer is powered on to start reverse, the MPU's nvdata partition synchronizes the offline configuration data with the MCU. When calling offline configuration-related functional services, the MPU determines whether the function is supported based on the read result of the nvdata partition.

[0020] The configuration word is used to diagnose software that configures the same controller, and is a marker for instantiated vehicle functions with different configurations. For example, Bit3: surround view type (0: HD reverse 1: HD surround view). If the workshop offline configuration (or diagnostic equipment such as a diagnostic instrument) sets Bit3 to 1, the vehicle software automatically adapts to the software module of the HD surround view function.

[0021] When the user shifts into the R gear, the AVM determines that it is the R gear and sends a CAN signal to the car computer to request the display of the AVM interface. After receiving the AVM display request signal, the car computer will first read the configuration word of Bit3 from the nvdata partition of the MPU to see if it is 1 or 0. If it is 1, it means that the vehicle supports high-definition surround view. At this time, the car computer will display the AVM screen after detecting that the image is normal; if the configuration word of Bit 3 is 0, it means that the vehicle has only one rear-view camera and only supports single reversing image display (this part of the content can be both the conventional power-on startup detection content before the implementation of the present invention, and the content of the high-definition surround view function detection step in the implementation steps of the present invention. It is a subsequent step after the main technical steps of the present invention are completed, and it can also be a routine test every time the car computer is started after the offline configuration data is upgraded). If the vehicle can actually support high-definition surround view, but the configuration word is incorrectly configured as high-definition reversing, it will affect the normal use of the vehicle's high-definition surround view function. This is also the original intention of developing the present invention.

[0022] 2. Implementation steps of the present invention

[0023] 2 , the method for preventing errors in offline configuration of the vehicle controller during reversing of the present invention includes the following steps:

[0024] First start of offline configuration: During the reversing process, when the vehicle is started for the first time after the offline configuration is modified, the R gear is engaged to start the reversing service;

[0025] Offline configuration judgment: Read the offline configuration from the nvdata partition of the MCU and MPU respectively for judgment. If the configuration information read from the two is consistent, it is judged that the offline configuration is read correctly and the reversing service is executed normally;

[0026] Retry mechanism starts: If the parsed configuration data is inconsistent, the Retry mechanism is activated.

[0027] The retry mechanism is added because offline data synchronization can be completed in about 1 second under normal circumstances. To prevent data synchronization failure in extreme cases and to enhance software reliability, a retry time of 5 seconds is added. In this embodiment, the retry mechanism strategy is as follows: the retry limit is 250 times, each with an interval of 20ms, and a total time of 5 seconds;

[0028] Final execution basis: If the configuration information read from the two devices is still inconsistent after the Retry is completed (this will not happen in theory), for the sake of code robustness, the loop reading is jumped out and the data in the MCU is used as the basis, and the reversing service is executed normally.

[0029] High-definition surround view function detection steps (this step has been described in detail before and will not be repeated here).

[0030] 3. Structure of the present invention

[0031] Referring to FIG3 , the present invention provides an anti-error device for the vehicle controller during the reversing process, including the following contents:

[0032] Offline configuration first start module: After the offline configuration is modified, the car is started for the first time, and the reverse service is started by shifting to R gear;

[0033] Offline configuration judgment module: reads the offline configuration from the MPU and MCU respectively for judgment. If the configuration information read from the two is consistent, it is judged that the offline configuration is read correctly and the reversing service is executed normally;

[0034] Retry mechanism startup module: If the parsed configuration data of the MPU and MCU are inconsistent, the Retry mechanism is activated;

[0035] Final execution based on the module: If after the Retry mechanism ends, the configuration information read from the MPU and MCU is still inconsistent, the loop reading is jumped out, and the data in the MCU is used as the basis to perform the reversing service.

[0036] 4 , the computer system of the present invention includes an anti-error device for offline configuration of the vehicle controller during the reversing process.

[0037] In addition, the offline configuration disclosed in the present invention is composed of several bytes, which are divided into different configuration item configuration modules according to the requirements of the configuration items. For configuration items with relatively few types, 1 bit is enough (generally defined as 0: no, 1: yes), such as "rearview mirror folding switch"; but for configuration items with more types, multiple bits are occupied, such as reversing image, which occupies 3 bits and takes values ​​0 to 7, divided into 0: not configured, 1: standard reversing image, 2: high-definition reversing image, 3: high-definition 360-degree surround view, and other values ​​(4 to 7) are reserved.

[0038] In addition to reversing, offline configuration error prevention strategies are useful for all configuration items, including but not limited to:

[0039] 1) Sound effect type

[0040] 2) Air conditioning type (electric / automatic single-zone / automatic dual-zone);

[0041] 3) Tire pressure type;

[0042] 4) Seat function type (ventilation, heating, massage, etc.);

[0043] 5) Vehicle control, such as electric tailgate, sunroof, and window control;

[0044] 6) Whether vehicle control soft switches are present, such as lane change assist soft switch, door opening warning soft switch, rear cross-traffic warning soft switch, etc. (0: no, 1: yes).

[0045] The value of the configuration word determines whether the vehicle computer displays information, what type of information is displayed, which corresponding strategy the vehicle computer uses, and the corresponding response operation.

[0046] IV. Key Technical Points and Principles of the Invention

[0047] When calling the function service in the offline configuration, the present invention first determines whether the offline configuration data of the MPU and the MCU are synchronized. If the synchronization is not completed, the MPU is retried 250 times within 20ms, giving 20ms for the MPU to complete the offline data synchronization with the MCU, thereby preventing abnormal use of the corresponding function due to data synchronization failure; if the MPU still fails to complete the synchronization of the offline configuration data with the MCU after 20ms / 250 retries, the offline data in the MCU shall prevail, thereby ensuring that the function corresponding to the configuration word can be used stably and correctly.

[0048] V. Definitions of Abbreviations and Key Terms

[0049] MPU: Micro Processor Unit. MPU does not have peripheral devices (such as memory arrays). It is a highly integrated general-purpose processor. It is an MCU without integrated peripherals. DSP has strong computing power and is good at many repetitive data operations.

[0050] MCU: Micro Control Unit, microcontroller unit. MCU integrates on-chip peripheral devices and is suitable for processing, diagnosis and calculation of various data from different information sources. It focuses on control and is not as fast as DSP.

[0051] AVM: Around View Monitor, a panoramic monitoring imaging system, mostly used for 360-degree parking surround view in vehicles.

[0052] Obviously, those skilled in the art may make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if such changes and modifications fall within the scope of the claims and their equivalents, the present invention is intended to include such changes and modifications.

[0053] The contents not described in detail in this specification belong to the prior art known to those skilled in the art.

Claims

1. A method for preventing errors in offline configuration of a vehicle controller during reversing, which is applied to electronic equipment of a vehicle, and is characterized by: First start of offline configuration: The vehicle is started for the first time after the offline configuration is modified, and the reverse service is started by shifting to R gear; Offline configuration judgment: Read the offline configuration from the MPU and MCU respectively for judgment. If the configuration information read from the two is consistent, it is judged that the offline configuration is read correctly and the reversing service is executed normally; Retry mechanism starts: If the configuration data of the MPU and MCU are inconsistent, the Retry mechanism is activated.

2. The method for preventing errors in offline configuration of the vehicle controller during reversing according to claim 1, characterized in that: The retry mechanism is: setting the re-reading upper limit to m times, each time interval is Pms, and the total duration is m*P / 1000s, where m≥2 and P≥1.

3. The method for preventing errors in offline configuration of the vehicle controller during reversing according to claim 2, characterized in that: It also includes a final execution basis step, namely: if after the Retry mechanism ends, the configuration information read from the MPU and the MCU is still inconsistent, the loop reading is exited, and the reversing service is executed based on the data in the MCU.

4. The method for preventing errors in offline configuration of the vehicle controller during reversing according to claim 3 is characterized in that: The offline configuration of the MPU is stored in the nvdata partition of the MPU.

5. The method for preventing errors in offline configuration of the vehicle controller during reversing according to claim 4, characterized in that: The nvdata partition of the MPU stores configuration words that can diagnose and configure the same controller.

6. The method for preventing errors in offline configuration of the vehicle controller during reversing according to claim 5, characterized in that: The configuration word is Bit3, and the surround view type of the configuration word Bit3 includes: 0—high-definition reversing, 1—high-definition surround view.

7. The method for preventing errors in offline configuration of the vehicle controller during reversing according to claim 6, characterized in that: The retry mechanism is: setting the upper limit of re-reading to 250 times, each interval is 20ms, and the total duration is 5s.

8. The method for preventing errors in offline configuration of the vehicle controller during reversing according to claim 7, characterized in that: The final execution step also includes a high-definition surround view function detection step: Display request: When the user shifts to R gear, AVM determines that it is R gear and sends a CAN signal to the vehicle computer to request the AVM interface to be displayed; Configuration word judgment: After the vehicle computer receives the AVM display request signal, it will first read the configuration word of Bit3 from the nvdata partition of the MPU to see whether it is 1 or 0. If it is 1, the vehicle computer will display the AVM screen after detecting that the image is normal; Single reversing image display: If the configuration word of Bit 3 is 0, it means that the vehicle only supports single reversing image display.

9. A device for preventing errors in the offline configuration of a vehicle controller during reversing, comprising a computer program, characterized in that: The computer program can execute the method for preventing errors in offline configuration of the vehicle controller during reversing as described in claims 1 to 8.

10. A computer system, characterized in that: The computer system includes the vehicle controller offline configuration error prevention device during the reversing process as claimed in claim 9.

Citation Information

Patent Citations

  • Vehicle automatic configuration system and method

    CN111930103A

  • Reversing image offline configuration method, system, storage medium and computer equipment

    CN113335208A

  • Offline configuration mistake-proofing processing method for passenger car combination instrument system

    CN114859868A

  • Vehicle offline configuration data processing method and device, electronic equipment and medium

    CN115827052A

  • Vehicle-mounted controller offline configuration mistake proofing method and device in reversing process and computer system

    CN117022145A