Information processing apparatus for vehicle, software update system for vehicle, and program for vehicle

The vehicle software update system addresses user inconvenience by allowing scheduled updates within a set permission period, reducing disruption and user burden by performing updates based on predefined conditions.

JP2024129480AInactive Publication Date: 2024-09-27TOYOTA JIDOSHA KK

Patent Information

Application Number
JP2023038710
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-13
Publication Date
2024-09-27
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing vehicle software update systems require user consent for each update, causing inconvenience and burden, or perform updates without consent, disrupting vehicle functionality during the process.

Method used

A vehicle software update system that allows setting a permission period for updates based on user input, enabling updates to be executed within the set period without continuous consent, and performing updates under specific conditions such as vehicle state or battery charging status.

Benefits of technology

Reduces user burden by allowing scheduled updates and prevents unnecessary interruptions, ensuring user control over update timing and minimizing disruption during vehicle operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024129480000001
    Figure 2024129480000001
Patent Text Reader

Abstract

To reduce a burden on a user involved in approval of an update and suppress thoughtless update in updating software.SOLUTION: An OTA master 10 can perform update processing to update a specific controller 90 with update software, and can set a permission period of the update processing on the basis of an external input. When no permission period is set, the OTA master executes the update processing on condition that an approval signal indicating approval to the update processing is acquired and, when the permission period is set, executes the update processing in the permission period regardless of the condition that the approval signal is acquired.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an information processing device for a vehicle, a software update system for a vehicle, and a program for a vehicle. [Background technology]

[0002] The vehicle disclosed in Patent Document 1 includes an electronic control device and an information processing device that manages software updates in the electronic control device. The information processing device performs an update process for updating the software in the electronic control device to update software. This update process includes the information processing device downloading the update software from a server, installing the update software in the electronic control device, and activating the installed update software. Before performing this update process, the information processing device obtains permission in advance from the user of the vehicle. [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, if the user's permission is obtained each time an update to update software is performed, the user may feel bothered because he or she is forced to take action each time. On the other hand, if an update to update software is performed without the user's permission, the user cannot use the function that uses the update software during the update process, which may cause inconvenience to the user. Therefore, depending on the situation, the user may want to control the timing of the update himself or herself. [Means for solving the problem]

[0005] An information processing device for a vehicle to solve the above problem is capable of performing an update process to update software for an electronic control device installed in the vehicle, and setting an authorization period for the update process based on external input; if the authorization period is not set, the update process is performed on the condition that an authorization signal indicating authorization for the update process has been obtained, and if the authorization period is set, the update process is performed within the authorization period without being conditional on the acquisition of the authorization signal.

[0006] A software update system for a vehicle to solve the above problem comprises an electronic control unit mounted on a vehicle, an information processing device that manages software updates for the electronic control unit, and an input device that accepts input from a user, wherein the information processing device is capable of performing an update process to update software for the electronic control unit and setting an authorization period for the update process based on input through the input device, and if the authorization period is not set, the update process is performed on the condition that an authorization signal indicating authorization for the update process has been obtained from the input device, and if the authorization period is set, the update process is performed within the authorization period without the condition that the authorization signal has been obtained.

[0007] 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 manages the software of the electronic control unit, and causes the information processing device to set a permission period for update processing to update software for the electronic control unit based on external input, and if the permission period is not set, to execute the update processing on the condition that an approval signal indicating approval of the update processing has been obtained, and if the permission period is set, to execute the update processing within the permission period without the condition that the approval signal has been obtained. Effect of the Invention

[0008] The above technical concepts can reduce the burden on the user in terms of consenting to software updates and can prevent updates from being performed unnecessarily. [Brief description of the drawings]

[0009] [Figure 1] FIG. 1 is a schematic configuration diagram of a vehicle. [Diagram 2] 11 is a flowchart showing a procedure of a setting process. [Diagram 3] FIG. 13 is a diagram showing an example of a setting image. [Figure 4] 11 is a flowchart showing a processing procedure of a first process. [Diagram 5] 13 is a flowchart showing a processing procedure of a second process. [Figure 6] 13 is a flowchart illustrating a modification of the first process. [Figure 7] 13 is a flowchart illustrating a modified example of the second process. [Figure 8] 13 is a flowchart illustrating a modification of the first process. [Figure 9] 13 is a flowchart illustrating a modified example of the second process. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] Hereinafter, an embodiment of a vehicle software update system including an information processing device for a vehicle will be described with reference to the drawings. In this embodiment, the vehicle software update system is applied to an electric vehicle.

[0011] <Overall vehicle configuration> 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.

[0012] Vehicle 100 includes a plurality of specific control devices 90 and a plurality of in-vehicle devices. In FIG. 1, four of the plurality of specific control devices 90 are shown as representatives. One of the plurality of in-vehicle devices is a motor device 51 that serves as a drive source of the vehicle 100. The motor device 51 includes a motor generator and an inverter that performs AC-DC power conversion. One of the plurality of in-vehicle devices is a hydraulic brake device 52. One of the plurality of in-vehicle devices is an electric parking brake device 53. In addition, examples of in-vehicle devices include an air conditioner device, a turn signal device, and a plurality of HMI devices 70. The HMI device 70 is a device for exchanging information with a user using, for example, light or sound. Each specific control device 90 is an electronic control device that controls a specific one of the plurality of in-vehicle devices. Therefore, an example of the specific control device 90 described above is a motor ECU. An individual identification value is assigned in advance to each specific control device 90. Each specific control device 90 can communicate with the OTA master 10 via the bus 95. Hereinafter, the specific control device 90 that controls the motor device 51, the specific control device 90 that controls the hydraulic brake device 52, and the specific control device 90 that controls the parking brake device 53 are collectively referred to as the specific control devices 90 of the running system.

[0013] 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, and a volatile third memory. The second memory stores software F for controlling the target in-vehicle device. Note that the non-volatile memory employed in this embodiment, including the OTA master 10, has a double-bank structure. In this type of double-bank structure memory, there are two storage areas. And when reading data from one storage area, writing can be performed to the other storage area.

[0014] <HMI device> One of the multiple HMI devices 70 is a display 71. One of the multiple HMI devices 70 is a voice recognition device 72. One of the multiple HMI devices 70 is a speaker 73. One of the multiple HMI devices 70 is a push switch 74. The push switch 74 is for, for example, playing and stopping music and videos, adjusting the volume, and the like. Note that the above HMI device 70 is an example, and there are other HMI devices 70. The display 71, the voice recognition device 72, the speaker 73, and the push switch 74 are located in the passenger compartment of the vehicle 100. In this embodiment, the display 71, the voice recognition device 72, the speaker 73, and the push switch 74 are controlled by an HMI control device that is the same specific control device 90.

[0015] The display 71 includes a display screen and a drive circuit. The display 71 displays an image on the display screen in response to a command signal transmitted by the HMI control device. The display 71 is a touch panel type. That is, when a user performs an input operation on the display screen of the display 71, the display 71 transmits a signal in response to the input operation to the HMI control device. The HMI control device may transmit a command signal to the display 71 under a command transmitted from the OTA master 10. The HMI control device transmits a signal from the display 71 to the OTA master 10 as necessary. The display 71 is an input device that accepts input from a user. The display 71 in this embodiment is a center display located between the driver's seat and the passenger seat.

[0016] The voice recognition device 72 includes a microphone and a conversion circuit. The microphone collects sounds in the vehicle cabin. The conversion circuit converts the sounds collected by the microphone into language data. The conversion circuit then outputs the converted language data to the HMI control device. The HMI control device transmits the language data received from the voice recognition device 72 to the OTA master 10 as necessary. The voice recognition device 72 is an input device that accepts input from a user.

[0017] The speaker 73 emits a sound in response to a command signal transmitted by the HMI control device. Note that the HMI control device may transmit a command signal to the speaker 73 under a command transmitted from the OTA master 10.

[0018] Here, as described above, the HMI control device may send a command signal to the display 71 under a command from the OTA master 10. In the following, a description of the presence of the HMI control device between the OTA master 10 and the display 71 will be omitted. For example, it will be described that the OTA master 10 sends a command signal to the display 71, or that the OTA master 10 causes the display 71 to display an image. Similarly, in the following, a description of the presence of the HMI control device in the middle when a signal from the display 71 is transmitted from the HMI control device to the OTA master 10 will be omitted. The same applies to the voice recognition device 72 and the speaker 73.

[0019] <Other configurations> The vehicle 100 includes a first battery 61. The first battery 61 is a high-voltage battery for propelling the vehicle 100. The first battery 61 is a secondary battery that supplies and receives electric power to and from the motor device 51.

[0020] The vehicle 100 is equipped with a connector 68. The connector 68 is connected to the first battery 61 via a power line. An external power source 300 of the vehicle 100 can be connected to the connector 68. The first battery 61 can also be charged by power supplied from the external power source 300 via the connector 68. Hereinafter, charging the first battery 61 using the external power source 300 will be simply referred to as charging the first battery 61.

[0021] The vehicle 100 is equipped with a second battery 62. The second battery 62 is a low-voltage battery with a lower rated voltage than the first battery 61. The second battery 62 is a secondary battery. The second battery 62 is connected to the first battery 61 via a step-down converter (not shown). The second battery 62 supplies power to, for example, the OTA master 10, each specific control device 90, and various auxiliary devices. The auxiliary devices here include the HMI device 70, switches, sensors, etc.

[0022] The vehicle 100 is equipped with a battery sensor 81, a charging sensor 82, and a vehicle speed sensor 83. The battery sensor 81 detects battery information such as the temperature, voltage, and current of the first battery 61. The charging sensor 82 detects the charging current. The charging current is a current flowing through a power line connecting the first battery 61 and the connector 68. The vehicle speed sensor 83 detects the traveling speed of the vehicle 100.

[0023] The vehicle 100 includes a start switch 80. The start switch 80 may be referred to as a system activation switch. The start switch 80 is a switch for a user to instruct the start of the vehicle 100. The start switch 80 is turned on or off by the user, turning on or off the system of the vehicle 100. The on state of the system of the vehicle 100 includes a state in which the vehicle 100 can run and a so-called accessory on state. The state in which the vehicle 100 can run is a state in which the first battery 61 supplies power to the motor device 51 and the second battery 62 supplies power to each specific control device 90. Each specific control device 90 is in an activated state when power is being supplied. The accessory on state is a state in which the first battery 61 does not supply power to the motor device 51, while the second battery 62 supplies power to each specific control device 90. That is, the accessory on state is a state in which the vehicle 100 cannot run, but some of the in-vehicle items can be used. For example, when the start switch 80 is turned on while the brake pedal of the vehicle 100 is depressed, the vehicle 100 is in a state in which it can run. On the other hand, when the start switch 80 is turned on while the brake pedal of the vehicle 100 is not depressed, the vehicle 100 is in an accessory-on state. When the system of the vehicle 100 is off, the first battery 61 does not supply power to the motor device 51, and the second battery 62 does not supply power to each specific control device 90. Here, the OTA master 10 continues to be in an activated state by receiving power from the second battery 62, whether the system of the vehicle 100 is in an on state or an off state. This is the same for the battery sensor 81 and the charging sensor 82. Furthermore, even when the system of the vehicle 100 is off, each specific control device 90 is temporarily in an activated state by receiving power from the second battery 62 as necessary. This is the same for the display 71. The OTA master 10 receives a signal indicating the state of the vehicle 100 according to the on / off operation of the start switch 80.In this way, the OTA master 10 can determine whether the system of the vehicle 100 is on or off, and further whether the vehicle 100 is in a drivable state or an accessory on state.

[0024] The plurality of in-vehicle products including the OTA master 10, each specific control device 90, each HMI device 70, each sensor, the start switch 80, and each battery described above constitute a software update system for the vehicle.

[0025] <OTA Server> The OTA server 500 is an administrative 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 update software applicable to each vehicle according to classifications such as vehicle type and model, for example. When new update software is registered, the OTA server 500 conducts a campaign for the update software. That is, the OTA server 500 distributes new update software to the applicable vehicles upon request from the vehicles.

[0026] <Overview of OTA Master Functions> The CPU 20 of the OTA master 10 performs the following by executing the program W stored in the second memory 22. That is, the CPU 20 realizes various processes for managing software updates in each specific control device 90. The following describes these various processes.

[0027] The CPU 20 can execute three types of update processes. The update process is a process for updating the software in the specific control device 90 to the update software. One of the three types of update processes is a download process. The download process is a process for receiving update software from the OTA server 500 using wireless communication and storing the received update software in the first memory 21. One of the three types of update processes is an install process. The install process is a process for storing the update software obtained in the download process in the second memory of the specific control device 90. One of the three types of update processes is an activate process. The activate process is a process for activating the update software stored in the specific control device 90 by the install process. The activate process is a process for changing the setting of the specific control device 90 so that the process is performed by referring to the update software. For example, in the activate process, the CPU 20 changes the setting of a read flag in the specific control device 90. The read flag is a flag for specifying a storage area to be targeted when the specific control device 90 reads software. By changing the setting of the read flag, the storage area into which the software is read is switched from the storage area storing the current software to the storage area storing the updated software in the specific control device 90. Note that the technology for updating software using wireless communication is sometimes called OTA (Over The Air).

[0028] In the following, when the download process, installation process, and activation process are collectively described, they will be referred to as update processes, and when each process is described individually, the name of each process will be given.

[0029] The CPU 20 can execute a setting process. In the setting process, the CPU 20 sets an allowed period for the update process based on an input from the user through the display 71. Here, the user's permission is required to update to the update software. The above-mentioned allowed period is a period in which the following items are permitted in advance by the user. The items are to execute the update process. Therefore, the CPU 20 is permitted to execute the update process without obtaining the user's permission at that time within this allowed period. In the setting process, the CPU 20 stores the allowed period specified by the user in the first memory 21 according to the input from the user, or erases the allowed period once stored from the first memory 21. Note that, when the user instructs the setting of the allowed period, the CPU 20 turns on the permission flag. On the other hand, when the user instructs not to set the allowed period, the CPU 20 turns off the permission flag.

[0030] The CPU 20 can execute two types of execution processes for performing the update process. One of the execution processes, the first process, is basically a process dedicated to when the system of the vehicle 100 is off. However, part of the first process also extends to the period when the system of the vehicle 100 is on. The other process to be executed, the second process, is basically a process dedicated to when the system of the vehicle 100 is on. However, part of the second process also extends to the period when the system of the vehicle 100 is off.

[0031] The execution process has the following characteristics. In the execution process, if the permission period is not set, the CPU 20 executes the update process on the condition that a permission signal is acquired from the display 71 or the voice recognition device 72. The permission signal is a signal indicating permission for the execution of the update process. On the other hand, if the permission period is set, the CPU 20 executes the update process within the permission period without the condition that a permission signal is acquired. The CPU 20 also executes the update process in the following cases based on these two points. For example, when the traveling speed of the vehicle 100 is greater than zero, that is, while the vehicle 100 is traveling, the CPU 20 executes the update process on the condition that a permission signal is acquired, regardless of whether the permission period is set. In addition, for the specific control device 90 of the traveling system, the CPU 20 executes the update process on the condition that a permission signal is acquired, regardless of whether the permission period is set. On the other hand, if the first battery 61 is being charged, the CPU 20 executes the update process without the condition that a permission signal is acquired, regardless of whether the permission period is set. Strictly speaking, whether or not the permission signal needs to be obtained varies depending on a combination of the type of specific control device 90 and the charging state of the first battery 61. This will be described in detail later using a flowchart. The type of specific control device 90 refers to a classification of the specific control device 90 according to the in-vehicle device that the specific control device 90 controls, such as the driving system described above. In the following description, the OTA master 10 receiving a permission signal from the display 71 or the voice recognition device 72 corresponds to the OTA master 10 obtaining a permission signal from them.

[0032] As a premise for performing the first process and the second process, the CPU 20 repeatedly calculates the charging rate of the first battery 61. The charging rate of the first battery 61 is the ratio of the remaining capacity to the fully charged capacity of the first battery 61. The CPU 20 can calculate the charging rate of the first battery 61 based on battery information detected by the battery sensor 81.

[0033] <Settings process> The specific contents of the setting process will now be described. The CPU 20 starts the setting process when the user operates the display 71 to call up a software update setting function while the system of the vehicle 100 is on.

[0034] As shown in FIG. 2, when the CPU 20 starts the setting process, it first executes the process of step S10. In step S10, the CPU 20 performs a guide notification for setting the permission period. Specifically, the CPU 20 transmits a command signal to the display 71 to display the setting image U shown in FIG. 3. In response to this command signal, the display 71 displays the setting image U. The setting image U has the following multiple display contents. The first display content is a message U1 that prompts the user to input the permission period. The second display content is a start input field U2 for the user to input the start time of the permission period. Next to this input field U2, there is a notation indicating that the input field U2 is for the start time. Although a detailed explanation will be omitted below, all the input fields and buttons present in the setting image U can accept user operations. Now, the user can specify the start time of the permission period by operating the start input field U2. In this embodiment, each time from "1:00" to "24:00" that divides one day into 24 hour units can be specified. The third display content is an end input field U3 for the user to input the end time of the permitted period. Next to this input field U3, there is a notation indicating that the input field U3 is for the end time. By operating this input field U3, the user can specify the end time of the permitted period. The user can specify the end time in hours, as with the start time. The fourth display content is a date input field U4 for the user to input the date of the permitted period. Next to this input field U4, there is a notation indicating that the input field U4 is for the date. By operating this input field U4, the user can specify the date of the permitted period. In this embodiment, one of the following three can be specified. The three are "everyday", "a specific day of the week", or "a specific date". The fifth display content is a decision button U5. The decision button U5 is a button for the user to instruct the user to decide the setting content regarding the permitted period. The sixth display content is a non-setting button U6. The non-setting button U6 is a button for the user to instruct the user not to set the permitted period. The seventh display content is an end button U7. The end button U7 is a button for the user to instruct the end of the display of the setting image U.Although not shown in the figure, the setting image U also includes the following display content. The display content is the following message. That is, even if an authorization period is set, the user's permission is requested to execute the software update depending on, for example, the type of specific control device 90 to be updated and the state of the vehicle 100. As shown in Fig. 2, in step S10, the CPU 20 causes the setting image U to be displayed on the display 71, and then proceeds to the process of step S20.

[0035] In step S20, the CPU 20 determines whether or not an input regarding the permission period has been made for the setting image U. If the Confirm button U5 or the Non-Set button U6 is operated before a predetermined time has elapsed since the process proceeded to step S20, the CPU 20 determines that an input regarding the permission period has been made (step S20: YES). In this case, the CPU 20 proceeds to step S30. Note that the CPU 20 proceeds to step S30 when the Confirm button U5 or the Non-Set button U6 is operated. The predetermined time is previously set as a specific time within, for example, one minute. The predetermined time is, for example, 30 seconds.

[0036] In step S30, the CPU 20 stores the setting related to the permission period designated by the user in the first memory 21. Specifically, the CPU 20 performs the following process. First, the CPU 20 resets the information on the permission period currently stored in the first memory 21. That is, if the permission flag is currently on, the CPU 20 switches the permission flag to off and erases the permission period stored in the first memory 21. On the other hand, if the permission flag is currently off, the CPU 20 does nothing. Next, the CPU 20 reflects the input contents for the setting image U in the storage contents of the first memory 21. Specifically, if the decision button U5 is operated, the CPU 20 turns on the permission flag. At the same time, the CPU 20 stores information on the start time, end time, and date of the permission period inputted in the setting image U in the first memory 21. On the other hand, if the non-setting button U6 is operated, the CPU 20 leaves the permission flag off. When the CPU 20 reflects the contents of the user's input in the storage contents of the first memory 21, it causes the display 71 to end the display of the setting image U. At the same time, the CPU 20 ends the process of step S30. Then, the CPU 20 ends the setting process.

[0037] On the other hand, in step S20, the CPU 20 determines that there has been no input regarding the permission period in any of the following cases. The first case is a case in which neither the decision button U5 nor the non-setting button U6 is operated before the predetermined time has elapsed since the process proceeded to step S20. The second case is a case in which the end button U7 is operated before the predetermined time has elapsed since the process proceeded to step S20. In any of these cases (step S20: NO), the CPU 20 causes the display 71 to end the display of the setting image U. Then, the CPU 20 ends the setting process. In the first case, the CPU 20 ends the setting process when the predetermined time has elapsed. In the second case, the CPU 20 ends the setting process when the end button U7 is operated. Note that if the determination in step S20 is NO, the first memory 21 will subsequently hold the existing information regarding the permission period stored at that time.

[0038] <First process> When the system of the vehicle 100 is off, the CPU 20 starts the first process at a predetermined execution time. The execution times are times from "1:00" to "24:00", dividing a day into 24 hourly units. That is, the CPU 20 starts the first process every hour, for example, at "1:00" or "2:00", assuming that the system of the vehicle 100 is off.

[0039] As shown in FIG. 4, when the CPU 20 starts the first process, it first executes the process of step S110. In step S110, the CPU 20 judges whether or not there is new update software applicable to the vehicle 100. Specifically, the CPU 20 first transmits a request to the OTA server 500 by using wireless communication to confirm the presence or absence of new update software. When the CPU 20 receives a notification from the OTA server 500 that there is no new update software in response to this request (step S110: NO), the CPU 20 ends the first process. On the other hand, when the CPU 20 receives a notification from the OTA server 500 that there is new update software (step S110: YES), the CPU 20 advances the process to step S120. When the CPU 20 receives a notification from the OTA server 500 that there is new update software, the CPU 20 receives software information together with the notification. The software information includes an identification value of the specific control device 90 to be updated, information on the data capacity of the update software, and the like. The CPU 20 stores the software information in the first memory 21. In this embodiment, in a particular campaign, the OTA server 500 distributes update software targeted at one specific control device 90. That is, the number of specific control devices 90 that are the update targets in one first process or one second process is one.

[0040] In step S120, the CPU 20 determines whether the specific control device 90 to be updated this time is other than a specific control device 90 of a driving system. The CPU 20 makes this determination by referring to the controlled item list stored in the second memory 22 and the software information received from the OTA server 500 in step S110. The controlled item list is a list that associates the identification value of each specific control device 90 with the in-vehicle device that each specific control device 90 controls. If the specific control device 90 to be updated is a driving system control device (step S120: NO), the CPU 20 advances the process to step S160.

[0041] In step S160, the CPU 20 performs a confirmation notification by display. Specifically, the CPU 20 first waits until the system of the vehicle 100 is switched from off to on. When the system of the vehicle 100 is switched on, the CPU 20 transmits a command signal to the display 71 to display an approval image. Then, the display 71 displays the approval image. The approval image includes a message asking the user whether or not to execute the update process, an approval button, and a rejection button. The approval button is a button for the user to approve the execution of the update process. The rejection button is a button for the user to reject the execution of the update process. The approval button and the rejection button can accept input operations from the user. The display 71 is set to function as follows according to the user's operation on the approval image. That is, when the user operates the approval button, the display 71 transmits a first approval signal indicating approval of the execution of the update process to the OTA master 10. When the user operates the reject button, the display 71 transmits a first rejection signal indicating a rejection of the execution of the update process to the OTA master 10. The first permission signal and the first rejection signal are determined in advance as different signals. After causing the CPU 20 to display the permission image on the display 71, the process proceeds to step S170.

[0042] In step S170, the CPU 20 judges whether or not the user has consented to the execution of the update process. As a specific process of step S170, if the CPU 20 receives a first permission signal before a predetermined first waiting time has elapsed from the time the process proceeds to step S170, the CPU 20 judges that the user has consented to the execution of the update process (step S170: YES). In this case, the CPU 20 proceeds to the process at the time the first permission signal is received. The process content of step S140 will be described later. The first waiting time is, for example, the same as the above-mentioned predetermined time, for example, 30 seconds.

[0043] On the other hand, in step S170, if the first permission signal is not received before the first waiting time has elapsed since the processing proceeded to step S170, the CPU 20 determines that the user has not permitted the execution of the update processing (step S170: NO). In this case, the CPU 20 ends the first processing. The determination in step S170 becomes NO in any of the following cases. The first case is a case in which neither the first permission signal nor the first refusal signal is received before the first waiting time has elapsed since the processing proceeded to step S170. The second case is a case in which the first refusal signal is received before the first waiting time has elapsed since the processing proceeded to step S170. In the first case, the CPU 20 ends the first processing when the first waiting time has elapsed. In the second case, the CPU 20 ends the first processing when the first refusal signal is received. Note that, when the first processing is ended via step S170, the system of the vehicle 100 is turned on. Therefore, in this case, the CPU 20 does not execute the first process until the system of the vehicle 100 is turned off again.

[0044] Now, in step S120, if the specific control device 90 to be updated is not a driving control device (step S120: YES), the CPU 20 advances the process to step S130.

[0045] In step S130, the CPU 20 judges whether or not the charging condition is satisfied. The charging condition is that both of the following two requirements are satisfied. The first requirement is that the first battery 61 is being charged. The second requirement is that the current charging rate of the first battery 61 is equal to or lower than a first charging rate. The first charging rate is a value that requires a relatively long time, for example, one hour, to charge the first battery 61 from the first charging rate to the maximum charging rate. Therefore, when the second requirement is satisfied, it is expected that the charging of the first battery 61 will continue for a relatively long time thereafter. The CPU 20 judges whether or not the first requirement is satisfied as follows. That is, the CPU 20 refers to the latest charging current detected by the charging sensor 82. Then, the CPU 20 judges that the first requirement is satisfied when the charging current is greater than zero. On the other hand, the CPU 20 judges that the first requirement is not satisfied when the charging current is zero. The CPU 20 judges whether the second requirement is satisfied as follows. That is, the CPU 20 refers to the latest charging rate of the first battery 61 calculated from the battery information. Then, if the latest charging rate is equal to or lower than the first charging rate, the CPU 20 judges that the second requirement is satisfied. On the other hand, if the latest charging rate is greater than the first charging rate, the CPU 20 judges that the second requirement is not satisfied. If the charging condition is satisfied as a result of these judgments (step S130: YES), the CPU 20 skips step S150, which will be described later, and proceeds to step S140. On the other hand, if the charging condition is not satisfied (step S130: NO), the CPU 20 proceeds to step S150.

[0046] In step S150, the CPU 20 determines whether or not an allowed period has been set. At this time, the CPU 20 refers to the permission flag stored in the first memory 21. If an allowed period has not been set (step S150: NO), the CPU 20 advances the process to step S160, which has already been described. On the other hand, if an allowed period has been set (step S150: YES), the CPU 20 advances the process to step S155.

[0047] In step S155, the CPU 20 judges whether the current date and time is within the permission period by referring to information on the permission period stored in the first memory 21. If the current date and time is outside the permission period (step S155: NO), the CPU 20 performs the process of step S155 again. That is, the CPU 20 waits until the current date and time falls within the permission period by repeating the judgment of step S155. On the other hand, if the current date and time is within the permission period (step S155: YES), the CPU 20 proceeds to the process of step S140. Note that if the system of the vehicle 100 is switched from off to on while the judgment of step S155 is being repeated, the CPU 20 ends the first process at that point.

[0048] In step S140, the CPU 20 executes an update process to update software for the specific control device 90 to be updated. First, the CPU 20 performs a download process. Specifically, the CPU 20 requests the OTA server 500 to transmit the update software. When the update software is received from the OTA server 500 in response to this request, the CPU 20 stores the received update software in the first memory 21. After this, the CPU 20 performs an installation process. Specifically, the CPU 20 transmits the target update software and a command signal to store the update software to the specific control device 90 to be updated. In response to this command signal, the specific control device 90 to be updated stores the update software in its own second memory. When the CPU 20 finishes the installation process, it performs an activation process. Specifically, in the activation process, the CPU 20 transmits a command signal to activate the update software stored in the installation process to the specific control device 90 to be updated. In response to this command signal, the specific control device 90 to be updated performs a process to activate the update software. The contents of the activation are as already described. When the activation process is completed, the CPU 20 erases the software information stored in the first memory 21. Then, the CPU 20 ends the process of step S140. At the same time, the CPU 20 ends the first process. Note that the software information is erased when the activation process is completed, and this also applies to the second process described below.

[0049] Here, with regard to the processing of step S140, when the processing proceeds from step S170 to step S140, the system of the vehicle 100 is on at that time. In this case, the CPU 20 performs the download processing and the installation processing while the system of the vehicle 100 is on. Thereafter, the CPU 20 waits until the system of the vehicle 100 is switched from on to off. Then, when the system of the vehicle 100 is switched off, the CPU 20 performs the activation processing. The series of processing up to the end of the activation processing is the processing of step S140. On the other hand, with regard to the processing of step S140, when the processing proceeds from step S130 to step S140, or when the processing proceeds from step S155 to step S140, the system of the vehicle 100 is off at that time. In this case, the CPU 20 completes all of the download processing, the installation processing, and the activation processing while the system of the vehicle 100 is off. If the user turns on the start switch 80 to switch the system of the vehicle 100 from off to on during the execution of the process of step S140, the CPU 20 causes the display 71 to display the following message. The message indicates that the system of the vehicle 100 cannot be turned on because a software update is being performed. When the CPU 20 causes the display 71 to display this message, switching the system of the vehicle 100 from off to on is put on hold.

[0050] With regard to the above-described first process, in relation to the process of step S140 or step S160, etc., a new execution time of the first process may arrive during execution of the first process. In this case, the CPU 20 cancels the execution of the first process at that timing. Similarly, if the execution time of a second process described below arrives during execution of the first process, the CPU 20 cancels the execution of the second process at that timing.

[0051] <Second Processing> When the system of the vehicle 100 is on, the CPU 20 starts the second process at a predetermined execution time. The execution time is the same as that described for the first process. As described above, the CPU 20 may cancel the execution of the second process depending on the balance with the first process.

[0052] As shown in FIG. 5, when starting the second process, the CPU 20 first executes the process of step S210. In step S210, the CPU 20 determines whether or not new updated software exists. The process content of this step S210 is the same as the process content of step S110. Therefore, the details of the process content of step S210 will be omitted. If new updated software does not exist (step S210: NO), the CPU 20 ends the second process. On the other hand, if new updated software exists (step S210: YES), the CPU 20 advances the process to step S220.

[0053] In step S220, the CPU 20 determines whether the specific control device 90 to be updated is other than the specific control device 90 of the driving system. The processing content of this step S220 is the same as the processing content of step S120. Therefore, the details of the processing content of step S220 will be omitted. If the specific control device 90 to be updated is a driving system (step S220: NO), the CPU 20 proceeds to the processing of step S270.

[0054] In step S270, the CPU 20 issues a confirmation notification by voice. Specifically, the CPU 20 transmits a command signal to the speaker 73 to output a voice inquiry about whether the update is possible. The speaker 73 then issues a voice guidance regarding the inquiry about whether the update is possible. The content of the voice guidance includes a message that software to be updated exists, and a message asking whether to accept or reject the execution of the update process. After issuing the voice guidance, the CPU 20 advances the process to step S280.

[0055] In step S280, the CPU 20 judges whether the user has permitted the execution of the update process. Here, the voice recognition device 72 is set as follows. When the voice recognition device 72 collects the user's voice indicating that the execution of the update process has been permitted, the voice recognition device 72 transmits a second permission signal indicating the permission of the execution of the update process to the OTA master 10. On the other hand, when the voice recognition device 72 collects the user's voice indicating that the execution of the update process has been rejected, the voice recognition device 72 transmits a second refusal signal indicating the refusal of the execution of the update process to the OTA master 10. The second permission signal and the second refusal signal are predetermined as different signals. In step S280, if the CPU 20 receives the second permission signal before a predetermined second waiting time has elapsed from the time the process proceeds to step S280, the CPU 20 judges that the user has permitted the execution of the update process (step S280: YES). In this case, the CPU 20 proceeds to the process at the time the second permission signal is received. The process content of step S240 will be described later. The second waiting time is, for example, the same as the first waiting time.

[0056] On the other hand, in step S280, if the CPU 20 does not receive the second permission signal before the second waiting time has elapsed, it determines that the user has not permitted the execution of the update process (step S280: NO). In this case, the CPU 20 ends the second process. The determination in step S280 becomes NO in any of the following cases. The first case is a case in which neither the second permission signal nor the second refusal signal is received before the second waiting time has elapsed since the process proceeded to step S280. The second case is a case in which the second refusal signal is received before the second waiting time has elapsed since the process proceeded to step S280. In the first case, the CPU 20 ends the second process when the second waiting time has elapsed. In the second case, the CPU 20 ends the second process when the second refusal signal is received.

[0057] Now, in step S220, if the specific control device 90 to be updated is not a driving system (step S220: YES), the CPU 20 advances the process to step S230. In step S230, the CPU 20 judges whether the charging condition is satisfied. The process content of this step S230 is basically the same as the process content of step S130. However, the second requirement of the charging condition is different from that of step S130. The second requirement in step S230 is that the charging rate of the first battery 61 at the present time is equal to or lower than the second charging rate. The second charging rate is predetermined as a value slightly larger than the first charging rate. The reason why the second charging rate is set to be larger than the first charging rate is that the activation process of the update process is not performed in step S240 described later. The process content of step S230 is the same as that of step S130 except for the second requirement. Therefore, further explanation of step S230 will be omitted.

[0058] In step S230, if the charging condition is not satisfied (step S230: NO), the CPU 20 advances the process to step S270. The determination in step S230 becomes NO in any of the following situations. The first situation is a situation in which the traveling speed of the vehicle 100 is greater than zero, that is, the vehicle 100 is traveling. The second situation is a situation in which the traveling speed of the vehicle 100 is zero, that is, the vehicle 100 is stopped. Here, considering that the system of the vehicle 100 is on at the time of executing step S230, the second situation is the following situation. That is, the vehicle 100 is currently stopped, but there is a high possibility that the vehicle 100 will start moving at a relatively early stage thereafter. In either of the first situation and the second situation, the CPU 20 advances the process to step S270, which has already been described, and issues a confirmation notification. On the other hand, in step S230, if the charging condition is met (step S230: YES), the CPU 20 advances the process to step S240.

[0059] In step S240, the CPU 20 performs download processing and installation processing on the specific control device 90 to be updated. The contents of these processes are the same as those described in the first process. Therefore, the description will be omitted here. After performing the download processing and installation processing, the CPU 20 advances the process to step S250.

[0060] In step S250, the CPU 20 determines whether the system of the vehicle 100 has been switched from on to off. If the system of the vehicle 100 is on (step S250: YES), the CPU 20 executes the process of step S250 again. That is, the CPU 20 waits until the system of the vehicle 100 is switched from on to off. If the system of the vehicle 100 is switched from off to on (step S250: YES), the CPU 20 advances the process to step S260. Note that, if the time to execute the next second process arrives while the CPU 20 is repeating the process of step S250, the CPU 20 cancels the execution of the next second process.

[0061] In step S260, the CPU 20 executes an activation process. The contents of the activation process are the same as those described in the first process. Therefore, a description thereof will be omitted here. When the CPU 20 ends the activation process, it ends the second process. Note that the time to execute the first process may arrive during the execution of step S260. In this case, the CPU 20 cancels the execution of the first process at that timing.

[0062] <Operation of the embodiment> (A) Regarding the first process The CPU 20 performs update processing in each of the following cases through the first processing.

[0063] (A1) Assume that the update software received from the OTA server 500 is intended for a device other than the specific control device 90 of the driving system (step S120: YES). Assume that the first battery 61 is not being charged at this time (step S130: NO). Assume that the permission period has already been set (step S150: YES). In this case, the CPU 20 starts the update process (step S140) when the date and time within the permission period arrives (step S155: YES). That is, on the premise that the update software is intended for a device other than the specific control device 90 of the driving system, if the permission period has been set, the CPU 20 executes the update process without the condition that the first permission signal has been acquired.

[0064] (A2) As in (A1) above, it is assumed that the update software is intended for a device other than the specific control device 90 of the driving system (step S120: YES), and the first battery 61 is not being charged (step S130: NO). At this time, it is assumed that the permission period has not been set (step S150: NO). In this case, the CPU 20 performs the update process when the user approves the update process in response to the confirmation notice in step S160 (step S140). That is, when the permission period has not been set, the CPU 20 performs the update process on the condition that the first approval signal has been acquired.

[0065] (A3) Suppose the update software is intended for a device other than the specific control device 90 of the driving system (step S120: YES). Suppose the first battery 61 is being charged at this time (step S130: YES). In this case, the CPU 20 starts the update process (step S140). That is, on the premise that the update software is intended for a device other than the specific control device 90 of the driving system, the CPU 20 executes the update process while the first battery 61 is being charged, regardless of whether the permission period is set or not, without the condition that the first permission signal has been acquired.

[0066] (A4) Assume that the update software is targeted at the specific control device 90 of the driving system (step S120: NO). In this case, the CPU 20 performs the update process when the user approves the update process in response to the confirmation notice in step S160, regardless of whether the permission period is set or not (step S140). That is, when the specific control device 90 to be updated is a driving system, the CPU 20 performs the update process on the condition that the first approval signal is acquired, regardless of whether the permission period is set or not.

[0067] (B) Secondary Processing The CPU 20 performs update processing in each of the following cases through the second processing. (B1) Suppose the update software received from the OTA server 500 is intended for a device other than the specific control device 90 of the driving system (step S220: YES). At this time, suppose the first battery 61 is not being charged (step S230: NO). As described above, a situation in which the determination in step S230 is NO is when the vehicle 100 is driving or when there is a high possibility that the vehicle 100 will start. In such a situation, if the user approves the update process in response to the confirmation notice in step S270, the CPU 20 performs the update process (steps S240, S260). In this way, when the vehicle 100 is driving or when there is a high possibility that the vehicle 100 will start, the CPU 20 performs the update process on the condition that the second approval signal has been acquired, regardless of whether the permission period has been set.

[0068] (B2) Suppose the update software is intended for a device other than the specific control device 90 of the driving system (step S220: YES). Suppose the first battery 61 is being charged at this time (step S230: YES). In this case, the CPU 20 starts the update process in step S240. That is, on the premise that the update software is intended for a device other than the specific control device 90 of the driving system, the CPU 20 executes the update process while the first battery 61 is being charged, regardless of whether the permission period is set or not, without the condition that the second permission signal has been acquired.

[0069] (B3) Assume that the update software is targeted at the specific control device 90 of the driving system (step S220: NO). In this case, the CPU 20 performs the update process when the user approves the update process in response to the confirmation notice in step S270, regardless of whether the permission period is set or not (steps S240, S260). That is, when the specific control device 90 to be updated is a driving system, the CPU 20 performs the update process on the condition that the second approval signal is acquired, regardless of whether the permission period is set or not.

[0070] <Effects of the embodiment> (1) As described in (A1) above, in the first process, if the permission period is set in advance, the CPU 20 performs the update process for the permission period without obtaining the user's permission. This reduces the number of opportunities for the user to give permission. Therefore, the burden on the user regarding the permission of the update process can be reduced. In addition, since the update process is performed within the permission period set by the user, the user himself can control the timing of performing the update process. On the other hand, as described in (A2) above, in the first process, if the permission period is not set in advance, the CPU 20 performs the update process after obtaining the user's permission. For example, in the case of (A2), if the user refuses to give permission for the update process in response to the confirmation notification in step S160 (step S170: NO), the CPU 20 refrains from performing the update process. With this configuration, it is possible to prevent the update process from being performed unnecessarily even when the user does not want to update the software. Overall, the configuration of this embodiment can improve the user's convenience in updating software.

[0071] (2) Let us suppose that an update to the specific control device 90 of the driving system is performed without the user's knowledge. In this case, the user may feel uncomfortable when the vehicle 100 is driven after the update because driving control different from that before is performed. In this regard, as described above in (A4) and (B3), in the first process and the second process, when updating the specific control device 90 of the driving system, the update process is performed after obtaining the user's permission. This reduces the possibility that the user will feel uncomfortable when driving after the update.

[0072] (3) For example, suppose that the download process and the installation process are performed while the vehicle 100 is running. In this case, other controls may be affected, or the process may be performed in a mode different from normal. Therefore, when performing the update process while the vehicle 100 is running, the user needs to be aware that the process is different from normal. Therefore, as described in (B1) above, in the second process, the CPU 20 performs the update process with the user's permission while the vehicle 100 is running or in a situation where the vehicle 100 is likely to start. This reduces the possibility that the user will feel uncomfortable even if the update process is performed in these situations.

[0073] (4) As described in (3) above, in the second process, the user may give permission to execute the update process while the vehicle 100 is traveling. At this time, it is necessary to ensure that the user's driving operation is not affected by the handling of this permission. Therefore, in the second process, the CPU 20 uses voice recognition to obtain permission for the update process. With voice recognition, unlike the case where the user performs an input operation on the display 71, for example, the user does not need to take his / her hands off the steering wheel to handle the permission. Therefore, even when the vehicle 100 is traveling, there is little risk of the user's driving being hindered. Therefore, in the above configuration, the burden on the user in giving permission while the vehicle 100 is traveling can be minimized.

[0074] (5) The period during which the first battery 61 is being charged using the external power source 300 is a period during which the vehicle 100 is not traveling. Therefore, during this period, the update process is permitted to be performed. Therefore, as described above in (A3) and (B2), in the first process and the second process, the CPU 20 performs the update process while the first battery 61 is being charged, without the condition that an authorization signal has been obtained, as long as the specific control device 90 to be updated is not a driving control device. This can reduce the frequency with which the user gives authorization.

[0075] <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.

[0076] The timing of executing the setting process is not limited to the example of the above embodiment. For example, the CPU 20 may execute the setting process when the system of the vehicle 100 is switched from off to on, or when the system of the vehicle 100 is switched from on to off.

[0077] The contents of the setting process are not limited to those in the above-described embodiment, but may be any process that is capable of setting the permission period based on an input from a user via an input device. The contents of the setting image U are not limited to those in the above embodiment. The setting image U may have any contents appropriate for informing or accepting the setting of the permission period.

[0078] The means for informing or accepting the setting of the permission period is not limited to using the display 71. For example, the speaker 73 may be used to inform the user of the setting of the permission period. The voice recognition device 72 may be used to accept the setting of the permission period.

[0079] The method for setting the permission period is not limited to hours. For example, the permission period may be set in minutes. The timing of executing the first process is not limited to the example of the above embodiment. For example, the first process may be executed every 3 hours or every 6 hours. The execution timing of the first process may be appropriately determined so as not to delay software updates. The same applies to the second process.

[0080] The contents of the first process and the second process are not limited to the examples of the above embodiment. The first process and the second process may be configured to realize the following two items when combined. The first item is to execute the update process on the condition that an authorization signal has been acquired when an authorization period is not set. The second item is to execute the update process within the authorization period without the condition that an authorization signal has been acquired when an authorization period is set. If either the first process or the second process can realize the above two items, the other may be eliminated.

[0081] When an allowed period is set, performing the update process within the allowed period only requires that the following conditions are met. That is, at least one of the download process, installation process, and activation process can be performed within the allowed period. Furthermore, at least a part of each process, such as part of the download process, can be performed within the allowed period.

[0082] In step S155 of the first process in the above embodiment, if the current date and time is outside the permission period, step S155 does not need to be repeated. In addition, the confirmation notification in step S160 may be performed without waiting for the system of the vehicle 100 to be turned on. In this case, for example, the contents of the first process may be changed as shown in FIG. 6. In the first process shown in FIG. 6, steps S155A and S160A are adopted instead of steps S155 and S160 shown in FIG. 4. That is, if the permission period is not set in step S150 (step S150: NO), the CPU 20 advances the process to step S160A. On the other hand, if the permission period is set (step S150: YES), the CPU 20 advances the process to step S155A. Then, in step S155A, the CPU 20 determines whether the current date and time is within the permission period. In step S155A, if the date and time at that time is outside the permission period (step S155A: NO), the CPU 20 advances the process to step S160A. In step S160A, the CPU 20 transmits a command signal for displaying the permission image to an external device via the communication module 14. The external device to which the command signal is sent is, for example, a smartphone owned by the user. After that, the CPU 20 performs the process of step S170. The process of step S170 is similar to that of the above embodiment, except that the source of the first permission signal is an external device. That is, the external device is configured to be able to transmit the first permission signal to the OTA master 10 in response to an input from the user. The external device constitutes an input device that accepts input from the user. In this way, an external input device that is not mounted on the vehicle 100 may constitute a part of the software update system. In this modified example, even if the permission period is not set or the permission period is set but the current date and time is outside the permission period, the CPU 20 executes the software update on the condition that the permission signal is acquired. Even if the permission period is not set or the current date and time is outside the permission period, there may be software that you want to update early. In such a case, this modification is effective for updating the software.By being able to update software when the permission period is not set or when the current date and time is outside the permission period, the user's freedom regarding software updates is increased. Note that in Fig. 6, the same steps as in Fig. 4 are assigned the same step numbers as in Fig. 4.

[0083] In the modified example shown in FIG. 6, the display 71 in the vehicle cabin may be used to give the confirmation notification in step S160A. In the second process, the presence or absence of a permission period may be taken into consideration when performing the update process. Furthermore, the update process may be performed without the condition that the permission signal is acquired while the vehicle 100 is running or in a situation where the vehicle 100 is likely to start. As a configuration taking these points into consideration, for example, the second process shown in FIG. 7 may be adopted. In the second process shown in FIG. 7, steps S290, S291, and S292 are added to the second process shown in FIG. 5 as processes when the determination in step S230 is NO. Furthermore, in the second process shown in FIG. 7, the process contents of steps S240 and S260 are partially changed from those in FIG. 5. That is, when the charging condition is not satisfied in step S230 (step S230: NO), the CPU 20 advances the process to step S290. In step S290, the CPU 20 determines whether a predetermined precondition is satisfied. The precondition is, for example, that the capacity of the update software is equal to or less than a predetermined capacity. The predetermined capacity is previously determined as a capacity that is appropriately small enough to quickly complete the download process. In step S290, the CPU 20 judges whether the precondition is satisfied based on the software information acquired in step S210. If the precondition is not satisfied (step S290: NO), the CPU 20 advances the process to step S270. In this case, the CPU 20 performs the update process after obtaining the user's consent at that time in steps S270 and S280, as in the above embodiment. On the other hand, if the precondition is satisfied (step S290: YES), the CPU 20 advances the process to step S291. In step S291, the CPU 20 judges whether the permission period is set. Then, if the permission period is not set, the CPU 20 advances the process to step S270. In this case, the CPU 20 performs the update process after obtaining the user's consent at that time. On the other hand, if the permission period is set in step S291 (step S291: YES), the CPU 20 advances the process to step S292. Then, in step S292, the CPU 20 determines whether the current date and time is within the permission period.If the date and time at that time is outside the permission period (step S292: NO), the CPU 20 performs the process of step S292 again. On the other hand, if the date and time at that time is within the permission period (step S292: YES), the CPU 20 proceeds to the process of step S240. Then, the CPU 20 performs the download process in step S240. After that, the CPU 20 performs the process of step S250, and performs the installation process and the activation process in step S260. Note that, if the system of the vehicle 100 is switched from on to off while the process of step S292 is being repeated, the CPU 20 may end the second process at that time. In this modified example, when the permission period arrives while the vehicle 100 is running or before the vehicle 100 starts (step S292: YES), the CPU 20 can perform the update process at that time without obtaining the user's permission. For example, if the capacity of the update software is small and the download process can be completed quickly, the period during which control different from normal is performed in association with the download process is extremely short. In this case, the user is unlikely to feel uncomfortable. Therefore, the update process is permitted to be performed without the user's permission while the vehicle 100 is running. As explained in the above example, it is not essential to obtain a permission signal in order to update the software while the vehicle 100 is running. Note that the same step numbers as those in FIG. 5 are used for the parts in FIG. 7 where the same processes as those in FIG. 5 are performed.

[0084] In addition to the requirements of the above-mentioned modified example, the precondition may include a requirement that the vehicle 100 is traveling at zero speed. In this case, if the determination in step S292 is NO, the CPU 20 ends the second process at that point. When such a configuration is adopted, the CPU 20 performs the download process without obtaining the user's permission only when the vehicle 100 is stopped (step S290: YES) if it is within the permission period, on the assumption that the capacity of the update software is small. On the other hand, if the vehicle 100 is traveling at a speed greater than zero, the CPU 20 performs the download process on the condition that the second permission signal is obtained in step S280, regardless of whether the permission period is set, as in the above-mentioned embodiment. In addition, in determining whether the vehicle 100 is traveling at a speed less than zero, the detection result of the vehicle speed sensor 83 may be referred to.

[0085] 7, if the determination in step S292 is NO, the process may proceed to step S270. In other words, if the permission period is set, the update process may be executed on the condition that the second permission signal is received through steps S270 and S280 even if it is outside the permission period.

[0086] As described in Fig. 7, the contents of the update process performed in steps S240 and S260 of the second process may be changed from those in Fig. 5. Furthermore, the contents of the process performed in steps S240 and S260 may be changed depending on the situation. For example, if the charging condition is met (step S230: YES), the CPU 20 performs download process and installation process in step S240, and performs activation process in step S260. On the other hand, if the CPU 20 has obtained permission from the user at that time (step S280: YES), the CPU 20 performs download process in step S240, and performs installation process and activation process in step S260. Such an embodiment may be adopted.

[0087] The following aspect may be adopted for the update process performed in step S260. That is, the update process may be performed not when the system of the vehicle 100 is switched from on to off, but when a predetermined third waiting time has elapsed after the system of the vehicle 100 is switched from on to off. In this case, the execution of the first process may be canceled until the third waiting time has elapsed after the system of the vehicle 100 is switched from on to off and the update process is completed. This modified example in which the third waiting time is provided may also be applied to the activation process when the process proceeds from step S170 to step S140 in the first process of FIG. 4.

[0088] A certain campaign may target a plurality of specific control devices 90 for update. Accordingly, a certain vehicle 100 may be targeted for a plurality of update software programs distributed from the OTA server 500 at once. In this case, for example, in step S110 of the first process in FIG. 4, the CPU 20 receives software information for each specific control device 90 to be updated from the OTA server 500. In this case, the CPU 20 may perform the processes from S120 onward in parallel for each specific control device 90. In this case, with regard to the update process, depending on the communication status with the OTA server 500, the download process may be put on hold, but this does not pose any problem in carrying out a series of update processes. Here, the first process is taken as an example, but the same applies to the second process.

[0089] Regarding the necessity of permission according to the type of the specific control device 90, if the specific control device 90 is a control target of an in-vehicle device for exchanging information with a user inside the vehicle, such as the HMI device 70, the following aspect may be adopted. That is, regardless of whether the permission period is set or whether the first battery 61 is being charged or not, the update process may be performed without the condition of obtaining the permission signal. In addition, even if the specific control device 90 is a driving system, depending on the content of the update, for example, within the permission period or when the first battery 61 is being charged, the update may be performed without the condition of obtaining the permission signal. Furthermore, regarding the specific control device 90 of the driving system, for example, if an update is required urgently, the update may be performed without the condition of obtaining the permission signal, regardless of the permission period or the charging status. When the specific control device 90 of the driving system is updated without obtaining the permission of the user, the user may be notified later that the update for the specific control device 90 of the driving system has been performed. In this way, the possibility that the user feels uncomfortable after the update is reduced. That is, it is not essential to make the acquisition of the permission signal a condition for updating the specific control device 90 of the driving system. Such an embodiment is possible if the software information transmitted from the OTA server 500 to the OTA master 10 includes the content of the update, such as whether it is urgent.

[0090] Depending on the type of the specific control device 90 to be updated, it may be possible to perform all of the download process, installation process, and activation process while the system of the vehicle 100 is on. In such a case, all of these processes may be performed while the system of the vehicle 100 is on.

[0091] The manner of the confirmation notification in the first process and the second process is not limited to the example of the above embodiment. For example, in step S160 of the first process, instead of or in addition to the confirmation notification by the display 71, the confirmation notification may be performed by voice guidance from the speaker 73. Similarly, in step S270 of the second process, instead of or in addition to the confirmation notification by voice guidance from the speaker 73, the confirmation notification may be performed using the display 71.

[0092] Regarding step S270 of the second process, a confirmation notification of step S270 may be given on the condition that the vehicle 100 is stopped. The manner of accepting the user's consent to the confirmation notification is not limited to the above embodiment. For example, as in the above modification, if the confirmation notification is performed using the display 71 in step S270 of the second process, the first consent signal from the display 71 may be accepted in step S280. In step S280, both the first consent signal from the display 71 and the second consent signal from the voice recognition device 72 may be accepted. Furthermore, the consent signal may be accepted using something other than the display 71 and the voice recognition device 72. For example, the push switch 74 may be used as an input device that accepts input from the user. In this case, it is sufficient that the consent signal indicating the consent to the execution of the update process can be transmitted from the push switch 74 to the OTA master 10. When the push switch 74 is used as the input device, it is preferable to provide the push switch 74 on the steering wheel from the viewpoint of not interfering with the user's driving operation. When the push switch 74 is provided on the steering wheel, the same effect as that of (4) above can be enjoyed. Also in step S170 of the first process, the device that is the transmission source of the permission signal may be changed as appropriate.

[0093] As the HMI device 70 equipped in the vehicle 100, other devices may be adopted instead of or in addition to the one in the above embodiment. For example, instead of or in addition to the center display in the above embodiment, a display provided in the meter panel may be adopted. This display is called a front display. A confirmation notification may be given using this front display. In addition, when obtaining the user's permission in step S170 or step S280, for example, the user's response obtained via the voice recognition device 72 or the push switch 74 on the steering wheel may be displayed on the front display.

[0094] The charging conditions in the first process and the second process are not limited to the examples in the above embodiment. For example, the second requirement may be eliminated. The charging conditions may include the requirement that the first battery 61 is being charged.

[0095] The method for determining whether the first battery 61 is being charged is not limited to the example of the above embodiment. It is not limited to the method using the charging sensor 82 as in the above embodiment, and any method can be used as long as it can appropriately determine whether the first battery 61 is being charged.

[0096] In the first process and the second process, it is not essential to consider whether or not permission is required depending on whether the first battery 61 is being charged. When the determination regarding the charging of the first battery 61 is eliminated in the first process, for example, the first process shown in FIG. 8 may be adopted. That is, when the CPU 20 determines in step S120 that the specific control device 90 to be updated is other than a driving system, the process may proceed to step S150. Note that the same step numbers as in FIG. 4 are used for the parts in FIG. 8 where the same processes as in FIG. 4 are performed.

[0097] When the determination regarding charging of the first battery 61 is eliminated in the second process, the second process shown in FIG. 9 may be adopted, for example. In the second process shown in FIG. 9, instead of determining whether or not the first battery 61 is being charged in step S230, the process of step S300 is adopted. In this step S300, the CPU 20 determines whether or not the vehicle 100 is in the accessory-on state. Then, if the vehicle 100 is in the accessory-on state (step S300: YES), the CPU 20 advances the process to step S240. On the other hand, if the vehicle 100 is not in the accessory-on state (step S300: NO), the CPU 20 advances the process to step S270. Note that the same step numbers as in FIG. 5 are used for the parts in FIG. 9 where the same processes as in FIG. 5 are performed.

[0098] The length of the standby time used in various processes, such as the predetermined time used in the setting process and the first standby time used in the first process, may be set appropriately according to each purpose. The non-volatile memory of the specific control device 90 may have a single bank structure. Unlike a double bank structure, this type of memory has only one storage area. When data is being read from this memory, writing cannot be performed. Therefore, when a non-volatile memory of a single bank structure is used, it is considered that not only the activation process but also the installation process is basically performed when the system of the vehicle 100 is off.

[0099] A double-bank structure may be used as the non-volatile memory in some of the specific control devices 90, and a single-bank structure may be used as the non-volatile memory in the remaining specific control devices 90. The installation process and activation process may be performed at an appropriate timing depending on the structure of the non-volatile memory of the specific control device 90 to be updated.

[0100] 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.

[0101] 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.

[0102] The OTA master 10 may update its own software. That is, the electronic control device for which the OTA master 10 updates the software may be the OTA master 10 itself.

[0103] The overall configuration of the vehicle 100 is not limited to the example of the above embodiment. For example, the vehicle 100 may have an engine in addition to the motor device 51 as a drive source of the vehicle 100. That is, the vehicle 100 may be a plug-in hybrid vehicle. Also, for example, the connector 68 may be eliminated from the vehicle 100. That is, the vehicle 100 may be a hybrid vehicle that cannot be charged by the external power source 300. Also, for example, the vehicle 100 may be an engine vehicle that has only an engine without the motor device 51 as a drive source of the vehicle 100.

[0104] In the case where a vehicle 100 that is not an electric vehicle or a plug-in hybrid vehicle is adopted, the first process shown in FIG. 8 and the second process shown in FIG. 9 may be applied to the vehicle. In this case, the configurations of the above-mentioned modified examples may be applied as appropriate. For example, a configuration may be applied in which permission is required or not depending on the type of the specific control device 90 to be updated. Also, for example, a configuration may be applied in which the presence or absence of a permission period is considered when the system of the vehicle 100 is on, as described in FIG. 7. Also, for example, a configuration may be applied in which, when a permission period is set, permission is obtained outside the permission period to execute the update process, as described in FIG. 6.

[0105] 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.

[0106] <Additional Notes> The above embodiment and modified examples include the configurations described in the following supplementary notes. [Appendix 1] A software update system for a vehicle comprising an electronic control unit mounted on a vehicle, an information processing device that manages software updates for the electronic control unit, and an input device that accepts input from a user, wherein the information processing device is capable of performing an update process to update software for the electronic control unit and setting an authorization period for the update process based on input through the input device, and if the authorization period is not set, the update process is performed on the condition that an authorization signal indicating authorization for the update process has been obtained from the input device, and if the authorization period is set, the update process is performed within the authorization period without the condition that the authorization signal has been obtained.

[0107] [Appendix 2] The software update system for a vehicle described in [Appendix 1], wherein the information processing device executes the update process even outside the permission period, provided that the permission signal has been obtained, when the permission period is set.

[0108] [Appendix 3] A software update system for a vehicle described in [Appendix 1] or [Appendix 2], in which, when the electronic control device that is the target of the software update controls the vehicle's drive source or the vehicle's brake device, the information processing device executes the update process on the condition that the permission signal is obtained, regardless of whether the permission period is set or not.

[0109] [Appendix 4] A software update system for a vehicle described in any one of [Appendix 1] to [Appendix 3], further comprising a vehicle speed sensor for detecting a traveling speed of the vehicle, wherein the information processing device executes the update process on condition that the permission signal has been obtained when the traveling speed of the vehicle is greater than zero, regardless of whether the permission period has been set or not.

[0110] [Appendix 5] The software update system for a vehicle described in [Appendix 4], wherein the input device is a voice recognition device provided in the passenger compartment of the vehicle, or a push switch provided on the steering wheel of the vehicle.

[0111] [Appendix 6] A software update system for a vehicle described in any one of [Appendix 1] to [Appendix 5], further comprising a battery that can be charged by a power source external to the vehicle, and wherein the information processing device executes the update process when the battery is being charged, regardless of whether the permission period has been set or not, and without the condition that the permission signal has been obtained. [Explanation of symbols]

[0112] 10…OTA Master 20…CPU 51...Motor device 52...Brake device 53...Parking brake device 61…1st battery 71…Display 72...Voice recognition device 74…Push switch 83...Vehicle speed sensor 90...Specific control device 100…Vehicle 300...External power supply

Claims

1. performing an update process to update software on an electronic control device mounted on a vehicle; setting an allowed period for the update process based on an external input; It is possible to execute If the permission period is not set, the update process is executed on condition that a permission signal indicating permission for the update process is obtained; When the permission period is set, the update process is executed within the permission period without being conditioned on the acquisition of the permission signal. An information processing device for a vehicle.

2. An electronic control device installed in a vehicle; an information processing device that manages software updates for the electronic control device; An input device that accepts input from a user, The information processing device includes: performing an update process to update software for the electronic control device; setting an allowed period for the update process based on an input via the input device; It is possible to execute If the permission period is not set, the update process is executed on condition that a permission signal indicating permission for the update process is obtained from the input device; When the permission period is set, the update process is executed within the permission period without being conditioned on the acquisition of the permission signal. Software update system for vehicles.

3. When the permission period is set, the information processing device executes the update process even outside the permission period on condition that the permission signal is acquired.

3. The vehicle software update system of claim 2.

4. When the electronic control device to be updated controls a drive source or a brake device of the vehicle, The information processing device executes the update process on condition that the permission signal is acquired, regardless of whether the permission period is set or not.

3. The vehicle software update system of claim 2.

5. A vehicle speed sensor is provided to detect a traveling speed of the vehicle. When the traveling speed of the vehicle is greater than zero, the information processing device executes the update process on condition that the permission signal is obtained, regardless of whether the permission period is set or not.

3. The vehicle software update system of claim 2.

6. The input device is a voice recognition device provided in the passenger compartment of the vehicle, or a push switch provided on a steering wheel of the vehicle.

6. A software update system for a vehicle according to claim 5.

7. a battery that is chargeable by a power source external to the vehicle; When the battery is being charged, the information processing device executes the update process regardless of whether the permission period has been set or not, without the condition that the permission signal has been acquired.

3. The vehicle software update system of claim 2.

8. The present invention is applied to a vehicle equipped with an electronic control unit and an information processing device that manages software of the electronic control unit, The information processing device includes: Setting an allowed period for updating the electronic control device to the update software based on an external input; if the permission period is not set, executing the update process on condition that a permission signal indicating permission for the update process is obtained; if the permission period is set, executing the update process within the permission period without being conditioned on the acquisition of the permission signal; to carry out Program for vehicles.

Citation Information

Patent Citations

  • On-vehicle program update device

    JP2014106875A

  • Software update device and software update system

    JP2016218932A

  • Software managing system, and managing server, for wheeled vehicles, and wheeled vehicle

    JP2017167646A

  • User interface system, user interface control device, user interface control method, and user interface control program

    WO2015162639A1

  • Vehicle, software update system and software update method

    JP2021105923A

Cited By

  • Software update device, software update method, and software update program

    WO2026203197A1