Anomaly monitoring device, electronic device, anomaly monitoring method, and program
The abnormality monitoring device records startup sequence abnormalities using a CPLD and BIOS, addressing the challenge of logging device startup issues, enabling rapid identification and analysis.
Patent Information
- Application Number
- JP2024025789
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-02-22
- Publication Date
- 2025-09-03
- Estimated Expiration
- 2044-02-22
AI Technical Summary
Existing devices fail to record logs indicating the stage of device startup sequence where abnormalities occur, necessitating device retrieval and reproduction tests to determine the cause, which is time-consuming and difficult if the abnormality cannot be reproduced.
An abnormality monitoring device with a memory area and recording means to monitor and record information about abnormalities during the device startup sequence, using a CPLD to set error bits and a BIOS to log the status, enabling quick identification of the abnormality type.
Enables quick and efficient recording of abnormality information during device startup, allowing for rapid analysis of the cause without the need for separate storage devices and facilitating quicker troubleshooting.
Smart Images

Figure 2025128840000001_ABST
Abstract
Description
[Technical Field]
[0001] The present disclosure relates to an abnormality monitoring device, an electronic device, an abnormality monitoring method, and a program. [Background technology]
[0002] Industrial computer equipment has a function to record in a log any abnormalities (failures) that occur during use of the equipment. The equipment starts collecting logs after it has fully started up or after the OS (Operating System) has started up.
[0003] During the device startup sequence, the device is in a state before power is supplied to the storage unit and startup occurs. Therefore, if an abnormality occurs during the device startup sequence, the status monitoring program installed in the device cannot record a log indicating at which stage of the device startup sequence the abnormality occurred.
[0004] For example, Patent Document 1 describes a device that identifies a fault by observing a power sequence signal that is sent and received between a main device and a power supply device when the power supply device that supplies power to the main device is turned on or off. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] International Publication No. 2018 / 016554 Summary of the Invention [Problem to be solved by the invention]
[0006] In order to determine the cause of an abnormality that has occurred in a device, the user must obtain the device on which the abnormality occurred and perform a reproduction test. However, since the device must be obtained, it takes time to determine the cause, and even if the device is obtained, if the same abnormality cannot be reproduced, further investigation is difficult. Therefore, a method that makes it easier to determine the cause of an abnormality is desired.
[0007] The device described in Patent Document 1 requires a means for observing a power sequence signal, and the device does not record a log indicating at what stage of the device startup sequence an abnormality occurred.
[0008] An object of the present disclosure is to provide an abnormality monitoring device, an electronic device, an abnormality monitoring method, and a program that solve the above-mentioned problems. [Means for solving the problem]
[0009] An abnormality monitoring device according to one aspect of the present disclosure includes a memory area and a recording means for monitoring a sequence for starting up a monitored device, and when an abnormality occurs in the sequence, recording information indicating the type of the abnormality in the memory area.
[0010] An electronic device according to one aspect of the present disclosure includes the abnormality monitoring device described above and a power supply.
[0011] An abnormality monitoring method according to one aspect of the present disclosure monitors a sequence for starting up a monitored device, and when an abnormality occurs in the sequence, a recording means records information indicating the type of the abnormality in a memory area.
[0012] A program according to one aspect of the present disclosure causes a computer to function as a recording means that monitors a sequence for starting up a source and, when an abnormality occurs in the sequence, records information indicating the type of the abnormality in a memory area. [Effects of the Invention]
[0013] According to the above aspect, it is possible to monitor the sequence for starting up the monitored device and record information about an abnormality that occurs in the sequence. [Brief explanation of the drawings]
[0014] [Figure 1] FIG. 2 is a hardware configuration diagram of a computer device according to the present disclosure. [Figure 2] FIG. 2 is a functional block diagram of a computer device according to the present disclosure. [Figure 3] 10 is a flowchart illustrating the operation of a computer device according to the present disclosure. [Figure 4] 10 is a flowchart illustrating the operation of a device included in a computer apparatus according to the present disclosure. [Figure 5] 10 is a flowchart illustrating the operation of a computer device according to the present disclosure. [Figure 6] 1 is a functional block diagram of an abnormality monitoring device according to the present disclosure. DETAILED DESCRIPTION OF THE INVENTION
[0015] Each embodiment will be described below with reference to the drawings. In all drawings, the same or corresponding components are designated by the same reference numerals, and common descriptions will be omitted.
[0016] First Embodiment An embodiment of the present disclosure will be described below with reference to the drawings. Fig. 1 shows the hardware configuration of a computer device 100 according to this embodiment. For example, the computer device 100 is an industrial electronic device.
[0017] The computer device 100 is a computer equipped with various hardware components such as a CPU (Central Processing Unit) 101, a ROM (Read Only Memory) 102, a RAM (Random Access Memory) 103, other storage devices 104, a display device 105, and the like.
[0018] 2 shows the functional configuration of the computer device 100. The computer device 100 includes a power supply 1, a motherboard 2, a storage unit 3, and a display unit 4.
[0019] The power supply 1 converts AC power supplied from a commercial AC power supply into DC power and supplies the DC power to the motherboard 2 and the storage unit 3. The motherboard 2 functions as an abnormality monitoring device and includes a CPLD (Complex Programmable Logic Device) 21 and a BIOS (Basic Input Output System) Flash 22.
[0020] The CPLD 21 can operate in parallel with a device startup sequence for starting up the computer device 100 (monitored device) including the motherboard 2 and storage unit 3 when the power supply 1 is turned on. The CPLD 21 includes a memory area 211 in which a program for the device startup sequence is stored. The memory area 211 includes a register in which information regarding an abnormality in the device startup sequence is recorded. The computer device 100 may also include devices other than the CPLD that can operate in parallel with the device startup sequence.
[0021] The BIOS Flash 22 includes a storage area 221 in which a BIOS program is stored. The storage area 221 includes an area in which an event log indicating an abnormality state (type) in the device startup sequence is recorded. The BIOS starts up after the computer device 100 starts up but before the OS 31 starts up, and manages and controls the hardware installed in the computer device 100.
[0022] The storage unit 3 stores an OS 31 program, which starts operation after the computer device 100 starts up and the BIOS completes a power-on self-test (POST). The display unit 4 is a display device such as a liquid crystal display. The display unit 4 may be a device independent of the computer device 100.
[0023] The CPLD 21, the BIOS, and programs for implementing the respective functions of the BIOS may be recorded on a computer-readable recording medium. The computer system may load and execute the programs recorded on this recording medium. Note that the term "computer system" here includes hardware such as an OS and peripheral devices. It also includes a WWW system equipped with a website provision environment (or display environment). Furthermore, "computer-readable recording medium" refers to portable media such as flexible disks, optical magnetic disks, ROMs, and CD-ROMs, as well as storage devices such as hard disks built into computer systems. Furthermore, "computer-readable recording medium" also includes devices that retain programs for a certain period of time, such as volatile memory (RAM) within computer systems that function as servers or clients when a program is transmitted via a network such as the Internet or a communication line such as a telephone line.
[0024] The program may also be transmitted from a computer system storing the program in a storage device or the like to another computer system via a transmission medium or by transmission waves in the transmission medium. Here, the "transmission medium" that transmits the program refers to a medium that has the function of transmitting information, such as a network (communication network) such as the Internet or a communication line (communication line) such as a telephone line. The program may also be a program that realizes part of the above-mentioned functions. Furthermore, the program may be a so-called differential file (differential program) that can realize the above-mentioned functions in combination with a program already recorded in the computer system.
[0025] Fig. 3 is a flowchart showing the overall operation of the computer device 100. Fig. 4 is a flowchart showing the operation of the CPLD 21. The operation of the computer device 100 will be described with reference to Figs.
[0026] When a user turns on the power supply 1 and issues an instruction to start up the computer device 100, the computer device 100 starts a device startup sequence. Some kind of abnormality occurs in the device startup sequence (step S101). Due to the occurrence of the abnormality, the startup of the computer device 100 fails (step S102).
[0027] The CPLD 21 monitors the device startup sequence. When an abnormality occurs in the device startup sequence, the CPLD 21 sets the "PWRSEQ_TO" bit of the "ErrFct2" register in the storage area 211 to 1. The "PWRSEQ_TO" bit indicates that an abnormality has occurred in the device startup sequence. This causes the CPLD 21 to record information indicating the occurrence of an abnormality in the storage area 211 (step S201). If the value of the "PWRSEQ_TO" bit is 1, the "PWRSEQ_TO" bit indicates that an abnormality has occurred. If the value of the "PWRSEQ_TO" bit is 0, the "PWRSEQ_TO" bit indicates that no abnormality has occurred.
[0028] At the same time, the CPLD 21 records the status information it holds as "PWRSEQ_TO_ST" in the "PSToSts" register in the storage area 211. "PWRSEQ_TO_ST" indicates the status code when an abnormality occurs in the device startup sequence. As a result, the CPLD 21 records information indicating the specific status of the abnormality in the storage area 211 (step S202).
[0029] After the startup of the computer device 100 fails, the user manually forcibly turns off the power supply 1 and then turns it on again. The computer device 100 restarts the device startup sequence to restart the computer device 100 (step S103).
[0030] If the device startup sequence ends normally and the computer device 100 starts up (YES in step S104), the BIOS in the BIOS Flash 22 starts up and starts POST (step S105). If the device startup sequence does not end normally (terminates abnormally) and the startup of the computer device 100 fails again (NO in step S104), the BIOS does not start up. Therefore, the BIOS does not record information about the abnormality in the device startup sequence in the event log.
[0031] After the BIOS starts the POST, the BIOS checks the value of the "PWRSEQ_TO" bit in the "ErrFct2" register in the memory area 211 during the execution of the POST (step S106). If the value of the "PWRSEQ_TO" bit is 0, the BIOS does not record information about an abnormality in the device startup sequence in the event log.
[0032] If the value of the "PWRSEQ_TO" bit is 1, the BIOS checks "PWRSEQ_TO_ST" in the "PSToSts" register in the memory area 211, and acquires the status code indicated by "PWRSEQ_TO_ST." For example, if the status code indicates "ST_CPU," the status code indicates that an abnormality has occurred in the CPU 101. The BIOS displays a POST error corresponding to the status code on the display unit 4. For example, the POST error indicates an abnormality in the voltage or temperature of the CPU 101 (step S107). The BIOS also records the POST error in the event log in the memory area 221 (step S108). The order of steps S107 and S108 is arbitrary.
[0033] Thereafter, the OS 31 starts operating, and the user can use the computer device 100.
[0034] Fig. 5 shows a modification of the overall operation of the computer device 100 shown in Fig. 3. In Fig. 5, the description of the same parts as in Fig. 3 will be omitted, and only the parts that differ from Fig. 3 will be described.
[0035] After the BIOS starts the POST in step S105, the BIOS executes step S107 without checking the value of the "PWRSEQ_TO" bit in the "ErrFct2" register. Except for this, Figure 5 is the same as Figure 3.
[0036] In the above example, the storage area 211 of the CPLD 21 holds information about abnormalities in the device startup sequence. The information may be held in a storage area of a device other than the CPLD 21. Also, in the above example, the storage area 221 of the BIOS Flash 22 holds an event log. The event log may be held in a storage area of a device other than the BIOS Flash 22.
[0037] The computer device 100 of this embodiment can record information about an abnormality that occurs in the device startup sequence in the storage area 211. Furthermore, because the BIOS records the abnormality information as an event log in the storage area 221, the user can operate the BIOS menu screen and display the event log on an external display unit of the computer device 100, thereby enabling the user to analyze the cause of the abnormality more quickly.
[0038] By using the CPLD 21, the computer device 100 can easily record information about an abnormality that occurs during the device startup sequence.
[0039] The CPLD 21 records the abnormality information in the storage area 211 of the CPLD 21. Therefore, there is no need to provide a separate storage device for recording the abnormality information.
[0040] The BIOS records the event log in the storage area 221 of the BIOS Flash 22. Therefore, there is no need to provide a separate storage device for recording the event log.
[0041] <Second embodiment> An embodiment of the present disclosure will be described below with reference to the drawings. Fig. 6 shows the functional configuration of an anomaly monitoring device 101 of this embodiment.
[0042] The abnormality monitoring device 101 includes a recording means 5 and a storage area 6. It monitors the sequence for starting up the monitored device, and when an abnormality occurs in the sequence, the recording means 5 records information indicating the type of abnormality in the storage area 6. The abnormality monitoring device 101 can record information about an abnormality that occurs in the sequence for starting up the monitored device.
[0043] Although the present disclosure has been described above with reference to the embodiments, the present disclosure is not limited to the above-described embodiments. Various modifications that can be understood by those skilled in the art can be made to the configuration and details of the present disclosure within the scope of the present disclosure. Furthermore, each embodiment can be combined with other embodiments as appropriate.
[0044] Some or all of the above-described embodiments can be described as, but are not limited to, the following supplementary notes.
[0045] (Appendix 1) A storage area; a recording means for monitoring a sequence for starting up a monitoring target device, and when an abnormality occurs in the sequence, for recording information indicating the type of the abnormality in the storage area; Equipped with Abnormality monitoring device.
[0046] (Appendix 2) a second storage area different from the storage area; a second recording means for recording the information in the second storage area by a function of a BIOS (Basic Input Output System) after the monitoring target device has restarted; Equipped with 2. The anomaly monitoring device according to claim 1.
[0047] (Appendix 3) a display means for displaying the information by a function of a BIOS (Basic Input Output System) after the monitored device is restarted; 10. The abnormality monitoring device according to claim 1 or 2.
[0048] (Appendix 4) the recording means records first information indicating the occurrence of the abnormality and second information indicating the type of the abnormality in the storage area; When the first information is recorded in the storage area, the second recording means acquires the second information from the storage area and records it in the second storage area. 4. The abnormality monitoring device according to claim 2 or 3.
[0049] (Appendix 5) the recording means is a CPLD (Complex Programmable Logic Device); 5. The abnormality monitoring device according to any one of appendices 1 to 4.
[0050] (Appendix 6) The storage area is a storage area within the CPLD. 6. The abnormality monitoring device according to claim 5.
[0051] (Appendix 7) before a BIOS (Basic Input Output System) is started, the recording means records the information in the storage area; 7. An abnormality monitoring device according to any one of appendices 1 to 6.
[0052] (Appendix 8) An abnormality monitoring device according to any one of appendices 1 to 7; Power supply and An electronic device comprising:
[0053] (Appendix 9) a second storage area different from the storage area; a second recording means for recording the information in the second storage area by a function of a BIOS (Basic Input Output System) after the monitoring target device has restarted; Equipped with 10. The electronic device described in Appendix 8.
[0054] (Appendix 10) a display means for displaying the information by a function of a BIOS (Basic Input Output System) after the monitored device is restarted; 10. The electronic device according to claim 8 or 9.
[0055] (Appendix 11) the recording means records first information indicating the occurrence of the abnormality and second information indicating the type of the abnormality in the storage area; When the first information is recorded in the storage area, the second recording means acquires the second information from the storage area and records it in the second storage area. 11. The electronic device according to claim 9 or 10.
[0056] (Appendix 12) the recording means is a CPLD (Complex Programmable Logic Device); 12. The electronic device of any one of appendices 8 to 11.
[0057] (Appendix 13) The storage area is a storage area within the CPLD. 13. The electronic device of claim 12.
[0058] (Appendix 14) before a BIOS (Basic Input Output System) is started, the recording means records the information in the storage area; 14. The electronic device of any one of appendices 8 to 13.
[0059] (Appendix 15) a sequence for starting up the monitored device is monitored, and when an abnormality occurs in the sequence, a recording means records information indicating the type of the abnormality in a storage area; Anomaly monitoring method.
[0060] (Appendix 16) After the monitoring target device is restarted, a second recording means records the information in a second storage area different from the storage area by a function of a BIOS (Basic Input Output System). 16. The anomaly monitoring method according to claim 15.
[0061] (Appendix 17) After the monitored device is restarted, a display means displays the information using a function of a BIOS (Basic Input Output System). 17. The abnormality monitoring method according to claim 15 or 16.
[0062] (Appendix 18) the recording means records first information indicating the occurrence of the abnormality and second information indicating the type of the abnormality in the storage area; When the first information is recorded in the storage area, the second recording means acquires the second information from the storage area and records it in the second storage area. 18. The abnormality monitoring method according to claim 16 or 17.
[0063] (Appendix 19) the recording means is a CPLD (Complex Programmable Logic Device); 19. An abnormality monitoring method according to any one of appendices 15 to 18.
[0064] (Appendix 20) The storage area is a storage area within the CPLD. 19. The anomaly monitoring method according to claim 19.
[0065] (Appendix 21) before a BIOS (Basic Input Output System) is started, the recording means records the information in the storage area; 21. An abnormality monitoring method according to any one of appendices 15 to 20.
[0066] (Appendix 22) a recording means for monitoring a sequence for starting up the monitored device, and when an abnormality occurs in the sequence, for recording information indicating the type of the abnormality in a storage area; A program that allows a computer to function as a
[0067] (Appendix 23) After the monitoring target device is restarted, the computer is caused to function as a second recording means for recording the information in a second storage area different from the storage area by a function of a Basic Input Output System (BIOS). 22. The program of claim 1.
[0068] (Appendix 24) After the monitoring target device is restarted, the computer is made to function as a display unit that displays the information using a function of a Basic Input Output System (BIOS). 22. The program of claim 23.
[0069] (Appendix 25) recording first information indicating the occurrence of the abnormality and second information indicating the type of the abnormality in the storage area; If the first information is recorded in the storage area, the second information is acquired from the storage area and recorded in the second storage area. 25. The program of claim 23 or 24.
[0070] (Appendix 26) The information is recorded in the storage area by using a CPLD (Complex Programmable Logic Device). 26. The program of any one of appendices 22 to 25.
[0071] (Appendix 27) The storage area is a storage area within the CPLD. 26. The program described in Appendix 26.
[0072] (Appendix 28) Before a BIOS (Basic Input Output System) is started, the information is recorded in the storage area. 28. The program of any one of appendices 22 to 27. [Explanation of symbols]
[0073] 1 power supply 2 Motherboard 3 Storage section 4 Display 5. Recording Method 6,211,221 storage area 21 CPLD 22 BIOS Flash 31 OS 100 Computer equipment 101 Abnormality monitoring device
Claims
1. A storage area; a recording means for monitoring a sequence for starting up a monitoring target device, and when an abnormality occurs in the sequence, for recording information indicating the type of the abnormality in the storage area; Equipped with Abnormality monitoring device.
2. a second storage area different from the storage area; a second recording means for recording the information in the second storage area by a function of a Basic Input Output System (BIOS) after the monitoring target device has restarted; Equipped with The abnormality monitoring device according to claim 1 .
3. a display unit that displays the information using a BIOS (Basic Input Output System) function after the monitored device is restarted; The abnormality monitoring device according to claim 1 or 2.
4. the recording means records first information indicating the occurrence of the abnormality and second information indicating the type of the abnormality in the storage area; When the first information is recorded in the storage area, the second recording means acquires the second information from the storage area and records it in the second storage area. The abnormality monitoring device according to claim 2.
5. the recording means is a CPLD (Complex Programmable Logic Device); The abnormality monitoring device according to claim 1 or 2.
6. The storage area is a storage area within the CPLD. The abnormality monitoring device according to claim 5.
7. before a Basic Input Output System (BIOS) is started, the recording means records the information in the storage area; The abnormality monitoring device according to claim 1 or 2.
8. The abnormality monitoring device according to claim 1 or 2; Power supply and An electronic device comprising:
9. a sequence for starting up the monitored device is monitored, and when an abnormality occurs in the sequence, a recording means records information indicating the type of the abnormality in a storage area; Anomaly monitoring method.
10. a recording means for monitoring a sequence for starting up the monitored device, and when an abnormality occurs in the sequence, for recording information indicating the type of the abnormality in a storage area; A program that allows a computer to function as a
Citation Information
Patent Citations
Fault content identification device, fault content identification method, and recording medium in which fault content identification program is stored
WO2018016554A1