OTA upgrading method and system, vehicle end equipment, vehicle and computer equipment

By subscribing to cloud upgrade tasks and obtaining download strategies when the vehicle is powered on, the real-time deployment of OTA upgrades is achieved, and the poor real-time performance caused by rotation training methods in the existing technology is solved, and the upgrade success rate and efficiency are improved.

CN119011568APending Publication Date: 2024-11-22FAW JIEFANG AUTOMOTIVE CO
View PDF 0 Cites 4 Cited by

Patent Information

Application Number
CN202411070785.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-06
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

The existing OTA upgrade technology adopts rotation training, resulting in poor real-time performance, inability to achieve real-time deployment, and unable to meet the real-time requirements of vehicle upgrades.

Method used

When the vehicle is powered on, subscribe to the upgrade task distribution service to the cloud device, obtain the upgrade package download strategy, determine whether the vehicle meets the upgrade conditions, and download and decrypt the upgrade package when the conditions are met, and upgrade control is carried out according to user instructions to achieve the upgrade task Real-time deployment.

Benefits of technology

By deploying upgrade tasks in real time, the upgrade package download and upgrade success rate is improved, the vehicle's real-time upgrade needs are met, and the efficiency and reliability of OTA upgrades are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119011568A_ABST
    Figure CN119011568A_ABST
Patent Text Reader

Abstract

The invention relates to an OTA upgrading method and system, vehicle end equipment, a vehicle, computer equipment, a computer readable storage medium and a computer program product. The method comprises the steps of subscribing to an upgrading task distribution service from cloud equipment in a vehicle power-on process, so that the cloud equipment creates an upgrading task; obtaining an upgrade package downloading strategy according to upgrade task information sent by the cloud equipment; the upgrade package downloading strategy comprises at least one of a vehicle speed limiting strategy, a rotating speed limiting strategy or a parking signal limiting strategy; judging whether the vehicle meets an upgrading condition or not according to the upgrading package downloading strategy; under the condition that the vehicle meets the upgrading condition, an upgrading package is downloaded according to the upgrading task information, and the upgrading package is decrypted and verified; acquiring a first user instruction; and performing upgrade control according to the first user instruction and the upgrade package. By adopting the method, the real-time deployment of the upgrade task can be realized, and the success rate of OTA upgrade can also be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle networking technology, and in particular to an OTA upgrade method and system, vehicle-side equipment, vehicles, computer equipment, computer-readable storage media, and computer program products. Background Art

[0002] With the popularization of Internet of Vehicles technology, OTA upgrade technology (Over-The-Air) has been widely used in the automotive industry.

[0003] The current mainstream OTA upgrade technology uses a rotation training method to deploy upgrade tasks, that is, the vehicle-side device (mostly the vehicle-mounted TBox) regularly sends task query requests to the cloud server, and when the vehicle upgrade task exists in the cloud, the deployment is started. However, this method has a long rotation training cycle, which is usually a day or week cycle, resulting in poor real-time performance and cannot achieve real-time deployment. Summary of the invention

[0004] Based on this, it is necessary to provide an OTA upgrade method and system, vehicle-side equipment, vehicle, computer equipment, computer-readable storage medium and computer program product that can be implemented and deployed to address the above-mentioned technical problems.

[0005] In a first aspect, the present application provides an OTA upgrade method, which is applied to a vehicle-side device, and the method includes:

[0006] During the vehicle power-on process, subscribing to the upgrade task distribution service from the cloud device so that the cloud device creates the upgrade task;

[0007] According to the upgrade task information sent by the cloud device, an upgrade package download strategy is obtained; the upgrade package download strategy includes at least one of a vehicle speed limit strategy, a rotation speed limit strategy or a parking signal limit strategy;

[0008] According to the upgrade package download strategy, determining whether the vehicle meets the upgrade conditions;

[0009] When the vehicle meets the upgrade condition, downloading the upgrade package according to the upgrade task information, and decrypting and verifying the upgrade package;

[0010] Obtaining a first user instruction;

[0011] The upgrade control is performed according to the first user instruction and the upgrade package.

[0012] In one embodiment, the first user instruction includes one of an immediate upgrade instruction, a cancel upgrade instruction, or a response timeout instruction;

[0013] The performing upgrade control according to the first user instruction and the upgrade package includes:

[0014] In the case where the first user instruction includes the immediate upgrade instruction, controlling the upgrade of the corresponding controller in the vehicle according to the immediate upgrade instruction and the upgrade package;

[0015] In the case where the first user instruction includes the upgrade cancellation instruction, sending upgrade cancellation information to the cloud device according to the upgrade cancellation instruction, so that the cloud device cancels the upgrade task;

[0016] In the case where the first user instruction includes the response timeout instruction, a user no operation message is sent to the cloud device according to the response timeout instruction, so that the cloud device suspends the current upgrade task.

[0017] In one embodiment, controlling the upgrade of the corresponding controller in the vehicle according to the immediate upgrade instruction and the upgrade package includes:

[0018] Acquire the type of the controller according to the upgrade package;

[0019] In the case where the type of the controller is an intelligent controller, outputting a first control instruction to the intelligent controller according to the immediate upgrade instruction to control the upgrade of the intelligent controller; the first control instruction includes an upgrade message sent using an Ethernet-based communication protocol;

[0020] In the case where the type of the controller is a non-intelligent controller, a second control instruction is output to the non-intelligent controller according to the immediate upgrade instruction to control the upgrade of the non-intelligent controller; the second upgrade instruction includes an upgrade message sent using a unified diagnostic service protocol.

[0021] In one embodiment, the method further comprises:

[0022] Obtaining an upgrade result of the controller; the upgrade result includes upgrade success or failure;

[0023] The upgrade result is sent to the cloud device, so that the cloud device updates the vehicle data according to the upgrade result.

[0024] In one embodiment, the method further comprises:

[0025] When the vehicle does not meet the upgrade conditions, an upgrade strategy non-satisfaction message is sent to the cloud device, and the steps of obtaining the upgrade package download strategy according to the upgrade task information sent by the cloud device and determining whether the vehicle meets the upgrade conditions according to the upgrade package download strategy are repeated.

[0026] In a second aspect, the present application further provides a vehicle-side device, including:

[0027] The main controller is connected to the cloud device for communication, and the main controller includes an upgrade management module, an upgrade strategy management module and a human-computer interaction module; wherein,

[0028] The upgrade management module is used to subscribe to the upgrade task distribution service from the cloud device during the vehicle power-on process, so that the cloud device creates an upgrade task;

[0029] The upgrade strategy management module is used to obtain an upgrade package download strategy according to the upgrade task information sent by the cloud device, determine whether the vehicle meets the upgrade conditions according to the upgrade package download strategy, and, if the vehicle meets the upgrade conditions, download the upgrade package according to the upgrade task information, and decrypt and verify the upgrade package; the upgrade package download strategy includes at least one of a vehicle speed limit strategy, a rotation speed limit strategy, or a parking signal limit strategy;

[0030] The human-computer interaction module is used to obtain a first user instruction;

[0031] The upgrade management module is further used to perform upgrade control according to the first user instruction and the upgrade package.

[0032] In one embodiment, the first user instruction includes one of an immediate upgrade instruction, a cancel upgrade instruction, or a response timeout instruction;

[0033] The upgrade management module is further used for:

[0034] In the case where the first user instruction includes the immediate upgrade instruction, controlling the upgrade of the corresponding controller in the vehicle according to the immediate upgrade instruction and the upgrade package;

[0035] In the case where the first user instruction includes the upgrade cancellation instruction, sending upgrade cancellation information to the cloud device according to the upgrade cancellation instruction, so that the cloud device cancels the upgrade task;

[0036] In the case where the first user instruction includes the response timeout instruction, a user no operation message is sent to the cloud device according to the response timeout instruction, so that the cloud device suspends the current upgrade task.

[0037] In one embodiment, the vehicle-side device further includes:

[0038] A domain controller connected to the main controller, used to determine the type of the controller according to the upgrade package issued by the upgrade management module, and, when the type of the controller is an intelligent controller, output a first control instruction to the intelligent controller according to the immediate upgrade instruction sent by the upgrade management module to control the upgrade of the intelligent controller; when the type of the controller is a non-intelligent controller, output a second control instruction to the non-intelligent controller according to the immediate upgrade instruction to control the upgrade of the non-intelligent controller; wherein the first control instruction includes an upgrade message sent using an Ethernet-based communication protocol, and the second upgrade instruction includes an upgrade message sent using a unified diagnostic service protocol;

[0039] The vehicle system is connected to the main controller and is used to obtain the first user instruction and send the first user instruction to the human-computer interaction module.

[0040] In one of the embodiments, the main controller further includes a vehicle-side log management module and a controller version management module;

[0041] The vehicle-side log management module is used to obtain log information during the controller upgrade process and send the log information to the cloud device; the log information includes at least one of download information, decompression information, verification information or flashing progress information;

[0042] The controller version management module is used to obtain the current version information and upgraded version information of the controller.

[0043] In the third aspect, the present application also provides an OTA upgrade system, including a cloud device and a vehicle-side device provided by any of the above-mentioned embodiments, wherein the cloud device and the vehicle-side device are communicatively connected, and the cloud device is used to create an upgrade task, determine an upgrade package download strategy, and send upgrade task information to the vehicle-side device, and the upgrade task information includes an upgrade package download strategy and an upgrade package.

[0044] In one embodiment, the cloud device includes:

[0045] A distribution interaction module, used to determine the upgrade package download strategy according to the second user instruction and create an upgrade task;

[0046] A vehicle data management module, used to manage and store vehicle data; the vehicle data includes at least one of the vehicle model, each component model or the current version of the controller;

[0047] Upgrade package management module, used to make upgrade packages;

[0048] An upgrade task issuing module, used to determine a target vehicle to be upgraded according to the vehicle data, and send the upgrade task information to a vehicle-side device of the target vehicle;

[0049] A public key infrastructure management module, used to provide encryption services for the communication between the vehicle-side device and the cloud device;

[0050] The cloud log management module is used to obtain the log information generated by the vehicle-side device during the controller upgrade process.

[0051] In a fourth aspect, the present application also provides a vehicle, comprising the vehicle-side device provided by any of the above-mentioned embodiments.

[0052] In a fifth aspect, the present application provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method provided in any of the above embodiments when executing the computer program.

[0053] In a sixth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the method provided in any of the above embodiments are implemented.

[0054] In a seventh aspect, the present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the method provided in any of the above embodiments.

[0055] In the above-mentioned OTA upgrade method and system, vehicle-side device, vehicle, computer device, computer-readable storage medium and computer program product, by subscribing to the upgrade task distribution service to the cloud device during the vehicle power-on process, so that the cloud device creates the upgrade task. It can be understood that each time the vehicle is powered on, the vehicle-side device actively subscribes to the upgrade task distribution service to the cloud device, so that the cloud device establishes the upgrade task, thereby realizing the real-time deployment of the upgrade task; further, according to the upgrade task information sent by the cloud device, the upgrade package download strategy is obtained, and according to the upgrade package download strategy, it is determined whether the vehicle meets the upgrade conditions. When the vehicle meets the upgrade conditions, the upgrade package is downloaded according to the upgrade task information, and the upgrade package is decrypted and verified. It can be understood that by setting the upgrade package download strategy, the vehicle can download the upgrade package when the upgrade conditions are met, thereby improving the success rate of the upgrade package download and the success rate of subsequent upgrades based on the upgrade package; finally, the first user instruction is obtained, and the upgrade control is performed according to the first user instruction and the upgrade package, thereby completing the OTA upgrade of the vehicle controller. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0057] Figure 1 An application environment diagram of an OTA upgrade method in an embodiment;

[0058] Figure 2 A schematic diagram of a flow chart of an OTA upgrade method in an embodiment;

[0059] Figure 3 A schematic diagram of a flow chart of controlling the upgrade of a corresponding controller in a vehicle according to an immediate upgrade instruction and an upgrade package in an embodiment;

[0060] Figure 4 It is a flowchart of an OTA upgrade method in another embodiment;

[0061] Figure 5 is a structural block diagram of a vehicle-side device in an embodiment;

[0062] Figure 6 It is a structural block diagram of an OTA upgrade system in one embodiment;

[0063] Figure 7 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0064] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0065] The OTA upgrade method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown, the vehicle-side device 110 communicates with the cloud device 120 through the network. The vehicle-side device 110 can be a physical server or an intelligent vehicle-mounted device, etc. The cloud device 120 can be a physical server, a cloud server, a personal computer or a laptop, etc.

[0066] In one embodiment, the OTA upgrade method can be applied to Figure 1 In the vehicle-side equipment. Figure 2 As shown, the OTA upgrade method includes steps S210-S260.

[0067] S210, during the process of powering on the vehicle, subscribing to an upgrade task distribution service from a cloud device so that the cloud device creates an upgrade task.

[0068] The upgrade task information includes the upgrade package and the corresponding upgrade package download strategy. When the car key is in the "ACC" position, it can be considered that the vehicle is already powered on. At this time, the vehicle-side device can subscribe to the upgrade task distribution service from the cloud device. After receiving the subscription request sent by the vehicle-side device, the cloud device establishes the upgrade task for the vehicle and sends the relevant upgrade task information to the vehicle-side device.

[0069] S220: Obtain an upgrade package download strategy according to the upgrade task information sent by the cloud device.

[0070] Among them, the upgrade package download strategy includes at least one of a speed limit strategy, a rotation speed limit strategy or a parking signal limit strategy. It can be understood that the upgrade package download strategy can include only a speed limit strategy, or only a rotation speed limit strategy, or only a parking signal limit strategy, and can include a speed limit strategy and a rotation speed limit strategy, etc. The speed limit strategy is to make the vehicle meet the upgrade conditions by limiting the vehicle speed. The rotation speed limit strategy is to make the vehicle meet the upgrade conditions by limiting the vehicle engine speed. The parking signal limit strategy is to make the vehicle meet the upgrade conditions by limiting the gear position of the vehicle parking brake. In addition, the user can also customize the upgrade package download strategy.

[0071] S230: Determine whether the vehicle meets the upgrade conditions according to the upgrade package download strategy.

[0072] Specifically, when the upgrade package download strategy includes a speed limit strategy, it is necessary to obtain the vehicle speed. When the vehicle speed is less than or equal to a preset value (e.g., zero), it is determined that the vehicle meets the upgrade conditions. When the upgrade package download strategy includes a speed limit strategy, it is necessary to obtain the vehicle engine speed. When the engine speed is less than or equal to a preset value (e.g., zero), it is determined that the vehicle meets the upgrade conditions. When the upgrade package download strategy includes a parking signal limit strategy, it is necessary to obtain the vehicle parking brake gear position. When the parking brake gear position is "P", it is determined that the vehicle meets the upgrade conditions.

[0073] S240: When the vehicle meets the upgrade conditions, the upgrade package is downloaded according to the upgrade task information, and the upgrade package is decrypted and verified.

[0074] When it is determined that the vehicle meets the upgrade conditions, the vehicle-side device can download, decrypt and verify the upgrade package according to the upgrade task information.

[0075] S250: Obtain a first user instruction.

[0076] The first user instruction is used to indicate whether the user agrees to the upgrade. The vehicle-side device can obtain the first user instruction through a human-machine interaction interface, such as a display screen of the vehicle system, a mobile phone APP, etc.

[0077] S260: Perform upgrade control according to the first user instruction and the upgrade package.

[0078] In this embodiment, during the process of powering on the vehicle, an upgrade task distribution service is subscribed to the cloud device so that the cloud device creates an upgrade task. It can be understood that each time the vehicle is powered on, the vehicle-side device actively subscribes to the upgrade task distribution service to the cloud device so that the cloud device establishes an upgrade task, thereby realizing real-time deployment of the upgrade task. Furthermore, according to the upgrade task information sent by the cloud device, an upgrade package download strategy is obtained, and according to the upgrade package download strategy, it is determined whether the vehicle meets the upgrade conditions. When the vehicle meets the upgrade conditions, the upgrade package is downloaded according to the upgrade task information, and the upgrade package is decrypted and verified. It can be understood that by setting the upgrade package download strategy, the vehicle can download the upgrade package when the upgrade conditions are met, thereby improving the success rate of the upgrade package download and the success rate of subsequent upgrades based on the upgrade package. Finally, the first user instruction is obtained, and the upgrade control is performed according to the first user instruction and the upgrade package, thereby completing the OTA upgrade of the vehicle controller.

[0079] In one embodiment, the first user instruction includes one of an immediate upgrade instruction, a cancel upgrade instruction, or a response timeout instruction.

[0080] Performing upgrade control according to the first user instruction and the upgrade package, including: when the first user instruction includes an immediate upgrade instruction, controlling the upgrade of the corresponding controller in the vehicle according to the immediate upgrade instruction and the upgrade package; when the first user instruction includes a cancel upgrade instruction, sending a cancel upgrade message to the cloud device according to the cancel upgrade instruction so that the cloud device cancels the upgrade task; when the first user instruction includes a response timeout instruction, sending a user no operation message to the cloud device according to the response timeout instruction so that the cloud device suspends the upgrade task.

[0081] The immediate upgrade command indicates that the user agrees to upgrade immediately. When the vehicle-side device receives the immediate upgrade command, it can control the upgrade of related controllers in the vehicle according to the immediate upgrade command and the upgrade package. The cancel upgrade command indicates that the user does not agree to the upgrade. When the vehicle-side device receives the cancel upgrade command, it can send a cancel upgrade message to the cloud device. After the cloud device receives the cancel upgrade message, it cancels the upgrade task. The timeout response command indicates that the user did not choose whether to upgrade within the specified time. When the vehicle-side device receives the timeout response command, it can send a user no operation message to the cloud device. After receiving the user no operation message, the cloud device can suspend the upgrade task first and re-execute the task after the vehicle is powered on next time.

[0082] Furthermore, if Figure 3 As shown, according to the immediate upgrade instruction and the upgrade package, the corresponding controller in the vehicle is controlled to upgrade, including steps S310-S330.

[0083] S310: Obtain the type of the controller according to the upgrade package.

[0084] The types of controllers include intelligent controllers and non-intelligent controllers. The intelligent controllers are controllers based on microprocessors, and the non-intelligent controllers are controllers based on microcontrollers. The upgrade package includes the type of controller that needs to be upgraded.

[0085] S320: When the type of the controller is an intelligent controller, output a first control instruction to the intelligent controller according to the immediate upgrade instruction to control the intelligent controller to upgrade.

[0086] The first control instruction includes an upgrade message sent using a communication protocol based on Ethernet (Diagnostic communication over Internet Protocol, DOIP). It can be understood that the vehicle-side device converts the upgrade package required for upgrading the intelligent controller into a first control instruction using the DOIP protocol, and sends it to the intelligent controller, so that the intelligent controller can be upgraded according to the first control instruction.

[0087] S330: When the type of the controller is a non-intelligent controller, output a second control instruction to the non-intelligent controller according to the immediate upgrade instruction to control the upgrade of the non-intelligent controller.

[0088] The second upgrade instruction includes an upgrade message sent using the Unified Diagnostic Services (UDS) protocol. It can be understood that the vehicle-side device converts the upgrade package required for the non-intelligent controller upgrade into a second control instruction using the UDS protocol and sends it to the non-intelligent controller, so that the non-intelligent controller can be upgraded according to the second control instruction.

[0089] In one embodiment, the OTA upgrade method further includes the steps of obtaining an upgrade result of the controller and sending the upgrade result to a cloud device so that the cloud device updates the vehicle data according to the upgrade result.

[0090] The upgrade results include upgrade success or failure, and the vehicle data includes vehicle model, component types, current version information and historical version information of the vehicle controller, etc.

[0091] In this embodiment, by acquiring the upgrade structure of the controller and sending the upgrade result to the cloud device, the information of the cloud device and the vehicle-side device is kept synchronized.

[0092] In one embodiment, the OTA upgrade method also includes sending an upgrade policy non-satisfaction message to a cloud device when the vehicle does not meet the upgrade conditions, and repeatedly executing the upgrade task information sent by the cloud device to obtain the upgrade package download strategy, and determining whether the vehicle meets the upgrade conditions based on the upgrade package download strategy.

[0093] It can be understood that when the vehicle-side device determines that the vehicle does not meet the upgrade conditions according to the upgrade package upgrade policy, it sends an upgrade policy unsatisfied message to the cloud device and prompts the user. The cloud device will record the upgrade policy unsatisfied message after receiving it. After that, the vehicle-side device can repeatedly execute the steps of obtaining the upgrade package download policy according to the upgrade task information sent by the cloud device, and determining whether the vehicle meets the upgrade conditions according to the upgrade package download policy until the vehicle meets the upgrade conditions.

[0094] For a better understanding, Figure 4 As shown, a more specific embodiment is listed to illustrate the OTA upgrade method of the present application.

[0095] S401, during the vehicle power-on process, the vehicle-side device subscribes to the upgrade task distribution service from the cloud device.

[0096] S402, the cloud device publishes upgrade task information.

[0097] S403, the vehicle-side device obtains the upgrade package download strategy according to the upgrade task information sent by the cloud device.

[0098] S404, the vehicle-side device determines whether the vehicle meets the upgrade conditions according to the upgrade package download strategy. If the vehicle meets the upgrade conditions, step S405 is executed. If the vehicle does not meet the upgrade conditions, jump to step S403.

[0099] S405, the vehicle-side device downloads the upgrade package according to the upgrade task information, and decrypts and verifies the upgrade package.

[0100] S406, the vehicle-side device obtains the first user instruction. If the first user instruction is an immediate upgrade instruction, execute steps S407-S411. If the first user instruction is a cancel upgrade instruction, execute steps S412-S413. If the first user instruction is a timeout response instruction, execute step . . .

[0101] When the first user instruction is an immediate upgrade instruction:

[0102] S407, the vehicle-side device obtains the type of controller according to the upgrade package.

[0103] S408, when the type of controller is an intelligent controller, the vehicle-side device uses the DOIP protocol to output a first control instruction to the intelligent controller to control the upgrade of the intelligent controller.

[0104] S409, when the type of the controller is a non-intelligent controller, the vehicle-side device uses the UDS protocol to output a second control instruction to the non-intelligent controller to control the upgrade of the non-intelligent controller.

[0105] S410, the vehicle-side device obtains the upgrade result of the controller.

[0106] S411, the vehicle-side device sends the upgrade result to the cloud device, so that the cloud device updates the vehicle data according to the upgrade result.

[0107] The first user instruction is to cancel the upgrade instruction:

[0108] S412, the vehicle-side device sends a cancel upgrade message to the cloud device according to the cancel upgrade instruction, so that the cloud device cancels the upgrade task.

[0109] S413, the vehicle-side device prompts the user through the human-computer interaction interface that the upgrade has been canceled.

[0110] When the first user instruction is a timeout response instruction:

[0111] S414, the vehicle-side device sends a user no-operation message to the cloud device according to the response timeout instruction, so that the cloud device suspends the current upgrade task.

[0112] S415, the vehicle-side device prompts the user through the human-computer interaction interface that the upgrade has been suspended.

[0113] S416, both the vehicle-side device and the cloud device record the user's no operation information this time, and after the vehicle is powered on again, step S406 is directly executed.

[0114] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0115] Based on the same inventive concept, the embodiment of the present application also provides a vehicle-side device for implementing the above-mentioned OTA upgrade method. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above-mentioned method, so the specific limitations in one or more vehicle-side device embodiments provided below can refer to the limitations of the OTA upgrade method above, and will not be repeated here.

[0116] In an exemplary embodiment, Figure 5 As shown, a vehicle-side device is provided, including a main controller 510. The main controller 510 is connected to the cloud device in communication, and the main controller 510 includes an upgrade management module 511, an upgrade strategy management module 512 and a human-computer interaction module 513. Among them, the upgrade management module 511 is used to subscribe to the upgrade task distribution service from the cloud device during the vehicle power-on process, so that the cloud device creates an upgrade task. The upgrade strategy management module 512 is used to obtain the upgrade package download strategy according to the upgrade task information sent by the cloud device, determine whether the vehicle meets the upgrade conditions according to the upgrade package download strategy, and, if the vehicle meets the upgrade conditions, download the upgrade package according to the upgrade task information, and decrypt and verify the upgrade package. The upgrade package download strategy includes at least one of a speed limit strategy, a rotation speed limit strategy or a parking signal limit strategy. The human-computer interaction module 513 is used to obtain a first user instruction. The upgrade management module 511 is also used to perform upgrade control according to the first user instruction and the upgrade package.

[0117] In this embodiment, the vehicle-side device includes a main controller, which includes an upgrade management module, an upgrade strategy management module, and a human-computer interaction module. By dividing the main controller into multiple independent modules, each module can independently complete the corresponding function, thereby realizing the distributed deployment of the vehicle-side device.

[0118] In one embodiment, the upgrade management module 511 is further configured to:

[0119] In the case where the first user instruction includes an immediate upgrade instruction, controlling the upgrade of a corresponding controller in the vehicle according to the immediate upgrade instruction and the upgrade package;

[0120] In the case where the first user instruction includes a cancel upgrade instruction, sending a cancel upgrade message to the cloud device according to the cancel upgrade instruction, so that the cloud device cancels the current upgrade task;

[0121] In the case where the first user instruction includes a response timeout instruction, a user no operation information is sent to the cloud device according to the response timeout instruction, so that the cloud device suspends the current upgrade task.

[0122] In one embodiment, the vehicle-side device further includes: a domain controller 520 and a vehicle system 530 .

[0123] The domain controller 520 can be connected to the main controller 510 via Ethernet or CAN bus. The domain controller 520 is used to determine the type of controller according to the upgrade package issued by the upgrade management module, and, if the type of the controller is an intelligent controller, output a first control instruction to the intelligent controller according to the immediate upgrade instruction sent by the upgrade management module to control the upgrade of the intelligent controller; if the type of the controller is a non-intelligent controller, output a second control instruction to the non-intelligent controller according to the immediate upgrade instruction to control the upgrade of the non-intelligent controller; wherein the first control instruction includes an upgrade message sent using an Ethernet-based communication protocol, and the second upgrade instruction includes an upgrade message sent using a unified diagnostic service protocol.

[0124] The vehicle system 530 can be connected to the main controller via Ethernet or CAN bus. The vehicle system 530 is used to obtain the first user instruction and send the first user instruction to the human-computer interaction module.

[0125] In one embodiment, the main controller also includes a vehicle-side log management module 515 and a controller version management module 514 .

[0126] The vehicle-side log management module 515 is used to obtain log information during the controller upgrade process and send the log information to the cloud device. The log information includes at least one of download information, decompression information, verification information, or flashing progress information. It can be understood that the information generated during the entire process of the controller OTA upgrade will be recorded by the vehicle-side log management module 515 and uploaded to the cloud device for storage.

[0127] The controller version management module 514 is used to obtain the current version information and upgraded version information of the controller.

[0128] In the vehicle-side device of this embodiment, the power-on process of each module is as follows: each domain controller 520 and the vehicle-mounted system 530 actively subscribes to the upgrade task management service from the main controller 510 to wake up the main controller 510. The main controller 510 will subscribe to the policy inspection service, log management service, controller version management service, and human-computer interaction service from each domain controller 520 and the vehicle-mounted system 530 to wake up the relevant modules of the domain controller 520 and the vehicle-mounted system 530. After that, the main controller 510 will subscribe to the upgrade task distribution service from the cloud device to wake up the cloud device. After the cloud device establishes the upgrade task, it will subscribe to the log management service from the vehicle-side device to wake up the vehicle-side log management module.

[0129] In one embodiment, Figure 6 As shown, the present application also provides an OTA upgrade system, including a cloud device 600 and a vehicle-side device 500 provided in any of the above embodiments. The cloud device 600 and the vehicle-side device 500 are in communication connection, and the cloud device 600 is used to create an upgrade task, determine an upgrade package download strategy, and send upgrade task information to the vehicle-side device. The upgrade task information includes an upgrade package download strategy and an upgrade package.

[0130] Furthermore, the cloud device 600 includes a distribution interaction module 610 , a vehicle data management module 620 , an upgrade package management module 640 , an upgrade task publishing module 650 , a public key infrastructure management module 630 and a cloud log management module 660 .

[0131] The distribution interaction module 610 is used to determine the upgrade package download strategy and create an upgrade task according to the second user instruction. The second user instruction includes an upgrade package download strategy selection instruction, a task creation instruction, and a task approval instruction issued by the vehicle operator.

[0132] The vehicle data management module 620 is used to manage and store vehicle data, including at least one of the vehicle model, each component model, or the current version of the controller.

[0133] The upgrade package management module 640 is used to create an upgrade package.

[0134] The upgrade task issuing module 650 is used to determine the target vehicle that needs to be upgraded according to the vehicle data, and send the upgrade task information to the vehicle-side device of the target vehicle.

[0135] The public key infrastructure management module 630 is used to provide encryption services for the communication between the vehicle-side device and the cloud device.

[0136] The cloud log management module 660 is used to obtain the log information generated by the vehicle-side device during the controller upgrade process.

[0137] In this embodiment, by dividing the cloud device and the vehicle-side device into multiple independent modules, the coupling degree between the modules is low, and each module can independently complete the corresponding function, thereby realizing the distributed deployment of the OTA upgrade system.

[0138] In one embodiment, the present application also provides a vehicle, comprising the vehicle-side device provided in any of the above embodiments.

[0139] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 7 As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (Near Field Communication, NFC) or other technologies. When the computer program is executed by the processor, an OTA upgrade method is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.

[0140] Those skilled in the art will understand that Figure 7 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0141] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the OTA upgrade method provided in any of the above embodiments is implemented.

[0142] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the OTA upgrade method provided in any of the above embodiments is implemented.

[0143] In one embodiment, a computer program product is provided, including a computer program, which implements the OTA upgrade method provided in any of the above embodiments when executed by a processor.

[0144] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0145] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0146] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. An OTA upgrade method, It is characterized in that Applied to a vehicle-side device, the method comprises: During the vehicle power-on process, subscribing to the upgrade task distribution service from the cloud device so that the cloud device creates the upgrade task; According to the upgrade task information sent by the cloud device, an upgrade package download strategy is obtained; the upgrade package download strategy includes at least one of a vehicle speed limit strategy, a rotation speed limit strategy or a parking signal limit strategy; According to the upgrade package download strategy, determining whether the vehicle meets the upgrade conditions; When the vehicle meets the upgrade condition, downloading the upgrade package according to the upgrade task information, and decrypting and verifying the upgrade package; Obtaining a first user instruction; The upgrade control is performed according to the first user instruction and the upgrade package.

2. The method according to claim 1, It is characterized in that The first user instruction includes one of an immediate upgrade instruction, a cancel upgrade instruction, or a response timeout instruction; The performing upgrade control according to the first user instruction and the upgrade package includes: In the case where the first user instruction includes the immediate upgrade instruction, controlling the upgrade of the corresponding controller in the vehicle according to the immediate upgrade instruction and the upgrade package; In the case where the first user instruction includes the upgrade cancellation instruction, sending upgrade cancellation information to the cloud device according to the upgrade cancellation instruction, so that the cloud device cancels the upgrade task; In the case where the first user instruction includes the response timeout instruction, a user no operation message is sent to the cloud device according to the response timeout instruction, so that the cloud device suspends the current upgrade task.

3. The method according to claim 2, It is characterized in that The step of controlling the upgrade of a corresponding controller in the vehicle according to the immediate upgrade instruction and the upgrade package includes: Acquire the type of the controller according to the upgrade package; In the case where the type of the controller is an intelligent controller, outputting a first control instruction to the intelligent controller according to the immediate upgrade instruction to control the upgrade of the intelligent controller; the first control instruction includes an upgrade message sent using an Ethernet-based communication protocol; In the case where the type of the controller is a non-intelligent controller, a second control instruction is output to the non-intelligent controller according to the immediate upgrade instruction to control the upgrade of the non-intelligent controller; the second upgrade instruction includes an upgrade message sent using a unified diagnostic service protocol.

4. The method according to claim 1, It is characterized in that The method further comprises: Obtaining an upgrade result of the controller; the upgrade result includes upgrade success or failure; The upgrade result is sent to the cloud device, so that the cloud device updates the vehicle data according to the upgrade result.

5. The method according to claim 1, It is characterized in that The method further comprises: When the vehicle does not meet the upgrade conditions, an upgrade strategy non-satisfaction message is sent to the cloud device, and the steps of obtaining the upgrade package download strategy according to the upgrade task information sent by the cloud device and determining whether the vehicle meets the upgrade conditions according to the upgrade package download strategy are repeated.

6. A vehicle-side device, It is characterized in that include: The main controller is connected to the cloud device for communication, and the main controller includes an upgrade management module, an upgrade strategy management module and a human-computer interaction module; wherein, The upgrade management module is used to subscribe to the upgrade task distribution service from the cloud device during the vehicle power-on process, so that the cloud device creates an upgrade task; The upgrade strategy management module is used to obtain an upgrade package download strategy according to the upgrade task information sent by the cloud device, determine whether the vehicle meets the upgrade conditions according to the upgrade package download strategy, and, if the vehicle meets the upgrade conditions, download the upgrade package according to the upgrade task information, and decrypt and verify the upgrade package; the upgrade package download strategy includes at least one of a vehicle speed limit strategy, a rotation speed limit strategy, or a parking signal limit strategy; The human-computer interaction module is used to obtain a first user instruction; The upgrade management module is further used to perform upgrade control according to the first user instruction and the upgrade package.

7. The vehicle-side device according to claim 6, It is characterized in that The first user instruction includes one of an immediate upgrade instruction, a cancel upgrade instruction, or a response timeout instruction; The upgrade management module is further used for: In the case where the first user instruction includes the immediate upgrade instruction, controlling the upgrade of the corresponding controller in the vehicle according to the immediate upgrade instruction and the upgrade package; In the case where the first user instruction includes the upgrade cancellation instruction, sending upgrade cancellation information to the cloud device according to the upgrade cancellation instruction, so that the cloud device cancels the upgrade task; In the case where the first user instruction includes the response timeout instruction, a user no operation message is sent to the cloud device according to the response timeout instruction, so that the cloud device suspends the current upgrade task.

8. The vehicle-side device according to claim 7, It is characterized in that The vehicle-side device also includes: A domain controller connected to the main controller, used to determine the type of the controller according to the upgrade package issued by the upgrade management module, and, when the type of the controller is an intelligent controller, output a first control instruction to the intelligent controller according to the immediate upgrade instruction sent by the upgrade management module to control the upgrade of the intelligent controller; when the type of the controller is a non-intelligent controller, output a second control instruction to the non-intelligent controller according to the immediate upgrade instruction to control the upgrade of the non-intelligent controller; wherein the first control instruction includes an upgrade message sent using an Ethernet-based communication protocol, and the second upgrade instruction includes an upgrade message sent using a unified diagnostic service protocol; The vehicle system is connected to the main controller and is used to obtain the first user instruction and send the first user instruction to the human-computer interaction module.

9. The vehicle-side device according to claim 6, It is characterized in that The main controller also includes a vehicle-side log management module and a controller version management module; The vehicle-side log management module is used to obtain log information during the controller upgrade process and send the log information to the cloud device; the log information includes at least one of download information, decompression information, verification information or flashing progress information; The controller version management module is used to obtain the current version information and upgraded version information of the controller.

10. An OTA upgrade system, It is characterized in that It includes a cloud device and a vehicle-side device as described in any one of claims 6-9, wherein the cloud device and the vehicle-side device are communicatively connected, the cloud device is used to create an upgrade task, determine an upgrade package download strategy, and send upgrade task information to the vehicle-side device, and the upgrade task information includes an upgrade package download strategy and an upgrade package.

11. The OTA upgrade system according to claim 10, It is characterized in that The cloud device includes: A distribution interaction module, used to determine the upgrade package download strategy according to the second user instruction and create an upgrade task; A vehicle data management module, used to manage and store vehicle data; the vehicle data includes at least one of a vehicle model, a model of each component, or a current version of a controller; Upgrade package management module, used to make upgrade packages; An upgrade task issuing module, used to determine a target vehicle to be upgraded according to the vehicle data, and send the upgrade task information to a vehicle-side device of the target vehicle; A public key infrastructure management module, used to provide encryption services for the communication between the vehicle-side device and the cloud device; The cloud log management module is used to obtain the log information generated by the vehicle-side device during the controller upgrade process.

12. A vehicle, It is characterized in that Comprising the vehicle-side device as described in any one of claims 6-9.

13. A computer device comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.

14. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.

15. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.

Citation Information

Cited By

  • OTA main control program upgrading method based on virtual ECU

    CN119883332A

  • An OTA master program upgrading method based on a virtual ECU

    CN119883332B

  • Vehicle cloud collaborative OTA upgrading system and method based on multi-AGV collaborative management

    CN121310113A

  • Cooperative upgrading method for multiple controllers in vehicle, vehicle and cooperative upgrading system

    CN122293514A