Information processing device for vehicle and program for vehicle
The vehicle information processing device addresses software update failures by notifying the stage and reason for failure, enhancing troubleshooting efficiency.
Patent Information
- Application Number
- JP2023038708
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-13
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2043-03-13
AI Technical Summary
Existing vehicle software update systems fail to provide clear information on the reason for update failures, leading to potential repetitive attempts without addressing the underlying issues.
An information processing device for vehicles that monitors and notifies the stage of failure during software update processes, including download, installation, and activation, providing specific error codes and battery/state information to identify the cause.
Facilitates easy understanding of software update failures by identifying the stage and reason for failure, reducing unnecessary retries and facilitating targeted repairs.
Smart Images

Figure 2024129478000001
Abstract
Description
[Technical field]
[0001] The present invention relates to an information processing device for a vehicle and a program for a vehicle. [Background technology]
[0002] The vehicle disclosed in Patent Document 1 includes an electronic control unit and an information processing device that manages software updates for the electronic control unit. The information processing device is capable of wireless communication with a server. When update software for the electronic control unit exists on the server, the information processing device updates the electronic control unit to the update software. Updating to the update software involves three stages. The first stage is for the information processing device to download the update software from the server. The second stage is for the update software to be installed in the electronic control unit. The third stage is for the installed update software to be activated. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2021-105923 A Summary of the Invention [Problem to be solved by the invention]
[0004] As in Patent Document 1, in a technology for updating software in a vehicle, the update may fail. In this case, if the user of the vehicle does not receive any information that can provide a clue as to the reason for the update failure, the user may undesirably try to update the software again without resolving the reason for the failure. [Means for solving the problem]
[0005] In order to solve the above problem, an information processing device for a vehicle performs the following operations: downloading to receive update software for an electronic control unit mounted in the vehicle; installing the update software obtained by the download so that it is stored in the electronic control unit; activating to make the installed update software valid; and, when completion of all of the downloading, installing, and activating processes is considered to be the completion of updating to the update software, if the updating to the update software cannot be completed, notifying at which stage of the downloading, installing, or activating the malfunction occurred.
[0006] A vehicle program for solving the above problems is applied to a vehicle equipped with an electronic control unit and an information processing device that controls software updates of the electronic control unit, and causes the information processing device to download update software for the electronic control unit, install the update software obtained by the download so that it is stored in the electronic control unit, activate the installed update software to be valid, and, when the completion of the download, installation, and activation is considered to be the completion of updating to the update software, if the updating to the update software cannot be completed, notify at which stage of the download, installation, and activation a malfunction occurred. Effect of the Invention
[0007] According to the above technical concepts, it is possible to easily grasp the reason why an update to update software has failed. [Brief description of the drawings]
[0008] [Figure 1] FIG. 1 is a schematic configuration diagram of a vehicle. [Diagram 2]13 is a flowchart showing a procedure of a notification process. [Diagram 3] FIG. 11 is a sequence diagram showing a flow of a software update. [Figure 4] FIG. 13 is a diagram showing an example of a first image for failure. [Diagram 5] FIG. 13 is a diagram showing an example of a second image for failure. [Figure 6] 13 is a sequence diagram showing a modified example of the timing for performing notification processing. FIG. [Figure 7] FIG. 13 is a diagram showing an example of a summary image. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Hereinafter, an embodiment of an information processing device for a vehicle will be described with reference to the drawings. <Vehicle Overview> As shown in FIG. 1, the vehicle 100 includes an OTA master 10. The OTA master 10 includes a processing circuit 12. The processing circuit 12 includes a CPU 20, a first memory 21, a second memory 22, and a third memory 23. The first memory 21 is a non-volatile storage medium. The first memory 21 is electrically rewritable. The first memory 21 functions as a storage for storing data received from the outside, for example. The second memory 22 is a non-volatile storage medium. The second memory 22 is electrically rewritable. The second memory 22 stores software. The software is a group of various programs W in which processes to be executed by the CPU 20 are described, and various data required for the CPU 20 to execute the programs W. The third memory 23 is a volatile storage medium. The OTA master 10 includes a communication module 14. The communication module 14 is a communication circuit for wirelessly communicating with the outside via an external communication line network. The OTA master 10 includes a real-time clock 16. The real-time clock 16 is a circuit that generates date and time information. The OTA master 10 is an information processing device mounted on the vehicle 100. The OTA master 10 is also an electronic control device mounted on the vehicle 100.
[0010] The vehicle 100 is equipped with a plurality of specific control devices 90. In FIG. 1, three of the plurality of specific control devices 90 are shown as representatives. Each specific control device 90 is an electronic control device that controls a specific one of the plurality of in-vehicle devices. One of the plurality of in-vehicle devices is an engine that is a driving source of the vehicle 100. One of the plurality of in-vehicle devices is a hydraulic brake device. Therefore, examples of the above-mentioned specific control device 90 are an engine ECU, a brake ECU, etc. Other examples of in-vehicle devices include an air conditioner device, a meter display device, a car navigation device, an audio device, and a turn signal device. Each specific control device 90 is assigned an individual identification value in advance. Each specific control device 90 can communicate with the OTA master 10 via a bus 95.
[0011] Each specific control device 90 includes a processing circuit similar to that of the OTA master 10. That is, the specific control device 90 includes a CPU, a non-volatile first memory, a non-volatile second memory 90A, and a volatile third memory. The second memory 90A stores software F for controlling the target in-vehicle device. The non-volatile memory employed in this embodiment, including the OTA master 10, has a double bank structure. This type of double bank structure memory has two storage areas. When data is being read from one storage area, data can be written to the other storage area.
[0012] The vehicle 100 includes a display 50. The display 50 is located inside the vehicle cabin of the vehicle 100. The display 50 includes a drive circuit and a display screen. The display 50 is connected to the OTA master 10. The display 50 displays an image on the display screen in response to a command signal transmitted by the CPU 20 of the OTA master 10. The display 50 is of a touch panel type. That is, when a user performs an input operation on the display screen of the display 50, the display 50 transmits a signal in response to the input operation to the OTA master 10.
[0013] The vehicle 100 includes a battery 60. The battery 60 supplies power to various in-vehicle devices, such as the OTA master 10, each specific control device 90, and the display 50. The vehicle 100 is equipped with a battery sensor 80. The battery sensor 80 detects battery information Y of the battery 60, such as the temperature, voltage, and current.
[0014] The vehicle 100 includes an ignition switch 70. The ignition switch 70 may be called a start switch or a system activation switch. The ignition switch 70 is a switch for a user to instruct the activation of the vehicle 100. The ignition switch 70 is turned on or off by the user, thereby turning on or off the system of the vehicle 100. When the system of the vehicle 100 is on, the OTA master 10 and each specific control device 90 are in an activated state. The state in which the system of the vehicle 100 is on includes a state in which the vehicle 100 can run and a so-called accessory on state. The accessory on state is a state in which the vehicle 100 cannot run but some of the in-vehicle devices can be used. On the other hand, when the system of the vehicle 100 is off, the OTA master 10 and each specific control device 90 are in a non-activated state. However, even when the system of the vehicle 100 is off, the OTA master 10 and each specific control device 90 are in an activated state by receiving power supply from the battery 60 when a process needs to be performed, for example, when updating software. The OTA master 10 receives a signal indicating the state of the vehicle 100 in response to the on / off operation of the ignition switch 70. This allows the OTA master 10 to know whether the system of the vehicle 100 is on or off.
[0015] <OTAサーバ> The OTA server 500 is a management server provided outside the vehicle 100. The OTA server 500 manages software information for a plurality of pre-registered vehicles. The OTA server 500 stores the latest software applicable to each vehicle according to classifications such as vehicle type and model. The OTA server 500 notifies whether there is new updated software applicable to the vehicle in response to a request from each vehicle, or transmits the new updated software to the target vehicle.
[0016] <Overview of the OTA master function> The OTA master 10 controls the software update of each specific control device 90 and notifies the result of the update. This will be described below. The CPU 20 of the OTA master 10 realizes each process described below by executing the program W stored in the second memory 22.
[0017] The OTA master 10 is capable of executing the preprocessing L. The preprocessing L is a process for the OTA master 10 to grasp the necessity of software update for each specific control device 90. In the preprocessing L, the OTA master 10 confirms the existence of new updated software through the exchange of information with the OTA server 500.
[0018] The OTA master 10 is capable of executing the software update process. The software update process is a process for updating the software of the specific control device 90 to the updated software. In the software update process, the OTA master 10 updates the software of each specific control device 90 using wireless communication. The technology of updating software using wireless communication is sometimes called OTA (Over The Air).
[0019] There are three processes for updating the update software. The three processes are download, install, and activate. Download is when the OTA master 10 receives update software for the specific control device 90 mounted on the vehicle 100 and stores the received update software in the first memory 21. Install is when the OTA master 10 stores the update software obtained by downloading in the specific control device 90 to be updated. Activate is when the OTA master 10 validates the installed update software for the specific control device 90 to be updated. Specifically, activate is when the setting contents of the specific control device 90 are changed so that the software that the specific control device 90 loads when performing various processes is changed from the current software to the update software. For example, in activate, the OTA master 10 changes the setting of the read flag in the specific control device 90. The read flag is a flag that specifies the storage area to be targeted when loading the software. By changing the setting of the read flag, the storage area into which the software is read in the specific control device 90 is switched from the storage area storing the current software to the storage area storing the updated software.
[0020] The OTA master 10 realizes the update to the update software by three processes, a first process M1, a second process M2, and a third process M3. That is, the software update process includes the three processes, the first process M1, the second process M2, and the third process M3. The first process M1 is a process for downloading the update software. In addition to the download itself, the first process M1 includes a first advance determination for determining whether or not a download execution condition is satisfied, and a first verification for verifying the downloaded update software. The first verification is a vehicle compatibility verification for determining whether or not the update software is compatible with the vehicle 100. The first advance determination includes a first capacity determination for determining whether or not there is a shortage of storage capacity required for downloading, and a first battery determination for determining the state of the battery 60 at the stage of downloading. The OTA master 10 can calculate the charging rate, which is the ratio of the remaining capacity to the full charge capacity of the battery 60, based on the battery information Y detected by the battery sensor 80. The OTA master 10 performs the first battery determination by referring to this charging rate. This also applies to the second battery determination and the third battery determination, which will be described later.
[0021] The second process M2 is a process for installing the update software. In addition to the installation itself, the second process M2 includes a second advance judgment for judging whether or not the conditions for executing the installation are satisfied, and a second verification for verifying the installed update software. The second verification is a type of the vehicle compatibility verification described above. The second advance judgment includes a second capacity judgment for judging whether or not there is a shortage of storage capacity required for the installation, and a second battery judgment for judging the state of the battery 60 at the stage of performing the installation. Regarding the installation and the second verification performed in the second process M2, the OTA master 10 transmits a command signal for performing these installation and second verification to the specific control device 90. In response to this command signal, the specific control device 90 performs various processes as instructed. Since the OTA master 10 issues the command for the installation and the second verification, the OTA master 10 is the control entity for performing the installation and the second verification. In other words, the OTA master 10 performs the installation and the second verification.
[0022] The third process M3 is a process for activating the installed update software. The third process M3 includes, in addition to the activation itself, a third pre-determination for determining whether or not the activation execution condition is satisfied, and a process for confirming the setting information after activation. The third pre-determination in this embodiment is a third battery determination for determining the state of the battery 60 at the stage of performing the activation. Regarding the activation performed in the third process M3, the OTA master 10 transmits a command signal for performing the activation to the specific control device 90. In response to this command signal, the specific control device 90 performs the instructed process. Since the OTA master 10 issues the command for the activation, the control entity that performs the activation is the OTA master 10. In other words, the OTA master 10 performs the activation.
[0023] The OTA master 10 can execute a notification process P. Completion of all of the download, installation, and activation is referred to as completion of the update to the update software. In the notification process P, the OTA master 10 performs a completion determination, which is a determination of whether or not the update to the update software has been completed. If the OTA master 10 cannot complete the update to the update software, the OTA master 10 performs a failure notification, which is a notification that the update has failed. The failure notification includes information indicating at which stage of the download, installation, and activation a malfunction has occurred, that is, the stage at which the update has failed. This information is specifically an error code that has been assigned in advance to each of the download, installation, and activation. In this embodiment, the download error code is "1". The installation error code is "2". The activation error code is "3". The failure notification also includes the following content. That is, the failure notification includes the result of the first verification or the second verification. The failure notification includes the state of the battery 60 at the stage at which the update has failed. The failure notification includes the result of the first capacity determination or the second capacity determination. The failure notification includes information indicating the specific control device 90 for which the update could not be completed. Specifically, this information is the name of the in-vehicle device that is the control target of the specific control device 90 for which the update could not be completed.
[0024] <Software update procedure> A series of processing steps when updating the software of the specific control device 90 will now be described. The OTA master 10 performs pre-processing L when the system of the vehicle 100 is switched from off to on. As shown in FIG. 3, the OTA master 10 first performs processing in step S1 in pre-processing L. In step S1, the OTA master 10 transmits an identification value assigned to the vehicle 100 and configuration information of the vehicle 100 to the OTA server 500. The configuration information is a table that associates the identification value of each specific control device 90 mounted on the vehicle 100 with current software version information of each specific control device 90. The first memory 21 of the OTA master 10 stores this configuration information.
[0025] When the OTA server 500 receives the configuration information from the vehicle 100, the OTA server 500 determines whether or not there is new update software applicable to the vehicle 100, based on the configuration information of the vehicle 100. Then, in step S111, the OTA server 500 transmits update necessity information indicating the determination result to the vehicle 100.
[0026] When the OTA master 10 receives the update necessity information, it performs the process of step S2. In step S2, if new update software is available, the OTA master 10 causes the display 50 to display a notification asking whether or not to update to the update software. If the user agrees to update to the update software in response to this notification, the OTA master 10 proceeds to the software update process described below. In step S2, if new update software is not available or if the user's consent cannot be obtained, the OTA master 10 cancels the execution of the software update process. The above processes of steps S1 and S2 are pre-processing L.
[0027] <First process> When the OTA master 10 shifts to the software update process, it first performs the first process M1. The first process M1 is basically performed when the system of the vehicle 100 is on. Depending on the usage of the vehicle 100 by the user, the system of the vehicle 100 may switch from on to off during the execution of the first process M1.
[0028] In the first process M1, the OTA master 10 first performs the process of step S11. In S11, the OTA master 10 performs a first pre-determination to determine whether or not the execution condition for downloading is satisfied. The execution condition is that two conditions are satisfied: a first item that the charging rate of the battery 60 is not insufficient, and a second item that the storage capacity required for downloading is not insufficient. The OTA master 10 performs a first battery determination to determine whether or not the first item is satisfied. In the first battery determination, the OTA master 10 determines whether or not the charging rate of the battery 60 at the present time is equal to or higher than a predetermined charging rate. The predetermined charging rate is previously determined as a value that the charging rate of the battery 60 has a sufficient margin. In addition, the OTA master 10 performs a first capacity determination to determine whether or not the second item is satisfied. In the first capacity determination, the OTA master 10 determines whether or not the free capacity of the first memory 21 at the present time is equal to or higher than a predetermined capacity. The free space referred to here is the free space of the storage area in the first memory 21 that can be used in the software update process. The predetermined capacity is determined in advance as a capacity that can be stored in the first memory 21 even if the data capacity of the update software is relatively large. If the execution condition is met as a result of the first battery determination and the first capacity determination, the OTA master 10 performs the process of step S12. If the execution condition is not met in the first preliminary determination, the OTA master 10 skips the processes of steps S12, S13, and S14 described below and performs the process of step S15.
[0029] In step S12, the OTA master 10 requests the OTA server 500 to transmit the update software. In response to the transmission request, the OTA server 500 transmits the update software applicable to the vehicle 100 to the vehicle 100 in step S112. Then, the OTA master 10 performs the process of step S13. That is, the OTA master 10 downloads the update software in step S13. Specifically, the OTA master 10 receives the update software transmitted from the OTA server 500 and stores the received update software in the first memory 21. Note that, during the execution of this download, a situation may occur in which the OTA master 10 is forced to interrupt the download for some reason. In this case, the OTA master 10 interrupts the download midway and skips the process of step S14 described later. On the other hand, when the download is completed, the OTA master 10 performs the process of step S14. Note that in this embodiment, the following process will be described by taking as an example a case where one update software is downloaded, that is, where there is one specific control device 90 to be updated.
[0030] In step S14, the OTA master 10 performs a first verification on the downloaded update software. Here, the update software includes, in addition to main information such as a program code, an identification value of the specific control device 90 to be updated, and version information of the update software. In the first verification, the OTA master 10 checks the contents of the update software from the following two perspectives. The first perspective is whether the specific control device 90 to which the received update software is applied is actually the specific control device 90 installed in the vehicle 100. The second perspective is whether the version of the received update software is newer than the software currently stored in the specific control device 90. In the first verification, the OTA master 10 judges whether the update software is appropriate from these two perspectives. If the update software is appropriate, the OTA master 10 determines that the result of the first verification is passed, and if the update software is inappropriate, the result of the first verification is failed. After performing the first verification, the OTA master 10 advances the process to step S15.
[0031] In step S15, the OTA master 10 performs a download determination to determine whether the download has been successful. In the download determination, if the result of the first verification is successful, the OTA master 10 determines that the download has been successful. On the other hand, the OTA master 10 determines that the download has failed in any of the following three cases. One of the three cases is when the result of the first verification is unsuccessful. One of the three cases is when the download cannot be completed for some reason in step S13. One of the three cases is when the execution condition is not met in the first preliminary determination in step S11. When the OTA master 10 performs the download determination as described above, it generates update result information. The update result information includes the identification value of the specific control device 90 to be updated, the current date and time, and the result of the download determination. The OTA master 10 stores such update result information in the first memory 21. In addition, when the OTA master 10 determines that the download has failed, it also adds the result of the first battery determination, the result of the first capacity determination, the result of the first verification, and the like to the update result information. The OTA master 10 stores the success or failure of the download determination, the verification result, etc., using individual identification values. Although a detailed description is omitted, the fact that the determination result, etc. are stored using individual identification values is similar to the second process M2 and the third process M3 described later. The above-mentioned processes of steps S11, S12, S13, S14, and S15 constitute the first process M1.
[0032] <Second Processing> If the OTA master 10 determines that the download is successful in the download determination of the first process M1, it performs the second process M2 following the first process M1. If the OTA master 10 determines that the download is unsuccessful in the download determination, it cancels the second process M2 and the third process M3. In this case, the OTA master 10 performs a notification process P at a timing described later.
[0033] In the second process M2, the OTA master 10 first performs the process of step S21. In step S21, the OTA master 10 performs a second advance determination to determine whether or not the installation execution condition is satisfied. The execution condition is that two conditions are satisfied: a first condition that the charging rate of the battery 60 is not insufficient, and a second condition that the storage capacity required for the installation is not insufficient. The OTA master 10 performs a second battery determination to determine whether or not the first condition is satisfied. In the second battery determination, the OTA master 10 determines whether or not the charging rate of the battery 60 at the present time is equal to or higher than a predetermined charging rate, as in the first battery determination. In addition, the OTA master 10 performs a second capacity determination to determine whether or not the second condition is satisfied. In the second capacity determination, the OTA master 10 determines whether or not the free space of the second memory 90A in the specific control device 90 to be updated is equal to or larger than the data capacity of the update software. Prior to performing the second capacity determination, the OTA master 10 requests the specific control device 90 to be updated to transmit information about the current memory state. In response to this, the specific control device 90 to be updated transmits information about the free space of the second memory 90A to the OTA master 10. This free space is the free space of the storage area in the second memory 90A that can be used to store new software. If the execution condition is met as a result of performing the second battery determination and the second capacity determination, the OTA master 10 performs the process of step S22. If the execution condition is not met in the second advance determination, the OTA master 10 skips the process of step S22, which will be described later, and performs the process of step S23.
[0034] In step S22, the OTA master 10 transmits update software for the specific control device 90 to be updated and an installation command signal to the specific control device 90. The installation command signal is a signal for commanding the specific control device 90 to store the update software in the second memory 90A of the specific control device 90, to verify the stored update software, and to transmit the verification result to the OTA master 10.
[0035] When the specific control device 90 to be updated receives the update software and the installation command signal, it performs the process of step S221. In step S221, the specific control device 90 installs the update software. That is, the specific control device 90 stores the update software in its own second memory 90A. The specific control device 90 stores the update software in a storage area different from the storage area of the software currently being used. After this, in step S222, the specific control device 90 performs a second verification of the installed update software. In this second verification, the specific control device 90 checks whether the contents of the update software have been tampered with or have errors. After this, the specific control device 90 to be updated performs the process of step S223. In step S223, the specific control device 90 transmits the result of the second verification to the OTA master 10 together with its own identification value. If the update software is appropriate, the result of the second verification is pass, otherwise it is fail. It is possible that the specific control device 90 is forced to interrupt the installation of the update software midway through its installation for some reason. In this case, the specific control device 90 does not perform the second verification. In this case, in step S223, the specific control device 90 transmits an interruption result indicating that the installation has been interrupted midway to the OTA master 10 together with its own identification value.
[0036] After that, in step S23, the OTA master 10 performs an installation judgment, which is a judgment of whether the installation is successful or not. In this installation judgment, if the result of the second verification is passed, the OTA master 10 judges that the installation is successful. On the other hand, the OTA master 10 judges that the installation is unsuccessful in any of the following three cases. One of the three cases is when the result of the second verification is unsuccessful. One of the three cases is when an interruption result of the installation is received from the specific control device 90. One of the three cases is when the execution condition is not established in the second advance judgment of step S21. When the OTA master 10 performs the installation judgment, the judgment result is added to the update result information. In addition, if the installation is unsuccessful, the OTA master 10 also adds the result of the second battery judgment, the result of the second capacity judgment, and the result of the second verification to the update result information. The above processes of steps S21, S22, and S23 are the second process M2.
[0037] <Third Processing> When the OTA master 10 determines that the installation is successful in the installation determination of the second process M2, the OTA master 10 performs the third process M3. When the system of the vehicle 100 is on at the end of the second process M2, the OTA master 10 waits to execute the third process M3 until the system of the vehicle 100 is off. Then, the OTA master 10 executes the third process M3 when the system of the vehicle 100 is switched from on to off. On the other hand, when the system of the vehicle 100 is off at the end of the second process M2, the OTA master 10 executes the third process M3 following the second process M2. When the user turns on the ignition switch 70 during the execution of the third process M3, the OTA master 10 displays the following message on the display 50. The message indicates that the system of the vehicle 100 cannot be turned on because software update is being performed. When the OTA master 10 displays this message on the display 50, the switching of the system of the vehicle 100 from off to on is put on hold. If the OTA master 10 determines that the installation has failed in the installation determination, the OTA master 10 cancels the third process M3. In this case, the OTA master 10 performs a notification process P at a timing to be described later.
[0038] In the third process M3, the OTA master 10 first performs the process of step S31. In step S31, the OTA master 10 performs a third pre-determination to determine whether or not an activation execution condition is satisfied. The execution condition is that the charging rate of the battery 60 is not insufficient. In the third pre-determination, the OTA master 10 performs a third battery determination to determine whether or not the charging rate of the battery 60 at the present time is equal to or higher than a predetermined charging rate. If the execution condition is satisfied in the third pre-determination, the OTA master 10 performs the process of step S32. Note that, if the execution condition is not satisfied in the third pre-determination, the OTA master 10 skips the process of step S32 and performs the process of step S33 described later.
[0039] In step S32, the OTA master 10 transmits an activate command signal to the specific control device 90 to be updated. The activate command signal is a signal for commanding activation of the installed update software and transmission of software information after activation to the OTA master 10. The software information is version information of the software to be read by the specific control device 90.
[0040] When the specific control device 90 to be updated receives the above-mentioned activation command signal, it performs the process of step S231. In step S231, the specific control device 90 activates the update software. That is, the specific control device 90 validates the update software. For example, the specific control device 90 changes the setting of the above-mentioned read flag that specifies the storage area into which the software is to be read. If this setting change does not go well, the software set as the target for reading from the next time remains the original software, not the newly installed update software. After this, in step S232, the specific control device 90 transmits the version information of the software set as the target for reading from the next time, together with the identification value of the specific control device 90, to the OTA master 10. Note that, for some reason, a situation may occur in which the specific control device 90 is forced to interrupt the activation of the update software midway. In this case, in step S232, the specific control device 90 transmits an interruption result indicating that the activation has been interrupted midway to the OTA master 10, together with its own identification value.
[0041] After that, in step S33, the OTA master 10 performs an activation determination, which is a determination of whether activation has been successful. In the activation determination, the OTA master 10 refers to the version information of the software received from the specific control device 90 and the configuration information of the vehicle 100 described in step S1. Then, the OTA master 10 determines that activation has been successful if the version of the software that the specific control device 90 reads next time is a new version compared to the contents of the configuration information of the vehicle 100. On the other hand, the OTA master 10 determines that activation has failed in any of the following three cases. One of the three cases is when the software to be read next time is not a new version. One of the three cases is when an interruption result of activation is received from the specific control device 90. One of the three cases is when the execution condition is not established in the third pre-determination in step S31. When the OTA master 10 performs the activation determination, it adds the determination result to the update result information. If the activation fails, the OTA master 10 also writes the result of the third battery determination in the first memory 21. If the activation is successful, the OTA master 10 updates the version information of the software in the specific control device 90 to be updated in the configuration information of the vehicle 100 to the latest version. The above-described processes in steps S31, S32, and S33 constitute a third process M3.
[0042] <Notification process> After the software update process is completed, the OTA master 10 executes the notification process P when the system of the vehicle 100 is switched from off to on for the first time. As described above, the software update process includes three processes, the first process M1, the second process M2, and the third process M3. At which stage of these three processes the software update process ends depends on the situation. For example, the OTA master 10 may end the software update process when the first process M1 is completed. In this case, the OTA master 10 executes the notification process P when the system of the vehicle 100 is switched from off to on for the first time after the first process M1 is completed. In addition, the OTA master 10 may end the software update process when the first process M1 and the second process M2 are completed. In this case, the OTA master 10 executes the notification process P when the system of the vehicle 100 is switched from off to on for the first time after the second process M2 is completed.
[0043] As shown in FIG. 2, when the OTA master 10 starts the notification process P, it first executes the process of step S50. In step S50, the OTA master 10 performs a completion determination as to whether or not the update to the update software has been completed. As described above, the completion of the update to the update software means that all of the download, installation, and activation have been completed. The OTA master 10 refers to the update result information. The OTA master 10 then performs a completion determination based on the results of the download determination, the installation determination, and the activation determination. If the result of the activation determination exists and is successful, the OTA master 10 determines that the update to the update software has been completed. In this case (step S50: YES), the OTA master 10 advances the process to step S51.
[0044] In step S51, the OTA master 10 generates a success image. Although not shown, this image includes the following three display contents. The first display content is a message that the software update has been completed. The second display content is the name of the in-vehicle device that is the control target of the specific control device 90 that is the update target. The third display content is an end button. The end button is an input button for the user to instruct the end of the display of the success image. Regarding the second display content, the OTA master 10 specifies the name of the in-vehicle device as follows. As a premise, the second memory 22 of the OTA master 10 stores a controlled item list. The controlled item list is a table in which the identification value of each specific control device 90 and the name of the in-vehicle device that each specific control device 90 controls correspond to each other. The OTA master 10 specifies the name of the in-vehicle device by using this controlled item list. Specifically, the OTA master 10 first reads out the identification value of the specific control device 90 that is the update target from the update result information. Then, based on the controlled item list, the OTA master 10 identifies the name of the in-vehicle device that is the control target of the specific control device 90. After generating the success image, the OTA master 10 advances the process to step S52.
[0045] In step S52, the OTA master 10 transmits a command signal to the display 50 to display a success image. In response to this command signal, the display 50 displays the success image. After this, when the user operates the end button, the OTA master 10 causes the display 50 to end the display of the success image. At the same time, the OTA master 10 ends the process of step S52. Then, the OTA master 10 ends the notification process P.
[0046] On the other hand, in step S50, if any of the following three cases apply, the OTA master 10 determines that the update to the update software could not be completed, that is, that the update to the update software has failed. The first case is a case where the download determination result is a failure. The second case is a case where the installation determination result is a failure. The third case is a case where the activation determination result is a failure. If the OTA master 10 determines that the update to the update software has failed (step S50: NO), the process proceeds to step S53.
[0047] In step S53, the OTA master 10 generates an image for failure. There are two images for failure: a first image A and a second image B. First, the OTA master 10 generates the first image A. As shown in FIG. 4, the first image A includes a plurality of display contents. The first display content A1 is a message that the software update has failed. The second display content A2 is the name of the in-vehicle device that is the control target of the specific control device 90 to be updated. The OTA master 10 identifies the name of the in-vehicle device based on the control item list and the update result information, as in the case of generating an image for success. The third display content A3 is an error code indicating the failure stage of the update to the update software. In FIG. 4, the error code is set to "2" as an example of a case where the installation has failed. The OTA master 10 identifies the failure stage of the update based on the update result information. The fourth display content A4 is a details button. The details button is an input button for the user to instruct the display of the second image B, which will be described later. The fifth display content A5 is an end button. The end button is an input button for the user to instruct the end of the display of the first image A.
[0048] After finishing generating the first image A, the OTA master 10 generates the second image B. As shown in FIG. 5, the second image B is an image for displaying detailed information on the failure of the update. The second image B includes the following multiple display contents. The first display content B1 is the state of the battery 60 at the stage where the update has failed. The OTA master 10 reflects the result of the battery judgment at each stage in the first display content B1. For example, if the update has failed at the installation stage, the OTA master 10 reflects the result of the second battery judgment in the first display content B1. If the result of the second battery judgment is positive, the OTA master 10 treats the battery state as normal. On the other hand, if the result of the second battery judgment is negative, the OTA master 10 treats the battery state as abnormal. The second display content B2 is the result of the capacity judgment at the stage where the update has failed. The OTA master 10 reflects the result of the capacity judgment at each stage in the second display content B2. If the result of the capacity judgment is positive, the OTA master 10 determines that the storage capacity required for updating the update software is not insufficient. On the other hand, if the result of the capacity determination is negative, the OTA master 10 determines that the storage capacity required for updating the update software is insufficient. The second display content B2 does not exist when the update failure stage is activation. The third display content B3 is the result of the verification at the stage where the update fails. The OTA master 10 reflects the result of the verification at the stage where the update fails in this third display content B3. If the result of the verification is successful, the OTA master 10 determines that there is no abnormality in the update software. On the other hand, if the result of the verification is unsuccessful, the OTA master 10 determines that there is an abnormality in the update software. The third display content B3 does not exist when the update failure stage is activation. Also, the third display content B3 does not exist when verification has not been performed even if the update failure stage is download or installation. The fourth display content B4 is a message about the recommended future action. This fourth display content B4 is a message instructing the user to take the software to a maintenance shop or to retry the update. The OTA master 10 selects which guidance to provide based on various determination results in the update result information, etc. The fifth display content B5 is a back button.The back button is an input button for the user to instruct to return from the second image B to the first image A. The sixth display content B6 is an exit button. The exit button is an input button for the user to instruct to end the display of the failure screen itself. As shown in FIG. 2, after generating the first image A and the second image B, the OTA master 10 advances the process to step S54.
[0049] In step S54, the OTA master 10 transmits a command signal to the display 50 to display various images for failure. In response to this command signal, the display 50 displays the images for failure. When the process proceeds to step S54, the OTA master 10 causes the display 50 to display the first image A for failure. After this, in response to an input operation by the user on the display 50, the OTA master 10 switches the content to be displayed on the display 50 between the first image A and the second image B. Displaying the first image A or the second image B on the display 50 corresponds to performing a failure notification. When the user operates the end button of any of the images, the OTA master 10 causes the display 50 to end the display of the images for failure. At the same time, the OTA master 10 ends the process of step S54. Then, the OTA master 10 ends the notification process P.
[0050] Regarding the timing of ending step S54, the OTA master 10 may end the display of the failure image on the display 50 after a predetermined fixed time has elapsed. At the same time, the OTA master 10 may end the process of step S54. The same applies to step S52.
[0051] The above is a series of steps when updating software. Here, the OTA master 10 is set to continue storing the update result information without overwriting it until a predetermined reset signal is received. The OTA master 10 is also set to be able to redisplay various failure screens in response to an input operation through the display 50. Therefore, for example, when the user brings the vehicle 100 to a maintenance shop after a software update has failed, a worker at the maintenance shop can reconfirm the various failure images.
[0052] <Operation of the embodiment> Now, assume that the OTA master 10 has performed a software update process. Then, assume that after installation is performed in the second process M2 (step S221), the second verification fails (step S222). In this case, the OTA master 10 causes the display 50 to display a first failure image A shown in FIG. 4 in a notification process P. When the user operates the details button, the OTA master 10 causes the display 50 to display a second failure image B shown in FIG. 5.
[0053] <Effects of the embodiment> (1) As described above, the second image B for failure in this embodiment includes the battery status, the presence or absence of insufficient storage capacity, and the verification result at the stage when the software update failed. This information is very useful in understanding the reason for the update failure. However, this information alone may not be enough to understand the reason for the update failure. As described above, in the software update process, the download or installation may be interrupted for some reason. The content of the second image B alone is not enough to understand the reason for failure in such cases.
[0054] In this regard, in the present embodiment, the first image A for failure includes information on the stage at which the update failed. Here, when performing a software update, the reason for failure at each stage is generally determined. Therefore, even if the details are not known, if it is known at which stage the update failed, the reason for the update failure can be roughly considered. For example, if activation failed, it can be estimated that there is a high possibility that the setting of the read flag was not changed appropriately. Therefore, by including information on the stage at which the update failed in the first image A, it becomes easier for the user of the vehicle 100 or the worker at the maintenance shop to understand the reason for the update failure.
[0055] (2) The first image A for failure includes the name of the in-vehicle device that is the control target of the specific control device 90 that has failed to update. In other words, by looking at the first image A, the specific control device 90 that has failed to update can be identified. Now, suppose that an update fails at the stage of installation or activation in a certain specific control device 90. In this case, the reason for the failure of the update may be a malfunction in the specific control device 90. With the configuration of this embodiment, if the stage at which the update failed is installation or activation, that information and the specific control device 90 that is the target can be identified. If it is known that the stage at which the update failed is installation or activation, and if the information of the specific control device 90 that is the target can be identified, the following becomes possible. That is, for example, the target to be inspected in a maintenance shop can be easily identified. If the target to be inspected can be identified, it becomes considerably easier to understand the reason for the failure of the update. In this way, the configuration of this embodiment is very effective in understanding the reason for the failure of the update.
[0056] (3) There are cases where updating to the update software fails not due to a malfunction of the specific control device 90, but due to the inappropriateness of the update software sent from the OTA server 500. If the update software is inappropriate, there is no need to suspect a malfunction of the specific control device 90 even if updating to the update software fails.
[0057] In this embodiment, a first verification and a second verification, which are vehicle compatibility verifications regarding the update software, are performed. Then, the results are included in the second image B for failure. In this way, if the update fails due to the update software being inappropriate, the user of the vehicle 100 or the worker at the maintenance shop can understand this. This prevents the vehicle 100 from being inspected unnecessarily.
[0058] (4) The second image B of this embodiment includes the result of the capacity determination. This makes it easy to know whether the reason for failure to update to the update software is related to insufficient memory capacity. Furthermore, as described above, the first image A of this embodiment includes information on the stage at which the update failed. Therefore, when the reason for the update failure is insufficient memory capacity, it is easy to know whether the processing device that is the target is the OTA master 10 or the specific control device 90 to be updated.
[0059] (5) In the present embodiment, the second image B includes the battery status. This makes it easy to know whether the reason for failure in updating the update software is related to a lack of charge rate of the battery 60 or not, if the update software fails.
[0060] (6) In the first image A of the present embodiment, an error code is used to indicate the stage at which the update has failed. If an error code is used, the displayed content is less likely to be complicated. Therefore, the user or the worker at the maintenance shop can easily understand the displayed content.
[0061] <Example of change> The above embodiment can be modified as follows: The above embodiment and the following modified examples can be implemented in combination with each other to the extent that there is no technical contradiction.
[0062] The contents of the first capacity determination are not limited to the above embodiment. For example, the first capacity determination may adopt the following aspect. As a premise, when the OTA server 500 notifies the OTA master 10 of the existence of new update software in step S111, the notification includes information on the data capacity of the update software. In such a case, the first capacity determination may compare the data capacity of the update software with the free space of the first memory 21 of the OTA master 10. Also, when the above aspect is adopted in step S111, the first capacity determination may adopt the following aspect. That is, in the first capacity determination, a capacity ratio, which is the ratio of the data capacity of the update software to the free space of the first memory 21, may be calculated. By obtaining such information on the capacity ratio, it is possible to grasp whether or not there is a shortage of storage capacity for updating to the update software. In this way, any process that can obtain information that can grasp whether or not there is a shortage of storage capacity for updating may be treated as the first capacity determination. The same applies to the second capacity determination in this respect.
[0063] The information indicating the result of the capacity determination in the failure image is not limited to the example of the above embodiment. For example, when the capacity ratio is calculated in the capacity determination as in the above modified example, the capacity ratio may be adopted as the information indicating the result of the capacity determination. In this way, the information indicating the result of the capacity determination may be appropriately changed according to the content of the capacity determination. Furthermore, the information indicating the result of the capacity determination may not be the result of the capacity determination itself. For example, when the capacity ratio is calculated in the capacity determination, the information indicating the result of the capacity determination may be either that the storage capacity is insufficient or not insufficient based on the value of the capacity ratio. The information indicating the result of the capacity determination may be anything that reflects the result of the capacity determination in some way.
[0064] The contents of the first verification are not limited to the examples of the above embodiments. For example, the first verification may check whether there is any tampering or error in the contents of the update software. That is, the contents of the second verification of the above embodiments may be added to the first verification. Similarly, the contents of the second verification are not limited to the examples of the above embodiments. For example, the contents of the first verification of the above embodiments may be added to the second verification. In addition, the first and second verifications may include contents necessary to determine whether the update software is suitable for the vehicle 100, other than the contents of the first and second verifications of the above embodiments. It is sufficient that a vehicle compatibility verification is performed to determine whether the update software is suitable for the vehicle 100 until the update to the update software is completed.
[0065] The information indicating the result of the vehicle compatibility verification in the failed image is not limited to the example of the above embodiment. For example, if the vehicle compatibility verification shows that the update software is not suitable for the vehicle 100, the specific content of the result may be used as the information indicating the result of the vehicle compatibility verification. The information indicating the result of the vehicle compatibility verification may be any information that reflects the result of the vehicle compatibility verification.
[0066] The information indicating the state of the battery 60 in the failure image is not limited to the example of the above embodiment. The information indicating the state of the battery 60 may be the charging rate of the battery 60 itself at the stage of performing the first process M1, the second process M2, or the third process M3. The information indicating the state of the battery 60 may be the temperature of the battery 60. The information indicating the state of the battery 60 may be any information that reflects the state of the battery 60 in some way.
[0067] The information indicating the specific control device 90 for which the update could not be completed in the failure image is not limited to the example of the above embodiment. This information may be a specific name of the specific control device 90, such as an engine ECU or a brake ECU. The information indicating the specific control device 90 for which the update could not be completed may be any information that allows identification of the specific control device 90.
[0068] The information indicating the stage at which the update failed in the failure notification is not limited to the example of the above embodiment. The information indicating the stage at which the update failed may be a specific name such as "download", "install", or "activate" instead of an error code.
[0069] It is not essential that the failure image includes the following four display contents. The four display contents are information indicating the state of the battery 60 at the stage at which the update failed, information indicating the result of the capacity determination, information indicating the result of the vehicle compatibility verification, and information indicating the specific control device 90 for which the update could not be completed. All of these four may be eliminated from the failure image, or one or more of them may be left and the others eliminated. Even if this information is not included, as long as the failure image includes information indicating the stage at which the update failed, a useful clue as to the reason for the update failure can be obtained.
[0070] The overall configuration of the failure image is not limited to the example in the above embodiment. For example, the content of the second image B may be included in the first image A in the above embodiment. The failure image may include display contents other than those exemplified in the above embodiment. For example, when displaying a message informing the user to retry the update, a setting field for setting the schedule for the next time the series of processes related to the update are to be performed may be provided. In this setting field, the user may be allowed to input a scheduled date and time.
[0071] The display contents of the failure image may include the operation status of the ignition switch 70. Here, in the above embodiment, an example in which a double-bank structure is adopted as the non-volatile memory provided in the specific control device 90 has been described. However, a single-bank structure may be adopted as the non-volatile memory provided in the specific control device 90. Unlike the double-bank structure, this type of memory has only one storage area. And, in this type of memory, writing cannot be performed while reading data from the memory. In relation to this, when a single-bank structure non-volatile memory is adopted, the second process M2 including the installation process is performed on the condition that the system of the vehicle 100 is off. However, for example, even if the installation is started when the system of the vehicle 100 is off, the ignition switch 70 may be turned on during the execution of the installation. In this case, the installation process is interrupted. In such a case, information that the ignition switch 70 has been turned on during the execution of the installation may be included in the display contents of the failure image.
[0072] The display contents of the failure image may include information regarding the request to transmit the update software in step S12. Here, in step S12 of the first process M1, even if the OTA master 10 requests the OTA server 500 to transmit the update software, the OTA master 10 may not be able to receive the update software due to a communication failure or the like. In this case, the OTA master 10 may repeat the request to transmit the update software, for example, on the condition that the system of the vehicle 100 is on. If the OTA master 10 is ultimately unable to receive the update software despite repeating the transmission request in this way, the OTA master 10 may include the number of times the transmission request was attempted in the failure image.
[0073] The overall flow of the software update process is not limited to the example of the above embodiment. The software update process may be configured to properly update the software. The execution conditions of download, installation, and activation may be changed from the example of the above embodiment.
[0074] The timing of performing the first process M1, the second process M2, and the third process M3 in the software update process is not limited to the example of the above embodiment. Furthermore, the timing of performing the pre-process L is not limited to the example of the above embodiment. For example, the pre-process L may be performed when the system of the vehicle 100 is off. Then, after the pre-process L is completed, the first process M1, the second process M2, and the third process M3 may be performed as is. Depending on the type of the specific control device 90 to be updated, it may be possible to update to the update software when the system of the vehicle 100 is on. In such a case, the third process M3 may be performed when the system of the vehicle 100 is on.
[0075] The timing of performing the notification process P is not limited to the example of the above embodiment. For example, if it is known that the user is in the cabin of the vehicle 100, the notification process P may be performed when the system of the vehicle 100 is off.
[0076] As shown in Fig. 6, a notification process P may be performed after each of the first process M1, the second process M2, and the third process M3 in the software update process. Hereinafter, the notification process P performed after the first process M1 will be referred to as the first notification process P1. The notification process P performed after the second process M2 will be referred to as the second notification process P2. The notification process P performed after the third process M3 will be referred to as the third notification process P3. Note that in Fig. 6, the same processes as in Fig. 3 are denoted by the same reference numerals as in Fig. 3. Also, in Fig. 6, some processes in each of the first process M1, the second process M2, and the third process M3 are not shown. Also, in Fig. 6, the preliminary process L is not shown.
[0077] Now, regarding the embodiment of FIG. 6, for example, the OTA master 10 performs the first process M1 and the second process M2 in the software update process when the system of the vehicle 100 is on, and then performs the third process M3 when the system of the vehicle 100 is off. In this case, it is considered that the OTA master 10 performs each notification process P1, P2, and P3 at the following timing. That is, the OTA master 10 performs the first notification process P1 promptly after the first process M1. Also, the OTA master 10 performs the second notification process P2 promptly after the second process M2. Then, after completing the third process M3, the OTA master 10 performs the third notification process P3 when the system of the vehicle 100 is switched from off to on for the first time. However, when the OTA master 10 cancels the second process M2, it naturally cancels the second notification process P2 as well. Similarly, when the OTA master 10 cancels the third notification process M3, it cancels the third notification process P3.
[0078] When the embodiment of FIG. 6 is adopted, the contents of each notification process P1, P2, P3 are basically the same as the notification process P in the above embodiment. That is, in each notification process P1, P2, P3, the OTA master 10 performs the process of each step shown in FIG. 2. The exact contents of each notification process P1, P2, P3 may be adjusted appropriately according to each stage of the update. For example, in step S50 of the first notification process P1, the OTA master 10 determines whether the download was successful, that is, whether the download was completed, based on the result of the download determination in the update result information. If it is determined that the download was not completed at this time (step S50: NO), the OTA master 10 determines that the update to the update software was not completed. In this case, the OTA master 10 performs a failure notification through the processes of steps S53 and S54, as in the above embodiment. The contents of the failure notification may be the same as those in the above embodiment. On the other hand, if the OTA master 10 determines that the download has been completed (step S50: YES), it issues a notification of success in steps S51 and S52. In this case, when generating an image for success in step S51, the OTA master 10 may generate a message indicating that the download has been successful, instead of a message indicating that the software update has been completed.
[0079] As in the first notification process P1, in step S50 of the second notification process P2, the OTA master 10 determines whether the installation was successful, that is, whether the installation was completed, based on the result of the installation determination in the update result information. If it is determined that the installation was not completed (step S50: NO), the OTA master 10 determines that the update to the update software was not completed. Then, the OTA master 10 issues a failure notification. The third notification process P3 may be applied as is to the contents of the notification process P in the above embodiment. In the aspect of FIG. 6, if the download, installation, or the like fails, a failure notification is issued at that time.
[0080] 6, the processes of steps S51 and S52 may be eliminated in each of the notification processes P1, P2, and P3. That is, even if the download or installation is successful, the notification of the success may be canceled. Such a mode may be adopted in one or more of the three notification processes P1, P2, and P3.
[0081] As in the above embodiment, when the notification process P is performed only once after the first process M1, the second process M2, and the third process M3 in the software update process, the processes of steps S51 and S52 in the notification process P may be eliminated.
[0082] In the above embodiment, the flow of each process has been described for the case where there is only one specific control device 90 to be updated, that is, where there is only one update software transmitted from the OTA server 500 to the OTA master 10. However, there may be a case where there is multiple update software transmitted from the OTA server 500. In other words, there may be a case where there is multiple specific control devices 90 to be updated. An example of the flow of the process in this case will be described on the premise of the above embodiment.
[0083] In step S112 of FIG. 3, the OTA server 500 transmits a plurality of pieces of update software to the OTA master 10. In this case, in step S13 of the first process M1, the OTA master 10 downloads a plurality of pieces of update software. Then, in step S14, the OTA master 10 performs a first verification for each of the plurality of pieces of update software. Then, in step S15, the OTA master 10 generates update result information for each specific control device 90 to be updated. After this, the OTA master 10 performs a second process M2 for each specific control device 90 to be updated. At this time, the OTA master 10 performs a plurality of second processes M2 in parallel. After performing the second process M2, the OTA master 10 performs a third process M3 for each specific control device 90 to be updated. At this time, the OTA master 10 also performs a plurality of third processes M3 in parallel.
[0084] When the software update process is performed for a plurality of specific control devices 90 as described above, the following aspect may be adopted as the notification process P. First, the OTA master 10 performs a completion determination for each specific control device 90 to be updated, as to whether or not the update has been completed. The OTA master 10 performs the completion determination based on the update result information for each specific control device 90. The method of the completion determination may be the same as that of the above embodiment. When the OTA master 10 performs the completion determination for each specific control device 90 to be updated, it generates a summary image C as shown in FIG. 7. The OTA master 10 generates the summary image C based on the update result information for each specific control device 90. The summary image C includes the following multiple display contents. The first display content C1 is a success / failure table. The success / failure table indicates the success or failure of the update for each specific control device 90 to be updated. That is, the same row in the success / failure table indicates information on the same specific control device 90. The first column D1 of the success / failure table indicates the name of the in-vehicle device to be controlled by the specific control device 90. The second column D2 of the success / failure table indicates whether the update was successful. The third column D3 of the success / failure table indicates the stage at which the update failed with an error code for the specific control device 90 that failed to be updated. In addition, a detail button exists next to the error code in the third column D3. The detail button is a button for the user to instruct the display of an image regarding detailed information on the update failure, as in the above embodiment. That is, the OTA master 10 generates a detailed image, which is an image similar to the second image B of the above embodiment, for each specific control device 90 that failed to be updated, in addition to the summary image C. However, this detailed image is one in which the fourth display content B4 shown in FIG. 4, that is, a message informing the user to bring the device to a maintenance shop or to retry the update, is omitted. Instead, in the summary image C, a message informing the user to bring the device to a maintenance shop or to retry the update is provided in the second display content C2. The OTA master 10 determines whether to guide the user to bring the device to a maintenance shop or to retry the update, based on the update result information of all specific control devices 90 that are the target of the update. The summary image C includes, as the third display content C3, an end button that functions in the same manner as in the above embodiment.
[0085] When the OTA master 10 generates the summary image C as described above, it transmits a command signal to the display 50 to display the summary image C. In response to this command signal, the display 50 displays the summary image C. After this, in response to the user's operation on the display 50, the OTA master 10 switches the content displayed on the display 50 between the summary image C and a detailed image for each specific control device 90. Displaying the summary image C or the detailed image on the display 50 corresponds to sending a failure notification. When the user operates the end button for these images, the OTA master 10 causes the display 50 to end the display of the images. At the same time, the OTA master 10 ends the notification process P.
[0086] The means for issuing a failure notification, which is a notification that the update has failed, is not limited to using the display 50. For example, the failure notification may be issued using a speaker provided in the vehicle 100. The failure notification may also be issued by voice guidance. Even in this case, the failure notification only needs to include information indicating the stage at which the update failed.
[0087] As described in the modified example of the display content of the failure image, a single bank structure may be used as the non-volatile memory provided in the specific control device 90. In such a case, among the multiple specific control devices 90, some of the specific control devices 90 may use a double bank structure as the non-volatile memory, and the remaining specific control devices 90 may use a single bank structure as the non-volatile memory.
[0088] In the same specific control device 90, the first memory and the second memory may be non-volatile memories having different structures. In the same specific control device 90, the first memory and the second memory may be combined into one non-volatile memory.
[0089] The above-mentioned modifications regarding the non-volatile memory can also be applied to the OTA master 10. That is, a single-bank structure may be adopted as the non-volatile memory of the OTA master 10. Non-volatile memories having different structures may be adopted for the first memory 21 and the second memory 22. A single non-volatile memory may serve as both the first memory 21 and the second memory 22.
[0090] The OTA master 10 may update its own software in the software update process. That is, the electronic control device for which the OTA master 10 updates the software may be the OTA master 10 itself.
[0091] The overall configuration of the vehicle 100 is not limited to the above-described embodiment. For example, the vehicle 100 may be a so-called electric vehicle that does not have an engine as a drive source for the vehicle 100. The OTA master 10 may include a processing circuit including one or more processors that execute various processes according to a computer program (software). The OTA master 10 may include a processing circuit including one or more dedicated hardware circuits, such as an application specific integrated circuit (ASIC), that executes at least a part of the various processes, or a processing circuit including a combination of the above processor and a dedicated hardware circuit. The processor includes a CPU and a memory such as a RAM and a ROM. The memory stores program codes or instructions configured to cause the CPU to execute the processes. The memory, i.e., the computer-readable medium, includes any available medium that can be accessed by a general-purpose or dedicated computer. This modification example can also be applied to the specific control device 90.
[0092] <Additional Notes> The above embodiment and modified examples include the configurations described in the following supplementary notes. [Appendix 1] An information processing device for a vehicle that downloads update software to be received by an electronic control device mounted in a vehicle, installs the update software obtained by the download so that it is stored in the electronic control device, activates the installed update software to make it valid, and, when the completion of the download, installation, and activation is considered to be the completion of updating to the update software, if the updating to the update software cannot be completed, notifies at which stage of the download, installation, and activation a malfunction occurred.
[0093] [Appendix 2] The information processing device for a vehicle described in [Appendix 1], wherein the notification includes information indicating the electronic control device that was unable to complete the update to the update software. [Appendix 3] An information processing device for a vehicle as described in [Appendix 1] or [Appendix 2], wherein when updating to the update software, a verification is performed as to whether the update software is compatible with the vehicle, and the notification includes information indicating the result of the verification.
[0094] [Appendix 4] An information processing device for a vehicle as described in any one of [Appendix 1] to [Appendix 3], wherein when updating to the update software, a capacity determination is performed to determine whether or not there is a shortage of memory capacity required for the update, and the notification includes information indicating the result of the capacity determination.
[0095] [Appendix 5] An information processing device for a vehicle described in any one of [Appendix 1] to [Appendix 4], wherein the notification includes information indicating the state of the battery installed in the vehicle when updating to the update software.
[0096] [Appendix 6] An information processing device for a vehicle according to any one of [Appendix 1] to [Appendix 5], wherein the notification is performed using an error code that is pre-assigned to each of the download, the installation, and the activation. [Explanation of symbols]
[0097] 10…OTA Master 60…Battery 90...Specific control device 100…Vehicle
Claims
1. downloading update software for an electronic control unit mounted on a vehicle; performing installation of the update software obtained by the download so as to be stored in the electronic control device; activating the installed update software; When the completion of the download, the installation, and the activation is deemed to be the completion of the update to the update software, If the update to the update software cannot be completed, notifying at which stage of the download, the installation, or the activation the problem occurred; Run An information processing device for a vehicle.
2. The notification includes information indicating that the electronic control device was unable to complete the update to the update software. The vehicle information processing device according to claim 1 .
3. When updating to the update software, verifying whether the update software is compatible with the vehicle; The notification includes information indicating a result of the verification. The vehicle information processing device according to claim 1 .
4. When updating to the update software, a capacity determination is performed to determine whether or not there is a shortage of storage capacity required for the update; The notification includes information indicating a result of the capacity determination. The vehicle information processing device according to claim 1 .
5. The notification includes information indicating a state of a battery installed in the vehicle when updating to the update software. The vehicle information processing device according to claim 1 .
6. The notification is performed using an error code that is pre-assigned to each of the download, the installation, and the activation. The vehicle information processing device according to claim 1 .
7. The present invention is applied to a vehicle equipped with an electronic control device and an information processing device that controls software updates of the electronic control device, The information processing device includes: downloading received software updates for the electronic control unit; performing installation of the update software obtained by the download so as to be stored in the electronic control device; activating the installed update software; When the completion of the download, the installation, and the activation is deemed to be the completion of the update to the update software, If the update to the update software cannot be completed, notifying at which stage of the download, the installation, or the activation the problem occurred; Run Program for vehicles.
Citation Information
Patent Citations
Distribution system and distribution method
JP2019095962A
Vehicle electronic control system, vehicle master device, rewriting instruction method by writing back config information, and rewriting instruction program by writing back config information
WO2021039795A1
Vehicle, software update system and software update method
JP2021105923A
