WO2024134869A1 - Data collecting device, terminal device, data collecting system, data collecting method, data transmitting method, and program - Google Patents

Data collecting device, terminal device, data collecting system, data collecting method, data transmitting method, and program Download PDF

Info

Publication number
WO2024134869A1
WO2024134869A1 PCT/JP2022/047606 JP2022047606W WO2024134869A1 WO 2024134869 A1 WO2024134869 A1 WO 2024134869A1 JP 2022047606 W JP2022047606 W JP 2022047606W WO 2024134869 A1 WO2024134869 A1 WO 2024134869A1
Authority
WO
WIPO (PCT)
Prior art keywords
meter reading
data
delay period
group
unit
Prior art date
Application number
PCT/JP2022/047606
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 JP2023525973A priority Critical patent/JP7353535B1/en
Priority to PCT/JP2022/047606 priority patent/WO2024134869A1/en
Publication of WO2024134869A1 publication Critical patent/WO2024134869A1/en

Links

Images

Definitions

  • the present invention relates to a data collection device, a terminal device, a data collection system, a data collection method, a data transmission method, and a program.
  • terminal devices such as smart meters that automatically read electricity, gas, water, and other usage and transmit the meter readings to a data collection device have become widespread. If multiple terminal devices transmit meter reading data to the data collection device at the same time, congestion can occur, placing a processing load on the data collection device.
  • a related technology has been disclosed in a communications system for mobile network communications in which terminals are divided into multiple groups, information relating to a predetermined time span is set for each group of terminals, and delay times are calculated within the predetermined time span based on numbers generated by a random number generator, resulting in delay times for each of the multiple terminals.
  • the present invention was made in consideration of these circumstances, and its purpose is to provide technology that can reduce congestion related to the collection of meter reading data.
  • a data collection device is a data collection device that includes a setting unit that sets groups of terminal devices that acquire meter reading data, and that sets, for each group, a reference timing for transmitting meter reading data and a delay period from the reference timing, and a meter reading acquisition unit that acquires meter reading data transmitted from the terminal devices at random timing within the delay period, the delay period being updated for each group based on the results of acquisition of meter reading data by the meter reading acquisition unit, and the meter reading acquisition unit acquiring the meter reading data transmitted from the terminal devices at random timing within the updated delay period.
  • a terminal device in order to solve the above-mentioned problems, is a terminal device that includes a setting information acquisition unit that acquires setting information in which a reference timing for transmitting meter reading data and a delay period from the reference timing are set for each group, and a meter reading value transmission unit that transmits meter reading data to a data collection device at a random timing within the delay period, the delay period being updated for each group based on the acquisition result in the data collection device of the meter reading data transmitted by the meter reading value transmission unit, and the meter reading value transmission unit transmitting the meter reading data to the data collection device at a random timing within the updated delay period.
  • a data collection system is a collection system including a terminal device that acquires meter reading data, and a data collection device that acquires the meter reading data from the terminal device, the data collection device having a setting unit that sets groups of the terminal devices and, for each group, sets a reference timing for transmitting the meter reading data and a delay period from the reference timing, and a meter reading acquisition unit that acquires the meter reading data transmitted from the terminal devices at random timing within the delay period, and the terminal devices have a setting unit that sets the reference timing and the delay period
  • the data collection system includes a setting information acquisition unit that acquires setting information in which a delay period is set for each group, and a meter reading value transmission unit that transmits meter reading data to the data collection device at random timing within the delay period, the delay period is updated for each group based on the result of acquisition of meter reading data by the meter reading value acquisition unit, the meter reading value transmission unit transmits meter reading data
  • the data collection method is a data collection method in which a computer of a data collection device sets groups of terminal devices that acquire meter reading data, and executes a process including a setting step of setting, for each group, a reference timing for transmitting meter reading data and a delay period from the reference timing, and a meter reading acquisition step of acquiring meter reading data transmitted from the terminal device at a random timing within the delay period, the delay period being updated for each group based on the results of acquisition of meter reading data in the meter reading acquisition step, and the meter reading acquisition step acquiring meter reading data transmitted from the terminal device at a random timing within the updated delay period.
  • the data transmission method is a data transmission method in which a computer of a terminal device executes a process including a setting information acquisition step for acquiring setting information in which a reference timing for transmitting meter reading data and a delay period from the reference timing are set for each group, and a meter reading transmission step for transmitting meter reading data to a data collection device at a random timing within the delay period, the delay period being updated for each group based on the acquisition result of the meter reading data transmitted in the meter reading transmission step by the data collection device, and the meter reading transmission step transmitting the meter reading data to the data collection device at a random timing within the updated delay period.
  • another aspect of the present invention is a program that causes a computer to function as a data collection device, and causes the computer to function as a setting unit that sets groups of terminal devices that acquire meter reading data, and sets, for each group, a reference timing for transmitting meter reading data and a delay period from the reference timing, and a meter reading acquisition unit that acquires meter reading data transmitted from the terminal devices at random timing within the delay period, the delay period being updated for each group based on the results of acquisition of meter reading data by the meter reading acquisition unit, and the meter reading acquisition unit acquiring the meter reading data transmitted from the terminal devices at random timing within the updated delay period.
  • another aspect of the present invention is a program that causes a computer to function as a terminal device, and causes the computer to function as a setting information acquisition unit that acquires setting information in which a reference timing for transmitting meter reading data and a delay period from the reference timing are set for each group, and a meter reading transmission unit that transmits meter reading data to a data collection device at a random timing within the delay period, the delay period being updated for each group based on the acquisition result in the data collection device of the meter reading data transmitted by the meter reading transmission unit, and the meter reading transmission unit transmitting the meter reading data to the data collection device at a random timing within the updated delay period.
  • the present invention makes it possible to reduce congestion related to the collection of meter reading data.
  • FIG. 1 is a diagram showing a configuration of a data collection system 1 according to an embodiment.
  • FIG. 2 is a diagram showing a functional configuration of a data collection device 100 in the data collection system 1.
  • 13 is a diagram showing an example of a registration/change screen displayed on a user interface unit 210.
  • FIG. FIG. 2 is a diagram showing an example of a group data table 221.
  • FIG. 4 illustrates an example of a setting value data table 222.
  • FIG. 11 is a diagram showing an example of transmission timing for each group based on setting value data.
  • FIG. 13 is a diagram showing an example of a warning displayed on the user interface unit 210.
  • FIG. 2 is a diagram showing the functional configuration of a connection device 101 in the data collection system 1.
  • 10 is a flowchart showing an example of a registration process of a connection device performed by the data collection device.
  • 10 is a flowchart showing an example of a setting value data receiving process performed by the connected device 101;
  • 10 is a flowchart showing an example of a meter reading value data transmission process performed by a connected device 101.
  • 4 is a flowchart showing an example of a meter reading data receiving process performed by the data collection device 100;
  • 10 is a flowchart showing an example of a setting value data update process performed by the connected device 101.
  • 10 is a flowchart showing an example of a setting value data update process performed by the data collection device 100.
  • 10 is a flowchart showing an example of a maximum width match determination process performed by the data collection device 100.
  • FIG. 1 is a diagram showing a configuration of a data collection system 1 according to an embodiment.
  • the data collection system 1 is a system that automatically reads and collects the usage of electricity, gas, water, etc. used in a home or the like.
  • the data collection system 1 includes a data collection device 100, smart meters 110 (110a, 110b), a concentrator 120, an IoT (Internet of Things) root terminal 130, and a meter 140.
  • the data collection device 100, the smart meter 110a, and the concentrator 120 are connected to a network 190, and are capable of communicating with each other via a mobile phone network, an optical communication network, or the like.
  • Each connected device connected to the data collection device 100 is classified into groups.
  • the groups are classified, for example, according to the type of connected device or the area in which the connected device is located.
  • groups 1 and 2 each indicate a classification of multiple smart meters 110a.
  • Group 3 indicates a classification of smart meters 110b placed under the concentrator 120.
  • Group 4 indicates a classification of meters 140 placed under the IoT root terminal 130.
  • Each of groups 1 to 4 is set to transmit meter reading data to the data collection device 100 at a different period.
  • the smart meter 110a is an electronic power meter that digitally detects power and has a communication function.
  • the smart meter 110a transmits meter reading data directly to the data collection device 100.
  • the concentrator 120 transmits various data such as meter reading data received from the smart meter 110b under its control to the data collection device 100.
  • the concentrator 120 connects to the smart meter 110b under its control.
  • the smart meter 110b is not connected to the network 190, and transmits meter reading data to the concentrator 120 via other smart meters 110b by wireless multi-hop (bucket brigade format).
  • each smart meter 110b is equipped with a wireless communication unit, and uses the wireless communication unit as a repeater to sequentially transfer the meter reading data to other smart meters 110b, and finally transmits the meter reading data to the concentrator 120.
  • the concentrator 120 transmits the meter reading data received from the smart meter 110b to the data collection device 100.
  • the IoT root terminal 130 has a communication function to transmit meter reading data received from the subordinate meters 140 to the data collection device 100 via the smart meter 110a (or concentrator 120).
  • the IoT root terminal 130 connects to the subordinate meters 140.
  • the meters 140 are common meter reading meters or special meter reading meters. Common meter reading meters are meters that are used jointly for multiple meter reading targets such as electricity, gas, and water. Special meter reading meters are meters that meet certain standards but have not been inspected under a specific law (Weights and Measures Act). For example, special meter reading meters are meters that are attached to various facilities such as solar power generation in homes and electric vehicles.
  • communication standards such as U-bus and ECHONET Lite (registered trademark) are used for communication between the IoT root terminal 130 and the meters. However, the above communication standards are merely examples, and other communication standards may also be used.
  • the smart meter 110b belonging to group 3 is connected to the concentrator 120, and an example is shown in which the meter reading data is transmitted to the data collection device 100 via the concentrator 120, but this is not limited to the above.
  • the smart meter 110b may be connected to the smart meter 110a, and in this case, the smart meter 110b may transmit the meter reading data to the data collection device 100 via the smart meter 110a of the group to which the smart meter 110b belongs.
  • the meter 140 is connected to the IoT root terminal 130, and an example is shown in which the meter 140 transmits meter reading data to the data collection device 100 via the IoT root terminal 130, but this is not limited to this.
  • the meter 140 may be connected to a smart meter 110a, and in this case, the meter 140 may transmit meter reading data to the data collection device 100 via the smart meter 110a of the group to which the meter 140 belongs.
  • Fig. 2 is a diagram showing a functional configuration of the data collection device 100 in the data collection system 1.
  • the data collection system 1 includes the data collection device 100 and a connection device 101.
  • the connection device 101 (an example of a terminal device) includes smart meters 110a and 110b, a concentrator 120, an IoT root terminal 130, and a meter 140.
  • the data collection device 100 includes a setting unit 201, a setting value notification unit 202, a meter reading data communication unit 203, a setting value acquisition unit 204, a setting value processing unit 205, a maximum width match determination unit 206, a user interface unit 210, a master data storage unit 220, and a meter reading data storage unit 230.
  • the setting unit 201 sets the group to which the connected device 101 belongs and the setting value data for each group.
  • the setting unit 201 sets the group that the setting reception unit 211 provided in the user interface unit 210 receives from the user.
  • an example of a screen displayed on the user interface unit 210 will be described with reference to FIG. 3.
  • FIG. 3 is a diagram showing an example of a registration/change screen displayed on the user interface unit 210.
  • a registration/change screen 300 is displayed on the user interface unit 210.
  • the registration/change screen 300 is displayed, for example, by accepting pressing of a predetermined registration start button from the top screen.
  • the registration/change screen 300 includes a connected device type selection button 301, a connected device ID input button 302, an IP address input button 303, a group ID selection button 304, a collection period input button 305, and a setting value data input button 306.
  • Each of the buttons 301 to 306 is an example of the setting reception unit 211.
  • the connected device type selection button 301 accepts transition to a screen for registering the types of the connected devices 101 (the smart meters 110a and 110b, the concentrator 120, the IoT root terminal 130, and the meter 140).
  • a connected device ID input button 302 accepts transition to a screen for inputting a connected device ID, which is identification information of the connected device 101 .
  • the IP address input button 303 accepts transition to a screen for inputting the IP address of the connected device 101 to be registered.
  • the group ID selection button 304 switches to a screen for inputting a group ID, which is group identification information of the connected device 101 to be registered.
  • the collection cycle input button 305 accepts transition to a screen for inputting the collection cycle and reference timing of meter reading data set for each group.
  • the collection cycle and reference timing are not limited to being input by the user, and may be predetermined for each connected device 101.
  • the collection cycle may be preset to a predetermined time such as 15 minutes or 30 minutes depending on the type (group) of the smart meter 110.
  • the registration/change screen 300 may not display the collection cycle input button 305.
  • the setting value data input button 306 accepts the input of the collection period (period of transmission of meter reading data) and delay period (upper and lower limits) based on the reference timing set for each group, as well as transition to a screen for inputting the maximum width, which will be described later.
  • each of the buttons 301 to 306 in sequence to input the connected device type, connected device ID, IP address, group ID, collection cycle, reference timing, delay period (upper limit and lower limit), and maximum width for the connected device 101 to be registered.
  • each connected device 101 becomes able to transmit meter reading data to the data collection device 100 at a timing based on a random number within the delay period set for each group.
  • the setting unit 201 When the setting unit 201 sets a group, it stores group data indicating the set group in the group data table 221 provided in the master data storage unit 220. Furthermore, when the setting unit 201 sets upper and lower limit values, it stores setting value data indicating the set upper and lower limit values in the setting value data table 222 provided in the master data storage unit 220.
  • the group data table 221 and the setting value data table 222 will be described in detail.
  • FIG. 4 is a diagram showing an example of the group data table 221.
  • the group data table 221 includes the following items: "connected device type”, “connected device ID”, “connected device IP address”, and "group ID”.
  • the “connected device type” indicates any one of the smart meter 110 a, the concentrator 120, and the IoT root terminal 130.
  • Connected device ID indicates a connected device ID that is identification information of the connected device 101 .
  • Connected device IP address indicates the IP address of the connected device 101 .
  • Group ID indicates the group ID that is group identification information of the connected device 101 .
  • the group data is stored as a record as a result of the user inputting data into each field.
  • the group data 211a indicates the connected device type of "Smart Meter (Smart Meter 110a)", the connected device ID is "1", and the connected device IP address is "10.11.12.13". It also indicates that the connected device 101 belongs to a group with group ID "1".
  • Fig. 5A is a diagram showing an example of the setting value data table 222.
  • the setting value data table 222 includes the following items: "group ID”, “delay period”, and "maximum width of delay period”.
  • “Group ID” indicates the group ID that is group identification information of the connected device 101 .
  • the “delay period” includes a “lower limit”, an “upper limit”, and a “range”.
  • the “lower limit” indicates the lower limit (minutes) of the delay period based on the collection cycle (the transmission cycle of meter reading data) set for each group.
  • “Upper limit” indicates the upper limit (minutes) of the delay period based on the collection cycle set for each group.
  • the "maximum width of the delay period" indicates the maximum length of the delay period that can be updated. A supplementary explanation regarding the maximum width of the delay period will be provided.
  • the delay period is updated by the connected device 101.
  • the setting value data is stored as a record as the user inputs data into each item.
  • the setting value data 222a indicates that for a connected device 101 with a group ID of "1," the lower limit of the delay period is set to 5 minutes, the upper limit to 10 minutes, and the maximum width of the delay period is set to 10 minutes.
  • a transmission timing example 500 includes items of "group ID”, “collection cycle”, “reference timing”, and "collection time”.
  • Group ID indicates the group ID that is group identification information of the connected device 101 .
  • the “collection period” indicates the transmission period of the meter reading data set for each group.
  • Reference timing indicates the hourly reference time for transmitting meter reading data that is set for each group.
  • the “collection time” indicates the time range for each hour of the delay period that is set based on the collection cycle, the reference timing, and the delay period.
  • transmission timing example 500a shows that a connected device 101 belonging to a group with a group ID of "1" transmits meter reading data at a timing based on a random number within a 5-minute collection time (range), with the reference timing being 5 minutes and 35 minutes past the hour.
  • the set value notification unit 202 transmits the set value data stored in the set value data table 222 to the connected device 101.
  • the concentrator 120 and the IoT root terminal 130 included in the connected device 101 receive the set value data, they transmit the set value data to the terminals under them (the smart meter 110b and the meter 140).
  • each connected device 101 receives the set value data from the set value notification unit 202, it stores the set value data. This allows the connected device 101 to transmit the meter reading data to the data collection device 100 at a timing based on the set value data.
  • the meter reading data communication unit 203 acquires meter reading data transmitted from the connected device 101 at a predetermined timing based on the collection cycle, the reference timing, and the delay period (upper limit value and lower limit value).
  • the meter reading data communication unit 203 acquires the meter reading data, it stores the meter reading data in the meter reading data storage unit 230.
  • the meter reading data communication unit 203 acquires the meter reading data, it identifies the connected device 101 that transmitted the data, and transmits a response signal to the identified connected device 101.
  • the response signal is a signal indicating that the data collection device 100 has acquired the meter reading data.
  • connection device 101 When the connection device 101 fails to transmit meter reading data to the data collection device 100 due to congestion or the like, the connection device 101 updates the setting value data (upper limit and lower limit) in response to the failure, and transmits the updated setting value data (an example of update information) to the data collection device 100.
  • the setting value acquisition unit 204 (an example of an update information acquisition unit) acquires the updated setting value data from the connection device 101, it outputs the acquired setting value data to the setting value processing unit 205.
  • the setting value processing unit 205 updates the setting value data stored in the setting value data table 222 based on the setting value data acquired from the setting value acquisition unit 204.
  • one connected device 101 in a group fails to send meter reading data, it may be that congestion is occurring in the collection of meter reading data in that group. In other words, it may be that other connected devices 101 in the group may also fail to send meter reading data. Therefore, in this embodiment, when one connected device 101 in a group updates its setting value data, the other connected devices 101 in the same group also update their setting value data. This will be described in detail below.
  • the setting value processing unit 205 When the setting value acquisition unit 204 acquires the updated setting value data, the setting value processing unit 205 identifies the group to which the connected device 101 that transmitted the setting value belongs. The setting value processing unit 205 also updates the setting value data stored in the setting value data table 222 for the other connected devices 101 that belong to the identified group.
  • the setting value notification unit 202 (an example of an update information transmission unit) transmits the updated setting value data to the other connected devices 101 that belong to the group identified by the setting value processing unit 205.
  • the other connected devices 101 receive the updated setting value data from the setting value notification unit 202, they store the setting value data.
  • the other connected devices 101 update their own setting value data when one connected device 101 in the same group updates its setting value data. Therefore, from then on, the connected devices 101 will transmit meter reading data to the data collection device 100 at a timing based on the updated setting value data.
  • the setting value data (upper limit and lower limit) are updated by the connected device 101 as appropriate.
  • the width (delay period) of the updated setting value data becomes the maximum width of the delay period, the setting value data cannot be updated any further. For this reason, the data collection device 100 periodically performs the following maximum width match determination and issues a warning depending on the determination result.
  • the maximum width match determination unit 206 periodically performs a maximum width match determination to determine whether or not the width (delay period) between the upper and lower limit values matches the maximum width of the delay period, by referring to the setting value data stored in the setting value data table 222. If the maximum width match determination unit 206 determines that there is a match in the maximum width match determination, it outputs the determination result to the warning notification unit 212. When the warning notification unit 212 (an example of a notification unit) obtains the determination result from the maximum width match determination unit 206, it issues a warning.
  • a warning displayed on the user interface unit 210 will be described.
  • FIG. 6 is a diagram showing an example of a warning displayed on the user interface unit 210.
  • a warning screen 600 is displayed on the user interface unit 210.
  • the warning screen 600 includes a notification time and a group ID.
  • the notification time is the time when a positive determination result is obtained in the maximum width match determination, and includes, for example, a date and a time in seconds. This allows the user to display the registration/change screen 300 (FIG. 3) on the user interface unit 210 and reset the maximum width or re-register the group.
  • the warning screen 600 may display, for example, a message urging the user to change the maximum width setting or to re-register the group.
  • Fig. 7 is a diagram showing a functional configuration of the connection device 101 in the data collection system 1.
  • the connection device 101 includes a setting value acquisition unit 701, a periodic meter reading value processing unit 702, a periodic meter reading value communication unit 703, a setting value update unit 704, a setting value transmission unit 705, a setting value data storage unit 710, a meter reading value data storage unit 720, and a transmission history data storage unit 730.
  • the setting value acquisition unit 701 (an example of a setting information acquisition unit) acquires setting value data transmitted from the data collection device 100.
  • the setting value data acquired by the setting value acquisition unit 701 includes setting value data for new registrations and updated setting value data (update information).
  • the setting value acquisition unit 701 acquires the setting value data, it stores the setting value data in the setting value data storage unit 710.
  • the meter reading data storage unit 720 stores the meter reading data sequentially acquired by the connected device 101.
  • the periodic meter reading data processing unit 702 acquires meter reading data from the meter reading data storage unit 720 at random timing within the delay period indicated by the setting value data stored in the setting value data storage unit 710, and outputs it to the periodic meter reading data communication unit 703.
  • the periodic meter reading data processing unit 702 generates a random number each time the reference timing is reached, acquires meter reading data at random timing within the delay period, and outputs it to the periodic meter reading data communication unit 703. This allows the periodic meter reading data communication unit 703 (an example of a meter reading data transmission unit) to transmit meter reading data to the data collection device 100 at random timing within the delay period each time.
  • the periodic meter reading value communication unit 703 transmits the meter reading value data, it receives a response signal from the data collection device 100 within a predetermined period of time, indicating that the meter reading value data has been acquired.
  • the periodic meter reading value communication unit 703 receives a response signal within the predetermined period of time, it stores a transmission history indicating successful transmission in the transmission history data storage unit 730.
  • the periodic meter reading value communication unit 703 does not receive a response signal within the predetermined period of time, it stores a transmission history indicating unsuccessful transmission in the transmission history data storage unit 730.
  • the transmission history is an example of the result of acquisition of meter reading value data in the data collection device 100.
  • the setting value update unit 704 updates the setting value data stored in the setting value data storage unit 710 based on the transmission history stored in the transmission history data storage unit 730. For example, the setting value update unit 704 updates the setting value data (upper limit and lower limit) within the maximum range when a predetermined condition is met.
  • the predetermined condition is, for example, a condition based on the rate of failed transmissions, and more specifically, a condition that the rate of failed transmissions out of a predetermined number of most recent times is equal to or greater than a threshold. Note that the predetermined condition is not limited to being based on the rate of failed transmissions, but may also be based on the number of failed transmissions. For example, the predetermined condition may be a condition that a predetermined number of consecutive transmissions have failed in the most recent time.
  • the setting value update unit 704 updates at least one of the upper limit value and the lower limit value for a predetermined period within the maximum width range, for example. Specifically, for example, the setting value update unit 704 updates the lower limit value to "-y minutes” and the upper limit value to "+x minutes”. As a result, the delay period is extended by "x+y minutes" within the maximum width range.
  • the setting value update unit 704 gradually updates the delay period up to the maximum width (10 minutes). Specifically, the setting value update unit 704 can extend the delay period by 2 minutes by changing "-y minutes” to "-1 minute” and "+x minutes” to "+1 minute.” In this way, gradually updating the delay period up to the maximum width makes it more difficult to issue a warning. This reduces the burden on the work staff involved in changing the maximum width.
  • the setting value update unit 704 may update the maximum width (10 minutes) in one update. Specifically, the setting value update unit 704 may change "-y minutes” to "-5 minutes” and “+x minutes” to "+5 minutes.” This makes it easier to issue a warning, making it more difficult for congestion to occur.
  • the setting value update unit 704 updates the setting value data
  • the setting value transmission unit 705 (an example of an update information transmission unit) obtains the updated setting value data from the setting value update unit 704, it transmits the setting value data to the data collection device 100. This enables the data collection device 100 to update the setting value data stored in the setting value data table 222 for the connected device 101, and to transmit the updated setting value data to other connected devices 101 in the group to which the connected device 101 belongs.
  • (Configuration of each computer device) 8 is a block diagram showing the hardware configuration of the computer device of each device included in the data collection system 1.
  • a computer 800 is implemented in each of the data collection device 100 and the connection device 101.
  • the computer 800 includes a CPU (Central Processing Unit) 801, memory 802, a communication I/F (interface) 803, an input device 804, and an output device 805.
  • CPU Central Processing Unit
  • memory 802 volatile and non-volatile memory
  • communication I/F input device 804
  • the CPU 801 is responsible for the overall control of the computer 800 .
  • the memory 802 includes various storage media such as a ROM (Read Only Memory) and a RAM (Random Access Memory).
  • the ROM stores various programs.
  • the ROM of the computer 800 implemented in the data collection device 100 stores the data collection program according to this embodiment.
  • the ROM of the computer 800 implemented in the connection device 101 stores the data transmission program according to this embodiment.
  • the RAM is used as a work area for the CPU 801.
  • the memory 802 includes a magnetic disk, a magneto-optical disk, an optical disk, and a semiconductor memory.
  • the memory 802 may be an internal medium directly connected to the bus of the computer 800, or an external medium connected to the computer 800 via an interface such as the communication I/F 803.
  • the computer 800 that has received the program may expand the program in the memory 802 and execute the process.
  • the communication I/F 803 is connected to the network 190 via a communication line, and is connected to other devices and equipment via the network 190 .
  • the input device 804 is used to input characters, numbers, various instructions, etc.
  • the input device 804 includes a touch panel type input pad, operation buttons, a keyboard, a mouse, a microphone, etc.
  • the output device 805 includes a display for displaying images and a speaker for outputting sound.
  • Fig. 9 is a flow chart showing an example of the registration process of the connected device 101 performed by the data collection device 100.
  • the setting unit 201 determines whether or not the registration of the connected device 101 is to be started for new registration or change registration by accepting pressing of a predetermined registration start button from the top screen (step S901).
  • the setting unit 201 waits until registration starts (step S901: NO).
  • the setting unit 201 displays the registration/change screen 300 (Fig. 3) (step S902).
  • the setting reception unit 211 receives input of various information about the connected device 101 related to the new registration or change registration (step S903).
  • the various information includes, for example, the type, connected device ID, IP address, group ID, collection period, reference timing, upper limit value, and lower limit value for the target connected device 101.
  • the setting unit 201 stores the group data and setting value data based on the input received in step S903 in the group data table 221 and setting value data table 222, respectively (step S904).
  • the setting value notification unit 202 transmits the setting value data to the connected device 101 (step S905), and the series of processes ends.
  • Fig. 10 is a flow chart showing an example of a setting value data receiving process performed by the connected device 101.
  • the setting value acquisition unit 701 judges whether or not setting value data has been received (step S1001).
  • the setting value data here includes setting value data related to new registration or change registration.
  • the setting value acquisition unit 701 waits until receiving setting value data (step S1001: NO).
  • step S1001 YES
  • the setting value acquisition unit 701 stores the received setting value data in the setting value data storage unit 710 (step S1002), and ends the series of processes.
  • Step S1101 the periodic meter reading value processing unit 702 judges whether or not the reference timing has arrived.
  • the periodic meter reading value processing unit 702 waits until the reference timing arrives (step S1101: NO), and when the reference timing arrives (step S1101: YES), acquires the set value data (upper limit value and lower limit value) stored in the set value data storage unit 710 (step S1102).
  • the periodic meter reading value processing unit 702 determines the transmission timing based on the random number value within the delay period (the width of the upper limit value and the lower limit value) (step S1103).
  • the periodic meter reading value processing unit 702 judges whether the transmission timing has arrived (step S1104).
  • the periodic meter reading value processing unit 702 waits until the transmission timing arrives (step S1104: NO), and when the transmission timing arrives (step S1104: YES), it acquires the meter reading value data stored in the meter reading value data storage unit 720 (step S1105).
  • the periodic meter reading value communication unit 703 transmits the meter reading value data to the data collection device 100 (step S1106).
  • the periodic meter reading value communication unit 703 determines whether or not a response signal to the transmission of the meter reading value data has been received from the data collection device 100 (step S1107). If a response signal has been received (step S1107: YES), the periodic meter reading value communication unit 703 proceeds to step S1110. On the other hand, if a response signal has not been received (step S1107: NO), the periodic meter reading value communication unit 703 determines whether or not a certain period of time has elapsed (step S1108).
  • step S1108: NO If the fixed time has not elapsed (step S1108: NO), the periodic meter reading value communication unit 703 returns to step S1107. If the fixed time has elapsed (step S1108: YES), the periodic meter reading value communication unit 703 adds "1" to the number of transmission failures (step S1109). Then, the periodic meter reading value communication unit 703 stores the transmission history data in the transmission history data storage unit 730 (step S1110), and ends the series of processes.
  • Fig. 12 is a flowchart showing an example of a meter reading data reception process performed by the data collection device 100.
  • the meter reading data communication unit 203 judges whether or not the meter reading data has been received (step S1201).
  • the meter reading data communication unit 203 waits until the meter reading data is received (step S1201: NO), and when the meter reading data is received (step S1201: YES), the meter reading data communication unit 203 stores the meter reading data in the meter reading data storage unit 230 (step S1202).
  • the meter reading data communication unit 203 identifies the connected device 101 that is the sender (step S1203), transmits a response signal to the identified connected device 101 (step S1204), and ends the series of processes.
  • Fig. 13 is a flowchart showing an example of a setting value data update process performed by the connected device 101.
  • the setting value update unit 704 judges whether a certain time related to the update of the setting value data has elapsed (step S1301).
  • the setting value update unit 704 waits until the certain time has elapsed (step S1301: NO).
  • the setting value update unit 704 acquires the setting value data (upper limit value and lower limit value) stored in the setting value data storage unit 710 (step S1302).
  • the setting value update unit 704 judges whether the value (delay period) obtained by subtracting the lower limit value from the upper limit value is equal to or less than the maximum width (step S1303). If it is judged that the delay period is equal to or less than the maximum width (step S1303: YES), the setting value update unit 704 ends the series of processes. On the other hand, if the delay period is not equal to or less than the maximum width (step S1303: NO), that is, if the delay period is less than the maximum width, the setting value update unit 704 obtains the most recent n transmission history data from the transmission history data storage unit 730 (step S1304).
  • the setting value update unit 704 extracts the number of failures from the acquired transmission history data for the most recent n times, and determines whether the extracted number of failures is equal to or greater than a threshold value (step S1305). If the number of failures is not equal to or greater than the threshold value (step S1305: NO), that is, if the number of failures is less than the threshold value, the setting value update unit 704 ends the series of processes.
  • step S1305 if the number of failures is equal to or greater than the threshold (step S1305: YES), the setting value update unit 704 updates the upper limit (e.g., "+x minutes") of the setting value data stored in the setting value data storage unit 710 (step S1306) and updates the lower limit (e.g., "-y minutes") (step S1307).
  • the setting value transmission unit 705 then transmits the setting value data updated by the setting value update unit 704 to the data collection device 100 (step S1308), and the series of processes ends.
  • Fig. 14 is a flowchart showing an example of a setting value data update process performed by the data collection device 100.
  • the setting value acquisition unit 204 determines whether or not it has received setting value data updated by the connected device 101 (step S1401). The setting value acquisition unit 204 waits until it receives the setting value data (step S1401: NO).
  • the setting value processing unit 205 When the setting value acquisition unit 204 receives the setting value data (step S1401: YES), the setting value processing unit 205 refers to the group data table 221 and identifies the group to which the connected device 101 that sent the data belongs (step S1402). The setting value processing unit 205 then updates the setting value data of the identified group (step S1403). Next, the setting value processing unit 205 searches for connected devices 101 that belong to the identified group (step S1404).
  • the setting value notification unit 202 transmits the setting value data to all of the connected devices 101 found by the setting value processing unit 205 (step S1405), and ends the series of processes. Note that, upon receiving the setting value data, the connected device 101 performs the reception process shown in FIG. 10 to store the received setting value data in the setting value data storage unit 710.
  • Fig. 15 is a flowchart showing an example of a maximum width match determination process performed by the data collection device 100.
  • the maximum width match determination unit 206 determines whether a certain time for performing a maximum width match determination has elapsed (step S1501). The maximum width match determination unit 206 waits until the certain time has elapsed (step S1501: NO). When the certain time has elapsed (step S1501: YES), the maximum width match determination unit 206 sets the group ID of the determination target to "1" (step S1502).
  • the maximum width matching determination unit 206 refers to the setting value data table 222 and obtains the setting value data corresponding to the set group ID (step S1503). The maximum width matching determination unit 206 then determines whether the width (delay period) obtained by subtracting the lower limit value from the upper limit value is less than the maximum width (step S1504). If the delay period is less than the maximum width (step S1504: YES), the maximum width matching determination unit 206 proceeds to step S1506. On the other hand, if the delay period is not less than the maximum width (step S1504: NO), specifically, if the delay period and the maximum value match, the warning notification unit 212 issues a warning (step S1505).
  • the maximum width matching determination unit 206 determines whether the group ID is the maximum value (group IDmax) of the registered group IDs (step S1506). If the group ID is not group IDmax (step S1506: NO), the maximum width matching determination unit 206 adds "1" to the group ID (step S1507). Thereafter, the process proceeds to step S1503, where the maximum width matching determination unit 206 performs a maximum width matching determination for the next group. On the other hand, if the group ID is group IDmax (step S1506: YES), that is, if the maximum width matching determination has been completed for all groups, the process ends.
  • the data collection device 100 collects meter reading data transmitted from the terminal devices at random timing within the delay period updated for each group based on the acquisition result of the meter reading data.
  • the delay period can be updated based on the collection result of the meter reading data, so that the transmission timing from the connected device 101 can be appropriately distributed. Therefore, according to the present embodiment, congestion related to the collection of the meter reading data can be suppressed.
  • the delay period can be updated up to a maximum period that is set in advance for each group. In this way, by setting a maximum period, it is possible to collect meter reading data within the range of the maximum period assigned to each group. If a maximum period were not set, there would be a risk that the timing of meter reading data transmission would overlap between groups, which could cause congestion. According to this embodiment, congestion related to the collection of meter reading data for each group can be effectively suppressed.
  • the data collection device 100 notifies the user when the delay period has been updated to the maximum period. This makes it possible to prompt the user to change the maximum period. In addition, changing the maximum period can prevent congestion from occurring.
  • the data collection device 100 acquires setting value data for one connected device 101 in a group, it updates all setting value data in the group based on the acquired setting value data. This makes it possible to reduce failures in the transmission of meter reading data not only for that one connected device 101, but also for other connected devices 101 in the group. In other words, congestion in the group can be prevented.
  • the connected devices 101 transmit meter reading data to the data collection device 100 at random timing for each group within a delay period that is updated for each group based on the transmission history data of the meter reading data.
  • the delay period can be updated based on the meter reading data collection results, so that the transmission timing from the connected devices 101 can be appropriately distributed. Therefore, according to this embodiment, congestion in the transmission of meter reading data can be suppressed.
  • the delay period can be updated up to a maximum period that is set in advance for each group. In this way, by setting a maximum period, it is possible to transmit meter reading data within the range of the maximum period assigned to each group. If a maximum period were not set, there would be a risk that the timing of transmitting meter reading data would overlap between groups, which could cause congestion. According to this embodiment, congestion related to the transmission of meter reading data for each group can be effectively suppressed.
  • the connected device 101 updates the delay period based on the transmission history data, and transmits setting value data indicating the updated delay period to the data collection device 100. This allows each connected device 101 to update the delay period by itself. Furthermore, since the data collection device 100 only needs to update the setting value data in the setting value data table 222, it is possible to suppress processing overload in the data collection device 100 in relation to updating the delay period.
  • the meter reading data communication unit 203 (FIG. 2) of the data collection device 100 manages the delay period for each group. For example, the meter reading data communication unit 203 determines for each group whether or not meter reading data is received from each connected device 101 within the delay period. If the meter reading data communication unit 203 receives meter reading data within the delay period, it stores a reception history indicating successful reception for the connected device 101 that transmitted the data in the meter reading data storage unit 230. On the other hand, if the regular meter reading data communication unit 703 does not receive meter reading data within the delay period, it stores a reception history indicating unsuccessful reception for the connected device 101 that transmitted the data in the meter reading data storage unit 230.
  • the setting value processing unit 205 extracts each connected device 101 for each group each time a certain period of time related to updating the setting value data has elapsed. Then, for each extracted connected device 101, the setting value processing unit 205 extracts the number of failures from the most recent n reception history data on the condition that the delay period (upper limit and lower limit) is equal to or less than the maximum width. Furthermore, the setting value processing unit 205 determines whether the extracted number of failures is equal to or greater than a threshold value. If the number of failures is equal to or greater than the threshold value, the setting value processing unit 205 updates the delay period of the connected device 101.
  • the setting value notification unit 202 transmits the updated setting value data to all connected devices 101 in the group to which the connected device 101 that was the subject of the update belongs.
  • the setting value data can be stored in the setting value data storage unit 710. Even in this way, the connected devices 101 can thereafter transmit meter reading data to the data collection device 100 at a timing based on the updated setting value data.
  • the data collection device 100 updates the delay period for each group based on the reception history (acquisition results) of the meter reading data. This allows the data collection device 100 to collectively update the delay period for each connected device 101. Therefore, according to the first modification, the transmission timing from the connected devices 101 can be appropriately distributed, thereby reducing congestion related to the collection of meter reading data.
  • the setting unit 201 acquires information such as the connected device type, connected device ID, and IP address from each connected device 101, and inputs the acquired information into the group data table 221.
  • the setting unit 201 also acquires location information from the connected devices 101, and determines a group (group ID) based on the location information. Specifically, the setting unit 201 determines connected devices 101 located within a specified area as belonging to the same group. The setting unit 201 then inputs the determined group ID into the group data table 221. This makes it possible to automatically generate the group data table 221.
  • the setting unit 201 also inputs the delay period (upper and lower limits) and maximum width values into the setting value data table 222 based on the acquired type of connected device 101 and the set group.
  • the data collection device 100 stores in advance in a specified storage unit a table that associates the type of connected device 101, the number of connected devices belonging to a group, and each value (delay period and maximum width).
  • the setting unit 201 refers to the table to identify each value based on the type of connected device 101 and the number of connected devices, and inputs each identified value into the setting value data table 222.
  • the programs for implementing the data collection system 1, data collection device 100, and connection device 101 described above may be recorded on a computer-readable recording medium, and the programs may be read into a computer system for execution.
  • the term "computer system” as used herein includes hardware such as an OS and peripheral devices.
  • the term "computer-readable recording medium” refers to portable media such as USB (Universal Serial Bus) flash memory, SSD (Solid State Drive), flexible disk, optical magnetic disk, ROM, and CD-ROM, and storage devices such as hard disks built into a computer system.
  • the term "computer-readable recording medium” also includes devices that hold a program for a certain period of time, such as volatile memory (RAM) inside a computer system that becomes a server or client when a program is transmitted via a network such as the Internet or a communication line such as a telephone line.
  • RAM volatile memory
  • the above-mentioned program may be transmitted from a computer system that stores the program in a storage device, etc., to another computer system via a transmission medium, or by transmission waves in the transmission medium.
  • the "transmission medium” that transmits the program refers to a medium that has the function of transmitting information, such as a network (communication network) such as the Internet or a communication line (communication line) such as a telephone line.
  • the above program may also be one that realizes part of the above-mentioned functions. Furthermore, it may be one that can realize the above-mentioned functions in combination with a program already recorded in the computer system, a so-called differential file (differential program).
  • 1...Data collection system 100...Data collection device, 101...Connected device, 110, 110a, 110b...Smart meter, 120...Concentrator, 130...IoT root terminal, 140...Meter, 201...Setting unit, 202...Setting value notification unit, 203...Meter reading data communication unit, 204...Setting value acquisition unit, 205...Setting value processing unit, 206...Maximum width match determination unit, 210...User interface unit, 220...Master data storage unit, 221...Group data table, 222...Setting value data table, 230...Meter reading data storage unit, 701...Setting value acquisition unit, 702...Periodic meter reading processing unit, 703...Periodic meter reading communication unit, 704...Setting value update unit, 705...Setting value transmission unit, 710...Setting value data storage unit, 720...Meter reading data storage unit, 730...Transmission history data storage unit

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

This data collecting device comprises a setting unit and a meter-read value acquiring unit. The setting unit sets groups of terminal devices from which meter-read value data are to be acquired, and also sets, for each group, a reference timing related to the transmission of the meter-read value data as well as a delay time period relative to the reference timing. The meter-read value acquiring unit acquires the meter-read value data transmitted from the terminal devices at random timings within the delay time period. The delay timing period is updated, for each group, on the basis of the acquisition results of the meter-read value data in the meter-read value acquiring unit. The meter-read value acquiring unit acquires the meter-read value data transmitted from the terminal devices at random timings within the updated delay time period.

Description

データ収集装置、端末装置、データ収集システム、データ収集方法、データ送信方法、およびプログラムData collection device, terminal device, data collection system, data collection method, data transmission method, and program
 本発明は、データ収集装置、端末装置、データ収集システム、データ収集方法、データ送信方法、およびプログラムに関する。 The present invention relates to a data collection device, a terminal device, a data collection system, a data collection method, a data transmission method, and a program.
 近年、電気、ガス、水道などの使用量を自動で検針して、データ収集装置に検針値を送信するスマートメータなどの端末装置が普及している。ここで、端末装置が同一のタイミングで、データ収集装置に検針値データを送信すると、輻輳が生じ、データ収集装置の処理負荷となってしまうことがある。 In recent years, terminal devices such as smart meters that automatically read electricity, gas, water, and other usage and transmit the meter readings to a data collection device have become widespread. If multiple terminal devices transmit meter reading data to the data collection device at the same time, congestion can occur, placing a processing load on the data collection device.
 関連する技術として、モバイルネットワーク通信において、端末を複数のグループに分け、所定の時間幅に関する情報を、端末のグループごとに設定し、乱数発生器により生成された数字に基づいて遅延時間を所定の時間幅内で計算し、複数の端末ごとの遅延時間とする通信システムが開示されている。 A related technology has been disclosed in a communications system for mobile network communications in which terminals are divided into multiple groups, information relating to a predetermined time span is set for each group of terminals, and delay times are calculated within the predetermined time span based on numbers generated by a random number generator, resulting in delay times for each of the multiple terminals.
国際公開第2016/157821号International Publication No. 2016/157821
 しかしながら、従来技術では、グループごとに所定の時間幅を設定してランダムなタイミングで検針値データを送信するようにしたとしても、スマートメータ等の端末装置の増設などがあると、なおも輻輳が生じてしまうおそれがある、という問題があった。 However, with conventional technology, even if a specific time interval is set for each group and meter reading data is sent at random times, there is still a problem that congestion may occur if additional terminal devices such as smart meters are installed.
 本発明は、このような事情に鑑みてなされたもので、その目的は、検針値データの収集に係る輻輳を抑えることができる技術を提供することにある。 The present invention was made in consideration of these circumstances, and its purpose is to provide technology that can reduce congestion related to the collection of meter reading data.
 上述した課題を解決するために、本発明の一態様であるデータ収集装置は、検針値データを取得する端末装置のグループを設定するとともに、グループごとに、検針値データの送信に係る基準タイミングと、前記基準タイミングからの遅延期間とを設定する設定部と、前記遅延期間内のランダムなタイミングで前記端末装置から送信される検針値データを取得する検針値取得部と、を備え、前記遅延期間は、前記検針値取得部における検針値データの取得結果に基づいて、グループごとに更新され、前記検針値取得部は、更新された前記遅延期間内のランダムなタイミングで前記端末装置から送信される検針値データを取得する、データ収集装置である。 In order to solve the above-mentioned problems, a data collection device according to one aspect of the present invention is a data collection device that includes a setting unit that sets groups of terminal devices that acquire meter reading data, and that sets, for each group, a reference timing for transmitting meter reading data and a delay period from the reference timing, and a meter reading acquisition unit that acquires meter reading data transmitted from the terminal devices at random timing within the delay period, the delay period being updated for each group based on the results of acquisition of meter reading data by the meter reading acquisition unit, and the meter reading acquisition unit acquiring the meter reading data transmitted from the terminal devices at random timing within the updated delay period.
 上述した課題を解決するために、本発明の他の態様である端末装置は、検針値データの送信に係る基準タイミングと、前記基準タイミングからの遅延期間とがグループごとに設定された設定情報を取得する設定情報取得部と、前記遅延期間内のランダムなタイミングで、検針値データをデータ収集装置へ送信する検針値送信部と、を備え、前記遅延期間は、前記検針値送信部よって送信された検針値データの前記データ収集装置における取得結果に基づいて、グループごとに更新され、前記検針値送信部は、更新された前記遅延期間内のランダムなタイミングで、前記データ収集装置へ検針値データを送信する、端末装置である。 In order to solve the above-mentioned problems, a terminal device according to another aspect of the present invention is a terminal device that includes a setting information acquisition unit that acquires setting information in which a reference timing for transmitting meter reading data and a delay period from the reference timing are set for each group, and a meter reading value transmission unit that transmits meter reading data to a data collection device at a random timing within the delay period, the delay period being updated for each group based on the acquisition result in the data collection device of the meter reading data transmitted by the meter reading value transmission unit, and the meter reading value transmission unit transmitting the meter reading data to the data collection device at a random timing within the updated delay period.
 上述した課題を解決するために、本発明の他の態様であるデータ収集システムは、検針値データを取得する端末装置と、前記端末装置から検針値データを取得するデータ収集装置と、を含む収集システムであって、前記データ収集装置は、前記端末装置のグループを設定するとともに、グループごとに、検針値データの送信に係る基準タイミングと、前記基準タイミングからの遅延期間とを設定する設定部と、前記遅延期間内のランダムなタイミングで前記端末装置から送信される検針値データを取得する検針値取得部と、を備え、前記端末装置は、前記基準タイミングと、前記遅延期間とがグループごとに設定された設定情報を取得する設定情報取得部と、前記遅延期間内のランダムなタイミングで、検針値データを前記データ収集装置へ送信する検針値送信部と、を備え、前記遅延期間は、前記検針値取得部における検針値データの取得結果に基づいて、グループごとに更新され、前記検針値送信部は、更新された前記遅延期間内のランダムなタイミングで、前記データ収集装置へ検針値データを送信し、前記検針値取得部は、更新された前記遅延期間内のランダムなタイミングで前記端末装置から送信される検針値データを取得する、データ収集システムである。 In order to solve the above-mentioned problems, a data collection system according to another aspect of the present invention is a collection system including a terminal device that acquires meter reading data, and a data collection device that acquires the meter reading data from the terminal device, the data collection device having a setting unit that sets groups of the terminal devices and, for each group, sets a reference timing for transmitting the meter reading data and a delay period from the reference timing, and a meter reading acquisition unit that acquires the meter reading data transmitted from the terminal devices at random timing within the delay period, and the terminal devices have a setting unit that sets the reference timing and the delay period, The data collection system includes a setting information acquisition unit that acquires setting information in which a delay period is set for each group, and a meter reading value transmission unit that transmits meter reading data to the data collection device at random timing within the delay period, the delay period is updated for each group based on the result of acquisition of meter reading data by the meter reading value acquisition unit, the meter reading value transmission unit transmits meter reading data to the data collection device at random timing within the updated delay period, and the meter reading value acquisition unit acquires the meter reading data transmitted from the terminal device at random timing within the updated delay period.
 上述した課題を解決するために、本発明の他の態様であるデータ収集方法は、データ収集装置のコンピュータが、検針値データを取得する端末装置のグループを設定するとともに、グループごとに、検針値データの送信に係る基準タイミングと、前記基準タイミングからの遅延期間とを設定する設定ステップと、前記遅延期間内のランダムなタイミングで前記端末装置から送信される検針値データを取得する検針値取得ステップと、を含む処理を実行し、前記遅延期間は、前記検針値取得ステップにおける検針値データの取得結果に基づいて、グループごとに更新され、前記検針値取得ステップでは、更新された前記遅延期間内のランダムなタイミングで前記端末装置から送信される検針値データを取得する、データ収集方法である。 In order to solve the above-mentioned problems, the data collection method according to another aspect of the present invention is a data collection method in which a computer of a data collection device sets groups of terminal devices that acquire meter reading data, and executes a process including a setting step of setting, for each group, a reference timing for transmitting meter reading data and a delay period from the reference timing, and a meter reading acquisition step of acquiring meter reading data transmitted from the terminal device at a random timing within the delay period, the delay period being updated for each group based on the results of acquisition of meter reading data in the meter reading acquisition step, and the meter reading acquisition step acquiring meter reading data transmitted from the terminal device at a random timing within the updated delay period.
 上述した課題を解決するために、本発明の他の態様であるデータ送信方法は、端末装置のコンピュータが、検針値データの送信に係る基準タイミングと、前記基準タイミングからの遅延期間とがグループごとに設定された設定情報を取得する設定情報取得ステップと、前記遅延期間内のランダムなタイミングで、検針値データをデータ収集装置へ送信する検針値送信ステップと、を含む処理を実行し、前記遅延期間は、前記検針値送信ステップにおいて送信された検針値データの前記データ収集装置における取得結果に基づいて、グループごとに更新され、前記検針値送信ステップでは、更新された前記遅延期間内のランダムなタイミングで、前記データ収集装置へ検針値データを送信する、データ送信方法である。 In order to solve the above-mentioned problems, the data transmission method according to another aspect of the present invention is a data transmission method in which a computer of a terminal device executes a process including a setting information acquisition step for acquiring setting information in which a reference timing for transmitting meter reading data and a delay period from the reference timing are set for each group, and a meter reading transmission step for transmitting meter reading data to a data collection device at a random timing within the delay period, the delay period being updated for each group based on the acquisition result of the meter reading data transmitted in the meter reading transmission step by the data collection device, and the meter reading transmission step transmitting the meter reading data to the data collection device at a random timing within the updated delay period.
 上述した課題を解決するために、本発明の他の態様であるプログラムは、コンピュータをデータ収集装置として機能させるプログラムであって、前記コンピュータを、検針値データを取得する端末装置のグループを設定するとともに、グループごとに、検針値データの送信に係る基準タイミングと、前記基準タイミングからの遅延期間とを設定する設定部、前記遅延期間内のランダムなタイミングで前記端末装置から送信される検針値データを取得する検針値取得部、として機能させ、前記遅延期間は、前記検針値取得部における検針値データの取得結果に基づいて、グループごとに更新され、前記検針値取得部は、更新された前記遅延期間内のランダムなタイミングで前記端末装置から送信される検針値データを取得する、プログラムである。 In order to solve the above-mentioned problems, another aspect of the present invention is a program that causes a computer to function as a data collection device, and causes the computer to function as a setting unit that sets groups of terminal devices that acquire meter reading data, and sets, for each group, a reference timing for transmitting meter reading data and a delay period from the reference timing, and a meter reading acquisition unit that acquires meter reading data transmitted from the terminal devices at random timing within the delay period, the delay period being updated for each group based on the results of acquisition of meter reading data by the meter reading acquisition unit, and the meter reading acquisition unit acquiring the meter reading data transmitted from the terminal devices at random timing within the updated delay period.
 上述した課題を解決するために、本発明の他の態様であるプログラムは、コンピュータを端末装置として機能させるプログラムであって、前記コンピュータを、検針値データの送信に係る基準タイミングと、前記基準タイミングからの遅延期間とがグループごとに設定された設定情報を取得する設定情報取得部、前記遅延期間内のランダムなタイミングで、検針値データをデータ収集装置へ送信する検針値送信部、として機能させ、前記遅延期間は、前記検針値送信部によって送信された検針値データの前記データ収集装置における取得結果に基づいて、グループごとに更新され、前記検針値送信部は、更新された前記遅延期間内のランダムなタイミングで、前記データ収集装置へ検針値データを送信する、プログラムである。 In order to solve the above-mentioned problems, another aspect of the present invention is a program that causes a computer to function as a terminal device, and causes the computer to function as a setting information acquisition unit that acquires setting information in which a reference timing for transmitting meter reading data and a delay period from the reference timing are set for each group, and a meter reading transmission unit that transmits meter reading data to a data collection device at a random timing within the delay period, the delay period being updated for each group based on the acquisition result in the data collection device of the meter reading data transmitted by the meter reading transmission unit, and the meter reading transmission unit transmitting the meter reading data to the data collection device at a random timing within the updated delay period.
 本発明によれば、検針値データの収集に係る輻輳を抑えることができる。 The present invention makes it possible to reduce congestion related to the collection of meter reading data.
実施形態に係るデータ収集システム1の構成を示す図である。1 is a diagram showing a configuration of a data collection system 1 according to an embodiment. データ収集システム1におけるデータ収集装置100の機能的構成を示す図である。FIG. 2 is a diagram showing a functional configuration of a data collection device 100 in the data collection system 1. ユーザインタフェース部210に表示される登録/変更画面の一例を示す図である。13 is a diagram showing an example of a registration/change screen displayed on a user interface unit 210. FIG. グループデータテーブル221の一例を示す図である。FIG. 2 is a diagram showing an example of a group data table 221. 設定値データテーブル222の一例を示す図である。FIG. 4 illustrates an example of a setting value data table 222. 設定値データに基づく各グループの送信タイミングの一例を示す図である。FIG. 11 is a diagram showing an example of transmission timing for each group based on setting value data. ユーザインタフェース部210に表示される警告の一例を示す図である。FIG. 13 is a diagram showing an example of a warning displayed on the user interface unit 210. データ収集システム1における接続機器101の機能的構成を示す図である。FIG. 2 is a diagram showing the functional configuration of a connection device 101 in the data collection system 1. データ収集システム1が備える各装置のコンピュータ装置のハードウェア構成を示すブロック図である。FIG. 2 is a block diagram showing the hardware configuration of a computer device of each device included in the data collection system 1. データ収集装置100が行う接続機器101の登録処理の一例を示すフローチャートである。10 is a flowchart showing an example of a registration process of a connection device performed by the data collection device. 接続機器101が行う設定値データの受信処理の一例を示すフローチャートである。10 is a flowchart showing an example of a setting value data receiving process performed by the connected device 101; 接続機器101が行う検針値データの送信処理の一例を示すフローチャートである。10 is a flowchart showing an example of a meter reading value data transmission process performed by a connected device 101. データ収集装置100が行う検針値データの受信処理の一例を示すフローチャートである。4 is a flowchart showing an example of a meter reading data receiving process performed by the data collection device 100; 接続機器101が行う設定値データの更新処理の一例を示すフローチャートである。10 is a flowchart showing an example of a setting value data update process performed by the connected device 101. データ収集装置100が行う設定値データの更新処理の一例を示すフローチャートである。10 is a flowchart showing an example of a setting value data update process performed by the data collection device 100. データ収集装置100が行う最大幅一致判定処理の一例を示すフローチャートである。10 is a flowchart showing an example of a maximum width match determination process performed by the data collection device 100.
 以下、本発明の実施形態を、図面を参照しつつ説明する。以下で説明する実施形態は一例に過ぎず、本発明が適用される実施形態は、以下の実施形態に限られない。 Below, an embodiment of the present invention will be described with reference to the drawings. The embodiment described below is merely an example, and the embodiment to which the present invention is applicable is not limited to the following embodiment.
(実施形態)
(データ収集システム1の構成)
 図1は、実施形態に係るデータ収集システム1の構成を示す図である。データ収集システム1は、家庭等で使用される電気、ガス、水道などの使用量を自動で検針して、収集するシステムである。図1に示すように、データ収集システム1は、データ収集装置100と、スマートメータ110(110a、110b)と、コンセントレータ120と、IoT(Internet of Things)ルート端末130と、計量器140とを含む。データ収集装置100と、スマートメータ110aおよびコンセントレータ120とは、ネットワーク190に接続されており、携帯電話網や光通信網などで相互に通信可能になっている。
(Embodiment)
(Configuration of Data Collection System 1)
Fig. 1 is a diagram showing a configuration of a data collection system 1 according to an embodiment. The data collection system 1 is a system that automatically reads and collects the usage of electricity, gas, water, etc. used in a home or the like. As shown in Fig. 1, the data collection system 1 includes a data collection device 100, smart meters 110 (110a, 110b), a concentrator 120, an IoT (Internet of Things) root terminal 130, and a meter 140. The data collection device 100, the smart meter 110a, and the concentrator 120 are connected to a network 190, and are capable of communicating with each other via a mobile phone network, an optical communication network, or the like.
 データ収集装置100は、例えば、HES(ヘッドエンドシステム)サーバである。データ収集装置100は、接続される各接続機器から検針値データを収集する。データ収集装置100は、さらに上位のサーバに接続されており、収集した検針値データを上位のサーバへ送信する。 The data collection device 100 is, for example, a HES (head-end system) server. The data collection device 100 collects meter reading data from each connected device. The data collection device 100 is further connected to a higher-level server, and transmits the collected meter reading data to the higher-level server.
 データ収集装置100に接続される各接続機器は、グループに分類されている。グループは、例えば、接続機器の種別や、接続機器が配置されるエリアに応じて分類される。例えば、グループ1、2は、それぞれ複数のスマートメータ110aの分類を示す。また、グループ3は、コンセントレータ120の配下に置かれるスマートメータ110bの分類を示す。グループ4は、IoTルート端末130の配下に置かれる計量器140の分類を示す。各グループ1~4は、それぞれ異なる周期で検針値データをデータ収集装置100へ送信するように設定されている。 Each connected device connected to the data collection device 100 is classified into groups. The groups are classified, for example, according to the type of connected device or the area in which the connected device is located. For example, groups 1 and 2 each indicate a classification of multiple smart meters 110a. Group 3 indicates a classification of smart meters 110b placed under the concentrator 120. Group 4 indicates a classification of meters 140 placed under the IoT root terminal 130. Each of groups 1 to 4 is set to transmit meter reading data to the data collection device 100 at a different period.
 スマートメータ110aは、電力をデジタルで検出するとともに、通信機能を有する電子式の電力計量器である。スマートメータ110aは、検針値データを直接、データ収集装置100へ送信する。 The smart meter 110a is an electronic power meter that digitally detects power and has a communication function. The smart meter 110a transmits meter reading data directly to the data collection device 100.
 コンセントレータ120は、配下のスマートメータ110bから受信した検針値データ等の各種データをデータ収集装置100へ送信する。具体的には、コンセントレータ120は、配下のスマートメータ110bに接続する。スマートメータ110bは、ネットワーク190に接続されておらず、無線マルチホップ(バケツリレー形式)により、他のスマートメータ110bを介して、コンセントレータ120へ検針値データを送信する。具体的には、各スマートメータ110bは、無線通信ユニットを備え、当該無線通信ユニットを中継器として利用して、他のスマートメータ110bに検針値データを順次転送し、最終的にコンセントレータ120まで検針値データを送信する。コンセントレータ120は、スマートメータ110bから受信した検針値データをデータ収集装置100へ送信する。 The concentrator 120 transmits various data such as meter reading data received from the smart meter 110b under its control to the data collection device 100. Specifically, the concentrator 120 connects to the smart meter 110b under its control. The smart meter 110b is not connected to the network 190, and transmits meter reading data to the concentrator 120 via other smart meters 110b by wireless multi-hop (bucket brigade format). Specifically, each smart meter 110b is equipped with a wireless communication unit, and uses the wireless communication unit as a repeater to sequentially transfer the meter reading data to other smart meters 110b, and finally transmits the meter reading data to the concentrator 120. The concentrator 120 transmits the meter reading data received from the smart meter 110b to the data collection device 100.
 IoTルート端末130は、配下の計量器140から受信した検針値データを、スマートメータ110a(またはコンセントレータ120)を介して、データ収集装置100へ送信する通信機能を有する。IoTルート端末130は、配下の計量器140に接続する。計量器140は、共同検針計量器や、特例計量器である。共同検針計量器は、電気、ガス、水道などの複数の検針対象を共同で利用する計量器である。特例計量器は、所定の法律(計量法)に基づく検定を受けていないものの、一定の基準を満たした計量器である。例えば、特例計量器は、家庭等の太陽光発電や電気自動車などの各設備に付随する計量器である。IoTルート端末130と、計量器との間の通信には、例えば、Uバスや、ECHONET Lite(登録商標)などの通信規格が用いられる。ただし、上記の通信規格は、一例に過ぎず、他の通信規格が用いられる場合もある。 The IoT root terminal 130 has a communication function to transmit meter reading data received from the subordinate meters 140 to the data collection device 100 via the smart meter 110a (or concentrator 120). The IoT root terminal 130 connects to the subordinate meters 140. The meters 140 are common meter reading meters or special meter reading meters. Common meter reading meters are meters that are used jointly for multiple meter reading targets such as electricity, gas, and water. Special meter reading meters are meters that meet certain standards but have not been inspected under a specific law (Weights and Measures Act). For example, special meter reading meters are meters that are attached to various facilities such as solar power generation in homes and electric vehicles. For communication between the IoT root terminal 130 and the meters, communication standards such as U-bus and ECHONET Lite (registered trademark) are used. However, the above communication standards are merely examples, and other communication standards may also be used.
 なお、図示では、グループ3に属するスマートメータ110bは、コンセントレータ120に接続されており、コンセントレータ120を介して、検針値データをデータ収集装置100へ送信する例を示すが、これに限らない。例えば、スマートメータ110bは、スマートメータ110aに接続されてもよく、この場合、自装置が属するグループのスマートメータ110aを介して、検針値データをデータ収集装置100へ送信してもよい。 In the figure, the smart meter 110b belonging to group 3 is connected to the concentrator 120, and an example is shown in which the meter reading data is transmitted to the data collection device 100 via the concentrator 120, but this is not limited to the above. For example, the smart meter 110b may be connected to the smart meter 110a, and in this case, the smart meter 110b may transmit the meter reading data to the data collection device 100 via the smart meter 110a of the group to which the smart meter 110b belongs.
 また、計量器140についても同様である。具体的には、計量器140は、図示では、IoTルート端末130に接続されており、IoTルート端末130を介して、検針値データをデータ収集装置100へ送信する例を示すが、これに限らない。例えば、計量器140は、スマートメータ110aに接続されてもよく、この場合、自装置が属するグループのスマートメータ110aを介して、検針値データをデータ収集装置100へ送信してもよい。 The same applies to the meter 140. Specifically, in the figure, the meter 140 is connected to the IoT root terminal 130, and an example is shown in which the meter 140 transmits meter reading data to the data collection device 100 via the IoT root terminal 130, but this is not limited to this. For example, the meter 140 may be connected to a smart meter 110a, and in this case, the meter 140 may transmit meter reading data to the data collection device 100 via the smart meter 110a of the group to which the meter 140 belongs.
(データ収集装置100の機能的構成)
 図2は、データ収集システム1におけるデータ収集装置100の機能的構成を示す図である。図2において、データ収集システム1は、データ収集装置100と、接続機器101とを備える。接続機器101(端末装置の一例)は、スマートメータ110a、110bと、コンセントレータ120と、IoTルート端末130と、計量器140とを含む。
(Functional configuration of data collection device 100)
Fig. 2 is a diagram showing a functional configuration of the data collection device 100 in the data collection system 1. In Fig. 2, the data collection system 1 includes the data collection device 100 and a connection device 101. The connection device 101 (an example of a terminal device) includes smart meters 110a and 110b, a concentrator 120, an IoT root terminal 130, and a meter 140.
 データ収集装置100は、設定部201と、設定値通知部202と、検針値データ通信部203と、設定値取得部204と、設定値処理部205と、最大幅一致判定部206と、ユーザインタフェース部210と、マスタデータ記憶部220と、検針値データ記憶部230とを備える。 The data collection device 100 includes a setting unit 201, a setting value notification unit 202, a meter reading data communication unit 203, a setting value acquisition unit 204, a setting value processing unit 205, a maximum width match determination unit 206, a user interface unit 210, a master data storage unit 220, and a meter reading data storage unit 230.
 設定部201は、接続機器101が属するグループや、グループごとの設定値データの設定を行う。設定部201は、ユーザインタフェース部210が備える設定受付部211がユーザから受け付けたグループを設定する。ここで、図3を用いて、ユーザインタフェース部210に表示される画面例について説明する。 The setting unit 201 sets the group to which the connected device 101 belongs and the setting value data for each group. The setting unit 201 sets the group that the setting reception unit 211 provided in the user interface unit 210 receives from the user. Here, an example of a screen displayed on the user interface unit 210 will be described with reference to FIG. 3.
(ユーザインタフェース部210に表示される画面例)
 図3は、ユーザインタフェース部210に表示される登録/変更画面の一例を示す図である。図3に示すように、ユーザインタフェース部210には、登録/変更画面300が表示されている。登録/変更画面300は、例えば、トップ画面から所定の登録開始ボタンの押下を受け付けることにより表示される。登録/変更画面300は、接続機器種別選択ボタン301と、接続機器ID入力ボタン302と、IPアドレス入力ボタン303と、グループID選択ボタン304と、収集周期入力ボタン305と、設定値データ入力ボタン306とを含む。各ボタン301~306は、設定受付部211の一例である。
(Example of a screen displayed on the user interface unit 210)
3 is a diagram showing an example of a registration/change screen displayed on the user interface unit 210. As shown in FIG. 3, a registration/change screen 300 is displayed on the user interface unit 210. The registration/change screen 300 is displayed, for example, by accepting pressing of a predetermined registration start button from the top screen. The registration/change screen 300 includes a connected device type selection button 301, a connected device ID input button 302, an IP address input button 303, a group ID selection button 304, a collection period input button 305, and a setting value data input button 306. Each of the buttons 301 to 306 is an example of the setting reception unit 211.
 接続機器種別選択ボタン301は、接続機器101(スマートメータ110a、110bと、コンセントレータ120と、IoTルート端末130と、計量器140)の種別の登録を行う画面への遷移を受け付ける。
 接続機器ID入力ボタン302は、接続機器101の識別情報である接続機器IDの入力を行う画面への遷移を受け付ける。
 IPアドレス入力ボタン303は、登録する接続機器101のIPアドレスの入力を行う画面への遷移を受け付ける。
The connected device type selection button 301 accepts transition to a screen for registering the types of the connected devices 101 (the smart meters 110a and 110b, the concentrator 120, the IoT root terminal 130, and the meter 140).
A connected device ID input button 302 accepts transition to a screen for inputting a connected device ID, which is identification information of the connected device 101 .
The IP address input button 303 accepts transition to a screen for inputting the IP address of the connected device 101 to be registered.
 グループID選択ボタン304は、登録する接続機器101のグループ識別情報であるグループIDの入力を行う画面への遷移を受け付ける。
 収集周期入力ボタン305は、各グループに設定される検針値データの収集周期や基準タイミングの入力を行う画面への遷移を受け付ける。なお、収集周期や基準タイミングについては、ユーザから入力されることに限らず、接続機器101ごとに予め定められていてもよい。例えば、収集周期は、スマートメータ110の種別(グループ)に応じて、15分、30分といった所定の時間が予め設定されていてもよい。なお、収集周期や基準タイミングが予め設定されるようにした場合、登録/変更画面300には、収集周期入力ボタン305が表示されていなくてもよい。
The group ID selection button 304 switches to a screen for inputting a group ID, which is group identification information of the connected device 101 to be registered.
The collection cycle input button 305 accepts transition to a screen for inputting the collection cycle and reference timing of meter reading data set for each group. The collection cycle and reference timing are not limited to being input by the user, and may be predetermined for each connected device 101. For example, the collection cycle may be preset to a predetermined time such as 15 minutes or 30 minutes depending on the type (group) of the smart meter 110. When the collection cycle and reference timing are preset, the registration/change screen 300 may not display the collection cycle input button 305.
 設定値データ入力ボタン306は、各グループに設定される収集周期(検針値データの送信周期)および基準タイミングを基準とした遅延期間(上限値および下限値)の入力や、後述する最大幅の入力を行う画面への遷移を受け付ける。 The setting value data input button 306 accepts the input of the collection period (period of transmission of meter reading data) and delay period (upper and lower limits) based on the reference timing set for each group, as well as transition to a screen for inputting the maximum width, which will be described later.
 例えば、新規登録や登録内容の変更を行う場合、ユーザは、各ボタン301~306を順次押下して、登録対象の接続機器101について、接続機器種別、接続機器ID、IPアドレス、グループID、収集周期、基準タイミング、遅延期間(上限値と下限値)、および最大幅の入力を行う。これにより、接続機器101の新規登録や登録内容の変更を行うことができる。また、各接続機器101は、設定されるグループごとの遅延期間内の乱数に基づくタイミングで、検針値データをデータ収集装置100へ送信することが可能になる。 For example, when making a new registration or changing the registered contents, the user presses each of the buttons 301 to 306 in sequence to input the connected device type, connected device ID, IP address, group ID, collection cycle, reference timing, delay period (upper limit and lower limit), and maximum width for the connected device 101 to be registered. This makes it possible to make a new registration of a connected device 101 or change the registered contents. Also, each connected device 101 becomes able to transmit meter reading data to the data collection device 100 at a timing based on a random number within the delay period set for each group.
 設定部201は、グループを設定すると、設定したグループを示すグループデータを、マスタデータ記憶部220が備えるグループデータテーブル221に記憶させる。また、設定部201は、上限値および下限値を設定すると、設定した上限値および下限値を示す設定値データを、マスタデータ記憶部220が備える設定値データテーブル222に記憶させる。ここで、グループデータテーブル221および設定値データテーブル222について詳述する。 When the setting unit 201 sets a group, it stores group data indicating the set group in the group data table 221 provided in the master data storage unit 220. Furthermore, when the setting unit 201 sets upper and lower limit values, it stores setting value data indicating the set upper and lower limit values in the setting value data table 222 provided in the master data storage unit 220. Here, the group data table 221 and the setting value data table 222 will be described in detail.
(グループデータテーブル221の一例)
 図4は、グループデータテーブル221の一例を示す図である。図4において、グループデータテーブル221は、「接続機器種別」と、「接続機器ID」と、「接続機器IPアドレス」と、「グループID」との各項目を含む。
 「接続機器種別」は、スマートメータ110a、コンセントレータ120、およびIoTルート端末130のうちのいずれかを示す。
 「接続機器ID」は、接続機器101の識別情報である接続機器IDを示す。
 「接続機器IPアドレス」は、接続機器101のIPアドレスを示す。
 「グループID」は、接続機器101のグループ識別情報であるグループIDを示す。
(An example of the group data table 221)
Fig. 4 is a diagram showing an example of the group data table 221. In Fig. 4, the group data table 221 includes the following items: "connected device type", "connected device ID", "connected device IP address", and "group ID".
The “connected device type” indicates any one of the smart meter 110 a, the concentrator 120, and the IoT root terminal 130.
“Connected device ID” indicates a connected device ID that is identification information of the connected device 101 .
“Connected device IP address” indicates the IP address of the connected device 101 .
“Group ID” indicates the group ID that is group identification information of the connected device 101 .
 ユーザによって各項目にデータが入力されることにより、グループデータがレコードとして記憶される。一例を挙げると、グループデータ211aは、「スマートメータ(スマートメータ110a)」の接続機器種別を示しており、接続機器IDが「1」であり、接続機器IPアドレスが「10.11.12.13」であることを示している。また、当該接続機器101は、グループID「1」のグループに属することを示している。 The group data is stored as a record as a result of the user inputting data into each field. As an example, the group data 211a indicates the connected device type of "Smart Meter (Smart Meter 110a)", the connected device ID is "1", and the connected device IP address is "10.11.12.13". It also indicates that the connected device 101 belongs to a group with group ID "1".
(設定値データテーブル222の一例)
 図5Aは、設定値データテーブル222の一例を示す図である。図5Aにおいて、設定値データテーブル222は、「グループID」と、「遅延期間」と、「遅延期間の最大幅」との各項目を含む。
 「グループID」は、接続機器101のグループ識別情報であるグループIDを示す。
 「遅延期間」は、「下限値」と、「上限値」と、「幅」とを含む。
 「下限値」は、各グループに設定される収集周期(検針値データの送信周期)を基準とした遅延期間の下限値(分)を示す。
 「上限値」は、各グループに設定される収集周期を基準とした遅延期間の上限値(分)を示す。上限値から下限値を減算した期間が遅延期間となる。例えば、上限値が10分であり、下限値が5分であるとすると、遅延期間は「10-5」=5分である。
 「遅延期間の最大幅」は、更新可能な遅延期間の最大期間を示す。
 遅延期間の最大幅について、補足する。グループ内の接続端末の数が増加した場合など、輻輳等により、データ収集装置100が接続機器101から検針値データを取得できなくなるおそれがある。そこで、本実施形態では、「上限値」および「下限値」のうち少なくとも一方を更新(変更)可能にしており、尚且つ、更新可能な最大幅を定めるようにしている。なお、本実施形態では、遅延期間は、接続機器101によって更新されることとする。
(An example of the setting value data table 222)
Fig. 5A is a diagram showing an example of the setting value data table 222. In Fig. 5A, the setting value data table 222 includes the following items: "group ID", "delay period", and "maximum width of delay period".
“Group ID” indicates the group ID that is group identification information of the connected device 101 .
The "delay period" includes a "lower limit", an "upper limit", and a "range".
The "lower limit" indicates the lower limit (minutes) of the delay period based on the collection cycle (the transmission cycle of meter reading data) set for each group.
"Upper limit" indicates the upper limit (minutes) of the delay period based on the collection cycle set for each group. The delay period is the period obtained by subtracting the lower limit from the upper limit. For example, if the upper limit is 10 minutes and the lower limit is 5 minutes, the delay period is "10-5" = 5 minutes.
The "maximum width of the delay period" indicates the maximum length of the delay period that can be updated.
A supplementary explanation regarding the maximum width of the delay period will be provided. When the number of connected terminals in a group increases, the data collection device 100 may be unable to acquire meter reading data from the connected device 101 due to congestion or the like. In this embodiment, therefore, at least one of the "upper limit value" and the "lower limit value" is made updateable (changeable), and the maximum width that can be updated is determined. In this embodiment, the delay period is updated by the connected device 101.
 ユーザによって各項目にデータが入力されることにより、設定値データがレコードとして記憶される。一例を挙げると、設定値データ222aは、グループIDが「1」の接続機器101について、遅延期間の下限値が5分、上限値が10分に設定されており、また、遅延期間の最大幅が10分に設定されていることを示している。すなわち、設定値データ222aは、グループIDが「1」の接続機器101については、遅延期間が5分(=10分-5分)であり、また、遅延期間が10分に拡大可能であることを示している。 The setting value data is stored as a record as the user inputs data into each item. As an example, the setting value data 222a indicates that for a connected device 101 with a group ID of "1," the lower limit of the delay period is set to 5 minutes, the upper limit to 10 minutes, and the maximum width of the delay period is set to 10 minutes. In other words, the setting value data 222a indicates that for a connected device 101 with a group ID of "1," the delay period is 5 minutes (= 10 minutes - 5 minutes), and that the delay period can be extended to 10 minutes.
(設定値データに基づく送信タイミングの一例)
 図5Bは、設定値データに基づく各グループの送信タイミングの一例を示す図である。図5Bにおいて、送信タイミング例500は、「グループID」と、「収集周期」と、「基準タイミング」と、「収集時刻」との各項目を含む。
 「グループID」は、接続機器101のグループ識別情報であるグループIDを示す。
 「収集周期」は、各グループに設定される検針値データの送信周期を示す。
 「基準タイミング」は、各グループに設定される検針値データの送信に係る毎時の基準時刻を示す。
 「収集時刻」は、収集周期と、基準タイミングと、遅延期間とに基づいて設定される遅延期間の毎時における時刻の幅を示す。
(An example of transmission timing based on setting value data)
5B is a diagram showing an example of the transmission timing of each group based on the setting value data. In FIG. 5B, a transmission timing example 500 includes items of "group ID", "collection cycle", "reference timing", and "collection time".
“Group ID” indicates the group ID that is group identification information of the connected device 101 .
The "collection period" indicates the transmission period of the meter reading data set for each group.
"Reference timing" indicates the hourly reference time for transmitting meter reading data that is set for each group.
The "collection time" indicates the time range for each hour of the delay period that is set based on the collection cycle, the reference timing, and the delay period.
 一例を挙げると、送信タイミング例500aは、グループIDが「1」のグループに属する接続機器101が、毎時05分および35分を基準タイミングとし、5分の収集時刻(幅)内における乱数に基づくタイミングで、検針値データを送信することを示している。 As an example, transmission timing example 500a shows that a connected device 101 belonging to a group with a group ID of "1" transmits meter reading data at a timing based on a random number within a 5-minute collection time (range), with the reference timing being 5 minutes and 35 minutes past the hour.
(設定値データの通知について)
 設定値通知部202は、設定値データテーブル222に記憶される設定値データを接続機器101へ送信する。なお、接続機器101に含まれるコンセントレータ120およびIoTルート端末130は、設定値データを受信すると、配下の端末(スマートメータ110b、計量器140)に設定値データを送信する。各接続機器101は、それぞれ、設定値通知部202から設定値データを受信すると、当該設定値データを記憶する。これにより、接続機器101は、設定値データに基づくタイミングで、検針値データをデータ収集装置100へ送信することができる。
(Regarding notification of setting value data)
The set value notification unit 202 transmits the set value data stored in the set value data table 222 to the connected device 101. When the concentrator 120 and the IoT root terminal 130 included in the connected device 101 receive the set value data, they transmit the set value data to the terminals under them (the smart meter 110b and the meter 140). When each connected device 101 receives the set value data from the set value notification unit 202, it stores the set value data. This allows the connected device 101 to transmit the meter reading data to the data collection device 100 at a timing based on the set value data.
(検針値データの取得について)
 検針値データ通信部203(検針値取得部の一例)は、収集周期、基準タイミング、および遅延期間(上限値および下限値)に基づく所定のタイミングで接続機器101から送信される検針値データを取得する。検針値データ通信部203は、検針値データを取得すると、当該検針値データを検針値データ記憶部230に記憶させる。また、検針値データ通信部203は、検針値データを取得すると、送信元の接続機器101を特定し、特定した接続機器101へ応答信号を送信する。応答信号は、データ収集装置100が検針値データを取得した旨を示す信号である。
(Regarding acquisition of meter reading data)
The meter reading data communication unit 203 (an example of a meter reading data acquisition unit) acquires meter reading data transmitted from the connected device 101 at a predetermined timing based on the collection cycle, the reference timing, and the delay period (upper limit value and lower limit value). When the meter reading data communication unit 203 acquires the meter reading data, it stores the meter reading data in the meter reading data storage unit 230. Furthermore, when the meter reading data communication unit 203 acquires the meter reading data, it identifies the connected device 101 that transmitted the data, and transmits a response signal to the identified connected device 101. The response signal is a signal indicating that the data collection device 100 has acquired the meter reading data.
(設定値データの更新について)
 輻輳等により、接続機器101からデータ収集装置100への検針値データの送信に失敗すると、当該失敗に応じて、接続機器101は、設定値データ(上限値および下限値)を更新し、更新した設定値データ(更新情報の一例)をデータ収集装置100へ送信する。設定値取得部204(更新情報取得部の一例)は、接続機器101から、更新された設定値データを取得すると、取得した設定値データを設定値処理部205へ出力する。設定値処理部205は、設定値取得部204から取得した設定値データに基づいて、設定値データテーブル222に記憶されている設定値データを更新する。
(Regarding updating of setting value data)
When the connection device 101 fails to transmit meter reading data to the data collection device 100 due to congestion or the like, the connection device 101 updates the setting value data (upper limit and lower limit) in response to the failure, and transmits the updated setting value data (an example of update information) to the data collection device 100. When the setting value acquisition unit 204 (an example of an update information acquisition unit) acquires the updated setting value data from the connection device 101, it outputs the acquired setting value data to the setting value processing unit 205. The setting value processing unit 205 updates the setting value data stored in the setting value data table 222 based on the setting value data acquired from the setting value acquisition unit 204.
 ここで、グループ内の一の接続機器101が検針値データの送信に失敗するということは、当該グループにおける検針値データの収集に輻輳が生じているおそれがあるといえる。すなわち、グループ内の他の接続機器101についても、検針値データの送信に失敗するおそれがあるといえる。そこで、本実施形態では、グループ内の一の接続機器101が設定値データを更新すると、同一グループ内の他の接続機器101についても、設定値データを更新するようにしている。以下、これについて詳述する。 Here, if one connected device 101 in a group fails to send meter reading data, it may be that congestion is occurring in the collection of meter reading data in that group. In other words, it may be that other connected devices 101 in the group may also fail to send meter reading data. Therefore, in this embodiment, when one connected device 101 in a group updates its setting value data, the other connected devices 101 in the same group also update their setting value data. This will be described in detail below.
 設定値処理部205は、設定値取得部204によって、更新された設定値データが取得されると、設定値の送信元の接続機器101が属するグループを特定する。設定値処理部205は、特定したグループに属する他の接続機器101についても、設定値データテーブル222に記憶されている設定値データを更新する。 When the setting value acquisition unit 204 acquires the updated setting value data, the setting value processing unit 205 identifies the group to which the connected device 101 that transmitted the setting value belongs. The setting value processing unit 205 also updates the setting value data stored in the setting value data table 222 for the other connected devices 101 that belong to the identified group.
 また、設定値通知部202(更新情報送信部の一例)は、設定値処理部205によって特定されたグループに属する他の接続機器101に、更新された設定値データを送信する。他の接続機器101は、設定値通知部202から、更新された設定値データを受信すると、当該設定値データを記憶する。これにより、他の接続機器101は、同じグループ内の一の接続機器101が設定値データを更新することにより、自装置の設定値データを更新する。よって、接続機器101は、以降では、更新された設定値データに基づくタイミングで、データ収集装置100へ検針値データを送信することになる。 In addition, the setting value notification unit 202 (an example of an update information transmission unit) transmits the updated setting value data to the other connected devices 101 that belong to the group identified by the setting value processing unit 205. When the other connected devices 101 receive the updated setting value data from the setting value notification unit 202, they store the setting value data. As a result, the other connected devices 101 update their own setting value data when one connected device 101 in the same group updates its setting value data. Therefore, from then on, the connected devices 101 will transmit meter reading data to the data collection device 100 at a timing based on the updated setting value data.
(最大幅一致判定について)
 本実施形態では、設定値データ(上限値および下限値)は、適宜、接続機器101によって更新される。本実施形態では、更新された設定値データの幅(遅延期間)が遅延期間の最大幅になると、それ以上は、設定値データの更新を行うことができないようにしている。このため、データ収集装置100は、定期的に、以下の最大幅一致判定を行い、当該判定結果に応じて警告を報知するようにしている。
(About maximum width match judgment)
In this embodiment, the setting value data (upper limit and lower limit) are updated by the connected device 101 as appropriate. In this embodiment, when the width (delay period) of the updated setting value data becomes the maximum width of the delay period, the setting value data cannot be updated any further. For this reason, the data collection device 100 periodically performs the following maximum width match determination and issues a warning depending on the determination result.
 最大幅一致判定部206は、設定値データテーブル222に記憶される設定値データを参照し、上限値と下限値との幅(遅延期間)と、遅延期間の最大幅とが一致するか否かの最大幅一致判定を定期的に行う。最大幅一致判定部206は、最大幅一致判定において一致すると判定した場合、当該判定結果を警告通知部212へ出力する。警告通知部212(報知部の一例)は、最大幅一致判定部206から当該判定結果を取得すると、警告を報知する。ここで、ユーザインタフェース部210に表示される警告の一例について説明する。 The maximum width match determination unit 206 periodically performs a maximum width match determination to determine whether or not the width (delay period) between the upper and lower limit values matches the maximum width of the delay period, by referring to the setting value data stored in the setting value data table 222. If the maximum width match determination unit 206 determines that there is a match in the maximum width match determination, it outputs the determination result to the warning notification unit 212. When the warning notification unit 212 (an example of a notification unit) obtains the determination result from the maximum width match determination unit 206, it issues a warning. Here, an example of a warning displayed on the user interface unit 210 will be described.
(ユーザインタフェース部210に表示される警告)
 図6は、ユーザインタフェース部210に表示される警告の一例を示す図である。図6に示すように、ユーザインタフェース部210には、警告画面600が表示されている。警告画面600は、通知時刻と、グループIDとを含む。通知時刻は、最大幅一致判定において肯定の判定結果が得られた時刻であり、例えば、年月日と秒単位の時刻とを含む。これにより、ユーザは、登録/変更画面300(図3)をユーザインタフェース部210に表示させて、最大幅の再設定や、グループの再登録を行うことができる。なお、警告画面600には、例えば、最大幅の設定変更を促す旨や、グループの再登録を促す旨を表示させるようにしてもよい。
(Warning displayed on the user interface unit 210)
FIG. 6 is a diagram showing an example of a warning displayed on the user interface unit 210. As shown in FIG. 6, a warning screen 600 is displayed on the user interface unit 210. The warning screen 600 includes a notification time and a group ID. The notification time is the time when a positive determination result is obtained in the maximum width match determination, and includes, for example, a date and a time in seconds. This allows the user to display the registration/change screen 300 (FIG. 3) on the user interface unit 210 and reset the maximum width or re-register the group. The warning screen 600 may display, for example, a message urging the user to change the maximum width setting or to re-register the group.
(接続機器101の機能的構成)
 図7は、データ収集システム1における接続機器101の機能的構成を示す図である。図7において、接続機器101は、設定値取得部701と、定期検針値処理部702と、定期検針値通信部703と、設定値更新部704と、設定値送信部705と、設定値データ記憶部710と、検針値データ記憶部720と、送信履歴データ記憶部730とを備える。
(Functional configuration of connection device 101)
Fig. 7 is a diagram showing a functional configuration of the connection device 101 in the data collection system 1. In Fig. 7, the connection device 101 includes a setting value acquisition unit 701, a periodic meter reading value processing unit 702, a periodic meter reading value communication unit 703, a setting value update unit 704, a setting value transmission unit 705, a setting value data storage unit 710, a meter reading value data storage unit 720, and a transmission history data storage unit 730.
 設定値取得部701(設定情報取得部の一例)は、データ収集装置100から送信された設定値データを取得する。設定値取得部701によって取得される設定値データは、新規登録における設定値データと、更新された設定値データ(更新情報)とを含む。設定値取得部701は、設定値データを取得すると、当該設定値データを設定値データ記憶部710に記憶させる。 The setting value acquisition unit 701 (an example of a setting information acquisition unit) acquires setting value data transmitted from the data collection device 100. The setting value data acquired by the setting value acquisition unit 701 includes setting value data for new registrations and updated setting value data (update information). When the setting value acquisition unit 701 acquires the setting value data, it stores the setting value data in the setting value data storage unit 710.
 検針値データ記憶部720は、接続機器101が逐次取得する検針値データを記憶する。定期検針値処理部702は、設定値データ記憶部710に記憶される設定値データが示す遅延期間内に、ランダムなタイミングで、検針値データ記憶部720から検針値データを取得して、定期検針値通信部703へ出力する。具体的には、定期検針値処理部702は、基準タイミングになると、都度、乱数を生成し、遅延期間内のランダムなタイミングで、検針値データを取得して、定期検針値通信部703へ出力する。これにより、定期検針値通信部703(検針値送信部の一例)は、都度、遅延期間内のランダムなタイミングで、データ収集装置100へ検針値データを送信することができる。 The meter reading data storage unit 720 stores the meter reading data sequentially acquired by the connected device 101. The periodic meter reading data processing unit 702 acquires meter reading data from the meter reading data storage unit 720 at random timing within the delay period indicated by the setting value data stored in the setting value data storage unit 710, and outputs it to the periodic meter reading data communication unit 703. Specifically, the periodic meter reading data processing unit 702 generates a random number each time the reference timing is reached, acquires meter reading data at random timing within the delay period, and outputs it to the periodic meter reading data communication unit 703. This allows the periodic meter reading data communication unit 703 (an example of a meter reading data transmission unit) to transmit meter reading data to the data collection device 100 at random timing within the delay period each time.
(設定値の更新について)
 定期検針値通信部703は、検針値データを送信すると、所定期間内に、データ収集装置100から、検針値データを取得した旨を示す応答信号を受信する。定期検針値通信部703は、所定期間内に応答信号を受信した場合には、送信成功を示す送信履歴を送信履歴データ記憶部730に記憶させる。一方で、定期検針値通信部703は、所定期間内に応答信号を受信しない場合には、送信失敗を示す送信履歴を、送信履歴データ記憶部730に記憶させる。なお、送信履歴は、データ収集装置100における検針値データの取得結果の一例である。
(About updating the setting values)
When the periodic meter reading value communication unit 703 transmits the meter reading value data, it receives a response signal from the data collection device 100 within a predetermined period of time, indicating that the meter reading value data has been acquired. When the periodic meter reading value communication unit 703 receives a response signal within the predetermined period of time, it stores a transmission history indicating successful transmission in the transmission history data storage unit 730. On the other hand, when the periodic meter reading value communication unit 703 does not receive a response signal within the predetermined period of time, it stores a transmission history indicating unsuccessful transmission in the transmission history data storage unit 730. The transmission history is an example of the result of acquisition of meter reading value data in the data collection device 100.
 設定値更新部704(更新部の一例)は、送信履歴データ記憶部730に記憶されている送信履歴に基づいて、設定値データ記憶部710に記憶されている設定値データを更新する。例えば、設定値更新部704は、所定条件を満たした場合に、最大幅の範囲内で、設定値データ(上限値および下限値)を更新する。所定条件は、例えば、送信に失敗した割合に基づく条件であり、具体的には、直近の所定回数のうち、送信に失敗した割合が閾値以上であるという条件である。なお、所定条件は、送信に失敗した割合に基づいて行われることに限らず、送信に失敗した回数に基づいて行われてもよい。例えば、所定条件は、直近に所定回数連続で送信に失敗するという条件としてもよい。 The setting value update unit 704 (an example of an update unit) updates the setting value data stored in the setting value data storage unit 710 based on the transmission history stored in the transmission history data storage unit 730. For example, the setting value update unit 704 updates the setting value data (upper limit and lower limit) within the maximum range when a predetermined condition is met. The predetermined condition is, for example, a condition based on the rate of failed transmissions, and more specifically, a condition that the rate of failed transmissions out of a predetermined number of most recent times is equal to or greater than a threshold. Note that the predetermined condition is not limited to being based on the rate of failed transmissions, but may also be based on the number of failed transmissions. For example, the predetermined condition may be a condition that a predetermined number of consecutive transmissions have failed in the most recent time.
 設定値更新部704は、例えば、最大幅の範囲内で所定期間だけ、上限値および下限値のうち少なくともいずれか一方を更新する。具体的には、例えば、設定値更新部704は、下限値を「-y分」に更新し、上限値を「+x分」に更新する。これにより、遅延期間は、最大幅の範囲内で、「x+y分」拡大することになる。 The setting value update unit 704 updates at least one of the upper limit value and the lower limit value for a predetermined period within the maximum width range, for example. Specifically, for example, the setting value update unit 704 updates the lower limit value to "-y minutes" and the upper limit value to "+x minutes". As a result, the delay period is extended by "x+y minutes" within the maximum width range.
 例えば、設定値更新部704は、段階的に、最大幅(10分)まで更新させる。具体的には、設定値更新部704は、「-y分」を「-1分」とし、「+x分」を「+1分」とすることにより、遅延期間を2分拡大させることができる。このように、段階的に最大幅まで更新させることにより、警告の報知を行いにくくすることができる。よって、最大幅の変更に係る作業スタッフの負荷を抑えることができる。 For example, the setting value update unit 704 gradually updates the delay period up to the maximum width (10 minutes). Specifically, the setting value update unit 704 can extend the delay period by 2 minutes by changing "-y minutes" to "-1 minute" and "+x minutes" to "+1 minute." In this way, gradually updating the delay period up to the maximum width makes it more difficult to issue a warning. This reduces the burden on the work staff involved in changing the maximum width.
 なお、設定値更新部704は、一回の更新で、最大幅(10分)まで更新させるようにしてもよい。具体的には、設定値更新部704は、「-y分」を「-5分」とし、「+x分」を「+5分」としてもよい。これにより、警告の報知を行いやすくすることができるため、より輻輳を生じさせにくくすることができる。 The setting value update unit 704 may update the maximum width (10 minutes) in one update. Specifically, the setting value update unit 704 may change "-y minutes" to "-5 minutes" and "+x minutes" to "+5 minutes." This makes it easier to issue a warning, making it more difficult for congestion to occur.
 設定値更新部704は、設定値データを更新すると、更新した設定値データを設定値送信部705へ出力する。設定値送信部705(更新情報送信部の一例)は、設定値更新部704から、更新した設定値データを取得すると、当該設定値データをデータ収集装置100へ送信する。これにより、データ収集装置100は、当該接続機器101について設定値データテーブル222に記憶される設定値データを更新するとともに、当該接続機器101が属するグループ内の他の接続機器101に、更新された設定値データを送信することができる。 When the setting value update unit 704 updates the setting value data, it outputs the updated setting value data to the setting value transmission unit 705. When the setting value transmission unit 705 (an example of an update information transmission unit) obtains the updated setting value data from the setting value update unit 704, it transmits the setting value data to the data collection device 100. This enables the data collection device 100 to update the setting value data stored in the setting value data table 222 for the connected device 101, and to transmit the updated setting value data to other connected devices 101 in the group to which the connected device 101 belongs.
(各コンピュータ装置の構成)
 図8は、データ収集システム1が備える各装置のコンピュータ装置のハードウェア構成を示すブロック図である。コンピュータ800は、データ収集装置100および接続機器101に、それぞれ実装される。
(Configuration of each computer device)
8 is a block diagram showing the hardware configuration of the computer device of each device included in the data collection system 1. A computer 800 is implemented in each of the data collection device 100 and the connection device 101.
 図8において、コンピュータ800は、CPU(Central Processing Unit)801、メモリ802と、通信I/F(インタフェース)803と、入力デバイス804と、出力デバイス805とを備える。 In FIG. 8, the computer 800 includes a CPU (Central Processing Unit) 801, memory 802, a communication I/F (interface) 803, an input device 804, and an output device 805.
 CPU801は、コンピュータ800の全体の制御をつかさどる。
 メモリ802は、ROM(Read Only Memory)、RAM(Random Access Memory)などの各種記憶媒体を含む。ROMは、各種プログラムを記憶する。例えば、データ収集装置100に実装されるコンピュータ800のROMは、本実施形態に係るデータ収集プログラムを記憶する。接続機器101に実装されるコンピュータ800のROMは、本実施形態に係るデータ送信プログラムを記憶する。RAMは、CPU801のワークエリアとして使用される。メモリ802は、磁気ディスク、光磁気ディスク、光ディスク、半導体メモリを含む。メモリ802は、コンピュータ800のバスに直接接続された内部メディアであってもよいし、通信I/F803等のインタフェースを介してコンピュータ800に接続される外部メディアであってもよい。また、プログラムが通信I/F803によってコンピュータ800に配信される場合、配信を受けたコンピュータ800が当該プログラムをメモリ802に展開し、処理を実行してもよい。
The CPU 801 is responsible for the overall control of the computer 800 .
The memory 802 includes various storage media such as a ROM (Read Only Memory) and a RAM (Random Access Memory). The ROM stores various programs. For example, the ROM of the computer 800 implemented in the data collection device 100 stores the data collection program according to this embodiment. The ROM of the computer 800 implemented in the connection device 101 stores the data transmission program according to this embodiment. The RAM is used as a work area for the CPU 801. The memory 802 includes a magnetic disk, a magneto-optical disk, an optical disk, and a semiconductor memory. The memory 802 may be an internal medium directly connected to the bus of the computer 800, or an external medium connected to the computer 800 via an interface such as the communication I/F 803. In addition, when a program is distributed to the computer 800 by the communication I/F 803, the computer 800 that has received the program may expand the program in the memory 802 and execute the process.
 通信I/F803は、通信回線を通じてネットワーク190に接続され、ネットワーク190を介して他の装置や機器に接続される。
 入力デバイス804は、文字、数字、各種指示などの入力を行う。データ収集装置100の場合、入力デバイス804は、タッチパネル式の入力パッド、操作ボタン、キーボード、マウス、マイクなどを含む。
 出力デバイス805は、画像を表示するディスプレイや、音を出力するスピーカを含む。
The communication I/F 803 is connected to the network 190 via a communication line, and is connected to other devices and equipment via the network 190 .
The input device 804 is used to input characters, numbers, various instructions, etc. In the case of the data collection device 100, the input device 804 includes a touch panel type input pad, operation buttons, a keyboard, a mouse, a microphone, etc.
The output device 805 includes a display for displaying images and a speaker for outputting sound.
 次に、図9~図15を用いて、データ収集装置100および接続機器101がそれぞれ行う処理について説明する。 Next, the processing performed by the data collection device 100 and the connected device 101 will be explained using Figures 9 to 15.
(データ収集装置100が行う登録処理)
 図9は、データ収集装置100が行う接続機器101の登録処理の一例を示すフローチャートである。図9において、設定部201は、トップ画面から所定の登録開始ボタンの押下を受け付けることにより、新規登録または変更登録に係る接続機器101の登録開始であるか否かを判断する(ステップS901)。設定部201は、登録開始となるまで待機する(ステップS901:NO)。登録開始になると(ステップS901:YES)、設定部201は、登録/変更画面300(図3)を表示する(ステップS902)。
(Registration process performed by data collection device 100)
Fig. 9 is a flow chart showing an example of the registration process of the connected device 101 performed by the data collection device 100. In Fig. 9, the setting unit 201 determines whether or not the registration of the connected device 101 is to be started for new registration or change registration by accepting pressing of a predetermined registration start button from the top screen (step S901). The setting unit 201 waits until registration starts (step S901: NO). When registration starts (step S901: YES), the setting unit 201 displays the registration/change screen 300 (Fig. 3) (step S902).
 そして、設定受付部211は、新規登録または変更登録に係る接続機器101について各種情報の入力を受け付ける(ステップS903)。各種情報は、例えば、対象の接続機器101について、種別、接続機器ID、IPアドレス、グループID、収集周期、基準タイミング、上限値および下限値などを含む。次に、設定部201は、ステップS903において受け付けた入力に基づくグループデータおよび設定値データを、それぞれグループデータテーブル221および設定値データテーブル222に記憶する(ステップS904)。そして、設定値通知部202は、設定値データを接続機器101へ送信し(ステップS905)、一連の処理を終了する。 Then, the setting reception unit 211 receives input of various information about the connected device 101 related to the new registration or change registration (step S903). The various information includes, for example, the type, connected device ID, IP address, group ID, collection period, reference timing, upper limit value, and lower limit value for the target connected device 101. Next, the setting unit 201 stores the group data and setting value data based on the input received in step S903 in the group data table 221 and setting value data table 222, respectively (step S904). Then, the setting value notification unit 202 transmits the setting value data to the connected device 101 (step S905), and the series of processes ends.
(接続機器101が行う設定値データの受信処理)
 図10は、接続機器101が行う設定値データの受信処理の一例を示すフローチャートである。図10において、設定値取得部701は、設定値データを受信したか否かを判断する(ステップS1001)。ここでいう設定値データは、新規登録または変更登録に係る設定値データを含む。設定値取得部701は、設定値データを受信するまで待機する(ステップS1001:NO)。設定値データを受信すると(ステップS1001:YES)、設定値取得部701は、受信した設定値データを設定値データ記憶部710に記憶させ(ステップS1002)、一連の処理を終了する。
(Setting Value Data Reception Process Performed by the Connected Device 101)
Fig. 10 is a flow chart showing an example of a setting value data receiving process performed by the connected device 101. In Fig. 10, the setting value acquisition unit 701 judges whether or not setting value data has been received (step S1001). The setting value data here includes setting value data related to new registration or change registration. The setting value acquisition unit 701 waits until receiving setting value data (step S1001: NO). When receiving setting value data (step S1001: YES), the setting value acquisition unit 701 stores the received setting value data in the setting value data storage unit 710 (step S1002), and ends the series of processes.
(接続機器101が行う検針値データの送信処理)
 図11は、接続機器101が行う検針値データの送信処理の一例を示すフローチャートである。図11において、定期検針値処理部702は、基準タイミングとなったか否かを判断する(ステップS1101)。定期検針値処理部702は、基準タイミングとなるまで待機し(ステップS1101:NO)、基準タイミングになると(ステップS1101:YES)、設定値データ記憶部710に記憶される設定値データ(上限値および下限値)を取得する(ステップS1102)。そして、定期検針値処理部702は、遅延期間内(上限値および下限値の幅)で乱数値に基づく送信タイミングを決定する(ステップS1103)。
(Meter reading data transmission process performed by the connected device 101)
11 is a flowchart showing an example of the transmission process of the meter reading data performed by the connection device 101. In FIG. 11, the periodic meter reading value processing unit 702 judges whether or not the reference timing has arrived (step S1101). The periodic meter reading value processing unit 702 waits until the reference timing arrives (step S1101: NO), and when the reference timing arrives (step S1101: YES), acquires the set value data (upper limit value and lower limit value) stored in the set value data storage unit 710 (step S1102). Then, the periodic meter reading value processing unit 702 determines the transmission timing based on the random number value within the delay period (the width of the upper limit value and the lower limit value) (step S1103).
 そして、定期検針値処理部702は、送信タイミングとなったか否かを判断する(ステップS1104)。定期検針値処理部702は、送信タイミングとなるまで待機し(ステップS1104:NO)、送信タイミングになると(ステップS1104:YES)、検針値データ記憶部720に記憶されている検針値データを取得する(ステップS1105)。そして、定期検針値通信部703は、検針値データをデータ収集装置100へ送信する(ステップS1106)。 Then, the periodic meter reading value processing unit 702 judges whether the transmission timing has arrived (step S1104). The periodic meter reading value processing unit 702 waits until the transmission timing arrives (step S1104: NO), and when the transmission timing arrives (step S1104: YES), it acquires the meter reading value data stored in the meter reading value data storage unit 720 (step S1105). Then, the periodic meter reading value communication unit 703 transmits the meter reading value data to the data collection device 100 (step S1106).
 次に、定期検針値通信部703は、データ収集装置100から、検針値データの送信に対する応答信号を受信したか否かを判断する(ステップS1107)。応答信号を受信した場合(ステップS1107:YES)、定期検針値通信部703は、ステップS1110に進む。一方、応答信号を受信しない場合(ステップS1107:NO)、定期検針値通信部703は、一定時間が経過したか否かを判断する(ステップS1108)。 Next, the periodic meter reading value communication unit 703 determines whether or not a response signal to the transmission of the meter reading value data has been received from the data collection device 100 (step S1107). If a response signal has been received (step S1107: YES), the periodic meter reading value communication unit 703 proceeds to step S1110. On the other hand, if a response signal has not been received (step S1107: NO), the periodic meter reading value communication unit 703 determines whether or not a certain period of time has elapsed (step S1108).
 一定時間が経過しない場合(ステップS1108:NO)、定期検針値通信部703は、ステップS1107に戻る。一定時間が経過した場合(ステップS1108:YES)、定期検針値通信部703は、送信に失敗した失敗回数に「1」を加算する(ステップS1109)。そして、定期検針値通信部703は、送信履歴データ記憶部730に送信履歴データを記憶させ(ステップS1110)、一連の処理を終了する。 If the fixed time has not elapsed (step S1108: NO), the periodic meter reading value communication unit 703 returns to step S1107. If the fixed time has elapsed (step S1108: YES), the periodic meter reading value communication unit 703 adds "1" to the number of transmission failures (step S1109). Then, the periodic meter reading value communication unit 703 stores the transmission history data in the transmission history data storage unit 730 (step S1110), and ends the series of processes.
(データ収集装置100が行う検針値データの受信処理)
 図12は、データ収集装置100が行う検針値データの受信処理の一例を示すフローチャートである。図12において、検針値データ通信部203は、検針値データを受信したか否かを判断する(ステップS1201)。検針値データ通信部203は、検針値データを受信するまで待機し(ステップS1201:NO)、検針値データを受信すると(ステップS1201:YES)、検針値データを検針値データ記憶部230に記憶させる(ステップS1202)。
(Meter reading data reception process performed by the data collection device 100)
Fig. 12 is a flowchart showing an example of a meter reading data reception process performed by the data collection device 100. In Fig. 12, the meter reading data communication unit 203 judges whether or not the meter reading data has been received (step S1201). The meter reading data communication unit 203 waits until the meter reading data is received (step S1201: NO), and when the meter reading data is received (step S1201: YES), the meter reading data communication unit 203 stores the meter reading data in the meter reading data storage unit 230 (step S1202).
 そして、検針値データ通信部203は、送信元の接続機器101を特定し(ステップS1203)、特定した接続機器101へ応答信号を送信し(ステップS1204)、一連の処理を終了する。 Then, the meter reading data communication unit 203 identifies the connected device 101 that is the sender (step S1203), transmits a response signal to the identified connected device 101 (step S1204), and ends the series of processes.
(接続機器101が行う設定値データの更新処理)
 図13は、接続機器101が行う設定値データの更新処理の一例を示すフローチャートである。図13において、設定値更新部704は、設定値データの更新に係る一定時間が経過したか否かを判断する(ステップS1301)。設定値更新部704は、一定時間が経過するまで待機する(ステップS1301:NO)。一定時間が経過すると(ステップS1301:YES)、設定値更新部704は、設定値データ記憶部710に記憶されている設定値データ(上限値および下限値)を取得する(ステップS1302)。
(Setting Value Data Update Process Performed by the Connected Device 101)
Fig. 13 is a flowchart showing an example of a setting value data update process performed by the connected device 101. In Fig. 13, the setting value update unit 704 judges whether a certain time related to the update of the setting value data has elapsed (step S1301). The setting value update unit 704 waits until the certain time has elapsed (step S1301: NO). When the certain time has elapsed (step S1301: YES), the setting value update unit 704 acquires the setting value data (upper limit value and lower limit value) stored in the setting value data storage unit 710 (step S1302).
 そして、設定値更新部704は、上限値から下限値を減算した値(遅延期間)が最大幅以下であるか否かを判断する(ステップS1303)。遅延期間が最大幅以下であると判定した場合(ステップS1303:YES)、設定値更新部704は、一連の処理を終了する。一方、遅延期間が最大幅以下ではない場合(ステップS1303:NO)、すなわち、遅延期間が最大幅未満である場合、設定値更新部704は、送信履歴データ記憶部730から、直近n回の送信履歴データを取得する(ステップS1304)。 Then, the setting value update unit 704 judges whether the value (delay period) obtained by subtracting the lower limit value from the upper limit value is equal to or less than the maximum width (step S1303). If it is judged that the delay period is equal to or less than the maximum width (step S1303: YES), the setting value update unit 704 ends the series of processes. On the other hand, if the delay period is not equal to or less than the maximum width (step S1303: NO), that is, if the delay period is less than the maximum width, the setting value update unit 704 obtains the most recent n transmission history data from the transmission history data storage unit 730 (step S1304).
 そして、設定値更新部704は、取得した直近n回の送信履歴データから失敗回数を抽出し、抽出した失敗回数が閾値以上であるか否かを判断する(ステップS1305)。失敗回数が閾値以上ではない場合(ステップS1305:NO)、すなわち、失敗回数が閾値未満である場合、設定値更新部704は、一連の処理を終了する。 Then, the setting value update unit 704 extracts the number of failures from the acquired transmission history data for the most recent n times, and determines whether the extracted number of failures is equal to or greater than a threshold value (step S1305). If the number of failures is not equal to or greater than the threshold value (step S1305: NO), that is, if the number of failures is less than the threshold value, the setting value update unit 704 ends the series of processes.
 一方、失敗回数が閾値以上である場合(ステップS1305:YES)、設定値更新部704は、設定値データ記憶部710に記憶されている設定値データのうち、上限値を更新(例えば、「+x分」)するとともに(ステップS1306)、下限値を更新(例えば、「-y分」)する(ステップS1307)。そして、設定値送信部705は、設定値更新部704によって更新された設定値データをデータ収集装置100へ送信し(ステップS1308)、一連の処理を終了する。 On the other hand, if the number of failures is equal to or greater than the threshold (step S1305: YES), the setting value update unit 704 updates the upper limit (e.g., "+x minutes") of the setting value data stored in the setting value data storage unit 710 (step S1306) and updates the lower limit (e.g., "-y minutes") (step S1307). The setting value transmission unit 705 then transmits the setting value data updated by the setting value update unit 704 to the data collection device 100 (step S1308), and the series of processes ends.
(データ収集装置100が行う検針値データの更新処理)
 図14は、データ収集装置100が行う設定値データの更新処理の一例を示すフローチャートである。図14において、設定値取得部204は、接続機器101によって更新された設定値データを受信したか否かを判断する(ステップS1401)。設定値取得部204は、設定値取得部204が設定値データを受信するまで待機する(ステップS1401:NO)。
(Meter Reading Data Update Process Performed by Data Collection Device 100)
Fig. 14 is a flowchart showing an example of a setting value data update process performed by the data collection device 100. In Fig. 14, the setting value acquisition unit 204 determines whether or not it has received setting value data updated by the connected device 101 (step S1401). The setting value acquisition unit 204 waits until it receives the setting value data (step S1401: NO).
 設定値取得部204が設定値データを受信すると(ステップS1401:YES)、設定値処理部205は、グループデータテーブル221を参照し、送信元の接続機器101が属するグループを特定する(ステップS1402)。そして、設定値処理部205は、特定したグループの設定値データを更新する(ステップS1403)。次に、設定値処理部205は、特定したグループに属する接続機器101を検索する(ステップS1404)。 When the setting value acquisition unit 204 receives the setting value data (step S1401: YES), the setting value processing unit 205 refers to the group data table 221 and identifies the group to which the connected device 101 that sent the data belongs (step S1402). The setting value processing unit 205 then updates the setting value data of the identified group (step S1403). Next, the setting value processing unit 205 searches for connected devices 101 that belong to the identified group (step S1404).
 そして、設定値通知部202は、設定値処理部205によって検索された接続機器101の全てに設定値データを送信し(ステップS1405)、一連の処理を終了する。なお、接続機器101は、設定値データを受信すると、図10に示した受信処理を行うことにより、受信した設定値データを設定値データ記憶部710に記憶させる。 Then, the setting value notification unit 202 transmits the setting value data to all of the connected devices 101 found by the setting value processing unit 205 (step S1405), and ends the series of processes. Note that, upon receiving the setting value data, the connected device 101 performs the reception process shown in FIG. 10 to store the received setting value data in the setting value data storage unit 710.
(データ収集装置100が行う最大幅一致判定処理)
 図15は、データ収集装置100が行う最大幅一致判定処理の一例を示すフローチャートである。図15において、最大幅一致判定部206は、最大幅一致判定を行うための一定時間が経過したか否かを判断する(ステップS1501)。最大幅一致判定部206は、一定時間が経過するまで待機する(ステップS1501:NO)。一定時間が経過すると(ステップS1501:YES)、最大幅一致判定部206は、判定対象のグループIDを「1」にセットする(ステップS1502)。
(Maximum width match determination process performed by the data collection device 100)
Fig. 15 is a flowchart showing an example of a maximum width match determination process performed by the data collection device 100. In Fig. 15, the maximum width match determination unit 206 determines whether a certain time for performing a maximum width match determination has elapsed (step S1501). The maximum width match determination unit 206 waits until the certain time has elapsed (step S1501: NO). When the certain time has elapsed (step S1501: YES), the maximum width match determination unit 206 sets the group ID of the determination target to "1" (step S1502).
 そして、最大幅一致判定部206は、設定値データテーブル222を参照し、セットしたグループIDに対応する設定値データを取得する(ステップS1503)。そして、最大幅一致判定部206は、上限値から下限値を減算した幅(遅延期間)が最大幅未満であるか否かを判断する(ステップS1504)。遅延期間が最大幅未満である場合(ステップS1504:YES)、最大幅一致判定部206は、ステップS1506に進む。一方、遅延期間が最大幅未満ではない場合(ステップS1504:NO)、具体的には、遅延期間と最大値とが一致する場合、警告通知部212は、警告を報知する(ステップS1505)。 Then, the maximum width matching determination unit 206 refers to the setting value data table 222 and obtains the setting value data corresponding to the set group ID (step S1503). The maximum width matching determination unit 206 then determines whether the width (delay period) obtained by subtracting the lower limit value from the upper limit value is less than the maximum width (step S1504). If the delay period is less than the maximum width (step S1504: YES), the maximum width matching determination unit 206 proceeds to step S1506. On the other hand, if the delay period is not less than the maximum width (step S1504: NO), specifically, if the delay period and the maximum value match, the warning notification unit 212 issues a warning (step S1505).
 次に、最大幅一致判定部206は、グループIDが、登録されているグループIDの最大値(グループIDmax)であるか否かを判断する(ステップS1506)。グループIDがグループIDmaxではない場合(ステップS1506:NO)、最大幅一致判定部206は、グループIDに「1」を加算する(ステップS1507)。この後、ステップS1503の処理に移行し、最大幅一致判定部206は、次のグループについて、最大幅一致判定を行う。一方、グループIDがグループIDmaxである場合(ステップS1506:YES)、すなわち、全グループについて最大幅一致判定が完了した場合、一連の処理を終了する。 Next, the maximum width matching determination unit 206 determines whether the group ID is the maximum value (group IDmax) of the registered group IDs (step S1506). If the group ID is not group IDmax (step S1506: NO), the maximum width matching determination unit 206 adds "1" to the group ID (step S1507). Thereafter, the process proceeds to step S1503, where the maximum width matching determination unit 206 performs a maximum width matching determination for the next group. On the other hand, if the group ID is group IDmax (step S1506: YES), that is, if the maximum width matching determination has been completed for all groups, the process ends.
(実施形態の効果)
 以上説明したように、本実施形態に係るデータ収集装置100は、検針値データの取得結果に基づいて、グループごとに更新された遅延期間内にランダムなタイミングで端末装置から送信される検針値データを収集する。これにより、スマートメータ110a、110bや計量器140の増設等があったとしても、検針値データの収集結果に基づいて遅延期間を更新することができるため、接続機器101からの送信タイミングを適切に分散させることができる。したがって、本実施形態によれば、検針値データの収集に係る輻輳を抑えることができる。
(Effects of the embodiment)
As described above, the data collection device 100 according to the present embodiment collects meter reading data transmitted from the terminal devices at random timing within the delay period updated for each group based on the acquisition result of the meter reading data. As a result, even if the smart meters 110a and 110b or the meter 140 are added, the delay period can be updated based on the collection result of the meter reading data, so that the transmission timing from the connected device 101 can be appropriately distributed. Therefore, according to the present embodiment, congestion related to the collection of the meter reading data can be suppressed.
 また、本実施形態に係るデータ収集装置100において、遅延期間は、予めグループごとに設定される最大期間まで更新可能である。このように、最大期間を設けることによって、各グループに割り当てられた最大期間の範囲内で検針値データを収集することができる。仮に、最大期間を設けなかったとすると、グループ間で検針値データの送信タイミングが多く重なってしまうおそれがあり、これにより、輻輳が生じてしまうおそれがある。本実施形態によれば、各グループの検針値データの収集に係る輻輳を好適に抑えることができる。 Furthermore, in the data collection device 100 according to this embodiment, the delay period can be updated up to a maximum period that is set in advance for each group. In this way, by setting a maximum period, it is possible to collect meter reading data within the range of the maximum period assigned to each group. If a maximum period were not set, there would be a risk that the timing of meter reading data transmission would overlap between groups, which could cause congestion. According to this embodiment, congestion related to the collection of meter reading data for each group can be effectively suppressed.
 また、本実施形態に係るデータ収集装置100は、遅延期間が最大期間に更新された場合に、その旨を報知する。これにより、最大期間の変更を促すことができる。また、最大期間が変更されることにより、輻輳が生じることを防止することができる。 In addition, the data collection device 100 according to this embodiment notifies the user when the delay period has been updated to the maximum period. This makes it possible to prompt the user to change the maximum period. In addition, changing the maximum period can prevent congestion from occurring.
 また、本実施形態に係るデータ収集装置100は、グループ内の一の接続機器101において設定値データを取得すると、取得した設定値データに基づいて、当該グループ内の全ての設定値データを更新する。これにより、当該一の接続機器101のみならず、グループ内の他の接続機器101についても、検針値データの送信の失敗を抑えることができる。すなわち、当該グループにおける輻輳を防止することができる。 In addition, when the data collection device 100 according to this embodiment acquires setting value data for one connected device 101 in a group, it updates all setting value data in the group based on the acquired setting value data. This makes it possible to reduce failures in the transmission of meter reading data not only for that one connected device 101, but also for other connected devices 101 in the group. In other words, congestion in the group can be prevented.
 また、本実施形態に係る接続機器101は、検針値データの送信履歴データに基づいてグループごとに更新される遅延期間内に、グループごとのランダムなタイミングで、データ収集装置100へ検針値データを送信する。これにより、スマートメータ110a、110bや計量器140の増設等があったとしても、検針値データの収集結果に基づいて遅延期間を更新することができるため、接続機器101からの送信タイミングを適切に分散させることができる。したがって、本実施形態によれば、検針値データの送信における輻輳を抑えることができる。 In addition, the connected devices 101 according to this embodiment transmit meter reading data to the data collection device 100 at random timing for each group within a delay period that is updated for each group based on the transmission history data of the meter reading data. As a result, even if smart meters 110a, 110b or meters 140 are added, the delay period can be updated based on the meter reading data collection results, so that the transmission timing from the connected devices 101 can be appropriately distributed. Therefore, according to this embodiment, congestion in the transmission of meter reading data can be suppressed.
 また、本実施形態に係る接続機器101において、遅延期間は、予めグループごとに設定される最大期間まで更新可能である。このように、最大期間を設けることによって、各グループに割り当てられた最大期間の範囲内で検針値データを送信することができる。仮に、最大期間を設けなかったとすると、グループ間で検針値データの送信タイミングが多く重なってしまうおそれがあり、これにより、輻輳が生じてしまうおそれがある。本実施形態によれば、各グループの検針値データの送信に係る輻輳を好適に抑えることができる。 Furthermore, in the connected device 101 according to this embodiment, the delay period can be updated up to a maximum period that is set in advance for each group. In this way, by setting a maximum period, it is possible to transmit meter reading data within the range of the maximum period assigned to each group. If a maximum period were not set, there would be a risk that the timing of transmitting meter reading data would overlap between groups, which could cause congestion. According to this embodiment, congestion related to the transmission of meter reading data for each group can be effectively suppressed.
 また、本実施形態に係る接続機器101は、送信履歴データに基づいて、遅延期間を更新し、更新した遅延期間を示す設定値データをデータ収集装置100へ送信する。これにより、各接続機器101が自ら遅延期間を更新できる。また、データ収集装置100は、設定値データテーブル222の設定値データを更新するだけで済むため、遅延期間に更新に関し、データ収集装置100における処理の過負荷を抑えることができる。 In addition, the connected device 101 according to this embodiment updates the delay period based on the transmission history data, and transmits setting value data indicating the updated delay period to the data collection device 100. This allows each connected device 101 to update the delay period by itself. Furthermore, since the data collection device 100 only needs to update the setting value data in the setting value data table 222, it is possible to suppress processing overload in the data collection device 100 in relation to updating the delay period.
(実施形態の変形例)
 次に、実施形態の変形例について説明する。なお、以下の変形例では、上述した実施形態で説明した内容については、適宜説明を省略する。以下に説明する変形例や上述した実施形態は、適宜、組み合わせることも可能である。
(Modification of the embodiment)
Next, modified examples of the embodiment will be described. In the following modified examples, the contents described in the above-mentioned embodiment will be omitted as appropriate. The modified examples described below and the above-mentioned embodiment can be combined as appropriate.
(変形例1)
 上述した実施形態では、設定値データの更新を、接続機器101(設定値更新部704)が行う例について説明した。このような例に代えて又は加えて、変形例1では、設定値データの更新を、データ収集装置100が行う例について説明する。
(Variation 1)
In the above-described embodiment, an example has been described in which the setting value data is updated by the connected device 101 (the setting value update unit 704). Instead of or in addition to such an example, in Modification 1, an example will be described in which the setting value data is updated by the data collection device 100.
 変形例1において、データ収集装置100の検針値データ通信部203(図2)は、グループごとの遅延期間を管理する。検針値データ通信部203は、例えば、グループごとに、各接続機器101から、遅延期間内に検針値データの受信があるか否かを判断する。検針値データ通信部203は、遅延期間内に検針値データを受信した場合、送信元の接続機器101について受信成功を示す受信履歴を検針値データ記憶部230に記憶させる。一方で、定期検針値通信部703は、遅延期間内に検針値データを受信しない場合、送信元の接続機器101について受信失敗を示す受信履歴を検針値データ記憶部230に記憶させる。 In the first modification, the meter reading data communication unit 203 (FIG. 2) of the data collection device 100 manages the delay period for each group. For example, the meter reading data communication unit 203 determines for each group whether or not meter reading data is received from each connected device 101 within the delay period. If the meter reading data communication unit 203 receives meter reading data within the delay period, it stores a reception history indicating successful reception for the connected device 101 that transmitted the data in the meter reading data storage unit 230. On the other hand, if the regular meter reading data communication unit 703 does not receive meter reading data within the delay period, it stores a reception history indicating unsuccessful reception for the connected device 101 that transmitted the data in the meter reading data storage unit 230.
 設定値処理部205は、設定値データの更新に係る一定時間が経過する度に、グループごとに各接続機器101を抽出する。そして、設定値処理部205は、抽出した各接続機器101について、遅延期間(上限値および下限値)が最大幅以下であることを条件に、直近n回の受信履歴データから失敗回数を抽出する。さらに、設定値処理部205は、抽出した失敗回数が閾値以上であるか否かの判別を行う。失敗回数が閾値以上である場合、設定値処理部205は、当該接続機器101の遅延期間を更新する。 The setting value processing unit 205 extracts each connected device 101 for each group each time a certain period of time related to updating the setting value data has elapsed. Then, for each extracted connected device 101, the setting value processing unit 205 extracts the number of failures from the most recent n reception history data on the condition that the delay period (upper limit and lower limit) is equal to or less than the maximum width. Furthermore, the setting value processing unit 205 determines whether the extracted number of failures is equal to or greater than a threshold value. If the number of failures is equal to or greater than the threshold value, the setting value processing unit 205 updates the delay period of the connected device 101.
 設定値通知部202は、設定値処理部205によって遅延期間が更新されると、更新の対象となった接続機器101が属するグループ内の全ての接続機器101に、更新された設定値データを送信する。これにより、当該グループ内の全ての接続機器101は、更新された設定値データを受信すると、当該設定値データを設定値データ記憶部710に記憶させることができる。このようにしても、接続機器101は、以降では、更新された設定値データに基づくタイミングで、データ収集装置100へ検針値データを送信することができる。 When the delay period is updated by the setting value processing unit 205, the setting value notification unit 202 transmits the updated setting value data to all connected devices 101 in the group to which the connected device 101 that was the subject of the update belongs. As a result, when all connected devices 101 in the group receive the updated setting value data, the setting value data can be stored in the setting value data storage unit 710. Even in this way, the connected devices 101 can thereafter transmit meter reading data to the data collection device 100 at a timing based on the updated setting value data.
 上述したように、変形例1に係るデータ収集装置100は、検針値データの受信履歴(取得結果)に基づいて、グループごとに遅延期間を更新する。これにより、データ収集装置100において、各接続機器101の遅延期間を一括して更新することができる。したがって、変形例1によれば、接続機器101からの送信タイミングを適切に分散させることができ、よって、検針値データの収集に係る輻輳を抑えることができる。 As described above, the data collection device 100 according to the first modification updates the delay period for each group based on the reception history (acquisition results) of the meter reading data. This allows the data collection device 100 to collectively update the delay period for each connected device 101. Therefore, according to the first modification, the transmission timing from the connected devices 101 can be appropriately distributed, thereby reducing congestion related to the collection of meter reading data.
(変形例2)
 上述した実施形態では、設定部201が、ユーザによる入力による手動で、グループデータテーブル221および設定値データテーブル222を生成する例について説明した。このような例に代えて又は加えて、変形例2では、設定部201が、自動で、グループデータテーブル221および設定値データテーブル222のうち、少なくとも一方を生成する例について説明する。なお、以下では、グループデータテーブル221および設定値データテーブル222の両方を自動で生成する例について説明する。
(Variation 2)
In the above-described embodiment, an example has been described in which the setting unit 201 manually generates the group data table 221 and the setting value data table 222 through input by the user. Instead of or in addition to such an example, in Modification 2, an example will be described in which the setting unit 201 automatically generates at least one of the group data table 221 and the setting value data table 222. Note that, hereinafter, an example will be described in which both the group data table 221 and the setting value data table 222 are automatically generated.
 変形例2において、設定部201は、各接続機器101から、接続機器種別、接続機器ID、およびIPアドレスの各情報を取得するようにし、取得した各情報をグループデータテーブル221に入力する。また、設定部201は、接続機器101から位置情報を取得するようにし、当該位置情報に基づいてグループ(グループID)を決定する。具体的には、設定部201は、所定のエリア内に位置する接続機器101を同一グループとして決定する。そして、設定部201は、決定したグループIDをグループデータテーブル221に入力する。これにより、グループデータテーブル221を自動で生成することが可能である。 In the second modification, the setting unit 201 acquires information such as the connected device type, connected device ID, and IP address from each connected device 101, and inputs the acquired information into the group data table 221. The setting unit 201 also acquires location information from the connected devices 101, and determines a group (group ID) based on the location information. Specifically, the setting unit 201 determines connected devices 101 located within a specified area as belonging to the same group. The setting unit 201 then inputs the determined group ID into the group data table 221. This makes it possible to automatically generate the group data table 221.
 また、設定部201は、取得した接続機器101の種別と、設定したグループとに基づいて、遅延期間(上限値と下限値)、および最大幅の各値を、設定値データテーブル222に入力する。例えば、データ収集装置100は、接続機器101の種別と、グループに属する接続機器の数と、各値(遅延期間と、最大幅)とを対応付けたテーブルを予め所定の記憶部に記憶しておく。設定部201は、当該テーブルを参照することにより、接続機器101の種別と、接続機器の数とに基づいて各値を特定し、特定した各値を設定値データテーブル222に入力する。 The setting unit 201 also inputs the delay period (upper and lower limits) and maximum width values into the setting value data table 222 based on the acquired type of connected device 101 and the set group. For example, the data collection device 100 stores in advance in a specified storage unit a table that associates the type of connected device 101, the number of connected devices belonging to a group, and each value (delay period and maximum width). The setting unit 201 refers to the table to identify each value based on the type of connected device 101 and the number of connected devices, and inputs each identified value into the setting value data table 222.
 変形例2によれば、グループデータテーブル221および設定値データテーブル222の生成に係るユーザの作業負荷を軽減させることができる。 According to variant example 2, it is possible to reduce the user's workload in generating the group data table 221 and the setting value data table 222.
 本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれると同様に、特許請求の範囲に記載された発明とその均等の範囲に含まれるものである。 Although several embodiments of the present invention have been described, these embodiments are presented as examples and are not intended to limit the scope of the invention. These embodiments can be implemented in various other forms, and various omissions, substitutions, and modifications can be made without departing from the gist of the invention. These embodiments and their modifications are within the scope of the invention and its equivalents as set forth in the claims, as well as the scope and gist of the invention.
 なお、以上に説明したデータ収集システム1、データ収集装置100、および接続機器101を実現するためのプログラムを、コンピュータ読み取り可能な記録媒体に記録し、そのプログラムをコンピュータシステムに読み込ませて実行するようにしてもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。また、「コンピュータ読み取り可能な記録媒体」とは、USB(Universal Serial Bus)フラッシュメモリ、SSD(Solid State Drive)、フレキシブルディスク、光磁気ディスク、ROM、CD-ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムが送信された場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリ(RAM)のように、一定時間プログラムを保持しているものも含むものとする。また、上記プログラムは、このプログラムを記憶装置等に格納したコンピュータシステムから、伝送媒体を介して、あるいは、伝送媒体中の伝送波により他のコンピュータシステムに伝送されてもよい。ここで、プログラムを伝送する「伝送媒体」は、インターネット等のネットワーク(通信網)や電話回線等の通信回線(通信線)のように情報を伝送する機能を有する媒体のことをいう。また、上記プログラムは、前述した機能の一部を実現するためのものであってもよい。さらに、前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるもの、いわゆる差分ファイル(差分プログラム)であってもよい。 The programs for implementing the data collection system 1, data collection device 100, and connection device 101 described above may be recorded on a computer-readable recording medium, and the programs may be read into a computer system for execution. The term "computer system" as used herein includes hardware such as an OS and peripheral devices. The term "computer-readable recording medium" refers to portable media such as USB (Universal Serial Bus) flash memory, SSD (Solid State Drive), flexible disk, optical magnetic disk, ROM, and CD-ROM, and storage devices such as hard disks built into a computer system. The term "computer-readable recording medium" also includes devices that hold a program for a certain period of time, such as volatile memory (RAM) inside a computer system that becomes a server or client when a program is transmitted via a network such as the Internet or a communication line such as a telephone line. The above-mentioned program may be transmitted from a computer system that stores the program in a storage device, etc., to another computer system via a transmission medium, or by transmission waves in the transmission medium. Here, the "transmission medium" that transmits the program refers to a medium that has the function of transmitting information, such as a network (communication network) such as the Internet or a communication line (communication line) such as a telephone line. The above program may also be one that realizes part of the above-mentioned functions. Furthermore, it may be one that can realize the above-mentioned functions in combination with a program already recorded in the computer system, a so-called differential file (differential program).
 1…データ収集システム、100…データ収集装置、101…接続機器、110、110a、110b…スマートメータ、120…コンセントレータ、130…IoTルート端末、140…計量器、201…設定部、202…設定値通知部、203…検針値データ通信部、204…設定値取得部、205…設定値処理部、206…最大幅一致判定部、210…ユーザインタフェース部、220…マスタデータ記憶部、221…グループデータテーブル、222…設定値データテーブル、230…検針値データ記憶部、701…設定値取得部、702…定期検針値処理部、703…定期検針値通信部、704…設定値更新部、705…設定値送信部、710…設定値データ記憶部、720…検針値データ記憶部、730…送信履歴データ記憶部 1...Data collection system, 100...Data collection device, 101...Connected device, 110, 110a, 110b...Smart meter, 120...Concentrator, 130...IoT root terminal, 140...Meter, 201...Setting unit, 202...Setting value notification unit, 203...Meter reading data communication unit, 204...Setting value acquisition unit, 205...Setting value processing unit, 206...Maximum width match determination unit, 210...User interface unit, 220...Master data storage unit, 221...Group data table, 222...Setting value data table, 230...Meter reading data storage unit, 701...Setting value acquisition unit, 702...Periodic meter reading processing unit, 703...Periodic meter reading communication unit, 704...Setting value update unit, 705...Setting value transmission unit, 710...Setting value data storage unit, 720...Meter reading data storage unit, 730...Transmission history data storage unit

Claims (12)

  1.  検針値データを取得する端末装置のグループを設定するとともに、グループごとに、検針値データの送信に係る基準タイミングと、前記基準タイミングからの遅延期間とを設定する設定部と、
     前記遅延期間内のランダムなタイミングで前記端末装置から送信される検針値データを取得する検針値取得部と、
     を備え、
     前記遅延期間は、前記検針値取得部における検針値データの取得結果に基づいて、グループごとに更新され、
     前記検針値取得部は、更新された前記遅延期間内のランダムなタイミングで前記端末装置から送信される検針値データを取得する、
     データ収集装置。
    A setting unit that sets a group of terminal devices that acquire meter reading data, and sets a reference timing for transmitting the meter reading data and a delay period from the reference timing for each group;
    a meter reading acquisition unit that acquires meter reading data transmitted from the terminal device at random timing within the delay period;
    Equipped with
    The delay period is updated for each group based on the acquisition result of the meter reading data by the meter reading value acquisition unit,
    The meter reading value acquisition unit acquires the meter reading value data transmitted from the terminal device at random timing within the updated delay period.
    Data collection equipment.
  2.  前記遅延期間は、予めグループごとに設定される最大期間まで更新可能である、
     請求項1に記載のデータ収集装置。
    The delay period can be updated up to a maximum period preset for each group.
    The data collection device of claim 1 .
  3.  前記遅延期間が前記最大期間に更新された場合に、その旨を報知する報知部を備える、
     請求項2に記載のデータ収集装置。
    a notification unit that notifies the user when the delay period is updated to the maximum period;
    The data collection device of claim 2.
  4.  グループ内の一の端末装置において更新された前記遅延期間を示す更新情報を取得する更新情報取得部と、
     前記更新情報取得部によって取得された前記更新情報を、前記一の端末装置が属するグループ内の他の端末装置へ送信する更新情報送信部と、
     を備える、
     請求項1~3のいずれか一項に記載のデータ収集装置。
    an update information acquisition unit that acquires update information indicating the delay period updated in one terminal device in the group;
    an update information transmission unit that transmits the update information acquired by the update information acquisition unit to other terminal devices in a group to which the one terminal device belongs;
    Equipped with
    The data collection device according to any one of claims 1 to 3.
  5.  検針値データの送信に係る基準タイミングと、前記基準タイミングからの遅延期間とがグループごとに設定された設定情報を取得する設定情報取得部と、
     前記遅延期間内のランダムなタイミングで、検針値データをデータ収集装置へ送信する検針値送信部と、
     を備え、
     前記遅延期間は、前記検針値送信部によって送信された検針値データの前記データ収集装置における取得結果に基づいて、グループごとに更新され、
     前記検針値送信部は、更新された前記遅延期間内のランダムなタイミングで、前記データ収集装置へ検針値データを送信する、
     端末装置。
    A setting information acquisition unit that acquires setting information in which a reference timing for transmitting meter reading data and a delay period from the reference timing are set for each group;
    a meter reading transmission unit that transmits the meter reading data to the data collection device at random timing within the delay period;
    Equipped with
    The delay period is updated for each group based on an acquisition result of the meter reading data transmitted by the meter reading transmission unit in the data collection device,
    The meter reading value transmission unit transmits the meter reading value data to the data collection device at random timing within the updated delay period.
    Terminal device.
  6.  前記遅延期間は、予めグループごとに設定される最大期間までの範囲で更新可能である、
     請求項5に記載の端末装置。
    The delay period can be updated within a range up to a maximum period preset for each group.
    The terminal device according to claim 5.
  7.  前記取得結果に基づいて、前記遅延期間を更新する更新部と、
     前記更新部によって更新された前記遅延期間を示す更新情報を前記データ収集装置へ送信する更新情報送信部と、
     を備える、
     請求項6に記載の端末装置。
    an update unit that updates the delay period based on the acquired result;
    an update information transmission unit that transmits update information indicating the delay period updated by the update unit to the data collection device;
    Equipped with
    The terminal device according to claim 6.
  8.  検針値データを取得する端末装置と、前記端末装置から検針値データを取得するデータ収集装置と、を含む収集システムであって、
     前記データ収集装置は、
     前記端末装置のグループを設定するとともに、グループごとに、検針値データの送信に係る基準タイミングと、前記基準タイミングからの遅延期間とを設定する設定部と、
     前記遅延期間内のランダムなタイミングで前記端末装置から送信される検針値データを取得する検針値取得部と、
     を備え、
     前記端末装置は、
     前記基準タイミングと、前記遅延期間とがグループごとに設定された設定情報を取得する設定情報取得部と、
     前記遅延期間内のランダムなタイミングで、検針値データを前記データ収集装置へ送信する検針値送信部と、
     を備え、
     前記遅延期間は、前記検針値取得部における検針値データの取得結果に基づいて、グループごとに更新され、
     前記検針値送信部は、更新された前記遅延期間内のランダムなタイミングで、前記データ収集装置へ検針値データを送信し、
     前記検針値取得部は、更新された前記遅延期間内のランダムなタイミングで前記端末装置から送信される検針値データを取得する、
     データ収集システム。
    A collection system including a terminal device that acquires meter reading data and a data collection device that acquires the meter reading data from the terminal device,
    The data collection device includes:
    A setting unit that sets a group of the terminal devices and sets a reference timing for transmitting meter reading data and a delay period from the reference timing for each group;
    a meter reading acquisition unit that acquires meter reading data transmitted from the terminal device at random timing within the delay period;
    Equipped with
    The terminal device
    a setting information acquisition unit that acquires setting information in which the reference timing and the delay period are set for each group;
    a meter reading transmission unit that transmits meter reading data to the data collection device at random timing within the delay period;
    Equipped with
    The delay period is updated for each group based on the acquisition result of the meter reading data by the meter reading value acquisition unit,
    The meter reading transmission unit transmits the meter reading data to the data collection device at random timing within the updated delay period,
    The meter reading value acquisition unit acquires the meter reading value data transmitted from the terminal device at random timing within the updated delay period.
    Data collection system.
  9.  データ収集装置のコンピュータが、
     検針値データを取得する端末装置のグループを設定するとともに、グループごとに、検針値データの送信に係る基準タイミングと、前記基準タイミングからの遅延期間とを設定する設定ステップと、
     前記遅延期間内のランダムなタイミングで前記端末装置から送信される検針値データを取得する検針値取得ステップと、
     を含む処理を実行し、
     前記遅延期間は、前記検針値取得ステップにおける検針値データの取得結果に基づいて、グループごとに更新され、
     前記検針値取得ステップでは、更新された前記遅延期間内のランダムなタイミングで前記端末装置から送信される検針値データを取得する、
     データ収集方法。
    The computer of the data collection device
    A setting step of setting a group of terminal devices that acquires meter reading data, and setting a reference timing for transmitting the meter reading data and a delay period from the reference timing for each group;
    a meter reading acquisition step of acquiring meter reading data transmitted from the terminal device at random timing within the delay period;
    Perform a process including
    The delay period is updated for each group based on the result of acquisition of the meter reading data in the meter reading acquisition step;
    In the meter reading value acquisition step, meter reading value data transmitted from the terminal device is acquired at random timing within the updated delay period.
    Data collection methods.
  10.  端末装置のコンピュータが、
     検針値データの送信に係る基準タイミングと、前記基準タイミングからの遅延期間とがグループごとに設定された設定情報を取得する設定情報取得ステップと、
     前記遅延期間内のランダムなタイミングで、検針値データをデータ収集装置へ送信する検針値送信ステップと、
     を含む処理を実行し、
     前記遅延期間は、前記検針値送信ステップにおいて送信された検針値データの前記データ収集装置における取得結果に基づいて、グループごとに更新され、
     前記検針値送信ステップでは、更新された前記遅延期間内のランダムなタイミングで、前記データ収集装置へ検針値データを送信する、
     データ送信方法。
    The terminal device computer
    A setting information acquisition step of acquiring setting information in which a reference timing for transmitting meter reading data and a delay period from the reference timing are set for each group;
    a meter reading transmission step of transmitting meter reading data to a data collection device at random timing within the delay period;
    Perform a process including
    The delay period is updated for each group based on the acquisition result of the meter reading data transmitted in the meter reading transmission step by the data collection device,
    In the meter reading data transmission step, the meter reading data is transmitted to the data collection device at random timing within the updated delay period.
    Data transmission method.
  11.  コンピュータをデータ収集装置として機能させるプログラムであって、
     前記コンピュータを、
     検針値データを取得する端末装置のグループを設定するとともに、グループごとに、検針値データの送信に係る基準タイミングと、前記基準タイミングからの遅延期間とを設定する設定部、
     前記遅延期間内のランダムなタイミングで前記端末装置から送信される検針値データを取得する検針値取得部、
     として機能させ、
     前記遅延期間は、前記検針値取得部における検針値データの取得結果に基づいて、グループごとに更新され、
     前記検針値取得部は、更新された前記遅延期間内のランダムなタイミングで前記端末装置から送信される検針値データを取得する、
     プログラム。
    A program for causing a computer to function as a data collection device,
    The computer,
    a setting unit that sets a group of terminal devices that acquires the meter reading data, and sets, for each group, a reference timing for transmitting the meter reading data and a delay period from the reference timing;
    a meter reading acquisition unit that acquires meter reading data transmitted from the terminal device at random timing within the delay period;
    Function as a
    The delay period is updated for each group based on the acquisition result of the meter reading data by the meter reading value acquisition unit,
    The meter reading value acquisition unit acquires the meter reading value data transmitted from the terminal device at random timing within the updated delay period.
    program.
  12.  コンピュータを端末装置として機能させるプログラムであって、
     前記コンピュータを、
     検針値データの送信に係る基準タイミングと、前記基準タイミングからの遅延期間とがグループごとに設定された設定情報を取得する設定情報取得部、
     前記遅延期間内のランダムなタイミングで、検針値データをデータ収集装置へ送信する検針値送信部、
     として機能させ、
     前記遅延期間は、前記検針値送信部によって送信された検針値データの前記データ収集装置における取得結果に基づいて、グループごとに更新され、
     前記検針値送信部は、更新された前記遅延期間内のランダムなタイミングで、前記データ収集装置へ検針値データを送信する、
     プログラム。
    A program for causing a computer to function as a terminal device,
    The computer,
    A setting information acquisition unit that acquires setting information in which a reference timing for transmitting meter reading data and a delay period from the reference timing are set for each group;
    a meter reading transmission unit that transmits the meter reading data to the data collection device at random timing within the delay period;
    Function as a
    The delay period is updated for each group based on an acquisition result of the meter reading data transmitted by the meter reading transmission unit in the data collection device,
    The meter reading value transmission unit transmits the meter reading value data to the data collection device at random timing within the updated delay period.
    program.
PCT/JP2022/047606 2022-12-23 2022-12-23 Data collecting device, terminal device, data collecting system, data collecting method, data transmitting method, and program WO2024134869A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2023525973A JP7353535B1 (en) 2022-12-23 2022-12-23 Data collection device, terminal device, data collection system, data collection method, data transmission method, and program
PCT/JP2022/047606 WO2024134869A1 (en) 2022-12-23 2022-12-23 Data collecting device, terminal device, data collecting system, data collecting method, data transmitting method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2022/047606 WO2024134869A1 (en) 2022-12-23 2022-12-23 Data collecting device, terminal device, data collecting system, data collecting method, data transmitting method, and program

Publications (1)

Publication Number Publication Date
WO2024134869A1 true WO2024134869A1 (en) 2024-06-27

Family

ID=88143979

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2022/047606 WO2024134869A1 (en) 2022-12-23 2022-12-23 Data collecting device, terminal device, data collecting system, data collecting method, data transmitting method, and program

Country Status (2)

Country Link
JP (1) JP7353535B1 (en)
WO (1) WO2024134869A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012212390A (en) * 2011-03-31 2012-11-01 Kansai Electric Power Co Inc:The Meter terminal, meter reading data collection system including the same, and meter reading data collection method
JP2014192655A (en) * 2013-03-27 2014-10-06 Panasonic Corp Communication system and communication device
JP2016192641A (en) * 2015-03-31 2016-11-10 日本電気株式会社 Terminal, communication system, and communication method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006186891A (en) 2004-12-28 2006-07-13 Sanyo Electric Co Ltd Data collection system
JP6191117B2 (en) 2012-10-18 2017-09-06 日本電気株式会社 Wireless communication apparatus, wireless communication system, wireless communication method, and program
JP6620084B2 (en) 2016-12-27 2019-12-11 株式会社日立製作所 Automatic inspection system and automatic inspection method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012212390A (en) * 2011-03-31 2012-11-01 Kansai Electric Power Co Inc:The Meter terminal, meter reading data collection system including the same, and meter reading data collection method
JP2014192655A (en) * 2013-03-27 2014-10-06 Panasonic Corp Communication system and communication device
JP2016192641A (en) * 2015-03-31 2016-11-10 日本電気株式会社 Terminal, communication system, and communication method

Also Published As

Publication number Publication date
JP7353535B1 (en) 2023-09-29

Similar Documents

Publication Publication Date Title
CN103713989A (en) Test case generating method and test case generating device for user terminal
CN102725767A (en) Communication device and communication method
CN109710490A (en) Acquisition method, device, storage medium and the electronic equipment of client log
CN106792231A (en) Live recharge method, device and terminal
WO2017152787A1 (en) Automatic payment method and device
CN109495350B (en) Office data checking method, office data checking device and storage medium
WO2024134869A1 (en) Data collecting device, terminal device, data collecting system, data collecting method, data transmitting method, and program
CN104917844B (en) A kind of method of data synchronization, Apparatus and system
CN110609967B (en) List generation method and device and storage medium
CN108415908A (en) A kind of processing method and server of multi-medium data
CN108494851B (en) Application program recommended method, device and server
US8874962B2 (en) Diagnostic handling server using dissatisfying item data
CN109840040A (en) The processing method and relevant device of message time
CN104966191A (en) Numerical value transferring method and apparatus
JP6307862B2 (en) Information processing system, information processing method, and program
JP5193097B2 (en) Service management system and service management apparatus
CN114040403B (en) Equipment synchronization method, device and system
CN107396319B (en) A kind of method of wireless network authentication, equipment, storage medium and terminal reclaimer
CN104822075A (en) Information pushing method and device thereof
CN103326892B (en) The operating method and device of web interface
JP2012252427A (en) Advertisement management server device, advertisement display device, advertisement management system, advertisement management method and program
TWI841288B (en) Data collection device, terminal device, data collection system, data collection method, data transmission method, and program
JP6461841B2 (en) Information output server, information output method, and information output program
US20080042925A1 (en) Key assignable portable terminal device
JPWO2016152699A1 (en) Information processing system, information processing method, and program