JPH0239748A - Time information transmission system - Google Patents

Time information transmission system

Info

Publication number
JPH0239748A
JPH0239748A JP63190895A JP19089588A JPH0239748A JP H0239748 A JPH0239748 A JP H0239748A JP 63190895 A JP63190895 A JP 63190895A JP 19089588 A JP19089588 A JP 19089588A JP H0239748 A JPH0239748 A JP H0239748A
Authority
JP
Japan
Prior art keywords
time
information
transmission
data
signal
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.)
Granted
Application number
JP63190895A
Other languages
Japanese (ja)
Other versions
JP2581181B2 (en
Inventor
Koichi Kawabe
河辺 公一
Tadatoshi Sakane
坂根 忠俊
Tetsuo Akashi
明石 哲郎
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.)
Meidensha Corp
Meidensha Electric Manufacturing Co Ltd
Original Assignee
Meidensha Corp
Meidensha Electric Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Meidensha Corp, Meidensha Electric Manufacturing Co Ltd filed Critical Meidensha Corp
Priority to JP63190895A priority Critical patent/JP2581181B2/en
Publication of JPH0239748A publication Critical patent/JPH0239748A/en
Application granted granted Critical
Publication of JP2581181B2 publication Critical patent/JP2581181B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)
  • Communication Control (AREA)
  • Selective Calling Equipment (AREA)

Abstract

PURPOSE:To prevent the error of timing and time control between respective control parts and respective controlled parts by preventing the resending of time information, and when the elapsed time from the input of the time notifying signal to the input of the time executing signal is not equal to a set time, preventing the elapsed time as the time information. CONSTITUTION:A set time(T) is set euqally to a time T1 (the time interval between the time notifying signal and the time executing signal at the time of a normal transmission). When transmission information is the time information, it is regarded as the transmission without a resending function, when input data are the time notifying signals, a time is activated, and when the input data are the time executing signals, and the elapsed time from the activation of the time until the decision of the time executing signal is not equal to the prescribed set time T, the input data are not handled as the time information, and timing is not executed when the timer is reset.

Description

【発明の詳細な説明】 A、産業上の利用分野 本発明は、ハイレベルデータリンク制御手順(Ilig
h Level Data Link Control
 :以下HDLC方式と略称する)に沿ってデータ伝送
を行うデータ伝送方式に係り、特にHDLC方式により
時刻情報を伝送する時刻情報伝送方式に関する。
DETAILED DESCRIPTION OF THE INVENTION A. Field of Industrial Application The present invention is directed to high-level data link control procedures (Ilig).
h Level Data Link Control
The present invention relates to a data transmission method for transmitting data according to the HDLC method (hereinafter abbreviated as HDLC method), and particularly to a time information transmission method for transmitting time information using the HDLC method.

B0発明の概要 本発明は、伝送障害発生時に情報を再送する機能を備え
たHDLC方式により時刻情報を伝送する時刻情報伝送
方式において、 送信情報が時刻情報であることを情報判定手段が判定し
たときは、当該時刻情報の再送を禁止するとともに、時
刻予告信号が入力されてから時刻実行信号が入力される
までの経過時間が設定時間と等しくないときは時刻情報
として取り扱わず、時刻合わせ等を行わないようにする
ことにより、伝送障害発生時に遠方監視制御所の各制御
所間及び各被制御所間で時刻合わせや時刻管理の誤差が
生じないようにしたものである。
B0 Summary of the Invention The present invention provides a time information transmission system that transmits time information using an HDLC system that is equipped with a function to retransmit information when a transmission failure occurs. prohibits the retransmission of the time information, and if the elapsed time from the input of the time advance signal to the input of the time execution signal is not equal to the set time, it will not be treated as time information and the time will not be adjusted. This prevents errors in time adjustment and time management between each control station of the remote monitoring control station and between each controlled station when a transmission failure occurs.

C1従来の技術 近年、遠方監視制御においては、監視制御範囲を拡大し
、計算機と結合して障害対応の高速化や運用効率の向上
を図ることが要望されている。そこで前記要望を満たず
ため最近は情報量および情報の種類の拡大が容易で且つ
計算機処理も容易なデータ伝送方式としてHD L C
方式が採用されてきている。このHDLC方式は次のよ
うな利点がある。
C1 Prior Art In recent years, in remote monitoring and control, there has been a demand for expanding the range of monitoring and control and combining it with computers to speed up troubleshooting and improve operational efficiency. Therefore, in order to meet the above requirements, HDLC has recently been adopted as a data transmission method that can easily expand the amount and types of information and is also easy to process by computer.
method has been adopted. This HDLC method has the following advantages.

(1)相手計算機が受信可能状態にあるか否かや、相手
計算機が受信しかた否か等を確認できる。
(1) It is possible to check whether the other party's computer is ready to receive data, whether the other party's computer is capable of receiving data, etc.

(2)ビジーが発生したら終わるまで相手局の送信を持
たせることができる。
(2) When a busy situation occurs, the other station can keep transmitting until it ends.

(3)伝送障害発生時は自動的にデータを再送すること
ができ、データの欠落を防止することができる。
(3) Data can be automatically retransmitted when a transmission failure occurs, and data loss can be prevented.

(4)Mi数のデータをまとめて送る連続送信や互いに
同時に交信する全2重送信等が可能であり伝送時間を短
縮することができる。
(4) Continuous transmission that sends Mi number of data at once, full-duplex transmission that communicates with each other simultaneously, etc. are possible, and the transmission time can be shortened.

ここで国際電信電話諮問委員会(CCITT)では伝送
方式における責任分担を第3図のようにレベル分けして
いる。レベルIは、データを認識させる役割を受は持っ
ており第4図に示すHDLC方式の伝送フォーマット(
フレーム構成)で説明すると、フレームの始めと終わり
を明らかにするためのF(8ビツトで構成されるフラグ
シーケンス)や、コマンドを受信すべき局の指定および
レスポンスを送信した局を表示するためのA(8ビツト
で構成されるアドレス部)等に該当する。
The Consultative Committee on International Telegraph and Telephone (CCITT) divides the responsibility for transmission systems into levels as shown in Figure 3. Level I has the role of recognizing data, and the HDLC transmission format shown in Figure 4 (
In terms of frame structure), F (a flag sequence consisting of 8 bits) is used to clarify the beginning and end of a frame, and it is used to specify the station that should receive the command and to display the station that sent the response. This corresponds to A (address part consisting of 8 bits), etc.

またレベル2は、コマンドとして相手局に対する動作の
指令やレスポンスとしてその指令に対する応答等を制御
する役割を受は持っており、C(8ビツトで構成される
制御部)に該当する。またレベル3以上の高レベルは、
各種の情報を受は持っており、■(ビット構成に制約の
ない情報部)に該当する。
In level 2, the receiver has the role of controlling operations such as commands to the other station and responses to the commands as responses, and corresponds to C (control unit composed of 8 bits). In addition, high levels above level 3,
The receiver has various types of information, and falls under ■ (information section with no restrictions on bit configuration).

現在、HDLC方式における前記レベル12で行うべき
仕事をすべてLSI実行するLSIもできており、計算
機はレベル3以上の仕事を行うだけで済む。このため計
算機の負担は著しく軽減されている。またHDLC方式
の伝送効率も他の方式に比べて極めて良好である。すな
わち伝送効率は生データビット数/送信ビット数で求め
られるが、CDT (サイクリック ディジタル トラ
ンス ミッション)方式の場合、 となり、ベーシック方式の場合、 となり、HD L C方式の場合、 となる。
Currently, there are LSIs that can perform all the work that should be done at level 12 in the HDLC system, and computers only need to do the work at level 3 or higher. Therefore, the burden on the computer is significantly reduced. Furthermore, the transmission efficiency of the HDLC method is also extremely good compared to other methods. In other words, the transmission efficiency is determined by the number of raw data bits/the number of transmitted bits, and in the case of the CDT (cyclic digital transmission) method, it becomes , in the case of the basic method, it becomes , and in the case of the HDLC method, it becomes .

次にHD L C方式のデータ伝送の様子を第5図とと
もに説明する。第5図はA局とB局との間で交信中に、
Gに示すように伝送障害が発生した場合を表している。
Next, the state of data transmission in the HD LC system will be explained with reference to FIG. Figure 5 shows that during communication between stations A and B,
This shows the case where a transmission failure occurs as shown in G.

図中rA−、−B符号」の例えば「■・3・4」は、情
報(I)有りのフレームで送信順序番号が3、受信順序
番号が4であることを示し、「送信データ有」の欄の数
字は残りデータの組数を示している。また時刻し、にお
いてGの如く伝送障害が発生すると「■・3・4」のデ
ータはB局に届かない。A局側では障害発生を知ってい
ないため次に時刻t、において送信順序番号を+1して
「■・4・4」のデータを送信する。
For example, "■・3・4" of "rA-, -B code" in the figure indicates that the transmission order number is 3 and the reception order number is 4 in a frame with information (I), and "transmission data is present". The numbers in the column indicate the number of remaining data sets. Also, if a transmission failure occurs at time, as shown in G, the data of "■, 3, and 4" will not reach the B station. Since the A station side is not aware of the occurrence of the failure, it next increments the transmission order number by 1 at time t and transmits the data "■.4.4".

すると0局側では、前回が送信順序番号「2」なるデー
タを受は取り、今回が「■・4・4」なるデータを受は
取ることになり、送信順序番号が2から4へ飛んでいる
ことから障害発生を認識する。
Then, on the 0 station side, the previous time it received the data with the transmission order number "2", and this time it receives the data with the transmission order number "■・4・4", so the transmission order number jumps from 2 to 4. It is recognized that a failure has occurred.

そこで時刻上、において再送要求を出し、時刻t4にお
いてrなしのフレーム、リジェクト信号「REJ・3」
を発する。このrREJ・3」は、現在送信順序番号2
まで受は取ったので次は送信順序番号3のフレームの送
信を期待しているというき味を表している。すると時刻
し、においてA局側に再送要求が認識され、再送条件が
確立し、時刻Lllから時刻t6までは送信順序番号3
〜5のフレームのデータを再送する。
Therefore, at time t4, a retransmission request is issued, and at time t4, a frame without r and a reject signal "REJ-3" are sent.
emits. This rREJ・3” is currently sending order number 2.
This indicates that the frame with transmission order number 3 is expected to be transmitted next since it has been received. Then, at the time, the retransmission request is recognized on the A side, the retransmission conditions are established, and the transmission order number is 3 from time Lll to time t6.
-5 frames of data are retransmitted.

前記のようにHD L C方式では自局、相手局間で互
いに送信順序番号の確認を取りながら交信しているので
、伝送障害発生時は自動的にデータを再送することがで
き、データの欠落を防止することができる。
As mentioned above, in the HD LC system, the local station and the other station communicate while mutually confirming the transmission order number, so when a transmission failure occurs, data can be automatically retransmitted, preventing data loss. can be prevented.

D1発明が解決しよ°うとする課題 遠方監視制御における情報の種類の拡大の一例として、
総ての被制御所間で時刻の統一を図り、各被制御所のデ
ータを時刻付とし、発生事象の分析を行う適用がある。
D1 Problems to be solved by the invention As an example of expanding the types of information in remote monitoring and control,
There is an application in which the time is unified among all controlled stations, data from each controlled station is tagged with time, and events that occur are analyzed.

このため制御所(親局)から又は集中制御所(給飼)か
ら制御所(親局)を経由して各被制御所(子局)に時刻
情報を伝送し、時刻合わせや時刻管理等を行っている。
For this reason, time information is transmitted from the control center (master station) or from the centralized control center (feeding) to each controlled station (child station) via the control center (master station) to perform time adjustment, time management, etc. Is going.

被制御所において発生した情報の時刻管理を行う場合、
時刻情報伝送前後に伝送障害、伝送誤りが生じると第5
図で説明したように自動的に時刻情報が再送されるので
、初送−再送間の時間差はそのまま時刻誤差となってし
まう。この誤差は発生事象の時間関係を狂わせ、現象の
分析が不可能となってしまう。
When performing time management of information generated at a controlled location,
If a transmission failure or transmission error occurs before or after transmitting time information, the fifth
As explained in the figure, since the time information is automatically retransmitted, the time difference between the initial transmission and the retransmission becomes a time error. This error disrupts the time relationship between occurring events, making it impossible to analyze the phenomenon.

以下、伝送障害発生時の6ケースについてフレーム送信
状態を説明する。第6図(a)〜(f)において内部に
「時予」と記された口は時刻予告信号を含んだフレーム
であり、内部に「時実」と記された口は時刻実行信号を
含んだフレームであり、内部に数字が記された口は他の
一般データを含んだフレームであり、数字は時間関係を
区別するための記号である。また内部に「REJ」と記
された口はりジエクト信号を含んだフレームである。時
刻予告信号から時刻実行信号までの間隔は予め一定の時
間T、に設定されている。この時刻情報(時刻予告信号
と時刻実行信号)は所定の周期で伝送されるものである
。第6図(a)は、×2の時点すなわち時刻実行信号の
次に送信されるフレーム(+1のデータを含んだフレー
ム)で伝送障害が生じたケースを示している。このケー
スでは、上り側は+1のデータを受は取れず+2のデー
タを受は取り、そのデータの送信順序番号が飛んでいる
ことから伝送障害有りを認識することができ、リジェク
トREJを発して再送要求を行う。すると下り側は図示
省略しているが+1および+2のデータの再送を行う。
Below, frame transmission states will be described for six cases when a transmission failure occurs. In FIGS. 6(a) to (f), the frame marked with "Jiyo" inside is a frame containing a time advance signal, and the frame marked with "Jiji" inside is a frame containing a time execution signal. The frame with numbers inside is a frame that contains other general data, and the numbers are symbols to distinguish time relationships. It is also a frame that includes a beam direct signal written as "REJ" inside. The interval from the time notice signal to the time execution signal is set in advance to a constant time T. This time information (time notice signal and time execution signal) is transmitted at a predetermined cycle. FIG. 6(a) shows a case where a transmission failure occurs at the time point x2, that is, the frame transmitted next to the time execution signal (frame containing +1 data). In this case, the upstream side cannot receive +1 data, but receives +2 data, and since the transmission sequence number of that data has jumped, it can recognize that there is a transmission failure, and issues a reject REJ. Make a retransmission request. Then, on the downstream side, although not shown, the +1 and +2 data are retransmitted.

このため第6図(a)のケースは、+1のデータ以前に
伝送された時刻情報については何ら影響は無い。
Therefore, in the case of FIG. 6(a), there is no effect on the time information transmitted before the +1 data.

第6図(b)は、×3の時点、すなわち時刻実行信号を
含んだフレームで伝送障害が生じたケースを示している
。このケースでは、上り側は時刻実行信号を受は取れず
+1のデータを受は取り、そのデータの送信順序番号が
飛んでいることから伝送障害有りを認識することができ
、リジェクトREJを発して再送要求を行う。すると下
り側は、前記リノエクl−RE Jと同一時間帯の送信
フレーム(+2)の次から、時刻実行信号、+1および
+2のデータを再送する。このようにデータが自動的に
再送されてしまうので、時刻予告信号送信完了から時刻
実行信号の送信が完了するまでの時間はT、となり、設
定時間T、に比べて著しく長くなってしまう。このため
初送の時刻実行信号(×3の時点)で時刻合わせを行う
ことができず、再送された時刻実行信号で時刻合わせが
行われてしまい、大きな時間誤差(E)が生じる。
FIG. 6(b) shows a case where a transmission failure occurs at time x3, that is, a frame containing a time execution signal. In this case, the upstream side cannot receive the time execution signal, but receives +1 data, and since the transmission sequence number of that data is skipped, it can recognize that there is a transmission failure and issue a reject REJ. Make a retransmission request. Then, the downstream side retransmits the time execution signal, +1 and +2 data, starting from the next transmission frame (+2) in the same time zone as the Renoek l-RE J. Since the data is automatically retransmitted in this way, the time from the completion of transmission of the time advance signal to the completion of transmission of the time execution signal is T, which is significantly longer than the set time T. For this reason, time adjustment cannot be performed using the first time execution signal (time point x3), and time adjustment is performed using the retransmitted time execution signal, resulting in a large time error (E).

第6図(c)は、×5の時点すなわち時刻予告信号を含
んだフレームで伝送障害が生じたケースを示している。
FIG. 6(c) shows a case where a transmission failure occurs at the time point x5, that is, the frame containing the time advance signal.

このケースでは、上り側は時刻予告信号を受は取れず時
刻実行信号を受は取り、送信順序番号が飛んでいること
から伝送障害有りを認識することができ、リジェクトR
EJを発して再送要求を行う。すると下り側は前記リジ
ェクトREJと同一時間帯の送信フレーム(+1)の次
から、時刻予告信号2時刻実行信号および+1のデータ
を再送する(尚、再送時の時刻予告信号と時刻実行信号
は単に順番に再送されるだけであり、その時間差T、は
前記設定時間T、とは全く異なる)。このようにデータ
が自動的に再送されてしまうので、初送の時刻実行信号
送信時に時刻合わせを行うことができず、再送された時
刻実行信号で時刻合わせが行われてしまい、大きな時間
誤澄(E)が生じる。
In this case, the upstream side cannot receive the time advance signal but does receive the time execution signal, and since the transmission order number is skipped, it can recognize that there is a transmission failure, and reject R.
EJ is issued to request retransmission. Then, the downstream side retransmits the time advance signal 2 time execution signal and +1 data from the next transmission frame (+1) in the same time zone as the rejected REJ (note that the time advance signal and time execution signal at the time of retransmission are simply (The time difference T is completely different from the set time T.) Because the data is automatically retransmitted in this way, it is not possible to adjust the time when the first time execution signal is sent, and the time is adjusted using the retransmitted time execution signal, resulting in a large time error. (E) occurs.

第6図(d)は、×6の時点すなわち時刻予告信号の直
前に送信されるフレーム(−1のデータを含んだフレー
ム)で伝送障害が生じたケースを示している。このケー
スでは、上り側は−1のデータを受は取れず時刻予告信
号を受は取り、その送信順序番号が飛んでいることから
伝送障害有りを認識することができ、リジェクトREJ
を発して再送要求を行う。すると下り側は、時刻実行信
号の次から=11時刻予告信号および時刻実行信号のデ
ータを再送する。尚、この場合初送の時刻予告信号の送
信順序番号が飛んでいることから該信号は正常な時刻予
告信号として認識されず、このため初送の時刻実行信号
で時刻合わ仕は実行されない。このようにデータが自動
的に再送されてしまうので、初送の時刻実行信号送信時
に時刻合わせを行うことができず、再送された時刻実行
信号で時刻合わせが行われてしまい、大きな時間誤差(
E)が生じる。
FIG. 6(d) shows a case where a transmission failure occurs at a time point of x6, that is, a frame transmitted immediately before the time notice signal (a frame containing data of -1). In this case, the upstream side cannot receive the -1 data, but receives the time advance signal, and since the transmission sequence number is skipped, it can recognize that there is a transmission failure, and reject REJ.
to issue a retransmission request. Then, the downstream side retransmits the data of the time advance signal and the time execution signal from the time following the time execution signal =11. In this case, since the transmission order number of the first time notice signal is skipped, the signal is not recognized as a normal time notice signal, and therefore, time adjustment is not performed using the first time execution signal. Since the data is automatically retransmitted in this way, the time cannot be adjusted when the first time execution signal is sent, and the time is adjusted using the retransmitted time execution signal, resulting in a large time error (
E) occurs.

第6図(e)は、×7の時点すなわち時刻予告信号の2
個手前で送信されるフレーム(−2のデータを含んだフ
レーム)で伝送障害が生じたケースを示している。この
ケースでは、上り側は−2のデータを受は取れず−1の
データを受は取り、その送信順序番号が飛んでいること
から伝送障害有りを認識することができ、リジェクトR
EJを発して再送要求を行う。すると下り側は、時刻t
、。に示ずように時刻実行信号送信タイミングであるに
も拘わらず−2,−1および時刻予告信号のデータを再
送する。そして再送後に、前記時刻り、。で発信不能に
なっていた時刻実行信号が送信される。このように初送
の時刻予告信号と時刻実行信号との間に再送データが割
り込むので、正常に時刻実行信号が送信完了されるべき
時刻tllから長い誤差時間(E)が経過した時刻t1
.において時刻合わせが行われることになる。
FIG. 6(e) shows the time point of x7, that is, 2 of the time notice signal.
A case is shown in which a transmission failure occurs in a frame (a frame containing -2 data) that is transmitted before the first frame. In this case, the upstream side cannot receive data of -2, but receives data of -1, and since the transmission order number is skipped, it can recognize that there is a transmission failure, and reject R.
EJ is issued to request retransmission. Then, on the downward side, time t
,. As shown in FIG. 2, the data of -2, -1 and time advance signal are retransmitted even though it is the time to send the time execution signal. Then, after retransmission, the time is returned. The time execution signal, which could not be transmitted, is now transmitted. In this way, since retransmission data is inserted between the time advance signal sent for the first time and the time execution signal, the time t1 is a time when a long error time (E) has elapsed from the time tll when the transmission of the time execution signal should have been completed normally.
.. The time will be adjusted at

第6図(f)は、×12の時点、すなわち上り側の「2
」なるデータを含んだフレームで伝送障害が生じたケー
スを示している。このケースでは、下り側は2のデータ
を受は取れず3のデータを受は取り、その送信順序番号
が飛んでいることから伝送障害有りを認識することがで
き、時刻予告信号の次にリジェクトREJを発して再送
要求を行う。すると上り側は4のデータの次から2,3
および4のデータを再送する。ここで時刻予告信号と時
刻実行信号の間にリジェクトREJが介入したため、時
刻実行信号の送信完了時刻t14は正常に送信完了すべ
き時刻teaよりも時間誤差(E)分だけ遅れてしまう
。このため正確な時刻t13に時刻合わせを実行するこ
とができない(ただしこの場合の時間誤差(E)は僅か
である)。
FIG. 6(f) shows the time point of x12, that is, "2" on the upstream side.
” shows a case where a transmission failure occurred in a frame containing data. In this case, the downstream side cannot receive data 2, but receives data 3, and since the transmission order number is skipped, it can be recognized that there is a transmission failure, and the reject signal is sent after the time notice signal. Issues REJ to request retransmission. Then, on the upstream side, 2 and 3 data after data 4
and 4 data is retransmitted. Since the reject REJ intervenes between the time advance signal and the time execution signal, the transmission completion time t14 of the time execution signal is delayed by the time error (E) from the time tea when transmission should normally be completed. Therefore, it is not possible to perform time adjustment at accurate time t13 (however, the time error (E) in this case is small).

本発明は上記の点に鑑みてなされたものでその目的は、
HD L C方式で時刻情報の伝送を行うときに、伝送
障害が生じても時刻合わせに誤差が生じない時刻情報伝
送方式を提供することにある。
The present invention has been made in view of the above points, and its purpose is to:
An object of the present invention is to provide a time information transmission method that does not cause errors in time adjustment even if a transmission failure occurs when transmitting time information using an HD LC method.

21課題を解決するための手段および作用本発明は、伝
送障害発生時に情報を再送する機能を備えたハイレベル
データリンク制御手順に沿って、制御所から被制御所へ
又は集中制御所から制御所を経由して被制御所へ時刻情
報を伝送する時刻情報伝送方式において、送信側に、送
信情報が時刻情報であるか否かを判定する情報判定手段
を設けるとともに、受信側に、時刻予告信号が入力され
てから時刻実行信号が入力されるまでの経過時間を監視
し、該経過時間が設定時間と等しいか否かを判定する経
過時間判定手段を設け、送信情報が時刻情報であること
を前記情報判定手段が判定したときは、当該時刻情報の
再送を禁止し、前記経過時間が設定時間と等しくないこ
とを、前記経過時間判定手段が判定したときは、時刻情
報として取り扱わないことを特徴としている。
21 Means and Effects for Solving the Problems The present invention provides data links from a control center to a controlled center or from a centralized control center to a control center in accordance with a high-level data link control procedure that has a function of retransmitting information when a transmission failure occurs. In a time information transmission method that transmits time information to a controlled station via a time information transmission system, the transmitting side is provided with information determination means for determining whether or not the transmitted information is time information, and the receiving side is provided with a time advance signal. Elapsed time determining means is provided to monitor the elapsed time from when the time is input until the time execution signal is input, and to determine whether the elapsed time is equal to the set time, and to determine whether the transmitted information is time information. When the information determining means determines, retransmission of the time information is prohibited, and when the elapsed time determining means determines that the elapsed time is not equal to the set time, it is not treated as time information. It is said that

F、実施例 以下、図面を参照しながら本発明の一実施例を説明する
。本発明はHDLC方式によるデータ伝送において、送
信側に情報判定手段を設けるとともに受信側に経過時間
判定手段を設けるものであり、情報判定手段は第1図(
2L)に示すような処理を行う。第1図(1)において
まず送信情報が時刻情報であるか否かをステップS1で
判定する。
F. Embodiment Hereinafter, an embodiment of the present invention will be described with reference to the drawings. The present invention provides information determining means on the transmitting side and elapsed time determining means on the receiving side in data transmission using the HDLC system, and the information determining means is shown in FIG.
2L). In FIG. 1(1), it is first determined in step S1 whether the transmitted information is time information.

その結果送信情報が時刻情報である場合はステップS、
の再送機能無し送信とされ、時刻情報ではない場合はス
テップS3の再送機能付送信とされる。この場合情報判
定手段で判定を行った後、前述したレベル3以上の高レ
ベルによってデータを再送機能付きで送信するか再送機
能無しで送信するかを区別している。再送機能無しの場
合は送信側では送信順序番号をつけず、受信側でも送信
順序番号を認識しない。また再送要求を受信しても送信
側では再送しない。そして前記送信データを受は取ると
レベル1.2がデータの認識を行い、再送機能付データ
については再送要求が確立したときに再送要求し、再送
機能無しデータについてはその障害時には送信順序番号
がないため再送要求とならず、その而の再送機能付デー
タの障害による再送条件が確立しても再送を行わない。
As a result, if the transmission information is time information, step S;
If the information is not time information, transmission is performed without a retransmission function in step S3. In this case, after the information determination means makes a determination, it is determined whether the data is to be transmitted with or without the retransmission function depending on the high level of level 3 or higher described above. If there is no retransmission function, the sending side does not add a sending sequence number, and the receiving side does not recognize the sending sequence number either. Furthermore, even if a retransmission request is received, the transmitting side does not retransmit it. When the transmission data is received, Level 1.2 recognizes the data, requests retransmission for data with a retransmission function when a retransmission request is established, and for data without a retransmission function, the transmission sequence number is changed in the event of a failure. Therefore, no retransmission is requested, and even if retransmission conditions are established due to a failure of the data with retransmission function, retransmission will not be performed.

また経過時間判定手段は第1図(b)に示すような処理
を行う。第1図(b)においてまず入力データが時刻予
告信号であるか否かをステップS、で判定する。その結
果入力データが時刻予告信号である場合はステップS、
においてタイマーを起動する。また人力データが時刻予
告信号でない場合はステップS3において、時刻実行信
号であるか否かを判定する。その結果入力データが時刻
実行信号でない場合はステップS4において一般データ
として処理を行う。また入力データが時刻実行信号であ
る場合は、前記タイマーが起動されてから時刻実行信号
であると判定されるまでの経、適時間(すなわち時刻予
告信号が入力されてから時刻実行信号が人力されるまで
の時間)が所定の設定時間Tと等しいか否かを、ステッ
プS、において判定する。その結果前記経過時間が設定
時間Tと等しい場合は、人力データを時刻情報として取
り扱い、ステップSIlにおいて時刻合わせを実行する
とともに前記タイマーをリセットする。
Further, the elapsed time determining means performs processing as shown in FIG. 1(b). In FIG. 1(b), it is first determined in step S whether the input data is a time notice signal. As a result, if the input data is a time notice signal, step S;
Start the timer at . If the human input data is not a time advance signal, it is determined in step S3 whether it is a time execution signal. As a result, if the input data is not a time execution signal, it is processed as general data in step S4. In addition, if the input data is a time execution signal, the time elapsed from when the timer is activated until it is determined that it is a time execution signal is determined as follows: In step S, it is determined whether or not the time period (time until the end of the process) is equal to a predetermined set time T. As a result, if the elapsed time is equal to the set time T, the manual data is treated as time information, and in step SIl, time adjustment is performed and the timer is reset.

また前記経過時間が所定の設定時間Tと等しくない場合
は、入力データを時刻情報として取り扱わず、ステップ
S7において前記タイマーをリセットするとともに時刻
合わせは行わない。
If the elapsed time is not equal to the predetermined set time T, the input data is not treated as time information, the timer is reset in step S7, and no time adjustment is performed.

上記のように本発明の経過時間判定手段は、時刻予告信
号が入力されてから時刻実行信号が入力されるまでの経
過時間と設定時間Tを比較することにより、入力データ
を時刻情報として取り扱うか否かを決定するものである
から、具体的には前記設定時間Tを前述した第6図(a
)の時間T(正常に送信されたときの時刻予告信号と時
刻実行信号の時間間隔)に等しく設定しておけば良い。
As described above, the elapsed time determination means of the present invention treats the input data as time information by comparing the elapsed time from when the time notice signal is input until the time execution signal is input with the set time T. Specifically, the set time T is determined as shown in FIG. 6 (a).
) (the time interval between the time notice signal and the time execution signal when they are transmitted normally).

また、経過時間判定手段は第1図(C)のような手順で
時間を判定するものであっても良い。第1図(c)にお
いて、まず入力データが時刻予告信号であるか否かをス
テップS、で判定する。その結果人力データが時刻予告
信号である場合はステップS2においてタイマーを起動
し、次にステップS、において前記タイマーがタイムア
ツプしたか否かを判定する。また人力データが時刻予告
信号でない場合はステップS4において、時刻実行信号
であるか否かを判定する。その結果入力データが時刻実
行信号でない場合はステップS5において一般データと
して処理を行う。また入力データが時刻実行信号である
場合は、前記タイマーが起動されてから時刻実行信号で
あると判定されるまでの経過時間(すなわち時刻予告信
号が人力されてから時刻実行信号か入力されるまでの時
間)が所定の設定時間Tと等しいか否かを、ステップS
6において判定する。その結果前記経過時間が設定時間
Tと等しい場合は、入力データを時刻情報として取り扱
い、ステップS7において時刻合わせを実行するととも
に前記タイマーをリセットする。また前記経過時間が所
定の設定時間Tと等しくない場合は、入力データを時刻
情報とj、て取り扱わず、ステップS8において前記タ
イマーをリセットするとともに時刻合わせは行わない。
Further, the elapsed time determining means may be one that determines the time according to the procedure shown in FIG. 1(C). In FIG. 1(c), it is first determined in step S whether the input data is a time notice signal. As a result, if the human data is a time advance signal, a timer is activated in step S2, and then in step S it is determined whether or not the timer has timed up. If the human input data is not a time advance signal, it is determined in step S4 whether it is a time execution signal. As a result, if the input data is not a time execution signal, it is processed as general data in step S5. In addition, if the input data is a time execution signal, the elapsed time from when the timer is activated until it is determined that it is a time execution signal (i.e. from when the time advance signal is manually input to when the time execution signal is input) Step S
Judgment is made in step 6. As a result, if the elapsed time is equal to the set time T, the input data is treated as time information, and in step S7, time adjustment is performed and the timer is reset. If the elapsed time is not equal to the predetermined set time T, the input data is not treated as time information, and the timer is reset in step S8, and no time adjustment is performed.

前記ステップS、において、タイマーがタイムアツプし
ていないことを判定した場合はステップS4において時
刻実行信号であるか否かを判定する。
If it is determined in step S that the timer has not timed up, it is determined in step S4 whether or not it is a time execution signal.

またステップS3においてタイマーがタイムアツプした
ことを判定した場合はステップS8においてタイマーを
リセットするとともに時刻合わせは行わない。
If it is determined in step S3 that the timer has timed up, the timer is reset in step S8 and no time adjustment is performed.

尚、前記タイマーの動作時間T。は前記設定時間T1よ
りも長く設定しておくものである。このように設定して
おけば、後述する第7図(b)のケースのように時刻予
告信号が入力された後、時刻実行信号が入力されない場
合に有効である。
Incidentally, the operating time T of the timer. is set longer than the set time T1. Setting in this way is effective when the time execution signal is not input after the time advance signal is input, as in the case of FIG. 7(b), which will be described later.

上記のように設定した経過時間判定手段と首記情報判定
手段から成る本発明の伝送方式を前記第6図(2L)〜
(f)のケースにあてはめて見ると、フレーム送信状態
は第7図(a)〜(f)となる。
The transmission method of the present invention comprising the elapsed time determining means and the header information determining means set as described above is shown in FIGS.
When applied to the case (f), the frame transmission states become as shown in FIGS. 7(a) to (f).

まず第6図(2)の場合、再・送要求により再送される
データは+1以後のデータであり、それ以前の時刻情報
は再送されない。しかも時刻予告信号が入力されてから
時刻実行信号が入力されるまでの経過時間は設定時間T
、と等しいので、第7図(a)に示すように送信された
時刻実行信号によって時刻合わせが行われ、何ら問題は
ない。
First, in the case of FIG. 6(2), the data retransmitted by the retransmission request is the data after +1, and the time information before that is not retransmitted. Moreover, the elapsed time from when the time notice signal is input until when the time execution signal is input is the set time T.
, so the time is adjusted by the transmitted time execution signal as shown in FIG. 7(a), and there is no problem.

次に第6図(b)のように伝送障害により下り側から送
信される時刻実行信号が欠落した場合は、送信順序番号
の欠落とはならず第7図(b)の如く上り側でリジェク
ト信号は発せられない。このため時刻予告信号のみの受
信となり、第1図(C)のステップS3で述べたように
タイマーがタイムアツプするので、誤った時刻にて時刻
合わせが実行されてしまうことはない。この場合時刻合
わせができないが、時計の精度を十分に高めておけば次
の周期で送信される時刻実行信号によって時刻合わせを
行うようにすれば良い。
Next, if the time execution signal transmitted from the downstream side is lost due to a transmission failure as shown in Figure 6(b), the transmission sequence number is not lost and is rejected on the upstream side as shown in Figure 7(b). No signal is emitted. Therefore, only the time advance signal is received, and the timer times up as described in step S3 of FIG. 1(C), so that time adjustment will not be performed at an incorrect time. In this case, the time cannot be set, but if the precision of the clock is sufficiently improved, the time can be set using the time execution signal transmitted in the next cycle.

また、第6図(c)のように時刻予告信号が欠落した場
合も、前記同様に送信順序番号の欠落とはならず上り側
でリジェクト信号が発せられない。
Furthermore, even if the time notice signal is missing as shown in FIG. 6(c), the transmission order number is not lost as described above and no reject signal is issued on the upstream side.

このため第7図(c)のように時刻実行信号のみの受信
となり、誤った時刻にて時刻合わせが実行されてしまう
ことはない。
Therefore, as shown in FIG. 7(c), only the time execution signal is received, and time adjustment will not be performed at an incorrect time.

また、第6図(d)の場合、時刻予告信号前の1のデー
タ障害に対する再送要求に対し時刻予告信号および時刻
実行信号は第7図(d)の如く再送されず、−1,+1
.+2のデータのみが再送される。このため時刻予告信
号が入力されてから時刻実行信号が入力されるまでの時
間は、経過時間判定手段(第1図(b)のステップS、
又は第1図(c)のステップ5Il)によって設定時間
T1と等しいことが判定される。これによって時刻合わ
仕は正しく実行される。
In the case of FIG. 6(d), the time advance signal and the time execution signal are not retransmitted as shown in FIG.
.. Only +2 data is retransmitted. Therefore, the time from when the time notice signal is input to when the time execution signal is input is determined by the elapsed time determining means (step S in FIG. 1(b)).
Alternatively, it is determined in step 5Il) of FIG. 1(c) that the time is equal to the set time T1. This allows time adjustment to be performed correctly.

また第6図(e)の場合、時刻予告信号は定刻どおり入
力されるが、上り側でリジェクト信号か発せられるため
、下り側は第7図(e)の如く−2,−1のデータを再
送した後に時刻実行信号を送信する。このため時刻予告
信号が人力されてから時刻実行信号が入力されるまでの
時間’I”I+は、経過時間判定手段によって設定時間
T1と等しくない(T I < T I + )ことが
判定される。これによって再送データ(−2,−1)の
直後に送信される時刻実行信号は時刻情報として取り扱
われず、誤った時刻にて時刻合わせが実行されてしまう
ことはない。
In the case of Figure 6(e), the time notice signal is input on time, but a reject signal is issued on the upstream side, so the downstream side receives data of -2 and -1 as shown in Figure 7(e). After retransmitting, a time execution signal is sent. Therefore, the elapsed time determining means determines that the time 'I'' I+ from when the time advance signal is manually input until the time execution signal is input is not equal to the set time T1 (T I < T I +). As a result, the time execution signal transmitted immediately after the retransmission data (-2, -1) is not treated as time information, and time adjustment will not be performed at an incorrect time.

また第6図、第7図(f)の場合、リジェクトREJの
介入により時刻実行信号の入力が定刻より若干遅れるた
め、時刻予告信号が入力されてから時刻実行信号が人力
されるまでの時間T8は、経過時間判定手段によって設
定時間T、と等しくない(TI<Te)ことが判定され
る。これによって時刻仁、4において人力される時刻実
行信号は時刻情報として取り扱われず、誤った時刻にて
時刻合わせが実行されてしまうことはない。尚、前記時
間T、とTIlの差が極めて小さい場合、判定の精度に
よってはT + −T。と判定することもあり得るが、
このような場合に時刻合わせを行ったとじてもその誤差
は極めて小さいため何ら問題はない。
In addition, in the case of FIGS. 6 and 7(f), the input of the time execution signal is slightly delayed from the scheduled time due to the intervention of the reject REJ, so the time T8 from when the time advance signal is input until the time execution signal is input manually The elapsed time determining means determines that T is not equal to the set time T (TI<Te). As a result, the time execution signal input manually at time 4 is not treated as time information, and time adjustment will not be performed at an incorrect time. Note that if the difference between the time T and TIl is extremely small, T + -T depending on the accuracy of the determination. Although it may be determined that
Even if the time is adjusted in such a case, there is no problem because the error is extremely small.

尚、情報判定手段の判定結果により再送機能無しで送信
するためには、複数の相手局に共通のコマンドを受信で
きるようアドレスを第2図のようなオールrlJのビッ
トで構成したグローバルアドレスフレームにするか、制
御部を非番号制形式で構成する非番号制フレームにして
も良い。又別法としてトランスペアレントモードで伝送
する方法があるが、これはモード切替を行う必要があり
実用的ではない。時刻合わせ信号については複数の相手
局に対し同時・に信号を送ることのできるグローバルア
ドレス方式の方が便利である。
In addition, in order to transmit without the retransmission function based on the judgment result of the information judgment means, the address must be a global address frame consisting of all rlJ bits as shown in Figure 2 so that a common command can be received by multiple partner stations. Alternatively, the control section may be a non-numbered frame configured in a non-numbered format. Another method is to transmit in transparent mode, but this requires mode switching and is not practical. For time adjustment signals, it is more convenient to use the global address method, which allows signals to be sent to multiple partner stations at the same time.

G8発明の効果 以上のように本発明によれば、時刻情報については再送
を行わないようにするとともに、時刻予告信号が入力さ
れてから時刻実行信号が入力されるまでの経過時間が設
定時間と等しくない場合は、時刻情報として取り扱わな
いようにしたので、1(D L C方式でデータ伝送を
行う場合、伝送障害が発生しても遠方監視制御所の各制
御所間及び各被制御所間で時刻台イつせや時刻管理の誤
差が生じないという優れた効果が得られる。しかも伝送
障害発生時にデータを再送できるというHDLC方式の
利点は何ら損なうことがない。
G8 Effects of the Invention As described above, according to the present invention, time information is not retransmitted, and the elapsed time from when the time advance signal is input until when the time execution signal is input is set as the set time. If they are not equal, they are not treated as time information, so when data is transmitted using the 1 (DLC method), even if a transmission failure occurs, the time information is not treated as time information. This provides an excellent effect in that no time clock corruption or time management errors occur.Furthermore, the advantage of the HDLC method, which is that data can be retransmitted in the event of a transmission failure, is not impaired in any way.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図(a)は本発明の情報判定手段の一実施例を示す
フローヂャート、第1図(b)は本発明の経過時間判定
手段の一実施例を示すフローヂャート、第1図(c)は
経過時間判定手段の池の実施例を示すフローヂャート、
第2図はグローバルアドレスのビット構成を示す説明図
、第3図は伝送方式における責任分担レベルを示す説明
図、第4図はHD L C方式の伝送フォーマットを示
すフレーム構成図、第5図は伝送障害発生時のHD L
C方式による伝送形態を示すタイムチャート、第6図(
+L)〜(f、)は従来例の各フレーム送信状態を説明
するためのタイムチャート、第7図(a)〜(f)は本
発明を適用した場合の各フレーム送信状態を説明するた
めのタイムチャートである。 第1図(C) ボ艷j野下テ開セ1泉−呼ヂ乏のメニQ実許シ′列zj
LナフローナY−)第2図 プローパルアドレス0ビ・ノド講fX、圓しヘ゛)し7
I 第4図 フレーム才青威図 円 H 円 月 ド 四
FIG. 1(a) is a flowchart showing an embodiment of the information determining means of the present invention, FIG. 1(b) is a flowchart showing an embodiment of the elapsed time determining means of the present invention, and FIG. 1(c) is a flowchart showing an embodiment of the information determining means of the present invention. Flowchart showing an embodiment of the pond of the elapsed time determining means,
Fig. 2 is an explanatory diagram showing the bit structure of a global address, Fig. 3 is an explanatory diagram showing the responsibility sharing level in the transmission method, Fig. 4 is a frame configuration diagram showing the transmission format of the HD LC method, and Fig. 5 is an explanatory diagram showing the transmission format of the HD LC method. HD L when transmission failure occurs
Time chart showing the transmission form using C method, Fig. 6 (
+L) to (f,) are time charts for explaining each frame transmission state in the conventional example, and FIGS. 7(a) to (f) are time charts for explaining each frame transmission state when the present invention is applied. This is a time chart. Fig. 1 (C) BO 艷j ノ下 te opening 1 spring - Meni Q actual license sequence zz of poor name
Lnafrona Y-) Figure 2 Propal address 0 bi-nod scheme fX, circle head) 7
I Figure 4 Frame Saiseizu Circle H Engetsu Do 4

Claims (1)

【特許請求の範囲】[Claims] (1)伝送障害発生時に情報を再送する機能を備えたハ
イレベルデータリンク制御手順に沿って、制御所から被
制御所へ又は集中制御所から制御所を経由して被制御所
へ時刻情報を伝送する時刻情報伝送方式において、 送信側に、送信情報が時刻情報であるか否かを判定する
情報判定手段を設けるとともに、 受信側に、時刻予告信号が入力されてから時刻実行信号
が入力されるまでの経過時間を監視し、該経過時間が設
定時間と等しいか否かを判定する経過時間判定手段を設
け、 送信情報が時刻情報であることを前記情報判定手段が判
定したときは、当該時刻情報の再送を禁止し、 前記経過時間が設定時間と等しくないことを、前記経過
時間判定手段が判定したときは、時刻情報として取り扱
わないことを特徴とする時刻情報伝送方式。
(1) Time information is transmitted from the control center to the controlled station, or from the central control center to the controlled station via the control center, in accordance with a high-level data link control procedure that has a function to retransmit information in the event of a transmission failure. In the time information transmission method, the transmitting side is provided with an information determining means for determining whether or not the transmitted information is time information, and the receiving side is provided with an information determination means for determining whether or not the transmitted information is time information, and a time execution signal is input to the receiving side after the time advance signal is input. elapsed time determining means for monitoring the elapsed time until the time elapsed and determining whether or not the elapsed time is equal to the set time, and when the information determining means determines that the transmitted information is time information, A time information transmission system, characterized in that retransmission of time information is prohibited, and when the elapsed time determining means determines that the elapsed time is not equal to a set time, it is not treated as time information.
JP63190895A 1988-07-29 1988-07-29 Time information transmission method Expired - Lifetime JP2581181B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63190895A JP2581181B2 (en) 1988-07-29 1988-07-29 Time information transmission method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63190895A JP2581181B2 (en) 1988-07-29 1988-07-29 Time information transmission method

Publications (2)

Publication Number Publication Date
JPH0239748A true JPH0239748A (en) 1990-02-08
JP2581181B2 JP2581181B2 (en) 1997-02-12

Family

ID=16265513

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63190895A Expired - Lifetime JP2581181B2 (en) 1988-07-29 1988-07-29 Time information transmission method

Country Status (1)

Country Link
JP (1) JP2581181B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000324570A (en) * 1999-05-14 2000-11-24 Mitsubishi Electric Corp Remote monitor control system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000324570A (en) * 1999-05-14 2000-11-24 Mitsubishi Electric Corp Remote monitor control system

Also Published As

Publication number Publication date
JP2581181B2 (en) 1997-02-12

Similar Documents

Publication Publication Date Title
US10025738B2 (en) Time and event based message transmission
US4584684A (en) Data transmission method
JPS59218064A (en) Token access controller for controlling transmission of information field by network
JPH02228147A (en) Data link control method
JPS58221543A (en) Time locking method and communication channel network for executing same method
CN100378704C (en) Method and apparatus for optimizing timing for a multi-drop bus
JPH0239748A (en) Time information transmission system
JPH0239747A (en) Time information transmission system
JPH01317044A (en) Time information transmission system
US10324491B2 (en) Reducing time of day latency variation in a multi-processor system
JPH0239746A (en) Time information transmission system
JPS6071981A (en) Remote time setting system
JPS6364444A (en) Data transmission system
US10969822B2 (en) Reducing time of day latency variation in a multi processor system
JPS61237544A (en) Asynchronous serial transmission system
JPH06252895A (en) Data transmission system
JPS59225646A (en) Time division multiplex transmission system
JPH0160853B2 (en)
JPS59158158A (en) Data transmission system of multiple address communication
JPS6179344A (en) Resending controlling system
JPS59158155A (en) Data transfer system of multiple address communication
JPS60254947A (en) Communication controller
JPS5863248A (en) Loop type data transmitting system
KR100334190B1 (en) Multistation communication bus system and master station used for it
JPS59158157A (en) Data transmission system of multiple address communication