Information processing device and information processing program

By separating the log acquisition module and delaying reset control post-abnormality detection, the solution addresses the loss of log data during resets, ensuring data retention and retrieval in non-volatile memory.

JP2024117193APending Publication Date: 2024-08-29FUJIFILM BUSINESS INNOVATION CORP
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2023023137
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-17
Publication Date
2024-08-29

AI Technical Summary

Technical Problem

Existing information processing devices face challenges in retaining log information during device resets due to limited storage capacity, risking the loss of critical log data during processor or peripheral device abnormalities.

Method used

Implementing a log acquisition module separate from the monitored processor to pre-acquire log information, setting a watchdog firing flag upon abnormality detection, and delaying reset control until log acquisition stops, ensuring log data is retained in the log memory before resetting the affected device.

Benefits of technology

Ensures log information is preserved during resets, allowing post-reset retrieval and storage in non-volatile memory, thus maintaining critical data integrity and availability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024117193000001_ABST
    Figure 2024117193000001_ABST
Patent Text Reader

Abstract

To obtain, when an abnormality occurs in the operation of a log-acquisition target device in storing log information of the log-acquisition target device in a log memory, the log information of the log-acquisition target device at the time of occurrence of the abnormality, and reset the log-acquisition target device.SOLUTION: A log acquisition module 22 obtains log information indicating an operation state of a log-acquisition target device and stores it in a log memory 22a. A watchdog timer module 24 detects that an abnormality has occurred in the operation of the log-acquisition target device and sets a watchdog ignition flag. In response to the watchdog ignition flag, the log acquisition module 22 stops the acquisition of the log information before a power supply control module 26 performs a reset control. After the log acquisition module 22 stops the acquisition of the log information, the power supply control module 26 performs a reset control for resetting the log-acquisition target device in whose operation the abnormality has occurred.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an information processing device and an information processing program. [Background technology]

[0002] In an information processing device, an abnormality may occur in the operation of a processor (e.g., a CPU (Central Processing Unit)). Conventionally, a watchdog timer is known that detects an abnormality in the operation of a monitored device such as a processor, and resets and restarts the device in which the abnormality is detected if an abnormality is detected. The watchdog timer outputs a reset signal to reset the monitored device if, for example, an initialization signal is not input from the monitored device within a predetermined period.

[0003] In an information processing device, log information showing the operating status of a device such as a processor may be stored in a memory. Here, an administrator of the information processing device or the like would like to obtain the log information when an abnormality occurs in the operation of the device. However, if an abnormality occurs in the operation of the device and the memory storing the log information is also reset, a problem may arise in that the log information stored in the memory is erased.

[0004] In view of this, a technique has been proposed in the past for resetting a device while acquiring log information when an abnormality occurs in the operation of the device.

[0005] For example, Patent Document 1 discloses an image forming device that includes a watchdog timer that outputs a watchdog reset request when an initialization signal is not input within a specified period, a control circuit that inputs an initialization signal to the watchdog timer, a volatile memory, and a non-volatile memory, in which when an abnormality occurs in the operation of the control circuit and a watchdog reset request is output, only the control circuit is reset, and the control circuit, restarted by the reset, retains the log by storing the contents of the volatile memory as a log in the non-volatile memory, and then resets all of the reset targets of the image forming device. [Prior art documents] [Patent documents]

[0006] [Patent Document 1] JP 2019-155686 A Summary of the Invention [Problem to be solved by the invention]

[0007] However, the log memory that stores log information about a processor or a peripheral device that is a device other than the processor in an information processing device (in this specification, at least one of the processor and the peripheral device is referred to as a "log acquisition target device") has a finite storage capacity, so when new log information about the log acquisition target device is stored in the log memory, the oldest log information may be erased from the log memory. Therefore, if log information continues to be acquired even after an abnormality occurs in the operation of the log acquisition target device, there is a risk that the essential log information at the time of the abnormality occurrence may be erased from the log memory.

[0008] The object of the present invention is to store log information of a device that is a target of log acquisition in a log memory, and when an abnormality occurs in the operation of the device that is a target of log acquisition, to acquire the log information of the device that is a target of log acquisition at the time of the abnormality and to reset the device that is a target of log acquisition. [Means for solving the problem]

[0009] The invention of claim 1 is an information processing device comprising a processor and a log memory, wherein the processor acquires log information indicating the operating status of a log acquisition target device, which is at least one of a monitored processor or a peripheral device other than the monitored processor within the device, and stores it in the log memory; and in response to an initialization signal not being input from the monitored processor within a predetermined period, or an abnormality signal indicating that an abnormality has occurred in the operation of the peripheral device, sets a flag indicating that an abnormality has occurred in the operation of the log acquisition target device, and based on the flag, stops acquisition of the log information prior to resetting the log acquisition target device in which an abnormality has occurred in operation, and retains the log information acquired up to that point in the log memory; and after stopping acquisition of the log information, performs reset control to reset the log acquisition target device in which an abnormality has occurred without resetting the log memory. The invention of claim 2 is the information processing device described in claim 1, characterized in that the processor is a processor separate from the monitored processor, and acquisition of the log information begins before power is turned on to the monitored processor. The invention according to claim 3 is the information processing device according to claim 1, characterized in that the monitored processor reads the log information from the log memory and stores it in a non-volatile memory after the reset control. The invention of claim 4 is an information processing program that causes a computer having a log memory to acquire log information indicating the operating status of a log acquisition target device, which is at least one of a monitored processor or a peripheral device other than the monitored processor within an apparatus, and store it in the log memory; and in response to an initialization signal not being input from the monitored processor within a predetermined period or an abnormality signal indicating that an abnormality has occurred in the operation of the peripheral device being input from the monitored processor, the computer sets a flag indicating that an abnormality has occurred in the operation of the log acquisition target device, and stops acquisition of the log information and retains the log information acquired up to that point in the log memory before resetting the log acquisition target device whose operation has become abnormal based on the flag; and performs reset control to reset the log acquisition target device whose operation has become abnormal without resetting the log memory based on the watchdog firing flag. The invention of claim 5 is an information processing apparatus comprising a first processor that functions as a log acquisition module, a second processor that functions as a timer module, a third processor that functions as a reset control module, and a log memory, wherein the first processor acquires log information indicating the operating status of a log acquisition target device, which is at least one of a monitored processor or a peripheral device that is a device other than the monitored processor within the apparatus, and stores it in the log memory, and the second processor sets a flag indicating that an abnormality has occurred in the operation of the log acquisition target device in response to an initialization signal not being input from the monitored processor within a predetermined period or an abnormality signal indicating that an abnormality has occurred in the operation of the peripheral device being input from the monitored processor, and the first processor stops acquiring the log information based on the flag before resetting the log acquisition target device in which an abnormality has occurred, and retains the log information acquired up to that point in the log memory, and the third processor performs reset control to reset the log acquisition target device in which an abnormality has occurred without resetting the log memory based on the flag. Effect of the Invention

[0010] According to the invention of claim 1, 4 or 5, when log information of a log acquisition target device is stored in a log memory, if an abnormality occurs in the operation of the log acquisition target device, the log information of the log acquisition target device at the time of the abnormality occurrence can be acquired and the log acquisition target device can be reset. According to the invention as set forth in claim 2, it is possible to obtain log information when the power supply of the monitored processor is turned on. According to the invention as defined in claim 3, it is possible to keep the log information even after the log memory is reset. [Brief description of the drawings]

[0011] [Figure 1] 1 is a schematic diagram illustrating a configuration of an information processing device according to an embodiment of the present invention. [Diagram 2] 4 is a first flowchart showing a flow of processing in the information processing device according to the present embodiment. [Diagram 3] 10 is a second flowchart showing the flow of processing in the information processing device according to the present embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0012] 1 is a schematic diagram of the configuration of an information processing device 10 according to this embodiment. In this embodiment, the information processing device 10 is, for example, an image processing device such as a multifunction peripheral, but the information processing device 10 may be any device as long as it can perform the functions described below.

[0013] The monitored processor 12 is a device that is monitored by a watchdog timer module 24 described later. In this embodiment, the monitored processor 12 is a CPU (Central Processing Unit) that controls each part of the information processing device 10. In this embodiment, since the information processing device 10 is an image processing device, the CPU controls various processes such as printing process and image reading process in cooperation with, for example, a peripheral device 14 described later.

[0014] As described later in detail, the monitored processor 12 periodically transmits an initialization signal to the processor 20 (more specifically, the watchdog timer module 24) described later as long as the monitored processor 12 itself is operating normally. Alternatively, when the monitored processor 12 detects that an abnormality has occurred in the operation of the peripheral device 14, it transmits an abnormality signal indicating that an abnormality has occurred in the operation of the peripheral device 14 to the processor 20 (more specifically, the watchdog timer module 24). For example, the monitored processor 12 executes various processes while communicating with the peripheral device 14, and can determine that an abnormality has occurred in the operation of the peripheral device 14 when there is no response from the peripheral device 14. Alternatively, the monitored processor 12 can determine that an abnormality has occurred in the operation of the peripheral device 14 by acquiring an error signal or the like from the peripheral device 14.

[0015] The peripheral device 14 is a device that cooperates with the monitored processor 12 to execute processes related to various functions that can be executed by the information processing device 10. The peripheral device 14 is, for example, an ASIC (Application Specific Integrated Circuit), but is not limited to this. The information processing device 10 may be provided with a plurality of peripheral devices 14.

[0016] The non-volatile memory 16 includes a hard disk drive (HDD), a solid state drive (SSD), an embedded multi media card (eMMC), a read only memory (ROM), etc. The non-volatile memory 16 is a memory in which stored information is not erased even if the power supply is cut off.

[0017] The non-volatile memory 16 stores programs for operating each unit of the information processing device 10. In particular, the non-volatile memory 16 stores an information processing program for operating the processor 20 described below. The information processing program can also be stored in a computer-readable non-transitory storage medium such as a USB (Universal Serial Bus) memory or a CD-ROM. The processor 20 can read and execute the information processing program from such a storage medium.

[0018] The power supply circuit 18 is a circuit that supplies power to the monitored processor 12, the peripheral device 14, the non-volatile memory 16, and other various devices included in the information processing device 10. As will be described later, the power supply from the power supply circuit 18 to the various devices is controlled by the processor 20 (particularly the power supply control module 26).

[0019] The processor 20 as the first processor, the second processor, and the third processor refers to a processor in a broad sense, and includes at least one of a general-purpose processor (such as a CPU) and a dedicated processing device (such as a GPU (Graphics Processing Unit), an ASIC, an FPGA (Field-Programmable Gate Array), or a CPLD (Complex Programmable Logic Device)). The processor 20 may not be a single processing device, but may be configured by the cooperation of multiple processing devices that are physically separated from one another. The processor 20 also has an internal memory (such as a cache memory).

[0020] 1, the processor 20 fulfills the functions of a log acquisition module 22, a watchdog timer module 24, and a power supply control module 26. Note that a module means a set of functions realized by hardware (the processor 20 in this embodiment) and software (an information processing program in this embodiment).

[0021] The log acquisition module 22 acquires log information indicating the operating status of at least one of the monitored processor 12 and the peripheral device 14. As described above, in this specification, at least one of the monitored processor 12 and the peripheral device 14 is called a "log acquisition target device." In this embodiment, the log acquisition module 22 also acquires log information indicating operating information of the power supply control module 26 described below. In FIG. 1, the flow of the log information is indicated by a dashed line. The log acquisition module 22 stores the acquired log information in a log memory 22a defined in the log acquisition module 22. The log memory 22a does not necessarily have to be located in the log acquisition module 22 (i.e., the processor 20).

[0022] The log acquisition module 22 sequentially acquires log information in response to the operations of the monitored processor 12, the peripheral device 14, and the power control module 26, and stores the acquired log information in the log memory 22a. Since the storage capacity of the log memory 22a is finite, when the log memory 22a has no remaining storage capacity, the log acquisition module 22 erases old log information already stored in the log memory 22a before storing new log information. For example, the log memory 22a has a ring buffer structure, and the log acquisition module 22 erases the oldest log information from the log memory 22a before storing new log information.

[0023] In this embodiment, the log acquisition module 22 is provided in a processor 20 separate from the monitored processor 12. In this embodiment, when the information processing device 10 is powered on or when the information processing device 10 returns from a sleep state (a state in which only some devices of the information processing device 10 (for example, a communication unit (not shown) that receives information from an external device and an input interface (not shown) that receives input from a user) are powered on), the processor 20 (i.e., the log acquisition module 22) is powered on before the monitored processor 12, so that acquisition of log information of the monitored processor 12 can be started before the monitored processor 12 is powered on. In this way, the log acquisition module 22 can acquire log information at the start-up of the monitored processor 12. Incidentally, the monitored processor 12 is more likely to have an abnormality in its operation at the start-up than after the start-up, so it is meaningful to acquire log information at the start-up of the monitored processor 12.

[0024] The watchdog timer module 24 is a module that monitors the monitored processor 12 and detects the occurrence of an abnormality in the operation of the monitored processor 12. Specifically, the watchdog timer module 24 has a counter (not shown) and gradually decreases the counter value (counter value) from a predetermined value. Then, when the counter value reaches 0, the watchdog timer module 24 determines that an abnormality has occurred in the operation of the monitored processor 12. The time it takes for the counter value to reach 0 from the predetermined value is called a timeout time. The timeout time may be set as appropriate by an administrator of the information processing device 10, etc. The timeout time is set to, for example, several tens of milliseconds.

[0025] As described above, the monitored processor 12 transmits an initialization signal to the watchdog timer module 24. The initialization signal is a signal for resetting the counter value of the watchdog timer module 24 (returning it to a predetermined value in this example). As long as the monitored processor 12 operates normally, it transmits an initialization signal to the watchdog timer module 24 within each timeout period before the counter value of the watchdog timer module 24 becomes 0. When an abnormality occurs in the operation of the monitored processor 12 and it becomes impossible to transmit the initialization signal, the counter value of the watchdog timer module 24 becomes 0, and the watchdog timer module 24 determines that an abnormality has occurred in the operation of the monitored processor 12.

[0026] In the above example, the watchdog timer module 24 counts a down counter whose counter value gradually decreases, but it may also count an up counter whose counter value gradually increases. In this case, the watchdog timer module 24 determines that an abnormality has occurred in the operation of the monitored processor 12 when the counter value reaches a predetermined value, and resets the counter value to 0 in response to an initialization signal from the monitored processor 12.

[0027] As described above, the monitored processor 12 transmits an abnormality signal to the watchdog timer module 24, indicating that an abnormality has occurred in the operation of the peripheral device 14. When there are multiple peripheral devices 14, the abnormality signal may include information capable of identifying the peripheral device 14. Upon receiving the abnormality signal from the monitored processor 12, the watchdog timer module 24 determines that an abnormality has occurred in the operation of the peripheral device 14.

[0028] As described above, the watchdog timer module 24 detects that an abnormality has occurred in the operation of the device for which the log is to be acquired (the monitored processor 12 or the peripheral device 14) when an initialization signal is not input from the monitored processor 12 within a specified period (timeout period) or when an abnormality signal is input from the monitored processor 12.

[0029] When the watchdog timer module 24 detects that an abnormality has occurred in the operation of the log acquisition target device, the watchdog timer module 24 sets a watchdog ignition flag indicating that an abnormality has occurred in the operation of the log acquisition target device. In this embodiment, the watchdog timer module 24 stores the watchdog ignition flag in a ignition flag memory 24a defined in the watchdog timer module 24. The watchdog timer module 24 notifies the log acquisition module 22 that the watchdog ignition flag has been set.

[0030] A typical watchdog timer module immediately issues a reset request to a module that performs reset control (corresponding to the power supply control module 26 in this embodiment) after the watchdog firing flag is set. However, in this embodiment, the watchdog timer module 24 does not issue a reset request to the power supply control module 26 at the timing when the watchdog firing flag is set.

[0031] Specifically, when the watchdog firing flag is set, the log acquisition module 22 stops acquiring log information based on the watchdog firing flag before the power supply control module 26 performs reset control. This prevents new log information from being written to the log memory 22a, and thus prevents old log information stored in the log memory 22a from being erased. In other words, the log information acquired up to that point is held in the log memory 22a. The log acquisition module 22 may set a log latch flag indicating that acquisition of log information has been stopped, and store the flag in the log memory 22a, for example.

[0032] Then, after the log acquisition module 22 stops acquiring the log information, the watchdog timer module 24 requests a reset to the power supply control module 26. The watchdog timer module 24 may detect that the log acquisition module 22 has stopped acquiring the log information by reading a log latch flag stored in the log memory 22a, or may perform reset control after a sufficient time has elapsed for the log acquisition module 22 to stop acquiring the log information after the watchdog firing flag is set. Alternatively, the watchdog timer module 24 may detect that the log acquisition module 22 has stopped acquiring the log information by receiving a notification from the log acquisition module 22 that the acquisition of the log information has been stopped.

[0033] The power supply control module 26 is a module for controlling the power supply circuit 18. The power supply control module 26 controls the supply of power from the power supply circuit 18 to each device of the information processing device 10. The power supply control module 26 can reset (in other words, restart) a device by temporarily cutting off the supply of power to the device and controlling the power supply circuit 18 to turn on the power to the device again. In this way, the power supply control module 26 functions as a reset control module.

[0034] In response to a reset request from the watchdog timer module 24, the power supply control module 26 performs reset control to reset the log acquisition target device in which an abnormality has occurred in operation. Here, the power supply control module 26 does not subject the log memory 22a to the reset control. In other words, even if a watchdog firing flag is set, the power supply control module 26 does not reset the log memory 22a. This makes it possible to prevent the log information stored in the log memory 22a from being erased. If the log memory 22a is provided in the log acquisition module 22, the log acquisition module 22 may be excluded from the reset control.

[0035] In this embodiment, the power supply control module 26 excludes the processor 20 including the log acquisition module 22 from the targets of reset control. In this embodiment, the power supply control module 26 resets devices other than the processor 20 of the information processing device 10, including the monitored processor 12 and the peripheral device 14 (i.e., the log acquisition target device), in response to the watchdog firing flag.

[0036] Furthermore, when a log acquisition target device in which an abnormality has occurred in operation can be identified, the power supply control module 26 may reset only the log acquisition target device in which an abnormality has occurred in operation. For example, when a watchdog ignition flag is set due to a timeout of the counter of the watchdog timer module 24, the power supply control module 26 may reset only the monitored processor 12. Alternatively, when the watchdog timer module 24 receives the above-mentioned abnormality signal, the power supply control module 26 may reset only the log acquisition target device indicated by the received signal. Note that if the watchdog timer module 24 sets a different type of watchdog ignition flag for each log acquisition target device in which an abnormality has occurred in operation, the power supply control module 26 can identify the log acquisition target device in which an abnormality has occurred in operation based on the watchdog ignition flag.

[0037] It is expected that the device for which the log is to be acquired, which is experiencing an operational anomaly, will be rebooted by this reset control and will start operating normally again.

[0038] As described above, the watchdog timer module 24 does not issue a reset request at the timing when the watchdog firing flag is set, but issues a reset request after the watchdog firing flag is set and the log acquisition module 22 stops acquiring log information. That is, the power supply control module 26 performs the above-mentioned reset control after the log acquisition module 22 stops acquiring log information. The reset control restarts the log acquisition target device, but the log acquisition module 22 does not acquire log information at this time based on the log latch flag. As a result, the log information acquired from the log acquisition target device when an abnormality occurs in the operation is held in the log memory 22a.

[0039] After reset control by the power supply control module 26, the monitored processor 12 reads out log information from the log memory 22a and stores it in the non-volatile memory 16. Specifically, immediately after startup, the monitored processor 12 determines whether or not a log latch flag is set, and if the log latch flag is set, reads out log information from the log memory 22a and stores it in the non-volatile memory 16. If the log latch flag is not set, the monitored processor 12 does not read out log information from the log memory 22a.

[0040] By storing the log information in the non-volatile memory 16, it is possible to leave the log information of the log acquisition target device when an abnormality occurs in the operation even if the power supply of the information processing device 10 is turned off. The monitored processor 12 may store the log information read from the log memory 22a in a non-volatile memory outside the information processing device 10. For example, the monitored processor 12 may transmit the log information read from the log memory 22a to an external server from a communication interface (not shown) of the information processing device 10, and store the log information in a non-volatile memory of the server.

[0041] After reading the log information from the log memory 22a and storing it in the non-volatile memory 16, the monitored processor 12 notifies the processor 20 of a log information movement completion notification. Based on the log information movement completion notification from the monitored processor 12, the log acquisition module 22 clears the log latch memory (for example, erases it from the log memory 22a) and resumes acquisition of the log information.

[0042] Furthermore, the watchdog timer module 24 clears the watchdog firing flag (deletes it from the firing flag memory 24a) based on the log information movement completion notification from the monitored processor 12, and starts monitoring the monitored processor 12. The reason why the watchdog timer module 24 starts monitoring the monitored processor 12 based on the log information movement completion notification from the monitored processor 12 (i.e., after the monitored processor 12 reads out the log information from the log memory 22a and stores it in the non-volatile memory 16) is to avoid a loop of watchdog firing flag being set → reset control → monitored processor cannot be started → re-reset control based on the watchdog firing flag... when the monitored processor 12 cannot be restarted.

[0043] The configuration of the information processing device 10 according to this embodiment has been outlined above. According to the information processing device 10, after the watchdog firing flag is set, reset control is not performed immediately, but is performed after the log acquisition module 22 stops acquiring log information. This prevents new log information from being overwritten in the log memory 22a thereafter (for example, after restarting due to reset control), and allows log information when an abnormality occurs in the operation of the log acquisition target device to be stored in the log memory 22a.

[0044] Furthermore, in the information processing device 10, the log acquisition module 22 is provided in a processor 20 different from the monitored processor 12 which is the log acquisition target device. This makes it possible to acquire log information at the start-up of the monitored processor 12. If the log acquisition module 22 were provided in the monitored processor 12, it would only be possible to obtain log information after the monitored processor 12 starts up and communication is established between the monitored processor 12 and a memory that stores the log information.

[0045] The flow of processing by the information processing device 10 will be described below with reference to the flowcharts shown in FIGS.

[0046] FIG. 2 is a flowchart showing the flow of processing up to the reset control.

[0047] In step S10, the processor 20 (that is, the log acquisition module 22, the watchdog timer module 24, and the power supply control module 26) is powered on prior to the log acquisition target device.

[0048] In step S12, the log acquisition module 22 starts acquiring log information from the log acquisition target device. The log acquisition module 22 sequentially acquires the log information and stores it in the log memory 22a.

[0049] In step S14, the power supply control module 26 turns on the power supply of the monitored processor 12. At the same time, in step S16, the watchdog timer module 24 starts monitoring the monitored processor 12. That is, the watchdog timer module 24 starts counting the count value.

[0050] In step S18, the monitored processor 12 starts sending an initialization signal to the watchdog timer module 24 immediately after power-on.

[0051] In step S20, the monitored processor 12 accesses the log memory 22a and determines whether or not the log latch flag set by the log acquisition module 22 is stored in the log memory 22a. The log latch flag is set in step S20 when the monitored processor 12 is restarted by the power control module 26 in response to an abnormality occurring in the operation of the log acquisition target device. If the log latch flag is stored, the process proceeds to the flowchart of FIG. 3, which will be described later. Here, it is assumed that the log latch flag is not set, and in step S22, the monitored processor 12 continues to send the initialization signal as long as it is operating normally.

[0052] In step S24, the watchdog timer module 24 determines whether a timeout has occurred (the count value has reached 0) or whether an abnormality signal has been received from the monitored processor 12. That is, the watchdog timer module 24 determines whether an abnormality has occurred in the operation of the device whose log is to be acquired. If an abnormality has occurred in the operation of the device whose log is to be acquired, the process proceeds to step S26.

[0053] In step S26, the watchdog timer module 24 sets a watchdog firing flag and stores it in the firing flag memory 24a. The watchdog timer module 24 also notifies the log acquisition module 22 and the power supply control module 26 that the watchdog firing memory has been set.

[0054] In step S28, the log acquisition module 22 sets a log latch flag based on the watchdog firing flag, and stores the flag in the log memory 22a.

[0055] In step S30, the log acquisition module 22 stops acquiring log information. That is, the log acquisition module 22 stops acquiring log information before the log acquisition target device is reset. As a result, the log information acquired up to that point is held in the log memory 22a.

[0056] In step S32, the watchdog timer module 24 issues a reset request to the power supply control module 26. That is, the watchdog timer module 24 issues a reset request after the log acquisition module 22 stops acquiring log information.

[0057] In step S34, the power supply control module 26 performs reset control for resetting the log acquisition target device.

[0058] FIG. 3 is a flowchart showing the process when the log latch flag is set in step S20.

[0059] In step S40, the monitored processor 12 reads the log information from the log memory 22a and stores it in the non-volatile memory 16. After storing the log information in the non-volatile memory 16, the monitored processor 12 transmits a log information transfer completion notification to the processor 20 (i.e., the log acquisition module 22 and the watchdog timer module 24). Thereafter, the process returns to step S22, and the monitored processor 12 continues to transmit the initialization signal to the watchdog timer module 24 as long as it is operating normally.

[0060] In step S42, the log acquisition module 22 clears the log latch flag (deletes it from the log memory 22a) in response to the log information movement completion notification from the monitored processor 12. Thereafter, the process returns to step S12, and the log acquisition module 22 resumes acquisition of log information.

[0061] In step S44, the watchdog timer module 24 clears the watchdog firing flag (deletes it from the firing flag memory 24a) in response to the log information movement completion notification from the monitored processor 12. Thereafter, the process returns to step S16, and the watchdog timer module 24 continues monitoring the monitored processor 12.

[0062] Although the embodiment of the present invention has been described above, the present invention is not limited to the above embodiment, and various modifications are possible without departing from the spirit of the present invention.

[0063] For example, in the present embodiment, the processor 20 performs the functions of the log acquisition module 22, the watchdog timer module 24, and the power supply control module 26, but each module may be realized by a separate processor. That is, the information processing device 10 may include a first processor that performs the function of the log acquisition module 22, a second processor that performs the function of the watchdog timer module 24 and is different from the first processor, and a third processor that performs the function of the power supply control module 26 and is different from the first and second processors.

[0064] Also, the monitored processor 12 itself may fulfill the functions of the log acquisition module 22, the watchdog timer module 24, and the power supply control module 26. In this case, the log acquisition module 22 cannot acquire log information at the start-up of the monitored processor 12, but as long as the log acquisition module 22, the watchdog timer module 24, and the power supply control module 26 in the monitored processor 12 are operating normally, each module can perform the above-mentioned processing. For example, the watchdog timer module 24 can detect that an abnormality has occurred in the operation of the parts of the monitored processor 12 other than the watchdog timer module 24. Then, the power supply control module 26 may subject at least the parts of the monitored processor 12 other than the log memory 22a to reset control.

[0065] (Additional Note) (((1))) A processor and a log memory, The processor, acquiring log information indicating an operating status of a log acquisition target device, which is at least one of a processor to be monitored and a peripheral device other than the processor to be monitored within the apparatus, and storing the log information in the log memory; raising a flag indicating that an abnormality has occurred in the operation of the device to be logged in response to the fact that an initialization signal has not been input from the processor to be monitored within a predetermined period, or the fact that an abnormality signal indicating that an abnormality has occurred in the operation of the peripheral device has been input from the processor to be monitored; based on the flag, before resetting the log acquisition target device in which an abnormality has occurred in operation, stopping acquisition of the log information and storing the log information acquired up to that point in the log memory; performing reset control for resetting the log acquisition target device in which an abnormality has occurred in operation without resetting the log memory after stopping the acquisition of the log information; 23. An information processing apparatus comprising: (((2))) the processor is a processor separate from the monitored processor, and starts acquiring the log information before the monitored processor is powered on; 4. The information processing device according to claim 1, (((3))) After the reset control, the monitored processor reads out the log information from the log memory and stores the log information in a non-volatile memory. 4. The information processing device according to claim 1, (((4))) A computer having a log memory, acquiring log information indicating an operating status of a log acquisition target device, which is at least one of a processor to be monitored and a peripheral device other than the processor to be monitored within the apparatus, and storing the log information in the log memory; raising a flag indicating that an abnormality has occurred in the operation of the device to be logged in response to a failure to input an initialization signal from the processor to be monitored within a predetermined period, or a signal indicating that an abnormality has occurred in the operation of the peripheral device being input from the processor to be monitored; before resetting the log acquisition target device in which an abnormality has occurred based on the flag, acquisition of the log information is stopped and the log information acquired up to that point is stored in the log memory; performing a reset control for resetting the log acquisition target device in which an abnormality has occurred, without resetting the log memory, based on the flag; 2. An information processing program comprising: (((5))) a first processor that functions as a log acquisition module; a second processor that functions as a timer module; a third processor functioning as a reset control module; Log memory; Equipped with The first processor acquires log information indicating an operating status of a log acquisition target device, which is at least one of a monitored processor and a peripheral device other than the monitored processor in the apparatus, and stores the log information in the log memory; the second processor sets a flag indicating that an abnormality has occurred in the operation of the log acquisition target device in response to a failure to input an initialization signal from the monitored processor within a predetermined period or a signal indicating that an abnormality has occurred in the operation of the peripheral device being input from the monitored processor; the first processor, prior to resetting the log acquisition target device in which an abnormality has occurred based on the flag, stops acquiring the log information and stores the log information acquired up to that point in the log memory; the third processor performs reset control for resetting the log acquisition target device in which an abnormality has occurred in operation, without resetting the log memory, based on the flag; 23. An information processing apparatus comprising:

[0066] According to the invention relating to (((1))), (((4))), or (((5))), when log information of a device that is a target for log acquisition is stored in a log memory, if an abnormality occurs in the operation of the device that is a target for log acquisition, the log information of the device that is a target for log acquisition at the time of the abnormality occurrence can be acquired and the device that is a target for log acquisition can be reset. According to the invention pertaining to (((2))), it is possible to obtain log information when the monitored processor is powered on. According to the invention related to (((3))), it is possible to retain the log information even after resetting the log memory. [Explanation of symbols]

[0067] 10 information processing device, 12 monitored processor, 14 peripheral device, 16 non-volatile memory, 18 power supply circuit, 20 processor, 22 log acquisition module, 22a log memory, 24 watchdog timer module, 24a ignition flag memory, 26 power supply control module.

Claims

1. A processor and a log memory, The processor, acquiring log information indicating an operating status of a log acquisition target device, which is at least one of a processor to be monitored and a peripheral device other than the processor to be monitored within the apparatus, and storing the log information in the log memory; raising a flag indicating that an abnormality has occurred in the operation of the device to be logged in response to the fact that an initialization signal has not been input from the processor to be monitored within a predetermined period, or the fact that an abnormality signal indicating that an abnormality has occurred in the operation of the peripheral device has been input from the processor to be monitored; based on the flag, before resetting the log acquisition target device in which an abnormality has occurred in operation, stopping acquisition of the log information and storing the log information acquired up to that point in the log memory; performing reset control for resetting the log acquisition target device in which an abnormality has occurred in operation without resetting the log memory after stopping the acquisition of the log information; 23. An information processing apparatus comprising:

2. the processor is a processor separate from the monitored processor, and starts acquiring the log information before the monitored processor is powered on; 2. The information processing apparatus according to claim 1,

3. After the reset control, the monitored processor reads out the log information from the log memory and stores the log information in a non-volatile memory.

2. The information processing apparatus according to claim 1,

4. A computer having a log memory, acquiring log information indicating an operating status of a log acquisition target device, which is at least one of a processor to be monitored and a peripheral device other than the processor to be monitored within the apparatus, and storing the log information in the log memory; raising a flag indicating that an abnormality has occurred in the operation of the device to be logged in response to a failure to input an initialization signal from the processor to be monitored within a predetermined period, or a signal indicating that an abnormality has occurred in the operation of the peripheral device being input from the processor to be monitored; before resetting the log acquisition target device in which an abnormality has occurred based on the flag, acquisition of the log information is stopped and the log information acquired up to that point is stored in the log memory; performing a reset control for resetting the log acquisition target device in which an abnormality has occurred, without resetting the log memory, based on the flag; 2. An information processing program comprising:

5. a first processor that functions as a log acquisition module; a second processor functioning as a timer module; a third processor functioning as a reset control module; Log memory; Equipped with The first processor acquires log information indicating an operating status of a log acquisition target device, which is at least one of a monitored processor and a peripheral device other than the monitored processor in the apparatus, and stores the log information in the log memory; the second processor sets a flag indicating that an abnormality has occurred in the operation of the log acquisition target device in response to a failure to input an initialization signal from the monitored processor within a predetermined period, or a signal indicating that an abnormality has occurred in the operation of the peripheral device being input from the monitored processor; the first processor, prior to resetting the log acquisition target device in which an abnormality has occurred based on the flag, stops acquiring the log information and stores the log information acquired up to that point in the log memory; the third processor performs reset control for resetting the log acquisition target device in which an abnormality has occurred in operation, without resetting the log memory, based on the flag; 23. An information processing apparatus comprising:

Citation Information

Patent Citations

  • Simple multiprocessor monitoring system

    JP1997114701A

  • Systems and methods for intelligent and flexible management and monitoring of computer systems

    JP2014502378A

  • Image formation device

    JP2019155686A