Electronic device, control method for electronic device, and control program for electronic device
The power supply control unit in electronic devices manages timeout periods and extension requests to ensure safe and reliable restarts of processing units, addressing issues of delayed preparations and data loss in abnormal conditions.
Patent Information
- Application Number
- JP2020168471
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-10-05
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2040-10-05
AI Technical Summary
Existing electronic devices face issues where an abnormality in one processing unit can cause other units to fail to complete restart preparations, leading to a hang-up state or loss of data due to forced restarts with set timeouts.
The device includes a power supply control unit that manages timeout periods and extension requests from processing units, allowing for safe restarts by adjusting timeout times based on individual processing unit needs and ensuring all units complete preparations before restarting.
This approach ensures safe and reliable restarts of processing units, minimizing data loss and preventing hang-ups by accommodating delayed preparations, thus enhancing device reliability.
Smart Images

Figure 0007543817000005 
Figure 0007543817000006 
Figure 0007543817000011
Abstract
Description
[Technical field]
[0001] The present invention relates to an electronic device, a control method for an electronic device, and a control program for an electronic device. [Background technology]
[0002] 2. Description of the Related Art An MFP (Multi-Function Peripheral), which is one type of electronic device, includes a plurality of processing devices each realizing a function such as scanning, printing, and fax transmission / reception, and a power supply control unit that controls the power supplies of the plurality of processing devices.
[0003] In this type of electronic device, if an abnormality occurs in any of the processing devices, the controller including the power supply control unit notifies the processing devices that are not abnormal of the occurrence of the abnormality, and causes them to prepare for restart. Then, based on notifications from all the processing devices that preparation for restart is complete, the controller causes the power supply control unit to turn off the power to all the processing devices and then turn it back on, thereby restoring the electronic device to normal (for example, Patent Document 1). Summary of the Invention [Problem to be solved by the invention]
[0004] However, when an abnormality occurs in any of the processing devices, the processing devices that are not abnormal may be affected by the abnormality and may not be able to complete preparation for restart. In this case, the controller continues to wait for notifications of completion of preparation for restart from all processing devices, so there is a risk that the electronic device may hang up, and the power supply control unit may not be able to perform normal restart processing for each processing device. Furthermore, if a time period (timeout time) during which a notification of completion of preparation for restart can be received is set to prevent a hang up state, a forced restart will be performed if preparation for restart is delayed. In this case, there is a risk that log data that needs to be saved will be lost.
[0005] The disclosed technology has been developed in consideration of the above-mentioned problems, and aims to safely restart processing devices even when an abnormality occurs in one of the processing devices and there is a processing device that is delayed in completing preparations for restart. [Means for solving the problem]
[0006] In order to solve the above technical problem, an electronic device according to one aspect of the present invention is an electronic device including a plurality of processing devices and a power control device that controls the supply of power to each of the plurality of processing devices, each of the plurality of processing devices including a detection means for detecting an abnormality, a notification means for transmitting an abnormality occurrence notification to the power control device when the detection means detects an abnormality occurrence, transmitting a preparation completion notification to the power control device when preparation for restart is completed, and transmitting a request to extend the timeout period to the power control device if the preparation completion notification cannot be transmitted to the power control device within a timeout period, and the power control device has a storage means for storing the timeout period for each of the plurality of processing devices, and based on the reception of the abnormality occurrence notification, The method is characterized in that a preparation instruction for restart is sent to processing devices other than the sender of the abnormality occurrence notification, and after sending the preparation instruction, the method waits for the preparation completion notification from each of the multiple processing devices until the timeout time has elapsed, and if the extension request is not received, when the preparation completion notification is received from all of the multiple processing devices before the timeout time has elapsed or when the timeout time has elapsed, the method restarts each of the multiple processing devices after cutting off the power, and if the extension request is received, the method waits for an extension time to elapse after the timeout time, and when the preparation completion notification is received from all of the multiple processing devices before the extension time has elapsed or when the extension time has elapsed, the method restarts each of the multiple processing devices after cutting off the power. Effect of the Invention
[0007] Even if the completion of preparation for restarting some of the processing devices is delayed when an abnormality occurs in any of the processing devices, the processing devices can be safely restarted. [Brief description of the drawings]
[0008] [Figure 1] 1 is a block diagram showing an example of an electronic device according to a first embodiment. [Diagram 2] 1. FIG. 4 is a sequence diagram showing an example of a restart process of the electronic device of FIG. [Diagram 3] FIG. 11 is a block diagram showing an example of an electronic device according to a second embodiment. [Figure 4] 4 is an explanatory diagram showing an example of information stored in the non-volatile memory of FIG. 3; [Diagram 5] 4 is a block diagram showing an example of a hardware configuration of a power supply control unit in FIG. 3. [Figure 6] 4 is a sequence diagram showing an example of a restart process of the electronic device of FIG. 3. [Figure 7] 7 is a sequence diagram showing another example of the restart process of the electronic device of FIG. 3. [Figure 8] 7 is a sequence diagram showing another example of the restart process of the electronic device of FIG. 3. [Figure 9] 7 is a sequence diagram showing another example of the restart process of the electronic device of FIG. 3. [Figure 10] FIG. 13 is a sequence diagram (comparative example) showing an example of a restart process of another electronic device. [Figure 11] FIG. 11 is a block diagram showing an example of a main part of an electronic device according to a third embodiment. [Figure 12] FIG. 12 is a hardware configuration diagram of the electronic device shown in FIGS. 1, 3, and 11. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Hereinafter, the embodiments will be described with reference to the drawings. In each drawing, the same components are denoted by the same reference numerals, and duplicated descriptions may be omitted. In the following, reference numerals indicating signals are also used as reference numerals indicating signal lines.
[0010] (First embodiment) Fig. 1 is a block diagram showing an example of an electronic device in the first embodiment. For example, the electronic device 1 shown in Fig. 1 is a multifunction peripheral such as an MFP, and has a plurality of processing devices 2 (2a, 2b, 2c, 2d) each of which performs a plurality of types of processing such as a controller, an operation unit, an engine, and a fax, and a power supply control device 5. The power supply control device 5 controls the supply of power to each of the plurality of processing devices 2. The power supply control device 5 may be mounted on any of the processing devices 2.
[0011] Each processing device 2 has detection means 3 (3a, 3b, 3c, 3d) that detects the occurrence of an abnormality, and notification means 4 (4a, 4b, 4c, 4d). Each notification means 4 transmits an abnormality occurrence notification to the power supply control device 5 when the occurrence of an abnormality is detected by the corresponding detection means 3. Each notification means 4 transmits a preparation completion notification to the power supply control device 5 when preparation for restart is complete. If each notification means 4 cannot transmit a preparation completion notification to the power supply control device 5 within a timeout period TO (TOa, TOb, TOc, TOd) set for each processing device 2, it transmits a request to extend the timeout period TO.
[0012] The power supply control device 5 has a storage means 6 that holds a timeout time TO (TOa, TOb, TOc, TOd) for each processing device 2. For example, the storage means 6 is preferably a rewritable non-volatile memory such as a flash memory, although it is not particularly limited thereto. Upon receiving an abnormality occurrence notification from any of the processing devices 2, the power supply control device 5 transmits a restart preparation instruction to the processing devices 2 other than the sender of the abnormality occurrence notification. After transmitting the preparation instruction, the power supply control device 5 waits for a preparation completion notification from each processing device 2 until the respective timeout times TO have elapsed.
[0013] If the power control device 5 does not receive an extension request from any of the processing devices 2, it operates as follows: When the power control device 5 receives a preparation completion notification from all of the multiple processing devices 2 before the timeout time TO has elapsed, or when the timeout time TO has elapsed, the power control device 5 restarts each processing device 2 by turning the power off and then on again.
[0014] On the other hand, when the power supply control device 5 receives an extension request, it operates as follows. The power supply control device 5 waits for the extension time ET to elapse after the timeout time TO corresponding to the processing device 2 that sent the extension request. When the power supply control device 5 receives a preparation completion notification from all processing devices 2 before the extension time ET elapses, or when the extension time ET has elapsed, the power supply control device 5 restarts each processing device 2 by turning the power supply on after cutting off the power supply to each processing device 2.
[0015] Fig. 2 is a sequence diagram showing an example of the restart process of the electronic device 1 of Fig. 1. In the example shown in Fig. 2, the detection means 3b of the processing device 2b detects an abnormality in the processing device 2b while the processing device 2b is in operation, and transmits an abnormality occurrence notification to the power control device 5. Based on the detection of the abnormality by the detection means 3b, the processing device 2b starts preparation for restart without receiving an instruction to prepare for restart.
[0016] The power supply control device 5 transmits a restart preparation instruction to the processing devices 2a, 2c, and 2d based on the abnormality occurrence notification from the processing device 2b. The processing devices 2a and 2c that have received the restart preparation instruction start preparation for restart. For example, in preparation for restart, each processing device 2 saves logs in a non-volatile memory, and saves work data and various parameters that will be lost due to a power outage in a non-volatile memory. The non-volatile memory that saves the logs, work data, and the like may be mounted on each processing device 2, or may be connected to each processing device 2 via a communication line.
[0017] The processing device 2d, which has received the restart preparation instruction while performing processing as the processing device 2d, determines that it cannot complete the restart preparation within the timeout time TOd set for the processing device 2d. In this case, the processing device 2d transmits a request to extend the timeout time TOd to the power supply control device 5.
[0018] After transmitting a restart preparation instruction to each of the processing devices 2a, 2c, and 2d, the power control device 5 starts measuring the timeout time TO. After that, the power control device 5 receives an extension request from the processing device 2d, and sets a new timeout time by adding the extension time ET to the timeout time TOd corresponding to the processing device 2d. After that, the power control device 5 receives a preparation completion notification from the processing devices 2a, 2b, and 2c.
[0019] After completing the ongoing process, the processing device 2d starts preparing for restart. For example, the timeout time TOd before the extension passes while the processing device 2d is preparing for restart. By receiving an extension request, the timeout time TOd plus the extension time ET is set as a new timeout time, thereby reducing the possibility of the power being cut off while the processing device 2d is performing the process or preparing for restart. As a result, the possibility of losing data that needs to be saved after the process and the log recorded during the process can be reduced, and the reliability of the electronic device 1 can be prevented from decreasing.
[0020] On the other hand, if the extension time ET is not set, the power control device 5 cuts off the power supply to each processing device 2 based on the lapse of the timeout time TOd. In this case, there is a high possibility that the power supply will be cut off while the processing device 2d is performing processing or preparing to restart, and there is a high possibility that data that needs to be saved after processing and logs recorded during processing will be lost.
[0021] For example, the extension time ET is set for each processing device 2. Therefore, it is possible to set an optimal extension time ET according to the processing time and restart preparation time of each processing device 2. Note that the extension time ET may be set commonly to all processing devices 2.
[0022] The processing device 2d transmits a preparation completion notification to the power supply control device 5 before the extension time ET has elapsed, based on the completion of preparation for restart. The power supply control device 5, based on the fact that the preparation completion notifications have been received from all the processing devices 2 before the extension time ET has elapsed, turns off the power supply to each processing device 2 and then turns the power supply back on, restarting each processing device 2.
[0023] 2, for ease of understanding, the power-on of each processing device 2 is shown staggered, but in reality, the power-on is performed almost simultaneously. A processor such as a CPU (Central Processing Unit) mounted on each processing device 2 performs a power-on sequence by restarting the power supply, and then performs initialization processing between the processing devices 2. By performing power-on of each processing device 2 almost simultaneously, the initialization processing between the processing devices 2 can be synchronized with each other, and the initialization processing can be performed normally.
[0024] If the processing device 2d can complete preparation for restart within the timeout time TOd, it does not transmit an extension request to the power supply control device 5. In this case, the power supply control device 5, based on receiving the preparation completion notification from all the processing devices 2, cuts off the power supply of each processing device 2 and then turns the power supply back on to restart each processing device 2.
[0025] As described above, in this embodiment, if each processing device 2 cannot complete preparation for restart within the timeout time TO, it transmits a request to extend the timeout time TO to the power supply control device 5. When the power supply control device 5 receives an extension request, it sets a new timeout time to the timeout time TO of the processing device 2 that sent the extension request plus the extension time ET. This makes it possible to reduce the possibility that the power supply will be cut off while the processing device 2 is performing processing or preparing for restart, and allows the electronic device 1 to be restarted normally.
[0026] Furthermore, the power supply control device 5 also restarts each processing device 2 when the timeout time TO has elapsed without receiving an extension request, or when the extension time ET has elapsed, or when preparation completion notifications have not been received from all processing devices 2. For example, in preparation for restarting, a processing device 2 may experience a malfunction in which the non-volatile memory cannot be accessed while storing logs, work data, and the like in the non-volatile memory due to the occurrence of an abnormality in another processing device 2. In particular, if the non-volatile memory that stores the data is mounted on the processing device 2 in which the abnormality has occurred, the possibility of the malfunction occurring increases.
[0027] In this case, the processing device 2 cannot complete preparation for restart, and cannot send a preparation completion notification to the power supply control device 5. However, by setting the timeout period TO, even if there is a processing device 2 that cannot send a preparation completion notification, the power supply control device 5 can restart the electronic device 1 by turning on the power supply of each processing device 2 again. As a result, it is possible to prevent the electronic device 1 from going into a hung-up state by continuing to wait for the preparation completion notification.
[0028] Second Embodiment Fig. 3 is a block diagram showing an example of an electronic device in the second embodiment. Detailed description of elements similar to those in Fig. 1 will be omitted. For example, the electronic device 100 shown in Fig. 1 is a multifunction peripheral (image forming device) such as an MFP, and includes a controller 10, an operation unit 20, an engine 30, and a fax 40. Each of the controller 10, the operation unit 20, the engine 30, and the fax 40 is an example of a processing device. The operation unit 20 is also an example of an operation device, and the fax 40 is also an example of a fax device.
[0029] The controller 10 includes a SoC (System on a Chip) 12, a power supply control unit 50, and a non-volatile memory 60. The SoC 12 includes a detection unit 14 and a notification unit 16. For example, the non-volatile memory 60 is an electrically rewritable flash memory. The operation unit 20 includes a SoC 22 including a detection unit 24 and a notification unit 26. The engine 30 includes a SoC 32 including a detection unit 34 and a notification unit 36. The fax 40 includes a SoC 42 including a detection unit 44 and a notification unit 46.
[0030] The power supply control unit 50 is an example of a power supply control device that controls the supply of power to each of the controller 10, the operation unit 20, the engine 30, and the fax 40. Note that the power supply control unit 50 may be provided outside the controller 10 as long as it is within the electronic device 100.
[0031] The SoC 12 of the controller 10 controls the operation unit 20, the engine 30, and the fax 40, and may also have a function of controlling the entire electronic device 100. The SoC 12 and the SoC 42 of the fax 40 are connected via an input / output interface I / F 40 such as a PCIe (Peripheral Component Interconnect express) and a control line CNT 40 such as a GPIO (General Purpose Input / Output).
[0032] The SoC12 and the engine SoC32 are connected via an input / output interface I / F30 such as PCIe and a control line CNT30 such as GPIO. The SoC12 and the SoC22 of the operation unit 20 are connected via an input / output interface I / F20 such as USB (Universal Serial Bus) and a control line CNT20.
[0033] The detection unit 14 of the controller 10 detects an abnormality that occurs in the controller 10 (excluding the power supply control unit 50). When the detection unit 14 detects the occurrence of an abnormality, the notification unit 16 transmits an abnormality occurrence notification to the power supply control unit 50 via the error signal line ERR10. The notification unit 16 receives a restart preparation instruction from the power supply control unit 50 via the error signal line ERR10. When preparation for restart of the controller 10 (excluding the power supply control unit 50) is completed, the notification unit 16 transmits a preparation completion notification to the power supply control unit 50 via the error signal line ERR10. If the notification unit 16 cannot notify the power supply control unit 50 of the preparation completion notification within the timeout time, it transmits a request to extend the timeout time to the power supply control unit 50 via the error signal line ERR10.
[0034] The detection unit 24 of the operation unit 20 detects an abnormality that has occurred in the operation unit 20. When the detection unit 24 detects the occurrence of an abnormality, the notification unit 26 transmits an abnormality occurrence notification to the power supply control unit 50 via the error signal line ERR20. The notification unit 26 receives a restart preparation instruction from the power supply control unit 50 via the error signal line ERR20. When preparation for restarting the operation unit 20 is complete, the notification unit 26 transmits a preparation completion notification to the power supply control unit 50 via the error signal line ERR20. When the notification unit 26 cannot notify the power supply control unit 50 of the preparation completion notification within the timeout time, it transmits a request to extend the timeout time to the power supply control unit 50 via the error signal line ERR20.
[0035] The detection unit 34 of the engine 30 detects an abnormality that has occurred within the engine 30. When the detection unit 34 detects the occurrence of an abnormality, the notification unit 36 transmits an abnormality occurrence notification to the power supply control unit 50 via the error signal line ERR30. The notification unit 36 receives a restart preparation instruction from the power supply control unit 50 via the error signal line ERR30. When preparation for restarting the engine 30 is complete, the notification unit 36 transmits a preparation completion notification to the power supply control unit 50 via the error signal line ERR30. If the notification unit 36 cannot notify the power supply control unit 50 of the preparation completion notification within the timeout time, it transmits a request to extend the timeout time to the power supply control unit 50 via the error signal line ERR30.
[0036] The detection unit 44 of the fax 40 detects an abnormality that has occurred within the fax 40. When the detection unit 44 detects the occurrence of an abnormality, the notification unit 46 transmits an abnormality occurrence notification to the power supply control unit 50 via the error signal line ERR40. The notification unit 46 receives a restart preparation instruction from the power supply control unit 50 via the error signal line ERR40. When preparation for restart of the fax 40 is complete, the notification unit 46 transmits a preparation completion notification to the power supply control unit 50 via the error signal line ERR40. When the notification unit 46 cannot notify the power supply control unit 50 of the preparation completion notification within the timeout time, it transmits a request to extend the timeout time to the power supply control unit 50 via the error signal line ERR40.
[0037] The detection units 24, 34, 44 are an example of a detection means. The notification units 26, 36, 46 are an example of a notification means. For example, the SoCs 12, 22, 32, 42 and the power supply control unit 50 each have a processor such as a microcomputer or a CPU that executes a control program.
[0038] The power supply control unit 50 receives an abnormality occurrence notification, a preparation completion notification, or an extension request from the SoC 12 via an error signal line ERR10, and transmits a restart preparation instruction to the SoC 12. The power supply control unit 50 transmits a power supply control signal PCNT10 to the SoC 12. The power supply control signal PCNT10 is a signal that controls the power on and off of the SoC 12.
[0039] SoC12 can receive the power control signal PCNT10 even while the power is cut off, and can restart SoC12. SoC12 is powered on based on the power control signal PCNT10 indicating power on, performs an initialization sequence, and starts up the controller 10 (excluding the power control unit 50). SoC12 is powered off based on the power control signal PCNT10 indicating power off. Note that the power control unit 50 operates at all times by receiving an external power source.
[0040] The power supply control unit 50 receives an abnormality occurrence notification, a preparation completion notification, or an extension request from the SoC 22 via an error signal line ERR20, and transmits a restart preparation instruction to the SoC 22. The power supply control unit 50 transmits a power supply control signal PCNT20 to the SoC 22. The power supply control signal PCNT20 is a signal that controls the power on and off of the SoC 22.
[0041] The SoC 22 can receive the power control signal PCNT20 even while the power is cut off, and can restart the SoC 22. The SoC 22 is powered on based on the power control signal PCNT20 indicating power on, performs an initialization sequence, and starts up the operation unit 20. The SoC 22 is powered off based on the power control signal PCNT20 indicating power off.
[0042] The power supply control unit 50 receives an abnormality occurrence notification, a preparation completion notification, or an extension request from the SoC 32 via an error signal line ERR30, and transmits a restart preparation instruction to the SoC 32. The power supply control unit 50 transmits a power supply control signal PCNT30 to the SoC 32. The power supply control signal PCNT30 is a signal that controls the power on and off of the SoC 32.
[0043] SoC 32 can receive the power control signal PCNT30 even while the power is cut off, and can restart SoC 32. SoC 32 is powered on based on the power control signal PCNT30 indicating power on, performs an initialization sequence, and starts up engine 30. SoC 32 is powered off based on the power control signal PCNT30 indicating power off.
[0044] The power supply control unit 50 receives an abnormality occurrence notification, a preparation completion notification, or an extension request from the SoC 42 via an error signal line ERR40, and transmits a restart preparation instruction to the SoC 42. The power supply control unit 50 transmits a power supply control signal PCNT40 to the SoC 42. The power supply control signal PCNT40 is a signal that controls the power on and off of the SoC 42.
[0045] SoC42 can receive the power control signal PCNT40 even while the power is cut off, and can restart SoC 42. SoC42 is powered on based on the power control signal PCNT40 indicating power on, performs an initialization sequence, and starts up the fax 40. SoC42 is powered off based on the power control signal PCNT40 indicating power off.
[0046] Note that power lines may be wired instead of the power control signals PCNT10, PCNT20, PCNT30, and PCNT40, and the power control unit 50 may directly power on and off SoC12, SoC22, SoC32, and SoC42.
[0047] Fig. 4 is an explanatory diagram showing an example of information stored in the non-volatile memory 60 of Fig. 3. In the non-volatile memory 60, time information indicating the timeout time, extension time 1, and extension time 2 is stored for each of the controller 10, the operation unit 20, the engine 30, and the fax 40.
[0048] The power supply control unit 50 selects either extension time 1 or extension time 2 based on the time information included in the extension requests received from the controller 10, the operation unit 20, the engine 30, and the fax 40. For example, when the engine 30 receives a restart preparation notification while preparing to print an image on paper or while printing, it sends an extension request including time information indicating extension time 1 (60 seconds) to the power supply control unit 50. When the engine 30 receives a restart preparation notification while reading an image with the scanner, it sends an extension request including time information indicating extension time 2 (120 seconds) to the power supply control unit 50.
[0049] Similarly, when the controller 10, the operation unit 20, and the fax 40 receive a restart preparation notification while processing is in progress, they transmit an extension request including time information indicating either extension time 1 or extension time 2 to the power supply control unit 50 according to the time required for the processing being performed. This allows the power supply control unit 50 to set an optimal extension time according to the processing being performed. Therefore, the time from when an abnormality occurs in the electronic device 100 until the electronic device is restarted can be minimized according to the processing being performed. In addition, since the optimal extension time can be set, it is possible to prevent a malfunction in which the power supply is cut off while processing is in progress or while preparing for restart.
[0050] Fig. 5 is a block diagram showing an example of a hardware configuration of the power supply control unit 50 in Fig. 3. For example, the power supply control unit 50 is a microcomputer. The power supply control unit 50 has a CPU 51, a ROM (Read Only Memory) 52, a RAM (Random Access Memory), an input interface unit 54, an output interface unit 55, and a memory interface unit 56, which are interconnected via a bus BUS.
[0051] The CPU 51 executes a control program stored in the ROM 52 to control the restart of the power supply as shown in Fig. 6 and subsequent figures. The input interface unit 54 receives an abnormality occurrence notification, a preparation completion notification, and an extension request. The output interface unit 55 transmits a restart preparation instruction, a power cut-off instruction, and a power re-on instruction. The memory interface unit 56 is, for example, an SPI (Serial Peripheral Interface: registered trademark) interface, and is connected to a non-volatile memory 60 such as a serial flash memory.
[0052] Fig. 6 is a sequence diagram showing an example of a restart process of the electronic device 100 of Fig. 3. Detailed description of operations similar to those of Fig. 2 will be omitted. The operation shown in Fig. 6 is realized by a control method for the electronic device 100 being carried out by a control program for the electronic device 100 executed by the power supply control unit 50.
[0053] 6, the detection unit 24 of the operation unit 20 detects an error that has occurred in the operation unit 20. The notification unit 26 of the operation unit 20 notifies the power supply control unit 50 of the occurrence of the error based on the detection of the error by the detection unit 24. The notification of the occurrence of the error to the power supply control unit 50 is an example of an abnormality occurrence notification.
[0054] Based on the error occurrence notification from the operation unit 20, the power supply control unit 50 notifies the controller 10, the engine 30, and the fax 40 other than the sender of the error occurrence notification of the occurrence of the error. The notification of the error occurrence from the power supply control unit 50 is an example of an instruction to prepare for restart. Note that even when the power supply control unit 50 receives an error occurrence notification from more than one of the controller 10, the operation unit 20, the engine 30, and the fax 40, it notifies the occurrence of the error to the sender of the error occurrence notification as well.
[0055] Based on the notification of the occurrence of an error, the controller 10, the engine 30, and the fax 40 each store the acquired logs and data required after restart in a non-volatile memory to protect the non-volatile memory. The operation unit 20, which does not receive the notification of the occurrence of an error, stores the acquired logs and data in a non-volatile memory based on the detection of the occurrence of an error by the detection unit 24 to protect the non-volatile memory. Note that the data and data may be stored in a non-volatile memory mounted on the processing device (controller 10, operation unit 20, engine 30, or fax 40) that generated the log, or may be stored in an external non-volatile memory.
[0056] After completing the saving of the logs and the protection of the non-volatile memory, the controller 10, the operation unit 20, the engine 30 and the fax 40 each notify the power supply control unit 50 that they are ready to restart. The power supply control unit 50 waits until it receives a notification that it is ready to restart from all of the controller 10, the operation unit 20, the engine 30 and the fax 40. Here, the power supply control unit 50 receives the notification that it is ready to restart before the timeout times of the controller 10, the operation unit 20, the engine 30 and the fax 40 have elapsed.
[0057] The power supply control unit 50 transmits a power-off instruction to each of the controller 10, the operation unit 20, the engine 30 and the fax 40 to cut off the power supply based on receiving a restart preparation completion notification from all of the controller 10, the operation unit 20, the engine 30 and the fax 40. Upon receiving the power-off instruction, the controller 10, the operation unit 20, the engine 30 and the fax 40 perform a power-off process and then transmit a power-off completion notification to the power supply control unit 50. The controller 10, the operation unit 20, the engine 30 and the fax 40 can transmit a power-off completion notification to the power supply control unit 50 even after the power supply is cut off.
[0058] Upon receiving power-off completion notifications from all of the controller 10, the operation unit 20, the engine 30, and the fax 40, the power control unit 50 transmits power-on instructions to the controller 10, the operation unit 20, the engine 30, and the fax 40 almost simultaneously. Then, the controller 10, the operation unit 20, the engine 30, and the fax 40 that have been powered on based on the power-on instructions are restarted at the same timing.
[0059] Fig. 7 is a sequence diagram showing another example of the restart process of the electronic device 100 of Fig. 3. Detailed description of the same operations as those of Fig. 2 and Fig. 6 will be omitted. The operation shown in Fig. 7 is realized by carrying out a control method for the electronic device 100 by a control program for the electronic device 100 executed by the power supply control unit 50.
[0060] The operations of the controller 10, the operation unit 20, and the engine 30 are the same as those in Fig. 6. Therefore, similarly to Fig. 6, the operation unit 20 notifies the power supply control unit 50 of the occurrence of an error, and the power supply control unit 50 notifies the controller 10, the engine 30, and the fax 40 of the occurrence of the error.
[0061] 7, the fax 40 receives communication information via a telephone line or the like (fax reception) before receiving an error occurrence notification from the power supply control unit 50. If the fax 40 that has received the error occurrence notification performs log saving or the like after receiving the communication information, it determines that it cannot notify the power supply control unit 50 that it is ready to restart before the timeout time has elapsed. For this reason, the fax 40 transmits an extension request to the power supply control unit 50 that includes time information indicating the extension time 1 (30 seconds) in FIG. 4.
[0062] Based on receiving the extension request from the fax 40, the power supply control unit 50 sets the timeout time of the fax 40 to a time (60 seconds) obtained by adding the extension time (30 seconds) to the standard timeout time (30 seconds). After receiving communication information, the fax 40 saves the received data in non-volatile memory. Then, the fax 40 saves the acquired logs and the like in the non-volatile memory, protects the non-volatile memory, and then notifies the power supply control unit 50 that it is ready to restart.
[0063] The power supply control unit 50 receives a preparation completion notification from the fax 40 within the extended timeout period. Then, similar to Fig. 6, a power cut-off instruction is sent from the power supply control unit 50 to the controller 10, the operation unit 20, the engine 30, and the fax 40, and the power is cut off. Thereafter, the power supply of the controller 10, the operation unit 20, the engine 30, and the fax 40 is turned on again, and the electronic devices are restarted.
[0064] 7, since the timeout period is extended based on an extension request, it is possible to reduce the possibility of receiving a power cutoff instruction while, for example, communication information is being received, while the received data of the communication information is being saved, or while a log or the like is being saved after the communication information is received. As a result, it is possible to reduce the possibility that the received data of the communication information and the log or the like are lost, and it is possible to improve the reliability of the electronic device 100.
[0065] In addition, the timeout time and extension time are set for each of the controller 10, the operation unit 20, the engine 30, and the fax 40. Therefore, it is possible to set the optimal timeout time and extension time for each of the operation characteristics of the controller 10, the operation unit 20, the engine 30, and the fax 40. Furthermore, the controller 10, the operation unit 20, the engine 30, and the fax 40 can notify the power supply control unit 50 of a plurality of extension times according to the operation state. Therefore, it is possible to minimize the time from when an abnormality occurs in the electronic device 100 until it is restarted according to the process being performed.
[0066] Fig. 8 is a sequence diagram showing another example of the restart process of the electronic device 100 of Fig. 3. Detailed description of the same operations as those of Fig. 2 and Fig. 6 will be omitted. The operation shown in Fig. 8 is realized by carrying out a control method for the electronic device 100 by a control program for the electronic device 100 executed by the power supply control unit 50.
[0067] The operations of the controller 10, the operation unit 20, and the engine 30 are the same as those in Fig. 6. Therefore, similarly to Fig. 6, the operation unit 20 notifies the power supply control unit 50 of the occurrence of an error, and the power supply control unit 50 notifies the controller 10, the engine 30, and the fax 40 of the occurrence of the error.
[0068] 8, the fax 40 starts saving the log to the non-volatile memory upon receiving a notification of the occurrence of an error from the power supply control unit 50, but for example, the fax 40 becomes unable to access the non-volatile memory midway through saving, and is unable to complete saving the log. As a result, the fax 40 is unable to send a notification of completion of preparation for restart to the power supply control unit 50. Because of the unexpected malfunction, the fax 40 does not send an extension request to the power supply control unit 50.
[0069] Since the power supply control unit 50 has not received the extension request, it transmits a power cut-off instruction to the controller 10, the operation unit 20, the engine 30, and the fax 40 based on the lapse of the timeout time of the fax 40. Then, similar to FIG. 6, after the power supplies to the controller 10, the operation unit 20, the engine 30, and the fax 40 are cut off, the power supply control unit 50 turns the power supplies to the controller 10, the operation unit 20, the engine 30, and the fax 40 back on, and restarts the electronic device 100.
[0070] In this way, by setting the timeout time, even if any of the controller 10, the operation unit 20, the engine 30, or the fax 40 cannot complete preparation for restart, the electronic device 100 can be restarted without hanging up. As a result, deterioration of the reliability of the electronic device 100 can be prevented.
[0071] Fig. 9 is a sequence diagram showing another example of the restart process of the electronic device 100 of Fig. 3. Detailed description of the same operations as those of Fig. 2, Fig. 6, and Fig. 8 will be omitted. The operation shown in Fig. 9 is realized by carrying out a control method for the electronic device 100 by a control program for the electronic device 100 executed by the power supply control unit 50.
[0072] The operations of the controller 10, the operation unit 20, and the fax 40 are the same as those in FIG. 7. In FIG. 9, the engine 30 accepts a print job before receiving a notification of the occurrence of an error from the power supply control unit 50. If the engine 30 performs log saving or the like after performing a print job, it determines that it cannot notify the power supply control unit 50 that it is ready to restart before the timeout time has elapsed. For this reason, the engine 30 transmits an extension request to the power supply control unit 50, including time information indicating the extension time 1 (60 seconds) of FIG. 4. The fax 40 transmits an extension request to the power supply control unit 50, including time information indicating the extension time 1 (30 seconds) of the fax 40, as in FIG. 7.
[0073] Based on receiving the extension requests from the engine 30 and the fax 40, the power supply control unit 50 adds the timeout time and the extension time for each of the engine 30 and the fax 40. The sum of the timeout time and the extension time is 120 seconds for the engine 30 and 60 seconds for the fax 40. The power supply control unit 50 decides to adopt the timeout time and the extension time for the engine 30, which has the larger sum of the timeout time and the extension time.
[0074] After printing the print job, the engine 30 saves the job data in the non-volatile memory. Then, the engine 30 saves the acquired logs and the like in the non-volatile memory, protects the non-volatile memory, and then notifies the power supply control unit 50 that preparation for restart is complete.
[0075] The power supply control unit 50 sequentially receives preparation completion notifications from the engine 30 and the fax 40 within the extended timeout period. Then, similar to Fig. 6 and Fig. 7, a power cut-off instruction is sent from the power supply control unit 50 to the controller 10, the operation unit 20, the engine 30 and the fax 40, and the power is cut off. Thereafter, the power supply to the controller 10, the operation unit 20, the engine 30 and the fax 40 is turned on again, and the electronic device is restarted.
[0076] 9, when multiple extension requests are received, the power supply control unit 50 decides to adopt the timeout time and extension time that has the largest sum of the timeout time and extension time. This reduces the possibility of receiving a power cut-off instruction while the controller 10, the operation unit 20, the engine 30, and the fax 40 are operating or while logs, etc. are being saved. As a result, it is possible to reduce the possibility of losing received data of communication information, logs, etc., and improve the reliability of the electronic device 100.
[0077] Fig. 10 is a sequence diagram showing an example of a restart process of another electronic device. Detailed description of the same operations as those in Fig. 6 will be omitted. The electronic device that performs the operations shown in Fig. 10 has the same functions as the electronic device 100 shown in Fig. 3, except that the timeout time is not set.
[0078] 10, the fax 40 starts saving the log to the non-volatile memory upon receiving a notification of the occurrence of an error from the power supply control unit 50, but for example, the fax 40 becomes unable to access the non-volatile memory in the middle of saving, and is unable to complete saving the log. For this reason, the fax 40 is unable to send a notification of completion of preparation for restart to the power supply control unit 50.
[0079] Since the power supply control unit 50 does not manage the timeout period, it continues to wait for a notification of completion of preparation for restart from the fax 40. As a result, the power supply control unit 50 cannot restart the electronic device, and the electronic device falls into a hung-up state.
[0080] As described above, this embodiment can also provide the same effects as the above-mentioned embodiment. For example, since the timeout time is extended based on an extension request, it is possible to reduce the possibility of receiving a power cut-off instruction while saving a log after receiving communication information. As a result, it is possible to reduce the possibility of losing received data and logs of communication information, and the reliability of the electronic device 100 can be improved.
[0081] In addition, since the timeout time and extension time are set individually, it is possible to set the optimal timeout time and extension time for each operation characteristic of each function. Therefore, the time from when an abnormality occurs in the electronic device 100 until it is restarted can be minimized according to the process being performed. By setting the timeout time, it is possible to prevent the power supply control unit 50 from continuing to wait for a notification that preparations for restart are complete. As a result, it is possible to prevent the electronic device 100 from hanging up.
[0082] Furthermore, in this embodiment, when multiple extension requests are received, the power supply control unit 50 determines to adopt the timeout time and extension time that has the largest sum of the timeout time and extension time. This makes it possible to reduce the possibility of receiving a power cut-off instruction while saving logs, etc. As a result, it is possible to reduce the possibility of losing received data of communication information and logs, etc., and to improve the reliability of the electronic device 100.
[0083] (Third embodiment) Fig. 11 is a block diagram showing an example of a main part of an electronic device according to the third embodiment. The electronic device 100A shown in Fig. 11 has a power supply control unit 50A and a non-volatile memory 60A instead of the power supply control unit 50 and the non-volatile memory 60 in Fig. 3. The electronic device 100A is similar to the electronic device 100 of the second embodiment, except that the electronic device 100A has the non-volatile memory 60A instead of the non-volatile memory 60 in Fig. 3 and the control performed by the power supply control unit 50 is different.
[0084] The power supply control unit 50A has a notification unit 501, a shut-off / on control unit 502, a restart determination unit 503, and an error display notification unit 504. The power supply control unit 50 shown in FIG.
[0085] The notification unit 501 receives various notifications from the controller 10, the operation unit 20, the engine 30, and the fax 40 via the error signal lines ERR10 to ERR40. In addition, the notification unit 501 transmits various notifications to the controller 10, the operation unit 20, the engine 30, and the fax 40 via the error signal lines ERR10 to ERR40.
[0086] The cut-off / on control unit 502 transmits power control signals PCNT10 to PCNT40 to the controller 10, the operation unit 20, the engine 30 and the fax 40 via the power control signal lines PCNT10 to PCNT40.
[0087] The restart determination unit 503 determines whether to restart the power supply or to display an error and notify the error to the outside, based on the history of error occurrence notifications (abnormality occurrence notifications) for the controller 10, the operation unit 20, the engine 30, and the fax 40 stored in the non-volatile memory 60A. If the restart determination unit 503 determines to restart the power supply, it permits the shutoff / on control unit 502 to shut off and restart the power supply. If the restart determination unit 503 determines to display an error, it prohibits the shutoff / on control unit 502 from shutting off and restarting the power supply, and instructs the error display notification unit 504 to display an error.
[0088] The error display notification unit 504 displays "An irreparable error has occurred" on the display panel of the operation unit 20 based on an instruction from the restart determination unit 503. For example, upon seeing "An irreparable error has occurred" displayed on the display panel, the user of the electronic device 100A calls a serviceman to repair the electronic device 100A.
[0089] 4, the non-volatile memory 60A has an area for storing the time when an error occurrence notification was received by the power supply control unit 50. That is, the non-volatile memory 60A has an area for storing the history of the error occurrence notification (abnormal occurrence notification) for each of the controller 10, the operation unit 20, the engine 30 and the fax 40.
[0090] For example, when the power supply control unit 50 receives an error occurrence notification, the power supply control unit 50 stores the reception time in sequence in an available area of the non-volatile memory 60A that stores the reception time. This allows the power supply control unit 50 to manage the time and number of times an error has occurred for each of the controller 10, the operation unit 20, the engine 30, and the fax 40, and to manage the frequency of error occurrence.
[0091] The time of occurrence of an error and the number of occurrences of the error for each of the controller 10, the operation unit 20, the engine 30, and the fax 40 can be displayed on the display panel of the operation unit 20 in the maintenance mode. For example, a serviceman of the electronic device 100A switches the electronic device 100A from the user mode to the maintenance mode, and displays the information stored in the non-volatile memory 60A on the display panel. This allows the serviceman to check the location of the error and the frequency of the error at once based on the information displayed on the display panel, and easily analyze the defect. As a result, the workability of repairs can be improved.
[0092] The restart determination unit 503 determines whether or not to display an error in the error display notification unit 504 based on the history of error occurrence notifications stored in the non-volatile memory 60A. For example, when an error occurs twice in any of the controller 10, the operation unit 20, the engine 30, and the fax 40, the restart determination unit 503 instructs the error display notification unit 504 to display an error.
[0093] Alternatively, when the frequency of occurrence of an error in any of the controller 10, the operation unit 20, the engine 30, and the fax 40 is equal to or greater than a predetermined frequency, the restart determination unit 503 instructs the error display notification unit 504 to display an error. By prohibiting the power from being turned on again depending on the number of times an error has occurred or the frequency of the error occurrence, the restart determination unit 503 can prevent the same error from repeatedly occurring and the electronic device 100A from being restarted multiple times.
[0094] As described above, this embodiment can also provide the same effects as the above-mentioned embodiment. Furthermore, in this embodiment, the history of error occurrences is stored in the non-volatile memory 60A for each of the controller 10, the operation unit 20, the engine 30, and the fax 40. This makes it possible to manage the time of error occurrence and the number of times an error has occurred, and therefore the frequency of error occurrence. For example, an error can be displayed in the error display notification unit 504 based on the history of error occurrence notifications.
[0095] A service technician for the electronic device 100A can check the location of the error and the frequency of the error at once based on the information stored in the non-volatile memory 60A, and can easily analyze the defect. As a result, the workability of repairs can be improved.
[0096] (Hardware configuration of electronic devices) Fig. 12 is a hardware configuration diagram of the electronic devices 1, 100, and 100A shown in Figs. 1, 3, and 11. The electronic devices 1, 100, and 100A are MFPs having a copy function, a printer function, a scanner function, a fax function, and the like, and are so-called multifunction devices. The electronic devices 1, 100, and 100A are examples of "information processing devices." Hereinafter, the electronic devices 1, 100, and 100A will be referred to as MFP1000.
[0097] As shown in FIG. 12, the MFP 1000 includes a controller 110, a short-range communication circuit 120, an engine control unit 130, an operation panel 140, and a network I / F 150.
[0098] Of these, the controller 110 has a CPU 101, which is a main part of a computer, a system memory (MEM-P) 102, a north bridge (NB) 103, a south bridge (SB) 104, an ASIC (Application Specific Integrated Circuit) 106, a local memory (MEM-C) 107, which is a storage unit, an HDD controller 108, and an HD 109, which is a storage unit, and is configured such that the NB 103 and the ASIC 106 are connected by an AGP (Accelerated Graphics Port) bus 121. However, the configuration of the controller 110 is not limited to this. For example, two or more components such as the CPU 101, the NB 103, and the SB 104 may be realized by a SoC (System on Chip). In this case, the SoC and the ASIC 106 may be connected by a PCI-express (registered trademark) bus.
[0099] Of these, the CPU 101 is a control unit that performs overall control of the MFP 1000. The NB 103 is a bridge for connecting the CPU 101 with the MEM-P 102, the SB 104, and the AGP bus 121, and includes a memory controller that controls reading and writing to the MEM-P 102, a PCI (Peripheral Component Interconnect) master, and an AGP target.
[0100] The MEM-P102 is composed of a ROM 102a which is a memory for storing programs and data for implementing the various functions of the controller 110, and a RAM 102b which is used for developing the programs and data, and as a drawing memory during memory printing, etc. The programs stored in the RAM 102b may be configured to be provided by being recorded in a computer-readable recording medium such as a CD-ROM, CD-R, or DVD in the form of an installable or executable file.
[0101] The SB104 is a bridge for connecting the NB103 to a PCI device and a peripheral device. The ASIC106 is an IC (Integrated Circuit) for image processing purposes having hardware elements for image processing, and plays the role of a bridge connecting the AGP bus 121, the PCI bus 122, the HDD controller 108, and the MEM-C107. The ASIC106 is composed of a PCI target and an AGP master, an arbiter (ARB) that is the core of the ASIC106, a memory controller that controls the MEM-C107, a plurality of DMACs (Direct Memory Access Controllers) that rotate image data using hardware logic, and a PCI unit that transfers data between the scanner unit 131 and the printer unit 132 via the PCI bus 122. The ASIC106 may be connected to a USB (Universal Serial Bus) interface or an IEEE1394 (Institute of Electrical and Electronics Engineers 1394) interface.
[0102] The MEM-C 107 is a local memory used as an image buffer for copying and a code buffer. The HD 109 is a storage for storing image data, font data used during printing, and forms. The HD 109 controls the reading and writing of data from and to the HD 109 under the control of the CPU 101. The AGP bus 121 is a bus interface for a graphics accelerator card proposed to speed up graphic processing, and by directly accessing the MEM-P 102 at high throughput, the graphics accelerator card can be made faster.
[0103] Further, the short-distance communication circuit 120 includes a short-distance communication circuit 120a. The short-distance communication circuit 120 is a communication circuit such as NFC or Bluetooth (registered trademark).
[0104] Furthermore, the engine control unit 130 is composed of a scanner unit 131 and a printer unit 132. The controller 110 controls the entire MFP 1000, for example, controlling drawing, communication, input from an operation panel 140, etc. The scanner unit 131 or the printer unit 132 includes an image processing unit such as error diffusion and gamma conversion.
[0105] The MFP 1000 can sequentially switch and select a document box function, copy function, printer function, and facsimile function by using an application switching key on the operation panel 140. When the document box function is selected, the MFP 1000 is in document box mode, when the copy function is selected, the copy mode is selected, when the printer function is selected, the printer mode is selected, and when the facsimile mode is selected, the facsimile mode is selected. The operation panel 140 is provided with a display unit such as an LCD that displays various information and an LED that displays an operating state by turning on / off, and an input unit having a touch panel and hard key switches. When the operation panel 140 is provided with a touch panel, the hard key switches may not be provided. The operation panel 140 may be configured to be connected to the ASIC 106, or may be configured to be connected to the SB 104.
[0106] The network I / F 150 is an interface for performing data communication using the communication network 12. The short-range communication circuit 120 and the network I / F 150 are electrically connected to the ASIC 106 via a PCI bus 122.
[0107] The electronic devices 100 and 100A described above are not limited to image forming devices. The electronic devices 100 and 100A may be, for example, a PJ (Projector), an IWB (Interactive White Board: a white board with an electronic blackboard function capable of mutual communication), an output device such as a digital signage, a HUD (Head Up Display) device, an industrial machine, an imaging device, a sound collecting device, a medical device, a network home appliance, an automobile (Connected Car), a notebook PC (Personal Computer), a mobile phone, a smartphone, a tablet terminal, a game machine, a PDA (Personal Digital Assistant), a digital camera, a wearable PC, a desktop PC, or the like.
[0108] Each function of the above-described embodiments can be realized by one or more processing circuits. Here, the term "processing circuit" in this specification includes a processor programmed to execute each function by software, such as a processor implemented by an electronic circuit, and a device such as an ASIC (Application Specific Integrated Circuit), a DSP (Digital Signal Processor), an FPGA (Field Programmable Gate Array), or a conventional circuit module designed to execute each function described above.
[0109] Although the present invention has been described above based on the embodiments, the present invention is not limited to the requirements shown in the above embodiments. These points can be changed without departing from the spirit of the present invention, and can be appropriately determined according to the application form. [Explanation of symbols]
[0110] 1 Electronic equipment 2(2a, 2b, 2c, 2d) Processing equipment 3(3a, 3b, 3c, 3d) Detection means 4(4a, 4b, 4c, 4d) Means of notification 5 Power supply control device 6 Memory means 10 Controller 12. Communications Networks 14 Detection unit 16 Notification Department 20 Control section 24 Detection unit 26 Notification Department 30 Engine 34 Detection unit 36 Notification Department 40 Fax 44 Detection unit 46 Notification Department 50, 50A Power Supply Control Unit 54 Input interface section 55 Output interface section 56 Memory interface section 60, 60A non-volatile memory 100, 100A electronic equipment 101 CPU 102 System Memory 103 North Bridge 104 South Bridge 106 ASIC 107 Local Memory 108 HDD Controller 109 HD 110 Controller 120 Near field communication circuit 120a near field communication circuit 121 AGP Bus 122 PCI bus 130 Engine control unit 131 Scanner section 132 Printer section 140 Operation Panel 501 Notification Department 502 Input control unit 503 Restart judgment section 504 Error notification section 1000 MFP ARB Arbitrator BUS CNT20, CNT30, CNT40 control line ERR10, ERR20, ERR30, ERR40 Error signal line ET extension time PCNT10, PCNT20, PCNT30, PCNT40 Power control signals [Prior art documents] [Patent documents]
[0111] [Patent Document 1] Patent No. 6597417
Claims
1. 1. An electronic device including a plurality of processing devices and a power supply control device that controls a supply of power to each of the plurality of processing devices, Each of the plurality of processing devices includes a detection means for detecting the occurrence of an abnormality, and a notification means for transmitting an abnormality occurrence notification to the power supply control device when the occurrence of an abnormality is detected by the detection means, transmitting a preparation completion notification to the power supply control device when preparation for restart is completed, and transmitting a request to extend the timeout period to the power supply control device when the preparation completion notification cannot be transmitted to the power supply control device within a timeout period; The power supply control device includes: a storage means for storing the timeout period for each of the plurality of processing devices; transmit a restart preparation instruction to the processing devices other than the source of the abnormality notification based on the reception of the abnormality notification, and after transmitting the preparation instruction, wait for the preparation completion notification from each of the plurality of processing devices until the timeout period has elapsed; if the extension request is not received, when the preparation completion notification is received from all of the plurality of processing devices before the timeout time has elapsed or when the timeout time has elapsed, powering off and then restarting each of the plurality of processing devices; When the extension request is received, the process waits for an extension time to elapse after the timeout period, and when the preparation completion notice is received from all of the plurality of processing devices before the extension time elapses or when the extension time elapses, the process cuts off and then restarts each of the plurality of processing devices. An electronic device characterized by:
2. the extension request transmitted by each of the plurality of processing devices to the power supply control device includes time information indicating an extension time required to complete a process currently being performed, the storage means stores an extension time corresponding to the time information together with the timeout time for each of the plurality of processing devices; The power supply control device waits for the lapse of the extension time corresponding to the time information included in the received extension request in addition to the lapse of the timeout time.
2. The electronic device according to claim 1 .
3. the extension request includes any one of a plurality of pieces of time information corresponding to a plurality of types of processing performed by each of the plurality of processing devices, The storage means stores a plurality of extension times corresponding to the plurality of pieces of time information for each of the plurality of processing devices.
3. The electronic device according to claim 2 .
4. When the power supply control device receives extension requests from a plurality of the processing devices, the power supply control device determines to adopt the extension time that is the largest sum of the extension time corresponding to the received extension request and the timeout time corresponding to the extension time.
4. The electronic device according to claim 2 or 3.
5. The power supply control device includes: storing a history of the abnormality notification for each of the plurality of processing devices in the storage means; 5. The electronic device according to claim 2, wherein
6. The power supply control device includes: According to the abnormality occurrence notification history for each of the plurality of processing devices stored in the storage means, it is determined whether to shut off the power and then restart the processing device or to notify an external device of an error.
6. The electronic device according to claim 5,
7. The power supply control device notifies an external device of an error when a frequency of the abnormality notification of at least any of the plurality of processing devices is equal to or greater than a predetermined frequency based on the abnormality notification history stored in the storage means.
7. The electronic device according to claim 6,
8. The plurality of processing devices include a fax device, an engine that reads and prints images, an operation device that inputs and displays information, and a controller that controls the fax device, the engine, and the operation device, and have a function as an image forming device.
8. The electronic device according to claim 1, wherein
9. 1. A method for controlling an electronic device including a plurality of processing devices and a power supply control device that controls a supply of power to each of the plurality of processing devices, comprising: When each of the plurality of processing devices detects an occurrence of an abnormality, the processing device transmits an abnormality occurrence notification to the power supply control device; the power supply control device transmits a restart preparation instruction to processing devices other than a source of the abnormality occurrence notification based on receipt of the abnormality occurrence notification; Each of the plurality of processing devices transmits a preparation completion notification to the power supply control device when preparation for restart is completed; the power supply control device waits for a preparation completion notification from each of the plurality of processing devices until a timeout time has elapsed after transmitting the preparation instruction; When each of the plurality of processing devices cannot transmit the preparation completion notification to the power supply control device within the timeout period, the processing device transmits a request to extend the timeout period to the power supply control device; When the power supply control device does not receive the extension request, when the preparation completion notification is received from all of the plurality of processing devices before the timeout time has elapsed, or when the timeout time has elapsed, the power supply control device cuts off and restarts each of the plurality of processing devices; when the power supply control device receives the extension request, the power supply control device waits for an extension time to elapse after the timeout time, and when the preparation completion notification is received from all of the plurality of processing devices before the extension time has elapsed, or when the extension time has elapsed, the power supply control device cuts off and restarts each of the plurality of processing devices. A method for controlling an electronic device comprising the steps of:
10. A control program for an electronic device executed by a power control device that is mounted on an electronic device together with a plurality of processing devices and controls the supply of power to each of the plurality of processing devices, comprising: based on a notification of the occurrence of an abnormality from the processing device that has detected the occurrence of the abnormality, transmitting a restart preparation instruction to the processing devices other than the source of the notification of the occurrence of the abnormality; after transmitting the preparation instruction, waiting for a preparation completion notification from the processing device that has completed preparation for restart and a request to extend the timeout period from the processing device that is unable to transmit the preparation completion notification to the power supply control device within a timeout period; if the extension request is not received, when the preparation completion notification is received from all of the plurality of processing devices before the timeout time has elapsed or when the timeout time has elapsed, powering off and then restarting each of the plurality of processing devices; When the extension request is received, the power supply control device waits for an extension time to elapse after the timeout period, and when the preparation completion notice is received from all of the plurality of processing devices before the extension time elapses or when the extension time elapses, the power supply control device executes a process of shutting down and then restarting each of the plurality of processing devices. A control program for an electronic device comprising:
Citation Information
Patent Citations
Printing system, printing apparatus and printing control apparatus
JP2012123447A
Electronic device, recovery method and program
JP6597417B2
