Build-in apparatus, start-up control method, and program
By disabling specific functions and transitioning to a safe mode upon firmware malfunctions, the printer ensures continued operation and facilitates seamless firmware updates, addressing startup issues and maintaining functionality.
Patent Information
- Application Number
- JP2023064035
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-11
- Publication Date
- 2024-10-24
AI Technical Summary
Embedded devices such as printers face startup issues due to firmware malfunctions, leading to operational instability and the inability to update firmware, which prevents the resolution of these problems.
The printer employs a startup control mechanism that disables certain functions during boot-up if a firmware malfunction is detected, transitioning to a safe mode and monitoring for firmware updates, enabling the printer to operate with minimal functionality until the update can be applied.
This approach allows the printer to restore normal functions while maintaining as much functionality as possible, preventing significant convenience loss and enabling seamless firmware updates without user intervention.
Smart Images

Figure 2024150962000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to startup control of an embedded device such as a printer. [Background technology]
[0002] A typical printer has basic functions such as printing and scanning. In recent years, in addition to the basic printer functions, functions for linking with various information terminals and web services have been built in, allowing users to add desired functions. For example, printers are being provided that incorporate functions for supporting printing / scanning functions provided by the operating systems (OS) of smartphones and personal computers (PCs).
[0003] In addition, the printer's network communication function allows it to access the Internet, download functions provided by various vendors, and use web services directly from the printer.
[0004] In this way, when various functions (applications) are installed in an embedded device such as a printer, the device may fall into an unstable operating state due to resource conflicts between applications, service registration and use order, etc. As a recovery method, a mechanism for starting in safe mode has been proposed. Patent Document 1 discloses a technology for starting in safe mode when a problematic fragment bundle is installed by a user in an information processing device, disabling the app installed by the user, and safely starting the system. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2016-110461 A Summary of the Invention [Problem to be solved by the invention]
[0006] Incidentally, embedded devices such as printers are pre-installed with firmware that handles basic control of internal circuits and devices. If this firmware malfunctions, the embedded device will not start up properly and will become unusable. For example, if an application is updated and is no longer compatible with the current firmware, the printer will not start up even though there is no problem with the printer itself. However, because the printer needs to be started in order to update the firmware, there is a problem in that if the printer cannot be started, the printer malfunction cannot be resolved.
[0007] Also, from the viewpoint of convenience, there has been a demand for the ability to continue using the device as normally as possible even when the device is started in safe mode as in Patent Document 1.
[0008] The present disclosure aims to restore a device while maintaining normal functionality as much as possible, even if the device is unable to start up normally due to a firmware malfunction. [Means for solving the problem]
[0009] The embedded device disclosed herein is characterized by comprising a first startup control means which, if a firmware malfunction occurs in a first mode for normal operation, disables some of the functions operating in the first mode and restarts the device, and a second startup control means which, if the malfunction does not occur when the restart is performed with some of the functions disabled, continues startup in a second mode in which some of the functions are disabled. Effect of the Invention
[0010] According to the present disclosure, even if a firmware malfunction causes a device to be unable to start up normally, it is possible to restore the device while maintaining normal functions as much as possible. [Brief description of the drawings]
[0011] [Figure 1] FIG. 1 is a diagram illustrating an overall configuration of a printing system. [Diagram 2] FIG. 2 is a block diagram illustrating an example of a hardware configuration of a printer. [Diagram 3] 2 is a block diagram showing the functional configuration of a control unit of the printer. [Figure 4] 13 is a flowchart showing the flow of a startup process. [Diagram 5] FIG. 11 is a diagram showing screen transitions when performing a firmware update. [Figure 6] 10 is a flowchart showing the flow of a display process when transitioning to a safe mode. [Figure 7] FIG. 13 illustrates a screen transition when transitioning to a safe mode. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings. Note that the configuration and operation described in this embodiment are examples of the present disclosure and do not limit the scope of the present invention.
[0013] <First embodiment> Fig. 1 is a diagram showing the overall configuration of a printing system 1 including a printer 130 which is an embodiment of an embedded device according to the present invention. As shown in Fig. 1, in the printing system 1, the printer 130, a user terminal 140, and a manufacturer server 110 are communicatively connected via a network 170. The printing system 1 is also communicatively connected via the network 170 to servers of vendors (hereinafter referred to as external servers 150) that provide applications and Web services, such as a company A server 151, a company B server 152, and a company C server 153, and a cloud server 160.
[0014] The manufacturer server 110 is a server of the manufacturer that manufactured the printer 130, and provides various services related to the printer 130. The manufacturer server 110 is a computer that stores and manages firmware, application programs, data, etc. of the printer 130. In response to a request transmitted from the printer 130 or the user terminal 140, the manufacturer server 110 transmits the firmware, various application programs, data, etc. to the requesting printer 130 or user terminal 140.
[0015] The user terminal 140 is a terminal used by a user of the printer 130, and is a computer terminal equipped with a communication function such as a PC, tablet, or smartphone. The user terminal 140 has, for example, a control unit (CPU, ROM, RAM), a storage unit (HDD, SSD, etc.), a communication unit, a display unit (liquid crystal display, etc.), an input unit (keyboard, mouse, etc.), a peripheral device interface unit, etc. The user terminal 140 and the printer 130 may be connected via the peripheral device interface unit, or may be connected by communication via a network 170 such as a LAN or WAN.
[0016] A printer driver for remotely operating and controlling the printer 130 is installed in the user terminal 140. A user can input operation information to the printer 130 from an operation unit of the user terminal 140, and can receive display data transmitted from the printer 130 at the user terminal 140 and display it on the display unit. The user terminal 140 transmits print data including a print instruction to the printer 130, and receives scan data generated by the printer 130. The user terminal 140 also executes processes related to adding and updating application programs to the printer 130.
[0017] The printer 130 is an embedded device equipped with a printing function, a scanning function, a network communication function, and the like. Fig. 2 is a block diagram showing an example of a hardware configuration of the printer 130. As shown in Fig. 2, the printer 130 includes a control unit 200, a scanner unit 212, a printer unit 213, and an operation unit 217, and is connected to an external device via a network I / F 205. The external device is, for example, a device other than the printer 130, such as the user terminal 140, the manufacturer server 110, the external server 150, and the cloud server 160 shown in Fig. 1.
[0018] The control unit 200 includes a CPU 201, a ROM 202, a RAM 203, an operation unit I / F (interface) 204, a network I / F 205, a scanner I / F 207, an image forming unit 208, and a printer I / F 209. These units are connected to each other via a system bus 218.
[0019] The CPU 201 reads out a program stored in the ROM 202, develops it in the RAM 203, and executes various processes performed inside the control unit 200. For example, the CPU 201 performs overall control of various connected hardware such as the image forming unit 208, the operation unit 217, the scanner unit 212, and the printer unit 213, based on firmware stored in the ROM 202.
[0020] The ROM 202 is a read-only non-volatile storage area and a rewritable storage area such as a flash ROM, and stores the boot program and various application programs (hereinafter referred to as applications) of the printer 130. The applications include firmware for the printer 130, as well as pre-installed applications and applications for executing additional functions.
[0021] The additional applications include not only applications provided by the manufacturer of the printer 130, but also applications provided by vendors other than the manufacturer. Firmware update programs can be downloaded from the manufacturer's server 110 of the printer 130 via the network 170 to the printer 130 and written to the flash ROM. Applications provided by vendors other than the manufacturer can be downloaded from the external server 150, cloud server 160, etc. to the printer 130 via the network 170 and written to the flash ROM.
[0022] The RAM 203 has a system work memory area for the CPU 201 to operate, and temporarily stores various data. The RAM 203 is composed of a non-volatile memory such as FRAM (registered trademark) that can retain stored contents even after the power is turned off, and a volatile memory (DRAM, etc.) whose stored contents are erased after the power is turned off. The non-volatile memory of the RAM 203 stores setting information for the printer 130. The setting information stores the start mode, settings for disabling / enabling applications (functions), data required for starting applications, etc.
[0023] The operation unit I / F 204 is an interface unit for connecting the control unit 200 and the operation unit 217. Specifically, the operation unit I / F 204 receives display data output from the CPU 201 via the system bus 218, and displays the data on the display of the operation unit 217. In addition, the operation unit I / F 204 outputs data input from an input unit such as an operation button or a touch panel of the operation unit 217 to the CPU 201 via the system bus 218.
[0024] The operation unit 217 has a display such as an LCD panel and input devices such as various operation buttons and a touch panel, outputs user instructions input via the input devices to the control unit 200, and displays display data input from the control unit 200 on the display.
[0025] The network I / F 205 is an interface unit for connecting the control unit 200 of the printer 130 to the LAN 215 and / or the wireless LAN 216, and includes a communication control circuit and a communication port, etc. The control unit 200 inputs and outputs information to and from an external device that is communicatively connected via the network I / F 205.
[0026] The scanner I / F 207 is an interface unit for connecting the control unit 200 and the scanner unit 212. The scanner I / F 207 performs image processing such as correction, processing, and editing on image data received from the scanner unit 212. The scanner unit 212 optically reads information written on the reading surface of the reading target using a CCD or the like, converts it into image data that is a digital signal, and outputs it to the image forming unit 208 or the CPU 201.
[0027] The image forming unit 208 is a processor for image processing such as a GPU (Graphics Processing Unit), and performs image processing such as image data direction conversion, image compression, and decompression.
[0028] Printer I / F 209 is an interface unit that connects printer unit 213 to CPU 201 and image forming unit 208. Printer I / F 209 receives image data sent from CPU 201 or image forming unit 208, and outputs it to printer unit 213. Printer unit 213 prints the image data sent from CPU 201 or image forming unit 208 on a print medium in accordance with print instruction data transmitted from CPU 201.
[0029] Next, the functional configuration of the control unit 200 of the printer 130 will be described with reference to Fig. 3. Fig. 3 is a block diagram showing the functional configuration of the control unit 200 of the printer 130. As shown in Fig. 3, the control unit 200 has a start control unit 310, a monitoring unit 330, and a display control unit 350.
[0030] The start-up control unit 310 controls the operation when starting up the printer 130. In this embodiment, the start-up control unit 310 executes the start-up process in the procedure shown in the flowchart of Fig. 3. The start-up process is started when the power of the printer 130 is turned from OFF to ON.
[0031] In the startup process, the startup control unit 310 reads a boot program from the ROM 202 and starts up firmware and various applications according to the boot program. The startup control unit 310 refers to the setting information recorded in the non-volatile memory of the RAM 203, and performs the following operations: determining the startup mode, determining whether or not a watchdog timeout has occurred, and acquiring information on functions to be disabled when transitioning to the safe mode 312.
[0032] The printer 130 of this embodiment has three startup modes: normal mode 311, safe mode 312, and firmware update mode 313, and the startup control unit 310 switches the startup mode depending on the operating state. The operating state is determined based on whether or not a watchdog timeout occurs. In other words, if a watchdog timeout occurs, the startup control unit 310 determines that a firmware malfunction has occurred.
[0033] The normal mode 311 is a mode in which the printer 130 starts up with all functions (basic function and additional function applications) installed therein enabled.
[0034] Safe mode 312 is a mode in which the device is started with some functions disabled, and functions are more limited than in normal mode 311. If a watchdog timeout occurs during start-up in normal mode 311, start-up control unit 310 disables some functions and restarts the device in that state. If no watchdog timeout occurs thereafter, the device starts up in safe mode 312.
[0035] Furthermore, while operating in safe mode 312, monitoring unit 330 monitors whether firmware update information is present. Until a firmware update program is provided (while firmware update information is not confirmed), start-up control unit 310 continues safe mode 312. Furthermore, if firmware update information is confirmed, start-up control unit 310 switches the start-up mode from safe mode 312 to firmware update mode 313, and restarts in firmware update mode 313.
[0036] The firmware update mode 313 is a mode in which firmware is updated at startup. In the firmware update mode 313, the startup control unit 310 updates the firmware, enables disabled functions, and returns to the normal mode 311 for restarting.
[0037] The monitoring unit 330 monitors whether there is firmware update information. The monitoring unit 330 periodically accesses the manufacturer server 110 to check whether a firmware update program is provided. The monitoring unit 330 sends the presence or absence of firmware update information to the start control unit 310.
[0038] The display control unit 350 controls the screen display on the operation unit 217 while the start-up control unit 310 is executing the start-up process. For example, the display control unit 350 causes the operation unit 217 to display a screen indicating functions to be disabled in the safe mode 312, or a screen indicating the progress of a firmware update. Furthermore, the display control unit 350 may periodically display and notify the user that update information can be checked on the web until the firmware update is completed.
[0039] Next, the startup process executed by the control unit 200 of the printer 130 will be described. 4 is a flowchart showing the flow of the startup process. In the process shown in this flowchart, a program stored in ROM 202 or RAM 203 is called by CPU 201, loaded into RAM 203, and executed by CPU 201. In the following explanation, the symbol "S" means a step.
[0040] When the power supply of the printer 130 is turned ON from the OFF state, the CPU 201 (start-up control unit 310) reads a boot program from the ROM 202 and starts the startup process of the printer 130 (S401). In S401, the start-up control unit 310 refers to the setting information stored in the non-volatile memory of the RAM 203, and reads the startup mode, application setting values (information on whether the application is enabled or disabled), and data required for starting the application.
[0041] Next, the start control unit 310 starts the application (firmware and additional application) of the printer 130 (S402). In S402, when the application starts, the printer 130 may not start correctly due to a malfunction of the firmware. For example, if the communication function of the printer 130 is set to an enabled state in the setting information, when the application starts, communication may be performed with an external device such as the external server 150 or the user terminal 140 via the network I / F 205.
[0042] In rare cases, the printer 130 may receive unintended data (such as data not anticipated at the time of firmware design) during communication with an external device, causing a firmware malfunction. In that case, if an application module of the printer 130 references an illegal address, a watchdog timeout occurs. If a watchdog timeout occurs (S403; Yes), the process proceeds to S404 and exception processing is executed.
[0043] The start control unit 310 restarts the system as a recovery process. First, the program ends in S405. At that time, the occurrence of a watchdog timeout is stored as history information in the non-volatile memory of the RAM 203 (S406).
[0044] Next, in the same manner as when the power is turned on, the start-up control unit 310 reads the boot program from the ROM 202 and starts up the printer 130 (S407).
[0045] Furthermore, start control unit 310 disables some functions (S408) and activates applications that are not disabled (S409). The functions disabled in S408 are predetermined functions. Specifically, the functions are functions that require printer 130 to access external devices (external server 150, cloud server 160, user terminal 140) via network I / F 205. Specifically, for example, functions that use WEB services (WEB services), SNMP, OS standard print / scan functions provided by the OS of various information terminals, etc. are disabled.
[0046] In these functions, the control unit 200 of the printer 130 transmits and receives signals according to a predetermined communication protocol between the external server 150, the cloud server 160, and the user terminal 140. At that time, the specifications of the network protocol may be revised, and information contrary to the intention of the application embedded in the printer 130 may be returned to the printer 130. This causes a watchdog timeout.
[0047] In particular, the external server 150, cloud server 160, and applications operated and provided by parties other than the manufacturer of this printer 130 may have their functions upgraded regardless of the specifications of this printer 130. The same is true for the OS and applications of the user terminal 140; if they are revised without regard to the specifications of this printer 130, they may not be able to be supported, resulting in firmware malfunctions.
[0048] Therefore, by disabling functions that require a network connection beforehand (such as the above-mentioned Web service function, OS standard print / scan function, SMNP, etc.), it becomes possible to operate other functions of the printer 130 without firmware malfunctions. However, for firmware updates, which will be described later, the communication function itself of the network I / F 205 must be kept enabled. Note that the functions disabled in S408 will not be reenabled unless S408 is repeated in the repeated processing (S404 to S410) described later, or S422 described later is performed.
[0049] In S409, the start control unit 310 starts a non-disabled application and then checks whether the module references an illegal address. If a watchdog timeout does not occur (S410; No), no firmware problem has occurred, so the start mode is set to safe mode 312 (S411) and the printer 130 is started.
[0050] In S410, if the module references an illegal address and a watchdog timeout occurs (S410; Yes), the process returns to S404 and repeats the processes of S404 to S410. In the repeated processes of S404 to S410, the functions to be disabled are sequentially increased or changed.
[0051] For example, the start-up control unit 310 first disables function A, which requires a network connection with company A's server 151, and starts up in that state. At that time, if a watchdog timeout occurs, then function B, which requires a network connection with company B's server 152, is also disabled. If a watchdog timeout occurs again after starting up in that state, function C, which requires a network connection with company C's server 153, is also disabled. In this manner, the number of functions to be disabled is increased, and the start-up process is continued in safe mode 312 when watchdog timeouts no longer occur.
[0052] Alternatively, start-up control unit 310 first disables function A and enables functions B and C. If a watchdog timeout occurs when starting up in this state, then function B is disabled and functions A and C are enabled. If a watchdog timeout occurs again when starting up in this state, function C may be disabled and functions A and B may be enabled. In this manner, by successively increasing or changing the functions to be disabled, the start-up process is continued in safe mode 312 when a watchdog timeout no longer occurs.
[0053] If a watchdog timeout occurs even after the processes of S404 to S410 are repeated, an error is notified and the process is forcibly terminated.
[0054] After booting in safe mode 312, CPU 201 (monitoring unit 330) periodically monitors firmware update update information. That is, monitoring unit 330 accesses manufacturer server 110, which is the firmware provider, via network I / F 205, and monitors whether a firmware update program has been provided. Note that access to manufacturer server 110 (access for acquiring firmware update information) is not included in the functions to be disabled in S408, and is enabled.
[0055] The start-up control unit 310 continues the safe mode 312 until the monitoring unit 330 provides an updated firmware program. If the monitoring unit 330 provides a firmware update program and the firmware update is possible (S412; Yes), the start-up control unit 310 sets the start-up mode to the firmware update mode 313 (S413) and restarts the device. In S413, the start-up control unit 310 sets the setting value of the start-up mode to a value indicating the firmware update mode 313. This value is stored in the setting information in the non-volatile memory of the RAM 203.
[0056] In the restart process, after the program ends (S414), the process returns to S401, and just as when the power is turned on, the start-up control unit 310 reads the boot program from ROM 202 and starts up the printer 130. If a watchdog timeout does not occur during the start-up of the application (S402) (S403; No), the start-up control unit 310 determines the start-up mode (S415).
[0057] In S415, the start-up control unit 310 refers to the setting information stored in the non-volatile memory and acquires the setting value of the start-up mode. For example, if the power is turned OFF during operation in the safe mode 312 and then turned ON again, the start-up control unit 310 determines that the start-up mode is the safe mode 312. In this case, the process proceeds to step S407, where the start-up control unit 310 disables some functions in the safe mode 312 and starts up the printer 130 (S403; No→S415; safe mode→S407). Note that the functions disabled when starting up in the safe mode are the same functions as those disabled in S408.
[0058] In S415, when it is determined that the startup mode is the firmware update mode 313 (S415: Firmware update mode), the process proceeds to step S416, where the printer 130 is started up in the firmware update mode 313.
[0059] When the device is started in the firmware update mode 313, the start-up control unit 310 executes a firmware update (S416). In S416, the CPU 201 accesses the manufacturer server 110 that is the provider of the firmware, and downloads the firmware update program. The start-up control unit 310 then updates the control program stored in the ROM 202 with the update program.
[0060] During the firmware update, it is preferable that the CPU 201 (display control unit 350) notify that the firmware update is being executed by displaying a screen 510 shown in Fig. 5(a) on the display of the operation unit 217. Furthermore, when the firmware update is completed and the control program is updated, it is preferable that the display control unit 350 notify that the firmware update is completed by displaying a screen 520 shown in Fig. 5(b) (S417).
[0061] In this way, by successively displaying the progress status during firmware update execution, the user can confirm that firmware update is being performed inside the printer 130.
[0062] After the firmware update is completed, the CPU 201 (start-up control unit 310) determines whether the occurrence history information of the watchdog timeout is stored in the non-volatile memory of the RAM 203 (S418). If the occurrence history information is stored (S418; Yes), the process proceeds to S419. If the occurrence history information is not stored (S418; No), the process proceeds to S424.
[0063] In S419, start-up control unit 310 erases the occurrence history information of the watchdog timeout, and enables the function disabled in step S408 (S422), and then sets the start-up mode to normal mode 311 (S423). At this time, start-up control unit 310 sets the setting value of the start-up mode in S423 to a value indicating normal mode 311. This value is stored in the setting information of the non-volatile memory in RAM 203.
[0064] In addition, the CPU 201 (display control unit 350) may enable a disabled function and display a screen 530 showing instructions for rebooting on the display of the operation unit 217, as shown in FIG. 5(c) (S420).
[0065] 5(c) displays a message such as "The following functions will be enabled and the printer will be restarted" along with a list of disabled functions such as "OS standard print / scan functions," "SNMP," and "WEB services." In addition, an "OK" button 531 may be provided on the screen 530, and if the "OK" button 531 is not operated (S421; No), the current startup mode (firmware update mode 313) may be maintained. If the "OK" button 531 is operated by the user (S421; Yes), the process proceeds to the next step (S424).
[0066] In S424, the CPU 201 (start-up control unit 310) performs a restart process. In the restart process, the program is first terminated (S424), and then the process returns to S401. As when the power is turned on, the CPU 201 (start-up control unit 310) reads the boot program from the ROM 202 and starts up the printer 130. If a watchdog timeout does not occur during the start-up of the application (S402) (S403; No), the start-up control unit 310 determines the start-up mode (S415).
[0067] If it is determined that the startup mode is set to normal mode 311 (S415; normal mode), CPU 201 executes startup processing in normal mode 311 (S425). Note that in the flowchart of Fig. 4, the firmware update is performed when the power is turned ON again after being turned OFF, but this is not limited to the above. Even when the power is not turned ON, the monitoring unit 330 may constantly monitor firmware update information, and if an update is possible, the firmware may be updated.
[0068] As described above, in the printer 130 of this embodiment, if a firmware malfunction occurs and the printer 130 cannot start up correctly, the printer 130 disables some of its functions and restarts. If a watchdog timeout does not occur in this state, the printer 130 restarts in safe mode 312. This allows the printer 130 to start up safely while maintaining as many malfunction-free functions as possible, preventing a significant decrease in convenience.
[0069] Furthermore, while operating in safe mode 312, printer 130 continues safe mode 312 until a firmware update program is provided. Then, when the firmware update program is provided, the firmware update is implemented, the disabled functions are enabled, and the printer is restarted by returning to normal mode 311. This makes it possible to correct the firmware and restore startup in normal mode 311 without the user having to perform any particular operation.
[0070] In the above description, an example was given in which the operation unit 217 displays the progress of the firmware update and the functions to be enabled when transitioning to the normal mode 311, but the present invention is not limited to this example.
[0071] For example, the display contents may be displayed on the user terminal 140 that is communicatively connected to the printer 130. In this case, the user terminal 140 receives display data (display data for screens 510, 520, 530) relating to the update progress from the printer 130 via the network I / F 205, and displays it on the display unit. The user terminal 140 transmits operation information for the "OK" button 531 in the screen 510 to the printer 130 via the network I / F 205.
[0072] <Second embodiment> Next, a second embodiment of the present disclosure will be described. In the first embodiment, some of the functions that are disabled in safe mode 312 are predetermined functions. However, not all of the functions that are disabled are the cause of firmware malfunctions. Therefore, in the second embodiment, an example will be described in which the user can select the functions to be disabled when transitioning to safe mode 312. Note that the hardware configuration and functional configuration of printer 130 in the second embodiment are similar to those in the first embodiment, and therefore description will be omitted, and the same components will be described with the same reference numerals.
[0073] The operation of the printer 130 of the second embodiment after the power is turned on is similar to the process shown in the flowchart of Fig. 4. As shown in the flowchart of Fig. 4, the CPU 201 (start-up control unit 310) starts a boot program (S401), and starts firmware and applications (S402).
[0074] If a watchdog timeout occurs during application startup (S403; Yes), the startup control unit 310 transitions to exception processing (S404) and attempts recovery by starting a restart process (terminating the program) (S405). The startup control unit 310 stores the occurrence history of watchdog timeouts in the non-volatile memory of the RAM 203 (S406).
[0075] In the second embodiment, in S406, the display process shown in Fig. 6 is started. Fig. 6 is a flowchart showing the flow of the display process when transitioning to the safe mode 312. Fig. 7 is a diagram showing the screen transition when transitioning to the safe mode 312.
[0076] The CPU 201 (display control unit 350) displays a warning screen 710 shown in FIG. 7A on the display of the operation unit 217 (S601). The warning screen 710 displays a message to the effect that the printer 130 will be restarted, and a message urging the user to set any functions that the user wishes to enable. The warning screen 710 also has an "OK" button 711. If a preset predetermined time has elapsed without the "OK" button 711 being operated (S602; No), the process proceeds to S407. In this case, the same process as in the first embodiment is performed.
[0077] When the "OK" button 711 is operated on the warning screen 710 (S602; Yes), the display control unit 350 then displays a status screen 720 indicating whether each function is enabled or disabled (S603). The status screen 720 displays candidates for functions that can be selected as enabled or disabled.
[0078] Fig. 7(b) is a diagram showing an example of a status screen 720. In the example of Fig. 7(b), "OS standard print / scan function", "application C print / scan function", and "SMNP" are displayed as function candidates that can be selected as enabled or disabled, and a status of "enabled" or "disabled" is displayed next to each function. The "application C print / scan function" is a printer application provided by the manufacturer of the printer 130. For example, in the initial state, all of the functions displayed on the status screen 720 are set to "disabled".
[0079] The functions displayed on the status screen 720 are those that are expected not to cause firmware problems even if they are enabled. Conversely, functions that need to be disabled (such as web service functions that require a network communication connection) are not displayed on the status screen 720 in FIG. 7(b).
[0080] Here, CPU 201 accepts the selection of the function to be enabled / disabled (S604). When a display area showing one of the functions displayed on status screen 720 is selected by a touch operation or button operation by the user, that function becomes selected. CPU 201 displays enable / disable setting screen 730 as shown in FIG. 7(c) for the selected function (S605). On enable / disable setting screen 730 in FIG. 7(c), a detailed explanation of the "C application print / scan function" selected on status screen 720, an "enable" button 731, and a "disable" button 732 are displayed.
[0081] Here, when the "Enable" button 731 is operated by the user, the function selected in S604 is set to "Enable". When the "Disable" button 732 is operated, the function selected in S604 is set to "Disable". When either Enable or Disable is set by the user's operation (S606; Yes), the CPU 201 reflects the setting content in the status screen 720 of FIG. 7(b) (S607) and returns to S603. When another function is selected on the status screen 720 (S604; Yes), the CPU 201 repeats the processes of S605 to S607.
[0082] If no function is selected on the status screen 720 and the "Confirm" button 721 is operated (S604; No→S608; Yes), the CPU 201 proceeds to S609.
[0083] In S609, the CPU 201 displays a confirmation screen 740 shown in Fig. 7(d) (S609). The confirmation screen 740 displays a message indicating that functions will be disabled and the printer will be restarted, such as "The following functions will be disabled and the printer will be restarted," and a list of functions that the user has set to be disabled on the screens 720 and 730. The confirmation screen 740 also displays a message indicating future operations, such as "After the firmware is released, a firmware update will be performed and the disabled functions will be enabled." The confirmation screen 740 also has a "Back" button 743 and an "OK" button 742.
[0084] If the "Back" button 743 is operated (S610; No), the process returns to S603 and returns to the status screen 720 in Fig. 7(b). If the "OK" button 742 is operated (S610; Yes), the CPU 201 saves information indicating whether the functions set on the screens 720 and 730 are enabled or disabled in the setting information in the non-volatile memory of the RAM 203, and ends the flowchart in Fig. 6. Thereafter, the process proceeds to S407 in Fig. 4.
[0085] In S407, the CPU 201 (start-up control unit 310) starts the boot program (S407). After that, based on the information indicating whether the function is enabled or disabled stored in the setting information in the non-volatile memory of the RAM 203, the function that has been set as disabled is disabled (S408), and an enabled function (application) is started (S409).
[0086] If the enabled function is the cause of the malfunction, a watchdog timeout occurs (S410; Yes), and the process returns to S404. If the enabled function is not the cause of the malfunction, a watchdog timeout does not occur (S410; No), and the process proceeds to S411, where the startup mode is set to safe mode 312, and the system is started up in safe mode 312 (S412).
[0087] As described above, in the second embodiment, as shown in Fig. 7, a user interface is provided for the user to select functions to be disabled in safe mode 312. This allows the user to activate and enable functions that are not the cause of malfunctions, even if the functions have been determined to be disabled in advance. Therefore, even in safe mode 312, the functions of printer 130 in normal mode 311 can be maintained as much as possible, and a printer 130 that does not reduce user convenience can be provided.
[0088] In the above-described embodiment, the printer 130 is illustrated as an example of an embedded device, but the present invention is not limited to this. For example, the present invention can be applied to various devices (so-called embedded devices) in which functions specialized for specific applications are embedded, such as imaging devices, video devices, audio devices, and lighting devices. Also, the configurations, processing procedures, display screens, etc. shown in each embodiment are merely examples, and can be appropriately changed without departing from the spirit of the present invention.
[0089] (Other embodiments) The present invention can also be realized by a process in which a program for implementing one or more of the functions of the above-described embodiments is supplied to a system or device via a network or a storage medium, and one or more processors in a computer of the system or device read and execute the program. The present invention can also be realized by a circuit (e.g., ASIC) that implements one or more of the functions.
[0090] The disclosure of the above-described embodiment includes the following configurations. (Configuration 1) a first startup control means for, when a malfunction of firmware occurs in a first mode in which the device normally operates, disabling some of the functions that operate in the first mode and restarting the device; a second startup control means for continuing startup in a second mode in which the partial function is disabled if the malfunction does not occur when the restart is performed in a state in which the partial function is disabled; An embedded device comprising:
[0091] (Configuration 2) A monitoring means for monitoring update information of the firmware; a third startup control means for updating a firmware of the device to the updated firmware when the update information is confirmed by the monitoring means while the device is operating in the second mode, enabling a function that was disabled in the second mode, and switching the device to the first mode and restarting the device; The embedded device according to configuration 1, further comprising:
[0092] (Configuration 3) Further comprising a history recording means for recording the occurrence history of the malfunction, 3. The embedded device according to claim 1, wherein the history recording means erases the occurrence history when the firmware is updated.
[0093] (Configuration 4) 4. The embedded device according to configuration 2 or 3, further comprising a status display control means for displaying a progress status of the update while the firmware is being updated.
[0094] (Configuration 5) The embedded device according to any one of configurations 1 to 4, wherein the function to be disabled in the second mode is a preset function.
[0095] (Configuration 6) The embedded device according to configuration 5, wherein the function to be disabled is a function that requires communication with an external device via a network.
[0096] (Configuration 7) a selection unit for receiving a selection of a function to be disabled in the second mode, The second start-up control means continues the start-up in the second mode if the malfunction does not occur when the restart is performed with the function selected by the selection means disabled. 5. The embedded device according to any one of configurations 1 to 4.
[0097] (Configuration 8) The embedded device according to configuration 7, wherein the selection means further comprises candidate display control means for displaying candidates of functions that can be selected to be enabled or disabled.
[0098] (Configuration 9) 9. The embedded device according to configuration 8, wherein the candidate functions are functions that are expected not to cause the malfunction when enabled.
[0099] (Configuration 10) A startup control method for an embedded device according to any one of configurations 1 to 9, comprising: The control unit of the embedded device When a malfunction of firmware occurs in a first mode in which the device normally operates, a step of disabling some of the functions that operate in the first mode and restarting the device; When the restart is performed with the partial function disabled, if the malfunction does not occur, continuing the start-up in a second mode in which the partial function is disabled; A startup control method comprising:
[0100] (Configuration 11) A program executed by a control unit of an embedded device according to any one of configurations 1 to 9, The control unit, a first startup control means for, when a malfunction of firmware occurs in a first mode in which normal operation is performed, disabling a part of functions among the functions operating in the first mode and restarting the device; a second start-up control means for continuing the start-up in a second mode in which the part of the functions is disabled, if the malfunction does not occur when the restart is performed in a state in which the part of the functions is disabled; A program to function as a [Explanation of symbols]
[0101] 130…Printer 200...Control unit 310...Start control unit 311...Normal mode 312…Safe Mode
Claims
1. a first startup control means for, when a malfunction of firmware occurs in a first mode in which normal operation is performed, disabling some of the functions that operate in the first mode and restarting the device; a second startup control means for continuing startup in a second mode in which the partial function is disabled if the malfunction does not occur when the restart is performed in a state in which the partial function is disabled; An embedded device comprising:
2. A monitoring means for monitoring update information of the firmware; a third startup control means for updating a firmware of the device to the updated firmware when the update information is confirmed by the monitoring means while the device is operating in the second mode, enabling a function that was disabled in the second mode, and switching the device to the first mode and restarting the device; The embedded device according to claim 1 , further comprising:
3. Further comprising a history recording means for recording the occurrence history of the malfunction, 3. The embedded device according to claim 2, wherein the history recording means erases the occurrence history when the firmware is updated.
4. 3. The embedded device according to claim 2, further comprising a status display control means for displaying a progress status of the update while the firmware is being updated.
5. 5. The embedded device according to claim 1, wherein the function to be disabled in the second mode is a preset function.
6. 6. The embedded device according to claim 5, wherein the function to be disabled is a function that requires communication with an external device via a network.
7. a selection unit for receiving a selection of a function to be disabled in the second mode, The second start-up control means continues the start-up in the second mode if the malfunction does not occur when the restart is performed with the function selected by the selection means disabled.
5. The embedded device according to claim 1, wherein the first and second inputs are connected to the first and second inputs.
8. 8. The embedded device according to claim 7, wherein the selection means further comprises candidate display control means for displaying candidates of functions that can be selected to be enabled or disabled.
9. 9. The embedded device according to claim 8, wherein the candidate functions are functions that are expected not to cause the malfunction when the functions are enabled.
10. A startup control method for an embedded device, comprising: A control unit of the embedded device, When a malfunction of firmware occurs in a first mode in which normal operation is performed, a step of disabling some of the functions that operate in the first mode and restarting the device; When the restart is performed with the partial function disabled, if the malfunction does not occur, continuing the start-up in a second mode in which the partial function is disabled; A startup control method comprising:
11. A program executed by a control unit of an embedded device, The control unit, a first startup control means for, when a malfunction of firmware occurs in a first mode in which normal operation is performed, disabling a part of functions among the functions operating in the first mode and restarting the device; a second startup control means for continuing startup in a second mode in which the partial function is disabled if the malfunction does not occur when the restart is performed in a state in which the partial function is disabled; A program to function as a
Citation Information
Patent Citations
Information processing apparatus, information processing apparatus control method, and program
JP2016110461A
