Monitoring device, monitoring program, and monitoring method
A dual-processor system for monitoring devices addresses delayed abnormality detection by implementing timely fail-safe software processing, reducing system shutdowns and costs through efficient abnormality detection and intervention.
Patent Information
- Application Number
- JP2023084410
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-05-23
- Publication Date
- 2024-12-05
AI Technical Summary
Existing monitoring systems for devices detect abnormalities with a delay, leading to inadequate fail-safe processing, which can result in system shutdowns and increased costs due to hardware interventions.
A dual-processor system where one processor performs regular polling and excludes sensors exceeding a first threshold, while a second processor conducts shorter-cycle polling for sensors exceeding a second threshold, enabling timely fail-safe software processing.
This approach reduces the time lag in detecting abnormalities, allowing for appropriate fail-safe software processing and minimizing hardware interventions, thus reducing costs and maintaining system availability.
Smart Images

Figure 2024168027000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a monitoring device, a monitoring program, and a monitoring method. [Background technology]
[0002] 2. Description of the Related Art There is known a monitoring apparatus that monitors the states of a plurality of devices (apparatus) by acquiring (polling) sensor values, which are measurement results of the states of the devices, from each of a plurality of sensors mounted on the devices at a predetermined period.
[0003] When the sensor value exceeds a threshold, the monitoring device determines that the device has transitioned from a normal state to an abnormal state and notifies the operator of the abnormality in the device. Depending on the type of abnormality in the device, the monitoring device may also perform fail-safe processing such as stopping the operation of the device.
[0004] Devices whose status is monitored include, for example, a CPU (Central Processing Unit), memory, a PSU (Power Supply Unit), a battery, etc. Each of the sensors that sense the status of these devices measures, for example, the CPU temperature, memory temperature, PSU temperature, battery temperature, etc. as a sensor value. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] International Publication No. 2021 / 100160 Brochure [Patent Document 2] JP 2019-186618 A [Patent Document 3] JP 2011-34320 A Summary of the Invention [Problem to be solved by the invention]
[0006] Since the monitoring device monitors the state of the device by acquiring the sensor value at regular intervals, depending on the timing of the occurrence of an abnormality in the device, the monitoring device may detect the abnormality in the device with a delay of nearly one cycle from the occurrence of the abnormality.
[0007] In this case, the fail-safe process that allows the device to autonomously return to a normal state from an abnormal state, for example, software processing such as clocking down the CPU under control of a monitoring device, may not be able to keep up, and a hardware fail-safe process may be activated instead. Hardware fail-safe processes include processes that prevent the device from autonomously returning to a normal state from an abnormal state, such as the operation of a fuse in the device.
[0008] When such hardware-based fail-safe processing is activated, the continued operation of the computer may be hindered due to the shutdown of the computer (system) equipped with the device, the need to replace the device, etc. Furthermore, costs such as equipment costs and labor costs may be incurred due to the device replacement work.
[0009] In one aspect, an object of the present invention is to enable a monitoring device that detects an abnormality based on a sensor value to appropriately execute fail-safe processing. [Means for solving the problem]
[0010] In one aspect, the monitoring device may include a first processor communicatively connected to each of a plurality of sensors, and a second processor communicatively connected to each of the plurality of sensors. The first processor may execute a first polling process to acquire a sensor value from each of the plurality of sensors in a first monitoring period, and when a first sensor whose sensor value acquired by the first processor exceeds a first threshold is detected, the first sensor may be excluded from a target of the first polling process. The second processor may execute a second polling process to acquire a sensor value from each of one or more of the first sensors in a second monitoring period shorter than the first monitoring period, and when a second sensor whose sensor value acquired by the second processor exceeds a second threshold different from the first threshold and for detecting an abnormality is detected, a fail-safe process may be executed for an equipment that is a measurement target of the second sensor. Effect of the Invention
[0011] In one aspect, the present invention enables a monitoring device that detects an abnormality based on a sensor value to appropriately execute fail-safe processing. [Brief description of the drawings]
[0012] [Figure 1] FIG. 2 is a block diagram showing an example of a hardware configuration of a system according to an embodiment. [Diagram 2] FIG. 2 is a block diagram showing an example of a software configuration of a monitoring device according to an embodiment. [Diagram 3] FIG. 11 is a diagram showing timing of abnormality detection according to a comparative example. [Figure 4] FIG. 11 is a diagram illustrating an example of timing of abnormality detection by a monitoring device according to an embodiment. [Diagram 5] FIG. 11 is a diagram illustrating an example of sensor information. [Figure 6] FIG. 11 is a diagram illustrating an example of processor information. [Figure 7] FIG. 11 is a diagram for explaining an example of a change in sensor information. [Figure 8] 11 is a diagram for explaining an example of a fail-safe process performed by an abnormality determination unit; FIG. [Figure 9] FIG. 11 is a diagram for explaining an example of polling upper limit number control. [Figure 10] 10 is a flowchart illustrating an example of an operation of an operation control unit according to an embodiment. [Figure 11] 11 is a flowchart illustrating an example of the operation of a processing unit #0 according to an embodiment. [Figure 12] 11 is a flowchart illustrating an example of the operation of a processing unit #1 according to an embodiment. [Figure 13] 11 is a flowchart for explaining an example of an operation of controlling an upper limit of the polling number by an operation control unit according to an embodiment; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. However, the embodiment described below is merely an example, and is not intended to exclude various modifications or application of techniques not specified below. For example, this embodiment can be modified in various ways without departing from the spirit of the invention. In the drawings used in the following description, parts with the same reference numerals represent the same or similar parts unless otherwise specified.
[0014] [A] Hardware configuration example Fig. 1 is a block diagram showing an example of a hardware configuration of a system 1 according to an embodiment. As shown in Fig. 1, the system 1 may include a monitoring device 2, a plurality of (m: m is an integer of 2 or more) sensors 3, and a plurality of (n: n is an integer of 2 or more) devices 4.
[0015] The sensor 3 measures the state of the device 4 that is the measurement (sensing) target, and outputs the measurement result (sensor value). The state measured by the sensor 3 includes various states used to detect computer abnormalities, such as temperature, voltage, current, and rotation speed.
[0016] The sensor 3 may be a built-in sensor provided in the device 4 to be measured, or may be an external sensor provided separately from the device 4. The number m of the sensors 3 may be the same as or different from the number n of the devices 4. For example, one sensor 3 may measure the states of multiple devices 4, or multiple sensors 3 may measure the state of one device 4.
[0017] The device 4 is a piece of equipment whose state is to be measured by the sensor 3. Examples of the device 4 include various components that various computers have, such as a processor (e.g., a CPU), a memory, a PSU, a battery, a hard disk drive (HDD), a solid state drive (SSD), a fan, and a system board.
[0018] At least one sensor 3 and at least one device 4 may be provided in a server 5. In the example of Fig. 1, m sensors 3 and n devices 4 are provided in the server 5. The server 5 is an example of a computer or an information processing device.
[0019] The monitoring device 2 is an example of a computer or information processing device, and monitors the states of the multiple devices 4 by acquiring (polling) multiple sensor values, which are measurement results of the states of the multiple devices 4, from each of the multiple sensors 3 at a predetermined cycle. In addition, the monitoring device 2 executes fail-safe processing for a device 4 for which an abnormality is detected from the sensor values.
[0020] As shown in FIG. 1, the monitoring device 2 may, as a HW configuration, illustratively include multiple processors 2a (two in the example of FIG. 1), a graphics processing device 2b, a memory 2c, a storage unit 2d, an IF (Interface) unit 2e, an IO unit 2f, and a reading unit 2g.
[0021] The processor 2a is an example of a processing unit that performs various controls and calculations. The processor 2a may be connected to each block in the monitoring device 2 via a bus 2j so that they can communicate with each other. In the example shown in Fig. 1, the processor 2a may be a multiprocessor. The processor 2a may be a multicore processor having multiple processor cores, or may have a configuration having multiple multicore processors.
[0022] Examples of the processor 2a include integrated circuits (ICs) such as a CPU, MPU, APU, DSP, ASIC, and FPGA. Note that a combination of two or more of these integrated circuits may be used as the processor 2a. MPU is an abbreviation for Micro Processing Unit. APU is an abbreviation for Accelerated Processing Unit. DSP is an abbreviation for Digital Signal Processor, ASIC is an abbreviation for Application Specific IC, and FPGA is an abbreviation for Field-Programmable Gate Array.
[0023] The graphics processing device 2b controls screen display for an output device such as a monitor in the IO unit 2f. The graphics processing device 2b may also have a configuration as an accelerator that executes machine learning processing and inference processing using a machine learning model. Examples of the graphics processing device 2b include various arithmetic processing devices, such as integrated circuits (ICs) such as GPUs (Graphics Processing Units), APUs, DSPs, ASICs, and FPGAs.
[0024] The memory 2c is an example of hardware that stores various types of data, programs, and other information. Examples of the memory 2c include a volatile memory such as a dynamic random access memory (DRAM) and / or a non-volatile memory such as a persistent memory (PM).
[0025] The storage unit 2d is an example of hardware that stores various data, programs, and other information. Examples of the storage unit 2d include various storage devices such as a magnetic disk device such as an HDD, a semiconductor drive device such as an SSD, and a non-volatile memory. Examples of the non-volatile memory include a flash memory, a storage class memory (SCM), and a read only memory (ROM).
[0026] The storage unit 2d may store a program 2h (monitoring program) that realizes all or part of the various functions of the monitoring device 2.
[0027] For example, the processor 2a of the monitoring device 2 can realize the functions of the monitoring device 2 (for example, the control unit 20 shown in FIG. 2) described below by expanding the program 2h stored in the storage unit 2d into the memory 2c and executing it. The program 2h may be divided into multiple programs and stored in a distributed manner in each of the multiple processors 2a. The multiple programs may have at least some functions in common (overlapping) with each other. The multiple processors 2a may realize all or some of the various functions of the monitoring device 2 by executing the programs stored in each of them in cooperation with each other.
[0028] The IF unit 2e is an example of a communication IF that controls connections and communications between the monitoring device 2 and the sensor 3, between the monitoring device 2 and the device 4, between the monitoring device 2 and a computer (not shown) (e.g., a management device used by an administrator of the system 1), etc. For example, the IF unit 2e may include an adapter that complies with various communication standards such as Ethernet (registered trademark), Infiniband, Millinet, and I2C (Inter-Integrated Circuit). The adapter may support one or both of wireless and wired communication methods. The adapter may also be compliant with optical communication such as FC (Fibre Channel).
[0029] Furthermore, the program 2h may be downloaded to the monitoring device 2 from a network (not shown) via the communication IF and stored in the storage unit 2d.
[0030] Furthermore, for example, the IF unit 2e may be communicatively connected to each of the sensors 3 via a communication path 1a shown by a solid line in Fig. 1, and may be communicatively connected to each of the devices 4 via a communication path 1b shown by a dashed line in Fig. 1. One or both of the communication paths 1a and 1b may include, for example, a cable or a bus conforming to the I2C communication standard.
[0031] The monitoring device 2 and the server 5 may be implemented as the same computer (system), for example, in a single housing, or may be installed separately from each other (for example, in the same server rack, in the same data center, in different facilities, etc.). When the monitoring device 2 and the server 5 are installed separately from each other, the communication paths 1a and 1b between the monitoring device 2 and the server 5 may include a network portion such as a LAN or the Internet instead of or in addition to a cable or bus conforming to the above-mentioned I2C communication standard.
[0032] The IO unit 2f may include one or both of an input device and an output device. Examples of the input device include a keyboard, a mouse, a touch panel, and the like. Examples of the output device include a display device such as a monitor, a projector, and a printer, and the like. The IO unit 2f may also include a touch panel or the like in which the input device and the output device are integrated. The output device may be connected to the graphics processing device 2b.
[0033] The reading unit 2g is an example of a reader that reads out data or program information recorded on the recording medium 2i. The reading unit 2g may include a connection terminal or device to which the recording medium 2i can be connected or inserted. Examples of the reading unit 2g include an adapter that complies with USB (Universal Serial Bus) or the like, a drive device that accesses a recording disk, and a card reader that accesses a flash memory such as an SD card. Note that the recording medium 2i may store a program 2h, and the reading unit 2g may read the program 2h from the recording medium 2i and store it in the storage unit 2d.
[0034] Examples of the recording medium 2i include non-transitory computer-readable recording media such as magnetic / optical disks and flash memories. Examples of the magnetic / optical disks include flexible disks, CDs (Compact Discs), DVDs (Digital Versatile Discs), Blu-ray Discs, and HVDs (Holographic Versatile Discs). Examples of the flash memory include semiconductor memories such as USB memories and SD cards.
[0035] The above-described hardware configuration of the monitoring device 2 is an example. Therefore, the hardware in the monitoring device 2 may be appropriately increased or decreased (for example, adding or deleting any block), divided, integrated in any combination, or added or deleted buses. For example, the monitoring device 2 may omit the IO unit 2f and the reading unit 2g.
[0036] Furthermore, the server 5 may have a HW configuration similar to the HW configuration of the monitoring device 2 illustrated in Fig. 1. The HW configuration of the server 5 may include at least one of the m sensors 3 and at least one of the n devices 4. The processor (CPU) of the server 5 can realize the functions of the server 5 by expanding a program stored in the storage unit into the memory and executing it.
[0037] [B] Software configuration example Fig. 2 is a block diagram showing an example of a software configuration of the monitoring device 2 according to an embodiment. As shown in Fig. 2, the monitoring device 2 may exemplarily include a memory unit 21, an operation control unit 22, a plurality of processing units 23 (two in the example of Fig. 2), a communication unit 28, and an output unit 29. The operation control unit 22, the plurality of processing units 23, the communication unit 28, and the output unit 29 are an example of the control unit 20.
[0038] The memory unit 21 is an example of a storage area, and stores various data used by the monitoring device 2. The memory unit 21 may be realized, for example, by a storage area included in one or both of the memory 2c and the storage unit 2d (see FIG. 1) of the monitoring device 2. The memory unit 21 may be accessible from each of the multiple processing units 23.
[0039] 2, the memory unit 21 may be capable of storing, for example, sensor information 21a and processor information 21b. Hereinafter, each of the sensor information 21a and the processor information 21b will be expressed in a table format, but this is not limiting, and each of the sensor information 21a and the processor information 21b may be data in various formats including a DB (database) format.
[0040] Each of the multiple processing units 23 executes a polling process. In one embodiment, each processing unit 23 may be a functional block executed by a different processor 2a.
[0041] Hereinafter, when it is necessary to distinguish between the processing units 23, they will be referred to as "processing unit #0" and "processing unit #1." Moreover, the processor 2a in which processing unit #0 operates will be referred to as "processor #0," and the processor 2a in which processing unit #1 operates will be referred to as "processor #1." Processor #0 is an example of a first processor connected to each of the multiple sensors 3 so as to be able to communicate with each of the multiple sensors 3, and processor #1 is an example of a second processor connected to each of the multiple sensors 3 so as to be able to communicate with each of the multiple sensors 3.
[0042] The processing units #0 and #1 according to an embodiment may execute, for example, the following processes (1) to (4).
[0043] (1) The processing unit #0 executes a first polling process for acquiring sensor values from each of the multiple sensors 3 in a first monitoring period.
[0044] (2) When processing unit #0 detects a first sensor whose sensor value acquired by processing unit #0 exceeds a first threshold, processing unit #0 excludes the first sensor from the targets of the first polling process.
[0045] (3) Processing unit #1 executes a second polling process for acquiring a sensor value from each of the one or more first sensors, at a second monitoring period that is shorter than the first monitoring period.
[0046] (4) When the sensor value acquired by processing unit #1 detects a second sensor that exceeds a second threshold different from the first threshold for detecting an abnormality, the processing unit #1 executes fail-safe processing for the equipment measured by the second sensor.
[0047] According to the above-mentioned processing unit #1, the second polling process can be executed in a second monitoring period shorter than the first monitoring period of the first polling process for one or more sensors 3 whose sensor values have been detected to exceed the first threshold by the first polling process by processing unit #0. Then, according to processing unit #1, when a sensor 3 whose value has exceeded the second threshold for detecting an abnormality is detected in the second polling process, a fail-safe process can be executed for the device 4 that is the measurement target of the sensor 3.
[0048] In this way, processing unit #1 (processor #1) can poll sensors 3 whose sensor values exceed the first threshold in the second monitoring period, which is shorter than the first monitoring period, without being affected by polling processes for other sensors 3 whose sensor values are equal to or less than the first threshold. This allows processing unit #1 to detect that the sensor value has exceeded the second threshold at an earlier stage than when processing unit #0 performs polling processes alone in the first monitoring period.
[0049] Therefore, the processing unit #1 can appropriately execute a software-based fail-safe process for the sensor 3 whose sensor value exceeds the second threshold. For example, the processing unit #1 can follow up the fail-safe process for the sensor 3 whose sensor value exceeds the second threshold, thereby preventing the occurrence of a hardware-based fail-safe in the device 4.
[0050] Fig. 3 is a diagram showing timing of abnormality detection according to a comparative example, and Fig. 4 is a diagram showing an example of timing of abnormality detection by the monitoring device 2 according to an embodiment. Note that Figs. 3 and 4 show an example in which the sensor value is the CPU temperature.
[0051] 3, a single processor 2a polls each of a plurality of (e.g., 10) sensors 3. Note that Pi (i is an integer equal to or greater than 1) indicates the timing at which the processor 2a acquires the CPU temperature from a given sensor 3 in the i-th polling.
[0052] As shown in FIG. 3, the processor 2a continues polling since the CPU temperature is equal to or lower than the warning threshold at P1 to P3. The processor 2a detects that the CPU temperature has exceeded the warning threshold at P4, and issues a warning (e.g., a notification to an administrator) regarding the sensor 3. After P4, the CPU temperature exceeds the abnormality threshold at time t, but the processor 2a does not detect the abnormality until the next polling timing, P5. The processor 2a detects that the CPU temperature has exceeded the abnormality threshold at P5, and attempts to execute fail-safe processing (e.g., a CPU clock down by software processing) for the device 4 that is the measurement target of the specific sensor 3.
[0053] However, as described above, depending on the timing of abnormality detection, the software-based fail-safe processing may not be completed in time, and the hardware-based fail-safe processing may be activated. In order to prevent the hardware-based fail-safe processing from being executed, it is important to detect an abnormality as early as possible after the sensor value exceeds the abnormality threshold.
[0054] Reference symbol A1 in FIG. 4 shows an example in which the processing unit #0 (processor #0) performs a first polling process on each of a plurality of (for example, ten) sensors 3.
[0055] Moreover, reference symbol A2 in FIG. 4 shows an example in which the processing unit #1 performs the second polling process on the sensor 3, of the multiple sensors 3, whose sensor value exceeds the first threshold value.
[0056] Note that Pi indicates the timing when the CPU temperature is obtained from a specified sensor 3 during the i-th polling by processing unit #0, and Qj (j is an integer greater than or equal to 1) indicates the timing when the CPU temperature is obtained from the specified sensor 3 during the j-th polling by processing unit #1.
[0057] As indicated by reference symbol A1, processing unit #0 continues the first polling process since the CPU temperature is equal to or lower than the warning threshold at P1 to P3. Processing unit #0 detects that the CPU temperature has exceeded the warning threshold at P4, and excludes a predetermined sensor 3 that measures the CPU temperature from the target of the first polling process. From P5 onwards, processing unit #0 performs the first polling process on nine sensors 3 excluding the predetermined sensor 3 out of the ten sensors 3. The warning threshold is an example of the first threshold. The warning threshold shown in FIG. 4 may be the same as or different from the warning threshold shown in FIG. 3.
[0058] As indicated by symbol A2, processing unit #1 executes the second polling process from Q1 (P4) at a polling interval shorter (e.g., 1 / 4) than the polling interval of processing unit #0 for a given sensor 3. Since the CPU temperature is equal to or lower than the abnormality threshold in Q2, processing unit #1 continues the second polling process.
[0059] In Q3, processing unit #1 detects that the CPU temperature has exceeded the abnormality threshold, i.e., detects that the sensor value of the specified sensor 3 indicates an abnormality (detects an abnormality). Processing unit #1 uses the abnormality detection as a trigger to attempt to execute fail-safe processing (e.g., clocking down the CPU by software processing, etc.) for the device 4 that is the measurement target of the specified sensor 3. The abnormality threshold is an example of a second threshold. The abnormality threshold shown in FIG. 4 may be the same as or different from the abnormality threshold shown in FIG. 3.
[0060] In this way, Q3 (see symbol A2), which is the timing when processing unit #1 detects the abnormality, is earlier than P5, which is the timing when processor 2a detects the abnormality shown in Fig. 3, by the period from Q4 to Q5 (P5) (the period for two second polling processes). As a result, processing unit #1 can reduce the time lag from when the sensor value exceeds the abnormality threshold value until the abnormality is detected by software, compared to the comparative example, and can appropriately execute fail-safe processing of software processing.
[0061] Furthermore, processing unit #1 can concentrate on executing the second polling process for a given sensor 3 that has exceeded the warning threshold, without being affected (for example, processing load, processing time, etc.) by the first polling process by processing unit #0 for the other nine sensors 3. This allows abnormality detection to be performed at an appropriate timing, regardless of the number of sensors 3 to be polled.
[0062] Returning to the explanation of Fig. 2, the operation control unit 22 controls the overall operation of the monitoring device 2 according to one embodiment. The operation control unit 22 may be executed by either one of the processors #0 and #1, or may be executed by a processor 2a different from the processors #0 and #1. Alternatively, when the functions of the operation control unit 22 are distributed and arranged among two or more processors 2a, the operation control unit 22 may be executed by the two or more processors 2a.
[0063] The communication unit 28 polls the sensor values from each of the multiple sensors 3 via the communication path 1a in response to a request from the processing unit 23. Also, the communication unit 28 transmits a control command to any one of the multiple devices 4 via the communication path 1a in response to a request from the processing unit 23, thereby executing a fail-safe by software processing of the device 4.
[0064] The output unit 29 outputs output data. The output data may be, for example, at least one type of information among the sensor information 21a stored in the memory unit 21, the processor information 21b, and various determination results by the processing unit 23.
[0065] In "outputting" the output data, the output unit 29 may, for example, transmit (provide) the output data to the server 5 or a management device (not shown) used by an administrator. Alternatively, in "outputting" the output data, the output unit 29 may accumulate the output data in the memory unit 21 and manage it so that it can be acquired from the server 5 or the management device. Alternatively, in "outputting" the output data, the output unit 29 may output information indicating the output data to a screen on an output device of the server 5 or the management device, or may output the output data in various other modes.
[0066] An example of the processing by the operation control unit 22 and the processing by the processing unit 23 will be described below with reference to the sensor information 21a and the processor information 21b stored in the memory unit 21.
[0067] [B-1] Explanation of sensor information and processor information Fig. 5 is a diagram showing an example of the sensor information 21a. Fig. 5 shows an example of the initial state of the sensor information 21a. The sensor information 21a is an example of management information in which a warning threshold, an abnormality threshold, the latest sensor value, and first information indicating either one of the processors #0 and #1 are associated with each of the multiple sensors 3.
[0068] As illustrated in FIG. 5, the sensor information 21a is information for managing the sensor 3, and may include items such as ID (identifier), bus number, address, command, warning threshold, abnormality threshold, acquired value, executing processor, priority, and processor change time.
[0069] The ID is an example of identification information of the sensor 3, and may be, for example, a unique value (for example, 1 significant digit or more) among the m sensors 3. The bus number is the number of the bus (for example, an I2C bus) of the communication path 1a connected to the sensor 3, and indicates the destination of the command sent by the communication unit 28. The address is an address assigned to the sensor 3 on the communication path 1a, and is, for example, the first address on the same I2C bus (within the same bus number). The command is a command transmitted by the processing unit 23 to the sensor 3 for acquiring a sensor value from the sensor 3. The sensor 3 measures the sensor value in response to receiving the command, and responds with the measured sensor value to the processing unit 23.
[0070] The warning threshold is a threshold by which the processing unit 23 determines that the device 4, the state of which is monitored by the sensor 3, has transitioned to a warning state. The abnormality threshold is a threshold by which the processing unit 23 determines that the device 4, the state of which is monitored by the sensor 3, has transitioned to an abnormal state. The units of each of the warning threshold and the abnormality threshold may differ depending on the sensor 3.
[0071] The acquired value is a value measured by the sensor 3 in response to a command transmitted from the processing unit 23, and acquired (received) by the processing unit 23 from the sensor 3. The latest sensor value may be set as the acquired value. Note that the initial value of the acquired value may be 0.
[0072] The execution processor is information for identifying the processor 2a that acquires the sensor value (acquired value), in other words, the processor 2a that executes the polling process for the sensor 3. The execution processor may be set with identification information (e.g., #0 or #1) of either processor #0 or #1. The initial value of the execution processor may be #0.
[0073] The priority is information indicating the priority of the sensor 3, and may be indicated by, for example, five levels of numbers from 1 to 5, with 1 being the highest priority and 5 being the lowest priority. The priority may be set according to the importance of at least one of the device 4 to be measured, the sensor 3, and the sensor value. The processor change time is time information when the active processor changes from #0 to #1. The time information may be a time stamp indicating an absolute time, or may be information indicating relative timing (e.g., a counter value) that allows the temporal relationship with time information set in other entries to be determined. The initial value of the processor change time may be unset (-). Also, it may be reset to the initial value when the active processor changes from #1 to #0.
[0074] Of the above-mentioned sensor information 21a, the ID, bus number, address, command, warning threshold, and abnormality threshold may be defined in advance, for example, before operation of the system 1. The items of priority and processor change time may be omitted.
[0075] Fig. 6 is a diagram showing an example of the processor information 21b. As shown in Fig. 6, the processor information 21b is information for managing the processor 2a, and may include items such as a processor (processing unit), a polling period [ms] (milliseconds), and an upper limit number of polling.
[0076] The processor (processing unit) is an example of identification information of the processor 2a. The identification information (for example, #0 or #1) of either the processor #0 or #1 may be set in the processor (processing unit).
[0077] The polling period is information indicating the interval of time for executing the polling process by the processor 2a. The polling period of the processor #0 is an example of a first monitoring period, and the polling period of the processor #1 is an example of a second monitoring period.
[0078] 6 shows an example in which the polling period of processor #0 is set to 1000 ms, which is approximately the same as the polling period of processor 2a according to the comparative example, and the polling period of processor #1 is set to 250 ms, which is 1 / 4 of the polling period of processor #0. The ratio of the polling periods of processors #0 and #1 may be, for example, about 1 / 2 to 1 / 10, or may be various ratios according to the performance of processor 2a, the number m of sensors 3, other requirements (specifications) of system 1, etc.
[0079] The polling upper limit number is the upper limit of the number of sensors 3 to be subject to the second polling process, which is set in processor #1. The processor information 21b may include a polling lower limit number item in addition to or instead of the polling upper limit number. The polling lower limit number is the lower limit of the number of sensors 3 to be subject to the first polling process, which is set in processor #0. The polling upper limit number (or lower limit number) item may be omitted.
[0080] Each item of the above-mentioned processor information 21b may be defined in advance before the operation of the system 1, and may be set as a fixed value at the timing when the monitoring device 2 is started, for example.
[0081] [B-2] Description of the motion control section After booting up the monitoring device 2, the operation control unit 22 may initialize the sensor information 21a, boot up and initialize the processing units #0 and #1 (processors #0 and #1), control the number of polling operations performed by the processing unit #1, and so on.
[0082] (Initialization process of sensor information 21a) The operation control unit 22 may initialize the sensor information 21a after starting up the monitoring device 2. The initialization of the sensor information 21a may include, for example, a process of setting the ID, bus number, address, command, warning threshold, and abnormality threshold to predefined fixed values, and a process of setting the acquired value, executing processor, priority, and processor change time to the above-mentioned initial values.
[0083] (Start-up and initial setting process of processing units #0 and #1 (processors #0 and #1)) The operation control unit 22 may start up the processors #0 and #1 (when the operation control unit 22 operates using another processor 2a), allocate processes (instances) of the processing units #0 and #1 to the processors #0 and #1, and so on.
[0084] Furthermore, the operation control unit 22 may assign a polling period to each of the processing units #0 and #1 based on the processor information 21b as the initial settings of the processing units #0 and #1. In the example of Fig. 6, the operation control unit 22 sets a polling period of 1000 ms for the processor #0 and a polling period of 250 ms for the processor #1. This enables each of the processing units #0 and #1 to execute polling processing.
[0085] (Control of the number of polling operations executed by processing unit #1) Furthermore, the operation control unit 22 may refer to the processor information 21b and control the number of polling operations (the number of sensors 3) performed by the processing unit #1. Note that this control may be performed by one or both of the processing units #0 and #1.
[0086] 4, the processing unit #1 subjects the sensors 3 whose sensor values have exceeded the warning threshold value by the first polling process to the second polling process. Since the second polling process is executed in a polling cycle that is shorter (e.g., 1 / 4) than that of the first polling process, if the number of sensors 3 that are the targets of the second polling process increases, there is a risk that the second polling process will not be completed within the polling cycle.
[0087] Therefore, the operation control unit 22 may perform control so that the number of sensors 3 to be subjected to the second polling process is kept equal to or less than the polling upper limit number in the processor information 21b so that the second polling process can be reliably executed within the second monitoring period. The details of this control will be described later.
[0088] [B-3] Description of processing section The processing unit 23 refers to the sensor information 21a and executes a polling process for each of the sensors 3 that are targets of polling by the processing unit 23 (processor 2a) itself.
[0089] As shown in FIG. 2, the processing units 23 (each of the processing units #0 and #1) may include an implementation determining unit 24, a collecting unit 25, an abnormality determining unit 26, and an information updating unit 27, for example.
[0090] The execution determination unit 24 searches the entries of the sensor information 21a in order (for example, in order of ID) and identifies an entry in which its own processor #0 or #1 is set as the execution processor. The entry is an entry that indicates the sensor 3 to be polled by its own processor #0 or #1.
[0091] The collection unit 25 performs a polling process on each of the one or more sensors 3 indicated by the one or more entries identified by the implementation determination unit 24. For example, the collection unit 25 may transmit a command for acquiring a sensor value to each of the one or more sensors 3 via the communication unit 28, and set the sensor value received from the sensor 3 as the acquired value of the sensor information 21a. As an example, the collection unit 25 may transmit a command set in each of the one or more entries identified by the implementation determination unit 24 to the bus number and address set in the one or more entries.
[0092] The abnormality determination unit 26 compares an acquired value acquired by the collection unit 25 (for example, set in the sensor information 21a) with one or both of a warning threshold and an abnormality threshold, and determines whether or not the acquired value is abnormal.
[0093] The information update unit 27 updates the sensor information 21 a based on the determination result by the abnormality determination unit 26 .
[0094] The determination process by the abnormality determination unit 26 and the update process by the information update unit 27 may differ depending on, for example, the processing unit #0 or #1. An example of the process of the abnormality determination unit 26 and the information update unit 27 in each of the processing units #0 and #1 will be described below.
[0095] (Processing by abnormality determination unit 26 and information update unit 27 of processing unit #0) The abnormality determination unit 26 of the processing unit #0 compares the acquired value with the warning threshold set in the entry of the sensor 3 that is the target of the polling process of the processing unit #0 in the sensor information 21a, and determines whether the acquired value exceeds the warning threshold.
[0096] The information update unit 27 of the processing unit #0 updates, in the sensor information 21a, an entry (an entry to be updated) of the sensor 3 (first sensor) whose acquired value has been determined to exceed the warning threshold by the abnormality determination unit 26. For example, the information update unit 27 may set the implementing processor of the entry to be updated to #1, thereby excluding the sensor 3 indicated by the entry to be updated from the target of the first polling process by the processing unit #0.
[0097] Furthermore, the information update unit 27 of the processing unit #0 may set the processor change time of the entry to be updated.
[0098] Fig. 7 is a diagram for explaining an example of a change in the sensor information 21a. Reference symbol B1 in Fig. 7 illustrates a state in which the collection unit 25 has set an acquired value for each of the entries (IDs: #0 to #m-1) in the sensor information 21a that are the executing processor: #0.
[0099] As indicated by symbol B1, the abnormality determination unit 26 of the processing unit #0 determines that the acquired value: 65 [°C] exceeds the warning threshold: 60 [°C] in the entry of ID: #1 of the sensor information 21a. The information update unit 27 updates the active processor from #0 to #1 in the entry of ID: #1 of the sensor information 21a, and updates the processor change time from unset (-) to t1.
[0100] (Processing by abnormality determination unit 26 and information update unit 27 of processing unit #1) The abnormality determination unit 26 of the processing unit #1 compares the acquired value with the abnormality threshold set in the entry of the sensor 3 that is the target of the polling process of the processing unit #0 in the sensor information 21a, and determines whether the acquired value exceeds the abnormality threshold.
[0101] When the acquired value exceeds the abnormality threshold, the abnormality determination unit 26 executes fail-safe processing for the device 4 that is the monitoring target (measurement target) of the sensor 3 (second sensor) whose acquired value exceeds the abnormality threshold.
[0102] Fig. 8 is a diagram for explaining an example of the fail-safe process by the abnormality determination unit 26. Fig. 8 shows an example in which the sensor 3 (second sensor) is a CPU temperature sensor, and the device 4 monitored by the sensor 3 is a CPU.
[0103] 8, when the CPU temperature (acquired value) acquired from the sensor 3 by the collection unit 25 via the communication path 1a exceeds the abnormality threshold, the abnormality determination unit 26 of the processing unit #1 transmits a control command to the device 4 via the communication path 1b instructing it to limit the CPU utilization rate. The transmission of the control command to limit the CPU utilization rate is an example of fail-safe processing.
[0104] Furthermore, when the acquired value is equal to or less than the abnormality threshold, the abnormality determination section 26 of the processing section #1 determines whether or not the acquired value is equal to or less than the warning threshold.
[0105] The information update unit 27 of the processing unit #1 updates an entry (an entry to be updated) in the sensor information 21a whose acquired value is determined by the abnormality determination unit 26 to be equal to or less than the warning threshold. The sensor 3 (third sensor) whose acquired value is equal to or less than the warning threshold can be included in the sensor 3 of the first polling process by the processing unit #0. Therefore, for example, the information update unit 27 may set the implementing processor of the entry to be updated to #0, thereby excluding the sensor 3 indicated by the entry to be updated from the target of the second polling process by the processing unit #1.
[0106] Furthermore, the information update section 27 of the processing section #1 may update the processor change time of the entry to be updated to "not set."
[0107] Reference symbol B2 in FIG. 7 illustrates a state in which the collection unit 25 has set an acquired value of 55[° C.] for the entry (ID: #1) in the sensor information 21a that is the executing processor: #1.
[0108] As indicated by symbol B2, the abnormality determination unit 26 of the processing unit #1 determines that the acquired value: 55 [°C] has become equal to or lower than the warning threshold value: 60 [°C] in the entry of ID: #1 of the sensor information 21a. The information update unit 27 updates the active processor from #1 to #0 in the entry of ID: #1 of the sensor information 21a, and updates the processor change time from t1 to unset (-).
[0109] This allows the sensor 3 whose acquired value has fallen below the warning threshold to be excluded from the processing target by processing unit #1 and returned to the processing target by processing unit #0, thereby suppressing an increase in the processing load of processing unit #1. Therefore, processing unit #1 can stably complete the second polling process within the second monitoring period.
[0110] Moreover, the abnormality determination unit 26 and the information update unit 27 according to an embodiment detect an abnormality in the sensor value by referring to and updating the sensor information 21a accessible from both processing units 23 (processors 2a). In this manner, by using the sensor information 21a, the frequency of communication between the processing units 23 (processors 2a) can be reduced, and therefore the processing resources of each processing unit 23 that can be allocated to polling processing can be increased.
[0111] Fig. 9 is a diagram for explaining an example of polling upper limit number control. Reference symbol C1 in Fig. 9 shows a state in which the first polling process by processing unit #0 determines that the acquired values of three sensors 3 with IDs: #1, #2, and #3 have exceeded the warning threshold, and the processor in charge of the three sensors 3 is changed to processor #1. In the state of reference symbol C1 in Fig. 9, it is assumed that the first polling process determines that the acquired value of sensor 3 with ID: #0 has exceeded the warning threshold.
[0112] In this case, in the sensor information 21a, the information update unit 27 updates the processor performing the second polling process for the sensor 3 with ID: #0 to processor #1, and updates the processor change time to t0. In this case, the number of sensors 3 targeted for the second polling process of the processor #1 becomes four, which exceeds the upper limit of the number of polling processes for the processor #1, which is three, in the processor information 21b of FIG.
[0113] Therefore, the operation control unit 22 selects a number of sensors 3 (fourth sensors: one sensor 3 in the example of FIG. 9) that satisfy a predetermined condition and that exceeds the polling upper limit number from among the sensors 3 (second sensors) whose active processor is processor #1. Then, the operation control unit 22 updates the active processor of the selected sensor 3 to processor #0 via, for example, the information update unit 27 of processing unit #0 or #1.
[0114] The control of the polling upper limit number by the operation control unit 22 may be executed every time the number of sensors 3 whose active processor is processor #1 exceeds the polling upper limit number. Therefore, in the following description, it is assumed that the operation control unit 22 selects one sensor 3 (fourth sensor) whose active processor is updated to processor #0.
[0115] The operation control unit 22 may select a sensor 3 that satisfies a predetermined condition as the fourth sensor. For example, as shown by reference symbol C2 in Fig. 9, the operation control unit 22 may select one sensor 3 with the lowest priority in the sensor information 21a from among the four sensors 3 with IDs: #0, #1, #2, and #3, whose implementation processor is processor #1. Note that, if there are multiple sensors 3 with the lowest priority, the operation control unit 22 may select the sensor 3 with the oldest processor change time from among the sensors 3 with the lowest priority.
[0116] 9, reference symbol C2 shows an example in which, when t2 is earlier than t3, the operation control unit 22 selects the sensor 3 with ID: #2 by FIFO (First In, First Out) from among the sensors 3 with IDs: #2 and #3, which have a priority of 3. In this case, the operation control unit 22 updates the executing processor and processor change time for the sensor 3 with ID: #2 while maintaining the update of the executing processor and processor change time for the sensor 3 with ID: #0 by the processing unit #0, as described below. That is, the operation control unit 22 includes the selected sensor 3 with ID: #2 in the target of the first polling process of the processor #0. ID: #0, Processor: #1, Processor change time: t0 ID: #2, Processor: #0, Processor change time: Not set (-)
[0117] This allows the second polling process to be executed within the second monitoring period, while giving priority to the sensor 3 with a higher priority as the target of the second polling process. In this case, for example, an abnormality in a device 4 with a higher priority for the continued operation of the server 5 can be detected early, and the abnormality determination unit 26 can appropriately execute fail-safe processing for the device 4. This reduces the possibility that the hardware-based fail-safe processing will be executed, thereby improving the availability of the server 5.
[0118] When the operation control unit 22 selects a sensor 3, if the lowest priority is 1 (all sensors 3 (second sensors) whose implementation processor is processor #1 have a priority of 1), it can be said that the system of the server 5 is in a dangerous state. In this case, the operation control unit 22 may notify the server 5, a management device, etc. of a warning via the output unit 29, or may stop the system of the server 5 via the communication unit 28.
[0119] [C] Example of operation Next, an operation example of the monitoring device 2 according to an embodiment will be described. Fig. 10 is a flowchart for explaining an operation example of the operation control unit 22 according to an embodiment.
[0120] [C-1] Example of operation of the motion control unit 10, when the monitoring device 2 is started, the operation control unit 22 initializes the sensor information 21a (see FIG. 5) (step S1) and starts up the processing units #0 and #1 (step S2). For example, the operation control unit 22 may assign the process of processing unit #0 to the processor #0 and the process of processing unit #1 to the processor #1.
[0121] The operation control unit 22 refers to the processor information 21b and sets a polling period for each of the processing units #0 and #1 (step S3).
[0122] The operation control section 22 starts (activates) the polling process by each of the processing sections #0 and #1 (step S4).
[0123] The operation control unit 22 causes the processing units #0 and #1 to repeatedly execute the polling process of step S4 until an instruction to end monitoring of the sensor 3 is received from the management device or the like (step S5, NO in step S5).
[0124] If a monitoring end instruction is received (YES in step S5), the operation control unit 22 stops processing units #0 and #1 (step S6), and the process ends.
[0125] [C-2] Example of processing unit operation Fig. 11 is a flowchart for explaining an example of the operation of processing unit #0 according to an embodiment, and Fig. 12 is a flowchart for explaining an example of the operation of processing unit #1 according to an embodiment. Fig. 11 and Fig. 12 are an example of step S4 shown in Fig. 10. The processes shown in Fig. 11 and Fig. 12 correspond to the processes for one polling period in processing units #0 and #1, respectively.
[0126] As illustrated in FIG. 11, the implementation determining unit 24 of the processing unit #0 sets the sensor ID, which is a variable for counting, to #0 (step S11).
[0127] The implementation determination unit 24 refers to the sensor information 21a and determines whether the implementation processor of the sensor ID is #0 (its own processing unit #0) (step S12). If the implementation processor of the sensor ID is not #0 (it is #1) (NO in step S12), the implementation determination unit 24 increments the sensor ID (step S13), and the process proceeds to step S12.
[0128] If the implementing processor for the sensor ID is #0 (YES in step S12), the collection unit 25 transmits a command for the sensor ID in the sensor information 21a to the sensor 3 indicated by the bus number and address (step S14).
[0129] The collection unit 25 stores the response acquired from the sensor 3 in the acquired value of the sensor information 21a (step S15).
[0130] The abnormality determination unit 26 determines whether the acquired value of the sensor ID exceeds the warning threshold (step S16). If the acquired value of the sensor ID does not exceed the warning threshold (NO in step S16), the process proceeds to step S18.
[0131] If the acquired value of the sensor ID exceeds the warning threshold (YES in step S16), the information update unit 27 sets the implementation processor of the sensor ID in the sensor information 21a to #1 (step S17), and the process proceeds to step S18. In step S17, the information update unit 27 may set time information to the processor change time of the sensor ID in the sensor information 21a.
[0132] In step S18, the implementation determination unit 24 determines whether or not the process has been performed for all m sensor IDs, for example, the process of step S12. If there is an unimplemented sensor ID (NO in step S18), the process proceeds to step S13. If the process has been performed for all m sensor IDs (YES in step S18), the process ends.
[0133] As illustrated in FIG. 12, the implementation determining unit 24 of the processing unit #1 sets the sensor ID, which is a variable for counting, to #0 (step S21).
[0134] The implementation determination unit 24 refers to the sensor information 21a and determines whether the implementation processor of the sensor ID is #1 (its own processing unit #1) (step S22). If the implementation processor of the sensor ID is not #1 (is #0) (NO in step S22), the implementation determination unit 24 increments the sensor ID (step S23), and the process proceeds to step S22.
[0135] If the implementing processor for the sensor ID is #1 (YES in step S22), the collection unit 25 transmits a command for the sensor ID in the sensor information 21a to the sensor 3 indicated by the bus number and address (step S24).
[0136] The collection unit 25 stores the response acquired from the sensor 3 in the acquired value of the sensor information 21a (step S25).
[0137] The abnormality determination unit 26 determines whether the acquired value of the sensor ID exceeds the abnormality threshold (step S26). If the acquired value of the sensor ID exceeds the abnormality threshold (YES in step S26), the abnormality determination unit 26 performs fail-safe processing on the device 4 that is the monitoring target of the sensor ID (step S27), and the process proceeds to step S30.
[0138] If the acquired value of the sensor ID does not exceed the abnormality threshold (NO in step S26), the abnormality determination unit 26 determines whether the acquired value of the sensor ID is equal to or less than the warning threshold (step S28). If the acquired value of the sensor ID exceeds the warning threshold (NO in step S28), the process proceeds to step S30.
[0139] If the acquired value of the sensor ID is equal to or less than the warning threshold value (YES in step S28), the information update unit 27 sets the implementation processor of the sensor ID in the sensor information 21a to #0 (step S29), and the process proceeds to step S30. In step S29, the information update unit 27 may update the processor change time of the sensor ID in the sensor information 21a to "not set."
[0140] In step S30, the implementation determination unit 24 determines whether or not the process has been performed for all m sensor IDs, for example, the process of step S22. If there is an unimplemented sensor ID (NO in step S30), the process proceeds to step S23. If the process has been performed for all m sensor IDs (YES in step S30), the process ends.
[0141] [C-3] Example of polling upper limit control Fig. 13 is a flowchart for explaining an example of the operation of the polling upper limit number control of the operation control unit 22 according to an embodiment. The process shown in Fig. 13 may be executed based on the updated sensor information 21a of the implementing processor when the operation control unit 22 detects that the implementing processor of the sensor information 21a has been updated by the processing unit #0, for example.
[0142] 13, the operation control unit 22 determines whether the total number of sensors 3 whose active processor is #1 in the sensor information 21a exceeds the polling upper limit number of the processor #1 in the processor information 21b (step S31). If it does not exceed the upper limit (NO in step S31), the process ends.
[0143] If the total number of sensors 3 whose implementing processor is #1 exceeds the polling upper limit number (YES in step S31), the process proceeds to step S32. In step S32, the operation control unit 22 determines whether the priorities of all sensors 3 whose implementing processor is #1 in the sensor information 21a are 1 (highest priority).
[0144] If the priority of the sensor 3 whose implementation processor is #1 is other than 1 (NO in step S32), the operation control unit 22 selects one sensor 3 with the lowest priority among the sensors 3 whose implementation processor is #1 in the sensor information 21a (step S33). Note that in step S33, if there are multiple sensors 3 with the lowest priority, the operation control unit 22 may select the sensor 3 with the oldest processor change time among the multiple sensors 3.
[0145] Then, the operation control unit 22 sets the execution processor of the selected sensor 3 to #0 in the sensor information 21a (step S34), and the process ends. Note that in step S34, the operation control unit 22 may update the processor change time of the selected sensor 3 in the sensor information 21a to "not set."
[0146] In step S32, if the priorities of all the sensors 3 whose implementing processor is #1 in the sensor information 21a are 1 (YES in step S32), the process proceeds to step S35. In step S35, the operation control unit 22 notifies the server 5 or a management device or the like of a warning, stops the system of the server 5, and the process ends.
[0147] 13 is not limited to being performed by the operation control unit 22, and may be the processing unit #1. Alternatively, the processing unit #0 may execute the processing shown in FIG. 13 based on the sensor information 21a in a state in which it is assumed that the implementing processor has been set to #1 before setting the implementing processor of the sensor 3, the acquired value of which has exceeded the warning threshold in the sensor information 21a, to #1.
[0148] [D] Other The technology according to the above-described embodiment can be modified and changed as follows.
[0149] For example, the functional blocks 22 to 29 included in the monitoring device 2 shown in Fig. 2 may be combined in any combination or may be divided. Also, the information 21a and 21b stored in the memory unit 21 shown in Fig. 2 may be combined in any combination or may be divided.
[0150] [E] Notes Regarding the above embodiment, the following supplementary notes are further disclosed.
[0151] (Appendix 1) A first processor communicatively connected to each of the plurality of sensors; a second processor communicatively connected to each of the plurality of sensors; The first processor, A first polling process for acquiring a sensor value from each of the plurality of sensors is executed in a first monitoring period; When a first sensor whose sensor value acquired by the first processor exceeds a first threshold is detected, the first sensor is excluded from the first polling process; The second processor, A second polling process for acquiring a sensor value from each of the one or more first sensors is executed at a second monitoring period shorter than the first monitoring period; When a second sensor is detected in which the sensor value acquired by the second processor exceeds a second threshold value different from the first threshold value and used to detect an abnormality, the second sensor performs a fail-safe process on an apparatus that is a measurement target of the second sensor. Monitoring equipment.
[0152] (Appendix 2) The second processor, When a third sensor whose sensor value acquired by the second processor is equal to or less than the first threshold is detected, the third sensor is excluded from the second polling process; The first processor, executing the first polling process to acquire a sensor value from each of the one or more sensors including the third sensor; 2. A monitoring device as described in claim 1.
[0153] (Appendix 3) a storage area accessible from each of the first processor and the second processor; the storage area stores, for each of the plurality of sensors, management information in which the first threshold, the second threshold, a latest sensor value, and first information indicating either the first processor or the second processor are associated with each other; The first processor executes the first polling process based on the management information; The second processor executes the second polling process based on the management information. 10. The monitoring device according to claim 1 or 2.
[0154] (Appendix 4) The first processor, In the first polling process, a sensor value acquired from each of the one or more sensors in which information indicating the first processor is set in the first information of the management information is stored in the management information; When the first sensor is detected, information indicating the second processor is set to the first information of the first sensor in the management information; The second processor, In the second polling process, a sensor value acquired from each of the one or more first sensors, in which information indicating the second processor is set in the first information of the management information, is stored in the management information. 4. A monitoring device as described in claim 3.
[0155] (Appendix 5) When the number of the one or more first sensors exceeds a predetermined upper limit number, a fourth sensor that satisfies a predetermined condition among the one or more first sensors is excluded from the target of the second polling process; the excluded fourth sensor is included in the target of the first polling process. A control unit is provided. The monitoring device according to any one of Supplementary Note 1 to Supplementary Note 4.
[0156] (Appendix 6) A computer includes a first processor communicatively connected to each of a plurality of sensors, and a second processor communicatively connected to each of the plurality of sensors, the first processor comprising: A first polling process for acquiring a sensor value from each of the plurality of sensors is executed in a first monitoring period; When a first sensor whose sensor value acquired by the first processor exceeds a first threshold is detected, the first sensor is excluded from the first polling process; The second processor, A second polling process for acquiring a sensor value from each of the one or more first sensors is executed at a second monitoring period shorter than the first monitoring period; When a second sensor is detected in which the sensor value acquired by the second processor exceeds a second threshold value different from the first threshold value and used to detect an abnormality, the second sensor performs a fail-safe process on an apparatus that is a measurement target of the second sensor. A supervisory program that causes processing to occur.
[0157] (Appendix 7) The second processor, When a third sensor whose sensor value acquired by the second processor is equal to or less than the first threshold is detected, the third sensor is excluded from the second polling process; The first processor, executing the first polling process to acquire a sensor value from each of the one or more sensors including the third sensor; 7. The monitoring program of claim 6, which causes a process to be executed.
[0158] (Appendix 8) The first processor, executing the first polling process based on management information stored in a storage area accessible from each of the first processor and the second processor, the management information associating the first threshold, the second threshold, a latest sensor value, and first information indicating either the first processor or the second processor for each of the plurality of sensors; The second processor, executing the second polling process based on the management information; Execute the process, 13. A monitoring program according to claim 6 or 7.
[0159] (Appendix 9) The first processor, In the first polling process, a sensor value acquired from each of the one or more sensors in which information indicating the first processor is set in the first information of the management information is stored in the management information; When the first sensor is detected, information indicating the second processor is set to the first information of the first sensor in the management information; The second processor, In the second polling process, a sensor value acquired from each of the one or more first sensors, in which information indicating the second processor is set in the first information of the management information, is stored in the management information. 9. The monitoring program of claim 8, which causes a process to be executed.
[0160] (Appendix 10) The computer includes: When the number of the one or more first sensors exceeds a predetermined upper limit number, a fourth sensor that satisfies a predetermined condition among the one or more first sensors is excluded from the second polling process; the excluded fourth sensor is included in the target of the first polling process. 10. The monitoring program according to claim 6, which causes a process to be executed.
[0161] (Appendix 11) A computer includes a first processor communicatively connected to each of a plurality of sensors, and a second processor communicatively connected to each of the plurality of sensors, the first processor comprising: A first polling process for acquiring a sensor value from each of the plurality of sensors is executed in a first monitoring period; When a first sensor whose sensor value acquired by the first processor exceeds a first threshold is detected, the first sensor is excluded from the first polling process; The second processor: A second polling process for acquiring a sensor value from each of the one or more first sensors is executed at a second monitoring period shorter than the first monitoring period; When a second sensor is detected in which the sensor value acquired by the second processor exceeds a second threshold value different from the first threshold value and used to detect an abnormality, the second sensor performs a fail-safe process on an apparatus that is a measurement target of the second sensor. How to perform a process and monitor.
[0162] (Appendix 12) The second processor: When a third sensor whose sensor value acquired by the second processor is equal to or less than the first threshold value is detected, the third sensor is excluded from the second polling process; The first processor: executing the first polling process to acquire a sensor value from each of the one or more sensors including the third sensor; 12. The monitoring method of claim 11, further comprising:
[0163] (Appendix 13) The first processor: executing the first polling process based on management information stored in a storage area accessible from each of the first processor and the second processor, the management information associating the first threshold, the second threshold, a latest sensor value, and first information indicating either the first processor or the second processor for each of the plurality of sensors; The second processor: executing the second polling process based on the management information; Execute the process, 13. The monitoring method according to claim 11 or 12.
[0164] (Appendix 14) The first processor: In the first polling process, a sensor value acquired from each of the one or more sensors in which information indicating the first processor is set in the first information of the management information is stored in the management information; When the first sensor is detected, information indicating the second processor is set to the first information of the first sensor in the management information; The second processor: In the second polling process, a sensor value acquired from each of the one or more first sensors, in which information indicating the second processor is set in the first information of the management information, is stored in the management information. 14. The monitoring method of claim 13, further comprising:
[0165] (Appendix 15) The computer, When the number of the one or more first sensors exceeds a predetermined upper limit number, a fourth sensor that satisfies a predetermined condition among the one or more first sensors is excluded from the target of the second polling process; the excluded fourth sensor is included in the target of the first polling process. The monitoring method according to any one of claims 11 to 14, further comprising executing a process. [Explanation of symbols]
[0166] 1 System 1a,1b Communication path 2 Monitoring device 20 Control section 21 Memory section 21a Sensor information 21b Processor Information 22 Motion control section 23 Processing section 24 Implementation Judgment Department 25 Collection Department 26 Abnormality determination section 27 Information Update Department 28 Communications Department 29 Output section 3 Sensors 4 Devices 5 Server
Claims
1. a first processor communicatively connected to each of the plurality of sensors; a second processor communicatively connected to each of the plurality of sensors; The first processor, A first polling process is executed in a first monitoring period to acquire a sensor value from each of the plurality of sensors; When a first sensor whose sensor value acquired by the first processor exceeds a first threshold is detected, the first sensor is excluded from the first polling process; The second processor, A second polling process for acquiring a sensor value from each of the one or more first sensors is executed in a second monitoring period that is shorter than the first monitoring period; When a second sensor is detected in which the sensor value acquired by the second processor exceeds a second threshold value different from the first threshold value and used to detect an abnormality, the second sensor performs a fail-safe process on an apparatus that is a measurement target of the second sensor. monitoring equipment.
2. The second processor, When a third sensor whose sensor value acquired by the second processor is equal to or less than the first threshold is detected, the third sensor is excluded from the second polling process; The first processor, executing the first polling process to obtain a sensor value from each of the one or more sensors including the third sensor; The monitoring device according to claim 1.
3. a storage area accessible from each of the first processor and the second processor; the storage area stores, for each of the plurality of sensors, management information in which the first threshold, the second threshold, a latest sensor value, and first information indicating either the first processor or the second processor are associated with each other; The first processor executes the first polling process based on the management information; The second processor executes the second polling process based on the management information. The monitoring device according to claim 1 or 2.
4. The first processor, In the first polling process, a sensor value acquired from each of the one or more sensors, in which information indicating the first processor is set in the first information of the management information, is stored in the management information; When the first sensor is detected, information indicating the second processor is set to the first information of the first sensor in the management information; The second processor, In the second polling process, a sensor value acquired from each of the one or more first sensors, in which information indicating the second processor is set in the first information of the management information, is stored in the management information. The monitoring device according to claim 3.
5. When the number of the one or more first sensors exceeds a predetermined upper limit number, a fourth sensor that satisfies a predetermined condition among the one or more first sensors is excluded from the second polling process; the excluded fourth sensor is included in the target of the first polling process; A control unit is provided. The monitoring device according to claim 1 or 2.
6. A computer includes a first processor communicatively connected to each of a plurality of sensors, and a second processor communicatively connected to each of the plurality of sensors, the first processor comprising: A first polling process is executed in a first monitoring period to acquire a sensor value from each of the plurality of sensors; When a first sensor whose sensor value acquired by the first processor exceeds a first threshold is detected, the first sensor is excluded from the first polling process; The second processor, A second polling process for acquiring a sensor value from each of the one or more first sensors is executed in a second monitoring period that is shorter than the first monitoring period; When a second sensor is detected in which the sensor value acquired by the second processor exceeds a second threshold value different from the first threshold value and used to detect an abnormality, the second sensor performs a fail-safe process on an apparatus that is a measurement target of the second sensor. A supervisory program that causes processing to occur.
7. A computer includes a first processor communicatively connected to each of a plurality of sensors, and a second processor communicatively connected to each of the plurality of sensors, the first processor comprising: A first polling process is executed in a first monitoring period to acquire a sensor value from each of the plurality of sensors; When a first sensor whose sensor value acquired by the first processor exceeds a first threshold is detected, the first sensor is excluded from the first polling process; The second processor: A second polling process for acquiring a sensor value from each of the one or more first sensors is executed in a second monitoring period that is shorter than the first monitoring period; When a second sensor is detected in which the sensor value acquired by the second processor exceeds a second threshold value different from the first threshold value and used to detect an abnormality, the second sensor performs a fail-safe process on an apparatus that is a measurement target of the second sensor. How to perform a process and monitor.
Citation Information
Patent Citations
Deterioration diagnostic system and remote maintenance system
JP2011034320A
Optical transmission / reception system, optical communication device and failure detection method
JP2019186618A
Abnormality sign detection device, abnormality sign detection system, abnormality sign detection method, and abnormality sign detection program
WO2021100160A1
