Upgrading method of vehicle controller, electronic equipment, storage medium and program product
By obtaining vehicle battery information to determine the upgrade method of the vehicle controller, the problem of low power or power feeding caused by unreasonable power supply types in the prior art is solved, and the success rate and user experience of vehicle controller upgrades are improved.
Patent Information
- Application Number
- CN202510134917.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-07
- Publication Date
- 2025-03-07
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the prior art, vehicle controllers rely on battery power when upgrading, which can easily lead to low battery power or feeding problems, affecting the upgrade success rate and user experience.
By obtaining the high-voltage battery information and low-voltage battery information of the vehicle, determining and displaying the controller upgrade method of the vehicle controller, and selecting the appropriate power supply type for upgrading to avoid excessive power supply or power feeding problems.
Improve the success rate and user experience of vehicle controller upgrades, ensuring the stability and safety of the upgrade process.
Smart Images

Figure CN119576374A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and in particular to an upgrading method, electronic device, storage medium and program product of a vehicle controller. Background Art
[0002] As the automotive industry continues to advance in intelligence, OTA (Over-The-Air) technology makes automotive software updates more frequent.
[0003] In the prior art, when upgrading a vehicle controller, the vehicle controller is usually powered by a battery in the vehicle.
[0004] However, powering the vehicle controller only through a battery may cause the battery to be too low or even to fail to supply power, thereby affecting the success rate of upgrading the vehicle controller and user experience. Summary of the invention
[0005] The embodiments of the present application provide a vehicle controller upgrade method, electronic device, storage medium and program product to achieve the effect of improving the success rate of vehicle controller upgrade and user experience.
[0006] In a first aspect, an embodiment of the present application provides a method for upgrading a vehicle controller, comprising:
[0007] In response to an upgrade request from a vehicle controller, battery information of the vehicle is acquired; wherein the battery information includes high-voltage battery information and low-voltage battery information; the upgrade request from the vehicle controller includes a software upgrade package;
[0008] Determine and display a controller upgrade mode of the vehicle controller according to the high-voltage battery information and the low-voltage battery information; wherein the controller upgrade mode indicates a power supply type when performing a software upgrade on the vehicle controller;
[0009] The vehicle controller is upgraded according to the controller upgrade mode of the vehicle controller and the software upgrade package.
[0010] In one possible implementation, the high-voltage battery information indicates the high-voltage battery power; the low-voltage battery information indicates the low-voltage battery power; based on the high-voltage battery information and the low-voltage battery information, a controller upgrade method for the vehicle controller is determined and displayed, including: based on the high-voltage battery power indicated by the high-voltage battery information, and the low-voltage battery power indicated by the low-voltage battery information, a controller upgrade method for the vehicle controller is determined and displayed.
[0011] In a possible implementation, the controller upgrade mode of the vehicle controller is determined and displayed according to the high-voltage battery power indicated by the high-voltage battery information and the low-voltage battery power indicated by the low-voltage battery information, including: if the high-voltage battery information indicates that the high-voltage battery power is greater than or equal to the first high-voltage power threshold, then determining and displaying that the controller upgrade modes of the vehicle controller are all high-voltage upgrade modes; if the high-voltage battery information indicates that the high-voltage battery power is less than or equal to the second high-voltage power threshold, and the low-voltage battery information indicates that the low-voltage battery power is greater than or equal to the first low-voltage power threshold, then determining and displaying that the controller upgrade modes of the vehicle controller are all low-voltage upgrade modes; wherein the first high-voltage power threshold is greater than the second high-voltage power threshold; if the high-voltage battery information indicates that the high-voltage battery power is less than the first high-voltage power threshold, and the low-voltage battery information indicates that the low-voltage battery power is less than or equal to the second low-voltage power threshold, then suspending the upgrade process of the vehicle controller; wherein the first low-voltage power threshold is greater than the second low-voltage power threshold.
[0012] In a possible implementation, a controller upgrade mode of the vehicle controller is determined and displayed based on the high-voltage battery power indicated by the high-voltage battery information and the low-voltage battery power indicated by the low-voltage battery information, including: if the high-voltage battery information indicates that the high-voltage battery power is less than a first high-voltage power threshold and greater than a second high-voltage power threshold, and the low-voltage battery information indicates that the low-voltage battery power is greater than the second low-voltage power threshold, then based on the high-voltage battery power indicated by the high-voltage battery information, the controller upgrade mode of at least one vehicle controller is determined and displayed as a high-voltage upgrade mode; wherein the first high-voltage power threshold is greater than the second high-voltage power threshold; wherein, after the high-voltage battery supplies power for the upgrade processing of the vehicle controller of the determined high-voltage upgrade mode, the remaining high-voltage power The battery power is greater than the second high-voltage power threshold; when it is determined according to the low-voltage battery power indicated by the low-voltage battery information that the remaining low-voltage battery power is greater than or equal to the second low-voltage power threshold after the low-voltage battery is powered for the upgrade processing of other vehicle controllers, the controller upgrade mode of other vehicle controllers is determined and displayed as the low-voltage upgrade mode; when it is determined according to the low-voltage battery power indicated by the low-voltage battery information that the remaining low-voltage battery power is less than the second low-voltage power threshold after the low-voltage battery is powered for the upgrade processing of other vehicle controllers, the upgrade processing of the vehicle controller is suspended; wherein the vehicle controller is a power vehicle controller or a non-power vehicle controller; the vehicle controllers determined to be in low-voltage upgrade mode include the power vehicle controller.
[0013] In one possible implementation, the software upgrade package includes a vehicle controller upgrade package; and the vehicle controller is upgraded according to the controller upgrade method of the vehicle controller and the software upgrade package, including: if it is determined that the controller upgrade method of the vehicle controller is a low-voltage upgrade method, the entire vehicle is controlled to enter a low-voltage control state, and the vehicle controller upgrade package is sent to the corresponding vehicle controller to upgrade the vehicle controller.
[0014] In a possible implementation, the software upgrade package includes a vehicle controller upgrade package; the vehicle controller is upgraded according to the controller upgrade mode of the vehicle controller and the software upgrade package, including: if the controller upgrade mode of at least one vehicle controller is determined to be a high-voltage upgrade mode, and the controller upgrade mode of other vehicle controllers is determined to be a low-voltage upgrade mode, the entire vehicle is first controlled to enter a low / high-voltage control state, and the vehicle controller upgrade package of the vehicle controller in the low / high-voltage upgrade mode is sent to the corresponding vehicle controller to upgrade the vehicle controller in the low / high-voltage upgrade mode; after the upgrade of the vehicle controller in the low / high-voltage upgrade mode is completed, the entire vehicle is controlled to enter another voltage control state, and the vehicle controller upgrade package of the vehicle controller in another controller upgrade mode is sent to the corresponding vehicle controller to upgrade the vehicle controller in another controller upgrade mode; wherein the vehicle controller is a power vehicle controller or a non-power vehicle controller; the vehicle controller determined to be in the low-voltage upgrade mode includes the power vehicle controller.
[0015] In one possible implementation, the software upgrade package includes a vehicle controller upgrade package; and according to the controller upgrade method of the vehicle controller and the software upgrade package, the vehicle controller is upgraded, including: if it is determined that the controller upgrade methods of the vehicle controllers are all high-voltage upgrade methods, the entire vehicle is controlled to enter a high-voltage control state, and the vehicle controller upgrade package is sent to the corresponding vehicle controller to upgrade the vehicle controller.
[0016] In one possible implementation, the vehicle controller is a power vehicle controller or a non-power vehicle controller; the power vehicle controller includes a main partition and a secondary partition; controlling the entire vehicle to enter a high-voltage control state, and sending a vehicle controller upgrade package to the corresponding vehicle controller to perform an upgrade process on the vehicle controller, including: sending a high-voltage maintenance request to the main partition of the power vehicle controller to control the entire vehicle to enter a high-voltage control state; sending a vehicle controller upgrade package of the non-power vehicle controller to the corresponding non-power vehicle controller to perform an upgrade process on the non-power vehicle controller; and sending a vehicle controller upgrade package of the power vehicle controller to the secondary partition of the corresponding power vehicle controller to perform an upgrade process on the power vehicle controller; after determining that all vehicle controllers have completed the upgrade process, sending a partition switching request to the power vehicle controller so that each of the power vehicle controllers performs a partition switching process.
[0017] In a possible embodiment, the method further includes: storing the acquired battery information of the vehicle, the determined controller upgrade method of the vehicle controller, and the result of the upgrade process in the operation log of the gateway.
[0018] In a possible implementation, the method further includes: receiving a controller upgrade list sent from the cloud; wherein the controller upgrade list indicates a control upgrade method of a vehicle controller; and performing an upgrade process on the vehicle controller according to the controller upgrade method of the vehicle controller indicated by the controller upgrade list and the software upgrade package.
[0019] In one possible implementation, the vehicle controller is upgraded according to the controller upgrade method of the vehicle controller and the software upgrade package indicated by the controller upgrade list, including: verifying the controller upgrade list according to the low-voltage battery information and the high-voltage battery information; if the verification passes, upgrading the vehicle controller according to the controller upgrade method of the vehicle controller and the software upgrade package indicated by the controller upgrade list; if the verification fails, correcting the controller upgrade list according to the low-voltage battery information and the high-voltage battery information, and upgrading the vehicle controller according to the controller upgrade method of the vehicle controller and the software upgrade package indicated by the corrected controller upgrade list; or, if the verification fails, generating and presenting a prompt message indicating that the verification failed.
[0020] In a possible implementation manner, the controller upgrade list is determined by the cloud after acquiring the battery information based on the high-voltage battery information and the low-voltage battery information in the battery information.
[0021] In a second aspect, an embodiment of the present application provides an upgrade device for a vehicle controller, comprising:
[0022] An acquisition module, configured to acquire battery information of the vehicle in response to an upgrade request of the vehicle controller; wherein the battery information includes high-voltage battery information and low-voltage battery information; and the upgrade request of the vehicle controller includes a software upgrade package;
[0023] A determination module, configured to determine and display a controller upgrade mode of the vehicle controller according to the high-voltage battery information and the low-voltage battery information; wherein the controller upgrade mode indicates a power supply type when performing a software upgrade on the vehicle controller;
[0024] An upgrade module is used to perform upgrade processing of the vehicle controller according to the controller upgrade method of the vehicle controller and the software upgrade package.
[0025] In a third aspect, an embodiment of the present application provides an electronic device, including: a memory, a processor;
[0026] The memory stores computer-executable instructions;
[0027] The processor executes the computer-executable instructions stored in the memory, so that the processor executes the above first aspect and / or various possible implementations of the first aspect.
[0028] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the first aspect above and / or various possible implementations of the first aspect.
[0029] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the above first aspect and / or various possible implementation methods of the first aspect.
[0030] In a sixth aspect, an embodiment of the present application provides a vehicle, comprising an electronic device that implements the first aspect above and / or various possible implementations of the first aspect.
[0031] The vehicle controller upgrade method, electronic device, storage medium and program product provided in the embodiments of the present application obtain the battery information of the vehicle in response to the upgrade request of the vehicle controller, determine and display the controller upgrade method of the vehicle controller according to the high-voltage battery information and the low-voltage battery information, and perform the upgrade process of the vehicle controller according to the controller upgrade method and the software upgrade package of the vehicle controller, wherein before upgrading the vehicle control, the controller upgrade method of the vehicle controller is first determined according to the battery information of the vehicle, thereby avoiding problems such as low power or power feeding caused by unreasonable setting of the controller upgrade method, thereby improving the success rate of the vehicle controller upgrade and user experience, wherein, in the process of determining the controller upgrade method of the vehicle controller, based on the high-voltage battery information and the low-voltage battery information, a more comprehensive consideration is taken, so that the determined controller upgrade method is more reasonable, further improving the success rate of the vehicle controller upgrade and user experience, based on the above description, the vehicle controller upgrade method provided in the embodiments of the present application improves the success rate of the vehicle controller upgrade and user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0033] Figure 1 The process diagram of the vehicle controller upgrade method provided in this application is as follows Figure 1 ;
[0034] Figure 2 The process diagram of the vehicle controller upgrade method provided in this application is as follows Figure 2 ;
[0035] Figure 3 The process diagram of the vehicle controller upgrade method provided in this application is as follows Figure 3 ;
[0036] Figure 4 A schematic diagram of the structure of the upgrade device for the vehicle controller provided in this application;
[0037] Figure 5 A schematic diagram of the structure of the electronic device provided in this application.
[0038] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0039] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0040] In the prior art, when upgrading a vehicle controller, the vehicle controller is usually powered by a battery in the vehicle. However, powering the vehicle controller only by a battery may cause the battery to be too low or even power failure, thereby affecting the success rate of the vehicle controller upgrade and the user experience.
[0041] The vehicle controller upgrade method provided in the present application obtains the battery information of the vehicle in response to the upgrade request of the vehicle controller, determines and displays the controller upgrade mode of the vehicle controller according to the high-voltage battery information and the low-voltage battery information, and performs the upgrade process of the vehicle controller according to the controller upgrade mode and the software upgrade package of the vehicle controller, wherein before upgrading the vehicle control, the controller upgrade mode of the vehicle controller is first determined according to the battery information of the vehicle, thereby avoiding problems such as low power or power feeding caused by unreasonable setting of the controller upgrade mode, thereby improving the success rate of the vehicle controller upgrade and the user experience, wherein, in the process of determining the controller upgrade mode of the vehicle controller, the high-voltage battery information and the low-voltage battery information are considered more comprehensively, so that the determined controller upgrade mode is more reasonable, further improving the success rate of the vehicle controller upgrade and the user experience, based on the above description, the vehicle controller upgrade method provided in the embodiment of the present application improves the success rate of the vehicle controller upgrade and the user experience.
[0042] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0043] Figure 1 The process diagram of the vehicle controller upgrade method provided in this application is as follows Figure 1 The execution subject is the vehicle gateway or server, which can generally be implemented through software, hardware, or a combination of software and hardware. Figure 1 As shown, the method includes:
[0044] Step S101: In response to an upgrade request from a vehicle controller, obtain battery information of the vehicle.
[0045] Specifically, in response to an upgrade request from a vehicle controller, the battery information of the vehicle can be obtained. The upgrade request from the vehicle controller indicates that the vehicle controller is to be upgraded, and this application does not limit the upgrade request from the vehicle controller, and any request that can indicate that the vehicle controller is to be upgraded can be used as the upgrade request from the vehicle controller provided in this application. The upgrade request from the vehicle controller includes a software upgrade package. Optionally, the upgrade request from the vehicle controller includes, but is not limited to, the software upgrade package required for the upgrade described above, and may also include other possible relevant information, such as upgrade type, target version, and other information.
[0046] Among them, the battery information of the vehicle is information that characterizes the state of the battery in the vehicle. Optionally, the information that characterizes the state of the battery in the vehicle includes, but is not limited to, remaining power, charging state, state of health (SOH), temperature and other information. Among them, the battery information includes high-voltage battery information and low-voltage battery information. Specifically, a high-voltage battery usually refers to a battery with a voltage of more than 200V. There are also claims that its voltage is usually between 300 and 400V. High-voltage batteries are one of the core components of electric vehicles and are used to store and provide the electrical energy required to drive the motor. Its characteristics include large capacity, long driving range and fast charging capabilities. It is the key to achieving efficient and long-distance driving for electric vehicles. A low-voltage battery refers to a battery with a voltage of about 12V, which is usually used to power the vehicle's auxiliary systems and electronic equipment.
[0047] Among them, this application does not limit the process of obtaining the battery information of the vehicle in response to the upgrade request of the vehicle controller. Optionally, in response to the upgrade request of the vehicle controller, the battery management system (BMS) of the vehicle can be communicated to obtain the battery information of the vehicle. Optionally, after obtaining the battery information of the vehicle, the obtained battery information can also be verified to ensure its accuracy. Optionally, the battery information can also be recorded in a log for subsequent analysis and troubleshooting.
[0048] Step S102: Determine and display a controller upgrade method of the vehicle controller according to the high-voltage battery information and the low-voltage battery information.
[0049] Specifically, according to the high-voltage battery information and the low-voltage battery information obtained in step S101, the controller upgrade mode of the vehicle controller can be determined and displayed. Among them, the controller upgrade mode indicates the power supply type when the vehicle controller is software upgraded. Optionally, the controller upgrade mode is a low-voltage upgrade mode or a high-voltage upgrade mode. The power supply type includes a high-voltage power supply type and a low-voltage power supply type. Among them, the power supply type indicated by the low-voltage upgrade mode when the vehicle controller connected to the vehicle bus is software upgraded is a low-voltage power supply type. The power supply type indicated by the high-voltage upgrade mode when the vehicle controller connected to the vehicle bus is software upgraded is a high-voltage power supply type.
[0050] Among them, the present application does not limit the process of displaying the upgrade method of the vehicle controller. Optionally, the upgrade method of the vehicle controller can be displayed in the operation log of the gateway. Optionally, the upgrade method of the vehicle controller can also be displayed in the user interface.
[0051] Among them, the present application does not limit the process of determining and displaying the controller upgrade method of the vehicle controller according to the high-voltage battery information and the low-voltage battery information. Based on the description of the battery information in step S101, the process of determining and displaying the controller upgrade method of the vehicle controller according to the high-voltage battery information and the low-voltage battery information corresponds to the information indicated by the high-voltage battery information and the low-voltage battery information. Optionally, if the information indicated by the high-voltage battery information and the low-voltage battery information is power information, the controller upgrade method of the vehicle controller can be determined and displayed according to the power information indicated by the high-voltage battery information and the low-voltage battery information.
[0052] Step S103: performing an upgrade process on the vehicle controller according to the controller upgrade mode and software upgrade package of the vehicle controller.
[0053] Specifically, the upgrade process of the vehicle controller may be performed according to the controller upgrade mode of the vehicle controller determined and displayed in step S102 and the software upgrade package included in the upgrade request of the vehicle controller.
[0054] The present application does not limit the process of upgrading the vehicle controller according to the controller upgrade mode and software upgrade package of the vehicle controller. The vehicle controller can be powered by the power supply type indicated by the controller upgrade mode when performing software upgrade on the vehicle controller, and then the upgrade package of the vehicle controller is sent to the corresponding vehicle controller to upgrade the vehicle controller. If the controller upgrade mode of the vehicle controller determined in step S102 is two modes, the above process is repeated twice based on different controller upgrade modes.
[0055] If all vehicle controllers in the vehicle have completed the upgrade process through the upgrade process described above, it is determined that the vehicle controllers of the entire vehicle have completed the upgrade process.
[0056] Optionally, after determining that the vehicle controller of the entire vehicle has completed the upgrade process, a prompt message indicating that the upgrade has been completed may be generated and presented.
[0057] Optionally, during the upgrade process described above, if one or more vehicle controllers fail to upgrade, a prompt message of upgrade failure can be generated and presented, wherein the prompt message of upgrade failure indicates the identifier of the vehicle controller that failed to upgrade, and the prompt message of upgrade failure also indicates the reason for the failure of the vehicle controller.
[0058] The vehicle controller upgrade method provided in the embodiment of the present application obtains the battery information of the vehicle in response to the upgrade request of the vehicle controller, determines and displays the controller upgrade mode of the vehicle controller according to the high-voltage battery information and the low-voltage battery information, and performs the upgrade process of the vehicle controller according to the controller upgrade mode and the software upgrade package of the vehicle controller, wherein before upgrading the vehicle control, the controller upgrade mode of the vehicle controller is first determined according to the battery information of the vehicle, thereby avoiding problems such as low power or power feeding caused by unreasonable setting of the controller upgrade mode, thereby improving the success rate of the vehicle controller upgrade and the user experience, wherein, in the process of determining the controller upgrade mode of the vehicle controller, the high-voltage battery information and the low-voltage battery information are considered more comprehensively, so that the determined controller upgrade mode is more reasonable, further improving the success rate of the vehicle controller upgrade and the user experience, based on the above description, the vehicle controller upgrade method provided in the embodiment of the present application improves the success rate of the vehicle controller upgrade and the user experience.
[0059] In a possible embodiment, the high-voltage battery information indicates the power of the high-voltage battery, and the low-voltage battery information indicates the power of the low-voltage battery, wherein the power of the high-voltage battery refers to the power stored in the high-voltage battery, and the power of the low-voltage battery refers to the power stored in the low-voltage battery.
[0060] Specifically, according to the description in step S102, the process of determining and displaying the controller upgrade method of the vehicle controller according to the high-voltage battery information and the low-voltage battery information corresponds to the information indicated by the battery information. Optionally, if the high-voltage battery information indicates the high-voltage battery power and the low-voltage battery information indicates the low-voltage battery power, the process of determining and displaying the controller upgrade method of the vehicle controller according to the high-voltage battery information and the low-voltage battery information may include: determining and displaying the controller upgrade method of the vehicle controller according to the high-voltage battery power indicated by the high-voltage battery information, and the low-voltage battery power indicated by the low-voltage battery information.
[0061] Among them, the present application does not limit the process of determining and displaying the controller upgrade method of the vehicle controller based on the high-voltage battery power indicated by the high-voltage battery information and the low-voltage battery power indicated by the low-voltage battery information.
[0062] Optionally, at least one low-voltage battery threshold and at least one high-voltage battery threshold may be set first, and then the controller upgrade mode of the vehicle controller may be determined and displayed according to the relationship between the high-voltage battery power indicated by the high-voltage battery information and the low-voltage battery power indicated by the low-voltage battery information and the set thresholds, so as to complete the upgrade of the vehicle controller.
[0063] Optionally, a pre-calibrated mapping relationship may be obtained, wherein the pre-calibrated mapping relationship indicates a correspondence between the low-voltage battery power, the high-voltage battery power, and the controller upgrade mode of the vehicle controller. The pre-calibrated mapping relationship corresponds to vehicle information such as vehicle model and vehicle configuration, wherein the vehicle configuration includes but is not limited to configuration information such as vehicle controller configuration and vehicle battery configuration.
[0064] Among them, among all the information indicated in the battery information, the battery power has the greatest impact on the upgrade process of the vehicle controller. Therefore, when determining and displaying the controller upgrade method of the vehicle controller based on the high-voltage battery information and the low-voltage battery information, if the high-voltage battery power indicated by the high-voltage battery information and the low-voltage battery power indicated by the low-voltage battery information are used, the controller upgrade method of the vehicle controller can be determined more accurately, further improving the success rate of the vehicle controller upgrade and the user experience.
[0065] In a possible embodiment, the vehicle controller upgrade method further includes: storing the acquired vehicle battery information, the determined controller upgrade method of the vehicle controller, and the result of the upgrade process in the operation log of the gateway.
[0066] The operation log of the gateway is used to store data during the operation of the gateway. Therefore, when the gateway executes the vehicle controller upgrade method provided by the present application, the battery information of the vehicle obtained during the upgrade process of the vehicle controller, the determined controller upgrade method of the vehicle controller, and the result of the upgrade process can be stored in the operation log of the gateway.
[0067] Figure 2 The process diagram of the vehicle controller upgrade method provided in this application is as follows Figure 2 ,like Figure 2 As shown, in this embodiment Figure 1 Based on the embodiment, a process of determining and displaying a controller upgrade mode of a vehicle controller according to the high-voltage battery power indicated by the high-voltage battery information and the low-voltage battery power indicated by the low-voltage battery information is described in detail. The method includes:
[0068] Step S201: If the high-voltage battery information indicates that the power level of the high-voltage battery is greater than or equal to a first high-voltage power level threshold, it is determined and displayed that the controller upgrade mode of the vehicle controller is a high-voltage upgrade mode.
[0069] Specifically, if the high-voltage battery information indicates that the power of the high-voltage battery is greater than or equal to the first high-voltage power threshold, it can be determined and displayed that the controller upgrade mode of the vehicle controller is a high-voltage upgrade mode.
[0070] The first high-voltage power threshold is a power threshold at which the pre-calibrated high-voltage battery can support all vehicle controllers in the vehicle to complete the controller upgrade process and still ensure the normal operation of the vehicle after the upgrade. The first high-voltage power threshold corresponds to vehicle information such as vehicle model and vehicle configuration.
[0071] Among them, if the high-voltage battery information indicates that the high-voltage battery power is greater than or equal to the first high-voltage power threshold, it is determined that no matter how much the low-voltage battery power indicated by the low-voltage battery is, the power of the high-voltage battery can support all vehicle controllers in the vehicle to complete the controller upgrade processing. Therefore, it can be determined and displayed that the controller upgrade method of the vehicle controller is the high-voltage upgrade method.
[0072] Step S202: If the high-voltage battery information indicates that the high-voltage battery power is less than or equal to the second high-voltage power threshold, and the low-voltage battery information indicates that the low-voltage battery power is greater than or equal to the first low-voltage power threshold, it is determined and displayed that the controller upgrade mode of the vehicle controller is the low-voltage upgrade mode.
[0073] Specifically, if the high-voltage battery information indicates that the high-voltage battery power is less than or equal to the second high-voltage power threshold, and the low-voltage battery information indicates that the low-voltage battery power is greater than or equal to the first low-voltage power threshold, it can be determined and displayed that the controller upgrade method of the vehicle controller is a low-voltage upgrade method.
[0074] The second high-voltage power threshold is a power threshold at which the pre-calibrated high-voltage battery cannot supply power to the vehicle controller during the upgrade process of the vehicle controller. If the power of the high-voltage battery is less than the second high-voltage power threshold, the normal operation of the vehicle cannot be guaranteed. The second high-voltage power threshold corresponds to vehicle information such as vehicle model and vehicle configuration. The first high-voltage power threshold is greater than the second high-voltage power threshold.
[0075] Among them, if the high-voltage battery information indicates that the high-voltage battery power is less than or equal to the second high-voltage power threshold, it is determined that the high-voltage battery cannot power the vehicle controller during the upgrade process of the vehicle controller. Therefore, it can be determined in combination with the low-voltage battery power indicated by the low-voltage battery information.
[0076] The first low-voltage power threshold is a power threshold at which the pre-calibrated low-voltage battery can support all vehicle controllers in the vehicle to complete the controller upgrade process, and can still ensure the normal operation of the vehicle after the upgrade. The first low-voltage power threshold corresponds to vehicle information such as vehicle model and vehicle configuration. If the low-voltage battery information indicates that the low-voltage battery power is greater than or equal to the first low-voltage power threshold, it is determined that no matter how much high-voltage battery power is indicated by the high-voltage battery, the power of the low-voltage battery can support all vehicle controllers in the vehicle to complete the controller upgrade process.
[0077] Therefore, based on the above description, when the high-voltage battery information indicates that the high-voltage battery power is less than or equal to the second high-voltage power threshold, if the low-voltage battery information indicates that the low-voltage battery power is greater than or equal to the first low-voltage power threshold, it can be determined and displayed that the controller upgrade method of the vehicle controller is a low-voltage upgrade method.
[0078] Step S203: If the high-voltage battery information indicates that the high-voltage battery power is less than the first high-voltage power threshold, and the low-voltage battery information indicates that the low-voltage battery power is less than or equal to the second low-voltage power threshold, then suspend the upgrade process of the vehicle controller.
[0079] Specifically, if the high-voltage battery information indicates that the high-voltage battery power is less than a first high-voltage power threshold, and the low-voltage battery information indicates that the low-voltage battery power is less than or equal to a second low-voltage power threshold, the upgrade process of the vehicle controller can be suspended.
[0080] The first high-voltage power threshold is greater than the second high-voltage power threshold. For the description of the first high-voltage power threshold, reference can be made to the description in step S201, which will not be repeated here. For the description of the second high-voltage power threshold, reference can be made to the description in step S202, which will not be repeated here.
[0081] The second low-voltage power threshold is a power threshold at which the pre-calibrated low-voltage battery cannot power the vehicle controller during the upgrade process of the vehicle controller. If the low-voltage battery power is less than the second low-voltage power threshold, the normal operation of the vehicle cannot be guaranteed. The second low-voltage power threshold corresponds to vehicle information such as vehicle model and vehicle configuration. The first low-voltage power threshold is greater than the second low-voltage power threshold.
[0082] Specifically, based on the description of the first high-voltage power threshold, when the high-voltage battery information indicates that the high-voltage battery power is less than the first high-voltage power threshold, it can be determined that the high-voltage battery cannot support all vehicle controllers in the vehicle to complete the controller upgrade process. At this time, the low-voltage battery power indicated by the low-voltage battery information is determined. If it is determined that the low-voltage battery information indicates that the low-voltage battery power is less than or equal to the second low-voltage power threshold, it is determined that the low-voltage battery cannot power the vehicle controller during the upgrade process of the vehicle controller. Therefore, based on the above description, it is determined that the high-voltage battery and the low-voltage battery cannot support all vehicle controllers in the vehicle to complete the controller upgrade process, and the upgrade process of the vehicle controller can be suspended.
[0083] Optionally, in response to an upgrade request from the next vehicle controller, if it is determined that the high-voltage battery and the low-voltage battery can support all vehicle controllers in the vehicle to complete the controller upgrade process, the upgrade process of the vehicle controller can be resumed.
[0084] Optionally, while the upgrade process of the vehicle controller is suspended, a prompt message indicating that the upgrade of the vehicle controller has failed can be generated and presented. Optionally, the prompt message indicating that the upgrade of the vehicle controller has failed generated and presented here can present the reason for the upgrade failure. Optionally, the prompt message indicating that the upgrade of the vehicle controller has failed generated and presented here can also include a recommended upgrade sequence for the vehicle controller, so that the user can select some vehicle controllers to be upgraded first, thereby improving the user's upgrade experience.
[0085] Among them, in the determination process described in step S201, if it is determined that the high-voltage battery can support all vehicle controllers in the vehicle to complete the controller upgrade process, then the controller upgrade methods of the vehicle controllers are determined and displayed to be high-voltage upgrade methods, which can improve the efficiency of the vehicle controller upgrade on the basis of improving the success rate of the vehicle controller upgrade and user experience. In the determination process described in step S202, if it is determined that the high-voltage battery cannot power the vehicle controller during the upgrade process of the vehicle controller, the low-voltage battery power indicated by the low-voltage battery information is confirmed, and if it is determined that the low-voltage battery can support all vehicle controllers in the vehicle to complete the controller upgrade process, then the controller upgrade methods of the vehicle controllers are determined and displayed to be low-voltage upgrade methods, which can further improve the success rate and user experience of the vehicle controller upgrade. In the determination process described in step S203, if it is determined that the high-voltage battery can only support some vehicle controllers in the vehicle to complete the controller upgrade process, but the low-voltage battery cannot power the vehicle controller during the upgrade process of the vehicle controller, then the upgrade process of the vehicle controller is suspended, which improves the safety and user experience of the vehicle controller upgrade. In summary, the efficiency, success rate, safety and user experience of the vehicle controller upgrade are improved.
[0086] Step S204: If the high-voltage battery information indicates that the high-voltage battery power is less than the first high-voltage power threshold and greater than the second high-voltage power threshold, and the low-voltage battery information indicates that the low-voltage battery power is greater than the second low-voltage power threshold, then according to the high-voltage battery power indicated by the high-voltage battery information, the controller upgrade mode of at least one vehicle controller is determined and displayed as the high-voltage upgrade mode.
[0087] Specifically, if the high-voltage battery information indicates that the high-voltage battery power is less than a first high-voltage power threshold and greater than a second high-voltage power threshold, and the low-voltage battery information indicates that the low-voltage battery power is greater than the second low-voltage power threshold, then the controller upgrade mode of at least one vehicle controller can be determined and displayed as a high-voltage upgrade mode based on the high-voltage battery power indicated by the high-voltage battery information.
[0088] For the description of the first high-voltage power threshold, please refer to the description in step S201, which will not be repeated here. For the description of the second high-voltage power threshold, please refer to the description in step S202, which will not be repeated here. For the description of the second low-voltage power threshold, please refer to the description in step S203, which will not be repeated here. The first high-voltage power threshold is greater than the second high-voltage power threshold.
[0089] Specifically, when the high-voltage battery information indicates that the high-voltage battery power is less than the first high-voltage power threshold and greater than the second high-voltage power threshold, it can be determined that the high-voltage battery can support some vehicle controllers in the vehicle to complete the controller upgrade process. On this basis, if the low-voltage battery information indicates that the low-voltage battery power is greater than the second low-voltage power threshold, it can be determined that the low-voltage battery can at least support some vehicle controllers in the vehicle to complete the controller upgrade process. Therefore, based on the above description, the controller upgrade mode of at least one vehicle controller can be determined and displayed as a high-voltage upgrade mode based on the high-voltage battery power indicated by the high-voltage battery information.
[0090] Among them, after the high-voltage battery supplies power for the upgrade process of the vehicle controller in the determined high-voltage upgrade mode, the remaining high-voltage battery power is greater than the second high-voltage power threshold. That is, when determining the number and type of vehicle controllers in the high-voltage upgrade mode according to the high-voltage battery power indicated by the high-voltage battery information, it is necessary to ensure that after the high-voltage battery supplies power for the upgrade process of the vehicle controller in the determined high-voltage upgrade mode, the remaining high-voltage battery power can still ensure the normal operation of the vehicle.
[0091] Step S205, when it is determined based on the low-voltage battery power indicated by the low-voltage battery information that the remaining low-voltage battery power after the low-voltage battery is powered for the upgrade processing of other vehicle controllers is greater than or equal to the second low-voltage power threshold, the controller upgrade mode of other vehicle controllers is determined and displayed as the low-voltage upgrade mode.
[0092] Specifically, as described in step S204, if the high-voltage battery information indicates that the high-voltage battery power is less than a first high-voltage power threshold and greater than a second high-voltage power threshold, and the low-voltage battery information indicates that the low-voltage battery power is greater than a second low-voltage power threshold, then according to the high-voltage battery power indicated by the high-voltage battery information, after the controller upgrade mode of at least one vehicle controller is determined to be the high-voltage upgrade mode, it can be determined according to the low-voltage battery power indicated by the low-voltage battery information whether the remaining low-voltage battery power after the low-voltage battery supplies power for the upgrade processing of other vehicle controllers is greater than or equal to the second low-voltage power threshold, that is, whether the remaining low-voltage battery power after the low-voltage battery completes the upgrade processing of other vehicle controllers can ensure the normal operation of the vehicle.
[0093] Among them, according to the low-voltage battery power indicated by the low-voltage battery information, it is determined that after the low-voltage battery supplies power for the upgrade processing of other vehicle controllers, the remaining low-voltage battery power is greater than or equal to the second low-voltage power threshold, that is, after the low-voltage battery completes the upgrade processing of other vehicle controllers, the remaining low-voltage battery power can ensure the normal operation of the vehicle, the controller upgrade mode of other vehicle controllers can be determined and displayed as a low-voltage upgrade mode.
[0094] Step S206: When it is determined based on the low-voltage battery power indicated by the low-voltage battery information that the remaining low-voltage battery power after the low-voltage battery supplies power for the upgrade process of other vehicle controllers is less than a second low-voltage power threshold, the upgrade process of the vehicle controller is suspended.
[0095] Specifically, as described in step S204, if the high-voltage battery information indicates that the high-voltage battery power is less than a first high-voltage power threshold and greater than a second high-voltage power threshold, and the low-voltage battery information indicates that the low-voltage battery power is greater than a second low-voltage power threshold, then according to the high-voltage battery power indicated by the high-voltage battery information, after the controller upgrade mode of at least one vehicle controller is determined to be the high-voltage upgrade mode, it can be determined according to the low-voltage battery power indicated by the low-voltage battery information whether the remaining low-voltage battery power after the low-voltage battery supplies power for the upgrade processing of other vehicle controllers is greater than or equal to the second low-voltage power threshold, that is, whether the remaining low-voltage battery power after the low-voltage battery completes the upgrade processing of other vehicle controllers can ensure the normal operation of the vehicle.
[0096] Among them, according to the low-voltage battery power indicated by the low-voltage battery information, it is determined that after the low-voltage battery has supplied power to the upgrade processing of other vehicle controllers, the remaining low-voltage battery power is less than the second low-voltage power threshold, that is, after the low-voltage battery has completed the upgrade processing of other vehicle controllers, when the remaining low-voltage battery power cannot guarantee the normal operation of the vehicle, the upgrade processing of the vehicle controller can be suspended.
[0097] Optionally, in response to an upgrade request from the next vehicle controller, if it is determined that the high-voltage battery and the low-voltage battery can support all vehicle controllers in the vehicle to complete the controller upgrade process, the upgrade process of the vehicle controller can be resumed.
[0098] Optionally, while the upgrade process of the vehicle controller is suspended, a prompt message indicating that the upgrade of the vehicle controller has failed can be generated and presented. Optionally, the prompt message indicating that the upgrade of the vehicle controller has failed generated and presented here can present the reason for the upgrade failure. Optionally, the prompt message indicating that the upgrade of the vehicle controller has failed generated and presented here can also include a recommended upgrade sequence for the vehicle controller, so that the user can select some vehicle controllers to be upgraded first, thereby improving the user's upgrade experience.
[0099] In the determination process described in step S204, if it is determined that the high-voltage battery cannot support all vehicle controllers in the vehicle to complete the controller upgrade process, but the low-voltage battery at least supports some vehicle controllers to complete the controller upgrade process, then the controller upgrade mode of at least one vehicle controller can be determined as the high-voltage upgrade mode according to the high-voltage battery power indicated by the high-voltage battery information, and then it is determined whether the low-voltage battery can support other vehicle controllers to complete the controller upgrade process. This further improves the success rate of vehicle controller upgrades and user experience.
[0100] Optionally, the vehicle controller is a power vehicle controller or a non-power vehicle controller. The power vehicle controller is a vehicle controller used to maintain the whole vehicle in a high-voltage control state. Optionally, the power controller includes but is not limited to at least one of a battery management controller, a motor controller, a whole vehicle controller, etc. The non-power vehicle controller is a vehicle controller other than the power vehicle controller.
[0101] Specifically, since the power vehicle controller needs to maintain the entire vehicle in a high-voltage control state, under normal circumstances, the power vehicle controller cannot be upgraded while maintaining the entire vehicle in a high-voltage control state. Therefore, the controller upgrade mode of the power vehicle control can be determined as a low-voltage upgrade mode, that is, in the process of determining the controller upgrade mode of some vehicle controllers as a low-voltage upgrade mode and determining the controller upgrade mode of other vehicle controllers as a high-voltage upgrade mode described in this step, the vehicle controllers determined as the low-voltage upgrade mode include the power vehicle controller.
[0102] Among them, in the process of determining the vehicle controller with a low-voltage upgrade method, the controller upgrade method of the power vehicle controller is preferentially determined as a low-voltage upgrade method, which can ensure the success rate of the power vehicle controller upgrade and further improve the success rate and user experience of the vehicle controller of the entire vehicle.
[0103] The embodiment of the present application provides a process for determining and displaying the controller upgrade mode of the vehicle controller according to the high-voltage battery power indicated by the high-voltage battery information and the low-voltage battery power indicated by the low-voltage battery information. If it is determined that the high-voltage battery can support all vehicle controllers in the vehicle to complete the controller upgrade process, then the controller upgrade modes of the vehicle controllers are determined and displayed to be high-voltage upgrade modes, which can improve the efficiency of the vehicle controller upgrade on the basis of improving the success rate of the vehicle controller upgrade and user experience. If it is determined that the high-voltage battery cannot power the vehicle controller during the upgrade process of the vehicle controller, the low-voltage battery power indicated by the low-voltage battery information is confirmed. If it is determined that the low-voltage battery can support all vehicle controllers in the vehicle to complete the controller upgrade process, then the controller upgrade modes of the vehicle controllers are determined and displayed to be low-voltage upgrade modes, which can further improve the success rate of the vehicle controller upgrade and user experience. If it is determined that the high-voltage battery can only support some vehicle controllers in the vehicle to complete the controller upgrade process, but the low-voltage battery cannot power the vehicle controller during the upgrade process of the vehicle controller, then the upgrade process of the vehicle controller is suspended, which improves the safety and user experience of the vehicle controller upgrade. If it is determined that the high-voltage battery cannot support all vehicle controllers in the vehicle to complete the controller upgrade process, but the low-voltage battery supports at least some vehicle controllers to complete the controller upgrade process, then the controller upgrade mode of at least one vehicle controller can be determined and displayed as a high-voltage upgrade mode based on the high-voltage battery power indicated by the high-voltage battery information, and then it is determined whether the low-voltage battery can support other vehicle controllers to complete the controller upgrade process. The success rate of vehicle controller upgrades and user experience are further improved. In summary of the above description, the process of determining and displaying the controller upgrade mode of a vehicle controller based on the high-voltage battery power indicated by the high-voltage battery information and the low-voltage battery power indicated by the low-voltage battery information provided in the embodiment of the present application further improves the success rate of vehicle controller upgrades and user experience.
[0104] Figure 3 The process diagram of the vehicle controller upgrade method provided in this application is as follows Figure 3 ,like Figure 3 As shown, in this embodiment Figure 1 or Figure 2 Based on the embodiment, a process of performing an upgrade process of a vehicle controller according to a controller upgrade mode and a software upgrade package of the vehicle controller is described in detail. The method includes:
[0105] Step S301: If it is determined that the controller upgrade mode of the vehicle controller is the high-voltage upgrade mode, the entire vehicle is controlled to enter a high-voltage control state, and a vehicle controller upgrade package is sent to the corresponding vehicle controller to perform an upgrade process on the vehicle controller.
[0106] Specifically, as in the determination process in step S201, if it is determined that the controller upgrade method of the vehicle controller is a high-voltage upgrade method, the entire vehicle is controlled to enter a high-voltage control state, and the vehicle controller upgrade package is sent to the corresponding vehicle controller to perform an upgrade process on the vehicle controller.
[0107] Among them, if it is determined that the controller upgrade method of the vehicle controller is all high-voltage upgrade method, then the whole vehicle can be controlled to enter a high-voltage control state so that all vehicle controllers meet the power supply type during software upgrade, that is, the high-voltage power supply type, thereby improving the efficiency of the vehicle controller upgrade.
[0108] Among them, based on the description of the power vehicle controller and the non-power vehicle controller in step S206, under normal circumstances, the power vehicle controller cannot be upgraded while maintaining the whole vehicle in a high-voltage control state. Therefore, the controller upgrade method of the power vehicle control needs to be determined as a low-voltage upgrade method. However, if, as described above, it is determined that the controller upgrade methods of the vehicle controllers are all high-voltage upgrade methods, that is, the controller upgrade method of the power vehicle controller is also a high-voltage upgrade method, then the processing method of the vehicle controller is as follows:
[0109] Optionally, the vehicle controller is a power vehicle controller or a non-power vehicle controller. The power vehicle controller includes a main partition and a secondary partition. Specifically, the power vehicle controller includes a main partition and a secondary partition, which are controller partitions set in the power vehicle controller, and both the main partition and the secondary partition can perform all the functions of the power vehicle controller. In some scenarios, the main partition can perform the main functions of the vehicle controller, the secondary partition can perform the secondary functions of the vehicle controller, and the main partition and the secondary partition can switch with each other. For example, during the upgrade process of the power vehicle controller, if the controller upgrade mode of the power vehicle controller is a high-voltage upgrade mode, the main partition can perform the function of maintaining the entire vehicle in a high-voltage control state, and the secondary partition can perform the function of controller upgrade.
[0110] Optionally, if the vehicle controller is a power vehicle controller or a non-power vehicle controller. The power vehicle controller includes a primary partition and a secondary partition. Then, the whole vehicle is controlled to enter a high-voltage control state, and the vehicle controller upgrade package is sent to the corresponding vehicle controller to perform the upgrade process of the vehicle controller, which may include:
[0111] First, a high voltage maintenance request is sent to the main partition of the power vehicle controller to control the entire vehicle to enter a high voltage control state, so that all vehicle controllers meet the power supply type during software upgrade.
[0112] Then, the vehicle controller upgrade package of the non-powered vehicle controller is sent to the corresponding non-powered vehicle controller to perform the upgrade process of the non-powered vehicle controller. The specific description of this step can refer to the description in step S301 and step S302, which will not be repeated here.
[0113] Secondly, the vehicle controller upgrade package of the power vehicle controller is sent to the corresponding secondary partition of the power vehicle controller to perform the upgrade process of the power vehicle controller. At this time, among the main partition and the secondary partition of the vehicle controller, only the secondary partition has completed the upgrade process.
[0114] Finally, after determining that all vehicle controllers have completed the upgrade process, a partition switching request is sent to the power vehicle controller, so that each power vehicle controller performs a partition switching process.
[0115] Specifically, after the partition switching process is performed, the secondary partition that has completed the upgrade process is switched to the primary partition, so that the partition that executes the power vehicle controller is the partition that has completed the upgrade.
[0116] Optionally, after the partition switching process is performed, the controller partition that becomes the secondary partition may be switched to perform the upgrade process, so that both partitions of the power vehicle controller are upgraded.
[0117] Among them, if it is determined that the controller upgrade mode of the vehicle controller is all high-voltage upgrade mode, then the whole vehicle can be controlled to enter the high-voltage control state so that all vehicle controllers meet the power supply type when performing software upgrades, that is, the high-voltage power supply type, thereby improving the efficiency of the vehicle controller upgrade. Among them, when upgrading the power vehicle controller under the high-voltage power supply type, the controller partition can be set to ensure that the controller upgrade is completed on the basis of maintaining the high-voltage state of the whole vehicle, thereby improving the success rate of the power vehicle controller upgrade, and further improving the success rate of the vehicle controller upgrade and user experience.
[0118] Step S302: If it is determined that the controller upgrade mode of the vehicle controller is the low-voltage upgrade mode, the entire vehicle is controlled to enter a low-voltage control state, and a vehicle controller upgrade package is sent to the corresponding vehicle controller to perform an upgrade process on the vehicle controller.
[0119] The software upgrade package includes a vehicle controller upgrade package. Specifically, the vehicle controller upgrade package is a compressed package for upgrading the corresponding vehicle controller. Optionally, when upgrading the vehicle controller, the vehicle controller upgrade package can be sent to the corresponding vehicle controller so that the vehicle controller that receives the vehicle controller upgrade package performs the upgrade process.
[0120] Specifically, as in the determination process in step S202, if it is determined that the controller upgrade method of the vehicle controller is a low-voltage upgrade method, the entire vehicle is controlled to enter a low-voltage control state, and the vehicle controller upgrade package is sent to the corresponding vehicle controller to perform an upgrade process on the vehicle controller.
[0121] Among them, if it is determined that the controller upgrade method of the vehicle controller is a low-voltage upgrade method, the entire vehicle can be controlled to enter a low-voltage control state so that all vehicle controllers meet the power supply type during software upgrade, that is, the low-voltage power supply type, thereby improving the efficiency of the vehicle controller upgrade.
[0122] Step S303: If the controller upgrade mode of at least one vehicle controller is determined to be the high-voltage upgrade mode, and the controller upgrade mode of other vehicle controllers is determined to be the low-voltage upgrade mode, the entire vehicle is first controlled to enter a low / high-voltage control state, and the vehicle controller upgrade package of the vehicle controller in the low / high-voltage upgrade mode is sent to the corresponding vehicle controller to perform the upgrade process of the vehicle controller in the low / high-voltage upgrade mode; after the upgrade process of the vehicle controller in the low / high-voltage upgrade mode is completed, the entire vehicle is controlled to enter another voltage control state, and the vehicle controller upgrade package of the vehicle controller in another controller upgrade mode is sent to the corresponding vehicle controller to perform the upgrade process of the vehicle controller in the other controller upgrade mode.
[0123] Specifically, as in the determination process in step S204 and step S205, if it is determined that the controller upgrade mode of at least one vehicle controller is determined to be a high-voltage upgrade mode, and the controller upgrade modes of other vehicle controllers are determined to be low-voltage upgrade modes, the whole vehicle is first controlled to enter a high-voltage control state, and the vehicle controller upgrade package of the vehicle controller in the high-voltage upgrade mode is sent to the corresponding vehicle controller to perform the upgrade process of the vehicle controller in the high-voltage upgrade mode; after the upgrade process of the vehicle controller in the high-voltage upgrade mode is completed, the whole vehicle is controlled to enter a low-voltage control state, and the vehicle controller upgrade package of the vehicle controller in the low-voltage upgrade mode is sent to the corresponding vehicle controller to perform the upgrade process of the vehicle controller in the low-voltage upgrade mode; wherein the vehicle controller is a power vehicle controller or a non-power vehicle controller. The vehicle controller determined to be in the low-voltage upgrade mode includes a power vehicle controller.
[0124] Alternatively, as in the determination process in step S204 and step S205, if it is determined that the controller upgrade mode of at least one vehicle controller is determined to be a high-voltage upgrade mode, and the controller upgrade modes of other vehicle controllers are determined to be low-voltage upgrade modes, the entire vehicle is first controlled to enter a low-voltage control state, and the vehicle controller upgrade package of the vehicle controller in the low-voltage upgrade mode is sent to the corresponding vehicle controller to perform the upgrade process of the vehicle controller in the low-voltage upgrade mode; after the upgrade process of the vehicle controller in the low-voltage upgrade mode is completed, the entire vehicle is controlled to enter a high-voltage control state, and the vehicle controller upgrade package of the vehicle controller in the high-voltage upgrade mode is sent to the corresponding vehicle controller to perform the upgrade process of the vehicle controller in the high-voltage upgrade mode; wherein the vehicle controller is a power vehicle controller or a non-power vehicle controller. The vehicle controller determined to be in the low-voltage upgrade mode includes a power vehicle controller.
[0125] Among them, the description of the power vehicle controller and the non-power vehicle controller can refer to the description in step S206, which will not be repeated here. Specifically, based on the description in step S206, the power vehicle controller is upgraded when controlling the entire vehicle to enter a low-voltage control state, which can ensure the success rate of the power vehicle controller upgrade and further improve the success rate of the vehicle controller upgrade and user experience.
[0126] Optionally, if it is determined that the vehicle controller in the high-voltage upgrade mode includes a power vehicle controller, the power vehicle controller in the high-voltage upgrade mode can be controlled to perform an upgrade process according to the upgrade process of the vehicle controller described in step S301.
[0127] Among them, if it is determined that the controller upgrade mode of at least one vehicle controller is determined to be a high-voltage upgrade mode, and the controller upgrade modes of other vehicle controllers are determined to be low-voltage upgrade modes, by controlling the entire vehicle to enter a low / high-voltage control state, all vehicle controllers in the low / high-voltage upgrade mode can meet the power supply type during software upgrade, that is, the low / high-voltage power supply type, and all vehicle controllers in the low / high-voltage upgrade mode can be controlled to upgrade, thereby improving the efficiency of vehicle controller upgrades.
[0128] The embodiment of the present application provides a process for upgrading the vehicle controller according to the controller upgrade mode and software upgrade package of the vehicle controller. If it is determined that the controller upgrade modes of the vehicle controllers are all high-voltage upgrade modes, the whole vehicle can be controlled to enter a high-voltage control state so that all vehicle controllers meet the power supply type during software upgrade, that is, the high-voltage power supply type, thereby improving the efficiency of the vehicle controller upgrade. Among them, when upgrading the power vehicle controller under the high-voltage power supply type, the controller partition can be set to ensure that the controller upgrade is completed on the basis of maintaining the high-voltage state of the whole vehicle, thereby improving the success rate of the power vehicle controller upgrade, and further improving the success rate of the vehicle controller upgrade and user experience. If it is determined that the controller upgrade mode of the vehicle controller is all low-voltage upgrade mode, then the whole vehicle can be controlled to enter a low-voltage control state so that all vehicle controllers meet the power supply type when performing software upgrades, that is, the low-voltage power supply type, thereby improving the efficiency of vehicle controller upgrades; if it is determined that the controller upgrade mode of at least one vehicle controller is determined to be a low-voltage upgrade mode, and the controller upgrade modes of other vehicle controllers are determined to be high-voltage upgrade modes, by controlling the whole vehicle to enter a low / high-voltage control state, all vehicle controllers in the low / high-voltage upgrade mode meet the power supply type when performing software upgrades, that is, the low / high-voltage power supply type, and controlling all vehicle controllers in the low / high-voltage upgrade mode to upgrade can improve the efficiency of vehicle controller upgrades. In summary, the efficiency, success rate, and user experience of vehicle controller upgrades are improved.
[0129] In a possible embodiment, in addition to determining the controller upgrade mode of the vehicle controller according to the high-voltage battery information and the low-voltage battery information described in step S102, the vehicle controller upgrade method further includes: first receiving a controller upgrade list sent by the cloud, and then performing an upgrade process on the vehicle controller according to the controller upgrade mode and software upgrade package of the vehicle controller indicated by the controller upgrade list.
[0130] The controller upgrade list indicates a control upgrade method of the vehicle controller. The present application does not limit the method of determining the controller upgrade list in the cloud, and it can be a pre-built list, a pre-built list updated at a preset update time, or a pre-built list updated after the configuration information of the vehicle is updated.
[0131] The process of performing the upgrade process of the vehicle controller according to the controller upgrade method and software upgrade package of the vehicle controller indicated in the controller upgrade list can be referred to. Figure 3 The description of the process of performing the upgrade process of the vehicle controller according to the controller upgrade method and software upgrade package of the vehicle controller in the illustrated embodiment will not be repeated here.
[0132] Optionally, since the controller upgrade method of the vehicle controller is indicated by the controller upgrade list, if the upgrade process of the vehicle controller is directly performed according to the controller upgrade method and software upgrade package of the vehicle controller indicated by the controller upgrade list, the low battery or power supply situation described in the prior art may occur. Therefore, the embodiment of the present application proposes that in the process of performing the upgrade process of the vehicle controller according to the controller upgrade method and software upgrade package of the vehicle controller indicated by the controller upgrade list, the controller upgrade list can be first verified according to the low-voltage battery information and the high-voltage battery information to ensure that each vehicle controller can operate normally after the upgrade process is completed according to the controller upgrade method of the vehicle controller indicated by the controller upgrade list.
[0133] Among them, the present application does not limit the process of upgrading the vehicle controller according to the controller upgrade method, low-voltage battery information, high-voltage battery information, and software upgrade package of the vehicle controller indicated by the controller upgrade list. Optionally, the process of upgrading the vehicle controller according to the controller upgrade method and software upgrade package of the vehicle controller indicated by the controller upgrade list may include: first verifying the controller upgrade list according to the low-voltage battery information and the high-voltage battery information. Specifically, the purpose of verifying the controller upgrade list according to the low-voltage battery information and the high-voltage battery information is to enable the battery power to support the vehicle controller to complete the upgrade of the vehicle controller according to the controller upgrade method indicated by the controller upgrade list. Among them, the process of verifying the controller upgrade list according to the low-voltage battery information and the high-voltage battery information can refer to Figure 2 In the illustrated embodiment, the process of determining the controller upgrade method of the vehicle controller based on the high-voltage battery power indicated by the high-voltage battery information and the low-voltage battery power indicated by the low-voltage battery information is similar in principle and will not be repeated here.
[0134] If the verification is passed, the vehicle controller is upgraded according to the controller upgrade method and software upgrade package of the vehicle controller indicated in the controller upgrade list.
[0135] Specifically, the upgrade process described here can be referred to Figure 3 The description in the illustrated embodiment will not be repeated here.
[0136] If the verification fails, the controller upgrade list is corrected according to the low-voltage battery information and the high-voltage battery information, and the vehicle controller is upgraded according to the controller upgrade method and software upgrade package of the vehicle controller indicated in the corrected controller upgrade list. Alternatively, if the verification fails, a prompt message indicating that the verification fails is generated and presented.
[0137] Specifically, the purpose of performing the upgrade process of the vehicle controller according to the controller upgrade method and software upgrade package of the vehicle controller indicated by the revised controller upgrade list is to enable the battery power to support the vehicle controller to complete the upgrade process of the vehicle controller according to the controller upgrade method indicated by the controller upgrade list. The process of performing the upgrade process of the vehicle controller according to the controller upgrade method and software upgrade package of the vehicle controller indicated by the revised controller upgrade list can refer to Figure 2 In the illustrated embodiment, the process of determining the controller upgrade method of the vehicle controller based on the high-voltage battery power indicated by the high-voltage battery information and the low-voltage battery power indicated by the low-voltage battery information is similar in principle and will not be repeated here.
[0138] Among them, in the process of upgrading the vehicle controller according to the controller upgrade method and software upgrade package of the vehicle controller indicated by the controller upgrade list, the vehicle controller is not upgraded directly according to the upgrade method of the vehicle controller indicated by the list. Instead, the controller upgrade list is verified according to the low-voltage battery information and the high-voltage battery information. This can improve the accuracy of the controller upgrade list, thereby improving the success rate of the vehicle controller upgrade and user experience.
[0139] Among them, before each vehicle controller update process is performed, the controller upgrade list is obtained from the cloud in real time, which can improve the real-time performance of the controller upgrade method and further improve the success rate of the vehicle controller upgrade and user experience.
[0140] In a possible embodiment, the controller upgrade list is determined by the cloud after acquiring the battery information based on the high-voltage battery information and the low-voltage battery information in the battery information.
[0141] Among them, the controller upgrade list is determined by the cloud after obtaining the battery information based on the high-voltage battery information and low-voltage battery information in the battery information. The specific process and effect can be referred to Figure 2 The description in the illustrated embodiment will not be repeated here.
[0142] Among them, before each vehicle controller update process, the controller upgrade list is obtained from the cloud in real time, which can improve the real-time performance of the controller upgrade method. The controller upgrade list is determined by the cloud after obtaining the battery information based on the high-voltage battery information and low-voltage battery information in the battery information. Therefore, it is more accurate, further improving the success rate of the vehicle controller upgrade and user experience.
[0143] Figure 4 A schematic diagram of the structure of the vehicle controller upgrade device provided in this application, such as Figure 4As shown, the vehicle controller upgrade device 40 provided in this embodiment includes:
[0144] The acquisition module 401 is used to acquire the battery information of the vehicle in response to the upgrade request of the vehicle controller; wherein the battery information includes high-voltage battery information and low-voltage battery information; the upgrade request of the vehicle controller includes a software upgrade package;
[0145] A determination module 402 is used to determine a controller upgrade mode of the vehicle controller according to the high-voltage battery information and the low-voltage battery information; wherein the controller upgrade mode indicates a power supply type when performing a software upgrade on the vehicle controller;
[0146] The upgrade module 403 is used to perform an upgrade process of the vehicle controller according to the controller upgrade mode and software upgrade package of the vehicle controller.
[0147] In a possible embodiment, the high-voltage battery information indicates the high-voltage battery power; the low-voltage battery information indicates the low-voltage battery power; the determination module 402 is specifically used to determine the controller upgrade method of the vehicle controller based on the high-voltage battery power indicated by the high-voltage battery information and the low-voltage battery power indicated by the low-voltage battery information.
[0148] In a possible embodiment, the determination module 402 is further specifically used to determine that the controller upgrade methods of the vehicle controller are all high-voltage upgrade methods if the high-voltage battery information indicates that the high-voltage battery power is greater than or equal to the first high-voltage power threshold; if the high-voltage battery information indicates that the high-voltage battery power is less than or equal to the second high-voltage power threshold, and the low-voltage battery information indicates that the low-voltage battery power is greater than or equal to the first low-voltage power threshold, then determine that the controller upgrade methods of the vehicle controller are all low-voltage upgrade methods; wherein the first high-voltage power threshold is greater than the second high-voltage power threshold; if the high-voltage battery information indicates that the high-voltage battery power is less than the first high-voltage power threshold, and the low-voltage battery information indicates that the low-voltage battery power is less than or equal to the second low-voltage power threshold, then suspend the upgrade process of the vehicle controller; wherein the first low-voltage power threshold is greater than the second low-voltage power threshold.
[0149] In a possible embodiment, the determination module 402 is further specifically used to determine the controller upgrade mode of at least one vehicle controller as a high-voltage upgrade mode according to the high-voltage battery power indicated by the high-voltage battery information if the high-voltage battery information indicates that the high-voltage battery power is less than a first high-voltage power threshold and greater than a second high-voltage power threshold, and the low-voltage battery information indicates that the low-voltage battery power is greater than a second low-voltage power threshold; wherein the first high-voltage power threshold is greater than the second high-voltage power threshold; wherein, after the high-voltage battery supplies power for the upgrade process of the vehicle controller of the determined high-voltage upgrade mode, the remaining high-voltage battery power is greater than the second high-voltage power threshold; and When it is determined according to the low-voltage battery power indicated by the information that the remaining low-voltage battery power after the low-voltage battery has supplied power to the upgrade processing of other vehicle controllers is greater than or equal to a second low-voltage power threshold, the controller upgrade mode of other vehicle controllers is determined as the low-voltage upgrade mode; when it is determined according to the low-voltage battery power indicated by the low-voltage battery information that the remaining low-voltage battery power after the low-voltage battery has supplied power to the upgrade processing of other vehicle controllers is less than the second low-voltage power threshold, the upgrade processing of the vehicle controller is suspended; wherein the vehicle controller is a power vehicle controller or a non-power vehicle controller; the vehicle controller determined to be in the low-voltage upgrade mode includes a power vehicle controller.
[0150] In a possible embodiment, the software upgrade package includes a vehicle controller upgrade package; the upgrade module 403 is specifically used to control the entire vehicle to enter a low-voltage control state if it is determined that the controller upgrade method of the vehicle controller is a low-voltage upgrade method, and send the vehicle controller upgrade package to the corresponding vehicle controller to perform upgrade processing on the vehicle controller.
[0151] In a possible embodiment, the software upgrade package includes a vehicle controller upgrade package; the upgrade module 403 is also specifically used to control the entire vehicle to enter a low / high voltage control state if the controller upgrade mode of at least one vehicle controller is determined to be a high voltage upgrade mode, and the controller upgrade mode of other vehicle controllers is determined to be a low voltage upgrade mode, and then send the vehicle controller upgrade package of the vehicle controller in the low / high voltage upgrade mode to the corresponding vehicle controller to perform the upgrade process of the vehicle controller in the low / high voltage upgrade mode; after the upgrade process of the vehicle controller in the low / high voltage upgrade mode is completed, control the entire vehicle to enter another voltage control state, and send the vehicle controller upgrade package of the vehicle controller in another controller upgrade mode to the corresponding vehicle controller to perform the upgrade process of the vehicle controller in another controller upgrade mode; wherein, the vehicle controller is a power vehicle controller or a non-power vehicle controller; the vehicle controller determined to be in the low voltage upgrade mode includes a power vehicle controller.
[0152] In a possible embodiment, the software upgrade package includes a vehicle controller upgrade package; the upgrade module 403 is specifically used to control the entire vehicle to enter a high-voltage control state if it is determined that the controller upgrade methods of the vehicle controllers are all high-voltage upgrade methods, and send the vehicle controller upgrade package to the corresponding vehicle controller to perform upgrade processing on the vehicle controller.
[0153] In a possible embodiment, the vehicle controller is a power vehicle controller or a non-power vehicle controller; the power vehicle controller includes a main partition and a sub-partition; the upgrade module 403 is further specifically used to send a high-voltage maintenance request to the main partition of the power vehicle controller to control the entire vehicle to enter a high-voltage control state; send the vehicle controller upgrade package of the non-power vehicle controller to the corresponding non-power vehicle controller to perform an upgrade process on the non-power vehicle controller; and send the vehicle controller upgrade package of the power vehicle controller to the sub-partition of the corresponding power vehicle controller to perform an upgrade process on the power vehicle controller; after determining that all vehicle controllers have completed the upgrade process, send a partition switching request to the power vehicle controller so that each power vehicle controller performs a partition switching process.
[0154] In a possible embodiment, the determination module 402 is further used to store the acquired battery information of the vehicle, the determined controller upgrade method of the vehicle controller, and the result of the upgrade process in the operation log of the gateway.
[0155] In a possible embodiment, the upgrade module 403 is also used to receive a controller upgrade list sent from the cloud; wherein the controller upgrade list indicates a control upgrade method of the vehicle controller; and the vehicle controller is upgraded according to the controller upgrade method and software upgrade package of the vehicle controller indicated by the controller upgrade list.
[0156] In a possible embodiment, the upgrade module 403 is specifically used to verify the controller upgrade list based on the low-voltage battery information and the high-voltage battery information; if the verification passes, the vehicle controller is upgraded according to the controller upgrade method and the software upgrade package of the vehicle controller indicated by the controller upgrade list; if the verification fails, the controller upgrade list is corrected according to the low-voltage battery information and the high-voltage battery information, and the vehicle controller is upgraded according to the controller upgrade method and the software upgrade package of the vehicle controller indicated by the corrected controller upgrade list; or, if the verification fails, a prompt message indicating that the verification failed is generated and presented.
[0157] In a possible embodiment, the controller upgrade list is determined by the cloud after acquiring the battery information based on the high-voltage battery information and the low-voltage battery information in the battery information.
[0158] The vehicle controller upgrade device provided in this embodiment can execute the method provided in the above method embodiment. Its implementation principle and technical effect are similar, and this embodiment will not be described in detail here.
[0159] Figure 5 This is a schematic diagram of the structure of the electronic device provided in this application. Figure 5 As shown, the electronic device 50 provided in this embodiment includes: at least one processor 501 and a memory 502. Optionally, the device 50 also includes a communication component 503. The processor 501, the memory 502 and the communication component 503 are connected via a bus 504.
[0160] In a specific implementation process, at least one processor 501 executes the computer-executable instructions stored in the memory 502, so that at least one processor 501 executes the above method.
[0161] The specific implementation process of the processor 501 can be found in the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.
[0162] In the above embodiments, it should be understood that the processor can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in the invention can be directly implemented as a hardware processor, or can be implemented by a combination of hardware and software modules in the processor.
[0163] The memory may include a high-speed memory (Random Access Memory, RAM), and may also include a non-volatile memory (NVM), such as at least one disk storage.
[0164] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of this application is not limited to only one bus or one type of bus.
[0165] The present application also provides a computer program product, including a computer program, which implements the above method when executed by a processor.
[0166] The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the above method is implemented.
[0167] The present application also provides a vehicle, comprising an electronic device for implementing the above method.
[0168] The above-mentioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special-purpose computer.
[0169] An exemplary readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (Application Specific Integrated Circuits, referred to as: ASIC). Of course, the processor and the readable storage medium can also exist in the device as discrete components.
[0170] The division of units is only a logical function division, and there may be other divisions in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interface, device or unit, which can be electrical, mechanical or other forms.
[0171] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0172] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0173] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0174] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.
[0175] Finally, it should be noted that those skilled in the art will readily conceive of other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. The present invention is intended to cover any variations, uses or adaptations of the present invention, which follow the general principles of the present invention and include common knowledge or customary technical means in the art not disclosed by the present invention, are not limited to the precise structure described above and shown in the drawings, and may be modified and changed in various ways without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.
Claims
1. A method for upgrading a vehicle controller, characterized in that: Applied to gateways, including: In response to an upgrade request from a vehicle controller, battery information of the vehicle is acquired; wherein the battery information includes high-voltage battery information and low-voltage battery information; the upgrade request from the vehicle controller includes a software upgrade package; Determine and display a controller upgrade mode of the vehicle controller according to the high-voltage battery information and the low-voltage battery information; wherein the controller upgrade mode indicates a power supply type when performing a software upgrade on the vehicle controller; The vehicle controller is upgraded according to the controller upgrade mode of the vehicle controller and the software upgrade package.
2. The method according to claim 1, characterized in that The high-voltage battery information indicates the power of the high-voltage battery; the low-voltage battery information indicates the power of the low-voltage battery; and according to the high-voltage battery information and the low-voltage battery information, determining and displaying a controller upgrade mode of the vehicle controller includes: A controller upgrade mode of the vehicle controller is determined and displayed according to the high-voltage battery power indicated by the high-voltage battery information and the low-voltage battery power indicated by the low-voltage battery information.
3. The method according to claim 2, characterized in that Determining and displaying a controller upgrade mode of the vehicle controller according to the high-voltage battery power indicated by the high-voltage battery information and the low-voltage battery power indicated by the low-voltage battery information, including: If the high-voltage battery information indicates that the power level of the high-voltage battery is greater than or equal to a first high-voltage power level threshold, determining and displaying that the controller upgrade mode of the vehicle controller is a high-voltage upgrade mode; If the high-voltage battery information indicates that the high-voltage battery power is less than or equal to the second high-voltage power threshold, and the low-voltage battery information indicates that the low-voltage battery power is greater than or equal to the first low-voltage power threshold, then determining and displaying that the controller upgrade mode of the vehicle controller is a low-voltage upgrade mode; wherein the first high-voltage power threshold is greater than the second high-voltage power threshold; If the high-voltage battery information indicates that the high-voltage battery power is less than the first high-voltage power threshold, and the low-voltage battery information indicates that the low-voltage battery power is less than or equal to the second low-voltage power threshold, the upgrade process of the vehicle controller is suspended; wherein the first low-voltage power threshold is greater than the second low-voltage power threshold.
4. The method according to claim 2, characterized in that: Determining and displaying a controller upgrade mode of the vehicle controller according to the high-voltage battery power indicated by the high-voltage battery information and the low-voltage battery power indicated by the low-voltage battery information, including: If the high-voltage battery information indicates that the power level of the high-voltage battery is less than a first high-voltage power level threshold and greater than a second high-voltage power level threshold, and the low-voltage battery information indicates that the power level of the low-voltage battery is greater than a second low-voltage power level threshold, then according to the high-voltage battery power level indicated by the high-voltage battery information, a controller upgrade mode of at least one vehicle controller is determined and displayed as a high-voltage upgrade mode; wherein the first high-voltage power level threshold is greater than the second high-voltage power level threshold; wherein, after the high-voltage battery supplies power for the upgrade process of the vehicle controller in the determined high-voltage upgrade mode, the remaining high-voltage battery power level is greater than the second high-voltage power level threshold; When it is determined, based on the low-voltage battery power indicated by the low-voltage battery information, that the remaining low-voltage battery power after the low-voltage battery supplies power for the upgrade process of other vehicle controllers is greater than or equal to the second low-voltage power threshold, the controller upgrade mode of the other vehicle controllers is determined and displayed as the low-voltage upgrade mode; When it is determined, based on the low-voltage battery power indicated by the low-voltage battery information, that the remaining low-voltage battery power after the low-voltage battery supplies power for the upgrade process of other vehicle controllers is less than the second low-voltage power threshold, suspending the upgrade process of the vehicle controller; Among them, the vehicle controller is a power vehicle controller or a non-power vehicle controller; the vehicle controller determined to be in a low-voltage upgrade mode includes the power vehicle controller.
5. The method according to claim 1, characterized in that The software upgrade package includes a vehicle controller upgrade package; performing an upgrade process of the vehicle controller according to a controller upgrade mode of the vehicle controller and the software upgrade package, including: If it is determined that the controller upgrade mode of the vehicle controller is a low-voltage upgrade mode, the entire vehicle is controlled to enter a low-voltage control state, and a vehicle controller upgrade package is sent to the corresponding vehicle controller to perform an upgrade process on the vehicle controller.
6. The method according to claim 1, characterized in that The software upgrade package includes a vehicle controller upgrade package; performing an upgrade process of the vehicle controller according to a controller upgrade mode of the vehicle controller and the software upgrade package, including: If the controller upgrade mode of at least one vehicle controller is determined to be a high-voltage upgrade mode, and the controller upgrade modes of other vehicle controllers are determined to be low-voltage upgrade modes, the entire vehicle is first controlled to enter a low / high-voltage control state, and a vehicle controller upgrade package of the vehicle controller in the low / high-voltage upgrade mode is sent to the corresponding vehicle controller to perform an upgrade process on the vehicle controller in the low / high-voltage upgrade mode; After the upgrade process of the vehicle controller in the low / high voltage upgrade mode is completed, the whole vehicle is controlled to enter another voltage control state, and a vehicle controller upgrade package of the vehicle controller in another controller upgrade mode is sent to the corresponding vehicle controller to perform the upgrade process of the vehicle controller in another controller upgrade mode; Among them, the vehicle controller is a power vehicle controller or a non-power vehicle controller; the vehicle controller determined to be in a low-voltage upgrade mode includes the power vehicle controller.
7. The method according to claim 1, characterized in that The software upgrade package includes a vehicle controller upgrade package; performing an upgrade process of the vehicle controller according to a controller upgrade mode of the vehicle controller and the software upgrade package, including: If it is determined that the controller upgrade mode of the vehicle controller is a high-voltage upgrade mode, the entire vehicle is controlled to enter a high-voltage control state, and a vehicle controller upgrade package is sent to the corresponding vehicle controller to perform an upgrade process on the vehicle controller.
8. The method according to claim 7, characterized in that The vehicle controller is a powered vehicle controller or a non-powered vehicle controller; the powered vehicle controller includes a primary partition and a secondary partition; Controlling the whole vehicle to enter a high-voltage control state, and sending a vehicle controller upgrade package to a corresponding vehicle controller to perform an upgrade process on the vehicle controller, including: Sending a high-voltage maintenance request to the main partition of the power vehicle controller to control the entire vehicle to enter a high-voltage control state; Sending a vehicle controller upgrade package of a non-powered vehicle controller to a corresponding non-powered vehicle controller to perform an upgrade process on the non-powered vehicle controller; and sending a vehicle controller upgrade package of a powered vehicle controller to a corresponding sub-partition of a powered vehicle controller to perform an upgrade process on the powered vehicle controller; After determining that all vehicle controllers have completed the upgrade process, a partition switching request is sent to the power vehicle controller, so that each of the power vehicle controllers performs the partition switching process.
9. The method according to claim 1, characterized in that: The method further comprises: The acquired battery information of the vehicle, the determined controller upgrade method of the vehicle controller, and the result of the upgrade process are stored in the operation log of the gateway.
10. The method according to any one of claims 1 to 9, characterized in that: The method further comprises: Receiving a controller upgrade list sent from the cloud; wherein the controller upgrade list indicates a control upgrade method of the vehicle controller; The vehicle controller is upgraded according to the controller upgrade method of the vehicle controller indicated by the controller upgrade list and the software upgrade package.
11. The method according to claim 10, characterized in that According to the controller upgrade mode of the vehicle controller indicated by the controller upgrade list and the software upgrade package, an upgrade process of the vehicle controller is performed, including: Verifying the controller upgrade list according to the low-voltage battery information and the high-voltage battery information; If the verification is passed, the vehicle controller is upgraded according to the controller upgrade method of the vehicle controller indicated by the controller upgrade list and the software upgrade package; If the verification fails, the controller upgrade list is corrected according to the low-voltage battery information and the high-voltage battery information, and the vehicle controller is upgraded according to the controller upgrade method and the software upgrade package of the vehicle controller indicated by the corrected controller upgrade list; or, if the verification fails, a prompt message indicating that the verification failed is generated and presented.
12. The method according to claim 10, characterized in that The controller upgrade list is determined by the cloud after acquiring the battery information based on the high-voltage battery information and the low-voltage battery information in the battery information.
13. An upgrading device for a vehicle controller, characterized in that: include: An acquisition module, configured to acquire battery information of the vehicle in response to an upgrade request of the vehicle controller; wherein the battery information includes high-voltage battery information and low-voltage battery information; and the upgrade request of the vehicle controller includes a software upgrade package; A determination module, configured to determine and display a controller upgrade mode of the vehicle controller according to the high-voltage battery information and the low-voltage battery information; wherein the controller upgrade mode indicates a power supply type when performing a software upgrade on the vehicle controller; An upgrade module is used to perform upgrade processing of the vehicle controller according to the controller upgrade method of the vehicle controller and the software upgrade package.
14. An electronic device, characterized in that: include: Memory, processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the processor performs the method according to any one of claims 1 to 12.
15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 12 when executed by a processor.
16. A computer program product, characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 12 when being executed by a processor.
17. A vehicle, characterized in that: The invention comprises an electronic device for implementing the method according to any one of claims 1 to 12.
Citation Information
Patent Citations
Vehicle upgrading method and device, electronic equipment and storage medium
CN116360821A
Vehicle OTA upgrading method, device and equipment, medium and automatic driving vehicle
CN116360829A
Vehicle software upgrading method and device, terminal equipment and storage medium
CN117762452A
Vehicle upgrading power supply strategy determination method and device, equipment and medium
CN118306213A
Vehicle software upgrading method and system, vehicle and electronic equipment
CN118981325A