JP2712284B2 - Erroneous data output prevention method at the time of line switching of data transmission equipment - Google Patents

Erroneous data output prevention method at the time of line switching of data transmission equipment

Info

Publication number
JP2712284B2
JP2712284B2 JP11761788A JP11761788A JP2712284B2 JP 2712284 B2 JP2712284 B2 JP 2712284B2 JP 11761788 A JP11761788 A JP 11761788A JP 11761788 A JP11761788 A JP 11761788A JP 2712284 B2 JP2712284 B2 JP 2712284B2
Authority
JP
Japan
Prior art keywords
data
frame signal
unit
output
input
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.)
Expired - Lifetime
Application number
JP11761788A
Other languages
Japanese (ja)
Other versions
JPH01288033A (en
Inventor
哲也 渕
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP11761788A priority Critical patent/JP2712284B2/en
Publication of JPH01288033A publication Critical patent/JPH01288033A/en
Application granted granted Critical
Publication of JP2712284B2 publication Critical patent/JP2712284B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)

Description

【発明の詳細な説明】 〔概 要〕 テレメータリング・システム等で使用されるデータ伝
送装置の入力回線の切り替え時における誤データ出力防
止方式に関し、 上記データ伝送装置において、回線切り替え時に誤デ
ータを出力せず、高信頼度の装置を実現する回線切り替
え時における誤データ防止方式を提供することを目的と
し、 現用及び予備回線から、周期的にフレーム信号を含み
フレーム信号の単位で入力するデータの一方を選択する
回線切り替え部と、回線切り替え部の出力に接続され、
入力データの正常か否かの判定を行い正常と判定した時
には入力データを出力するデータ判定部と、データ判定
部の出力に接続され、データ判定部の出力を記憶する記
憶部とを有する伝送装置において、データ判定部に、フ
レーム信号を検出した時にはフレーム信号の単位に含ま
れるデータを出力し、フレーム信号を検出しない時で、
かつデータを含むフレーム信号を不良と判定した時には
フレーム信号の単位に含まれるデータを出力せず、フレ
ーム信号を正常と判定した時にはフレーム信号の単位に
含まれるデータを出力する第2のデータ判定部を付加
し、回線切り替え部において一方から他方に切り替えた
時に、誤データの出力を防止するように構成する。
DETAILED DESCRIPTION OF THE INVENTION [Summary] The present invention relates to a method for preventing erroneous data output when switching an input line of a data transmission device used in a telemetering system or the like. The purpose of the present invention is to provide a method for preventing erroneous data at the time of line switching that realizes a highly reliable device without using a frame signal that is periodically input from a working or protection line and includes a frame signal. And a line switching unit for selecting the
A transmission apparatus comprising: a data determination unit that outputs input data when it is determined that input data is normal and determines that the input data is normal; and a storage unit that is connected to an output of the data determination unit and stores an output of the data determination unit. In the data determination unit, when a frame signal is detected, the data included in the unit of the frame signal is output, and when the frame signal is not detected,
A second data determination unit that does not output the data included in the unit of the frame signal when the frame signal including the data is determined to be defective, and outputs the data included in the unit of the frame signal when the frame signal is determined to be normal; Is added to prevent the output of erroneous data when the line switching unit switches from one to the other.

〔産業上の利用分野〕[Industrial applications]

本発明は、テレメータリング・システム等で使用され
るデータ伝送装置の入力回線の切り替え時における誤デ
ータ出力防止方式の改良に関するものである。
The present invention relates to an improvement in a method for preventing erroneous data output when switching an input line of a data transmission device used in a telemetering system or the like.

この際、上記データ伝送装置において、回線切り替え
時に誤データを出力せず、高信頼度の装置を実現する回
線切り替え時における誤データ防止方式が要望されてい
る。
At this time, in the data transmission device, there is a demand for a method for preventing erroneous data at the time of line switching that realizes a highly reliable device without outputting erroneous data at the time of line switching.

〔従来の技術〕[Conventional technology]

第5図は一例の端末回線のデータ伝送形式を示す図で
ある。
FIG. 5 is a diagram showing a data transmission format of an example terminal line.

第6図は従来例のデータ伝送装置の構成ブロック図で
ある。
FIG. 6 is a block diagram showing the configuration of a conventional data transmission apparatus.

第7図は従来例の動作を説明するフローチャートであ
る。
FIG. 7 is a flowchart for explaining the operation of the conventional example.

例えば、テレメータリング・システムにおいて、測定
したデータを端末装置からセンタの計算機に転送する場
合、第6図に示す端末装置1に入力したデータは同端末
装置1内に設けたハイブリッド回路(以下Hと称する)
1−5において、同一データが現用側と予備側に分岐さ
れる。上記データが現用及び予備の回線を介して、第5
図に示すデータ形式でデータ伝送装置2に転送されてく
る。
For example, in a telemetering system, when transferring measured data from a terminal device to a computer at a center, data input to the terminal device 1 shown in FIG. Name)
At 1-5, the same data is branched to the working side and the protection side. The above data is transferred to the fifth line via the working and protection lines.
The data is transmitted to the data transmission device 2 in the data format shown in FIG.

第5図に示すデータ伝送形式は、#1〜#nのn個の
ワードの集まりにフレームアドレスを付加して1つのフ
レームとしている。各ワードは数10ビットで構成してい
る(ワードアドレス+データ)。そして、上記#1〜#
mのm個のフレームを周期的に繰り返すことにより転送
している。
In the data transmission format shown in FIG. 5, a frame address is added to a group of n words # 1 to #n to form one frame. Each word is composed of several tens of bits (word address + data). Then, the above # 1 to #
The transfer is performed by repeating m frames of m periodically.

伝送装置2において、例えば現用回線を使用している
場合上記データを回線断検出部2−11に入力し、現用回
線に障害が発生していないことを確認した後、スイッチ
の接点2−2に入力し、一方のルートを選択して(今の
場合現用側)端末回線受信部2−3に入力する。端末回
線受信部2−3内のデータ判定部2−31においてデータ
が正常か否かの判定(パリティ等のチェック)を行い、
正常の時にはデータをバッファメモリ2−32に記憶す
る。一方、誤データと判定した時には上記データを記憶
せず廃棄する。
In the transmission device 2, for example, when the working line is used, the above data is input to the line disconnection detection unit 2-11, and after confirming that no failure has occurred in the working line, the data is transmitted to the contact 2-2 of the switch. Then, one of the routes is selected (in this case, the working side) and input to the terminal line receiver 2-3. The data determining unit 2-31 in the terminal line receiving unit 2-3 determines whether the data is normal (checks parity or the like),
When the data is normal, the data is stored in the buffer memory 2-32. On the other hand, when it is determined that the data is erroneous, the data is discarded without being stored.

そしてバッファメモリ2−32の出力を処理部2−4に
入力し、入力データを並列のデータ(例えば16ビット)
に変換して1フレーム単位にパケットに組み立てて、出
力を計算機回線部2−5に入力する。計算機回線部2−
5において並列のデータを直列のデータに変換し、伝送
路を介してセンタの計算機3に転送していた。
The output of the buffer memory 2-32 is input to the processing unit 2-4, and the input data is converted into parallel data (for example, 16 bits).
And assembles them into packets in units of one frame, and inputs the output to the computer line unit 2-5. Computer line 2-
In 5, the parallel data is converted into serial data and transferred to the computer 3 of the center via the transmission path.

又、現用回線に障害が発生した時には回線断検出部2
−11においてこれを検出し、出力制御信号によりスイッ
チの接点2−2を予備回線側に切り替えてデータの受信
を行うようにしていた。
When a failure occurs in the working line, the line disconnection detecting unit 2
At -11, this is detected, and the data is received by switching the contact 2-2 of the switch to the protection line by the output control signal.

尚、第7図に上記動作をフローチャートにより説明し
ている。
FIG. 7 illustrates the above operation with a flowchart.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

しかしながら上述のデータ伝送装置においては、スイ
ッチの接点が例えば予備回線側に切り替わった場合、切
り替わる途中で受信したデータにはビットが欠けること
があり、端末回線受信部でデータエラーなどを検出し当
該データを記憶部に記憶せず、次に正常に受信するワー
ドのデータから処理を行っていた。
However, in the data transmission device described above, when the contact of the switch is switched to, for example, the protection line side, the data received during the switching may lack bits, and the terminal line receiving unit detects a data error or the like and detects the data error. Is not stored in the storage unit, and processing is performed from the data of the next normally received word.

ところが、フレームアドレスを示すデータを受信中に
スイッチの接点が切り替わった時には、フレームアドレ
スがエラーとなって受信されないことになる。したがっ
て次に受信したワード(#1ワード)は、フレームが変
わっているにもかかわらず、前のフレームアドレスのデ
ータとして処理されることになり、結果的にセンターの
計算機に対して誤データを出力するという問題点を生じ
ていた。
However, when the contact point of the switch is switched while receiving the data indicating the frame address, the frame address becomes an error and is not received. Therefore, the next received word (# 1 word) is processed as the data of the previous frame address despite the change of the frame, and as a result, erroneous data is output to the computer at the center. Had the problem of doing so.

したがって本発明の目的は、上記データ伝送装置にお
いて、回線切り替え時に誤データを出力せず、高信頼度
の装置を実現する回線切り替え時における誤データ防止
方式を提供することにある。
SUMMARY OF THE INVENTION It is therefore an object of the present invention to provide an erroneous data prevention method at the time of line switching that realizes a highly reliable device without outputting erroneous data at the time of line switching in the data transmission device.

〔課題を解決するための手段〕[Means for solving the problem]

上記問題点は第1図に示す装置の構成図によって解決
される。
The above problem is solved by the configuration diagram of the apparatus shown in FIG.

即ち第1図において、現用及び予備回線から、周期的
にフレーム信号を含みフレーム信号の単位で入力するデ
ータの一方を選択する回線切り替え部220と、該回線切
り替え部の出力に接続され、該入力データの正常か否か
の判定を行い正常と判定した時には該入力データを出力
するデータ判定部231と、該データ判定部の出力に接続
され、該データ判定部の出力を記憶する記憶部231とを
有する伝送装置において、 233は、該データ判定部に付加され、該入力データが
フレーム信号か否かを判定し、該入力データがフレーム
信号であって、かつ該フレーム信号を正常と判定した時
には該フレーム信号の単位に含まれるデータを出力対象
とし、 該入力データがフレーム信号ではなく、かつ該入力デ
ータの直前に入力したフレーム信号を不良と判定した時
には、該フレーム信号の単位に含まれるデータを出力せ
ず、該入力データがフレーム信号ではなく、かつ該入力
データの直前に入力したフレーム信号を正常と判定した
時には、該フレーム信号の単位に含まれるデータを出力
する第2のデータ判定部である。
That is, in FIG. 1, a line switching unit 220 for periodically selecting one of data to be input in units of frame signals including a frame signal from the working and protection lines, and connected to an output of the line switching unit, A data determination unit 231 that determines whether the data is normal or not and outputs the input data when the data is determined to be normal; and a storage unit 231 that is connected to the output of the data determination unit and stores the output of the data determination unit. 233 is added to the data determination unit to determine whether the input data is a frame signal, and when it is determined that the input data is a frame signal and the frame signal is normal, The data included in the unit of the frame signal is set as an output target, and the input data is not a frame signal, and the frame signal input immediately before the input data is determined to be defective. Does not output the data included in the unit of the frame signal, and when it is determined that the input data is not a frame signal and the frame signal input immediately before the input data is normal, the unit of the frame signal is It is a second data determination unit that outputs included data.

そして、回線切り替え部において一方から他方に切り
替えた時に、誤データの出力を防止するようにする。
Then, when the line switching unit switches from one to the other, output of erroneous data is prevented.

〔作 用〕(Operation)

第1図において、データ判定部に付加された第2のデ
ータ判定部233において、入力データをフレーム信号と
判定し、かつフレーム信号を正常と判定した時には、フ
レーム信号の単位に含まれるデータを出力対象とする。
In FIG. 1, when a second data determination unit 233 added to the data determination unit determines that the input data is a frame signal and determines that the frame signal is normal, it outputs data included in the unit of the frame signal. set to target.

また、入力データがフレーム信号ではなく、かつ該入
力データの直前に入力したフレーム信号を不良と判定し
た時には、該フレーム信号の単位に含まれるデータを出
力しない。
If the input data is not a frame signal and the frame signal input immediately before the input data is determined to be defective, the data included in the unit of the frame signal is not output.

また、入力データがフレーム信号ではなく、かつ該入
力データの直前に入力したフレーム信号を正常と判定し
た時には、該フレーム信号の単位に含まれるデータを出
力する。
When the input data is not a frame signal and the frame signal input immediately before the input data is determined to be normal, data included in the unit of the frame signal is output.

この結果、フレーム信号を受信中に回線を切り替えた
時、フレーム信号にエラーが発生しフレーム信号が不良
と判定されるが、この時には上述したようにフレーム信
号の単位に含まれるデータを出力せず、伝送装置から誤
データを出力しないようにすることができる。
As a result, when the line is switched while receiving the frame signal, an error occurs in the frame signal and the frame signal is determined to be defective, but at this time, the data included in the unit of the frame signal is not output as described above. In addition, erroneous data can be prevented from being output from the transmission device.

〔実施例〕〔Example〕

第2図は本発明の実施例のデータ伝送装置の構成ブロ
ック図である。
FIG. 2 is a configuration block diagram of a data transmission device according to the embodiment of the present invention.

第3図は実施例の動作を説明する図である。 FIG. 3 is a diagram for explaining the operation of the embodiment.

第4図は本発明の動作を説明するフローチャートであ
る。
FIG. 4 is a flowchart illustrating the operation of the present invention.

全図を通じて同一符号は同一対象物を示す。 The same reference numerals indicate the same objects throughout the drawings.

第2図において、第5図に示すデータ形式のデータを
端末装置10内に設けたH15で分岐して、現用及び予備の
回線を介してデータ伝送装置20で受信する。受信データ
は同装置20内の回線断検出部21−1(又は21−2)及び
スイッチの接点22を介して、端末回線受信部23内のデー
タ判定部23−1に入力される。データ判定部23−1にお
いて正常データか否かの判定(パリティ等のチェック)
を行い、誤データと判定した時には上記データをバッフ
ァメモリ23−2に記憶せず廃棄する。
In FIG. 2, data in the data format shown in FIG. 5 is branched at H15 provided in the terminal device 10 and received by the data transmission device 20 via working and protection lines. The received data is input to the data determination unit 23-1 in the terminal line receiving unit 23 via the line disconnection detecting unit 21-1 (or 21-2) in the device 20 and the contact 22 of the switch. The data determination unit 23-1 determines whether or not the data is normal (parity check, etc.)
When the data is determined to be erroneous, the data is discarded without being stored in the buffer memory 23-2.

一方、正常と判定した時にはデータ判定部23−1内の
フレームアドレス判定部23−3において、データがフレ
ームアドレスを示すデータ、又はワードのデータかを判
定し、フレームアドレスと判定しかつフレームアドレス
が正常と判定した時には第3図に示すように(第2フレ
ーム)、そのフレームアドレス(第3図ではフレームア
ドレス#2)及び#1〜#nのワードのデータを、第2
図に示すバッファメモリ23−2内の#2フレーム用バッ
ファメモリ(図示しない)の該当するアドレスに記憶す
る。
On the other hand, when it is determined that the data is normal, the frame address determination unit 23-3 in the data determination unit 23-1 determines whether the data is data indicating a frame address or word data. When it is determined that the data is normal, as shown in FIG. 3 (second frame), the frame address (frame address # 2 in FIG. 3) and the data of the words # 1 to #n are stored in the second frame.
The data is stored at a corresponding address in a buffer memory (not shown) for the # 2 frame in the buffer memory 23-2 shown in the figure.

今、第1フレームのフレームアドレスを示したデータ
を受信中に、回線断検出部21−1が現用回線の断等の異
常を検出してスイッチの接点22が予備回線へ切り替わっ
たとすると、フレームアドレスを示すデータにエラーが
発生し、第3図に示すように第1フレームの各ワードは
バッファメモリ23−2に記憶せず、フレームアドレス判
定部23−3においてすべて廃棄される。
Assume that the line disconnection detecting unit 21-1 detects an abnormality such as disconnection of the working line while the data indicating the frame address of the first frame is being received and the contact 22 of the switch is switched to the protection line. An error occurs in the data indicating, and as shown in FIG. 3, each word of the first frame is not stored in the buffer memory 23-2, but is entirely discarded in the frame address determination unit 23-3.

したがってバッファメモリ23−2内の#1フレーム用
バッファメモリはデータが更新されず、センターの計算
機へは前に更新された時のデータで出力する。以上のよ
うにして誤データの出力が防止される。
Therefore, the data in the # 1 frame buffer memory in the buffer memory 23-2 is not updated, and is output to the center computer with the data that was previously updated. As described above, output of erroneous data is prevented.

尚、上記動作を第4図にフローチャートにより示す。 The above operation is shown by a flowchart in FIG.

〔発明の効果〕〔The invention's effect〕

以上説明のように本発明によれば、上記データ伝送装
置において、回線切り替え時に誤データを出力せず、高
信頼度の装置を実現することができる。
As described above, according to the present invention, it is possible to realize a highly reliable device that does not output erroneous data at the time of line switching in the data transmission device.

【図面の簡単な説明】[Brief description of the drawings]

第1図は本発明の原理図、 第2図は本発明の実施例のデータ伝送装置の構成ブロッ
ク図、 第3図は実施例の動作を説明する図、 第4図は実施例の動作を説明するフローチャート、 第5図は一例の端末回線のデータ伝送形式を示す図、 第6図は従来例のデータ伝送装置の構成ブロック図、 第7図は従来例の動作を説明するフローチャートであ
る。 図において、 233は第2のデータ判定部 を示す。
1 is a principle diagram of the present invention, FIG. 2 is a block diagram showing the configuration of a data transmission apparatus according to an embodiment of the present invention, FIG. 3 is a diagram for explaining the operation of the embodiment, and FIG. FIG. 5 is a diagram showing a data transmission format of an example terminal line, FIG. 6 is a block diagram showing the configuration of a conventional data transmission device, and FIG. 7 is a flowchart explaining the operation of the conventional example. In the figure, reference numeral 233 denotes a second data determination unit.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】現用及び予備回線から、周期的にフレーム
信号を含みフレーム信号の単位で入力するデータの一方
を選択する回線切り替え部(220)と、該回線切り替え
部の出力に接続され、該入力データの正常か否かの判定
を行い正常と判定した時には該入力データを出力するデ
ータ判定部(231)と、該データ判定部の出力に接続さ
れ、該データ判定部の出力を記憶する記憶部(232)と
を有する伝送装置において、 該データ判定部に、 該入力データがフレーム信号か否かを判定し、 該入力データがフレーム信号であって、かつ該フレーム
信号を正常と判定した時には該フレーム信号の単位に含
まれるデータを出力対象とし、 該入力データがフレーム信号ではなく、かつ該入力デー
タの直前に入力したフレーム号を不良と判定した時に
は、該フレーム信号の単位に含まれるデータを出力せ
ず、 該入力データがフレーム信号ではなく、かつ該入力デー
タの直前に入力したフレーム信号を正常と判定した時に
は、該フレーム信号の単位に含まれるデータを出力する
第2のデータ判定部(233)を付加し、 該回線切り替え部において一方から他方に切り替えた時
に、誤データの出力を防止するようにしたことを特徴と
するデータ伝送装置の回線切り替え時における誤データ
出力防止方式。
1. A line switching unit (220) for periodically selecting one of data which includes a frame signal and is input in a unit of a frame signal from a working line and a protection line, and is connected to an output of the line switching unit. A determination is made as to whether or not the input data is normal, and when it is determined that the input data is normal, a data determination unit (231) that outputs the input data, and a storage that is connected to an output of the data determination unit and stores an output of the data determination unit A transmission unit having a unit (232), wherein the data determination unit determines whether the input data is a frame signal, and determines that the input data is a frame signal and determines that the frame signal is normal. When the data contained in the unit of the frame signal is to be output, and the input data is not a frame signal and the frame number input immediately before the input data is determined to be defective, the frame is output. When the data included in the unit of the frame signal is not output and the input data is not a frame signal and the frame signal input immediately before the input data is determined to be normal, the data included in the unit of the frame signal is output. A second data determination unit (233) for output is added to prevent output of erroneous data when switching from one to the other in the line switching unit. Erroneous data output prevention method.
JP11761788A 1988-05-13 1988-05-13 Erroneous data output prevention method at the time of line switching of data transmission equipment Expired - Lifetime JP2712284B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11761788A JP2712284B2 (en) 1988-05-13 1988-05-13 Erroneous data output prevention method at the time of line switching of data transmission equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11761788A JP2712284B2 (en) 1988-05-13 1988-05-13 Erroneous data output prevention method at the time of line switching of data transmission equipment

Publications (2)

Publication Number Publication Date
JPH01288033A JPH01288033A (en) 1989-11-20
JP2712284B2 true JP2712284B2 (en) 1998-02-10

Family

ID=14716189

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11761788A Expired - Lifetime JP2712284B2 (en) 1988-05-13 1988-05-13 Erroneous data output prevention method at the time of line switching of data transmission equipment

Country Status (1)

Country Link
JP (1) JP2712284B2 (en)

Also Published As

Publication number Publication date
JPH01288033A (en) 1989-11-20

Similar Documents

Publication Publication Date Title
JP2732674B2 (en) Data transmission equipment
JP2712284B2 (en) Erroneous data output prevention method at the time of line switching of data transmission equipment
JPH0563683A (en) Redundancy system switching device for digital transmission
JPS62109441A (en) Data transmission system
JP2954027B2 (en) Time division multiplex relay system
US4887268A (en) Error checking apparatus
JP2746280B2 (en) Monitoring system in transmission equipment
JPS61283241A (en) Data communication receiver
JPS63168757A (en) Bus error detecting system
JP2870518B2 (en) Cell separation method
JPH08265446A (en) Output data inspecting device
JPS61245730A (en) Data transmission and reception system
JPS63245093A (en) Remote super visory equipment
JPH07105829B2 (en) Communication device
JPS63246946A (en) Fault detection system for communication equipment in loop structure network
JPS62248051A (en) Data transmission/reception system
JPH0367348A (en) Surface switch control system for received data memory
JPH06103251A (en) Monitor and control system for information processor
JPS61236241A (en) Operating system for degeneracy of information transmitter
JPH01277951A (en) Data transfer equipment
JPS61243549A (en) Error detecting and correcting system
JPH0454042A (en) Transmission signal management system
JPS61285838A (en) Data communication transmitter
JPH0294722A (en) Parity monitor system
JPH02188852A (en) Data processor