Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application more clear, the specific technical solutions of the application will be described in further detail below with reference to the accompanying drawings in the embodiments of the present application. The following examples are illustrative of the application and are not intended to limit the scope of the application.
In the following description reference is made to "some embodiments," which describe a subset of all possible embodiments, but it is to be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments and can be combined with one another without conflict.
In the following description, the term "first\second\third" is merely used for example to distinguish different objects, and does not represent a specific ordering for the objects, and does not have a limitation of precedence order. It is to be understood that the "first-/second-/third-" may interchange specific orders or precedence when allowed to enable embodiments of the application described herein to be implemented in other than those illustrated or described herein.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of the application only and is not intended to be limiting of the application.
The embodiment of the application provides a vehicle upgrading method, device, equipment, storage medium and computer program product. In practical applications, the upgrading method of the vehicle may be implemented by an upgrading device of the vehicle, and each functional entity in the upgrading device of the vehicle may be cooperatively implemented by hardware resources of the electronic device, such as computing resources of a processor and the like, and communication resources (such as for supporting communications in various modes such as implementing optical cables and cellular communications).
Embodiments of a method, apparatus, device, storage medium, and computer program product for upgrading a vehicle according to embodiments of the present application are described below.
In a first aspect, an embodiment of the present application provides a method for upgrading a vehicle. The functions performed by the method may be performed by a processor in an electronic device (e.g. a controller) that includes at least the processor and the storage medium, although the program code may be stored in a computer storage medium.
Next, an upgrade method of a vehicle according to an embodiment of the present application will be described by taking a vehicle device as an execution subject.
Fig. 1 is a flow chart of an upgrade method of a vehicle according to an embodiment of the present application, as shown in fig. 1, the process may include, but is not limited to, S101 to S102 described below.
S101, under the condition that a vehicle device receives an upgrade instruction, determining a target upgrade voltage type of a target controller to be upgraded in the vehicle device.
The vehicle device may be any vehicle device. The embodiment of the application does not limit the specific type of the vehicle equipment, and can be set according to actual conditions. By way of example, the vehicle device may be a fuel-powered vehicle, a pure electric vehicle, a hybrid vehicle, or the like.
The upgrade instruction refers to an instruction for instructing the vehicle device to upgrade. The embodiment of the application does not limit the specific type and content of the upgrade instruction, and can be set according to actual conditions. In practice, after receiving the upgrade instruction, the vehicle device enters the upgrade process to start the upgrade.
The target controller refers to a controller to be upgraded in the vehicle equipment, and can be any controller in the vehicle equipment. The embodiment of the application does not limit the specific types and the number of the target controllers, and can be set according to actual conditions. The target controller may be a domain controller, such as a power domain controller, a cabin domain controller, an autopilot domain controller, a chassis domain controller, a body domain controller, etc., or may be a controller with specific functions, such as a whole vehicle controller, an engine controller, a power controller, etc.
The target upgrade voltage type refers to the type of upgrade voltage of the target controller. The embodiment of the application does not limit the specific content of the target upgrading voltage type, and can be set according to actual conditions. The target upgrade voltage type may include a high voltage type, a low voltage type, and may include a first voltage type, a second voltage type, and a third voltage type, with the corresponding voltage ranges increasing in sequence.
Illustratively, the upgrade voltage range of each controller is pre-stored in the vehicle device. Correspondingly, S101 may be implemented as: the vehicle equipment determines a target controller to be upgraded; acquiring a target boost voltage range of a target controller; if the target upgrading voltage range is larger than the voltage threshold, determining that the target upgrading voltage type of the target controller is a high voltage type; and if the target upgrading voltage range is smaller than or equal to the voltage threshold value, determining that the target upgrading voltage type of the target controller is a low voltage type.
The embodiment of the application does not limit the specific determination mode of the upgrade voltage range of each controller, and can be set according to actual conditions. The upgrade voltage range for each controller may be set based on human experience, or may be set based on a particular algorithm or model, for example.
In practice, other possible schemes may be used to determine the target upgrade voltage type of the target controller, which is not listed here. In addition, the upgrade voltage types of all controllers in the vehicle device can be predetermined and stored in the vehicle device, and the upgrade voltage types can be directly acquired for use later.
The embodiment of the application does not limit the specific mode of determining the target controller to be upgraded for the vehicle equipment, and can be set automatically according to actual conditions.
In one possible embodiment, the vehicle device may determine the target controller to be upgraded by integrally upgrading the software package, including: under the condition that the vehicle equipment receives an upgrade instruction, acquiring an overall upgrade software package of the vehicle equipment; analyzing and splitting the whole upgrading software package to obtain N independent upgrading software packages corresponding to the N controllers; the N controllers are determined as target controllers.
In another possible embodiment, the vehicle device may determine the target controller to be upgraded by an upgrade instruction, including: and under the condition that the vehicle equipment receives the upgrade instruction and the upgrade instruction indicates the controller to be upgraded, the vehicle equipment determines the controller to be upgraded indicated by the upgrade instruction as a target controller by analyzing the upgrade instruction.
S102, configuring a target message attribute of a high-voltage electrical appliance in vehicle equipment to allow message receiving and transmitting under the condition that the target upgrading voltage type is a high-voltage type; and controlling the target controller to upgrade so that the high-voltage electric device is in a usable state in the upgrading process of the target controller.
And under the condition that the target message attribute is configured to allow message sending and receiving, the high-voltage electric appliance is in the usable state.
The high-voltage electric appliance refers to an electronic device with a working voltage in a high voltage range. The embodiment of the application does not limit the specific types and the number of the high-voltage appliances, and can be set according to actual conditions. By way of example, the high voltage electrical appliances may include air conditioners, electric compressors, heaters, and the like.
The target message attribute refers to the message receiving and transmitting authority of the high-voltage electrical appliance. The embodiment of the application does not limit the specific content of the target message attribute, and can be set according to actual conditions. By way of example, the target message attributes may include allowed or disallowed transceiving. In practice, the target message attribute may further include allowing partial transceiving, allowing full transceiving, not allowing partial transceiving, not allowing full transceiving, and so on.
Illustratively, S102 may be implemented as: the method comprises the steps that under the condition that a target upgrading voltage type is a high-voltage type, the vehicle equipment obtains a message attribute configuration file of a high-voltage electrical appliance; configuring the target message attribute in the message attribute configuration file to allow message receiving and transmitting; meanwhile, the target controller is controlled to enter an upgrading process, so that the high-voltage electric appliance is in a usable state in the upgrading process of the target controller.
In practice, a "1" may be used to indicate that the transmission and reception of a message are allowed, and a "0" may be used to indicate that the transmission and reception of a message are not allowed.
It can be understood that, in the case where the target message attribute of the high-voltage electrical apparatus is configured to allow message transceiving, all controllers in the vehicle device may transceiver all messages related to the high-voltage electrical apparatus, such as a diagnosis message, an application message, and a network management message, etc., at this time, the high-voltage electrical apparatus may be turned on, turned off, and operated through message interaction, and the high-voltage electrical apparatus is in a usable state.
It should be noted that, when the target upgrade voltage type is a high voltage type, the vehicle device may perform high voltage power supply to the target controller and the high voltage electric device based on the high voltage power supply mode thereof, so as to provide power for the target controller and the high voltage electric device.
The embodiment of the application does not limit the specific content of the high-voltage power supply mode of the vehicle equipment, and can be set according to actual conditions. The high-voltage power supply mode of the fuel automobile can be a mode of high-voltage power supply through an engine and a generator; the high-voltage power supply mode of the pure electric vehicle can be a mode of high-voltage power supply through a power battery; the high-voltage power supply mode of the hybrid electric vehicle may include both of the above. In addition, the high-voltage power supply mode of the vehicle device may be a mode in which the battery is boosted and then supplied with high voltage.
The application provides a vehicle upgrading method, which comprises the following steps: under the condition that the vehicle equipment receives an upgrade instruction, determining a target upgrade voltage type of a target controller to be upgraded in the vehicle equipment; under the condition that the target upgrading voltage type is a high voltage type, configuring a target message attribute of a high-voltage electrical appliance in the vehicle equipment to allow message receiving and transmitting; the target controller is controlled to be upgraded, so that the high-voltage electric device is in a usable state in the upgrading process of the target controller; and under the condition that the target message attribute is configured to allow message sending and receiving, the high-voltage electric appliance is in the usable state.
In the scheme of the application, the target message attribute of the high-voltage electrical appliance can be configured to allow message sending and receiving under the condition that the target upgrading voltage type is a high-voltage type by determining the target upgrading voltage type of the target controller to be upgraded; and controlling the target controller to upgrade so that the high-voltage electric appliance is in a usable state in the upgrading process of the target controller. According to the scheme, the influence of the upgrade voltage type of the controller on the high-voltage electric appliance in the vehicle upgrade process is fully considered, and the target message attribute of the high-voltage electric appliance can be configured according to different upgrade voltage types by determining different upgrade voltage types of different controllers, so that the high-voltage electric appliance is in a usable state in the upgrade process of the high-voltage type controller. Therefore, the problem that high-voltage electric appliances such as an air conditioner cannot be used in the upgrading process of the high-voltage type controller can be solved while normal upgrading of the vehicle is ensured.
The upgrading method of the vehicle provided by the embodiment of the application can also comprise the upgrading process of a plurality of target controllers.
In the case where the number R of the target controllers is greater than 1, referring to what is shown in fig. 2, the process may include, but is not limited to, S201 to S203 described below.
S201, the vehicle equipment classifies the R target controllers into P target high-voltage controllers and Q target low-voltage controllers based on the target upgrading voltage types of the R target controllers.
Wherein R is an integer greater than 1; and P and Q are positive integers less than or equal to R.
The target high-voltage controller refers to a controller with a target upgrading voltage type of high-voltage type in R target controllers.
The target low-voltage controller refers to a controller with a target upgrading voltage type of low-voltage type in R target controllers.
The embodiment of the application does not limit the specific types and the number of the target high-voltage controllers and the target low-voltage controllers, and can be set according to actual conditions.
Illustratively, S201 may be implemented as: traversing R target controllers by the vehicle equipment; determining, for each target controller, a target upgrade voltage type for the target controller; if the target upgrading voltage type of the target controller is a high voltage type, determining the target controller as a target high voltage controller; if the target upgrading voltage type of the target controller is a low voltage type, determining the target controller as a target low voltage controller; after the traversal is completed, P target high-voltage controllers and Q target low-voltage controllers are obtained.
S202, the vehicle equipment configures the target message attribute of the high-voltage electrical appliance to allow message transceiving; and controlling the P target high-voltage controllers to upgrade so that the high-voltage electric appliances are in the usable state in the upgrade process of the P target high-voltage controllers.
Illustratively, S202 may be implemented as: the method comprises the steps that vehicle equipment obtains a message attribute configuration file of a high-voltage electrical appliance; configuring the target message attribute in the message attribute configuration file to allow message receiving and transmitting; meanwhile, the P target high-voltage controllers are controlled to enter an upgrading flow, so that the high-voltage electric appliance is in a usable state in the upgrading process of the P target high-voltage controllers.
It should be noted that, after the target message attribute of the high-voltage apparatus is configured to allow the message to be sent and received, the vehicle device may perform high-voltage power supply on the P target high-voltage controllers and the high-voltage apparatus based on the high-voltage power supply mode thereof, so as to provide power for the P target high-voltage controllers and the high-voltage apparatus.
S203, after the P target high-voltage controllers are upgraded, the vehicle equipment configures the target message attribute of the high-voltage electrical appliance to be not allowed to transmit and receive messages; and controlling the Q target low-voltage controllers to upgrade so that the high-voltage electric appliance is in an unusable state in the upgrade process of the Q target low-voltage controllers.
And under the condition that the target message attribute is configured to not allow message receiving and transmitting, the high-voltage electric appliance is in the unusable state.
Illustratively, S203 may be implemented as: after finishing upgrading the P target high-voltage controllers, the vehicle equipment acquires a message attribute configuration file of the high-voltage electric appliance; configuring the target message attribute in the message attribute configuration file to not allow message receiving and transmitting; meanwhile, Q target low-voltage controllers are controlled to enter an upgrading flow, so that the high-voltage electric appliance is in an unusable state in the upgrading process of the Q target low-voltage controllers.
It can be understood that, under the condition that the target message attribute of the high-voltage electrical apparatus is configured to not allow the message to be sent and received, all controllers in the vehicle equipment prohibit sending and receiving application messages and network management messages related to the high-voltage electrical apparatus, at this time, the high-voltage electrical apparatus cannot be started, closed and operated through message interaction, and the high-voltage electrical apparatus is in an unavailable state.
After the upgrading of the P target high-voltage controllers is completed, the vehicle device may perform low-voltage power supply on the Q target low-voltage controllers based on the low-voltage power supply mode thereof, so as to provide power for the Q target low-voltage controllers.
The embodiment of the application does not limit the specific content of the low-voltage power supply mode of the vehicle equipment, and can be set according to actual conditions. The low-voltage power supply mode of the vehicle device may be a mode in which power is supplied to the battery at a low voltage, for example. In addition, in some specific situations, such as a damaged storage battery or insufficient electric quantity, the low-voltage power supply mode of the fuel automobile can be a mode of reducing the first output voltage of the engine and the generator and utilizing the reduced first output voltage to perform low-voltage power supply; the low-voltage power supply mode of the pure electric vehicle can be a mode of reducing the voltage of the second output voltage of the power battery and performing low-voltage power supply by using the reduced second output voltage; the low-voltage power supply mode of the hybrid electric vehicle may include both of the above.
In short, since the upgrade time of the target high-voltage controller is generally longer and the upgrade time of the target low-voltage controller is generally shorter, by setting the upgrade order of the target high-voltage controller and the target low-voltage controller, the target high-voltage controller is upgraded first and then the target low-voltage controller is upgraded, so that reasonable distribution of the upgrade time of the vehicle and effective utilization of the high-voltage electrical appliances can be realized. Particularly, when the high-voltage electric appliance is an air conditioning device or a heater, the high-voltage electric appliance can be used only in the upgrading process of the target high-voltage controller, the high-voltage electric appliance is not used in the upgrading process of the target low-voltage controller, and the same working effect of the high-voltage electric appliance is achieved by utilizing the residual temperature effect of the high-voltage electric appliance, so that the resource consumption of a vehicle can be reduced by reducing the using time of the high-voltage electric appliance.
The upgrading method of the vehicle provided by the embodiment of the application can also comprise a prompting process that the high-voltage electrical appliance is in a usable state and a working parameter configuration process of the high-voltage electrical appliance.
After the configuring of the target message attribute of the high voltage apparatus to allow message transceiving, referring to the content shown in fig. 3, the process may include, but is not limited to, S301 to S303 described below.
S301, the vehicle equipment sends the target message attribute to a target domain controller.
The target domain controller is used for prompting the high-voltage electrical apparatus to be in a usable state and configuring the working parameters of the high-voltage electrical apparatus. The embodiment of the application does not limit the specific type of the target domain controller, and can be set according to actual conditions. The target domain controller may be, for example, a cabin domain controller.
Illustratively, S301 may be implemented as: the vehicle device determines a target domain controller based on the high voltage electrical appliance; and sending the target message attribute of the high-voltage electrical apparatus to a target domain controller.
The embodiment of the application does not limit the specific mode of determining the target domain controller based on the high-voltage electric appliance for the vehicle equipment, and can be set automatically according to actual conditions. For example, the vehicle device may obtain a correspondence between high-voltage electrical attribute information (e.g., name, identification, type, etc.) and the domain controller; searching target attribute information of the high-voltage electrical appliance in the corresponding relation, and determining a domain controller corresponding to the target attribute information as a target domain controller.
S302, the vehicle equipment outputs first prompt information based on the target message attribute through the target domain controller.
The first prompt information is used for prompting that the high-voltage electric appliance is in the usable state.
The embodiment of the application does not limit the specific type and content of the first prompt information, and can be set according to actual conditions. The first prompt information may be a voice prompt information, a text prompt information, an icon prompt information, or a button prompt information.
Illustratively, S302 may be implemented as: the vehicle equipment generates first prompt information based on the target message attribute through the target domain controller; and outputting the first prompt information through a loudspeaker or a display screen or an electric appliance button.
In practice, when the target domain controller is the cabin domain controller, the cabin domain controller can prompt the user that the high-voltage electric appliance is in a usable state through a loudspeaker in a voice broadcasting mode, can prompt the user that the high-voltage electric appliance is in a usable state through a display screen in a text message popup frame mode, can prompt the user that the high-voltage electric appliance is in a usable state through an icon prompt mode through the display screen, can prompt the user that the high-voltage electric appliance is in a usable state through a push button prompt mode through electric appliance button highlighting, and can prompt the user that the high-voltage electric appliance is in a usable state.
S303, the vehicle equipment displays target parameter options of the high-voltage electrical appliance in an upgrading interface of the vehicle equipment so as to configure working parameters of the high-voltage electrical appliance based on the target parameter options.
The target parameter option refers to an option for configuring an operation parameter of the high-voltage electric appliance. The embodiment of the application does not limit the specific types, contents and quantity of the target parameter options, and can be set according to actual conditions.
Illustratively, S303 may be implemented as: the vehicle equipment acquires a target control for displaying target parameter options of the high-voltage electrical appliance; operating the target control, and displaying target parameter options of the high-voltage electrical appliance in an upgrade interface by operating the target control; receiving a target configuration instruction aiming at a target parameter option; and configuring the working parameters of the high-voltage electrical appliance based on the target parameters included in the target configuration instruction.
In short, the target domain controller outputs the first prompt information based on the target message attribute, and displays the target parameter options of the high-voltage electric appliance in the upgrade interface of the vehicle equipment, so that the user can be prompted that the high-voltage electric appliance is in a usable state, and the user is prompted to perform working parameter configuration on the high-voltage electric appliance, so that the user can know and use the high-voltage electric appliance conveniently, the user experience of the user in vehicle upgrade can be improved, and humanized service is provided for the user.
The upgrading method of the vehicle provided by the embodiment of the application can also comprise a prompting process that the high-voltage electrical appliance is in an unusable state and a process that the target parameter options of the high-voltage electrical appliance are canceled to be displayed.
After the configuring of the target message attribute of the high voltage appliance to not allow the message transceiving, referring to the content shown in fig. 4, the process may include, but is not limited to, S401 to S403 described below.
S401, the vehicle equipment sends the target message attribute to a target domain controller.
For the specific implementation process of S401, reference may be made to the above detailed description of S301, which is not repeated here.
S402, the vehicle equipment outputs second prompt information based on the target message attribute through the target domain controller.
The second prompt information is used for prompting that the high-voltage electric appliance is in the unavailable state.
The embodiment of the application does not limit the specific type and content of the second prompt information, and can be set according to actual conditions. The second prompt information may be a voice prompt information, a text prompt information, an icon prompt information, or a button prompt information.
Illustratively, S402 may be implemented as: the vehicle equipment generates second prompt information based on the target message attribute through the target domain controller; and outputting the first prompt information through a loudspeaker or a display screen or an electric appliance button.
In practice, when the target domain controller is the cabin domain controller, the cabin domain controller can prompt the user that the high-voltage electric appliance is in an unavailable state through a loudspeaker in a voice broadcasting mode, can prompt the user that the high-voltage electric appliance is in an unavailable state through a display screen in a text message popup frame mode, can prompt the user that the high-voltage electric appliance is in an unavailable state through an icon prompt mode without displaying an electric appliance icon on the display screen, and can prompt the user that the high-voltage electric appliance is in an unavailable state through an electric appliance button in a button prompt mode.
S403, the vehicle equipment cancels displaying the target parameter options of the high-voltage electrical appliance in the upgrading interface of the vehicle equipment.
Illustratively, S403 may be implemented as: the vehicle equipment acquires a target control for displaying target parameter options of the high-voltage electrical appliance; and stopping running the target control, and canceling displaying target parameter options of the high-voltage electric appliance in the upgrading interface by stopping running the target control.
In short, the target domain controller outputs the second prompt information based on the target message attribute, and the target parameter option of the high-voltage electric appliance is canceled from being displayed in the upgrading interface of the vehicle equipment, so that the user can be prompted that the high-voltage electric appliance is in an unavailable state, and the user cannot configure the working parameters of the high-voltage electric appliance, so that the user can know and abandon the use of the high-voltage electric appliance conveniently, the user experience of the user in vehicle upgrading can be improved, and humanized service is provided for the user.
The upgrading method of the vehicle of the embodiment of the application can also comprise the upgrading process of the target controller when the high-voltage electrical appliance is air conditioning equipment.
In the case where the high-voltage electric appliance includes an air conditioning apparatus, referring to what is shown in fig. 5, the process may include, but is not limited to, S501 to S502 described below.
S501, the vehicle equipment acquires a reference working temperature range of the target controller and a current first working temperature of the target controller.
The reference operating temperature range refers to a temperature range in which the target controller can operate normally and the performance remains stable. The embodiment of the application does not limit the specific content of the reference working temperature range, and can be set according to actual conditions.
In practice, the reference operating temperature range of the target controller is affected by a variety of factors, such as manufacturing materials, structural characteristics, heat dissipation conditions, environmental conditions (e.g., temperature, humidity, air pressure, etc.), and the like.
The first operating temperature refers to the current operating temperature of the target controller. The specific value of the first working temperature is not limited, and the first working temperature can be set according to actual conditions.
For example, the reference operating temperature range of the target controller is stored in the vehicle device in advance. Correspondingly, S501 may be implemented as: the vehicle equipment obtains a reference working temperature range of the target controller from the local; and acquiring the current first working temperature of the target controller through a temperature sensor.
The specific determination mode of the reference working temperature range of the target controller is not limited, and the target controller can be set according to actual conditions. The reference operating temperature range of the target controller may be set based on human experience, or may be set based on a particular algorithm or model, for example.
S502, the air conditioning equipment is started under the condition that the first working temperature exceeds the reference working temperature range, so that the target controller works in the reference working temperature range.
Illustratively, S502 may be implemented as: the vehicle equipment judges the magnitude relation between the first working temperature and the reference working temperature range; and sending a request for starting the air conditioning equipment to the integrated thermal management system controller (Integration Temperature MANAGEMENT SYSTEM, ITMS) under the condition that the first working temperature exceeds the reference working temperature range, and controlling the air conditioning equipment to start and work through the ITMS so as to enable the target controller to work in the reference working temperature range.
In short, the working temperature of the electronic device directly affects the performance, reliability and service life, and the too high working temperature may cause the performance of the electronic device to be reduced, the faults to be increased, the service life to be shortened and even damaged, so that in the case that the high-voltage electrical apparatus is air conditioning equipment, the target controller is automatically detected and the air conditioning equipment is automatically started to work in a reference working temperature range, so that the target controller can be ensured to work normally and keep stable in performance, the upgrading efficiency of the target controller can be improved, and the probability of failure in upgrading the target controller is reduced.
The upgrading method of the vehicle in the embodiment of the application can also comprise a vehicle upgrading process when the high-voltage electrical appliance is air conditioning equipment.
Referring to what is shown in fig. 6, the process may include, but is not limited to, S601 to S602 described below.
S601, the vehicle equipment receives an opening instruction for the air conditioning equipment.
The opening instruction refers to an instruction for instructing to open the air conditioning apparatus. The embodiment of the application does not limit the specific type and content of the opening instruction, and can be set according to actual conditions. The opening instruction may be a voice instruction or a touch instruction.
For example, the user issues an instruction to turn on the air conditioner by voice or touch. Correspondingly, S601 may be implemented as: the vehicle device receives an opening instruction for the air conditioning device through the receiving module.
S602, the vehicle equipment responds to the starting instruction, and the air conditioning equipment is started, so that the vehicle equipment is at the target temperature, and the target controller is updated.
The target temperature may be any temperature value. The specific value of the target temperature is not limited, and the target temperature can be set according to actual conditions. By way of example, the target temperature may be 20 degrees celsius.
Illustratively, S602 may be implemented as: the vehicle equipment responds to an opening instruction for the air conditioning equipment and sends an air conditioning equipment opening request to an integrated thermal management system controller ITMS; the ITMS receives the air conditioning equipment request and starts the air conditioning equipment; the air conditioning equipment starts to work until the vehicle equipment is at the target temperature; and controlling the target controller to enter an upgrading process.
In short, when the high-voltage electrical apparatus is an air conditioning apparatus, by receiving an opening instruction for the air conditioning apparatus, it is possible to manually open the air conditioning apparatus to maintain the vehicle apparatus at a target temperature, and ensure that the electronic device in the vehicle apparatus operates at an optimal operating temperature. And moreover, the target controller is controlled to upgrade at the target temperature, so that the vehicle upgrade efficiency can be improved, and the probability of failure in vehicle upgrade can be reduced.
The upgrading method of the vehicle provided by the embodiment of the application can also comprise the upgrading process of the low-voltage type controller.
Referring to what is shown in fig. 7, the process may include, but is not limited to, S701 described below.
S701, configuring a target message attribute of the high-voltage electrical appliance to be not allowed to transmit and receive a message by the vehicle equipment under the condition that the target upgrading voltage type is a low-voltage type; the target controller is controlled to be upgraded, so that the high-voltage electric device is in the unusable state in the upgrading process of the target controller;
and under the condition that the target message attribute is configured to not allow message receiving and transmitting, the high-voltage electric appliance is in the unusable state.
Illustratively, S701 may be implemented as: the method comprises the steps that under the condition that a target upgrading voltage type is a low voltage type, a message attribute configuration file of a high-voltage electrical appliance is obtained by vehicle equipment; configuring the target message attribute in the message attribute configuration file to not allow message receiving and transmitting; meanwhile, the target controller is controlled to enter an upgrading process, so that the high-voltage electric appliance is in an unusable state in the upgrading process of the target controller.
In short, since the upgrade time of the low voltage type controller is generally short, the upgrade can be successful only for a few minutes, and therefore, in practical application, a high voltage electric appliance is not required in the upgrade process of the low voltage type controller. By configuring the target message attribute of the high-voltage electrical apparatus to not allow message receiving and transmitting, the high-voltage electrical apparatus is in an unusable state in the upgrading process of the low-voltage type controller, unnecessary vehicle resource consumption can be reduced, and the vehicle upgrading speed is improved.
The upgrading method of the vehicle provided by the application is described below through a complete embodiment.
With the development of intelligent and networking of automobiles, software-defined automobiles have become a trend. The vehicle is updated through Over-The-Air (OTA) technology, and The vehicle OTA is always used, but some new problems can also appear in The process of updating The vehicle OTA, for example, in The current process of updating The vehicle OTA, the controller is forbidden to speak, the Air conditioner can only transmit and receive diagnostic messages, application messages and network management messages are forbidden to transmit and receive, the Air conditioner is inhibited, cannot be opened, cannot be closed and cannot set The temperature in The process of updating The vehicle OTA, and for a user, if The weather is hot or cold, and The vehicle OTA is updated for a long time, the user is painful to stay in The vehicle for a long time, and The user experience is poor.
Based on this, the embodiment of the application provides a vehicle upgrading method, which is used for solving the problems that an air conditioner cannot be turned on, turned off and the temperature of the air conditioner is set in the vehicle upgrading process. By setting the signal permission message receiving and transmitting corresponding to the interaction of the air conditioner and the vehicle-mounted device, the problem that the air conditioner function cannot be used can be solved under the condition that the air conditioner function is not inhibited.
Referring to fig. 8, the specific steps of the upgrading method of the vehicle according to the embodiment of the present application include:
S801, an upgrade master control (OTA Manager, OTAM) judges whether upgrade is being performed, if yes, S802 is performed, and if no, S8041 is performed.
S802, OTAM sends a Fast Bootloader (FBL) flush power supply shift request to the vehicle communication terminal (TELEMATICS BOX, TBOX). OTAM requests the whole vehicle to enter the FBL power supply gear by sending the FBL power supply gear refreshing request.
S803, the TBOX forwards the FBL flush power range request to a Gateway (GW).
S804, the GW forwards the FBL power supply gear refreshing request to a vehicle body controller (Body Control Mo dule, BCM).
S805, the BCM feeds back the whole vehicle power supply state to the GW. After the BCM controls the whole vehicle to enter the FBL to brush the power supply gear, the state of the whole vehicle power supply is fed back to the GW.
S806, the GW forwards the whole vehicle power supply state to the TBOX.
S807, the TBOX forwards the power supply state of the whole vehicle to OTAM.
S808, OTAM determines whether the whole vehicle enters the FBL power supply shift range, if yes, S809 is executed, and if no, S8041 is executed.
And S809, OTAM, judging whether the current upgrading controller is high-voltage upgrading, if yes, executing S8010, entering a high-voltage upgrading process, and if no, executing S8028, entering a low-voltage upgrading process.
S8010, OTAM sends a high-voltage activation request to TBOX. OTAM requests the whole vehicle to perform high-voltage activation by sending a high-voltage activation request.
S8011, TBOX forwards the high voltage activation request to GW.
S8012, GW forwards the high voltage activation request to the whole car controller (Vehicle Control Unit, VC U).
S8013, VCU feeds back high voltage state to GW. The VCU performs high-voltage activation, and feeds back the high-voltage activation state to the GW after controlling the whole vehicle to enter the high-voltage state.
S8014, GW forwards the high voltage status to TBOX.
S8015, TBOX forwards the high voltage status to OTAM.
And S8016 and OTAM judge whether the whole vehicle is in a high-voltage state, if yes, S8017 is executed, and if no, S8041 is executed. OTAM after receiving the high voltage state fed back by the VCU, enter the upgrade process.
S8017, OTAM sends a high-voltage upgrade flag to TBOX. OTAM gives the car machine through feeding back the corresponding high-low pressure state, so that the car machine can conveniently show whether the air conditioner operation button is highlighted or not on a Human-computer interaction interface (Human MACHINE INTERFACE, HMI), if the car machine is a high-pressure piece, the car machine sets the air conditioner operation button on the HMI to be highlighted, otherwise, the ash setting is uncontrollable or not shown. The other controllers except the controller of the power domain are all high-voltage upgrading, and the air conditioner cannot operate when the controller of the power domain is upgraded, because the low-voltage upgrading stage uses a storage battery for power supply, the vehicle power shortage is avoided, and the low-voltage upgrading stage is short in duration.
S8018, TBOX forwards the high-voltage upgrade identification to GW.
S8019, GW forwards the high voltage boost level identification to the cabin domain controller (Cockpit Domain Control ler, CDC).
S8020, CDC controls the air conditioner button to highlight. Upgrading the default temperature of the air conditioner on the interface to be the last memory temperature of the whole vehicle; the air conditioner temperature setting range is: 18-32 ℃; HI (maximum adjustable temperature) at a temperature value above 32 ℃ and LO (minimum adjustable temperature) at a temperature value below 18 ℃; the temperature change gradient is 0.5 ℃; the operation such as opening the air conditioner, closing the air conditioner, setting the air conditioner temperature can be carried out in the upgrade high-pressure part process, when the automobile engine gets into the upgrade interface, will show air conditioner switching button, temperature adjustment button (the button is put grey when low pressure upgrades and is inoperable or not shown), the user can set up air conditioner switching and temperature adjustment through clicking corresponding button, the corresponding air conditioner signal is forwarded to the VC U by the HMI of automobile engine through the gateway, then the VCU is forwarded to integrated thermal management system controller (Integration Temperature MANA GEMENT SYSTEM, ITMS), ITMS control air conditioner carries out corresponding operation, the corresponding air conditioner signal can not restrain when the automobile OTA upgrades, can receive and dispatch, thereby the air conditioner is operable when can realize the automobile OTA upgrades.
S8021, CDC judges whether to receive the air conditioner operation instruction, if yes, S8022 is executed.
S8022, CDC sends an air conditioner operation instruction to GW.
S8023, the GW sends an air conditioner operation instruction to the VCU.
S8024, VCU sends air conditioner operation instruction to ITMS.
S8025, the ITMS returns an air conditioner response result to the VCU.
S8026, the VCU forwards the air conditioner response result to the GW.
S8027, the GW forwards the air conditioner response result to the CDC. CDC shows the corresponding air conditioning status.
S8028, OTAM sends a high-voltage power-down request to TBOX.
S8029, TBOX forwards the high voltage down request to GW.
S8030, the GW forwards the high voltage activation request to the VCU.
S8031, the VCU feeds back the low-voltage state to the GW. The VCU is electrified under high voltage, and after the whole vehicle is controlled to enter a low-voltage state, the low-voltage activation state is fed back to the GW.
S8032, GW forwards low pressure status to TBOX.
S8033, TBOX forwards the low pressure state to OTAM.
S8034 and OTAM judge whether the whole vehicle is in a low-voltage state, if yes, S8035 is executed, and if no, S8041 is executed.
S8035, OTAM sends a low-voltage step-up flag to TBOX.
S8036, TBOX forwards the low-voltage upgrade identification to GW.
S8037, GW transmits low-voltage upgrade identification to CDC.
S8038 and CDC control the air conditioner button to be gray or not displayed.
S8039, OTAM sends an exit FBL swipe power range request to TBOX.
S8040, the TBOX forwards the request of exiting the FBL to flush the power supply gear to all controllers.
S8041, ending.
It can be seen that the whole requirement of the operational use scenario of the air conditioner in the vehicle OTA upgrade is realized by ITM S, VCU, GW, CDC, TBOX, OTAM, the upgrade interface air conditioner operation button display is realized by CDC, after the upgrade is finished, the operation is returned to the normal main interface, the ITMS realizes that the air conditioner is operational under the FBL brushing power supply gear, and the ITMS controls the electric drive water pump (liquid cooling), the compressor, the fan and the like to be not operated in the low-voltage upgrade.
The vehicle upgrading method provided by the embodiment of the application has the beneficial effects that: 1) The technical blank that the functions of opening the air conditioner, closing the air conditioner, setting the temperature of the air conditioner and the like cannot be used when the OTA of the vehicle is upgraded is filled. 2) The comfort of the in-car environment during the upgrading of the vehicle OTA can be improved, so that the in-car environment during the upgrading of the vehicle OTA is more humanized. 3) The vehicle OTA upgrading and using experience can be better brought to the user.
In a second aspect, an embodiment of the present application provides an upgrade apparatus for a vehicle, as shown in fig. 10, an upgrade apparatus 90 for a vehicle includes: a determining unit 901, a control unit 902. Wherein:
A determining unit 901, configured to determine a target upgrade voltage type of a target controller to be upgraded in a vehicle device, in a case where the vehicle device receives an upgrade instruction;
A control unit 902, configured to configure a target message attribute of a high-voltage appliance in the vehicle device to allow message transceiving if the target upgrade voltage type is a high-voltage type; the target controller is controlled to be upgraded, so that the high-voltage electric device is in a usable state in the upgrading process of the target controller;
and under the condition that the target message attribute is configured to allow message sending and receiving, the high-voltage electric appliance is in the usable state.
In some embodiments, in case the number R of target controllers is greater than 1, the control unit 902 is further configured to: classifying the R target controllers into P target high-voltage controllers and Q target low-voltage controllers based on target upgrade voltage types of the R target controllers; wherein R is an integer greater than 1; the P and the Q are positive integers less than or equal to the R;
Configuring the target message attribute of the high-voltage electrical appliance to allow message receiving and sending; the P target high-voltage controllers are controlled to be upgraded, so that the high-voltage electric appliances are in the usable state in the upgrading process of the P target high-voltage controllers;
After the P target high-voltage controllers are upgraded, configuring target message attributes of the high-voltage electrical appliances to be not allowed to transmit and receive messages; the Q target low-voltage controllers are controlled to be upgraded, so that the high-voltage electric appliance is in an unusable state in the upgrading process of the Q target low-voltage controllers;
and under the condition that the target message attribute is configured to not allow message receiving and transmitting, the high-voltage electric appliance is in the unusable state.
In some embodiments, after the configuring the target message attribute of the high-voltage apparatus to allow the message to be sent and received, the control unit 902 is further configured to: the target message attribute is sent to a target domain controller; the target domain controller outputs first prompt information based on the target message attribute; the first prompt information is used for prompting that the high-voltage electric appliance is in the usable state; and displaying target parameter options of the high-voltage electrical appliance in an upgrading interface of the vehicle equipment so as to configure working parameters of the high-voltage electrical appliance based on the target parameter options.
In some embodiments, after the configuring the target message attribute of the high-voltage apparatus to not allow the message to be sent and received, the control unit 902 is further configured to: transmitting the target message attribute to the target domain controller; the target domain controller outputs second prompt information based on the target message attribute; the second prompt information is used for prompting that the high-voltage electric appliance is in the unavailable state; and canceling to display target parameter options of the high-voltage electrical appliance in an upgrading interface of the vehicle equipment.
In some embodiments, where the high voltage electrical appliance comprises an air conditioning device, the control unit 902 is further configured to: acquiring a reference working temperature range of the target controller and a current first working temperature of the target controller; and under the condition that the first working temperature exceeds the reference working temperature range, starting the air conditioning equipment so as to enable the target controller to work in the reference working temperature range.
In some embodiments, where the high voltage electrical appliance comprises an air conditioning device, the control unit 902 is further configured to: receiving an opening instruction for the air conditioning equipment; and responding to the starting instruction, starting the air conditioning equipment so that the vehicle equipment is at the target temperature, and upgrading the target controller.
In some embodiments, the control unit 902 is further configured to:
under the condition that the target upgrading voltage type is a low voltage type, configuring the target message attribute of the high-voltage electrical appliance to be not allowed to transmit and receive messages; the target controller is controlled to be upgraded, so that the high-voltage electric device is in the unusable state in the upgrading process of the target controller;
and under the condition that the target message attribute is configured to not allow message receiving and transmitting, the high-voltage electric appliance is in the unusable state.
It should be noted that, each unit included in the upgrading device for a vehicle provided by the embodiment of the present application may be implemented by a processor in an electronic device; of course, the method can also be realized by a specific logic circuit; in an implementation, the Processor may be a central processing unit (CPU, central Processing Unit), a microprocessor (MPU, micro Processor Unit), a digital signal Processor (DSP, digital Signal Processor), or a Field-Programmable gate array (FPGA), etc.
The description of the apparatus embodiments above is similar to that of the method embodiments above, with similar advantageous effects as the method embodiments. For technical details not disclosed in the embodiments of the apparatus of the present application, please refer to the description of the embodiments of the method of the present application.
It should be noted that, in the embodiment of the present application, if the above-mentioned method for upgrading a vehicle is implemented in the form of a software functional module, and sold or used as a separate product, the upgrade method may also be stored in a computer readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be embodied essentially or in a part contributing to the related art in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read Only Memory (ROM), a magnetic disk, an optical disk, or other various media capable of storing program codes. Thus, embodiments of the application are not limited to any specific combination of hardware and software.
In a third aspect, an embodiment of the present application provides an electronic device, including at least a memory and a processor, where the memory stores a computer program executable on the processor, and the processor implements steps in the method for upgrading a vehicle provided in the above embodiment when executing the program.
Next, a structural diagram of the electronic device will be described with reference to the electronic device 100 shown in fig. 10.
In an example, as shown in fig. 10, the electronic device 100 includes: a processor 1001, at least one communication bus 1002, at least one external communication interface 1003, and memory 1004. Wherein the communication bus 1002 is configured to enable connected communication between the components. The external communication interface 1003 may include a standard wired interface and a wireless interface, among others.
The memory 1004 is configured to store instructions and applications executable by the processor 1001, and may also cache data (e.g., image data, audio data, voice communication data, and video communication data) to be processed or processed by the processor 1001 and the modules in the electronic device, which may be implemented by a FLASH memory (FLASH) or a random access memory (Random Access Memory, RAM).
In another example, the electronic device may be a vehicle device or a controller. The vehicle apparatus or the controller is configured to execute the steps in the upgrade method of the vehicle provided in the above-described embodiment.
In a fourth aspect, the present application further provides a storage medium, where a computer program is stored, where the steps in the method for upgrading a vehicle provided by the embodiment of the present application are implemented when the computer program on the storage medium is executed.
In a fifth aspect, the present application also provides a computer program product comprising a computer program or instructions which, when executed by a processor, implement the steps in the above-mentioned vehicle upgrade method.
It should be noted here that: the description of the storage medium and apparatus embodiments above is similar to that of the method embodiments described above, with similar benefits as the method embodiments. For technical details not disclosed in the embodiments of the storage medium and the apparatus of the present application, please refer to the description of the method embodiments of the present application.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in some embodiments" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in various embodiments of the present application, the sequence numbers of the foregoing processes do not mean the order of execution, and the order of execution of the processes should be determined by the functions and internal logic thereof, and should not constitute any limitation on the implementation process of the embodiments of the present application. The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above described device embodiments are only illustrative, e.g. the division of the units is only one logical function division, and there may be other divisions in practice, such as: multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. In addition, the various components shown or discussed may be coupled or directly coupled or communicatively coupled to each other via some interface, whether indirectly coupled or communicatively coupled to devices or units, whether electrically, mechanically, or otherwise.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units; can be located in one place or distributed to a plurality of 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.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated in one unit; the integrated units may be implemented in hardware or in hardware plus software functional units.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the above method embodiments may be implemented by hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, where the program, when executed, performs steps including the above method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read Only Memory (ROM), a magnetic disk or an optical disk, or the like, which can store program codes.
Or the above-described integrated units of the application may be stored in a computer-readable storage medium if implemented in the form of software functional modules and sold or used as separate products. Based on such understanding, the technical solution of the embodiments of the present application may be embodied essentially or in a part contributing to the related art in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a removable storage device, a ROM, a magnetic disk, or an optical disk.
The foregoing is merely an embodiment of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.