Method and apparatus for actively updating vehicle software
View Patent ↗The present disclosure in some embodiments provides a method and an apparatus for updating software. The present disclosure provides a method of updating software, including providing a user of a vehicle with one or more vehicle software update options, determining whether an update condition is met based on a vehicle software update option, among the one or more vehicle software update options, that is selected by the user, and updating software of the vehicle based on the update condition being met. The vehicle software update options include at least one of a destination-based update or a driving pattern-based update.
1 . A method performed by an apparatus of a vehicle, the method comprising:
outputting, via a user interface of the vehicle, one or more vehicle software update options, wherein the one or more vehicle software update options comprise at least one of a destination-based update or a driving pattern-based update;
determining, by a control circuit of the apparatus, whether an update condition is met based on a vehicle software update option, among the one or more vehicle software update options, that is selected via the user interface;
updating software of the vehicle based on the update condition being met;
determining, based on the vehicle being turned on while the software is being updated, whether the updating of the software corresponds to updating a safety controller of the vehicle; and
controlling, by the control circuit and based on determining that the updating of the software corresponds to the updating of the safety controller, the vehicle to be undrivable during the updating of the safety controller.
2 . The method of claim 1 , wherein the controlling of the vehicle to be undrivable comprises:
controlling, by the control circuit, the vehicle to turn off; and
outputting, via the user interface, a notification indicating that the vehicle is undrivable.
3 . The method of claim 1 , wherein the determining of whether the update condition is met comprises:
determining, based on the selected vehicle software update option being the destination-based update, whether the vehicle has arrived at a destination; and
determining, based on the vehicle having arrived at the destination, whether the vehicle is turned off and whether a state of charge (SOC) of the vehicle exceeds a predetermined value, wherein the destination is a location set in at least one of a navigation system or a predetermined unit mounted on the vehicle.
4 . The method of claim 1 , wherein the determining of whether the update condition is met comprises:
based on the selected vehicle software update option being the driving pattern-based update, determining at least one of:
whether the vehicle is turned off,
whether a time that the vehicle is expected to remain turned off for is longer than a time required for updating the software,
whether the vehicle stops at a predetermined location, or
whether the vehicle is not expected to be driven during the updating of the software.
5 . The method of claim 4 , wherein the time that the vehicle is expected to remain turned off for and the predetermined location are determined by a driving pattern model associated with the vehicle.
6 . The method of claim 5 , wherein the driving pattern model is configured to determine the time that the vehicle is expected to remain turned off for and the predetermined location by using information on a driving pattern of the vehicle stored in a removable storage device.
7 . The method of claim 6 , wherein the information on the driving pattern of the vehicle includes at least one of a driving start time, a stop time, a driving time duration, a stop location, a number of times driving started, or a number of times the vehicle stopped.
8 . The method of claim 6 , wherein the information on the driving pattern of the vehicle is stored in the removable storage device for each day of a week, and
wherein the information on the driving pattern of the vehicle is stored in the removable storage device in at least one of hours or minutes.
9 . The method of claim 1 , wherein the updating of the software comprises:
outputting, via the user interface, an update pop-up dialog box; and
updating the software based on an update instruction signal that is received via the user interface and indicating the updating.
10 . The method of claim 1 , further comprising:
based on the updating of the safety controller being complete, controlling the vehicle to change a state of the vehicle to a drivable state; and
during autonomous driving of the vehicle in the drivable state, performing a background update of vehicle software that is not associated with the safety controller.
11 . An apparatus of a vehicle, the apparatus comprising:
at least one processor; and
a memory storing instructions that, when executed by the at least one processor, cause the apparatus to:
output, via a user interface of the vehicle, one or more vehicle software update options, wherein the one or more vehicle software update options comprise at least one of a destination-based update or a driving pattern-based update;
determine whether an update condition is met based on a vehicle software update option, among the one or more vehicle software update options, that is selected via the user interface;
update software of the vehicle based on the update condition being met;
determine, based on the vehicle being turned on while the software is being updated, whether the updating of the software corresponds to updating a safety controller of the vehicle; and
control, based on determining that the updating of the software corresponds to the updating of the safety controller, the vehicle to be undrivable during the updating of the safety controller.
12 . The apparatus of claim 11 , wherein the instructions, when executed by the at least one processor, cause the apparatus to control the vehicle to be undrivable by:
controlling the vehicle to turn off; and
outputting, via the user interface, a notification indicating that the vehicle is undrivable.
13 . The apparatus of claim 11 , wherein the instructions, when executed by the at least one processor, cause the apparatus to determine whether the update condition is met by:
determining, based on the selected vehicle software update option being the destination-based update, whether the vehicle has arrived at a destination, and
determining, based on the vehicle having arrived at the destination, whether the vehicle is turned off and whether a state of charge (SOC) of the vehicle exceeds a predetermined value,
wherein the destination is a location set in at least one of a navigation system or a predetermined unit mounted on the vehicle.
14 . The apparatus of claim 11 , wherein the instructions, when executed by the at least one processor, cause the apparatus to determine whether the update condition is met by:
determining, based on the selected vehicle software update option being the driving pattern-based update, at least one of:
whether the vehicle is turned off,
whether a time that the vehicle is expected to remain turned off for is longer than a time required for updating the software,
whether the vehicle stops at a predetermined location, or
whether the vehicle is not expected to be driven during the update of the software.
15 . The apparatus of claim 14 , wherein the time that the vehicle is expected to remain turned off for and the predetermined location are determined by a driving pattern model associated with the vehicle.
16 . The apparatus of claim 15 , wherein the driving pattern model is configured to determine the time that the vehicle is expected to remain turned off for and the predetermined location by using information on a driving pattern of the vehicle stored in a removable storage device.
17 . The apparatus of claim 16 , wherein the information on the driving pattern of the vehicle includes at least one of a driving start time, a stop time, a driving time duration, a stop location, a number of times driving started, or a number of times the vehicle stopped.
18 . The apparatus of claim 16 , wherein the information on the driving pattern of the vehicle is stored in the removable storage device for each day of a week, and
wherein the information on the driving pattern of the vehicle is stored in the removable storage device in at least one of hours or minutes.
19 . The apparatus of claim 11 , wherein the instructions, when executed by the at least one processor, cause the apparatus to:
output, via the user interface, an update pop-up dialog box, and
update the software based on an update instruction signal that is received via the user interface and indicating the update.
20 . The apparatus of claim 11 , wherein the instructions, when executed by the at least one processor, cause the apparatus to:
based on the updating of the safety controller being complete, control the vehicle to change a state of the vehicle to a drivable state; and
during autonomous driving of the vehicle in the drivable state, perform a background update of vehicle software that is not associated with the safety controller.