JP4511841B2 - Information protection circuit - Google Patents

Information protection circuit Download PDF

Info

Publication number
JP4511841B2
JP4511841B2 JP2004011775A JP2004011775A JP4511841B2 JP 4511841 B2 JP4511841 B2 JP 4511841B2 JP 2004011775 A JP2004011775 A JP 2004011775A JP 2004011775 A JP2004011775 A JP 2004011775A JP 4511841 B2 JP4511841 B2 JP 4511841B2
Authority
JP
Japan
Prior art keywords
memory
circuit
output
value
information
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 - Fee Related
Application number
JP2004011775A
Other languages
Japanese (ja)
Other versions
JP2005210179A (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.)
NEC Engineering Ltd
Original Assignee
NEC Engineering 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 NEC Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP2004011775A priority Critical patent/JP4511841B2/en
Publication of JP2005210179A publication Critical patent/JP2005210179A/en
Application granted granted Critical
Publication of JP4511841B2 publication Critical patent/JP4511841B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

本発明は、情報保護回路に関し、特に、複数のネットワーク経路から正常な経路を選択するための切替制御を行う際に用いられる情報保護回路に関する。   The present invention relates to an information protection circuit, and more particularly, to an information protection circuit used when switching control for selecting a normal path from a plurality of network paths is performed.

電話や電子メール等の情報を遠方に大量に伝送する際に、情報を時多重して伝送する多重化伝送装置、特に、SONET/SDH伝送装置は、不測の伝送路障害による情報の寸断を避けるため、複数の冗長経路を備え、装置間の伝送品質を監視し、受信側で正常な系の回線へ切り替える。このSONET/SDH伝送装置における伝送方式のレイヤ構成は、物理的な光ファイバを意味する物理レイヤ、セクション終端装置(Section Terminating Equipment:STE)により物理レイヤを用いて伝送するセクションレイヤ、ライン終端装置(Line Terminating Equipment:LTE)によりパスレイヤの同期・多重を行うラインレイヤ、様々なSONET終端多重装置間を伝送するために細分化されたパスレイヤの順で構成されている。   When transmitting a large amount of information such as telephones and e-mails far away, multiplexed transmission equipment that transmits time-multiplexed information, especially SONET / SDH transmission equipment, avoids disruption of information due to unexpected transmission path failures. Therefore, a plurality of redundant paths are provided, the transmission quality between the devices is monitored, and the reception side switches to a normal system line. This SONET / SDH transmission device has a transmission system layer configuration that includes a physical layer that means a physical optical fiber, a section termination device (STE), a section layer that transmits using a physical layer, and a line termination device ( Line Terminating Equipment (LTE) is composed of a line layer that performs synchronization and multiplexing of the path layer, and a path layer that is subdivided for transmission between various SONET termination multiplexers.

本発明は、上記ラインレイヤとパスレイヤとの切替箇所が混在する構成、特に図13に示すような構成に適用するものである。ここで、留意すべき点は、ラインレイヤがパスレイヤより上位レイヤに位置するため、ラインレイヤの障害または切替は、パスレイヤの障害または切替より優先される。そのため、ラインレイヤの切替時のパス切替のばたつきの発生は、ユーザにとって切替誤動作のように見えるため、好ましくない。これを抑制するため、パスレイヤ情報を抽出するにあたって保護回路を設け、保護中にマスクを行い、不要な切替情報を切替制御部に通知しないようにする必要がある。   The present invention is applied to a configuration in which the switching points between the line layer and the path layer are mixed, particularly to a configuration as shown in FIG. Here, it should be noted that since the line layer is located in a higher layer than the path layer, the failure or switching of the line layer has priority over the failure or switching of the path layer. For this reason, occurrence of flapping of path switching at the time of switching of the line layer is undesirable because it seems to the user as a switching malfunction. In order to suppress this, it is necessary to provide a protection circuit for extracting the path layer information, perform masking during protection, and not notify the switching control unit of unnecessary switching information.

図13は、主信号の各レイヤ情報を検出して冗長系に切り替える装置の一例を示し、この装置は、主信号からラインレイヤの情報を抽出するライン情報抽出部2と、同様に、パスレイヤの情報を抽出するパス情報抽出部3と、ラインレイヤ情報や上流障害情報を収集してパスレイヤ情報のマスク要因を生成するマスク生成部4と、パスレイヤの情報をN段保護している間に、上流障害またはライン情報でマスク優先するようにした情報保護回路1と、収集された切替情報により切替制御を行う切替制御部5と、切替制御部5により主信号の切替を行う切替部6とで構成される。   FIG. 13 shows an example of a device that detects each layer information of the main signal and switches to the redundant system. This device is similar to the line information extraction unit 2 that extracts the information of the line layer from the main signal, and similarly to the path layer. A path information extraction unit 3 that extracts information, a mask generation unit 4 that collects line layer information and upstream failure information and generates a mask factor of the path layer information, The information protection circuit 1 is configured to prioritize masking with failure or line information, the switching control unit 5 that performs switching control based on the collected switching information, and the switching unit 6 that switches the main signal using the switching control unit 5. Is done.

次に、上記構成を有する装置の動作について説明する。上流装置から主信号と上流障害情報を入力し、入力された主信号からライン情報抽出部2でラインレイヤの切替要因の情報を抽出し、マスク生成部4へ転送する。同様に、パス情報抽出部3でパスレイヤの切替要因の情報を抽出し、情報保護回路1へ転送する。ラインレイヤの情報は、上流障害情報とのマスク処理が行われ、制御バスにより切替制御部5へ転送される。パス情報抽出部3から転送されてきたパス情報は、N段保護されているうちに、上流装置からの上流障害情報及び該当パスのライン切替情報から生成したマスク信号でマスク処理され、制御バスによって切替制御部5に転送される。そして、切替制御部5から切替制御信号を切替部6へ転送して主信号の切替を行う。この情報保護回路1は、特に、ライン障害または回復時のパス切替誤動作を回避するのに有効である。   Next, the operation of the apparatus having the above configuration will be described. The main signal and the upstream failure information are input from the upstream device, the line layer extraction factor information is extracted from the input main signal by the line information extraction unit 2, and transferred to the mask generation unit 4. Similarly, the path information extraction unit 3 extracts path layer switching factor information and transfers it to the information protection circuit 1. The line layer information is masked with the upstream failure information and transferred to the switching control unit 5 by the control bus. The path information transferred from the path information extraction unit 3 is masked with the mask signal generated from the upstream fault information from the upstream device and the line switching information of the corresponding path while being protected in N stages, and is controlled by the control bus. It is transferred to the switching control unit 5. Then, the switching control unit 5 transfers the switching control signal to the switching unit 6 to switch the main signal. This information protection circuit 1 is particularly effective in avoiding line switching or path switching malfunction during recovery.

図12は、従来の情報保護回路1の一例を示し、この情報保護回路1は、1情報であるkビットについて各々フリップフロップ(ff)をN段有するシフトレジスタ1〜Mと、シフトレジスタ1〜Mの各々の出力を比較して一致した場合にイネーブルを出力する比較一致検出回路1〜Mと、比較一致検出回路1〜Mにより生成されたイネーブルで出力制御する出力許可回路1〜Mと、前段にパス情報抽出部3(図13参照)からシリアルデータとクロック(CLK)とフレームパルス(FP)を入力し、1:(k×M)のシリアルパラレル変換を行うS/P(シリアル/パラレル)部とで構成されている。   FIG. 12 shows an example of a conventional information protection circuit 1. This information protection circuit 1 includes shift registers 1 to M each having N stages of flip-flops (ff) for k bits as one information, and shift registers 1 to 1. A comparison coincidence detection circuit 1 to M that outputs an enable when each output of M is compared and matched; an output permission circuit 1 to M that performs output control with an enable generated by the comparison coincidence detection circuits 1 to M; S / P (serial / parallel) which inputs serial data, clock (CLK) and frame pulse (FP) from the path information extraction unit 3 (see FIG. 13) in the previous stage and performs 1: (k × M) serial-parallel conversion ) Part.

次に、上記情報保護回路1の動作について説明する。パス情報抽出部3からシリアルデータとクロックとフレームパルスを入力し、S/P部によって1:(k×M)のシリアルパラレル変換を行う。kビット×M個のパラレルデータは、各々シフトレジスタ1〜MとCLKによりN段遅延させ、このN段遅延するまでのフリップフロップの全出力を比較一致検出回路1〜Mに入力し、入力がN段進む間、マスク無しで、かつkビットの値の一致がN回以上続くときにイネーブル0を、kビットの値の一致がN回未満、またはマスク有りのときディセーブル1を出力許可回路1〜Mへ出力する。比較一致検出回路1〜Mからのイネーブルによって、出力許可回路1〜Mは、イネーブル0であれば、N段保護で一致した値を出力保持し、ディセーブル1であれば、ALL1を出力保持する。上記の動作をM個のパス情報mについて個々に行う。その後、各出力許可回路1〜Mの出力を切替制御部5(図13参照)とのインタフェース(アドレス・データ・チップセレクト・リードイネーブル等)である制御バスにより、パス情報をすべてのアドレスについてデコードし、データセレクタで出力するデータを切り替え、切替制御部5に転送する。   Next, the operation of the information protection circuit 1 will be described. Serial data, a clock, and a frame pulse are input from the path information extraction unit 3, and 1: (k × M) serial / parallel conversion is performed by the S / P unit. The k bits × M parallel data are delayed N stages by shift registers 1 to M and CLK, respectively, and all outputs of the flip-flops until the N stages are delayed are input to the comparison coincidence detection circuits 1 to M. Output enable circuit for enabling 0 when there is no mask and the match of k-bit value continues N times or more during N stages, and disable 1 when the match of k-bit value is less than N times or with mask 1 to M. By enabling from the comparison coincidence detection circuits 1 to M, the output permission circuits 1 to M output and hold the matched value in the N-stage protection if enable 0, and output and hold ALL1 if disabled 1. . The above operation is performed individually for M pieces of path information m. After that, the path information is decoded for all addresses by the control bus which is an interface (address, data, chip select, read enable, etc.) with the switching control unit 5 (see FIG. 13). Then, the data output by the data selector is switched and transferred to the switching control unit 5.

しかし、上記従来の技術においては、図12に示すように、情報を保護して外部からの制御バスによりタイムリーに所望のデータを出力するためには、保護段数分遅延させて途中段階も含めて取り出せるシフトレジスタ等で情報保護回路1を構成するのが通常であるが、情報の高密度化から同ライン内に多重化されるパスの増加及び情報抽出量の増加により、膨大な回路規模を必要とする。そのため、大容量デバイスを必要とし、原価が高騰するという問題があった。   However, in the above prior art, as shown in FIG. 12, in order to protect information and to output desired data in a timely manner by an external control bus, the intermediate stage is included with a delay by the number of protection stages. In general, the information protection circuit 1 is composed of a shift register that can be taken out. However, an increase in the information density and the increase in the number of paths multiplexed in the same line and the increase in the amount of information extracted increase the circuit scale. I need. For this reason, there is a problem that a high-capacity device is required and the cost increases.

また、第2の問題点として、受信情報及びケーブル抜け監視を含む上流障害等の検出を保護する段数は、少なすぎると受信情報に過敏に反応して切替誤動作を引き起こしやすくなるが、多すぎると切替動作が遅くなって障害時の切替が遅れる。従って、段数は、評価後に決定することが多く、設計時には不明確である。そのため、柔軟な仕様が必須となるが、この段数幅をサポートできるようにすると、選択回路が複雑となる上、保護段数が多くなることを考慮して余分な回路を割り当てる必要がある。また、PLD(Programable Logic Device)等に標準で用意されているメモリは、シフトレジスタとしては使用できないため、有効利用することができず、新規に回路を作成する必要があるという問題があった。   In addition, as a second problem, if the number of stages for protecting the detection of received information and upstream faults including cable disconnection monitoring is too small, it is likely to react sensitively to the received information and cause a switching malfunction. Switching operation is delayed and switching at the time of failure is delayed. Therefore, the number of stages is often determined after evaluation and is unclear at the time of design. Therefore, flexible specifications are indispensable. However, if this stage width can be supported, the selection circuit becomes complicated and it is necessary to allocate an extra circuit in consideration of an increase in the number of protection stages. In addition, since a memory prepared as a standard in a PLD (Programmable Logic Device) or the like cannot be used as a shift register, it cannot be used effectively, and a new circuit needs to be created.

そこで、本発明は、上記従来の技術における問題点に鑑みてなされたものであって、回線障害時の動作の誤動作、特に、ライン障害発生時/回復時に発生する不要なパス切替を抑制するにあたって、保護段数に関してフレキシブルに対応するとともに、膨大な回路規模を大幅に削減することを目的とする。特に、フレキシブルに変更可能な回路セルと回路が固定されている内部メモリを有する汎用のPLDにおいて、内部メモリを有効活用していない場合に、回路の簡略化、回路セル使用量の削減によってデバイスの規模を縮小し、コストダウンを図ることを目的とする。   Therefore, the present invention has been made in view of the problems in the conventional technology described above, and is intended to suppress malfunction of operation at the time of a line failure, particularly unnecessary path switching that occurs at the time of line failure occurrence / recovery. The purpose is to flexibly deal with the number of protection stages and to greatly reduce the huge circuit scale. In particular, in a general-purpose PLD having a circuit cell that can be flexibly changed and an internal memory in which the circuit is fixed, when the internal memory is not effectively used, the circuit can be simplified by reducing the circuit cell usage. The purpose is to reduce the scale and reduce the cost.

上記目的を達成するため、本発明は、情報保護回路であって、パス情報が時分割配置されたシリアルデータを所定ビット単位で順次に蓄積する第1のメモリと、該第1のメモリに入力される第1のデータと、該第1のデータの前値であって、該第1のメモリから出力される第2のデータとを比較する比較回路と、該比較回路による一致回数をカウントアップするカウントアップ回路と、該カウントアップ回路によるカウント値に対応して自身の出力値を変更する値更新回路と、該値更新回路の出力を記憶する第2のメモリとを備え、前記値更新回路は、前記第1のメモリの出力を入力するとともに、前記第2のメモリから帰還される該第2のメモリの出力を入力し、前記カウントアップ回路のカウント値が所定値未満であるときに前記第2のメモリの出力を前記出力値として出力し、前記カウント値が前記所定値に達したときに前記第1のメモリの出力を前記出力値として出力することを特徴とする。 In order to achieve the above object, the present invention provides an information protection circuit, a first memory for sequentially storing serial data in which path information is arranged in a time-sharing manner in predetermined bit units, and an input to the first memory . The first data to be compared with the second data output from the first memory, which is the previous value of the first data, and counts the number of matches by the comparison circuit A value update circuit that changes its output value in response to a count value by the countup circuit, and a second memory that stores an output of the value update circuit , the value update circuit Inputs the output of the first memory and the output of the second memory fed back from the second memory, and when the count value of the count-up circuit is less than a predetermined value, Second It outputs the output of memory as the output value, the count value and outputs an output of the first memory upon reaching a predetermined value as the output value.

そして、本発明によれば、メモリに対してシリアルデータをアドレスをカウンタで回し、書き込みタイミングのみずらすことによってデータを連続的に書き込み、切替情報の受信値、出力値、前値との一致回数を蓄積し、連続一致の回数をカウントする簡単なロジック回路に対して回数値の設定を行うだけで、柔軟に検出時間を設定することができるため、回路規模の増減を容易に行うことができるとともに、回路の簡単化を実現することができる。   And according to the present invention, the address of the serial data is turned to the memory by the counter, and the data is continuously written by shifting only the write timing, and the number of coincidence with the received value, output value, and previous value of the switching information is set. Since the detection time can be set flexibly by simply setting the number of times for a simple logic circuit that accumulates and counts the number of consecutive matches, the circuit scale can be easily increased or decreased. The circuit can be simplified.

上記情報保護回路において、最終段に、外部のアドレスデータの内容を統一して直接メモリ内の情報を出力するデュアルアクセス可能な第3のメモリを設けることができる。これによって、外部制御バスから直接メモリにアクセスするため、回路を簡単にすることができるとともに、レスポンスが遅くなることもない。 In the information protection circuit, a dual-accessible third memory that unifies the contents of external address data and directly outputs information in the memory can be provided at the final stage. As a result, since the memory is directly accessed from the external control bus, the circuit can be simplified and the response is not delayed.

さらに、前記メモリに、プログラマブルロジックデバイスの回路セルとは別途標準搭載されている内部メモリを用いるようにすることができる。これによって、アドレスデコード回路、データセレクタ回路等が不要となるとともに、回路セルの使用量を削減し、デバイスの規模を縮小し、コストダウンを図ることができる。
Furthermore, prior to the texture memory, it is possible to make use of the internal memory that is separately standard with the circuit cell of a programmable logic device. This eliminates the need for an address decoding circuit, a data selector circuit, and the like, reduces the amount of circuit cells used, reduces the scale of the device, and reduces costs.

以上説明したように、本発明によれば、ライン障害発生時/回復時等に発生する不要なパス切替を抑制するにあたって、保護段数に関してフレキシブルに対応し、回路規模を大幅に削減することのできる情報保護回路を提供することができる。   As described above, according to the present invention, it is possible to flexibly cope with the number of protection stages and to greatly reduce the circuit scale when suppressing unnecessary path switching that occurs when a line fault occurs / recovers. An information protection circuit can be provided.

図1は、本発明にかかる情報保護回路の一実施の形態を示し、この情報保護回路1は、パス情報抽出部3(図13参照)から入力したクロック(CLK1)と、フレームパルス(FP1)と、パス抽出情報であるシリアルデータとを1:kでシリアルパラレル変換するS/P部102と、1ワードがkビットとなるパス情報M組を順序良く格納するkビット×深さMのメモリA103と、S/P部102の出力とメモリA103の出力を比較する比較回路104と、比較回路104による比較結果により一致回数n(メモリB106の値)を1つカウントアップし、一致しないときにnを1にセットし、マスク信号有りのとき入力したパス情報の連続一致回数nを0にリセットするカウントアップ回路105と、カウントアップ回路105の出力を時分割状態で保持するPビット×深さMのメモリB106(Pは、log2N以上の最小整数)と、メモリB106の出力である段数カウント値nがNのときにメモリA103の出力を選択し、Nより小さい値のときにメモリC108の出力を選択(前値保持)し、マスク信号有りのときに値の無効を宣言する無効コード(例えば、ALL1)を選択出力する値更新回路107と、値更新回路107の出力を時分割状態で保持するkビット×深さMのメモリC108と、メモリC108の出力をアドレスデコード回路、データセレクタ回路を介さず、外部の切替制御部に直接メモリ内の情報を出力するkビット×深さMのデュアルアクセス可能なメモリD109と、各メモリの書き込みアドレスと各書き込みタイミング(WE)を生成するタイミング生成部101と、時多重されたマスク信号(MSK)をアドレス1(ADDR1)に基づき該当のものを選択するセレクタ回路110とを備え、制御バスのデータバスについて双方向切替する双方向制御111を行い、外部からの制御バスは通常のCPUインタフェースと同様のアドレス・データ・ライトイネーブル・リードイネーブル・(クロック)で制御される。   FIG. 1 shows an embodiment of an information protection circuit according to the present invention. This information protection circuit 1 includes a clock (CLK1) input from a path information extraction unit 3 (see FIG. 13) and a frame pulse (FP1). S / P unit 102 that serial-parallel converts serial data as path extraction information at 1: k, and a memory of k bits × depth M that stores path information M sets in which one word is k bits in order. A 103, the comparison circuit 104 that compares the output of the S / P unit 102 and the output of the memory A 103, and the number of matches n (value of the memory B 106) is incremented by one based on the comparison result by the comparison circuit 104. The count-up circuit 105 that resets the number n of consecutive matches of the input path information to 0 when n is set to 1 and the mask signal is present, and the output of the count-up circuit 105 is time-shared The memory B106 (P is the smallest integer greater than or equal to log2N) and the output of the memory A103 is selected when the stage count value n that is the output of the memory B106 is N. A value update circuit 107 that selects the output of the memory C108 when the value is small (holds the previous value) and selectively outputs an invalid code (for example, ALL1) that declares the invalid value when there is a mask signal; A memory C108 of k bits × depth M that holds the output of 107 in a time-sharing state, and outputs the information in the memory directly to the external switching control unit without passing through the address decode circuit and data selector circuit. A dual-access memory D109 of k bits × depth M, a timing generation unit 101 that generates a write address and a write timing (WE) of each memory, and time multiplexing And a selector circuit 110 that selects the mask signal (MSK) that has been selected based on the address 1 (ADDR1), and performs bidirectional control 111 that performs bidirectional switching on the data bus of the control bus, thereby providing an external control bus Are controlled by the same address, data, write enable, and read enable (clock) as in the normal CPU interface.

PLDにおいて、回路セルとは別途搭載するメモリA103、B106、C108は、図2に示すように、入力において、ENはイネーブル状態、RSTは常時リセットしない極性にしておき、ADDRによりメモリ内の格納場所を特定し、WEがイネーブルかつCLKの立ち上がり時にDIの値をメモリ内に格納する。メモリA〜Cは、アドレスに基づき(読み出しイネーブル無しに)格納されているデータを同時に出力することとする。   In the PLD, as shown in FIG. 2, the memories A103, B106, and C108 that are mounted separately from the circuit cells have EN enabled at the input, RST set to a polarity that is not always reset, and storage locations in the memory by ADDR. And the value of DI is stored in the memory when WE is enabled and CLK rises. The memories A to C simultaneously output the stored data based on the address (without read enable).

比較回路104は、図3に示すように、EXORで比較し、ロジック特有のひげを抑制するため、フリップフロップ(FF)で打ち直して出力する。   As shown in FIG. 3, the comparison circuit 104 performs comparison with EXOR, and outputs the data after re-shaping with a flip-flop (FF) in order to suppress the whiskers peculiar to logic.

カウントアップ回路105は、図4に示すように、段数Nの設定値等が入力され、比較回路104による比較結果により一致回数n(メモリB106の値)を1つカウントアップし、一致しないときにnを1にセットする。また、マスク信号有りのときには、入力したパス情報の連続一致回数nを0にリセットする。   As shown in FIG. 4, the count-up circuit 105 receives a set value of the number of stages N, etc., counts up the number of matches n (value of the memory B 106) by one based on the comparison result by the comparison circuit 104, and does not match Set n to 1. When there is a mask signal, the number n of continuous matches of the input path information is reset to zero.

値更新回路107では、図5に示すように、入力値がNのときに、N識別回路が、2:1SELの出力をメモリA103にする。   In the value update circuit 107, as shown in FIG. 5, when the input value is N, the N identification circuit sets the output of 2: 1SEL to the memory A103.

PLDにおいて、回路セルとは別途搭載するメモリD109は、図6に示すように、外部の切替制御部側のWEを常時書き込み禁止状態にする。出力するデータは、外部からのチップセレクト及びリードイネーブルを用いて双方向制御111を行う。   In the PLD, the memory D109 mounted separately from the circuit cell always puts the WE on the external switching control unit side in a write-inhibited state, as shown in FIG. Data to be output is subjected to bidirectional control 111 using external chip select and read enable.

次に、上記構成を有する情報保護回路1の動作について詳細に説明する。   Next, the operation of the information protection circuit 1 having the above configuration will be described in detail.

まず、図1において、初期立ち上げ時に、カウントアップ回路105に外部からカウントアップ上限値のNを設定する。このNの設定値は、カウントアップ回路105のデコード値を変更するだけで可能となる。   First, in FIG. 1, the count-up upper limit value N is set to the count-up circuit 105 from the outside at the initial startup. The set value of N can be obtained simply by changing the decode value of the count-up circuit 105.

最初にマスク信号有りの状態の動作について説明する。マスク信号有りのときは、入力値に依存せず、カウントアップ回路105は、図7のシーケンスのINVALID状態となり、n=0をメモリB106に出力し、値更新回路107では、INVALID状態で即時に無効コード(ALL1)を出力する。その後、メモリC108、メモリD109に順次書き込まれ、切替制御部5(図13参照)の制御バスにより読み出される。上記動作は、時間軸上のM個の情報について別個マスク信号が存在し、個々に行われる。   First, the operation in the state with the mask signal will be described. When there is a mask signal, the count-up circuit 105 enters the INVALID state of the sequence of FIG. 7 without depending on the input value, outputs n = 0 to the memory B106, and the value update circuit 107 immediately in the INVALID state. Output invalid code (ALL1). Thereafter, the data is sequentially written into the memory C108 and the memory D109, and read out by the control bus of the switching control unit 5 (see FIG. 13). The above operation is performed individually with separate mask signals for M pieces of information on the time axis.

次に、マスク無しの状態で、連続した値(n=1〜N-1)を入力したときの動作について説明する。図13のパス情報抽出部3からパス情報(クロック、フレームパルス及びシリアルデータ)を入力し、1:kシリアルパラレル変換し、k本のシリアルデータを得る。シリアルデータの一例を図8に示す。同図におけるコード値の例にあるように、kビットで構成される値が切替情報として意味をなすものとする。このシリアルデータは、タイミング生成部101内のカウンタによって生成したアドレス1(ADDR1)と、書き込みイネーブル1(WE1)により、kビット×深さMのメモリA103にM組の情報を順序良く格納する。   Next, an operation when a continuous value (n = 1 to N−1) is input without a mask will be described. The path information (clock, frame pulse, and serial data) is input from the path information extraction unit 3 in FIG. 13, and 1: k serial / parallel conversion is performed to obtain k serial data. An example of serial data is shown in FIG. As shown in the example of the code value in the figure, it is assumed that a value composed of k bits makes sense as the switching information. As for this serial data, M sets of information are stored in order in the memory A103 of k bits × depth M by the address 1 (ADDR1) generated by the counter in the timing generation unit 101 and the write enable 1 (WE1).

次に、メモリA103の入力と出力を比較回路104に入力し、値が同値のときに1を、異なる値であれば0をカウントアップ回路105に渡す。カウントアップ回路105は、メモリB106の出力のカウント値と、比較回路104の出力と、マスク信号を参照し、図7のシーケンスによりCOUNTUP状態へ遷移する。最初はn=1が出力され、次回も同値であればメモリB106の出力に1を加算してCOUNTUP状態は1〜N-1まで続く。   Next, the input and output of the memory A 103 are input to the comparison circuit 104, and 1 is passed to the count-up circuit 105 when the values are the same, and 0 is passed if the values are different. The count-up circuit 105 refers to the count value of the output of the memory B 106, the output of the comparison circuit 104, and the mask signal, and transitions to the COUNTUP state by the sequence of FIG. First, n = 1 is output, and if it is the same value next time, 1 is added to the output of the memory B106 and the COUNTUP state continues from 1 to N-1.

次に、カウントアップ回路105の出力をタイミング生成部101で生成したアドレス1(ADDR1)と書き込みイネーブル2(WE2)により、メモリB106にM個の連続一致カウント値nを順序良く格納する。尚、メモリB106は、図2に示したものと基本構成は同じであるがPビット×深さMの容量でよい。   Next, M consecutive match count values n are stored in order in the memory B106 by the address 1 (ADDR1) and the write enable 2 (WE2) generated by the timing generation unit 101 as the output of the count-up circuit 105. The memory B106 has the same basic configuration as that shown in FIG. 2, but may have a capacity of P bits × depth M.

値更新回路107では、メモリA103の出力と、後段のメモリC108の出力と保護カウント値であるメモリB106の出力と、マスク信号とを参照し、図9のシーケンスを実行する。メモリB106の出力がn=1〜N-1であれば、HOLD状態へ遷移して前値保持としてメモリC108の出力を出力する。従って、パス情報がN-1回続くまでは、前値であるメモリC108の出力が選択される。   The value update circuit 107 refers to the output of the memory A103, the output of the subsequent memory C108, the output of the memory B106 as the protection count value, and the mask signal, and executes the sequence of FIG. If the output of the memory B106 is n = 1 to N-1, the state shifts to the HOLD state and outputs the output of the memory C108 as holding the previous value. Therefore, the output of the memory C108 as the previous value is selected until the path information continues N-1 times.

次に、値更新回路107の出力をタイミング生成部101で生成したアドレス1(ADDR1)と、書き込みイネーブル3(WE3)により、メモリC108にM個の情報を順序良く格納する。さらに、タイミング生成部101で生成したアドレス1(ADDR1)と、書き込みイネーブル4(WE4)により、メモリD109にM個の情報を順序良く格納する。もう一方のメモリアクセスについて各メモリのアドレスアサイン・ビットアサインに外部の制御切替部のアドレス・ビット内容を合わせる仕様とすることで、切替制御部5から直接アドレス指定で値の読み出しが可能となる。   Next, M pieces of information are stored in order in the memory C108 by the address 1 (ADDR1) generated by the timing generator 101 and the write enable 3 (WE3) as the output of the value update circuit 107. Further, M pieces of information are stored in the memory D109 in order by the address 1 (ADDR1) generated by the timing generation unit 101 and the write enable 4 (WE4). By setting the address and bit contents of the external control switching unit to the address assignment and bit assignment of each memory for the other memory access, it is possible to read the value by direct address designation from the switching control unit 5.

上記の回路構成により、外部のアドレスをメモリD109用に変換するアドレスデコード回路と、アドレスデコードに基づき出力を選択するデータセレクタ回路が不要となる。仮に、マスク信号が有りとなった場合には、図7のシーケンスは、INVALID状態でnは0にリセットされ、値更新回路107でも即時に無効コードが出力されることとなる。上記動作は、時間軸上のM個の情報について別個行われる。一例として、k=4、M=192の時のタイムチャートを図10に示す。   With the above circuit configuration, an address decoding circuit for converting an external address for the memory D109 and a data selector circuit for selecting an output based on the address decoding are not required. If the mask signal is present, the sequence of FIG. 7 is reset to 0 in the INVALID state, and the value update circuit 107 immediately outputs an invalid code. The above operation is performed separately for M pieces of information on the time axis. As an example, a time chart when k = 4 and M = 192 is shown in FIG.

次に、パス情報の値の一致がN回目のときの動作を説明する。   Next, an operation when the value of the path information coincides with the Nth time will be described.

シリアルデータは、同様にメモリA103に格納される。次に、メモリA103の入力と出力を比較回路104に入力し、値が同値であるため、1をカウントアップ回路105に渡す。カウントアップ回路105は、図7のシーケンスにより、n=N-1がメモリB106の出力に1を加算してNとなり、COUNTUP状態からSTOP状態に遷移する。次に、カウントアップ回路105の出力をメモリB106に順序良く格納する(次回にメモリB106はNを出力する)。値更新回路107では、図9のシーケンスを実行し、メモリB106の出力がn=N-1であるため、まだHOLD状態で前述のように出力される。   Serial data is similarly stored in the memory A103. Next, the input and output of the memory A103 are input to the comparison circuit 104. Since the values are the same, 1 is passed to the count-up circuit 105. In the count-up circuit 105, n = N−1 adds 1 to the output of the memory B106 to become N by the sequence of FIG. 7, and transits from the COUNTUP state to the STOP state. Next, the output of the count-up circuit 105 is stored in the memory B106 in order (the memory B106 outputs N next time). In the value update circuit 107, the sequence of FIG. 9 is executed, and since the output of the memory B106 is n = N−1, it is still output in the HOLD state as described above.

次に、パス情報の値の一致がN+1回目のときの動作について説明する。   Next, the operation when the value of the path information matches the N + 1th time will be described.

シリアルデータは、同様にメモリA103に格納される。次に、メモリA103の入力と出力を比較回路104に入力し、値が同値であるため、1をカウントアップ回路105に渡す。カウントアップ回路105は、図7のシーケンスにより、STOP状態のままn=Nを出力する。次に、カウントアップ回路105の出力をメモリB106からNが出力される。   Serial data is similarly stored in the memory A103. Next, the input and output of the memory A103 are input to the comparison circuit 104. Since the values are the same, 1 is passed to the count-up circuit 105. The count-up circuit 105 outputs n = N in the STOP state according to the sequence of FIG. Next, N is output from the memory B 106 as the output of the count-up circuit 105.

値更新回路107では、図9のシーケンスを実行し、メモリB106の出力がn=Nであるため、HOLD状態からRENEW状態へ遷移し、はじめてメモリA103の出力を選択出力する。次に、メモリC108に更新した値が格納される。仮に、マスク信号が有りとなった場合には、図7のシーケンスはINVALID状態で、nは0にリセットされ、値更新回路107でも無条件に無効コードが出力されることとなる。上記動作は、時間軸上のM個の情報について別個行われる。k=4、M=192、N=16の時のタイムチャート例を図11に示す。   The value update circuit 107 executes the sequence of FIG. 9 and the output of the memory B106 is n = N. Therefore, the value update circuit 107 transitions from the HOLD state to the RENEW state, and first selects and outputs the output of the memory A103. Next, the updated value is stored in the memory C108. If the mask signal is present, the sequence of FIG. 7 is in the INVALID state, n is reset to 0, and the value update circuit 107 also outputs an invalid code unconditionally. The above operation is performed separately for M pieces of information on the time axis. FIG. 11 shows an example of a time chart when k = 4, M = 192, and N = 16.

次に、パス情報の値が一致していた状態から異なった値が入力されたときの動作について説明する。   Next, an operation when a different value is input from a state in which the path information values match is described.

シリアルデータは、同様にメモリA103に順序良く格納する。次に、メモリA103の入力と出力を比較回路104に入力し、値が異なるので0をカウントアップ回路105に渡す。カウントアップ回路105は、図7のシーケンスにより、n=1をセットしてSTOP状態からCOUNTUP状態に遷移する。次に、カウントアップ回路105の出力をメモリB106に順序良く格納する(この時点のメモリB106はNを出力し、次回1を出力する)。   Similarly, the serial data is stored in the memory A103 in order. Next, the input and output of the memory A 103 are input to the comparison circuit 104, and 0 is passed to the count-up circuit 105 because the values are different. The count-up circuit 105 sets n = 1 and makes a transition from the STOP state to the COUNTUP state according to the sequence of FIG. Next, the output of the count-up circuit 105 is stored in order in the memory B106 (the memory B106 at this time outputs N and outputs 1 next time).

値更新回路107では、図9のシーケンスを実行し、メモリB106の出力がn=Nであるため、それ以降はn=Nと同じ処理を行う。次フレームになると、メモリB106の出力は、n=1になるため、RENWE状態からHOLD状態へ遷移し、メモリC108の出力を選択出力するようになる。次に、メモリC108、メモリD109に格納されて通知される。上記の動作内で、仮にマスク信号が有りとなった場合には、図7のシーケンスはINVALID状態でnは0にリセットされ、値更新回路107でも即時に無効コードが出力されることとなる。   The value update circuit 107 executes the sequence of FIG. 9, and since the output of the memory B106 is n = N, the same processing as n = N is performed thereafter. In the next frame, the output of the memory B106 becomes n = 1, so that the RENWE state is changed to the HOLD state, and the output of the memory C108 is selectively output. Next, the notification is stored in the memory C108 and the memory D109. In the above operation, if a mask signal is present, the sequence in FIG. 7 is in the INVALID state, n is reset to 0, and the value update circuit 107 immediately outputs an invalid code.

上述のように、本発明によれば、回線をラインとパスの切替を双方とも同時に備える伝送装置の瞬時の誤切替を防止する保護回路について、従来より回路規模を大幅に削減することができる。例えば、k=4ビット、M=1536情報、N=64段であれば、最低196,608個のフリップフロップ及びアドレスデコードの論理回路が必要となり、回路規模またはコスト的に実施が困難であったが、本発明にかかる情報保護回路のカウンタでアドレスを生成し、シリアルデータを順序良く格納するメモリA103、C108、比較回路104及びカウント値のみ計算するカウントアップ回路105、カウントアップ値を同アドレスで格納するメモリB106、アドレスデコード回路の代替として用いるデュアルメモリD109を用いることにより、約kビット×M×3+Pビット×M分のフリップフロップで構成することができる。   As described above, according to the present invention, the circuit scale of the protection circuit that prevents instantaneous erroneous switching of a transmission apparatus that has both line and path switching simultaneously can be significantly reduced. For example, if k = 4 bits, M = 1536 information, and N = 64 stages, a minimum of 196,608 flip-flops and an address decoding logic circuit are required, which is difficult to implement in terms of circuit scale or cost. An address is generated by the counter of the information protection circuit according to the present invention, the memories A103 and C108 for storing serial data in order, the comparison circuit 104, the count-up circuit 105 for calculating only the count value, and the count-up value are stored at the same address. By using the memory B106 and the dual memory D109 used as an alternative to the address decoding circuit, a flip-flop of about k bits × M × 3 + P bits × M can be formed.

上記の例では、4ビット×1536×3+6ビット×1536=18432+9216=27648個となり、従来の回路の回路規模と比較して約7分の1まで削減することができる。一般に、使用するPLDデバイスの価格と集積度の関係は指数的に増加する傾向であるため、デバイスの原価を7分の1以上低下させることができる。同時に、消費電力も削減でき、さらに、PLDで実現するときには、1回路セルについてフリップフロップ1個を搭載することが一般的であるため、従来、フリップフロップにより回路使用率を大きく占有することとなるが、本発明例では、PLD等に一般に標準搭載されているメモリを使用するため、回路セルをほとんど使用せず、回路使用率は激減する。   In the above example, 4 bits × 1536 × 3 + 6 bits × 1536 = 184432 + 9216 = 27648, which can be reduced to about 1/7 compared with the circuit scale of the conventional circuit. In general, since the relationship between the price and the degree of integration of the PLD device to be used tends to increase exponentially, the cost of the device can be reduced by 1/7 or more. At the same time, the power consumption can be reduced, and furthermore, when implemented with PLD, since it is common to mount one flip-flop per circuit cell, conventionally, the flip-flop occupies a large circuit usage rate. However, in the example of the present invention, since a memory generally mounted as a standard in a PLD or the like is used, almost no circuit cells are used, and the circuit usage rate is drastically reduced.

本発明にかかる情報保護回路の一実施の形態を示す全体構成図である。1 is an overall configuration diagram showing an embodiment of an information protection circuit according to the present invention. 図1の情報保護回路のメモリA、B、Cを示す図である。FIG. 2 is a diagram illustrating memories A, B, and C of the information protection circuit of FIG. 1. 図1の情報保護回路の比較回路を示す図である。It is a figure which shows the comparison circuit of the information protection circuit of FIG. 図1の情報保護回路のカウントアップ回路を示す図である。It is a figure which shows the count-up circuit of the information protection circuit of FIG. 図1の情報保護回路の値更新回路を示す図である。It is a figure which shows the value update circuit of the information protection circuit of FIG. 図1の情報保護回路のメモリDを示す図である。It is a figure which shows the memory D of the information protection circuit of FIG. 図1の情報保護回路のカウントアップ回路のシーケンス図である。FIG. 2 is a sequence diagram of a count-up circuit of the information protection circuit of FIG. 図1の情報保護回路に入力されるシリアルデータの内容を示す図である。It is a figure which shows the content of the serial data input into the information protection circuit of FIG. 図1の情報保護回路の値更新回路のシーケンス図である。It is a sequence diagram of the value update circuit of the information protection circuit of FIG. 図1の情報保護回路の初期状態からのタイムチャートである。It is a time chart from the initial state of the information protection circuit of FIG. 図1の情報保護回路の値更新時のタイムチャートある。2 is a time chart when updating values of the information protection circuit of FIG. 従来の情報保護回路の一例を示す図である。It is a figure which shows an example of the conventional information protection circuit. 情報保護回路を備えたネットワーク監視システムの一例を示す図である。It is a figure which shows an example of the network monitoring system provided with the information protection circuit.

符号の説明Explanation of symbols

1 情報保護回路
2 ライン情報抽出部
3 パス情報抽出部
4 マスク生成部
5 切替制御部
6 切替部
101 タイミング生成部
102 S/P部
103 メモリA
104 比較回路
105 カウントアップ回路
106 メモリB
107 値更新回路
108 メモリC
109 メモリD
110 セレクタ回路
111 双方向制御
DESCRIPTION OF SYMBOLS 1 Information protection circuit 2 Line information extraction part 3 Path information extraction part 4 Mask generation part 5 Switching control part 6 Switching part 101 Timing generation part 102 S / P part 103 Memory A
104 Comparison circuit 105 Count-up circuit 106 Memory B
107 Value update circuit 108 Memory C
109 Memory D
110 selector circuit 111 bidirectional control

Claims (3)

パス情報が時分割配置されたシリアルデータを所定ビット単位で順次に蓄積する第1のメモリと、
該第1のメモリに入力される第1のデータと、該第1のデータの前値であって、該第1のメモリから出力される第2のデータとを比較する比較回路と、
該比較回路による一致回数をカウントアップするカウントアップ回路と、
該カウントアップ回路によるカウント値に対応して自身の出力値を変更する値更新回路と
該値更新回路の出力を記憶する第2のメモリとを備え、
前記値更新回路は、
前記第1のメモリの出力を入力するとともに、前記第2のメモリから帰還される該第2のメモリの出力を入力し、
前記カウントアップ回路のカウント値が所定値未満であるときに前記第2のメモリの出力を前記出力値として出力し、前記カウント値が前記所定値に達したときに前記第1のメモリの出力を前記出力値として出力することを特徴とする情報保護回路。
A first memory for sequentially storing serial data in which path information is arranged in a time-sharing manner in units of predetermined bits ;
A comparison circuit for comparing the first data input to the first memory and the second data output from the first memory, which is a previous value of the first data ;
A count-up circuit for counting up the number of matches by the comparison circuit;
A value update circuit that changes its own output value in response to the count value by the count-up circuit ;
A second memory for storing the output of the value update circuit ,
The value update circuit includes:
Input the output of the first memory and input the output of the second memory fed back from the second memory;
When the count value of the count-up circuit is less than a predetermined value, the output of the second memory is output as the output value, and when the count value reaches the predetermined value, the output of the first memory is output. An information protection circuit that outputs the output value .
最終段に、外部のアドレスデータの内容を統一して直接メモリ内の情報を出力するデュアルアクセス可能な第3のメモリを備えることを特徴とする請求項1記載の情報保護回路。 2. The information protection circuit according to claim 1, further comprising a dual-accessible third memory that unifies the contents of external address data and directly outputs information in the memory at the last stage. 記メモリに、プログラマブルロジックデバイスの回路セルとは別途標準搭載されている内部メモリを用いることを特徴とする請求項1又は2記載の情報保護回路。 Before texture memory, information protection circuit according to claim 1, wherein the use of internal memory that is separately standard with the circuit cell of a programmable logic device.
JP2004011775A 2004-01-20 2004-01-20 Information protection circuit Expired - Fee Related JP4511841B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004011775A JP4511841B2 (en) 2004-01-20 2004-01-20 Information protection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004011775A JP4511841B2 (en) 2004-01-20 2004-01-20 Information protection circuit

Publications (2)

Publication Number Publication Date
JP2005210179A JP2005210179A (en) 2005-08-04
JP4511841B2 true JP4511841B2 (en) 2010-07-28

Family

ID=34898367

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004011775A Expired - Fee Related JP4511841B2 (en) 2004-01-20 2004-01-20 Information protection circuit

Country Status (1)

Country Link
JP (1) JP4511841B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4818768B2 (en) * 2006-03-24 2011-11-16 富士通株式会社 Information processing system, failure notification method, and failure notification program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000324074A (en) * 1999-05-13 2000-11-24 Nec Corp System and method for fault-time transmission line uninterruptive switching system of sdh transmission
JP2005175614A (en) * 2003-12-08 2005-06-30 Mitsubishi Electric Corp Frame synchronizer and optical transmitter/receiver

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3048827B2 (en) * 1994-03-29 2000-06-05 日本電気株式会社 Receive APS byte protection method
JPH09172423A (en) * 1995-12-19 1997-06-30 Hitachi Ltd Transmitter, sdh transmitter and sdh transmission system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000324074A (en) * 1999-05-13 2000-11-24 Nec Corp System and method for fault-time transmission line uninterruptive switching system of sdh transmission
JP2005175614A (en) * 2003-12-08 2005-06-30 Mitsubishi Electric Corp Frame synchronizer and optical transmitter/receiver

Also Published As

Publication number Publication date
JP2005210179A (en) 2005-08-04

Similar Documents

Publication Publication Date Title
EP1402340B1 (en) First-in, first-out memory system and method thereof
WO1996042148A2 (en) Programmable data port for atm memory
US6112268A (en) System for indicating status of a buffer based on a write address of the buffer and generating an abort signal before buffer overflows
JP4511841B2 (en) Information protection circuit
JP5169802B2 (en) Network equipment
JP3429994B2 (en) Cell buffer circuit
CN113900975B (en) Synchronous FIFO
CN102053815B (en) Synchronous first input first output (FIFO) circuit system
JPH11219344A (en) Method and device for flow control over network between processors
US7212523B2 (en) Pipeline architecture for the design of a single-stage cross-connect system
US6330237B1 (en) Time slot assignment circuit
KR101404844B1 (en) A dual-port memory and a method thereof
US5528580A (en) Add-drop control apparatus
KR100301653B1 (en) High speed empty flag generator
KR100277682B1 (en) Error Detection Device of Line Length Decoding System
JPH1173299A (en) Buffer memory controller
GB2254754A (en) Time switch speech-store module
US7545831B2 (en) Transmission device for processing and transmitting signals of a plurality of channels
KR100384997B1 (en) Linked-list common memory switch
KR100228381B1 (en) Apparatus switching tributary signal mixed with tu11 and tu12 signal
KR0146763B1 (en) Broadcast control apparatus of shared buffer type atm switch
JP6366103B2 (en) Semiconductor device and data output method
US8238187B2 (en) Fast cyclic decoder circuit for FIFO/LIFO data buffer
JPS6068796A (en) Control system of scanning circuit
JP2623519B2 (en) Time switch circuit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20061207

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090603

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090608

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090730

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091207

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100129

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: 20100419

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100507

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130514

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140514

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees