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

By establishing data backup mechanisms in the flash EEPROM simulation module, SOC end, and server end, the problem of abnormal vehicle off-line configuration data was solved, data retention and recovery were realized, and the stability and reliability of intelligent vehicle off-line configuration data were ensured.

CN115827052BActive Publication Date: 2025-12-19CHONGQING CHANGAN TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211502511.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-28
Publication Date
2025-12-19
Estimated Expiration
2042-11-28

AI Technical Summary

Technical Problem

In existing technologies, vehicle configuration data after production is prone to anomalies, leading to mismatches between vehicle software functions and hardware resources, causing the entire vehicle to malfunction, and there is a lack of data memory retention and backup mechanisms.

Method used

By establishing data backup mechanisms in the flash EEPROM emulation module, SOC, and server, the accuracy of offline configuration data is ensured by using preset verification conditions, and verified configuration data is obtained from multiple sources when data is abnormal, thus realizing data retention and recovery.

Benefits of technology

This ensured the stability and reliability of the offline configuration data, preventing vehicle malfunctions caused by data anomalies and enabling effective data backup and recovery.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115827052B_ABST
    Figure CN115827052B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of vehicles, in particular to a vehicle offline configuration data processing method and device, electronic equipment and a medium, wherein the method comprises the following steps: initializing an EEPROM emulation module; after the initialization of the EEPROM emulation module is completed, offline configuration data saved in the EEPROM emulation module is read, and it is judged whether the offline configuration data meets a first preset check condition; if the offline configuration data does not meet the first preset check condition, the offline configuration data saved in the EEPROM emulation module is re-read until the number of times that the offline configuration data does not meet the first preset check condition reaches a preset number of times, then offline configuration data is read from a preset SOC end, so that the vehicle function is adapted according to the offline configuration data after the offline configuration data is checked; otherwise, the vehicle function is directly adapted according to the offline configuration data. Thus, the problem of abnormal offline configuration data is solved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of vehicles, in particular to a vehicle offline configuration data processing method and device, electronic equipment and medium. BACKGROUND

[0002] With the intelligentization, digitization, networking and service of automobiles, the functional requirements of automobiles are becoming more and more complex. In order to meet the different needs of different customer groups for intelligent automobiles, there will be more and more vehicle configurations for the same vehicle model. The software development of the same vehicle model is based on the requirement of maximizing the function service of the platform, and then different function combinations are realized according to the vehicle function configuration table. Therefore, the vehicle function configuration table, that is, the offline configuration data, will be the key to link the full function software and the difference of various hardware resources. Once the offline configuration data is wrong, it will be possible that the software function of the vehicle does not match the hardware resources of the vehicle, and some hardware supported functions will be paralyzed as a whole due to the abnormality of the offline configuration data. Once this situation occurs, it is a serious S-level problem. Therefore, how to ensure the accuracy and reliability of the offline configuration data will be an important issue to improve the software quality of intelligent automobiles and improve customer satisfaction.

[0003] A vehicle configuration data implementation method is proposed in the related art, which encodes the actual function configuration of the vehicle to generate a single vehicle configuration database, establishes a screening logic between the function configuration and the configuration word, encodes the logic to generate a configuration logic database, writes the single vehicle configuration database and the configuration logic database to the vehicle configuration master node controller, parses the vehicle configuration parameters by the vehicle configuration master node controller, and broadcasts the parsed parameters to the bus for each configuration slave node controller to receive and use.

[0004] However, the related art does not involve memory keeping, data backup and data recovery of the vehicle configuration data. SUMMARY

[0005] The present application provides a vehicle offline configuration data processing method and device, electronic equipment and medium to solve the problem of abnormal offline configuration data, realize memory keeping, data backup and data recovery of the vehicle configuration data, and ensure the stability and reliability of the offline configuration data of intelligent automobiles.

[0006] The first aspect embodiment of the application provides a vehicle offline configuration data processing method, comprising the following steps: initializing a flash EEPROM (Electrically Erasable Programmable read only memory, electrically erasable programmable read-only memory) simulation module; after the initialization of the flash EEPROM simulation module is completed, reading offline configuration data saved in the flash EEPROM simulation module, and judging whether the offline configuration data meets a first preset check condition; and if the offline configuration data does not meet the first preset check condition, re-reading the offline configuration data saved in the flash EEPROM simulation module until the number of times that the offline configuration data does not meet the first preset check condition reaches a preset number of times, and then reading the offline configuration data from a preset SOC (System on Chip, system on chip) end, so that the vehicle function is adapted according to the offline configuration data after the offline configuration data passes the check; otherwise, the vehicle function is directly adapted according to the offline configuration data.

[0007] According to the above technical means, the application can solve the problem of abnormal offline configuration data, realize the memory retention, data backup and data recovery of the vehicle configuration data, and ensure the stability and reliability of the offline configuration data of the intelligent automobile.

[0008] Optionally, in some embodiments, after reading the offline configuration data from the preset SOC end, it further comprises: judging whether the offline configuration data meets the first preset check condition; if the offline configuration data does not meet the first preset check condition, re-reading the offline configuration data from the preset SOC end until the number of times that the offline configuration data does not meet the first preset check condition reaches the preset number of times, and then obtaining offline configuration data from a target server.

[0009] According to the above technical means, the application can obtain the offline configuration data through the SOC end when the offline configuration data obtained from the flash EEPROM simulation module is abnormal, thereby solving the problem of abnormal offline configuration data.

[0010] Optionally, in some embodiments, after adapting the vehicle function according to the offline configuration data, it further comprises: re-writing the offline configuration data into the flash EEPROM simulation module.

[0011] According to the above technical means, the application can store the offline configuration data in multiple places for backup, so that the offline configuration data matching the vehicle hardware resources can be obtained every time the system starts, so as to correctly adapt the vehicle function.

[0012] Optionally, in some embodiments, after obtaining the offline configuration data from the target server, the method further comprises: determining whether the offline configuration data meets the first preset check condition; if the offline configuration data meets the first preset check condition, adapting the vehicle function according to the offline configuration data, and re-writing the offline configuration data into the preset SOC end and the flash EEPROM emulation module; otherwise, prompting fault information that the offline configuration data check is abnormal.

[0013] According to the above technical means, the application can prompt in time when the data check is abnormal.

[0014] Optionally, in some embodiments, before reading the offline configuration data stored in the flash EEPROM emulation module, the method further comprises: identifying the vehicle model of the current vehicle to be downlined, and obtaining the offline configuration data corresponding to the vehicle model of the current vehicle to be downlined; determining whether the offline configuration data meets a second preset check condition, and storing the offline configuration data to the flash EEPROM emulation module when the offline configuration data meets the second preset check condition; transmitting the offline configuration data to the preset SOC end through the flash EEPROM emulation module, determining whether the offline configuration data meets a third preset check condition, and storing the offline configuration data to the preset SOC end when the offline configuration data meets the third preset check condition; sending the offline configuration data to the target server based on a preset vehicle Tbox (Telematics-BOX), determining whether the offline configuration data meets a fourth preset check condition, and storing the offline configuration data to the target server when the offline configuration data meets the fourth preset check condition.

[0015] According to the above technical means, the application can store offline configuration data in multiple places for backup, ensuring that the offline configuration data matched with the vehicle hardware resources can be obtained every time the system starts, so as to correctly adapt the vehicle function.

[0016] Optionally, in some embodiments, the method for processing vehicle offline configuration data further comprises: generating an offline configuration failure reminder when the offline configuration data does not meet the second preset check condition, or the offline configuration data does not meet the third preset check condition, or the offline configuration data does not meet the fourth preset check condition.

[0017] According to the above technical means, the application can prompt in time when the offline configuration data is abnormal, ensuring that the offline configuration data of the intelligent vehicle is stable and reliable.

[0018] The second aspect embodiment of the application provides a processing device for vehicle offline configuration data, comprising: an initialization module configured to initialize an EEPROM emulation module of a flash memory; a judgment module configured to read offline configuration data saved in the EEPROM emulation module of the flash memory after the initialization of the EEPROM emulation module of the flash memory is completed, and determine whether the offline configuration data meets a first preset check condition; and a configuration module configured to re-read the offline configuration data saved in the EEPROM emulation module of the flash memory until a preset number of times that the offline configuration data does not meet the first preset check condition is reached, read the offline configuration data from a preset SOC end, and adapt a whole vehicle function according to the offline configuration data after the offline configuration data passes the check; or directly adapt the whole vehicle function according to the offline configuration data.

[0019] Optionally, in some embodiments, after the offline configuration data is read from the preset SOC end, the configuration module is further configured to: determine whether the offline configuration data meets the first preset check condition; re-read the offline configuration data from the preset SOC end until a preset number of times that the offline configuration data does not meet the first preset check condition is reached, and obtain offline configuration data from a target server.

[0020] Optionally, in some embodiments, after the offline configuration data is adapted according to the offline configuration data, the configuration module is further configured to: re-write the offline configuration data into the EEPROM emulation module of the flash memory.

[0021] Optionally, in some embodiments, after the offline configuration data is obtained from the target server, the configuration module is further configured to: determine whether the offline configuration data meets the first preset check condition; if the offline configuration data meets the first preset check condition, adapt the whole vehicle function according to the offline configuration data, and re-write the offline configuration data into the preset SOC end and the EEPROM emulation module of the flash memory; or otherwise, prompt fault information that the offline configuration data check is abnormal.

[0022] Optionally, in some embodiments, before reading the offline configuration data stored in the flash EEPROM simulation module, the judging module is further configured to: identify a vehicle model of a current vehicle to be offline, and acquire the offline configuration data corresponding to the vehicle model of the current vehicle to be offline; determine whether the offline configuration data meets a second preset checking condition, and store the offline configuration data to the flash EEPROM simulation module when the offline configuration data meets the second preset checking condition; transmit the offline configuration data to the preset SOC end through the flash EEPROM simulation module, determine whether the offline configuration data meets a third preset checking condition, and store the offline configuration data to the preset SOC end when the offline configuration data meets the third preset checking condition; send the offline configuration data to the target server based on a preset Tbox, determine whether the offline configuration data meets a fourth preset checking condition, and store the offline configuration data to the target server when the offline configuration data meets the fourth preset checking condition.

[0023] Optionally, in some embodiments, the vehicle offline configuration data processing apparatus described above is further configured to: generate an offline configuration failure reminder when the offline configuration data does not meet the second preset checking condition, or the offline configuration data does not meet the third preset checking condition, or the offline configuration data does not meet the fourth preset checking condition.

[0024] The third aspect embodiment of the present application provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor executes the program to implement the vehicle offline configuration data processing method as described in the above embodiments.

[0025] The fourth aspect embodiment of the present application provides a computer readable storage medium having a computer program stored thereon, and the program is executed by a processor to implement the vehicle offline configuration data processing method as described in the above embodiments.

[0026] Thus, by storing the offline configuration data into the FEE (Flash EEPROM Emulation Module) at the MCU (Microcontroller Unit) end, the emmc / flash at the SOC end and the memory at the server end respectively, and relying on the communication link established among the MCU end, the SOC end, the Tbox end and the server end, if the offline configuration data stored at the MCU end is abnormal, the offline configuration data stored at the SOC end is read, and if the offline configuration data stored at the SOC end is abnormal, the offline configuration data stored at the server end is read. Thus, the problem of abnormal offline configuration data is solved, the memory keeping, data backup and data recovery of the vehicle configuration data are realized, and the stable and reliable offline configuration data of the intelligent vehicle is ensured.

[0027] Additional aspects and advantages of the present application will be made apparent by the following description and the appended claims. BRIEF DESCRIPTION OF DRAWINGS

[0028] The above and / or additional aspects and advantages of the present application will become apparent and be readily appreciated from the following description, including the accompanying drawings, wherein:

[0029] Figure 1 A flowchart of a processing method of vehicle offline configuration data according to an embodiment of the present application is provided;

[0030] Figure 2 A schematic diagram of an offline configuration system framework according to an embodiment of the present application is provided;

[0031] Figure 3 A flowchart of offline configuration data writing and saving according to an embodiment of the present application is provided;

[0032] Figure 4 A flowchart of offline configuration data reading and adaptation according to an embodiment of the present application is provided;

[0033] Figure 5 A block schematic diagram of a processing device of vehicle offline configuration data according to an embodiment of the present application is provided;

[0034] Figure 6 A schematic diagram of an electronic device according to an embodiment of the present application is provided.

[0035] Legend of reference numerals: 10 - processing device of vehicle offline configuration data, 100 - initialization module, 200 - judgment module and 300 - configuration module. DETAILED DESCRIPTION

[0036] Embodiments of the present application are described below in detail, examples of which are shown in the drawings, wherein the same or similar notations represent the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by reference to the drawings are exemplary and are intended to explain the present application, and cannot be understood as a limitation of the present application.

[0037] A processing method, device, electronic equipment and storage medium for vehicle offline configuration data of embodiments of the present application are described below with reference to the drawings. In view of the problem of abnormal offline configuration data mentioned in the background art, the present application provides a processing method for vehicle offline configuration data, in which the flash EEPROM simulation module is initialized, and after the initialization of the flash EEPROM simulation module is completed, the offline configuration data saved in the flash EEPROM simulation module is read, and it is judged whether the offline configuration data meets the first preset check condition. If the offline configuration data does not meet the first preset check condition, the offline configuration data saved in the flash EEPROM simulation module is re-read until the number of times that the offline configuration data does not meet the first preset check condition reaches a preset number of times, and then the offline configuration data is read from the preset SOC end. After the offline configuration data is checked, the offline configuration data is adapted to the whole vehicle function. Otherwise, the offline configuration data is directly adapted to the whole vehicle function. Thus, the problem of abnormal offline configuration data is solved, the memory of the whole vehicle configuration data is kept, the data backup and data recovery are realized, and the stability and reliability of the offline configuration data of the intelligent automobile are ensured.

[0038] Specifically, Figure 1 A flowchart of a processing method for vehicle offline configuration data provided by embodiments of the present application is shown.

[0039] As Figure 1 shown, the processing method for vehicle offline configuration data includes the following steps:

[0040] In step S101, the flash EEPROM simulation module is initialized.

[0041] Specifically, the flash EEPROM simulation module is FEE module, the whole system is started, the MCU end starts to initialize the FEE module, and after the initialization is successful, the offline configuration data saved in the flash EEPROM simulation module is read. If the FEE initialization fails, the FEE is reinitialized. If the FEE initialization fails for three times in succession, the offline configuration data saved in the emmc / flash of the SOC end is requested to be read.

[0042] In step S102, after the initialization of the flash EEPROM simulation module is completed, the offline configuration data saved in the flash EEPROM simulation module is read, and it is judged whether the offline configuration data meets the first preset check condition.

[0043] The first preset check condition can be preset by a user, for example, judging that the format and content of the offline configuration data are free of errors, which is not specifically limited herein.

[0044] Specifically, the MCU end checks the offline configuration data read from the flash EEPROM emulation module, and judges whether the offline configuration data meets the first preset check condition.

[0045] In step S103, if the offline configuration data does not meet the first preset check condition, the offline configuration data saved in the flash EEPROM emulation module is re-read until the number of times that the offline configuration data does not meet the first preset check condition reaches a preset number of times, and then the offline configuration data is read from the preset SOC end, so that the vehicle function is adapted according to the offline configuration data after the offline configuration data passes the check; otherwise, the vehicle function is directly adapted according to the offline configuration data.

[0046] Specifically, if the offline configuration data does not meet the first preset check condition, the offline configuration data saved in the flash EEPROM emulation module is re-read, and after the preset check condition reaches a preset number of times, the offline configuration data saved in the emmc / flash of the SOC end is requested to be read. Preferably, the preset number of times is 3, that is, after being checked for three times, the offline configuration data is read from the preset SOC end; if the offline configuration data meets the first preset check condition, the vehicle function is adapted according to the offline configuration data.

[0047] Optionally, in some embodiments, after the offline configuration data is read from the preset SOC end, it further includes judging whether the offline configuration data meets the first preset check condition; if the offline configuration data does not meet the first preset check condition, the offline configuration data is re-read from the preset SOC end until the number of times that the offline configuration data does not meet the first preset check condition reaches a preset number of times, and then the offline configuration data is obtained from a target server.

[0048] Specifically, after the offline configuration data read from the emmc / flash is checked by the SOC end, it is judged whether the offline configuration data meets the first preset check condition. If not, the offline configuration data saved in the FEE module is re-read, and after three consecutive check failures, the offline configuration data is obtained from a target server; if the first preset check condition is met, the vehicle function is adapted according to the offline configuration data, and at the same time, an exception is reported to a background server, and the configuration data is re-written into the FEE module of the MCU end.

[0049] Optionally, in some embodiments, after obtaining the offline configuration data from the target server, the method further comprises: determining whether the offline configuration data meets a first preset check condition; if the offline configuration data meets the first preset check condition, adapting the whole vehicle function according to the offline configuration data, and re-writing the offline configuration data into the preset SOC end and flash EEPROM emulation module; otherwise, prompting fault information of offline configuration data check abnormality.

[0050] Specifically, after the server end checks the offline configuration data read from the target server, the method further comprises: determining whether the offline configuration data meets a first preset check condition; if the offline configuration data meets the first preset check condition, adapting the whole vehicle function according to the offline configuration data, and reporting the abnormality to the background server, and re-writing the configuration data into the flash EEPROM emulation module of the MCU end and the emmc / flash module of the SOC end; if the offline configuration data does not meet the first preset check condition, re-reading the offline configuration data from the server, and if the check fails for three times in succession, indicating that the offline configuration data is abnormal, prompting the fault, and going to the 4S shop for repair and replacement.

[0051] Optionally, in some embodiments, after adapting the whole vehicle function according to the offline configuration data, the method further comprises: re-writing the offline configuration data into the flash EEPROM emulation module.

[0052] Optionally, in some embodiments, before reading the offline configuration data saved in the flash EEPROM emulation module, the method further comprises: identifying the vehicle model of the current vehicle to be lined, and obtaining the offline configuration data corresponding to the vehicle model of the current vehicle to be lined; determining whether the offline configuration data meets a second preset check condition, and storing the offline configuration data into the flash EEPROM emulation module when the offline configuration data meets the second preset check condition; transmitting the offline configuration data to the preset SOC end through the flash EEPROM emulation module, and determining whether the offline configuration data meets a third preset check condition, and storing the offline configuration data into the preset SOC end when the offline configuration data meets the third preset check condition; sending the offline configuration data to the target server based on the preset vehicle-mounted Tbox, and determining whether the offline configuration data meets a fourth preset check condition, and storing the offline configuration data into the target server when the offline configuration data meets the fourth preset check condition.

[0053] It should be noted that, as Figure 2As shown, this embodiment of the application can be configured with four modules: a diagnostic tool, an electronic control unit (ECU), a Tbox, and a server, for processing vehicle off-line configuration data. The diagnostic tool, before a new vehicle rolls off the production line, writes the corresponding off-line configuration data to the ECU via a CAN (Controller Area Network) bus and a CAN UDS (Unified Diagnostic Services) protocol stack, based on different vehicle models. The ECU consists of an MCU and a SOC. The MCU integrates a CAN bus driver, a CAN UDS protocol stack, and a FEE module. Off-line configuration data can be saved to a flash EEPROM emulation module. The SOC's eMMC / flash can also store off-line configuration data. Communication between the MCU and SOC can be established via UART / SPI / ETH. The Tbox acts as a relay station, enabling communication between the ECU's SOC and the server, facilitating the exchange of off-line configuration data between the SOC and the server. The server can read, write, and store the new vehicle's off-line configuration data. In some cases, the off-line configuration data for the entire vehicle can be obtained from the server for vehicle function adaptation.

[0054] Specifically, before reading the offline configuration data stored in the flash EEPROM simulation module, the configuration data needs to be written and saved. Specifically, such as... Figure 3 As shown, before the new car rolls off the production line, the gear is kept in the ACC ON position. The diagnostic tool, through the CAN network and CAN UDS protocol stack, writes the corresponding off-line configuration data according to the vehicle model; the MCU side, through the CAN network and CAN... The UDS protocol stack receives the offline configuration data and verifies it. If the data verification is successful, the data is saved to the flash EEPROM emulation module and sent to the SOC via UART / SPI / eth communication. If the data verification fails, the offline configuration fails, and the configuration process is re-initiated. The SOC receives the offline configuration data sent by the MCU via UART / SPI / eth communication and verifies it. If the data verification is successful, the data is reported to the eMMC / flash and sent to the server via the Tbox module. If the data verification fails, the offline configuration fails, and the configuration process is re-initiated. The server verifies the received offline configuration data. If the verification is successful, the data is saved to the server. If the verification fails, the offline configuration fails, and the configuration process is re-initiated.

[0055] Optionally, in some embodiments, the processing method of the vehicle offline configuration data described above further includes: generating an offline configuration failure reminder when the offline configuration data does not meet the second preset check condition, or the offline configuration data does not meet the third preset check condition, or the offline configuration data does not meet the fourth preset check condition.

[0056] The second preset check condition, the third preset check condition and the fourth preset check condition can be preset by a user, for example, judging that the format and content of the offline configuration data are all correct, which is not limited here.

[0057] Specifically, to timely remind relevant personnel to repair when the offline configuration fails, the offline configuration failure reminder can be generated when the offline configuration data does not meet the second preset check condition, or the offline configuration data does not meet the third preset check condition, or the offline configuration data does not meet the fourth preset check condition. The reminding method can be various, which is not limited here, for example, the words "check failure" can be displayed on the vehicle display screen, or a "drip-drip-drip" prompt sound can be emitted.

[0058] It should be noted that the processing method of the vehicle offline configuration data in the embodiments of the present application is to ensure that the offline configuration data of the intelligent vehicle is stable and reliable. Other important data of the intelligent vehicle, including but not limited to the offline configuration data, vehicle frame number storage, vehicle diagnostic fault code, vehicle software and hardware version number, vehicle TUID code (vehicle terminal device unique identification code), vehicle ICCID (Integrate circuit card identity, integrated circuit card identification code) code, etc. all belong to the protection scope of the present application.

[0059] Therefore, as shown in Figure 4 The embodiments of the present application store the offline configuration data in the FEE of the MCU end, the emmc / flash of the SOC end and the memory of the server end respectively, and at the same time rely on the communication link established by the four parties of the MCU end, the SOC end, the Tbox end and the server end. If the offline configuration data stored in the MCU end is abnormal, the offline configuration data stored in the SOC end is read. If the offline configuration data stored in the SOC end is abnormal, the offline configuration data stored in the server end is read, so as to reduce the probability of offline configuration data abnormality and ensure that the offline configuration data of the intelligent vehicle is stable and reliable.

[0060] According to the vehicle offline configuration data processing method provided in the embodiments of the present application, the flash EEPROM simulation module is initialized, and after the initialization of the flash EEPROM simulation module is completed, the offline configuration data saved in the flash EEPROM simulation module is read, and it is judged whether the offline configuration data meets the first preset check condition. If the offline configuration data does not meet the first preset check condition, the offline configuration data saved in the flash EEPROM simulation module is re-read until the number of times that the offline configuration data does not meet the first preset check condition reaches a preset number of times, and then the offline configuration data is read from the preset SOC end. After the offline configuration data passes the check, the vehicle function is adapted according to the offline configuration data. Otherwise, the vehicle function is directly adapted according to the offline configuration data. In this way, the problem of abnormal offline configuration data is solved, the memory of the vehicle configuration data is realized, the data backup and data recovery are realized, and the stability and reliability of the offline configuration data of the intelligent vehicle are ensured.

[0061] Next, the vehicle offline configuration data processing device provided in the embodiments of the present application is described with reference to the accompanying drawings.

[0062] Figure 5 is a block schematic diagram of the vehicle offline configuration data processing device in the embodiments of the present application.

[0063] As shown in Figure 5 , the vehicle offline configuration data processing device 10 comprises an initialization module 100, a judgment module 200 and a configuration module 300.

[0064] The initialization module 100 is configured to initialize the flash EEPROM simulation module. The judgment module 200 is configured to read the offline configuration data saved in the flash EEPROM simulation module after the initialization of the flash EEPROM simulation module is completed, and judge whether the offline configuration data meets the first preset check condition. The configuration module 300 is configured to re-read the offline configuration data saved in the flash EEPROM simulation module if the offline configuration data does not meet the first preset check condition, until the number of times that the offline configuration data does not meet the first preset check condition reaches a preset number of times, and then read the offline configuration data from the preset SOC end, so as to adapt the vehicle function according to the offline configuration data after the offline configuration data passes the check. Otherwise, the vehicle function is directly adapted according to the offline configuration data.

[0065] Optionally, in some embodiments, after the offline configuration data is read from the preset SOC end, the configuration module 300 is further configured to judge whether the offline configuration data meets the first preset check condition, and re-read the offline configuration data from the preset SOC end if the offline configuration data does not meet the first preset check condition, until the number of times that the offline configuration data does not meet the first preset check condition reaches a preset number of times, and then obtain the offline configuration data from the target server.

[0066] Optionally, in some embodiments, after adapting the whole vehicle function according to the offline configuration data, the configuration module 300 is further configured to: re-write the offline configuration data into the flash EEPROM simulation module.

[0067] Optionally, in some embodiments, after obtaining the offline configuration data from the target server, the configuration module 300 is further configured to: determine whether the offline configuration data meets a first preset check condition; if the offline configuration data meets the first preset check condition, adapt the whole vehicle function according to the offline configuration data, and re-write the offline configuration data into the preset SOC end and the flash EEPROM simulation module; otherwise, prompt a fault information of offline configuration data check abnormality.

[0068] Optionally, in some embodiments, before reading the offline configuration data saved in the flash EEPROM simulation module, the judging module 200 is further configured to: identify the vehicle model of the current vehicle to be offline, and obtain the offline configuration data corresponding to the vehicle model of the current vehicle to be offline; determine whether the offline configuration data meets a second preset check condition, and store the offline configuration data into the flash EEPROM simulation module when the offline configuration data meets the second preset check condition; transmit the offline configuration data to the preset SOC end through the flash EEPROM simulation module, and determine whether the offline configuration data meets a third preset check condition, and store the offline configuration data into the preset SOC end when the offline configuration data meets the third preset check condition; send the offline configuration data to the target server based on the preset vehicle Tbox, and determine whether the offline configuration data meets a fourth preset check condition, and store the offline configuration data into the target server when the offline configuration data meets the fourth preset check condition.

[0069] Optionally, in some embodiments, the vehicle offline configuration data processing device 10 is further configured to: when the offline configuration data does not meet the second preset check condition, or the offline configuration data does not meet the third preset check condition, or the offline configuration data does not meet the fourth preset check condition, generate an offline configuration failure prompt.

[0070] It should be noted that the above-mentioned explanation and description of the vehicle offline configuration data processing method embodiment also applies to the vehicle offline configuration data processing device of this embodiment, which will not be described here.

[0071] The processing device of vehicle offline configuration data provided by the embodiment of the application, by initializing the flash EEPROM simulation module, reading the offline configuration data saved in the flash EEPROM simulation module after the initialization of the flash EEPROM simulation module is completed, judging whether the offline configuration data meets the first preset check condition, and if the offline configuration data does not meet the first preset check condition, re-reading the offline configuration data saved in the flash EEPROM simulation module until the number of times that the offline configuration data does not meet the first preset check condition reaches the preset number of times, reading the offline configuration data from the preset SOC end, and adapting the whole vehicle function according to the offline configuration data after the offline configuration data is checked, otherwise, directly adapting the whole vehicle function according to the offline configuration data. Thus, the problem of abnormal offline configuration data is solved, the memory of the whole vehicle configuration data is kept, the data backup and data recovery are realized, and the stable and reliable offline configuration data of the intelligent automobile is ensured.

[0072] Figure 6 The structure schematic diagram of the electronic device provided by the embodiment of the application is provided. The electronic device can include:

[0073] The memory 601, the processor 602 and the computer program stored in the memory 601 and executable on the processor 602.

[0074] The processor 602 implements the processing method of vehicle offline configuration data provided in the above embodiment when executing the program.

[0075] Further, the electronic device further includes:

[0076] The communication interface 603 is used for communication between the memory 601 and the processor 602.

[0077] The memory 601 is used to store the computer program executable on the processor 602.

[0078] The memory 601 can include a high-speed RAM (Random Access Memory, Random Access Memory) memory, and can also include a non-volatile memory, such as at least one disk memory.

[0079] If the memory 601, the processor 602 and the communication interface 603 are implemented independently, the communication interface 603, the memory 601 and the processor 602 can be connected with each other through a bus and complete communication between each other. The bus can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For the convenience of representation, Figure 6 Only one thick line is used to represent the bus in the figure, but it does not mean that there is only one bus or only one type of bus.

[0080] Optionally, in a specific implementation, if the memory 601, the processor 602 and the communication interface 603 are integrated on a chip, the memory 601, the processor 602 and the communication interface 603 can complete communication between each other through an internal interface.

[0081] The processor 602 can be a CPU (Central Processing Unit), or an ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present application.

[0082] The embodiments of the present application also provide a computer readable storage medium, which stores a computer program, and the program is executed by a processor to implement the vehicle offline configuration data processing method.

[0083] In the description of the present application, the description of the terms "one embodiment", "some embodiments", "an example", "a specific example" or "some examples" means that the specific features, structures, materials or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present application. In the present application, the illustrative description of the above terms is not necessarily for the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or N embodiments or examples in a suitable manner. In addition, the skilled in the art can combine and combine the different embodiments or examples described in the present application and the features of the different embodiments or examples without contradiction.

[0084] In addition, the terms "first", "second", etc. are used only for descriptive purposes and do not connote or imply relative importance or a quantity of the indicated technical features. Thus, a feature defined with "first", "second", etc. can include at least one of the feature explicitly or implicitly. In the description of the present application, the meaning of "N" is at least two, such as two, three, etc., unless otherwise explicitly and specifically limited.

[0085] Any process or method descriptions or blocks in flow charts or otherwise described herein can be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps in the process, and alternate implementations are possible. In some embodiments, the processes or methods described in this application can be tailored or adapted by, for example, varying or omitting certain steps or methods described, varying the ordering of certain steps or methods described, or employing additional or alternative steps or methods described, as would be understood by one of ordinary skill in the art.

[0086] It should be understood that portions of the present application can be realized with hardware, software, firmware or a combination thereof. In the above embodiments, the N steps or methods can be realized with software or firmware stored in a memory and executed by a suitable instruction execution system. As in another embodiment, if realized with hardware, any one or a combination of the following technologies known in the art can be used: discrete logic circuit with logic gate circuit for implementing logical functions on data signals, application specific integrated circuit with suitable combination logic gate circuit, programmable gate array, field programmable gate array, etc.

[0087] Those skilled in the art can understand that all or part of the steps carried out by the above-mentioned embodiment method can be completed by a program instructing the relevant hardware, and the program can be stored in a computer readable storage medium. When the program is executed, it includes one of the steps of the method embodiment or a combination thereof.

[0088] Although the embodiments of the present application have been shown and described above, it should be understood that the above-mentioned embodiments are exemplary and cannot be understood as limiting the present application, and those skilled in the art can make changes, modifications, replacements and variations to the above-mentioned embodiments within the scope of the present application.

Claims

1. A method for processing vehicle off-line configuration data, characterized in that, Includes the following steps: Initialize the flash EEPROM simulation module; After the flash EEPROM simulation module is initialized, the offline configuration data stored in the flash EEPROM simulation module is read, and it is determined whether the offline configuration data meets the first preset verification condition. as well as If the offline configuration data does not meet the first preset verification condition, the offline configuration data stored in the flash EEPROM simulation module is reread until the number of times the offline configuration data fails to meet the first preset verification condition reaches a preset number. Then, the offline configuration data is read from the preset SOC terminal so that the vehicle function can be adapted according to the offline configuration data after the offline configuration data verification passes. Otherwise, the vehicle function is directly adapted according to the offline configuration data. After reading the offline configuration data from the preset SOC terminal, the process also includes: Determine whether the offline configuration data meets the first preset verification condition; If the offline configuration data does not meet the first preset verification condition, the offline configuration data is read again from the preset SOC terminal until the number of times the offline configuration data fails to meet the first preset verification condition reaches the preset number, and then the offline configuration data is obtained from the target server.

2. The method according to claim 1, characterized in that, After adapting the vehicle functions according to the offline configuration data, the process also includes: The offline configuration data is rewritten into the flash EEPROM emulation module.

3. The method according to claim 1, characterized in that, After obtaining the offline configuration data from the target server, the process also includes: Determine whether the offline configuration data meets the first preset verification condition; If the offline configuration data meets the first preset verification condition, the vehicle function is adapted according to the offline configuration data, and the offline configuration data is rewritten to the preset SOC terminal and the flash EEPROM simulation module; otherwise, a fault message indicating that the offline configuration data verification is abnormal is displayed.

4. The method according to claim 1, characterized in that, Before reading the offline configuration data stored in the flash EEPROM emulation module, the following steps are also included: Identify the vehicle model of the vehicle to be decommissioned and obtain the decommissioning configuration data corresponding to the vehicle model; Determine whether the offline configuration data meets the second preset verification condition, and when the offline configuration data meets the second preset verification condition, store the offline configuration data in the flash EEPROM simulation module; The offline configuration data is transmitted to the preset SOC terminal through the flash EEPROM emulation module, and it is determined whether the offline configuration data meets the third preset verification condition. When the offline configuration data meets the third preset verification condition, the offline configuration data is transmitted to the preset SOC terminal. Based on the preset vehicle Tbox, the offline configuration data is sent to the target server, and it is determined whether the offline configuration data meets the fourth preset verification condition. If the offline configuration data meets the fourth preset verification condition, the offline configuration data is stored in the target server.

5. The method according to claim 4, characterized in that, Also includes: If the offline configuration data does not meet the second preset verification condition, or the offline configuration data does not meet the third preset verification condition, or the offline configuration data does not meet the fourth preset verification condition, an offline configuration failure reminder is generated.

6. A device for processing vehicle off-line configuration data, characterized in that, include: The initialization module is used to initialize the flash EEPROM simulation module; The judgment module is used to read the offline configuration data stored in the flash EEPROM simulation module after the initialization of the flash EEPROM simulation module is completed, and to determine whether the offline configuration data meets the first preset verification condition. as well as The configuration module is configured to, if the offline configuration data does not meet the first preset verification condition, reread the offline configuration data stored in the flash EEPROM simulation module until the number of times the offline configuration data fails to meet the first preset verification condition reaches a preset number, then read the offline configuration data from a preset SOC terminal, so that after the offline configuration data passes verification, the vehicle functions are adapted according to the offline configuration data; otherwise, the vehicle functions are directly adapted according to the offline configuration data. After reading the offline configuration data from the preset SOC terminal, the configuration module is further configured to: Determine whether the offline configuration data meets the first preset verification condition; If the offline configuration data does not meet the first preset verification condition, the offline configuration data is read again from the preset SOC terminal until the number of times the offline configuration data fails to meet the first preset verification condition reaches the preset number, and then the offline configuration data is obtained from the target server.

7. An electronic device, characterized in that, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, the processor executing the program to implement the method for processing vehicle off-line configuration data as described in any one of claims 1-5.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that, The program is executed by the processor to implement the method for processing vehicle off-line configuration data as described in any one of claims 1-5.

Citation Information

Patent Citations

  • Online writing method and system for vehicle configuration information

    CN102999348A

  • Vehicle EEPROM data storage method, device, equipment and medium

    CN111273853A