OTA upgrading method and system, OTA platform, OTA controller and vehicle
By analyzing and issuing upgrade instructions on the OTA platform, the hardware cost and inefficiency problems during vehicle parts upgrade process are solved, and a faster and safer upgrade process is achieved.
Patent Information
- Application Number
- CN202411286282.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-13
- Publication Date
- 2025-01-03
AI Technical Summary
During the process of upgrading vehicle parts, hardware costs increase and upgrade efficiency decreases. This is mainly due to the excessive consumption of hardware and computing resources caused by the increase in the size of the upgrade file, which affects system stability and security.
The upgrade file is parsed through the OTA platform, and after the parsing is completed, the upgrade command is sent to the OTA controller to upgrade the upgrade ECU, which cancels the process of downloading and parsing the upgrade package of the vehicle OTA controller, reducing hardware costs and calculations Resource consumption.
It has achieved the reduction of vehicle parts upgrade time, reduced hardware costs, improved upgrade efficiency, avoided waste of storage resources, and enhanced the stability and security of the on-board system.
Smart Images

Figure CN119248313A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the automotive field, and specifically to an OTA upgrade method, system, OTA platform, OTA controller and vehicle. Background Art
[0002] With the development of automotive electronic technology, the demand for upgrading the vehicle-mounted ECU (Electronic Control Unit) is increasing. At present, the upgrade solution for vehicle-mounted ECU usually uses the vehicle OTA (Over-The-Air Technology) to first download the upgrade file, then parse the file and upgrade the components through the CAN (Controller Area Network) bus.
[0003] However, with the development of technology, the upgrade files are getting bigger and bigger, and the upgrade time is getting longer and longer, which brings inconvenience to users. In addition, the parsing process of the upgrade files consumes a lot of hardware and computing resources, which will also affect the stability and security of the vehicle system, resulting in the problem of increased hardware costs and reduced upgrade efficiency during the vehicle parts upgrade process. Summary of the invention
[0004] In view of this, the present application provides an OTA upgrade method, system, OTA platform, OTA controller and vehicle, which solve the technical problems of increased hardware cost and reduced upgrade efficiency during the upgrade of vehicle parts.
[0005] As the first aspect of the present application, the present application provides an OTA upgrade method, which is applied to the OTA platform, including: responding to a task query instruction sent by an OTA controller, determining whether there is a task to be upgraded; if there is a task to be upgraded, feeding back an affirmative response instruction to the OTA controller; responding to an upgrade request instruction sent by the OTA controller, parsing the file to be upgraded in the task to be upgraded, and sending an upgrade instruction to the OTA controller, so that the OTA controller upgrades the ECU to be upgraded.
[0006] In a possible implementation of the present application, the method further includes: if there is no task to be upgraded, feeding back a negative response to the OTA controller to confirm the termination of the OTA upgrade process.
[0007] In a possible implementation of the present application, in response to an upgrade request instruction sent by the OTA controller, the files to be upgraded in the task to be upgraded are parsed, and the upgrade instruction is sent to the OTA controller, including: in response to the nth upgrade request instruction sent by the OTA controller, the nth upgrade instruction is fed back to the OTA controller; the nth upgrade instruction includes the nth message information parsed from the files to be upgraded in the task to be upgraded; wherein n is a positive integer greater than or equal to 1.
[0008] As the second aspect of the present application, the present application also provides an OTA upgrade method, which is applied to an OTA controller, including: sending a task query instruction to the OTA platform so that the OTA platform determines whether there is a task to be upgraded; in response to the affirmative response instruction sent by the OTA platform, sending a request upgrade instruction to the OTA platform so that the OTA platform parses the files to be upgraded in the task to be upgraded and sends the upgrade instruction to the OTA controller; wherein, the affirmative response instruction is sent by the OTA platform to the OTA controller when it is determined that there is a task to be upgraded; in response to the upgrade instruction sent by the OTA platform, the ECU to be upgraded is upgraded.
[0009] In a possible implementation of the present application, in response to an affirmative response instruction sent by the OTA platform, before sending a request upgrade instruction to the OTA platform, the method includes: determining whether the current network status of the vehicle meets the preset network status; if the current network status meets the preset network status, sending a request upgrade instruction to the OTA platform.
[0010] In a possible implementation of the present application, a request for upgrade instruction is sent to the OTA platform, and, in response to the upgrade instruction sent by the OTA platform, the ECU to be upgraded is upgraded, including: sending an nth request for upgrade instruction to the OTA platform, so that the OTA platform parses the file to be upgraded in the task to be upgraded and sends the upgrade instruction to the OTA controller; in response to the nth upgrade instruction sent by the OTA platform, sending the nth upgrade instruction to the ECU to be upgraded, so that the ECU to be upgraded is upgraded based on the nth upgrade instruction; the nth upgrade instruction includes the nth message information parsed from the file to be upgraded of the task to be upgraded; wherein n is a positive integer greater than or equal to 1.
[0011] As the third aspect of the present application, the present application also provides an OTA upgrade system, including an OTA platform and an OTA controller, the OTA platform is configured to execute any one of the above-mentioned OTA upgrade methods applied to the OTA platform, and the OTA controller is configured to execute any one of the above-mentioned OTA upgrade methods applied to the OTA controller.
[0012] As a fourth aspect of the present application, the present application also provides an OTA platform, which is used to execute any of the above-mentioned OTA upgrade methods.
[0013] As the fifth aspect of the present application, the present application also provides an OTA controller, which is used to execute any of the above-mentioned OTA upgrade methods.
[0014] As the sixth aspect of the present application, the present application also provides a vehicle, comprising the OTA controller as described above.
[0015] The OTA upgrade method provided by the present application is applied to the OTA platform, including: responding to the task query instruction sent by the OTA controller, judging whether there is a task to be upgraded; if there is a task to be upgraded, feeding back a positive response instruction to the OTA controller; responding to the request upgrade instruction sent by the OTA controller, parsing the files to be upgraded in the upgrade task, and sending an upgrade instruction to the OTA controller, so that the OTA controller upgrades the ECU to be upgraded. It is easy to notice that by using the OTA platform to parse the files to be upgraded in the upgrade task, and after parsing the files to be upgraded, issuing a start upgrade instruction to upgrade the vehicle components, compared with the prior art, the process of downloading and parsing the upgrade package by the vehicle OTA controller is cancelled, thereby reducing the upgrade time of vehicle components, reducing hardware costs, and reducing computing resource consumption, thereby achieving the purpose of improving the upgrade efficiency of vehicle components, thereby solving the technical problems of increased hardware costs and reduced upgrade efficiency in the process of upgrading vehicle components. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] By describing the embodiments of the present application in more detail in conjunction with the accompanying drawings, the above and other purposes, features and advantages of the present application will become more apparent. The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the present application and do not constitute a limitation of the present application. In the accompanying drawings, the same reference numerals generally represent the same components or steps.
[0017] Figure 1 The figure is a flow chart of an OTA upgrade method applied to an OTA platform provided in one embodiment of the present application.
[0018] Figure 2 Shown is a flowchart of a vehicle OTA upgrade process provided by an embodiment of the present application.
[0019] Figure 3 The figure shows a flow chart of an OTA upgrade method applied to an OTA controller provided in one embodiment of the present application.
[0020] Figure 4 Shown is a structural diagram of an OTA upgrade system provided in one embodiment of the present application. DETAILED DESCRIPTION
[0021] In the description of the application, the meaning of "multiple" is at least two, for example, two, three, etc., unless otherwise clearly and specifically limited. In the embodiment of the present application, all directional indications (such as up, down, left, right, front, back, top, bottom ...) are only used to explain the relative position relationship, motion conditions, etc. between the components under a certain specific posture (as shown in the drawings). If the specific posture changes, the directional indication also changes accordingly. In addition, the terms "including" and "having" and any of their deformations are intended to cover non-exclusive inclusions. For example, the process, method, system, product or equipment comprising a series of steps or units are not limited to the steps or units listed, but optionally also include the steps or units not listed, or optionally also include other steps or units inherent to these processes, methods, products or equipment.
[0022] In addition, the reference to "embodiment" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiment may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0023] Exemplary Method 1
[0024] As a first aspect of the present application, the present application provides an OTA upgrade method, which is applied to an OTA platform. Figure 1 FIG. 1 is a flow chart of an OTA upgrade method applied to an OTA platform provided by an embodiment of the present application. Figure 1 As shown, the method comprises the following steps:
[0025] S101, in response to a task query instruction sent by the OTA controller, determining whether there is a task to be upgraded;
[0026] Specifically, the above-mentioned OTA platform can be used to represent the cloud platform responsible for managing and executing remote software upgrade tasks in the automotive OTA technology system.
[0027] The above-mentioned OTA controller can be used to represent the vehicle-mounted system or module responsible for managing and executing remote software upgrade tasks in the automotive OTA technology system.
[0028] The above-mentioned task query instruction may be used to indicate an instruction to instruct or request the OTA platform to query whether there is a task to be upgraded.
[0029] The above-mentioned tasks to be upgraded can be used to indicate tasks that require upgrading of vehicle components, including but not limited to upgrading of vehicle hardware or software. The tasks to be upgraded are not specifically defined and can be adjusted according to actual conditions.
[0030] In an optional embodiment, during the OTA upgrade of the vehicle, the OTA controller first sends a task query instruction to the OTA platform. In response to receiving the task query instruction sent by the OTA controller, the OTA platform can determine whether there is a task to be upgraded. Generally, the judgment result includes two situations. When there is a task to be upgraded on the OTA platform, subsequent processing can be performed to upgrade the vehicle components; when there is no task to be upgraded, the OTA platform feeds back an upgrade end instruction to the OTA controller, which means that there is no need to upgrade the vehicle components.
[0031] In addition, before performing OTA upgrades on vehicle components, vehicle developers can create tasks to be upgraded in the OTA platform, so that based on the created tasks to be upgraded, subsequent instructions can be executed to upgrade the vehicle components.
[0032] S102, if there is a task to be upgraded, feeding back a positive response instruction to the OTA controller;
[0033] Specifically, the above-mentioned affirmative response instruction can be used as a feedback instruction indicating that there is a task to be upgraded in the OTA platform.
[0034] In an optional embodiment, when there are tasks to be upgraded in the OTA platform, the OTA platform may feedback an affirmative response instruction to the OTA controller, so that the OTA controller executes subsequent instructions to upgrade the vehicle-mounted components after receiving the affirmative response instruction.
[0035] Generally, the OTA platform may send a positive response instruction to the OTA controller via wireless network transmission.
[0036] S103, in response to the upgrade request instruction sent by the OTA controller, parsing the files to be upgraded in the upgrade task, and sending the upgrade instruction to the OTA controller, so that the OTA controller upgrades the ECU to be upgraded.
[0037] Specifically, the above-mentioned upgrade request instruction can be used to indicate an instruction for requesting an OTA upgrade.
[0038] In an optional embodiment, after receiving the above-mentioned affirmative response instruction, the OTA controller sends an upgrade request instruction to the OTA platform, that is, requests an OTA upgrade. After receiving the upgrade request instruction, the OTA platform can parse the files to be upgraded in the upgrade task, and after the analysis is completed, send an upgrade instruction to the OTA controller, so that the OTA controller upgrades the ECU to be upgraded. Among them, the parsing process of the files to be upgraded includes general methods in the field, and the parsing process is not described in detail here.
[0039] Specifically, parsing the upgrade file on the OTA platform, on the one hand, reduces the computing resource consumption of the vehicle system; on the other hand, after the OTA platform completes the parsing of the upgrade file, by sending an upgrade instruction to the OTA controller, the OTA controller can upgrade the ECU to be upgraded, reducing the OTA upgrade time and thereby improving the upgrade efficiency of vehicle components.
[0040] In addition, by parsing the upgrade files on the OTA platform, compared with the traditional method of parsing and downloading the upgrade files through the OTA controller, the waste of space resources for storing the downloaded files is avoided. That is, the upgrade files are parsed on the OTA platform, and there is no need to save the upgrade files locally, which reduces the storage resource dependence of the vehicle system and reduces hardware costs.
[0041] The OTA upgrade method provided by the present application is applied to the OTA platform, including: responding to the task query instruction sent by the OTA controller, judging whether there is a task to be upgraded; if there is a task to be upgraded, feeding back a positive response instruction to the OTA controller; responding to the request upgrade instruction sent by the OTA controller, parsing the files to be upgraded in the upgrade task, and sending an upgrade instruction to the OTA controller, so that the OTA controller upgrades the ECU to be upgraded. It is easy to notice that by using the OTA platform to parse the files to be upgraded in the upgrade task, and after parsing the files to be upgraded, issuing a start upgrade instruction to upgrade the vehicle components, compared with the prior art, the process of downloading and parsing the upgrade package by the vehicle OTA controller is cancelled, thereby reducing the upgrade time of vehicle components, reducing hardware costs, and reducing computing resource consumption, thereby achieving the purpose of improving the upgrade efficiency of vehicle components, thereby solving the technical problems of increased hardware costs and reduced upgrade efficiency in the process of upgrading vehicle components.
[0042] In a possible implementation of the present application, if there is no task to be upgraded, a negative response is fed back to the OTA controller to confirm the termination of the OTA upgrade process.
[0043] Specifically, the above negative response may be used to indicate that there is no feedback result of the task to be upgraded on the OTA platform.
[0044] In an optional embodiment, after the OTA platform receives the upgrade request instruction, if it is determined that there is no task to be upgraded on the OTA platform, a negative response is fed back to the OTA controller, that is, there is no task to be upgraded on the OTA platform, and there is no need to execute subsequent OTA upgrade instructions, confirming the termination of the OTA upgrade process.
[0045] In a possible implementation of the present application, in response to an upgrade request instruction sent by the OTA controller, the files to be upgraded in the task to be upgraded are parsed, and the upgrade instruction is sent to the OTA controller, including: in response to the nth upgrade request instruction sent by the OTA controller, the nth upgrade instruction is fed back to the OTA controller; the nth upgrade instruction includes the nth message information parsed from the files to be upgraded in the task to be upgraded; wherein n is a positive integer greater than or equal to 1.
[0046] Specifically, the above-mentioned message information includes detailed information of the file to be upgraded, including but not limited to metadata, data content, verification information, serial number, timestamp and other information, and the message information is not specifically limited here.
[0047] In an optional embodiment, in response to a request upgrade instruction sent by the OTA controller, the files to be upgraded in the upgrade task are parsed, and the upgrade instruction is sent to the OTA controller. After the OTA platform receives the nth request upgrade instruction sent by the OTA controller, the nth upgrade instruction can be fed back to the OTA controller, wherein the nth upgrade instruction serves as a feedback instruction to the nth request upgrade instruction.
[0048] In addition, if the files to be upgraded in the upgrade task have not been upgraded, the nth upgrade instruction includes the nth message information parsed from the files to be upgraded; if the files to be upgraded in the upgrade task have been upgraded, the nth upgrade instruction includes the completion of upgrading the files to be upgraded.
[0049] Figure 2 FIG. 1 is a flow chart of a vehicle OTA upgrade process provided by an embodiment of the present application. When the OTA upgrade method is applied to an OTA platform, as shown in FIG. Figure 2 As shown in the figure, the OTA platform performs the following steps during the OTA upgrade process:
[0050] a1, create a task;
[0051] Vehicle developers can create tasks to be upgraded in the OTA platform.
[0052] a2, task query;
[0053] After receiving the task query instruction sent by the OTA controller, the OTA controller is fed back with an instruction indicating the existence of the OTA task, so that the OTA controller upgrades the ECU to be upgraded;
[0054] a3, after receiving the upgrade request instruction sent by the OTA controller, sending a start upgrade instruction to the OTA controller, so that the OTA controller starts upgrading the ECU to be upgraded;
[0055] a4, after receiving the first upgrade request instruction sent by the OTA controller, parsing the file to be upgraded in the upgrade task, and sending the first upgrade instruction to the OTA controller, so that the OTA controller upgrades the ECU to be upgraded based on the first upgrade instruction, wherein the first upgrade instruction includes first message information obtained by parsing the file to be upgraded;
[0056] a5, after receiving the second upgrade request instruction sent by the OTA controller, parsing the file to be upgraded in the upgrade task, and sending a second upgrade instruction to the OTA controller, so that the OTA controller upgrades the ECU to be upgraded based on the second upgrade instruction, wherein the second upgrade instruction includes second message information obtained by parsing the file to be upgraded;
[0057] a6, and so on, until the nth request upgrade instruction sent by the OTA controller is received. If the upgrade of the file to be upgraded is completed at this time, an upgrade end instruction is sent to the OTA controller to confirm the completion of the OTA upgrade. On the contrary, if the upgrade of the file to be upgraded is not completed at this time, the nth upgrade instruction is continued to be sent to the OTA controller, so that the OTA controller upgrades the ECU to be upgraded based on the nth upgrade instruction until the completion of the OTA upgrade is confirmed.
[0058] Exemplary Method 2
[0059] As a second aspect of the present application, the present application also provides an OTA upgrade method, which is applied to an OTA controller. Figure 3 FIG. 1 is a flow chart of an OTA upgrade method applied to an OTA controller provided by an embodiment of the present application. Figure 3 As shown, the method includes:
[0060] S301, sending a task query instruction to the OTA platform, so that the OTA platform determines whether there is a task to be upgraded;
[0061] Specifically, during the vehicle OTA upgrade process, a task query instruction can be sent from the vehicle-mounted OTA controller to the cloud-based OTA platform, so that the OTA platform can query whether there is a task to be upgraded based on the task query instruction.
[0062] S302, in response to the positive response instruction sent by the OTA platform, sending an upgrade request instruction to the OTA platform, so that the OTA platform parses the files to be upgraded in the upgrade task and sends the upgrade instruction to the OTA controller; wherein the positive response instruction is sent by the OTA platform to the OTA controller when it is determined that there is a task to be upgraded;
[0063] Specifically, if an affirmative response instruction is received from the OTA platform, indicating that there is a task to be upgraded in the OTA platform, a request upgrade instruction is sent to the OTA platform, so that the OTA platform performs cloud-based parsing of the file to be upgraded based on the received request upgrade instruction, and sends an upgrade instruction to the OTA controller, wherein the upgrade instruction includes the message information obtained by parsing the file to be upgraded.
[0064] S303, in response to the upgrade instruction sent by the OTA platform, upgrading the ECU to be upgraded.
[0065] Specifically, after receiving the upgrade instruction sent by the OTA platform, the ECU to be upgraded can be upgraded based on the upgrade instruction. Specifically, the ECU to be upgraded can be upgraded based on the message information carried in the upgrade instruction.
[0066] The OTA upgrade method provided by the present application is applied to the OTA controller, including: sending a task query instruction to the OTA platform so that the OTA platform determines whether there is a task to be upgraded; in response to the positive response instruction sent by the OTA platform, sending a request upgrade instruction to the OTA platform so that the OTA platform parses the files to be upgraded in the upgrade task and sends the upgrade instruction to the OTA controller; wherein the positive response instruction is sent by the OTA platform to the OTA controller when it is determined that there is a task to be upgraded; in response to the upgrade instruction sent by the OTA platform, the ECU to be upgraded is upgraded. It is easy to notice that by using the OTA platform to parse the files to be upgraded in the upgrade task, and after parsing the files to be upgraded, issuing a start upgrade instruction to upgrade the vehicle-mounted components, compared with the prior art, the process of downloading and parsing the upgrade package by the vehicle-mounted OTA controller is cancelled, thereby reducing the upgrade time of vehicle components, reducing hardware costs, and reducing computing resource consumption, thereby achieving the purpose of improving the upgrade efficiency of vehicle components, thereby solving the technical problems of increased hardware costs and reduced upgrade efficiency in the process of upgrading vehicle components.
[0067] In a possible implementation of the present application, in response to an affirmative response instruction sent by the OTA platform, before sending a request upgrade instruction to the OTA platform, the method includes: determining whether the current network status of the vehicle meets the preset network status; if the current network status meets the preset network status, sending a request upgrade instruction to the OTA platform.
[0068] Specifically, the above-mentioned preset network status can be used to represent the pre-set vehicle network status that meets the upgrade conditions, including but not limited to performance indicators such as network rate and network delay. The preset network status is not specifically set here and can be adjusted according to actual conditions.
[0069] In an optional embodiment, before sending a request for upgrade instruction to the OTA platform, it can be determined whether the current network status of the vehicle satisfies the preset network status, that is, whether the current network status of the vehicle satisfies the upgrade conditions. If the current network status of the vehicle satisfies the preset network status, that is, it means that the current network status of the vehicle satisfies the upgrade conditions, then a request for upgrade instruction is sent to the OTA platform; conversely, if the current network status of the vehicle does not satisfy the preset network status, that is, it means that the current network status of the vehicle does not meet the upgrade conditions, then a request for upgrade instruction is not sent to the OTA platform for the time being. After the current network status of the vehicle meets the upgrade conditions, a request for upgrade instruction is sent to the OTA platform, so as to avoid the entire vehicle OTA upgrade process being affected by the vehicle network status.
[0070] In a possible implementation of the present application, a request for upgrade instruction is sent to the OTA platform, and, in response to the upgrade instruction sent by the OTA platform, the ECU to be upgraded is upgraded, including: sending an nth request for upgrade instruction to the OTA platform, so that the OTA platform parses the file to be upgraded in the task to be upgraded and sends the upgrade instruction to the OTA controller; in response to the nth upgrade instruction sent by the OTA platform, sending the nth upgrade instruction to the ECU to be upgraded, so that the ECU to be upgraded is upgraded based on the nth upgrade instruction; the nth upgrade instruction includes the nth message information parsed from the file to be upgraded of the task to be upgraded; wherein n is a positive integer greater than or equal to 1.
[0071] Specifically, in the process of sending a request for upgrade instruction to the OTA platform and, in response to the upgrade instruction sent by the OTA platform, upgrading the ECU to be upgraded, an nth request for upgrade instruction may be sent to the OTA platform, so that the OTA platform parses the file to be upgraded in the task to be upgraded after receiving the nth request for upgrade instruction and sends the nth upgrade instruction to the OTA control; after receiving the nth upgrade instruction sent by the OTA platform, the nth upgrade instruction may be sent to the ECU to be upgraded, so that the ECU to be upgraded is upgraded based on the nth upgrade instruction, wherein the nth upgrade instruction includes the nth message information parsed from the file to be upgraded of the task to be upgraded, that is, the nth upgrade instruction is sent to the ECU to be upgraded, so that the ECU to be upgraded is upgraded based on the nth upgrade instruction.
[0072] For example, when the OTA upgrade method is applied to the OTA controller, as described above Figure 2 As shown, the OTA controller performs the following steps during the OTA upgrade process:
[0073] b1, sending a task query instruction to the OTA platform, so that the OTA platform queries whether there is a task to be upgraded;
[0074] b2, in response to receiving a feedback instruction from the OTA platform indicating the existence of an OTA task, checking whether the current network status of the vehicle meets the upgrade conditions;
[0075] b3, if the current network status of the vehicle meets the upgrade conditions, send an upgrade request instruction to the OTA platform;
[0076] b4, in response to receiving the start upgrade instruction sent by the OTA platform, sending a first request upgrade instruction to the OTA platform, so that the OTA platform parses the file to be upgraded based on the first request upgrade instruction and sends the first upgrade instruction to the OTA controller;
[0077] b5, in response to receiving a first upgrade instruction sent by the OTA platform, sending the first upgrade instruction to the ECU to be upgraded, so that the ECU to be upgraded is upgraded based on the first upgrade instruction;
[0078] b6, in response to receiving the first positive response instruction fed back by the ECU to be upgraded, sending a second upgrade request instruction to the OTA platform, so that the OTA platform parses the file to be upgraded based on the second upgrade request instruction and sends the second upgrade instruction to the OTA controller;
[0079] b7, in response to receiving the second upgrade instruction sent by the OTA platform, sending the second upgrade instruction to the ECU to be upgraded, so that the ECU to be upgraded is upgraded based on the second upgrade instruction;
[0080] b8, and so on, until the nth request upgrade instruction is sent to the OTA platform, so that the OTA platform parses the upgrade file based on the nth request upgrade instruction and sends the nth upgrade instruction to the OTA controller. If the upgrade of the upgrade file is completed at this time, the received nth upgrade instruction is the end of the upgrade; otherwise, if the upgrade of the upgrade file is not completed at this time, the upgrade of the ECU to be upgraded is based on the received nth upgrade instruction until the OTA upgrade is confirmed to be completed.
[0081] Exemplary Systems
[0082] As a third aspect of the present application, the present application also provides an OTA upgrade system. Figure 4 The figure is a schematic diagram of the structure of the OTA upgrade system provided by an embodiment of the present application. Figure 4As shown, the system includes: an OTA platform and an OTA controller, the OTA platform is configured to execute any one of the above-mentioned OTA upgrade methods applied to the OTA platform, and the OTA controller is configured to execute any one of the above-mentioned OTA upgrade methods applied to the OTA controller.
[0083] Example Platform
[0084] As a fourth aspect of the present application, the present application further provides an OTA platform, which is used to perform the following steps:
[0085] S11, responding to the task query instruction sent by the OTA controller, determining whether there is a task to be upgraded;
[0086] S12, if there is a task to be upgraded, a positive response instruction is fed back to the OTA controller;
[0087] S13, in response to the upgrade request instruction sent by the OTA controller, parsing the files to be upgraded in the upgrade task, and sending the upgrade instruction to the OTA controller, so that the OTA controller upgrades the ECU to be upgraded.
[0088] In some implementations, the OTA platform is further configured to: if there is no task to be upgraded, feed back a negative response to the OTA controller to confirm the termination of the OTA upgrade process.
[0089] In some implementations, the OTA platform is also used to: in response to the nth request upgrade instruction sent by the OTA controller, feedback the nth upgrade instruction to the OTA controller; the nth upgrade instruction includes the nth message information parsed from the upgrade file of the task to be upgraded; wherein n is a positive integer greater than or equal to 1.
[0090] Exemplary Controller
[0091] As a fifth aspect of the present application, the present application further provides an OTA controller, which is used to perform the following steps:
[0092] S21, sending a task query instruction to the OTA platform, so that the OTA platform determines whether there is a task to be upgraded;
[0093] S22, in response to the positive response instruction sent by the OTA platform, sending an upgrade request instruction to the OTA platform, so that the OTA platform parses the files to be upgraded in the upgrade task and sends the upgrade instruction to the OTA controller; wherein the positive response instruction is sent by the OTA platform to the OTA controller when it is determined that there is a task to be upgraded;
[0094] S23, in response to the upgrade instruction sent by the OTA platform, upgrading the ECU to be upgraded.
[0095] In some implementations, the OTA controller is also used to: in response to an affirmative response instruction sent by the OTA platform, determine whether the current network status of the vehicle meets the preset network status before sending a request upgrade instruction to the OTA platform; if the current network status meets the preset network status, send a request upgrade instruction to the OTA platform.
[0096] In some implementations, the OTA controller is also used to: send the nth request upgrade instruction to the OTA platform, so that the OTA platform parses the files to be upgraded in the task to be upgraded and sends the upgrade instruction to the OTA controller; in response to the nth upgrade instruction sent by the OTA platform, send the nth upgrade instruction to the ECU to be upgraded, so that the ECU to be upgraded is upgraded based on the nth upgrade instruction; the nth upgrade instruction includes the nth message information parsed from the files to be upgraded in the task to be upgraded; wherein n is a positive integer greater than or equal to 1.
[0097] Example Vehicles
[0098] As the sixth aspect of the present application, the present application also provides a vehicle, comprising the OTA controller as described above.
[0099] In addition to the above-mentioned methods and systems, an embodiment of the present application may also be a computer program product, which includes computer program information, which, when executed by a processor, enables the processor to execute the steps of the OTA upgrade method according to various embodiments of the present application described in this specification.
[0100] The computer program product may be written in any combination of one or more programming languages to write program codes for performing the operations of the embodiments of the present application, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" language or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0101] In addition, an embodiment of the present application may also be a computer-readable storage medium on which computer program information is stored. When the computer program information is executed by a processor, the processor executes the steps of the OTA upgrade method according to various embodiments of the present application described in this specification.
[0102] Computer readable storage media can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0103] The basic principles of the present application are described above in conjunction with specific embodiments. However, it should be noted that the advantages, strengths, effects, etc. mentioned in the present application are only examples and not limitations, and it cannot be considered that these advantages, strengths, effects, etc. are required by each embodiment of the present application. In addition, the specific details disclosed above are only for the purpose of illustration and ease of understanding, not for limitation, and the above details do not limit the present application to being implemented by adopting the above specific details.
[0104] The block diagrams of the devices, apparatuses, equipment, and systems involved in this application are only illustrative examples and are not intended to require or imply that they must be connected, arranged, and configured in the manner shown in the block diagram. As will be appreciated by those skilled in the art, these devices, apparatuses, equipment, and systems can be connected, arranged, and configured in any manner. Words such as "including", "comprising", "having", etc. are open words, referring to "including but not limited to", and can be used interchangeably with them. The words "or" and "and" used here refer to the words "and / or" and can be used interchangeably with them, unless the context clearly indicates otherwise. The words "such as" used here refer to the phrase "such as but not limited to", and can be used interchangeably with them.
[0105] It should also be noted that in the apparatus, device and method of the present application, each component or each step can be decomposed and / or recombined. Such decomposition and / or recombination should be regarded as equivalent solutions of the present application.
Claims
1. An OTA upgrade method, characterized in that: The method is applied to an OTA platform, and the method includes: In response to the task query instruction sent by the OTA controller, determine whether there is a task to be upgraded; If there is a task to be upgraded, a positive response instruction is fed back to the OTA controller; In response to the upgrade request instruction sent by the OTA controller, the file to be upgraded in the task to be upgraded is parsed, and an upgrade instruction is sent to the OTA controller, so that the OTA controller upgrades the ECU to be upgraded.
2. The OTA upgrade method according to claim 1, characterized in that: The method further comprises: If there is no task to be upgraded, a negative response is fed back to the OTA controller to confirm the termination of the OTA upgrade process.
3. The OTA upgrade method according to claim 1, characterized in that: In response to the upgrade request instruction sent by the OTA controller, parsing the file to be upgraded in the task to be upgraded, and sending the upgrade instruction to the OTA controller, including: In response to the nth request upgrade instruction sent by the OTA controller, feeding back the nth upgrade instruction to the OTA controller; the nth upgrade instruction includes the nth message information parsed from the to-be-upgraded file of the to-be-upgraded task; Wherein, n is a positive integer greater than or equal to 1.
4. An OTA upgrade method, characterized in that: The method is applied to an OTA controller, and the method includes: Sending a task query instruction to the OTA platform so that the OTA platform determines whether there is a task to be upgraded; In response to the positive response instruction sent by the OTA platform, sending an upgrade request instruction to the OTA platform, so that the OTA platform parses the files to be upgraded in the upgrade task and sends the upgrade instruction to the OTA controller; wherein the positive response instruction is sent by the OTA platform to the OTA controller when it is determined that there is a task to be upgraded; In response to the upgrade instruction sent by the OTA platform, the ECU to be upgraded is upgraded.
5. The OTA upgrade method according to claim 4, characterized in that: In response to the positive response instruction sent by the OTA platform, before sending the upgrade request instruction to the OTA platform, the method includes: Determine whether the current network status of the vehicle meets the preset network status; If the current network status meets the preset network status, an upgrade request instruction is sent to the OTA platform.
6. The OTA upgrade method according to claim 4, characterized in that: Sending an upgrade request instruction to the OTA platform, and, in response to the upgrade instruction sent by the OTA platform, upgrading the ECU to be upgraded, including: Sending an nth request upgrade instruction to the OTA platform, so that the OTA platform parses the files to be upgraded in the upgrade task and sends the upgrade instruction to the OTA controller; In response to the nth upgrade instruction sent by the OTA platform, the nth upgrade instruction is sent to the ECU to be upgraded, so that the ECU to be upgraded is upgraded based on the nth upgrade instruction; the nth upgrade instruction includes the nth message information parsed from the file to be upgraded of the task to be upgraded; Wherein, n is a positive integer greater than or equal to 1.
7. An OTA upgrade system, characterized in that: It includes an OTA platform and an OTA controller, wherein the OTA platform is configured to execute the OTA upgrade method described in any one of claims 1-3, and the OTA controller is configured to execute the OTA upgrade method described in any one of claims 4-6.
8. An OTA platform, characterized in that: The OTA platform is used to execute the OTA upgrade method described in any one of claims 1-3 above.
9. An OTA controller, characterized in that: The OTA controller is used to execute the OTA upgrade method described in any one of claims 4-6 above.
10. A vehicle, characterized in that: Comprising the OTA controller as claimed in claim 9.
