TIMESTAMP CORRECTION APPARATUS, TIME STAMP CORRECTION METHOD, AND PROGRAM
20230031208 · 2023-02-02
Inventors
- Mizuto NAKAMURA (Musashino-shi, Tokyo, JP)
- Toshihiko SEKI (Musashino-shi, Tokyo, JP)
- Naoyuki TANJI (Musashino-shi, Tokyo, JP)
Cpc classification
H04L43/106
ELECTRICITY
International classification
Abstract
A time stamp correction apparatus 1 that corrects a deviation between time stamps of pieces of data acquired by physically connected NW apparatuses 50A and 50B by correcting a deviation in a time stamp between pieces of traffic data is provided. The time stamp correction apparatus 1 includes a waveform similarity computation unit 13 that determines an IF pair based on a similarity between waveforms of time-series data of traffic observed in respective interfaces of the NW apparatuses 50A and 50B, and a time stamp correction unit 14 that generates correction information for correcting a deviation between the time stamps of the pieces of data based on feature points of time-series data of traffic observed in the IF pair.
Claims
1. A time stamp correction apparatus that corrects a deviation between time stamps of pieces of data acquired by physically connected network apparatuses, the time stamp correction apparatus comprising: a similarity determination unit, including one or more processors, configured to determine a set of physically connected interfaces, based on a similarity between waveforms of time-series data of traffic observed in the interfaces of the network apparatuses; and a time stamp correction unit, including one or more processors, configured to generate correction information for correcting the deviation between the time stamps of the pieces of data, based on feature points of time-series data of traffic observed in the set of the interfaces.
2. The time stamp correction apparatus according to claim 1, wherein the similarity determination unit is configured to cluster the waveform of the time-series data of the traffic with respect to the similarity and determine a set in which a time difference between the feature points of the time-series data of the traffic is the smallest in the cluster to be the set of the interfaces.
3. The time stamp correction apparatus according to claim 1, wherein traffic in which a feature amount different for each set of physically connected interfaces appears is applied between the network apparatuses, and the time stamp correction apparatus further comprises a feature point correction unit, including one or more processors, configured to combine a plurality of feature points into one feature point in a case where the time-series data of the traffic includes the plurality of feature points.
4. The time stamp correction apparatus according to claim 1, wherein each of the network apparatuses operate in a different layer.
5. A time stamp correction method of correcting a deviation between time stamps of pieces of data acquired by physically connected network apparatuses, the time stamp correction method at a computer comprising: determining a set of physically connected interfaces, based on a similarity between waveforms of time-series data of traffic observed in the interfaces of the network apparatuses; and generating correction information for correcting the deviation between the time stamps of the pieces of data, based on feature points of time-series data of traffic observed in the set of the interfaces.
6. A non-transitory computer readable medium storing one or more instructions causing a computer to operate as a time stamp correction apparatus that corrects a deviation between time stamps of pieces of data acquired by physically connected network apparatuses and to execute: determining a set of physically connected interfaces, based on a similarity between waveforms of time-series data of traffic observed in the interfaces of the network apparatuses; and generating correction information for correcting the deviation between the time stamps of the pieces of data, based on feature points of time-series data of traffic observed in the set of the interfaces.
7. The time stamp correction method according to claim 5, comprising clustering the waveform of the time-series data of the traffic with respect to the similarity and determining a set in which a time difference between the feature points of the time-series data of the traffic is the smallest in the cluster to be the set of the interfaces.
8. The time stamp correction method according to claim 5, wherein traffic in which a feature amount different for each set of physically connected interfaces appears is applied between the network apparatuses, and the method further comprises: combining a plurality of feature points into one feature point in a case where the time-series data of the traffic includes the plurality of feature points.
9. The time stamp correction method according to claim 5, wherein each of the network apparatuses operate in a different layer.
10. The non-transitory computer readable medium according to claim 6, wherein the one or more instructions further cause the computer to execute: clustering the waveform of the time-series data of the traffic with respect to the similarity and determining a set in which a time difference between the feature points of the time-series data of the traffic is the smallest in the cluster to be the set of the interfaces.
11. The non-transitory computer readable medium according to claim 6, wherein traffic in which a feature amount different for each set of physically connected interfaces appears is applied between the network apparatuses, and the one or more instructions further cause the computer to execute: combining a plurality of feature points into one feature point in a case where the time-series data of the traffic includes the plurality of feature points.
12. The non-transitory computer readable medium according to claim 6, wherein each of the network apparatuses operate in a different layer.
1. A time stamp correction apparatus that corrects a deviation between time stamps of pieces of data acquired by physically connected network apparatuses, the time stamp correction apparatus comprising: a similarity determination unit configured to determine a set of physically connected interfaces, based on a similarity between waveforms of time-series data of traffic observed in the interfaces of the network apparatuses; and a time stamp correction unit configured to generate correction information for correcting the deviation between the time stamps of the pieces of data, based on feature points of time-series data of traffic observed in the set of the interfaces.
2. The time stamp correction apparatus according to claim 1, wherein the similarity determination unit clusters the waveform of the time-series data of the traffic with respect to the similarity and determines a set in which a time difference between the feature points of the time-series data of the traffic is the smallest in the cluster to be the set of the interfaces.
3. The time stamp correction apparatus according to claim 1 or 2, wherein traffic in which a feature amount different for each set of physically connected interfaces appears is applied between the network apparatuses, and the time stamp correction apparatus further comprises a feature point correction unit configured to combine a plurality of feature points into one feature point in a case where the time-series data of the traffic includes the plurality of feature points.
4. The time stamp correction apparatus according to any one of claims 1 to 3, wherein each of the network apparatuses operate in a different layer.
5. A time stamp correction method of correcting a deviation between time stamps of pieces of data acquired by physically connected network apparatuses, the time stamp correction method at a computer comprising: determining a set of physically connected interfaces, based on a similarity between waveforms of time-series data of traffic observed in the interfaces of the network apparatuses; and generating correction information for correcting the deviation between the time stamps of the pieces of data, based on feature points of time-series data of traffic observed in the set of the interfaces.
6. A program causing a computer to operate as units of the time stamp correction apparatus according to any one of claims 1 to 4.
Description
BRIEF DESCRIPTION OF DRAWINGS
[0009]
[0010]
[0011]
[0012]
[0013]
[0014]
[0015]
[0016]
[0017]
[0018]
DESCRIPTION OF EMBODIMENTS
[0019] An embodiment of the present disclosure will be described below with reference to the drawings.
[0020] Referring to
[0021] The IP network #1 is managed by a management system A, the IP network #2 is managed by a management system B, and the transmission network is managed by a management system C. In data analysis in which pieces of data acquired by the management systems A to C are combined, there is a possibility that a deviation in a time stamp will occur in a case where the concept of data acquisition is different for each of the management systems A to C. For example, for data acquired at intervals of 5 minutes of a traffic amount given a time stamp of 10:00, in a case where a traffic amount from 9:55:01 to 10:00:00 is acquired in the management system A, a traffic amount from 10:00:00 to 10:04:59 is acquired in the management system B, and a traffic amount from 9:57:31 to 10:02:29 is acquired in the management system C, the time stamps of each piece of data appear as 10:00 all alike, but a deviation occurs in terms of data. For example, in
[0022] The time stamp correction apparatus of the present embodiment determines a set of IFs physically connected between network apparatuses (hereinafter, referred to as an IF pair) and then outputs correction information for correcting a deviation in a time stamp of the IF pair. A data analyzer can perform correct data analysis by correcting the time stamps of the pieces of data acquired from the management systems A to C based on this correction information. The data with time stamps to be corrected may be performance information, such as traffic data and a CPU usage rate, which can be acquired by an SNMB. Furthermore, the present embodiment relates to a technique in which time stamps of other performance information may also be corrected by ascertaining a deviation in a time stamp of traffic data.
[0023] A time stamp correction apparatus 1 of the present embodiment will be described with reference to
[0024] The time stamp correction apparatus 1 illustrated in
[0025] The traffic application amount computation unit 11 determines an application amount, an application time, and an application interval of traffic so that a feature amount varying depending on a change in a traffic amount with time appears for each IF pair, and notifies a traffic generation apparatus 2 of the determined application information. The application amount is, for example, the size of a test packet to be applied.
[0026] The traffic generation apparatus 2 generates a test packet based on the application information and transmits the test packet from each IF of a network (NW) apparatus 50A to a NW apparatus 50B. The NW apparatuses 50A and 50B are physically connected to each other. The NW apparatuses 50A and, 50B may be apparatuses that operate in different layers. For example, the NW apparatus 50A is the network apparatus R1 of the IP network #1 in
[0027] The traffic generation apparatus 2 may have functions of the traffic application amount computation unit 11, and the time stamp correction apparatus 1 may have functions of the traffic generation apparatus 2.
[0028] A traffic collecting apparatus 3 collects time-series data of traffic (for example, data of change over time of traffic amount) in the IFs of the NW apparatuses 50A and 50B at predetermined sampling intervals. The traffic collecting apparatus 3 acquires time-series data of traffic of the NW apparatuses 50A and 50B from the management systems that respectively manage the NW apparatuses 50A and 50B. For example, in a case where the NW apparatus 50A is the network apparatus R1 of
[0029] The peak point correction unit 12 merges sample points in a case where the number of sample points is greater than an application time+an application interval. When there is a deviation in an IF to which traffic is applied at the same timing as a sampling interval, and the applied traffic is divided into a plurality of sample points, there is a possibility that clustering based on a similarity between waveforms of time-series data may not be able to be performed, and there is a possibility that it may be difficult to distinguish the IF from an IF to which traffic will be applied next. The peak point correction unit 12 can improve the accuracy of determination of an IF pair according to clustering based on a similarity between waveforms of time-series data and an appearance timing of a feature point by combining a plurality of feature points appearing in the time-series data of traffic into one feature point.
[0030] The waveform similarity computation unit 13 analyzes a similarity between waveforms of time-series data of traffic observed in the IFs of the NW apparatuses 50A and 50B and determines IFs having a high similarity as an IF pair.
[0031] The time stamp correction unit 14 generates time stamp correction information for matching time stamps of pieces of data acquired by the NW apparatuses 50A and 50B based on feature points of time-series data of traffic observed in IFs of an IF pair.
[0032] The traffic information storage unit 15 stores time-series data of traffic which is acquired by the traffic collecting apparatus 3.
[0033] The time stamp correction information storage unit 16 stores correction information of a time stamp which is generated by the time stamp correction unit 14, and outputs the correction information in response to a request.
[0034] The operation of the time stamp correction apparatus 1 will be described with reference to a flowchart of
[0035] In step S11, the traffic application amount computation unit 11 determines an application amount, an application time, and an application interval of traffic. The traffic application amount computation unit 11 may obtain an application amount of traffic to each IF so that the application amount of traffic which is different for each of the IFs of the NW apparatus 50A is transmitted. The traffic application amount computation unit 11 determines an application time and an application interval so that a time obtained by adding up the application time and the application interval is longer than a sampling interval of data, based on the number of IFs and the sampling interval. The timing at which traffic is applied may be different for each IF. For example, the traffic application amount computation unit 11 determines the number of test packets to be transmitted so that a difference between adjacent IFs is increased as illustrated in
[0036] In step S12, the traffic generation apparatus 2 transmits a test packet from each of the IFs in the NW apparatus 50A based on the application information determined by the traffic application amount computation unit 11. For example, login from the traffic generation apparatus 2 to the NW apparatus 50A is performed, and a test packet is transmitted from the IF of the NW apparatus 50A to the IF of the NW apparatus 50B. Alternatively, a test packet is transmitted from the traffic generation apparatus 2 to the IF of the NW apparatus 50B through the NW apparatus 50A.
[0037] Note that, in a case where a feature amount different for each IF pair appears without applying traffic, the processes of steps S11 and S12 are unnecessary. For example, traffic different for each region flows to an IF of a network apparatus through which Internet traffic flows, and thus an IF pair may be determined from the similarity between waveforms without giving features by applying traffic.
[0038] In step S13, the traffic collecting apparatus 3 collects time-series data of traffic flowing through the IFs of the NW apparatuses 50A and 50B.
[0039] In step S14, the waveform similarity computation unit 13 determines whether there is an IF of the NW apparatus 50B of which a traffic amount and a timing match those of a target IF of the NW apparatus 50A. For example, the waveform similarity computation unit 13 compares a traffic amount and a time stamp of data of a feature point of time-series data of the target IF of the NW apparatus 50A with a traffic amount and a time stamp of each of feature points of time-series data of the IFs of the NW apparatus 50B, and determines whether there is time-series data having a matching traffic amount and time stamp. In a case where there is time-series data having a matching traffic amount and time stamp, a target IF and an IF of time-series data become an IF pair, and since there is no deviation in a time stamp, the processing is terminated.
[0040] In step S15, the peak point correction unit 12 determines whether the number of sample points is greater than an application time+an application interval in the time-series data collected by the traffic collecting apparatus 3. When the traffic generation apparatus 2 applies traffic, there is a possibility that a feature amount will be divided into a plurality of adjacent sample points as illustrated in
[0041] In a case where there are a plurality of feature points, the peak point correction unit 12 adds feature amounts to convert the feature points into one feature point in accordance with a rising time of the feature point in step S16. Specifically, the peak point correction unit 12 obtains a traffic amount at the rising time of the feature point using a value obtained by subtracting an average traffic amount excluding the feature point portion from the sum of the plurality of feature points, that is, the sum of feature amounts— (average traffic amount×the number of feature points), and interpolates a traffic amount of other feature points with the average traffic amount. As illustrated in
[0042] In step S17, the waveform similarity computation unit 13 determines an IF pair based on a similarity between waveforms of time-series data acquired from the IFS of the NW apparatuses 50A and 50B. As illustrated in
[0043] Specifically, the waveform similarity computation unit 13 calculates a distance by applying dynamic time warping (DTW) to time-series data of traffic transmitted from a target IF of the NW apparatus 50A and time-series data of traffic which is input to each of the IFs of the NW apparatus 50B. As illustrated in
[0044] DTW is a technique for comparing a distance between values of two pieces of time-series data at respective points in time with a round robin algorithm to find a relationship in which the value of a distance between the pieces of time-series data is the smallest. DTW can be calculated even when a data length of time-series data is not aligned. In DTW, a similarity increases as long as shapes are similar to each other even when a time axis (phase) of time-series data is shifted.
[0045] In step S18, the time stamp correction unit 14 generates correction information for correcting a time stamp of an IF pair and stores the correction information in the time stamp correction information storage unit 16. Specifically, the time stamp correction unit 14 corrects a time stamp of any one piece of time-series data so that feature points of pieces of time-series data of IF pairs are set to be at the same timing as illustrated in
[0046] Note that the processes of steps S14 to S18 may be performed on each IF of the NW apparatus 50A.
[0047] As described above, the time stamp correction apparatus 1 of the present embodiment includes the waveform similarity computation unit 13 that determines an IF pair based on a similarity between waveforms of time-series data of traffic observed in the IFs of the NW apparatuses 50A and 50B, and the time stamp correction unit 14 that generates correction information for correcting a deviation between time stamps of pieces of traffic data based on feature points of time-series data of traffic observed in the IFs of the IF pair. Thereby, even when the concept of data acquisition is different for each of the management systems A to C, it is possible to specify an IF pair between the NW apparatuses 50A and 50B and obtain correction information for correcting a time stamp of pieces of data acquired from the NW apparatuses 50A and 50B, and thus correct data analysis can be performed.
[0048] As the time stamp correction apparatus 1 described above, for example, a general-purpose computer system including a central processing unit (CPU) 901, a memory 902, a storage 903, a communication device 904, an input device 905, and an output device 906 as illustrated in
REFERENCE SIGNS LIST
[0049] 1 Time stamp correction apparatus [0050] 11 traffic application amount computation unit [0051] 12 peak point correction unit [0052] 13 waveform similarity computation unit [0053] 14 time stamp correction unit [0054] 15 traffic information storage unit [0055] 16 time stamp correction information storage unit [0056] 2 Traffic generation apparatus [0057] 3 traffic collecting apparatus