This application is based upon and claims the benefit of priority from prior Japanese Patent Application No. 2011-213298, filed Sep. 28, 2011, the entire contents of which are incorporated herein by reference.
Embodiments described herein relate generally to a system, an apparatus, and a program for hierarchical information collection.
BACKGROUND
A conventional information collection system imparts a data acquisition time designation function and a reacquisition triggering function to the lower center (information collection system), thereby efficiently collecting information. A wide-area information collection system is assumed to be operated in a multivendor environment. Hence, in many cases, the lower center does not have the functions, and it is difficult for the upper center to efficiently collect information.
In general, according to one embodiment, there is provided an information collection apparatus that includes an information collector, a database, a shift width estimator, and a collection controller. The collector collects time-series data from a start time with a period of collection. The database accumulates the time-series data. The shift width estimator detects a loss of data in the time-series data and estimates a shift width corresponding to a difference between a time the loss has occurred and a collection time of data of an outlier. The collection controller obtains a correction value of the start time and a correction value of the collection period to eliminate the shift width, and controls the collection of the time-series data.
The first center C1 includes an information collector 101, a DB (database) 102, and a communicator 103. The information collector 101 sends a query that is an inquiry about data acquisition or a control instruction for equipment or a machine to, for example, nodes N1 to N3 of building equipment. The building equipment includes a measuring device. The information collector 101 can collect operation information of the building equipment or the like by receiving a response message to the query from each node. Operation information of, for example, air conditioning equipment includes measured values of room temperature, power consumption, and the like, integrated values of operation time, power consumption, and the like, and status values such as an on/off state and a heating/cooling mode. Accessing a point (monitor control point) via a network allows to acquire information at the time of access.
In this embodiment, the nodes N1 to N3 are assumed to be, for example, pieces of building equipment which are operating in buildings in various places. Building types include not only office buildings in various scales such as a small-scale office building having a total floor area of 3,000 m2 or less, a medium-scale office building having a total floor area of several tens of thousands m2, and a large-scale office building having a total floor area of 50,000 m2 or more but also commercial facilities, amusement facilities, production facilities, government facilities, medical facilities, and educational facilities. In each building, air conditioning equipment, lighting equipment, power supply equipment, plumbing equipment, security equipment, anti-disaster equipment, elevator equipment, and the like, which are designed based on the scale and application purpose of the building, are maintained and operated.
The first center C1 offers the information collected from the nodes directly to the second center C2 via the communicator 103, or accumulates the information in the DB 102 in the form of a database or a file and then offers it indirectly to the second center C2. The communicator 103 may be implemented as a function of the first center C1 in the form of, for example, a download function on a web browser screen or the SQL processing function of database middleware.
The second center C2 includes an information collector 201 that collects information from at least one first center C1, a DB 202 that accumulates the information collected by the information collector 201, a communicator 203 that sends the information accumulated in the DB 202 to the upper layer for reuse, a shift detector 204 that detects the shift of the collection period start time of information collection from the information accumulated in the DB 202, and a collection controller 205 that corrects the shift of the collection period start time detected by the shift detector 204. The shift detector 204 includes a data acquirer 207 that acquires time-series data from the DB 202 based on a detection target information list 206, and a shift width estimator 208 that detects a data loss in the data acquired by the data acquirer 207 and estimates the shift width of the data collection start time. The collection controller 205 eliminates the shift width and decides an appropriate data collection start time and collection period based on the shift width of the data collection start time estimated by the shift detector 204, thereby updating information collector setting information 211. The collection controller 205 includes a determiner 209, an acquisition time estimator 210, and an acquisition time designator 212. The shift detector 204 and the collection controller 205 will be described later in detail with reference to flowcharts.
The third center C3 (or a center (not shown) of higher level) collects information from the second center C2 or a center of higher level so as to collect information of the target area of the hierarchical information collection system. The third center C3 includes an information collector 301, a DB 302, and a communicator 303. The third center C3 preferably has the same internal arrangement as that of the second center C2 because the same problem may arise due to hierarchization.
The operation of the information collection apparatus will be explained with reference to
First, an example of the operation (steps S21 and S22) of the shift detector 204 will be described. The data acquirer 207 acquires time-series data described in the predetermined detection target information list 206 from the DB 202 (step S21). The detection target information list 206 is defined by an information structure such as an information group table or a point table.
The information group is, for example, information representing grouping for each building equipment, and indicates a processing unit of information collection in the first-center C1 or a unit obtained by dividing or combining the processing units. In a building, a necessary monitor control function generally changes between the subsystems of equipment, and a communication module for measurement control is provided in that unit. Needless to say, this is merely a typical example.
The point table is a table representing the points (monitor control points) of the information group table. For, for example, the information group of the power receiving/distributing subsystem, the point table stores a list of measured values of sensors for the integral power consumption, instantaneous power, instantaneous voltage, instantaneous current, and the like of the incoming point and the distribution board.
Table 1 shows an example of the information group table, and Table 2 shows an example of the point table.
The data acquirer 207 of the shift detector 204 acquires, from the DB 202, time-series data described in the information group specific point table as a detailed example of the detection target information list 206 for a predetermined period (for example, for one day). Next, the shift width estimator 208 of the shift detector 204 detects a data loss from the acquired time-series data and estimate the shift width of the collection start time (step S22).
The operation of step S22 to detect a data loss and estimate the shift width of the collection start time will be described with reference to
In the graph shown in
The approximation curve expression of the acquired time-series data is obtained. The approximation curve expression can be obtained as a linear approximation expression of a time T and a measured value Y(T) that is, Y(T)=aT+b by, for example, the least squares method.
The difference value between each data value of the time-series data and the value of the approximation curve expression at each measurement time is obtained to generate a difference value set.
An outlier larger than the threshold is detected from the difference value set and processed sequentially (processing starts from n=1).
As shown in
As shown in
An estimated maximum shift width Tpn of the collection start time is obtained by (measurement time of outlier)−(estimated loss time). If an outlier larger than the threshold remains in the set, n=n+1 is set, and the process returns to step S43.
The average value of Tpn is calculated as an estimated maximum shift width Tp.
The average value of (τpn−τpn-1) is calculated as a maximum shift generation estimation period Tmax.
The shift detector 204 thus detects a loss of time-series data caused by the shift of the acquisition start time, and calculates the estimated loss time and the estimated maximum shift width of information collection by the current start time (the maximum value of the difference between the time the first center C1 starts information offer and the time the second center C2 collects information).
Referring back to the flowchart of
The determiner 209 of the collection controller 205 starts processing of deriving a start time with which no data loss occurs using the shift width estimated by the shift detector 204 as the initial value (step S23). The determiner 209 also determines completion of start time derivation and updates the information collector setting information 211. If derivation processing is necessary again, the start time is recalculated, and processing of steps S24 and S25 is repeated (step S26). In step S24, the acquisition time designator 212 of the collection controller 205 designates the designated start time as the collection time of the information collector 201. In step S25, the acquisition time estimator 210 of the collection controller 205 estimates or acquires the acquisition time of each data acquired by the information collector.
More specifically, the corrected collection period T′b and the nth corrected collection time τ′n can be obtained in accordance with the flowchart of
A next maximum shift width maximization time τ0 is obtained from “τ0=τp+Tmax×n, τ0>current time”.
Time τn=τ0+T b is set.
The predicted shift width ΔTpn at the time τn is obtained from “ΔTpn=Tp−(Tp÷Tmax)×(n−1)”.
A time (τn−(ΔTpn−ΔT0÷2̂n)) is designated in the acquisition time designator 212, and data is additionally acquired.
The acquisition time estimator 210 acquires the acquisition time and value of the additionally acquired data.
It is determined whether the additionally acquired value is the same as the preceding value accumulated in the DB 202. If the values are different, the process advances to step S77. If the values equal, n=n+1 is set, and the process returns to step S72.
The value change counter is incremented by one and compared with the counter threshold. If the counter value exceeds the counter threshold, the process advances to step S78. If the counter value is equal to or smaller than the counter threshold, n=n+1 is set, and the process returns to step S72.
A time (τ0n−(ΔTpn−ΔT0÷2̂n)) is set as the corrected start time, and a time (Tp−Tp÷Tmax) is set as the corrected collection period.
The above-described procedure is merely a basic procedure, and more efficient processing can be executed by finer tuning.
For example, concerning the shift detector 204, the points (monitor control points) to be processed in the flowchart shown in
Additionally, when the shift detector 204 uses, as the approximation curve expression, a curve of an expression/sequence easy to do curve fitting, such as a polynomial curve (for example, Y(T)=aT2+bT+c or Y(T)=aT3+bT2+cT+d), an expression of a conic section or a trigonometric curve, or an empirical rule curve (for example, the electric energy change curve of the same day of the preceding year) obtained from the past data of a point of interest, thereby reducing errors between the estimated loss time τpn and the actual loss time.
Furthermore, instead of regarding the maximum shift generation estimation period Tmax as time-series data including one variable component, the shift detector 204 obtains long-term time-series data of one week or several months as a population, performs frequency analysis such as Fourier transformation to obtain the composition ratio of a plurality of variable components, and sets a period with the maximum ratio as the maximum shift generation estimation period Tmax, thereby increasing the estimation accuracy.
Also, instead of only calling the shift detector 204 as batch processing, shift detection is concentrated to timings where the start time shift may occur in many points, such as the timing the system of the second center C2 is operated again at the time of maintenance and the timing of starting connection to the first center C1. The data collection start time and the collection period are thus corrected by start time control, thereby efficiently collecting time-series data with a small worst value of information freshness.
For the start time correction reference value ΔT0 to be used to correct the nth predicted shift width ΔTpn, the collection start controller can use not only a method of decreasing the value by ½ like binary search but also an algorithm for more quickly deriving the corrected collection time by, for example, decreasing the width by an equal value ΔT00 of the start time correction reference value ΔT0 or speculatively estimating the value based on a difference value sequence obtained by the past empirical rule for the predicted shift width ΔTpn.
In addition, the collection start controller can designate the information collection start time by designating the information notification time using an interface or a setting means independently prepared by the system of the first center C1 even when the first center C1 offers information by push distribution.
As described above, according to the first embodiment, the information collection side (in this example, second center C2) has the function of detecting the shift of the collection period start time and the function of controlling the collection period start time. Additionally, using data such as the electric energy of the incoming point whose value is expected to change in each measurement, the shift is detected from time-rate change of the data, and the base point time is derived from the data update timing. This allows to collect information of high freshness without adding a function to the information offer side (the system of the first center C1).
The data acquisition timing recorder 213 starts processing for a predetermined past time τc1-0 (n=0).
The time of the comparison source is set to τc1-n=τc1-0+Tc1. Tc1 is the access period of the first center C1 recorded by a communicator 203.
A DB 202 detects the presence/absence of data during the period from τc1-n to τc1-n+Tc1. If data is present, the process returns to step S82. If data is absent, the process advances to step S84.
A shift detector 204 counts the number Cc1 of data during the period from τc1-0 to τc1-n+Tc1 in the DB 202.
A loss occurrence estimation period for the data acquisition request is set to “TA=((τc1-n+Tc1)−τc1-0)÷Cc1”.
In addition, the shift detector 204 that cooperates with the data acquisition timing recorder 213 calculates a next loss occurrence estimation time τc1 by τc1=(preceding loss occurrence time)+TA×n. Regarding a time τA0 as the time a data acquisition loss has occurred in the second center C2, shift detection processing of the shift detector 204 is executed. More specifically, for example, in the flowchart of
The shift detector 204 transfers the calculated estimated maximum shift width Tp and the maximum shift generation estimation period Tmax to a collection controller 205. The collection controller 205 derives a corrected start time and a corrected collection period.
The data acquisition timing recorder 213 detects a section A′n where information acquisition from the first center C1 is not performed in each time-series section of the arrival time based on the presence/absence of the section by referring to the record of the operation time of the information acquirer, and confirms that the value is smaller than the number before correction of the collection controller 205.
Note that the above-described hierarchical information collection system or apparatus can also be implemented using, for example, a general-purpose computer apparatus as basic hardware. That is, the constituent elements of the hierarchical information collection system or apparatus can be implemented by causing a processor included in the above-described computer apparatus to execute a program. At this time, the hierarchical information collection system or apparatus can be implemented either by installing the program in the computer apparatus in advance or by storing the program in a storage medium such as a CD-ROM or distributing the program via a network and installing the program in the computer apparatus as needed. The hierarchical information collection system or apparatus can also be implemented using a memory or hard disk incorporated or externally attached to the computer apparatus or a storage medium such as a CD-R, CD-RW, DVD-RAM, or DVD-R as needed.
While certain embodiments have been described, these embodiments have been presented by way of example only, and are not intended to limit the scope of the inventions. Indeed, the novel embodiments described herein may be embodied in a variety of other forms; furthermore, various omissions, substitutions and changes in the form of the embodiments described herein may be made without departing from the spirit of the inventions. The accompanying claims and their equivalents are intended to cover such forms or modifications as would fall within the scope and spirit of the inventions.
Number | Date | Country | Kind |
---|---|---|---|
2011-213298 | Sep 2011 | JP | national |