vehicle
The vehicle system optimizes software updates by determining suitability for connection to a wireless LAN, reducing power consumption and ensuring efficient updates.
Patent Information
- Application Number
- JP2023043963
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-20
- Publication Date
- 2024-10-03
- Estimated Expiration
- 2043-03-20
AI Technical Summary
Vehicles consuming power when connecting to a wireless LAN for software updates lead to increased power consumption due to unnecessary connections.
A vehicle system that determines whether it is in a state suitable for software updates before connecting to a wireless LAN, ensuring updates can be completed, thereby reducing unnecessary connections and power consumption.
Reduces power consumption by minimizing unnecessary wireless LAN connections and optimizing software update processes, allowing for efficient and timely updates.
Smart Images

Figure 2024133933000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a vehicle that updates software by acquiring update data via a wireless LAN. [Background technology]
[0002] Patent Document 1 describes a mobile device such as a smartphone that automatically connects to a wireless LAN when the device is located at a connection point of the wireless LAN designated in advance. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2011-521549 A Summary of the Invention [Problem to be solved by the invention]
[0004] In a vehicle that connects to a wireless LAN to download software update data, it is possible to automatically connect to the wireless LAN. The vehicle consumes power when connecting to the wireless LAN. Therefore, if the vehicle connects to the wireless LAN every time it is located at a connection point, the vehicle's power consumption will increase. [Means for solving the problem]
[0005] A vehicle that solves the above problem is a vehicle that obtains update data via a wireless LAN and updates software of on-board equipment based on the update data, and is equipped with a determination unit that determines whether or not the software update is in a state in which it can be performed when the software update is requested and the vehicle is located in a position where it can be connected to the wireless LAN, and a connection unit that connects the vehicle to the wireless LAN on the condition that the determination unit determines that the software update is in a state in which it can be performed. Effect of the Invention
[0006] Since the vehicle controls the connection to the wireless LAN depending on the result of the determination as to whether or not the software update is possible, power consumption of the vehicle is reduced. [Brief description of the drawings]
[0007] [Figure 1] 1 is a diagram illustrating a schematic configuration of an embodiment of a vehicle. [Diagram 2] 4 is a flowchart of a connection control routine executed in the vehicle. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0008] Hereinafter, one embodiment of a vehicle will be described in detail with reference to FIGS. <Vehicle configuration> First, the configuration of a vehicle 10 of this embodiment will be described with reference to Fig. 1. The vehicle 10 is equipped with an in-vehicle network 11. The in-vehicle network 11 is configured with a plurality of in-vehicle devices connected to a communication line 12. The in-vehicle devices constituting the in-vehicle network 11 are in-vehicle electronic devices having a communication function. Each of the in-vehicle devices has a processor and a memory. Each of the in-vehicle devices is configured to operate by the processor executing a program stored in the memory.
[0009] The vehicle 10 includes a gateway ECU 13 as one of the in-vehicle devices constituting the in-vehicle network 11. The gateway ECU 13 is an electronic control unit that relays communication between the in-vehicle devices via the communication line 12 and between the in-vehicle devices and the outside of the vehicle.
[0010] The in-vehicle devices constituting the in-vehicle network 11 include ECUs 14 other than the gateway ECU 13 and HMIs 15. Examples of the other ECUs 14 include an ECU for engine control, an ECU for gear shift control, an ECU for brake control, and an ECU for an advanced driving assistance system. The HMI 15 is a human machine interface. The HMI 15 includes an input device such as a touch panel and an output device for outputting images and sounds. Other examples of the in-vehicle devices constituting the in-vehicle network 11 include an in-vehicle entertainment system and sensors. Such a vehicle 10 is configured to be able to update the software of the in-vehicle devices.
[0011] A communication module 16 is connected to the gateway ECU 13. The communication module 16 performs wireless communication with a wireless LAN router 20 installed outside the vehicle. The wireless LAN router 20 has an access point function and a router function. When the communication module 16 is connected to the wireless LAN router 20, the gateway ECU 13 is connected to the Internet 21 via the wireless LAN router 20.
[0012] A distribution server 22 is connected to the Internet 21. The distribution server 22 is a server device that distributes software update information and update data for in-vehicle devices to each vehicle 10. <Software updates> Next, updating of software for on-board devices in the vehicle 10 will be described.
[0013] When updating software, the distribution server 22 distributes update guidance information to each vehicle 10. The guidance information includes information such as text data of the update contents, the amount of update data, and the start time of distribution of the update data. When the gateway ECU 13 of each vehicle 10 receives the guidance information, it causes the HMI 15 to display a guidance screen. The guidance screen displays the text of the update data, buttons for selecting whether or not to update, and the like. If the user has consented to the update and the distribution server 22 has started distributing the update data, the gateway ECU 13 determines that a software update has been requested.
[0014] When a software update is requested and the vehicle 10 is connected to a wireless LAN, the gateway ECU 13 downloads update data from the distribution server 22 and stores it in its own data storage. The update data may include any of the update software, compressed data obtained by compressing the update software, and divided data obtained by dividing the update software or the compressed data. The update data may also include an identifier of the on-board electronic device to be updated and an identifier of the software before the update. The update data is downloaded as a distribution package. The distribution package includes update data for one or more on-board electronic devices.
[0015] After the download of the update data is completed, the gateway ECU 13 installs the update software. Specifically, the gateway ECU 13 writes the update software to the memory of the in-vehicle device to be updated. If the update data includes the update software itself, the gateway ECU 13 installs it by transferring the update data to the in-vehicle device to be updated. If the update data includes compressed data, difference data, or split data of the update software, a process of generating the update software from the update data is performed. The generation process may be performed by the gateway ECU 13 or by the in-vehicle device to be updated. The update software can be generated by decompressing the compressed data and assembling the difference data or split data.
[0016] After the installation is complete, the in-vehicle device to be updated is activated. During activation, the in-vehicle device performs a consistency check of the update software version, etc. After the consistency check, the in-vehicle device is switched from a state in which it was operating with the software before the update to a state in which it was operating with the updated software.
[0017] The vehicle 10 of this embodiment is configured to download update data via a wireless LAN. Therefore, when a software update is requested and the vehicle 10 is connected to the wireless LAN, the gateway ECU 13 starts downloading the update data. Also, the installation and activation of the update software are performed at a time determined according to the type of in-vehicle device and software. For example, in the case of the ECU 14 that controls the running of the vehicle 10, the installation is performed after the ignition switch is turned off, and the activation is performed after the next ignition switch is turned on.
[0018] <Wireless LAN connection control> Next, the control of the gateway ECU 13 for connecting the vehicle 10 to the wireless LAN will be described with reference to Fig. 2. Fig. 2 shows a flowchart of a wireless LAN connection control routine executed by the gateway ECU 13.
[0019] When the vehicle 10 is not connected to the wireless LAN, the gateway ECU 13 judges whether the vehicle 10 is located within the connection range of the wireless LAN (S100). The connection range of the wireless LAN is the range of the vehicle 10's location that can be connected to a pre-specified wireless LAN router 20. Whether the vehicle 10 is located within the communication range can be judged, for example, by whether the communication module 16 receives a signal from a pre-specified wireless LAN router 20. The same judgment can also be made by identifying the location of the vehicle 10 from a GPS signal and judging whether the location is located within the communication range of a pre-set wireless LAN. When the vehicle 10 is not located within the connection range of the wireless LAN (S100: NO), the gateway ECU 13 performs the judgment of step S100 again after a preset control period has elapsed.
[0020] If the vehicle 10 is located within the connection range of the wireless LAN (S100: YES), the gateway ECU 13 determines whether or not there is a request for software update in step S110. If there is no request for software update (S110: NO), the gateway ECU 13 instructs the communication module 16 to connect to the wireless LAN router 20 in step S140 in order to connect the vehicle 10 to the wireless LAN.
[0021] On the other hand, if there is a request for software update (S110: YES), the gateway ECU 13 determines in step S120 whether the type of software for which the update is requested corresponds to an urgent update. Some software to be updated needs to be updated with a high degree of urgency. The gateway ECU 13 determines whether an urgent update is required based on the information on the type of software included in the guidance information acquired from the distribution server 22. Then, if an urgent update is required (YES), the gateway ECU 13 commands the vehicle 10 to connect to the wireless LAN in step S140.
[0022] If the type of software to be updated does not require an urgent update (S120: NO), the gateway ECU 13 proceeds to step S130. In step S130, the gateway ECU 13 determines whether or not the software is in a state in which it can be updated. The gateway ECU 13 determines that the software is in a state in which it can be updated when both the following requirements (A) and (B) are met.
[0023] Requirement (A) is that when the vehicle 10 connects to a wireless LAN and starts downloading update data, there is a low possibility that the vehicle 10 moves out of the communication range of the wireless LAN before the download is completed, causing the download to be interrupted. The gateway ECU 13 determines that requirement (A) is satisfied when, for example, the ignition switch of the vehicle 10 is turned off. Even if the vehicle 10 is stopped, there is a possibility that the user will resume driving while the ignition switch is on.
[0024] Requirement (B) is that the conditions for installing and activating the update software are met. The conditions for installing and activating are set for each type of in-vehicle device and software. If these conditions are not met, the software update cannot be completed even if the update data is downloaded. For example, the in-vehicle device to be updated may continue to operate even after the vehicle 10 is stopped. While the operation is continuing, installation and activation of the update software cannot be performed. Therefore, the conditions for installing and activating are not met until the in-vehicle device to be updated can stop operating.
[0025] If the gateway ECU 13 determines that the software update is possible (YES), the gateway ECU 13 proceeds to step S140 and connects to the wireless LAN. On the other hand, if the gateway ECU 13 determines that the software update is not possible (NO), the gateway ECU 13 suspends the connection of the vehicle 10 to the wireless LAN. Specifically, in this case, the gateway ECU 13 returns the process to step S100 after a preset control period has elapsed.
[0026] <Effects of the embodiment> In this embodiment, when a software update is requested and the vehicle 10 is located at a position where it can be connected to a wireless LAN, the gateway ECU 13 in the vehicle 10 determines whether the software update is possible. Then, the gateway ECU 13 connects the vehicle 10 to the wireless LAN on the condition that it is determined that the software update is possible. The vehicle 10 obtains update data via the wireless LAN and updates the software of the on-board devices based on the update data.
[0027] On the other hand, when the gateway ECU 13 determines that the software update is not possible, it suspends the connection of the vehicle 10 to the wireless LAN. In this case, even if the vehicle 10 is connected to the wireless LAN and the download of the update data is started, it is highly likely that the software update cannot be completed. In the vehicle 10 of this embodiment, when it is highly likely that the software update cannot be completed, the connection to the wireless LAN is suspended.
[0028] According to the vehicle 10 of the present embodiment described above, the following effects can be achieved. (1) When a software update is requested and the vehicle 10 is located in a position where it can be connected to a wireless LAN, the gateway ECU 13 in the vehicle 10 of this embodiment determines whether the software update is in a state where it can be performed. Then, the gateway ECU 13 connects the vehicle 10 to the wireless LAN on the condition that it is determined that the software update is in a state where it can be performed. This reduces the chances that the vehicle 10 is unnecessarily connected to the wireless LAN even though the software update cannot be completed. Therefore, the vehicle 10 of this embodiment has the effect of reducing power consumption for connection to the wireless LAN.
[0029] (2) Immediately after the distribution server 22 starts distributing update data, downloads of the update data from the vehicles 10 tend to be concentrated, which can easily increase the load on the distribution server 22. In the present embodiment, for vehicles 10 that are currently in a state where software updates cannot be performed, downloads of the update data are postponed. This distributes the downloads of the update data, thereby reducing the load on the distribution server 22.
[0030] (3) When a software update is not requested, the gateway ECU 13 connects the vehicle 10 to the wireless LAN when the vehicle 10 is located at a position where the vehicle 10 can connect to the wireless LAN. That is, the gateway ECU 13 in this case connects the vehicle 10 to the wireless LAN regardless of whether the vehicle 10 is in a state where a software update can be performed. This makes it easier for the vehicle 10 to quickly obtain the software update guidance information distributed by the distribution server 22.
[0031] (4) When the type of software requested to be updated is one that requires an urgent update, the gateway ECU 13 connects the vehicle 10 to the wireless LAN when the vehicle 10 is located at a position where the vehicle 10 can connect to the wireless LAN. That is, the gateway ECU 13 in this case connects the vehicle 10 to the wireless LAN regardless of whether the vehicle 10 is in a state where the software update can be performed. Even when it is determined that the software update is not in a state where the software update can be performed, there may be cases where the possibility of completing the update is not zero. Also, there may be cases where the update process can be partially completed even if the update is not completed. This increases the possibility that the software update with a high urgency can be performed early.
[0032] <Correspondence> In the vehicle 10 of this embodiment, the gateway ECU 13 corresponds to a determination unit that determines whether or not the software update is in a state in which it can be performed when a software update is requested and the vehicle 10 is located at a position where it can be connected to a wireless LAN. Also, in the vehicle 10 of this embodiment, the gateway ECU 13 also corresponds to a connection unit that connects the vehicle 10 to the wireless LAN on the condition that the determination unit determines that the software update is in a state in which it can be performed.
[0033] (Other embodiments) This embodiment can be modified as follows: This embodiment and the following modifications can be combined with each other to the extent that there is no technical contradiction.
[0034] <Regarding the determination in step S130 in FIG. 2> The determination in step S130 in FIG. 2 may be made assuming that requirement (A) is met in the following cases.
[0035] The vehicle 10 is stopped. Even if the vehicle 10 is within the connection range of the wireless LAN, if the vehicle 10 is moving, there is a possibility that the vehicle 10 will move out of the connection range thereafter. Therefore, it is desirable to suspend connection to the wireless LAN until it is confirmed that the vehicle is stopped.
[0036] The vehicle 10 is parked. Even if the vehicle 10 is stopped within the range of the wireless LAN connection, it may resume driving after that. Therefore, it is desirable to suspend connection to the wireless LAN until it is confirmed that the vehicle 10 is parked by operating the shift lever to the parking position or by operating the parking brake.
[0037] The hazard lights are not on. The driver may turn on the hazard lights when temporarily stopping the vehicle 10 on the shoulder of the road, etc. Therefore, if the hazard lights are on, it is highly likely that the vehicle 10 will resume traveling thereafter, so it is desirable to suspend connection to the wireless LAN.
[0038] No open doors. If the doors remain open when the vehicle 10 stops, there is a possibility that the passengers will re-board and resume driving. Therefore, if any door is open, it is desirable to suspend connection to the wireless LAN.
[0039] <Other> During the connection control, it may be determined whether or not the vehicle 10 needs to be connected to the wireless LAN, regardless of the type of software to be updated. That is, the determination process of step S120 in FIG. 2 may be omitted.
[0040] Regardless of software updates, there may be cases where the vehicle 10 needs to be connected to a wireless LAN immediately. In such cases, it is desirable to connect the vehicle 10 to the wireless LAN as soon as connection becomes possible. Therefore, in connection control, the gateway ECU 13 may be configured to connect the vehicle 10 to the wireless LAN as soon as the vehicle 10 enters the connection range if a predetermined emergency notification has been received.
[0041] The communication module 16 and the distribution server 22 may be configured to have a function for connecting to a mobile communication network. Even in this case, if the vehicle 10 obtains update data via a wireless LAN, power consumption can be reduced by adopting the connection control of the above embodiment.
[0042] The vehicle 10 may be configured so that an in-vehicle device other than the gateway ECU 13 performs connection control. Also, the determination of whether or not connection to the wireless LAN is necessary and the connection to the wireless LAN based on the determination result may be performed by separate in-vehicle devices.
[0043] (Additional Notes) [Appendix 1] A vehicle that obtains update data via a wireless LAN and updates software of on-board equipment based on the update data, the vehicle comprising: a determination unit that determines whether or not the software update is in a state in which it can be performed when an update of the software is requested and the vehicle is located in a position where it can be connected to the wireless LAN; and a connection unit that connects the vehicle to the wireless LAN on the condition that the determination unit determines that the software update is in a state in which it can be performed.
[0044] [Appendix 2] A vehicle as described in Appendix 1, wherein the connection unit connects the vehicle to the wireless LAN when the vehicle is located in a position where it can be connected to the wireless LAN, if an update of the software is not requested, regardless of whether the determination unit has determined that the software update is in a state where it can be performed.
[0045] [Appendix 3] A vehicle as described in Appendix 1 or Appendix 2, wherein the connection unit connects the vehicle to the wireless LAN when the vehicle is located in a position where it can be connected to the wireless LAN, if the type of software for which an update is requested is a default type, regardless of whether the determination unit has determined that the software is in a state in which an update can be performed.
[0046] [Supplementary Note 4] The vehicle according to any one of Supplementary Note 1 to Supplementary Note 3, wherein the determination unit determines that the software is in a state in which updating can be performed on condition that an ignition switch is off.
[0047] [Supplementary Note 5] The vehicle according to any one of Supplementary Note 1 to Supplementary Note 4, wherein the determination unit determines that the software update is in a state in which it can be performed on condition that the vehicle is stopped. [Supplementary Note 6] The vehicle according to any one of Supplementary Note 1 to Supplementary Note 5, wherein the determination unit determines that the software update is in a state in which it can be performed on condition that the vehicle is parked.
[0048] [Supplementary Note 7] The vehicle according to any one of Supplementary Note 1 to Supplementary Note 6, wherein the determination unit determines that the software update is in a state in which it can be performed on condition that a hazard lamp is not turned on. [Supplementary Note 8] The vehicle according to any one of Supplementary Note 1 to Supplementary Note 7, wherein the determination unit determines that the software update is in a state in which it can be performed on condition that no door is open.
[0049] [Supplementary Note 9] A vehicle as described in any one of Supplementary Note 1 to Supplementary Note 8, wherein the connection unit connects the vehicle to the wireless LAN when a predetermined emergency notification is received, regardless of the judgment result of the judgment unit. [Explanation of symbols]
[0050] 10 Vehicles 11 In-vehicle network 12. Communication Lines 13 Gateway ECU 14 ECU 15 HMI 20 Wireless LAN Router 21 Internet 22 Distribution Server
Claims
1. A vehicle that acquires update data via a wireless LAN and updates software of an in-vehicle device based on the update data, a determination unit that determines whether or not the software update is in a state in which the software update can be performed when the software update is requested and the vehicle is located at a position where the software update can be connected to the wireless LAN; a connection unit that connects the vehicle to the wireless LAN on condition that the determination unit determines that the software update is possible; A vehicle equipped with.
2. The vehicle described in claim 1, wherein the connection unit connects the vehicle to the wireless LAN when the vehicle is located in a position where it can be connected to the wireless LAN, when the software update is not requested, regardless of whether the determination unit has determined that the software update is in a state where it can be performed.
3. The vehicle described in claim 1, wherein the connection unit connects the vehicle to the wireless LAN when the vehicle is located in a position where it can be connected to the wireless LAN, when the type of software for which an update is requested is a default type, regardless of whether the determination unit has determined that the software update is in a state in which it can be performed.
Citation Information
Patent Citations
Processor and processing method
JP2019155959A
Program update device and program update method
JP2021047637A
Software update device
WO2019009020A1
Vehicle device, server, and communication management method
WO2022168580A1
System and method for providing location-aware Wi-Fi access for mobile devices
JP2011521549A
