WO2022219745A1 - Supervisory control system, server, backup processing method, and backup processing program - Google Patents

Supervisory control system, server, backup processing method, and backup processing program Download PDF

Info

Publication number
WO2022219745A1
WO2022219745A1 PCT/JP2021/015457 JP2021015457W WO2022219745A1 WO 2022219745 A1 WO2022219745 A1 WO 2022219745A1 JP 2021015457 W JP2021015457 W JP 2021015457W WO 2022219745 A1 WO2022219745 A1 WO 2022219745A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
backup
unit
setting
server
Prior art date
Application number
PCT/JP2021/015457
Other languages
French (fr)
Japanese (ja)
Inventor
大志 藤原
大 浅利
Original Assignee
三菱電機株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 三菱電機株式会社 filed Critical 三菱電機株式会社
Priority to PCT/JP2021/015457 priority Critical patent/WO2022219745A1/en
Priority to JP2021554992A priority patent/JP7069427B1/en
Publication of WO2022219745A1 publication Critical patent/WO2022219745A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/182Distributed file systems

Definitions

  • the present disclosure relates to a supervisory control system, a server, a backup processing method, and a backup processing program that monitor and control objects to be monitored and controlled.
  • the data of the main unit includes the measurement data itself transmitted from the monitoring control equipment and the intermediate data in the process of converting the measurement data into processed data. can be difficult to periodically synchronize with a backup device. Therefore, for example, Japanese Patent Laid-Open No. 2002-200003 proposes a technique for distributing and backing up data output from a monitoring control device to a plurality of clients.
  • backup data is not backed up in response to changes in the state of devices in which backup data is stored in a distributed manner, and there is room for improvement.
  • the present disclosure has been made in view of the above, and an object thereof is to obtain a monitoring control system capable of distributing and storing backup data more appropriately.
  • the supervisory control system of the present disclosure includes multiple gateway devices and a server.
  • a plurality of gateway devices are communicably connected to a plurality of monitoring control devices.
  • the server collects measurement data transmitted from a plurality of monitoring control devices via a plurality of gateway devices, and monitors and controls a monitoring control target based on the collected measurement data.
  • the server includes a resource data acquisition section, a setting data storage section, and a backup processing section.
  • the resource data acquisition unit periodically acquires resource data indicating the resource usage status of each of the plurality of gateway devices.
  • the setting data storage unit stores setting data including method data including data indicating a backup method and condition data indicating backup conditions for each target data included in backup data, which is data to be backed up.
  • the backup processing unit distributes and stores the backup data in a plurality of gateway devices while changing the backup method based on the resource data and setting data periodically acquired by the resource data acquisition unit.
  • FIG. 1 is a diagram showing an example of a configuration of a monitoring control system according to a first embodiment
  • FIG. 1 is a diagram showing an example of a configuration of a gateway device according to a first embodiment
  • FIG. FIG. 2 is a diagram showing an example of the configuration of a server according to the first embodiment
  • FIG. FIG. 4 is a diagram showing an example of setting data stored in a setting data storage unit according to the first embodiment
  • FIG. FIG. 4 is a diagram showing an example of general setting data stored in a general setting data storage unit according to the first embodiment
  • FIG. 4 is a flowchart showing an example of processing by the gateway device according to the first embodiment; 4 is a flowchart showing an example of processing by a processing unit of the server according to the first embodiment; 4 is a flowchart showing an example of backup method determination processing by the processing unit of the server according to the first embodiment; 4 is a flowchart showing an example of backup data transmission processing by the processing unit of the server according to the first embodiment; 4 is a flowchart showing an example of setting data determination processing by a processing unit of the server according to the first embodiment; FIG. 2 shows an example of hardware configuration of each of the gateway device and the server according to the first embodiment; FIG.
  • FIG. 11 is a diagram showing an example of a configuration of a monitoring control system according to a second embodiment; A diagram showing an example of a configuration of a server according to a second embodiment FIG. 11 is a diagram showing an example of a configuration of a client device according to a second embodiment; FIG. 11 is a diagram showing an example of a setting data creation screen displayed on the display unit of the client device according to the second embodiment; FIG. FIG. 11 is a diagram showing an example of a backup status display screen displayed on the display unit of the client device according to the second embodiment; FIG.
  • 10 is a flowchart showing an example of processing by a processing unit of the server according to the second embodiment; 10 is a flowchart showing an example of setting data creation processing by the processing unit of the server according to the second embodiment; 10 is a flowchart showing an example of backup status display processing by the processing unit of the server according to the second embodiment;
  • a monitoring control system, a server, a backup processing method, and a backup processing program according to the embodiment will be described in detail below with reference to the drawings.
  • Embodiment 1. 1 is a diagram illustrating an example of a configuration of a monitoring control system according to a first embodiment; FIG.
  • the supervisory control system 100 includes a plurality of supervisory control devices 1 11 to 1 1n and 1 m1 to 1 mn , a plurality of gateway devices 2 1 to 2 m , a plurality of It comprises client devices 3 1 , 3 2 , 3 3 , a connection device 4 , and servers 5 1 , 5 2 .
  • n and m are integers of 2 or more.
  • each of the plurality of supervisory control devices 1 11 to 1 1n and 1 m1 to 1 mn may be referred to as the supervisory control device 1, and the plurality of gateway devices 2 1 to 2
  • the supervisory control device 1 When each of m is shown without being distinguished individually, it may be described as gateway device 2 .
  • each of the plurality of client devices 3 1 , 3 2 , 3 3 is shown without being individually distinguished, it may be described as the client device 3, and each of the servers 5 1 , 5 2 is not individually distinguished. , it may be referred to as a server 5.
  • Each monitoring control device 1 is a device for monitoring and controlling equipment provided as a monitoring control target of the monitoring control system 100. For example, measurement data indicating the state of the equipment provided as a monitoring control target Send to device 2. Further, each monitoring control device 1 acquires control data transmitted from the server 5 via the gateway device 2, and controls equipment provided as a target of monitoring control based on the acquired control data.
  • the monitoring and control targets of the monitoring and control system 100 are, for example, plants such as water purification plants, power plants, or factories, rivers, roads, or railways.
  • the monitoring control target equipment is, for example, a station building equipment, a substation, or a railway line equipment.
  • Station building facilities include, for example, ticket gate facilities, surveillance cameras, lighting facilities, air conditioning facilities, movable platforms, elevators, and the like.
  • the wayside equipment is, for example, a railroad crossing device or a signaling device.
  • the facilities to be monitored and controlled include, for example, power receiving equipment, ventilation equipment, lighting equipment, VICS (registered trademark) (Vehicle Information and Communication System) equipment, ETC (Electronic Toll Collection system) equipment, ITV (Industrial TeleVision) equipment, etc.
  • VICS registered trademark
  • ETC Electronic Toll Collection system
  • ITV Industrial TeleVision
  • the equipment subject to monitoring control is, for example, a water level gauge or a monitoring camera.
  • the gateway device 2 is communicably connected to a plurality of monitoring control devices 1 and transmits and receives data between the plurality of monitoring control devices 1 and the server 5 .
  • the gateway device 2 receives measurement data output from a plurality of monitoring control devices 1 and transmits the received measurement data to the server 5 via the network 6 .
  • the network 6 is, for example, a WAN (Wide Area Network) such as the Internet.
  • the client device 3 is, for example, a personal computer or a tablet, and is held by, for example, an operator who manages equipment to be monitored and controlled.
  • the client device 3 is communicably connected to the server 5 via the network 6 and the connection device 4 .
  • the servers 5 1 and 5 2 are constructed in cloud environments 8 1 and 8 2 provided in different regions.
  • the cloud environment 81 is provided in a first city, for example Tokyo, and the cloud environment 82 is provided in a second city, for example Osaka.
  • Cloud environments 8 1 and 8 2 include computer resources provided in cloud service platforms.
  • the server 5-1 is an active server, and the server 5-2 is a standby server that operates instead of the server 5-1 when a failure occurs in the server 5-1 due to a disaster or the like.
  • a cloud service platform is provided by a cloud service provider and includes, for example, PaaS (Platform as a Service). Since the servers 5 1 and 5 2 are constructed in the cloud environments 8 1 and 8 2 , they are sometimes called cloud servers. In the following, when each of the cloud environments 8 1 and 8 2 is indicated without distinguishing them individually, they may be described as a cloud environment 8 .
  • PaaS Platinum as a Service
  • the server 5 collects measurement data transmitted from a plurality of monitoring control devices 1 via a plurality of gateway devices 2, and monitors and controls monitoring and control targets based on the collected measurement data.
  • the server 5 has, for example, a function of a data server that stores monitoring control data including measurement data, and a function of a processing server that monitors and controls objects to be monitored and controlled based on the monitoring control data stored in the data server. include.
  • the connection device 4 selects a cloud region to connect to for disaster recovery. For example, the connection device 4 selects the cloud environment 8-1, transmits data such as measurement data transmitted from the gateway device 2 to the server 5-1 , and transmits data such as control data transmitted from the server 5-1 to the gateway device 8-1. Relay processing for transmission to the device 2 is performed. When a failure occurs in the cloud environment 8-1 due to a disaster or the like, the connection device 4 selects the cloud environment 8-2 and transmits data such as measurement data transmitted from the gateway device 2 to the server 5-2. , relay processing for transmitting data such as control data transmitted from the server 52 to the gateway device 2 .
  • the server 51 distributes and stores monitor control data including measurement data as backup data in a plurality of gateway devices 2 based on the resource usage status of each of the plurality of gateway devices 2 .
  • Backup data is data to be backed up.
  • the server 51 periodically monitors the resource usage status of each of the plurality of gateway devices 2, and in response to changes in the resource usage status, the gateway device 2 to be backed up, the backup method, and the type of data to be backed up. change etc.
  • the server 51 can distribute and store the backup data in a plurality of gateway devices 2 while changing the backup method or the like, so that the backup data can be distributed and stored more appropriately.
  • the server 5-2 acquires the backup data distributed and stored in the plurality of gateway devices 2 from the plurality of gateway devices 2 via the connection device 4, and acquires the backup data.
  • the backup data is used as monitoring control data to monitor and control the target of monitoring control.
  • the supervisory control system 100 distributes supervisory control data including measurement data to a plurality of gateway devices 2 as backup data based on the periodically changing resource usage status of each of the plurality of gateway devices 2. Since it is stored, the backup data can be distributed and stored more appropriately.
  • the configuration of the monitoring control system 100 will be described in further detail below.
  • FIG. 2 is a diagram showing an example of the configuration of the gateway device according to the first embodiment.
  • the gateway device 2 includes communication units 10 and 11 , a data transmission/reception processing unit 12 , a resource data transmission processing unit 13 , a backup processing unit 14 and a backup data storage unit 15 .
  • the communication unit 10 is communicatively connected to the monitoring control device 1.
  • Communication unit 11 is connected to network 6 .
  • the data transmission/reception processing unit 12 transmits data output from the monitoring control device 1 and received by the communication unit 10 to the network 6 via the communication unit 11 .
  • the data transmission/reception processing unit 12 also transmits data transmitted from the server 5 via the network 6 and received by the communication unit 11 to the monitoring control device 1 via the communication unit 10 .
  • the resource data transmission processing unit 13 periodically transmits resource data indicating the resource status of the gateway device 2 to the server 5 via the communication unit 11 and the network 6 .
  • the resource data transmission processing unit 13 transmits the source data to the server 5 at intervals of several tens of seconds or minutes.
  • the resources of the gateway device 2 are, for example, a processor such as a CPU (Central Processing Unit), a main storage device, an auxiliary storage device, a communication unit 11, and the like.
  • the resource status is, for example, resource usage and resource environment.
  • the resource environment is, for example, temperature or humidity.
  • main memory also called main memory or simply memory
  • main memory is directly connected to the processor.
  • Auxiliary storage devices are connected via an external bus and are also called secondary storage devices.
  • main storage device may be referred to as memory
  • auxiliary storage device may be referred to as HDD (Hard Disk Drive).
  • the backup processing unit 14 causes the backup data storage unit 15 to store backup data transmitted from the server 5 and received by the communication unit 11 .
  • the backup processing unit 14 acquires the backup data stored in the backup data storage unit 15 based on a request from the server 5, and transmits the acquired backup data to the requesting server 5 via the communication unit 11 and the network 6. Send via.
  • FIG. 3 is a diagram showing an example of the configuration of the server according to the first embodiment.
  • the server 5 includes a communication unit 20, a processing unit 21, a supervisory control data storage unit 30, a setting data storage unit 31, a method data storage unit 32, and a general setting data storage unit 33. , and a past setting data storage unit 34 .
  • the communication unit 20 is connected to the connection device 4 and transmits and receives data to and from the gateway device 2 via the connection device 4 and the network 6 .
  • the communication unit 20 receives measurement data periodically transmitted from a plurality of monitoring control devices 1 via the gateway device 2 , the network 6 and the connection device 4 .
  • the processing unit 21 includes a measurement data collection unit 22, a measurement data processing unit 23, a monitoring control processing unit 24, a resource data acquisition unit 25, a backup processing unit 26, a setting data generation unit 27, and a backup data acquisition unit. 28.
  • the measurement data collection unit 22 collects measurement data of multiple monitoring control devices 1 received by the communication unit 20 .
  • the measurement data processing unit 23 causes the monitoring control data storage unit 30 to store the measurement data of the plurality of monitoring control devices 1 collected by the measurement data collecting unit 22 .
  • the measurement data processing unit 23 processes the measurement data of the plurality of monitoring control devices 1 to generate processed data.
  • the processed data is data suitable for monitoring control, and includes, for example, data obtained by thinning out the measurement data, statistical data of the measurement data, or data obtained from multiple types of measurement data.
  • the measurement data processing unit 23 causes the monitoring control data storage unit 30 to store the processed data generated by processing the measurement data.
  • the measurement data processing unit 23 also causes the monitoring control data storage unit 30 to store intermediate data obtained when generating the processed data.
  • the monitoring control data stored in the monitoring control data storage unit 30 includes measurement data, intermediate data, processed data, and the like.
  • the monitoring control processing unit 24 monitors and controls the monitoring control target based on the processed data of the monitoring control data stored in the monitoring control data storage unit 30 .
  • the monitoring control processing unit 24 generates monitoring screen data for monitoring and controlling the monitoring control target based on the processed data of the monitoring control data stored in the monitoring control data storage unit 30.
  • the data of the monitored screen obtained is transmitted to the client device 3 via the communication unit 20 .
  • the client device 3 When receiving the monitoring screen data, the client device 3 causes a display unit (not shown) to display the monitoring screen based on the monitoring screen data.
  • the resource data acquisition unit 25 periodically acquires resource data transmitted from each gateway device 2 .
  • the resource data acquisition unit 25 acquires resource data periodically transmitted from each gateway device 2 and received by the communication unit 20 from the communication unit 20 .
  • the backup processing unit 26 distributes the monitoring control data stored in the monitoring control data storage unit 30 as backup data based on the resource data of the plurality of gateway devices 2 periodically obtained by the resource data obtaining unit 25. It is stored in a plurality of gateway devices 2.
  • the backup processing unit 26 includes a backup method determination unit 40 and a backup execution unit 41 . Based on the setting data stored in the setting data storage unit 31 and the resource data acquired by the resource data acquisition unit 25, the backup method determination unit 40 performs backup for each target data included in the monitoring control data to be backed up. Decide how and where to back up For example, the backup method determination unit 40 determines the backup method and backup destination for each target data each time the resource data of each gateway device 2 is acquired by the resource data acquisition unit 25 or at a preset cycle.
  • the backup method includes the data period and backup cycle of the data to be backed up.
  • the data period indicates how long ago the target data is to be backed up. If the data period is one hour, the data to be backed up is, for example, the measurement data from one hour ago to the present, the intermediate data generated from the measurement data from one hour ago to the present, and the data from one hour ago to the present. This is processed data generated from the measurement data of .
  • the backup cycle indicates the backup cycle, which is the cycle for backing up the target data. For example, if the backup cycle is 3 minutes, the target data backed up in the gateway device 2 is updated every 3 minutes.
  • the setting data stored in the setting data storage unit 31 is data including method data including data indicating a backup method and condition data indicating backup conditions for each target data.
  • the condition data is data indicating resource state conditions.
  • FIG. 4 is a diagram depicting an example of setting data stored in a setting data storage unit according to the first embodiment; As shown in FIG. 4, the setting data stored in the setting data storage unit 31 includes "data ID (identifier)”, “data type”, “data name”, “backup condition”, “backup method”, and " priority” for each target data.
  • data ID identifier
  • data type identifier
  • data name identifier
  • backup condition identifier
  • priority priority
  • Data ID is identification data unique to each target data.
  • the "data type” is data indicating the name of the data type of the target data, and the "data name” is data indicating the name of the target data.
  • “Backup condition” is data indicating the backup condition of the target data, and includes “memory free space”, “HDD free space”, and the like. “Free memory capacity” is data indicating the condition of the free memory capacity of the gateway device 2 . “HDD free space” is data indicating the condition of the free space of the HDD of the gateway device 2 . The “backup condition” may include the usage rate of the processor of the gateway device 2, and may include the resource environment such as the temperature or humidity of the memory, HDD, or processor of the gateway device 2.
  • Backup method is data indicating the backup method of the target data, and includes “backup period” and “backup cycle”.
  • “Backup period” is data indicating the data period of the data to be backed up.
  • “Backup cycle” is data indicating a backup cycle, which is a cycle for backing up target data.
  • Priority is data indicating the priority of the target data, and the higher the priority of the target data, the more preferentially the backup destination gateway device 2 is determined.
  • priority is represented by a number from 1 to 5, and the smaller the value, the higher the priority.
  • the data type of the target data with ID D0001 is temperature and the data name is room temperature
  • the data type of the target data with ID D0002 is humidity
  • the data name is indoor humidity
  • a memory free space of "1 GB or more” and an HDD free space of "50 GB or more” are set as backup conditions, and a backup method is set as a backup method.
  • a period of "1 hour” and a backup cycle of "3 minutes” are set.
  • “1 GB or more” indicates that the memory free space is 1 GB or more
  • "50 GB or more” indicates that the HDD free space is 50 GB or more.
  • the setting data includes data of different combinations of backup conditions and backup methods for the same target data. For example, for the target data whose ID is D0002, in addition to the data shown in FIG. 3 minutes” is included.
  • the backup method determination unit 40 determines the backup method and backup destination for each target data, which is the data to be backed up, based on the setting data and the resource data.
  • the backup method determining unit 40 selects the gateway devices 2 that satisfy the backup conditions defined by the setting data in order of priority in the setting data, and determines the backup method for each gateway device 2 .
  • the backup method determination unit 40 causes the method data storage unit 32 to store the determined backup method for each target data and the method data including each data of the backup destination.
  • the backup method determination unit 40 determines the backup method and backup destination for each target data, for example, when the backup method determination timing arrives at a preset cycle.
  • the backup method determination unit 40 can shorten the arrival cycle of the backup method determination environment timing as the probability of a disaster occurring in the region where the cloud environment 8-1 in which the server 5-1 is constructed increases. can. For example, if the target of monitoring and control is a river, the higher the water level of the river, the higher the possibility of a disaster occurring.
  • the backup method determination unit 40 can determine the gateway device 2 as the backup destination of the target data to be the gateway device 2 that does not transmit the measurement data corresponding to the target data.
  • the measurement data corresponding to the target data is, for example, when the target data is intermediate data or processed data obtained from the measurement data transmitted from the monitoring control device 111 or the measurement data transmitted from the monitoring control device 111 . , are measurement data transmitted from the monitoring control device 111 .
  • the backup method determining unit 40 sets the gateway device 2 other than the gateway device 21 as the backup destination of the target data.
  • the backup method determination unit 40 can be preferentially targeted for backup, and target data with low importance can be excluded from backup.
  • the backup method determination unit 40 determines the backup method and backup destination for each target data so that the same target data is backed up to different gateway devices 2 when the HDDs of the plurality of gateway devices 2 have sufficient free space. can also decide.
  • the backup execution unit 41 stores the backup data in the backup destination gateway device 2 determined by the backup method determination unit 40 using the backup method determined by the backup method determination unit 40 .
  • the backup execution unit 41 acquires data for the backup period defined by the backup method determined by the backup method determination unit 40 from the monitoring control data storage unit 30 as target data.
  • the backup executing unit 41 transmits the acquired target data to the backup destination gateway device 2 via the communication unit 20 , thereby causing the backup destination gateway device 2 to store the acquired target data.
  • the backup executing unit 41 repeatedly acquires the target data from the monitoring control data storage unit 30 at the backup cycle defined by the backup method determined by the backup method determining unit 40, and stores the acquired target data in the backup destination gateway device 2. be memorized. As a result, the target data in the gateway device 2 is updated to new data at the backup cycle defined by the backup method.
  • the backup execution unit 41 stores the target data in the changed backup destination gateway device 2 using the changed backup method.
  • the backup execution unit 41 transmits backup data to the gateway device 2 during a period when the information amount of the control data from the monitoring control processing unit 24 to the plurality of monitoring control devices 1 via the gateway device 2 exceeds the threshold value. can be stopped.
  • the setting data generation unit 27 generates setting data in a setting mode selected from the first setting mode and the second setting mode.
  • the setting data generation unit 27 causes the setting data storage unit 31 to store the generated setting data.
  • the first setting mode is a mode for generating setting data based on general setting data.
  • the second setting mode is a mode for generating setting data based on past setting data. Note that the setting mode is set based on a setting request from the client device 3, for example.
  • the setting data generating section 27 generates setting data based on the general setting data stored in the general setting data storage section 33 .
  • the general setting data stored in the general setting data storage unit 33 is data including method data including data indicating a backup method and condition data indicating backup conditions for each data type.
  • FIG. 5 is a diagram showing an example of general setting data stored in a general setting data storage unit according to the first embodiment.
  • the general setting data stored in the general setting data storage unit 33 includes "tag ID”, "tag name”, “backup condition”, “backup method”, and "priority” as data types. data contained in each
  • Tag ID is identification data unique to each tag
  • tag name is data indicating the name of the tag.
  • a tag is set for each data type.
  • Tag name includes data indicating the name of the data type as the name of the tag.
  • the setting data generation unit 27 determines the data type of each target data included in the monitoring control data stored in the monitoring control data storage unit 30, and based on the determined data type, sets backup conditions and conditions for each target data. Generate configuration data that includes data indicating how to back up.
  • the setting data generated by the setting data generation unit 27 is data indicating the backup conditions associated with the ID "T0001" shown in FIG. and data indicating the backup method.
  • the setting data generation unit 27 since the setting data generation unit 27 generates setting data based on the general setting data and the monitoring control data, at least part of the monitoring control data handled by the monitoring control system 100 Backup settings are made automatically. Therefore, in the monitoring and control system 100, by executing the first setting mode, it is possible to shorten the work time for setting the backup.
  • the setting data generation unit 27 generates setting data based on the past setting data stored in the past setting data storage unit 34 .
  • the past setting data stored in the past setting data storage unit 34 is the setting data generated in the past, and includes the setting data generated in the past by the supervisory control system 100 and the settings generated in the past by another supervisory control system. Contains at least one of the data.
  • the past setting data storage unit 34 stores a plurality of past setting data.
  • the setting data generation unit 27 generates setting data based on the past setting data stored in the past setting data storage unit 34 and the monitoring control data stored in the monitoring control data storage unit 30 . Specifically, the setting data generating unit 27 selects the monitoring control data similar to the monitoring control data stored in the monitoring control data storage unit 30 from among the plurality of past setting data stored in the past setting data storage unit 34. Determine the past setting data that has been set for
  • the setting data generating unit 27 determines the past setting data having the most similar data type and the number of data for each data type among the plurality of past setting data.
  • the setting data generation unit 27 stores the past setting data determined to be most similar in the setting data storage unit 31 as setting data for the monitoring control system 100 .
  • the setting data generation unit 27 since the setting data generation unit 27 generates setting data based on the past setting data and the monitoring control data, all data of the monitoring control data handled by the monitoring control system 100 can be backed up. Settings are automatic. Therefore, in the monitoring and control system 100, by executing the second setting mode, the input operation at the time of backup setting is unnecessary.
  • the backup data acquisition unit 28 is used when the server 5 switches from the standby system to the active system. Specifically, when a failure occurs in the active server 5 and the standby system is switched to the active system, the backup data acquisition unit 28 acquires a plurality of backup data distributed and stored in the plurality of gateway devices 2 . obtained from the gateway device 2 of the For example, the backup data acquisition unit 28 acquires backup data from each gateway device 2 via the communication unit 20 by transmitting a backup data transmission request to each gateway device 2 from the communication unit 20 . The backup data acquisition unit 28 stores the acquired backup data in the monitoring control data storage unit 30 as monitoring control data.
  • FIG. 6 is a flowchart illustrating an example of processing by the gateway device according to the first embodiment
  • the data transmission/reception processing unit 12 of the gateway device 2 determines whether data addressed to another device has been received by the communication unit 10 or 11 (step S10).
  • the data transmission/reception processing unit 12 determines that data addressed to another device has been received (step S10: Yes)
  • the data transmission/reception processing unit 12 transmits data addressed to the other device received by the communication unit 10 or 11 to the other device.
  • a relay process of transferring via the communication unit 11 or the communication unit 10 is performed (step S11).
  • step S11 The resource data transmission processing unit 13 of the gateway device 2, when the processing of step S11 is completed, or when it is determined that the data addressed to another device has not been received (step S10: No), at the resource data transmission timing It is determined whether or not it has become (step S12).
  • the resource data transmission processing unit 13 for example, when the communication unit 11 receives a resource transmission request transmitted from the server 5 at the backup cycle determined by the server 5, the resource data transmission timing is reached. I judge that. Note that when the backup cycle information determined by the server 5 is transmitted from the server 5 and received by the gateway device 2 , the resource data transmission processing unit 13 transmits resource data based on the backup cycle information transmitted from the server 5 . It is determined that the data transmission timing has come.
  • the resource data transmission processing unit 13 determines that it is time to transmit the resource data (step S12: Yes), it generates resource data indicating the state of the resources of the gateway device 2 (step S13). Then, the resource data transmission processing unit 13 transmits the resource data generated in step S13 to the server 5 via the communication unit 11 (step S14).
  • step S14 determines whether the backup data from the server 5 has been received by the communication unit 11. It is determined whether or not (step S15).
  • the backup data storage unit 15 stores the backup data received by the communication unit 11 (step S16).
  • step S17 the backup data transmission request from the server 5 is received by the communication unit 11 is received.
  • the backup processing unit 14 determines that the backup data transmission request has been received by the communication unit 11 (step S17: Yes)
  • the backup processing unit 14 transmits the backup data stored in the backup data storage unit 15 to the server 5 via the communication unit 11. (step S18).
  • step S18 determines whether or not it is time to end the operation. (step S19). The gateway device 2 determines that it is time to end the operation when the power supply (not shown) is turned off or when an operation end operation is performed on the input unit (not shown).
  • step S19: No If the gateway device 2 determines that it is not the timing to end the operation (step S19: No), the process proceeds to step S10. Terminate the indicated process.
  • FIG. 7 is a flowchart illustrating an example of processing by a processing unit of the server according to the first embodiment; FIG. In FIG. 7, the function of a data server that stores monitoring control data including measurement data will be mainly described. Based on the monitoring control data stored in the data server, a process of monitoring and controlling a target of monitoring control is performed. Server functions are omitted.
  • the processing unit 21 of the server 5 determines whether or not the backup method decision timing has come (step S20).
  • the backup method determination timing is, for example, timing that arrives at a preset cycle.
  • step S21 When the processing unit 21 determines that the backup method determination timing has come (step S20: Yes), it performs backup method determination processing (step S21).
  • the backup method determination process of step S21 is the process of steps S30 to S33 shown in FIG. 8, and will be described in detail later.
  • step S21 When the processing of step S21 is completed, or when it is determined that the backup method determination timing has not come (step S20: No), the processing unit 21 performs backup data transmission processing (step S22).
  • the backup data transmission process of step S22 is the process of steps S40 to S43 shown in FIG. 9, and will be described later in detail.
  • step S23 determines whether or not the setting data decision timing has come.
  • step S23: Yes the processing unit 21 performs setting data decision processing (step S24).
  • the setting data determination process of step S24 is the process of steps S50 to S57 shown in FIG. 10, and will be described in detail later.
  • step S24 determines whether or not it is time to end the operation (step S25). .
  • the processing unit 21 determines that it is time to end the operation when the power (not shown) of the server 5 is turned off or when an operation end operation is performed on the input unit (not shown).
  • step S25: No If the processing unit 21 determines that it is not time to end the operation (step S25: No), the process proceeds to step S20, and if it determines that it is time to end the operation (step S25: Yes), Terminate the indicated process.
  • FIG. 8 is a flowchart showing an example of backup method determination processing by the processing unit of the server according to the first embodiment.
  • the processing unit 21 acquires setting data stored in the setting data storage unit 31 (step S30). Also, the processing unit 21 acquires resource data from each gateway device 2 (step S31).
  • the processing unit 21 determines the backup method and backup destination of each target data based on the setting data acquired in step S30 and the resource data acquired in step S31 (step S32).
  • the processing unit 21 causes the method data storage unit 32 to store method data including data indicating the determined backup method and backup destination of each target data (step S33), and ends the processing shown in FIG. .
  • FIG. 9 is a flowchart showing an example of backup data transmission processing by the processing unit of the server according to the first embodiment.
  • the processing unit 21 acquires method data stored in the method data storage unit 32 (step S40).
  • the processing unit 21 determines whether or not the backup data transmission timing has come for each target data (step S41). In the process of step S41, the processing unit 21 determines that the backup data transmission timing has come when the timing of the backup cycle defined by the method data has arrived. For example, if the backup cycle included in the backup method is 3 minutes, the processing unit 21 determines the timing that comes every 3 minutes as the backup data transmission timing.
  • step S41 determines that the backup data transmission timing has come (step S41: Yes)
  • the processing unit 21 selects the target data determined to have the backup data transmission timing among the monitoring control data stored in the monitoring control data storage unit 30. Acquire (step S42). Then, the processing unit 21 transmits the target data acquired in step S42 to the backup destination gateway device 2 included in the method data via the communication unit 20 (step S43).
  • step S43 When the processing of step S43 is completed, or when it is determined that the backup data transmission timing has not come (step S41: No), the processing unit 21 ends the processing shown in FIG.
  • FIG. 10 is a flowchart showing an example of setting data determination processing by the processing unit of the server according to the first embodiment.
  • the processing unit 21 determines whether or not the first setting mode is set (step S50). In the process of step S50, the processing unit 21 determines that the first setting mode is not set when the second setting mode is set.
  • step S50 determines that the first setting mode is set (step S50: Yes)
  • it acquires the general setting data stored in the general setting data storage unit 33 (step S51).
  • the processing unit 21 acquires the monitoring control data stored in the monitoring control data storage unit 30 (step S52).
  • the processing unit 21 generates setting data based on the general setting data acquired in step S51 and the monitoring control data acquired in step S52 (step S53).
  • step S50 determines that the first setting mode is not set (step S50: No)
  • step S54 acquires the past setting data stored in the past setting data storage unit 34
  • step S55 acquires the monitoring control data stored in the monitoring control data storage unit 30
  • step S56 generates setting data based on the past setting data acquired in step S54 and the monitoring control data acquired in step S55 (step S56).
  • step S53 When the processing of step S53 or the processing of step S56 ends, the processing unit 21 stores the generated setting data in the setting data storage unit 31 (step S57), and ends the processing shown in FIG. .
  • FIG. 11 is a diagram showing an example hardware configuration of each of the gateway device and the server according to the first embodiment.
  • each of gateway device 2 and server 5 includes a computer having processor 101 , memory 102 , communication device 103 and interface circuit 104 .
  • Processor 101 , memory 102 , communication device 103 , and interface circuit 104 can send and receive information to and from each other, eg, via bus 105 .
  • the backup data storage unit 15 of the gateway device 2 is implemented by the memory 102 .
  • Communication units 10 and 11 of gateway device 2 are realized by communication device 103 .
  • the processor 101 of the gateway device 2 reads and executes the programs stored in the memory 102 to perform functions such as the data transmission/reception processing unit 12, the resource data transmission processing unit 13, and the backup processing unit 14.
  • the monitoring control data storage unit 30, the method data storage unit 32, the setting data storage unit 31, the general setting data storage unit 33, and the past setting data storage unit 34 of the server 5 are realized by the memory 102.
  • the communication unit 20 of the server 5 is implemented by the communication device 103 .
  • the processor 101 of the server 5 reads out and executes a program stored in the memory 102 to perform functions such as the processing unit 21 .
  • the processor 101 is, for example, an example of a processing circuit, and includes one or more of a CPU (Central Processing Unit), a DSP (Digital Signal Processor), and a system LSI (Large Scale Integration).
  • the memory 102 includes one or more of RAM (Random Access Memory), ROM (Read Only Memory), flash memory, EPROM (Erasable Programmable Read Only Memory), and EEPROM (registered trademark) (Electrically Erasable Programmable Read Only Memory). include.
  • the memory 102 also includes a recording medium on which a computer-readable program is recorded. Such recording media include one or more of nonvolatile or volatile semiconductor memories, magnetic disks, flexible memories, optical disks, compact disks, and DVDs (Digital Versatile Discs).
  • Each of the gateway device 2 and the server 5 may include integrated circuits such as ASIC (Application Specific Integrated Circuit) and FPGA (Field Programmable Gate Array).
  • the server 5 consists of a processing server and a data server. Note that the server 5 may have a configuration that does not have the function of a processing server.
  • the supervisory control system 100 includes multiple gateway devices 2 and multiple servers 5 .
  • a plurality of gateway devices 2 are communicably connected to a plurality of monitoring control devices 1 .
  • the server 5 collects measurement data transmitted from a plurality of monitoring control devices 1 via a plurality of gateway devices 2, and monitors and controls objects to be monitored and controlled based on the collected measurement data.
  • the server 5 includes a resource data acquisition section 25 , a setting data storage section 31 and a backup processing section 26 .
  • the resource data acquisition unit 25 periodically acquires resource data indicating the resource usage status of each of the plurality of gateway devices 2 .
  • the setting data storage unit 31 stores setting data including method data including data indicating a backup method and condition data indicating backup conditions for each target data included in the backup data, which is data to be backed up.
  • the backup processing unit 26 distributes and stores the backup data in a plurality of gateway devices 2 while changing the backup method based on the resource data and setting data periodically acquired by the resource data acquisition unit 25 . As a result, the supervisory control system 100 can more appropriately distribute and store the backup data.
  • the backup processing unit 26 also includes a backup method determination unit 40 and a backup execution unit 41 .
  • the backup method determination unit 40 determines a backup method for each target data based on resource data and condition data.
  • the backup execution unit 41 distributes the backup data according to the backup method for each target data determined by the backup method determination unit 40 and stores the backup data in the plurality of gateway devices 2 .
  • the monitoring and control system 100 can distribute the backup data by an appropriate backup method for each target data and store it in a plurality of gateway devices 2 .
  • the backup method determining unit 40 determines, for each target data, which gateway device 2 stores the target data among the plurality of gateway devices 2 based on the resource data and the condition data.
  • the backup execution unit 41 distributes the backup data based on the determination result of the backup method determination unit 40 and stores the backup data in the plurality of gateway devices 2 .
  • the monitoring and control system 100 can cause the backup data to be stored in the appropriate backup destination gateway device 2 for each target data.
  • the monitoring control system 100 also includes a general setting data storage unit 33 and a setting data generation unit 27 .
  • the general setting data storage unit 33 stores general setting data including method data including data indicating a backup method and condition data indicating backup conditions for each data type.
  • the setting data generator 27 generates setting data based on the general setting data and the backup data. As a result, in the supervisory control system 100, the backup setting is automatically performed for at least part of the supervisory control data handled by the supervisory control system 100, thereby shortening the work time for the backup setting. can do.
  • the monitoring control system 100 also includes a past setting data storage unit 34 and a setting data generation unit 27 .
  • the past setting data storage unit 34 stores past setting data, which is setting data generated in the past.
  • the setting data generator 27 generates setting data based on the past setting data and the backup data. As a result, in the supervisory control system 100, the backup setting is automatically performed for all data of the supervisory control data handled by the supervisory control system 100, so that the input operation at the time of the backup setting is unnecessary.
  • the supervisory control system 100 further includes a standby server 52 .
  • the server 51 is an active server.
  • the standby server 52 includes a backup data acquisition unit 28 and a monitor control processing unit 24 .
  • the backup data acquisition unit 28 acquires backup data from a plurality of gateway devices 2 when a failure occurs in the active server 51 .
  • the supervisory control processor 24 monitors and controls the plurality of supervisory control devices 1 based on the backup data.
  • the active server 5 1 and the standby server 5 2 are constructed in cloud environments 8 1 and 8 2 provided in different regions from each other. As a result, the monitoring and control system 100 can accurately continue monitoring and controlling the plurality of monitoring and control devices 1 even when a disaster or the like occurs.
  • Embodiment 2 The supervisory control system according to the second embodiment differs from the supervisory control system according to the first embodiment in that setting data can be created from an external device and the backup status can be displayed on the external device. .
  • constituent elements having functions similar to those of the first embodiment are given the same reference numerals, and descriptions thereof are omitted, and differences from the monitoring and control system of the first embodiment are mainly described.
  • FIG. 12 is a diagram illustrating an example of a configuration of a monitoring control system according to a second embodiment
  • the supervisory control system 100A according to the second embodiment includes servers 5A 1 and 5A 2 in place of the servers 5 1 and 5 2 .
  • the servers 5A 1 and 5A 2 may be referred to as the server 5A when they are individually indicated without distinction.
  • FIG. 13 is a diagram showing an example of the configuration of a server according to the second embodiment.
  • the server 5A is different from the server 5 in that it includes a processing unit 21A instead of the processing unit 21.
  • FIG. The processing unit 21A differs from the processing unit 21 in that it includes a setting data updating unit 42 and a data providing unit 43 .
  • the setting data update unit 42 sends the setting data creation screen data to the client device 3 via the communication unit 20 . Send. After transmitting the setting data creation screen data, the setting data update unit 42 sets or updates the setting data stored in the setting data storage unit 31 based on the setting request data acquired from the client device 3 . When the communication unit 20 receives the cancellation request transmitted from the client device 3, the setting data update unit 42 ends the setting data update process.
  • the setting data update unit 42 updates the backup data included in the setting data stored in the setting data storage unit 31 in accordance with the state of the monitoring control target, the state of the monitoring control device 1, or the surrounding environment of the monitoring control target. Information such as method and priority can be changed.
  • the setting data update unit 42 can lengthen the backup period or shorten the backup cycle when the state of the monitoring control target is deteriorating. Further, when the measurement data from the monitoring control device 1 cannot be obtained, the setting data updating unit 42 can lengthen the backup period for the target data corresponding to the measurement data that cannot be obtained. In addition, the setting data update unit 42 can lengthen the backup period or shorten the backup cycle as the possibility of a disaster occurring in the region where the cloud environment 8 in which the server 5 is constructed increases. .
  • the data providing unit 43 When the communication unit 20 receives a backup status display request transmitted from the client device 3, the data providing unit 43 generates backup status display data indicating the status of backup processing by the backup processing unit 26. The data providing unit 43 transmits the generated backup status display data to the client device 3 via the communication unit 20 .
  • the data providing unit 43 acquires setting data from the setting data storage unit 31 and method data from the method data storage unit 32 .
  • the data providing unit 43 also acquires information indicating the status of backup execution from the backup processing unit 26 .
  • the data providing unit 43 generates backup status display data indicating the status of backup processing based on the acquired setting data, method data, and information indicating the status of backup execution.
  • the client device 3 transmits a setting data creation request to the server 5A when a specific operation is performed by the user on the input unit (not shown) of the client device 3, and sets the settings transmitted from the server 5A in response to the setting data creation request.
  • Receive data creation screen data The client device 3 displays a setting data creation screen on a display unit (not shown) based on the received setting data creation screen data.
  • FIG. 14 is a diagram showing an example of the configuration of a client device according to the second embodiment.
  • the client device 3 includes a communication unit 60, a display processing unit 61, a display unit 62, an input unit 63, an input processing unit 64, a request transmission processing unit 65, and a setting data transmission process. a portion 66;
  • the communication unit 60 is communicably connected to the network 6 and transmits and receives data to and from the server 5A.
  • the display processing unit 61 displays information on the display unit 62 .
  • the display unit 62 is, for example, an LCD (Liquid Crystal Display) or an organic EL (Electro-Luminescence) display.
  • Input unit 63 includes, for example, a mouse, a keyboard, or a touch panel.
  • the input processing unit 64 accepts user operations on the input unit 63 .
  • the request transmission processing unit 65 transmits a request according to the user's operation on the input unit 63 to the server 5A via the communication unit 60, based on the user's operation on the input unit 63 accepted by the input processing unit 64. do.
  • the request transmission processing unit 65 transmits a setting data creation request to the server 5A via the communication unit 60 when the input processing unit 64 detects that the user has performed a specific operation on the input unit 63. .
  • the display processing unit 61 causes the display unit 62 to display a screen corresponding to the screen data transmitted from the server 5A and received by the communication unit 60. For example, when the screen data transmitted from the server 5A and received by the communication unit 60 is setting data creation screen data, the display processing unit 61 causes the display unit 62 to display the setting data creation screen.
  • FIG. 15 is a diagram showing an example of a setting data creation screen displayed on the display unit of the client device according to the second embodiment.
  • a setting data creation screen 70 shown in FIG. 15 includes a setting data creation column 71 , a setting completion button 72 , and a cancel button 73 .
  • the setting data creation column 71 includes a plurality of input boxes for inputting information such as backup conditions and backup methods.
  • the user of the client device 3 can input information such as the backup conditions and backup method of the target data in a plurality of input boxes of the setting data creation column 71 by operating the input unit 63 .
  • the display processing unit 61 displays the information input by the user in the input frame.
  • the display unit 62 displays the setting data creation column 71 in the state of being added to the .
  • the display processing unit 61 can, for example, highlight an input frame in which no information is input by the user by making it red. Thereby, the user can easily grasp the input frame in which the information is input.
  • the input processing unit 64 After the information such as the backup conditions and the backup method is added to the setting data creation column 71, the input processing unit 64 detects that the user of the client device 3 has operated the input unit 63 to operate the setting completion button 72. If so, the setting request data including the information input by the user is transmitted to the server 5A via the communication unit 60. FIG. Accordingly, the setting data is set or updated by the server 5A.
  • the request transmission processing unit 65 sends a cancel request to the server 5A. Send via
  • backup settings can be made from the client device 3, and work efficiency can be improved when setting or changing setting data.
  • the supervisory control system 100A since the input boxes that have not been input are highlighted, it is possible to prevent the setting from not being input and the erroneous input, thereby improving the work efficiency.
  • the request transmission processing unit 65 transmits a setting data creation request to the server 5A via the communication unit 60 when the input processing unit 64 detects that the input unit 63 has been specified by the user.
  • the client device 3 transmits a backup status display request to the server 5A when a specific operation is performed by the user on an input unit (not shown) of the client device 3, and the server 5A transmits a backup status display request in response to the backup status display request.
  • receive backup status display data receive backup status display data.
  • the client device 3 displays a backup status display screen on the display unit 62 based on the received backup status display data.
  • the backup status display data is an example of status data indicating the backup status.
  • FIG. 16 is a diagram showing an example of a backup status display screen displayed on the display unit of the client device according to the second embodiment.
  • a backup status display screen 80 shown in FIG. 16 includes a backup status display column 81 and a close button 82 .
  • the backup status display column 81 contains information indicating the content of the setting data, the content of the method data, and the like. As a result, the user of the client device 3 can know the backup implementation status of the monitoring control system 100A, and can judge whether the backup method and the like are appropriate.
  • the backup status display column 81 includes, for example, information about the gateway device 2 of the backup destination, information indicating whether or not backup is being performed for each backup destination, and Information such as the latest time when backup was executed for each backup destination is included.
  • FIG. 17 is a flowchart illustrating an example of processing by a processing unit of the server according to the second embodiment; FIG. The processes of steps S60 to S64 and S69 shown in FIG. 17 are the same as the processes of steps S20 to S25 shown in FIG. 7, so description thereof will be omitted.
  • the processing unit 21A of the server 5A determines whether or not the communication unit 20 has received the setting data creation request from the client device 3 (step S65).
  • the processing unit 21A executes setting data creation processing (step S66).
  • the setting data creation process of step S66 is the process of steps S70 to S73 shown in FIG. 18, and will be described in detail later.
  • step S66 When the processing of step S66 is finished, or when it is determined that the setting data creation request has not been received (step S65: No), the processing unit 21A receives the backup status display request from the client device 3 by the communication unit 20. It is determined whether or not it has been done (step S67).
  • step S67 Yes
  • step S68 executes backup status display processing.
  • the backup status display process of step S68 is the process of steps S80 to S83 shown in FIG. 19, and will be described in detail later.
  • step S68 When the processing of step S68 is finished, or when it is determined that the backup status display request has not been received (step S67: No), the processing unit 21A determines whether or not it is time to end the operation (step S69). ).
  • step S69 No
  • the process proceeds to step S60. Terminate the indicated process.
  • FIG. 18 is a flowchart showing an example of setting data creation processing by the processing unit of the server according to the second embodiment. As shown in FIG. 18, the processing unit 21A transmits setting data creation screen data to the server 5A via the communication unit 20 (step S70).
  • the processing unit 21A determines whether or not the communication unit 20 has received the setting request data from the client device 3 (step S71).
  • the processing unit 21A determines that the setting request data has been received (step S71: Yes)
  • the processing unit 21A sets or updates the setting data based on the setting request data (step S72).
  • step S72 When the processing of step S72 is completed, or when it is determined that the setting request data has not been received (step S71: No), the processing unit 21A determines whether the communication unit 20 has received a cancel request from the client device 3. It is determined whether or not (step S73).
  • step S73: No the processing unit 21A determines that the cancellation request has not been received (step S73: No) the process proceeds to step S71, and when it determines that the cancellation request has been received (step S73: Yes), Terminate the indicated process.
  • FIG. 19 is a flowchart showing an example of backup status display processing by the processing unit of the server according to the second embodiment.
  • the processing unit 21A acquires setting data from the setting data storage unit 31 (step S80).
  • the processing unit 21A also acquires the method data stored in the method data storage unit 32 (step S81).
  • the processing unit 21A acquires information indicating the status of backup execution from the backup processing unit 26 (step S82).
  • the processing unit 21A generates and transmits backup status display screen data based on the setting data acquired in step S80, the method data acquired in step S81, and the information indicating the backup execution status acquired in step S82. (Step S83).
  • the processing unit 21A ends the processing shown in FIG. 19 when the processing of step S83 is completed.
  • a hardware configuration example of the processing unit 21A of the server 5A according to the second embodiment is the same as the hardware configuration of the processing unit 21 of the server 5 shown in FIG.
  • the processor 101 can execute the functions of the processing unit 21A by reading out and executing programs stored in the memory 102 .
  • the monitoring control system 100A includes the setting data update unit 42.
  • the setting data update unit 42 sets or updates the setting data stored in the setting data storage unit 31 based on data acquired from the client device 3, which is an example of an external device.
  • the client device 3 which is an example of an external device.
  • backup settings can be made from the client device 3, and work efficiency can be improved when setting or changing setting data.
  • the monitoring and control system 100A also includes a data providing unit 43 that provides status data indicating the status of backup to multiple gateway devices 2 .
  • a data providing unit 43 that provides status data indicating the status of backup to multiple gateway devices 2 .

Abstract

This supervisory control system comprises a plurality of gateway devices and a server (5). The server (5) comprises a resource data acquisition unit (25), a setting data storage unit (31), and a backup processing unit (26). The resource data acquisition unit (25) acquires resource data indicating the resource usage of each of the plurality of gateway devices. The setting data storage unit (31) stores setting data that includes, for each set of target data included in backup data, which is data to be backed up, both method data including data indicating a backup method, and condition data indicating backup conditions. The backup processing unit (26) distributes the backup data to the plurality of gateway devices for storage while changing the backup method on the basis of resource data and setting data periodically acquired by the resource data acquisition unit (25).

Description

監視制御システム、サーバ、バックアップ処理方法、およびバックアップ処理プログラムSupervisory control system, server, backup processing method, and backup processing program
 本開示は、監視制御対象の監視および制御を行う監視制御システム、サーバ、バックアップ処理方法、およびバックアップ処理プログラムに関する。 The present disclosure relates to a supervisory control system, a server, a backup processing method, and a backup processing program that monitor and control objects to be monitored and controlled.
 従来、障害発生に備えて機能が維持できるようにバックアップ機能が搭載されて冗長化された監視制御システムが知られている。そして、監視制御システムの冗長化において、大規模災害に備えてバックアップ装置を遠隔地に配置してディザスタリカバリを行うことが検討されている。ディザスタリカバリが実行されるためには、バックアップ装置において監視制御機能に加えて主装置と同様のデータを備える必要がある。 Conventionally, redundant monitoring and control systems equipped with backup functions have been known so that functions can be maintained in case of failure. In addition, in the redundancy of the supervisory control system, it is being studied to arrange a backup device at a remote location and perform disaster recovery in preparation for a large-scale disaster. In order to perform disaster recovery, the backup device must have the same data as the main device in addition to the monitoring control function.
 しかしながら、主装置のデータには、監視制御機器から送信される計測データそのものおよび計測データを加工データに変換する途中の中間データなども含まれることから、データ容量が膨大となり、主装置の全データをバックアップ装置との間で定期的に同期させることが難しい場合がある。そこで、例えば、特許文献1には、監視制御機器から出力されるデータを複数のクライアントに分散してバックアップする技術が提案されている。 However, the data of the main unit includes the measurement data itself transmitted from the monitoring control equipment and the intermediate data in the process of converting the measurement data into processed data. can be difficult to periodically synchronize with a backup device. Therefore, for example, Japanese Patent Laid-Open No. 2002-200003 proposes a technique for distributing and backing up data output from a monitoring control device to a plurality of clients.
特開2014-052859号公報JP 2014-052859 A
 しかしながら、上記特従来の技術では、バックアップデータが分散して記憶される装置の状態変化に応じたバックアップが行われておらず、改善の余地がある。 However, in the above-mentioned conventional technology, backup data is not backed up in response to changes in the state of devices in which backup data is stored in a distributed manner, and there is room for improvement.
 本開示は、上記に鑑みてなされたものであって、バックアップデータをより適切に分散して記憶させることができる監視制御システムを得ることを目的とする。 The present disclosure has been made in view of the above, and an object thereof is to obtain a monitoring control system capable of distributing and storing backup data more appropriately.
 上述した課題を解決し、目的を達成するために、本開示の監視制御システムは、複数のゲートウェイ装置と、サーバとを備える。複数のゲートウェイ装置は、複数の監視制御機器と通信可能に接続される。サーバは、複数のゲートウェイ装置を介して複数の監視制御機器から送信される計測データを収集し、収集した計測データに基づいて監視制御対象の監視および制御を行う。サーバは、リソースデータ取得部と、設定データ記憶部と、バックアップ処理部とを備える。リソースデータ取得部は、複数のゲートウェイ装置の各々のリソースの使用状況を示すリソースデータを周期的に取得する。設定データ記憶部は、バックアップ方法を示すデータを含む方法データとバックアップ条件を示す条件データとをバックアップ対象となるデータであるバックアップデータに含まれる対象データ毎に含む設定データを記憶する。バックアップ処理部は、リソースデータ取得部で周期的に取得されたリソースデータと設定データとに基づいて、バックアップ方法を変化させながら、バックアップデータを分散して複数のゲートウェイ装置に記憶させる。 In order to solve the above-described problems and achieve the purpose, the supervisory control system of the present disclosure includes multiple gateway devices and a server. A plurality of gateway devices are communicably connected to a plurality of monitoring control devices. The server collects measurement data transmitted from a plurality of monitoring control devices via a plurality of gateway devices, and monitors and controls a monitoring control target based on the collected measurement data. The server includes a resource data acquisition section, a setting data storage section, and a backup processing section. The resource data acquisition unit periodically acquires resource data indicating the resource usage status of each of the plurality of gateway devices. The setting data storage unit stores setting data including method data including data indicating a backup method and condition data indicating backup conditions for each target data included in backup data, which is data to be backed up. The backup processing unit distributes and stores the backup data in a plurality of gateway devices while changing the backup method based on the resource data and setting data periodically acquired by the resource data acquisition unit.
 本開示によれば、バックアップデータをより適切に分散して記憶させることができる、という効果を奏する。 According to the present disclosure, it is possible to more appropriately distribute and store backup data.
実施の形態1にかかる監視制御システムの構成の一例を示す図1 is a diagram showing an example of a configuration of a monitoring control system according to a first embodiment; FIG. 実施の形態1にかかるゲートウェイ装置の構成の一例を示す図1 is a diagram showing an example of a configuration of a gateway device according to a first embodiment; FIG. 実施の形態1にかかるサーバの構成の一例を示す図FIG. 2 is a diagram showing an example of the configuration of a server according to the first embodiment; FIG. 実施の形態1にかかる設定データ記憶部に記憶される設定データの一例を示す図FIG. 4 is a diagram showing an example of setting data stored in a setting data storage unit according to the first embodiment; FIG. 実施の形態1にかかる一般設定データ記憶部に記憶される一般設定データの一例を示す図FIG. 4 is a diagram showing an example of general setting data stored in a general setting data storage unit according to the first embodiment; FIG. 実施の形態1にかかるゲートウェイ装置による処理の一例を示すフローチャート4 is a flowchart showing an example of processing by the gateway device according to the first embodiment; 実施の形態1にかかるサーバの処理部による処理の一例を示すフローチャート4 is a flowchart showing an example of processing by a processing unit of the server according to the first embodiment; 実施の形態1にかかるサーバの処理部によるバックアップ方法決定処理の一例を示すフローチャート4 is a flowchart showing an example of backup method determination processing by the processing unit of the server according to the first embodiment; 実施の形態1にかかるサーバの処理部によるバックアップデータ送信処理の一例を示すフローチャート4 is a flowchart showing an example of backup data transmission processing by the processing unit of the server according to the first embodiment; 実施の形態1にかかるサーバの処理部による設定データ決定処理の一例を示すフローチャート4 is a flowchart showing an example of setting data determination processing by a processing unit of the server according to the first embodiment; 実施の形態1にかかるゲートウェイ装置およびサーバの各々のハードウェア構成の一例を示す図FIG. 2 shows an example of hardware configuration of each of the gateway device and the server according to the first embodiment; 実施の形態2にかかる監視制御システムの構成の一例を示す図FIG. 11 is a diagram showing an example of a configuration of a monitoring control system according to a second embodiment; 実施の形態2にかかるサーバの構成の一例を示す図A diagram showing an example of a configuration of a server according to a second embodiment 実施の形態2にかかるクライアント装置の構成の一例を示す図FIG. 11 is a diagram showing an example of a configuration of a client device according to a second embodiment; 実施の形態2にかかるクライアント装置の表示部に表示される設定データ作成画面の一例を示す図FIG. 11 is a diagram showing an example of a setting data creation screen displayed on the display unit of the client device according to the second embodiment; FIG. 実施の形態2にかかるクライアント装置の表示部に表示されるバックアップ状況表示画面の一例を示す図FIG. 11 is a diagram showing an example of a backup status display screen displayed on the display unit of the client device according to the second embodiment; FIG. 実施の形態2にかかるサーバの処理部による処理の一例を示すフローチャート10 is a flowchart showing an example of processing by a processing unit of the server according to the second embodiment; 実施の形態2にかかるサーバの処理部による設定データ作成処理の一例を示すフローチャート10 is a flowchart showing an example of setting data creation processing by the processing unit of the server according to the second embodiment; 実施の形態2にかかるサーバの処理部によるバックアップ状況表示処理の一例を示すフローチャート10 is a flowchart showing an example of backup status display processing by the processing unit of the server according to the second embodiment;
 以下に、実施の形態にかかる監視制御システム、サーバ、バックアップ処理方法、およびバックアップ処理プログラムを図面に基づいて詳細に説明する。 A monitoring control system, a server, a backup processing method, and a backup processing program according to the embodiment will be described in detail below with reference to the drawings.
実施の形態1.
 図1は、実施の形態1にかかる監視制御システムの構成の一例を示す図である。図1に示すように、実施の形態1にかかる監視制御システム100は、複数の監視制御機器111~11n,1m1~1mnと、複数のゲートウェイ装置2~2と、複数のクライアント装置3,3,3と、接続装置4と、サーバ5,5とを備える。n,mは2以上の整数である。
Embodiment 1.
1 is a diagram illustrating an example of a configuration of a monitoring control system according to a first embodiment; FIG. As shown in FIG. 1, the supervisory control system 100 according to the first embodiment includes a plurality of supervisory control devices 1 11 to 1 1n and 1 m1 to 1 mn , a plurality of gateway devices 2 1 to 2 m , a plurality of It comprises client devices 3 1 , 3 2 , 3 3 , a connection device 4 , and servers 5 1 , 5 2 . n and m are integers of 2 or more.
 以下において、複数の監視制御機器111~11n,1m1~1mnの各々を個別に区別せずに示す場合、監視制御機器1と記載する場合があり、複数のゲートウェイ装置2~2の各々を個別に区別せずに示す場合、ゲートウェイ装置2と記載する場合がある。また、複数のクライアント装置3,3,3の各々を個別に区別せずに示す場合、クライアント装置3と記載する場合があり、サーバ5,5の各々を個別に区別せずに示す場合、サーバ5と記載する場合がある。 Hereinafter, when each of the plurality of supervisory control devices 1 11 to 1 1n and 1 m1 to 1 mn is indicated without distinguishing them individually, they may be referred to as the supervisory control device 1, and the plurality of gateway devices 2 1 to 2 When each of m is shown without being distinguished individually, it may be described as gateway device 2 . Also, when each of the plurality of client devices 3 1 , 3 2 , 3 3 is shown without being individually distinguished, it may be described as the client device 3, and each of the servers 5 1 , 5 2 is not individually distinguished. , it may be referred to as a server 5.
 各監視制御機器1は、監視制御システム100の監視制御対象に設けられた設備の監視および制御を行うための機器であり、例えば、監視制御対象に設けられた設備の状態を示す計測データをゲートウェイ装置2へ送信する。また、各監視制御機器1は、サーバ5からゲートウェイ装置2を介して送信される制御データを取得し、取得した制御データに基づいて監視制御対象に設けられた設備を制御する。 Each monitoring control device 1 is a device for monitoring and controlling equipment provided as a monitoring control target of the monitoring control system 100. For example, measurement data indicating the state of the equipment provided as a monitoring control target Send to device 2. Further, each monitoring control device 1 acquires control data transmitted from the server 5 via the gateway device 2, and controls equipment provided as a target of monitoring control based on the acquired control data.
 監視制御システム100の監視制御対象は、例えば、浄水場、発電所、または工場などプラント、河川、道路、または鉄道などである。例えば、監視制御対象が鉄道である場合、監視制御対象の設備は、例えば、駅舎設備、変電所、または沿線設備などである。駅舎設備は、例えば、改札設備、監視カメラ、照明設備、空調設備、可動式ホーム、または昇降機などである。沿線設備は、例えば、踏み切り装置または信号装置などである。 The monitoring and control targets of the monitoring and control system 100 are, for example, plants such as water purification plants, power plants, or factories, rivers, roads, or railways. For example, when the monitoring control target is a railroad, the monitoring control target equipment is, for example, a station building equipment, a substation, or a railway line equipment. Station building facilities include, for example, ticket gate facilities, surveillance cameras, lighting facilities, air conditioning facilities, movable platforms, elevators, and the like. The wayside equipment is, for example, a railroad crossing device or a signaling device.
 また、監視制御対象が道路である場合、監視制御対象の設備は、例えば、受電設備、換気設備、照明設備、VICS(登録商標)(Vehicle Information and Communication System)設備、ETC(Electronic Toll Collection system)設備、ITV(Industrial TeleVision)設備などである。また、監視制御対象が河川である場合、監視制御対象の設備は、例えば、水位計または監視カメラなどである。 Also, when the target of monitoring and control is a road, the facilities to be monitored and controlled include, for example, power receiving equipment, ventilation equipment, lighting equipment, VICS (registered trademark) (Vehicle Information and Communication System) equipment, ETC (Electronic Toll Collection system) equipment, ITV (Industrial TeleVision) equipment, etc. In addition, when the target of monitoring control is a river, the equipment subject to monitoring control is, for example, a water level gauge or a monitoring camera.
 ゲートウェイ装置2は、複数の監視制御機器1と通信可能に接続され、複数の監視制御機器1とサーバ5との間のデータの送受信を行う。例えば、ゲートウェイ装置2は、複数の監視制御機器1から出力される計測データを受信し、受信した計測データをサーバ5へネットワーク6を介して送信する。ネットワーク6は、例えば、インターネットなどのWAN(Wide Area Network)である。 The gateway device 2 is communicably connected to a plurality of monitoring control devices 1 and transmits and receives data between the plurality of monitoring control devices 1 and the server 5 . For example, the gateway device 2 receives measurement data output from a plurality of monitoring control devices 1 and transmits the received measurement data to the server 5 via the network 6 . The network 6 is, for example, a WAN (Wide Area Network) such as the Internet.
 クライアント装置3は、例えば、パーソナルコンピュータまたはタブレットであり、例えば、監視制御対象の設備を管理する作業者などによって保持される。クライアント装置3は、ネットワーク6および接続装置4を介してサーバ5と通信可能に接続される。 The client device 3 is, for example, a personal computer or a tablet, and is held by, for example, an operator who manages equipment to be monitored and controlled. The client device 3 is communicably connected to the server 5 via the network 6 and the connection device 4 .
 サーバ5,5は、互いに異なる地域に設けられたクラウド環境8,8に構築される。クラウド環境8は、例えば、東京などの第1の都市に設けられ、クラウド環境8は、例えば、大阪などの第2の都市に設けられる。クラウド環境8,8は、クラウドサービスプラットフォームにおいて提供されるコンピュータ資源を含む。サーバ5は、運用系のサーバであり、サーバ5は、災害などによってサーバ5に障害が発生した場合に、サーバ5に代えて動作する待機系のサーバである。 The servers 5 1 and 5 2 are constructed in cloud environments 8 1 and 8 2 provided in different regions. The cloud environment 81 is provided in a first city, for example Tokyo, and the cloud environment 82 is provided in a second city, for example Osaka. Cloud environments 8 1 and 8 2 include computer resources provided in cloud service platforms. The server 5-1 is an active server, and the server 5-2 is a standby server that operates instead of the server 5-1 when a failure occurs in the server 5-1 due to a disaster or the like.
 クラウドサービスプラットフォームは、クラウドサービスプロバイダによって提供され、例えば、PaaS(Platform as a Service)などを含む。サーバ5,5は、クラウド環境8,8に構築されるため、クラウドサーバとも呼ばれることがある。以下において、クラウド環境8,8の各々を個別に区別せずに示す場合、クラウド環境8と記載する場合がある。 A cloud service platform is provided by a cloud service provider and includes, for example, PaaS (Platform as a Service). Since the servers 5 1 and 5 2 are constructed in the cloud environments 8 1 and 8 2 , they are sometimes called cloud servers. In the following, when each of the cloud environments 8 1 and 8 2 is indicated without distinguishing them individually, they may be described as a cloud environment 8 .
 サーバ5は、複数の監視制御機器1から送信される計測データを複数のゲートウェイ装置2を介して収集し、収集した計測データに基づいて監視制御対象の監視および制御を行う。サーバ5は、例えば、計測データを含む監視制御データを記憶するデータサーバの機能と、データサーバに記憶された監視制御データに基づいて、監視制御対象の監視および制御を行う処理サーバの機能とを含む。 The server 5 collects measurement data transmitted from a plurality of monitoring control devices 1 via a plurality of gateway devices 2, and monitors and controls monitoring and control targets based on the collected measurement data. The server 5 has, for example, a function of a data server that stores monitoring control data including measurement data, and a function of a processing server that monitors and controls objects to be monitored and controlled based on the monitoring control data stored in the data server. include.
 接続装置4は、ディザスタリカバリを行うために、接続するクラウドのリージョンを選択する。例えば、接続装置4は、クラウド環境8を選択して、ゲートウェイ装置2から送信される計測データなどのデータをサーバ5へ送信し、サーバ5から送信される制御データなどのデータをゲートウェイ装置2へ送信する中継処理を行う。そして、接続装置4は、災害などによってクラウド環境8に障害が発生した場合に、クラウド環境8を選択して、ゲートウェイ装置2から送信される計測データなどのデータをサーバ5へ送信し、サーバ5から送信される制御データなどのデータをゲートウェイ装置2へ送信する中継処理を行う。 The connection device 4 selects a cloud region to connect to for disaster recovery. For example, the connection device 4 selects the cloud environment 8-1, transmits data such as measurement data transmitted from the gateway device 2 to the server 5-1 , and transmits data such as control data transmitted from the server 5-1 to the gateway device 8-1. Relay processing for transmission to the device 2 is performed. When a failure occurs in the cloud environment 8-1 due to a disaster or the like, the connection device 4 selects the cloud environment 8-2 and transmits data such as measurement data transmitted from the gateway device 2 to the server 5-2. , relay processing for transmitting data such as control data transmitted from the server 52 to the gateway device 2 .
 サーバ5は、複数のゲートウェイ装置2の各々のリソース使用状況に基づいて、計測データを含む監視制御データをバックアップデータとして複数のゲートウェイ装置2に分散して記憶させる。バックアップデータは、バックアップ対象となるデータである。サーバ5は、複数のゲートウェイ装置2の各々のリソース使用状況を周期的に監視しており、リソース使用状況の変化に応じて、バックアップ先のゲートウェイ装置2、バックアップ方法、およびバックアップさせるデータの種類などを変更する。これにより、サーバ5は、バックアップ方法などを変化させながら、バックアップデータを複数のゲートウェイ装置2に分散して記憶させることができることから、バックアップデータをより適切に分散して記憶させることができる。 The server 51 distributes and stores monitor control data including measurement data as backup data in a plurality of gateway devices 2 based on the resource usage status of each of the plurality of gateway devices 2 . Backup data is data to be backed up. The server 51 periodically monitors the resource usage status of each of the plurality of gateway devices 2, and in response to changes in the resource usage status, the gateway device 2 to be backed up, the backup method, and the type of data to be backed up. change etc. As a result, the server 51 can distribute and store the backup data in a plurality of gateway devices 2 while changing the backup method or the like, so that the backup data can be distributed and stored more appropriately.
 サーバ5は、クラウド環境8に障害が発生した場合に、分散して複数のゲートウェイ装置2に記憶されているバックアップデータを複数のゲートウェイ装置2から接続装置4を介して取得し、取得したバックアップデータを監視制御データとして監視制御対象の監視および制御を行う。 When a failure occurs in the cloud environment 8-1, the server 5-2 acquires the backup data distributed and stored in the plurality of gateway devices 2 from the plurality of gateway devices 2 via the connection device 4, and acquires the backup data. The backup data is used as monitoring control data to monitor and control the target of monitoring control.
 このように、監視制御システム100は、複数のゲートウェイ装置2の各々の周期的に変化するリソース使用状況に基づいて、計測データを含む監視制御データをバックアップデータとして複数のゲートウェイ装置2に分散して記憶させることから、バックアップデータをより適切に分散して記憶させることができる。以下、監視制御システム100の構成をさらに詳細に説明する。 In this way, the supervisory control system 100 distributes supervisory control data including measurement data to a plurality of gateway devices 2 as backup data based on the periodically changing resource usage status of each of the plurality of gateway devices 2. Since it is stored, the backup data can be distributed and stored more appropriately. The configuration of the monitoring control system 100 will be described in further detail below.
 図2は、実施の形態1にかかるゲートウェイ装置の構成の一例を示す図である。図2に示すように、ゲートウェイ装置2は、通信部10,11と、データ送受信処理部12と、リソースデータ送信処理部13と、バックアップ処理部14と、バックアップデータ記憶部15とを備える。 FIG. 2 is a diagram showing an example of the configuration of the gateway device according to the first embodiment. As shown in FIG. 2 , the gateway device 2 includes communication units 10 and 11 , a data transmission/reception processing unit 12 , a resource data transmission processing unit 13 , a backup processing unit 14 and a backup data storage unit 15 .
 通信部10は、監視制御機器1と通信可能に接続される。通信部11は、ネットワーク6に接続される。データ送受信処理部12は、監視制御機器1から出力され通信部10で受信されたデータをネットワーク6へ通信部11を介して送信する。また、データ送受信処理部12は、サーバ5からネットワーク6を介して送信され通信部11で受信されたデータを監視制御機器1へ通信部10を介して送信する。 The communication unit 10 is communicatively connected to the monitoring control device 1. Communication unit 11 is connected to network 6 . The data transmission/reception processing unit 12 transmits data output from the monitoring control device 1 and received by the communication unit 10 to the network 6 via the communication unit 11 . The data transmission/reception processing unit 12 also transmits data transmitted from the server 5 via the network 6 and received by the communication unit 11 to the monitoring control device 1 via the communication unit 10 .
 リソースデータ送信処理部13は、ゲートウェイ装置2のリソースの状態を示すリソースデータをサーバ5へ通信部11およびネットワーク6を介して周期的に送信する。例えば、リソースデータ送信処理部13は、数十秒単位の周期または分単位の周期でソースデータをサーバ5へ送信する。 The resource data transmission processing unit 13 periodically transmits resource data indicating the resource status of the gateway device 2 to the server 5 via the communication unit 11 and the network 6 . For example, the resource data transmission processing unit 13 transmits the source data to the server 5 at intervals of several tens of seconds or minutes.
 ゲートウェイ装置2のリソースは、例えば、CPU(Central Processing Unit)などのプロセッサ、主記憶装置、補助記憶装置、および通信部11などである。リソースの状態は、例えば、リソースの使用状況およびリソースの環境などである。リソースの環境は、例えば、温度または湿度などである。 The resources of the gateway device 2 are, for example, a processor such as a CPU (Central Processing Unit), a main storage device, an auxiliary storage device, a communication unit 11, and the like. The resource status is, for example, resource usage and resource environment. The resource environment is, for example, temperature or humidity.
 主記憶装置は、メインメモリまたは単にメモリとも呼ばれ、プロセッサと直接接続される。補助記憶装置は、外部バスで接続され、二次記憶装置とも呼ばれる。以下において、説明の便宜上、主記憶装置をメモリと記載し、補助記憶装置をHDD(Hard Disk Drive)と記載する場合がある。 The main memory, also called main memory or simply memory, is directly connected to the processor. Auxiliary storage devices are connected via an external bus and are also called secondary storage devices. Hereinafter, for convenience of explanation, the main storage device may be referred to as memory, and the auxiliary storage device may be referred to as HDD (Hard Disk Drive).
 バックアップ処理部14は、サーバ5から送信され通信部11で受信されるバックアップデータをバックアップデータ記憶部15に記憶させる。また、バックアップ処理部14は、サーバ5からの要求に基づいて、バックアップデータ記憶部15に記憶されたバックアップデータを取得し、取得したバックアップデータを要求元のサーバ5へ通信部11およびネットワーク6を介して送信する。 The backup processing unit 14 causes the backup data storage unit 15 to store backup data transmitted from the server 5 and received by the communication unit 11 . In addition, the backup processing unit 14 acquires the backup data stored in the backup data storage unit 15 based on a request from the server 5, and transmits the acquired backup data to the requesting server 5 via the communication unit 11 and the network 6. Send via.
 図3は、実施の形態1にかかるサーバの構成の一例を示す図である。図3に示すように、サーバ5は、通信部20と、処理部21と、監視制御データ記憶部30と、設定データ記憶部31と、方法データ記憶部32と、一般設定データ記憶部33と、過去設定データ記憶部34とを備える。 FIG. 3 is a diagram showing an example of the configuration of the server according to the first embodiment. As shown in FIG. 3, the server 5 includes a communication unit 20, a processing unit 21, a supervisory control data storage unit 30, a setting data storage unit 31, a method data storage unit 32, and a general setting data storage unit 33. , and a past setting data storage unit 34 .
 通信部20は、接続装置4に接続され、接続装置4およびネットワーク6を介してゲートウェイ装置2との間でデータの送受信を行う。例えば、通信部20は、ゲートウェイ装置2、ネットワーク6、および接続装置4を介して、複数の監視制御機器1から周期的に送信される計測データを受信する。 The communication unit 20 is connected to the connection device 4 and transmits and receives data to and from the gateway device 2 via the connection device 4 and the network 6 . For example, the communication unit 20 receives measurement data periodically transmitted from a plurality of monitoring control devices 1 via the gateway device 2 , the network 6 and the connection device 4 .
 処理部21は、計測データ収集部22と、計測データ処理部23と、監視制御処理部24と、リソースデータ取得部25と、バックアップ処理部26と、設定データ生成部27と、バックアップデータ取得部28とを備える。 The processing unit 21 includes a measurement data collection unit 22, a measurement data processing unit 23, a monitoring control processing unit 24, a resource data acquisition unit 25, a backup processing unit 26, a setting data generation unit 27, and a backup data acquisition unit. 28.
 計測データ収集部22は、通信部20で受信された複数の監視制御機器1の計測データを収集する。計測データ処理部23は、計測データ収集部22によって収集された複数の監視制御機器1の計測データを監視制御データ記憶部30に記憶させる。 The measurement data collection unit 22 collects measurement data of multiple monitoring control devices 1 received by the communication unit 20 . The measurement data processing unit 23 causes the monitoring control data storage unit 30 to store the measurement data of the plurality of monitoring control devices 1 collected by the measurement data collecting unit 22 .
 また、計測データ処理部23は、複数の監視制御機器1の計測データを加工して加工データを生成する。加工データは、監視制御に適したデータであり、例えば、計測データを間引いて得られるデータ、計測データの統計データ、または複数種類の計測データから得られるデータなどである。 Also, the measurement data processing unit 23 processes the measurement data of the plurality of monitoring control devices 1 to generate processed data. The processed data is data suitable for monitoring control, and includes, for example, data obtained by thinning out the measurement data, statistical data of the measurement data, or data obtained from multiple types of measurement data.
 計測データ処理部23は、計測データを加工して生成した加工データを監視制御データ記憶部30に記憶させる。また、計測データ処理部23は、加工データを生成する際に得られる中間データを監視制御データ記憶部30に記憶させる。このように、監視制御データ記憶部30に記憶される監視制御データには、計測データ、中間データ、および加工データなどが含まれる。 The measurement data processing unit 23 causes the monitoring control data storage unit 30 to store the processed data generated by processing the measurement data. The measurement data processing unit 23 also causes the monitoring control data storage unit 30 to store intermediate data obtained when generating the processed data. Thus, the monitoring control data stored in the monitoring control data storage unit 30 includes measurement data, intermediate data, processed data, and the like.
 監視制御処理部24は、監視制御データ記憶部30に記憶された監視制御データのうち加工データに基づいて、監視制御対象の監視および制御を行う。例えば、監視制御処理部24は、監視制御データ記憶部30に記憶された監視制御データのうち加工データに基づいて、監視制御対象の監視および制御を行うための監視画面のデータを生成し、生成した監視画面のデータをクライアント装置3へ通信部20を介して送信する。クライアント装置3は、監視画面のデータを受信した場合、監視画面のデータに基づいて、不図示の表示部に監視画面を表示させる。 The monitoring control processing unit 24 monitors and controls the monitoring control target based on the processed data of the monitoring control data stored in the monitoring control data storage unit 30 . For example, the monitoring control processing unit 24 generates monitoring screen data for monitoring and controlling the monitoring control target based on the processed data of the monitoring control data stored in the monitoring control data storage unit 30. The data of the monitored screen obtained is transmitted to the client device 3 via the communication unit 20 . When receiving the monitoring screen data, the client device 3 causes a display unit (not shown) to display the monitoring screen based on the monitoring screen data.
 リソースデータ取得部25は、各ゲートウェイ装置2から送信されるリソースデータを周期的に取得する。例えば、リソースデータ取得部25は、各ゲートウェイ装置2から周期的に送信され通信部20で受信されたリソースデータを通信部20から取得する。 The resource data acquisition unit 25 periodically acquires resource data transmitted from each gateway device 2 . For example, the resource data acquisition unit 25 acquires resource data periodically transmitted from each gateway device 2 and received by the communication unit 20 from the communication unit 20 .
 バックアップ処理部26は、リソースデータ取得部25によって周期的に取得された複数のゲートウェイ装置2のリソースデータに基づいて、監視制御データ記憶部30に記憶された監視制御データをバックアップデータとして分散して複数のゲートウェイ装置2に記憶させる。 The backup processing unit 26 distributes the monitoring control data stored in the monitoring control data storage unit 30 as backup data based on the resource data of the plurality of gateway devices 2 periodically obtained by the resource data obtaining unit 25. It is stored in a plurality of gateway devices 2.
 バックアップ処理部26は、バックアップ方法決定部40と、バックアップ実行部41とを備える。バックアップ方法決定部40は、設定データ記憶部31に記憶された設定データと、リソースデータ取得部25によって取得されたリソースデータとに基づいて、バックアップの対象となる監視制御データに含まれる対象データ毎のバックアップ方法およびバックアップ先を決定する。例えば、バックアップ方法決定部40は、リソースデータ取得部25によって各ゲートウェイ装置2のリソースデータが取得される毎または予め設定された周期で、対象データ毎のバックアップ方法およびバックアップ先を決定する。 The backup processing unit 26 includes a backup method determination unit 40 and a backup execution unit 41 . Based on the setting data stored in the setting data storage unit 31 and the resource data acquired by the resource data acquisition unit 25, the backup method determination unit 40 performs backup for each target data included in the monitoring control data to be backed up. Decide how and where to back up For example, the backup method determination unit 40 determines the backup method and backup destination for each target data each time the resource data of each gateway device 2 is acquired by the resource data acquisition unit 25 or at a preset cycle.
 バックアップ方法は、バックアップする対象データのデータ期間およびバックアップ周期を含む。データ期間は、どのくらい前の対象データまでバックアップするかを示す。データ期間が1時間である場合、バックアップする対象データは、例えば、1時間前から現在までの計測データ、1時間前から現在までの計測データで生成された中間データ、および1時間前から現在までの計測データで生成された加工データである。 The backup method includes the data period and backup cycle of the data to be backed up. The data period indicates how long ago the target data is to be backed up. If the data period is one hour, the data to be backed up is, for example, the measurement data from one hour ago to the present, the intermediate data generated from the measurement data from one hour ago to the present, and the data from one hour ago to the present. This is processed data generated from the measurement data of .
 バックアップ周期は、対象データのバックアップを行う周期であるバックアップ周期を示す。例えば、バックアップ周期が3分である場合、ゲートウェイ装置2にバックアップされる対象データは、3分毎に更新される。 The backup cycle indicates the backup cycle, which is the cycle for backing up the target data. For example, if the backup cycle is 3 minutes, the target data backed up in the gateway device 2 is updated every 3 minutes.
 設定データ記憶部31に記憶された設定データは、バックアップ方法を示すデータを含む方法データとバックアップ条件を示す条件データとを対象データ毎に含むデータである。条件データは、リソース状態の条件を示すデータである。 The setting data stored in the setting data storage unit 31 is data including method data including data indicating a backup method and condition data indicating backup conditions for each target data. The condition data is data indicating resource state conditions.
 図4は、実施の形態1にかかる設定データ記憶部に記憶される設定データの一例を示す図である。図4に示すように、設定データ記憶部31に記憶される設定データは、「データID(Identifier)」、「データ種別」、「データ名」、「バックアップ条件」、「バックアップ方法」、および「優先度」を対象データ毎に含むデータである。 FIG. 4 is a diagram depicting an example of setting data stored in a setting data storage unit according to the first embodiment; As shown in FIG. 4, the setting data stored in the setting data storage unit 31 includes "data ID (identifier)", "data type", "data name", "backup condition", "backup method", and " priority” for each target data.
 「データID」は、対象データの各々に固有の識別データである。「データ種別」は、対象データのデータ種別の名称を示すデータであり、「データ名」は、対象データの名称を示すデータである。 "Data ID" is identification data unique to each target data. The "data type" is data indicating the name of the data type of the target data, and the "data name" is data indicating the name of the target data.
 「バックアップ条件」は、対象データのバックアップ条件を示すデータであり、「メモリ空き容量」、および「HDD空き容量」などを含む。「メモリ空き容量」は、ゲートウェイ装置2のメモリの空き容量の条件を示すデータである。「HDD空き容量」は、ゲートウェイ装置2のHDDの空き容量の条件を示すデータである。なお、「バックアップ条件」は、ゲートウェイ装置2のプロセッサの使用率を含んでいてもよく、ゲートウェイ装置2のメモリ、HDD、またはプロセッサの温度または湿度などのリソースの環境を含んでいてもよい。 "Backup condition" is data indicating the backup condition of the target data, and includes "memory free space", "HDD free space", and the like. “Free memory capacity” is data indicating the condition of the free memory capacity of the gateway device 2 . “HDD free space” is data indicating the condition of the free space of the HDD of the gateway device 2 . The "backup condition" may include the usage rate of the processor of the gateway device 2, and may include the resource environment such as the temperature or humidity of the memory, HDD, or processor of the gateway device 2. FIG.
 「バックアップ方法」は、対象データのバックアップ方法を示すデータであり、「バックアップ期間」および「バックアップ周期」などを含む。「バックアップ期間」は、バックアップする対象データのデータ期間を示すデータである。「バックアップ周期」は、対象データのバックアップを行う周期であるバックアップ周期を示すデータである。 "Backup method" is data indicating the backup method of the target data, and includes "backup period" and "backup cycle". "Backup period" is data indicating the data period of the data to be backed up. "Backup cycle" is data indicating a backup cycle, which is a cycle for backing up target data.
 「優先度」は、対象データの優先度を示すデータであり、優先度が高い対象データほど優先的にバックアップ先のゲートウェイ装置2が決定される。例えば、「優先度」は、1から5までの数字で表され、小さい値であるほど、優先度が高い。 "Priority" is data indicating the priority of the target data, and the higher the priority of the target data, the more preferentially the backup destination gateway device 2 is determined. For example, "priority" is represented by a number from 1 to 5, and the smaller the value, the higher the priority.
 図4に示す設定データでは、IDがD0001である対象データは、データ種別が気温であり、データ名が室内温度であることが示されており、IDがD0002である対象データは、データ種別が湿度であり、データ名が室内湿度であることが示されている。 In the setting data shown in FIG. 4, the data type of the target data with ID D0001 is temperature and the data name is room temperature, and the data type of the target data with ID D0002 is humidity, and the data name is indoor humidity.
 また、図4に示す設定データでは、IDがD0001,D0002である対象データには、バックアップ条件とし、メモリ空き容量「1GB以上」およびHDD空き容量「50GB以上」が設定され、バックアップ方法として、バックアップ期間「1時間」およびバックアップ周期「3分」が設定されている。「1GB以上」は、メモリ空き容量が1GB以上であることを示し、「50GB以上」は、HDD空き容量が50GB以上であることを示す。 In the setting data shown in FIG. 4, for the target data whose IDs are D0001 and D0002, a memory free space of "1 GB or more" and an HDD free space of "50 GB or more" are set as backup conditions, and a backup method is set as a backup method. A period of "1 hour" and a backup cycle of "3 minutes" are set. "1 GB or more" indicates that the memory free space is 1 GB or more, and "50 GB or more" indicates that the HDD free space is 50 GB or more.
 なお、図4には示されていないが、設定データには、同一の対象データに対して異なるバックアップ条件およびバックアップ方法の組み合わせのデータが含まれる。例えば、IDがD0002である対象データに対して、図4に示すデータに加え、メモリ空き容量「1GB以上」、HDD空き容量「10GB以上50GB未満」、バックアップ期間「40分」、およびバックアップ周期「3分」を含むデータが含まれる。 Although not shown in FIG. 4, the setting data includes data of different combinations of backup conditions and backup methods for the same target data. For example, for the target data whose ID is D0002, in addition to the data shown in FIG. 3 minutes” is included.
 バックアップ方法決定部40は、設定データとリソースデータとに基づいて、バックアップの対象となるデータである対象データ毎のバックアップ方法およびバックアップ先を決定する。バックアップ方法決定部40は、設定データにおいて優先度が高い対象データの順に、設定データで規定されるバックアップ条件を満たすゲートウェイ装置2を選択していき、各ゲートウェイ装置2のバックアップ方法を決定する。 The backup method determination unit 40 determines the backup method and backup destination for each target data, which is the data to be backed up, based on the setting data and the resource data. The backup method determining unit 40 selects the gateway devices 2 that satisfy the backup conditions defined by the setting data in order of priority in the setting data, and determines the backup method for each gateway device 2 .
 バックアップ方法決定部40は、決定した対象データ毎のバックアップ方法およびバックアップ先の各々のデータを含む方法データを方法データ記憶部32に記憶させる。バックアップ方法決定部40は、例えば、予め設定された周期で到来するバックアップ方法決定タイミングになった場合に、対象データ毎のバックアップ方法およびバックアップ先を決定する。なお、バックアップ方法決定部40は、例えば、サーバ5が構築されたクラウド環境8が設置された地域に災害が生じる可能性が高くなるほど、バックアップ方法決定環境タイミングの到来周期を短くすることができる。例えば、監視制御対象が河川である場合、河川の水位が高くなるほど災害が生じる可能性が高くなる。 The backup method determination unit 40 causes the method data storage unit 32 to store the determined backup method for each target data and the method data including each data of the backup destination. The backup method determination unit 40 determines the backup method and backup destination for each target data, for example, when the backup method determination timing arrives at a preset cycle. For example, the backup method determination unit 40 can shorten the arrival cycle of the backup method determination environment timing as the probability of a disaster occurring in the region where the cloud environment 8-1 in which the server 5-1 is constructed increases. can. For example, if the target of monitoring and control is a river, the higher the water level of the river, the higher the possibility of a disaster occurring.
 また、バックアップ方法決定部40は、対象データのバックアップ先とするゲートウェイ装置2を対象データに対応する計測データを送信しないゲートウェイ装置2に決定することができる。対象データに対応する計測データとは、例えば、対象データが、監視制御機器111から送信される計測データまたは監視制御機器111から送信される計測データで得られる中間データまたは加工データである場合、監視制御機器111から送信される計測データである。この場合、バックアップ方法決定部40は、ゲートウェイ装置2以外のゲートウェイ装置2を対象データのバックアップ先とする。 In addition, the backup method determination unit 40 can determine the gateway device 2 as the backup destination of the target data to be the gateway device 2 that does not transmit the measurement data corresponding to the target data. The measurement data corresponding to the target data is, for example, when the target data is intermediate data or processed data obtained from the measurement data transmitted from the monitoring control device 111 or the measurement data transmitted from the monitoring control device 111 . , are measurement data transmitted from the monitoring control device 111 . In this case, the backup method determining unit 40 sets the gateway device 2 other than the gateway device 21 as the backup destination of the target data.
 また、バックアップ方法決定部40は、複数のゲートウェイ装置2のHDDの空き容量が不足しているために、バックアップデータのすべてを複数のゲートウェイ装置2に記憶させることができない場合、重要度が高い対象データを優先的にバックアップ対象とし、重要度が低い対象データはバックアップ対象から除外することができる。 In addition, when the backup method determination unit 40 cannot store all of the backup data in the plurality of gateway devices 2 due to insufficient free space in the HDDs of the plurality of gateway devices 2, the backup method determination unit 40 Data can be preferentially targeted for backup, and target data with low importance can be excluded from backup.
 また、バックアップ方法決定部40は、複数のゲートウェイ装置2のHDDの空き容量が十分にある場合、同じ対象データが異なるゲートウェイ装置2にバックアップされるように、対象データ毎のバックアップ方法およびバックアップ先を決定することもできる。 In addition, the backup method determination unit 40 determines the backup method and backup destination for each target data so that the same target data is backed up to different gateway devices 2 when the HDDs of the plurality of gateway devices 2 have sufficient free space. can also decide.
 バックアップ実行部41は、バックアップ方法決定部40で決定されたバックアップ方法で、バックアップ方法決定部40で決定されたバックアップ先のゲートウェイ装置2にバックアップデータを記憶させる。 The backup execution unit 41 stores the backup data in the backup destination gateway device 2 determined by the backup method determination unit 40 using the backup method determined by the backup method determination unit 40 .
 例えば、バックアップ実行部41は、バックアップ方法決定部40で決定されたバックアップ方法で規定されたバックアップ期間のデータを対象データとして監視制御データ記憶部30から取得する。バックアップ実行部41は、取得した対象データをバックアップ先のゲートウェイ装置2に通信部20を介して送信することで、取得した対象データをバックアップ先のゲートウェイ装置2に記憶させる。 For example, the backup execution unit 41 acquires data for the backup period defined by the backup method determined by the backup method determination unit 40 from the monitoring control data storage unit 30 as target data. The backup executing unit 41 transmits the acquired target data to the backup destination gateway device 2 via the communication unit 20 , thereby causing the backup destination gateway device 2 to store the acquired target data.
 バックアップ実行部41は、対象データを監視制御データ記憶部30から、バックアップ方法決定部40で決定されたバックアップ方法で規定されたバックアップ周期で繰り返し取得し、取得した対象データをバックアップ先のゲートウェイ装置2に記憶させる。これにより、ゲートウェイ装置2において対象データが、バックアップ方法で規定されたバックアップ周期で新たなデータに更新される。 The backup executing unit 41 repeatedly acquires the target data from the monitoring control data storage unit 30 at the backup cycle defined by the backup method determined by the backup method determining unit 40, and stores the acquired target data in the backup destination gateway device 2. be memorized. As a result, the target data in the gateway device 2 is updated to new data at the backup cycle defined by the backup method.
 また、バックアップ実行部41は、バックアップ方法決定部40によってバックアップ方法およびバックアップ先が変更された場合、変更されたバックアップ方法で、変更されたバックアップ先のゲートウェイ装置2に対象データを記憶させる。 In addition, when the backup method and the backup destination are changed by the backup method determination unit 40, the backup execution unit 41 stores the target data in the changed backup destination gateway device 2 using the changed backup method.
 また、バックアップ実行部41は、ゲートウェイ装置2を介した複数の監視制御機器1への監視制御処理部24からの制御データの情報量が閾値を超える期間は、ゲートウェイ装置2へのバックアップデータの送信を停止することができる。 In addition, the backup execution unit 41 transmits backup data to the gateway device 2 during a period when the information amount of the control data from the monitoring control processing unit 24 to the plurality of monitoring control devices 1 via the gateway device 2 exceeds the threshold value. can be stopped.
 設定データ生成部27は、第1設定モードおよび第2設定モードのうち選択された設定モードで、設定データを生成する。設定データ生成部27は、生成した設定データを設定データ記憶部31に記憶させる。第1設定モードは、一般設定データに基づいて、設定データを生成するモードである。第2設定モードは、過去設定データに基づいて、設定データを生成するモードである。なお、設定モードは、例えば、クライアント装置3からの設定要求に基づいて設定される。 The setting data generation unit 27 generates setting data in a setting mode selected from the first setting mode and the second setting mode. The setting data generation unit 27 causes the setting data storage unit 31 to store the generated setting data. The first setting mode is a mode for generating setting data based on general setting data. The second setting mode is a mode for generating setting data based on past setting data. Note that the setting mode is set based on a setting request from the client device 3, for example.
 まず、第1設定モードについて説明する。設定データ生成部27は、一般設定データ記憶部33に記憶された一般設定データに基づいて設定データを生成する。一般設定データ記憶部33に記憶された一般設定データは、バックアップ方法を示すデータを含む方法データとバックアップ条件を示す条件データとをデータ種別毎に含むデータである。 First, the first setting mode will be explained. The setting data generating section 27 generates setting data based on the general setting data stored in the general setting data storage section 33 . The general setting data stored in the general setting data storage unit 33 is data including method data including data indicating a backup method and condition data indicating backup conditions for each data type.
 図5は、実施の形態1にかかる一般設定データ記憶部に記憶される一般設定データの一例を示す図である。図5に示すように、一般設定データ記憶部33に記憶される一般設定データは、「タグID」、「タグ名」、「バックアップ条件」、「バックアップ方法」、および「優先度」をデータ種別毎に含むデータである。 FIG. 5 is a diagram showing an example of general setting data stored in a general setting data storage unit according to the first embodiment. As shown in FIG. 5, the general setting data stored in the general setting data storage unit 33 includes "tag ID", "tag name", "backup condition", "backup method", and "priority" as data types. data contained in each
 「タグID」は、タグの各々に固有の識別データであり、「タグ名」は、タグの名称を示すデータである。タグは、データ種別毎に設定される。「タグ名」は、タグの名称としてデータ種別の名称を示すデータを含む。 "Tag ID" is identification data unique to each tag, and "tag name" is data indicating the name of the tag. A tag is set for each data type. "Tag name" includes data indicating the name of the data type as the name of the tag.
 一般設定データの「バックアップ条件」、「バックアップ方法」、および「優先度」は、図4に示す設定データの「バックアップ条件」、「バックアップ方法」、および「優先度」と同じである。 The "backup conditions", "backup method" and "priority" of the general setting data are the same as the "backup conditions", "backup method" and "priority" of the setting data shown in FIG.
 例えば、設定データ生成部27は、監視制御データ記憶部30に記憶された監視制御データに含まれる各対象データのデータ種別を判定し、判定したデータ種別に基づいて、各対象データのバックアップ条件およびバックアップ方法を示すデータを含む設定データを生成する。 For example, the setting data generation unit 27 determines the data type of each target data included in the monitoring control data stored in the monitoring control data storage unit 30, and based on the determined data type, sets backup conditions and conditions for each target data. Generate configuration data that includes data indicating how to back up.
 例えば、監視制御データに含まれる対象データのデータ種別が温度である場合、設定データ生成部27によって生成される設定データは、図5に示されるID「T0001」に関連付けられたバックアップ条件を示すデータおよびバックアップ方法を示すデータを含む。 For example, when the data type of the target data included in the monitoring control data is temperature, the setting data generated by the setting data generation unit 27 is data indicating the backup conditions associated with the ID "T0001" shown in FIG. and data indicating the backup method.
 このように、設定データ生成部27は、一般設定データと監視制御データとに基づいて、設定データを生成することから、監視制御システム100で扱われる監視制御データのうちの少なくとも一部のデータに対してバックアップの設定が自動的に行われる。そのため、監視制御システム100では、第1設定モードを実行することによって、バックアップ設定時の作業時間を短縮することができる。 In this way, since the setting data generation unit 27 generates setting data based on the general setting data and the monitoring control data, at least part of the monitoring control data handled by the monitoring control system 100 Backup settings are made automatically. Therefore, in the monitoring and control system 100, by executing the first setting mode, it is possible to shorten the work time for setting the backup.
 次に、第2設定モードについて説明する。設定データ生成部27は、過去設定データ記憶部34に記憶された過去設定データに基づいて設定データを生成する。過去設定データ記憶部34に記憶された過去設定データは、過去に生成された設定データであり、監視制御システム100で過去に生成された設定データおよび他の監視制御システムで過去に生成された設定データのうちの少なくとも一方を含む。過去設定データ記憶部34は、複数の過去設定データを記憶する。 Next, the second setting mode will be explained. The setting data generation unit 27 generates setting data based on the past setting data stored in the past setting data storage unit 34 . The past setting data stored in the past setting data storage unit 34 is the setting data generated in the past, and includes the setting data generated in the past by the supervisory control system 100 and the settings generated in the past by another supervisory control system. Contains at least one of the data. The past setting data storage unit 34 stores a plurality of past setting data.
 例えば、設定データ生成部27は、過去設定データ記憶部34に記憶された過去設定データと監視制御データ記憶部30に記憶された監視制御データとに基づいて、設定データを生成する。具体的には、設定データ生成部27は、過去設定データ記憶部34に記憶された複数の過去設定データのうち、監視制御データ記憶部30に記憶された監視制御データと類似する監視制御データに対して設定された過去設定データを判定する。 For example, the setting data generation unit 27 generates setting data based on the past setting data stored in the past setting data storage unit 34 and the monitoring control data stored in the monitoring control data storage unit 30 . Specifically, the setting data generating unit 27 selects the monitoring control data similar to the monitoring control data stored in the monitoring control data storage unit 30 from among the plurality of past setting data stored in the past setting data storage unit 34. Determine the past setting data that has been set for
 例えば、設定データ生成部27は、複数の過去設定データのうち、データのデータ種別およびデータ種別毎のデータ数などが最も類似する過去設定データを判定する。設定データ生成部27は、最も類似すると判定した過去設定データを監視制御システム100に対する設定データとして設定データ記憶部31に記憶させる。 For example, the setting data generating unit 27 determines the past setting data having the most similar data type and the number of data for each data type among the plurality of past setting data. The setting data generation unit 27 stores the past setting data determined to be most similar in the setting data storage unit 31 as setting data for the monitoring control system 100 .
 このように、設定データ生成部27は、過去設定データと監視制御データとに基づいて、設定データを生成することから、監視制御システム100で扱われる監視制御データの全てのデータに対してバックアップの設定が自動的に行われる。そのため、監視制御システム100では、第2設定モードを実行することによって、バックアップ設定時の入力作業が不要となる。 As described above, since the setting data generation unit 27 generates setting data based on the past setting data and the monitoring control data, all data of the monitoring control data handled by the monitoring control system 100 can be backed up. Settings are automatic. Therefore, in the monitoring and control system 100, by executing the second setting mode, the input operation at the time of backup setting is unnecessary.
 バックアップデータ取得部28は、サーバ5が待機系から運用系に切り替わる際に用いられる。具体的には、バックアップデータ取得部28は、運用系のサーバ5に故障が発生し、待機系から運用系に切り替えられる際に、複数のゲートウェイ装置2に分散して記憶されたバックアップデータを複数のゲートウェイ装置2から取得する。例えば、バックアップデータ取得部28は、バックアップデータ送信要求を各ゲートウェイ装置2へ通信部20から送信することによって、各ゲートウェイ装置2から通信部20を介してバックアップデータを取得する。バックアップデータ取得部28は、取得したバックアップデータを監視制御データとして監視制御データ記憶部30に記憶させる。 The backup data acquisition unit 28 is used when the server 5 switches from the standby system to the active system. Specifically, when a failure occurs in the active server 5 and the standby system is switched to the active system, the backup data acquisition unit 28 acquires a plurality of backup data distributed and stored in the plurality of gateway devices 2 . obtained from the gateway device 2 of the For example, the backup data acquisition unit 28 acquires backup data from each gateway device 2 via the communication unit 20 by transmitting a backup data transmission request to each gateway device 2 from the communication unit 20 . The backup data acquisition unit 28 stores the acquired backup data in the monitoring control data storage unit 30 as monitoring control data.
 つづいて、フローチャートを用いゲートウェイ装置2による処理を説明する。図6は、実施の形態1にかかるゲートウェイ装置による処理の一例を示すフローチャートである。 Next, processing by the gateway device 2 will be explained using a flowchart. 6 is a flowchart illustrating an example of processing by the gateway device according to the first embodiment; FIG.
 図6に示すように、ゲートウェイ装置2のデータ送受信処理部12は、他の装置宛のデータが通信部10または通信部11で受信されたか否かを判定する(ステップS10)。データ送受信処理部12は、他の装置宛のデータが受信されたと判定した場合(ステップS10:Yes)、通信部10または通信部11で受信された他の装置宛のデータを他の装置宛に通信部11または通信部10を介して転送する中継処理を行う(ステップS11)。 As shown in FIG. 6, the data transmission/reception processing unit 12 of the gateway device 2 determines whether data addressed to another device has been received by the communication unit 10 or 11 (step S10). When the data transmission/reception processing unit 12 determines that data addressed to another device has been received (step S10: Yes), the data transmission/reception processing unit 12 transmits data addressed to the other device received by the communication unit 10 or 11 to the other device. A relay process of transferring via the communication unit 11 or the communication unit 10 is performed (step S11).
 ゲートウェイ装置2のリソースデータ送信処理部13は、ステップS11の処理が終了した場合、または他の装置宛のデータが受信されていないと判定された場合(ステップS10:No)、リソースデータ送信タイミングになったか否かを判定する(ステップS12)。 The resource data transmission processing unit 13 of the gateway device 2, when the processing of step S11 is completed, or when it is determined that the data addressed to another device has not been received (step S10: No), at the resource data transmission timing It is determined whether or not it has become (step S12).
 ステップS12の処理において、リソースデータ送信処理部13は、例えば、サーバ5によって決定されたバックアップ周期でサーバ5から送信されるリソース送信要求が通信部11で受信された場合にリソースデータ送信タイミングになったと判定する。なお、サーバ5によって決定されたバックアップ周期の情報がサーバ5から送信されゲートウェイ装置2で受信される場合、リソースデータ送信処理部13は、サーバ5から送信されるバックアップ周期の情報に基づいて、リソースデータ送信タイミングになったと判定する。 In the processing of step S12, the resource data transmission processing unit 13, for example, when the communication unit 11 receives a resource transmission request transmitted from the server 5 at the backup cycle determined by the server 5, the resource data transmission timing is reached. I judge that. Note that when the backup cycle information determined by the server 5 is transmitted from the server 5 and received by the gateway device 2 , the resource data transmission processing unit 13 transmits resource data based on the backup cycle information transmitted from the server 5 . It is determined that the data transmission timing has come.
 リソースデータ送信処理部13は、リソースデータ送信タイミングになったと判定した場合(ステップS12:Yes)、ゲートウェイ装置2のリソースの状態を示すデータであるリソースデータを生成する(ステップS13)。そして、リソースデータ送信処理部13は、ステップS13で生成したリソースデータをサーバ5へ通信部11を介して送信する(ステップS14)。 When the resource data transmission processing unit 13 determines that it is time to transmit the resource data (step S12: Yes), it generates resource data indicating the state of the resources of the gateway device 2 (step S13). Then, the resource data transmission processing unit 13 transmits the resource data generated in step S13 to the server 5 via the communication unit 11 (step S14).
 バックアップ処理部14は、ステップS14の処理が終了した場合、またはリソースデータ送信タイミングになっていないと判定された場合(ステップS12:No)、サーバ5からのバックアップデータが通信部11で受信されたか否かを判定する(ステップS15)。 When the process of step S14 is completed, or when it is determined that the resource data transmission timing has not come (step S12: No), the backup processing unit 14 determines whether the backup data from the server 5 has been received by the communication unit 11. It is determined whether or not (step S15).
 バックアップ処理部14は、バックアップデータが通信部11で受信されたと判定した場合(ステップS15:Yes)、通信部11で受信されたバックアップデータをバックアップデータ記憶部15に記憶させる(ステップS16)。 When the backup processing unit 14 determines that the backup data has been received by the communication unit 11 (step S15: Yes), the backup data storage unit 15 stores the backup data received by the communication unit 11 (step S16).
 バックアップ処理部14は、ステップS16の処理が終了した場合、またはバックアップデータが通信部11で受信されていないと判定した場合(ステップS15:No)、サーバ5からのバックアップデータ送信要求が通信部11で受信されたか否かを判定する(ステップS17)。 When the backup processing unit 14 completes the processing of step S16 or determines that the backup data has not been received by the communication unit 11 (step S15: No), the backup data transmission request from the server 5 is received by the communication unit 11 is received (step S17).
 バックアップ処理部14は、バックアップデータ送信要求が通信部11で受信されたと判定した場合(ステップS17:Yes)、バックアップデータ記憶部15に記憶されたバックアップデータをサーバ5へ通信部11を介して送信する(ステップS18)。 When the backup processing unit 14 determines that the backup data transmission request has been received by the communication unit 11 (step S17: Yes), the backup processing unit 14 transmits the backup data stored in the backup data storage unit 15 to the server 5 via the communication unit 11. (step S18).
 ゲートウェイ装置2は、ステップS18の処理が終了した場合、またはバックアップデータ送信要求が通信部11で受信されていないと判定した場合(ステップS17:No)、動作終了のタイミングであるか否かを判定する(ステップS19)。ゲートウェイ装置2は、不図示の電源がオフされた場合または不図示の入力部への動作終了の操作が行われた場合に、動作終了のタイミングであると判定する。 When the process of step S18 is completed, or when it is determined that the backup data transmission request has not been received by the communication unit 11 (step S17: No), the gateway device 2 determines whether or not it is time to end the operation. (step S19). The gateway device 2 determines that it is time to end the operation when the power supply (not shown) is turned off or when an operation end operation is performed on the input unit (not shown).
 ゲートウェイ装置2は、動作終了のタイミングではないと判定した場合(ステップS19:No)、処理をステップS10に移行し、動作終了のタイミングであると判定した場合(ステップS19:Yes)、図6に示す処理を終了する。 If the gateway device 2 determines that it is not the timing to end the operation (step S19: No), the process proceeds to step S10. Terminate the indicated process.
 つづいて、フローチャートを用いサーバ5の処理部21による処理を説明する。図7は、実施の形態1にかかるサーバの処理部による処理の一例を示すフローチャートである。なお、図7においては、計測データを含む監視制御データを記憶するデータサーバとして機能を主に説明し、データサーバに記憶された監視制御データに基づいて、監視制御対象の監視および制御を行う処理サーバの機能については省略している。 Next, the processing by the processing unit 21 of the server 5 will be explained using a flowchart. 7 is a flowchart illustrating an example of processing by a processing unit of the server according to the first embodiment; FIG. In FIG. 7, the function of a data server that stores monitoring control data including measurement data will be mainly described. Based on the monitoring control data stored in the data server, a process of monitoring and controlling a target of monitoring control is performed. Server functions are omitted.
 図7に示すように、サーバ5の処理部21は、バックアップ方法決定タイミングになったか否かを判定する(ステップS20)。バックアップ方法決定タイミングは、例えば、予め設定された周期で到来するタイミングである。 As shown in FIG. 7, the processing unit 21 of the server 5 determines whether or not the backup method decision timing has come (step S20). The backup method determination timing is, for example, timing that arrives at a preset cycle.
 処理部21は、バックアップ方法決定タイミングになったと判定した場合(ステップS20:Yes)、バックアップ方法決定処理を行う(ステップS21)。ステップS21のバックアップ方法決定処理は、図8に示すステップS30~S33の処理であり、後で詳細に説明する。 When the processing unit 21 determines that the backup method determination timing has come (step S20: Yes), it performs backup method determination processing (step S21). The backup method determination process of step S21 is the process of steps S30 to S33 shown in FIG. 8, and will be described in detail later.
 処理部21は、ステップS21の処理が終了した場合、またはバックアップ方法決定タイミングになっていないと判定した場合(ステップS20:No)、バックアップデータ送信処理を行う(ステップS22)。ステップS22のバックアップデータ送信処理は、図9に示すステップS40~S43の処理であり、後で詳細に説明する。 When the processing of step S21 is completed, or when it is determined that the backup method determination timing has not come (step S20: No), the processing unit 21 performs backup data transmission processing (step S22). The backup data transmission process of step S22 is the process of steps S40 to S43 shown in FIG. 9, and will be described later in detail.
 次に、処理部21は、設定データ決定タイミングになったか否かを判定する(ステップS23)。処理部21は、設定データ決定タイミングになったと判定した場合(ステップS23:Yes)、設定データ決定処理を行う(ステップS24)。ステップS24の設定データ決定処理は、図10に示すステップS50~S57の処理であり、後で詳述する。 Next, the processing unit 21 determines whether or not the setting data decision timing has come (step S23). When the processing unit 21 determines that the setting data decision timing has come (step S23: Yes), the processing unit 21 performs setting data decision processing (step S24). The setting data determination process of step S24 is the process of steps S50 to S57 shown in FIG. 10, and will be described in detail later.
 処理部21は、ステップS24の処理が終了した場合、または設定データ決定タイミングになっていないと判定した場合(ステップS23:No)、動作終了のタイミングであるか否かを判定する(ステップS25)。処理部21は、サーバ5における不図示の電源がオフされた場合または不図示の入力部への動作終了の操作が行われた場合に、動作終了のタイミングであると判定する。 When the processing of step S24 is finished, or when it is determined that the setting data determination timing has not come (step S23: No), the processing unit 21 determines whether or not it is time to end the operation (step S25). . The processing unit 21 determines that it is time to end the operation when the power (not shown) of the server 5 is turned off or when an operation end operation is performed on the input unit (not shown).
 処理部21は、動作終了のタイミングではないと判定した場合(ステップS25:No)、処理をステップS20に移行し、動作終了のタイミングであると判定した場合(ステップS25:Yes)、図7に示す処理を終了する。 If the processing unit 21 determines that it is not time to end the operation (step S25: No), the process proceeds to step S20, and if it determines that it is time to end the operation (step S25: Yes), Terminate the indicated process.
 図8は、実施の形態1にかかるサーバの処理部によるバックアップ方法決定処理の一例を示すフローチャートである。図8に示すように、処理部21は、設定データ記憶部31に記憶された設定データを取得する(ステップS30)。また、処理部21は、各ゲートウェイ装置2からリソースデータを取得する(ステップS31)。 FIG. 8 is a flowchart showing an example of backup method determination processing by the processing unit of the server according to the first embodiment. As shown in FIG. 8, the processing unit 21 acquires setting data stored in the setting data storage unit 31 (step S30). Also, the processing unit 21 acquires resource data from each gateway device 2 (step S31).
 処理部21は、ステップS30で取得された設定データとステップS31で取得されたリソースデータとに基づいて、各対象データのバックアップ方法およびバックアップ先を決定する(ステップS32)。 The processing unit 21 determines the backup method and backup destination of each target data based on the setting data acquired in step S30 and the resource data acquired in step S31 (step S32).
 次に、処理部21は、決定した各対象データのバックアップ方法およびバックアップ先の各々を示すデータを含む方法データを方法データ記憶部32に記憶させ(ステップS33)、図8に示す処理を終了する。 Next, the processing unit 21 causes the method data storage unit 32 to store method data including data indicating the determined backup method and backup destination of each target data (step S33), and ends the processing shown in FIG. .
 図9は、実施の形態1にかかるサーバの処理部によるバックアップデータ送信処理の一例を示すフローチャートである。図9に示すように、処理部21は、方法データ記憶部32に記憶された方法データを取得する(ステップS40)。 FIG. 9 is a flowchart showing an example of backup data transmission processing by the processing unit of the server according to the first embodiment. As shown in FIG. 9, the processing unit 21 acquires method data stored in the method data storage unit 32 (step S40).
 処理部21は、バックアップデータ送信タイミングになったか否かを対象データ毎に判定する(ステップS41)。ステップS41の処理において、処理部21は、方法データで規定されるバックアップ周期のタイミングが到来した場合に、バックアップデータ送信タイミングになったと判定する。例えば、バックアップ方法に含まれるバックアップ周期が3分である場合、処理部21は、3分毎に到来するタイミングをバックアップデータ送信タイミングとして判定する。 The processing unit 21 determines whether or not the backup data transmission timing has come for each target data (step S41). In the process of step S41, the processing unit 21 determines that the backup data transmission timing has come when the timing of the backup cycle defined by the method data has arrived. For example, if the backup cycle included in the backup method is 3 minutes, the processing unit 21 determines the timing that comes every 3 minutes as the backup data transmission timing.
 処理部21は、バックアップデータ送信タイミングになったと判定した場合(ステップS41:Yes)、監視制御データ記憶部30に記憶された監視制御データのうちバックアップデータ送信タイミングになったと判定された対象データを取得する(ステップS42)。そして、処理部21は、ステップS42で取得した対象データを、方法データに含まれるバックアップ先のゲートウェイ装置2へ通信部20を介して送信する(ステップS43)。 When the processing unit 21 determines that the backup data transmission timing has come (step S41: Yes), the processing unit 21 selects the target data determined to have the backup data transmission timing among the monitoring control data stored in the monitoring control data storage unit 30. Acquire (step S42). Then, the processing unit 21 transmits the target data acquired in step S42 to the backup destination gateway device 2 included in the method data via the communication unit 20 (step S43).
 処理部21は、ステップS43の処理が終了した場合、またはバックアップデータ送信タイミングになっていないと判定した場合(ステップS41:No)、図9に示す処理を終了する。 When the processing of step S43 is completed, or when it is determined that the backup data transmission timing has not come (step S41: No), the processing unit 21 ends the processing shown in FIG.
 図10は、実施の形態1にかかるサーバの処理部による設定データ決定処理の一例を示すフローチャートである。図10に示すように、処理部21は、第1設定モードに設定されているか否かを判定する(ステップS50)。処理部21は、ステップS50の処理において、第2設定モードに設定されている場合、第1設定モードに設定されていないと判定する。 FIG. 10 is a flowchart showing an example of setting data determination processing by the processing unit of the server according to the first embodiment. As shown in FIG. 10, the processing unit 21 determines whether or not the first setting mode is set (step S50). In the process of step S50, the processing unit 21 determines that the first setting mode is not set when the second setting mode is set.
 処理部21は、第1設定モードに設定されていると判定した場合(ステップS50:Yes)、一般設定データ記憶部33に記憶された一般設定データを取得する(ステップS51)。また、処理部21は、監視制御データ記憶部30に記憶された監視制御データを取得する(ステップS52)。そして、処理部21は、ステップS51で取得した一般設定データとステップS52で取得した監視制御データとに基づいて、設定データを生成する(ステップS53)。 When the processing unit 21 determines that the first setting mode is set (step S50: Yes), it acquires the general setting data stored in the general setting data storage unit 33 (step S51). Also, the processing unit 21 acquires the monitoring control data stored in the monitoring control data storage unit 30 (step S52). Then, the processing unit 21 generates setting data based on the general setting data acquired in step S51 and the monitoring control data acquired in step S52 (step S53).
 処理部21は、第1設定モードに設定されていないと判定した場合(ステップS50:No)、過去設定データ記憶部34に記憶された過去設定データを取得する(ステップS54)。また、処理部21は、監視制御データ記憶部30に記憶された監視制御データを取得する(ステップS55)。そして、処理部21は、ステップS54で取得した過去設定データとステップS55で取得した監視制御データとに基づいて、設定データを生成する(ステップS56)。 When the processing unit 21 determines that the first setting mode is not set (step S50: No), it acquires the past setting data stored in the past setting data storage unit 34 (step S54). Also, the processing unit 21 acquires the monitoring control data stored in the monitoring control data storage unit 30 (step S55). Then, the processing unit 21 generates setting data based on the past setting data acquired in step S54 and the monitoring control data acquired in step S55 (step S56).
 処理部21は、ステップS53の処理が終了した場合、またはステップS56の処理が終了した場合、生成した設定データを設定データ記憶部31に記憶させ(ステップS57)、図10に示す処理を終了する。 When the processing of step S53 or the processing of step S56 ends, the processing unit 21 stores the generated setting data in the setting data storage unit 31 (step S57), and ends the processing shown in FIG. .
 図11は、実施の形態1にかかるゲートウェイ装置およびサーバの各々のハードウェア構成の一例を示す図である。図11に示すように、ゲートウェイ装置2およびサーバ5の各々は、プロセッサ101と、メモリ102と、通信装置103と、インタフェース回路104とを備えるコンピュータを含む。プロセッサ101、メモリ102、通信装置103、およびインタフェース回路104は、例えば、バス105によって互いに情報の送受信が可能である。 FIG. 11 is a diagram showing an example hardware configuration of each of the gateway device and the server according to the first embodiment. As shown in FIG. 11 , each of gateway device 2 and server 5 includes a computer having processor 101 , memory 102 , communication device 103 and interface circuit 104 . Processor 101 , memory 102 , communication device 103 , and interface circuit 104 can send and receive information to and from each other, eg, via bus 105 .
 ゲートウェイ装置2のバックアップデータ記憶部15は、メモリ102によって実現される。ゲートウェイ装置2の通信部10,11は、通信装置103で実現される。ゲートウェイ装置2のプロセッサ101は、メモリ102に記憶されたプログラムを読み出して実行することによって、データ送受信処理部12、リソースデータ送信処理部13、およびバックアップ処理部14などの機能を実行する。 The backup data storage unit 15 of the gateway device 2 is implemented by the memory 102 . Communication units 10 and 11 of gateway device 2 are realized by communication device 103 . The processor 101 of the gateway device 2 reads and executes the programs stored in the memory 102 to perform functions such as the data transmission/reception processing unit 12, the resource data transmission processing unit 13, and the backup processing unit 14.
 また、サーバ5の監視制御データ記憶部30、方法データ記憶部32、設定データ記憶部31、一般設定データ記憶部33、および過去設定データ記憶部34は、メモリ102によって実現される。サーバ5の通信部20は、通信装置103で実現される。サーバ5のプロセッサ101は、メモリ102に記憶されたプログラムを読み出して実行することによって、処理部21などの機能を実行する。 Also, the monitoring control data storage unit 30, the method data storage unit 32, the setting data storage unit 31, the general setting data storage unit 33, and the past setting data storage unit 34 of the server 5 are realized by the memory 102. The communication unit 20 of the server 5 is implemented by the communication device 103 . The processor 101 of the server 5 reads out and executes a program stored in the memory 102 to perform functions such as the processing unit 21 .
 プロセッサ101は、例えば、処理回路の一例であり、CPU(Central Processing Unit)、DSP(Digital Signal Processor)、およびシステムLSI(Large Scale Integration)のうち一つ以上を含む。メモリ102は、RAM(Random Access Memory)、ROM(Read Only Memory)、フラッシュメモリ、EPROM(Erasable Programmable Read Only Memory)、およびEEPROM(登録商標)(Electrically Erasable Programmable Read Only Memory)のうち一つ以上を含む。また、メモリ102は、コンピュータが読み取り可能なプログラムが記録された記録媒体を含む。かかる記録媒体は、不揮発性または揮発性の半導体メモリ、磁気ディスク、フレキシブルメモリ、光ディスク、コンパクトディスク、およびDVD(Digital Versatile Disc)のうち一つ以上を含む。なお、ゲートウェイ装置2およびサーバ5の各々は、ASIC(Application Specific Integrated Circuit)およびFPGA(Field Programmable Gate Array)などの集積回路を含んでいてもよい。 The processor 101 is, for example, an example of a processing circuit, and includes one or more of a CPU (Central Processing Unit), a DSP (Digital Signal Processor), and a system LSI (Large Scale Integration). The memory 102 includes one or more of RAM (Random Access Memory), ROM (Read Only Memory), flash memory, EPROM (Erasable Programmable Read Only Memory), and EEPROM (registered trademark) (Electrically Erasable Programmable Read Only Memory). include. The memory 102 also includes a recording medium on which a computer-readable program is recorded. Such recording media include one or more of nonvolatile or volatile semiconductor memories, magnetic disks, flexible memories, optical disks, compact disks, and DVDs (Digital Versatile Discs). Each of the gateway device 2 and the server 5 may include integrated circuits such as ASIC (Application Specific Integrated Circuit) and FPGA (Field Programmable Gate Array).
 サーバ5は、処理サーバと、データサーバとで構成される。なお、サーバ5は、処理サーバの機能を有しない構成であってもよい。 The server 5 consists of a processing server and a data server. Note that the server 5 may have a configuration that does not have the function of a processing server.
 以上のように、実施の形態1にかかる監視制御システム100は、複数のゲートウェイ装置2と、複数のサーバ5とを備える。複数のゲートウェイ装置2は、複数の監視制御機器1と通信可能に接続される。サーバ5は、複数のゲートウェイ装置2を介して複数の監視制御機器1から送信される計測データを収集し、収集した計測データに基づいて監視制御対象の監視および制御を行う。サーバ5は、リソースデータ取得部25と、設定データ記憶部31と、バックアップ処理部26とを備える。リソースデータ取得部25は、複数のゲートウェイ装置2の各々のリソースの使用状況を示すリソースデータを周期的に取得する。設定データ記憶部31は、バックアップ方法を示すデータを含む方法データとバックアップ条件を示す条件データとを、バックアップ対象となるデータであるバックアップデータに含まれる対象データ毎に含む設定データを記憶する。バックアップ処理部26は、リソースデータ取得部25によって周期的に取得されたリソースデータと設定データとに基づいて、バックアップ方法を変化させながら、バックアップデータを分散して複数のゲートウェイ装置2に記憶させる。これにより、監視制御システム100は、バックアップデータをより適切に分散して記憶させることができる。 As described above, the supervisory control system 100 according to the first embodiment includes multiple gateway devices 2 and multiple servers 5 . A plurality of gateway devices 2 are communicably connected to a plurality of monitoring control devices 1 . The server 5 collects measurement data transmitted from a plurality of monitoring control devices 1 via a plurality of gateway devices 2, and monitors and controls objects to be monitored and controlled based on the collected measurement data. The server 5 includes a resource data acquisition section 25 , a setting data storage section 31 and a backup processing section 26 . The resource data acquisition unit 25 periodically acquires resource data indicating the resource usage status of each of the plurality of gateway devices 2 . The setting data storage unit 31 stores setting data including method data including data indicating a backup method and condition data indicating backup conditions for each target data included in the backup data, which is data to be backed up. The backup processing unit 26 distributes and stores the backup data in a plurality of gateway devices 2 while changing the backup method based on the resource data and setting data periodically acquired by the resource data acquisition unit 25 . As a result, the supervisory control system 100 can more appropriately distribute and store the backup data.
 また、バックアップ処理部26は、バックアップ方法決定部40と、バックアップ実行部41とを備える。バックアップ方法決定部40は、リソースデータと条件データとに基づいて、対象データ毎のバックアップ方法を決定する。バックアップ実行部41は、バックアップ方法決定部40で決定された対象データ毎のバックアップ方法でバックアップデータを分散して複数のゲートウェイ装置2に記憶させる。これにより、監視制御システム100は、対象データ毎に適切なバックアップ方法でバックアップデータを分散して複数のゲートウェイ装置2に記憶させることができる。 The backup processing unit 26 also includes a backup method determination unit 40 and a backup execution unit 41 . The backup method determination unit 40 determines a backup method for each target data based on resource data and condition data. The backup execution unit 41 distributes the backup data according to the backup method for each target data determined by the backup method determination unit 40 and stores the backup data in the plurality of gateway devices 2 . As a result, the monitoring and control system 100 can distribute the backup data by an appropriate backup method for each target data and store it in a plurality of gateway devices 2 .
 また、バックアップ方法決定部40は、リソースデータと条件データとに基づいて、複数のゲートウェイ装置2のうち対象データを記憶させるゲートウェイ装置2を対象データ毎に決定する。バックアップ実行部41は、バックアップ方法決定部40による決定結果に基づいて、バックアップデータを分散して複数のゲートウェイ装置2に記憶させる。これにより、監視制御システム100は、対象データ毎に適切なバックアップ先のゲートウェイ装置2にバックアップデータを記憶させることができる。 Also, the backup method determining unit 40 determines, for each target data, which gateway device 2 stores the target data among the plurality of gateway devices 2 based on the resource data and the condition data. The backup execution unit 41 distributes the backup data based on the determination result of the backup method determination unit 40 and stores the backup data in the plurality of gateway devices 2 . As a result, the monitoring and control system 100 can cause the backup data to be stored in the appropriate backup destination gateway device 2 for each target data.
 また、監視制御システム100は、一般設定データ記憶部33と、設定データ生成部27とを備える。一般設定データ記憶部33は、バックアップ方法を示すデータを含む方法データとバックアップ条件を示す条件データとをデータ種別毎に含む一般設定データを記憶する。設定データ生成部27は、一般設定データとバックアップデータとに基づいて、設定データを生成する。これにより、監視制御システム100では、監視制御システム100で扱われる監視制御データのうちの少なくとも一部のデータに対してバックアップの設定が自動的に行われることから、バックアップ設定時の作業時間を短縮することができる。 The monitoring control system 100 also includes a general setting data storage unit 33 and a setting data generation unit 27 . The general setting data storage unit 33 stores general setting data including method data including data indicating a backup method and condition data indicating backup conditions for each data type. The setting data generator 27 generates setting data based on the general setting data and the backup data. As a result, in the supervisory control system 100, the backup setting is automatically performed for at least part of the supervisory control data handled by the supervisory control system 100, thereby shortening the work time for the backup setting. can do.
 また、監視制御システム100は、過去設定データ記憶部34と、設定データ生成部27とを備える。過去設定データ記憶部34は、過去に生成された設定データである過去設定データを記憶する。設定データ生成部27は、過去設定データとバックアップデータとに基づいて、設定データを生成する。これにより、監視制御システム100では、監視制御システム100で扱われる監視制御データの全てのデータに対してバックアップの設定が自動的に行われるため、バックアップ設定時の入力作業が不要となる。 The monitoring control system 100 also includes a past setting data storage unit 34 and a setting data generation unit 27 . The past setting data storage unit 34 stores past setting data, which is setting data generated in the past. The setting data generator 27 generates setting data based on the past setting data and the backup data. As a result, in the supervisory control system 100, the backup setting is automatically performed for all data of the supervisory control data handled by the supervisory control system 100, so that the input operation at the time of the backup setting is unnecessary.
 また、監視制御システム100は、待機系のサーバ5をさらに備える。サーバ5は運用系のサーバである。待機系のサーバ5は、バックアップデータ取得部28と、監視制御処理部24とを備える。バックアップデータ取得部28は、運用系のサーバ5に障害が発生した場合に、複数のゲートウェイ装置2からバックアップデータを取得する。監視制御処理部24は、バックアップデータに基づいて、複数の監視制御機器1の監視および制御を行う。運用系のサーバ5と待機系のサーバ5とは、互いに各々異なる地域に設けられたクラウド環境8,8に構築される。これにより、監視制御システム100は、災害などが生じた場合であっても、複数の監視制御機器1の監視および制御を精度よく継続することができる。 In addition, the supervisory control system 100 further includes a standby server 52 . The server 51 is an active server. The standby server 52 includes a backup data acquisition unit 28 and a monitor control processing unit 24 . The backup data acquisition unit 28 acquires backup data from a plurality of gateway devices 2 when a failure occurs in the active server 51 . The supervisory control processor 24 monitors and controls the plurality of supervisory control devices 1 based on the backup data. The active server 5 1 and the standby server 5 2 are constructed in cloud environments 8 1 and 8 2 provided in different regions from each other. As a result, the monitoring and control system 100 can accurately continue monitoring and controlling the plurality of monitoring and control devices 1 even when a disaster or the like occurs.
実施の形態2.
 実施の形態2にかかる監視制御システムは、外部装置から設定データを作成することができる点、および外部装置でバックアップ状況を表示することができる点で、実施の形態1にかかる監視制御システムと異なる。以下においては、実施の形態1と同様の機能を有する構成要素については同一符号を付して説明を省略し、実施の形態1の監視制御システムと異なる点を中心に説明する。
Embodiment 2.
The supervisory control system according to the second embodiment differs from the supervisory control system according to the first embodiment in that setting data can be created from an external device and the backup status can be displayed on the external device. . In the following, constituent elements having functions similar to those of the first embodiment are given the same reference numerals, and descriptions thereof are omitted, and differences from the monitoring and control system of the first embodiment are mainly described.
 図12は、実施の形態2にかかる監視制御システムの構成の一例を示す図である。図12に示すように、実施の形態2にかかる監視制御システム100Aは、サーバ5,5に代えて、サーバ5A,5Aを備える点で、実施の形態1にかかる監視制御システム100と異なる。以下において、サーバ5A,5Aの各々を個別に区別せずに示す場合、サーバ5Aと記載する場合がある。 FIG. 12 is a diagram illustrating an example of a configuration of a monitoring control system according to a second embodiment; As shown in FIG. 12, the supervisory control system 100A according to the second embodiment includes servers 5A 1 and 5A 2 in place of the servers 5 1 and 5 2 . different from Hereinafter, the servers 5A 1 and 5A 2 may be referred to as the server 5A when they are individually indicated without distinction.
 図13は、実施の形態2にかかるサーバの構成の一例を示す図である。図13に示すように、サーバ5Aは、処理部21に代えて、処理部21Aを備える点で、サーバ5と異なる。処理部21Aは、設定データ更新部42およびデータ提供部43を備える点で、処理部21と異なる。 FIG. 13 is a diagram showing an example of the configuration of a server according to the second embodiment. As shown in FIG. 13, the server 5A is different from the server 5 in that it includes a processing unit 21A instead of the processing unit 21. FIG. The processing unit 21A differs from the processing unit 21 in that it includes a setting data updating unit 42 and a data providing unit 43 .
 設定データ更新部42は、外部装置の一例であるクライアント装置3から送信された設定データ作成要求が通信部20で受信された場合、設定データ作成画面データをクライアント装置3へ通信部20を介して送信する。設定データ更新部42は、設定データ作成画面データを送信した後、クライアント装置3から取得した設定要求データに基づいて、設定データ記憶部31に記憶された設定データを設定または更新する。設定データ更新部42は、クライアント装置3から送信されたキャンセル要求が通信部20で受信された場合、設定データの更新処理を終了する。 When the communication unit 20 receives a setting data creation request transmitted from the client device 3 , which is an example of an external device, the setting data update unit 42 sends the setting data creation screen data to the client device 3 via the communication unit 20 . Send. After transmitting the setting data creation screen data, the setting data update unit 42 sets or updates the setting data stored in the setting data storage unit 31 based on the setting request data acquired from the client device 3 . When the communication unit 20 receives the cancellation request transmitted from the client device 3, the setting data update unit 42 ends the setting data update process.
 なお、設定データ更新部42は、監視制御対象の状態、監視制御機器1の状態、または監視制御対象の周囲環境などに応じて、設定データ記憶部31に記憶されている設定データに含まれるバックアップ方法および優先度などの情報を変更することができる。 Note that the setting data update unit 42 updates the backup data included in the setting data stored in the setting data storage unit 31 in accordance with the state of the monitoring control target, the state of the monitoring control device 1, or the surrounding environment of the monitoring control target. Information such as method and priority can be changed.
 例えば、設定データ更新部42は、監視制御対象の状態が悪化している場合、バックアップ期間を長くしたり、バックアップ周期を短くしたりすることができる。また、設定データ更新部42は、監視制御機器1からの計測データが取得できなくなった場合、取得できなくなった計測データに対応する対象データについて、バックアップ期間を長くすることができる。また、設定データ更新部42は、サーバ5が構築されたクラウド環境8が設置された地域に災害が生じる可能性が高くなるほど、バックアップ期間を長くしたり、バックアップ周期を短くしたりすることができる。 For example, the setting data update unit 42 can lengthen the backup period or shorten the backup cycle when the state of the monitoring control target is deteriorating. Further, when the measurement data from the monitoring control device 1 cannot be obtained, the setting data updating unit 42 can lengthen the backup period for the target data corresponding to the measurement data that cannot be obtained. In addition, the setting data update unit 42 can lengthen the backup period or shorten the backup cycle as the possibility of a disaster occurring in the region where the cloud environment 8 in which the server 5 is constructed increases. .
 データ提供部43は、クライアント装置3から送信されたバックアップ状況表示要求が通信部20で受信された場合、バックアップ処理部26によるバックアップ処理の状況を示すバックアップ状況表示データを生成する。データ提供部43は、生成したバックアップ状況表示データをクライアント装置3へ通信部20を介して送信する。 When the communication unit 20 receives a backup status display request transmitted from the client device 3, the data providing unit 43 generates backup status display data indicating the status of backup processing by the backup processing unit 26. The data providing unit 43 transmits the generated backup status display data to the client device 3 via the communication unit 20 .
 例えば、データ提供部43は、設定データ記憶部31から設定データを取得し、方法データ記憶部32から方法データを取得する。また、データ提供部43は、バックアップの実行の状況を示す情報をバックアップ処理部26から取得する。データ提供部43は、取得した設定データ、方法データ、およびバックアップの実行の状況を示す情報に基づいて、バックアップ処理の状況を示すバックアップ状況表示データを生成する。 For example, the data providing unit 43 acquires setting data from the setting data storage unit 31 and method data from the method data storage unit 32 . The data providing unit 43 also acquires information indicating the status of backup execution from the backup processing unit 26 . The data providing unit 43 generates backup status display data indicating the status of backup processing based on the acquired setting data, method data, and information indicating the status of backup execution.
 クライアント装置3は、クライアント装置3の不図示の入力部へユーザの特定操作があった場合に、設定データ作成要求をサーバ5Aへ送信し、設定データ作成要求に応じてサーバ5Aから送信される設定データ作成画面データを受信する。クライアント装置3は、受信した設定データ作成画面データに基づいて、設定データ作成画面を不図示の表示部に表示する。 The client device 3 transmits a setting data creation request to the server 5A when a specific operation is performed by the user on the input unit (not shown) of the client device 3, and sets the settings transmitted from the server 5A in response to the setting data creation request. Receive data creation screen data. The client device 3 displays a setting data creation screen on a display unit (not shown) based on the received setting data creation screen data.
 図14は、実施の形態2にかかるクライアント装置の構成の一例を示す図である。図14に示すように、クライアント装置3は、通信部60と、表示処理部61と、表示部62と、入力部63と、入力処理部64と、要求送信処理部65と、設定データ送信処理部66とを備える。 FIG. 14 is a diagram showing an example of the configuration of a client device according to the second embodiment. As shown in FIG. 14, the client device 3 includes a communication unit 60, a display processing unit 61, a display unit 62, an input unit 63, an input processing unit 64, a request transmission processing unit 65, and a setting data transmission process. a portion 66;
 通信部60は、ネットワーク6に通信可能に接続され、サーバ5Aとの間でデータの送受信を行う。表示処理部61は、表示部62に情報を表示する。表示部62は、例えば、LCD(Liquid Crystal Display)または有機EL(Electro-Luminescence)ディスプレイである。入力部63は、例えば、マウス、キーボード、またはタッチパネルなどを含む。 The communication unit 60 is communicably connected to the network 6 and transmits and receives data to and from the server 5A. The display processing unit 61 displays information on the display unit 62 . The display unit 62 is, for example, an LCD (Liquid Crystal Display) or an organic EL (Electro-Luminescence) display. Input unit 63 includes, for example, a mouse, a keyboard, or a touch panel.
 入力処理部64は、入力部63へのユーザの操作を受け付ける。要求送信処理部65は、入力処理部64によって受け付けられた入力部63へのユーザの操作に基づいて、入力部63へのユーザの操作に応じた要求をサーバ5Aへ通信部60を介して送信する。例えば、要求送信処理部65は、入力部63へのユーザの特定操作があったことが入力処理部64で検出された場合に、設定データ作成要求をサーバ5Aへ通信部60を介して送信する。 The input processing unit 64 accepts user operations on the input unit 63 . The request transmission processing unit 65 transmits a request according to the user's operation on the input unit 63 to the server 5A via the communication unit 60, based on the user's operation on the input unit 63 accepted by the input processing unit 64. do. For example, the request transmission processing unit 65 transmits a setting data creation request to the server 5A via the communication unit 60 when the input processing unit 64 detects that the user has performed a specific operation on the input unit 63. .
 表示処理部61は、サーバ5Aから送信され通信部60で受信された画面データに応じた画面を表示部62に表示させる。例えば、表示処理部61は、サーバ5Aから送信され通信部60で受信された画面データが設定データ作成画面データである場合、設定データ作成画面を表示部62に表示させる。 The display processing unit 61 causes the display unit 62 to display a screen corresponding to the screen data transmitted from the server 5A and received by the communication unit 60. For example, when the screen data transmitted from the server 5A and received by the communication unit 60 is setting data creation screen data, the display processing unit 61 causes the display unit 62 to display the setting data creation screen.
 図15は、実施の形態2にかかるクライアント装置の表示部に表示される設定データ作成画面の一例を示す図である。図15に示す設定データ作成画面70は、設定データ作成欄71と、設定完了ボタン72と、キャンセルボタン73とを含む。 FIG. 15 is a diagram showing an example of a setting data creation screen displayed on the display unit of the client device according to the second embodiment. A setting data creation screen 70 shown in FIG. 15 includes a setting data creation column 71 , a setting completion button 72 , and a cancel button 73 .
 設定データ作成欄71には、バックアップ条件およびバックアップ方法などの情報を入力するための複数の入力枠が含まれる。クライアント装置3のユーザは、入力部63を操作することによって、設定データ作成欄71の複数の入力枠に対象データのバックアップ条件およびバックアップ方法などの情報を入力することができる。 The setting data creation column 71 includes a plurality of input boxes for inputting information such as backup conditions and backup methods. The user of the client device 3 can input information such as the backup conditions and backup method of the target data in a plurality of input boxes of the setting data creation column 71 by operating the input unit 63 .
 表示処理部61は、入力部63へのユーザの操作によって設定データ作成欄71の入力枠に情報が入力されたことが入力処理部64によって検出された場合、ユーザによって入力された情報が入力枠に追加された状態の設定データ作成欄71を表示部62に表示させる。なお、表示処理部61は、例えば、ユーザによって情報が入力されていない入力枠を赤色にして強調表示することができる。これにより、ユーザは情報が入力された入力枠を容易に把握することができる。 When the input processing unit 64 detects that information has been input into the input frame of the setting data creation column 71 by the user's operation on the input unit 63, the display processing unit 61 displays the information input by the user in the input frame. The display unit 62 displays the setting data creation column 71 in the state of being added to the . Note that the display processing unit 61 can, for example, highlight an input frame in which no information is input by the user by making it red. Thereby, the user can easily grasp the input frame in which the information is input.
 設定データ作成欄71にバックアップ条件およびバックアップ方法などの情報が追加された後、クライアント装置3のユーザが入力部63を操作して設定完了ボタン72が操作されたことが入力処理部64によって検出された場合、ユーザによって入力された情報を含む設定要求データをサーバ5Aへ通信部60を介して送信する。これにより、サーバ5Aによって設定データの設定または更新が行われる。 After the information such as the backup conditions and the backup method is added to the setting data creation column 71, the input processing unit 64 detects that the user of the client device 3 has operated the input unit 63 to operate the setting completion button 72. If so, the setting request data including the information input by the user is transmitted to the server 5A via the communication unit 60. FIG. Accordingly, the setting data is set or updated by the server 5A.
 また、クライアント装置3のユーザが入力部63を操作してキャンセルボタン73が操作されたことが入力処理部64によって検出された場合、要求送信処理部65は、キャンセル要求をサーバ5Aへ通信部60を介して送信する。 Further, when the input processing unit 64 detects that the user of the client device 3 has operated the input unit 63 and has operated the cancel button 73, the request transmission processing unit 65 sends a cancel request to the server 5A. Send via
 このように、実施の形態2にかかる監視制御システム100Aでは、クライアント装置3からバックアップ設定が可能になり、設定データの設定または変更の際に作業効率を向上させることができる。また、監視制御システム100Aでは、入力されていない入力枠が強調表示されることから、設定の未入力および誤入力を防ぐことができ、作業効率を向上させることができる。 Thus, in the monitoring and control system 100A according to the second embodiment, backup settings can be made from the client device 3, and work efficiency can be improved when setting or changing setting data. In addition, in the supervisory control system 100A, since the input boxes that have not been input are highlighted, it is possible to prevent the setting from not being input and the erroneous input, thereby improving the work efficiency.
 図14に戻って、クライアント装置3の説明を続ける。要求送信処理部65は、入力部63へのユーザの特定操作があったことが入力処理部64で検出された場合に、設定データ作成要求をサーバ5Aへ通信部60を介して送信する。 Returning to FIG. 14, the explanation of the client device 3 is continued. The request transmission processing unit 65 transmits a setting data creation request to the server 5A via the communication unit 60 when the input processing unit 64 detects that the input unit 63 has been specified by the user.
 また、クライアント装置3は、クライアント装置3における不図示の入力部へユーザの特定操作があった場合に、バックアップ状況表示要求をサーバ5Aへ送信し、バックアップ状況表示要求に応じてサーバ5Aから送信されるバックアップ状況表示データを受信する。クライアント装置3は、受信したバックアップ状況表示データに基づいて、バックアップ状況表示画面を表示部62に表示する。バックアップ状況表示データは、バックアップ状況を示す状況データの一例である。 Further, the client device 3 transmits a backup status display request to the server 5A when a specific operation is performed by the user on an input unit (not shown) of the client device 3, and the server 5A transmits a backup status display request in response to the backup status display request. receive backup status display data. The client device 3 displays a backup status display screen on the display unit 62 based on the received backup status display data. The backup status display data is an example of status data indicating the backup status.
 図16は、実施の形態2にかかるクライアント装置の表示部に表示されるバックアップ状況表示画面の一例を示す図である。図16に示すバックアップ状況表示画面80は、バックアップ状況表示欄81と、閉じるボタン82とを含む。 FIG. 16 is a diagram showing an example of a backup status display screen displayed on the display unit of the client device according to the second embodiment. A backup status display screen 80 shown in FIG. 16 includes a backup status display column 81 and a close button 82 .
 バックアップ状況表示欄81には、設定データの内容および方法データの内容などを示す情報が含まれる。これにより、クライアント装置3のユーザは、監視制御システム100Aのバックアップ実施状況を知ることが可能になることから、バックアップ方法などが適正かどうかを判断することができる。 The backup status display column 81 contains information indicating the content of the setting data, the content of the method data, and the like. As a result, the user of the client device 3 can know the backup implementation status of the monitoring control system 100A, and can judge whether the backup method and the like are appropriate.
 また、図16には図示していないが、バックアップ状況表示欄81には、例えば、バックアップ先のゲートウェイ装置2の情報、各バックアップ先に対してバックアップが行われているか否かを示す情報、および各バックアップ先に対してバックアップが実行された最新の時刻の情報などが含まれる。 Although not shown in FIG. 16, the backup status display column 81 includes, for example, information about the gateway device 2 of the backup destination, information indicating whether or not backup is being performed for each backup destination, and Information such as the latest time when backup was executed for each backup destination is included.
 つづいて、フローチャートを用いてサーバ5Aの処理部21Aによる処理を説明する。図17は、実施の形態2にかかるサーバの処理部による処理の一例を示すフローチャートである。図17に示すステップS60~S64,S69の処理は、図7に示すステップS20~S25の処理と同様であるため、説明を省略する。 Next, the processing by the processing unit 21A of the server 5A will be explained using a flowchart. 17 is a flowchart illustrating an example of processing by a processing unit of the server according to the second embodiment; FIG. The processes of steps S60 to S64 and S69 shown in FIG. 17 are the same as the processes of steps S20 to S25 shown in FIG. 7, so description thereof will be omitted.
 図17に示すように、サーバ5Aの処理部21Aは、クライアント装置3からの設定データ作成要求が通信部20で受信されたか否かを判定する(ステップS65)。処理部21Aは、設定データ作成要求が受信されたと判定した場合(ステップS65:Yes)、設定データ作成処理を実行する(ステップS66)。ステップS66の設定データ作成処理は、図18に示すステップS70~S73の処理であり、後で詳述する。 As shown in FIG. 17, the processing unit 21A of the server 5A determines whether or not the communication unit 20 has received the setting data creation request from the client device 3 (step S65). When the processing unit 21A determines that the setting data creation request has been received (step S65: Yes), the processing unit 21A executes setting data creation processing (step S66). The setting data creation process of step S66 is the process of steps S70 to S73 shown in FIG. 18, and will be described in detail later.
 処理部21Aは、ステップS66の処理が終了した場合、または設定データ作成要求が受信されていないと判定した場合(ステップS65:No)、クライアント装置3からのバックアップ状況表示要求が通信部20で受信されたか否かを判定する(ステップS67)。 When the processing of step S66 is finished, or when it is determined that the setting data creation request has not been received (step S65: No), the processing unit 21A receives the backup status display request from the client device 3 by the communication unit 20. It is determined whether or not it has been done (step S67).
 処理部21Aは、バックアップ状況表示要求が受信されたと判定した場合(ステップS67:Yes)、バックアップ状況表示処理を実行する(ステップS68)。ステップS68のバックアップ状況表示処理は、図19に示すステップS80~S83の処理であり、後で詳述する。 When the processing unit 21A determines that the backup status display request has been received (step S67: Yes), it executes backup status display processing (step S68). The backup status display process of step S68 is the process of steps S80 to S83 shown in FIG. 19, and will be described in detail later.
 処理部21Aは、ステップS68の処理が終了した場合、またはバックアップ状況表示要求が受信されていないと判定した場合(ステップS67:No)、動作終了のタイミングであるか否かを判定する(ステップS69)。 When the processing of step S68 is finished, or when it is determined that the backup status display request has not been received (step S67: No), the processing unit 21A determines whether or not it is time to end the operation (step S69). ).
 処理部21Aは、動作終了のタイミングではないと判定した場合(ステップS69:No)、処理をステップS60に移行し、動作終了のタイミングであると判定した場合(ステップS69:Yes)、図17に示す処理を終了する。 If the processing unit 21A determines that it is not the time to end the operation (step S69: No), the process proceeds to step S60. Terminate the indicated process.
 図18は、実施の形態2にかかるサーバの処理部による設定データ作成処理の一例を示すフローチャートである。図18に示すように、処理部21Aは、設定データ作成画面データをサーバ5Aへ通信部20を介して送信する(ステップS70)。 FIG. 18 is a flowchart showing an example of setting data creation processing by the processing unit of the server according to the second embodiment. As shown in FIG. 18, the processing unit 21A transmits setting data creation screen data to the server 5A via the communication unit 20 (step S70).
 次に、処理部21Aは、クライアント装置3からの設定要求データが通信部20で受信されたか否かを判定する(ステップS71)。処理部21Aは、設定要求データが受信されたと判定した場合(ステップS71:Yes)、設定要求データに基づいて設定データを設定または更新する(ステップS72)。 Next, the processing unit 21A determines whether or not the communication unit 20 has received the setting request data from the client device 3 (step S71). When the processing unit 21A determines that the setting request data has been received (step S71: Yes), the processing unit 21A sets or updates the setting data based on the setting request data (step S72).
 処理部21Aは、ステップS72の処理が終了した場合、または設定要求データが受信されていないと判定した場合(ステップS71:No)、クライアント装置3からのキャンセル要求が通信部20で受信されたか否かを判定する(ステップS73)。 When the processing of step S72 is completed, or when it is determined that the setting request data has not been received (step S71: No), the processing unit 21A determines whether the communication unit 20 has received a cancel request from the client device 3. It is determined whether or not (step S73).
 処理部21Aは、キャンセル要求が受信されていないと判定した場合(ステップS73:No)、処理をステップS71へ移行し、キャンセル要求が受信されたと判定した場合(ステップS73:Yes)、図18に示す処理を終了する。 When the processing unit 21A determines that the cancellation request has not been received (step S73: No), the process proceeds to step S71, and when it determines that the cancellation request has been received (step S73: Yes), Terminate the indicated process.
 図19は、実施の形態2にかかるサーバの処理部によるバックアップ状況表示処理の一例を示すフローチャートである。図19に示すように、処理部21Aは、設定データ記憶部31から設定データを取得する(ステップS80)。また、処理部21Aは、方法データ記憶部32に記憶された方法データを取得する(ステップS81)。 FIG. 19 is a flowchart showing an example of backup status display processing by the processing unit of the server according to the second embodiment. As shown in FIG. 19, the processing unit 21A acquires setting data from the setting data storage unit 31 (step S80). The processing unit 21A also acquires the method data stored in the method data storage unit 32 (step S81).
 処理部21Aは、バックアップ処理部26からバックアップの実行の状況を示す情報を取得する(ステップS82)。処理部21Aは、ステップS80で取得した設定データ、ステップS81で取得した方法データ、およびステップS82で取得したバックアップの実行の状況を示す情報に基づいて、バックアップ状況表示画面データを生成し、送信する(ステップS83)。処理部21Aは、ステップS83の処理が終了した場合、図19に示す処理を終了する。 The processing unit 21A acquires information indicating the status of backup execution from the backup processing unit 26 (step S82). The processing unit 21A generates and transmits backup status display screen data based on the setting data acquired in step S80, the method data acquired in step S81, and the information indicating the backup execution status acquired in step S82. (Step S83). The processing unit 21A ends the processing shown in FIG. 19 when the processing of step S83 is completed.
 実施の形態2にかかるサーバ5Aの処理部21Aのハードウェア構成例は、図11に示すサーバ5の処理部21のハードウェア構成と同じである。プロセッサ101は、メモリ102に記憶されたプログラムを読み出して実行することによって、処理部21Aの機能を実行することができる。 A hardware configuration example of the processing unit 21A of the server 5A according to the second embodiment is the same as the hardware configuration of the processing unit 21 of the server 5 shown in FIG. The processor 101 can execute the functions of the processing unit 21A by reading out and executing programs stored in the memory 102 .
 以上のように、実施の形態2にかかる監視制御システム100Aは、設定データ更新部42を備える。設定データ更新部42は、外部装置の一例であるクライアント装置3から取得したデータに基づいて、設定データ記憶部31に記憶される設定データを設定または更新する。これにより、監視制御システム100Aでは、クライアント装置3からバックアップ設定が可能になり、設定データの設定または変更の際に作業効率を向上させることができる。 As described above, the monitoring control system 100A according to the second embodiment includes the setting data update unit 42. The setting data update unit 42 sets or updates the setting data stored in the setting data storage unit 31 based on data acquired from the client device 3, which is an example of an external device. As a result, in the monitoring control system 100A, backup settings can be made from the client device 3, and work efficiency can be improved when setting or changing setting data.
 また、監視制御システム100Aは、複数のゲートウェイ装置2へのバックアップ状況を示す状況データを提供するデータ提供部43を備える。これにより、監視制御システム100Aでは、クライアント装置3のユーザは、監視制御システム100Aのバックアップ実施状況を知ることが可能になることから、バックアップ方法などが適正かどうかを判断することができる。 The monitoring and control system 100A also includes a data providing unit 43 that provides status data indicating the status of backup to multiple gateway devices 2 . As a result, in the monitoring control system 100A, the user of the client device 3 can know the backup implementation status of the monitoring control system 100A, and can judge whether the backup method or the like is appropriate.
 以上の実施の形態に示した構成は、一例を示すものであり、別の公知の技術と組み合わせることも可能であるし、実施の形態同士を組み合わせることも可能であるし、要旨を逸脱しない範囲で、構成の一部を省略、変更することも可能である。 The configurations shown in the above embodiments are only examples, and can be combined with other known techniques, or can be combined with other embodiments, without departing from the scope of the invention. It is also possible to omit or change part of the configuration.
 1,111~11n,1m1~1mn 監視制御機器、2,2~2 ゲートウェイ装置、3,3,3,3 クライアント装置、4 接続装置、5,5,5,5A,5A,5A サーバ、6 ネットワーク、8,8,8 クラウド環境、10,11,20,60 通信部、12 データ送受信処理部、13 リソースデータ送信処理部、14,26 バックアップ処理部、15 バックアップデータ記憶部、21,21A 処理部、22 計測データ収集部、23 計測データ処理部、24 監視制御処理部、25 リソースデータ取得部、27 設定データ生成部、28 バックアップデータ取得部、30 監視制御データ記憶部、31 設定データ記憶部、32 方法データ記憶部、33 一般設定データ記憶部、34 過去設定データ記憶部、40 バックアップ方法決定部、41 バックアップ実行部、42 設定データ更新部、43 データ提供部、61 表示処理部、62 表示部、63 入力部、64 入力処理部、65 要求送信処理部、66 設定データ送信処理部、70 設定データ作成画面、71 設定データ作成欄、72 設定完了ボタン、73 キャンセルボタン、80 バックアップ状況表示画面、81 バックアップ状況表示欄、82 閉じるボタン、100,100A 監視制御システム。 1, 1 11 to 1 1n , 1 m1 to 1 mn monitoring control equipment, 2, 2 1 to 2 m gateway device, 3, 3 1 , 3 2 , 3 3 client device, 4 connection device, 5, 5 1 , 5 2 , 5A, 5A 1 , 5A 2 server, 6 network, 8, 8 1 , 8 2 cloud environment, 10, 11, 20, 60 communication unit, 12 data transmission/reception processing unit, 13 resource data transmission processing unit, 14, 26 Backup processing unit 15 Backup data storage unit 21, 21A Processing unit 22 Measurement data collection unit 23 Measurement data processing unit 24 Monitoring control processing unit 25 Resource data acquisition unit 27 Setting data generation unit 28 Backup data acquisition 30 monitoring control data storage unit 31 setting data storage unit 32 method data storage unit 33 general setting data storage unit 34 past setting data storage unit 40 backup method determination unit 41 backup execution unit 42 setting data update 43 data providing unit 61 display processing unit 62 display unit 63 input unit 64 input processing unit 65 request transmission processing unit 66 setting data transmission processing unit 70 setting data creation screen 71 setting data creation column, 72 setting complete button, 73 cancel button, 80 backup status display screen, 81 backup status display field, 82 close button, 100, 100A supervisory control system.

Claims (12)

  1.  複数の監視制御機器と通信可能に接続される複数のゲートウェイ装置と、
     前記複数のゲートウェイ装置を介して前記複数の監視制御機器から送信される計測データを収集し、収集した計測データに基づいて監視制御対象の監視および制御を行うサーバと、を備え、
     前記サーバは、
     前記複数のゲートウェイ装置の各々のリソースの使用状況を示すリソースデータを周期的に取得するリソースデータ取得部と、
     バックアップ方法を示すデータを含む方法データとバックアップ条件を示す条件データとをバックアップ対象となるデータであるバックアップデータに含まれる対象データ毎に含む設定データを記憶する設定データ記憶部と、
     前記リソースデータ取得部で周期的に取得された前記リソースデータと前記設定データとに基づいて、前記バックアップ方法を変化させながら、前記バックアップデータを分散して前記複数のゲートウェイ装置に記憶させるバックアップ処理部と、を備える
     ことを特徴とする監視制御システム。
    a plurality of gateway devices communicably connected to a plurality of monitoring control devices;
    a server that collects measurement data transmitted from the plurality of monitoring and control devices via the plurality of gateway devices, and monitors and controls a monitoring and control target based on the collected measurement data;
    The server is
    a resource data acquisition unit that periodically acquires resource data indicating the resource usage status of each of the plurality of gateway devices;
    a setting data storage unit for storing setting data including method data including data indicating a backup method and condition data indicating backup conditions for each target data included in the backup data, which is data to be backed up;
    A backup processing unit that distributes and stores the backup data in the plurality of gateway devices while changing the backup method based on the resource data and the setting data that are periodically acquired by the resource data acquisition unit. and a supervisory control system comprising:
  2.  前記バックアップ処理部は、
     前記リソースデータと前記条件データとに基づいて、前記対象データ毎の前記バックアップ方法を決定するバックアップ方法決定部と、
     前記バックアップ方法決定部で決定された前記対象データ毎の前記バックアップ方法で前記バックアップデータを分散して前記複数のゲートウェイ装置に記憶させるバックアップ実行部と、を備える
     ことを特徴とする請求項1に記載の監視制御システム。
    The backup processing unit
    a backup method determination unit that determines the backup method for each of the target data based on the resource data and the condition data;
    2. The method according to claim 1, further comprising a backup execution unit that distributes the backup data according to the backup method for each of the target data determined by the backup method determination unit and stores the backup data in the plurality of gateway devices. monitoring and control system.
  3.  前記バックアップ処理部は、
     前記リソースデータと前記条件データとに基づいて、前記複数のゲートウェイ装置のうち前記対象データを記憶させるゲートウェイ装置を前記対象データ毎に決定するバックアップ方法決定部を備え、
     前記バックアップ方法決定部による決定結果に基づいて、前記バックアップデータを分散して前記複数のゲートウェイ装置に記憶させるバックアップ実行部と、を備える
     ことを特徴とする請求項1に記載の監視制御システム。
    The backup processing unit
    a backup method determination unit that determines, for each target data, a gateway device that stores the target data among the plurality of gateway devices based on the resource data and the condition data;
    2. The monitoring and control system according to claim 1, further comprising a backup execution unit that distributes and stores the backup data in the plurality of gateway devices based on the determination result of the backup method determination unit.
  4.  前記バックアップ方法決定部は、
     前記リソースデータと前記条件データとに基づいて、前記複数のゲートウェイ装置のうち前記対象データを記憶させるゲートウェイ装置を前記対象データ毎に決定し、
     前記バックアップ実行部は、
     前記バックアップ方法決定部による決定結果に基づいて、前記バックアップデータを分散して前記複数のゲートウェイ装置に記憶させる
     ことを特徴とする請求項2に記載の監視制御システム。
    The backup method determination unit
    determining, for each target data, a gateway device for storing the target data among the plurality of gateway devices based on the resource data and the condition data;
    The backup execution unit
    3. The supervisory control system according to claim 2, wherein the backup data is distributed and stored in the plurality of gateway devices based on the determination result of the backup method determination unit.
  5.  前記バックアップ方法を示すデータを含む方法データと前記バックアップ条件を示す条件データとをデータ種別毎に含む一般設定データを記憶する一般設定データ記憶部と、
     前記一般設定データと前記バックアップデータとに基づいて、前記設定データを生成する設定データ生成部と、を備える
     ことを特徴とする請求項1から4のいずれか1つに記載の監視制御システム。
    a general setting data storage unit for storing general setting data including method data including data indicating the backup method and condition data indicating the backup condition for each data type;
    The monitoring and control system according to any one of claims 1 to 4, further comprising a setting data generation unit that generates the setting data based on the general setting data and the backup data.
  6.  過去に生成された設定データである過去設定データを記憶する過去設定データ記憶部と、
     前記過去設定データと前記バックアップデータとに基づいて、前記設定データを生成する設定データ生成部と、を備える
     ことを特徴とする請求項1から4のいずれか1つに記載の監視制御システム。
    a past setting data storage unit that stores past setting data that is setting data generated in the past;
    The monitoring and control system according to any one of claims 1 to 4, further comprising a setting data generation unit that generates the setting data based on the past setting data and the backup data.
  7.  外部装置から取得したデータに基づいて、前記設定データ記憶部に記憶される前記設定データを設定または更新する設定データ更新部を備える
     ことを特徴とする請求項1から6のいずれか1つに記載の監視制御システム。
    7. The setting data update unit configured to set or update the setting data stored in the setting data storage unit based on data acquired from an external device. monitoring and control system.
  8.  前記複数のゲートウェイ装置へのバックアップ状況を示す状況データを提供するデータ提供部を備える
     ことを特徴とする請求項1から7のいずれか1つに記載の監視制御システム。
    8. The supervisory control system according to any one of claims 1 to 7, further comprising a data providing unit that provides status data indicating the status of backup to the plurality of gateway devices.
  9.  待機系のサーバをさらに備え、
     前記サーバは運用系のサーバであり、
     前記待機系のサーバは、
     前記運用系のサーバに障害が発生した場合に、前記複数のゲートウェイ装置から前記バックアップデータを取得するバックアップデータ取得部と、
     前記バックアップデータに基づいて、前記複数の監視制御機器の監視および制御を行う監視制御処理部と、を備え、
     前記運用系のサーバと前記待機系のサーバとは、
     互いに各々異なる地域に設けられたクラウド環境に構築される
     ことを特徴とする請求項1から8のいずれか1つに記載の監視制御システム。
    Equipped with a standby server,
    The server is an operational server,
    The standby server,
    a backup data acquisition unit that acquires the backup data from the plurality of gateway devices when a failure occurs in the active server;
    a monitoring control processing unit that monitors and controls the plurality of monitoring control devices based on the backup data;
    The active server and the standby server are
    The monitoring and control system according to any one of claims 1 to 8, wherein the monitoring and control system is constructed in cloud environments provided in regions different from each other.
  10.  複数の監視制御機器に接続される複数のゲートウェイ装置の各々のリソースの使用状況を示すリソースデータを周期的に取得するリソースデータ取得部と、
     バックアップ方法を示すデータを含む方法データとバックアップ条件を示す条件データとをバックアップ対象となるデータであるバックアップデータに含まれる対象データ毎に含む設定データを記憶する設定データ記憶部と、
     前記リソースデータ取得部で周期的に取得された前記リソースデータと前記設定データとに基づいて、前記バックアップ方法を変化させながら、前記バックアップデータを分散して前記複数のゲートウェイ装置に記憶させるバックアップ処理部と、を備える
     ことを特徴とするサーバ。
    a resource data acquisition unit that periodically acquires resource data indicating the resource usage status of each of a plurality of gateway devices connected to a plurality of monitoring control devices;
    a setting data storage unit for storing setting data including method data including data indicating a backup method and condition data indicating backup conditions for each target data included in the backup data, which is data to be backed up;
    A backup processing unit that distributes and stores the backup data in the plurality of gateway devices while changing the backup method based on the resource data and the setting data that are periodically acquired by the resource data acquisition unit. and a server.
  11.  複数の監視制御機器に接続される複数のゲートウェイ装置の各々のリソースの使用状況を示すリソースデータを周期的に取得する第1のステップと、
     バックアップ方法を示すデータを含む方法データとバックアップ条件を示す条件データとをバックアップ対象となるデータであるバックアップデータに含まれる対象データ毎に含む設定データと前記第1のステップで周期的に取得された前記リソースデータとに基づいて、前記バックアップ方法を変化させながら、前記バックアップデータを分散して前記複数のゲートウェイ装置に記憶させる第2のステップと、を含む
     ことを特徴とするバックアップ処理方法。
    a first step of periodically acquiring resource data indicating the resource usage status of each of a plurality of gateway devices connected to a plurality of monitoring control devices;
    setting data including method data including data indicating a backup method and condition data indicating backup conditions for each target data included in backup data, which is data to be backed up, and setting data periodically acquired in the first step; and a second step of distributing and storing the backup data in the plurality of gateway devices while changing the backup method based on the resource data.
  12.  複数の監視制御機器に接続される複数のゲートウェイ装置の各々のリソースの使用状況を示すリソースデータを周期的に取得する第1のステップと、
     バックアップ方法を示すデータを含む方法データとバックアップ条件を示す条件データとをバックアップ対象となるデータであるバックアップデータに含まれる対象データ毎に含む設定データと前記第1のステップで周期的に取得された前記リソースデータとに基づいて、前記バックアップ方法を変化させながら、前記バックアップデータを分散して前記複数のゲートウェイ装置に記憶させる第2のステップと、をコンピュータに実行させる
     ことを特徴とするバックアップ処理プログラム。
    a first step of periodically acquiring resource data indicating the resource usage status of each of a plurality of gateway devices connected to a plurality of monitoring control devices;
    setting data including method data including data indicating a backup method and condition data indicating backup conditions for each target data included in backup data, which is data to be backed up, and setting data periodically acquired in the first step; and a second step of distributing and storing the backup data in the plurality of gateway devices while changing the backup method based on the resource data. .
PCT/JP2021/015457 2021-04-14 2021-04-14 Supervisory control system, server, backup processing method, and backup processing program WO2022219745A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/JP2021/015457 WO2022219745A1 (en) 2021-04-14 2021-04-14 Supervisory control system, server, backup processing method, and backup processing program
JP2021554992A JP7069427B1 (en) 2021-04-14 2021-04-14 Monitoring control system, server, backup processing method, and backup processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2021/015457 WO2022219745A1 (en) 2021-04-14 2021-04-14 Supervisory control system, server, backup processing method, and backup processing program

Publications (1)

Publication Number Publication Date
WO2022219745A1 true WO2022219745A1 (en) 2022-10-20

Family

ID=81607987

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2021/015457 WO2022219745A1 (en) 2021-04-14 2021-04-14 Supervisory control system, server, backup processing method, and backup processing program

Country Status (2)

Country Link
JP (1) JP7069427B1 (en)
WO (1) WO2022219745A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005196683A (en) * 2004-01-09 2005-07-21 Hitachi Ltd Information processing system, information processor and control method of information processing system
JP2012027656A (en) * 2010-07-22 2012-02-09 Intec Inc Management apparatus, method and program for disaster recovery system
JP2014052859A (en) * 2012-09-07 2014-03-20 Ihi Corp Monitor data management system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6987615B2 (en) * 2017-11-20 2022-01-05 株式会社日立製作所 Data management system
JP6827490B2 (en) * 2019-04-04 2021-02-10 三菱電機株式会社 Data analyzer, data analysis method and data analysis program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005196683A (en) * 2004-01-09 2005-07-21 Hitachi Ltd Information processing system, information processor and control method of information processing system
JP2012027656A (en) * 2010-07-22 2012-02-09 Intec Inc Management apparatus, method and program for disaster recovery system
JP2014052859A (en) * 2012-09-07 2014-03-20 Ihi Corp Monitor data management system

Also Published As

Publication number Publication date
JP7069427B1 (en) 2022-05-17
JPWO2022219745A1 (en) 2022-10-20

Similar Documents

Publication Publication Date Title
ES2340469T3 (en) PROCEDURE AND SYSTEM FOR A SET OF NETWORK DEVICES THAT CAN BE CONNECTED TO IMPROVE COLLABORATION, SCALABILITY AND RELIABILITY.
JP2013257790A (en) Programmable display
US11475758B2 (en) Monitoring control panels of a fire control system
CN105740351A (en) Data fusion method and system of power transmission operation and maintenance equipment
WO2019125301A1 (en) Control arrangements for maintenance of a collection of physical devices and methods for controlling maintenance of a collection of physical devices
JP6880560B2 (en) Failure prediction device, failure prediction method and failure prediction program
JP2020502686A (en) Management method, system, and device for master and standby databases
US8032789B2 (en) Apparatus maintenance system and method
CN114326604A (en) Scheduling system, scheduling method and carrier device
WO2022219745A1 (en) Supervisory control system, server, backup processing method, and backup processing program
JP6721803B2 (en) Local server for facility management and center server for proxy management
JP2006195554A (en) Integrated supervision system
JP2009104619A (en) Remote monitoring system of automatic fire alarm equipment
JPH0660000A (en) Information processing system and method therefor
JP5612012B2 (en) Information processing system and processing method thereof
JP2002169704A (en) Method and system for surrogate processing and computer system
JP2011145861A (en) Disaster time automatic switching system and method for processing the same
CN107493308B (en) Method and device for sending message and distributed equipment cluster system
JP4520813B2 (en) Monitoring center server
WO2024053134A1 (en) Worker allocation management system and method
JP5025624B2 (en) Remote monitoring system for automatic fire alarm equipment
WO2018146718A1 (en) Air conditioning device
CN116708135B (en) Network service fault monitoring method and device, electronic equipment and storage medium
JP2019185240A (en) Data collecting device and method
JP2015045989A (en) Traffic control monitoring control system in express highway

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2021554992

Country of ref document: JP

Kind code of ref document: A

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21936947

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21936947

Country of ref document: EP

Kind code of ref document: A1