| CPC G06F 8/656 (2018.02) [H04L 67/34 (2013.01)] | 15 Claims |

|
1. A communication device comprising:
at least one memory storing instructions; and
at least one processor that executes the stored instructions to function as:
a detection unit configured to detect a power supply operation of the communication device by a user;
a power supply control unit configured to change a power supply state of the communication device in accordance with the power supply operation that the detection unit has detected;
a display control unit configured to, in a case where the detection unit has detected the power supply operation, display, on a display unit, an update screen capable of receiving a user instruction for updating software on a basis that the communication device is in a state in which the software can be updated, before the power supply control unit changes the power supply state of the communication device in accordance with the power supply operation; and
a first storage control unit,
wherein
the display control unit, even in a state in which a user instruction has not been received with respect to the update screen, displays the update screen until a predetermined time has elapsed,
the power supply control unit changes the power supply state of the communication device in accordance with the power supply operation after the predetermined time has elapsed,
the first storage unit, in a case where the power supply operation is a power-off operation and the user instruction has not been received via the update screen at a time the predetermined time has elapsed, stores, in a non-volatile memory of the communication device, first trigger information for newly displaying the update screen so as to enter a state in which the first trigger information is stored in the non-volatile memory of the communication device,
in a case where the detection unit detects a power-on operation as the power supply operation after the first storage unit stores the first trigger information in the non-volatile memory and the power supply control unit powers off the communication device, the display control unit, before the power supply control unit powers on the communication device, displays the update screen on the display unit on a basis that the first trigger information is stored in the non-volatile memory of the communication device, and
wherein, the state in which the software can be updated includes predetermined data, whose data type is different from a data type of the first trigger information, not being stored in the volatile memory of the communication device.
|