JP6478714B2 - Monitoring control system, server, client terminal, and monitoring control method - Google Patents
Monitoring control system, server, client terminal, and monitoring control method Download PDFInfo
- Publication number
- JP6478714B2 JP6478714B2 JP2015043185A JP2015043185A JP6478714B2 JP 6478714 B2 JP6478714 B2 JP 6478714B2 JP 2015043185 A JP2015043185 A JP 2015043185A JP 2015043185 A JP2015043185 A JP 2015043185A JP 6478714 B2 JP6478714 B2 JP 6478714B2
- Authority
- JP
- Japan
- Prior art keywords
- server
- client terminal
- time information
- equivalent
- time
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims description 75
- 238000012544 monitoring process Methods 0.000 title claims description 49
- 238000004364 calculation method Methods 0.000 claims description 31
- 230000005540 biological transmission Effects 0.000 description 57
- 238000010586 diagram Methods 0.000 description 10
- 238000013523 data management Methods 0.000 description 7
- 230000000694 effects Effects 0.000 description 7
- 238000007726 management method Methods 0.000 description 5
- 230000003247 decreasing effect Effects 0.000 description 1
Images
Description
この発明は、ネットワークを介して装置間の時刻等価を行う監視制御システム、サーバ、クライアント端末および監視制御方法に関するものである。 The present invention relates to a monitoring control system, a server, a client terminal, and a monitoring control method for performing time equivalence between devices via a network.
従来からインターネットなどのTCP/IP(Transmission Control Protocol / Internet Protocol)ネットワークを介した、複数の装置間の時刻同期を行う方法として、SNTP(Simple Network Time Protocol)が知られている。
SNTPによる時刻等価は、ネットワークを介して行われるため、ネットワークの一時的な負荷増大により影響を受けることがある。
このため、ネットワークの負荷を不必要に増大させないために、等価処理を行った時の時刻の誤差の大きさにより、次の等価処理を行うタイミングを決める手法が開示されている。(特許文献1参照)
2. Description of the Related Art Conventionally, SNTP (Simple Network Time Protocol) is known as a method for performing time synchronization between a plurality of devices via a TCP / IP (Transmission Control Protocol / Internet Protocol) network such as the Internet.
Since time equivalence by SNTP is performed via a network, it may be affected by a temporary increase in the load on the network.
For this reason, in order not to unnecessarily increase the load on the network, a method is disclosed in which the timing for performing the next equivalent process is determined based on the magnitude of the time error when the equivalent process is performed. (See Patent Document 1)
従来の時刻等価方式は、以上のように構成されているので、時刻の等価処理のタイミングの制御が十分でなかった。そのため、監視制御システムでは、定周期または定時で行う必要のある処理(以後、定常処理と記載)と等価処理が競合し、前述の処理を行わない、または二重に行うことがあり、正常に監視制御できないというリスクがあった。 Since the conventional time equivalence method is configured as described above, it is not sufficient to control the timing of time equivalence processing. For this reason, in the supervisory control system, processing that must be performed at regular intervals or on a regular basis (hereinafter referred to as steady processing) competes with equivalent processing, and the above processing may not be performed or may be performed in duplicate. There was a risk of being unable to monitor and control.
この発明は、上述のような課題を解決するためになされたものであり、ネットワークの負荷を抑え、かつ定常処理との競合を防ぐように時刻等価処理を行う監視制御システム、サーバ、クライアント端末および監視制御方法を得ることを目的とする。 The present invention has been made in order to solve the above-described problems, and includes a monitoring control system, a server, a client terminal, and a time-equivalent process for performing a time equivalent process so as to suppress a network load and prevent a conflict with a steady process. The purpose is to obtain a monitoring control method.
この発明に係わる監視制御システムにおいては、サーバとこのサーバにネットワークを介して接続されたクライアント端末との間で時刻情報の等価処理を行う監視制御システムであって、サーバのタイマの時刻情報とクライアント端末のタイマの時刻情報との誤差を計算する誤差計算部、時間帯ごとの時刻誤差統計情報を格納する統計データテーブル、およびこの誤差計算部により計算された時刻情報の誤差の大きさに応じるとともに、監視制御システムの定常処理と競合しないように、次の等価処理タイミングを決める等価処理間隔決定部を備え、サーバは、時刻情報を生成するタイマを有し、等価処理に当たって、時刻情報をクライアント端末に送信するように構成され、クライアント端末は、時刻情報を生成するタイマと、サーバから送信される時刻情報に基づき、自身のタイマの時刻を補正する時刻補正部とを有し、等価処理に当たって、自身の補正前の時刻情報をサーバに送信するように構成され、等価処理間隔決定部は、時刻誤差統計情報を用いて、等価処理タイミングを決定するものである。 The monitoring control system according to the present invention is a monitoring control system for performing time information equalization processing between a server and a client terminal connected to the server via a network. According to the error calculation unit for calculating the error with the time information of the timer of the terminal, the statistical data table for storing the time error statistical information for each time zone, and the magnitude of the error of the time information calculated by this error calculation unit In addition, the server includes an equivalent processing interval determination unit that determines the next equivalent processing timing so as not to compete with the regular processing of the monitoring control system, and the server has a timer that generates time information. The client terminal is configured to transmit a time information from a server and a server that generates time information. Based on the time information signal, and a time correcting unit for correcting the time of the own timer, when equivalent processing is configured to transmit the time information before the correction of the own server, equivalent processing interval determiner Uses the time error statistical information to determine the equivalent processing timing .
この発明によれば、サーバとこのサーバにネットワークを介して接続されたクライアント端末との間で時刻情報の等価処理を行う監視制御システムであって、サーバのタイマの時刻情報とクライアント端末のタイマの時刻情報との誤差を計算する誤差計算部、時間帯ごとの時刻誤差統計情報を格納する統計データテーブル、およびこの誤差計算部により計算された時刻情報の誤差の大きさに応じるとともに、監視制御システムの定常処理と競合しないように、次の等価処理タイミングを決める等価処理間隔決定部を備え、サーバは、時刻情報を生成するタイマを有し、等価処理に当たって、時刻情報をクライアント端末に送信するように構成され、クライアント端末は、時刻情報を生成するタイマと、サーバから送信される時刻情報に基づき、自身のタイマの時刻を補正する時刻補正部とを有し、等価処理に当たって、自身の補正前の時刻情報をサーバに送信するように構成され、等価処理間隔決定部は、時刻誤差統計情報を用いて、等価処理タイミングを決定するので、時刻情報の等価処理のためのネットワークの負荷を抑えつつ、監視制御システムの定常処理を正常に実行することができる。 According to the present invention, there is provided a supervisory control system for performing time information equalization processing between a server and a client terminal connected to the server via a network, wherein the time information of the server timer and the timer of the client terminal An error calculation unit that calculates an error from time information, a statistical data table that stores time error statistical information for each time zone, and a monitoring control system according to the magnitude of the time information error calculated by the error calculation unit The equivalent processing interval determination unit that determines the next equivalent processing timing is provided so that the server does not compete with the regular processing, and the server has a timer that generates time information, and transmits the time information to the client terminal in the equivalent processing. The client terminal is configured based on a timer that generates time information and time information transmitted from the server. And a time correcting unit for correcting the time of the own timer, when equivalent processing is configured to transmit the time information before the correction of the own server, equivalent processing interval determination unit, using the time error statistics Thus, since the equivalent process timing is determined , the steady process of the monitoring control system can be normally executed while suppressing the network load for the equivalent process of the time information.
実施の形態1.
以下、この発明の実施の形態1を図に基づいて説明する。
図1は、この発明の実施の形態1による監視制御システムを示す構成図である。
図1において、監視制御システムは、サーバ100と、このサーバ100にネットワークを介して接続されたクライアント端末200から構成される。
サーバ100は、次のように構成されている。
タイマ110は、時刻情報を生成する内部時計である。要求送信部120は、クライアント端末200へ等価処理の要求を送信する。応答受信部130は、クライアント端末200からの時刻の応答を受信する。誤差計算部140は、サーバ100とクライアント端末200のタイマの誤差を計算する。送信間隔決定部150(等価処理間隔決定部)は、次の等価処理を行うタイミングを決める。等価処理タイミングテーブル160は、等価処理を行うタイミング候補の一覧情報を保持している。例えば24時間の所定期間に亘って、監視制御システムの定常処理と競合しないように、時刻の等価処理のタイミング候補が予め設定されている。次の等価処理を行うタイミングは、このタイミング候補を選択することにより決定される。
FIG. 1 is a block diagram showing a monitoring control system according to
In FIG. 1, the monitoring control system includes a
The
The
クライアント端末200は、次のように構成されている。
タイマ210は、時刻情報を生成する内部時計である。要求受信部220は、サーバ100からの時刻の等価処理の要求を受信する。応答送信部230は、等価処理を行う前のクライアント端末200の内部時刻をサーバ100に応答する。時刻補正部240は、サーバ100から受信した時刻に基づき、タイマ210の時刻を補正する。
The
The
次に、動作について説明する。
サーバ100から等価処理の要求が送信されてから、次の等価処理の要求を出すタイミングを決定するまでの流れについて、図2のフローチャートを用いて説明する。
サーバ100の要求送信部120は、クライアント端末200に時刻の等価処理の要求とサーバ100の内部時刻を送信する(ST1001、第一のステップ)。
クライアント端末200の要求受信部220は、等価処理要求とサーバ100の内部時刻を受信し、時刻補正部240にサーバ100の内部時刻を送信する(ST1002)。
時刻補正部240は、クライアント端末200の内部時刻を応答送信部230に送信し、タイマ210の内部時刻を、サーバ100の内部時刻によって補正する(ST1003、第三のステップ)。
Next, the operation will be described.
A flow from when the request for equivalent processing is transmitted from the
The
The
応答送信部230は、クライアント端末200の内部時刻をサーバ100に送信する(ST1004、第二のステップ)。
サーバ100の応答受信部130は、クライアント端末200の内部時刻を受信し、誤差計算部140にクライアント端末200の内部時刻を送信する(ST1005)。
誤差計算部140は、サーバ100とクライアント端末200の内部時刻を比較し(第四のステップ)、誤差の大きさΔtを送信間隔決定部150に送信する(ST1006)。
送信間隔決定部150は、誤差の閾値t1、t2(t1>t2)と、Δtの大きさを比較する(ST1007)。
Δt>t1のとき、送信間隔決定部150は、次の等価処理の要求を出すまでの時間を半分にする(ST1008)。
Δt<t2のとき、送信間隔決定部150は、次の等価処理の要求を出すまでの時間を1.5倍にする(ST1009)。
t2≦Δt≦t1のとき、送信間隔決定部150は、次の等価処理を出すまでの時間の変更は行わない(ST1010)。
送信間隔決定部150は、等価処理タイミングテーブル160から、次の等価処理の要求を出すまでの時間(前回の等価処理タイミングから上述のようにして算出された時間)の直後のタイミング候補を選択し(第五のステップ)、次の等価処理タイミングとして要求送信部120に送信する(ST1011)。
以後の動作は、ST1001〜ST1011を繰り返す。
The
Transmission
When Δt> t1, transmission
When Δt <t2, transmission
When t2 ≦ Δt ≦ t1, transmission
The transmission
In subsequent operations, ST1001 to ST1011 are repeated.
以上のように、実施の形態1によれば、監視制御システムの定常処理と等価処理が競合する事態を防ぐことができ、定常処理を正常に実行できるという効果がある。
なお、実施の形態1では、クライアント端末が1つの場合について述べたが、複数のクライアント端末を持つ監視制御システムでも同様の効果を得ることができる。
また、実施の形態1では、誤差の閾値と誤差の大きさの大小関係によって設定する次の等価処理の要求を出すまでの間隔を半分または1.5倍にしていたが、この比率をユーザの任意の値にしても同様の効果を得ることができる。
As described above, according to the first embodiment, it is possible to prevent a situation in which the steady process and the equivalent process of the monitoring control system compete with each other, and the steady process can be executed normally.
In the first embodiment, a case where there is one client terminal has been described. However, a similar effect can be obtained even in a monitoring control system having a plurality of client terminals.
In the first embodiment, the interval until the next request for equivalent processing to be set is made half or 1.5 times depending on the magnitude relationship between the error threshold value and the error magnitude. Even if the value is arbitrary, the same effect can be obtained.
実施の形態2.
図3は、この発明の実施の形態2による監視制御システムを示す構成図である。
図3において、100、110、200、210、240は図1におけるものと同一のものである。図3では、サーバ100に、時刻情報を生成する内部時計であるタイマ110と、サーバ100の内部時刻をクライアント端末200に応答する応答送信部121と、クライアント端末200からの内部時刻要求を受信する要求受信部131とを設けている。
また、クライアント端末200に、サーバ100からの内部時刻を受信する応答受信部221と、サーバ100にサーバ100の内部時刻を要求する要求送信部231と、タイマ210の時刻を補正する時刻補正部240と、サーバ100とクライアント端末200のタイマの誤差を計算する誤差計算部250と、次の等価処理を行うタイミングを決める送信間隔決定部260(等価処理間隔決定部)と、等価処理を行うタイミング候補の一覧情報を保持している等価処理タイミングテーブル270とを設けている。
Embodiment 2. FIG.
FIG. 3 is a block diagram showing a monitoring control system according to Embodiment 2 of the present invention.
In FIG. 3,
In addition, the
実施の形態2は、実施の形態1に対し、誤差計算部、送信間隔決定部、等価処理タイミングテーブルをサーバ100からクライアント端末200に移動して、クライアント端末200からサーバ100に対して、サーバ100の内部時刻の送信要求を出すようにしたものである。
これにより高機能な時刻等価方式を備えた監視制御システムを得ることができる。
In the second embodiment, the error calculation unit, the transmission interval determination unit, and the equivalent processing timing table are moved from the
As a result, it is possible to obtain a supervisory control system having a highly functional time equivalent method.
以下、動作について説明する。
クライアント端末200からサーバ100に、サーバ100の内部時刻の要求が送信されてから、次のサーバ100の内部時刻の要求を出すタイミングを決定するまでの流れについて、図4を用いて説明する。
クライアント端末200の要求送信部231は、サーバ100にサーバ100の内部時刻の要求を送信する(ST1012)。すなわち、クライアント端末200から等価処理を要求する。
サーバ100の要求受信部131は、クライアント端末200からの要求を受信し、応答送信部121にサーバ100の内部時刻を送信する(ST1013)。
応答送信部121は、サーバ100の内部時刻をクライアント端末200に送信する(ST1014)。
クライアント端末200の応答受信部221は、サーバ100の内部時刻を受信し、時刻補正部240に、サーバ100の内部時刻を送信する(ST1015)。
The operation will be described below.
A flow from when a request for the internal time of the
The
The
The
時刻補正部240は、誤差計算部250にサーバ100の内部時刻を送信するとともに、サーバ100の内部時刻によってタイマ210の内部時刻を補正する(ST1016)。
誤差計算部250が、サーバ100の内部時刻とクライアント端末200の内部時刻を比較してから、送信間隔決定部260が、誤差の大きさに応じて、次の等価処理の要求を出すまでの時間を決めるまでの流れは、実施の形態1のST1006〜ST1010と同様である。
送信間隔決定部260は、等価処理タイミングテーブル270から次の等価処理の要求を出すまでの時間の直後のタイミング候補を選択し、次の等価処理タイミングとして要求送信部231に送信する(ST1017)。
以後の動作は、ST1012〜ST1017を繰り返す。
The time from when the
Transmission
Subsequent operations repeat steps ST1012 to ST1017.
このように、実施の形態2によれば、クライアント端末から等価処理の要求を出すことにより、複数のクライアント端末を持つ監視制御システムの場合、クライアント端末ごとに適したタイミングで等価処理を行うことができるため、監視制御システムのネットワークの負荷が減少するという効果がある。 In this way, according to the second embodiment, by issuing a request for equivalent processing from a client terminal, in the case of a monitoring control system having a plurality of client terminals, equivalent processing can be performed at a timing suitable for each client terminal. Therefore, there is an effect that the network load of the supervisory control system is reduced.
実施の形態3.
図5は、この発明の実施の形態3による監視制御システムを示す構成図である。
図5において、100、110、121、l31、200、210、221、231、240、250、260は図3におけるものと同一のものである。図5では、クライアント端末200に、そのクライアント端末200で行う処理の情報一覧を格納するクライアント処理タイミングテーブル290と、クライアント処理タイミングテーブル290を管理するクライアント端末処理管理部280とを設けている。
Embodiment 3 FIG.
FIG. 5 is a block diagram showing a monitoring control system according to Embodiment 3 of the present invention.
In FIG. 5,
実施の形態3は、実施の形態2に対し、等価処理タイミングテーブル270の代わりに、クライアント端末200で行う処理の情報一覧を格納するクライアント処理タイミングテーブル290と、クライアント処理タイミングテーブル290を管理するクライアント端末処理管理部280を設けたものである。これにより高機能な時刻等価方式を備えた監視制御システムを得ることができる。
The third embodiment is different from the second embodiment in that a client processing timing table 290 that stores a list of information on processing performed in the
以下、動作について説明する。
クライアント端末200からサーバ100の内部時刻の要求が送信されてから、次のサーバ100の内部時刻の要求を出すタイミングを決定するまでの流れについて、図6を用いて説明する。
クライアント端末200の要求送信部231が、サーバ100にサーバ100の内部時刻の要求を送信してから、送信間隔決定部260が誤差の大きさに応じて、次の等価処理の要求を出すまでの時間を決めるまでの流れは、実施の形態2のST1012〜ST1010と同様である。
The operation will be described below.
The flow from when the request for the internal time of the
From when the
クライアント端末200の送信間隔決定部260は、クライアント端末処理管理部280に、次の等価処理の要求を出す時間を送信する(ST1018)。
クライアント端末処理管理部280は、クライアント処理タイミングテーブル290を参照して、次の等価処理の要求を出すまでの時間の直後のタイミングを、クライアント端末200の処理と競合しないように選択し、次の等価処理タイミングとして要求送信部231に送信する(ST1019)。
以後の動作は、ST1012〜ST1019を繰り返す。
The transmission
The client terminal
Subsequent operations repeat steps ST1012 to ST1019.
このように、実施の形態3によれば、クライアント端末の動的な処理とも競合しないように等価処理を行うことができるため、動的な処理を正常に実行できるという効果がある。 As described above, according to the third embodiment, since the equivalent process can be performed without competing with the dynamic process of the client terminal, there is an effect that the dynamic process can be normally executed.
実施の形態4.
図7は、この発明の実施の形態4による監視制御システムを示す構成図である。
図7において、100、110、140、150、160、200、210、240は図1におけるものと、250、260、270は図3におけるものとそれぞれ同一のものである。図7では、サーバ100に、クライアント端末200に内部時刻の要求を送信するとともにクライアント端末200からの内部時刻の要求に対する応答を送信する要求/応答送信部122と、クライアント端末200からの内部時刻の要求を受信するとともにクライアント端末200から内部時刻の応答を受信する要求/応答受信部132を設けている。
また、クライアント端末200に、サーバ100に内部時刻の要求を送信するとともにサーバ100からの内部時刻の要求に対する応答を送信する要求/応答送信部232と、サーバ100からの内部時刻の要求を受信するとともにサーバ100から内部時刻の応答を受信する要求/応答受信部222を設けている。
Embodiment 4 FIG.
FIG. 7 is a block diagram showing a monitoring control system according to Embodiment 4 of the present invention.
7, 100, 110, 140, 150, 160, 200, 210, and 240 are the same as those in FIG. 1, and 250, 260, and 270 are the same as those in FIG. In FIG. 7, a request /
In addition, the
実施の形態4は、実施の形態1に対し、誤差計算部250、送信間隔決定部260、等価処理タイミングテーブル270をクライアント端末200に設けて、サーバ100、クライアント端末200双方から時刻の等価処理の要求を出すようにしたものである。これ
により高機能な時刻等価方式を備えた監視制御システムを得ることができる。
The fourth embodiment is different from the first embodiment in that an
以下、動作について説明する。
まず、サーバ100から等価処理の要求が送信されてから、次の等価処理の要求を出すタイミングを決定するまでの流れについて、図8を用いて説明する。
サーバ100の要求/応答送信部122は、各クライアント端末200に等価処理の要求とサーバ100の内部時刻を送信する(ST1020)。
各クライアント端末200の要求/応答受信部222は、等価処理要求とサーバ100の内部時刻を受信し、時刻補正部240にサーバ100の内部時刻を送信する(ST1021)。
時刻補正部240は、クライアント端末200の内部時刻を要求/応答送信部232に送信し、誤差計算部250にサーバ100の内部時刻を送信するとともに、サーバ100の内部時刻によってタイマ210の内部時刻を補正する(ST1022)。
要求/応答送信部232は、クライアント端末200の内部時刻をサーバ100に送信する(ST1023)。
The operation will be described below.
First, the flow from when a request for equivalent processing is transmitted from the
The request /
The request /
The
Request /
誤差計算部250は、サーバ100とクライアント端末200の内部時刻を比較し、誤差の大きさΔtを送信間隔決定部260に送信する(ST1006)。
送信間隔決定部260は、次の等価処理の要求を出すまでの時間の予定を削除する(ST1024)。
送信間隔決定部260が、誤差の閾値t1、t2(t1>t2)とΔtの大きさを比較してから、次の等価処理の要求を出すまでの時間を決めるまでの流れは、実施の形態1のST1007〜ST1010と同様である。
Transmission
The flow from when the transmission
サーバ100の要求/応答受信部132は、クライアント端末200の内部時刻を受信し、誤差計算部140にクライアント端末200の内部時刻を送信する(ST1025)。
誤差計算部140は、各クライアント端末の時刻誤差の大きさの平均値を計算し、誤差の大きさΔtを送信間隔決定部150に送信する(ST1026)。
送信間隔決定部150が誤差の閾値t1、t2(t1>t2)とΔtの大きさを比較してから、次の等価処理の要求を出すまでの時間を決めるまでの流れは、実施の形態1のST1007〜ST1010と同様である。
送信間隔決定部150は、等価処理タイミングテーブル160から次の等価処理の要求を出すまでの時間の直後のタイミング候補を選択し、次の等価処理タイミングとして要求/応答送信部122に送信する(ST1027)。
以後の動作は、ST1020〜ST1027を繰り返す。
Request /
The flow from when the transmission
Transmission
In subsequent operations, ST1020 to ST1027 are repeated.
次に、クライアント端末200からサーバ100の内部時刻の要求が送信されてから、次のサーバ100の内部時刻の要求を出すタイミングを決定するまでの流れについて、図9を用いて説明する。
クライアント端末200の要求/応答送信部232は、サーバ100にサーバ100の内部時刻の要求を送信する(ST1028)。
サーバ100の要求/応答受信部132は、クライアント端末200からの要求を受信し、要求/応答送信部122にサーバの内部時刻を送信する(ST1029)。
要求/応答送信部122は、サーバの内部時刻をクライアント端末200に送信する(ST1030)。
Next, the flow from when a request for the internal time of the
Request /
The request /
Request /
クライアント端末200の要求/応答受信部222は、サーバ100の内部時刻を受信し、時刻補正部240にサーバ100の内部時刻を送信する(ST1031)。
時刻補正部240が誤差計算部250にサーバ100の内部時刻を送信してから、送信
間隔決定部260が誤差の大きさに応じて、次の等価処理の要求を出すまでの時間を決めるまでの流れは、実施の形態2のST1016〜ST1010と同様である。
送信間隔決定部260は、等価処理タイミングテーブル270から、次の等価処理の要求を出す時間の直後のタイミング候補を選択し、次の等価処理タイミングとして要求/応答送信部232に送信する(ST1032)。
以後の動作は、ST1028〜ST1032を繰り返す。
The request /
The time from when the
Transmission
In subsequent operations, ST1028 to ST1032 are repeated.
このように、実施の形態4によれば、サーバからの等価処理の要求を一括して各クライアント端末に送信しつつ、クライアント端末ごとに適したタイミングで等価処理を行うことができるため、サーバおよびネットワークの負荷が減少するという効果がある。 As described above, according to the fourth embodiment, it is possible to perform equivalent processing at a timing suitable for each client terminal while collectively transmitting requests for equivalent processing from the server to each client terminal. This has the effect of reducing the load on the network.
実施の形態5.
図10は、この発明の実施の形態5による監視制御システムを示す構成図である。
図10において、100、110、120、130、140、150、160、200、210、220、230、240は図1におけるものと同一のものである。図10では、サーバ100に、今までの時間帯ごとの時刻誤差統計情報を格納する統計データテーブル180と、統計データテーブル180を管理する統計データ管理部170を設けている。統計データテーブル180には、時刻誤差統計情報として、時間帯ごとの時刻誤差の平均値と、平均値を算出した時刻誤差の個数(データ数)を格納している。
Embodiment 5. FIG.
FIG. 10 is a block diagram showing a monitoring control system according to Embodiment 5 of the present invention.
10,
実施の形態5は、実施の形態1に対し、今までの時間帯ごとの時刻誤差統計情報を格納する統計データテーブル180と、統計データテーブル180を管理する統計データ管理部170を設けたものである。これにより高機能な時刻等価方式を備えた監視制御システムを得ることができる。
The fifth embodiment is different from the first embodiment in that a statistical data table 180 that stores time error statistical information for each time zone and a statistical
次に、動作について説明する。
サーバ100から等価処理の要求が送信されてから、次の等価処理の要求を出すタイミングを決定するまでの流れについて、図11を用いて説明する。
サーバ100の要求送信部120が、クライアント端末200に等価処理の要求とサーバ100の内部時刻を送信してから、応答受信部130がクライアント端末200の内部時刻を受信し、誤差計算部140にクライアント端末200の内部時刻を送信するまでの流れは、実施の形態1のST1001〜ST1005と同様である。
誤差計算部140は、サーバ100とクライアント端末200の内部時刻を比較し、誤差の大きさΔtを送信間隔決定部150と統計データ管理部170に送信する(ST1033)。
送信間隔決定部150は、統計データ管理部170に今の時間帯の時刻誤差統計情報を要求する(ST1034)。
Next, the operation will be described.
The flow from when the request for equivalent processing is transmitted from the
After the
Transmission
統計データ管理部170は、要求された時間帯の時刻誤差統計情報を統計データテーブル180から取得し、送信間隔決定部150に送信する(ST1035)。
送信間隔決定部150は、Δtから時刻誤差統計情報を引いた値Δt’と誤差の閾値t1、t2(t1>t2)を比較する(ST1036)。
Δt’>t1のとき、送信間隔決定部150は、次の等価処理の要求を出すまでの時間を半分にする(ST1037)。
Δt’<t2のとき、送信間隔決定部150は、次の等価処理の要求を出すまでの時間を1.5倍にする(ST1038)。
t2≦Δt’≦t1のとき、送信間隔決定部150は、次の等価処理を出すまでの時間の変更は行わない(ST1039)。
Statistical
Transmission
When Δt ′> t1, transmission
When Δt ′ <t2, transmission
When t2 ≦ Δt ′ ≦ t1, transmission
統計データ管理部170は、今回の時刻誤差を加えた平均値を計算し、平均値を算出し
た時刻誤差の個数に1を加算して、統計データテーブル180を更新する(ST1040)。
送信間隔決定部150は、等価処理タイミングテーブル160から、次の等価処理の要求を出すまでの時間の直後のタイミング候補を選択し、次の等価処理タイミングとして要求送信部120に送信する(ST1011)。
以後の動作は、ST1001〜ST1011を繰り返す。
Statistical
Transmission
In subsequent operations, ST1001 to ST1011 are repeated.
以上のように、実施の形態5によれば、過去の傾向に応じて次の等価処理までの間隔を決定し、等価処理のタイミングをより短い時間で最適化することができ、ネットワークの負荷が減少するという効果がある。 As described above, according to the fifth embodiment, the interval until the next equivalent process is determined according to the past trend, and the timing of the equivalent process can be optimized in a shorter time, and the load on the network is reduced. It has the effect of decreasing.
なお、実施の形態5では、今の時間帯の時刻誤差統計情報を用いたが、日付や曜日の統計および、これらのパラメータの組み合わせを用いても良い。その場合でも同様の効果を得ることができる。 In the fifth embodiment, the time error statistical information of the current time zone is used, but date and day of week statistics and a combination of these parameters may be used. Even in that case, the same effect can be obtained.
なお、本発明は、その発明の範囲内において、各実施の形態を自由に組み合わせたり、各実施の形態を適宜、変形、省略することが可能である。 It should be noted that the present invention can be freely combined with each other within the scope of the invention, and each embodiment can be appropriately modified or omitted.
100 サーバ、110 タイマ、120 要求送信部、121 応答送信部、
122 要求/応答送信部、130 応答受信部、131 要求受信部、
132 要求/応答受信部、140 誤差計算部、150 送信間隔決定部、
160 等価処理タイミングテーブル、170 統計データ管理部、
180 統計データテーブル、200 クライアント端末、210 タイマ、
220 要求受信部、221 応答受信部、222 要求/応答受信部、
230 応答送信部、231 要求送信部、232 要求/応答送信部、
240 時刻補正部、250 誤差計算部、260 送信間隔決定部、
270 等価処理タイミングテーブル、280 クライアント端末処理管理部、
290 クライアント処理タイミングテーブル
100 server, 110 timer, 120 request transmission unit, 121 response transmission unit,
122 request / response transmission unit, 130 response reception unit, 131 request reception unit,
132 request / response receiver, 140 error calculator, 150 transmission interval determiner,
160 equivalent processing timing table, 170 statistical data management unit,
180 statistical data table, 200 client terminal, 210 timer,
220 request receiver, 221 response receiver, 222 request / response receiver,
230 response transmitter, 231 request transmitter, 232 request / response transmitter,
240 time correction unit, 250 error calculation unit, 260 transmission interval determination unit,
270 equivalent processing timing table, 280 client terminal processing management unit,
290 Client processing timing table
Claims (12)
上記サーバのタイマの時刻情報と上記クライアント端末のタイマの時刻情報との誤差を計算する誤差計算部、
時間帯ごとの時刻誤差統計情報を格納する統計データテーブル、
およびこの誤差計算部により計算された上記時刻情報の誤差の大きさに応じるとともに、上記監視制御システムの定常処理と競合しないように、次の等価処理タイミングを決める等価処理間隔決定部を備え、
上記サーバは、
時刻情報を生成するタイマを有し、
上記等価処理に当たって、上記時刻情報を上記クライアント端末に送信するように構成され、
上記クライアント端末は、
時刻情報を生成するタイマと、
上記サーバから送信される時刻情報に基づき、自身のタイマの時刻を補正する時刻補正部とを有し、
上記等価処理に当たって、自身の補正前の時刻情報を上記サーバに送信するように構成され、
上記等価処理間隔決定部は、上記時刻誤差統計情報を用いて、上記等価処理タイミングを決定することを特徴とする監視制御システム。 A monitoring control system for performing time information equalization processing between a server and a client terminal connected to the server via a network,
An error calculator for calculating an error between the time information of the timer of the server and the time information of the timer of the client terminal;
Statistical data table that stores time error statistical information for each time zone,
And according to the magnitude of the error of the time information calculated by the error calculation unit, an equivalent processing interval determination unit that determines the next equivalent processing timing so as not to compete with the steady processing of the monitoring control system,
The server
It has a timer that generates time information,
In the equivalent process, the time information is configured to be transmitted to the client terminal,
The client terminal
A timer for generating time information;
A time correction unit that corrects the time of its own timer based on the time information transmitted from the server,
In the equivalent process, it is configured to transmit its time information before correction to the server ,
The monitoring control system, wherein the equivalent processing interval determination unit determines the equivalent processing timing using the time error statistical information .
上記サーバは、
上記サーバのタイマの時刻情報と上記クライアント端末のタイマの時刻情報との誤差を計算する誤差計算部、
およびこの誤差計算部により計算された上記時刻情報の誤差の大きさに応じるとともに、上記監視制御システムの定常処理と競合しないように、次の等価処理タイミングを決める等価処理間隔決定部、
時刻情報を生成するタイマを有し、
上記等価処理に当たって、上記時刻情報を上記クライアント端末に送信するように構成され、
上記クライアント端末は、
時刻情報を生成するタイマと、
上記サーバから送信される時刻情報に基づき、自身のタイマの時刻を補正する時刻補正部とを有し、
上記等価処理に当たって、自身の補正前の時刻情報を上記サーバに送信するように構成され、
上記クライアント端末が複数の場合には、上記誤差計算部は、上記サーバと各別のクライアント端末との誤差の平均値を算出し、
上記等価処理間隔決定部は、上記算出された誤差の平均値の大きさに応じて次の等価処理タイミングを決めることを特徴とする監視制御システム。 A monitoring control system for performing time information equalization processing between a server and a client terminal connected to the server via a network,
The server
An error calculator for calculating an error between the time information of the timer of the server and the time information of the timer of the client terminal;
And an equivalent processing interval determination unit that determines the next equivalent processing timing so as not to compete with the steady processing of the monitoring control system, according to the magnitude of the error of the time information calculated by the error calculation unit,
It has a timer that generates time information,
In the equivalent process, the time information is configured to be transmitted to the client terminal,
The client terminal
A timer for generating time information;
A time correction unit that corrects the time of its own timer based on the time information transmitted from the server,
In the equivalent process, it is configured to transmit its time information before correction to the server,
When there are a plurality of the client terminals, the error calculation unit calculates an average value of errors between the server and each of the different client terminals,
The monitoring control system, wherein the equivalent processing interval determination unit determines the next equivalent processing timing in accordance with the calculated average value of errors .
上記等価処理間隔決定部は、上記等価処理タイミングテーブルを参照して、上記次の等価処理タイミングを決定することを特徴とする請求項1または請求項2記載の監視制御システム。 An equivalent process timing table storing a plurality of equivalent process timing candidates created in advance so as not to compete with the steady process of the monitoring control system over a predetermined period of time,
3. The supervisory control system according to claim 1, wherein the equivalent processing interval determination unit determines the next equivalent processing timing with reference to the equivalent processing timing table.
上記サーバから上記クライアント端末に上記等価処理を要求することを特徴とする請求項1記載の監視制御システム。 The error calculation unit and the equivalent processing interval determination unit are arranged in the server,
Claim 1 Symbol placement of the supervisory control system, characterized in that to request the equivalent process in the client terminal from the server.
上記等価処理間隔決定部は、上記算出された誤差の平均値の大きさに応じて次の等価処理タイミングを決めることを特徴とする請求項4記載の監視制御システム。 When there are a plurality of the client terminals, the error calculation unit calculates an average value of errors between the server and each of the different client terminals,
The monitoring control system according to claim 4, wherein the equivalent processing interval determination unit determines the next equivalent processing timing in accordance with the calculated average value of errors.
上記クライアント端末は、
所定期間の当該クライアント端末の処理のタイミングを格納したクライアント処理タイミングテーブルを有し、
上記等価処理間隔決定部は、上記クライアント処理タイミングテーブルの上記処理のタイミングを避けるように、上記次の等価処理タイミングを決定することを特徴とする請求項1記載の監視制御システム。 The error calculation unit and the equivalent processing interval determination unit are arranged in the client terminal,
The client terminal
A client processing timing table storing the processing timing of the client terminal for a predetermined period;
The monitoring control system according to claim 1, wherein the equivalent processing interval determination unit determines the next equivalent processing timing so as to avoid the processing timing of the client processing timing table.
上記クライアント端末から上記サーバに上記等価処理を要求することを特徴とする請求項1記載の監視制御システム。 The error calculation unit and the equivalent processing interval determination unit are arranged in the client terminal,
Claim 1 Symbol placement of the supervisory control system, characterized in that to request the equivalent process in the server from the client terminal.
上記サーバおよび上記クライアント端末が、それぞれ相手に対して上記等価処理を要求できるようにしたことを特徴とする請求項1記載の監視制御システム。 The error calculation unit and the equivalent processing interval determination unit are arranged in the server and the client terminal, respectively.
Said server and said client terminal, according to claim 1 Symbol placement of the supervisory control system, respectively, characterized in that to be able to request the equivalent process to the other.
時刻情報を生成するタイマ、
このタイマの時刻情報と上記クライアント端末から送信される時刻情報との誤差を計算する誤差計算部、
所定期間に亘って、上記監視制御システムの定常処理と競合しないように予め作成された複数の等価処理タイミングの候補を格納した等価処理タイミングテーブル、
およびこの誤差計算部により計算された上記時刻情報の誤差の大きさに応じるとともに、上記等価処理タイミングテーブルを参照して、次の等価処理タイミングを決める等価処理間隔決定部を備え、
上記等価処理に当たって、上記タイマの時刻情報を上記クライアント端末に送信するように構成され、
上記クライアント端末が複数の場合には、上記誤差計算部は、上記サーバと各別のクライアント端末との誤差の平均値を算出し、
上記等価処理間隔決定部は、上記算出された誤差の平均値の大きさに応じて次の等価処理タイミングを決めることを特徴とするサーバ。 A server that constitutes a monitoring control system together with a client terminal connected via a network, and performs an equivalent process of time information with the client terminal,
A timer that generates time information,
An error calculator for calculating an error between the time information of the timer and the time information transmitted from the client terminal;
An equivalent process timing table storing a plurality of candidates for equivalent process timings created in advance so as not to compete with the steady process of the monitoring control system over a predetermined period;
And according to the magnitude of the error of the time information calculated by the error calculation unit, with reference to the equivalent processing timing table, an equivalent processing interval determination unit that determines the next equivalent processing timing,
In performing the equivalent process, the time information of the timer is configured to be transmitted to the client terminal,
When there are a plurality of the client terminals, the error calculation unit calculates an average value of errors between the server and each of the different client terminals,
The server according to claim 1, wherein the equivalent processing interval determination unit determines a next equivalent processing timing in accordance with the calculated average value of errors .
時刻情報を生成するタイマ、
このタイマの時刻情報と上記クライアント端末から送信される時刻情報との誤差を計算する誤差計算部、
所定期間に亘って、上記監視制御システムの定常処理と競合しないように予め作成された複数の等価処理タイミングの候補を格納した等価処理タイミングテーブル、
時間帯ごとの時刻誤差統計情報を格納する統計データテーブル、
およびこの誤差計算部により計算された上記時刻情報の誤差の大きさに応じるとともに、上記等価処理タイミングテーブルおよび上記統計データテーブルを参照して、次の等価処理タイミングを決める等価処理間隔決定部を備え、
上記等価処理に当たって、上記タイマの時刻情報を上記クライアント端末に送信するように構成されていることを特徴とするサーバ。 A server that constitutes a monitoring control system together with a client terminal connected via a network, and performs an equivalent process of time information with the client terminal,
A timer that generates time information,
An error calculator for calculating an error between the time information of the timer and the time information transmitted from the client terminal;
An equivalent process timing table storing a plurality of candidates for equivalent process timings created in advance so as not to compete with the steady process of the monitoring control system over a predetermined period;
Statistical data table that stores time error statistical information for each time zone,
And an equivalent processing interval determining unit that determines the next equivalent processing timing with reference to the equivalent processing timing table and the statistical data table in accordance with the magnitude of the error of the time information calculated by the error calculating unit. ,
A server configured to transmit time information of the timer to the client terminal in performing the equivalent process.
時刻情報を生成するタイマ、
このタイマの時刻情報と上記サーバから送信される時刻情報との誤差を計算する誤差計算部、
所定期間の当該クライアント端末の処理のタイミングを格納したクライアント処理タイミングテーブル、
上記誤差計算部により計算された上記時刻情報の誤差の大きさに応じるとともに、上記クライアント処理タイミングテーブルの上記処理のタイミングを避けるように、次の等価処理タイミングを決める等価処理間隔決定部、
および上記サーバから受信した時刻情報に基づき、自身のタイマの時刻を補正する時刻補正部を備えたことを特徴とするクライアント端末。 A client terminal that configures a monitoring control system together with a server connected via a network and performs an equivalent process of time information with the server,
A timer that generates time information,
An error calculator for calculating an error between the time information of the timer and the time information transmitted from the server;
A client processing timing table storing the processing timing of the client terminal for a predetermined period;
An equivalent processing interval determination unit that determines the next equivalent processing timing so as to avoid the processing timing of the client processing timing table according to the magnitude of the error of the time information calculated by the error calculation unit,
A client terminal comprising a time correction unit that corrects the time of its own timer based on time information received from the server.
上記クライアント端末が、自身のタイマの補正前の時刻情報を上記サーバに送信する第二のステップ、
上記クライアント端末の時刻補正部が、上記サーバからの時刻情報により自身のタイマの時刻を補正する第三のステップ、
上記サーバの誤差計算部が、上記サーバのタイマの時刻情報と上記クライアント端末から受信した時刻情報との誤差を計算する第四のステップ、
および上記サーバの等価処理間隔決定部が、上記監視制御システムの定常処理と競合しないように予め作成された複数の等価処理タイミングの候補を格納した等価処理タイミングテーブルを参照し、上記誤差計算部により計算された上記時刻情報の誤差の大きさに応じて、次の等価処理タイミングを決める第五のステップを含み、
上記第五のステップは、統計データテーブルに格納された時間帯ごとの時刻誤差統計情報を用いて、上記等価処理タイミングを決定することを特徴とする監視制御方法。 A first step of configuring a monitoring control system together with a client terminal connected via a network, and performing a time information equivalent process with the client terminal, transmitting timer time information to the client terminal,
A second step in which the client terminal transmits time information before correction of its timer to the server;
A third step in which the time correction unit of the client terminal corrects the time of its own timer based on the time information from the server;
A fourth step in which the error calculation unit of the server calculates an error between the time information of the timer of the server and the time information received from the client terminal;
And the equivalent processing interval determination unit of the server refers to an equivalent processing timing table storing a plurality of equivalent processing timing candidates created in advance so as not to compete with the steady processing of the monitoring control system. depending on the magnitude of the error of the calculated the time information, a fifth step of determining a next equivalent processing timing seen including,
The fifth step is a monitoring control method, wherein the equivalent processing timing is determined using time error statistical information for each time zone stored in a statistical data table .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015043185A JP6478714B2 (en) | 2015-03-05 | 2015-03-05 | Monitoring control system, server, client terminal, and monitoring control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015043185A JP6478714B2 (en) | 2015-03-05 | 2015-03-05 | Monitoring control system, server, client terminal, and monitoring control method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2016163287A JP2016163287A (en) | 2016-09-05 |
JP6478714B2 true JP6478714B2 (en) | 2019-03-06 |
Family
ID=56845629
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2015043185A Active JP6478714B2 (en) | 2015-03-05 | 2015-03-05 | Monitoring control system, server, client terminal, and monitoring control method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6478714B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6626015B2 (en) * | 2017-01-04 | 2019-12-25 | 株式会社東芝 | Synchronization device, synchronization method, synchronization program, and synchronization system |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000258567A (en) * | 1999-03-09 | 2000-09-22 | Oki Electric Ind Co Ltd | Time synchronizing system |
JP2005039312A (en) * | 2003-07-15 | 2005-02-10 | Hitachi Ltd | Real time communication warrant method |
JP2007214670A (en) * | 2006-02-07 | 2007-08-23 | Seiko Epson Corp | Client device and program |
JP2009052968A (en) * | 2007-08-24 | 2009-03-12 | Fujitsu Telecom Networks Ltd | Time information acquisition method and device by ntp |
JP4831154B2 (en) * | 2008-09-30 | 2011-12-07 | ブラザー工業株式会社 | Timing device |
JP5891142B2 (en) * | 2012-08-02 | 2016-03-22 | 株式会社日立製作所 | Communications system |
WO2014083640A1 (en) * | 2012-11-28 | 2014-06-05 | 三菱電機株式会社 | Communication apparatus, communication system and time synchronization method |
-
2015
- 2015-03-05 JP JP2015043185A patent/JP6478714B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2016163287A (en) | 2016-09-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9608855B2 (en) | Time control apparatus, time control method, and program | |
US20150207877A1 (en) | Time synchronization client, a system and a non-transitory computer readable medium | |
KR102156798B1 (en) | Method and its apparatus for controlling the terminal's timing in wireless communication system | |
US9832744B2 (en) | Timing value adjustment method and apparatus | |
US10034241B2 (en) | Wireless communication device and system | |
JP2015524639A5 (en) | ||
US9300559B2 (en) | Message processing method of gateway | |
US8976818B2 (en) | Communication device, a control device, and a non-transitory computer readable medium | |
JP2007214670A (en) | Client device and program | |
JP6478714B2 (en) | Monitoring control system, server, client terminal, and monitoring control method | |
US20130145025A1 (en) | Programmable controller | |
US11263112B2 (en) | Method and apparatus for evaluating quality of software running environment of device | |
CN113711158A (en) | Time synchronization system, master control device, slave device, and program | |
US20210250160A1 (en) | Communication device, communication system, and synchronization control method | |
JP2013029319A (en) | Slave device, electronic apparatus system, master device, time synchronization method, and program | |
KR20170125405A (en) | Time synchronization device and time synchronization system | |
JP6240635B2 (en) | Wireless communication method and wireless communication system | |
WO2016080112A1 (en) | Control device | |
US8780746B2 (en) | Communication apparatus, communication method, and a computer-readable medium | |
JP6115478B2 (en) | Communications system | |
JP2013074338A (en) | Time server, terminal, time synchronization system, time synchronization method, and program | |
US10749781B2 (en) | Setting device, setting method, recording medium to which setting program is recorded, communication system, client device, and server device | |
CN108616970B (en) | Internet of things terminal sleep period adjusting method, internet of things terminal and server | |
US11063871B2 (en) | Communication apparatus, communication method, non-transitory recording medium, and communication system | |
WO2017068663A1 (en) | Communication device, communication method, and communication program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20171222 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20181012 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20181023 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20181212 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20190108 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20190205 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 6478714 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |