Software update in-vehicle with a portable device
An in-vehicle apparatus configured to enable effective software downloading by distributing download tasks among multiple portable devices. An in-vehicle apparatus includes a communicator that communicates with the portable devices, and a processor that acquires speed datasets from the portable devices, each indicating a communication speed between a respective portable device and a server. Based on the speed datasets, the processor assigns data files to the portable devices and requests the portable devices to download the respectively assigned data files from the server. The in-vehicle apparatus receives the downloaded data files from the portable devices and updates its software accordingly.
1 . An in-vehicle apparatus comprising:
a communicator configured to communicate with portable devices; and
a processor configured to confirm whether a notification indicating that data files are in a server has been received from the server;
acquire speed datasets, each of the datasets indicating a communication speed between each of the portable devices and the server from each of the portable devices communicably coupled to the communicator,
sequentially assign the data files configured to be downloaded from the server to the portable devices respectively based on the speed datasets,
send requests to the portable devices to sequentially download the respectively assigned data files from the server,
receive, from the portable devices, the respectively assigned data files that were downloaded by the portable devices from the server, and
update software used in the in-vehicle apparatus based on the data files received from the portable devices.
2 . The in-vehicle apparatus according to claim 1 , wherein
the processor is configured to
assign a first data file of the data files having a first file size to a first portable device among the portable devices, the first portable device being configured to communicate with the server at a first communication speed, and
assign a second data file of the data files having a second file size to a second portable device among the portable devices, the second portable device being configured to communicate with the server at a second communication speed, the second file size being smaller than the first file size, the second communication speed being lower than the first communication speed.
3 . The in-vehicle apparatus according to claim 1 , wherein the communication speed indicated by each of the speed datasets comprises an actual communication speed obtained upon communication between each of the portable devices and the server.
4 . The in-vehicle apparatus according to claim 1 , wherein the communication speed indicated by each of the speed datasets comprises a communication speed estimated based on a standard of wireless communication to be used upon communication between each of the portable devices and the server.
5 . The in-vehicle apparatus according to claim 1 , further comprising a display, wherein the processor is configured to
generate a pattern image comprising data indicating (i) a connection setting to the server and (ii) a connection setting to the in-vehicle apparatus,
wherein the display is configured to display the pattern image.
6 . The in-vehicle apparatus according to claim 1 , wherein the notification includes data on names of the data files and data on file sizes of the data files.
7 . The in-vehicle apparatus according to claim 1 , wherein the portable devices are registered in advance to the in-vehicle apparatus, and the processor is configured to acquire the speed datasets from the portable devices that are registered and communicably coupled to the communicator.
8 . The in-vehicle apparatus according to claim 7 , wherein the processor is configured to supply the portable devices with data indicating a connection setting to the server.
9 . The in-vehicle apparatus according to claim 1 , wherein the processor is configured to assign the data files to the portable devices respectively based on the speed datasets before any of the portable devices starts downloading the respectively assigned data files from the server.
10 . The in-vehicle apparatus according to claim 1 , wherein the processor is configured to assign at least one of the data files to at least one of the portable devices after at least another one of the portable devices has started downloading its respectively assigned data file from the server.
11 . The in-vehicle apparatus according to claim 1 , further comprising:
a display configured to display a message asking an occupant whether to update the software used in the in-vehicle apparatus, and
an operation input unit configured to receive an operational input by the occupant,
wherein the processor is configured to perform the assigning of the data files and the sending of the requests in response to the operation input unit receiving an instruction to update the software.