WO2018207322A1 - Data collection device and data collection program - Google Patents

Data collection device and data collection program Download PDF

Info

Publication number
WO2018207322A1
WO2018207322A1 PCT/JP2017/017901 JP2017017901W WO2018207322A1 WO 2018207322 A1 WO2018207322 A1 WO 2018207322A1 JP 2017017901 W JP2017017901 W JP 2017017901W WO 2018207322 A1 WO2018207322 A1 WO 2018207322A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
node
collection
amount
schedule
Prior art date
Application number
PCT/JP2017/017901
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/JP2017/017901 priority Critical patent/WO2018207322A1/en
Priority to JP2019516827A priority patent/JP6599049B2/en
Publication of WO2018207322A1 publication Critical patent/WO2018207322A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D21/00Measuring or testing not otherwise provided for
    • G01D21/02Measuring two or more variables by means not covered by a single other subclass
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q9/00Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom

Definitions

  • the present invention relates to a technique for collecting data from a plurality of nodes.
  • Patent Document 1 discloses a method for scheduling transmission timing by a collection device according to the communication characteristics of each node.
  • Patent Document 2 discloses a method of adjusting the transmission timing so that the transmission processing of the sensor module corresponding to each node does not overlap. Both methods are methods for suppressing overlapping of transmission processes by instructing the connected nodes from the collection device with data transmission timing.
  • the processing load of the collection device changes according to the input data size.
  • the CPU usage, the memory usage, or the disk input / output amount corresponds to the processing load.
  • Data transmitted from connected nodes is not necessarily the same data size. For example, when data transmission fails and data transmission is performed including the failure, the size of the transmitted data increases.
  • the size of data transmitted to the collection device changes according to the number of devices connected to the relay device.
  • the prior art document describes a method of adjusting the transmission timing based on the number of devices and communication characteristics, but does not indicate the size of data to be transmitted and the processing cost of the collection device.
  • An object of the present invention is to make it possible to determine an appropriate collection schedule even if there is a difference in the data amount of each node.
  • the data collection device of the present invention comprises: A receiving unit that receives data amount information indicating a data amount per unit time for each node from which data is obtained; A schedule determination unit that determines a collection schedule for collecting data from each node based on the data amount information for each node.
  • the collection schedule is determined based on the data amount information for each node. Therefore, it is possible to determine an appropriate collection schedule even if there is a difference in the data amount of each node.
  • FIG. 1 is a configuration diagram of a data collection system 100 according to Embodiment 1.
  • FIG. 1 is a configuration diagram of a data collection device 200 according to Embodiment 1.
  • FIG. 3 is a configuration diagram of a node 300 in the first embodiment. 3 is a flowchart of a data collection method according to the first embodiment.
  • FIG. 5 is a diagram showing a specific example of node information 110 in the first embodiment.
  • FIG. 6 is a diagram showing a specific example of the node management table 120 in the first embodiment.
  • FIG. 5 is a diagram showing a specific example of schedule information 130 in the first embodiment.
  • FIG. 1 is a configuration diagram of a data collection system 100 according to Embodiment 1.
  • FIG. 1 is a configuration diagram of a data collection device 200 according to Embodiment 1.
  • FIG. 3
  • FIG. 6 shows a specific example of load amount data 150 in the first embodiment.
  • FIG. 4 shows an image of a collection schedule in the first embodiment.
  • FIG. 6 shows a specific example of a collection schedule in the first embodiment.
  • 1 is a diagram illustrating a configuration example of a data collection system 100 according to Embodiment 1.
  • FIG. FIG. 3 is a configuration diagram of a data collection system 100 in a second embodiment.
  • FIG. 10 is a flowchart of a schedule determination method according to the second embodiment.
  • FIG. 9 shows a node group in the second embodiment.
  • FIG. 6 shows an image of a collection schedule in the second embodiment.
  • FIG. 10 shows a specific example of a collection schedule in the second embodiment.
  • Embodiment 1 FIG. The data collection system 100 will be described with reference to FIGS.
  • the data collection system 100 is a system for collecting data from a plurality of nodes 300.
  • the data collection system 100 includes a data collection device 200. Furthermore, the data collection system 100 includes a plurality of nodes 300. In the first embodiment, the data collection system 100 includes five nodes 300 from the node (1) to the node (5).
  • the plurality of nodes 300 are connected to the data collection device 200 via the network 101.
  • the network 101 may be a wired line or a wireless line.
  • the node 300 is a device that obtains data. Specifically, the node 300 is a measurement device.
  • the measurement device obtains a measurement value by performing measurement.
  • the measurement device is a power meter, a pulse sensor, a heart rate sensor, a thermal sensor, or an optical sensor.
  • the measuring device may be an information processing device that acquires information on information processing load or operating status.
  • the data collection device 200 is a computer that collects data from a plurality of nodes 300.
  • the configuration of the data collection device 200 will be described with reference to FIG.
  • the data collection device 200 includes hardware such as a processor 201, a memory 202, an auxiliary storage device 203, and a communication interface 204. These hardwares are connected to each other via signal lines.
  • the data collection device 200 may include hardware such as a display interface and an input interface.
  • the display interface is connected to the display.
  • the input interface is connected to the keyboard and mouse.
  • the processor 201 is an IC (Integrated Circuit) that performs arithmetic processing, and controls other hardware.
  • the processor 201 is a CPU (Central Processing Unit), a DSP (Digital Signal Processor), or a GPU (Graphics Processing Unit).
  • the memory 202 is a volatile storage device.
  • the memory 202 is also called main memory or main memory.
  • the memory 202 is a RAM (Random Access Memory).
  • Data stored in the memory 202 is stored in the auxiliary storage device 203 as necessary.
  • the auxiliary storage device 203 is a nonvolatile storage device.
  • the auxiliary storage device 203 is a ROM (Read Only Memory), an HDD (Hard Disk Drive), or a flash memory.
  • the communication interface 204 is a device that performs communication, that is, a receiver and a transmitter.
  • the communication interface 204 is a communication chip or a NIC (Network Interface Card).
  • the data collection device 200 includes software elements such as a control unit 210 and a schedule determination unit 220.
  • a software element is an element realized by software.
  • the auxiliary storage device 203 stores a data collection program for causing the computer to function as the control unit 210 and the schedule determination unit 220.
  • the data collection program is loaded into the memory 202 and executed by the processor 201.
  • a program for causing a computer to function as the schedule determination unit 220 is referred to as a schedule determination program.
  • the auxiliary storage device 203 stores an OS (Operating System). At least a part of the OS is loaded into the memory 202 and executed by the processor 201. That is, the processor 201 executes the data collection program while executing the OS.
  • Data obtained by executing the data collection program is stored in a storage device such as the memory 202, the auxiliary storage device 203, a register in the processor 201, or a cache memory in the processor 201.
  • the auxiliary storage device 203 functions as a storage unit 291 and a storage unit 292. However, other storage devices may function as the storage unit 291 and the storage unit 292 instead of the auxiliary storage device 203 or together with the auxiliary storage device 203.
  • the communication interface 204 functions as a reception unit 293 and a transmission unit 294.
  • the data collection device 200 may include a plurality of processors that replace the processor 201.
  • the plurality of processors share the role of the processor 201.
  • the data collection program can be stored in a non-volatile storage medium such as a magnetic disk, optical disk or flash memory.
  • the nonvolatile storage medium is a computer-readable recording medium.
  • the configuration of the node 300 will be described based on FIG.
  • the node 300 includes hardware such as a processor 301, a memory 302, an auxiliary storage device 303, a communication interface 304, and a sensor interface 305. These hardwares are connected to each other via signal lines.
  • the processor 301 is an IC that performs arithmetic processing, and controls other hardware.
  • the processor 301 is a CPU.
  • the memory 302 is a volatile storage device.
  • the memory 302 is also called a main storage device or a main memory.
  • the memory 302 is a RAM.
  • Data stored in the memory 302 is stored in the auxiliary storage device 303 as necessary.
  • the auxiliary storage device 303 is a nonvolatile storage device.
  • the auxiliary storage device 303 is a ROM, an HDD, or a flash memory. Data stored in the auxiliary storage device 303 is loaded into the memory 302 as necessary.
  • the communication interface 304 is a device that performs communication, that is, a receiver and a transmitter.
  • the communication interface 304 is a communication chip or a NIC.
  • the node 300 includes a control unit 311.
  • the control unit 311 is realized by software.
  • the auxiliary storage device 303 stores a node program for causing the computer to function as the control unit 311. This node program is loaded into the memory 302 and executed by the processor 301. Further, the auxiliary storage device 303 stores an OS. At least a part of the OS is loaded into the memory 302 and executed by the processor 301. That is, the processor 301 executes the node program while executing the OS. Data obtained by executing the node program is stored in a storage device such as the memory 302, the auxiliary storage device 303, a register in the processor 301, or a cache memory in the processor 301.
  • the auxiliary storage device 303 functions as the storage unit 391. However, another storage device may function as the storage unit 391 instead of the auxiliary storage device 303 or together with the auxiliary storage device 303.
  • the communication interface 304 functions as a transmission unit 392 and a reception unit 393.
  • the sensor interface 305 functions as the measurement unit 394.
  • the node 300 may include a plurality of processors that replace the processor 301.
  • the plurality of processors share the role of the processor 301.
  • the node program can be stored in a non-volatile storage medium such as a magnetic disk, optical disk or flash memory.
  • the nonvolatile storage medium is a computer-readable recording medium.
  • the operation of the data collection system 100 corresponds to a data collection method. Further, the procedure of the data collection device 200 in the data collection method corresponds to the procedure of the data collection program.
  • each node 300 transmits a collection request to the data collection device 200.
  • the control unit 311 generates a collection request
  • the transmission unit 392 transmits the collection request to the data collection device 200.
  • the collection request includes node information 110.
  • the node information 110 is data information obtained by the node 300.
  • the node information 110 includes a node identifier, an uncollected data amount, a measurement interval, and data amount information.
  • the node identifier is an identifier that identifies the node 300.
  • the amount of uncollected data is the amount of data that has not been collected.
  • the measurement interval is a time indicating an interval at which measurement is performed.
  • the data amount information indicates the data amount per unit time. Specifically, the data amount is the number of data items.
  • the node information 110 is stored in the storage unit 391.
  • FIG. 5 shows a specific example of the node information 110.
  • the first node information 110 is the node information 110 of the node (1). In the node information 110 of the node (1), the amount of uncollected data is 0, and the measurement interval is 1 second. Further, the data amount information is 10 cases every 10 seconds.
  • the second node information 110 is the node information 110 of the node (2). In the node information 110 of the node (2), the amount of uncollected data is 0, and the measurement interval is 1 second. The data amount information is 50 every 10 seconds.
  • the third node information 110 is the node information 110 of the node (3). In the node information 110 of the node (3), the amount of uncollected data is 0, and the measurement interval is 1 second.
  • the data amount information is 40 cases every 10 seconds.
  • the fourth node information 110 is the node information 110 of the node (4). In the node information 110 of the node (4), the amount of uncollected data is 0, and the measurement interval is 1 second. The data amount information is 40 cases every 10 seconds.
  • the fifth node information 110 is the node information 110 of the node (5). In the node information 110 of the node (5), the amount of uncollected data is 44, and the measurement interval is 1 second.
  • the data amount information is 20 cases every 10 seconds. Assume that the nodes (1) to (4) are existing nodes 300, and the node (5) is a newly connected node 300. Since node (5) is a newly connected node 300, node (5) has uncollected data.
  • step S ⁇ b> 102 the data collection device 200 receives a collection request from each node 300. Specifically, the receiving unit 293 receives the collection request, and the storage unit 291 registers the node information 110 included in the collection request in the node management table 120.
  • the node management table 120 is a table stored in the storage unit 291.
  • FIG. 6 shows a specific example of the node management table 120.
  • the node management table 120 includes columns for a node identifier, a previous collection time, an uncollected data amount, a measurement interval, and data amount information.
  • a node identifier is registered in the node identifier column.
  • the previous collection time is registered in the previous collection time column.
  • the previous collection time is the previous time when data was collected.
  • the uncollected data amount column the uncollected data amount included in the node information 110 is registered.
  • the measurement interval included in the node information 110 is registered in the measurement interval column.
  • Data amount information included in the node information 110 is registered in the data amount information column.
  • step S102 determines a collection schedule.
  • the schedule determination unit 220 determines a collection schedule based on the node information 110 for each node 300.
  • the collection schedule is a schedule for collecting data from each node 300. A method for determining the collection schedule will be described later.
  • the data collection device 200 transmits a collection response to each node 300.
  • the schedule determination unit 220 generates schedule information 130 based on the collection schedule.
  • the control unit 210 generates a collection response including the schedule information 130.
  • the transmission unit 294 transmits a collection response.
  • the collection response includes schedule information 130.
  • the schedule information 130 is information indicating a collection schedule.
  • the schedule information 130 includes a node identifier, a next collection time, and a next data amount.
  • the node identifier is an identifier that identifies the node 300.
  • the next collection time is the time when the next collection is performed.
  • the next data amount is the amount of data collected next time.
  • FIG. 7 shows a specific example of the schedule information 130.
  • the first schedule information 130 is the schedule information 130 of the node (1).
  • the second schedule information 130 is the schedule information 130 of the node (2).
  • the third schedule information 130 is the schedule information 130 of the node (3).
  • the fourth schedule information 130 is the schedule information 130 of the node (4).
  • the fifth schedule information 130 is the schedule information 130 of the node (5).
  • the next collection time and the next data amount are set in the schedule information 130 of each of the nodes (1) to (4). Since the node (5) is the newly connected node 300, the next collection time and the next data amount are not set in the schedule information 130 of the node (5).
  • step S ⁇ b> 103 each node 300 receives a collection response from the data collection device 200. Specifically, the receiving unit 393 receives the collection response, and the storage unit 391 stores the schedule information 130 included in the collection response.
  • each node 300 transmits a collection request to the data collection device 200.
  • the control unit 311 generates a collection request including the collection data 140 having the same amount as the next data amount indicated by the schedule information 130.
  • the transmission unit 392 transmits a collection request to the data collection device 200 at the next collection time indicated by the schedule information 130.
  • the collection request includes collection data 140 and node information 110.
  • the collected data 140 is data obtained by the node 300 and collected by the data collection device 200.
  • the collected data 140 includes a measurement time, a measurement value, and a device identifier.
  • the measurement time is the time when the measurement was performed.
  • the measured value is a value obtained by measurement. There may be one or more measurement values.
  • the device identifier is an identifier for identifying a measurement device that has performed measurement.
  • FIG. 8 shows a specific example of the collected data 140.
  • Each collected data 140 is data obtained by the measurement device (10000001), and includes measurement time, measurement value, and device identifier.
  • step S ⁇ b> 105 the data collection device 200 receives a collection request from each node 300. Specifically, the receiving unit 293 receives the collection request, and the storage unit 291 registers the node information 110 included in the collection request in the node management table 120.
  • the data collection device 200 determines whether the collection schedule needs to be changed. Specifically, the schedule determination unit 220 determines whether the collection schedule change condition is satisfied based on the node information 110 for each node 300. For example, when a large amount of collected data is retained, it is necessary to change the collection schedule.
  • the collection schedule change condition is a condition that the ratio of the uncollected data amount to the data amount indicated by the data amount information exceeds a threshold value. If the collection schedule needs to be changed, the process proceeds to step S106. If it is not necessary to change the collection schedule, the process proceeds to step S107.
  • step S106 the data collection device 200 determines a collection schedule. Specifically, the schedule determination unit 220 determines a collection schedule based on the node information 110 for each node 300. A method for determining the collection schedule will be described later.
  • step S107 the data collection device 200 accumulates the collected data 140 of each node 300. Specifically, the storage unit 292 stores the collected data 140 included in the collection request for each node 300.
  • the data collection device 200 transmits a collection response to each node 300.
  • the schedule determination unit 220 generates schedule information 130 based on the collection schedule.
  • the control unit 210 generates a collection response including the collection result and the schedule information 130.
  • the transmission unit 294 transmits a collection response.
  • the collection response includes a collection result and schedule information 130.
  • the collection result indicates the result of data collection.
  • each node 300 receives a collection response from the data collection device 200. Specifically, the receiving unit 393 receives the collection response, and the storage unit 391 stores the schedule information 130 included in the collection response.
  • step S108 data collection is repeated in the same procedure as the procedure from step S104 to step S108.
  • the schedule determination unit 220 determines a collection schedule based on the node information 110 for each node 300.
  • step S ⁇ b> 201 the schedule determination unit 220 calculates a collection interval range based on the reference data amount and the data amount information of each node 300.
  • the collection interval range is the range of the collection interval i.
  • the lower limit of the collection interval range is written as min, and the upper limit of the collection interval range is written as max.
  • the collection interval i is a time indicating an interval for collecting data from each node 300.
  • the reference data amount is a predetermined number as the lower limit of the data amount collected at one time.
  • the schedule determination unit 220 calculates the collection interval range as follows. First, the schedule determination unit 220 selects data amount information with the smallest data amount per unit time from the node management table 120. In FIG. 6, the selected data amount information is the data amount information of the node (1). The data amount information of the node (1) is 10 cases every 10 seconds. Then, the schedule determination unit 220 calculates the time necessary to obtain the reference data amount using the selected data amount information. The calculated time is the lower limit of the collection interval range. When the reference data amount is 10, the lower limit of the collection interval range is 10 seconds. The upper limit of the collection interval range is a predetermined time. For example, the upper limit of the collection interval range is 60 seconds.
  • step S202 the schedule determination unit 220 selects a collection interval i from the collection interval range. Specifically, the schedule determination unit 220 sets the lower limit of the collection interval range as the collection interval i.
  • the collection interval will be described.
  • the collection process is divided into small parts, so that the entire collection load is easily smoothed.
  • the processing load for the data amount is not necessarily proportional to the data amount.
  • the larger the amount of data processed at one time the higher the processing efficiency, and the lower the amount of data processed at one time, the lower the processing efficiency. For this reason, if the collection interval is short and the amount of data processed at a time is small, the processing efficiency is lowered. Therefore, the lowering of the processing efficiency is suppressed by providing a lower limit (reference data amount) of the data amount collected at one time.
  • the upper limit of the collection interval is determined based on the time requirement for collecting data from each node 300.
  • step S203 the schedule determination unit 220 compares the collection interval i with the upper limit of the collection interval range. If the collection interval i is less than or equal to the upper limit of the collection interval range, the process proceeds to step S204. If the collection interval i is greater than the upper limit of the collection interval range, the process ends without determining the collection schedule. In this case, data cannot be collected from each node 300.
  • step S ⁇ b> 204 the schedule determination unit 220 calculates the collection interval data amount for each node 300 based on the data amount information for each node 300.
  • the collection interval data amount is the amount of data obtained during the collection interval i. For example, when the data amount indicated by the data amount information is 10 cases every 10 seconds and the collection interval i is 10 seconds, the collection interval data amount is 10 seconds.
  • step S ⁇ b> 205 the schedule determination unit 220 calculates a load amount for the collection interval data amount for each node 300. Then, the schedule determination unit 220 calculates the total load amount using the load amount for each node 300.
  • the load amount is an amount of load required for processing data. Specifically, the load amount is CPU time required for processing on data. Examples of the load amount include a memory usage amount and a disk input / output amount in addition to the CPU time.
  • the amount of load is also called processing cost.
  • the total load amount is the total load amount. Specifically, the total load amount is the total CPU time.
  • the schedule determination unit 220 extracts a load amount corresponding to the collection interval data amount from the load amount data 150 for each node. And the schedule determination part 220 totals the load amount for every node. The load amount obtained by the sum is the total load amount.
  • the load amount data 150 is data in which the data amount and the load amount are associated with each other. For example, the load amount data 150 is a graph, a table, or an equation.
  • FIG. 10 shows a specific example of the load amount data 150.
  • the load amount is not necessarily proportional to the data amount. In general, the larger the amount of data processed at one time, the higher the processing efficiency, and the lower the amount of data processed at one time, the lower the processing efficiency.
  • step S206 the schedule determination unit 220 compares the total load amount with the allowable load amount.
  • the allowable load amount is an allowable load amount.
  • the allowable load amount is the collection interval i. That is, the schedule determination unit 220 compares the total CPU time with the collection interval i. If the total load amount is less than or equal to the allowable load amount, the process proceeds to step S208. If the total load amount is greater than the allowable load amount, the process proceeds to step S207.
  • step S207 the schedule determination unit 220 newly selects a collection interval i. Specifically, the schedule determination unit 220 adds the additional time ⁇ to the collection interval i. That is, the schedule determination unit 220 selects the collection interval i in ascending order of time.
  • the additional time ⁇ is a time obtained by dividing the collection interval range into N. When the collection interval range is 50 seconds from 10 seconds to 60 seconds, and the collection interval range is divided into 10, the additional time ⁇ is 5 seconds.
  • step S208 the schedule determination unit 220 calculates a margin amount using the total load amount and the allowable load amount, and compares the margin amount with a margin threshold.
  • the margin amount is the remainder of the allowable load amount with respect to the total load amount.
  • the margin threshold value is a predetermined value as a threshold value to be compared with the margin amount.
  • the schedule determination unit 220 calculates the surplus time by subtracting the total CPU time (total load amount) from the collection interval i (allowable load amount), and calculates the ratio of the surplus time to the collection interval i.
  • the calculated ratio is a margin. For example, if the collection interval i is 10 seconds and the total CPU time is 7 seconds, the extra time is 3 seconds and the margin is 30 percent. When the margin threshold is 25%, the margin amount is larger than the margin threshold.
  • step S209 If the margin amount is equal to or greater than the margin threshold, the process proceeds to step S210.
  • step S ⁇ b> 209 the schedule determination unit 220 determines whether the total load amount after adding the uncollected data amount for each node 300 to the collection interval data amount for each node 300 does not exceed the allowable load amount. An uncollected data amount for each node 300 is added to the collection interval data amount.
  • the schedule determination unit 220 adds an uncollected data amount as follows. (1) The schedule determination unit 220 selects one node 300 whose non-collected data amount is not zero from the node management table 120. (2) Next, the schedule determination unit 220 calculates the total load amount when the uncollected data amount of the selected node 300 is added to the collection interval data amount of the selected node 300. (3) Next, the schedule determination unit 220 compares the total load amount with the allowable load amount. (4) When the total load amount is equal to or less than the allowable load amount, the schedule determination unit 220 adds the uncollected data amount of the selected node 300 to the collection interval data amount of the selected node 300. Then, the process returns to (1).
  • the schedule determination unit 220 does not add the uncollected data amount of the selected node 300 to the collection interval data amount of the selected node 300. Alternatively, the schedule determination unit 220 adds a part of the uncollected data amount of the selected node 300 to the collection interval data amount of the selected node 300. Then, the process ends.
  • step S209 the process proceeds to step S210.
  • FIG. 11 shows a specific example of the collection interval data amount and the load amount before and after step S209.
  • step S210 the schedule determination unit 220 determines a collection schedule using the collection interval i.
  • the storage unit 291 stores the collection schedule. Specifically, the schedule determination unit 220 determines the collection schedule as follows. First, the schedule determination unit 220 determines the entire collection time zone using the collection interval i. The total collection time zone is a time zone having a time as long as the collection interval i. Next, the schedule determination unit 220 determines the collection order of each node 300. For example, the schedule determination unit 220 arranges the newly connected node 300 and the node 300 having uncollected data in front, and behind that, arranges the remaining nodes 300 in the same order as the previous time.
  • the schedule determination unit 220 calculates the collection time length for each node 300 using the collection interval data amount.
  • the collection time length is a time required for collecting data of the collection interval data amount.
  • the schedule determination unit 220 calculates the total collection time length, calculates the difference between the total collection time zone and the total collection time length, and calculates the insertion time by dividing the difference by the number of nodes.
  • the insertion time is a time inserted during the collection time of each node 300.
  • the schedule determination unit 220 determines the collection time zone of each node 300 in the entire collection time zone.
  • the collection time zone is a time zone having a collection time length.
  • the start time of the collection time zone is called the collection time.
  • FIG. 12 shows an image of the collection schedule.
  • the collection interval is 10 seconds, and collection is performed in the order of the node (5), the node (4), the node (3), the node (2), and the node (1).
  • Each collection interval data amount is 64 cases, 40 cases, 40 cases, 50 cases, and 10 cases.
  • An insertion time Tw is inserted between each collection time zone.
  • FIG. 13 shows a specific example of the collection schedule.
  • the node identifier identifies the node 300.
  • the next collection time is the time when the next collection is performed.
  • the next data amount is the amount of data collected next time.
  • the next collection time is a time when the next collection is performed, and is determined based on the next collection time.
  • the successive data amount is the amount of data collected one after another.
  • the data collection device 200 receives information such as the amount of uncollected data and the amount of data per unit time from each node 300 and collects the amount of data collected from each node 300. Schedule collection according to As a result, the data collection device 200 can smooth the collection load.
  • the accumulation unit 292 may be outside the data collection device 200. That is, the database in which the collected data is stored may be provided in the data collecting apparatus 200 or may be provided outside the data collecting apparatus 200.
  • the data collection device 200 may be composed of a plurality of computers.
  • the data collection device 200 may be configured by two computers: a computer that functions as the control unit 210 and the storage unit 292, and a computer that functions as the schedule determination unit 220.
  • the node 300 may be a relay device.
  • the relay device relays data between the measurement device and the data collection device 200. That is, the relay device receives data from each measurement device and transmits the received data to the data collection device 200.
  • the relay device is a concentrator for a power meter.
  • FIG. 14 illustrates an example of a data collection system 100 including a node 300 that is a relay device.
  • the data collection system 100 includes three measurement devices 102, two nodes 300, and a data collection device 200.
  • Node (1) is a relay device. Three measuring devices 102 are connected to the node (1).
  • the node (1) receives data from each measuring device 102.
  • Node (2) is a measuring device.
  • the data collection device 200 collects data from the node (1) and the node (2).
  • FIG. A mode in which a plurality of nodes 300 are grouped and a collection schedule is determined for each group will be described mainly based on FIGS. 15 to 20 with respect to differences from the first embodiment.
  • the configuration of the data collection system 100 will be described based on FIG.
  • the data collection system 100 includes a data collection device 200 and a plurality of nodes 300 as in the first embodiment. Specifically, the data collection system 100 includes nine nodes 300 from the node (1) to the node (9).
  • the configuration of the data collection device 200 will be described based on FIG.
  • the data collection device 200 includes a plurality of processors 201. Specifically, the data collection device 200 includes two processors 201. Other configurations of the data collection device 200 are the same as those in the first embodiment.
  • Steps S201 to S204 and step S207 are as described in the first embodiment (see FIG. 9).
  • step S221 the schedule determination unit 220 calculates a load amount for the collection interval data amount for each node 300.
  • the method for calculating the load amount is the same as the method in step S205 (see FIG. 9 of the first embodiment).
  • the schedule determination unit 220 divides the plurality of nodes 300 into a plurality of node groups. Specifically, since the data collection system 100 includes nine nodes 300 and the data collection device 200 includes two processors 201, the schedule determination unit 220 divides the nine nodes 300 into two node groups.
  • the schedule determination unit 220 calculates the total load amount by adding the load amounts of the respective nodes 300 belonging to the node group for each node group.
  • FIG. 18 shows the node group, the node information of the node 300 belonging to the node group, and the load amount of the node 300 belonging to the node group.
  • Five nodes 300 from node (1) to node (5) belong to the first node group.
  • In the second node group four nodes 300 from node (6) to node (9) belong.
  • the total load amount of the first node group is 4754.7 milliseconds
  • the total load amount of the second node group is 3274.7 seconds
  • the total load amount of both node groups is less than 5 seconds.
  • step S222 the schedule determination unit 220 compares the total load amount with the allowable load amount for each node group. If the total load amount of any node group is equal to or less than the allowable load amount, the process proceeds to step S223. If the total load amount of at least one of the node groups is larger than the allowable load amount, the process proceeds to step S207.
  • the total load amount of any group is less than 5 seconds. Therefore, when the collection interval i is 5 seconds, the total load amount of any node group is equal to or less than the allowable load amount (collection interval i).
  • step S223 the schedule determination unit 220 calculates a margin amount for each node group, and compares the margin amount with a margin threshold for each node group.
  • the method for calculating the margin is the same as the method in step S208 (see FIG. 9 of the first embodiment). If the margin amount of at least one of the node groups is greater than or equal to the margin threshold, the process proceeds to step S224. If the margin amount of any node group is less than the margin threshold, the process proceeds to step S225.
  • step S224 the schedule determination unit 220 adds an uncollected data amount for the margin node group.
  • the margin node group is a node group having a margin amount equal to or greater than a margin threshold.
  • the addition of the uncollected data amount is the process described in step S209 (see FIG. 9 of the first embodiment).
  • step S225 the schedule determination unit 220 determines a collection schedule for each node group.
  • the method for determining the collection schedule is the same as the method in step S210 (see FIG. 9 of the first embodiment).
  • FIG. 19 shows an image of the collection schedule.
  • the collection interval is 5 seconds.
  • nodes (5), (4), (3), (2), and (1) are collected in this order.
  • Each collection interval data amount is 20 cases, 40 cases, 40 cases, 50 cases, and 10 cases.
  • An insertion time Tw1 is inserted between the respective collection time zones.
  • data is collected in the order of the node (9), the node (8), the node (7), and the node (6).
  • the respective collection interval data amounts are 30, 40, 20, and 20.
  • An insertion time Tw2 is inserted between the respective collection time zones.
  • FIG. 20 shows a specific example of the collection schedule.
  • the collection schedule is determined for each node group.
  • a plurality of nodes 300 can be grouped and a collection schedule can be determined for each group.
  • the data collection device 200 includes a processing circuit 990.
  • the processing circuit 990 is hardware that implements the control unit 210, the schedule determination unit 220, and the storage unit 291.
  • the processing circuit 990 may be dedicated hardware or a processor 901 that executes a program stored in the memory 902.
  • the processing circuit 990 is dedicated hardware, the processing circuit 990 is, for example, a single circuit, a composite circuit, a programmed processor, a parallel programmed processor, an ASIC, an FPGA, or a combination thereof.
  • ASIC is an abbreviation for Application Specific Integrated Circuit
  • FPGA is an abbreviation for Field Programmable Gate Array.
  • the data collection device 200 may include a plurality of processing circuits that replace the processing circuit 990. The plurality of processing circuits share the role of the processing circuit 990.
  • a part of the functions of the data collection device 200 may be realized by dedicated hardware, and the rest may be realized by software or firmware.
  • the processing circuit 990 can be realized by hardware, software, firmware, or a combination thereof.
  • the embodiment is an example of a preferred embodiment and is not intended to limit the technical scope of the present invention.
  • the embodiment may be implemented partially or in combination with other embodiments.
  • the procedure described using the flowchart and the like may be changed as appropriate.
  • 100 data collection system 101 network, 102 measurement device, 110 node information, 120 node management table, 130 schedule information, 140 collection data, 150 load data, 200 data collection device, 201 processor, 202 memory, 203 auxiliary storage device, 204 communication interface, 210 control unit, 220 schedule determination unit, 291 storage unit, 292 storage unit, 293 reception unit, 294 transmission unit, 300 node, 301 processor, 302 memory, 303 auxiliary storage device, 304 communication interface, 305 sensor interface 311 control unit, 391 storage unit, 392 transmission unit, 393 reception unit, 394 measurement unit, 990 processing circuit.

Abstract

A schedule determination unit initially selects, from a collection interval range, a collection interval for collecting data from each of a plurality of nodes. On the basis of data amount information of each node, the schedule determination unit then calculates, for each node, a collection interval data amount to be acquired during the selected collection interval. The schedule determination unit then calculate, for each node, a load amount with respect to the collection interval data amount. The schedule determination unit then calculates a total load amount by use of the load amount of each node. Finally, if the total load amount is less than an allowable load amount, the schedule determination unit determines a collection schedule by use of the selected collection interval.

Description

データ収集装置およびデータ収集プログラムData collection device and data collection program
 本発明は、複数のノードからデータを収集するための技術に関するものである。 The present invention relates to a technique for collecting data from a plurality of nodes.
 IoT(Internet of Things)の普及により、多種の機器および多種のコンピュータなど、ありとあらゆるものがネットワークに接続されるようになり、接続されたものから様々なデータを収集することが可能になっている。
 例えば、スマートメータを介して遠隔で電力使用量を収集することで、電力需要に関する予測精度の向上が期待できる。また、電力消費者に対して使用量を可視化して省エネルギーのための活動を促すことも可能になる。
 このようなデータ収集システムにおいて、全体で大量のデータが扱われることも多く、通信負荷だけでなく、データを集積する収集装置の処理負荷も大きくなる。各機器からデータを集約して送信するケースでは送信されるデータのサイズが大きくなり、通信よりも、収集装置上のCPU(Central Processing Unit)またはメモリなどの処理リソースがボトルネックとなりやすい。このため、大量のデータを処理するためには、センター側の収集装置において処理リソースを十分に確保する必要がある。しかしながら、処理リソースを大きくすることは、サーバ設備の費用およびクラウドサービスの利用費用を増大することになる。そのため、大規模なデータ収集システムにおいては、収集装置の処理リソースを効率的に利用することが求められる。
 もし、接続された機器等のノードから送られてくるデータ量の分布がランダムな分布または偏りがある分布である場合、分布における平均的なデータ量を処理できる処理リソースではなく、分布における大きな負荷を処理できる処理リソースが必要となる。処理リソースを効率的に利用するためには、ノード毎のデータ収集負荷が平滑化されることが求められる。
With the spread of IoT (Internet of Things), various devices such as various devices and various computers are connected to a network, and various data can be collected from the connected devices.
For example, by collecting the power consumption remotely via a smart meter, it is possible to expect an improvement in prediction accuracy related to power demand. In addition, it is possible to visualize the usage amount for power consumers and encourage energy saving activities.
In such a data collection system, a large amount of data is often handled as a whole, and not only a communication load but also a processing load of a collection device that accumulates data increases. In the case where data is aggregated and transmitted from each device, the size of the data to be transmitted becomes large, and processing resources such as a CPU (Central Processing Unit) or a memory on the collection device tend to be a bottleneck rather than communication. For this reason, in order to process a large amount of data, it is necessary to secure sufficient processing resources in the collection device on the center side. However, increasing processing resources increases the cost of server equipment and the cost of using cloud services. Therefore, in a large-scale data collection system, it is required to efficiently use the processing resources of the collection device.
If the distribution of the amount of data sent from nodes such as connected devices is random or biased, it is not a processing resource that can process the average amount of data in the distribution, but a large load on the distribution. Processing resources that can process In order to efficiently use processing resources, it is required that the data collection load for each node be smoothed.
 特許文献1には、各ノードの通信特性に応じて収集装置で送信タイミングをスケジュールする方式が開示されている。
 特許文献2には、各ノードに相当するセンサーモジュールの送信処理が重ならないように送信タイミングを調整する方式が開示されている。
 どちらの方式も、接続されたノードに対してデータ送信のタイミングを収集装置から指示することによって送信処理の重なりを抑える方式である。
Patent Document 1 discloses a method for scheduling transmission timing by a collection device according to the communication characteristics of each node.
Patent Document 2 discloses a method of adjusting the transmission timing so that the transmission processing of the sensor module corresponding to each node does not overlap.
Both methods are methods for suppressing overlapping of transmission processes by instructing the connected nodes from the collection device with data transmission timing.
特開2013-123250号公報JP2013-123250A 特開2012-195705号公報JP 2012-195705 A
 データ収集システムにおいて、収集装置の処理負荷は入力されるデータサイズに応じて変化する。例えば、CPU使用量、メモリ使用量またはディスク入出力量などが処理負荷に相当する。接続されたノードから送信されるデータが必ずしも同じデータサイズであるとは限らない。例えば、データ送信が失敗してしまい失敗分を含んでデータ送信が行われる場合、送信されるデータのサイズが増加する。また、複数の機器が接続された中継装置が収集装置にデータを送信する場合、中継装置に接続された機器の台数に応じて、収集装置へ送信されるデータのサイズが変わる。 In the data collection system, the processing load of the collection device changes according to the input data size. For example, the CPU usage, the memory usage, or the disk input / output amount corresponds to the processing load. Data transmitted from connected nodes is not necessarily the same data size. For example, when data transmission fails and data transmission is performed including the failure, the size of the transmitted data increases. In addition, when a relay device connected to a plurality of devices transmits data to the collection device, the size of data transmitted to the collection device changes according to the number of devices connected to the relay device.
 データサイズの偏りがある場合、各ノードの送信タイミングが等間隔であったとしても、送信されるデータのサイズが大きい時には処理負荷が大きくなる。このため、各ノードの送信タイミングの決定にはデータサイズが考慮されなければならない。先行技術文献には、機器数および通信特性を元に送信タイミングを調整する方式が記述されているが、送信されるデータのサイズおよび収集装置の処理コストについては示されていない。 If there is a deviation in data size, even if the transmission timing of each node is equally spaced, the processing load increases when the size of the transmitted data is large. For this reason, the data size must be considered in determining the transmission timing of each node. The prior art document describes a method of adjusting the transmission timing based on the number of devices and communication characteristics, but does not indicate the size of data to be transmitted and the processing cost of the collection device.
 本発明は、それぞれのノードのデータ量に差があっても適切な収集スケジュールを決定できるようにすることを目的とする。 An object of the present invention is to make it possible to determine an appropriate collection schedule even if there is a difference in the data amount of each node.
 本発明のデータ収集装置は、
 データを得るノード毎に単位時間当たりのデータ量を示すデータ量情報を受信する受信部と、
 ノード毎のデータ量情報に基づいて、それぞれのノードからデータを収集するための収集スケジュールを決定するスケジュール決定部とを備える。
The data collection device of the present invention comprises:
A receiving unit that receives data amount information indicating a data amount per unit time for each node from which data is obtained;
A schedule determination unit that determines a collection schedule for collecting data from each node based on the data amount information for each node.
 本発明によれば、ノード毎のデータ量情報に基づいて収集スケジュールが決定される。そのため、それぞれのノードのデータ量に差があっても適切な収集スケジュールを決定することが可能である。 According to the present invention, the collection schedule is determined based on the data amount information for each node. Therefore, it is possible to determine an appropriate collection schedule even if there is a difference in the data amount of each node.
実施の形態1におけるデータ収集システム100の構成図。1 is a configuration diagram of a data collection system 100 according to Embodiment 1. FIG. 実施の形態1におけるデータ収集装置200の構成図。1 is a configuration diagram of a data collection device 200 according to Embodiment 1. FIG. 実施の形態1におけるノード300の構成図。FIG. 3 is a configuration diagram of a node 300 in the first embodiment. 実施の形態1におけるデータ収集方法のフローチャート。3 is a flowchart of a data collection method according to the first embodiment. 実施の形態1におけるノード情報110の具体例を示す図。FIG. 5 is a diagram showing a specific example of node information 110 in the first embodiment. 実施の形態1におけるノード管理テーブル120の具体例を示す図。FIG. 6 is a diagram showing a specific example of the node management table 120 in the first embodiment. 実施の形態1におけるスケジュール情報130の具体例を示す図。FIG. 5 is a diagram showing a specific example of schedule information 130 in the first embodiment. 実施の形態1における収集データ140の具体例を示す図。FIG. 6 is a diagram showing a specific example of collected data 140 in the first embodiment. 実施の形態1におけるスケジュール決定方法のフローチャート。5 is a flowchart of a schedule determination method in the first embodiment. 実施の形態1における負荷量データ150の具体例を示す図。FIG. 6 shows a specific example of load amount data 150 in the first embodiment. 実施の形態1における未収集データ量および収集間隔データ量の変化を示す図。The figure which shows the change of the uncollected data amount in Embodiment 1, and a collection interval data amount. 実施の形態1における収集スケジュールのイメージを示す図。FIG. 4 shows an image of a collection schedule in the first embodiment. 実施の形態1における収集スケジュールの具体例を示す図。FIG. 6 shows a specific example of a collection schedule in the first embodiment. 実施の形態1におけるデータ収集システム100の構成例を示す図。1 is a diagram illustrating a configuration example of a data collection system 100 according to Embodiment 1. FIG. 実施の形態2におけるデータ収集システム100の構成図。FIG. 3 is a configuration diagram of a data collection system 100 in a second embodiment. 実施の形態2におけるデータ収集装置200の構成図。The block diagram of the data collection device 200 in Embodiment 2. FIG. 実施の形態2におけるスケジュール決定方法のフローチャート。10 is a flowchart of a schedule determination method according to the second embodiment. 実施の形態2におけるノードグループを示す図。FIG. 9 shows a node group in the second embodiment. 実施の形態2における収集スケジュールのイメージを示す図。FIG. 6 shows an image of a collection schedule in the second embodiment. 実施の形態2における収集スケジュールの具体例を示す図。FIG. 10 shows a specific example of a collection schedule in the second embodiment. 実施の形態におけるデータ収集装置200のハードウェア構成図。The hardware block diagram of the data collection device 200 in embodiment.
 実施の形態および図面において、同じ要素および対応する要素には同じ符号を付している。同じ符号が付された要素の説明は適宜に省略または簡略化する。図中の矢印はデータの流れ又は処理の流れを主に示している。 In the embodiment and the drawings, the same reference numerals are given to the same elements and corresponding elements. Description of elements having the same reference numerals will be omitted or simplified as appropriate. The arrows in the figure mainly indicate the flow of data or the flow of processing.
 実施の形態1.
 データ収集システム100について、図1から図14に基づいて説明する。
Embodiment 1 FIG.
The data collection system 100 will be described with reference to FIGS.
***構成の説明***
 図1に基づいて、データ収集システム100の構成を説明する。
 データ収集システム100は、複数のノード300からデータを収集するためのシステムである。
*** Explanation of configuration ***
Based on FIG. 1, the structure of the data collection system 100 is demonstrated.
The data collection system 100 is a system for collecting data from a plurality of nodes 300.
 データ収集システム100は、データ収集装置200を備える。
 さらに、データ収集システム100は、複数のノード300を備える。
 実施の形態1において、データ収集システム100は、ノード(1)からノード(5)の5つのノード300を備える。
The data collection system 100 includes a data collection device 200.
Furthermore, the data collection system 100 includes a plurality of nodes 300.
In the first embodiment, the data collection system 100 includes five nodes 300 from the node (1) to the node (5).
 複数のノード300は、ネットワーク101を介してデータ収集装置200に接続されている。
 ネットワーク101は、有線回線と無線回線とのいずれであってもよい。
The plurality of nodes 300 are connected to the data collection device 200 via the network 101.
The network 101 may be a wired line or a wireless line.
 ノード300はデータを得る機器である。
 具体的には、ノード300は計測装置である。計測装置は、計測を行うことによって計測値を得る。例えば、計測装置は、電力メータ、脈拍センサ、心拍センサ、熱センサまたは光センサである。また、計測装置は、情報処理の負荷または稼働状況の情報などを取得する情報処理装置であってもよい。
The node 300 is a device that obtains data.
Specifically, the node 300 is a measurement device. The measurement device obtains a measurement value by performing measurement. For example, the measurement device is a power meter, a pulse sensor, a heart rate sensor, a thermal sensor, or an optical sensor. The measuring device may be an information processing device that acquires information on information processing load or operating status.
 データ収集装置200は、複数のノード300からデータを収集するコンピュータである。 The data collection device 200 is a computer that collects data from a plurality of nodes 300.
 図2に基づいて、データ収集装置200の構成を説明する。
 データ収集装置200は、プロセッサ201とメモリ202と補助記憶装置203と通信インタフェース204といったハードウェアを備える。これらのハードウェアは、信号線を介して互いに接続されている。
 データ収集装置200は、表示インタフェースおよび入力インタフェース等のハードウェアを備えてもよい。表示インタフェースはディスプレイに接続される。入力インタフェースはキーボードとマウスとに接続される。
The configuration of the data collection device 200 will be described with reference to FIG.
The data collection device 200 includes hardware such as a processor 201, a memory 202, an auxiliary storage device 203, and a communication interface 204. These hardwares are connected to each other via signal lines.
The data collection device 200 may include hardware such as a display interface and an input interface. The display interface is connected to the display. The input interface is connected to the keyboard and mouse.
 プロセッサ201は、演算処理を行うIC(Integrated Circuit)であり、他のハードウェアを制御する。例えば、プロセッサ201は、CPU(Central Processing Unit)、DSP(Digital Signal Processor)、またはGPU(Graphics Processing Unit)である。
 メモリ202は揮発性の記憶装置である。メモリ202は、主記憶装置またはメインメモリとも呼ばれる。例えば、メモリ202はRAM(Random Access Memory)である。メモリ202に記憶されたデータは必要に応じて補助記憶装置203に保存される。
 補助記憶装置203は不揮発性の記憶装置である。例えば、補助記憶装置203は、ROM(Read Only Memory)、HDD(Hard Disk Drive)、またはフラッシュメモリである。補助記憶装置203に記憶されたデータは必要に応じてメモリ202にロードされる。
 通信インタフェース204は通信を行う装置、すなわち、レシーバおよびトランスミッタである。例えば、通信インタフェース204は、通信チップまたはNIC(Network Interface Card)である。
The processor 201 is an IC (Integrated Circuit) that performs arithmetic processing, and controls other hardware. For example, the processor 201 is a CPU (Central Processing Unit), a DSP (Digital Signal Processor), or a GPU (Graphics Processing Unit).
The memory 202 is a volatile storage device. The memory 202 is also called main memory or main memory. For example, the memory 202 is a RAM (Random Access Memory). Data stored in the memory 202 is stored in the auxiliary storage device 203 as necessary.
The auxiliary storage device 203 is a nonvolatile storage device. For example, the auxiliary storage device 203 is a ROM (Read Only Memory), an HDD (Hard Disk Drive), or a flash memory. Data stored in the auxiliary storage device 203 is loaded into the memory 202 as necessary.
The communication interface 204 is a device that performs communication, that is, a receiver and a transmitter. For example, the communication interface 204 is a communication chip or a NIC (Network Interface Card).
 データ収集装置200は、制御部210とスケジュール決定部220といったソフトウェア要素を備える。ソフトウェア要素はソフトウェアで実現される要素である。 The data collection device 200 includes software elements such as a control unit 210 and a schedule determination unit 220. A software element is an element realized by software.
 補助記憶装置203には、制御部210とスケジュール決定部220としてコンピュータを機能させるためのデータ収集プログラムが記憶されている。データ収集プログラムは、メモリ202にロードされて、プロセッサ201によって実行される。データ収集プログラムのうち、スケジュール決定部220としてコンピュータを機能させるためのプログラムをスケジュール決定プログラムという。
 さらに、補助記憶装置203にはOS(Operating System)が記憶されている。OSの少なくとも一部は、メモリ202にロードされて、プロセッサ201によって実行される。
 つまり、プロセッサ201は、OSを実行しながら、データ収集プログラムを実行する。
 データ収集プログラムを実行して得られるデータは、メモリ202、補助記憶装置203、プロセッサ201内のレジスタまたはプロセッサ201内のキャッシュメモリといった記憶装置に記憶される。
The auxiliary storage device 203 stores a data collection program for causing the computer to function as the control unit 210 and the schedule determination unit 220. The data collection program is loaded into the memory 202 and executed by the processor 201. Of the data collection programs, a program for causing a computer to function as the schedule determination unit 220 is referred to as a schedule determination program.
Furthermore, the auxiliary storage device 203 stores an OS (Operating System). At least a part of the OS is loaded into the memory 202 and executed by the processor 201.
That is, the processor 201 executes the data collection program while executing the OS.
Data obtained by executing the data collection program is stored in a storage device such as the memory 202, the auxiliary storage device 203, a register in the processor 201, or a cache memory in the processor 201.
 補助記憶装置203は記憶部291および蓄積部292として機能する。但し、他の記憶装置が、補助記憶装置203の代わりに、又は、補助記憶装置203と共に、記憶部291および蓄積部292として機能してもよい。
 通信インタフェース204は受信部293および送信部294として機能する。
The auxiliary storage device 203 functions as a storage unit 291 and a storage unit 292. However, other storage devices may function as the storage unit 291 and the storage unit 292 instead of the auxiliary storage device 203 or together with the auxiliary storage device 203.
The communication interface 204 functions as a reception unit 293 and a transmission unit 294.
 データ収集装置200は、プロセッサ201を代替する複数のプロセッサを備えてもよい。複数のプロセッサは、プロセッサ201の役割を分担する。 The data collection device 200 may include a plurality of processors that replace the processor 201. The plurality of processors share the role of the processor 201.
 データ収集プログラムは、磁気ディスク、光ディスクまたはフラッシュメモリ等の不揮発性の記憶媒体に記憶することができる。不揮発性の記憶媒体は、コンピュータ読み取り可能な記録媒体である。 The data collection program can be stored in a non-volatile storage medium such as a magnetic disk, optical disk or flash memory. The nonvolatile storage medium is a computer-readable recording medium.
 図3に基づいて、ノード300の構成を説明する。
 ノード300は、プロセッサ301とメモリ302と補助記憶装置303と通信インタフェース304とセンサインタフェース305といったハードウェアを備える。これらのハードウェアは、信号線を介して互いに接続されている。
The configuration of the node 300 will be described based on FIG.
The node 300 includes hardware such as a processor 301, a memory 302, an auxiliary storage device 303, a communication interface 304, and a sensor interface 305. These hardwares are connected to each other via signal lines.
 プロセッサ301は、演算処理を行うICであり、他のハードウェアを制御する。例えば、プロセッサ301は、CPUである。
 メモリ302は揮発性の記憶装置である。メモリ302は、主記憶装置またはメインメモリとも呼ばれる。例えば、メモリ302はRAMである。メモリ302に記憶されたデータは必要に応じて補助記憶装置303に保存される。
 補助記憶装置303は不揮発性の記憶装置である。例えば、補助記憶装置303は、ROM、HDD、またはフラッシュメモリである。補助記憶装置303に記憶されたデータは必要に応じてメモリ302にロードされる。
 通信インタフェース304は通信を行う装置、すなわち、レシーバおよびトランスミッタである。例えば、通信インタフェース304は、通信チップまたはNICである。
The processor 301 is an IC that performs arithmetic processing, and controls other hardware. For example, the processor 301 is a CPU.
The memory 302 is a volatile storage device. The memory 302 is also called a main storage device or a main memory. For example, the memory 302 is a RAM. Data stored in the memory 302 is stored in the auxiliary storage device 303 as necessary.
The auxiliary storage device 303 is a nonvolatile storage device. For example, the auxiliary storage device 303 is a ROM, an HDD, or a flash memory. Data stored in the auxiliary storage device 303 is loaded into the memory 302 as necessary.
The communication interface 304 is a device that performs communication, that is, a receiver and a transmitter. For example, the communication interface 304 is a communication chip or a NIC.
 ノード300は、制御部311を備える。制御部311はソフトウェアで実現される。 The node 300 includes a control unit 311. The control unit 311 is realized by software.
 補助記憶装置303には、制御部311としてコンピュータを機能させるためのノードプログラムが記憶されている。このノードプログラムは、メモリ302にロードされて、プロセッサ301によって実行される。
 さらに、補助記憶装置303にはOSが記憶されている。OSの少なくとも一部は、メモリ302にロードされて、プロセッサ301によって実行される。
 つまり、プロセッサ301は、OSを実行しながら、ノードプログラムを実行する。
 ノードプログラムを実行して得られるデータは、メモリ302、補助記憶装置303、プロセッサ301内のレジスタまたはプロセッサ301内のキャッシュメモリといった記憶装置に記憶される。
The auxiliary storage device 303 stores a node program for causing the computer to function as the control unit 311. This node program is loaded into the memory 302 and executed by the processor 301.
Further, the auxiliary storage device 303 stores an OS. At least a part of the OS is loaded into the memory 302 and executed by the processor 301.
That is, the processor 301 executes the node program while executing the OS.
Data obtained by executing the node program is stored in a storage device such as the memory 302, the auxiliary storage device 303, a register in the processor 301, or a cache memory in the processor 301.
 補助記憶装置303は記憶部391として機能する。但し、他の記憶装置が、補助記憶装置303の代わりに、又は、補助記憶装置303と共に、記憶部391として機能してもよい。
 通信インタフェース304は送信部392および受信部393として機能する。
 センサインタフェース305は計測部394として機能する。
The auxiliary storage device 303 functions as the storage unit 391. However, another storage device may function as the storage unit 391 instead of the auxiliary storage device 303 or together with the auxiliary storage device 303.
The communication interface 304 functions as a transmission unit 392 and a reception unit 393.
The sensor interface 305 functions as the measurement unit 394.
 ノード300は、プロセッサ301を代替する複数のプロセッサを備えてもよい。複数のプロセッサは、プロセッサ301の役割を分担する。 The node 300 may include a plurality of processors that replace the processor 301. The plurality of processors share the role of the processor 301.
 ノードプログラムは、磁気ディスク、光ディスクまたはフラッシュメモリ等の不揮発性の記憶媒体に記憶することができる。不揮発性の記憶媒体は、コンピュータ読み取り可能な記録媒体である。 The node program can be stored in a non-volatile storage medium such as a magnetic disk, optical disk or flash memory. The nonvolatile storage medium is a computer-readable recording medium.
***動作の説明***
 データ収集システム100の動作はデータ収集方法に相当する。また、データ収集方法におけるデータ収集装置200の手順はデータ収集プログラムの手順に相当する。
*** Explanation of operation ***
The operation of the data collection system 100 corresponds to a data collection method. Further, the procedure of the data collection device 200 in the data collection method corresponds to the procedure of the data collection program.
 図4に基づいて、データ収集方法を説明する。
 ステップS101において、それぞれのノード300は、データ収集装置200に収集要求を送信する。
 具体的には、制御部311が収集要求を生成し、送信部392が収集要求をデータ収集装置200に送信する。
 収集要求は、ノード情報110を含んでいる。
 ノード情報110は、ノード300によって得られるデータの情報である。
A data collection method will be described with reference to FIG.
In step S <b> 101, each node 300 transmits a collection request to the data collection device 200.
Specifically, the control unit 311 generates a collection request, and the transmission unit 392 transmits the collection request to the data collection device 200.
The collection request includes node information 110.
The node information 110 is data information obtained by the node 300.
 ノード情報110は、ノード識別子、未収集データ量、計測間隔およびデータ量情報を含む。
 ノード識別子は、ノード300を識別する識別子である。
 未収集データ量は、収集されていないデータの量である。
 計測間隔は、計測が行われる間隔を示す時間である。
 データ量情報は、単位時間当たりのデータ量を示す。具体的には、データ量はデータの件数である。
 ノード情報110は、記憶部391に記憶されている。
The node information 110 includes a node identifier, an uncollected data amount, a measurement interval, and data amount information.
The node identifier is an identifier that identifies the node 300.
The amount of uncollected data is the amount of data that has not been collected.
The measurement interval is a time indicating an interval at which measurement is performed.
The data amount information indicates the data amount per unit time. Specifically, the data amount is the number of data items.
The node information 110 is stored in the storage unit 391.
 図5に、ノード情報110の具体例を示す。
 1つ目のノード情報110は、ノード(1)のノード情報110である。ノード(1)のノード情報110において、未収集データ量は0件であり、計測間隔は1秒である。また、データ量情報は、10秒ごとに10件である。
 2つ目のノード情報110は、ノード(2)のノード情報110である。ノード(2)のノード情報110において、未収集データ量は0件であり、計測間隔は1秒である。また、データ量情報は、10秒ごとに50件である。
 3つ目のノード情報110は、ノード(3)のノード情報110である。ノード(3)のノード情報110において、未収集データ量は0件であり、計測間隔は1秒である。また、データ量情報は、10秒ごとに40件である。
 4つ目のノード情報110は、ノード(4)のノード情報110である。ノード(4)のノード情報110において、未収集データ量は0件であり、計測間隔は1秒である。また、データ量情報は、10秒ごとに40件である。
 5つ目のノード情報110は、ノード(5)のノード情報110である。ノード(5)のノード情報110において、未収集データ量は44件であり、計測間隔は1秒である。また、データ量情報は、10秒ごとに20件である。
 ノード(1)からノード(4)は既存のノード300であり、ノード(5)は新たに接続されたノード300であると想定する。ノード(5)は新たに接続されたノード300であるため、ノード(5)には未収集データが有る。
FIG. 5 shows a specific example of the node information 110.
The first node information 110 is the node information 110 of the node (1). In the node information 110 of the node (1), the amount of uncollected data is 0, and the measurement interval is 1 second. Further, the data amount information is 10 cases every 10 seconds.
The second node information 110 is the node information 110 of the node (2). In the node information 110 of the node (2), the amount of uncollected data is 0, and the measurement interval is 1 second. The data amount information is 50 every 10 seconds.
The third node information 110 is the node information 110 of the node (3). In the node information 110 of the node (3), the amount of uncollected data is 0, and the measurement interval is 1 second. The data amount information is 40 cases every 10 seconds.
The fourth node information 110 is the node information 110 of the node (4). In the node information 110 of the node (4), the amount of uncollected data is 0, and the measurement interval is 1 second. The data amount information is 40 cases every 10 seconds.
The fifth node information 110 is the node information 110 of the node (5). In the node information 110 of the node (5), the amount of uncollected data is 44, and the measurement interval is 1 second. The data amount information is 20 cases every 10 seconds.
Assume that the nodes (1) to (4) are existing nodes 300, and the node (5) is a newly connected node 300. Since node (5) is a newly connected node 300, node (5) has uncollected data.
 図4に戻り、ステップS102から説明を続ける。
 ステップS102において、データ収集装置200は、それぞれのノード300から収集要求を受信する。
 具体的には、受信部293が収集要求を受信し、記憶部291が収集要求に含まれるノード情報110をノード管理テーブル120に登録する。ノード管理テーブル120は記憶部291に記憶されるテーブルである。
Returning to FIG. 4, the description will be continued from step S102.
In step S <b> 102, the data collection device 200 receives a collection request from each node 300.
Specifically, the receiving unit 293 receives the collection request, and the storage unit 291 registers the node information 110 included in the collection request in the node management table 120. The node management table 120 is a table stored in the storage unit 291.
 図6に、ノード管理テーブル120の具体例を示す。
 ノード管理テーブル120は、ノード識別子と前回収集時刻と未収集データ量と計測間隔とデータ量情報とのそれぞれの欄を有する。
 ノード識別子の欄には、ノード識別子が登録される。
 前回収集時刻の欄には、前回収集時刻が登録される。前回収集時刻は、データが収集された前回の時刻である。
 未収集データ量の欄には、ノード情報110に含まれる未収集データ量が登録される。
 計測間隔の欄には、ノード情報110に含まれる計測間隔が登録される。
 データ量情報の欄には、ノード情報110に含まれるデータ量情報が登録される。
FIG. 6 shows a specific example of the node management table 120.
The node management table 120 includes columns for a node identifier, a previous collection time, an uncollected data amount, a measurement interval, and data amount information.
A node identifier is registered in the node identifier column.
The previous collection time is registered in the previous collection time column. The previous collection time is the previous time when data was collected.
In the uncollected data amount column, the uncollected data amount included in the node information 110 is registered.
The measurement interval included in the node information 110 is registered in the measurement interval column.
Data amount information included in the node information 110 is registered in the data amount information column.
 図4に戻り、ステップS102の説明を続ける。
 次に、データ収集装置200は、収集スケジュールを決定する。
 具体的には、スケジュール決定部220が、ノード300毎のノード情報110に基づいて、収集スケジュールを決定する。
 収集スケジュールは、それぞれのノード300からデータを収集するためのスケジュールである。
 収集スケジュールを決定する方法については後述する。
Returning to FIG. 4, the description of step S102 will be continued.
Next, the data collection device 200 determines a collection schedule.
Specifically, the schedule determination unit 220 determines a collection schedule based on the node information 110 for each node 300.
The collection schedule is a schedule for collecting data from each node 300.
A method for determining the collection schedule will be described later.
 そして、データ収集装置200は、それぞれのノード300に収集応答を送信する。
 具体的には、スケジュール決定部220が、収集スケジュールに基づいてスケジュール情報130を生成する。次に、制御部210が、スケジュール情報130を含んだ収集応答を生成する。そして、送信部294が収集応答を送信する。
 収集応答は、スケジュール情報130を含んでいる。
 スケジュール情報130は、収集スケジュールを示す情報である。
Then, the data collection device 200 transmits a collection response to each node 300.
Specifically, the schedule determination unit 220 generates schedule information 130 based on the collection schedule. Next, the control unit 210 generates a collection response including the schedule information 130. Then, the transmission unit 294 transmits a collection response.
The collection response includes schedule information 130.
The schedule information 130 is information indicating a collection schedule.
 スケジュール情報130は、ノード識別子、次回収集時刻および次回データ量を含む。
 ノード識別子は、ノード300を識別する識別子である。
 次回収集時刻は、次回の収集が行われる時刻である。
 次回データ量は、次回に収集されるデータの量である。
The schedule information 130 includes a node identifier, a next collection time, and a next data amount.
The node identifier is an identifier that identifies the node 300.
The next collection time is the time when the next collection is performed.
The next data amount is the amount of data collected next time.
 図7に、スケジュール情報130の具体例を示す。
 1つ目のスケジュール情報130は、ノード(1)のスケジュール情報130である。
 2つ目のスケジュール情報130は、ノード(2)のスケジュール情報130である。
 3つ目のスケジュール情報130は、ノード(3)のスケジュール情報130である。
 4つ目のスケジュール情報130は、ノード(4)のスケジュール情報130である。
 5つ目のスケジュール情報130は、ノード(5)のスケジュール情報130である。
 ノード(1)からノード(4)のそれぞれのスケジュール情報130には、次回収集時刻および次回データ量が設定されている。
 ノード(5)は新たに接続されたノード300であるため、ノード(5)のスケジュール情報130には、次回収集時刻および次回データ量が設定されてない。
FIG. 7 shows a specific example of the schedule information 130.
The first schedule information 130 is the schedule information 130 of the node (1).
The second schedule information 130 is the schedule information 130 of the node (2).
The third schedule information 130 is the schedule information 130 of the node (3).
The fourth schedule information 130 is the schedule information 130 of the node (4).
The fifth schedule information 130 is the schedule information 130 of the node (5).
The next collection time and the next data amount are set in the schedule information 130 of each of the nodes (1) to (4).
Since the node (5) is the newly connected node 300, the next collection time and the next data amount are not set in the schedule information 130 of the node (5).
 図4に戻り、ステップS103から説明を続ける。
 ステップS103において、各ノード300は、データ収集装置200から収集応答を受信する。
 具体的には、受信部393が収集応答を受信し、記憶部391が収集応答に含まれるスケジュール情報130を記憶する。
Returning to FIG. 4, the description will be continued from step S103.
In step S <b> 103, each node 300 receives a collection response from the data collection device 200.
Specifically, the receiving unit 393 receives the collection response, and the storage unit 391 stores the schedule information 130 included in the collection response.
 ステップS104において、それぞれのノード300は、データ収集装置200に収集要求を送信する。
 具体的には、制御部311が、スケジュール情報130が示す次回データ量と同じ量の収集データ140を含んだ収集要求を生成する。そして、スケジュール情報130が示す次回収集時刻に、送信部392が収集要求をデータ収集装置200に送信する。
 収集要求は、収集データ140とノード情報110とを含んでいる。
 収集データ140は、ノード300によって得られてデータ収集装置200によって収集されるデータである。
In step S <b> 104, each node 300 transmits a collection request to the data collection device 200.
Specifically, the control unit 311 generates a collection request including the collection data 140 having the same amount as the next data amount indicated by the schedule information 130. Then, the transmission unit 392 transmits a collection request to the data collection device 200 at the next collection time indicated by the schedule information 130.
The collection request includes collection data 140 and node information 110.
The collected data 140 is data obtained by the node 300 and collected by the data collection device 200.
 収集データ140は、計測時刻、計測値および装置識別子を含む。
 計測時刻は、計測が行われた時刻である。
 計測値は、計測によって得られた値である。計測値は、1つであってもよいし、複数であってもよい。
 装置識別子は、計測を行った計測装置を識別する識別子である。
The collected data 140 includes a measurement time, a measurement value, and a device identifier.
The measurement time is the time when the measurement was performed.
The measured value is a value obtained by measurement. There may be one or more measurement values.
The device identifier is an identifier for identifying a measurement device that has performed measurement.
 図8に、収集データ140の具体例を示す。
 それぞれの収集データ140は、計測装置(10000001)によって得られたデータであり、計測時刻と計測値と装置識別子とを含んでいる。
FIG. 8 shows a specific example of the collected data 140.
Each collected data 140 is data obtained by the measurement device (10000001), and includes measurement time, measurement value, and device identifier.
 図4に戻り、ステップS105から説明を続ける。
 ステップS105において、データ収集装置200は、それぞれのノード300から収集要求を受信する。
 具体的には、受信部293が収集要求を受信し、記憶部291が収集要求に含まれるノード情報110をノード管理テーブル120に登録する。
Returning to FIG. 4, the description will be continued from step S105.
In step S <b> 105, the data collection device 200 receives a collection request from each node 300.
Specifically, the receiving unit 293 receives the collection request, and the storage unit 291 registers the node information 110 included in the collection request in the node management table 120.
 そして、データ収集装置200は、収集スケジュールの変更が必要であるか判定する。
 具体的には、スケジュール決定部220が、ノード300毎のノード情報110に基づいて、収集スケジュールの変更条件が満たされるか判定する。
 例えば、収集データが多く滞留している場合、収集スケジュールの変更が必要である。例えば、収集スケジュールの変更条件は、データ量情報が示すデータ量に対する未収集データ量の比が閾値を超えるという条件である。
 収集スケジュールの変更が必要である場合、処理はステップS106に進む。
 収集スケジュールの変更が不要である場合、処理はステップS107に進む。
Then, the data collection device 200 determines whether the collection schedule needs to be changed.
Specifically, the schedule determination unit 220 determines whether the collection schedule change condition is satisfied based on the node information 110 for each node 300.
For example, when a large amount of collected data is retained, it is necessary to change the collection schedule. For example, the collection schedule change condition is a condition that the ratio of the uncollected data amount to the data amount indicated by the data amount information exceeds a threshold value.
If the collection schedule needs to be changed, the process proceeds to step S106.
If it is not necessary to change the collection schedule, the process proceeds to step S107.
 ステップS106において、データ収集装置200は、収集スケジュールを決定する。
 具体的には、スケジュール決定部220が、ノード300毎のノード情報110に基づいて、収集スケジュールを決定する。
 収集スケジュールを決定する方法については後述する。
In step S106, the data collection device 200 determines a collection schedule.
Specifically, the schedule determination unit 220 determines a collection schedule based on the node information 110 for each node 300.
A method for determining the collection schedule will be described later.
 ステップS107において、データ収集装置200は、各ノード300の収集データ140を蓄積する。
 具体的には、蓄積部292が収集要求に含まれる収集データ140をノード300毎に蓄積する。
In step S107, the data collection device 200 accumulates the collected data 140 of each node 300.
Specifically, the storage unit 292 stores the collected data 140 included in the collection request for each node 300.
 そして、データ収集装置200は、それぞれのノード300に収集応答を送信する。
 具体的には、スケジュール決定部220が、収集スケジュールに基づいてスケジュール情報130を生成する。次に、制御部210が、収集結果とスケジュール情報130とを含んだ収集応答を生成する。そして、送信部294が収集応答を送信する。
 収集応答は、収集結果とスケジュール情報130とを含んでいる。
 収集結果は、データ収集の結果を示す。
Then, the data collection device 200 transmits a collection response to each node 300.
Specifically, the schedule determination unit 220 generates schedule information 130 based on the collection schedule. Next, the control unit 210 generates a collection response including the collection result and the schedule information 130. Then, the transmission unit 294 transmits a collection response.
The collection response includes a collection result and schedule information 130.
The collection result indicates the result of data collection.
 ステップS108において、各ノード300は、データ収集装置200から収集応答を受信する。
 具体的には、受信部393が収集応答を受信し、記憶部391が収集応答に含まれるスケジュール情報130を記憶する。
In step S <b> 108, each node 300 receives a collection response from the data collection device 200.
Specifically, the receiving unit 393 receives the collection response, and the storage unit 391 stores the schedule information 130 included in the collection response.
 ステップS108の後、ステップS104からステップS108までの手順と同じ手順でデータ収集が繰り返し行われる。 After step S108, data collection is repeated in the same procedure as the procedure from step S104 to step S108.
 図9に基づいて、スケジュール決定方法を説明する。
 スケジュール決定方法において、スケジュール決定部220は、ノード300毎のノード情報110に基づいて、収集スケジュールを決定する。
A schedule determination method will be described with reference to FIG.
In the schedule determination method, the schedule determination unit 220 determines a collection schedule based on the node information 110 for each node 300.
 ステップS201において、スケジュール決定部220は、基準データ量と各ノード300のデータ量情報とに基づいて、収集間隔範囲を算出する。
 収集間隔範囲は、収集間隔iの範囲である。収集間隔範囲の下限をminと記し、収集間隔範囲の上限をmaxと記す。
 収集間隔iは、それぞれのノード300からデータを収集する間隔を示す時間である。
 基準データ量は、1回に収集されるデータ量の下限として予め決められた数である。
In step S <b> 201, the schedule determination unit 220 calculates a collection interval range based on the reference data amount and the data amount information of each node 300.
The collection interval range is the range of the collection interval i. The lower limit of the collection interval range is written as min, and the upper limit of the collection interval range is written as max.
The collection interval i is a time indicating an interval for collecting data from each node 300.
The reference data amount is a predetermined number as the lower limit of the data amount collected at one time.
 具体的には、スケジュール決定部220は、収集間隔範囲を以下のように算出する。
 まず、スケジュール決定部220は、単位時間当たりのデータ量が最も少ないデータ量情報をノード管理テーブル120から選択する。図6において、選択されるデータ量情報は、ノード(1)のデータ量情報である。ノード(1)のデータ量情報は、10秒ごとに10件である。
 そして、スケジュール決定部220は、選択したデータ量情報を用いて、基準データ量を得るために必要な時間を算出する。算出される時間が、収集間隔範囲の下限である。基準データ量が10件である場合、収集間隔範囲の下限は10秒となる。
 収集間隔範囲の上限は、予め決められた時間である。例えば、収集間隔範囲の上限は60秒である。
Specifically, the schedule determination unit 220 calculates the collection interval range as follows.
First, the schedule determination unit 220 selects data amount information with the smallest data amount per unit time from the node management table 120. In FIG. 6, the selected data amount information is the data amount information of the node (1). The data amount information of the node (1) is 10 cases every 10 seconds.
Then, the schedule determination unit 220 calculates the time necessary to obtain the reference data amount using the selected data amount information. The calculated time is the lower limit of the collection interval range. When the reference data amount is 10, the lower limit of the collection interval range is 10 seconds.
The upper limit of the collection interval range is a predetermined time. For example, the upper limit of the collection interval range is 60 seconds.
 ステップS202において、スケジュール決定部220は、収集間隔範囲から収集間隔iを選択する。
 具体的には、スケジュール決定部220は、収集間隔範囲の下限を収集間隔iに設定する。
In step S202, the schedule determination unit 220 selects a collection interval i from the collection interval range.
Specifically, the schedule determination unit 220 sets the lower limit of the collection interval range as the collection interval i.
 ここで、収集間隔について説明する。
 一般に、収集間隔が短いと収集処理が小さく分割されるため、全体の収集負荷を平滑化しやすくなる。
 しかし、データ量に対する処理負荷は、必ずしもデータ量に比例しない。一般に、一度に処理されるデータ量が多いほど処理効率が高くなって一度に処理されるデータ量が少ないほど処理効率が低くなるからである。
 そのため、収集間隔が短くて一度に処理されるデータ量が少ないと、処理効率が低下してしまう。
 そこで、1回に収集されるデータ量の下限(基準データ量)を設けることによって、処理効率の低下を抑える。
Here, the collection interval will be described.
In general, when the collection interval is short, the collection process is divided into small parts, so that the entire collection load is easily smoothed.
However, the processing load for the data amount is not necessarily proportional to the data amount. In general, the larger the amount of data processed at one time, the higher the processing efficiency, and the lower the amount of data processed at one time, the lower the processing efficiency.
For this reason, if the collection interval is short and the amount of data processed at a time is small, the processing efficiency is lowered.
Therefore, the lowering of the processing efficiency is suppressed by providing a lower limit (reference data amount) of the data amount collected at one time.
 また、収集間隔が長いとデータ収集装置200が各ノード300からデータを収集するために要する時間が長くなる傾向がある。
 そこで、各ノード300からデータを収集するために要する時間の要件を元に、収集間隔の上限が決定される。
Also, if the collection interval is long, the time required for the data collection device 200 to collect data from each node 300 tends to be long.
Thus, the upper limit of the collection interval is determined based on the time requirement for collecting data from each node 300.
 ステップS203から説明を続ける。
 ステップS203において、スケジュール決定部220は、収集間隔iを収集間隔範囲の上限と比較する。
 収集間隔iが収集間隔範囲の上限以下である場合、処理はステップS204に進む。
 収集間隔iが収取間隔範囲の上限より大きい場合、収集スケジュールが決定されずに処理は終了する。この場合、各ノード300からデータを収集することができない。
The description will be continued from step S203.
In step S203, the schedule determination unit 220 compares the collection interval i with the upper limit of the collection interval range.
If the collection interval i is less than or equal to the upper limit of the collection interval range, the process proceeds to step S204.
If the collection interval i is greater than the upper limit of the collection interval range, the process ends without determining the collection schedule. In this case, data cannot be collected from each node 300.
 ステップS204において、スケジュール決定部220は、ノード300毎のデータ量情報に基づいて、収集間隔データ量をノード300毎に算出する。
 収集間隔データ量は、収集間隔iの間に得られるデータ量である。
 例えば、データ量情報が示すデータ量が10秒ごとに10件であり、収集間隔iが10秒である場合、収集間隔データ量は10秒である。
In step S <b> 204, the schedule determination unit 220 calculates the collection interval data amount for each node 300 based on the data amount information for each node 300.
The collection interval data amount is the amount of data obtained during the collection interval i.
For example, when the data amount indicated by the data amount information is 10 cases every 10 seconds and the collection interval i is 10 seconds, the collection interval data amount is 10 seconds.
 ステップS205において、スケジュール決定部220は、収集間隔データ量に対する負荷量をノード300毎に算出する。そして、スケジュール決定部220は、ノード300毎の負荷量を用いて総負荷量を算出する。
 負荷量は、データに対する処理に要する負荷の量である。具体的には、負荷量は、データに対する処理に要するCPU時間である。負荷量の例として、CPU時間の他に、メモリ使用量またはディスク入出力量などがある。負荷量は処理コストともいう。
 総負荷量は、負荷量の合計である。具体的には、総負荷量は、CPU時間の合計である。
In step S <b> 205, the schedule determination unit 220 calculates a load amount for the collection interval data amount for each node 300. Then, the schedule determination unit 220 calculates the total load amount using the load amount for each node 300.
The load amount is an amount of load required for processing data. Specifically, the load amount is CPU time required for processing on data. Examples of the load amount include a memory usage amount and a disk input / output amount in addition to the CPU time. The amount of load is also called processing cost.
The total load amount is the total load amount. Specifically, the total load amount is the total CPU time.
 具体的には、スケジュール決定部220は、ノード毎に、収集間隔データ量に対応する負荷量を負荷量データ150から抽出する。そして、スケジュール決定部220は、ノード毎の負荷量を合計する。合計によって得られる負荷量が総負荷量である。
 負荷量データ150は、データ量と負荷量とを互いに対応付けたデータである。例えば、負荷量データ150はグラフ、表または方程式である。
Specifically, the schedule determination unit 220 extracts a load amount corresponding to the collection interval data amount from the load amount data 150 for each node. And the schedule determination part 220 totals the load amount for every node. The load amount obtained by the sum is the total load amount.
The load amount data 150 is data in which the data amount and the load amount are associated with each other. For example, the load amount data 150 is a graph, a table, or an equation.
 図10に、負荷量データ150の具体例を示す。
 図10に示すように、負荷量は、必ずしもデータ量に比例しない。
 一般に、一度に処理されるデータ量が多いほど処理効率が高くなって一度に処理されるデータ量が少ないほど処理効率が低くなるからである。
FIG. 10 shows a specific example of the load amount data 150.
As shown in FIG. 10, the load amount is not necessarily proportional to the data amount.
In general, the larger the amount of data processed at one time, the higher the processing efficiency, and the lower the amount of data processed at one time, the lower the processing efficiency.
 図9に戻り、ステップS206から説明を続ける。
 ステップS206において、スケジュール決定部220は、総負荷量を許容負荷量と比較する。
 許容負荷量は、許容される負荷量である。総負荷量がCPU時間の合計である場合、許容負荷量は収集間隔iである。つまり、スケジュール決定部220は、CPU時間の合計を収集間隔iと比較する。
 総負荷量が許容負荷量以下である場合、処理はステップS208に進む。
 総負荷量が許容負荷量より多い場合、処理はステップS207に進む。
Returning to FIG. 9, the description will be continued from step S206.
In step S206, the schedule determination unit 220 compares the total load amount with the allowable load amount.
The allowable load amount is an allowable load amount. When the total load amount is the total CPU time, the allowable load amount is the collection interval i. That is, the schedule determination unit 220 compares the total CPU time with the collection interval i.
If the total load amount is less than or equal to the allowable load amount, the process proceeds to step S208.
If the total load amount is greater than the allowable load amount, the process proceeds to step S207.
 ステップS207において、スケジュール決定部220は、収集間隔iを新たに選択する。
 具体的には、スケジュール決定部220は、収集間隔iに追加時間Δを加える。つまり、スケジュール決定部220は、時間の短い順に収集間隔iを選択する。
 例えば、追加時間Δは、収集間隔範囲をN分割して得られる時間である。収集間隔範囲が10秒から60秒までの50秒間であり、収集間隔範囲が10分割された場合、追加時間Δは5秒である。
 ステップS207の後、処理はステップS203に進む。
In step S207, the schedule determination unit 220 newly selects a collection interval i.
Specifically, the schedule determination unit 220 adds the additional time Δ to the collection interval i. That is, the schedule determination unit 220 selects the collection interval i in ascending order of time.
For example, the additional time Δ is a time obtained by dividing the collection interval range into N. When the collection interval range is 50 seconds from 10 seconds to 60 seconds, and the collection interval range is divided into 10, the additional time Δ is 5 seconds.
After step S207, the process proceeds to step S203.
 ステップS208において、スケジュール決定部220は、総負荷量と許容負荷量とを用いて余裕量を算出し、余裕量を余裕閾値と比較する。
 余裕量は、総負荷量に対する許容負荷量の余りである。
 余裕閾値は、余裕量と比較する閾値として予め決められた値である。
In step S208, the schedule determination unit 220 calculates a margin amount using the total load amount and the allowable load amount, and compares the margin amount with a margin threshold.
The margin amount is the remainder of the allowable load amount with respect to the total load amount.
The margin threshold value is a predetermined value as a threshold value to be compared with the margin amount.
 具体的には、スケジュール決定部220は、収集間隔i(許容負荷量)からCPU時間の合計(総負荷量)を引いて余り時間を算出し、収集間隔iに対する余り時間の割合を算出する。算出される割合が余裕量である。例えば、収集間隔iが10秒であり、CPU時間の合計が7秒である場合、余り時間は3秒であり、余裕量は30パーセントである。余裕閾値が25パーセントである場合、余裕量は余裕閾値より多い。 Specifically, the schedule determination unit 220 calculates the surplus time by subtracting the total CPU time (total load amount) from the collection interval i (allowable load amount), and calculates the ratio of the surplus time to the collection interval i. The calculated ratio is a margin. For example, if the collection interval i is 10 seconds and the total CPU time is 7 seconds, the extra time is 3 seconds and the margin is 30 percent. When the margin threshold is 25%, the margin amount is larger than the margin threshold.
 余裕量が余裕閾値以上である場合、処理はステップS209に進む。
 余裕量が余裕閾値より少ない場合、処理はステップS210に進む。
If the margin amount is equal to or greater than the margin threshold, the process proceeds to step S209.
If the margin amount is less than the margin threshold, the process proceeds to step S210.
 ステップS209において、スケジュール決定部220は、ノード300毎の収集間隔データ量にノード300毎の未収集データ量が追加された後の総負荷量が許容負荷量を超えない範囲で、ノード300毎の収集間隔データ量にノード300毎の未収集データ量を追加する。 In step S <b> 209, the schedule determination unit 220 determines whether the total load amount after adding the uncollected data amount for each node 300 to the collection interval data amount for each node 300 does not exceed the allowable load amount. An uncollected data amount for each node 300 is added to the collection interval data amount.
 具体的には、スケジュール決定部220は、以下のように未収集データ量の追加を行う。
 (1)スケジュール決定部220は、ノード管理テーブル120から、未収集データ量がゼロでないノード300を1つ選択する。
 (2)次に、スケジュール決定部220は、選択したノード300の未収集データ量を選択したノード300の収集間隔データ量に加えた場合の総負荷量を算出する。
 (3)次に、スケジュール決定部220は、総負荷量を許容負荷量と比較する。
 (4)総負荷量が許容負荷量以下である場合、スケジュール決定部220は、選択したノード300の未収集データ量を選択したノード300の収集間隔データ量に加える。そして、処理は(1)に戻る。
 (5)総負荷量が許容負荷量より大きい場合、スケジュール決定部220は、選択したノード300の未収集データ量を選択したノード300の収集間隔データ量に加えない。または、スケジュール決定部220は、選択したノード300の未収集データ量の一部を選択したノード300の収集間隔データ量に加える。そして、処理は終了する。
Specifically, the schedule determination unit 220 adds an uncollected data amount as follows.
(1) The schedule determination unit 220 selects one node 300 whose non-collected data amount is not zero from the node management table 120.
(2) Next, the schedule determination unit 220 calculates the total load amount when the uncollected data amount of the selected node 300 is added to the collection interval data amount of the selected node 300.
(3) Next, the schedule determination unit 220 compares the total load amount with the allowable load amount.
(4) When the total load amount is equal to or less than the allowable load amount, the schedule determination unit 220 adds the uncollected data amount of the selected node 300 to the collection interval data amount of the selected node 300. Then, the process returns to (1).
(5) When the total load amount is larger than the allowable load amount, the schedule determination unit 220 does not add the uncollected data amount of the selected node 300 to the collection interval data amount of the selected node 300. Alternatively, the schedule determination unit 220 adds a part of the uncollected data amount of the selected node 300 to the collection interval data amount of the selected node 300. Then, the process ends.
 ステップS209の後、処理はステップS210に進む。 After step S209, the process proceeds to step S210.
 図11に、ステップS209の前後における収集間隔データ量および負荷量の具体例を示す。
 ノード(5)に未収集データがあって処理リソースに余裕がある場合、ノード(5)の収集間隔データ量にノード(5)の未収集データ量を加えることが可能である。ノード(5)の収集間隔データ量にノード(5)の未収集データ量が加えられた場合、ノード(5)の負荷量が増える。
FIG. 11 shows a specific example of the collection interval data amount and the load amount before and after step S209.
When there is uncollected data in the node (5) and there is a margin in processing resources, it is possible to add the uncollected data amount of the node (5) to the collection interval data amount of the node (5). When the uncollected data amount of the node (5) is added to the collection interval data amount of the node (5), the load amount of the node (5) increases.
 図9に戻り、ステップS210を説明する。
 ステップS210において、スケジュール決定部220は、収集間隔iを用いて収集スケジュールを決定する。記憶部291は収集スケジュールを記憶する。
 具体的には、スケジュール決定部220は、収集スケジュールを以下のように決定する。
 まず、スケジュール決定部220は、収集間隔iを用いて全体収集時間帯を決定する。全体収集時間帯は、収集間隔iと同じ長さの時間を有する時間帯である。
 次に、スケジュール決定部220は、各ノード300の収集順を決定する。例えば、スケジュール決定部220は、新たに接続されたノード300および未収集データを有するノード300を前に並べて、その後ろに、残りのノード300を前回と同じ順番で並べる。
 次に、スケジュール決定部220は、ノード300毎に、収集間隔データ量を用いて収集時間長を算出する。収集時間長は、収集間隔データ量のデータを収集するために必要な時間である。
 次に、スケジュール決定部220は、収集時間長の合計を算出し、全体収集時間帯と収集時間長の合計との差分を算出し、差分をノード数で割って挿入時間を算出する。挿入時間は、各ノード300の収集時間の間に挿入する時間である。
 そして、スケジュール決定部220は、全体収集時間帯における各ノード300の収集時間帯を決定する。収集時間帯は、収集時間長を有する時間帯である。収集時間帯の先頭時刻を収集時刻という。
Returning to FIG. 9, step S210 will be described.
In step S210, the schedule determination unit 220 determines a collection schedule using the collection interval i. The storage unit 291 stores the collection schedule.
Specifically, the schedule determination unit 220 determines the collection schedule as follows.
First, the schedule determination unit 220 determines the entire collection time zone using the collection interval i. The total collection time zone is a time zone having a time as long as the collection interval i.
Next, the schedule determination unit 220 determines the collection order of each node 300. For example, the schedule determination unit 220 arranges the newly connected node 300 and the node 300 having uncollected data in front, and behind that, arranges the remaining nodes 300 in the same order as the previous time.
Next, the schedule determination unit 220 calculates the collection time length for each node 300 using the collection interval data amount. The collection time length is a time required for collecting data of the collection interval data amount.
Next, the schedule determination unit 220 calculates the total collection time length, calculates the difference between the total collection time zone and the total collection time length, and calculates the insertion time by dividing the difference by the number of nodes. The insertion time is a time inserted during the collection time of each node 300.
Then, the schedule determination unit 220 determines the collection time zone of each node 300 in the entire collection time zone. The collection time zone is a time zone having a collection time length. The start time of the collection time zone is called the collection time.
 図12に、収集スケジュールのイメージを示す。
 収集間隔は10秒であり、ノード(5)、ノード(4)、ノード(3)、ノード(2)、ノード(1)の順で収集される。それぞれの収集間隔データ量は、64件、40件、40件、50件、10件である。それぞれの収集時間帯の間には、挿入時間Twが挿入されている。
FIG. 12 shows an image of the collection schedule.
The collection interval is 10 seconds, and collection is performed in the order of the node (5), the node (4), the node (3), the node (2), and the node (1). Each collection interval data amount is 64 cases, 40 cases, 40 cases, 50 cases, and 10 cases. An insertion time Tw is inserted between each collection time zone.
 図13に、収集スケジュールの具体例を示す。
 ノード識別子は、ノード300を識別する。
 次回収集時刻は、次回の収集が行われる時刻である。
 次回データ量は、次回に収集されるデータの量である。
 次々回収集時刻は、次々回の収集が行われる時刻であり、次回収集時刻を元に決定される。
 次々回データ量は、次々回に収集されるデータの量である。
FIG. 13 shows a specific example of the collection schedule.
The node identifier identifies the node 300.
The next collection time is the time when the next collection is performed.
The next data amount is the amount of data collected next time.
The next collection time is a time when the next collection is performed, and is determined based on the next collection time.
The successive data amount is the amount of data collected one after another.
***実施の形態1の効果***
 複数のノード300からデータを収集するデータ収集方法において、データ収集装置200は、各ノード300から未収集データ量および単位時間当たりのデータ量等の情報を受けて、各ノード300から収集するデータ量に応じた収集のスケジューリングを行う。これにより、データ収集装置200において、収集負荷を平滑化させることが可能となる。
*** Effects of Embodiment 1 ***
In the data collection method for collecting data from a plurality of nodes 300, the data collection device 200 receives information such as the amount of uncollected data and the amount of data per unit time from each node 300 and collects the amount of data collected from each node 300. Schedule collection according to As a result, the data collection device 200 can smooth the collection load.
***他の構成***
 蓄積部292は、データ収集装置200の外部にあってもよい。つまり、収集データが蓄積されるデータベースは、データ収集装置200に備えてもよいし、データ収集装置200の外部に設けてもよい。
*** Other configurations ***
The accumulation unit 292 may be outside the data collection device 200. That is, the database in which the collected data is stored may be provided in the data collecting apparatus 200 or may be provided outside the data collecting apparatus 200.
 データ収集装置200は、複数のコンピュータで構成されてもよい。例えば、データ収集装置200は、制御部210および蓄積部292として機能するコンピュータと、スケジュール決定部220として機能するコンピュータとの2台のコンピュータで構成されてもよい。 The data collection device 200 may be composed of a plurality of computers. For example, the data collection device 200 may be configured by two computers: a computer that functions as the control unit 210 and the storage unit 292, and a computer that functions as the schedule determination unit 220.
 ノード300は中継装置であってもよい。
 中継装置は、計測装置とデータ収集装置200との間でデータを中継する。つまり、中継装置は、各計測装置からデータを受信し、受信したデータをデータ収集装置200に送信する。例えば、中継装置は、電力メータに対するコンセントレータである。
The node 300 may be a relay device.
The relay device relays data between the measurement device and the data collection device 200. That is, the relay device receives data from each measurement device and transmits the received data to the data collection device 200. For example, the relay device is a concentrator for a power meter.
 図14に、中継装置であるノード300を備えるデータ収集システム100の例を示す。
 データ収集システム100は、3つの計測装置102と2つのノード300とデータ収集装置200とを備えている。
 ノード(1)は中継装置である。ノード(1)には3つの計測装置102が接続されている。ノード(1)は各計測装置102からデータを受け取る。
 ノード(2)は計測装置である。
 データ収集装置200は、ノード(1)とノード(2)からデータを収集する。
FIG. 14 illustrates an example of a data collection system 100 including a node 300 that is a relay device.
The data collection system 100 includes three measurement devices 102, two nodes 300, and a data collection device 200.
Node (1) is a relay device. Three measuring devices 102 are connected to the node (1). The node (1) receives data from each measuring device 102.
Node (2) is a measuring device.
The data collection device 200 collects data from the node (1) and the node (2).
 実施の形態2.
 複数のノード300をグループ分けしてグループ毎に収集スケジュールを決定する形態について、主に実施の形態1と異なる点を図15から図20に基づいて説明する。
Embodiment 2. FIG.
A mode in which a plurality of nodes 300 are grouped and a collection schedule is determined for each group will be described mainly based on FIGS. 15 to 20 with respect to differences from the first embodiment.
***構成の説明***
 図15に基づいて、データ収集システム100の構成を説明する。
 データ収集システム100は、実施の形態1と同じく、データ収集装置200と複数のノード300とを備える。
 具体的には、データ収集システム100は、ノード(1)からノード(9)の9つのノード300を備える。
*** Explanation of configuration ***
The configuration of the data collection system 100 will be described based on FIG.
The data collection system 100 includes a data collection device 200 and a plurality of nodes 300 as in the first embodiment.
Specifically, the data collection system 100 includes nine nodes 300 from the node (1) to the node (9).
 図16に基づいて、データ収集装置200の構成を説明する。
 データ収集装置200は、複数のプロセッサ201を備える。具体的には、データ収集装置200は、2つのプロセッサ201を備える。
 データ収集装置200の他の構成は、実施の形態1における構成と同じである。
The configuration of the data collection device 200 will be described based on FIG.
The data collection device 200 includes a plurality of processors 201. Specifically, the data collection device 200 includes two processors 201.
Other configurations of the data collection device 200 are the same as those in the first embodiment.
***動作の説明***
 データ収集方法の全体の流れは、実施の形態1(図4参照)と同じである。
*** Explanation of operation ***
The overall flow of the data collection method is the same as that of the first embodiment (see FIG. 4).
 図17に基づいて、スケジュール決定方法を説明する。
 ステップS201からステップS204およびステップS207は、実施の形態1(図9参照)で説明した通りである。
Based on FIG. 17, a schedule determination method will be described.
Steps S201 to S204 and step S207 are as described in the first embodiment (see FIG. 9).
 ステップS221において、スケジュール決定部220は、収集間隔データ量に対する負荷量をノード300毎に算出する。負荷量を算出する方法は、ステップS205(実施の形態1の図9参照)における方法と同じである。 In step S221, the schedule determination unit 220 calculates a load amount for the collection interval data amount for each node 300. The method for calculating the load amount is the same as the method in step S205 (see FIG. 9 of the first embodiment).
 次に、スケジュール決定部220は、複数のノード300を複数のノードグループに分ける。
 具体的には、データ収集システム100が9つのノード300を備え、データ収集装置200が2つのプロセッサ201を備えるため、スケジュール決定部220は、9つのノード300を2つのノードグループに分ける。
Next, the schedule determination unit 220 divides the plurality of nodes 300 into a plurality of node groups.
Specifically, since the data collection system 100 includes nine nodes 300 and the data collection device 200 includes two processors 201, the schedule determination unit 220 divides the nine nodes 300 into two node groups.
 そして、スケジュール決定部220は、ノードグループ毎に、ノードグループに属する各ノード300の負荷量を合計して、総負荷量を算出する。 Then, the schedule determination unit 220 calculates the total load amount by adding the load amounts of the respective nodes 300 belonging to the node group for each node group.
 図18に、ノードグループとノードグループに属するノード300のノード情報とノードグループに属するノード300の負荷量とを示す。
 第1ノードグループには、ノード(1)からノード(5)の5つのノード300が属する。
 第2ノードグループは、ノード(6)からノード(9)の4つのノード300が属する。
 第1ノードグループの総負荷量は4754.7ミリ秒であり、第2ノードグループの総負荷量は3274.7秒であり、どちらのノードグループの総負荷量も5秒未満である。
FIG. 18 shows the node group, the node information of the node 300 belonging to the node group, and the load amount of the node 300 belonging to the node group.
Five nodes 300 from node (1) to node (5) belong to the first node group.
In the second node group, four nodes 300 from node (6) to node (9) belong.
The total load amount of the first node group is 4754.7 milliseconds, the total load amount of the second node group is 3274.7 seconds, and the total load amount of both node groups is less than 5 seconds.
 図17に戻り、ステップS222から説明を続ける。
 ステップS222において、スケジュール決定部220は、ノードグループ毎に、総負荷量を許容負荷量と比較する。
 いずれのノードグループの総負荷量も許容負荷量以下である場合、処理はステップS223に進む。
 少なくともいずれかのノードグループの総負荷量が許容負荷量より多い場合、処理はステップS207に進む。
Returning to FIG. 17, the description will be continued from step S222.
In step S222, the schedule determination unit 220 compares the total load amount with the allowable load amount for each node group.
If the total load amount of any node group is equal to or less than the allowable load amount, the process proceeds to step S223.
If the total load amount of at least one of the node groups is larger than the allowable load amount, the process proceeds to step S207.
 図18において、いずれのグループの総負荷量も5秒未満である。そのため、収集間隔iが5秒である場合、いずれのノードグループの総負荷量も許容負荷量(収集間隔i)以下である。 In FIG. 18, the total load amount of any group is less than 5 seconds. Therefore, when the collection interval i is 5 seconds, the total load amount of any node group is equal to or less than the allowable load amount (collection interval i).
 図17に戻り、ステップS223から説明を続ける。
 ステップS223において、スケジュール決定部220は、ノードグループ毎に余裕量を算出し、ノードグループ毎に余裕量を余裕閾値と比較する。余裕量を算出する方法は、ステップS208(実施の形態1の図9参照)における方法と同じである。
 少なくともいずれかのノードグループの余裕量が余裕閾値以上である場合、処理はステップS224に進む。
 いずれのノードグループの余裕量も余裕閾値より少ない場合、処理はステップS225に進む。
Returning to FIG. 17, the description will be continued from step S223.
In step S223, the schedule determination unit 220 calculates a margin amount for each node group, and compares the margin amount with a margin threshold for each node group. The method for calculating the margin is the same as the method in step S208 (see FIG. 9 of the first embodiment).
If the margin amount of at least one of the node groups is greater than or equal to the margin threshold, the process proceeds to step S224.
If the margin amount of any node group is less than the margin threshold, the process proceeds to step S225.
 ステップS224において、スケジュール決定部220は、余裕ノードグループを対象にして未収集データ量の追加を行う。
 余裕ノードグループは、余裕閾値以上の余裕量を有するノードグループである。
 未収集データ量の追加は、ステップS209(実施の形態1の図9参照)で説明した処理である。
In step S224, the schedule determination unit 220 adds an uncollected data amount for the margin node group.
The margin node group is a node group having a margin amount equal to or greater than a margin threshold.
The addition of the uncollected data amount is the process described in step S209 (see FIG. 9 of the first embodiment).
 ステップS225において、スケジュール決定部220は、ノードグループ毎に収集スケジュールを決定する。収集スケジュールを決定する方法は、ステップS210(実施の形態1の図9参照)における方法と同じである。 In step S225, the schedule determination unit 220 determines a collection schedule for each node group. The method for determining the collection schedule is the same as the method in step S210 (see FIG. 9 of the first embodiment).
 図19に、収集スケジュールのイメージを示す。
 収集間隔は5秒である。
 第1ノードグループにおいて、ノード(5)、ノード(4)、ノード(3)、ノード(2)、ノード(1)の順で収集される。それぞれの収集間隔データ量は、20件、40件、40件、50件、10件である。それぞれの収集時間帯の間には、挿入時間Tw1が挿入されている。
 第2ノードグループにおいて、ノード(9)、ノード(8)、ノード(7)、ノード(6)の順で収集される。それぞれの収集間隔データ量は、30件、40件、20件、20件である。それぞれの収集時間帯の間には、挿入時間Tw2が挿入されている。
FIG. 19 shows an image of the collection schedule.
The collection interval is 5 seconds.
In the first node group, nodes (5), (4), (3), (2), and (1) are collected in this order. Each collection interval data amount is 20 cases, 40 cases, 40 cases, 50 cases, and 10 cases. An insertion time Tw1 is inserted between the respective collection time zones.
In the second node group, data is collected in the order of the node (9), the node (8), the node (7), and the node (6). The respective collection interval data amounts are 30, 40, 20, and 20. An insertion time Tw2 is inserted between the respective collection time zones.
 図20に、収集スケジュールの具体例を示す。
 収集スケジュールは、ノードグループ毎に決定されている。
FIG. 20 shows a specific example of the collection schedule.
The collection schedule is determined for each node group.
***実施の形態2の効果***
 複数のノード300をグループ分けしてグループ毎に収集スケジュールを決定することができる。
*** Effects of Embodiment 2 ***
A plurality of nodes 300 can be grouped and a collection schedule can be determined for each group.
***実施の形態の補足***
 図21に基づいて、データ収集装置200のハードウェア構成を説明する。
 データ収集装置200は処理回路990を備える。
 処理回路990は、制御部210とスケジュール決定部220と記憶部291とを実現するハードウェアである。
 処理回路990は、専用のハードウェアであってもよいし、メモリ902に格納されるプログラムを実行するプロセッサ901であってもよい。
*** Supplement to the embodiment ***
Based on FIG. 21, the hardware configuration of the data collection device 200 will be described.
The data collection device 200 includes a processing circuit 990.
The processing circuit 990 is hardware that implements the control unit 210, the schedule determination unit 220, and the storage unit 291.
The processing circuit 990 may be dedicated hardware or a processor 901 that executes a program stored in the memory 902.
 処理回路990が専用のハードウェアである場合、処理回路990は、例えば、単一回路、複合回路、プログラム化したプロセッサ、並列プログラム化したプロセッサ、ASIC、FPGAまたはこれらの組み合わせである。
 ASICはApplication Specific Integrated Circuitの略称であり、FPGAはField Programmable Gate Arrayの略称である。
 データ収集装置200は、処理回路990を代替する複数の処理回路を備えてもよい。複数の処理回路は、処理回路990の役割を分担する。
When the processing circuit 990 is dedicated hardware, the processing circuit 990 is, for example, a single circuit, a composite circuit, a programmed processor, a parallel programmed processor, an ASIC, an FPGA, or a combination thereof.
ASIC is an abbreviation for Application Specific Integrated Circuit, and FPGA is an abbreviation for Field Programmable Gate Array.
The data collection device 200 may include a plurality of processing circuits that replace the processing circuit 990. The plurality of processing circuits share the role of the processing circuit 990.
 データ収集装置200の機能について、一部が専用のハードウェアで実現されて、残りがソフトウェアまたはファームウェアで実現されてもよい。 A part of the functions of the data collection device 200 may be realized by dedicated hardware, and the rest may be realized by software or firmware.
 このように、処理回路990はハードウェア、ソフトウェア、ファームウェアまたはこれらの組み合わせで実現することができる。 Thus, the processing circuit 990 can be realized by hardware, software, firmware, or a combination thereof.
 実施の形態は、好ましい形態の例示であり、本発明の技術的範囲を制限することを意図するものではない。実施の形態は、部分的に実施してもよいし、他の形態と組み合わせて実施してもよい。フローチャート等を用いて説明した手順は、適宜に変更してもよい。 The embodiment is an example of a preferred embodiment and is not intended to limit the technical scope of the present invention. The embodiment may be implemented partially or in combination with other embodiments. The procedure described using the flowchart and the like may be changed as appropriate.
 100 データ収集システム、101 ネットワーク、102 計測装置、110 ノード情報、120 ノード管理テーブル、130 スケジュール情報、140 収集データ、150 負荷量データ、200 データ収集装置、201 プロセッサ、202 メモリ、203 補助記憶装置、204 通信インタフェース、210 制御部、220 スケジュール決定部、291 記憶部、292 蓄積部、293 受信部、294 送信部、300 ノード、301 プロセッサ、302 メモリ、303 補助記憶装置、304 通信インタフェース、305 センサインタフェース、311 制御部、391 記憶部、392 送信部、393 受信部、394 計測部、990 処理回路。 100 data collection system, 101 network, 102 measurement device, 110 node information, 120 node management table, 130 schedule information, 140 collection data, 150 load data, 200 data collection device, 201 processor, 202 memory, 203 auxiliary storage device, 204 communication interface, 210 control unit, 220 schedule determination unit, 291 storage unit, 292 storage unit, 293 reception unit, 294 transmission unit, 300 node, 301 processor, 302 memory, 303 auxiliary storage device, 304 communication interface, 305 sensor interface 311 control unit, 391 storage unit, 392 transmission unit, 393 reception unit, 394 measurement unit, 990 processing circuit.

Claims (7)

  1.  データを得るノード毎に単位時間当たりのデータ量を示すデータ量情報を受信する受信部と、
     ノード毎のデータ量情報に基づいて、それぞれのノードからデータを収集するための収集スケジュールを決定するスケジュール決定部と
    を備えるデータ収集装置。
    A receiving unit that receives data amount information indicating a data amount per unit time for each node from which data is obtained;
    A data collection apparatus comprising: a schedule determination unit that determines a collection schedule for collecting data from each node based on data amount information for each node.
  2.  前記スケジュール決定部は、
     それぞれのノードからデータを収集する収集間隔を収集間隔範囲から選択し、
     ノード毎のデータ量情報に基づいて、選択した収集間隔の間に得られる収集間隔データ量をノード毎に算出し、
     収集間隔データ量に対する負荷量をノード毎に算出し、
     ノード毎の負荷量を用いて総負荷量を算出し、
     前記総負荷量が許容負荷量より少ない場合、前記収集間隔を用いて前記収集スケジュールを決定する
    請求項1に記載のデータ収集装置。
    The schedule determination unit
    Select a collection interval to collect data from each node from the collection interval range,
    Based on the data amount information for each node, calculate the collection interval data amount obtained during the selected collection interval for each node,
    Calculate the load amount for the collection interval data amount for each node,
    Calculate the total load using the load for each node,
    The data collection device according to claim 1, wherein when the total load amount is smaller than an allowable load amount, the collection schedule is determined using the collection interval.
  3.  前記スケジュール決定部は、前記総負荷量が前記許容負荷量より多い場合、収集間隔を新たに選択する
    請求項2に記載のデータ収集装置。
    The data collection device according to claim 2, wherein the schedule determination unit newly selects a collection interval when the total load amount is larger than the allowable load amount.
  4.  前記スケジュール決定部は、時間の短い順に収集間隔を選択する
    請求項3に記載のデータ収集装置。
    The data collection device according to claim 3, wherein the schedule determination unit selects a collection interval in ascending order of time.
  5.  前記受信部は、さらに、未収集データを有するノード毎に未収集データ量を受信し、
     前記スケジュール決定部は、ノード毎の収集間隔データ量にノード毎の未収集データ量が追加された後の総負荷量が前記許容負荷量を超えない範囲で、ノード毎の収集間隔データ量にノード毎の未収集データ量を追加し、ノード毎の収集間隔データ量を前記収集スケジュールに含める
    請求項2から請求項4のいずれか1項に記載のデータ収集装置。
    The receiving unit further receives an uncollected data amount for each node having uncollected data,
    The schedule determination unit determines whether the total load amount after adding the uncollected data amount for each node to the collection interval data amount for each node is within the collection interval data amount for each node within a range that does not exceed the allowable load amount. The data collection device according to any one of claims 2 to 4, wherein an uncollected data amount for each node is added, and a collection interval data amount for each node is included in the collection schedule.
  6.  前記スケジュール決定部は、複数のノードをグループ分けし、ノードグループ毎に収集スケジュールを決定する
    請求項1から請求項5のいずれか1項に記載のデータ収集装置。
    The data collection device according to claim 1, wherein the schedule determination unit groups a plurality of nodes and determines a collection schedule for each node group.
  7.  データを得るノード毎に単位時間当たりのデータ量を示すデータ量情報を受信する受信処理と、
     ノード毎のデータ量情報に基づいて、それぞれのノードからデータを収集するための収集スケジュールを決定するスケジュール決定処理と
    をコンピュータに実行させるためのデータ収集プログラム。
    A reception process for receiving data amount information indicating a data amount per unit time for each node from which data is obtained;
    A data collection program for causing a computer to execute a schedule determination process for determining a collection schedule for collecting data from each node based on data amount information for each node.
PCT/JP2017/017901 2017-05-11 2017-05-11 Data collection device and data collection program WO2018207322A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/JP2017/017901 WO2018207322A1 (en) 2017-05-11 2017-05-11 Data collection device and data collection program
JP2019516827A JP6599049B2 (en) 2017-05-11 2017-05-11 Data collection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2017/017901 WO2018207322A1 (en) 2017-05-11 2017-05-11 Data collection device and data collection program

Publications (1)

Publication Number Publication Date
WO2018207322A1 true WO2018207322A1 (en) 2018-11-15

Family

ID=64105604

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2017/017901 WO2018207322A1 (en) 2017-05-11 2017-05-11 Data collection device and data collection program

Country Status (2)

Country Link
JP (1) JP6599049B2 (en)
WO (1) WO2018207322A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190377695A1 (en) * 2017-12-19 2019-12-12 Sony Corporation Terminal management device and terminal device
GB2610431A (en) * 2021-09-07 2023-03-08 Vodafone Group Services Ltd Device data retrieval
WO2023152940A1 (en) * 2022-02-14 2023-08-17 三菱電機株式会社 Data collection device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002171262A (en) * 2000-11-30 2002-06-14 Furukawa Electric Co Ltd:The Communication method and its communication system
JP2005151461A (en) * 2003-11-19 2005-06-09 Ntt Docomo Inc Signal extracting device, program thereof, radio communication method, and apparatus and program thereof
JP2012205278A (en) * 2011-03-28 2012-10-22 Toshiba Corp Remote information collecting apparatus and program
JP2015080116A (en) * 2013-10-17 2015-04-23 富士通株式会社 Information collection device, information collection method, and information collection program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002171262A (en) * 2000-11-30 2002-06-14 Furukawa Electric Co Ltd:The Communication method and its communication system
JP2005151461A (en) * 2003-11-19 2005-06-09 Ntt Docomo Inc Signal extracting device, program thereof, radio communication method, and apparatus and program thereof
JP2012205278A (en) * 2011-03-28 2012-10-22 Toshiba Corp Remote information collecting apparatus and program
JP2015080116A (en) * 2013-10-17 2015-04-23 富士通株式会社 Information collection device, information collection method, and information collection program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190377695A1 (en) * 2017-12-19 2019-12-12 Sony Corporation Terminal management device and terminal device
US11797458B2 (en) * 2017-12-19 2023-10-24 Sony Corporation Terminal management device and terminal device
GB2610431A (en) * 2021-09-07 2023-03-08 Vodafone Group Services Ltd Device data retrieval
EP4145806A1 (en) * 2021-09-07 2023-03-08 Vodafone Group Services Limited Device data retrieval
WO2023152940A1 (en) * 2022-02-14 2023-08-17 三菱電機株式会社 Data collection device

Also Published As

Publication number Publication date
JP6599049B2 (en) 2019-10-30
JPWO2018207322A1 (en) 2019-11-07

Similar Documents

Publication Publication Date Title
US20210182106A1 (en) Resource configuration prediction method and device
US8490108B2 (en) Method of estimating a processing time of each of a plurality of jobs and apparatus thereof
US9535752B2 (en) Systems and methods of host-aware resource management involving cluster-based resource pools
JP5664098B2 (en) Composite event distribution apparatus, composite event distribution method, and composite event distribution program
JP6248560B2 (en) Management program, management method, and management apparatus
CN104516475B (en) Method and apparatus for managing the global chip power on multinuclear on-chip system
JP5768796B2 (en) Operation management apparatus, operation management method, and program
JP6599049B2 (en) Data collection device
US10282272B2 (en) Operation management apparatus and operation management method
JP6683920B2 (en) Parallel processing device, power coefficient calculation program, and power coefficient calculation method
US20190213052A1 (en) Distributed processing system, distributed processing method, and recording medium
US20160006640A1 (en) Management computer, allocation management method, and non-transitory computer readable storage medium
JP2017211928A (en) Distribution processing control system and distribution processing control method
CN111026603B (en) On-chip network temperature prediction method and device, equipment and storage medium
JP6176390B2 (en) Information processing apparatus, analysis method, and program recording medium
Shoukourian et al. Predicting energy consumption relevant indicators of strong scaling hpc applications for different compute resource configurations
US9577869B2 (en) Collaborative method and system to balance workload distribution
CN111092755B (en) Edge service migration simulation method based on resource occupation
JP2016018269A (en) Information processing apparatus, information processing method, and program
US20220026973A1 (en) Method for controlling energy saving, and apparatus therefor
CN102822806B (en) Detect the state that gets nowhere of application
US20180285168A1 (en) Information processing apparatus and information processing system
US20130254894A1 (en) Information processing device, non-transitory computer readable medium, and information processing method
CN117093429B (en) Method and system for evaluating stability of server
US11449378B2 (en) Information processing apparatus and log control method

Legal Events

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

Ref document number: 17909273

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2019516827

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17909273

Country of ref document: EP

Kind code of ref document: A1