Vehicle machine upgrading method and device, vehicle and storage medium

By generating personalized configuration files, the problem that existing OTA technology cannot adapt to the differences in the format of different vehicle systems is solved, personalized updates of vehicle machines and user independent choices are realized, and update efficiency and user experience are improved.

CN118963797APending Publication Date: 2024-11-15GREAT WALL MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410984094.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-22
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

The existing OTA technology cannot meet the personalized needs of users, because the unified software upgrade package cannot adapt to the format differences of different vehicle systems, resulting in the inability to personalize the upgrade of specific vehicle components.

Method used

By obtaining multiple upgrade options and their corresponding upgrade file resources, a personalized configuration file is generated based on the compilation rules, allowing users to independently select the upgrade options and compile them into a format supported by the car machine to achieve updates to the car machine.

Benefits of technology

It realizes personalized updates to the car machine, meets the different needs of users, reduces update time, improves user experience, and ensures the integrity and accuracy of the update file through hash value checksum version management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118963797A_ABST
    Figure CN118963797A_ABST
Patent Text Reader

Abstract

The invention provides a vehicle machine upgrading method and device, a vehicle and a storage medium, the method is applied to the field of vehicles, and the method comprises the following steps: obtaining a plurality of upgrading options and upgrading file resources corresponding to the upgrading options; on the basis of a compiling rule corresponding to an upgraded vehicle-mounted terminal, compiling the plurality of upgrading options and upgrading file resources corresponding to the upgrading options into a first configuration file which is a configuration file of the vehicle-mounted terminal application; and sending the first configuration file to the vehicle-mounted terminal, so that the vehicle-mounted terminal is updated based on the first configuration file. According to the method, the first configuration file corresponding to the upgraded vehicle-mounted terminal can be generated based on the multiple upgrading options and the upgrading file resources corresponding to the upgrading options, and personalized services are brought to users.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicles, and more specifically, to a vehicle computer upgrade method, device, vehicle and storage medium in the field of vehicles. Background Art

[0002] With the development of smart vehicles, the upgrade of smart terminals in vehicles has attracted more and more attention. Over the Air Technology (OTA) upgrade can remotely manage and update the firmware in terminal devices through the air interface. Through OTA upgrade, the vehicle system and vehicle system configuration of the device can be updated.

[0003] In related technologies, traditional OTA realizes the push and distribution of software upgrade packages and resources from the cloud to the vehicle side. However, since different vehicle systems support different formats, unified software upgrade packages and resources cannot meet the personalized needs of users. Summary of the invention

[0004] The present application provides a vehicle computer upgrade method, which can generate a first configuration file corresponding to the upgraded vehicle computer based on multiple upgrade options and upgrade file resources corresponding to each upgrade option, thereby providing personalized services to users.

[0005] In a first aspect, a method for generating a configuration file of a vehicle computer is provided, the method comprising:

[0006] Get multiple upgrade options and the upgrade file resources corresponding to each upgrade option;

[0007] Based on the compilation rules corresponding to the upgraded vehicle computer, multiple upgrade options and upgrade file resources corresponding to each upgrade option are compiled into a first configuration file, where the first configuration file is a configuration file for the vehicle computer application;

[0008] The first configuration file is sent to the vehicle computer, so that the vehicle computer is updated based on the first configuration file.

[0009] Through the above scheme, multiple upgrade options and upgrade file resources corresponding to each upgrade option are obtained, that is, the multiple upgrade options provide personalized options for users, so that users can independently select upgrade file resources, and based on the compilation rules corresponding to the upgraded vehicle computer, the multiple upgrade options and the upgrade file resources corresponding to each upgrade option are compiled into a first configuration file, and the first configuration file is a configuration file used by the vehicle computer. In other words, the upgrade file resources corresponding to each upgrade option in different formats are compiled into a first configuration file supported by the vehicle computer, and the first configuration file is sent to the vehicle computer, so as to update the vehicle computer and meet the personalized needs of users.

[0010] In conjunction with the first aspect, in some possible implementations, multiple upgrade options and upgrade file resources corresponding to each upgrade option are parsed to obtain source codes corresponding to each upgrade file resource;

[0011] The plurality of upgrade options and source codes of the upgrade file resources corresponding to each upgrade option are compiled into a first configuration file according to a target format, where the target format is a format supported by the vehicle computer.

[0012] In conjunction with the first aspect, in some possible implementations, source codes corresponding to the upgrade file resources are compiled to obtain object files corresponding to the source codes;

[0013] Each object file corresponding to the source code is linked to obtain a first configuration file.

[0014] In a second aspect, a vehicle machine OTA animation upgrade method is provided, the method comprising:

[0015] Obtaining a first configuration file, where the first configuration file includes multiple upgrade options and upgrade file resources corresponding to each upgrade option;

[0016] Displaying an animation corresponding to the first configuration file, the animation including multiple upgrade options;

[0017] In response to a selection operation of at least one target upgrade option among the plurality of upgrade options, the vehicle computer is updated based on an upgrade file resource corresponding to the at least one target upgrade option.

[0018] Through the above scheme, the first configuration file is obtained. Since the first configuration file includes multiple upgrade options and upgrade file resources corresponding to each upgrade option, the animation corresponding to the first configuration file is displayed, and the animation includes multiple upgrade options, that is, multiple upgrade options are provided to the user. In response to the selection operation of at least one target upgrade option among the multiple upgrade options, the vehicle computer is updated based on the upgrade file resources corresponding to the at least one target upgrade option. In other words, while providing personalized choices for the user, some components of the vehicle computer are updated, which effectively reduces the time for updating the vehicle computer and brings a better entertainment experience to the user.

[0019] In conjunction with the second aspect, in some possible implementations, it is verified whether the hash value of the first configuration file matches the hash value in the cloud, and the hash value in the cloud is used to verify whether the file resource of the first configuration file is damaged;

[0020] When the hash value of the first configuration file matches the hash value in the cloud, a step of displaying an animation corresponding to the first configuration file is performed, where the animation includes a plurality of upgrade options.

[0021] In conjunction with the second aspect, in some possible implementations, when the hash value of the first configuration file does not match the hash value of the cloud, the file resource of the first configuration file is determined as an invalid file resource;

[0022] Re-obtain the first configuration file.

[0023] In conjunction with the second aspect, in some possible implementations, it is determined whether the version number of the first configuration file is greater than the version number of the second configuration file of the vehicle computer, the second configuration file being used to provide parameters and program settings for the operation of the vehicle computer;

[0024] When the version number of the first configuration file is greater than the version number of the second configuration file locally in the vehicle computer, the upgrade file resources corresponding to each upgrade option in the first configuration file and the upgrade file resources corresponding to each upgrade option in the second configuration file are compared to display the animation corresponding to the first configuration file.

[0025] In conjunction with the second aspect, in some possible implementations, determining a load of the vehicle computer;

[0026] Alternatively, determining a preset upgrade time period of the vehicle computer, where the preset upgrade time period is determined based on an operation behavior on the vehicle computer;

[0027] The upgrade file resources corresponding to at least one target upgrade option include:

[0028] When the load of the vehicle computer is less than or equal to the preset load, the upgrade file resource corresponding to at least one target upgrade option is used to replace the corresponding file resource in the vehicle computer, so as to update the vehicle computer;

[0029] Alternatively, when the current time belongs to a preset upgrade time period, an upgrade file resource corresponding to at least one target upgrade option is used to replace a corresponding file resource in the vehicle computer, so as to update the vehicle computer.

[0030] In conjunction with the second aspect, in some possible implementations, the vehicle computer includes a first vehicle computer system and a second vehicle computer system, and the first vehicle computer system is a currently running vehicle computer system;

[0031] Copying the upgrade file resource corresponding to at least one target upgrade option to the storage space corresponding to the second vehicle system;

[0032] The second vehicle computer system of the vehicle computer is updated by using an upgrade file resource corresponding to at least one target upgrade option.

[0033] In combination with the second aspect, in some possible implementations, when the second vehicle computer system has completed updating, the vehicle computer is restarted to switch the vehicle computer to the second vehicle computer system.

[0034] In conjunction with the second aspect, in some possible implementations, determining whether there is a first configuration file that has not been downloaded completely;

[0035] In the case that there is an incompletely downloaded first configuration file, the first configuration file continues to be downloaded based on the download progress of the incompletely downloaded first configuration file to obtain a complete first configuration file.

[0036] In a third aspect, an OTA animation upgrade device for a vehicle computer is provided, the device comprising:

[0037] An acquisition module, configured to acquire a first configuration file, wherein the first configuration file includes a plurality of upgrade options and upgrade file resources corresponding to each upgrade option;

[0038] A display module, used to display an animation corresponding to the first configuration file, where the animation includes multiple upgrade options;

[0039] The updating module is used to update the vehicle computer based on the upgrading file resources corresponding to the at least one target upgrading option in response to the selection operation of at least one target upgrading option among the multiple upgrading options.

[0040] In a fourth aspect, a vehicle is provided, comprising a memory and a processor. The memory is used to store executable program code, and the processor is used to call and run the executable program code from the memory, so that the vehicle executes the method executed by the above-mentioned OTA animation upgrade method of the vehicle computer.

[0041] In a fifth aspect, a computer program product is provided, which includes: a computer program code, which, when executed on a computer, enables the computer to execute the method executed by the above-mentioned OTA animation upgrade method for a vehicle computer.

[0042] In a sixth aspect, a computer-readable storage medium is provided, which stores a computer program code. When the computer program code runs on a computer, the computer executes the method executed by the above-mentioned OTA animation upgrade method of the vehicle computer. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 It is a schematic diagram of an implementation environment of a vehicle computer upgrade method provided in an embodiment of the present application;

[0044] Figure 2 is a schematic flow chart of a method for generating a configuration file of a vehicle computer provided in an embodiment of the present application;

[0045] Figure 3 is a schematic flow chart of another method for generating a configuration file of a vehicle computer provided in an embodiment of the present application;

[0046] Figure 4 is a schematic flow chart of a method for sending a first configuration file provided in an embodiment of the present application;

[0047] Figure 5 It is a schematic flow chart of an OTA animation upgrade method for a vehicle computer provided in an embodiment of the present application;

[0048] Figure 6 is a schematic flow chart of another OTA upgrade method for a vehicle computer provided in an embodiment of the present application;

[0049] Figure 7 is a schematic flow chart of another OTA upgrade method for a vehicle computer provided in an embodiment of the present application;

[0050] Figure 8 is a schematic flow chart of another OTA animation upgrade method for a vehicle computer provided in an embodiment of the present application;

[0051] Fig. 9 is a schematic flow chart of another OTA upgrade method for a vehicle computer provided in an embodiment of the present application;

[0052] Fig.10 is a schematic flow chart of another OTA upgrade method for a vehicle computer provided in an embodiment of the present application;

[0053] Fig.11 is a schematic flow chart of another OTA upgrade method for a vehicle computer provided in an embodiment of the present application;

[0054] Fig.12 is a schematic flow chart of another OTA upgrade method for a vehicle computer provided in an embodiment of the present application;

[0055] Fig.13 It is a result schematic diagram of a configuration file generating device for a vehicle computer provided in an embodiment of the present application;

[0056] Fig.14 It is a structural schematic diagram of an OTA animation upgrade device for a vehicle computer provided in an embodiment of the present application;

[0057] Fig.15 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application. DETAILED DESCRIPTION

[0058] The technical solution in the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0059] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.

[0060] With the rapid development of vehicle intelligent cockpits, the issue of upgrading intelligent terminals in vehicles has attracted more and more attention. Over the Air Technology (OTA) upgrade can upgrade the vehicle's engine control unit (ECU), vehicle system and application programs.

[0061] In the related technology, the vehicle's ECU and vehicle system can be upgraded through firmware over the air (FOTA). The vehicle's application can be upgraded through software over the air (SOTA). However, during the upgrade process, FOTA and SOTA will upgrade all ECUs, vehicle systems and applications in the vehicle. However, there may be ECUs, vehicle systems or applications in the vehicle that do not need to be upgraded, so they cannot meet the personalized needs of users.

[0062] Figure 1 It is a schematic diagram of the implementation environment of a vehicle computer upgrade method provided in an embodiment of the present application.

[0063] For example, Figure 1 As shown, the implementation environment includes a mobile terminal 101 , a cloud service platform 102 and a head unit terminal (HUT) 103 .

[0064] An application (Application, APP) is integrated on the mobile terminal 101. The APP is used to edit information corresponding to the vehicle computer 103. For example, the information is information for upgrading the software of the vehicle computer 103. In some embodiments, the mobile terminal 101 includes devices such as a mobile phone and a palm computer.

[0065] The cloud service platform 102 is a cloud server for providing cloud database, cloud computing, cloud storage and cloud communication. For example, the cloud service platform 102 is a telematics service provider (TSP). In some embodiments, the cloud service platform 102 can provide the vehicle computer 103 with information on updating software.

[0066] The vehicle computer 103 is used to display various information of the vehicle multimedia system. For example, the various information includes navigation information, entertainment information, vehicle control information, etc. In some embodiments, the vehicle computer 103 can be set in the driving space. In some embodiments, the operation of the vehicle computer 103 is realized based on the central control screen or voice command. For example, the vehicle computer 103 responds to the operation of upgrading the software and updates the vehicle computer 103.

[0067] Figure 2 It is a schematic flowchart of a method for generating a configuration file for a vehicle computer provided in an embodiment of the present application.

[0068] For example, Figure 2 As shown, taking the execution subject as a cloud service platform as an example, the method 200 includes the following steps.

[0069] Step 201: Acquire multiple upgrade options and upgrade file resources corresponding to each upgrade option.

[0070] Among them, multiple upgrade options are used to select and upgrade part of the firmware or software of the vehicle computer. For example, multiple upgrade options include options such as "upgrade vehicle computer wallpaper" and "upgrade vehicle computer music software". The upgrade file resources corresponding to each upgrade option are file resources for upgrading vehicle computer components. For example, the upgrade file resources corresponding to each upgrade option include the file resource of "upgrading vehicle computer wallpaper to dynamic wallpaper" corresponding to "upgrading vehicle computer wallpaper", and the file resource of "upgrading vehicle computer music to Dolby sound effect" corresponding to "upgrading vehicle computer music software".

[0071] Step 202 : based on the compilation rules corresponding to the upgraded vehicle computer, multiple upgrade options and upgrade file resources corresponding to each upgrade option are compiled into a first configuration file, where the first configuration file is a configuration file for the vehicle computer application.

[0072] It should be understood that since the file formats corresponding to the multiple upgrade options and the upgrade file resources corresponding to each upgrade option are inconsistent with the file formats of the configuration files applied by the vehicle computer, the multiple upgrade options and the upgrade file resources corresponding to each upgrade option are compiled into a first configuration file based on the compilation rules corresponding to the upgraded vehicle computer, that is, the file formats corresponding to the upgrade file resources corresponding to each upgrade option are translated into a file format supported by the vehicle computer, so that the vehicle computer can apply the first configuration file.

[0073] The first configuration file is a configuration file for updating the vehicle computer. The first configuration file includes multiple upgrade options and upgrade file resources corresponding to each upgrade option. For example, the first configuration file includes upgrade file resources for updating the startup sound effects, startup animations, and skin resources of the vehicle computer and instrument.

[0074] Step 203: Send the first configuration file to the vehicle computer, so that the vehicle computer is updated based on the first configuration file.

[0075] It should be understood that since the file format of the first configuration file is a file format supported by the vehicle computer, and the first configuration file includes multiple upgrade options and upgrade file resources corresponding to each upgrade option, the first configuration file is sent to the vehicle computer so that the vehicle computer parses the first configuration file and updates it based on the first configuration file.

[0076] The embodiment of the present application provides a method for generating a configuration file of a vehicle computer, obtaining multiple upgrade options and upgrade file resources corresponding to each upgrade option, that is, the multiple upgrade options provide personalized options for users, so that users can independently select upgrade file resources, and based on the compilation rules corresponding to the upgraded vehicle computer, the multiple upgrade options and the upgrade file resources corresponding to each upgrade option are compiled into a first configuration file, and the first configuration file is a configuration file applied by the vehicle computer. That is, the upgrade file resources corresponding to each upgrade option in different formats are compiled into a first configuration file supported by the vehicle computer, and the first configuration file is sent to the vehicle computer, so as to update the vehicle computer and meet the personalized needs of users.

[0077] Figure 3 It is a schematic flowchart of another method for generating a configuration file of a vehicle computer provided in an embodiment of the present application.

[0078] It should be noted that the above steps 201-203 are a simple description of a configuration file generation method for a vehicle computer provided in an embodiment of the present application. The following will be combined with some examples to provide a more detailed description of a configuration file generation method for a vehicle computer provided in an embodiment of the present application. Figure 3 Taking the execution subject as a vehicle computer as an example, the method includes the following steps.

[0079] Step 301: Acquire multiple upgrade options and upgrade file resources corresponding to each upgrade option.

[0080] It should be understood that in actual applications, there will be different business needs. However, in related technologies, upgrading the car computer means upgrading all components of the car computer, and it is impossible to upgrade according to different business needs. Therefore, multiple upgrade options and upgrade file resources corresponding to each upgrade option are obtained, thereby achieving the acquisition of upgrade file resources corresponding to different business needs.

[0081] like Figure 4 As shown, Figure 4 It is a schematic flowchart of a method for obtaining a first configuration file provided in an embodiment of the present application.

[0082] In a possible implementation, multiple upgrade options and upgrade file resources corresponding to each upgrade option are acquired from the mobile terminal.

[0083] In some embodiments, an APP corresponding to the upgraded vehicle computer is integrated on the mobile terminal, and multiple upgrade options for upgrading the vehicle computer are selected based on the APP, wherein one upgrade option corresponds to one upgrade file resource.

[0084] For example, an upgrade APP is integrated on a mobile terminal, and multiple upgrade options such as "upgrade car wallpaper", "upgrade car music software", "upgrade navigation software", and "upgrade car system" are displayed on the APP. Based on the multiple upgrade options, the user selects two upgrade options "upgrade car wallpaper" and "upgrade car music software", and the two upgrade options correspond to two upgrade file resources, which include a file resource for "upgrading the car wallpaper to dynamic wallpaper" and a file resource for "upgrading the car music to Dolby sound effects".

[0085] In some embodiments, the mobile terminal provides an editing operation interface to the user, and the mobile terminal responds to the user's selection operation on the operation interface to determine multiple upgrade options and upgrade file resources corresponding to each upgrade option.

[0086] The operation interface is used to realize the interaction between the user and the mobile terminal. The selection operation is a gesture operation on the mobile terminal, a button click operation, and a voice command sent to the mobile terminal.

[0087] For example, the user clicks on the two options of "upgrade car wallpaper" and "upgrade car music software" on the operation interface of the mobile terminal to determine the file resources of "upgrade car wallpaper to dynamic wallpaper" and "upgrade car music to Dolby sound effects".

[0088] In some embodiments, an operating system corresponding to the upgraded vehicle computer is integrated on the mobile terminal, and upgrade file resources corresponding to the upgraded vehicle computer are determined based on the operating system.

[0089] For example, the mobile terminal integrates an upgraded operating system, and the user sets "update the wallpaper of the vehicle computer to a dynamic wallpaper" on the mobile terminal, thereby determining the upgrade file resources corresponding to the upgraded vehicle computer. The upgrade file resources include program settings and parameters for the upgraded vehicle computer.

[0090] In this implementation, multiple upgrade options and upgrade file resources corresponding to each upgrade option are obtained from the mobile terminal. That is, the user can independently select the upgrade options and upgrade file resources corresponding to the upgraded vehicle computer, thereby bringing a personalized experience to the user.

[0091] Step 302 : Based on the compilation rules corresponding to the upgraded vehicle computer, multiple upgrade options and upgrade file resources corresponding to each upgrade option are compiled into a first configuration file, where the first configuration file is a configuration file for the vehicle computer application.

[0092] It should be understood that the user can independently select multiple upgrade options corresponding to the upgraded vehicle computer or set the upgrade file resources corresponding to the upgraded vehicle computer on the mobile terminal, thereby providing personalized services for the user. Since the multiple upgrade options and the upgrade file resources corresponding to each upgrade option have different file formats, in order to enable the vehicle computer to parse the multiple upgrade options and the upgrade file resources corresponding to each upgrade option, the upgrade file resources in multiple file formats are translated into configuration files supported by the vehicle computer through the cloud service platform.

[0093] In this implementation, based on the compilation rules corresponding to the upgraded vehicle computer, multiple upgrade options and the upgrade file resources corresponding to each upgrade option are compiled into a first configuration file, and the first configuration file is a configuration file applied by the vehicle computer. That is, the upgrade file resources in different file formats are compiled into a first configuration file that can be parsed by the vehicle computer, so that the first configuration file has better compatibility.

[0094] like Figure 4 As shown, Figure 4 It is a schematic flowchart of a method for sending a first configuration file provided in an embodiment of the present application.

[0095] In a possible implementation, the cloud service platform generates a first configuration file.

[0096] In a possible implementation, multiple upgrade options and upgrade file resources corresponding to each upgrade option are parsed to obtain source codes corresponding to each upgrade file resource; multiple upgrade options and source codes of upgrade file resources corresponding to each upgrade option are compiled into a first configuration file according to a target format, and the target format is a format supported by the vehicle computer.

[0097] The source code is a code snippet of each upgrade file resource. Different car computers correspond to different target formats. For example, the target formats corresponding to the car computer include Extensible Markup Language (XML), JSON (JavaScript Object Notation), CCF (Car Configuration File), etc.

[0098] It should be understood that since multiple upgrade options and the upgrade file resources corresponding to each upgrade option may have different file formats, before parsing the multiple upgrade options and the upgrade file resources corresponding to each upgrade option, the file format of the upgrade file resource corresponding to each upgrade option needs to be determined.

[0099] In some embodiments, the front bytes of the upgrade file resource are viewed through a hexadecimal editor to identify the file format of the upgrade file resource. Based on the file format of the upgrade file resource, a corresponding parser is selected to parse the upgrade file resource to obtain source codes corresponding to each upgrade file resource.

[0100] In some embodiments, after obtaining each source code corresponding to the upgrade file resource, the integrity and accuracy of the source code are checked to ensure that the source code has no damaged or missing parts.

[0101] It should be understood that since the source code is a code fragment of each upgrade file resource, compiling the source code according to the target format can obtain the first configuration file parsed by the vehicle computer.

[0102] In some embodiments, each source code corresponding to the upgrade file resource is compiled to obtain each object file corresponding to the source code; each object file corresponding to the source code is linked to obtain the first configuration file.

[0103] It should be understood that in order to ensure the accuracy of the obtained first configuration file, before compiling the multiple upgrade options and the source code of the upgrade file resources corresponding to each upgrade option into the first configuration file according to the target format, it is necessary to configure the compilation environment in the cloud service platform. For example, the compilation environment includes installing necessary compilers, linkers and other tools.

[0104] In some embodiments, the compiler independently compiles each source code corresponding to the upgrade file resource in a target format to generate a binary form including all functions, global variables, etc. defined in the upgrade file resource, that is, to obtain each object file corresponding to the source code.

[0105] It should be understood that since the object file is a scattered file, in order to ensure that all codes and data related to upgrading the vehicle computer are organized together to form a coherent program that can be executed by the vehicle computer system, the scattered object files are merged into a whole, that is, to obtain the first configuration file.

[0106] In some embodiments, the linker may perform optimization operations on the object files during the process of linking the object files. For example, the optimization operations include eliminating unused symbols, merging identical code segments, and the like.

[0107] In some embodiments, the linker finalizes and adjusts the addresses of the code and data in the object file to ensure the correct layout of the program that upgrades the file resources in the cloud service platform.

[0108] It should be understood that since different vehicle computers support different file formats, the linker needs to construct the first configuration file according to the file formats required by different vehicle computers so that the first configuration file can be recognized and loaded for execution by the vehicle computer system.

[0109] Under this implementation mode, multiple upgrade options and the upgrade file resources corresponding to each upgrade option are parsed to obtain the source code corresponding to each upgrade file resource; the source code of the multiple upgrade options and the upgrade file resources corresponding to each upgrade option are compiled into a first configuration file according to a target format, and the target format is a format supported by the vehicle computer. That is, the upgrade file resources of different file formats are compiled into a first configuration file that can be parsed by the vehicle computer, so that the first configuration file has better compatibility.

[0110] Step 303: Obtain a download request from the vehicle computer, where the download request is used to send the first configuration file to the vehicle computer.

[0111] In some embodiments, a download request is obtained from the vehicle computer, for example, the download request is "download a first configuration file".

[0112] In some embodiments, the cloud service platform obtains the download request from the vehicle computer via a network, for example, the network includes a cellular network.

[0113] In this implementation manner, a download request of the vehicle computer is obtained, and the download request is used to send the first configuration file to the vehicle computer, thereby accurately triggering the sending of the first configuration file to the vehicle computer.

[0114] Step 304: Send the first configuration file to the vehicle computer, so that the vehicle computer is updated based on the first configuration file.

[0115] Among them, the car computer is the equipment that needs to be updated.

[0116] like Figure 4 As shown, Figure 4 It is a schematic flowchart of a method for sending a first configuration file provided in an embodiment of the present application.

[0117] It should be understood that since the first configuration file includes multiple upgrade options and upgrade file resources corresponding to each upgrade option, and the file format of the first configuration file is a file format supported by the vehicle computer, sending the first configuration file to the vehicle computer can enable the vehicle computer to be updated.

[0118] In some embodiments, the cloud service platform sends the first configuration file to the vehicle computer via a network, for example, the network includes a cellular network.

[0119] In this implementation, the first configuration file is sent to the vehicle computer so that the vehicle computer is updated based on the first configuration file. That is, since the first configuration file includes multiple upgrade options and upgrade file resources corresponding to each upgrade option, the multiple upgrade options provide multiple choices for the user, and therefore the vehicle computer is updated based on the first configuration file, providing a personalized service for the user.

[0120] Figure 5 It is a schematic flowchart of an OTA animation upgrade method for a vehicle computer provided in an embodiment of the present application.

[0121] For example, Figure 5 As shown, taking the execution subject as a vehicle computer as an example, the method 500 includes the following steps.

[0122] Step 501: Obtain a first configuration file, where the first configuration file includes multiple upgrade options and upgrade file resources corresponding to each upgrade option.

[0123] The first configuration file is a configuration file for updating the vehicle computer. The first configuration file includes multiple upgrade file resources for upgrading the vehicle computer. For example, the first configuration file includes upgrade file resources for updating the startup sound effects, startup animations, and skin resources of the vehicle computer and instrument. Multiple upgrade options are used to select and upgrade part of the firmware or software of the vehicle computer.

[0124] It should be understood that, since the first configuration file includes multiple upgrade options and upgrade file resources corresponding to each upgrade option, the corresponding upgrade file resources are selected based on the multiple upgrade options to provide a personalized experience for the user.

[0125] Step 502: Display an animation corresponding to the first configuration file, where the animation includes multiple upgrade options.

[0126] The animation is a plurality of image frames displayed on the display screen of the vehicle computer. The animation provides a plurality of upgrade options for the user, and based on the plurality of upgrade options, selects the upgrade file resources corresponding to the respective upgrade options in the first configuration file. For example, a plurality of upgrade options such as "upgrade vehicle computer wallpaper", "upgrade instrument panel color", and "upgrade font color" are displayed on the vehicle computer.

[0127] It should be understood that since the animation includes multiple upgrade options, each upgrade option corresponds to each upgrade file resource, so displaying the animation corresponding to the first configuration file on the vehicle computer can directly show multiple upgrade options to the user and provide personalized services for the user.

[0128] Step 503 , in response to a selection operation of at least one target upgrade option among the multiple upgrade options, the vehicle computer is updated based on an upgrade file resource corresponding to the at least one target upgrade option.

[0129] Among them, the upgrade option that responds to the selection operation is a target upgrade option. The selection operation of at least one target upgrade option among multiple upgrade options is an operation to confirm the selection of at least one target upgrade option. In some embodiments, the selection operation is a click operation on a control in the vehicle computer, a click operation on a button in the vehicle, a voice command sent to the vehicle computer, or a gesture operation on the vehicle computer. For example, the user sends a voice command "upgrade the vehicle computer wallpaper" to the vehicle computer, and the vehicle computer responds to the voice command and updates the vehicle computer based on the upgrade file resources corresponding to the upgrade option "upgrade the vehicle computer wallpaper", thereby enabling the user to independently choose to upgrade some components of the vehicle computer, providing personalized services for users, and effectively reducing the time for updating the vehicle computer.

[0130] The embodiment of the present application provides an OTA animation upgrade method for a vehicle computer, which obtains a first configuration file. Since the first configuration file includes multiple upgrade options and upgrade file resources corresponding to each upgrade option, an animation corresponding to the first configuration file is displayed, and the animation includes multiple upgrade options, that is, multiple upgrade options are provided to the user. In response to the selection operation of at least one target upgrade option among the multiple upgrade options, the vehicle computer is updated based on the upgrade file resources corresponding to the at least one target upgrade option. That is, while providing personalized choices for users, some components of the vehicle computer are updated, which effectively reduces the time for updating the vehicle computer and brings a better entertainment experience to users.

[0131] Figure 6 It is a schematic flowchart of another OTA upgrade method for a vehicle computer provided in an embodiment of the present application.

[0132] For example, Figure 6 As shown, taking the execution subject as a vehicle computer as an example, the method 600 includes the following steps.

[0133] Step 601: Obtain a first configuration file, where the first configuration file includes an upgrade file resource.

[0134] The first configuration file is a configuration file for updating the vehicle computer. The first configuration file includes multiple upgrade file resources for upgrading the vehicle computer. For example, the first configuration file includes upgrade file resources for updating the startup sound effects, startup animations, and skin resources of the vehicle computer and instrument. Multiple upgrade options are used to select and upgrade part of the firmware or software of the vehicle computer.

[0135] It should be understood that, since the first configuration file includes multiple upgrade options and upgrade file resources corresponding to each upgrade option, the corresponding upgrade file resources are selected based on the multiple upgrade options, thereby providing a personalized experience for the user.

[0136] Step 602 : Based on the first configuration file and the second configuration file, an upgrade file resource corresponding to the upgraded vehicle computer is selected from the first configuration file, and the second configuration file is a configuration file currently applied by the vehicle computer.

[0137] The second configuration file includes parameters or program settings provided for the operation of the vehicle computer. For example, the second configuration file includes a red instrument panel, and the red instrument panel is the color corresponding to the instrument panel currently used by the vehicle computer.

[0138] It should be understood that since the first configuration file includes upgrade file resources corresponding to each upgrade option, and the second configuration file includes parameters or program settings corresponding to the first configuration file, based on the first configuration file and the second configuration file, the upgrade file resources corresponding to the upgraded vehicle computer are selected from the first configuration file, so that the upgrade file resources corresponding to the upgraded vehicle computer can be quickly determined.

[0139] Step 603: updating the vehicle computer based on the upgrade file resources corresponding to the upgraded vehicle computer.

[0140] The upgrade resource includes parameters or program settings corresponding to the upgraded vehicle computer. Since each upgrade file resource corresponds to multiple upgrade options, the vehicle computer is updated based on the upgrade file resource, thereby providing personalized services for users.

[0141] An embodiment of the present application provides a vehicle computer OTA upgrade method, which obtains a first configuration file. Since the first configuration file includes upgrade file resources corresponding to various upgrade options, based on the first configuration file and the second configuration file, the upgrade file resources corresponding to the upgraded vehicle computer are selected from the first configuration file, and the second configuration file is the configuration file currently applied by the vehicle computer, so that the user can independently select the upgrade file resources corresponding to the upgraded vehicle computer, and update the vehicle computer based on the upgrade file resources corresponding to the upgraded vehicle computer, that is, the vehicle computer is updated based on the upgrade file resources corresponding to the upgraded vehicle computer selected by the user, thereby providing personalized services for the user.

[0142] Figure 7 It is a schematic flowchart of another OTA upgrade method for a vehicle computer provided in an embodiment of the present application.

[0143] It should be noted that the above steps 601-603 are a simple description of an OTA upgrade method for a vehicle computer provided in an embodiment of the present application. The following will provide a more detailed description of an OTA upgrade method for a vehicle computer provided in an embodiment of the present application in combination with some examples. Figure 7 Taking the execution subject as a vehicle computer as an example, the method includes the following steps.

[0144] Step 701: Obtain a first configuration file, where the first configuration file includes an upgrade file resource.

[0145] The first configuration file is used to update the vehicle computer. The first configuration file includes a plurality of upgrade file resources, each upgrade file resource corresponds to each upgrade option, and each upgrade option is an option for updating the vehicle computer.

[0146] It should be understood that in the process of upgrading the vehicle computer, all components of the vehicle computer are usually upgraded. However, if some components in the vehicle computer are already the latest version and do not need to be upgraded, upgrading all the vehicle computers based on the first configuration file will cause the upgrade time to be too long and fail to provide personalized services to users. Therefore, the first configuration file is obtained, which includes multiple upgrade options and upgrade file resources corresponding to each upgrade option, thereby providing users with personalized choices.

[0147] In a possible implementation, after the vehicle computer detects that the cloud service platform has the first configuration file, the vehicle computer obtains the first configuration file for upgrading the vehicle computer from the cloud service platform.

[0148] In this implementation manner, after the vehicle computer detects that there is a first configuration file in the cloud service platform, it obtains the first configuration file for upgrading the vehicle computer from the cloud service platform, and can obtain and update the vehicle computer in a timely manner.

[0149] In a possible implementation manner, when the downloaded network space is greater than or equal to the preset network space, the first configuration file is obtained.

[0150] The preset network space is a network space automatically determined by the vehicle computer, and the size of the preset network space is not limited in the embodiment of the present application. For example, the preset network space may be 2GB.

[0151] It should be understood that since the firmware over-the-air upgrade will occupy network space and network resources, in order to prevent the firmware over-the-air upgrade from interfering with OTA, the first configuration file is obtained after the firmware over-the-air upgrade is stopped.

[0152] In some embodiments, in order to prevent the firmware over-the-air upgrade from interfering with the OTA, obtaining the first configuration file from the cloud service platform is delayed.

[0153] For example, the first configuration file is obtained from the cloud service platform with a delay of one minute.

[0154] It should be understood that when the vehicle computer is acquiring the first configuration file, the vehicle computer may suddenly lose power due to low battery. If the first configuration file is not completely acquired at this time, acquiring the entire first configuration file again will increase the acquisition time and waste more network resources. Therefore, it is necessary to determine whether there is an unacquired first configuration file.

[0155] In this implementation manner, when the download network space is greater than or equal to the preset network space, the first configuration file is obtained to avoid network resource congestion.

[0156] In a possible implementation, it is determined whether there is a first configuration file that has not been completely downloaded.

[0157] Determining whether there is an incompletely downloaded first configuration file is to determine whether there is an incompletely acquired first configuration file.

[0158] In some embodiments, when there is an incompletely downloaded first configuration file, the first configuration file continues to be downloaded based on the download progress of the incompletely downloaded first configuration file to obtain a complete first configuration file.

[0159] The first configuration file includes a file name, a file size, a hash value of the file, or other hash values.

[0160] It should be understood that in order to determine whether there is an uncompleted first configuration file in the vehicle computer, it is determined in the vehicle computer whether there is a partial file of the first configuration file in the memory of the vehicle computer. If the vehicle computer detects the data of the partial upgrade vehicle computer in the first configuration file, the vehicle computer has an uncompleted first configuration file.

[0161] In some embodiments, due to unstable network conditions or power outages in the vehicle, in order to ensure the reliability and efficiency of downloading the first configuration file, the first configuration file is downloaded in blocks, and after downloading a data block, the starting position and ending position of the current data block are recorded, and the download status of the current data block is updated.

[0162] For example, the first configuration file includes 10 data blocks. After the fifth data block is successfully downloaded, the start position and the end position of the fifth data block are recorded, and the download status of the fifth data block is recorded as successful.

[0163] In some embodiments, when storing the first configuration file that has not been downloaded, the vehicle computer sends a download request to the cloud service platform, and continues to download the first configuration file based on the download request.

[0164] The download request carries the end location information of the first configuration file previously downloaded by the vehicle computer.

[0165] It should be understood that since the download request carries the end location information of the first configuration file previously downloaded by the vehicle computer, the download progress of the first configuration file is determined based on the end location information, and the vehicle computer obtains the remaining part of the first configuration file from the cloud service platform based on the end location information, thereby continuing to download the first configuration file to obtain a complete first configuration file.

[0166] For example, the first configuration file includes 10 data blocks. After downloading the 5th data block, the vehicle computer suddenly loses power. The vehicle computer records the starting position and the ending position of the 5th data block. The vehicle computer sends a download request to the cloud service platform. The cloud service platform determines that the vehicle computer only needs to download 5 data blocks from the 6th data block to the 10th data block. Therefore, the vehicle computer downloads 5 data blocks from the 6th data block to the 10th data block from the cloud service platform to obtain the complete 10 data blocks of the first configuration file.

[0167] In some embodiments, when storing the first configuration file that has not been downloaded completely, the vehicle computer sends a download request to the cloud service platform and continues to download the first configuration file based on the Hyper Text Transfer Protocol (HTTP).

[0168] In some embodiments, the data packet of the first configuration file includes a Range request header field, wherein the Range request header field specifies the range of the download.

[0169] For example, if Range:bytes=5001-10000, the range of the data packet of the downloaded first configuration file is 5001-10000 bytes.

[0170] In some embodiments, the vehicle computer obtains the corresponding file resources from the cloud service platform according to the Range request header field.

[0171] In some embodiments, when the first configuration file is downloaded, the following steps 702 to 705 are performed.

[0172] In this implementation, when the vehicle computer is acquiring the first configuration file, the vehicle computer may suddenly lose power due to low battery. If the first configuration file is not completely acquired at this time, acquiring the entire first configuration file again will increase the acquisition time and waste more network resources. Therefore, it is necessary to determine whether there is an unacquired first configuration file, so as to avoid wasting network resources and reduce the time for downloading the first configuration file.

[0173] Step 702, when the hash value of the first configuration file matches the hash value of the cloud service platform, execute the step of selecting an upgrade file resource corresponding to the upgraded vehicle computer from the first configuration file based on the first configuration file and the second configuration file, and the second configuration file is the configuration file currently applied by the vehicle computer.

[0174] The hash value of the first configuration file is a digital fingerprint of a fixed length, which is used to uniquely identify the content of the first configuration file. The hash value of the cloud service platform is the original hash value of the first configuration file. The second configuration file is the configuration file currently used by the vehicle computer.

[0175] It should be understood that when any part of the first configuration file changes, the hash value of the first configuration file will also change accordingly. Therefore, verifying whether the hash value of the first configuration file matches the hash value of the cloud service platform can verify the integrity and consistency of the first configuration file during downloading.

[0176] It should also be understood that the hash value of the first configuration file matches the hash value of the cloud service platform, indicating that the hash value of the first configuration file is the same as the hash value of the cloud service platform, and the file resource of the downloaded first configuration file is not damaged.

[0177] In this implementation, when the hash value of the first configuration file matches the hash value of the cloud service platform, the step of selecting the upgrade file resource corresponding to the upgraded vehicle computer from the first configuration file based on the first configuration file and the second configuration file is performed, and the second configuration file is the configuration file currently applied by the vehicle computer. That is, it is determined that the file resource of the downloaded first configuration file is not damaged, and the upgrade file resource corresponding to the upgraded vehicle computer is selected from the first configuration file, with high integrity and accuracy.

[0178] In a possible implementation, based on different upgrade file resources in the first configuration file and the second configuration file, an upgrade file resource corresponding to the upgraded vehicle computer is selected from the first configuration file.

[0179] In some embodiments, it is determined whether there is an upgrade file resource identical to that of the first configuration file in the second configuration file. If there is an upgrade file resource identical to that of the first configuration file in the second configuration file, an upgrade file resource different from that of the second configuration file is selected from the first configuration file.

[0180] In some embodiments, when there is no upgrade file resource identical to that in the first configuration file in the second configuration file, an upgrade file resource corresponding to the upgraded vehicle computer is selected from the first configuration file.

[0181] In some embodiments, based on the second configuration file, the upgrade file resources currently applied by the vehicle computer are determined.

[0182] For example, the second configuration file includes an upgrade file resource of “determining the color of the wallpaper as color”, and based on the upgrade file resource, the color of the wallpaper of the vehicle computer is determined to be color.

[0183] It can be understood that the detailed steps of executing the step of selecting the upgrade file resource corresponding to the upgraded vehicle computer from the first configuration file based on the first configuration file and the second configuration file are referred to the aforementioned step 602, which will not be repeated here.

[0184] In a possible implementation, when the hash value of the first configuration file matches the hash value of the cloud service platform, the first configuration file is determined to be a valid configuration file; the first configuration file is copied to a storage space corresponding to the upgraded vehicle computer to determine the first configuration file as the configuration file to be updated.

[0185] It should be understood that when the hash value of the first configuration file matches the hash value of the cloud service platform, it is determined that the first configuration file is not damaged, and therefore the upgrade resource file based on the first configuration file can update the vehicle computer.

[0186] Optionally, before executing the above step 602, the following steps can also be executed.

[0187] In a possible implementation, it is verified whether the hash value of the first configuration file matches the hash value of the cloud service platform, and the hash value of the cloud service platform is used to verify whether the file resource of the first configuration file is damaged.

[0188] It should be understood that verifying whether the hash value of the first configuration file matches the hash value of the cloud service platform means verifying whether the hash value of the first configuration file is the same as the hash value of the cloud service platform to determine whether the file resource of the downloaded first configuration file is damaged.

[0189] In some embodiments, a hash value of the cloud service platform for verifying the first configuration file is obtained from the cloud service platform. A unique character sequence is generated by a specific algorithm, and the character sequence is the hash value of the cloud service platform.

[0190] For example, specific algorithms include Message-Digest Algorithm (MD5) and Secure Hash Algorithm (SHA).

[0191] In some embodiments, the hash value of the first configuration file is calculated using the same hash algorithm as that used to obtain the hash value of the cloud service platform, thereby verifying whether the hash value of the first configuration file matches the hash value of the cloud service platform to determine whether the file resources of the first configuration file are damaged.

[0192] In this implementation, it is checked whether the hash value of the first configuration file matches the hash value of the cloud service platform. The hash value of the cloud service platform is used to check whether the file resources of the first configuration file are damaged, thereby effectively ensuring the accuracy of the first configuration file.

[0193] It should be understood that the mismatch between the hash value of the first configuration file and the hash value of the cloud service platform indicates that the file resource of the first configuration file has been damaged, so the first configuration file cannot be used to update the vehicle computer. To ensure normal update of the vehicle computer, the first configuration file needs to be obtained again.

[0194] In a possible implementation, when the hash value of the first configuration file does not match the hash value of the cloud service platform, the first configuration file is re-acquired.

[0195] In some embodiments, when the hash value of the first configuration file does not match the hash value of the cloud service platform, the file resource of the first configuration file is determined to be an expired file resource.

[0196] In some embodiments, when the hash value of the first configuration file does not match the hash value of the cloud service platform, it is determined that the download of the first configuration file has failed, and the number of downloads of the first configuration file is recorded.

[0197] In some embodiments, when the current first configuration file fails to be downloaded, it is determined whether there is another download failure before downloading the current first configuration file, and the number of download failures of the first configuration file is accumulated.

[0198] For example, when the current first configuration file fails to be downloaded, it is determined that the current first configuration file has failed to be downloaded once, and the number of times the first configuration file fails to be downloaded is determined to be 2.

[0199] In some embodiments, when the cumulative number of failed downloads of the first configuration file is greater than or equal to a preset number, the file resource of the first configuration file is determined as an expired file resource.

[0200] The preset number of times is the number of times automatically determined by the vehicle computer, and the size of the preset number of times is not limited in the embodiment of the present application. For example, the preset number of times may be 2.

[0201] In some embodiments, based on the invalidated file resources and valid file resources in the first configuration file, it is determined whether the first configuration file downloaded to the vehicle computer is the same as the first configuration file of the cloud service platform.

[0202] When the first configuration file downloaded to the vehicle computer is the same as the first configuration file of the cloud service platform, it is determined that the download of the first configuration file is complete.

[0203] In some embodiments, when the first configuration file downloaded to the vehicle computer is different from the first configuration file of the cloud service platform, the first configuration file is re-acquired.

[0204] In this implementation manner, when the hash value of the first configuration file does not match the hash value of the cloud service platform, the first configuration file is re-acquired to improve the accuracy of acquiring the first configuration file.

[0205] That is, when the first configuration file downloaded to the vehicle computer is different from the first configuration file of the cloud service platform, step 701 is executed.

[0206] Step 703: when the version number of the first configuration file is greater than the version number of the second configuration file local to the vehicle computer, determine the upgrade file resource in the first configuration file corresponding to the upgraded vehicle computer.

[0207] The version number of the first configuration file is a number or a combination of letters and numbers that identifies a specific version of the configuration file. The version number of the first configuration file is used to ensure that the configuration file applied by the vehicle computer is a correct configuration file.

[0208] In some embodiments, the version number of the first configuration file includes a major version number, a minor version number, a revision number, and possibly a build number or a date stamp.

[0209] Wherein, based on the major version number and the minor version number, it is determined that the version number of the first configuration file is greater than the version number of the second configuration file local to the vehicle computer.

[0210] For example, the version number of the first configuration file is 2.3.1-20230627, where 2.3.1 indicates that the major version number of the configuration file is 2, the minor version number is 3, and the revision number is 1, and 20230627 is the date stamp of the first configuration file.

[0211] It should be understood that the first configuration file includes multiple upgrade options and upgrade file resources corresponding to each upgrade option. There may be a situation in the vehicle computer where only some components need to be upgraded. Therefore, updating the vehicle computer based on multiple upgrade file resources in the first configuration file will cause a waste of network resources. Therefore, selecting the upgrade file resources corresponding to upgrading the vehicle computer in the first configuration file can effectively save the waste of network resources.

[0212] In a possible implementation, when the version number of the first configuration file is greater than the version number of the second configuration file, the upgrade file resources in the first configuration file and the upgrade file resources in the second configuration file are compared to obtain the upgrade file resources corresponding to the upgraded vehicle computer, and the upgrade file resources corresponding to the upgraded vehicle computer are upgrade file resources in the first configuration file that are different from those in the second configuration file.

[0213] It should be understood that since the first configuration file includes upgrade file resources and the second configuration file includes parameters and program settings provided for vehicle computer operation, by comparing the upgrade file resources in the first configuration file and the upgrade file resources in the second configuration file, the upgrade file resources corresponding to the upgraded vehicle computer can be obtained.

[0214] In some embodiments, it is determined whether an entry of a file resource in the first configuration file matches an entry of an upgrade file resource in the second configuration file.

[0215] The entry of the upgrade file resource of the configuration file is the number of the upgrade file resources.

[0216] For example, if the number of entries of file resources in the first configuration file is 5, then the number of file resources to be upgraded for the vehicle computer is 5; if the number of entries of file resources in the second configuration file is 3, then the number of file resources to be upgraded for the vehicle computer is 3.

[0217] In some embodiments, when the file resources in the first configuration file do not match the entries of the upgrade file resources in the second configuration file, the upgrade file resources in the first configuration file and the upgrade file resources in the second configuration file are compared to obtain the upgrade file resources corresponding to the vehicle computer that needs to be upgraded.

[0218] In some embodiments, when the file resources in the first configuration file match the entries of the upgrade file resources in the second configuration file, the upgrade file resources corresponding to the upgraded vehicle computer are determined based on the file resources in the first configuration file.

[0219] It should be understood that since the first configuration file includes multiple upgrade file resources and the second configuration file includes fewer upgrade file resources, all the file resources for upgrading the vehicle computer in the first configuration file are not required. If all the multiple upgrade file resources in the first configuration file are used to upgrade the vehicle computer, network resources will be wasted. Therefore, comparing the upgrade file resources in the first configuration file and the upgrade file resources in the second configuration file can effectively avoid network resource waste.

[0220] In this implementation, when the version number of the first configuration file is greater than the version number of the second configuration file, the upgrade file resources in the first configuration file and the upgrade file resources in the second configuration file are compared to obtain the upgrade file resources corresponding to the upgraded vehicle computer, thereby avoiding wasting network resources.

[0221] In a possible implementation, when the version number of the first configuration file is greater than the version number of the second configuration file local to the vehicle computer, the upgrade file resources corresponding to each upgrade option in the first configuration file and the upgrade file resources corresponding to each upgrade option in the second configuration file are compared to obtain the upgrade file resources corresponding to the upgraded vehicle computer, and the upgrade file resources corresponding to the upgraded vehicle computer are upgrade file resources in the first configuration file that are different from those in the second configuration file.

[0222] It should be understood that since the version number format of the configuration files is unified, whether the first configuration file is the first configuration file for upgrading the vehicle computer is determined based on the version number of the first configuration file and the version number of the second configuration file local to the vehicle computer.

[0223] For example, the version number of the first configuration file is 2.3.1-20230627, and the version number of the second configuration file is 2.3.0-20230627. 2.3.1 is greater than 2.3.0, so the version number of the first configuration file is greater than the version number of the second configuration file locally in the vehicle computer.

[0224] In some embodiments, the entries in the upgrade file resources corresponding to each upgrade option in the first configuration file and the upgrade file resources corresponding to each upgrade option in the second configuration file are determined, and when the entries in the upgrade file resources corresponding to each upgrade option in the first configuration file match the entries in the upgrade file resources corresponding to each upgrade option in the second configuration file, the upgrade file resources corresponding to the upgraded vehicle computer are determined.

[0225] For example, in the first configuration file, the upgrade file resource corresponding to the upgraded wallpaper is determined to be the file resource of "upgrading the wallpaper to a dynamic wallpaper", and the upgrade file resource corresponding to the upgraded wallpaper in the second configuration file is "the wallpaper is colorful", so the upgrade file resource in the first configuration file is determined to be the file resource for upgrading the wallpaper of the second configuration file.

[0226] In this implementation, when the version number of the first configuration file is greater than the version number of the second configuration file local to the vehicle computer, the upgrade file resources corresponding to each upgrade option in the first configuration file and the upgrade file resources corresponding to each upgrade option in the second configuration file are compared to obtain the upgrade file resources corresponding to the upgraded vehicle computer. The upgrade file resources corresponding to the upgraded vehicle computer are upgrade file resources in the first configuration file that are different from those in the second configuration file. The vehicle computer autonomously selects the upgrade file resources corresponding to the upgraded vehicle computer, and the degree of personalization is high.

[0227] In a possible implementation manner, when the version number of the first configuration file is greater than the version number of the second configuration file locally in the vehicle computer, it is determined whether the first configuration file is completely downloaded.

[0228] In some embodiments, when there is an incompletely downloaded first configuration file, the first configuration file continues to be downloaded based on the download progress of the incompletely downloaded first configuration file to obtain a complete first configuration file.

[0229] Optionally, when the version number of the first configuration file is greater than the version number of the second configuration file locally in the vehicle computer, the determination of whether the first configuration file is downloaded can refer to the relevant description in the aforementioned step 701, which will not be repeated here.

[0230] In this implementation, when the version number of the first configuration file is greater than the version number of the second configuration file locally in the vehicle, it is determined whether the first configuration file is completely downloaded, that is, it is determined again whether the first configuration file is damaged, thereby improving the download accuracy of the first configuration file.

[0231] Optionally, before executing the above step 703, the following steps may also be executed.

[0232] In a possible implementation, it is determined whether the version number of the first configuration file is greater than the version number of the second configuration file.

[0233] In some embodiments, when the version number of the first configuration file is less than or equal to the version number of the second configuration file, it is determined that there is no upgrade file resource corresponding to the upgraded vehicle computer in the first configuration file, and the file resource of the first configuration file is determined as an invalid file resource.

[0234] Optionally, when the file resource of the first configuration file is determined to be an invalid file resource, the first configuration file is re-acquired, that is, step 701 is executed.

[0235] In this implementation, it is determined whether the version number of the first configuration file is greater than the version number of the second configuration file, so that the accuracy of the first configuration file is higher.

[0236] In a possible implementation manner, when the file resources of the first configuration file meet the validity period of the configuration file currently applied by the vehicle computer, the upgrade file resources in the first configuration file corresponding to the upgraded vehicle computer are determined.

[0237] In some embodiments, when the file resources of the first configuration file meet the validity period of the configuration file currently applied by the vehicle computer, the upgrade file resources corresponding to the upgraded vehicle computer are determined.

[0238] For example, the version number of the file resource of the first configuration file is 2.3.1-20230627, and the validity period of the configuration file currently applied by the vehicle computer is 2024, so it is determined that the file resource of the first configuration file is consistent with the configuration file currently applied by the vehicle computer.

[0239] In this implementation manner, when the file resources of the first configuration file meet the validity period of the configuration file currently applied by the vehicle computer, the upgrade file resources corresponding to the upgraded vehicle computer in the first configuration file are determined, thereby improving the accuracy of parsing the first configuration file.

[0240] In a possible implementation manner, when the priority of the first configuration file is greater than the priority of the second configuration file, an upgrade file resource corresponding to the upgraded vehicle computer in the first configuration file is determined.

[0241] In some embodiments, when the version number of the first configuration file is greater than the version number of the second configuration file, it is determined that the priority of the first configuration file is greater than the priority of the second configuration file, thereby determining the upgrade file resource in the first configuration file corresponding to the upgraded vehicle computer.

[0242] For example, when the version number of the first configuration file is 2.3.1-20230627 and the version number of the second configuration file is 2.2.1-20230315, it is determined that the version number of the first configuration file is greater than the version number of the second configuration file, and the priority of the first configuration file is higher than the priority of the second configuration file. Therefore, the upgrade file resource corresponding to the upgraded vehicle computer is determined from the first configuration file.

[0243] In this implementation, when the priority of the first configuration file is greater than the priority of the second configuration file, the upgrade file resource corresponding to the upgraded vehicle computer in the first configuration file is determined, thereby improving the accuracy of parsing the first configuration file.

[0244] In a possible implementation, the file resources in the first configuration file are traversed, the upgrade file resources corresponding to the upgraded vehicle computer in the first configuration file are parsed, and it is determined whether the upgrade file resources are Overlay type files.

[0245] The Overlay type file is used to add, modify or overwrite part of the content of the second configuration file without changing the second configuration file, so as to obtain the first configuration file.

[0246] In some embodiments, when the upgrade file resource is an Overlay type file, a skin software development kit (SDK) is called, and based on the skin SDK, the upgrade file resource is copied to a storage space storing a second configuration file to obtain an upgrade file resource for upgrading the vehicle computer.

[0247] In some embodiments, when the upgrade file resource is not an Overlay type file, the upgrade file resource is copied to a storage space corresponding to the upgraded vehicle computer to obtain an upgrade file resource for upgrading the vehicle computer.

[0248] In some embodiments, it is determined whether the upgrade file resource is successfully copied to the storage space corresponding to the upgraded vehicle computer. If the upgrade file resource is not copied to the storage space corresponding to the upgraded vehicle computer, the first configuration file is re-acquired.

[0249] In this implementation, the file resources in the first configuration file are traversed, the upgrade file resources corresponding to the upgraded vehicle computer in the first configuration file are parsed, and it is determined whether the upgrade file resources are Overlay type files, thereby providing a good path for updating the vehicle computer.

[0250] Optionally, after executing the above steps, the following steps can also be executed.

[0251] In a possible implementation, upgrade file resources identical to upgrade file resources corresponding to each upgrade option in the second configuration file are determined in the first configuration file, and the upgrade file resources identical to upgrade file resources corresponding to each upgrade option in the second configuration file are determined as upgrade file resources of old versions.

[0252] It should be understood that the version of the upgrade file resource in the first configuration file may be the same as the file resource of the second configuration file currently used by the vehicle computer. To avoid wasting network resources, the old version of the upgrade file resource in the first configuration file is deleted.

[0253] In some embodiments, when an old version of the upgrade file resource exists in the first configuration file, the old version of the upgrade file resource is deleted.

[0254] For example, the version number of the first configuration file is 2.3.1-20230627, the file resource of the upgraded wallpaper in the first configuration file is "Upgrade wallpaper to dynamic wallpaper", and the file resource of the wallpaper in the second configuration file is also "Upgrade wallpaper to dynamic wallpaper". Therefore, it is determined that there are old version upgrade file resources in the first configuration file, and the old version upgrade file resources are deleted to avoid wasting network resources.

[0255] In this implementation, upgrade file resources identical to upgrade file resources corresponding to each upgrade option in the second configuration file are determined in the first configuration file, and upgrade file resources identical to upgrade file resources corresponding to each upgrade option in the second configuration file are determined as upgrade file resources of old versions, thereby avoiding wasting network resources.

[0256] Step 704 , updating the vehicle computer based on the upgrade file resources corresponding to the upgraded vehicle computer.

[0257] It should be understood that the upgrade file resources in the first configuration file may conflict with the second configuration file currently used by the vehicle computer. Therefore, to avoid conflicts in the vehicle computer, it is determined whether the file resources of the first configuration file meet the preset conditions of the vehicle computer.

[0258] In a possible implementation manner, when the file resources of the first configuration file meet the preset conditions of the vehicle computer, the vehicle computer is updated based on the upgrade file resources corresponding to the upgraded vehicle computer.

[0259] In some embodiments, it is determined based on a conflict mechanism whether the file resource of the first configuration file meets the preset conditions of the vehicle computer.

[0260] The conflict mechanism is used to determine whether the file resources of the first configuration file are compatible with the versions of the file resources of the second configuration file.

[0261] In some embodiments, it is tested whether the file format of the file resource in the first configuration file conforms to the file format supported by the vehicle computer.

[0262] In some embodiments, when the file format of the file resource in the first configuration file conforms to the file format supported by the vehicle computer, it is determined whether the storage space in the vehicle computer for updating the vehicle computer conforms to the preset storage space.

[0263] In some embodiments, when the storage space in the vehicle computer meets the requirements for storing the file resources in the first configuration file, an update guide corresponding to the first configuration file is determined, wherein the update guide is used to guide the user to correctly perform OTA upgrades and close unnecessary applications.

[0264] In some embodiments, based on the update guide, the vehicle computer is updated based on the upgrade file resources corresponding to the upgraded vehicle computer.

[0265] In this implementation, when the file resources of the first configuration file meet the preset conditions of the vehicle computer, the vehicle computer is updated based on the upgrade file resources corresponding to the upgraded vehicle computer, thereby avoiding conflicts such as configuration file incompatibility when updating the vehicle computer and improving the success rate of updating the vehicle computer.

[0266] In a possible implementation, the upgrade file resources corresponding to the upgraded vehicle computer are parsed, and the vehicle computer is updated based on the parsed upgrade file resources.

[0267] In some embodiments, whether the vehicle computer is successfully updated is determined based on the parsed upgrade file resources.

[0268] In some embodiments, when the vehicle computer fails to be updated based on the parsed upgrade file resource, the upgrade file resource is determined as an invalid file resource and the upgrade file resource is deleted.

[0269] In this implementation mode, the upgrade file resources corresponding to the upgraded vehicle computer are parsed, and the vehicle computer is updated based on the parsed upgrade file resources, with high accuracy.

[0270] It should be understood that during the update process of the vehicle computer, the update may fail or the vehicle computer may become unstable. In order to avoid the vehicle computer being unusable and bringing a bad experience to the user, a backup strategy is implemented before the vehicle computer is updated based on the upgrade file resources corresponding to the upgraded vehicle computer.

[0271] In a possible implementation, before the vehicle computer is updated based on the upgrade file resources corresponding to the upgraded vehicle computer, a fallback strategy is executed.

[0272] Among them, the fallback strategy is used to maintain the basic functions of the vehicle computer or to avoid serious consequences such as damage to the vehicle computer system due to update failure.

[0273] In some embodiments, before the vehicle computer is updated based on the upgrade file resources corresponding to the upgraded vehicle computer, the second configuration file currently applied by the vehicle computer is completely copied to the internal storage space of the vehicle computer so as to quickly restore when the update fails.

[0274] In this implementation mode, before the vehicle computer is updated based on the upgrade file resources corresponding to the upgraded vehicle computer, a fallback strategy is executed to effectively improve the security of the vehicle computer update.

[0275] Optionally, before executing the above steps, the following steps can also be executed.

[0276] In a possible implementation, the load of the vehicle computer is determined, and when the load of the vehicle computer is less than or equal to a preset load, an upgrade file resource corresponding to the upgraded vehicle computer is used to replace the corresponding file resource in the vehicle computer to update the vehicle computer.

[0277] In some embodiments, the current load of the vehicle computer is obtained through a class provided by the vehicle computer system, and based on the utilization rate of the central processing unit (CPU) of the vehicle computer and the usage of the internal storage space of the vehicle computer, it is determined whether the current load of the vehicle computer is busy.

[0278] Among them, the car-machine system is used to realize intelligent interaction between people and cars, and improve driving safety and comfort.

[0279] In some embodiments, the vehicle system includes a first vehicle system and a second vehicle system, the first vehicle system is the vehicle system currently running, and the second vehicle system is the vehicle system updated. The vehicle system is used to implement functions such as vehicle navigation, vehicle entertainment, vehicle communication and vehicle security.

[0280] For example, the vehicle computer system of the vehicle computer is an Android system, and the load of the first vehicle computer is obtained through the ActivityManager class.

[0281] In some embodiments, when the load of the vehicle computer is less than or equal to a preset load, the vehicle computer is updated to reduce the impact on the user.

[0282] The preset load is a load automatically determined by the vehicle computer, and the size of the preset load is not limited in the embodiment of the present application. For example, the preset load may be 30%.

[0283] For example, the preset load is 30%, and the current load of the vehicle computer is 10%. When it is determined that the load of the vehicle computer is less than the preset load, the vehicle computer is updated.

[0284] In some embodiments, when the load of the vehicle computer is greater than a preset load, the vehicle computer is updated after a delay, or the vehicle computer is updated after the current load of the vehicle computer is less than or equal to the preset load.

[0285] For example, the preset load is 30%, and the current load of the vehicle computer is 80%. It is determined that the load of the vehicle computer is greater than the preset load. If the vehicle computer is updated in this case, it will cause update jams. In order to avoid a bad experience for users, the update of the vehicle computer is delayed.

[0286] In some embodiments, when the vehicle computer is updated, background tasks and applications in the vehicle computer are disabled to release system resources of the vehicle computer and reduce the current load of the vehicle computer.

[0287] The vehicle computer system integrates a variety of intelligent platforms, which are used to realize intelligent interaction between people and vehicles and improve driving safety and comfort.

[0288] In some embodiments, the vehicle system includes functions such as in-vehicle navigation, in-vehicle entertainment, in-vehicle communication and in-vehicle security.

[0289] For example, when updating the vehicle computer, disable the background music listening software or voice wake-up function in the vehicle computer to release the vehicle computer system resources.

[0290] In this implementation, the load of the vehicle computer is determined. When the load of the vehicle computer is less than or equal to the preset load, the upgrade file resources corresponding to the upgraded vehicle computer are used to replace the corresponding file resources in the vehicle computer to update the vehicle computer, so as to avoid CPU congestion and lag in the update of the vehicle computer.

[0291] In a possible implementation, a preset upgrade time period of the vehicle computer is determined, and the preset upgrade time period is determined based on the operation behavior on the vehicle computer. When the current time belongs to the preset upgrade time period, the upgrade file resources corresponding to the upgraded vehicle computer are used to replace the corresponding file resources in the vehicle computer to update the vehicle computer.

[0292] The preset upgrade time period is a time period automatically determined by the vehicle computer, and the preset upgrade time period is not limited in the embodiment of the present application. For example, the preset upgrade time period may be 0:00-3:00.

[0293] In some embodiments, a text prompt is displayed on the vehicle computer before the vehicle computer is updated, asking whether the vehicle computer is to be upgraded within a preset upgrade time period, so as to provide personalized services to the user, thereby avoiding interference to the user during the update of the vehicle computer.

[0294] For example, if the vehicle computer is in use at 23:00, the vehicle computer will display "whether to update the vehicle computer between 0:00 and 3:00", and the user chooses to update the vehicle computer based on the control on the vehicle computer.

[0295] It should be understood that the storage space of the vehicle computer is usually divided into multiple partitions, which include an active partition and an update partition.

[0296] The active partition is used to provide storage space for the second configuration file currently used by the vehicle computer, and the update partition is used to download and install the first configuration file into the update partition during the process of updating the vehicle computer.

[0297] In some embodiments, the partition of the storage space corresponding to the first vehicle system is an active partition, and the partition of the storage space corresponding to the second vehicle system is an update partition.

[0298] The first vehicle system is a currently running vehicle system, and the second vehicle system is a non-running vehicle system.

[0299] In a possible implementation, the upgrade file resources corresponding to the upgraded vehicle computer are copied to the storage space corresponding to the second vehicle computer system; and the upgrade file resources corresponding to the upgraded vehicle computer are used to update the second vehicle computer system of the vehicle computer.

[0300] In some embodiments, multiple partitions of the vehicle computer are used to perform steps such as downloading updates, verifying updates, switching slots, or restarting the vehicle computer.

[0301] The download and update is to download and copy the upgrade file resources of the first configuration file corresponding to the upgraded vehicle computer to the storage space corresponding to the second vehicle computer system.

[0302] Verify the update to verify the integrity and correctness of the upgrade file resources corresponding to the updated and upgraded vehicle computer to ensure that the installed upgrade file resources will not damage the vehicle computer.

[0303] The switching slot is used to install the update package into the storage space corresponding to the second vehicle system.

[0304] Restarting the vehicle computer is used to restart the vehicle computer and switch the first vehicle computer system to the second vehicle computer system to complete the update.

[0305] In some embodiments, the vehicle computer includes a first vehicle computer system and a second vehicle computer system. The first vehicle computer system is a currently running vehicle computer system, and the second vehicle computer system is a non-running vehicle computer system. The storage space corresponding to the first vehicle computer system is a storage space for storing a second configuration file currently applied by the vehicle computer, and the storage space corresponding to the second vehicle computer system is a storage space for updating.

[0306] In some embodiments, the upgrade file resources corresponding to the upgraded vehicle computer are copied to the storage space corresponding to the second operation, the second vehicle computer system of the vehicle computer is updated using the upgrade file resources corresponding to the upgraded vehicle computer, and the second configuration file in the storage space corresponding to the first vehicle computer system is deleted.

[0307] In some embodiments, after the vehicle computer is started, it is determined whether there are upgrade file resources of the updated first configuration file corresponding to the upgraded vehicle computer. If there are upgrade file resources of the updated first configuration file corresponding to the upgraded vehicle computer, the upgrade file resources of the first configuration file corresponding to the upgraded vehicle computer are downloaded and verified.

[0308] In some embodiments, the second vehicle system updates the upgrade file resources corresponding to the upgraded vehicle system, and copies the upgrade file resources corresponding to the upgraded vehicle system to the storage space corresponding to the second vehicle system.

[0309] In this implementation mode, the upgrade file resources corresponding to the upgraded vehicle computer are copied to the storage space corresponding to the second vehicle computer system; the second vehicle computer system of the vehicle computer is updated using the upgrade file resources corresponding to the upgraded vehicle computer, with high accuracy.

[0310] Step 705: After the vehicle computer is updated, the vehicle computer system of the vehicle computer is switched from the first vehicle computer system to the second vehicle computer system.

[0311] The first vehicle system is a currently running vehicle system, and the second vehicle system is a non-running vehicle system.

[0312] It should be understood that since the upgrade file resources corresponding to the upgraded vehicle computer are used to update the second vehicle computer system, and the vehicle computer system currently used by the vehicle computer is the first vehicle computer system, the vehicle computer is restarted in order to enable the vehicle computer to apply the updated vehicle computer system.

[0313] In a possible implementation manner, when the second vehicle computer system has completed updating, the vehicle computer is restarted to switch the vehicle computer to the second vehicle computer system.

[0314] In some embodiments, during the process of restarting the vehicle computer, the vehicle computer will automatically switch from the first operation to the second vehicle computer system, so that the vehicle computer applies the updated vehicle computer system.

[0315] In some embodiments, when the second vehicle system completes the update, the second configuration file in the storage space corresponding to the first vehicle system is deleted.

[0316] It should be understood that since the first configuration file corresponding to the first vehicle system is stored in the storage space corresponding to the first vehicle system, in order to avoid wasting storage space resources, the second configuration file in the storage space corresponding to the first vehicle system is deleted.

[0317] In this implementation manner, when the second vehicle computer system has completed the update, the vehicle computer is restarted to switch the vehicle computer to the second vehicle computer system, so that the vehicle computer applies the updated vehicle computer system to bring a better experience to the user.

[0318] The embodiment of the present application provides an OTA upgrade method for a vehicle computer, obtaining a first configuration file, the first configuration file including an upgrade file resource, and executing a step of selecting an upgrade file resource corresponding to the upgraded vehicle computer from the first configuration file based on the first configuration file and the second configuration file when the hash value of the first configuration file matches the hash value of the cloud service platform, the second configuration file is the configuration file currently applied by the vehicle computer, so that the user can independently select the upgrade file resource corresponding to the upgraded vehicle computer, and when the version number of the first configuration file is greater than the version number of the second configuration file locally in the vehicle computer, the upgrade file resource corresponding to the upgraded vehicle computer in the first configuration file is determined, and the vehicle computer is updated based on the upgrade file resource corresponding to the upgraded vehicle computer. After the vehicle computer is updated, the vehicle computer system of the vehicle computer is switched from the first vehicle computer system to the second vehicle computer system. That is, the vehicle computer automatically selects the upgrade file resource corresponding to the upgraded vehicle computer, and updates the vehicle computer based on the upgrade file resource corresponding to the upgraded vehicle computer, thereby providing personalized services for users.

[0319] Figure 8 It is a schematic flowchart of an OTA animation upgrade method for a vehicle computer provided in an embodiment of the present application.

[0320] Step 801: Obtain a first configuration file, where the first configuration file includes multiple upgrade options and upgrade file resources corresponding to each upgrade option.

[0321] It can be understood that the specific implementation of obtaining the first configuration file can refer to the related descriptions of the aforementioned step 501, step 601 and step 701, which will not be described in detail here.

[0322] In a possible implementation, it is determined whether there is a first configuration file that has not been completely downloaded.

[0323] In some embodiments, when there is an incompletely downloaded first configuration file, the first configuration file is continuously downloaded based on the download progress of the incompletely downloaded first configuration file to obtain a complete first configuration file.

[0324] It is understandable that, in the case where there is an incompletely downloaded first configuration file, the specific implementation of continuing to download the first configuration file based on the download progress of the incompletely downloaded first configuration file can refer to the related description of the aforementioned step 701, which will not be repeated here.

[0325] Step 802, when the hash value of the first configuration file matches the hash value of the cloud service platform, a step of displaying an animation corresponding to the first configuration file is performed, where the animation includes a plurality of upgrade options.

[0326] The animation is a plurality of image frames displayed on the display screen of the vehicle computer. The animation provides a plurality of upgrade options for the user, and based on the plurality of upgrade options, selects the upgrade file resources corresponding to the respective upgrade options in the first configuration file. For example, a plurality of upgrade options such as "upgrade vehicle computer wallpaper", "upgrade instrument panel color", and "upgrade font color" are displayed on the vehicle computer.

[0327] It should be understood that since the first configuration file carries multiple upgrade options and the upgrade file resources corresponding to each upgrade option, if all the components of the vehicle computer are upgraded based on the first configuration file, it is impossible to provide users with multiple options for upgrading the vehicle computer, that is, it is impossible to provide users with a personalized experience. Therefore, in order to avoid the above problem, the animation corresponding to the first configuration file is displayed on the vehicle computer, so that the user can choose to upgrade the components of the vehicle computer through the animation.

[0328] In a possible implementation, when the hash value of the first configuration file matches the hash value of the cloud service platform, animations of multiple upgrade options corresponding to the first configuration file are displayed on the vehicle computer.

[0329] In some embodiments, based on the multiple upgrade options, an upgrade file resource corresponding to the upgraded vehicle computer is determined.

[0330] It is understandable that the specific implementation of determining whether the hash value of the first configuration file matches the hash value of the cloud service platform can refer to the relevant description of the aforementioned step 702, which will not be repeated here.

[0331] In some embodiments, when the hash value of the first configuration file matches the hash value of the cloud service platform, it is determined that the first configuration file is not damaged.

[0332] In some embodiments, animations of multiple upgrade options in the first configuration file are displayed on the vehicle computer to provide the user with multiple choices.

[0333] For example, multiple upgrade options such as "upgrade car wallpaper", "upgrade dashboard color", and "upgrade font color" are displayed on the car computer.

[0334] In this implementation, when the hash value of the first configuration file matches the hash value of the cloud service platform, an animation of multiple upgrade options corresponding to the first configuration file is displayed on the vehicle computer, and multiple upgrade options are directly and clearly presented to the user, so that the user can determine to upgrade certain components of the vehicle computer based on the upgrade options.

[0335] Optionally, before executing the above step 802, the following steps can also be executed.

[0336] In a possible implementation, it is verified whether the hash value of the first configuration file matches the hash value of the cloud service platform, and the hash value of the cloud service platform is used to verify whether the file resource of the first configuration file is damaged.

[0337] It is understandable that the specific implementation of verifying whether the hash value of the first configuration file matches the hash value of the cloud service platform can be referred to the aforementioned step 702, which will not be described in detail here.

[0338] In a possible implementation, when the hash value of the first configuration file does not match the hash value of the cloud service platform, the first configuration file is re-acquired.

[0339] It is understandable that, when the hash value of the first configuration file does not match the hash value of the cloud service platform, the specific implementation method of re-obtaining the first configuration file can refer to the aforementioned step 702, which will not be described in detail here.

[0340] Step 803: When the version number of the first configuration file is greater than the version number of the second configuration file locally in the vehicle computer, the animation corresponding to the first configuration file is displayed.

[0341] The version number of the first configuration file is a number or a combination of letters and numbers that identifies a specific version of the configuration file. The version number of the first configuration file is used to ensure that the configuration file applied by the vehicle computer is a correct configuration file.

[0342] In a possible implementation, when the version number of the first configuration file is greater than the version number of the second configuration file local to the vehicle computer, the upgrade file resources corresponding to each upgrade option in the first configuration file and the upgrade file resources corresponding to each upgrade option in the second configuration file are compared to display the animation corresponding to the first configuration file.

[0343] The animation corresponding to the first configuration file includes multiple upgrade options, and each of the multiple upgrade options corresponds to an upgrade file resource, so that the upgrade file resource corresponding to the upgraded vehicle computer is obtained based on the animation, and the upgrade file resource corresponding to the upgraded vehicle computer is an upgrade file resource in the first configuration file that is different from the upgrade file resource in the second configuration file.

[0344] Optionally, when the version number of the first configuration file is greater than the version number of the second configuration file local to the vehicle computer, the upgrade file resources corresponding to each upgrade option in the first configuration file and the upgrade file resources corresponding to each upgrade option in the second configuration file are compared to display the animation corresponding to the first configuration file. For the specific implementation method, please refer to the relevant description in the aforementioned step 703, which will not be repeated here.

[0345] Step 804 , in response to a selection operation of at least one target upgrade option among the multiple upgrade options, the vehicle computer is updated based on the upgrade file resources corresponding to the at least one target upgrade option.

[0346] It can be understood that in response to the selection operation of at least one target upgrade option among multiple upgrade options, the specific implementation method of updating the vehicle computer based on the upgrade file resources corresponding to the at least one target upgrade option can be referred to the relevant description of the aforementioned step 503, which will not be repeated here.

[0347] It is understandable that the specific implementation method of updating the vehicle computer based on the upgrade file resources can refer to the relevant description of the aforementioned steps 603 and 703, which will not be repeated here.

[0348] Optionally, before executing the above steps, the following steps can also be executed.

[0349] In a possible implementation, the load of the vehicle computer is determined, and when the load of the vehicle computer is less than or equal to a preset load, an upgrade file resource corresponding to the upgraded vehicle computer is used to replace the corresponding file resource in the vehicle computer to update the vehicle computer.

[0350] It is understandable that the load of the vehicle computer is determined. When the load of the vehicle computer is less than or equal to the preset load, the upgrade file resource corresponding to the upgraded vehicle computer is used to replace the corresponding file resource in the vehicle computer to implement the specific implementation method of updating the vehicle computer. Please refer to the relevant description of the aforementioned step 704, which will not be repeated here.

[0351] In a possible implementation, a preset upgrade time period of the vehicle computer is determined, and the preset upgrade time period is determined based on the operation behavior on the vehicle computer. When the current time belongs to the preset upgrade time period, the upgrade file resources corresponding to the upgraded vehicle computer are used to replace the corresponding file resources in the vehicle computer to update the vehicle computer.

[0352] It can be understood that the preset upgrade time period of the vehicle computer is determined, and the preset upgrade time period is determined based on the operation behavior on the vehicle computer. When the current time belongs to the preset upgrade time period, the upgrade file resources corresponding to the upgraded vehicle computer are used to replace the corresponding file resources in the vehicle computer to realize the specific implementation method of updating the vehicle computer. Please refer to the relevant description of the aforementioned step 704, which will not be repeated here.

[0353] In a possible implementation, the upgrade file resources corresponding to the upgraded vehicle computer are copied to the storage space corresponding to the second vehicle computer system; and the upgrade file resources corresponding to the upgraded vehicle computer are used to update the second vehicle computer system of the vehicle computer.

[0354] It can be understood that the upgrade file resources corresponding to the upgraded vehicle computer are copied to the storage space corresponding to the second vehicle computer system; the specific implementation method of using the upgrade file resources corresponding to the upgraded vehicle computer to update the second vehicle computer system of the vehicle computer can refer to the relevant description of the aforementioned step 704, which will not be repeated here.

[0355] Step 805: After the vehicle computer is updated, the vehicle computer system of the vehicle computer is switched from the first vehicle computer system to the second vehicle computer system.

[0356] In a possible implementation manner, when the second vehicle computer system has completed updating, the vehicle computer is restarted to switch the vehicle computer to the second vehicle computer system.

[0357] It is understandable that when the second vehicle computer system completes the update, the vehicle computer is restarted to switch the vehicle computer to the second vehicle computer system.

[0358] In an embodiment of the present application, an OTA animation upgrade method for a vehicle computer is provided, wherein a first configuration file is obtained, the first configuration file includes multiple upgrade options and upgrade file resources corresponding to each upgrade option, and when the hash value of the first configuration file matches the hash value of the cloud service platform, a step of displaying an animation corresponding to the first configuration file is performed, the animation includes multiple upgrade options, that is, multiple upgrade options are provided to the user based on the animation. When the version number of the first configuration file is greater than the version number of the second configuration file local to the vehicle computer, the animation corresponding to the first configuration file is displayed, and in response to the selection operation of at least one target upgrade option among the multiple upgrade options, the vehicle computer is updated based on the upgrade file resources corresponding to the at least one target upgrade option, and after the vehicle computer is updated, the vehicle computer system of the vehicle computer is switched from the first vehicle computer system to the second vehicle computer system. That is, based on the animation, multiple options for upgrading the vehicle computer are provided to the user, and the user independently chooses to update the vehicle computer based on the animation, thereby bringing a personalized experience to the user.

[0359] Fig. 9 It is a schematic flowchart of another OTA upgrade method for a vehicle computer provided in an embodiment of the present application.

[0360] It should be noted that the above steps 601-603 are a simple description of an OTA upgrade method for a vehicle computer provided in an embodiment of the present application. The OTA upgrade method for a vehicle computer provided in an embodiment of the present application will be described in more detail below with reference to some examples. Fig. 9 Taking the execution subject as a vehicle computer as an example, the method includes the following steps.

[0361] Step 901: Obtain a first configuration file, where the first configuration file includes multiple upgrade options and upgrade file resources corresponding to each upgrade option.

[0362] It is understandable that the specific implementation of obtaining the first configuration file, which includes multiple upgrade options and upgrade file resources corresponding to each upgrade option, can refer to the relevant descriptions of the aforementioned steps 501, 601, 701 and 801, which will not be repeated here.

[0363] Step 902: Check whether the first configuration file is damaged.

[0364] It is understandable that the specific implementation of checking whether the first configuration file is damaged can refer to the related descriptions of the aforementioned step 702 and step 802, which will not be described in detail here.

[0365] Optionally, after executing the above step 902, execute the following step 903 or execute the following steps 904-905 according to actual conditions.

[0366] Step 903: If the first configuration file is damaged, delete the first configuration file downloaded this time.

[0367] It is understandable that, in the case where the first configuration file is damaged, the specific implementation of deleting the first configuration file downloaded this time can refer to the related descriptions of the aforementioned steps 702 and 802, which will not be repeated here.

[0368] Step 904 : When the first configuration file is not damaged, determine whether a preset condition for updating the vehicle computer is met.

[0369] It is understandable that, in the case where the first configuration file is damaged, the specific implementation of deleting the first configuration file downloaded this time can refer to the related descriptions of the aforementioned steps 704 and 804, which will not be repeated here.

[0370] Step 905: When the vehicle computer meets the preset conditions, the vehicle computer is updated and the first configuration file downloaded this time is deleted.

[0371] It is understandable that, in the case where the first configuration file is damaged, the specific implementation of deleting the first configuration file downloaded this time can refer to the related descriptions of the aforementioned steps 704 and 804, which will not be repeated here.

[0372] Fig.10 It is a schematic flowchart of another OTA upgrade method for a vehicle computer provided in an embodiment of the present application.

[0373] It should be noted that the above steps 601-603 are a simple description of an OTA upgrade method for a vehicle computer provided in an embodiment of the present application. The OTA upgrade method for a vehicle computer provided in an embodiment of the present application will be described in more detail below with reference to some examples. Fig.10 Taking the execution subject as a vehicle computer as an example, the method includes the following steps.

[0374] Step 1001: Obtain the version number of the first configuration file and the version number of the second configuration file.

[0375] It is understandable that the specific implementation of obtaining the version number of the first configuration file and the version number of the second configuration file can refer to the related descriptions of the aforementioned step 702 and step 802, which will not be repeated here.

[0376] Step 1002: Determine whether the version number of the first configuration file is greater than the version number of the second configuration file.

[0377] It is understandable that the specific implementation of determining whether the version number of the first configuration file is greater than the version number of the second configuration file can refer to the related descriptions of the aforementioned steps 703 and 803, which will not be repeated here.

[0378] Step 1003, determine whether to download the first configuration file.

[0379] It is understandable that the specific implementation of determining whether to download the first configuration file can refer to the related descriptions of the aforementioned step 701 and step 801, which will not be described in detail here.

[0380] Step 1004 , determining whether the version number of the first configuration file is the same as the version number of the upgraded vehicle computer.

[0381] It is understandable that the specific implementation of determining whether the version number of the first configuration file is the same as the version number of the upgraded vehicle computer can refer to the relevant description of the aforementioned step 703 and step 803, which will not be repeated here.

[0382] Step 1005: re-download the first configuration file.

[0383] It is understandable that the specific implementation of re-downloading the first configuration file can refer to the related descriptions of the aforementioned step 703 and step 803, which will not be described in detail here.

[0384] Step 1006, resume the transfer.

[0385] The breakpoint resume is used to resume the acquisition of the first configuration file from the point where the transmission was interrupted when an interruption occurs during the acquisition of the first configuration file.

[0386] In some embodiments, it is determined whether there is an incompletely downloaded first configuration file, and if the incompletely downloaded first configuration file is stored, the first configuration file is continued to be downloaded based on the download progress of the incompletely downloaded first configuration file.

[0387] It can be understood that, the specific implementation method of determining whether there is an incompletely downloaded first configuration file and, in the case of storing the incompletely downloaded first configuration file, continuing to download the first configuration file based on the download progress of the incompletely downloaded first configuration file can be referred to the relevant description of the aforementioned steps 701 and 801, which will not be repeated here.

[0388] Step 1007, verify whether the hash value of the first configuration file matches the hash value of the cloud service platform.

[0389] It is understandable that the specific implementation of verifying whether the hash value of the first configuration file matches the hash value of the cloud service platform can refer to the relevant description of the aforementioned steps 702 and 802, which will not be repeated here.

[0390] Step 1008, determining whether the preset conditions for updating the vehicle computer are met.

[0391] It is understandable that the specific implementation of determining whether the preset conditions for updating the vehicle computer are met can be found in the relevant descriptions of the aforementioned steps 704 and 804, which will not be repeated here.

[0392] Step 1009, determining whether the vehicle computer is updated successfully.

[0393] It is understandable that the specific implementation method for determining whether the vehicle computer is updated successfully can refer to the relevant description of the aforementioned steps 704 and 804, which will not be repeated here.

[0394] Step 1010: Delete the first configuration file.

[0395] It can be understood that the specific implementation of deleting the first configuration file can refer to the related descriptions of the aforementioned step 704 and step 804, which will not be described in detail here.

[0396] Step 1011, delete the old version of the file resource in the first configuration file.

[0397] It is understandable that the specific implementation of deleting the old version of the file resource in the first configuration file can refer to the relevant description of the aforementioned step 704 and step 804, which will not be repeated here.

[0398] Fig.11 A schematic flowchart of another OTA upgrade method for a vehicle computer provided in an embodiment of the present application.

[0399] It should be noted that the above steps 601-603 are a simple description of an OTA upgrade method for a vehicle computer provided in an embodiment of the present application. The OTA upgrade method for a vehicle computer provided in an embodiment of the present application will be described in more detail below with reference to some examples. Fig.11 Taking the execution subject as a vehicle computer as an example, the method includes the following steps.

[0400] Step 1101, when the hash value of the first configuration file matches the hash value of the cloud, determine whether to upgrade based on the conflict mechanism.

[0401] It is understandable that when the hash value of the first configuration file matches the hash value of the cloud, the specific implementation method of determining whether to upgrade based on the conflict mechanism can refer to the relevant description of the aforementioned steps 704 and 804, which will not be repeated here.

[0402] Step 1102, determine whether the vehicle computer is upgraded successfully.

[0403] It is understandable that the specific implementation method of determining whether the vehicle computer is successfully upgraded can refer to the relevant description of the aforementioned steps 704 and 804, which will not be repeated here.

[0404] Step 1103: Delete the first configuration file.

[0405] It can be understood that the specific implementation of deleting the first configuration file can refer to the related descriptions of the aforementioned step 704 and step 804, which will not be described in detail here.

[0406] Step 1104, execute the bottom-line strategy.

[0407] It is understandable that the specific implementation method of executing the bottom-line strategy can be found in the relevant descriptions of the aforementioned steps 704 and 804, and will not be repeated here.

[0408] Fig.12 It is a schematic flowchart of another OTA upgrade method for a vehicle computer provided in an embodiment of the present application.

[0409] It should be noted that the above steps 601-603 are a simple description of an OTA upgrade method for a vehicle computer provided in an embodiment of the present application. The OTA upgrade method for a vehicle computer provided in an embodiment of the present application will be described in more detail below with reference to some examples. Fig.12 Taking the execution subject as a vehicle computer as an example, the method includes the following steps.

[0410] Step 1201, determining whether there is a first configuration file that needs to be newly downloaded.

[0411] It is understandable that the specific implementation of determining whether there is a first configuration file that needs to be newly downloaded can refer to the related descriptions of the aforementioned steps 701 and 801, which will not be described in detail here.

[0412] Step 1202: Is there a first configuration file that needs to be updated?

[0413] It is understandable that the specific implementation of whether there is a first configuration file that needs to be updated can refer to the related descriptions of the aforementioned step 701 and step 801, which will not be repeated here.

[0414] Step 1203: determine the file resource in the first configuration file as an expired file resource.

[0415] It is understandable that the specific implementation of determining the file resource in the first configuration file as an invalid file resource can refer to the relevant descriptions of the aforementioned steps 701, 703, 801 and 803, which will not be repeated here.

[0416] Step 1204, determining whether there is any first configuration file that has not been downloaded completely.

[0417] It is understandable that the specific implementation of determining whether there is a first configuration file that has not been downloaded can refer to the related descriptions of the aforementioned steps 701 and 801, which will not be described in detail here.

[0418] Step 1205: Continue downloading the first configuration file based on the download progress of the first configuration file that has not been downloaded yet.

[0419] It is understandable that the specific implementation of continuing to download the first configuration file based on the download progress of the incompletely downloaded first configuration file can refer to the related descriptions of the aforementioned steps 701 and 801, which will not be described in detail here.

[0420] Step 1206, successfully downloading the first configuration file.

[0421] It is understandable that the specific implementation method of successfully downloading the first configuration file can refer to the related descriptions of the aforementioned step 701 and step 801, which will not be repeated here.

[0422] Step 1207: parsing the first configuration file that has been downloaded.

[0423] It is understandable that the specific implementation method of successfully downloading the first configuration file can refer to the related descriptions of the aforementioned step 704 and step 804, which will not be repeated here.

[0424] Step 1208 , determining whether there is a configuration file currently used by the vehicle computer in the first configuration file.

[0425] It is understandable that the specific implementation method of successfully downloading the first configuration file can refer to the related descriptions of the aforementioned step 702 and step 802, which will not be repeated here.

[0426] Step 1209, deleting the configuration file currently used by the vehicle computer in the first configuration file.

[0427] It is understandable that the configuration file currently used by the vehicle computer in the first configuration file is deleted. The specific implementation method can refer to the related description of the above-mentioned step 704 and step 804, which will not be repeated here.

[0428] Step 1210: Update the vehicle computer based on the upgrade resource file in the first configuration file.

[0429] It is understandable that the specific implementation of updating the vehicle computer based on the upgrade resource file in the first configuration file can refer to the relevant description of the aforementioned step 704 and step 804, which will not be repeated here.

[0430] Fig.13is a result schematic diagram of a configuration file generating device for a vehicle computer provided in an embodiment of the present application. For example, Fig.13 As shown, the device 1300 includes:

[0431] An acquisition module 1301 is used to acquire multiple upgrade options and upgrade file resources corresponding to each upgrade option;

[0432] A compiling module 1302 is used to compile multiple upgrade options and upgrade file resources corresponding to each upgrade option into a first configuration file based on a compilation rule corresponding to the upgraded vehicle computer, where the first configuration file is a configuration file of the vehicle computer application;

[0433] The sending module 1303 is used to send the first configuration file to the vehicle computer, so that the vehicle computer is updated based on the first configuration file.

[0434] In a possible implementation, the device further includes:

[0435] A parsing module, used to parse multiple upgrade options and upgrade file resources corresponding to each upgrade option, and obtain source code corresponding to each upgrade file resource;

[0436] The compiling module 1302 is used to compile multiple upgrade options and source codes of upgrade file resources corresponding to each upgrade option into a first configuration file according to a target format, where the target format is a format supported by the vehicle computer.

[0437] In a possible implementation, the device further includes:

[0438] A compiling module 1302 is used to compile source codes corresponding to the upgrade file resources to obtain object files corresponding to the source codes;

[0439] The link module is used to link each object file corresponding to the source code to obtain a first configuration file.

[0440] Fig.14 It is a structural schematic diagram of an OTA animation upgrade device for a vehicle computer provided in an embodiment of the present application.

[0441] For example, Fig.14 As shown, the device 1400 includes:

[0442] The acquisition module 1401 is used to acquire a first configuration file, where the first configuration file includes multiple upgrade options and upgrade file resources corresponding to each upgrade option;

[0443] A display module 1402, configured to display an animation corresponding to the first configuration file, where the animation includes multiple upgrade options;

[0444] The updating module 1403 is used to update the vehicle computer based on the upgrade file resources corresponding to the at least one target upgrade option in response to the selection operation of at least one target upgrade option among the multiple upgrade options.

[0445] In a possible implementation, the device further includes:

[0446] A verification module, used to verify whether the hash value of the first configuration file matches the hash value in the cloud, and the hash value in the cloud is used to verify whether the file resource of the first configuration file is damaged;

[0447] The display module 1402 is used to execute the step of displaying an animation corresponding to the first configuration file when the hash value of the first configuration file matches the hash value in the cloud, where the animation includes multiple upgrade options.

[0448] In a possible implementation, the device further includes:

[0449] A first determination module, configured to determine the file resource of the first configuration file as an invalid file resource when the hash value of the first configuration file does not match the hash value of the cloud;

[0450] The acquisition module 1401 is used to reacquire the first configuration file.

[0451] In a possible implementation, the device further includes:

[0452] A second determination module is used to determine whether the version number of the first configuration file is greater than the version number of the second configuration file of the vehicle computer, the second configuration file is used to provide parameters and program settings for the operation of the vehicle computer;

[0453] The comparison module is used to compare the upgrade file resources corresponding to each upgrade option in the first configuration file and the upgrade file resources corresponding to each upgrade option in the second configuration file when the version number of the first configuration file is greater than the version number of the second configuration file locally in the vehicle computer, so as to display the animation corresponding to the first configuration file.

[0454] In a possible implementation, the device further includes:

[0455] A third determination module is used to determine the load of the vehicle computer;

[0456] A third determination module is used to determine a preset upgrade time period of the vehicle computer, where the preset upgrade time period is determined based on an operation behavior on the vehicle computer;

[0457] The updating module 1403 is used to replace the corresponding file resources in the vehicle computer with the upgrade file resources corresponding to at least one target upgrade option to update the vehicle computer when the load of the vehicle computer is less than or equal to the preset load;

[0458] The updating module 1403 is used to replace the corresponding file resources in the vehicle computer with the upgrading file resources corresponding to at least one target upgrading option to update the vehicle computer when the current time belongs to the preset upgrading time period.

[0459] In a possible implementation, the device further includes:

[0460] A copy module, used to copy the upgrade file resource corresponding to at least one target upgrade option to the storage space corresponding to the second vehicle system;

[0461] The updating module 1403 is used to update the second vehicle computer system of the vehicle computer by using the upgrading file resource corresponding to at least one target upgrading option.

[0462] In a possible implementation, the device further includes:

[0463] The switching module is used to restart the vehicle computer when the second vehicle computer system has completed updating, so as to switch the vehicle computer to the second vehicle computer system.

[0464] In a possible implementation, the device further includes:

[0465] A fourth determination module is used to determine whether there is a first configuration file that has not been downloaded completely;

[0466] The download module is used to, if there is an incompletely downloaded first configuration file, continue downloading the first configuration file based on the download progress of the incompletely downloaded first configuration file to obtain a complete first configuration file.

[0467] Fig.15 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application.

[0468] For example, Fig.15 As shown, the vehicle 1500 includes: a memory 1501 and a processor 1502, wherein the memory 1501 stores an executable program code 1503, and the processor 1502 is used to call and execute the executable program code 1503 to perform an OTA animation upgrade method for a vehicle computer.

[0469] In addition, an embodiment of the present application also protects a device, which may include a memory and a processor, wherein the memory stores executable program code, and the processor is used to call and execute the executable program code to execute an OTA animation upgrade method for a vehicle computer provided in an embodiment of the present application.

[0470] In this embodiment, the functional modules of the device can be divided according to the above method example. For example, each functional module can be corresponded, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0471] In the case of dividing each functional module according to each function, the device may also include a comparison module, a determination module, a download module, etc. It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here.

[0472] It should be understood that the device provided in this embodiment is used to execute the above-mentioned OTA animation upgrade method of a vehicle computer, and thus can achieve the same effect as the above-mentioned implementation method.

[0473] In the case of an integrated unit, the device may include a processing module and a storage module. When the device is applied to a vehicle, the processing module may be used to control and manage the actions of the vehicle. The storage module may be used to support the vehicle in executing related program codes, etc.

[0474] The processing module may be a processor or a controller, which may implement or execute various exemplary logic blocks, modules and circuits shown in conjunction with the disclosure of the present application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module may be a memory.

[0475] In addition, the device provided in the embodiments of the present application may specifically be a chip, component or module, and the chip may include a connected processor and memory; wherein the memory is used to store instructions, and when the processor calls and executes the instructions, the chip can execute an OTA animation upgrade method for a vehicle computer provided in the above embodiment.

[0476] This embodiment also provides a computer-readable storage medium, in which a computer program code is stored. When the computer program code is executed on a computer, the computer executes the above-mentioned related method steps to implement an OTA animation upgrade method for a vehicle computer provided in the above embodiment.

[0477] This embodiment also provides a computer program product. When the computer program product runs on a computer, the computer executes the above-mentioned related steps to implement an OTA animation upgrade of a vehicle computer provided in the above embodiment.

[0478] Among them, the device, computer-readable storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.

[0479] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0480] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0481] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for generating a configuration file of a vehicle computer, characterized in that: The method is applied to a cloud service platform, and the method comprises: Obtain multiple upgrade options and upgrade file resources corresponding to each of the upgrade options; Based on a compilation rule corresponding to the upgraded vehicle computer, compile the multiple upgrade options and the upgrade file resources corresponding to each of the upgrade options into a first configuration file, where the first configuration file is a configuration file of the vehicle computer application; The first configuration file is sent to the vehicle computer, so that the vehicle computer is updated based on the first configuration file.

2. The method according to claim 1, characterized in that The step of compiling the multiple upgrade options and the upgrade file resources corresponding to each of the upgrade options into a first configuration file based on the compilation rule corresponding to the upgraded vehicle computer includes: Parsing the multiple upgrade options and the upgrade file resources corresponding to each of the upgrade options to obtain source codes corresponding to each of the upgrade file resources; The multiple upgrade options and source codes of the upgrade file resources corresponding to each of the upgrade options are compiled into a first configuration file according to a target format, where the target format is a format supported by the vehicle computer.

3. The method according to claim 2, characterized in that The step of compiling the plurality of upgrade options and source codes of upgrade file resources corresponding to each of the upgrade options into a first configuration file according to a target format includes: Compile each source code corresponding to the upgrade file resource to obtain each object file corresponding to the source code; The object files corresponding to the source code are linked to obtain a first configuration file.

4. A method for OTA animation upgrade of a vehicle computer, characterized in that: The method comprises: Obtaining a first configuration file, where the first configuration file includes multiple upgrade options and upgrade file resources corresponding to each of the upgrade options; displaying an animation corresponding to the first configuration file, wherein the animation includes the multiple upgrade options; In response to a selection operation of at least one target upgrade option among the multiple upgrade options, the vehicle computer is updated based on an upgrade file resource corresponding to the at least one target upgrade option.

5. The method according to claim 4, characterized in that After obtaining the first configuration file, the method further includes: Verifying whether the hash value of the first configuration file matches the hash value in the cloud, wherein the hash value in the cloud is used to verify whether the file resource of the first configuration file is damaged; In a case where the hash value of the first configuration file matches the hash value of the cloud, a step of displaying an animation corresponding to the first configuration file is performed, where the animation includes the multiple upgrade options.

6. The method according to claim 5, characterized in that The method further comprises: In a case where the hash value of the first configuration file does not match the hash value of the cloud, determining the file resource of the first configuration file as an invalid file resource; Re-obtain the first configuration file.

7. The method according to claim 4, characterized in that The displaying the animation corresponding to the first configuration file includes: Determining whether the version number of the first configuration file is greater than the version number of a second configuration file of the vehicle computer, the second configuration file being used to provide parameters and program settings for the operation of the vehicle computer; When the version number of the first configuration file is greater than the version number of the second configuration file local to the vehicle computer, the upgrade file resources corresponding to each of the upgrade options in the first configuration file and the upgrade file resources corresponding to each of the upgrade options in the second configuration file are compared to display the animation corresponding to the first configuration file.

8. The method according to claim 4, characterized in that In response to the selection operation of at least one target upgrade option among the multiple upgrade options, before updating the vehicle computer based on the upgrade file resource corresponding to the at least one target upgrade option, the method includes: Determining the load of the vehicle computer; Alternatively, determining a preset upgrade time period of the vehicle computer, wherein the preset upgrade time period is determined based on an operation behavior on the vehicle computer; The upgrade file resource corresponding to the at least one target upgrade option includes: When the load of the vehicle computer is less than or equal to the preset load, the upgrade file resource corresponding to the at least one target upgrade option is used to replace the corresponding file resource in the vehicle computer, so as to update the vehicle computer; Alternatively, when the current time belongs to the preset upgrade time period, the upgrade file resource corresponding to the at least one target upgrade option is used to replace the corresponding file resource in the vehicle computer, so as to update the vehicle computer.

9. The method according to claim 4, characterized in that The vehicle computer includes a first vehicle computer system and a second vehicle computer system, the first vehicle computer system is a currently running vehicle computer system, and the second vehicle computer system is a non-running vehicle computer system, and in response to a selection operation of at least one target upgrade option among the multiple upgrade options, updating the vehicle computer based on an upgrade file resource corresponding to the at least one target upgrade option includes: Copying the upgrade file resource corresponding to the at least one target upgrade option to the storage space corresponding to the second vehicle system; The second vehicle computer system of the vehicle computer is updated by using the upgrade file resource corresponding to the at least one target upgrade option.

10. The method according to claim 9, characterized in that In response to the selection operation of at least one target upgrade option among the multiple upgrade options, updating the vehicle computer based on the upgrade file resource corresponding to the at least one target upgrade option includes: When the second vehicle computer system has completed the update, the vehicle computer is restarted to switch the vehicle computer to the second vehicle computer system.

11. The method according to claim 4, characterized in that The obtaining of the first configuration file includes: Determining whether there is any first configuration file that has not been downloaded completely; In the case that there is an incompletely downloaded first configuration file, the first configuration file continues to be downloaded based on the download progress of the incompletely downloaded first configuration file to obtain a complete first configuration file.

12. An OTA animation upgrade device for a vehicle computer, characterized in that: The device comprises: An acquisition module, configured to acquire a first configuration file, wherein the first configuration file includes a plurality of upgrade options and upgrade file resources corresponding to each of the upgrade options; A display module, configured to display an animation corresponding to the first configuration file, wherein the animation includes the multiple upgrade options; An updating module is used to update the vehicle computer in response to a selection operation of at least one target upgrading option among the multiple upgrading options based on an upgrading file resource corresponding to the at least one target upgrading option.

13. A vehicle, characterized in that: The vehicle comprises: A memory for storing executable program codes; A processor, configured to call and run the executable program code from the memory so that the vehicle executes the method according to any one of claims 4 to 11.

14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed, the method according to any one of claims 4 to 11 is implemented.