A hot update method, device and equipment of vehicle configuration information and a storage medium
By verifying the consistency of configuration files on both the vehicle and cloud sides and performing hot updates, the problem of the inability to personalize vehicle systems has been solved, enabling efficient and flexible configuration updates and improving system stability and user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HEXINLI INTELLIGENT CONTROL TECHNOLOGY (SHANGHAI) CO LTD
- Filing Date
- 2026-04-15
- Publication Date
- 2026-07-03
AI Technical Summary
In existing technologies, updating the functions of a vehicle infotainment system requires a complete replacement, making it impossible to achieve personalized configurations and to flexibly update configuration parameters without affecting the normal use of the system.
By performing consistency checks on the vehicle-side system configuration file and the cloud-based system configuration file, a configuration file update task is generated, and a hot update is performed in case of inconsistency. Priority control is used to update the configuration data.
It improves the efficiency and flexibility of configuration file updates, and enhances the stability and user experience of the vehicle-side remote upgrade system.
Smart Images

Figure CN122340170A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle networking technology, specifically to a method, apparatus, device, and storage medium for hot updating vehicle configuration information. Background Technology
[0002] Currently, updates to in-vehicle infotainment systems primarily rely on remote upgrade technology, typically including firmware and software upgrades. This traditional update method often requires a complete replacement of the entire system image or application installation package. Furthermore, application installation packages are mostly bound to the calibration information of the vehicle control unit and the vehicle's configuration information, making it impossible to personalize the vehicle's configuration parameters.
[0003] Therefore, how to personalize the configuration parameters of the vehicle infotainment system without affecting its normal operation is a problem that urgently needs to be solved in the current technical field. Summary of the Invention
[0004] This application provides a method, apparatus, device, and storage medium for hot updating vehicle configuration information, so as to improve the update efficiency of configuration file updates and the flexibility of configuration updates.
[0005] According to one aspect of this application, a method for hot-updating vehicle configuration information is provided, the method comprising:
[0006] When the vehicle-side remote upgrade system of the target vehicle meets the preset update status conditions, a system configuration file verification request is sent to the remote upgrade cloud; wherein, the system configuration file verification request is used to perform file consistency verification and file version number consistency verification between the vehicle-side system configuration file and the cloud system configuration file.
[0007] Based on the verification result of the system configuration file verification request, a request to obtain the cloud system configuration file is sent to the remote upgrade cloud to obtain the cloud system configuration file;
[0008] Perform consistency verification on the vehicle-side system configuration file and the cloud-side system configuration file, and generate a configuration file update task based on the consistency verification result;
[0009] Based on the current task execution status of the target system update task, the configuration file update task is executed to perform a hot file update on the vehicle-side system configuration file; wherein, the target system update task refers to a task that updates the vehicle-side system configuration file in the vehicle-side remote upgrade system or a task that performs a system update on the vehicle infotainment system by the vehicle-side remote upgrade system.
[0010] According to another aspect of this application, a hot-update device for vehicle configuration information is provided, the device comprising:
[0011] The configuration verification request module is used to send a system configuration file verification request to the remote upgrade cloud when the vehicle-side remote upgrade system of the target vehicle meets the preset update status conditions; wherein, the system configuration file verification request is used to perform file consistency verification and file version number consistency verification between the vehicle-side system configuration file and the cloud system configuration file.
[0012] The configuration file acquisition module is used to send a cloud system configuration file acquisition request to the remote upgrade cloud based on the verification result of the system configuration file verification request, and acquire the cloud system configuration file.
[0013] The configuration file verification module is used to perform consistency verification on the vehicle-side system configuration file and the cloud-side system configuration file, and generate a configuration file update task based on the consistency verification result.
[0014] The configuration update module is used to perform a hot update of the vehicle-side system configuration file by executing the configuration file update task based on the current task execution status of the target system update task; wherein, the target system update task refers to a task that updates the vehicle-side system configuration file in the vehicle-side remote upgrade system or a task that performs a system update on the vehicle infotainment system by executing the vehicle-side remote upgrade system.
[0015] According to another aspect of this application, an electronic device is provided, the electronic device comprising:
[0016] One or more processors;
[0017] Memory, used to store one or more programs;
[0018] When the one or more programs are executed by the one or more processors, the one or more processors implement any of the hot update methods for vehicle configuration information provided in the embodiments of this application.
[0019] According to another aspect of this application, a computer-readable storage medium is provided, on which a computer program is stored, which, when executed by a processor, implements any of the hot-update methods for vehicle configuration information provided in the embodiments of this application.
[0020] According to another aspect of this application, a computer program product is provided, including a computer program that, when executed by a processor, implements any of the hot-update methods for vehicle configuration information provided in the embodiments of this application.
[0021] This application improves the efficiency of configuration updates for the vehicle-side system configuration file and the stability of the vehicle-side remote upgrade system by comparing whether the vehicle-side system configuration file and the cloud system configuration file are consistent. In the case of inconsistency, priority control is used to perform hot updates of the configuration data in the vehicle-side system configuration file based on the configuration data in the cloud system configuration file. Attached Figure Description
[0022] Figure 1 This is a flowchart of a method for hot-updating vehicle configuration information according to Embodiment 1 of this application;
[0023] Figure 2 This is a flowchart of a method for hot-updating vehicle configuration information according to Embodiment 2 of this application;
[0024] Figure 3 This is a schematic diagram of a vehicle configuration information hot update device according to Embodiment 3 of this application;
[0025] Figure 4 This is a schematic diagram of the structure of an electronic device that implements the hot update method for vehicle configuration information according to Embodiment 4 of this application. Detailed Implementation
[0026] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0027] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0028] Example 1
[0029] Figure 1This is a flowchart of a hot update method for vehicle configuration information according to Embodiment 1 of this application. This embodiment is applicable to situations where a small number of configuration parameters in the configuration file of a vehicle-side remote upgrade system need to be updated. This can be executed by a vehicle-side remote upgrade system device, which can be implemented in hardware and / or software. This vehicle-side remote upgrade system device can be configured in a computer device, such as a vehicle terminal device. Figure 1 As shown, the method includes:
[0030] S110. When the target vehicle's on-board remote upgrade system meets the preset update status conditions, a system configuration file verification request is sent to the remote upgrade cloud.
[0031] The system configuration file verification request instructs the remote upgrade cloud to perform file consistency verification and file version number consistency verification between the vehicle-side system configuration file and the cloud-based system configuration file. It should be noted that file consistency verification can refer to verifying the file digest value of each sub-configuration file within the configuration file, while file version number consistency verification can refer to verifying the version number of each sub-configuration file within the configuration file. The file version number of the configuration file can be used to identify the updated version of the vehicle's infotainment system. Optionally, the vehicle-side remote upgrade system can refer to a distributed software management system installed in the vehicle. It is responsible for receiving cloud-based system upgrade tasks, managing the system upgrade process, and ensuring system upgrade security; it is the core carrier for realizing remote upgrades of the vehicle's infotainment system. Optionally, the vehicle-side system configuration file and the cloud-based system configuration file can be considered the same system configuration file, differing only in their deployment location: one is deployed on the vehicle's infotainment terminal, and the other is deployed in the cloud.
[0032] In this embodiment of the invention, the preset update status conditions may include active update conditions or passive update conditions. For example, active update conditions may include the user actively initiating a configuration data update request through the vehicle system, and passive update conditions may include remotely upgrading the cloud to push configuration data to the target vehicle.
[0033] Optionally, in this embodiment of the invention, the cloud system configuration file can independently manage the configuration information of the vehicle-side remote upgrade system. The file version number of the cloud system configuration file is decoupled from the calibration information of the vehicle's electronic control unit and the vehicle's logistics configuration information. It can generate configuration data for different scenarios based on vehicle model, vehicle configuration, and after-sales parts replacement, and distribute this data to the vehicle terminal, achieving precise configuration management tailored to each vehicle. Optionally, the configuration data stored in the cloud system configuration file can be used to manage the upgrade process of the vehicle-side remote upgrade system, control the behavior of the vehicle's electronic system, and define key parameter sets for function switches. For example, this may include upgrade strategy configurations: batch push ratio, upgrade time window, and network environment requirements; vehicle function switches: driver assistance function on / off, vehicle UI display mode, and multimedia function restrictions; system parameter definitions: ECU (Electronic Control Unit) operating thresholds, sensor calibration values, and communication protocol versions; and device authentication information: cloud server address, identity authentication key, and encryption algorithm parameters.
[0034] Optionally, in one specific implementation, the cloud system configuration file, the OTA (Over-the-Air Technology) system, and the controller software maintain independent boundaries of responsibility, interacting through standardized interfaces and protocols to avoid mutual penetration of their internal logic. For example, the cloud system configuration file and the controller software can be decoupled as follows: An independent configuration data specification is defined in the cloud system configuration file. For both the cloud system configuration file and the controller software, the format, encoding, and storage location of the configuration data in the configuration file are separated from the controller software. Standard data configuration guidelines are established in the controller software, allowing it to read configuration data from the configuration file according to these guidelines without participating in the definition of the configuration data. Backward compatibility of the configuration data is implemented in the controller software, meaning that new version configuration data can be recognized by older versions of the controller software, and older version configuration data can be compatible with newer versions of the controller software, avoiding version iteration issues. Incompatibility issues can be addressed, for example, by setting default values when adding new configuration fields: For instance, adding an `auto_shutoff_time` field (automatic shutdown time) for seat heating, while defining a default value of 30 minutes in the controller software if this field is not read. Compatibility handling is also implemented for obsolete configuration fields: when a configuration field is no longer used, the controller software automatically ignores it when reading it, without affecting normal operation. For example, the `old_temp_unit` field in the old version is skipped by the new version software. It should be noted that "new version" and "old version" in this embodiment can refer to the order of time; for example, the timestamp information of the new version configuration data is later than the timestamp information of the old version controller software. The functional logic implementation of the controller software is decoupled from the configuration data, so that the functional logic implementation of the controller software does not depend on specific configuration data. The configuration data is only used as parameter input, and updates to the configuration data do not affect the functional logic implementation of the controller software. For example, the functional logic implementation adopts a parameterized design: for the kinetic energy recovery function, the functional logic implementation of the controller software is to "adjust the motor torque according to the recovery intensity parameter," while the specific value of the recovery intensity (levels 1-5) is defined by the configuration data. Adjusting the level value in the configuration data does not require modifying the functional logic code.
[0035] The cloud system configuration file and the OTA system can be decoupled in the following ways: Establish a standardized configuration data transmission protocol between the cloud system configuration file and the OTA system. This ensures that the transmission of configuration data follows common network protocols and formats, eliminating reliance on the OTA system's proprietary customized logic. The OTA system only needs to transmit data and does not need to parse specific configuration data. For example, it can use common hash algorithms such as MD5 and SHA256 to verify the integrity of the configuration file. The OTA system only needs to calculate and compare hash values and does not need to understand the specific meaning of the configuration data. Separate the data transmission business and upgrade management business of the OTA system. For example, divide the OTA system into a lower-level transport layer responsible for data transmission and a lower-level upgrade management layer. The upper-level business layer, responsible for upgrade management, is only responsible for controlling the upgrade process, such as creating upgrade tasks, monitoring progress, and providing feedback. It does not participate in the parsing and processing of specific configuration data; configuration data upgrades rely solely on the underlying transport layer. An independent triggering mechanism for configuration data upgrades is deployed, allowing configuration data upgrades to be triggered independently of other upgrade tasks in the OTA system. This eliminates the need to rely on OTA system version updates to support new configuration upgrade requirements. For example, request and response interfaces for configuration upgrades are defined on both the vehicle and cloud sides. After the cloud sends a configuration data upgrade request, the vehicle directly triggers the update of the configuration file upon receiving the request, eliminating the need for a full OTA system upgrade.
[0036] It's important to clarify that the cloud-based system configuration file can refer to a set of parameters stored in the ECU, such as instructional data like function switch thresholds, control logic parameters, and permission configuration codes. This serves as an "operation manual" for the controller software, instructing the controller's control logic, such as the heating power corresponding to the seat heating temperature level and the motor torque parameters corresponding to the kinetic energy recovery intensity level. The OTA system refers to the technical framework and management process for remote upgrades, including a cloud server, vehicle-side communication module, upgrade verification mechanism, and installation execution logic. It acts as a "transmission channel + installation manager" for configuration data, system software, and controller software, ensuring the secure and reliable delivery and deployment of necessary updates. The controller software refers to the executable code running on the ECU, used to implement vehicle control actions, such as adjusting charging and discharging strategies based on the battery management system's configuration parameters. By decoupling the configuration data and version in the cloud-based system configuration file, the cloud can directly update the configuration data without requiring remote upgrades to the vehicle-side system or controller software version, reducing version iteration dependencies during configuration updates and improving efficiency.
[0037] S120. Based on the verification result of the system configuration file verification request, send a request to the remote upgrade cloud to obtain the cloud system configuration file and obtain the cloud system configuration file.
[0038] Optionally, based on the verification result of the system configuration file verification request, a request to obtain the cloud system configuration file is sent to the remote upgrade cloud. Obtaining the cloud system configuration file includes: if the vehicle-side remote upgrade system receives a verification result from the remote upgrade cloud indicating a system configuration file inconsistency, it will send a request to obtain the cloud system configuration file to the remote upgrade cloud; after receiving the cloud system configuration file from the remote upgrade cloud, it will store the cloud system configuration file in the spare partition of the vehicle-side remote upgrade system. It should be noted that the setting of the spare partition can prevent the normal operation of the current vehicle-side remote upgrade system. Optionally, the spare partition can be configured adaptively according to those skilled in the art.
[0039] Specifically, if the vehicle-side remote upgrade system receives a verification result from the remote upgrade cloud indicating that the system configuration file is consistent, it means that the latest configuration data stored in the remote upgrade cloud is consistent with the configuration data stored in the vehicle-side remote upgrade system, and there is no need to update the configuration data of the vehicle-side system configuration file. If the vehicle-side remote upgrade system receives a verification result from the remote upgrade cloud indicating that the system configuration file is inconsistent, it means that the latest configuration data stored in the remote upgrade cloud is inconsistent with the configuration data stored in the vehicle-side remote upgrade system. In this case, the vehicle terminal needs to send a configuration data update request to the remote upgrade cloud and update the configuration data of the vehicle-side system configuration file according to the latest configuration data stored in the cloud.
[0040] Optionally, in this embodiment of the invention, the vehicle-side remote upgrade system and the remote upgrade cloud can communicate using the HTTP protocol (HyperText Transfer Protocol).
[0041] S130. Perform consistency verification on the vehicle-side system configuration file and the cloud-side system configuration file, and generate a configuration file update task based on the consistency verification result.
[0042] S140. Based on the current task execution status of the target system update task, perform a hot update of the vehicle-side system configuration file according to the configuration file update task.
[0043] Among them, the target system update task can refer to the task of performing a system update on the vehicle's infotainment system by executing the vehicle-side remote upgrade system.
[0044] It should be noted that before modifying the vehicle-side system configuration file, you need to ensure that there are no system upgrade tasks currently running on the vehicle-side remote upgrade system.
[0045] This application embodiment compares whether the vehicle-side system configuration file and the cloud-side system configuration file are consistent. In the case of inconsistency, priority control is used to perform hot updates on the configuration data in the vehicle-side system configuration file based on the configuration data in the cloud-side system configuration file. This improves the configuration update efficiency of the vehicle-side system configuration file and the system stability of the vehicle-side remote upgrade system.
[0046] Example 2
[0047] Figure 2 This is a flowchart of a method for hot-updating vehicle configuration information according to Embodiment 2 of this application. Based on the technical solutions of the above embodiments, this embodiment further refines the step of "performing consistency verification between the vehicle-side system configuration file and the cloud-side system configuration file, and generating a configuration file update task based on the verification result." It should be noted that for parts not detailed in this embodiment, please refer to the relevant descriptions in other embodiments. Figure 2 As shown, the method includes:
[0048] S210. When the target vehicle's on-board remote upgrade system meets the preset update status conditions, a system configuration file verification request is sent to the remote upgrade cloud.
[0049] S220. Based on the verification result of the system configuration file verification request, send a request to the remote upgrade cloud to obtain the cloud system configuration file and obtain the cloud system configuration file.
[0050] S230. Based on the file digest value, for both the vehicle-side system configuration file and the cloud-side system configuration file, verify the file digest value corresponding to the configuration sub-file of the same file type, and take the file type of the configuration sub-file with inconsistent file digest values as the target sub-file type.
[0051] Optionally, in this embodiment of the invention, a configuration sub-file can be used as a single file unit for calculating its file digest value, or multiple configuration sub-files can be used as a multi-file combination unit for calculating their file digest value. For example, for a single file unit, the entire content of the single file unit can be read, and the read content can be input into a preset digest algorithm to output the file digest value corresponding to the single file unit. For a multi-file combination unit, all configuration sub-files existing in the multi-file combination unit can be determined first, and the reading order of the configuration sub-files within the multi-file combination unit can be determined. Following this reading order, the content of each configuration sub-file is read sequentially, and the content of all read configuration sub-files is concatenated into a continuous byte stream. A unique separator is added between the different contents of the configuration sub-files to avoid semantic ambiguity after concatenation. The concatenated continuous byte stream is then input into the preset digest algorithm to determine the file digest value of the multi-file combination unit. It should be noted that when a group of configuration sub-files jointly completes the configuration of a functional module, this group of configuration sub-files can be used as a multi-file combination unit to calculate the overall digest value. Optionally, the preset digest algorithm can be adapted to the needs of those skilled in the art; for example, the preset digest algorithm can be set to the MD5 hash algorithm.
[0052] S240. Generate at least one configuration file update task based on the target sub-file type.
[0053] The configuration file update task can be used to instruct the configuration data of the corresponding configuration subfile in the vehicle system configuration file to be updated based on the configuration subfile of the target subfile type in the cloud system configuration file.
[0054] It should be noted that the vehicle-side system configuration file and the cloud-based system configuration file can be used to control and manage the operation of the vehicle's electronic control units, such as the engine control unit, transmission control unit, brake stability system control unit, body electronic control unit, and autonomous driving assistance control unit; different configuration sub-files are responsible for controlling and managing different electronic control units.
[0055] Specifically, by comparing and verifying the file digest values of configuration sub-files of the same type in the vehicle-side system configuration file and the cloud-side system configuration file, the target sub-file types with different file digest values are determined, and at least one configuration file update task is generated based on the target sub-file type. It should be noted that the target sub-file type indicates that, compared to the vehicle-side system configuration file, the corresponding configuration sub-file of the target sub-file type in the cloud-side system configuration file has been updated, and the configuration data in the corresponding configuration sub-file of the target sub-file type in the cloud-side system configuration file is inconsistent with that in the vehicle-side system configuration file.
[0056] S250: Based on the current task execution status of the target system update task, perform a hot update of the vehicle-side system configuration file according to the configuration file update task.
[0057] Optionally, once the configuration file update task is completed, only a reset of the vehicle-side remote upgrade system is required for the changes to take effect. No system or firmware upgrade of the vehicle-side remote upgrade system is needed. This enhances the flexibility of the vehicle-side remote upgrade system and improves the user experience.
[0058] Optionally, based on the current task execution status of the target system update task, the configuration file update task is performed, including: if there is a target system update task in the vehicle-side remote upgrade system, and the task execution status of the target system update task is "in execution", then it is necessary to wait until the task execution status of the target system update task is "completed" before executing the configuration file update task, so as to perform a hot update of the vehicle-side system configuration file.
[0059] By prioritizing the execution of configuration file update tasks, the stability of system operation is improved.
[0060] This application embodiment performs summary verification on each configuration sub-file in the vehicle-side system configuration file according to the cloud system configuration file, determines the configuration sub-files that have been updated, and generates a configuration file update task based on the updated configuration sub-files. This avoids the need to upgrade the vehicle-side remote upgrade system version at the same time as updating the vehicle-side system configuration file, thus improving the efficiency and flexibility of configuration data updates.
[0061] Example 3
[0062] Figure 3This is a schematic diagram of a vehicle configuration information hot-update device according to Embodiment 3 of this application. It is applicable to situations where a small number of configuration parameters in the configuration file of a vehicle-side remote upgrade system need to be updated. This vehicle configuration information hot-update device can be implemented in hardware and / or software, and can be configured in a computer device, such as a server. Figure 3 As shown, the device includes:
[0063] The configuration verification request module 310 is used to send a system configuration file verification request to the remote upgrade cloud when the vehicle-side remote upgrade system of the target vehicle meets the preset update status conditions; wherein, the system configuration file verification request is used to perform file consistency verification and file version number consistency verification between the vehicle-side system configuration file and the cloud system configuration file.
[0064] The configuration file acquisition module 320 is used to send a cloud system configuration file acquisition request to the remote upgrade cloud based on the verification result of the system configuration file verification request, and acquire the cloud system configuration file.
[0065] The configuration file verification module 330 is used to perform consistency verification on the vehicle-side system configuration file and the cloud system configuration file, and generate a configuration file update task based on the consistency verification result.
[0066] The configuration update module 340 is used to perform a hot update of the vehicle system configuration file by executing the configuration file update task based on the current task execution status of the target system update task; wherein, the target system update task refers to a task that updates the vehicle system configuration file in the vehicle remote upgrade system or a task that performs a system update on the vehicle infotainment system by executing the vehicle remote upgrade system.
[0067] This application embodiment compares whether the vehicle-side system configuration file and the cloud-side system configuration file are consistent. In the case of inconsistency, priority control is used to perform hot updates on the configuration data in the vehicle-side system configuration file based on the configuration data in the cloud-side system configuration file. This improves the configuration update efficiency of the vehicle-side system configuration file and the system stability of the vehicle-side remote upgrade system.
[0068] Optionally, the configuration file verification module 330 includes:
[0069] The target sub-file unit is used to verify the file digest value of the configuration sub-files of the same file type for the vehicle-side system configuration file and the cloud-side system configuration file, respectively, based on the file digest value, and to take the file type of the configuration sub-files with inconsistent file digest values as the target sub-file type;
[0070] A configuration update task unit is configured to generate at least one configuration file update task based on the target sub-file type; wherein, the configuration file update task is configured to instruct the configuration data of the configuration sub-file corresponding to the target sub-file type in the vehicle-side system configuration file to be updated according to the configuration sub-file corresponding to the target sub-file type in the cloud system configuration file.
[0071] Optionally, the vehicle-side system configuration file and the cloud-based system configuration file are used to control and manage the operation of the vehicle's electronic control units; different configuration sub-files are responsible for controlling and managing different electronic control units.
[0072] Optionally, the configuration file verification module 330 includes:
[0073] The configuration request unit is used to send a request to the remote upgrade cloud to obtain the cloud system configuration file if the vehicle-side remote upgrade system receives a verification result from the remote upgrade cloud indicating that the system configuration file is inconsistent.
[0074] The configuration storage unit is used to store the cloud system configuration file sent by the remote upgrade cloud to the spare partition of the vehicle-side remote upgrade system after receiving the cloud system configuration file.
[0075] Optionally, the configuration update module 340 may be specifically used to: if the vehicle-side remote upgrade system has a target system update task, and the task execution status of the target system update task is in progress, then it is necessary to wait until the task execution status of the target system update task is completed before executing the configuration file update task, so as to perform a hot update of the vehicle-side system configuration file.
[0076] Optionally, the cloud system configuration file is independently responsible for managing the configuration information of the vehicle-side remote upgrade system, and the file version number of the cloud system configuration file is decoupled from the calibration information of the vehicle's electronic control unit and the vehicle's logistics configuration information.
[0077] The hot-update device for vehicle configuration information provided in this application can execute the hot-update method for vehicle configuration information provided in any embodiment of this application, and has the corresponding functional modules and beneficial effects for executing the hot-update method for each vehicle configuration information.
[0078] According to embodiments of this application, this application also provides an electronic device, a readable storage medium, and a computer program product.
[0079] Example 4
[0080] Figure 4This is a schematic diagram of the structure of an electronic device 410 implementing the hot-update method for vehicle configuration information according to embodiments of this application. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (such as helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or claimed herein.
[0081] like Figure 4 As shown, the electronic device 410 includes at least one processor 411 and a memory, such as a read-only memory 412 or a random access memory 413, communicatively connected to the at least one processor 411. The memory stores computer programs executable by the at least one processor. The processor 411 can perform various appropriate actions and processes based on the computer program stored in the read-only memory 412 or loaded from storage unit 418 into the random access memory 413. The random access memory 413 can also store various programs and data required for the operation of the electronic device 410. The processor 411, read-only memory 412, and random access memory 413 are interconnected via a bus 414. An input / output interface 415 is also connected to the bus 414.
[0082] Multiple components in electronic device 410 are connected to input / output interface 415, including: input unit 416, such as keyboard, mouse, etc.; output unit 417, such as various types of monitors, speakers, etc.; storage unit 418, such as disk, optical disk, etc.; and communication unit 419, such as network card, modem, wireless transceiver, etc. Communication unit 419 allows electronic device 410 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0083] Processor 411 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 411 include, but are not limited to, central processing units, graphics processing units, various special-purpose artificial intelligence computing chips, various processors running machine learning model algorithms, digital signal processors, and any suitable processor, controller, microcontroller, etc. Processor 411 performs the various methods and processes described above, such as the hot update method for vehicle configuration information.
[0084] In some embodiments, the hot-update method for vehicle configuration information may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 418. In some embodiments, part or all of the computer program may be loaded and / or installed on electronic device 410 via read-only memory 412 and / or communication unit 419. When the computer program is loaded into random access memory 413 and executed by processor 411, one or more steps of the hot-update method for vehicle configuration information described above may be performed. Alternatively, in other embodiments, processor 411 may be configured as the hot-update method for vehicle configuration information by any other suitable means (e.g., by means of firmware).
[0085] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays, application-specific integrated circuits (ASICs), application-specific standard products (ASICs), systems-on-a-chip (SoCs), payload programmable logic devices, computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0086] Computer programs used to implement the methods of this application may be written in any combination of one or more programming languages. These computer programs may be provided to the processor of a general-purpose computer, a special-purpose computer, or other programmable vehicle configuration information hot-update device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0087] In the context of this application, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium can be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory, read-only memory, erasable programmable read-only memory, optical fibers, portable compact disk read-only memory, optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0088] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a cathode ray tube or liquid crystal display monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0089] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
[0090] A computing system can include clients and servers. Clients and servers are generally geographically separated and typically interact via communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a host product within the cloud computing service system to address the shortcomings of traditional physical hosts and virtual private servers, such as high management difficulty and weak business scalability.
[0091] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this application can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this application can be achieved, and this is not limited herein.
[0092] The specific embodiments described above do not constitute a limitation on the scope of protection of this application. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this application should be included within the scope of protection of this application.
Claims
1. A method for hot-updating vehicle configuration information, characterized in that, include: When the vehicle-side remote upgrade system of the target vehicle meets the preset update status conditions, a system configuration file verification request is sent to the remote upgrade cloud; wherein, the system configuration file verification request is used to perform file consistency verification and file version number consistency verification between the vehicle-side system configuration file and the cloud system configuration file. Based on the verification result of the system configuration file verification request, a request to obtain the cloud system configuration file is sent to the remote upgrade cloud to obtain the cloud system configuration file; Perform consistency verification on the vehicle-side system configuration file and the cloud-side system configuration file, and generate a configuration file update task based on the consistency verification result; Based on the current execution status of the target system update task, the vehicle-side system configuration file is hot-updated according to the configuration file update task; wherein, the target system update task refers to the task of updating the vehicle-side system configuration file in the vehicle-side remote upgrade system or the task of updating the vehicle-mounted system by the vehicle-side remote upgrade system.
2. The method according to claim 1, characterized in that, The step of performing a consistency check on the vehicle-side system configuration file and the cloud-based system configuration file, and generating a configuration file update task based on the consistency check result, includes: Based on the file digest value, for the vehicle-side system configuration file and the cloud-side system configuration file, the file digest value corresponding to the configuration sub-file of the same file type is verified, and the file type of the configuration sub-file with inconsistent file digest values is taken as the target sub-file type; At least one configuration file update task is generated based on the target sub-file type; wherein, the configuration file update task is used to instruct the configuration data of the configuration sub-file corresponding to the target sub-file type in the vehicle-side system configuration file to be updated according to the configuration sub-file corresponding to the target sub-file type in the cloud system configuration file.
3. The method according to claim 2, characterized in that, The vehicle-side system configuration file and the cloud-based system configuration file are used to control and manage the operation of the vehicle's electronic control units; different configuration sub-files are responsible for controlling and managing different electronic control units.
4. The method according to claim 1, characterized in that, The step of sending a request to the remote upgrade cloud to obtain the cloud system configuration file based on the verification result of the system configuration file verification request, and obtaining the cloud system configuration file, includes: If the vehicle-side remote upgrade system receives a verification result from the remote upgrade cloud indicating that the system configuration file is inconsistent, it will send a request to the remote upgrade cloud to obtain the cloud system configuration file. After receiving the cloud system configuration file sent by the remote upgrade cloud, the cloud system configuration file will be stored in the spare partition of the vehicle-side remote upgrade system.
5. The method according to claim 1, characterized in that, The process of updating the task based on the current execution status of the target system update task and according to the configuration file includes: If the vehicle-side remote upgrade system has a target system update task, and the task execution status of the target system update task is "in progress", then it is necessary to wait until the task execution status of the target system update task is "completed" before executing the configuration file update task to perform a hot update of the vehicle-side system configuration file.
6. The method according to claim 1, characterized in that, The cloud system configuration file is independently responsible for managing the configuration information of the vehicle-side remote upgrade system, and the file version number of the cloud system configuration file is decoupled from the calibration information of the vehicle's electronic control unit and the vehicle's logistics configuration information.
7. A hot-update device for vehicle configuration information, characterized in that, include: The configuration verification request module is used to send a system configuration file verification request to the remote upgrade cloud when the vehicle-side remote upgrade system of the target vehicle meets the preset update status conditions; wherein, the system configuration file verification request is used to perform file consistency verification and file version number consistency verification between the vehicle-side system configuration file and the cloud system configuration file. The configuration file acquisition module is used to send a cloud system configuration file acquisition request to the remote upgrade cloud based on the verification result of the system configuration file verification request, and acquire the cloud system configuration file. The configuration file verification module is used to perform consistency verification on the vehicle-side system configuration file and the cloud-side system configuration file, and generate a configuration file update task based on the consistency verification result. The configuration update module is used to perform a hot update of the vehicle-side system configuration file by executing the configuration file update task based on the current task execution status of the target system update task; wherein, the target system update task refers to a task that updates the vehicle-side system configuration file in the vehicle-side remote upgrade system or a task that performs a system update on the vehicle infotainment system by executing the vehicle-side remote upgrade system.
8. An electronic device, characterized in that, include: One or more processors; Memory, used to store one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the hot update method for vehicle configuration information as described in any one of claims 1-6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the hot update method for vehicle configuration information as described in any one of claims 1-6.
10. A computer program product comprising a computer program that, when executed by a processor, implements a hot-update method for vehicle configuration information according to any one of claims 1-6.