JP2023129154A - Remote operation system, timestamp correction method, and timestamp correction program - Google Patents

Remote operation system, timestamp correction method, and timestamp correction program Download PDF

Info

Publication number
JP2023129154A
JP2023129154A JP2022033972A JP2022033972A JP2023129154A JP 2023129154 A JP2023129154 A JP 2023129154A JP 2022033972 A JP2022033972 A JP 2022033972A JP 2022033972 A JP2022033972 A JP 2022033972A JP 2023129154 A JP2023129154 A JP 2023129154A
Authority
JP
Japan
Prior art keywords
time
timestamp
data
infrastructure
time stamp
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
JP2022033972A
Other languages
Japanese (ja)
Inventor
延之 村中
Nobuyuki Muranaka
大輔 渡邊
Daisuke Watanabe
孝宣 岡田
Takanori Okada
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Information and Telecommunication Engineering Ltd
Original Assignee
Hitachi Information and Telecommunication Engineering Ltd
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 Hitachi Information and Telecommunication Engineering Ltd filed Critical Hitachi Information and Telecommunication Engineering Ltd
Priority to JP2022033972A priority Critical patent/JP2023129154A/en
Publication of JP2023129154A publication Critical patent/JP2023129154A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

To modify the time series of data in a time series DB that has multiple time stamps according to requirements.SOLUTION: A remote operation system that uses a computer to manage data obtained via a network from an infrastructure base that operates one or more infrastructure devices, includes a time-series DB that accumulates and maintains operational information in which a timestamp of the infrastructure base or the infrastructure device is given to data obtained from the infrastructure device, a time difference detection unit that calculates a difference between a timestamp obtained from the infrastructure base or the infrastructure device and a time stamp of a time synchronization server of an operation base owned by the remote operation system, and a timestamp correction unit that corrects the timestamp of the data in the acquisition range using the difference in accordance with a data acquisition request received from an application, which includes the time series and data acquisition range specified by the data of the infrastructure device used in the application when the timestamp and the difference of the data in the acquisition range acquired from the time series DB meet the predetermined conditions.SELECTED DRAWING: Figure 1

Description

本発明は、遠隔運用システム、タイムスタンプ修正方法、およびタイムスタンプ修正プログラムに関する。 The present invention relates to a remote operation system, a time stamp correction method, and a time stamp correction program.

ネットワークの仮想化やSDN(Software Defined Networking)の実用化が広く浸透しており、それらを活用することによって業務を支えるITインフラは、職場での人員変更や機器導入などに対して広域かつ詳細な項目の変更を柔軟かつ迅速に行えるようになっている。一方で、ITインフラの管理項目は肥大化・複雑化しており、導入や初期設定のみでは無く、継続運用や稼働運用にも多大な管理工数がかかるようになっている。近年では、こうしたITインフラの管理のような主要業務以外のアウトソースするニーズが高まっており、顧客にITインフラ環境を提供するのみでは無く継続運用や稼働運用も一体的に担うマネージドサービスが注目されている。 The practical application of network virtualization and SDN (Software Defined Networking) has become widespread, and by utilizing these technologies, IT infrastructure that supports business operations can provide wide-area and detailed Items can be changed flexibly and quickly. On the other hand, IT infrastructure management items are becoming larger and more complex, and a large amount of management time is required not only for installation and initial settings, but also for continuous operation and operation. In recent years, there has been an increasing need to outsource tasks other than core operations, such as the management of IT infrastructure, and managed services that not only provide IT infrastructure environments to customers but also handle continuous operation and operation are attracting attention. ing.

このような背景を受けて、マネージドサービスを提供するための基盤の開発も各社で行われている。マネージドサービスを提供するマネージドサービスプロバイダーの要件として、各顧客のITインフラを一元的に管理するため、顧客のITインフラの拠点ごとに異なる機器から収集される様々なフォーマットのデータを一元的に管理して運用に活用する必要がある。そのため、タイムスタンプを主キーとすることで時間に対する状況変化が確認しやすく、またタイムスタンプ以外のデータの型をあまり問わずにデータを保存可能な、時系列DBの活用が注目されている。 Against this background, companies are also developing infrastructure for providing managed services. As a requirement for managed service providers who provide managed services, in order to centrally manage each customer's IT infrastructure, we must centrally manage data in various formats collected from different devices at each customer's IT infrastructure location. It is necessary to utilize it for operation. For this reason, the use of time-series databases is attracting attention because they use timestamps as the primary key, making it easier to confirm changes in the situation over time, and which can store data without worrying too much about the type of data other than timestamps.

各所から取得してきたデータを整形して時系列DBに保存するためのベストプラクティスとしては、時系列DBであるElasticsearch、データ収集ツールであるLogstashあるいはBeats、時系列DBのデータを視覚化するKibanaといったOSS(Open Source Software)を組み合わせたELKスタックが広く活用されており、データ収集ツールと時系列DBを分散配置することで複数の拠点からデータを効率的に収集する。また、時系列DBに保存するデータの主キーであるタイムスタンプは、データ収集ツールがデータを整形する際に付与することとなる。 Best practices for formatting data obtained from various sources and storing it in a time-series DB include Elasticsearch, which is a time-series DB, Logstash or Beats, which is a data collection tool, and Kibana, which visualizes data in a time-series DB. The ELK stack, which combines OSS (Open Source Software), is widely used and efficiently collects data from multiple locations by distributing data collection tools and time series databases. Additionally, the timestamp, which is the primary key of the data stored in the time series DB, is added when the data collection tool formats the data.

特開2018-190216号公報Japanese Patent Application Publication No. 2018-190216

時系列DBを使用するにあたり、データに付与したタイムスタンプの信頼性が重要となる。先行技術は制御装置に組み込まれた時系列DBのデータのタイムスタンプの信頼度を上げるため、NTP(Network Time Protocol)の時刻修正のログを活用してタイムスタンプを修正する方法を示している。 When using a time series database, the reliability of the timestamps added to the data is important. The prior art describes a method of correcting time stamps by utilizing NTP (Network Time Protocol) time correction logs in order to increase the reliability of time stamps of data in a time series DB built into a control device.

しかし、本件のようにマネージドサービスにおいて、複数顧客のITインフラ拠点より多様なデータを収集し時系列DBで一元管理を行う場合、マネージドサービスを行う運用拠点と、顧客のITインフラ拠点の時間系が必ずしも合っているとは限らず、またマネージドサービスを担った場合でも顧客のITインフラ拠点の全機器の時間系を、運用拠点に合わせるのは大規模な変更であり実現できないことが多い。また、時間の同期がとれていないITインフラ機器が運用対象となることもある。タイムスタンプはデータ収集ツールが付与され、データ収集ツールは顧客のITインフラ拠点で稼働することを想定すると、時系列DBのタイムスタンプは、複数の顧客のITインフラ拠点の時間系が混在することとなる。ITインフラの運用においては、タイムスタンプを正しい時刻に合わせるのみでは無く、アラート時刻の突合せ対象を行う場合などは突合せ先の時間系に合わせて修正するなど運用に応じた修正が求められる。 However, in a managed service like this case, when a variety of data is collected from multiple customers' IT infrastructure bases and centrally managed using a time-series database, the time system of the managed service operation base and the customer's IT infrastructure base is different. This is not always the case, and even in the case of managed services, it is often impossible to match the time system of all devices at the customer's IT infrastructure base with the operation base as it would be a large-scale change. Additionally, IT infrastructure equipment whose time is not synchronized may be subject to operation. Assuming that the timestamp is assigned a data collection tool and that the data collection tool is operated at the customer's IT infrastructure site, the timestamp of the time series DB may contain the time systems of multiple customers' IT infrastructure sites. Become. When operating IT infrastructure, it is necessary not only to adjust the timestamp to the correct time, but also to adjust it according to the time system of the target when comparing alert times.

そこで本発明の一側面では、複数の時間系のタイムスタンプが付与された時系列DBのデータの時間系を、要件に応じて修正することが可能な技術を提供することを目的とする。 Accordingly, one aspect of the present invention aims to provide a technique that allows the time series of data in a time series DB to which time stamps of a plurality of time series are attached to be corrected according to requirements.

本発明の一態様にかかる遠隔運用システムは、コンピュータにより、1または複数のインフラ機器を運用するインフラ拠点からネットワークを介して得られたデータを管理する遠隔運用システムであって、前記インフラ機器から取得したデータに、前記インフラ拠点または前記インフラ機器のタイムスタンプが付与された運用情報を蓄積して保持する時系列DBと、前記インフラ拠点または前記インフラ機器から取得したタイムスタンプと、前記遠隔運用システムが有する運用拠点の時刻同期サーバのタイムスタンプとの差分を算出する時刻差分検出部と、アプリケーションから受け取った、当該アプリケーションで用いる前記インフラ機器のデータが従う時間系およびデータの取得範囲の指定を含むデータ取得要求に従って、前記時系列DBから取得した前記取得範囲のデータのタイムスタンプと前記差分とが所定の条件を満たす場合、前記取得範囲のデータのタイムスタンプを、前記差分を用いて修正するタイムスタンプ修正部と、を有することを特徴とする遠隔運用システムとして構成される。 A remote operation system according to one aspect of the present invention is a remote operation system that uses a computer to manage data obtained via a network from an infrastructure base that operates one or more infrastructure devices, the system managing data obtained from the infrastructure device. a time-series DB that accumulates and holds operational information in which a time stamp of the infrastructure base or the infrastructure equipment is attached to the data obtained, a time stamp acquired from the infrastructure base or the infrastructure equipment, and the remote operation system. A time difference detection unit that calculates the difference between the time stamp and the time stamp of the time synchronization server of the operation base, and data received from the application that includes the specification of the time system and data acquisition range that the data of the infrastructure equipment used in the application follows. If the timestamp of the data in the acquisition range acquired from the time series DB and the difference satisfy a predetermined condition in accordance with the acquisition request, the timestamp of the data in the acquisition range is corrected using the difference. The system is configured as a remote operation system characterized by having a correction section.

本発明の一態様によれば、複数の時間系のタイムスタンプが付与された時系列DBのデータの時間系を、要件に応じて修正することができる。 According to one aspect of the present invention, it is possible to modify the time series of data in a time series DB to which time stamps of a plurality of time series are attached according to requirements.

システム構成図system configuration diagram 時刻差分記録のシーケンス図Sequence diagram of time difference recording 時刻差分保持テーブルTime difference retention table 時系列DBデータ取得時のタイムスタンプ修正のシーケンス図Sequence diagram of timestamp correction when acquiring time series DB data 時系列DBデータ取得時のタイムスタンプ修正のフローチャートFlowchart of timestamp correction when acquiring time series DB data 個別取得データのタイムスタンプ修正のシーケンス図Sequence diagram of timestamp correction of individual acquired data 個別取得データのタイムスタンプ修正のフローチャートFlowchart for correcting timestamps of individually acquired data 時系列DBへタイムスタンプ修正情報しデータ格納するシーケンス図Sequence diagram of time stamp correction information and data storage in time series DB 時系列DBにタイムスタンプ修正情報がある場合の、時系列DBデータ取得時のタイムスタンプ修正のフローチャートFlowchart of timestamp correction when acquiring time-series DB data when the time-series DB has timestamp correction information 時系列DBのサブデータセットを作成するシステム構成図System configuration diagram for creating time series DB sub-datasets 時系列DBのサブデータセットを作成するシーケンス図Sequence diagram for creating subdataset of time series DB 時系列DBのサブデータセットを作成するシーケンス図Sequence diagram for creating subdataset of time series DB アプリ毎の要件設定を行うシステム構成図System configuration diagram for setting requirements for each application アプリ毎に要件設定を行うGUI例GUI example for setting requirements for each application コンピュータ概略図computer schematic diagram

以下、図面を参照して本発明の実施形態を説明する。以下の記載および図面は、本発明を説明するための例示であって、説明の明確化のため、適宜、省略および簡略化がなされている。本発明は、他の種々の形態でも実施する事が可能である。特に限定しない限り、各構成要素は単数でも複数でも構わない。 Embodiments of the present invention will be described below with reference to the drawings. The following description and drawings are examples for explaining the present invention, and are omitted and simplified as appropriate for clarity of explanation. The present invention can also be implemented in various other forms. Unless specifically limited, each component may be singular or plural.

図面において示す各構成要素の位置、大きさ、形状、範囲などは、発明の理解を容易にするため、実際の位置、大きさ、形状、範囲などを表していない場合がある。このため、本発明は、必ずしも、図面に開示された位置、大きさ、形状、範囲などに限定されない。 The position, size, shape, range, etc. of each component shown in the drawings may not represent the actual position, size, shape, range, etc. in order to facilitate understanding of the invention. Therefore, the present invention is not necessarily limited to the position, size, shape, range, etc. disclosed in the drawings.

以下の説明では、「データベース」、「テーブル」、「リスト」等の表現にて各種情報を説明することがあるが、各種情報は、これら以外のデータ構造で表現されていてもよい。データ構造に依存しないことを示すために「XXテーブル」、「XXリスト」等を「XX情報」と呼ぶことがある。識別情報について説明する際に、「識別情報」、「識別子」、「名」、「ID」、「番号」等の表現を用いた場合、これらについてはお互いに置換が可能である。 In the following description, various information may be described using expressions such as "database," "table," and "list," but various information may be expressed using data structures other than these. "XX table", "XX list", etc. are sometimes referred to as "XX information" to indicate that they do not depend on the data structure. When describing identification information, when expressions such as "identification information", "identifier", "name", "ID", and "number" are used, they can be replaced with each other.

同一あるいは同様な機能を有する構成要素が複数ある場合には、同一の符号に異なる添字を付して説明する場合がある。ただし、これらの複数の構成要素を区別する必要がない場合には、添字を省略して説明する場合がある。 When there are multiple components having the same or similar functions, the same reference numerals may be given different suffixes for explanation. However, if there is no need to distinguish between these multiple components, the subscripts may be omitted in the description.

また、以下の説明では、プログラムを実行して行う処理を説明する場合があるが、プログラムは、プロセッサ(例えばCPU(Central Processing Unit)、GPU(Graphics Processing Unit))によって実行されることで、定められた処理を、適宜に記憶資源(例えばメモリ)および/またはインターフェースデバイス(例えば通信ポート)等を用いながら行うため、処理の主体がプロセッサとされてもよい。同様に、プログラムを実行して行う処理の主体が、プロセッサを有するコントローラ、装置、システム、計算機、ノードであってもよい。プログラムを実行して行う処理の主体は、演算部であれば良く、特定の処理を行う専用回路(例えばFPGA(Field-Programmable Gate Array)やASIC(Application Specific Integrated Circuit))を含んでいてもよい。 In addition, although the following explanation may explain processing performed by executing a program, a program is executed by a processor (for example, a CPU (Central Processing Unit), a GPU (Graphics Processing Unit)), The processor may be the main body of the processing in order to perform the processing using appropriate storage resources (for example, memory) and/or interface devices (for example, communication ports). Similarly, the subject of processing performed by executing a program may be a controller, device, system, computer, or node having a processor. The main body of processing performed by executing a program may be an arithmetic unit, and may include a dedicated circuit (for example, FPGA (Field-Programmable Gate Array) or ASIC (Application Specific Integrated Circuit)) that performs specific processing. .

プログラムは、プログラムソースから計算機のような装置にインストールされてもよい。プログラムソースは、例えば、プログラム配布サーバまたは計算機が読み取り可能な記憶メディアであってもよい。プログラムソースがプログラム配布サーバの場合、プログラム配布サーバはプロセッサと配布対象のプログラムを記憶する記憶資源を含み、プログラム配布サーバのプロセッサが配布対象のプログラムを他の計算機に配布してもよい。また、以下の説明において、2以上のプログラムが1つのプログラムとして実現されてもよいし、1つのプログラムが2以上のプログラムとして実現されてもよい。 A program may be installed on a device, such as a computer, from a program source. The program source may be, for example, a program distribution server or a computer-readable storage medium. When the program source is a program distribution server, the program distribution server includes a processor and a storage resource for storing the program to be distributed, and the processor of the program distribution server may distribute the program to be distributed to other computers. Furthermore, in the following description, two or more programs may be realized as one program, or one program may be realized as two or more programs.

また、以下の各実施例で説明する運用アプライアンス、時刻調整アプライアンス、運用アプリ群、NTPサーバ等は、例えば、図14(コンピュータ概略図)に示すような、CPU1601と、メモリ1602と、HDD(Hard Disk Drive)等の外部記憶装置1603と、CD(Compact Disk)やUSBメモリ等の可搬性を有する記憶媒体1608に対して情報を読み書きする読書装置1607と、スキャナ、キーボード、マウスといった入力装置1606と、ディスプレイ等の出力装置1605と、通信ネットワークに接続するためのNIC(Network Interface Card)等の通信装置1604と、これらを連結するシステムバス等の内部通信線(システムバスという)1609と、を備えた一般的なコンピュータ1600により実現、あるいは格納できる。 In addition, the operational appliance, time adjustment appliance, operational application group, NTP server, etc. described in each of the following embodiments include, for example, a CPU 1601, a memory 1602, and an HDD (Hard Drive) as shown in FIG. 14 (computer schematic diagram). A reading device 1607 that reads and writes information to and from a portable storage medium 1608 such as a CD (Compact Disk) or USB memory, and an input device 1606 such as a scanner, keyboard, and mouse. , an output device 1605 such as a display, a communication device 1604 such as a NIC (Network Interface Card) for connecting to a communication network, and an internal communication line (referred to as a system bus) 1609 such as a system bus that connects these devices. It can be realized or stored in a general computer 1600.

以下の各実施例に示すシステムや装置に記憶され、あるいは処理に用いられる様々なデータ(例えば、運用アプライアンス110の時系列DB111、時刻調整アプライアンス120の時刻差分記録部122等)は、CPU1601がメモリ1602または外部記憶装置1603から読み出して利用することにより実現可能である。また、各システムや装置が有する各機能部(例えば、時刻調整アプライアンス120の拠点・装置時刻差分検出部121、タイムスタンプ修正部123、運用エージェント140の運用情報取得部141、時刻差分検出部142等)は、CPU1601が外部記憶装置1603に記憶されている所定のプログラムをメモリ1602にロードして実行することにより実現可能である。 Various data (for example, time series DB 111 of operation appliance 110, time difference recording unit 122 of time adjustment appliance 120, etc.) stored in the systems and devices shown in the following embodiments or used for processing is stored in memory by CPU 1601. This can be achieved by reading out and using the data from 1602 or external storage device 1603. In addition, each functional unit included in each system or device (for example, the base/device time difference detection unit 121 of the time adjustment appliance 120, the time stamp correction unit 123, the operation information acquisition unit 141 of the operation agent 140, the time difference detection unit 142, etc.) ) can be realized by the CPU 1601 loading a predetermined program stored in the external storage device 1603 into the memory 1602 and executing it.

上述した所定のプログラムは、読書装置1607を介して記憶媒体1608から、あるいは、通信装置1604を介してネットワークから、外部記憶装置1603に記憶(ダウンロード)され、それから、メモリ1602上にロードされて、CPU1601により実行されるようにしてもよい。また、読書装置1607を介して、記憶媒体1608から、あるいは通信装置1604を介してネットワークから、メモリ1602上に直接ロードされ、CPU1601により実行されるようにしてもよい。 The above-mentioned predetermined program is stored (downloaded) in the external storage device 1603 from the storage medium 1608 via the reading device 1607 or from the network via the communication device 1604, and then loaded onto the memory 1602. It may also be executed by the CPU 1601. Alternatively, the program may be directly loaded onto the memory 1602 from the storage medium 1608 via the reading device 1607 or from a network via the communication device 1604, and executed by the CPU 1601.

以下では、本システムを構成するアプライアンスやエージェント等が、ある1つのコンピュータにより構成される場合を例示するが、これらの機能の全部または一部が、クラウドのような1または複数のコンピュータに分散して設けられ、ネットワークを介して互いに通信することにより同様の機能を実現してもよい。 In the following, we will exemplify a case where the appliances, agents, etc. that make up this system are configured on one computer, but all or part of these functions may be distributed over one or more computers such as in the cloud. Similar functions may be realized by being provided with two devices and communicating with each other via a network.

本実施例では、運用拠点にて遠隔のインフラ拠点の各インフラ機器からの情報を収集して時系列DBに保存するとともに、運用拠点とインフラ拠点の各インフラ機器との時刻差分を取得して記録し、時系列DBからデータを取得する際にデータ利用要件に応じてタイムスタンプを修正する。 In this example, the operation base collects information from each infrastructure device at a remote infrastructure base and stores it in a time series DB, and also acquires and records the time difference between the operation base and each infrastructure equipment at the infrastructure base. Then, when retrieving data from the time series DB, modify the timestamp according to the data usage requirements.

図1は、実施例1の構成図を示す図である。 FIG. 1 is a diagram showing a configuration diagram of the first embodiment.

実施例1は、1つの運用拠点101、1つまたはそれ以上のインフラ拠点102、それらの間を繋ぐ管理ネットワーク103を有する。管理ネットワーク103としてはVPN(Virtual Private Network)や専用線のような安全に拠点間を接続するネットワークを用いてよい。 Embodiment 1 has one operation base 101, one or more infrastructure bases 102, and a management network 103 connecting them. As the management network 103, a network that safely connects locations, such as a VPN (Virtual Private Network) or a dedicated line, may be used.

運用拠点101には、運用アプライアンス110、時刻調整アプライアンス120、運用アプリ群130、NTPサーバ124が動作している。アプライアンスはHW(Hardware)装置あるいはサーバ装置上でHW装置と同様な機能を仮想的に動作させるものとなる。このように、運用アプライアンス110、時刻調整アプライアンス120を含む遠隔運用システムが、管理ネットワーク103を介してインフラ拠点102に接続されている。 In the operation base 101, an operation appliance 110, a time adjustment appliance 120, an operation application group 130, and an NTP server 124 are operating. Appliances are devices that virtually operate functions similar to HW devices on HW (Hardware) devices or server devices. In this way, a remote operation system including the operation appliance 110 and the time adjustment appliance 120 is connected to the infrastructure base 102 via the management network 103.

運用アプライアンス110は、時系列DB111、メッセージハブ112、運用ダッシュボード113を有する。 The operational appliance 110 has a time series DB 111, a message hub 112, and an operational dashboard 113.

時刻調整アプライアンス120は、拠点・装置時刻差分検出部121、時刻差分記録部122、タイムスタンプ修正部123を有する。 The time adjustment appliance 120 includes a base/device time difference detection section 121, a time difference recording section 122, and a time stamp correction section 123.

運用アプリ群130は、1つまたはそれ以上の運用アプリを含む。本実施例では、一例として、NW(Network)利用料計測アプリ131、アラート情報収集アプリ132、トラブルシュートアプリ133を示す。 The operational application group 130 includes one or more operational applications. In this embodiment, an NW (Network) usage fee measurement application 131, an alert information collection application 132, and a troubleshooting application 133 are shown as examples.

インフラ拠点102には、ITインフラ150、運用エージェント140、NTPサーバ143が動作している。ITインフラ150としては、複数のインフラ機器150が動作している。 In the infrastructure base 102, an IT infrastructure 150, an operation agent 140, and an NTP server 143 are operating. As the IT infrastructure 150, a plurality of infrastructure devices 150 are operating.

運用エージェント140は、運用情報取得部141、時刻差分検出部142を有する。 The operation agent 140 includes an operation information acquisition section 141 and a time difference detection section 142.

まず、本例での運用情報の取得に関して述べる。インフラ拠点102にて、運用エージェント140の運用情報取得部141は、ITインフラ150のインフラ機器150-1、150-2、・・・より運用情報を取得し、データを整形した後、管理ネットワーク103を介してメッセージハブ112に整形後のデータを送信する。運用情報取得部141は、Logstashのようなデータ収集ツールを使用し、インフラ機器150からSNMP(Simple Network Management Protocol)、syslog、telnet、等のプロトコルで運用に必要なイベントやアラート情報を取得する。そして、運用情報取得部141は、インフラ拠点102のNTPサーバ143に従ってタイムスタンプを付与し、取得した情報のフォーマットを時系列DB111に挿入できるJSON(JavaScript Object Notification)のような型に整形し、REST、AMQP、Kafka等のメッセージハブが対応するプロトコルで送信する。メッセージハブ112はそのデータを受け取り時系列DB111に保存する。運用ダッシュボード113は、時系列DB111の内容を元に運用情報を表示する。このように、運用情報には、上記イベントやアラート情報と、これらに対応付けて付与されたタイムスタンプとが含まれる。また、時系列DB111には、複数の時間系(例えば、インフラ拠点102-1の時間系およびインフラ拠点102-2の時間系)のタイムスタンプが付与されている。 First, the acquisition of operational information in this example will be described. At the infrastructure base 102, the operation information acquisition unit 141 of the operation agent 140 acquires operation information from the infrastructure devices 150-1, 150-2, etc. of the IT infrastructure 150, formats the data, and then sends it to the management network 103. The formatted data is sent to the message hub 112 via. The operation information acquisition unit 141 uses a data collection tool such as Logstash to acquire event and alert information necessary for operation from the infrastructure equipment 150 using protocols such as SNMP (Simple Network Management Protocol), syslog, and telnet. Then, the operational information acquisition unit 141 adds a timestamp according to the NTP server 143 of the infrastructure base 102, formats the acquired information into a type such as JSON (JavaScript Object Notification) that can be inserted into the time series DB 111, and sends it to the REST , AMQP, Kafka, and other message hubs support protocols. Message hub 112 receives the data and stores it in time series DB 111. The operation dashboard 113 displays operation information based on the contents of the time series DB 111. In this way, the operational information includes the above-mentioned event and alert information, and the time stamps associated with them. Furthermore, time stamps of a plurality of time systems (for example, the time system of the infrastructure base 102-1 and the time system of the infrastructure base 102-2) are assigned to the time series DB 111.

次に、本例での時刻差分情報の取得に関して述べる。インフラ拠点102にて、運用エージェント140の時刻差分検出部142は、ITインフラ150のインフラ機器150-1、150-2、・・・から機器設定時刻、NTPサーバ143から拠点の時刻を収集し、管理ネットワーク103を介して、上記機器設定時刻と上記拠点の時刻とを含む時刻情報を、拠点・装置時刻差分検出部121に送信する。拠点・装置時刻差分検出部121は、前記時刻情報を受信し、NTPサーバ124から運用拠点の時刻情報を取得する。拠点・装置時刻差分検出部121は、両者の時刻差分を算出し、時刻差分情報として時刻差分記録部122に保存する。 Next, acquisition of time difference information in this example will be described. At the infrastructure base 102, the time difference detection unit 142 of the operation agent 140 collects the device setting time from the infrastructure devices 150-1, 150-2, etc. of the IT infrastructure 150 and the base time from the NTP server 143, Via the management network 103, time information including the device setting time and the time at the base is sent to the base/apparatus time difference detection unit 121. The base/device time difference detection unit 121 receives the time information and acquires the time information of the operational base from the NTP server 124. The base/device time difference detection unit 121 calculates the time difference between the two and stores it in the time difference recording unit 122 as time difference information.

最後に、本例での運用アプリ群130からの時系列DB111の情報参照に関して述べる。運用アプリ群130として、本例ではNW利用量計測アプリ131、アラート情報収集アプリ132、トラブルシュートアプリ133を例として挙げている。これらは、いずれも稼働情報をレポートしたり障害発生時に原因を究明したりするために、時系列DB111に格納された運用情報を取得する。タイムスタンプ修正部123は、前記情報参照のリクエストを運用アプリ群130より受け付け、時刻差分記録部122の情報を参照し、アプリケーションの要件に応じてタイムスタンプを修正し、修正後のタイムスタンプを付与したデータを送信する等して、上記リクエストに対して応答する。 Finally, referring to information in the time series DB 111 from the operational application group 130 in this example will be described. In this example, the operational application group 130 includes a NW usage measurement application 131, an alert information collection application 132, and a troubleshooting application 133. All of these obtain operational information stored in the time-series DB 111 in order to report operational information or investigate the cause when a failure occurs. The timestamp correction unit 123 receives the request for information reference from the operational application group 130, refers to the information in the time difference recording unit 122, corrects the timestamp according to the requirements of the application, and assigns the corrected timestamp. It responds to the above request by, for example, transmitting the data.

図2は、時刻差分情報の取得および記録の一例を示すシーケンス図である。 FIG. 2 is a sequence diagram showing an example of acquiring and recording time difference information.

まず、インフラ拠点102の時刻差分検出部142は、時刻差分検出シーケンスの開始のトリガをかける。トリガとしては、NTP時刻修正等と同様に、一定時間毎の他、アプリ要件のレポートの起点時刻となった場合や、運用イベントの多数発生が予測されるメンテナンスの直前など、様々な例が考えられる(201)。 First, the time difference detection unit 142 of the infrastructure base 102 triggers the start of a time difference detection sequence. As a trigger, various examples can be considered, such as every fixed time like NTP time correction, etc., when the start time of a report for application requirements is reached, or immediately before maintenance when many operational events are expected to occur. (201)

次に、時刻差分検出部142は、ITインフラ150の各インフラ機器150-1、150-2、・・・より機器設定時刻を取得する(202)。 Next, the time difference detection unit 142 obtains the device setting time from each infrastructure device 150-1, 150-2, . . . of the IT infrastructure 150 (202).

次に、時刻差分検出部142は、NTPサーバ143からインフラ拠点102の時刻を取得する(203)。 Next, the time difference detection unit 142 obtains the time of the infrastructure base 102 from the NTP server 143 (203).

次に、時刻差分検出部142は、運用拠点101の拠点・装置時刻差分検出部121に、ステップ202で取得した機器設定時刻と、ステップ203で取得したインフラ拠点102の時刻を、インフラ拠点102の時刻情報として送信する(204)。 Next, the time difference detection unit 142 sends the equipment setting time acquired in step 202 and the time of the infrastructure base 102 acquired in step 203 to the base/device time difference detection unit 121 of the operation base 101. Send as time information (204).

次に、拠点・装置時刻差分検出部121は、NTPサーバ124より運用拠点101の時刻を、運用拠点の時刻情報として取得する(205)。 Next, the base/device time difference detection unit 121 obtains the time of the operational base 101 from the NTP server 124 as the time information of the operational base (205).

最後に、拠点・装置時刻差分検出部121は、ステップ202、ステップ203、ステップ205で取得した時刻情報から、運用拠点101とインフラ拠点102と各インフラ機器150の時刻差分306を算出し、時刻差分情報として時刻差分記録部122に保存する(206)。 Finally, the base/device time difference detection unit 121 calculates the time difference 306 between the operation base 101, the infrastructure base 102, and each infrastructure device 150 from the time information acquired in steps 202, 203, and 205, and It is stored as information in the time difference recording unit 122 (206).

図3は、時刻差分の記録例である。 FIG. 3 is an example of recording time differences.

時刻差分記録部122に記録されるデータはテーブル形式で管理され、運用拠点時刻301、インフラ拠点302、機器ID303、機器設定時刻304、インフラ拠点時刻305、時刻差分306の列を保持する。 The data recorded in the time difference recording unit 122 is managed in a table format, and holds columns of operation base time 301, infrastructure base 302, device ID 303, device setting time 304, infrastructure base time 305, and time difference 306.

本例では、拠点・装置時刻差分検出部121が、時刻差分306として、運用拠点時刻301とインフラ拠点時刻305の差分を算出して記録するが、NTPが無いなどインフラ拠点時刻305が取得できない場合は機器設定時刻304を代わりに使用して、時刻差分306を算出する。 In this example, the base/device time difference detection unit 121 calculates and records the difference between the operational base time 301 and the infrastructure base time 305 as the time difference 306, but if the infrastructure base time 305 cannot be obtained due to lack of NTP, etc. calculates the time difference 306 using the device setting time 304 instead.

各行311-314・・・は、各インフラ拠点102の各インフラ機器150からの時刻差分の取得情報を示す。行311、312は、インフラ機器150がNTPサーバ143と同期されており、おおよその時刻同期が取れている例を示している。例えば、行311では、運用拠点時刻301である「2021/08/31 09:00:00.111」と、インフラ拠点時刻305である「2021/08/31 09:00:01.500」との間の時刻差分306は「+0.1389」であり、両者の時刻は略同期がとられていることを示している。 Each line 311-314... shows the acquisition information of the time difference from each infrastructure device 150 of each infrastructure base 102. Lines 311 and 312 show an example in which the infrastructure equipment 150 is synchronized with the NTP server 143, and the time is roughly synchronized. For example, in line 311, the time difference between "2021/08/31 09:00:00.111" which is the operation base time 301 and "2021/08/31 09:00:01.500" which is the infrastructure base time 305 306 is "+0.1389", indicating that both times are approximately synchronized.

また、行313、314は、インフラ拠点102にNTPサーバ143が無く、インフラ機器150の機器設定時刻304が分単位でずれている例を示している。例えば、行313では、運用拠点時刻301である「2021/08/31 09:30:00.122」と、機器設定時刻304である「2021/08/31 09:40:00.222」との間の時刻差分306は「+10:00.100」であり、両者の時刻は同期がとられていないことを示している。 Furthermore, rows 313 and 314 show an example in which the infrastructure base 102 does not have the NTP server 143 and the device setting time 304 of the infrastructure device 150 is shifted by a minute. For example, in line 313, the time difference between "2021/08/31 09:30:00.122" which is the operation base time 301 and "2021/08/31 09:40:00.222" which is the device setting time 304 306 is "+10:00.100", indicating that the two times are not synchronized.

なお、同インフラ機器150との時刻差分情報であっても、算出タイミングによって時刻差分は変わると想定されるため、古い情報もすぐには消去せず継続して保持する。 Note that even if it is time difference information with the same infrastructure equipment 150, it is assumed that the time difference changes depending on the calculation timing, so old information is not deleted immediately but is continuously retained.

図4は、時系列DBデータ取得時にタイムスタンプ修正を行う一例を示すシーケンス図である。 FIG. 4 is a sequence diagram showing an example of correcting timestamps when acquiring time-series DB data.

まず、運用アプリ群130は、タイムスタンプ修正部123に対してデータ取得クエリを発行する(401)。 First, the operational application group 130 issues a data acquisition query to the time stamp correction unit 123 (401).

次に、タイムスタンプ修正部123は、時系列DB111より運用情報を含むデータを取得し(402)、時刻差分記録部122より時刻差分306を含む時刻差分情報を取得し(403)、データのタイムスタンプを修正し(404)、修正後のタイムスタンプを付与したデータを返答する(405)。 Next, the timestamp correction unit 123 acquires data including operational information from the time series DB 111 (402), acquires time difference information including the time difference 306 from the time difference recording unit 122 (403), and The stamp is corrected (404) and the data with the corrected timestamp is returned (405).

図5は、図4の例で示したタイムスタンプ修正部123(ステップ404)のフローチャートの一例である。 FIG. 5 is an example of a flowchart of the time stamp correction unit 123 (step 404) shown in the example of FIG.

最初に、タイムスタンプ修正部123は、運用アプリ群130より、時系列DB111のデータ取得クエリを受信する。本例ではRESTでの取得クエリを示しており、当該クエリが、URLのパスでインフラ拠点、”query”キーで装置名や時間の指定、”term”キーでデータが従う時間系(本例では運用拠点101を表す”monitoring_base”)、要求精度(本例では”0.1sec”)、修正方法(本例ではタイムスタンプを置換する”replace”)を条件としていることを示している(501)。なお、ステップ501において、”gt”は「Greater than」を表し、”lt”は「Less than」を表す。また、「10d」、「9d」は、それぞれ、「10days」、「9days」をあらわし、この例では、10日前から現在までの1日間のデータを取得するクエリであることを示している。 First, the time stamp correction unit 123 receives a data acquisition query for the time series DB 111 from the operational application group 130. This example shows a retrieval query using REST, and the query specifies the infrastructure site with the URL path, the device name and time with the "query" key, and the time system that the data follows with the "term" key (in this example, This indicates that the conditions are "monitoring_base" representing the operation base 101), the required accuracy ("0.1sec" in this example), and the correction method ("replace" that replaces the timestamp in this example) (501). Note that in step 501, "gt" represents "Greater than" and "lt" represents "Less than". Furthermore, "10d" and "9d" represent "10days" and "9days", respectively, and in this example, indicate that the query is to obtain data for one day from 10 days ago to the present.

続いて、タイムスタンプ修正部123は、ステップ501で受信したクエリの”query”キーの内容に従い、時系列DB111よりデータを取得する(502)。例えば、タイムスタンプ修正部123は、時系列DB111に格納されている運用情報に含まれるタイムスタンプを示す{“timestamp”:“2021/09/10 10:10:10.001”}や当該時点のイベントやアラート情報を示す“info”:{......}}を取得する。このようなデータが、10日前から現在までの1日間にわたり取得される。この例におけるデータには、例えば、当該データの従う時間系として、インフラ拠点102-1のインフラ機器150-1を表す”infrabase_1_equipment_1”が含まれているものとする。 Next, the timestamp correction unit 123 acquires data from the time series DB 111 according to the contents of the "query" key of the query received in step 501 (502). For example, the timestamp correction unit 123 may write information such as {“timestamp”:“2021/09/10 10:10:10.001”} indicating a timestamp included in the operational information stored in the time-series DB 111, an event at that time, etc. Get “info”:{......}} indicating alert information. Such data is acquired for one day from 10 days ago to the present. It is assumed that the data in this example includes, for example, "infrabase_1_equipment_1" representing the infrastructure equipment 150-1 of the infrastructure base 102-1 as a time system to which the data follows.

続いて、タイムスタンプ修正部123は、ステップ501で受信したクエリが、データを一定期間まとめて返答するクエリでないか、あるいはまとめる期間がクエリが要求する精度よりも短いか否かを判定する(503)。これは、時系列DB111は必ずしも1件1件個別データを返答する用途では無いためである。例えば、可視化目的等の場合は、1時間ごとに取得された複数のイベントやアラート情報を含むデータについて、データ数や平均値や中間値といった概要を算出した上でその結果をクエリに対する回答とする場合がある。このような場合には、データをまとめて返答する場合、かつまとめ期間が要求精度より長い場合は、タイムスタンプ修正を行う必要が無いと判断できる。 Next, the timestamp correction unit 123 determines whether the query received in step 501 is not a query that responds by collecting data for a certain period of time, or whether the period of data collection is shorter than the precision required by the query (503 ). This is because the time series DB 111 is not necessarily used to respond with individual data one by one. For example, for visualization purposes, calculate a summary such as the number of data, average value, and median value for data including multiple events and alert information acquired every hour, and then use the results as an answer to a query. There are cases. In such a case, if the data is to be responded to in a batch and if the summary period is longer than the required accuracy, it can be determined that there is no need to correct the timestamp.

つまり、ステップ503では、ステップ501で受信したクエリが、運用アプライアンス110が時系列DB111のデータを一定期間まとめて返答することを要求する内容である場合(条件Aを満たす場合)、あるいは運用アプライアンス110が時系列DB111のデータをまとめている場合において、その期間が上記クエリで要求された精度よりも短くない場合(条件Bを満たす場合)、タイムスタンプ修正部123は、タイムスタンプ修正を行う必要がないと判断し、ステップ506に進む(503;YES)。 That is, in step 503, if the query received in step 501 requests that the operational appliance 110 respond with data from the time series DB 111 for a certain period of time (if condition A is satisfied), or if the operational appliance 110 compiles the data of the time series DB 111, and if the period is not shorter than the precision requested by the above query (if condition B is satisfied), the timestamp correction unit 123 needs to correct the timestamp. It is determined that there is not, and the process proceeds to step 506 (503; YES).

一方、ステップ501で受信したクエリが、上記条件Aを満たさない場合、あるいは上記条件Bを満たさない場合、タイムスタンプ修正部123は、タイムスタンプ修正を行う必要があると判断し、ステップ504に進む(503;NO)。上記条件Aや条件Bについては、ステップ501やステップ502と同様、クエリ内で指定されている。 On the other hand, if the query received in step 501 does not satisfy the above condition A or does not satisfy the above condition B, the timestamp correction unit 123 determines that it is necessary to correct the timestamp, and proceeds to step 504. (503;NO). The above conditions A and B are specified within the query as in steps 501 and 502.

続いて、タイムスタンプ修正部123は、ステップ502で取得したデータのうち、クエリで指定された条件を満たすタイムスタンプの時間付近の時刻差分306を含む時刻差分情報を、時刻差分記録部122から取得する(504)。本例ではステップ501で受信されたクエリに従い、運用拠点101とインフラ拠点102との時刻差分306を取得する。ここでは、時刻差分情報「{“2021/09/10AM”:{“equipment_1”:”+1.1000s”}}」が取得されたことを示している。該当時間付近に複数の時刻差分が記録されている場合は、平均値や中間値を算出し、最も確からしい時刻差分を算出する。また、本例ではJSONの形式で時刻差分を取得しているが、応答のデータ型はそれに限るものでは無い。 Next, the timestamp correction unit 123 acquires, from the time difference recording unit 122, time difference information including the time difference 306 around the time of the timestamp that satisfies the conditions specified in the query, from among the data acquired in step 502. Do (504). In this example, according to the query received in step 501, the time difference 306 between the operation base 101 and the infrastructure base 102 is acquired. Here, it is shown that the time difference information “{“2021/09/10AM”:{“equipment_1”:”+1.1000s”}}” has been acquired. If multiple time differences are recorded around the relevant time, the average value or intermediate value is calculated to calculate the most probable time difference. Also, in this example, the time difference is obtained in JSON format, but the data type of the response is not limited to that.

続いて、タイムスタンプ修正部123は、ステップ502で取得したデータに含まれるタイムスタンプの時間系(本例では、インフラ拠点102-1のインフラ機器150-1)が、ステップ501のクエリで提示された従う時間系(本例では運用拠点101)と異なっており、時刻差分が要求精度よりも大きいか否かを判定することにより、ステップ502で取得したデータに含まれるタイムスタンプの修正有無を確認する(505)。 Next, the timestamp correction unit 123 determines whether the time series of the timestamp included in the data acquired in step 502 (in this example, the infrastructure device 150-1 of the infrastructure base 102-1) is presented in the query in step 501. Check whether the timestamp included in the data obtained in step 502 has been corrected by determining whether the time difference is greater than the required accuracy. Do (505).

例えば、タイムスタンプ修正部123は、運用エージェント140が、管理ネットワーク103を介して運用拠点101のNTPサーバ124に従っていた場合などは、最初から運用拠点101の時間系のタイムスタンプが付与されている可能性がある。例えば、タイムスタンプ修正部123は、ステップ502で取得したデータに記録されている、従う時間系に関する情報「infrabase_1」(インフラ拠点102の識別情報)などといった情報を読み取る。タイムスタンプ修正部123は、読み取った上記従う時間系に関する情報と、ステップ501で受信したクエリで指定された従う時間系に関する情報(例えば、運用拠点101を表す”monitoring_base”)とが異なるか否かを判定し、両者が異なると判定した場合、さらに、上記ステップ502で取得したデータのタイムスタンプと、運用拠点101のNTPサーバ124の時刻との差分、すなわち運用拠点101とインフラ拠点102との時刻差分306が、ステップ501で受信したクエリで指定された要求精度より大きいことを確認する。なお、上記の例では、両者は一致しないため、ステップ507に進むこととなる。 For example, if the operation agent 140 follows the NTP server 124 of the operation base 101 via the management network 103, the timestamp correction unit 123 may have assigned a time stamp based on the time of the operation base 101 from the beginning. There is sex. For example, the timestamp correction unit 123 reads information such as information "infrabase_1" (identification information of the infrastructure base 102) related to the time system to be followed, which is recorded in the data acquired in step 502. The timestamp correction unit 123 determines whether the read information regarding the time system to follow differs from the information regarding the time system to follow specified in the query received in step 501 (for example, "monitoring_base" representing the operation base 101). If it is determined that the two are different, the difference between the time stamp of the data obtained in step 502 above and the time of the NTP server 124 of the operation base 101, that is, the time of the operation base 101 and the infrastructure base 102, is determined. Verify that the difference 306 is greater than the requested accuracy specified in the query received in step 501. Note that in the above example, since the two do not match, the process proceeds to step 507.

つまり、ステップ505では、タイムスタンプ修正部123は、上記従う時間系に関する情報と、ステップ501で受信したクエリで指定された従う時間系に関する情報とが異なるという条件を満たす場合(条件Cを満たす場合)、および当該条件Cを満たす場合において、さらに運用拠点101とインフラ拠点102との時刻差分306が、ステップ501で受信したクエリで指定された要求精度より大きいという条件を満たす場合(条件Dを満たす場合)、ステップ507に進む(505;YES)。一方、ステップ505において、上記条件Cおよび上記条件Dのいずれも満たさない場合、タイムスタンプ修正部123は、タイムスタンプ修正を行う必要がないと判断し、ステップ506に進む(505;NO)。 That is, in step 505, the timestamp correction unit 123 uses ), and if the condition C is satisfied, and if the condition that the time difference 306 between the operation base 101 and the infrastructure base 102 is greater than the required accuracy specified in the query received in step 501 (condition D is satisfied) ), proceed to step 507 (505; YES). On the other hand, in step 505, if neither the above condition C nor the above condition D is satisfied, the time stamp correction unit 123 determines that there is no need to perform time stamp correction, and proceeds to step 506 (505; NO).

続いて、タイムスタンプ修正部123は、ステップ505において、タイムスタンプの修正が必要と判断した場合、ステップ501で受信したクエリで指定された修正方法に従ってタイムスタンプを修正し、修正後のタイムスタンプを付与したデータを、運用アプリ群130に返答する(507)。 Subsequently, if the timestamp modification unit 123 determines that the timestamp needs to be modified in step 505, it modifies the timestamp according to the modification method specified in the query received in step 501, and updates the modified timestamp. The assigned data is returned to the operational application group 130 (507).

本例では、ステップ501で受信したクエリで指定された修正方法が”replace”であるため、タイムスタンプ修正部123は、例えば、ステップ502で取得したデータのタイムスタンプを示す{“timestamp”:“2021/09/10 10:10:10.001”}に、ステップ504で取得した運用拠点101とインフラ拠点102との時刻差分306を示す{“2021/09/10AM”:{ “equipment_1”:”+1.1000s”}}」を加えた修正後のタイムスタンプ{“timestamp” : “2021/09/10 10:10:11.101” }を算出する。そして、タイムスタンプ修正部123は、上記算出して得られた修正後のタイムスタンプを有したデータを、運用アプリ群130に送信する。 In this example, since the modification method specified in the query received in step 501 is "replace", the timestamp modification unit 123, for example, indicates the timestamp of the data acquired in step 502 {"timestamp":" 2021/09/10 10:10:10.001”} shows the time difference 306 between the operation base 101 and infrastructure base 102 obtained in step 504 {“2021/09/10AM”:{ “equipment_1”:”+1.1000 Calculate the corrected timestamp {“timestamp” : “2021/09/10 10:10:11.101” } with “s”}}” added. Then, the time stamp correction unit 123 transmits the data having the corrected time stamp obtained by the above calculation to the operational application group 130.

なお、本例では、タイムスタンプを置き換えているが、他に修正前と修正後のタイムスタンプを、別キー名を使用して併記したり、オフセットを、別キーを用いて追加するなどの修正方法も想定される。 In this example, the timestamp is replaced, but other modifications can be made such as writing the timestamp before and after the correction using different key names, or adding an offset using a different key. Methods are also envisaged.

タイムスタンプ修正部123は、タイムスタンプを修正する必要が無いと判定した場合は、ステップ502で取得したデータをそのまま運用アプリ群130に返答する(506)。 If the time stamp correction unit 123 determines that there is no need to correct the time stamp, it returns the data obtained in step 502 as is to the operational application group 130 (506).

本実施例では、時系列DB111のデータのみでは無く、運用アプリ群130が個別に各インフラ拠点102のインフラ機器150より取得したログ等の情報のタイムスタンプを、別の時間系に修正する。 In this embodiment, not only the data in the time series DB 111, but also the time stamps of information such as logs individually acquired by the operational application group 130 from the infrastructure equipment 150 of each infrastructure base 102 are corrected to a different time system.

図6は、個別に取得したデータのタイムスタンプの修正を行う例のシーケンス図である。 FIG. 6 is a sequence diagram of an example of correcting time stamps of individually acquired data.

まず、運用アプリ群130は、個別にインフラ機器150よりタイムスタンプが付されたログ等の情報を取得する(601)。本例では、運用アプリ群130は、例えば、上記ログ等の情報として、インフラ機器150から「2021/09/11 20:20:10.002 “info...”」を取得する。 First, the operational application group 130 individually obtains information such as time-stamped logs from the infrastructure equipment 150 (601). In this example, the operational application group 130 obtains "2021/09/11 20:20:10.002 "info..." from the infrastructure device 150, for example, as information such as the above log.

運用アプリ群130が直接的にインフラ機器150からログ等の情報を取得する理由は以下の通りである。すなわち、時系列DB111に保存される情報は、運用エージェント140の運用情報取得部141が取得することとなる。運用情報取得部141は、インフラ機器150の負荷や時系列DB111の容量を考慮して全ての情報を送るわけでは無く、基本的に運用において優先度が高い情報に限定して送信する。しかしながら、障害対応時や保守対応の時にはそれ以外の詳細情報も必要となるため、運用情報取得部141は、場合に応じて個別に情報を取得する。 The reason why the operational application group 130 directly acquires information such as logs from the infrastructure device 150 is as follows. That is, the information stored in the time series DB 111 is acquired by the operation information acquisition unit 141 of the operation agent 140. The operation information acquisition unit 141 does not send all information in consideration of the load on the infrastructure equipment 150 and the capacity of the time series DB 111, but basically only sends information that has a high priority in operation. However, since other detailed information is also required when dealing with failures or maintenance, the operation information acquisition unit 141 acquires information individually depending on the case.

次に、運用アプリ群130は、タイムスタンプの修正要求をタイムスタンプ修正部123に送る(602)。ステップ601で取得した情報のタイムスタンプは、インフラ機器150の機器設定時刻で付与されている。しかし、例えば、他のインフラ機器150-nから取得したログ情報と突合せを行ったり、運用拠点101で付近にイベントとの順序関係を検証する場合に、時間系の修正が必要となる。このため、運用アプリ群130は、上記修正要求をタイムスタンプ修正部123に送信している。 Next, the operational application group 130 sends a time stamp modification request to the time stamp modification unit 123 (602). The time stamp of the information acquired in step 601 is given at the device setting time of the infrastructure device 150. However, for example, when comparing log information obtained from other infrastructure devices 150-n or verifying the order relationship with nearby events at the operation base 101, it is necessary to correct the time system. Therefore, the operating application group 130 transmits the above modification request to the time stamp modification unit 123.

次に、タイムスタンプ修正部123は、時刻差分記録部122より時刻差分情報を取得し(603)、タイムスタンプの修正を行い(604)、修正後のタイムスタンプを付与したデータを送信する等して、修正後のタイムスタンプを返答する(605)。 Next, the time stamp correction unit 123 acquires time difference information from the time difference recording unit 122 (603), corrects the time stamp (604), and transmits the data with the corrected time stamp attached. and replies with the corrected timestamp (605).

図7は、図6の例で示したタイムスタンプ修正部123(ステップ602)のフローチャートの一例である。 FIG. 7 is an example of a flowchart of the time stamp correction unit 123 (step 602) shown in the example of FIG.

最初に、タイムスタンプ修正部123は、運用アプリ群130より、タイムスタンプ修正要求を受信する(701)。本例ではRESTでの修正要求を示しており、URLのパスでタイムスタンプ修正要求、”term”キーで元々の時間系(ステップ601で取得した情報の時間系。本例では”equipment_1_1”)、修正後に従う時間系(本例では運用拠点101を表す”monitoring_base”)、要求精度(本例では”0.1sec”)を示している。また”timestamp”キーで修正するタイムスタンプを指定している。本例では、タイムスタンプ修正部123は、例えば、ステップ601で取得した上記ログ等の情報に含まれるタイムスタンプを示す「2021/09/11 20:20:10.002」を含む、上記タイムスタンプ修正要求を受信する。 First, the timestamp modification unit 123 receives a timestamp modification request from the operating application group 130 (701). This example shows a modification request using REST, where the URL path is the timestamp modification request, the "term" key is the original time system (the time system of the information obtained in step 601; in this example, "equipment_1_1"), It shows the time system to follow after correction (in this example, “monitoring_base” representing the operation base 101) and the required accuracy (in this example, “0.1sec”). Also, specify the timestamp to be modified using the "timestamp" key. In this example, the timestamp modification unit 123 issues the timestamp modification request, including "2021/09/11 20:20:10.002" indicating the timestamp included in the information such as the log acquired in step 601, for example. receive.

次に、ステップ504と同様に、タイムスタンプ修正部123は、時刻差分記録部122より、ステップ701で修正要求を受けたタイムスタンプの時間付近の時刻差分306を含む時刻差分情報を取得する(702)。本例ではステップ701で受信された上記タイムスタンプ修正要求に従い、上記ログ等の情報に含まれるタイムスタンプで示される時刻を含む所定範囲内(例えば、5分間)の時刻に対応する時刻差分306を、時刻差分記録部122から取得する。この例では、タイムスタンプ修正部123が、時刻差分306として、「{“2021/09/11PM”:{“equipment_1”:”+2.1000s”}}」を取得したことを示している。 Next, similarly to step 504, the time stamp correction unit 123 acquires time difference information including the time difference 306 around the time of the time stamp for which the correction request was received in step 701 from the time difference recording unit 122 (702 ). In this example, in accordance with the time stamp correction request received in step 701, the time difference 306 corresponding to a time within a predetermined range (for example, 5 minutes) including the time indicated by the time stamp included in the information such as the log is calculated. , obtained from the time difference recording unit 122. This example shows that the time stamp correction unit 123 has acquired “{“2021/09/11PM”:{“equipment_1”:”+2.1000s”}}” as the time difference 306.

次に、タイムスタンプ修正部123は、ステップ701で受信した修正要求の要求精度よりも、ステップ702で取得した時刻差分の方が大きいか否かを判定することにより、タイムスタンプの修正要否を判断する(703)。すなわち、タイムスタンプ修正部123は、ステップ701で受信した修正要求の要求精度よりも、ステップ702で取得した時刻差分の方が大きいと判定した場合、要求精度を満たしていないため修正が必要であると判断し、ステップ704に進む(703;YES)。一方、タイムスタンプ修正部123は、ステップ701で受信した修正要求の要求精度よりも、ステップ702で取得した時刻差分の方が大きくないと判定した場合、要求精度を満たしているため修正は不要であると判断し、ステップ705に進む(703;NO)。 Next, the timestamp correction unit 123 determines whether or not the time stamp needs to be corrected by determining whether or not the time difference obtained in step 702 is greater than the requested accuracy of the correction request received in step 701. Judgment (703). In other words, if the time stamp correction unit 123 determines that the time difference obtained in step 702 is larger than the required accuracy of the correction request received in step 701, the required accuracy is not met and correction is necessary. It is determined that this is the case, and the process proceeds to step 704 (703; YES). On the other hand, if the time stamp correction unit 123 determines that the time difference obtained in step 702 is not larger than the required accuracy of the correction request received in step 701, the required accuracy is satisfied and no correction is necessary. It is determined that there is, and the process proceeds to step 705 (703; NO).

次に、タイムスタンプ修正部123は、タイムスタンプの修正が必要であると判定した場合は、ステップ701で受信した修正要求を満たすようにタイムスタンプを修正し、修正後のタイムスタンプを付与したデータを、運用アプリ群130に返答する(704)。 Next, if the timestamp correction unit 123 determines that the timestamp needs to be corrected, the timestamp correction unit 123 corrects the timestamp so as to satisfy the correction request received in step 701, and the data to which the corrected timestamp has been added is is replied to the operational application group 130 (704).

本例では、タイムスタンプ修正部123は、例えば、ステップ701で受信した修正要求に含まれるタイムスタンプ「“2021/09/11 20:20:10.002“」に対して、ステップ702で取得した時刻差分「{“2021/09/11PM”:{ “equipment_1”:”+2.1000s”}}」を加算し、修正後のタイムスタンプ「“2021/09/11 20:20:12.102“」を算出する。そして、タイムスタンプ修正部123は、上記算出して得られた修正後のタイムスタンプを有したデータを、運用アプリ群130に送信する。なお、本例では、修正後のタイムスタンプのみを返しているが、修正前後のタイムスタンプを併記したり、行数等の情報を付与することで、扱いを容易化する処理も想定される。 In this example, the timestamp correction unit 123 applies the time difference obtained in step 702 to the timestamp "2021/09/11 20:20:10.002" included in the correction request received in step 701, for example. Add “{“2021/09/11PM”:{ “equipment_1”:”+2.1000s”}}” to calculate the corrected timestamp ““2021/09/11 20:20:12.102””. Then, the time stamp correction unit 123 transmits the data having the corrected time stamp obtained by the above calculation to the operational application group 130. Note that in this example, only the corrected timestamp is returned, but it is also possible to write the timestamps before and after the correction, or to add information such as the number of rows to make the process easier to handle.

一方、タイムスタンプ修正部123は、タイムスタンプの修正が必要でないと判定した場合は、運用アプリ群130にその旨を返答する(705)。 On the other hand, if the timestamp correction unit 123 determines that the timestamp does not need to be corrected, it replies to the operation application group 130 to that effect (705).

本実施例では、運用情報取得部141が時系列DB111に格納する運用情報のデータを作成する際に、時刻差分を後で辿れるよう運用拠点のタイムスタンプを併記して、時系列DB111に格納する例を示す。本例は、運用情報取得部141のデータ取得ツールの改造が可能な場合を想定している。また、時系列DB111に格納する全てのデータに、前記運用拠点のタイムスタンプが併記をされており、また、データについて所定の閾値以上の大きな空白時間が無ければ、時系列DB111のデータを元に実施例1、2で示したタイムスタンプの修正も可能となる。しかしながら、時系列DB111へのアクセスは必ずしも1件1件の全てのデータを取得するわけでは無い。また、時間方向にまとめたデータを取得するためのアクセスが主流ではあり、1件1件の多くのデータ取得をタイムスタンプ修正のたびに並列して動作させることは、時系列DB111へのアクセス負荷が倍増する恐れがある。このため、タイムスタンプの修正に当たっては、要件に応じた時刻差分記録部122を用いるか時系列DB111のデータを用いるか判断を行う。 In this embodiment, when the operation information acquisition unit 141 creates the operation information data to be stored in the time series DB 111, it also writes the timestamp of the operation base so that the time difference can be traced later, and stores it in the time series DB 111. Give an example. This example assumes that the data acquisition tool of the operational information acquisition unit 141 can be modified. In addition, all data stored in the time series DB 111 is accompanied by the timestamp of the operation base, and if there is no large blank time exceeding a predetermined threshold for the data, the data stored in the time series DB 111 is It is also possible to modify the time stamps shown in the first and second embodiments. However, accessing the time series DB 111 does not necessarily result in acquiring all data one by one. In addition, access to retrieve data summarized in the time direction is mainstream, and having to retrieve many data items one by one in parallel every time the timestamp is corrected increases the access load to the time series DB111. is likely to double. Therefore, when correcting the time stamp, it is determined whether to use the time difference recording unit 122 or the data in the time series DB 111 depending on the requirements.

図8は、運用情報取得部141が時系列DB111にデータを格納する際に、運用拠点のタイムスタンプを併記して保存する例を表すシーケンス図である。 FIG. 8 is a sequence diagram showing an example in which when the operation information acquisition unit 141 stores data in the time series DB 111, the time stamp of the operation base is also written and saved.

まず、運用情報取得部141は、インフラ機器150より運用情報の収集を行う(801)。本情報取得方法に関しては、実施例1と同様である。 First, the operational information acquisition unit 141 collects operational information from the infrastructure equipment 150 (801). This information acquisition method is the same as in the first embodiment.

次に、運用情報取得部141は、時刻差分検出部142経由で、運用拠点101の時刻情報を取得する(802)。 Next, the operation information acquisition unit 141 acquires time information of the operation base 101 via the time difference detection unit 142 (802).

次に、運用情報取得部141は、実施例1と同様にデータ整形を行うとともに、その際にステップ802で取得した運用拠点101の時刻情報を併記し(803)、メッセージハブ112経由で時系列DB111にデータを送信する(804)。ここでは、運用情報取得部141が、インフラ拠点102のインフラ機器150から取得した運用情報に含まれる「{“timestamp” : “2021/09/20 15:01:10.001”,“info”:{……}}」に、運用拠点101のNTPサーバ124から取得した時刻情報に含まれる運用拠点101のアイムスタンプ「“monitorzone_timestamp” : “2021/09/20 15:01:09.501”」が追加されたデータ804a、「{“timestamp”:“2021/09/20 15:11:11.111”“info”:{......}」に、運用拠点101のNTPサーバ124から取得した時刻情報に含まれる運用拠点101のアイムスタンプ「“monitorzone_timestamp” : “2021/09/20 15:01:10.611”}」が追加されたデータ804bが送信されていることを示している。この例では、インフラ拠点102のインフラ機器150として、インフラ拠点102-1のインフラ機器、インフラ拠点102-2のインフラ機器を含む、複数のインフラ拠点およびインフラ機器についてのタイムスタンプが含まれるものとする。 Next, the operation information acquisition unit 141 formats the data in the same manner as in the first embodiment, and also records the time information of the operation base 101 acquired in step 802 (803), and sends the data in chronological order via the message hub 112. Send data to DB111 (804). Here, the operation information acquisition unit 141 acquires “{“timestamp” : “2021/09/20 15:01:10.001”,“info”:{…” included in the operation information acquired from the infrastructure equipment 150 of the infrastructure base 102. …}}” is added with the im-stamp ““monitorzone_timestamp”: “2021/09/20 15:01:09.501”” of the operation base 101 included in the time information obtained from the NTP server 124 of the operation base 101. 804a, “{“timestamp”:“2021/09/20 15:11:11.111”“info”:{......}” included in the time information obtained from the NTP server 124 of the operation base 101 It shows that data 804b with the im-stamp “monitorzone_timestamp” : “2021/09/20 15:01:10.611”} of operation base 101 added is being sent. In this example, the infrastructure equipment 150 of the infrastructure base 102 includes time stamps for multiple infrastructure bases and infrastructure equipment, including the infrastructure equipment of the infrastructure base 102-1 and the infrastructure equipment of the infrastructure base 102-2. .

なお、「“info”:{……}」は、実施例1の場合と同様、インフラ拠点のイベントやアラート情報である。本実施例では、このように、インフラ拠点のイベントやアラート情報ごとに運用拠点101の時刻情報を対応付けているため、イベントやアラートの単位で時刻差分を把握できる。 Note that "info":{...}" is event or alert information of the infrastructure base, as in the first embodiment. In this embodiment, since the time information of the operational base 101 is associated with each event and alert information of the infrastructure base, time differences can be grasped in units of events and alerts.

図9は、時系列DB111に格納されているデータに、インフラ拠点102のタイムスタンプだけでは無く、運用拠点101のタイムスタンプが併記されている場合に、時系列DB111のデータのタイムスタンプをアプリ要件に応じて修正するフローチャートの例である。当該処理は、タイムスタンプ修正部123により行われるが、多くの個所は実施例1の図5と同様のため、差分を中心に説明を行っていく。 Figure 9 shows that when the data stored in the time-series DB 111 includes not only the timestamp of the infrastructure base 102 but also the timestamp of the operation base 101, the timestamp of the data in the time-series DB 111 is added to the application requirements. This is an example of a flowchart that is modified according to the following. This process is performed by the time stamp correction unit 123, but since many parts are the same as those in FIG. 5 of the first embodiment, the explanation will focus on the differences.

ステップ901からステップ903までは、図5のステップ501からステップ503までと処理の一部が同様である。 Steps 901 to 903 are partially similar to steps 501 to 503 in FIG.

すなわち、タイムスタンプ修正部123は、運用アプリ群130より、時系列DB111のデータ取得クエリを受信する(901)。本例ではRESTでの取得クエリを示しており、当該クエリが、URLのパスでインフラ拠点、”query”キーで装置名や時間の指定(本例ではインフラ拠点102-1のインフラ機器を示す”infrabase_1_equipment_1”および現時点から10日前までの時間{“gt”:”now-10d”,“lt”:”now”}、”term”キーでデータが従う時間系(本例ではインフラ拠点102-2のインフラ機器”infrabase_2_equipment_2”)、要求精度(本例では”0.001sec”)、修正方法(本例ではタイムスタンプを置換することを示す”replace”)を条件としていることを示している。つまり、ステップ901で受信したクエリは、現在から10日前までのインフラ拠点102-1のインフラ機器のタイムスタンプを、0.001秒の精度で、インフラ拠点102-2のインフラ機器のタイムスタンプに置き換える要求をするクエリであることを示している。 That is, the time stamp correction unit 123 receives a data acquisition query for the time series DB 111 from the operational application group 130 (901). This example shows a REST acquisition query, where the URL path specifies the infrastructure site, and the "query" key specifies the device name and time (in this example, it indicates the infrastructure device at infrastructure site 102-1). infrabase_1_equipment_1” and the time from the current moment to 10 days ago {“gt”:”now-10d”,“lt”:”now”}, the time system that the data follows with the “term” key (in this example, the time system for infrastructure base 102-2) This indicates that the conditions are the infrastructure equipment "infrabase_2_equipment_2"), the required accuracy (in this example, "0.001sec"), and the modification method (in this example, "replace", which indicates replacing the timestamp).In other words, the step The query received at 901 is a query requesting to replace the timestamp of the infrastructure equipment of infrastructure base 102-1 from now until 10 days ago with the timestamp of the infrastructure equipment of infrastructure base 102-2 with an accuracy of 0.001 seconds. It shows that there is.

続いて、タイムスタンプ修正部123は、ステップ901で受信したクエリの”query”キーの内容に従い、時系列DB111よりデータを取得する(902)。例えば、タイムスタンプ修正部123は、図8のステップ804で送信され、時系列DB111に格納されている運用情報に含まれる運用拠点101のタイムスタンプ“2021/09/20 15:01:09.501”とインフラ拠点102-1“infrabase_1_equipment_1“のタイムスタンプ“timestamp”:“2021/09/20 15:01:10.001”や当該時点のイベントやアラート情報を示す“info”:{......}}を取得する。 Next, the timestamp correction unit 123 acquires data from the time series DB 111 according to the contents of the "query" key of the query received in step 901 (902). For example, the timestamp correction unit 123 corrects the timestamp “2021/09/20 15:01:09.501” of the operation base 101 included in the operation information sent in step 804 of FIG. 8 and stored in the time series DB 111. Timestamp “timestamp” of infrastructure base 102-1 “infrabase_1_equipment_1”: “2021/09/20 15:01:10.001” and “info” showing event and alert information at that time: {......}} get.

そして、タイムスタンプ修正部123は、時系列DB111のデータ取得クエリを受けて、実施例1の場合と同様、ステップ901で受信したクエリが、運用アプライアンス110が時系列DB111のデータを一定期間まとめて返答することを要求する内容である場合(条件Aを満たす場合)、あるいは運用アプライアンス110が時系列DB111のデータをまとめている場合において、その期間が上記クエリで要求された精度よりも短くない場合(条件Bを満たす場合)、タイムスタンプ修正部123は、タイムスタンプ修正を行う必要がないと判断し、ステップ909進む(903;YES)。一方、ステップ901で受信したクエリが、上記条件Aを満たさない場合、あるいは上記条件Bを満たさない場合、タイムスタンプ修正部123は、タイムスタンプ修正を行う必要があると判断し、ステップ904に進む(903;NO)。 Then, the timestamp correction unit 123 receives the data acquisition query of the time series DB 111, and as in the case of the first embodiment, the query received in step 901 causes the operation appliance 110 to aggregate the data of the time series DB 111 for a certain period of time. If the content requests a response (condition A is satisfied), or if the operational appliance 110 is compiling data from the time series DB 111, and the period is not shorter than the precision requested by the above query. (If condition B is satisfied), the time stamp modification unit 123 determines that there is no need to modify the time stamp, and proceeds to step 909 (903; YES). On the other hand, if the query received in step 901 does not satisfy the above condition A or does not satisfy the above condition B, the timestamp correction unit 123 determines that it is necessary to correct the timestamp, and proceeds to step 904. (903;NO).

続いて、タイムスタンプ修正部123は、修正指定の時間系であるインフラ拠点102-2のインフラ機器のタイムスタンプ(例えば、“infrabase_2_equipment_2“、“timestamp”:“2021/09/20 14:30:05.000”)と、運用拠点の時間系のタイムスタンプ(例えば、“monitorzone_timestamp”:“2021/09/20 14:30:07.001”)とを含んだ、ステップ902で取得したデータのタイムスタンプに一定程度近い時間のイベントデータを、時系列DB111より取得する(904)。 Next, the timestamp modification unit 123 updates the timestamp of the infrastructure equipment of the infrastructure base 102-2, which is the time system specified for modification (for example, “infrabase_2_equipment_2”, “timestamp”: “2021/09/20 14:30:05.000 ”) and the time-based timestamp of the operation base (for example, “monitorzone_timestamp”: “2021/09/20 14:30:07.001”), which is somewhat close to the timestamp of the data obtained in step 902. Obtain time event data from the time series DB 111 (904).

さらに、タイムスタンプ修正部123は、ステップ902で取得したデータのタイムスタンプと、ステップ904で取得したデータとが一定以上離れているか否かを判定する(905)。この例では、タイムスタンプ修正部123は、ステップ902で取得したインフラ拠点102-1のインフラ機器“infrabase_1_equipment_1“のタイムスタンプと、ステップ904で取得したインフラ拠点102-2のインフラ機器 “infrabase_2_equipment_2のタイムスタンプとが一定時間以上の隔たりがあるか否かを判定する。 Further, the time stamp correction unit 123 determines whether the time stamp of the data acquired in step 902 and the data acquired in step 904 are separated by a certain amount or more (905). In this example, the timestamp correction unit 123 uses the timestamp of the infrastructure equipment “infrabase_1_equipment_1” of the infrastructure base 102-1 acquired in step 902 and the timestamp of the infrastructure equipment “infrabase_2_equipment_2” of the infrastructure base 102-2 acquired in step 904. It is determined whether there is a gap of a certain amount of time or more.

タイムスタンプ修正部123は、ステップ902で取得したデータのタイムスタンプと、ステップ904で取得したデータとが一定以上離れていないと判定した場合(905;YES)、インフラ拠点間およびインフラ機器間でのタイムスタンプの修正が可能であると判断する。そして、タイムスタンプ修正部123は、ステップ901で受信したクエリの要求に従い、ステップ902で取得したインフラ拠点102-1のインフラ機器のタイムスタンプを、ステップ904で取得したインフラ拠点102-2のインフラ機器のタイムスタンプに修正し、修正後のタイムスタンプを付与したデータを送信する等して、上記リクエストに対して応答する(906)。 If the time stamp correction unit 123 determines that the time stamp of the data obtained in step 902 and the data obtained in step 904 are not separated by a certain amount or more (905; YES), the time stamp correction unit 123 corrects Determine that it is possible to modify the timestamp. Then, in accordance with the query request received in step 901, the timestamp correction unit 123 updates the timestamp of the infrastructure equipment of the infrastructure base 102-1 acquired in step 902 with the infrastructure equipment of the infrastructure base 102-2 acquired in step 904. It responds to the above request by correcting the timestamp and sending data with the corrected timestamp (906).

一方、タイムスタンプ修正部123は、ステップ902で取得したデータのタイムスタンプと、ステップ904で取得したデータとが一定以上離れていると判定した場合(905;NO)、インフラ拠点間およびインフラ機器間でのタイムスタンプの修正は可能でないと判断する。そして、タイムスタンプ修正部123は、時刻差分記録部122より、ステップ901で受信したクエリにおいて修正するとして指定された時間系であるインフラ拠点102-2のインフラ機器infrabase_2_equipment_2のタイムスタンプと、ステップ902で取得した運用拠点の時間系のタイムスタンプの時間付近の時刻差分を取得する。例えば、タイムスタンプ修正部123は、時刻差分記録部122が算出した、{”2021/09/20 PM”:{“equipment_1”:”-2.000s”}}を取得する(907)。 On the other hand, if the time stamp correction unit 123 determines that the time stamp of the data acquired in step 902 and the data acquired in step 904 are separated by a certain amount or more (905; NO), the time stamp correction unit 123 It is determined that it is not possible to modify the timestamp. Then, the time stamp correction unit 123 uses the time stamp of the infrastructure equipment infrabase_2_equipment_2 of the infrastructure base 102-2, which is the time series specified to be corrected in the query received in step 901, from the time difference recording unit 122, and the time stamp of the infrastructure equipment infrabase_2_equipment_2 of the infrastructure base 102-2, Obtain the time difference around the time of the time-based timestamp of the obtained operation base. For example, the time stamp correction unit 123 obtains {“2021/09/20 PM”:{“equipment_1”:”-2.000s”}} calculated by the time difference recording unit 122 (907).

そして、タイムスタンプ修正部123は、ステップ902で取得したインフラ拠点102-1のインフラ機器のタイムスタンプに、ステップ907で取得した差分を加算したタイムスタンプをインフラ拠点102-2のインフラ機器のタイムスタンプとみなし、当該みなしたタイムスタンプを付与したデータを送信する等して、上記リクエストに対して応答する(908)。 Then, the timestamp correction unit 123 adds the difference obtained in step 907 to the timestamp of the infrastructure equipment of the infrastructure base 102-1 obtained in step 902, and adds the time stamp to the timestamp of the infrastructure equipment of the infrastructure base 102-2. It responds to the above request by, for example, transmitting data with the deemed timestamp (908).

なお、タイムスタンプ修正部123が、タイムスタンプ修正を行う必要がないと判断した場合は(903;YES)、実施例1と同様、ステップ902で取得したデータをそのまま運用アプリ群130に返答する(909)。 Note that if the timestamp correction unit 123 determines that there is no need to correct the timestamp (903; YES), it returns the data acquired in step 902 as is to the operational application group 130, as in the first embodiment ( 909).

本シーケンスにより、タイムスタンプ修正のたびに毎回参照データを時系列DB111から取得することなく、必要な場合に限って参照データを取得することで時系列DB111へのアクセス負荷を抑えつつタイムスタンプの修正が可能となる。 With this sequence, the reference data is not retrieved from the time series DB 111 every time the timestamp is modified, but the reference data is retrieved only when necessary, reducing the access load to the time series DB 111 while modifying the timestamp. becomes possible.

実施例1~3では、時系列DB111からデータを取得する時にタイムスタンプを修正していた。しかし、データマネジメントとしては必ずしも全データを一元的に管理するDBに常にアクセスを行うのではなく、よくアクセスするデータを取り分けて必要な修正を事前に施してサブデータセットを作成することが、負荷分散のために有力となる。サブデータセットを作成するツールとしては、ETL(Extract、 Transfer、 Load)ツールが良く使用され、本実施例ではサブデータセットへの変換の際に必要なタイムスタンプの変更も行うことを想定する。また、データマネジメントにおいて、時系列DB111のような全データを一元的に管理するコンポーネントを”データレイク”、サブデータセットのように参照しやすく取り分けた整形したコンポーネントを”データウェアハウス”あるいは”データマート”と呼ぶこともある。 In Examples 1 to 3, timestamps were corrected when acquiring data from the time series DB 111. However, in terms of data management, rather than always accessing a DB that centrally manages all data, it is necessary to create sub-datasets by selecting frequently accessed data and making necessary modifications in advance. Effective for dispersion. An ETL (Extract, Transfer, Load) tool is often used as a tool to create a sub-dataset, and in this example, it is assumed that necessary timestamp changes will be made when converting to a sub-dataset. In addition, in data management, a component that centrally manages all data, such as a time series DB111, is called a "data lake," and a formatted component that is set aside for easy reference, such as a sub-dataset, is called a "data warehouse" or "data warehouse." Sometimes called ``mart''.

図10は、時系列DB111からサブデータセットを作成する場合のシステム構成図である。実施例1の図1に示すシステム構成図との差分は、運用アプライアンスにサブデータ時系列DB1001と、サブデータセット形成部1002が追加で含まれている点である。時刻調整アプライアンス120には拠点・装置時刻差分検出部121が設けられていてもよい。 FIG. 10 is a system configuration diagram when creating a sub data set from the time series DB 111. The difference from the system configuration diagram of the first embodiment shown in FIG. 1 is that the operational appliance additionally includes a sub-data time series DB 1001 and a sub-data set forming unit 1002. The time adjustment appliance 120 may be provided with a base/device time difference detection unit 121.

図11A、11Bは、時系列DB111からサブデータセットを作成する例のシーケンス図である。 11A and 11B are sequence diagrams of an example of creating a sub data set from the time series DB 111.

まず、図11Aにおいて、サブデータセット形成部1002は、サブデータセット追加を開始するトリガをかける(1101)。トリガとしては、一定時間毎や時系列DB111に一定数データが追加された後など様々な条件が想定される。 First, in FIG. 11A, the sub-data set forming unit 1002 applies a trigger to start adding sub-data sets (1101). Various conditions can be assumed as the trigger, such as every certain time or after a certain number of data are added to the time series DB 111.

次に、サブデータセット形成部1002は、時系列DB111よりサブデータセットのためのオリジナルデータを取得する(1102)。本取得方法は、例えば実施例1における図5のステップ502の手順と同様である。 Next, the sub-data set forming unit 1002 acquires original data for the sub-data set from the time series DB 111 (1102). This acquisition method is similar to, for example, the procedure of step 502 in FIG. 5 in the first embodiment.

次に、サブデータセット形成部1002は、タイムスタンプ修正のため、時刻差分記録部122より、追加するサブデータセットのタイムスタンプ付近の時刻差分情報を取得する(1103)。本取得方法は、例えば、実施例1における図5のステップ504の手順と同様である。 Next, the sub-data set forming unit 1002 obtains time difference information around the time stamp of the sub-data set to be added from the time difference recording unit 122 in order to correct the time stamp (1103). This acquisition method is, for example, similar to the procedure of step 504 in FIG. 5 in the first embodiment.

次に、サブデータセット形成部1002は、サブデータセットの整形を行う(1104)。本整形は、例えば実施例1における図5のステップ507の整形方法と同様であり、想定されるアプリケーション要件に応じてデータを追加したり置き換えたりする。その後、サブデータセット形成部1002は、サブデータ時系列DB1101に、サブデータセットを追加する。本例では、サブデータセットとしては、運用拠点のタイムスタンプを併記する形でデータを編集している(1105)。 Next, the sub-data set forming unit 1002 formats the sub-data set (1104). This formatting is similar to, for example, the formatting method in step 507 of FIG. 5 in the first embodiment, and data is added or replaced depending on the assumed application requirements. Thereafter, the sub-data set forming unit 1002 adds the sub-data set to the sub-data time series DB 1101. In this example, the data is edited in such a way that the time stamp of the operation base is also written as the sub-data set (1105).

図11Aでは、実施例1や実施例2の場合のように、運用拠点のタイムスタンプが併記されずにデータが時系列DB111に格納されている場合を例示したが、図11Bに示す実施例3の場合のように、運用拠点のタイムスタンプが併記されたデータが時系列DB111に格納されている場合についても同様に考えることができる。 In FIG. 11A, a case is illustrated in which data is stored in the time series DB 111 without the time stamp of the operation base as in the case of Example 1 and Example 2, but Example 3 shown in FIG. 11B The same can be considered in the case where data with a time stamp of the operation base is stored in the time series DB 111, as in the case of .

まず、図11Bにおいて、サブデータセット形成部1002は、サブデータセット追加を開始するトリガをかける(1101)。トリガとしては、図11Aの場合と同様、一定時間毎や時系列DB111に一定数データが追加された後など様々な条件が想定される。 First, in FIG. 11B, the sub-data set forming unit 1002 applies a trigger to start adding sub-data sets (1101). As with the case of FIG. 11A, various conditions are assumed as the trigger, such as every certain time or after a certain number of data are added to the time series DB 111.

次に、サブデータセット形成部1002は、時系列DB111よりサブデータセットのためのオリジナルデータを取得する(1102b)。本取得方法は、例えば実施例3における図9のステップ902の手順と同様である。図11Bでは、図11Aと異なり、ステップ1102bにおいて、例えば、時系列DB111に格納されている運用情報に含まれる運用拠点101のタイムスタンプ“2021/09/20 15:01:09.501”とインフラ拠点102-1“infrabase_1_equipment_1“のタイムスタンプ“timestamp”:“2021/09/20 15:01:10.001”や当該時点のイベントやアラート情報を示す“info”:{......}}が取得されている。 Next, the sub-data set forming unit 1002 acquires original data for the sub-data set from the time series DB 111 (1102b). This acquisition method is similar to, for example, the procedure of step 902 in FIG. 9 in the third embodiment. In FIG. 11B, unlike in FIG. 11A, in step 1102b, for example, the timestamp “2021/09/20 15:01:09.501” of the operation base 101 included in the operation information stored in the time series DB 111 and the infrastructure base 102 -1 The timestamp “timestamp”: “2021/09/20 15:01:10.001” of “infrabase_1_equipment_1” and “info”:{......}} indicating event and alert information at that time are obtained. ing.

次に、サブデータセット形成部1002は、タイムスタンプ修正のため、時刻差分記録部122より、追加するサブデータセットのタイムスタンプ付近の時刻差分情報を取得する(1103b)。本取得方法は、例えば、実施例3における図9のステップ907の手順と同様である。 Next, the sub-data set forming unit 1002 obtains time difference information around the time stamp of the sub-data set to be added from the time difference recording unit 122 in order to correct the time stamp (1103b). This acquisition method is, for example, similar to the procedure of step 907 in FIG. 9 in the third embodiment.

次に、サブデータセット形成部1002は、サブデータセットの整形を行う(1104b)。本整形は、例えば実施例3における図9のステップ908の整形方法と同様であり、想定されるアプリケーション要件に応じてデータを追加したり置き換えたりする。その後、サブデータセット形成部1002は、サブデータ時系列DB1101に、サブデータセットを追加する。本例では、サブデータセットとしては、運用拠点のタイムスタンプのほか、インフラ拠点102-2についてのタイムスタンプを併記する形でデータを編集している(1105b)。 Next, the sub-data set forming unit 1002 formats the sub-data set (1104b). This formatting is similar to, for example, the formatting method in step 908 of FIG. 9 in the third embodiment, and data is added or replaced depending on the assumed application requirements. Thereafter, the sub-data set forming unit 1002 adds the sub-data set to the sub-data time series DB 1101. In this example, in addition to the timestamp of the operation base, the data is edited to include the timestamp of the infrastructure base 102-2 as a sub-data set (1105b).

以上のようにサブデータセットを作成する。もちろんサブデータセットは1つだけでは無く、アプリの要件に従って個別のサブデータセットを作成することもある。また、複数のインフラ機器150や複数のインフラ拠点102からのデータの必要部分をまとめ、タイムスタンプを統一化して一元的に主要な時系列順序を可視化するデータセットと言ったように、目的に応じてデータ活用方法も変化していくことが想定される。 Create a subdataset as described above. Of course, there is not just one sub-dataset, and individual sub-datasets may be created according to the requirements of the application. In addition, it is possible to create a dataset that compiles necessary parts of data from multiple infrastructure devices 150 and multiple infrastructure locations 102, unifies time stamps, and visualizes the main chronological order in a unified manner, depending on the purpose. It is expected that the way data is used will also change.

実施例1~4では、時刻調整アプライアンス120はブラックボックスの機能として動作していたが、運用アプライアンス110や運用アプリ群130と組み合わせて動作出来るよう、時刻調整アプライアンス120を運用アプライアンス110と切り離すことも想定される。本実施例では、そのための時刻調整アプライアンス120の設定GUIによって、アプリ毎のタイムスタンプ調整の要件を事前に設定し、アプリとの柔軟な連携を可能とする。 In Examples 1 to 4, the time adjustment appliance 120 operated as a black box function, but the time adjustment appliance 120 may be separated from the operation appliance 110 so that it can operate in combination with the operation appliance 110 and the operation application group 130. is assumed. In this embodiment, the time stamp adjustment requirements for each application are set in advance using the setting GUI of the time adjustment appliance 120 for this purpose, thereby enabling flexible cooperation with the applications.

図12は、時刻調整アプライアンスにおけるアプリ毎のタイムスタンプ調整の要件を設定する際のシステム構成図である。実施例1との差分として、時刻調整アプライアンス120は、アプリ毎要件設定部1202とアプリ毎要件記録部1203を備える。さらに、アプリ毎要件設定部1202を設定するための設定GUI1201を備える。 FIG. 12 is a system configuration diagram when setting requirements for time stamp adjustment for each application in the time adjustment appliance. As a difference from the first embodiment, the time adjustment appliance 120 includes a per-application requirement setting section 1202 and a per-application requirement recording section 1203. Furthermore, it includes a setting GUI 1201 for setting the requirements setting section 1202 for each application.

図13は、時刻調整アプライアンスにおけるアプリ毎のタイムスタンプ調整の要件を設定するGUIの例である。 FIG. 13 is an example of a GUI for setting requirements for time stamp adjustment for each application in the time adjustment appliance.

例えば、アプリ毎要件設定部1202は、行としてアプリ名1301、アプリ諸元1302、合わせる時間系1303、要求精度1304、修正方法1305、その他の項目1306を含むテーブル形式で、これらのデータを保持する。アプリ毎要件設定部1202は、例えば、入力装置1606を介して、ユーザからの操作を受け付けて各行に項目を設定した後、決定ボタン1321の押下を受け付けて、上記各項目の設定を反映し、その情報を出力装置1605に表示する。アプリ毎要件設定部1202は、設定された項目をそのままアプリ毎要件記録部1203(データベース等のテーブル)に記録する。タイムスタンプ修正部123は、ステップ501やステップ901等で説明したように、運用アプリ群130より、時系列DB111のデータ取得クエリを受信した際に、当該クエリに含まれるアプリ名1301とアプリ諸元1302を参考にアプリを選択し、合わせる時間系1303、要求精度1304、修正方法1305を参照して、実施例1と同様のタイムスタンプ修正要件を生成する。 For example, the per-application requirements setting unit 1202 holds these data in a table format that includes rows of application name 1301, application specifications 1302, time to match 1303, required accuracy 1304, correction method 1305, and other items 1306. . For example, the per-app requirement setting unit 1202 receives an operation from the user via the input device 1606 and sets items in each line, and then receives a press of the enter button 1321 to reflect the settings of each item, The information is displayed on output device 1605. The per-application requirement setting unit 1202 records the set items as they are in the per-application requirement recording unit 1203 (table such as a database). As explained in step 501, step 901, etc., when the time stamp correction unit 123 receives a data acquisition query for the time series DB 111 from the operational application group 130, the time stamp correction unit 123 converts the application name 1301 and application specifications included in the query. An application is selected with reference to 1302, and time stamp correction requirements similar to those in the first embodiment are generated with reference to the time system to be matched 1303, required accuracy 1304, and correction method 1305.

以上、説明したように、本システムによれば、例えば、遠隔のITインフラをVPN等の管理ネットネットワークで接続して運用するITインフラ遠隔運用システムおよび時系列DB(Database)を活用した運用情報を管理する場合において、各インフラ拠点や各機器と、運用拠点との時刻差分を記録しておき、データを出力する際に記録した時刻差分の情報を用いて修正することで、複数の時間系のタイムスタンプが混在する時系列DBにおいて、データ利用目的に応じたデータの参照をスムーズに実施することができる。 As explained above, according to this system, for example, an IT infrastructure remote operation system that connects and operates remote IT infrastructure via a management network such as VPN, and operation information that utilizes a time-series DB (Database) are available. When managing multiple time systems, record the time difference between each infrastructure site or device and the operation site, and correct it using the recorded time difference information when outputting data. In a time-series DB that contains a mixture of timestamps, data can be referenced smoothly according to the purpose of data use.

例えば、実施例1で説明したように、本システムでは、実施例1において説明したように、例えば、コンピュータにより、1または複数のインフラ機器(例えば、インフラ機器150-1、150-2)を運用するインフラ拠点(例えば、インフラ拠点102)からネットワークを介して得られたデータを管理する遠隔運用システムにおいて、上記インフラ機器から取得したデータ(例えば、イベントやアラート情報)に、上記インフラ拠点または上記インフラ機器のタイムスタンプが付与された運用情報を蓄積して保持する時系列DB(例えば、図5のステップ502に記載した形式のデータを保持するDB)と、上記インフラ拠点または上記インフラ機器から取得したタイムスタンプと、上記遠隔運用システムが有する運用拠点の時刻同期サーバ(例えば、NTPサーバ124)のタイムスタンプとの差分を算出する時刻差分検出部(例えば、拠点・装置時刻差分検出部121)と、アプリケーション(例えば、NW利用料計測アプリ131、アラート情報収集アプリ132、トラブルシュートアプリ133)から受け取った、当該アプリケーションで用いる上記インフラ機器のデータが従う時間系(例えば、図5のステップ501で指定された”monitoring_base”)およびデータの取得範囲(例えば、図5のステップ501で指定された“timestamp”:{“gt”:”now-10d”, “lt”:”now”})の指定を含むデータ取得要求(例えば、上記ステップ501のデータ取得クエリ)に従って、上記時系列DBから取得した上記取得範囲のデータのタイムスタンプと上記差分とが所定の条件(例えば、図5のステップ505で示した条件C、条件D)を満たす場合、上記取得範囲のデータのタイムスタンプを、上記差分を用いて修正するタイムスタンプ修正部(例えば、タイムスタンプ修正部123)と、を有する。したがって、複数の時間系のタイムスタンプが付与された時系列DBのデータの時間系を、アプリケーション等が要求する要件に応じて修正することができる。 For example, as explained in Example 1, in this system, one or more infrastructure devices (e.g., infrastructure devices 150-1, 150-2) are operated by a computer. In a remote operation system that manages data obtained from an infrastructure base (for example, infrastructure base 102) via a network, the data (for example, event or alert information) acquired from the infrastructure equipment is A time-series DB that accumulates and retains operational information with device timestamps (for example, a DB that retains data in the format described in step 502 in Figure 5), and a a time difference detection unit (for example, base/device time difference detection unit 121) that calculates the difference between a time stamp and a time stamp of a time synchronization server (for example, NTP server 124) of an operation base of the remote operation system; The time system (for example, the time system specified in step 501 of FIG. "monitoring_base") and data acquisition range (for example, "timestamp":{"gt":"now-10d", "lt":"now"} specified in step 501 of Figure 5). In accordance with a data acquisition request (for example, the data acquisition query in step 501 above), the timestamp and the difference of the data in the acquisition range acquired from the time series DB meet a predetermined condition (for example, the data acquisition query in step 505 in FIG. 5). If conditions C and D) are satisfied, the time stamp correction unit (for example, the time stamp correction unit 123) corrects the time stamp of the data in the acquisition range using the difference. Therefore, it is possible to modify the time series of data in a time series DB to which time stamps of multiple time series have been added according to requirements requested by an application or the like.

また、実施例2において説明したように、上記インフラ機器は、タイムスタンプが付された上記データ(例えば、図6のステップ601に示したログ情報)を出力し、上記タイムスタンプ修正部は、上記インフラ機器から上記タイムスタンプが付された上記データを取得し、取得した上記データに含まれるタイムスタンプを、上記差分を用いて修正する。したがって、時系列DBのデータ用いることなく、運用アプリ群130が個別に各インフラ拠点102のインフラ機器150より取得したログ等の情報を用いて、タイムスタンプを別の時間系に修正することができる。 Further, as described in the second embodiment, the infrastructure equipment outputs the data with a time stamp (for example, the log information shown in step 601 of FIG. 6), and the time stamp correction unit outputs the data with a time stamp attached. The data with the time stamp attached thereto is acquired from the infrastructure equipment, and the time stamp included in the acquired data is corrected using the difference. Therefore, without using time-series DB data, the operation application group 130 can modify the timestamp to a different time system using information such as logs individually obtained from the infrastructure devices 150 of each infrastructure base 102. .

また、実施例3において説明したように、上記タイムスタンプ修正部は、上記アプリケーションで用いる上記インフラ機器のタイムスタンプ(例えば、図9のステップ901に示した”infrabase_1_equipment_1”のタイムスタンプ)を修正する基準となるタイムスタンプ(例えば、図9のステップ901に示した”infrabase_2_equipment_2”のタイムスタンプ)を出力するインフラ機器を含む上記データ取得要求を受け、上記所定の条件を満たす場合、上記時系列DBから、上記基準となるタイムスタンプを出力するインフラ機器のタイムスタンプと上記時刻同期サーバのタイムスタンプとを含むデータを取得し、両者のタイムスタンプに一定時間以上の隔たりがない場合(例えば、図9のステップ905においてYESの場合)、図9のステップ906で説明したように、上記アプリケーションで用いる上記インフラ機器のタイムスタンプを、上記基準となるタイムスタンプに修正する。したがって、一定の精度を保ちつつ、インフラ拠点間およびインフラ機器間でのタイムスタンプの修正が可能となる。 Further, as explained in the third embodiment, the timestamp correction unit has a standard for correcting the timestamp of the infrastructure equipment used in the application (for example, the timestamp of "infrabase_1_equipment_1" shown in step 901 of FIG. 9). If the above data acquisition request including the infrastructure equipment that outputs a timestamp (for example, the timestamp of "infrabase_2_equipment_2" shown in step 901 of FIG. 9) is received, and the above predetermined conditions are met, from the above time series DB, If data including the timestamp of the infrastructure device that outputs the reference timestamp and the timestamp of the time synchronization server is obtained, and there is no difference of more than a certain amount of time between the two timestamps (for example, step If YES in step 905), as explained in step 906 of FIG. 9, the time stamp of the infrastructure equipment used in the application is corrected to the reference time stamp. Therefore, it is possible to correct time stamps between infrastructure sites and between infrastructure devices while maintaining a certain level of accuracy.

また、上記タイムスタンプ修正部は、上記両者のタイムスタンプに一定時間以上の隔たりがある場合(例えば、図9のステップ905においてNOの場合)、上記アプリケーションで用いる上記インフラ機器のタイムスタンプを、上記基準となるタイムスタンプと上記運用拠点の時刻同期サーバのタイムスタンプとの差分(例えば、ステップ907で算出された時刻差分)を用いて修正する。したがって、インフラ拠点間およびインフラ機器間でのタイムスタンプの修正は可能でない場合でも、一定の精度を保ちつつ、運用拠点の時刻同期サーバを用いてタイムスタンプを修正することができる。 Furthermore, if there is a gap between the two time stamps by a certain amount of time or more (for example, if NO in step 905 of FIG. 9), the time stamp correction unit changes the time stamp of the infrastructure equipment used in the application to the time stamp of the infrastructure equipment used in the application. The correction is made using the difference between the reference time stamp and the time stamp of the time synchronization server of the operation base (for example, the time difference calculated in step 907). Therefore, even if it is not possible to correct timestamps between infrastructure sites or between infrastructure devices, timestamps can be corrected using the time synchronization server of the operational site while maintaining a certain level of accuracy.

また、上記インフラ拠点は、上記アプリケーションで用いる上記インフラ機器のタイムスタンプと上記時刻同期サーバのタイムスタンプとを対応付けたデータ(例えば、図8に示したステップ804におけるデータ804a)と、上記基準となるタイムスタンプを出力するインフラ機器のタイムスタンプと上記時刻同期サーバのタイムスタンプとを対応付けたデータ(例えば、図8に示したステップ804におけるデータ804b)とを、上記時系列DBに書き込む運用情報取得部(例えば、運用情報取得部141)を有する。したがって、イベントやアラートの単位で時刻差分を把握できるようになる。 The infrastructure base also stores data that associates the timestamp of the infrastructure equipment used in the application with the timestamp of the time synchronization server (for example, data 804a in step 804 shown in FIG. 8) and the standards. Operational information that writes data (for example, data 804b in step 804 shown in FIG. 8) that associates the timestamp of the infrastructure device that outputs the timestamp with the timestamp of the time synchronization server to the time series DB. It has an acquisition unit (eg, operational information acquisition unit 141). Therefore, it becomes possible to understand time differences in units of events and alerts.

本発明は、上記実施の形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化したり、上記実施の形態に開示されている複数の構成要素を適宜組み合わせて実施することができる。 The present invention is not limited to the above-described embodiments as they are, and in the implementation stage, the components may be modified and embodied without departing from the gist thereof, or multiple components disclosed in the above-described embodiments may be embodied. These can be implemented in appropriate combinations.

101 運用拠点
102 インフラ拠点
103 管理ネットワーク
110 運用アプライアンス
111 時系列DB
112 メッセージハブ
113 運用ダッシュボード
120 時刻調整アプライアンス
121 拠点・装置時刻差分検出部
122 時刻差分記録部
123 タイムスタンプ修正部
124 NTPサーバ
130 運用アプリ群
131 NW利用料計測アプリ
132 アラート情報収集アプリ
133 トラブルシュートアプリ
140 運用エージェント
141 運用情報取得部
142 時刻差分検出部
143 NTPサーバ
150 ITインフラ
150-1、150-2 インフラ機器
101 Operation base
102 Infrastructure base
103 Management Network
110 Operational Appliance
111 Time series DB
112 Message Hub
113 Operations Dashboard
120 Time Adjustment Appliance
121 Base/device time difference detection unit
122 Time difference recording section
123 Timestamp correction section
124 NTP server
130 Operational applications
131 NW usage fee measurement app
132 Alert information collection app
133 Troubleshooting app
140 Operation Agent
141 Operational Information Acquisition Department
142 Time difference detection section
143 NTP server
150 IT infrastructure
150-1, 150-2 Infrastructure equipment

Claims (11)

コンピュータにより、1または複数のインフラ機器を運用するインフラ拠点からネットワークを介して得られたデータを管理する遠隔運用システムであって、
前記インフラ機器から取得したデータに、前記インフラ拠点または前記インフラ機器のタイムスタンプが付与された運用情報を蓄積して保持する時系列DBと、
前記インフラ拠点または前記インフラ機器から取得したタイムスタンプと、前記遠隔運用システムが有する運用拠点の時刻同期サーバのタイムスタンプとの差分を算出する時刻差分検出部と、
アプリケーションから受け取った、当該アプリケーションで用いる前記インフラ機器のデータが従う時間系およびデータの取得範囲の指定を含むデータ取得要求に従って、前記時系列DBから取得した前記取得範囲のデータのタイムスタンプと前記差分とが所定の条件を満たす場合、前記取得範囲のデータのタイムスタンプを、前記差分を用いて修正するタイムスタンプ修正部と、
を有することを特徴とする遠隔運用システム。
A remote operation system that uses a computer to manage data obtained via a network from an infrastructure base that operates one or more infrastructure devices,
a time-series DB that accumulates and holds operational information in which a time stamp of the infrastructure base or the infrastructure device is added to the data acquired from the infrastructure device;
a time difference detection unit that calculates a difference between a time stamp acquired from the infrastructure base or the infrastructure device and a time stamp of a time synchronization server of the operation base of the remote operation system;
In accordance with a data acquisition request received from an application that includes the time series and data acquisition range specified by the data of the infrastructure equipment used in the application, the timestamp and the difference of the data in the acquisition range acquired from the time series DB. a timestamp modification unit that modifies the timestamp of the data in the acquisition range using the difference if the data satisfies a predetermined condition;
A remote operation system characterized by having.
請求項1に記載の遠隔運用システムであって、
前記インフラ機器は、タイムスタンプが付された前記データを出力し、
前記タイムスタンプ修正部は、前記インフラ機器から前記タイムスタンプが付された前記データを取得し、取得した前記データに含まれるタイムスタンプを、前記差分を用いて修正する、
ことを特徴とする遠隔運用システム。
The remote operation system according to claim 1,
the infrastructure equipment outputs the data with a time stamp;
The time stamp correction unit obtains the data with the time stamp attached from the infrastructure equipment, and corrects the time stamp included in the obtained data using the difference.
A remote operation system characterized by:
請求項1に記載の遠隔運用システムであって、
前記タイムスタンプ修正部は、前記アプリケーションで用いる前記インフラ機器のタイムスタンプを修正する基準となるタイムスタンプを出力するインフラ機器を含む前記データ取得要求を受け、前記所定の条件を満たす場合、前記時系列DBから、前記基準となるタイムスタンプを出力するインフラ機器のタイムスタンプと前記時刻同期サーバのタイムスタンプとを含むデータを取得し、両者のタイムスタンプに一定時間以上の隔たりがない場合、前記アプリケーションで用いる前記インフラ機器のタイムスタンプを、前記基準となるタイムスタンプに修正する、
ことを特徴とする遠隔運用システム。
The remote operation system according to claim 1,
The time stamp correction unit receives the data acquisition request including the infrastructure equipment that outputs a time stamp that is a reference for correcting the time stamp of the infrastructure equipment used in the application, and if the predetermined condition is met, the time stamp correction unit Obtain data including the timestamp of the infrastructure device that outputs the reference timestamp and the timestamp of the time synchronization server from the DB, and if the two timestamps do not differ by more than a certain amount of time, the application correcting the timestamp of the infrastructure equipment to be used to the reference timestamp;
A remote operation system characterized by:
請求項3に記載の遠隔運用システムであって、
前記タイムスタンプ修正部は、前記両者のタイムスタンプに一定時間以上の隔たりがある場合、前記アプリケーションで用いる前記インフラ機器のタイムスタンプを、前記基準となるタイムスタンプと前記運用拠点の時刻同期サーバのタイムスタンプとの差分を用いて修正する、
ことを特徴とする遠隔運用システム。
The remote operation system according to claim 3,
If there is a difference between the two timestamps by a certain amount of time or more, the timestamp correction unit converts the timestamp of the infrastructure equipment used in the application into the reference timestamp and the time of the time synchronization server of the operation base. Correct using the difference with the stamp,
A remote operation system characterized by:
請求項3に記載の遠隔運用システムであって、
前記インフラ拠点は、前記アプリケーションで用いる前記インフラ機器のタイムスタンプと前記時刻同期サーバのタイムスタンプとを対応付けたデータと、前記基準となるタイムスタンプを出力するインフラ機器のタイムスタンプと前記時刻同期サーバのタイムスタンプとを対応付けたデータとを、前記時系列DBに書き込む運用情報取得部、
を有することを特徴とする遠隔運用システム。
The remote operation system according to claim 3,
The infrastructure base includes data that associates a time stamp of the infrastructure device used in the application with a time stamp of the time synchronization server, and a time stamp of the infrastructure device that outputs the reference time stamp and the time synchronization server. an operational information acquisition unit that writes data associated with a timestamp to the time series DB;
A remote operation system characterized by having.
コンピュータにより、1または複数のインフラ機器を運用するインフラ拠点からネットワークを介して得られたデータを管理する遠隔運用システムで行われるタイムスタンプ修正方法であって、
時刻差分検出部が、前記インフラ拠点または前記インフラ機器から取得したタイムスタンプと、前記遠隔運用システムが有する運用拠点の時刻同期サーバのタイムスタンプとの差分を算出し、
タイムスタンプ修正部が、アプリケーションから受け取った、当該アプリケーションで用いる前記インフラ機器のデータが従う時間系およびデータの取得範囲の指定を含むデータ取得要求に従って、前記インフラ機器から取得したデータに、前記インフラ拠点または前記インフラ機器のタイムスタンプが付与された運用情報を蓄積して保持する時系列DBから取得した前記取得範囲のデータのタイムスタンプと前記差分とが所定の条件を満たす場合、前記取得範囲のデータのタイムスタンプを、前記差分を用いて修正する、
ことを特徴とするタイムスタンプ修正方法。
A timestamp correction method performed in a remote operation system that manages data obtained via a network from an infrastructure base that operates one or more infrastructure devices using a computer, the method comprising:
a time difference detection unit calculates a difference between a time stamp acquired from the infrastructure base or the infrastructure device and a time stamp of a time synchronization server of the operation base owned by the remote operation system;
The timestamp modification unit adds the infrastructure base to the data acquired from the infrastructure device in accordance with the data acquisition request received from the application and including the time series and data acquisition range that the data of the infrastructure device used in the application follows. Or, if the time stamp of the data in the acquisition range acquired from a time-series DB that accumulates and holds operational information with time stamps of the infrastructure equipment and the difference satisfies a predetermined condition, the data in the acquisition range correcting the timestamp of using the difference,
A timestamp correction method characterized by:
請求項6に記載のタイムスタンプ修正方法であって、
前記インフラ機器が、タイムスタンプが付された前記データを出力し、
前記タイムスタンプ修正部が、前記インフラ機器から前記タイムスタンプが付された前記データを取得し、取得した前記データに含まれるタイムスタンプを、前記差分を用いて修正する、
ことを特徴とするタイムスタンプ修正方法。
7. The time stamp correction method according to claim 6,
the infrastructure equipment outputs the time-stamped data;
the time stamp correction unit obtains the data with the time stamp attached from the infrastructure equipment, and corrects the time stamp included in the obtained data using the difference;
A timestamp correction method characterized by:
請求項6に記載のタイムスタンプ修正方法であって、
前記タイムスタンプ修正部が、前記アプリケーションで用いる前記インフラ機器のタイムスタンプを修正する基準となるタイムスタンプを出力するインフラ機器を含む前記データ取得要求を受け、前記所定の条件を満たす場合、前記時系列DBから、前記基準となるタイムスタンプを出力するインフラ機器のタイムスタンプと前記時刻同期サーバのタイムスタンプとを含むデータを取得し、両者のタイムスタンプに一定時間以上の隔たりがない場合、前記アプリケーションで用いる前記インフラ機器のタイムスタンプを、前記基準となるタイムスタンプに修正する、
ことを特徴とするタイムスタンプ修正方法。
7. The time stamp correction method according to claim 6,
The time stamp correction unit receives the data acquisition request including the infrastructure equipment that outputs a time stamp that is a reference for correcting the time stamp of the infrastructure equipment used in the application, and if the predetermined condition is satisfied, the time series Obtain data including the timestamp of the infrastructure device that outputs the reference timestamp and the timestamp of the time synchronization server from the DB, and if the two timestamps do not differ by more than a certain amount of time, the application correcting the timestamp of the infrastructure equipment to be used to the reference timestamp;
A timestamp correction method characterized by:
請求項8に記載のタイムスタンプ修正方法であって、
前記タイムスタンプ修正部が、前記両者のタイムスタンプに一定時間以上の隔たりがある場合、前記アプリケーションで用いる前記インフラ機器のタイムスタンプを、前記基準となるタイムスタンプと前記運用拠点の時刻同期サーバのタイムスタンプとの差分を用いて修正する、
ことを特徴とするタイムスタンプ修正方法。
The time stamp correction method according to claim 8, comprising:
If the time stamps between the two timestamps differ by a certain amount of time or more, the timestamp correction unit changes the timestamp of the infrastructure equipment used in the application to the reference timestamp and the time of the time synchronization server of the operation base. Correct using the difference with the stamp,
A timestamp correction method characterized by:
請求項8に記載のタイムスタンプ修正方法であって、
前記インフラ拠点の運用情報取得部が、前記アプリケーションで用いる前記インフラ機器のタイムスタンプと前記時刻同期サーバのタイムスタンプとを対応付けたデータと、前記基準となるタイムスタンプを出力するインフラ機器のタイムスタンプと前記時刻同期サーバのタイムスタンプとを対応付けたデータとを、前記時系列DBに書き込む、
ことを特徴とするタイムスタンプ修正方法。
The time stamp correction method according to claim 8, comprising:
The operation information acquisition unit of the infrastructure base generates data that associates the timestamp of the infrastructure equipment used in the application with the timestamp of the time synchronization server, and the timestamp of the infrastructure equipment that outputs the reference timestamp. writing data in which the data is associated with the timestamp of the time synchronization server to the time series DB;
A timestamp correction method characterized by:
コンピュータに、
1または複数のインフラ機器を運用するインフラ拠点または前記インフラ機器から取得したタイムスタンプと、1または複数のインフラ機器を運用するインフラ拠点からネットワークを介して得られたデータを管理する遠隔運用システムが有する運用拠点の時刻同期サーバのタイムスタンプとの差分を算出する処理と、
アプリケーションから受け取った、当該アプリケーションで用いる前記インフラ機器のデータが従う時間系およびデータの取得範囲の指定を含むデータ取得要求に従って、前記インフラ機器から取得したデータに、前記インフラ拠点または前記インフラ機器のタイムスタンプが付与された運用情報を蓄積して保持する時系列DBから取得した前記取得範囲のデータのタイムスタンプと前記差分とが所定の条件を満たす場合、前記取得範囲のデータのタイムスタンプを、前記差分を用いて修正する処理と、
を実行させることを特徴とするタイムスタンプ修正プログラム。
to the computer,
An infrastructure base that operates one or more infrastructure devices or a time stamp obtained from the infrastructure equipment, and a remote operation system that manages data obtained via a network from the infrastructure base that operates one or more infrastructure devices has Processing to calculate the difference with the timestamp of the time synchronization server of the operation base,
In accordance with a data acquisition request received from an application that includes the time system that the data of the infrastructure equipment used in the application follows and the specification of the data acquisition range, the time of the infrastructure base or the infrastructure equipment is added to the data acquired from the infrastructure equipment. If the timestamp of the data in the acquisition range acquired from a time-series DB that accumulates and holds stamped operational information and the difference satisfy a predetermined condition, the timestamp of the data in the acquisition range is A process of correcting using differences,
A timestamp correction program that runs the following.
JP2022033972A 2022-03-04 2022-03-04 Remote operation system, timestamp correction method, and timestamp correction program Pending JP2023129154A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022033972A JP2023129154A (en) 2022-03-04 2022-03-04 Remote operation system, timestamp correction method, and timestamp correction program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022033972A JP2023129154A (en) 2022-03-04 2022-03-04 Remote operation system, timestamp correction method, and timestamp correction program

Publications (1)

Publication Number Publication Date
JP2023129154A true JP2023129154A (en) 2023-09-14

Family

ID=87972835

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022033972A Pending JP2023129154A (en) 2022-03-04 2022-03-04 Remote operation system, timestamp correction method, and timestamp correction program

Country Status (1)

Country Link
JP (1) JP2023129154A (en)

Similar Documents

Publication Publication Date Title
US8751573B2 (en) Cloud-processing management with a landscape directory
US8069224B2 (en) Method, equipment and system for resource acquisition
US7457872B2 (en) On-line service/application monitoring and reporting system
US7779300B2 (en) Server outage data management
US8782472B2 (en) Troubleshooting system using device snapshots
US9336331B2 (en) Detecting, using, and sharing it design patterns and anti-patterns
JP6160064B2 (en) Application determination program, failure detection apparatus, and application determination method
US20070198554A1 (en) Apparatus for business service oriented management infrastructure
US10726042B2 (en) Replication control using eventually consistent meta-data
US11157514B2 (en) Topology-based monitoring and alerting
EP2545467A1 (en) Data synchronization between a data center environment and a cloud computing environment
US20210135959A1 (en) Support ticket platform for improving network infrastructures
US9116805B2 (en) Method and system for processing events
CN111913933A (en) Power grid historical data management method and system based on unified support platform
JP4911061B2 (en) Management system, history information storage method, and data structure of history information database
CN116846729A (en) Method for managing monitoring alarm notification based on multi-tenant mode under cloud container
JP2023129154A (en) Remote operation system, timestamp correction method, and timestamp correction program
CN112099803B (en) Incremental deployment method and system of ERP system
US10706073B1 (en) Partitioned batch processing for a usage analysis system
CN111813880B (en) Homeland space planning project management method, system and storage medium
US10348596B1 (en) Data integrity monitoring for a usage analysis system
CN111294231B (en) Resource management method and system
TWI748653B (en) System and method for determining operation status of device by updating execution status
CN117349384B (en) Database synchronization method, system and equipment
CN115776491A (en) Data sharing method and data sharing system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240315