JPH06197155A - Character string reception detection circuit - Google Patents

Character string reception detection circuit

Info

Publication number
JPH06197155A
JPH06197155A JP4346488A JP34648892A JPH06197155A JP H06197155 A JPH06197155 A JP H06197155A JP 4346488 A JP4346488 A JP 4346488A JP 34648892 A JP34648892 A JP 34648892A JP H06197155 A JPH06197155 A JP H06197155A
Authority
JP
Japan
Prior art keywords
data
character string
output
match
detection circuit
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
JP4346488A
Other languages
Japanese (ja)
Inventor
Kenji Kawamoto
健二 川本
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.)
Sekisui Chemical Co Ltd
Original Assignee
Sekisui Chemical 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 Sekisui Chemical Co Ltd filed Critical Sekisui Chemical Co Ltd
Priority to JP4346488A priority Critical patent/JPH06197155A/en
Publication of JPH06197155A publication Critical patent/JPH06197155A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

(57)【要約】 【目的】 マイクロプロセッサの処理負担を軽くでき、
簡単な構成で高速データ通信に対応でき、しかも、高機
能化を図ることができる文字列受信検出回路を提供す
る。 【構成】 回線上を転送され、受信した通信データを順
次シフトして出力するシフトレジスタ3〜5と、検出す
べき特定の文字列の各文字データと、レジスタ3〜5の
それぞれの出力データとを比較して、一致した場合に一
致信号SEQ1〜SE Q3をそれぞれ出力する比較器15〜1
7と、比較器15〜17からそれぞれ出力される一致信
号SEQ1〜SEQ3に基づいて、特定の文字列を検出したこ
とを示す検出信号SEQを出力するアンドゲート18とを
設ける。
(57) [Summary] [Purpose] The processing load on the microprocessor can be reduced,
(EN) Provided is a character string reception / detection circuit capable of supporting high-speed data communication with a simple structure, and capable of achieving high functionality. [Structure] Shift registers 3 to 5 for sequentially shifting and outputting received communication data transferred on a line, character data of a specific character string to be detected, and output data of registers 3 to 5, respectively. compare, match if they match signal S EQ1 to S comparator E Q3 and respectively output 15-1
7 and an AND gate 18 that outputs a detection signal S EQ indicating that a specific character string is detected based on the coincidence signals S EQ1 to S EQ3 output from the comparators 15 to 17, respectively.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、総合ディジタル網
(ISDN)等のディジタル通信ネットワークで発生す
る障害の検出や解析を行うプロトコルアナライザ等にお
いて用いられ、特定の文字列を受信したことを検出する
文字列受信検出回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is used in a protocol analyzer or the like for detecting and analyzing a failure occurring in a digital communication network such as an integrated digital network (ISDN), and detects reception of a specific character string. The present invention relates to a character string reception detection circuit.

【0002】[0002]

【従来の技術】プロトコルアナライザ等の通信データを
モニタする装置には、特定の文字列を受信した際に特別
な動作をするトリガ機能を有しているが、このトリガ機
能を実現するためには、その特定の文字列を受信したこ
とを確実に検出しなければならない。
2. Description of the Related Art A device for monitoring communication data, such as a protocol analyzer, has a trigger function for performing a special operation when a specific character string is received. In order to realize this trigger function, , It must be certain that it has received that particular string.

【0003】そこで、従来では、まず、所定の通信プロ
トコルに従って回線上を転送され、受信した通信データ
を、通信コントローラと呼ばれるLSI(大規模集積回
路)を用いて、所定のプロトコルに従って、マイクロプ
ロセッサが処理することができるデータに変換してい
る。そして、その変換されたデータと、予め設定した検
出すべき特定の文字列とを、マイクロプロセッサでソフ
トウェア処理によって比較して、その特定の文字列を検
出している。
Therefore, in the prior art, first, a communication data transferred on a line in accordance with a predetermined communication protocol and received is used by a microprocessor according to a predetermined protocol by using an LSI (Large Scale Integrated Circuit) called a communication controller. It is converted into data that can be processed. Then, the converted data is compared with a preset specific character string to be detected by software processing by a microprocessor to detect the specific character string.

【0004】[0004]

【発明が解決しようとする課題】ところで、プロトコル
アナライザ等において、回線上を転送される通信データ
を確実に受信するために、マイクロプロセッサは、ソフ
トウェア処理によって、受信した通信データのデータ転
送速度よりも高速でその通信データを処理しなければな
らない。特に、上述したトリガ機能等は、マイクロプロ
セッサの処理負担を重くする機能であり、より高速で通
信データを処理する必要がある。
By the way, in a protocol analyzer or the like, in order to reliably receive the communication data transferred on the line, the microprocessor uses software processing to make the communication data faster than the data transfer speed of the received communication data. It must process the communication data at high speed. In particular, the above-mentioned trigger function is a function that puts a heavy processing load on the microprocessor, and it is necessary to process communication data at a higher speed.

【0005】そして、マイクロプロセッサでソフトウェ
ア処理によって高速で通信データを処理するためには、
通常、装置全体を制御するメイン・マイクロプロセッサ
の他に、回線上を転送される通信データの収録制御や収
録したデータを処理するフロントエンド・マイクロプロ
セッサ、および、フロントエンド・マイクロプロセッサ
の動作制御、メイン・マイクロプロセッサとフロントエ
ンド・マイクロプロセッサとのインターフェイス等を行
うインターフェース用マイクロプロセッサ等が必要であ
る。このため、装置全体の構成が複雑になり、コストア
ップの要因ともなるという問題があった。
In order to process communication data at high speed by software processing with a microprocessor,
Usually, in addition to the main microprocessor that controls the entire device, recording control of communication data transferred over the line and front-end microprocessor that processes the recorded data, and operation control of the front-end microprocessor, An interface microprocessor or the like for interfacing the main microprocessor with the front-end microprocessor is required. For this reason, there is a problem that the configuration of the entire device becomes complicated and causes a cost increase.

【0006】この発明は、このような背景の下になされ
たもので、マイクロプロセッサの処理負担を軽くするこ
とにより、簡単な構成で高速データ通信に対応でき、し
かも、高機能化を図ることができる文字列受信検出回路
を提供することを目的としている。
The present invention has been made under such a background. By reducing the processing load of the microprocessor, it is possible to cope with high-speed data communication with a simple structure, and further to achieve high functionality. It is an object of the present invention to provide a character string reception detection circuit that can be used.

【0007】[0007]

【課題を解決するための手段】上記課題を解決するため
に、請求項1記載の文字列受信検出回路は、回線上を転
送され、受信した通信データを順次シフトして出力する
複数段のシフト手段と、該シフト手段の段数に対応して
設けられ、検出すべき特定の文字列の各文字データと、
上記シフト手段の各段の出力データとをそれぞれ比較し
て、一致した場合に一致信号を出力する複数の比較手段
と、これら比較手段からそれぞれ出力される上記一致信
号に基づいて、上記特定の文字列を検出したことを示す
検出信号を出力する検出手段とを具備してなることを特
徴としている。
In order to solve the above-mentioned problems, a character string reception detection circuit according to a first aspect of the present invention is a plurality of stages of shifts for sequentially shifting and outputting the received communication data transferred on the line. Means and each character data of a specific character string to be detected, which is provided corresponding to the number of stages of the shift means,
The output data of each stage of the shift means are respectively compared, and a plurality of comparison means that output a coincidence signal when they coincide with each other, and the specific character based on the coincidence signals respectively output from these comparison means, And a detection means for outputting a detection signal indicating that a column has been detected.

【0008】[0008]

【作用】上記構成によれば、複数段のシフト手段が回線
上を転送され、受信した通信データを順次シフトして出
力するので、複数の比較手段は、検出すべき特定の文字
列の各文字データと、シフト手段の各段の出力データと
をそれぞれ比較して、一致した場合には、それぞれ一致
信号を出力する。これにより、検出手段は、複数の比較
手段からそれぞれ出力される一致信号に基づいて、特定
の文字列を検出したことを示す検出信号を出力する。
According to the above structure, since the shift means of a plurality of stages are transferred on the line and the received communication data are sequentially shifted and output, the plurality of comparing means are provided with the respective characters of the specific character string to be detected. The data and the output data of each stage of the shift means are compared with each other, and if they match, a matching signal is output. As a result, the detection unit outputs the detection signal indicating that the specific character string is detected, based on the coincidence signals output from the plurality of comparison units.

【0009】[0009]

【実施例】以下、図面を参照して、この発明の実施例に
ついて説明する。図1はこの発明の一実施例である文字
列受信検出回路の構成を示すブロック図であり、この図
において、符号1は受信した8ビットパラレルの通信デ
ータが入力されるデータ入力端子、2は受信データ書込
信号が入力される書込信号入力端子、3〜5はそれぞれ
8ビットパラレル入出力のシフトレジスタであり、デー
タ入力端子1から入力される通信データを、書込信号入
力端子2から入力される受信データ書込信号に同期して
順次シフトして出力する。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of a character string reception detection circuit according to an embodiment of the present invention. In this figure, reference numeral 1 is a data input terminal for receiving received 8-bit parallel communication data, and 2 is a data input terminal. Write signal input terminals to which the received data write signal is input, and 3 to 5 are 8-bit parallel input / output shift registers, respectively. Communication data input from the data input terminal 1 is input from the write signal input terminal 2 through the shift register. The data is sequentially shifted and output in synchronization with the received reception data write signal.

【0010】また、6〜8はそれぞれ検出すべき特定の
文字列(例えば、"ABC")の各8ビットパラレルの文
字データが入力されるデータ入力端子、9〜11はそれ
ぞれ文字列書込信号が入力される書込信号入力端子、1
2〜14はそれぞれ8ビットパラレル入出力のシフトレ
ジスタであり、データ入力端子6〜8からそれぞれ入力
される各文字データが、書込信号入力端子9〜11から
それぞれ入力される文字列書込信号に同期して設定され
る。
Further, 6 to 8 are data input terminals for inputting respective 8-bit parallel character data of a specific character string (for example, "ABC") to be detected, and 9 to 11 are character string write signals. Write signal input terminal for inputting 1
Reference numerals 2 to 14 are 8-bit parallel input / output shift registers, respectively, in which each character data input from the data input terminals 6 to 8 is a character string write signal input from the write signal input terminals 9 to 11, respectively. It is set in synchronization with.

【0011】さらに、15はシフトレジスタ5の出力デ
ータと、シフトレジスタ12の出力データとを比較し
て、一致した場合に"H"レベルの一致信号SEQ1を出力
する比較器、16はシフトレジスタ4の出力データと、
シフトレジスタ13の出力データとを比較して、一致し
た場合に"H"レベルの一致信号SEQ2を出力する比較
器、17はシフトレジスタ3の出力データと、シフトレ
ジスタ14の出力データとを比較して、一致した場合
に"H"レベルの一致信号SEQ3を出力する比較器であ
る。18は一致信号SEQ1〜SEQ3がそれぞれ入力される
3入力のアンドゲートであり、一致信号SEQ1〜SEQ3が
すべて"H"レベルであった場合に"H"レベルの一致信号
SEQを出力する。19は一致信号SEQが出力される出力
端子である。
Further, reference numeral 15 is a comparator which compares the output data of the shift register 5 with the output data of the shift register 12, and outputs a match signal S EQ1 of "H" level when they match, and 16 is a shift register. 4 output data,
A comparator that compares the output data of the shift register 13 and outputs a match signal S EQ2 of "H" level when they match, 17 compares the output data of the shift register 3 with the output data of the shift register 14. Then, when they match, the comparator outputs a match signal S EQ3 of "H" level. Reference numeral 18 denotes a three-input AND gate to which the coincidence signals S EQ1 to S EQ3 are respectively input. When all the coincidence signals S EQ1 to S EQ3 are at “H” level, the coincidence signal S EQ of “H” level is output. Output. Reference numeral 19 is an output terminal to which the coincidence signal S EQ is output.

【0012】このような構成において、まず、図示せぬ
マイクロプロセッサは、検出すべき特定の文字列(例え
ば、"ABC")の各8ビットパラレルの文字データ("
A","B","C")をデータ入力端子6〜8から入力する
と共に、書込信号入力端子9〜11から文字列書込信号
を入力する。これにより、文字列書込信号に同期して、
シフトレジスタ12〜14にそれぞれ各8ビットパラレ
ルの文字データ("A","B","C")が予め設定される。
In such a configuration, first, a microprocessor (not shown) firstly sets 8-bit parallel character data ("") of a specific character string (for example, "ABC") to be detected.
A "," B "," C ") is input from the data input terminals 6 to 8 and the character string write signal is input from the write signal input terminals 9 to 11. As a result, the character string write signal is input. In sync,
8-bit parallel character data ("A", "B", "C") are preset in the shift registers 12 to 14, respectively.

【0013】次に、回線上を転送され、受信した8ビッ
トパラレルの通信データが、図示せぬCPUデータバス
を介してデータ入力端子1から入力されると共に、書込
信号入力端子2から受信データ書込信号が入力される
と、シフトレジスタ3〜5は、データ入力端子1から入
力された通信データを、書込信号入力端子2から入力さ
れた受信データ書込信号に同期して順次シフトして出力
する。
Next, the 8-bit parallel communication data transferred and received on the line is input from the data input terminal 1 via the CPU data bus (not shown), and the received data is input from the write signal input terminal 2. When the write signal is input, the shift registers 3 to 5 sequentially shift the communication data input from the data input terminal 1 in synchronization with the received data write signal input from the write signal input terminal 2. Output.

【0014】今、データ入力端子1から入力された通信
データが、受信データ書込信号の最初のタイミングT1
で文字データ"A"、受信データ書込信号の第2のタイミ
ングT2で文字データ"B"、受信データ書込信号の第3
のタイミングT3で文字データ"C"であったとすると、
最初のタイミングT1では、シフトレジスタ3の出力デ
ータが文字データ"A"であり、シフトレジスタ14の出
力データは文字データ"C"であるので、比較器17から
は"H"レベルの一致信号SEQ3が出力されない。したが
って、アンドゲート18からは"H"レベルの一致信号S
EQが出力されない。
Now, the communication data input from the data input terminal 1 is the first timing T1 of the received data write signal.
Character data "A" at the second timing T2 of the received data write signal and character data "B" at the second timing T2 of the received data write signal
If the character data is "C" at the timing T3 of
At the first timing T1, the output data of the shift register 3 is the character data "A" and the output data of the shift register 14 is the character data "C". Therefore, the comparator 17 outputs the "H" level match signal S. EQ3 is not output. Therefore, the AND gate 18 outputs the "H" level match signal S.
EQ is not output.

【0015】次に、第2のタイミングT2では、シフト
レジスタ3の出力データが文字データ"B"であり、シフ
トレジスタ14の出力データは文字データ"C"であるの
で、比較器17からは"H"レベルの一致信号SEQ3が出
力されない。また、シフトレジスタ4の出力データが文
字データ"A"であり、シフトレジスタ13の出力データ
は文字データ"B"であるので、比較器16からも"H"レ
ベルの一致信号SEQ2が出力されない。したがって、ア
ンドゲート18からは"H"レベルの一致信号S EQが出力
されない。
Next, at the second timing T2, the shift is performed.
The output data of register 3 is character data "B",
The output data of the register 14 is character data "C".
Then, the comparator 17 outputs the coincidence signal S of "H" level.EQ3Out
I can't help. Also, the output data of the shift register 4 is a sentence.
Character data "A", output data of the shift register 13
Is the character data "B", the comparator 16 outputs "H"
Bell coincidence signal SEQ2Is not output. Therefore,
The match signal S of "H" level from the NAND gate 18 EQOutput
Not done.

【0016】次に、第3のタイミングT3では、シフト
レジスタ3の出力データが文字データ"C"であり、シフ
トレジスタ14の出力データは文字データ"C"であるの
で、比較器17からは"H"レベルの一致信号SEQ3が出
力される。また、シフトレジスタ4の出力データが文字
データ"B"であり、シフトレジスタ13の出力データは
文字データ"B"であるので、比較器16からも"H"レベ
ルの一致信号SEQ2が出力される。さらに、シフトレジ
スタ5の出力データが文字データ"A"であり、シフトレ
ジスタ12の出力データは文字データ"A"であるので、
比較器15からも"H"レベルの一致信号SEQ1が出力さ
れる。したがって、アンドゲート18からは"H"レベル
の一致信号SEQが出力され、出力端子19を介して図示
せぬCPU(中央処理装置)に供給される。これによ
り、図示せぬCPUは、"H"レベルの一致信号SEQによ
り、特定の文字列("ABC")を受信したことを検出し
て、例えば、トリガ機能を実行する。
Next, at the third timing T3, the output data of the shift register 3 is character data "C" and the output data of the shift register 14 is character data "C". An H "level coincidence signal S EQ3 is output. Further, since the output data of the shift register 4 is the character data "B" and the output data of the shift register 13 is the character data "B", the comparator 16 also outputs the "H" level coincidence signal S EQ2. It Further, since the output data of the shift register 5 is character data "A" and the output data of the shift register 12 is character data "A",
The comparator 15 also outputs the "H" level coincidence signal S EQ1 . Accordingly, the AND gate 18 outputs the "H" level coincidence signal S EQ, which is supplied to the CPU (central processing unit) (not shown) via the output terminal 19. As a result, the CPU (not shown) detects that the specific character string ("ABC") is received by the "H" level match signal S EQ , and executes, for example, a trigger function.

【0017】以上、この発明の実施例を図面により詳述
してきたが、具体的な構成はこの実施例に限られるもの
ではなく、この発明の要旨を逸脱しない範囲の設計の変
更等があってもこの発明に含まれる。例えば、上述の実
施例においては、検出すべき特定の文字列を3文字("
ABC")とした場合について述べたが、これに限ら
ず、検出すべき特定の文字列の列数は任意に設定し得
る。例えば、6文字からなる文字データ(例えば、"A
BCDEF")を検出するようにすれば、検出精度を一
段と向上させることができる。ただし、検出すべき文字
列に対応させて、シフトレジスタの段数及び比較機の個
数を増やす必要がある。また、上述の実施例において
は、8ビットパラレル入出力のシフトレジスタを用いる
場合について説明したが、一段と高速化が要求される場
合には、16ビット入出力のシフトレジスタを用いるよ
うにしても良い。
The embodiment of the present invention has been described in detail above with reference to the drawings. However, the specific structure is not limited to this embodiment, and there are design changes and the like within the scope not departing from the gist of the present invention. Also included in the present invention. For example, in the above-described embodiment, the specific character string to be detected has three characters ("
However, the number of specific character strings to be detected can be set arbitrarily. For example, character data consisting of 6 characters (for example, "A") can be set.
The detection accuracy can be further improved by detecting BCDEF "). However, it is necessary to increase the number of shift register stages and the number of comparators corresponding to the character string to be detected. In the above-described embodiment, the case of using the 8-bit parallel input / output shift register has been described, but if higher speed is required, a 16-bit input / output shift register may be used.

【0018】[0018]

【発明の効果】以上説明したように、この発明の文字列
受信検出回路は、マイクロプロセッサが文字列比較を行
うアルゴリズムと同様の処理をハードウェアで行うもの
なので、マイクロプロセッサの処理負担を軽減すること
ができる。したがって、簡単な構成で、高速データ通信
に容易に対応できる。また、マイクロプロセッサの処理
負担が軽減された分、他の処理を追加することができる
ので、高機能化を図ることができる。
As described above, the character string reception detection circuit of the present invention reduces the processing load on the microprocessor because the microprocessor performs the same processing as the algorithm for character string comparison by hardware. be able to. Therefore, it is possible to easily cope with high-speed data communication with a simple configuration. Further, since the processing load on the microprocessor is reduced, other processing can be added, so that high functionality can be achieved.

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

【図1】この発明の一実施例である文字列受信検出回路
の概略構成を示すブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of a character string reception detection circuit according to an embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1,6〜8 データ入力端子 2,9〜11 書込信号入力端子 3〜5,12〜14 シフトレジスタ 15〜17 比較器 18 アンドゲート 19 出力端子 1, 6 to 8 Data input terminal 2, 9 to 11 Write signal input terminal 3 to 5, 12 to 14 Shift register 15 to 17 Comparator 18 AND gate 19 Output terminal

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 回線上を転送され、受信した通信データ
を順次シフトして出力する複数段のシフト手段と、 該シフト手段の段数に対応して設けられ、検出すべき特
定の文字列の各文字データと、前記シフト手段の各段の
出力データとをそれぞれ比較して、一致した場合に一致
信号を出力する複数の比較手段と、 これら比較手段からそれぞれ出力される前記一致信号に
基づいて、前記特定の文字列を検出したことを示す検出
信号を出力する検出手段とを具備してなることを特徴と
する文字列受信検出回路。
1. A plurality of stages of shift means for sequentially shifting and outputting received communication data transferred on a line, and a specific character string to be detected, which is provided corresponding to the number of stages of the shift means. The character data and the output data of each stage of the shift means are respectively compared, and a plurality of comparing means that outputs a match signal when they match, based on the match signals respectively output from these comparing means, A character string reception detection circuit comprising: a detection unit that outputs a detection signal indicating that the specific character string has been detected.
JP4346488A 1992-12-25 1992-12-25 Character string reception detection circuit Pending JPH06197155A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4346488A JPH06197155A (en) 1992-12-25 1992-12-25 Character string reception detection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4346488A JPH06197155A (en) 1992-12-25 1992-12-25 Character string reception detection circuit

Publications (1)

Publication Number Publication Date
JPH06197155A true JPH06197155A (en) 1994-07-15

Family

ID=18383771

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4346488A Pending JPH06197155A (en) 1992-12-25 1992-12-25 Character string reception detection circuit

Country Status (1)

Country Link
JP (1) JPH06197155A (en)

Similar Documents

Publication Publication Date Title
JP3217993B2 (en) Parity check circuit
JP3269415B2 (en) CRC operation circuit
US6430198B1 (en) Apparatus and method of reducing packet length count processing
JP2002026885A (en) Synchronous pattern position detection circuit
US7539258B2 (en) Audio data sync format detecting circuit
JPH03272224A (en) Information signal processing method
US7324421B1 (en) Method and apparatus for data bit align
JP3052848B2 (en) Frame synchronization protection circuit
JP3266034B2 (en) Communication control device
JP3161174B2 (en) Key telephone equipment
JP2829043B2 (en) Method and circuit for determining transfer word number
JPH0651022A (en) Semiconductor device testing method
JPH05249190A (en) LSI tester
JPS62182958A (en) Data input/output control device
JP3356153B2 (en) Serial receiver
JPH03102944A (en) Specific character detection system in communication data
JPH10111339A (en) LSI inspection equipment
JP2000259526A (en) Serial interface circuit
JPH08102732A (en) Frame synchronization circuit
JPH04304541A (en) Bus interface circuit
JP2003087223A (en) Error detection device and error detection method
JP2000188591A (en) Received data error detection circuit
JPS6229337A (en) Data reception circuit
JPS63205754A (en) Internal bus extending system for digital processor
JPH11163848A (en) Synchronization establishment circuit