JPH02266731A - Loopback test system - Google Patents

Loopback test system

Info

Publication number
JPH02266731A
JPH02266731A JP1088759A JP8875989A JPH02266731A JP H02266731 A JPH02266731 A JP H02266731A JP 1088759 A JP1088759 A JP 1088759A JP 8875989 A JP8875989 A JP 8875989A JP H02266731 A JPH02266731 A JP H02266731A
Authority
JP
Japan
Prior art keywords
data
module
flag
flags
loopback
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP1088759A
Other languages
Japanese (ja)
Inventor
Koichi Nakajima
宏一 中島
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP1088759A priority Critical patent/JPH02266731A/en
Publication of JPH02266731A publication Critical patent/JPH02266731A/en
Pending legal-status Critical Current

Links

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

PURPOSE:To easily detect at which side of transmission or a reception, the operation abnormality of a module occurs by comparing real data sandwiched between the start flags and end flags from plural modules. CONSTITUTION:A selector 5e selects a flag generating part 4 first to attach the start flag, and next, selects input data, and attaches the end flag by selecting the flag generating part 4 finally. For example, when loopback is performed after performing the processing of the module 2a, a selector 5a selects loopback data, and selectors 5b-5d select line data. The data is looped back, and is inputted to a data comparison part 3 at a point 6, and a real data sandwiched between the start flags and the flags from the plural modules 2a-2d are compared with each other. Thereby, it is possible to confirm the operation of each module from the real data, and to easily detect at which side of transmission or reception, the operation abnormality of the module exists.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、データ伝送装置におけるループバック試験
方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a loopback test method in a data transmission device.

(従来の技術) 近年、データ伝送装置は多機能化、複雑化してきており
、装置に異常が発生した場合の異常モジュール検出のた
めにもループバック試験機能が重要となってきている。
(Prior Art) In recent years, data transmission devices have become multifunctional and complex, and a loopback test function has become important for detecting an abnormal module when an abnormality occurs in the device.

第5図は例えば特開昭63−39226号公報に示され
るものと同様な従来のループバック試験方式を用いたデ
ータ伝送装置のブロック図である。
FIG. 5 is a block diagram of a data transmission apparatus using a conventional loopback test method similar to that shown in, for example, Japanese Patent Application Laid-Open No. 63-39226.

図において、(1)はデータ伝送装置、(2a)〜(2
d)は機能分割されたモジュール、(4)はテストデー
タの先頭と最後を示すスタートフラグとエンドフラグを
生成するフラグ生成部、(5a)〜(5e)はデータの
切り替えを行なうセレクタで、セレクタ(5a)〜(5
d)は回線側からの受信データとループバックの切り替
え、セレクタ(5e)は人力データとテストデータ及び
フラグの切り替えを行なっている。
In the figure, (1) is a data transmission device, (2a) to (2
d) is a functionally divided module, (4) is a flag generation unit that generates a start flag and an end flag indicating the beginning and end of test data, and (5a) to (5e) are selectors that switch data. (5a) - (5
d) switches between data received from the line side and loopback, and selector (5e) switches between manual data, test data, and flags.

(6) は上記スタートフラグとエンドフラグを検出す
るフラグ検出部、(8)はスタートフラグと工ンドフラ
グの間のデータとテストデータを比較する比較部、(9
)はテストデータを生成するテストデータ生成部である
(6) is a flag detection unit that detects the start flag and end flag; (8) is a comparison unit that compares the data between the start flag and the end flag with the test data; (9)
) is a test data generation unit that generates test data.

次に動作について説明する。一般にデータ伝送装置(1
)は第6図に示すように入力データに所定の処理を行な
って回線側へ回線出力データとして送出すると共に、回
線側からの回線入力データに対しては元に戻す処理を行
なって出力データとして出力している、データ伝送装置
(1)内で行なわれる処理は一般的に機能毎にモジュー
ル分けされて行なわれる。
Next, the operation will be explained. Generally data transmission equipment (1
) performs predetermined processing on the input data and sends it to the line side as line output data, as shown in Figure 6, and also performs processing to restore the line input data from the line side and outputs it as output data. The processing performed within the data transmission device (1) that outputs the data is generally divided into modules for each function.

上記第5図構成では上記モジュールが4の場合を示して
おり、人力データは、まず、モジュール(2d)により
所定の処理が行なわれ、次にモジュール(2C)によっ
て処理が行なわれる、順次モジュール(2b)、(2a
)の処理が行なわれて回線へ送出される。回線からの受
信の場合は、上記送信の場合の逆で、モジュール(2a
)、(2b)、(2C)、(2d)の順に処理が行なわ
れる。
The configuration shown in FIG. 5 shows the case where the number of modules is 4, and the human data is first processed by the module (2d), and then processed by the module (2C). 2b), (2a
) is processed and sent to the line. In the case of reception from the line, the module (2a
), (2b), (2C), and (2d) are performed in this order.

ループバック試験は、上記各モジュール処理後に折り返
して、人力データが正しく出力データとして出力される
かを確認することによって異常モジュールを検出するも
のである。
The loopback test detects an abnormal module by looping back after each module has been processed and confirming whether the human input data is correctly output as output data.

第7図にこのループバック試験手順を示す。例えば始め
に、(a)のように、モジュール(2c)処理後にルー
プバックして出力データと入力データを比較する。比較
結果が等しければモジュール(2c)と(2d)の動作
が正常であることがわかる。続いて、(b) 、(C)
  と確認して、もし、(C)の場合のみ比較結果が等
しくなければモジュール(2a)に異常があることが検
出されたことになる。
FIG. 7 shows this loopback test procedure. For example, first, as shown in (a), after processing in module (2c), loopback is performed to compare output data and input data. If the comparison results are equal, it can be seen that the modules (2c) and (2d) are operating normally. Subsequently, (b), (C)
If the comparison results are not equal in case (C), it means that an abnormality is detected in module (2a).

さらに、具体的な動作について説明すると、第5図にお
いて、ループバック試験時以外は、セレクタ(5e)は
人力データを常にモジュール(2d)に送出しており、
データフォーマットは第4図の(a)となっている。
Furthermore, to explain the specific operation, in FIG. 5, except during the loopback test, the selector (5e) always sends human data to the module (2d).
The data format is shown in FIG. 4(a).

ループバック試験時に、上記セレクタ(5e)は、まず
テストデータの送出開始を示すスタートフラグを付加す
るためフラグ生成部(4)をセレクトする。フラグ生成
部(4)はこの時スタートフラグを生成する0次に、テ
ストデータ生成部(9)から生成されるテストデータを
付加するためにテストデータ生成部(9) をセレクト
し、最後に再びフラグ生成部(4)をセレクトする。こ
の時フラグ生成部(4)はエンドフラグを生成する。こ
の時のデータフォーマットは第4図(C) となってい
る。
During the loopback test, the selector (5e) first selects the flag generating section (4) to add a start flag indicating the start of transmitting test data. At this time, the flag generation section (4) selects the test data generation section (9) to add the test data generated from the test data generation section (9) to the 0th order that generates the start flag, and finally selects the test data generation section (9) to add the test data generated from the test data generation section (9). Select the flag generator (4). At this time, the flag generating section (4) generates an end flag. The data format at this time is shown in Figure 4 (C).

そして、例えばモジュール(2C)’A処理後ループバ
ックする場合は、セレクタ(5C)はループバックデー
タをセレクトし、セレクタ(5d)は回線データをセレ
クトする。これらのセレクタによってデータは折り返さ
れ、フラグ検出部(6)がスタートフラグを検出してか
らエンドフラグを検出するまでのテストデータの間比較
部(8)に指定して受信データと比較部(8)内部のテ
ストデータを比較する。
For example, when looping back after processing module (2C)'A, the selector (5C) selects loopback data, and the selector (5d) selects line data. The data is looped back by these selectors, and between the test data from when the flag detection section (6) detects the start flag to when the end flag is detected, the test data is specified to the comparison section (8) and the received data and the comparison section (8) are ) Compare internal test data.

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

従来のループバック試験方式は、以上のようになされい
るので、比較対象データが既知の固定テストデータであ
るために異常を検出できにくいという点や、異常モジュ
ールが判明しても送信側と受信側のどちらが異常なのか
不明であるという問題点があった。
The conventional loopback test method is performed as described above, so it is difficult to detect abnormalities because the comparison target data is known fixed test data, and even if an abnormal module is identified, The problem was that it was unclear which of the two was abnormal.

この発明は、上記のような問題点を解消するためになさ
れたもので、実データにより各モジュールの動作を確認
できると共に、モジュールの動作異常が送信側か受信側
かを容易に検出できるループバック試験方式を得ること
を目的とする。
This invention was made to solve the above-mentioned problems. It is possible to check the operation of each module using actual data, and it also has a loopback function that allows it to easily detect whether an abnormality in module operation is on the transmitting side or the receiving side. The purpose is to obtain a test method.

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

この発明に係るループバック試験方式は、複数のモジエ
ールによって構成されるデータ伝送装置での各モジュー
ルの動作を各モジュール処理後に折り返して入力データ
が正しく出力データとして出力されるかで確認するルー
プバック試験方式において、複数のモジュールからのデ
ータを比較する各ポイントにおける人力データのスター
ト及びストップフラグ検出するフラグ検出部と、スター
ト及びストップフラグ間の実データを格納するバッファ
とをそれぞれ備える共に、それら実データを比較する比
較部を備えたデータ比較部を有し、複数のモジュールか
らのスタートフラグと工ンドフラグにはさまれた実デー
タを相互に比較するものである。
The loopback test method according to the present invention is a loopback test in which the operation of each module in a data transmission device constituted by a plurality of modules is looped back after processing each module to check whether input data is correctly output as output data. The method includes a flag detection unit that detects start and stop flags of human data at each point where data from multiple modules are compared, and a buffer that stores actual data between the start and stop flags. The data comparison unit includes a comparison unit that compares actual data sandwiched between start flags and finish flags from a plurality of modules.

〔作用〕[Effect]

この発明におけるループバック試験方式は、データ伝送
装置において、複数のモジュールからの、スタートフラ
グとエンドフラグにはさまれた実データを相互に比較す
る。
The loopback test method according to the present invention mutually compares actual data sandwiched between start flags and end flags from a plurality of modules in a data transmission device.

(実施例) 以下、この発明の一実施例を図について説明する。第1
図はこの発明のループバック試験方式を説明するもので
、第5図に示す従来例と同一部分には同一符号を付した
データ伝送装置(1)のブロック図である。図において
、(3)はデータ比較部を示し、このデータ比較部(3
) は、第2図に示すように、フラグ検出部(6a)〜
(6f)、スタートフラグとエンドフラグにはさまれた
データを一度蓄積するためのバッファ(7a)〜(7f
)及び比較部(8)を有する。
(Example) Hereinafter, an example of the present invention will be described with reference to the drawings. 1st
The figure explains the loopback test method of the present invention, and is a block diagram of a data transmission device (1) in which the same parts as in the conventional example shown in FIG. 5 are given the same reference numerals. In the figure, (3) indicates a data comparison section, and this data comparison section (3)
), as shown in FIG.
(6f), buffers (7a) to (7f) for once accumulating the data sandwiched between the start flag and end flag
) and a comparison section (8).

次に、動作について第3図に示すループバック試験手順
を参照して説明する。
Next, the operation will be explained with reference to the loopback test procedure shown in FIG.

第3図(a)はモジュール(2a)処理後にループバッ
クした場合で、6つの下方向への矢印ポイントでのデー
タを比較することを示している。6つの矢印のポイント
とは、図の左からモジュール(2a)送信処理後、モジ
ュール(2a)受信処理後、モジュール(2b)受信処
理後、モジュール(2c)受信処理後、モジュール(2
d)受信処理後、及びモジュール(2d)の送信処理前
である。
FIG. 3(a) shows the case of looping back after module (2a) processing and comparing data at six downward arrow points. From the left of the diagram, the six arrow points are: module (2a) after transmission processing, module (2a) after reception processing, module (2b) after reception processing, module (2c) after reception processing, module (2a) after reception processing,
d) After receiving processing and before transmitting processing of module (2d).

データの比較結果が例えば左の2ポインとと一番右のポ
イントが一致、残りの3ポイントが一致した場合、(例
えば左からA、A、B、B、B。
For example, if the data comparison result is that the two points on the left match the rightmost point, and the remaining three points match (for example, A, A, B, B, B from the left).

Aのようなパターンの場合)は、モジュール(2b)の
受信側に異常があると判明する。
In the case of a pattern like A), it is determined that there is an abnormality on the receiving side of the module (2b).

また、上記比較結果が左の5ポイントが一致して、残り
の1ポイントのみ違う場合(例えば左からB、B、B、
B、B、Aの場合)はモジュール(2a)〜(2d)の
いずれかの送信側に異常があると判明するため、第3図
(b)に示すモジュール(2bl埋後のループバックを
行なうことになる。
Also, if the above comparison results match the 5 points on the left and only the remaining 1 point differs (for example, from the left, B, B, B,
B, B, A), it is determined that there is an abnormality on the transmitting side of one of the modules (2a) to (2d), so loopback is performed after filling the module (2bl) shown in Figure 3(b). It turns out.

上記モジュール(2b)でのループバックでのデータ比
較結果がすべて一致した場合は、モジュール(2a)の
送信側に異常があることが判明する。もし、すべてが一
致しないで、例えば左からB。
If all data comparison results in the loopback in the module (2b) match, it is determined that there is an abnormality on the transmitting side of the module (2a). If everything doesn't match, for example B from the left.

B、B、B、Aのようなパターンとなった場合は、モジ
ュール(2a)の送信側は正常であるが、モジュール(
2b)〜(2d)の送信側のいずれかに異常があると判
明するので、上記と同様に第3図(C)に示すモジュー
ル(2C1埋後のループバックを行なう、以下の手順は
上記と同じである。
If the pattern is B, B, B, A, the sending side of module (2a) is normal, but the module (2a) is normal.
Since it is determined that there is an abnormality in one of the transmitting sides of 2b) to (2d), the module shown in FIG. It's the same.

次に、第1図と、第2図構成における具体的な動作につ
いて説明する。
Next, specific operations in the configurations shown in FIG. 1 and FIG. 2 will be explained.

第1図において、ループバック試験時以外は、セレクタ
(5e)は人力データをセレクトして常時人力データを
モジュール(2d)に送出している。この時データフォ
ーマットは第4図(a)  となっている。
In FIG. 1, except during the loopback test, the selector (5e) selects human power data and always sends the human power data to the module (2d). At this time, the data format is as shown in FIG. 4(a).

ループバック試験時、セレクタ(5e)は、まず、スタ
ートフラグを付加するためフラグ生成部(4)をセレク
トする。この際、フラグ生成部(4)はスタートフラグ
を生成する0次に、入力データを出力するために入力デ
ータをセレクトし、最後にフラグ生成部(杓をセレクト
する。この際フラグ生成部(4)はエンドフラグを生成
する。この時のデータフォーマットは第4図(b)のよ
うになっている。
During the loopback test, the selector (5e) first selects the flag generation unit (4) to add a start flag. At this time, the flag generation section (4) selects the input data to output the input data after generating the start flag, and finally selects the flag generation section (4). ) generates an end flag.The data format at this time is as shown in FIG. 4(b).

そして、例えばモジュール(2a)処理後にループバッ
クする場合は、セレクタ(5a)はループバックデータ
をセレクトし、セレクタ(5b)〜(5d)はループバ
ックデータをセレクトし、セレクタ(5b)〜(5d)
は回線データをセレクトする。前述のセレクタによって
データは折り返され、前記の6ポイントにおいてデータ
比較部(3)へ入力される。データ比較部(3)内には
6人力データに対して各々フラグ検出部とバッファがあ
り、フラグ検出部(6a)〜(6f)において、スター
トフラグが検出されてから、エンドフラグが検出される
までの実データをそれぞれバッファ(7a)〜(7f)
に書き込む。比較部(8)ではバッファ(7a)〜(7
f)に書き込まれた実データを相互に比較する。
For example, when looping back after module (2a) processing, selector (5a) selects loopback data, selectors (5b) to (5d) select loopback data, and selectors (5b) to (5d) select loopback data. )
selects line data. The data is folded back by the aforementioned selector and input to the data comparison section (3) at the aforementioned six points. The data comparison unit (3) has a flag detection unit and a buffer for each of the six manual data, and the flag detection units (6a) to (6f) detect the start flag and then the end flag. Buffers (7a) to (7f) for the actual data up to
write to. In the comparison section (8), buffers (7a) to (7
f) Compare the actual data written to each other.

〔発明の効果〕〔Effect of the invention〕

以上のようにこの発明によれば、複数のモジュールから
のスタートフラグとエンドフラグにはさまれた実データ
を相互に比較するように構成したので、実際のデータに
より各モジュールの動作が確認でき、かつ、モジュール
の動作異常が送信側にあるのか受信側にあるのかを容易
に検出できるという効果がある。
As described above, according to the present invention, the actual data sandwiched between the start flag and end flag from a plurality of modules are compared with each other, so the operation of each module can be confirmed using the actual data. In addition, there is an effect that it is possible to easily detect whether the malfunction of the module is on the transmitting side or on the receiving side.

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

第1図この発明の一実施例によるループバック試験方式
を用いたデータ伝送装置のブロック図、第2図はデータ
比較部のブロック図、第3図はこの発明のループバック
試験方式を説明するループバック試験手順の説明図、第
4図はデータフォーマット図、第5図は従来のループバ
ック試験方式を用いたデータ伝送装置のブロック図、第
6図は従来のループバック試験手順の説明図、第7図は
データ伝送装置の人出力を示す説明図である。 図において、(1)はデータ伝送装置、(2a)〜(2
d)はモジュール、(3) はデータ比較部、(4)は
フラグ生成部、(5a)〜(5e)はセレクタ、(6a
)〜(6f)はフラグ検出部、(7a) 〜(7f)は
バッファ、(8)は比較部、(9)はテストデータ生成
部である。 なお、各図中、同一符号は同−又は相当部分を示す。 代理人  大  岩  増  雄 第 図 第 図 −(自発)
Fig. 1 is a block diagram of a data transmission device using a loopback test method according to an embodiment of the present invention, Fig. 2 is a block diagram of a data comparison section, and Fig. 3 is a loop diagram illustrating the loopback test method of the present invention. 4 is a data format diagram, FIG. 5 is a block diagram of a data transmission device using the conventional loopback test method, FIG. 6 is an explanatory diagram of the conventional loopback test procedure, FIG. 7 is an explanatory diagram showing the human output of the data transmission device. In the figure, (1) is a data transmission device, (2a) to (2
d) is a module, (3) is a data comparison section, (4) is a flag generation section, (5a) to (5e) are selectors, (6a) is a
) to (6f) are flag detection units, (7a) to (7f) are buffers, (8) is a comparison unit, and (9) is a test data generation unit. In each figure, the same reference numerals indicate the same or corresponding parts. Agent: Masuo Oiwa (Voluntary)

Claims (1)

【特許請求の範囲】[Claims] 複数のモジュールによって構成されるデータ伝送装置で
の各モジュールの動作を各モジュール処理後に折り返し
て入力データが正しく出力データとして出力されるかで
確認するループバック試験方式において、複数のモジュ
ールからのデータを比較する各ポイントにおける入力デ
ータのスタート及びストップフラグ検出するフラグ検出
部と、スタート及びストップフラグ間の実データを格納
するバッファとをそれぞれ備える共に、それら実データ
を比較する比較部を備えたデータ比較部を有し、複数の
モジュールからのスタートフラグとエンドフラグにはさ
まれた実データを相互に比較することを特徴とするルー
プバック試験方式。
In the loopback test method, the operation of each module in a data transmission device composed of multiple modules is checked by checking whether the input data is correctly output as output data by checking the operation of each module after processing each module. A data comparison device that includes a flag detection unit that detects start and stop flags of input data at each point to be compared, a buffer that stores actual data between the start and stop flags, and a comparison unit that compares the actual data. A loopback test method characterized by comparing actual data sandwiched between start flags and end flags from multiple modules.
JP1088759A 1989-04-07 1989-04-07 Loopback test system Pending JPH02266731A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1088759A JPH02266731A (en) 1989-04-07 1989-04-07 Loopback test system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1088759A JPH02266731A (en) 1989-04-07 1989-04-07 Loopback test system

Publications (1)

Publication Number Publication Date
JPH02266731A true JPH02266731A (en) 1990-10-31

Family

ID=13951810

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1088759A Pending JPH02266731A (en) 1989-04-07 1989-04-07 Loopback test system

Country Status (1)

Country Link
JP (1) JPH02266731A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017192081A (en) * 2016-04-15 2017-10-19 三菱電機株式会社 Communication device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017192081A (en) * 2016-04-15 2017-10-19 三菱電機株式会社 Communication device

Similar Documents

Publication Publication Date Title
JPH02266731A (en) Loopback test system
JP3591383B2 (en) Apparatus and method for diagnosing shared bus failure
JPH11338594A (en) Defective contact detecting circuit
KR19990060610A (en) How to check communication device online status in switching system
JP3549702B2 (en) Bus control circuit and test method thereof
JPH07182254A (en) Bus fault testing system
JPH05292067A (en) Redundancy configuration control method
JPH06209367A (en) Fault diagnosis method
JPS6051136B2 (en) Data error detection method
JP2731594B2 (en) Parity error detection monitoring system
JP2944729B2 (en) Remote channel device
JPS6384344A (en) Checking system for abnormal frame processing
JPH07183889A (en) On-line testing method for each device in atm exchange
JPS63182761A (en) Bus diagnozing system
JPH05260172A (en) Continuity test system
JPH0287852A (en) Protocol simulator
JPH0219051A (en) Modem controller
JPS60111549A (en) Test method of communication system
JPH0358550A (en) Data processing system monitoring device
JPH01140834A (en) System for detecting communication fault
JPH10229430A (en) Continuity test method
JPH039439A (en) Diagnostic control system
JPH08195728A (en) Monitor system for communication equipment
JPH03262044A (en) Signal group control circuit
JPS63198430A (en) Time division multiplexer