JP2019101793A - Information processing device, cloud server, and time information conversion method - Google Patents

Information processing device, cloud server, and time information conversion method Download PDF

Info

Publication number
JP2019101793A
JP2019101793A JP2017232446A JP2017232446A JP2019101793A JP 2019101793 A JP2019101793 A JP 2019101793A JP 2017232446 A JP2017232446 A JP 2017232446A JP 2017232446 A JP2017232446 A JP 2017232446A JP 2019101793 A JP2019101793 A JP 2019101793A
Authority
JP
Japan
Prior art keywords
time
time difference
partner
master
change degree
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
JP2017232446A
Other languages
Japanese (ja)
Inventor
稔久 藤井
Toshihisa Fujii
稔久 藤井
宏樹 坪井
Hiroki Tsuboi
宏樹 坪井
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.)
Azbil Corp
Original Assignee
Azbil Corp
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 Azbil Corp filed Critical Azbil Corp
Priority to JP2017232446A priority Critical patent/JP2019101793A/en
Publication of JP2019101793A publication Critical patent/JP2019101793A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Electric Clocks (AREA)

Abstract

To provide an information processing device, a cloud server, and a time information conversion method that accurately convert time information even if the time information from a partner device changes with lapse of time.SOLUTION: A time difference change degree calculation unit 16B calculates, based on time difference history data Hi for a partner device i acquired from a time difference history DB 14, a time difference change degree Fi of time difference between partner master time TMi for the partner device i and reference master time TMs; and a time conversion unit 16C converts, based on the time difference change degree Fi obtained by the time difference change degree calculation unit 16B, partner time information Di based on the partner master time TMi of the partner device i and reference time information Ds based on the reference master time TMs.SELECTED DRAWING: Figure 1

Description

本発明は、時差を有する相手装置に関する時刻情報を変換するための時刻情報変換技術に関する。   The present invention relates to a time information conversion technique for converting time information on a partner apparatus having a time difference.

クラウドシステムの事業モデルの1つとして、クラウドプラットフォーム提供者が提供するクラウド基盤の上に、仮想的なクラウドサーバによりエンドユーザー毎にクラウド実行環境を用意して各種のクラウドサービスを提供するものがある。図9は、実行環境に応じたサービスを提供するクラウド構成例である。図9に示すクラウド構成では、顧客毎にクラウド実行環境を用意しているが、同じ顧客で拠点が異なるエンドユーザーに対して独立したクラウド実行環境を用意する場合もあり、クラウド実行環境内にエンドユーザー向けのサービスを実行するソフトウェアやデータベースが存在する。   One of the business models of cloud systems is to provide various cloud services by preparing a cloud execution environment for each end user with a virtual cloud server on a cloud platform provided by a cloud platform provider. . FIG. 9 is an example of a cloud configuration that provides services according to the execution environment. In the cloud configuration shown in FIG. 9, the cloud execution environment is prepared for each customer, but there are also cases where an independent cloud execution environment is prepared for end users with different bases based on the same customer. There are software and databases that execute services for users.

このようなクラウド構成では、クラウド基盤が各クラウド実行環境の動作状況を把握・管理するために、クラウド基盤で統一した基準マスタ時刻を備えており、通常の場合は協定世界時(UTC:Universal Time Coordinated)で全ての事象の時刻を、基準マスタ時刻に基づく基準時刻情報を用いて記録している。したがって、クラウドサービスで時刻情報を提示する場合には、クラウドサービスを利用するエンドユーザーのサイトの時間帯地域に合わせた時刻情報に変換して提示している。   In such a cloud configuration, the cloud base has a standard master time that is unified with the cloud base in order to understand and manage the operation status of each cloud execution environment, and in the normal case, Universal Time Coordinated (UTC: Universal Time) In Coordinated), the times of all events are recorded using reference time information based on the reference master time. Therefore, when presenting time information with a cloud service, it is converted into time information adapted to the time zone area of the end user site using the cloud service and presented.

この際、クラウド基盤では、基準マスタ時刻を計時する時刻管理サーバがクラウド基盤内に設けられていることを想定し、クラウド実行環境を利用するエンドユーザーのサイトから提供される相手時刻情報も、UTCすなわちクラウド基盤と時刻同期していることを前提としている。このため、このようなクラウド構成では、特定の顧客のみ他とずれた時刻で管理することはできない。   At this time, in the cloud platform, assuming that a time management server for clocking the reference master time is provided in the cloud platform, the other party's time information provided from the site of the end user using the cloud execution environment is also UTC. That is, it is assumed that time is synchronized with the cloud platform. Therefore, in such a cloud configuration, it is not possible to manage only a specific customer at a different time.

しかし、図9に示すように、顧客サイトによっては、クラウド基盤と接続するローカルサイト上のシステムで計時した時刻をマスタ時刻として扱い、かつ、そのマスタ時刻がUTCと同期できないサイトがある。このような顧客サイトが存在する背景としては、顧客側が過去に独自に作り上げた企業活動管理のシステムが存在し、そのプラットフォームが古くて時刻同期に対応せず、かつ、古くから運用している事情から顧客側システムの時刻を訂正することが望ましくない場合がある。   However, as shown in FIG. 9, depending on the customer site, there is a site that handles the time clocked by the system on the local site connected to the cloud platform as the master time, and the master time can not be synchronized with UTC. The background of the existence of such a customer site is that there is a system for business activity management that the customer side created independently in the past, and the platform is old, does not correspond to time synchronization, and has been operating for a long time From time to time it may not be desirable to correct the time on the customer side system.

例えば、石油プラントなどのプロセスオートメーションシステムにおいては、そのマスタ時刻を運転中に変更することが許されず、何年も経過した後の定修時にのみ、その機会が与えられる。したがって、このような、マスタ時刻を独自に管理する顧客サイトと接続するクラウド実行環境では、次のような課題がある。   For example, in a process automation system such as an oil plant, it is not permitted to change its master time during operation, and the opportunity is given only at regular repair after many years have passed. Therefore, there are the following problems in such a cloud execution environment connected with a customer site that manages master time independently.

その1つは、顧客サイトから通知された時刻付の情報をそのままクラウド実行環境内に保存し、顧客サイトの事象履歴の情報とクラウド基盤が記録するクラウド環境内の事象履歴の情報とを単純に比較すると、両者の時刻情報に時差が存在するため、事象発生順序が正しく反映されずに誤った解析を行ってしまう場合がある。
また、もう1つの課題として、UTCと同じ時刻を持てない複数のサイトが同じクラウド環境に接続している場合も同様に、両方のサイトの情報を単純に比較すると、正しい時間関係を把握できずに誤った解析を行う場合がある。
One of them is to store the timed information notified from the customer site as it is in the cloud execution environment, and simply the information on the event history of the customer site and the information on the event history in the cloud environment recorded by the cloud platform In comparison, since there is a time difference between the time information of the two, there is a possibility that the analysis may be performed incorrectly without correctly reflecting the event occurrence order.
Also, as another problem, even when multiple sites that can not have the same time as UTC are connected to the same cloud environment, it is impossible to grasp the correct time relationship by simply comparing the information of both sites. May perform incorrect analysis.

特開平9−160666号公報JP-A-9-160666

従来、ネットワーク環境下の分散システム間でシステム時刻を統一するための技術が提案されている(例えば、特許文献1など参照)。この技術は、各システムと自システムの時差情報と相手システムの日程に関する時刻変換情報とに基づいて、相手システムから取得したデータの日時情報を自システムの日時に変換するようにしたものである。
これにより、ネットワークで一意な時刻を管理することなく、相手システムの時刻を自システムの時刻に変換することができる。
Conventionally, a technique for unifying system time among distributed systems in a network environment has been proposed (see, for example, Patent Document 1). This technology is configured to convert date and time information of data acquired from the other system into the date and time of the own system based on time difference information of each system and the own system and time conversion information on the schedule of the other system.
Thus, the time of the other system can be converted to the time of the own system without managing the time unique to the network.

しかしながら、このような従来技術では、時刻を変換する際、相手システムと自システムの時差情報として予め設定された固定的な情報を用いているため、顧客サイトで独自に関するマスタ時刻とクラウド基盤のマスタ時刻との時差が、時間経過とともに変化していくような場合には、顧客サイトから通知された時刻情報を、クラウド基盤の時刻情報へ、正確に変換することができないという問題点があった。   However, in such conventional techniques, when converting time, fixed information preset as time difference information between the partner system and the own system is used, so the master time on the customer site and the master of the cloud base are unique. When the time difference with the time changes with the passage of time, there is a problem that the time information notified from the customer site can not be accurately converted to the cloud-based time information.

例えば、顧客サイトのシステムが、前述したプロセスオートメーションシステムのために運転中の時刻変更が行えない場合、その顧客サイトのシステムのクロック周期が実際よりずれていると、長い時間経過と共に徐々にクラウド基盤との時差が変化していく場合もある。このときには、単純に固定した時差を参考情報として補正することはできない。   For example, if the system at the customer site can not change the operating time due to the process automation system described above, the clock base of the system at the customer site may deviate from the actual clock period, and the cloud infrastructure will gradually increase over time. The time difference with may change. At this time, it is impossible to correct the simply fixed time difference as reference information.

本発明はこのような課題を解決するためのものであり、時間経過とともに時差が変化するような相手装置からの時刻情報であっても、精度よく時刻情報を変換することができる時刻情報変換技術を提供することを目的としている。   The present invention is intended to solve such problems, and a time information conversion technology that can accurately convert time information even if it is time information from a partner apparatus whose time difference changes with time. The purpose is to provide.

このような目的を達成するために、本発明にかかる情報処理装置は、基準マスタ時刻を計時するように構成された時計部と、通信ネットワークを介して接続された相手装置から、前記相手装置で計時した相手マスタ時刻を示す相手時刻情報を取得して、前記時計部の前記基準マスタ時刻を示す基準時刻情報との時差を計算し、得られた時差の変化を示す時差履歴データを時差履歴DBに記録するように構成された時差履歴記録部と、前記時差履歴DBから取得した前記相手装置に関する時差履歴データに基づいて、前記相手装置に関する前記相手マスタ時刻と前記基準マスタ時刻との時差の時差変化度合を計算するように構成された時差変化度合計算部と、前記時差変化度合計算部で得られた時差変化度合に基づいて、前記相手装置の前記相手マスタ時刻に基づく相手時刻情報と、前記基準マスタ時刻に基づく基準時刻情報とを変換するように構成された時刻変換部とを備えている。   In order to achieve such an object, an information processing apparatus according to the present invention uses a clock unit configured to clock a reference master time, and a partner apparatus connected via a communication network, using the partner apparatus. The other time information indicating the other time master time measured is acquired, the time difference from the reference time information indicating the reference master time of the clock unit is calculated, and the time difference history data indicating the change of the obtained time difference Time difference between the other party master time relating to the other device and the reference master time based on the time difference history recording unit configured to record on the other device and the time difference history data relating to the other device acquired from the time difference history DB The phase of the other device is calculated based on a time difference change degree calculation unit configured to calculate a change degree and the time difference change degree obtained by the time difference change degree calculation unit. It includes a mating time information based on the master time, and a time conversion unit configured to convert the reference time information based on the reference master time.

また、本発明にかかる上記情報処理装置の一構成例は、前記時刻変換部が、前記相手装置から通知された処理データに、前記相手マスタ時刻に基づく相手時刻情報が含まれている場合、当該相手装置の時差変化度合に基づいて、前記相手時刻情報を前記基準マスタ時刻に基づく基準時刻情報に変換するようにしたものである。   Further, in a configuration example of the information processing apparatus according to the present invention, in the case where the time conversion unit includes the other party time information based on the other party master time in the processing data notified from the other party apparatus The counterpart time information is converted into reference time information based on the reference master time based on the time difference change degree of the counterpart apparatus.

また、本発明にかかる上記情報処理装置の一構成例は、前記時刻変換部が、前記相手装置へ通知する処理データに、前記基準マスタ時刻に基づく基準時刻情報が含まれている場合、当該相手装置の時差変化度合に基づいて、前記基準時刻情報を前記相手マスタ時刻に基づく相手時刻情報に変換するようにしたものである。   Further, in a configuration example of the information processing apparatus according to the present invention, in the case where processing data notified to the other device by the time conversion unit includes reference time information based on the reference master time, the other device The reference time information is converted into the other party time information based on the other party master time based on the time difference change degree of the device.

また、本発明にかかる上記情報処理装置の一構成例は、前記時差変化度合計算部が、前記相手マスタ時刻と前記基準マスタ時刻との新たな時差変化度合を定期的に計算して記憶部に保存し、前記時刻変換部は、前記相手時刻情報と前記基準時刻情報とを変換する際、前記記憶部から取得した、前記相手マスタ時刻と前記基準マスタ時刻との最新の時差変化度合に基づいて変換するようにしたものである。   Further, in a configuration example of the information processing apparatus according to the present invention, the time difference change degree calculation unit periodically calculates a new time difference change degree between the counterpart master time and the reference master time and stores the time in the storage unit. When the time conversion unit converts the other party time information and the reference time information, the time conversion unit stores the latest time difference change degree between the other party master time and the reference master time acquired from the storage unit. It is intended to convert.

また、本発明にかかる上記情報処理装置の一構成例は、前記時刻変換部が、前記相手時刻情報と前記基準時刻情報とを変換する際、前記時差変化度合計算部で前記相手マスタ時刻と前記基準マスタ時刻との時差変化度合を新たに計算し、得られた最新の時差変化度合に基づいて変換するようにしたものである。   Further, in a configuration example of the information processing apparatus according to the present invention, the time difference change degree calculation unit calculates the other party master time and the other time when the time conversion unit converts the other time information and the reference time information. The time difference change degree with the reference master time is newly calculated and converted based on the latest time difference change degree obtained.

また、本発明にかかるクラウドサーバは、基準マスタ時刻を計時する時刻管理サーバと、通信回線を介して前記時刻管理サーバから取得した前記基準マスタ時刻に基づく基準時刻情報に基づいて各種のアプリケーション処理を実行する複数のクラウドサーバとを備えるクラウド基盤で用いられる前記クラウドサーバであって、通信ネットワークを介して接続された相手装置から、前記相手装置で計時した相手マスタ時刻を示す相手時刻情報を取得して、前記時刻管理サーバから取得した前記基準マスタ時刻を示す基準時刻情報との時差を計算し、得られた時差の変化を示す時差履歴データを時差履歴DBに記録するように構成された時差履歴記録部と、前記時差履歴DBから取得した前記相手装置に関する時差履歴データに基づいて、前記相手装置に関する前記相手マスタ時刻と前記基準マスタ時刻との時差の時差変化度合を計算するように構成された時差変化度合計算部と、前記時差変化度合計算部で得られた時差変化度合に基づいて、前記相手装置の前記相手マスタ時刻に基づく相手時刻情報と、前記基準マスタ時刻に基づく基準時刻情報とを変換するように構成された時刻変換部とを備えている。   In addition, the cloud server according to the present invention includes a time management server that clocks a reference master time, and various application processing based on reference time information based on the reference master time acquired from the time management server via a communication line. The cloud server used on a cloud basis comprising a plurality of cloud servers to be executed, which acquires opponent's time information indicating an opponent's master time clocked by the opponent device from the opponent device connected via a communication network Time difference history with reference time information indicating the reference master time acquired from the time management server, and time difference history data indicating a change in the obtained time difference recorded in the time difference history DB The recording unit and the phase based on time difference history data regarding the other device acquired from the time difference history DB. Based on the time difference change degree calculation unit configured to calculate the time difference change degree of the time difference between the partner master time and the reference master time regarding the device, based on the time difference change degree obtained by the time difference change degree calculation unit A time conversion unit configured to convert partner time information based on the partner master time of the partner apparatus and reference time information based on the reference master time is provided.

また、本発明にかかる時刻情報変換方法は、通信ネットワークを介して相手装置と接続される情報処理装置で用いられる時刻情報変換方法であって、時計部が、基準マスタ時刻を計時する計時ステップと、時差履歴記録部が、通信ネットワークを介して接続された相手装置から、前記相手装置で計時した相手マスタ時刻を示す相手時刻情報を取得して、前記時計部の前記基準マスタ時刻を示す基準時刻情報との時差を計算し、得られた時差の変化を示す時差履歴データを時差履歴DBに記録する時差記録ステップと、時差変化度合計算部が、前記時差履歴DBから取得した前記相手装置に関する時差履歴データに基づいて、前記相手装置に関する前記相手マスタ時刻と前記基準マスタ時刻との時差の時差変化度合を計算する時差推定ステップと、時刻変換部が、前記時差変化度合計算部で得られた時差変化度合に基づいて、前記相手装置の前記相手マスタ時刻に基づく相手時刻情報と、前記基準マスタ時刻に基づく基準時刻情報とを変換する時刻変換ステップとを備えている。   Further, a time information conversion method according to the present invention is a time information conversion method used in an information processing apparatus connected to a partner apparatus via a communication network, and a clock unit measures a reference master time. The time difference history recording unit acquires, from the partner apparatus connected via the communication network, partner time information indicating the partner master time clocked by the partner apparatus, and a reference time indicating the reference master time of the clock unit. A time difference recording step of calculating a time difference from information and recording time difference history data indicating a change of the obtained time difference in the time difference history DB, and a time difference regarding the other device acquired from the time difference history DB A time difference estimation step of calculating a time difference change degree of the time difference between the partner master time and the reference master time relating to the partner apparatus based on history data And a time conversion unit, based on the time difference change degree obtained by the time difference change degree calculation unit, converts partner time information based on the partner master time of the partner apparatus and reference time information based on the reference master time. And a time conversion step.

本発明によれば、相手装置の相手クロック信号と時計部の基準クロック信号とのクロック周期がずれていて、時間経過とともに時差が変化するような場合であっても、相手装置の相手マスタ時刻に基づく相手時刻情報と、基準マスタ時刻に基づく基準時刻情報とを、精度よく変換することが可能となる。
したがって、相手装置から取得した取得データが示す事象と、アプリケーション処理部側の処理データが示す事象とを比較しても、これら事象の発生順序を正しく認識することができ、これら事象を正確に解析することができる。また、任意の標準時刻との時刻同期を行う構成を備えていない相手装置や、常時運転中のプロセスオートメーションシステムのため任意の標準時刻との時刻同期を行えない相手装置であっても、これら相手装置から取得した取得データが示す事象について、上記と同様にして、これら事象の発生順序を正しく認識することができ、これら事象を正確に解析することができる。
According to the present invention, even when the clock cycle of the other party's clock signal of the other party's device and the reference clock signal of the clock unit are offset and the time difference changes as time passes, It becomes possible to accurately convert the other party time information based on the reference time and the reference time information based on the reference master time.
Therefore, even if the events indicated by the acquired data acquired from the other device are compared with the events indicated by the processing data on the application processing unit side, the order of occurrence of these events can be correctly recognized, and these events can be analyzed correctly. can do. In addition, even if it is a partner device that does not have a configuration to perform time synchronization with any standard time, or a partner device that can not perform time synchronization with any standard time for a process automation system that is always operating, With respect to events indicated by acquired data acquired from the device, the occurrence order of these events can be correctly recognized in the same manner as described above, and these events can be correctly analyzed.

第1の実施の形態にかかる情報処理装置の構成を示すブロック図である。It is a block diagram showing composition of an information processor concerning a 1st embodiment. 時差履歴DBの構成例である。It is an example of composition of time difference history DB. 時差履歴記録処理を示すフローチャートである。It is a flowchart which shows time difference history recording processing. 時差変化度合計算処理を示すフローチャートである。It is a flowchart which shows a time difference change degree calculation process. 時差変化度合を示す説明図である。It is explanatory drawing which shows a time difference change degree. 時刻変換処理を示すフローチャートである。It is a flowchart which shows time conversion processing. クラウド基盤の構成例である。It is a configuration example of the cloud base. 第2の実施の形態にかかるクラウドサーバの構成を示すブロック図である。It is a block diagram showing composition of a cloud server concerning a 2nd embodiment. 実行環境に応じたサービスを提供するクラウド構成例である。It is a cloud structural example which provides the service according to execution environment.

次に、本発明の実施の形態について図面を参照して説明する。
[第1の実施の形態]
まず、図1を参照して、本発明の第1の実施の形態にかかる情報処理装置10について説明する。図1は、第1の実施の形態にかかる情報処理装置の構成を示すブロック図である。
Next, embodiments of the present invention will be described with reference to the drawings.
First Embodiment
First, an information processing apparatus 10 according to a first embodiment of the present invention will be described with reference to FIG. FIG. 1 is a block diagram showing the configuration of the information processing apparatus according to the first embodiment.

この情報処理装置10は、全体としてサーバなどの情報処理装置(コンピュータ)からなり、VPN(Virtual Private Network)、専用線網、インターネットなどの通信ネットワークNWを介して、各相手装置50(51,52,…,5N:Nは1以上の整数)との間で、各種のアプリケーション処理に用いる処理データをやり取りする機能を有している。   The information processing apparatus 10 as a whole comprises an information processing apparatus (computer) such as a server, and each opposing apparatus 50 (51, 52) via a VPN (Virtual Private Network), a private line network, a communication network NW such as the Internet. ,..., 5N: N is an integer greater than or equal to 1), and has a function of exchanging processing data used for various application processing.

情報処理装置10の具体例としては、通信ネットワークNWを介した相手装置50からのアクセスに応じて、各種のWebサービスを相手装置50に提供するサービス提供サーバがある。
相手装置50の具体例としては、PC、サーバ、携帯情報端末などの情報処理装置(コンピュータ)があり、それぞれの相手クロック信号に基づき相手マスタ時刻TMi(i=1,2,…,N)を計時する機能を有している。
As a specific example of the information processing apparatus 10, there is a service providing server that provides various Web services to the partner apparatus 50 in response to access from the partner apparatus 50 via the communication network NW.
Specific examples of the partner device 50 include information processing devices (computers) such as a PC, a server, and a portable information terminal, and the partner master time TMi (i = 1, 2,..., N) is It has a clocking function.

図1に示すように、情報処理装置10は、主な機能部として、時計部11、記憶部12、網I/F部13、時差履歴DB14、アプリケーションDB15、および演算処理部16を備えている。   As shown in FIG. 1, the information processing apparatus 10 includes, as main functional units, a clock unit 11, a storage unit 12, a network I / F unit 13, a time difference history DB 14, an application DB 15, and an arithmetic processing unit 16. .

時計部11は、一般的な公知の時計回路からなり、基準クロック信号に基づいて情報処理装置10での処理動作の基準となる基準マスタ時刻TMsを計時する機能を有している。本実施の形態にかかる基準マスタ時刻TMsは、一般的には、協定世界時(UTC:Universal Time Coordinated)や日本標準時(JST:Japan Standard Time)などの標準時と同期しているが、これに限定されるものではなく、これら標準時と同期している必要はない。   The clock unit 11 includes a general known clock circuit, and has a function of clocking a reference master time TMs serving as a reference of processing operation in the information processing apparatus 10 based on a reference clock signal. The standard master time TMs according to the present embodiment is generally synchronized with standard time such as Universal Time Coordinated (UTC) or Japan Standard Time (JST), but is limited thereto It does not have to be synchronized with these standard times.

記憶部12は、ハードディスクや半導体メモリなどの記憶装置からなり、演算処理部16での各種処理に用いるデータやプログラムを記憶する機能を有している。
網I/F部13は、通信ネットワークNWを介して相手装置50との間でデータ通信を行う機能を有している。
The storage unit 12 is a storage device such as a hard disk or a semiconductor memory, and has a function of storing data and programs used for various processes in the arithmetic processing unit 16.
The network I / F unit 13 has a function of performing data communication with the partner apparatus 50 via the communication network NW.

時差履歴DB14は、ハードディスクや半導体メモリなどの記憶装置からなり、各相手装置50で計時した相手マスタ時刻TMiと情報処理装置10で計時した基準マスタ時刻TMsとの時刻差の変化を示す時差履歴データを記憶するデータベースである。
図2は、時差履歴DBの構成例である。ここでは、相手装置50を識別するための相手ID、相手マスタ時刻TMi、基準マスタ時刻TMs、および、時刻差の組が、時差履歴データとして登録されている。
The time difference history DB 14 is composed of a storage device such as a hard disk or a semiconductor memory, and is time difference history data indicating a change in time difference between the other master time TMi clocked by each other device 50 and the reference master time TMs clocked by the information processing device 10 Is a database that stores
FIG. 2 is a configuration example of the time difference history DB. Here, a pair of the other party ID for identifying the other party device 50, the other party master time TMi, the reference master time TMs, and the time difference is registered as time difference history data.

例えば、図2では、各月の初日に時差を計算した例が示されており、相手ID「001」の相手装置50に関する時差は、2か月経過しても一定の値「−02:30」を示している。これに対して、相手ID「002」の相手装置50に関する時差は、1か月ごとに1秒ずつ増加していることが分かる。   For example, FIG. 2 shows an example in which the time difference is calculated on the first day of each month, and the time difference regarding the partner device 50 of the partner ID "001" is a constant value "-02: 30" even after two months. "Is shown. On the other hand, it can be seen that the time difference relating to the partner device 50 with the partner ID "002" increases by one second every month.

したがって、相手ID「001」の相手装置50の相手時刻情報については、固定的な補正値で基準時刻情報に変換することが可能であるが、相手ID「002」の相手装置50に関する相手時刻情報については、固定的な補正値で基準時刻情報に変換することはできない。本発明は、このような時差の時差変化度合を計算し、時差変化度合に基づいて、相手時刻情報と基準時刻情報とを変換するようにしたものである。   Therefore, the other party time information of the other party device 50 of the other party ID “001” can be converted to reference time information with a fixed correction value, but the other party time information regarding the other party device 50 of the other party ID “002” Can not be converted to reference time information with a fixed correction value. The present invention calculates such a time difference change degree of the time difference, and converts the opponent time information and the reference time information based on the time difference change degree.

アプリケーションDB15は、ハードディスクや半導体メモリなどの記憶装置からなり、相手装置50から取得した取得データや相手装置50へ提供する提供データなど、相手装置50が利用するアプリケーション処理で用いる各種処理データを記憶するデータベースである。   The application DB 15 is a storage device such as a hard disk or a semiconductor memory, and stores various processing data used in application processing used by the partner apparatus 50, such as acquired data acquired from the partner apparatus 50 and provided data provided to the partner apparatus 50. It is a database.

演算処理部16は、CPUとその周辺回路を備え、記憶部12からプログラムを読み出してCPUで実行することにより、ハードウェアとソフトウェアとを協働させて、各種の処理部を実現する機能を有している。
演算処理部16で実現される主な処理部として、時差履歴記録部16A、時差変化度合計算部16B、時刻変換部16C、およびアプリケーション処理部16Dがある。
The arithmetic processing unit 16 includes a CPU and its peripheral circuits, has a function of realizing various processing units by causing hardware and software to cooperate with each other by reading a program from the storage unit 12 and executing the program by the CPU. doing.
As main processing units realized by the arithmetic processing unit 16, there are a time difference history recording unit 16A, a time difference change degree calculation unit 16B, a time conversion unit 16C, and an application processing unit 16D.

時差履歴記録部16Aは、網I/F部13および通信ネットワークNWを介して接続される各相手装置50から、相手装置50で計時した相手マスタ時刻TMiを示す相手時刻情報を取得して、時計部11の基準マスタ時刻TMsを示す基準時刻情報との時差を計算し、得られた時差の変化を示す時差履歴データを時差履歴DB14に記録する機能を有している。   The time difference history recording unit 16A acquires the other party time information indicating the other party master time TMi clocked by the other party device 50 from each other party device 50 connected via the network I / F unit 13 and the communication network NW, It has a function of calculating a time difference from reference time information indicating the reference master time TMs of the unit 11 and recording time difference history data indicating a change in the obtained time difference in the time difference history DB 14.

時差変化度合計算部16Bは、時差履歴DB14から取得した、推定対象となる相手装置50に関する時差履歴データに基づいて、相手装置50に関する相手マスタ時刻TMiと基準マスタ時刻TMsとの時差の時差変化度合を計算する機能を有している。   The time difference change degree calculation unit 16B calculates the time difference change degree of the time difference between the partner master time TMi for the partner apparatus 50 and the reference master time TMs based on the time difference history data on the partner apparatus 50 to be estimated acquired from the time difference history DB14. Has a function to calculate

この際、時差変化度合計算部16Bは、推定対象となる相手装置50に関する複数の時差履歴データに基づいて、相手マスタ時刻TMiと基準マスタ時刻TMsとの時差の変化を示す、線形あるいは非線形の近似関数を、時差変化度合として計算するようにしてもよい。近似関数を求める手法については、公知の手法を用いればよい。   At this time, the time difference change degree calculation unit 16B is a linear or non-linear approximation that indicates a change in time difference between the partner master time TMi and the reference master time TMs based on a plurality of time difference history data related to the partner apparatus 50 to be estimated. A function may be calculated as the time difference change degree. A known method may be used as a method of obtaining an approximate function.

時刻変換部16Cは、時差変化度合計算部16Bで得られた時差変化度合に基づいて、変換対象となる相手装置50の相手マスタ時刻TMiに基づく時刻情報と、基準マスタ時刻TMsに基づく基準時刻情報とを変換する機能を有している。   The time conversion unit 16C is based on the time difference change degree obtained by the time difference change degree calculation unit 16B, time information based on the other party master time TMi of the other device 50 to be converted, and reference time information based on the reference master time TMs. And has the function of converting

具体的には、時刻変換部16Cは、相手装置50から通知された処理データに、相手マスタ時刻TMiに基づく相手時刻情報が含まれている場合、当該相手装置50の時差変化度合に基づいて、相手時刻情報を基準マスタ時刻TMsに基づく基準時刻情報に変換する機能と、相手装置50へ通知する処理データに、基準マスタ時刻TMsに基づく基準時刻情報が含まれている場合、当該相手装置50の時差変化度合に基づいて、基準時刻情報を相手マスタ時刻TMiに基づく相手時刻情報に変換する機能とを有している。   Specifically, when the processing data notified from the partner apparatus 50 includes partner time information based on the partner master time TMi, the time conversion unit 16C determines, based on the time difference change degree of the partner apparatus 50, the partner time information. If the function of converting the other party's time information into the reference time information based on the reference master time TMs and the processing data notified to the other device 50 include the reference time information based on the reference master time TMs, It has a function of converting the reference time information into the other party time information based on the other party master time TMi based on the time difference change degree.

時刻変換部16Cで相手時刻情報と基準時刻情報とを変換する際、時差変化度合計算部16Bが、相手マスタ時刻TMiと基準マスタ時刻TMsとの時差の新たな時差変化度合を定期的に計算して記憶部12に保存しておき、時刻変換部16Cが、相手時刻情報と基準時刻情報とを変換する際、記憶部12から取得した、相手マスタ時刻TMiと基準マスタ時刻TMsとの最新の時差変化度合に基づいて、相手時刻情報と基準時刻情報とを変換するようにしてもよい。   When converting the partner time information and the reference time information by the time conversion unit 16C, the time difference change degree calculation unit 16B periodically calculates a new time difference change degree of the time difference between the partner master time TMi and the reference master time TMs. When the time conversion unit 16C converts the partner time information and the reference time information, the latest time difference between the partner master time TMi and the reference master time TMs acquired from the storage unit 12 The counterpart time information and the reference time information may be converted based on the degree of change.

また、時刻変換部16Cで相手時刻情報と基準時刻情報とを変換する際、時差変化度合計算部16Bが、相手マスタ時刻TMiと基準マスタ時刻TMsとの時差変化度合を新たに計算し、得られた最新の時差変化度合に基づいて時刻変換部16Cが相手時刻情報と基準時刻情報とを変換するようにしてもよい。   Further, when the time conversion unit 16C converts the partner time information and the reference time information, the time difference change degree calculation unit 16B newly calculates and obtains the time difference change degree between the partner master time TMi and the reference master time TMs. The time conversion unit 16C may convert the other time information and the reference time information based on the latest time difference change degree.

アプリケーション処理部16Dは、通信ネットワークNWおよび網I/F部13を介して、相手装置50から通知された処理データをアプリケーションDB15に保存する機能と、アプリケーションDB15に保存されている処理データを読み出して、指定されたアプリケーション処理を実行し、アプリケーション処理で得られた処理データをアプリケーションDB15に保存する機能と、アプリケーションDB15に保存されている処理データを、網I/F部13および通信ネットワークNWを介して相手装置50へ通知する機能とを有している。   The application processing unit 16D reads the processing data stored in the application DB 15 and the function of storing the processing data notified from the other device 50 in the application DB 15 through the communication network NW and the network I / F unit 13. A function of executing designated application processing and storing processing data obtained by the application processing in the application DB 15, and processing data stored in the application DB 15 through the network I / F unit 13 and the communication network NW And the function of notifying the partner apparatus 50.

この際、アプリケーション処理部16Dにより、相手装置50から通知された処理データをアプリケーションDB15に保存する際、時刻変換部16Cで、相手時刻情報が基準時刻情報に変換された後の処理データが保存されることになる。また、アプリケーションDB15に保存されている処理データを相手装置50へ通知する際、時刻変換部16Cで、基準時刻情報相が手時刻情報に変換された後の処理データが通知されることになる。   At this time, when the processing data notified from the partner apparatus 50 is stored in the application DB 15 by the application processing unit 16D, the processing data after the partner time information is converted to reference time information is stored in the time conversion unit 16C. It will be In addition, when the process data stored in the application DB 15 is notified to the partner apparatus 50, the process data after the reference time information phase is converted to the hand time information is notified by the time conversion unit 16C.

[第1の実施の形態の動作]
次に、本実施の形態にかかる情報処理装置10の動作について説明する。
情報処理装置10の主な動作としては、時差履歴記録動作、時差変化度合計算動作、および時刻変換動作がある。以下、これら動作のそれぞれについて個別に説明する。
[Operation of First Embodiment]
Next, the operation of the information processing apparatus 10 according to the present embodiment will be described.
As main operations of the information processing apparatus 10, there are a time difference history recording operation, a time difference change degree calculation operation, and a time conversion operation. Each of these operations will be individually described below.

[時差履歴記録動作]
まず、図3を参照して、情報処理装置10の時差履歴データ記録動作について説明する。図3は、時差履歴記録処理を示すフローチャートである。
情報処理装置10の時差履歴記録部16Aは、例えば予め設定された周期で図3の時差履歴記録処理を実行することにより、各相手装置50に関する時差履歴データを生成して時差履歴DB14へ記録する。
[Time difference history recording operation]
First, the time difference history data recording operation of the information processing apparatus 10 will be described with reference to FIG. FIG. 3 is a flowchart showing time difference history recording processing.
The time difference history recording unit 16A of the information processing apparatus 10 generates the time difference history data related to each other device 50 by executing the time difference history recording process of FIG. 3 at a preset cycle, for example, and records the time difference history data in the time difference history DB14. .

まず、時差履歴記録部16Aは、網I/F部13および通信ネットワークNWを介して、記録対象となる相手装置i(i=1,2,…,N)から、相手装置iで計時した相手マスタ時刻TMiを示す相手時刻情報Diを取得する(ステップ100)。この相手時刻情報Diは、時差履歴記録部16Aから送信した要求メッセージに応じて相手装置iから返送されたものを用いてもよく、相手装置iから周期的に通知されたものを用いてもよい。また、相手装置i側で、例えば定期修理などのタイミングで、相手マスタ時刻TMiを変更した場合には、それに合わせて新たな相手時刻情報Diを情報処理装置10へ通知するようにしてもよく、より高い時刻変換精度を得ることができる。   First, the time difference history recording unit 16A counts the other device i from the other device i (i = 1, 2,..., N) to be recorded via the network I / F unit 13 and the communication network NW. The other time information Di indicating the master time TMi is acquired (step 100). The other party time information Di may use what is returned from the other device i in response to the request message transmitted from the time difference history recording unit 16A, or may use information periodically notified from the other device i. . Further, when the partner master time TMi is changed at the partner apparatus i side, for example, at the timing of regular repair, new partner time information Di may be notified to the information processing apparatus 10 accordingly. Higher time conversion accuracy can be obtained.

次に、時差履歴記録部16Aは、相手時刻情報Diを取得すると同時に、時計部11から基準マスタ時刻TMsを示す基準時刻情報Dsを取得し(ステップ101)、これらDiとDsとの時差ΔTiを計算する(ステップ102)。
この後、時差履歴記録部16Aは、前述の図2に示したように、相手装置iを示す相手ID、Di、Ds、および時差ΔTiの組からなる時差履歴データHiを生成して、時差履歴DB14に記録し(ステップ103)、一連の処理を終了する。
Next, the time difference history recording unit 16A acquires reference time information Ds indicating the reference master time TMs from the clock unit 11 at the same time as acquiring the other party time information Di (step 101), and time difference ΔTi between these Di and Ds Calculate (step 102).
After that, as shown in FIG. 2 described above, the time difference history recording unit 16A generates time difference history data Hi consisting of a set of the other party ID indicating the other device i, Di, Ds, and time difference ΔTi It records in DB14 (step 103), and ends a series of processings.

[時差変化度合計算動作]
次に、図4を参照して、情報処理装置10の時差変化度合計算動作について説明する。図4は、時差変化度合計算処理を示すフローチャートである。
情報処理装置10の時差変化度合計算部16Bは、例えば予め設定された周期で図4の時差変化度合計算処理を実行することにより、各相手装置50に関する時差変化度合を計算して、その関数パラメータを記憶部12へ保存する。
[Time difference change calculation operation]
Next, the time difference change degree calculation operation of the information processing device 10 will be described with reference to FIG. FIG. 4 is a flowchart showing time difference change degree calculation processing.
The time difference change degree calculation unit 16B of the information processing apparatus 10 calculates the time difference change degree for each of the other devices 50 by executing the time difference change degree calculation process of FIG. Are stored in the storage unit 12.

まず、時差変化度合計算部16Bは、処理対象となる相手装置i(50)に関する時差履歴データHiを時差履歴DB14から取得し(ステップ110)、これら時差履歴データHiから、相手マスタ時刻TMiと基準マスタ時刻TMsとの時差変化度合Fi(t)を計算する(ステップ111)。   First, the time difference change degree calculation unit 16B acquires time difference history data Hi relating to the other device i (50) to be processed from the time difference history DB 14 (step 110), and from these time difference history data Hi, the other master time TMi and the reference A time difference change degree Fi (t) from the master time TMs is calculated (step 111).

図5は、時差変化度合を示す説明図である。相手装置iの相手マスタ時刻TMiを計時するための相手クロック信号と、時計部11の基準マスタ時刻TMsを計時するための基準クロック信号とのクロック周期が等しい場合、時間経過してもTMiとTMsの時差ΔTiは変化しない。一方、相手クロック信号と基準クロック信号とのクロック周期がずれている場合、図5に示すように、時間経過してもTMiとTMsのΔTiが徐々に変化する。   FIG. 5 is an explanatory view showing the time difference change degree. If the clock cycle of the partner clock signal for clocking the partner master time TMi of the partner device i and the reference clock signal for clocking the reference master clock time TMs of the clock unit 11 is equal, TMi and TMs even if time passes Time difference ΔTi does not change. On the other hand, when the clock cycle of the partner clock signal and that of the reference clock signal are deviated, as shown in FIG. 5, ΔTi of TMi and TMs gradually changes even when time passes.

相手クロック信号のクロック周期が一定である場合、基準クロック信号のクロック周期も一定であるとすると、ΔTiは、図5に示すように時間経過とともに線形的に増減する。したがって、少なくとも2つの異なる時刻ti,t2にΔTi(t1),ΔTi(t2)が得られれば、線形近似関数で表される時差変化度合Fi(t)を計算できる。これにより、Fi(t)から任意の時刻txにおけるΔTi(tx)を推定できる。   Assuming that the clock cycle of the other clock signal is constant, assuming that the clock cycle of the reference clock signal is also constant, ΔTi linearly increases or decreases with time as shown in FIG. Therefore, if ΔTi (t1) and ΔTi (t2) are obtained at at least two different times ti and t2, the time difference change degree Fi (t) represented by the linear approximation function can be calculated. Thereby, ΔTi (tx) at an arbitrary time tx can be estimated from Fi (t).

この際、t1,t2として相手マスタ時刻TMi(t1),TMi(t2)を用いれば、相手マスタ時刻TMiに関するΔTi(t)を求めるための時差変化度合Fis(t)を計算することができる。これにより、基準マスタ時刻TMs(tx)は、次の式(1)に基づき算出される。
TMs(tx)=TMi(tx)+Fis(tx) …(1)
これにより、相手装置iから取得した処理データに含まれるDiをDsに変換する際、式(1)に基づき容易に変換できる。
Under the present circumstances, if other party master time TMi (t1) and TMi (t2) are used as t1 and t2, the time difference change degree Fis (t) for calculating (DELTA) Ti (t) regarding the other party master time TMi can be calculated. Thereby, reference | standard master time TMs (tx) is calculated based on following Formula (1).
TMs (tx) = TMi (tx) + Fis (tx) (1)
Thereby, when Di included in the processing data acquired from the partner apparatus i is converted to Ds, conversion can be easily performed based on Expression (1).

この際、t1,t2として基準マスタ時刻TMs(t1),TMs(t2)を用いれば、基準マスタ時刻TMsに関するΔTS(t)を求めるための時差変化度合Fsi(t)を計算することができる。これにより、相手マスタ時刻TMi(tx)は、次の式(2)に基づき算出される。
TMi(tx)=TMs(tx)+Fsi(tx) …(2)
これにより、アプリケーションDB15に保存されている処理データに含まれるDsをDiに変換する際、式(2)に基づき容易に変換できる。
Under the present circumstances, if reference master time TMs (t1) and TMs (t2) are used as t1 and t2, the time difference change degree Fsi (t) for calculating (DELTA) TS (t) regarding reference master time TMs can be calculated. Thereby, the other party master time TMi (tx) is calculated based on the following equation (2).
TMi (tx) = TMs (tx) + Fsi (tx) (2)
Thereby, when converting Ds included in the processing data stored in the application DB 15 to Di, it can be easily converted based on Expression (2).

このようにして、時差変化度合Fi(t)を計算した後、時差変化度合計算部16Bは、Fi(t)を示す関数パラメータPiを記憶部12に保存し(ステップ112)、一連の処理を終了する。
したがって、Fi(t)が線形近似関数Fi(t)=a×t+bで表される場合、Fi(t)の傾きaと切片bが関数パラメータPiとして記憶部12に保存される。なお、Fi(t)が非線形近似関数で表される場合、近似に用いられる関数に応じて、それぞれの関数パラメータPiを保存すればよい。
Thus, after calculating the time difference change degree Fi (t), the time difference change degree calculation unit 16B stores the function parameter Pi indicating Fi (t) in the storage unit 12 (step 112), and performs a series of processes finish.
Therefore, when Fi (t) is expressed by the linear approximation function Fi (t) = a × t + b, the gradient a and the intercept b of Fi (t) are stored in the storage unit 12 as the function parameter Pi. When Fi (t) is represented by a non-linear approximation function, each function parameter Pi may be stored according to the function used for the approximation.

なお、以上では、時差変化度合を近似関数で表した場合を例として説明したが、これに限定されるものではない。例えば、単位時間当たりに変化する時差の変化量、すなわち図5のFi(t)の傾きで時差変化度合を表してもよい。これにより、例えば、図5の例では、TMiをTMsに変換する際、最新の時差履歴データに含まれる時刻TMs(t2)を、最新の時差履歴データが得られた時点t2から変換時点txまでの経過時間tx−t2と時差変化度合aとの乗算結果で補正すれば、TMi(tx)に相当するTMs(tx)が求められる。   In the above, although the case where the time difference change degree is represented by the approximation function has been described as an example, the present invention is not limited to this. For example, the amount of change in time difference may be expressed by the amount of change in time difference that changes per unit time, that is, the slope of Fi (t) in FIG. Thus, for example, in the example of FIG. 5, when converting TMi to TMs, time TMs (t2) included in the latest time difference history data from time t2 when the latest time difference history data is obtained to conversion time tx By correcting the multiplication result of the elapsed time tx−t2 and the time difference change degree a, TMs (tx) corresponding to TMi (tx) can be obtained.

[時刻変換動作]
次に、図6を参照して、情報処理装置10の時刻変換動作について説明する。図6は、時刻変換処理を示すフローチャートである。
情報処理装置10の時刻変換部16Cは、アプリケーション処理部16Dと連携して、図6の時刻変換処理を実行する。ここでは、処理対象となる相手装置i(50)に関する時差変化度合Fi(t)を示す関数パラメータPiが、予め記憶部12に保存されているものとする。
[Time conversion operation]
Next, the time conversion operation of the information processing apparatus 10 will be described with reference to FIG. FIG. 6 is a flowchart showing time conversion processing.
The time conversion unit 16C of the information processing apparatus 10 executes the time conversion process of FIG. 6 in cooperation with the application processing unit 16D. Here, it is assumed that the function parameter Pi indicating the time difference change degree Fi (t) regarding the partner apparatus i (50) to be processed is stored in the storage unit 12 in advance.

まず、時刻変換部16Cは、入力された時刻変換の対象となる処理データDTiが、相手装置iから取得した取得データであるか確認する(ステップ120)。
ここで、DTiが取得データである場合(ステップ120:YES)、時刻変換部16Cは、相手装置iに関する最新の時差変化度合Fi(t)として、記憶部12から関数パラメータPiを取得する(ステップ121)
First, the time conversion unit 16C checks whether the input processing data DTi to be subjected to time conversion is acquired data acquired from the partner apparatus i (step 120).
Here, when DTi is acquired data (step 120: YES), the time conversion unit 16C acquires the function parameter Pi from the storage unit 12 as the latest time difference change degree Fi (t) regarding the partner apparatus i (step 121)

次に、時刻変換部16Cは、Piに基づいてDiをDsに変換し(ステップ122)、Piにより特定される時差変化度合Fi(t)に基づいて、DTiに含まれているDiをDsに置換する(ステップ123)。
この後、時刻変換後のDTiは、アプリケーション処理部16DによりアプリケーションDB15に保存され(ステップ124)、一連の処理が終了する。
Next, the time conversion unit 16C converts Di to Ds based on Pi (step 122), and adds Di included in DTi to Ds based on the time difference change degree Fi (t) specified by Pi. Replace (step 123).
Thereafter, the DTi after time conversion is stored in the application DB 15 by the application processing unit 16D (step 124), and the series of processing ends.

また、ステップ120において、入力された時刻変換の対象となる処理データDTiが取得データでない場合(ステップ120:YES)、時刻変換部16Cは、DTiが相手装置iへ通知する通知データであるか確認し(ステップ130)、DTiが通知データでない場合(ステップ130:NO)、一連の処理を終了する。
一方、DTiが通知データである場合(ステップ130:YES)、時刻変換部16Cは、相手装置iに関する最新の時差変化度合Fi(t)として、記憶部12から関数パラメータPiを取得する(ステップ131)。
In addition, in step 120, when the processing data DTi to be subjected to time conversion that is input is not acquired data (step 120: YES), the time conversion unit 16C checks whether DTi is notification data to be notified to the partner device i. If (step 130), DTi is not notification data (step 130: NO), a series of processing ends.
On the other hand, when DTi is notification data (step 130: YES), the time conversion unit 16C acquires the function parameter Pi from the storage unit 12 as the latest time difference change degree Fi (t) of the partner device i (step 131). ).

次に、時刻変換部16Cは、Piにより特定される時差変化度合Fi(t)に基づいて、DsをDiに変換し(ステップ132)、DTiに含まれているDsをDiに置換する(ステップ133)。
この後、時刻変換後のDTiは、網I/F部13から通信ネットワークNWを介して相手装置iへ通知され(ステップ134)、一連の処理が終了する。
Next, the time conversion unit 16C converts Ds into Di based on the time difference change degree Fi (t) specified by Pi (step 132), and replaces Ds contained in DTi with Di (step 133).
Thereafter, the DTi after time conversion is notified from the network I / F unit 13 to the partner apparatus i via the communication network NW (step 134), and the series of processing ends.

[第1の実施の形態の効果]
このように、本実施の形態は、時計部11が基準マスタ時刻TMsを計時し、時差履歴記録部16Aが、通信ネットワークNWを介して接続された相手装置iから、相手装置iで計時した相手マスタ時刻TMiを示す相手時刻情報Diを取得して、時計部11の基準マスタ時刻TMsを示す基準時刻情報Dsとの時差を計算し、得られた時差の変化を示す時差履歴データHiを時差履歴DB14に記録するようにしたものである。
[Effect of First Embodiment]
As described above, according to this embodiment, the clock unit 11 clocks the reference master time TMs, and the time difference history recording unit 16A clocks the other device i connected from the other device i connected via the communication network NW with the other device i. The other time information Di indicating the master time TMi is acquired, and the time difference from the reference time information Ds indicating the reference master time TMs of the clock unit 11 is calculated, and the time difference history data Hi indicating the change of the obtained time difference It is made to record on DB14.

これに加えて、時差変化度合計算部16Bが、時差履歴DB14から取得した相手装置iに関する時差履歴データHiに基づいて、相手装置iに関する相手マスタ時刻TMiと基準マスタ時刻TMsとの時差の時差変化度合Fiを計算し、時刻変換部16Cが、時差変化度合計算部16Bで得られた時差変化度合Fiに基づいて、相手装置iの相手マスタ時刻TMiに基づく相手時刻情報Diと、基準マスタ時刻TMsに基づく基準時刻情報Dsとを変換するようにしたものである。   In addition to this, based on the time difference history data Hi of the other device i acquired by the time difference change degree calculation unit 16B from the time difference history DB 14, the time difference change of the time difference between the other master time TMi for the other device i and the reference master time TMs The time conversion unit 16C calculates the degree Fi, and based on the time difference change degree Fi obtained by the time difference change degree calculation unit 16B, the other time information Di based on the other time master time TMi of the other device i and the reference master time TMs. And the reference time information Ds based on.

これにより、相手装置iの相手クロック信号と時計部11の基準クロック信号とのクロック周期がずれていて、時間経過とともに時差が変化するような場合であっても、相手装置iの相手マスタ時刻TMiに基づく相手時刻情報Diと、基準マスタ時刻TMsに基づく基準時刻情報Dsとを、精度よく変換することが可能となる。   As a result, even if the clock cycle of the other party clock signal of the other party device i and the reference clock signal of the clock unit 11 are deviated and the time difference changes as time passes, the other party master time TMi of the other party device i It is possible to accurately convert the other party time information Di based on H. and reference time information Ds based on the reference master time TMs.

したがって、相手装置iから取得した取得データが示す事象と、アプリケーション処理部16D側の処理データが示す事象とを比較しても、これら事象の発生順序を正しく認識することができ、これら事象を正確に解析することができる。また、任意の標準時刻との時刻同期を行う構成を備えていない相手装置iや、常時運転中のプロセスオートメーションシステムのため任意の標準時刻との時刻同期を行えない相手装置iであっても、これら相手装置iから取得した取得データが示す事象について、上記と同様にして、これら事象の発生順序を正しく認識することができ、これら事象を正確に解析することができる。   Therefore, even if the events indicated by the acquired data acquired from the other device i are compared with the events indicated by the processing data on the application processing unit 16D side, the order of occurrence of these events can be correctly recognized, and these events can be accurately determined. Can be analyzed. In addition, even if the partner device i is not equipped with a configuration to perform time synchronization with any standard time, or even if it is a partner device i that can not perform time synchronization with any standard time for a process automation system that is always operating, With respect to the events indicated by the acquired data acquired from the other device i, the occurrence order of these events can be correctly recognized in the same manner as described above, and these events can be correctly analyzed.

また、本実施の形態において、時刻変換部16Cが、相手装置iから通知された処理データに、相手マスタ時刻TMiに基づく相手時刻情報Diが含まれている場合、当該相手装置iの時差変化度合Fiに基づいて、相手時刻情報Diを基準マスタ時刻TMsに基づく基準時刻情報Dsに変換するようにしてもよい。
また、本実施の形態において、時刻変換部16Cが、相手装置iへ通知する処理データに、基準マスタ時刻TMsに基づく基準時刻情報Dsが含まれている場合、当該相手装置iの時差変化度合Fiに基づいて、基準時刻情報Dsを相手マスタ時刻TMiに基づく相手時刻情報Diに変換するようにしてもよい。
In the present embodiment, when time conversion unit 16C includes the other-party time information Di based on the other-party master time TMi in the processing data notified from the other-party device i, the time difference change degree of the other-party device i Based on Fi, the opponent time information Di may be converted into reference time information Ds based on the reference master time TMs.
Further, in the present embodiment, when the processing data notified to the other device i by the time conversion unit 16C includes reference time information Ds based on the reference master time TMs, the time difference change degree Fi of the other device i Based on the above, the reference time information Ds may be converted into the other time information Di based on the other master time TMi.

これにより、相手装置iから取得した取得データDTiは、内部の相手時刻情報Diが自動的に基準時刻情報Dsに変換された後、アプリケーションDB15に保存され、相手装置iに通知する通知データDTiは、内部の基準時刻情報Dsが自動的に相手時刻情報Diに変換されて通知される。このため、アプリケーション処理部16Dは、アプリケーション処理ごとに、各相手装置iとの時差を考慮する必要がなくなるため、処理負担を大幅に軽減できる。   As a result, the acquired data DTi acquired from the counterpart device i is stored in the application DB 15 after the internal counterpart time information Di is automatically converted to the reference time information Ds, and the notification data DTi to be notified to the counterpart device i is The internal reference time information Ds is automatically converted to the other time information Di and notified. For this reason, the application processing unit 16D does not have to consider the time difference with each other device i for each application processing, so the processing load can be significantly reduced.

また、本実施の形態において、時差変化度合計算部16Bが、相手マスタ時刻TMiと基準マスタ時刻TMsとの新たな時差変化度合Fiを定期的に計算して記憶部12に保存し、時刻変換部16Cが、相手時刻情報Diと基準時刻情報Dsとを変換する際、記憶部12から取得した、TMiと基準マスタ時刻TMsとの最新の時差変化度合Fiに基づいて変換するようにしてもよい。これにより、時差変化度合の計算に要する処理負担を削減することができる。   Further, in the present embodiment, the time difference change degree calculation unit 16B periodically calculates a new time difference change degree Fi between the partner master time TMi and the reference master time TMs, and stores the new time difference change degree Fi in the storage unit 12 When 16C converts the other party time information Di and the reference time information Ds, conversion may be performed based on the latest time difference change degree Fi of TMi and the reference master time TMs acquired from the storage unit 12. As a result, the processing load required to calculate the time difference change degree can be reduced.

また、実施の形態において、時刻変換部16Cが、相手時刻情報Diと基準時刻情報Dsとを変換する際、時差変化度合計算部16BでTMiと基準マスタ時刻TMsとの時差変化度合Fiを新たに計算し、得られた最新の時差変化度合Fiに基づいて変換するようにしてもよい。これにより、極めて高い精度で相手時刻情報Diと基準時刻情報Dsとを変換することができる。   In the embodiment, when the time conversion unit 16C converts the other time information Di and the reference time information Ds, the time difference change degree calculation unit 16B newly adds the time difference change degree Fi between TMi and the reference master time TMs. It may be calculated and converted based on the latest time difference change degree Fi obtained. Thus, it is possible to convert the partner time information Di and the reference time information Ds with extremely high accuracy.

[第2の実施の形態]
次に、図7を参照して、本発明の第2の実施の形態にかかるクラウドサーバ20について説明する。図7は、クラウド基盤の構成例である。
クラウド基盤CBは、VPN、専用線網、インターネットなどの通信ネットワークNWを介して、クラウドサービスを利用する各顧客が用いる相手装置50(51,52,…,5N:Nは1以上の整数)との間で、各種のアプリケーション処理に用いる処理データをやり取りすることにより、各種のクラウドサービスを相手装置50に提供する機能を有している。
Second Embodiment
Next, a cloud server 20 according to a second embodiment of the present invention will be described with reference to FIG. FIG. 7 is a configuration example of a cloud platform.
The cloud base CB is a partner device 50 (51, 52,..., 5N: N is an integer of 1 or more) used by each customer using a cloud service via a communication network NW such as VPN, dedicated line network, or the Internet. Among the above, it has a function of providing various types of cloud services to the partner apparatus 50 by exchanging process data used for various application processes.

相手装置50の具体例としては、PC、サーバ、携帯情報端末などの情報処理装置(コンピュータ)があり、それぞれの相手クロック信号に基づき相手マスタ時刻TMi(i=1,2,…,N)を計時する機能を有している。   Specific examples of the partner device 50 include information processing devices (computers) such as a PC, a server, and a portable information terminal, and the partner master time TMi (i = 1, 2,..., N) is It has a clocking function.

時刻管理サーバ30は、1つの物理サーバから構成されて、クラウド基盤CBの各クラウドサーバ20で用いる基準マスタ時刻TMsを計時する機能を有している。時刻管理サーバ30は、一般的な公知の時計回路を備え、基準クロック信号に基づいて基準マスタ時刻TMsを計時する機能を有している。本実施の形態にかかる基準マスタ時刻TMsは、一般的には、協定世界時(UTC:Universal Time Coordinated)や日本標準時(JST:Japan Standard Time)などの標準時と同期しているが、これに限定されるものではなく、これら標準時と同期している必要はない。   The time management server 30 is configured of one physical server and has a function of clocking a reference master time TMs used in each cloud server 20 of the cloud-based CB. The time management server 30 includes a general known clock circuit, and has a function of clocking a reference master time TMs based on a reference clock signal. The standard master time TMs according to the present embodiment is generally synchronized with standard time such as Universal Time Coordinated (UTC) or Japan Standard Time (JST), but is limited thereto It does not have to be synchronized with these standard times.

共通DB31は、1つの物理サーバから構成されて、通信回線Lを介して各クラウドサーバ20と接続されて、各クラウドサーバ20からの処理データを共通して保存する機能を有している。   The common DB 31 is configured of one physical server, is connected to each cloud server 20 via the communication line L, and has a function of storing processing data from each cloud server 20 in common.

クラウドサーバ20は、1つまたは複数の物理サーバから構成された仮想サーバであり、通信回線Lを介して時刻管理サーバ30から取得した基準マスタ時刻TMsに基づく基準時刻情報Dsに基づいて各種のアプリケーション処理を実行することにより、予め対応付けられている1つまたは複数の相手装置50に対して、予め設定されているクラウドサービスを提供する機能を有している。   The cloud server 20 is a virtual server configured of one or more physical servers, and various applications based on reference time information Ds based on the reference master time TMs acquired from the time management server 30 via the communication line L By executing the processing, it has a function of providing a cloud service set in advance to one or more partner apparatuses 50 associated in advance.

[クラウドサーバ]
次に、図8を参照して、本実施の形態にかかるクラウドサーバ20の構成について説明する。図8は、第2の実施の形態にかかるクラウドサーバの構成を示すブロック図である。
図8に示すように、クラウドサーバ20は、主な機能部として、通信I/F部21、記憶部22、網I/F部23、時差履歴DB24、アプリケーションDB25、および演算処理部26を備えている。
[Cloud server]
Next, the configuration of the cloud server 20 according to the present embodiment will be described with reference to FIG. FIG. 8 is a block diagram showing the configuration of the cloud server according to the second embodiment.
As shown in FIG. 8, the cloud server 20 includes, as main functional units, a communication I / F unit 21, a storage unit 22, a network I / F unit 23, a time difference history DB 24, an application DB 25, and an arithmetic processing unit 26. ing.

第1の実施の形態にかかる情報処理装置10と比較して、時計部11が時刻管理サーバ30に相当している。このため、クラウドサーバ20には、時計部11に代えて通信I/F部21が設けられている。その他構成については、情報処理装置10と同様である。すなわち、情報処理装置10の記憶部12、網I/F部13、時差履歴DB14、アプリケーションDB15、および演算処理部16が、クラウドサーバ20の記憶部22、網I/F部23、時差履歴DB24、アプリケーションDB25、および演算処理部26に相当している。   The clock unit 11 corresponds to the time management server 30 as compared with the information processing apparatus 10 according to the first embodiment. For this reason, the cloud server 20 is provided with a communication I / F unit 21 instead of the clock unit 11. The other configuration is the same as that of the information processing apparatus 10. That is, the storage unit 12, the network I / F unit 13, the time difference history DB 14, the application DB 15, and the operation processing unit 16 of the information processing apparatus 10 are the storage unit 22 of the cloud server 20, the network I / F unit 23, and the time difference history DB 24. , The application DB 25 and the arithmetic processing unit 26.

また、演算処理部16の時差履歴記録部16A、時差変化度合計算部16B、時刻変換部16C、およびアプリケーション処理部16Dが、後述する演算処理部26の時差履歴記録部26A、時差変化度合計算部26B、時刻変換部26C、およびアプリケーション処理部26Dに相当している。   Further, the time difference history recording unit 16A, the time difference change degree calculation unit 16B, the time conversion unit 16C, and the application processing unit 16D of the calculation processing unit 16 correspond to the time difference history recording unit 26A of the calculation processing unit 26 described later, the time difference change degree calculation unit 26B, time conversion unit 26C, and application processing unit 26D.

通信I/F部21は、通信回線Lを介して時刻管理サーバ30との間でデータ通信を行う機能を有している。
記憶部22は、ハードディスクや半導体メモリなどの記憶装置からなり、演算処理部16での各種処理に用いるデータやプログラムを記憶する機能を有している。
網I/F部23は、通信ネットワークNWを介して相手装置50との間でデータ通信を行う機能を有している。
The communication I / F unit 21 has a function of performing data communication with the time management server 30 via the communication line L.
The storage unit 22 is formed of a storage device such as a hard disk or a semiconductor memory, and has a function of storing data and programs used for various processes in the arithmetic processing unit 16.
The network I / F unit 23 has a function of performing data communication with the partner apparatus 50 via the communication network NW.

時差履歴DB24は、ハードディスクや半導体メモリなどの記憶装置からなり、各相手装置50で計時した相手マスタ時刻TMiと情報処理装置10で計時した基準マスタ時刻TMsとの時刻差の変化を示す時差履歴データを記憶するデータベースである。
時差履歴DB24の構成例は、前述した図2と同様であり、ここでの詳細な説明は省略する。
The time difference history DB 24 is composed of a storage device such as a hard disk or a semiconductor memory, and is time difference history data indicating a change in time difference between the other master time TMi clocked by each other device 50 and the reference master time TMs clocked by the information processing device 10 Is a database that stores
The example of composition of time difference history DB24 is the same as that of Drawing 2 mentioned above, and detailed explanation here is omitted.

アプリケーションDB25は、ハードディスクや半導体メモリなどの記憶装置からなり、相手装置50から取得した取得データや相手装置50へ提供する提供データなど、相手装置50が利用するアプリケーション処理で用いる各種処理データを記憶するデータベースである。   The application DB 25 includes a storage device such as a hard disk or a semiconductor memory, and stores various processing data used in application processing used by the partner device 50, such as acquired data acquired from the partner device 50 and provided data provided to the partner device 50. It is a database.

演算処理部26は、CPUとその周辺回路を備え、記憶部22からプログラムを読み出してCPUで実行することにより、ハードウェアとソフトウェアとを協働させて、各種の処理部を実現する機能を有している。
演算処理部26で実現される主な処理部として、時差履歴記録部26A、時差変化度合計算部26B、時刻変換部26C、およびアプリケーション処理部26Dがある。
The arithmetic processing unit 26 includes a CPU and its peripheral circuits, has a function of realizing various processing units by causing hardware and software to cooperate with each other by reading a program from the storage unit 22 and executing the program by the CPU. doing.
As main processing units realized by the arithmetic processing unit 26, there are a time difference history recording unit 26A, a time difference change degree calculation unit 26B, a time conversion unit 26C, and an application processing unit 26D.

時差履歴記録部26Aは、網I/F部23および通信ネットワークNWを介して接続される各相手装置50から、相手装置50で計時した相手マスタ時刻TMiを示す相手時刻情報Diを取得して、通信I/F部21および通信回線Lを介して時刻管理サーバ30から取得した、基準マスタ時刻TMsを示す基準時刻情報Dsとの時差を計算し、得られた時差の変化を示す時差履歴データを時差履歴DB24に記録する機能を有している。   The time difference history recording unit 26A acquires counterpart time information Di indicating the other party master time TMi clocked by the other party apparatus 50 from each other party apparatus 50 connected via the network I / F unit 23 and the communication network NW, The time difference from the reference time information Ds indicating the reference master time TMs acquired from the time management server 30 via the communication I / F unit 21 and the communication line L is calculated, and the time difference history data indicating changes in the obtained time difference It has a function of recording in the time difference history DB 24.

相手時刻情報Diについては、時差履歴記録部26Aから送信した要求メッセージに応じて相手装置iから返送されたものを用いてもよく、相手装置iから周期的に通知されたものを用いてもよい。また、相手装置i側で、例えば定期修理などのタイミングで、相手マスタ時刻TMiを変更した場合には、それに合わせて新たな相手時刻情報Diをクラウドサーバ20へ通知するようにしてもよく、より高い時刻変換精度を得ることができる。   As the other time information Di, the one returned from the other device i according to the request message sent from the time difference history recording unit 26A may be used, or the one periodically notified from the other device i may be used. . Further, when the partner master time TMi is changed at the partner apparatus i side, for example, at the timing of regular repair, new partner time information Di may be notified to the cloud server 20 accordingly. High time conversion accuracy can be obtained.

時差変化度合計算部26Bは、時差履歴DB24から取得した、推定対象となる相手装置50に関する時差履歴データに基づいて、相手装置50に関する相手マスタ時刻TMiと基準マスタ時刻TMsとの時差の時差変化度合を計算する機能を有している。   The time difference change degree calculation unit 26B calculates the time difference change degree of the time difference between the partner master time TMi for the partner apparatus 50 and the reference master time TMs based on the time difference history data on the partner apparatus 50 to be estimated acquired from the time difference history DB 24. Has a function to calculate

この際、時差変化度合計算部26Bは、推定対象となる相手装置50に関する複数の時差履歴データに基づいて、相手マスタ時刻TMiと基準マスタ時刻TMsとの時差の変化を示す、線形あるいは非線形の近似関数を、時差変化度合として計算するようにしてもよい。近似関数を求める手法については、公知の手法を用いればよい。   At this time, the time difference change degree calculation unit 26B is a linear or non-linear approximation that indicates a change in time difference between the partner master time TMi and the reference master time TMs based on a plurality of time difference history data related to the partner apparatus 50 to be estimated. A function may be calculated as the time difference change degree. A known method may be used as a method of obtaining an approximate function.

時刻変換部26Cは、時差変化度合計算部26Bで得られた時差変化度合に基づいて、変換対象となる相手装置50の相手マスタ時刻TMiに基づく時刻情報と、基準マスタ時刻TMsに基づく基準時刻情報とを変換する機能を有している。   The time conversion unit 26C is based on the time difference change degree obtained by the time difference change degree calculation unit 26B, time information based on the other party master time TMi of the other device 50 to be converted, and reference time information based on the reference master time TMs. And has the function of converting

具体的には、時刻変換部26Cは、相手装置50から通知された処理データに、相手マスタ時刻TMiに基づく相手時刻情報が含まれている場合、当該相手装置50の時差変化度合に基づいて、相手時刻情報を基準マスタ時刻TMsに基づく基準時刻情報に変換する機能と、相手装置50へ通知する処理データに、基準マスタ時刻TMsに基づく基準時刻情報が含まれている場合、当該相手装置50の時差変化度合に基づいて、基準時刻情報を相手マスタ時刻TMiに基づく相手時刻情報に変換する機能とを有している。   Specifically, when the processing data notified from the partner apparatus 50 includes partner time information based on the partner master time TMi, the time conversion unit 26C determines, based on the time difference change degree of the partner apparatus 50, the partner time information. If the function of converting the other party's time information into the reference time information based on the reference master time TMs and the processing data notified to the other device 50 include the reference time information based on the reference master time TMs, It has a function of converting the reference time information into the other party time information based on the other party master time TMi based on the time difference change degree.

時刻変換部26Cで相手時刻情報と基準時刻情報とを変換する際、時差変化度合計算部26Bが、相手マスタ時刻TMiと基準マスタ時刻TMsとの時差の新たな時差変化度合を定期的に計算して記憶部22に保存しておき、時刻変換部26Cが、相手時刻情報と基準時刻情報とを変換する際、記憶部22から取得した、相手マスタ時刻TMiと基準マスタ時刻TMsとの最新の時差変化度合に基づいて、相手時刻情報と基準時刻情報とを変換するようにしてもよい。   When the time conversion unit 26C converts the partner time information and the reference time information, the time difference change degree calculation unit 26B periodically calculates a new time difference change degree of the time difference between the partner master time TMi and the reference master time TMs. When the time conversion unit 26C converts the other time information and the reference time information, the latest time difference between the other master time TMi and the reference master time TMs acquired from the storage unit 22. The counterpart time information and the reference time information may be converted based on the degree of change.

また、時刻変換部26Cで相手時刻情報と基準時刻情報とを変換する際、時差変化度合計算部26Bが、相手マスタ時刻TMiと基準マスタ時刻TMsとの時差変化度合を新たに計算し、得られた最新の時差変化度合に基づいて時刻変換部26Cが相手時刻情報と基準時刻情報とを変換するようにしてもよい。   Further, when converting the partner time information and the reference time information in the time conversion unit 26C, the time difference change degree calculation unit 26B newly calculates and obtains the time difference change degree between the partner master time TMi and the reference master time TMs. The time conversion unit 26C may convert the other time information and the reference time information based on the latest time difference change degree.

アプリケーション処理部26Dは、通信ネットワークNWおよび網I/F部23を介して、相手装置50から通知された処理データをアプリケーションDB25や共通DB31に保存する機能と、アプリケーションDB25や共通DB31に保存されている処理データを読み出して、指定されたアプリケーション処理を実行し、アプリケーション処理で得られた処理データをアプリケーションDB25や共通DB31に保存する機能と、アプリケーションDB25や共通DB31に保存されている処理データを、網I/F部23および通信ネットワークNWを介して相手装置50へ通知する機能とを有している。   The application processing unit 26D stores the processing data notified from the other device 50 via the communication network NW and the network I / F unit 23 in the application DB 25 and the common DB 31, and in the application DB 25 and the common DB 31 The function of reading out the process data, executing the specified application process, and storing the process data obtained by the application process in the application DB 25 and the common DB 31, and the process data stored in the application DB 25 and the common DB 31 It has a function of notifying the opposite device 50 via the network I / F unit 23 and the communication network NW.

この際、アプリケーション処理部26Dにより、相手装置50から通知された処理データをアプリケーションDB25や共通DB31に保存する際、時刻変換部26Cで、相手時刻情報が基準時刻情報に変換された後の処理データが保存されることになる。また、アプリケーションDB25や共通DB31に保存されている処理データを相手装置50へ通知する際、時刻変換部26Cで、基準時刻情報相が手時刻情報に変換された後の処理データが通知されることになる。   At this time, when processing data notified from the partner apparatus 50 is stored in the application DB 25 or the common DB 31 by the application processing unit 26D, processing data after the partner time information is converted to reference time information by the time conversion unit 26C. Will be saved. In addition, when the process data stored in the application DB 25 or the common DB 31 is notified to the partner apparatus 50, the process data after the reference time information phase is converted to the hand time information is notified by the time conversion unit 26C. become.

[第2の実施の形態の動作]
次に、本実施の形態にかかるクラウドサーバ20の動作について説明する。クラウドサーバ20の主な動作としては、時差履歴記録動作、時差変化度合計算動作、および時刻変換動作がある。これら動作のそれぞれについては、情報処理装置10の時差履歴記録動作(図3参照)、時差変化度合計算動作(図4参照)、および時刻変換動作(図6参照)と同様であり、ここでの詳細な説明は省略する。なお、これら動作のうち、基準時刻情報を取得する場合、クラウドサーバ20は、通信I/F部21および通信回線Lを介して時刻管理サーバ30から基準時刻情報を取得する。
[Operation of Second Embodiment]
Next, the operation of the cloud server 20 according to the present embodiment will be described. The main operations of the cloud server 20 include a time difference history recording operation, a time difference change degree calculation operation, and a time conversion operation. The respective operations are the same as the time difference history recording operation (see FIG. 3), the time difference change calculation operation (see FIG. 4), and the time conversion operation (see FIG. 6) of the information processing apparatus Detailed description is omitted. In addition, when acquiring reference | standard time information among these operation | movements, the cloud server 20 acquires reference | standard time information from the time management server 30 via the communication I / F part 21 and the communication line L.

[第2の実施の形態の効果]
このように、本実施の形態は、時刻管理サーバ30が基準マスタ時刻TMsを計時し、時差履歴記録部26Aが、通信ネットワークNWを介して接続された相手装置iから、相手装置iで計時した相手マスタ時刻TMiを示す相手時刻情報Diを取得して、時刻管理サーバ30から取得した基準マスタ時刻TMsを示す基準時刻情報Dsとの時差を計算し、得られた時差の変化を示す時差履歴データHiを時差履歴DB24に記録するようにしたものである。
[Effect of Second Embodiment]
As described above, in this embodiment, the time management server 30 measures the reference master time TMs, and the time difference history recording unit 26A measures the other apparatus i from the other apparatus i connected via the communication network NW. The time difference with the reference time information Ds indicating the reference master time TMs acquired from the time management server 30 is calculated by acquiring the other time information Di indicating the other master time TMi, and time difference history data indicating a change in the obtained time difference Hi is to be recorded in the time difference history DB 24.

これに加えて、時差変化度合計算部26Bが、時差履歴DB24から取得した相手装置iに関する時差履歴データHiに基づいて、相手装置iに関する相手マスタ時刻TMiと基準マスタ時刻TMsとの時差の時差変化度合Fiを計算し、時刻変換部26Cが、時差変化度合計算部26Bで得られた時差変化度合Fiに基づいて、相手装置iの相手マスタ時刻TMiに基づく相手時刻情報Diと、基準マスタ時刻TMsに基づく基準時刻情報Dsとを変換するようにしたものである。   In addition to this, based on the time difference history data Hi related to the other device i acquired by the time difference change degree calculation unit 26B from the time difference history DB 24, time difference change of time difference between the other master time TMi for the other device i and the reference master time TMs The time conversion unit 26C calculates the degree Fi, and based on the time difference change degree Fi obtained by the time difference change degree calculation unit 26B, the other time information Di based on the other time master time TMi of the other device i and the reference master time TMs. And the reference time information Ds based on.

これにより、クラウド基盤CBを構成するクラウドサーバ20であっても、前述した情報処理装置10と同様に、相手装置iの相手クロック信号と時刻管理サーバ30の基準クロック信号とのクロック周期がずれていて、時間経過とともに時差が変化するような場合であっても、相手装置iの相手マスタ時刻TMiに基づく相手時刻情報Diと、基準マスタ時刻TMsに基づく基準時刻情報Dsとを、精度よく変換することが可能となる。   Thereby, even in the cloud server 20 configuring the cloud base CB, the clock cycle of the other party clock signal of the other party device i and the reference clock signal of the time management server 30 are deviated as in the information processing apparatus 10 Even if the time difference changes with the passage of time, the partner time information Di based on the partner master time TMi of the partner apparatus i and the reference time information Ds based on the reference master time TMs are accurately converted. It becomes possible.

したがって、相手装置iから取得した取得データが示す事象と、アプリケーション処理部26D側の処理データが示す事象とを比較しても、これら事象の発生順序を正しく認識することができ、これら事象を正確に解析することができる。また、任意の標準時刻との時刻同期を行う構成を備えていない相手装置iや、常時運転中のプロセスオートメーションシステムのため任意の標準時刻との時刻同期を行えない相手装置iであっても、これら相手装置iから取得した取得データが示す事象について、上記と同様にして、これら事象の発生順序を正しく認識することができ、これら事象を正確に解析することができる。   Therefore, even if the events indicated by the acquired data acquired from the other device i are compared with the events indicated by the processing data on the application processing unit 26D side, the order of occurrence of these events can be correctly recognized, and these events can be accurately determined. Can be analyzed. In addition, even if the partner device i is not equipped with a configuration to perform time synchronization with any standard time, or even if it is a partner device i that can not perform time synchronization with any standard time for a process automation system that is always operating, With respect to the events indicated by the acquired data acquired from the other device i, the occurrence order of these events can be correctly recognized in the same manner as described above, and these events can be correctly analyzed.

[実施の形態の拡張]
以上、実施形態を参照して本発明を説明したが、本発明は上記実施形態に限定されるものではない。本発明の構成や詳細には、本発明のスコープ内で当業者が理解しうる様々な変更をすることができる。また、各実施形態については、矛盾しない範囲で任意に組み合わせて実施することができる。
[Extension of the embodiment]
As mentioned above, although this invention was demonstrated with reference to embodiment, this invention is not limited to the said embodiment. Various changes that can be understood by those skilled in the art can be made to the configuration and details of the present invention within the scope of the present invention. Moreover, about each embodiment, it can combine arbitrarily and can be implemented in the not conflicting range.

10…情報処理装置、11…時計部、12…記憶部、13…網I/F部、14…時差履歴DB、15…アプリケーションDB、16…演算処理部、16A…時差履歴記録部、16B…時差変化度合計算部、16C…時刻変換部、16D…アプリケーション処理部、20…クラウドサーバ、21…通信I/F部、22…記憶部、23…網I/F部、24…時差履歴DB、25…アプリケーションDB、26…演算処理部、26A…時差履歴記録部、26B…時差変化度合計算部、26C…時刻変換部、26D…アプリケーション処理部、30…時刻管理サーバ、31…共通DB、50,51,52,5N…相手装置、CB…クラウド基盤、NW…通信ネットワーク、L…通信回線、TMs…基準マスタ時刻、TM1,TM2,TMi,TMN…相手マスタ時刻、Ds…基準時刻情報、Di…相手時刻情報、Hi…時差履歴データ、Fi…時差変化度合、Pi…関数パラメータ、DTi…処理データ。   DESCRIPTION OF SYMBOLS 10 ... Information processing apparatus, 11 ... Clock part, 12 ... Storage part, 13 ... Net I / F part, 14 ... Time difference history DB, 15 ... Application DB, 16 ... Arithmetic processing part, 16A ... Time difference history recording part, 16B ... Time difference change degree calculation unit, 16C ... time conversion unit, 16D ... application processing unit, 20 ... cloud server, 21 ... communication I / F unit, 22 ... storage unit, 23 ... network I / F unit, 24 ... time difference history DB, 25: application DB, 26: arithmetic processing unit, 26A: time difference history recording unit, 26B: time difference change degree calculation unit, 26C: time conversion unit, 26D: application processing unit, 30: time management server, 31: common DB, 50 , 51, 52, 5 N ... counterpart device, CB ... cloud base, NW ... communication network, L ... communication line, TMs ... reference master time, TM1, TM2, TMi, TMN ... Hand master time, Ds ... reference time information, Di ... mating time information, Hi ... time difference history data, Fi ... difference degree of change, Pi ... function parameters, DTi ... processing data.

Claims (7)

基準マスタ時刻を計時するように構成された時計部と、
通信ネットワークを介して接続された相手装置から、前記相手装置で計時した相手マスタ時刻を示す相手時刻情報を取得して、前記時計部の前記基準マスタ時刻を示す基準時刻情報との時差を計算し、得られた時差の変化を示す時差履歴データを時差履歴DBに記録するように構成された時差履歴記録部と、
前記時差履歴DBから取得した前記相手装置に関する時差履歴データに基づいて、前記相手装置に関する前記相手マスタ時刻と前記基準マスタ時刻との時差の時差変化度合を計算するように構成された時差変化度合計算部と、
前記時差変化度合計算部で得られた時差変化度合に基づいて、前記相手装置の前記相手マスタ時刻に基づく相手時刻情報と、前記基準マスタ時刻に基づく基準時刻情報とを変換するように構成された時刻変換部と
を備えることを特徴とする情報処理装置。
A clock unit configured to clock a reference master time;
Acquires the other party time information indicating the other party master time clocked by the other party device from the other party device connected via the communication network, and calculates the time difference from the reference time information indicating the reference master time of the clock unit. A time difference history recording unit configured to record time difference history data indicating a change in the obtained time difference in the time difference history DB;
Time difference change degree calculation configured to calculate a time difference change degree of time difference between the other device master time and the reference master time for the other device based on the time difference history data on the other device acquired from the time difference history DB Department,
It is configured to convert partner time information based on the partner master time of the partner apparatus and reference time information based on the reference master time based on the time difference change degree obtained by the time difference change degree calculation unit. An information processing apparatus comprising: a time converter.
請求項1に記載の情報処理装置において、
前記時刻変換部は、前記相手装置から通知された処理データに、前記相手マスタ時刻に基づく相手時刻情報が含まれている場合、当該相手装置の時差変化度合に基づいて、前記相手時刻情報を前記基準マスタ時刻に基づく基準時刻情報に変換することを特徴とする情報処理装置。
In the information processing apparatus according to claim 1,
When the processing data notified from the partner apparatus includes partner time information based on the partner master time, the time conversion unit is configured to use the partner time information based on a time difference change degree of the partner apparatus. An information processing apparatus characterized by converting it into reference time information based on a reference master time.
請求項1に記載の情報処理装置において、
前記時刻変換部は、前記相手装置へ通知する処理データに、前記基準マスタ時刻に基づく基準時刻情報が含まれている場合、当該相手装置の時差変化度合に基づいて、前記基準時刻情報を前記相手マスタ時刻に基づく相手時刻情報に変換することを特徴とする情報処理装置。
In the information processing apparatus according to claim 1,
When the processing data to be notified to the other device includes the reference time information based on the reference master time, the time conversion unit determines the reference time information as the other based on the time difference change degree of the other device. An information processing apparatus characterized by converting into other party time information based on a master time.
請求項1〜請求項3のいずれかに記載の情報処理装置において、
前記時差変化度合計算部は、前記相手マスタ時刻と前記基準マスタ時刻との新たな時差変化度合を定期的に計算して記憶部に保存し、
前記時刻変換部は、前記相手時刻情報と前記基準時刻情報とを変換する際、前記記憶部から取得した、前記相手マスタ時刻と前記基準マスタ時刻との最新の時差変化度合に基づいて変換する
ことを特徴とする情報処理装置。
The information processing apparatus according to any one of claims 1 to 3.
The time difference change degree calculation unit periodically calculates a new time difference change degree between the counterpart master time and the reference master time, and stores the new time difference change degree in the storage unit.
The time conversion unit converts the other party time information and the reference time information based on the latest time difference change degree between the other party master time and the reference master time acquired from the storage unit. An information processing apparatus characterized by
請求項1〜請求項3のいずれかに記載の情報処理装置において、
前記時刻変換部は、前記相手時刻情報と前記基準時刻情報とを変換する際、前記時差変化度合計算部で前記相手マスタ時刻と前記基準マスタ時刻との時差変化度合を新たに計算し、得られた最新の時差変化度合に基づいて変換することを特徴とする情報処理装置。
The information processing apparatus according to any one of claims 1 to 3.
When the time conversion unit converts the partner time information and the reference time information, the time difference change degree calculation unit newly calculates and obtains a time difference change degree between the partner master time and the reference master time. An information processing apparatus characterized by converting based on the latest time difference change degree.
基準マスタ時刻を計時する時刻管理サーバと、通信回線を介して前記時刻管理サーバから取得した前記基準マスタ時刻に基づく基準時刻情報に基づいて各種のアプリケーション処理を実行する複数のクラウドサーバとを備えるクラウド基盤で用いられる前記クラウドサーバであって、
通信ネットワークを介して接続された相手装置から、前記相手装置で計時した相手マスタ時刻を示す相手時刻情報を取得して、前記時刻管理サーバから取得した前記基準マスタ時刻を示す基準時刻情報との時差を計算し、得られた時差の変化を示す時差履歴データを時差履歴DBに記録するように構成された時差履歴記録部と、
前記時差履歴DBから取得した前記相手装置に関する時差履歴データに基づいて、前記相手装置に関する前記相手マスタ時刻と前記基準マスタ時刻との時差の時差変化度合を計算するように構成された時差変化度合計算部と、
前記時差変化度合計算部で得られた時差変化度合に基づいて、前記相手装置の前記相手マスタ時刻に基づく相手時刻情報と、前記基準マスタ時刻に基づく基準時刻情報とを変換するように構成された時刻変換部と
を備えることを特徴とするクラウドサーバ。
Cloud comprising a time management server for clocking a reference master time, and a plurality of cloud servers for executing various application processing based on reference time information based on the reference master time acquired from the time management server via a communication line The cloud server used in the infrastructure,
The time difference with the reference time information indicating the reference master time acquired from the time management server by acquiring the partner time information indicating the other party master time counted by the other apparatus from the partner apparatus connected via the communication network And a time difference history recording unit configured to record time difference history data indicating changes in the obtained time difference in the time difference history DB;
Time difference change degree calculation configured to calculate a time difference change degree of time difference between the other device master time and the reference master time for the other device based on the time difference history data on the other device acquired from the time difference history DB Department,
It is configured to convert partner time information based on the partner master time of the partner apparatus and reference time information based on the reference master time based on the time difference change degree obtained by the time difference change degree calculation unit. And a time conversion unit.
通信ネットワークを介して相手装置と接続される情報処理装置で用いられる時刻情報変換方法であって、
時計部が、基準マスタ時刻を計時する計時ステップと、
時差履歴記録部が、通信ネットワークを介して接続された相手装置から、前記相手装置で計時した相手マスタ時刻を示す相手時刻情報を取得して、前記時計部の前記基準マスタ時刻を示す基準時刻情報との時差を計算し、得られた時差の変化を示す時差履歴データを時差履歴DBに記録する時差記録ステップと、
時差変化度合計算部が、前記時差履歴DBから取得した前記相手装置に関する時差履歴データに基づいて、前記相手装置に関する前記相手マスタ時刻と前記基準マスタ時刻との時差の時差変化度合を計算する時差推定ステップと、
時刻変換部が、前記時差変化度合計算部で得られた時差変化度合に基づいて、前記相手装置の前記相手マスタ時刻に基づく相手時刻情報と、前記基準マスタ時刻に基づく基準時刻情報とを変換する時刻変換ステップと
を備えることを特徴とする時刻情報変換方法。
A time information conversion method used in an information processing apparatus connected to a partner apparatus via a communication network, comprising:
A clocking step in which a clock unit clocks a reference master time;
The time difference history recording unit acquires, from the partner apparatus connected via the communication network, partner time information indicating the partner master time clocked by the partner apparatus, and reference time information indicating the reference master time of the clock unit. Calculating a time difference between the time difference and the time difference recording step and recording time difference history data indicating a change in the obtained time difference in the time difference history DB;
Time difference estimation in which the time difference change degree calculation unit calculates the time difference change degree of the time difference between the other party master time and the reference master time for the other device based on the time difference history data regarding the other device acquired from the time difference history DB Step and
A time conversion unit converts, based on the time difference change degree obtained by the time difference change degree calculation unit, partner time information based on the partner master time of the partner device and reference time information based on the reference master time. And a time conversion step.
JP2017232446A 2017-12-04 2017-12-04 Information processing device, cloud server, and time information conversion method Pending JP2019101793A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017232446A JP2019101793A (en) 2017-12-04 2017-12-04 Information processing device, cloud server, and time information conversion method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017232446A JP2019101793A (en) 2017-12-04 2017-12-04 Information processing device, cloud server, and time information conversion method

Publications (1)

Publication Number Publication Date
JP2019101793A true JP2019101793A (en) 2019-06-24

Family

ID=66976994

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017232446A Pending JP2019101793A (en) 2017-12-04 2017-12-04 Information processing device, cloud server, and time information conversion method

Country Status (1)

Country Link
JP (1) JP2019101793A (en)

Similar Documents

Publication Publication Date Title
US20140258226A1 (en) Asynchronous transaction management, systems and methods
CN111222089B (en) Data processing method, data processing device, computer equipment and storage medium
JPWO2013094032A1 (en) Information processing apparatus, information processing method, and program
US10410152B2 (en) System and method for automatically and efficiently monitoring software development life cycles
US10701213B2 (en) Dynamically generating an aggregation routine
JP2016532219A (en) Automatic generation of certification documents
US10810332B2 (en) Method, apparatus, and computer program product for simulating client and application interface integration
JP2022093593A (en) Cost estimation system of industrial property right and method thereof
US8307120B2 (en) Resource information managing device, system, method, and program
JP6329552B2 (en) Reference data segmentation from single table to multiple tables
CN111857981A (en) Data processing method and device
CN115827646B (en) Index configuration method and device and electronic equipment
JP2019101793A (en) Information processing device, cloud server, and time information conversion method
WO2023016069A1 (en) Efficient circuit simulation method and apparatus, device, and storage medium
CN108897748A (en) A kind of HBase system monitoring method and HBase system
CN112734404B (en) Iterative man-hour statistical method and device in research and development process and computer equipment
KR20240004853A (en) Information affiliate systems, information processing devices and programs that handle information on greenhouse gas emissions
JP6974219B2 (en) Information processing equipment, cloud server, data processing terminal, and time information conversion method
WO2005088474A1 (en) Service for verifying consistency of replicated data
WO2015190080A1 (en) Associated information generation device, associated information generation method, and recording medium storing associated information generation program
CN113722315A (en) Data generation method and device, electronic equipment and computer readable medium
JP5598089B2 (en) Program, information processing apparatus and information processing method
US11023487B2 (en) Data replication for cloud based in-memory databases
CN114365049B (en) Method, system, and storage medium for rapid modeling using production data
CN110910083A (en) Working hour statistical method, device, equipment and storage medium